@progress/kendo-themes-html 14.7.0-dev.13 → 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/src/list/tests/list-states.tsx +57 -0
- package/src/menu/tests/menu-states.tsx +13 -0
- 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:d,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":d,"k-active":m,"k-selected":f,"k-disabled":h,"k-indeterminate":b&&!d,"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 ul(e,t){if(!t)return{};let o=Array.isArray(t)?t:[t];return Object.fromEntries(o.map(a=>[`k-${a}`,!0]))}var p={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"},ht={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 Xp,jsx as fl}from"react/jsx-runtime";var sr="k-font-icon",Gp=[],$p={size:[p.undefined,p.xsmall,p.small,p.medium,p.large,p.xlarge,p.xxlarge,p.xxxlarge],themeColor:[k.undefined,k.base,k.primary,k.secondary,k.tertiary,k.success,k.warning,k.error,k.info]},Vp={},Oa=e=>{let{size:t,themeColor:o,icon:a,rotate:i,flip:l,...d}=e;return a?fl("span",{...d,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"}):fl(Xp,{})};Oa.states=Gp;Oa.options=$p;Oa.className=sr;Oa.defaultOptions=Vp;var bl=Oa;import{Fragment as qp,jsx as fi}from"react/jsx-runtime";var dr="k-svg-icon",Wp=[],Jp={size:[p.undefined,p.xsmall,p.small,p.medium,p.large,p.xlarge,p.xxlarge,p.xxxlarge],themeColor:[k.undefined,k.base,k.primary,k.secondary,k.tertiary,k.success,k.warning,k.error,k.info],variant:[ht.outline,ht.solid,ht.duotone]},pr={viewBox:"0 0 24 24",variant:ht.outline},Ra=e=>{let{size:t,themeColor:o,rotate:a,flip:i,viewBox:l=pr.viewBox,variant:d=pr.variant,icon:m,...f}=e;if(!m)return fi(qp,{});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"?d&&m.variants?.[d]||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})})};Ra.states=Wp;Ra.options=Jp;Ra.className=dr;Ra.defaultOptions=pr;var mr=Ra;import*as cr from"@progress/kendo-svg-icons";var xl="icon",hl="icons";import{useContext as Zp}from"react";import{createContext as Yp}from"react";var gl=Yp({iconsType:"svg"});import{Fragment as Nl,jsx as Pa}from"react/jsx-runtime";var bi="k-icon",Qp=e=>e.replace(/([-_][a-z0-9])/gi,t=>t.toUpperCase().replace("-","").replace("_","")),jp=[],em={size:[p.undefined,p.xsmall,p.small,p.medium,p.large,p.xlarge,p.xxlarge,p.xxxlarge],themeColor:[k.undefined,k.base,k.primary,k.secondary,k.tertiary,k.success,k.warning,k.error,k.info],variant:[ht.outline,ht.solid,ht.duotone]},xi={viewBox:"0 0 24 24",type:"svg",variant:ht.outline},g=e=>{let{iconsType:t}=Zp(gl),{size:o,themeColor:a,icon:i,type:l=t||xi.type,rotate:d,flip:m,viewBox:f=xi.viewBox,variant:h=xi.variant,...b}=e;if(!i)return Pa(Nl,{});if((t||l)==="svg"){if(i==="none")return Pa(mr,{...b,className:r(e.className,bi),icon:i,size:o,variant:h});let c=cr[i]?i:Qp(`${i}-icon`);return cr[c]?Pa(mr,{...b,className:r(e.className,bi),icon:cr[c],size:o,themeColor:a,rotate:d,flip:m,viewBox:f,variant:h}):Pa(Nl,{})}return Pa(bl,{...b,className:r(e.className,bi),icon:i,size:o,themeColor:a,rotate:d,flip:m})};g.states=jp;g.options=em;g.defaultOptions=xi;g.className=bi;g.moduleName=xl;g.folderName=hl;var ur="button",vl=ur;import{Fragment as fr,jsx as Vt,jsxs as kl}from"react/jsx-runtime";var wa="k-button",tm=["icon-button"],om=[n.hover,n.focus,n.active,n.selected,n.disabled,n.generating],am={size:[p.undefined,p.xsmall,p.small,p.medium,p.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:d=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:oe,...ae}=e,pe=S!=null,no=e.children!==void 0;return kl(t,{className:r(oe,wa,ul(wa,f),E(wa,{size:o,rounded:a,fillMode:i,themeColor:l}),y(wa,{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,...ae,"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?kl(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}),d&&Vt("span",{className:"k-menu-button-arrow k-button-arrow",children:Vt(g,{icon:m})})]})};s.states=om;s.options=am;s.variants=tm;s.className=wa;s.defaultOptions=br;s.moduleName=ur;s.folderName=vl;import{jsx as im}from"react/jsx-runtime";var Rt=e=>im(s,{icon:"folder",...e,"aria-label":e["aria-label"]||"Folder",children:void 0});import{jsx as rm}from"react/jsx-runtime";var Ka=e=>rm(s,{icon:"folder",children:"Button",...e});import{jsx as Av}from"react/jsx-runtime";import{jsx as nm}from"react/jsx-runtime";var gt=e=>nm(s,{children:"Button",...e});import{jsx as xr}from"react/jsx-runtime";var lm=s.options,sm=s.states,dm={...s.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 xr(Rt,{...o,icon:"star"});case"icon-and-text":return xr(Ka,{...o,icon:"star",children:"Button"});default:return xr(gt,{...o,children:"Button"})}};yo.options=lm;yo.states=sm;yo.variants=pm;yo.defaultOptions=dm;yo.modifiers=mm;yo.className=s.className;var hr="button",Ll=hr;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,E(za,{fillMode:t}),y(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=hr;O.folderName=Ll;import{Fragment as rk,jsx as ik,jsxs as nk}from"react/jsx-runtime";import{Fragment as ck,jsx as mk,jsxs as uk}from"react/jsx-runtime";import{Fragment as Nk,jsx as gk,jsxs as vk}from"react/jsx-runtime";import{Fragment as yk,jsx as Mk,jsxs as Ek}from"react/jsx-runtime";import{Fragment as Rk,jsx as Ok,jsxs as Pk}from"react/jsx-runtime";import{Fragment as Fk,jsx as Dk,jsxs as Hk}from"react/jsx-runtime";import{Fragment as Wk,jsx as Xk,jsxs as Jk}from"react/jsx-runtime";import{jsx as Pt,jsxs as gr}from"react/jsx-runtime";var xm={...s.options,...O.options},hm=s.states,gm={...s.defaultOptions,...O.defaultOptions,variant:"text-button"},Nm=[{name:"icon-button",title:"Icon Only"},{name:"text-button",title:"Text"},{name:"icon-text-button",title:"Icon Text"}],vm=[],Eo=e=>{let{variant:t,className:o,...a}=e;return t==="icon-button"?gr(O,{fillMode:a.fillMode,className:o,children:[Pt(s,{...a,icon:"star"}),Pt(s,{...a,icon:"star"}),Pt(s,{...a,icon:"star"})]}):t==="icon-text-button"?gr(O,{fillMode:a.fillMode,className:o,children:[Pt(s,{...a,icon:"star",children:"First"}),Pt(s,{...a,icon:"star",children:"Middle"}),Pt(s,{...a,icon:"star",children:"Last"})]}):gr(O,{fillMode:a.fillMode,className:o,children:[Pt(s,{...a,children:"First"}),Pt(s,{...a,children:"Middle"}),Pt(s,{...a,children:"Last"})]})};Eo.options=xm;Eo.states=hm;Eo.variants=Nm;Eo.defaultOptions=gm;Eo.modifiers=vm;Eo.className=O.className;var _a="input",hi=_a;import{jsx as Sm}from"react/jsx-runtime";var gi="k-input",km=[n.hover,n.focus,n.valid,n.invalid,n.required,n.disabled,n.loading,n.readonly],Lm={size:[p.undefined,p.small,p.medium,p.large],rounded:[u.undefined,u.none,u.small,u.medium,u.large,u.full],fillMode:[x.undefined,x.solid,x.flat,x.outline]},Im={},$=e=>{let{hover:t,focus:o,disabled:a,invalid:i,valid:l,loading:d,readonly:m,size:f,rounded:h,fillMode:b,...N}=e;return Sm("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:d,readonly:m}))})};$.states=km;$.options=Lm;$.className=gi;$.defaultOptions=Im;$.moduleName=_a;$.folderName=hi;import{jsx as Cm}from"react/jsx-runtime";var Ni="k-picker",Mm=[n.hover,n.focus,n.valid,n.invalid,n.required,n.disabled,n.loading,n.readonly],ym={size:[p.undefined,p.small,p.medium,p.large],rounded:[u.undefined,u.none,u.small,u.medium,u.large,u.full],fillMode:[x.undefined,x.solid,x.flat,x.outline]},Em={},Nt=e=>{let{hover:t,focus:o,disabled:a,invalid:i,valid:l,loading:d,readonly:m,size:f,rounded:h,fillMode:b,...N}=e;return Cm("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:d,readonly:m})),children:e.children})};Nt.states=Mm;Nt.options=ym;Nt.className=Ni;Nt.defaultOptions=Em;Nt.moduleName=_a;Nt.folderName=hi;import{Fragment as Am,jsx as Nr}from"react/jsx-runtime";var Il="k-clear-value",Bm=[n.disabled,n.loading,n.readonly],Tm={},me=e=>{let{disabled:t,loading:o,readonly:a,value:i}=e;return t||a||o||!i?Nr(Am,{}):Nr("span",{className:r(e.className,Il),children:Nr(g,{icon:"x"})})};me.states=Bm;me.options=Tm;me.className=Il;import{jsx as Pm}from"react/jsx-runtime";var vr="k-input-inner",Om=[],Rm={},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:d,...m}=e;return Pm("input",{...m,type:o,className:r(e.className,vr,E(vr,e)),placeholder:a,autoComplete:i,defaultValue:t,disabled:l||void 0,readOnly:d||void 0})};ce.states=Om;ce.options=Rm;ce.className=vr;import{jsx as Sl,jsxs as zm}from"react/jsx-runtime";var kr="k-input-inner",wm=[],Km={},lo=e=>{let{value:t,placeholder:o,showValue:a,valueIcon:i,valueIconName:l,...d}=e;return zm("span",{...d,className:r(e.className,kr,E(kr,e)),children:[i,!i&&l&&Sl(g,{className:"k-input-value-icon",icon:l}),a&&!t&&o,a&&t&&Sl("span",{className:"k-input-value-text",children:t})]})};lo.states=wm;lo.options=Km;lo.className=kr;import{jsx as Fm}from"react/jsx-runtime";var Lr="k-input-inner",_m=[],Dm={},Ml={value:"",placeholder:""},Da=e=>{let{value:t=Ml.value,placeholder:o=Ml.placeholder,rows:a,disabled:i,...l}=e;return Fm("textarea",{...l,className:r(e.className,Lr,E(Lr,e)),placeholder:o,rows:a,defaultValue:t,disabled:i||void 0})};Da.states=_m;Da.options=Dm;Da.className=Lr;import{Fragment as Um,jsx as yl}from"react/jsx-runtime";var El="k-input-loading-icon",Hm=[n.disabled,n.loading],ie=e=>{let{disabled:t,loading:o}=e;return t||!o?yl(Um,{}):yl("span",{className:r(e.className,El,"k-icon k-i-loading")})};ie.states=Hm;ie.className=El;import{Fragment as Vm,jsx as Cl}from"react/jsx-runtime";var Bl="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,l=o?"warning-circle":"check-circle";return a||i||!!!(t||o)?Cl(Vm,{}):Cl(g,{className:r(Bl),icon:l})};j.states=Gm;j.options=$m;j.className=Bl;import{Fragment as Jm,jsx as Tl}from"react/jsx-runtime";var Xm="k-input-prefix",Wm={direction:"horizontal"},be=e=>{let{direction:t=Wm.direction,...o}=e;return e.children?Tl("span",{...o,className:r(Xm,e.className,{[`k-input-prefix-${t}`]:t}),children:e.children}):Tl(Jm,{})};import{Fragment as Zm,jsx as Al}from"react/jsx-runtime";var qm="k-input-suffix",Ym={direction:"horizontal"},xe=e=>{let{direction:t=Ym.direction,...o}=e;return e.children?Al("span",{...o,className:r(qm,e.className,{[`k-input-suffix-${t}`]:t}),children:e.children}):Al(Zm,{})};import{jsx as jm}from"react/jsx-runtime";var Qm="k-input-prefix-text",Ir=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 ec="k-input-suffix-text",wt=e=>{let{children:t,...o}=e;return tc("span",{...o,className:r(ec,e.className),children:t})};import{jsx as ac}from"react/jsx-runtime";var Ol="k-input-separator",oc={direction:"vertical"},ee=e=>{let{direction:t=oc.direction,...o}=e;return ac("span",{...o,className:r(Ol,e.className,{[`${Ol}-${t}`]:t})})};import{Fragment as Rl,jsx as vt,jsxs as Sr}from"react/jsx-runtime";var ic=$.states,rc=$.defaultOptions,nc=$.options,lc=[{name:"prefix",title:"Prefix"},{name:"suffix",title:"Suffix"},{name:"clear-button",title:"`Clear` Button"},{name:"validation-icon",title:"Validation Icon"},{name:"separators",title:"Separators"}],sc=[],Co=e=>{let{modifiers:t,valid:o,invalid:a,loading:i,disabled:l,readonly:d,...m}=e,f=t?.prefix,h=t?.suffix,b=t?.["clear-button"],N=t?.["validation-icon"],c=t?.separators;return Sr($,{...m,valid:o,invalid:a,loading:i,disabled:l,readonly:d,style:{width:300},children:[f&&Sr(Rl,{children:[vt(be,{children:vt(g,{icon:"lock"})}),c&&vt(ee,{})]}),vt(ce,{placeholder:"Placeholder",value:"Value"}),N&&vt(j,{valid:o,invalid:a,loading:i,disabled:l}),vt(ie,{loading:i,disabled:l}),b&&vt(me,{loading:i,disabled:l,readonly:d,value:"Value"}),h&&Sr(Rl,{children:[c&&vt(ee,{}),vt(xe,{children:vt(gt,{size:m.size,fillMode:"clear",children:"Send"})})]})]})};Co.options=nc;Co.states=ic;Co.variants=sc;Co.defaultOptions=rc;Co.modifiers=lc;Co.className=$.className;import{jsx as Pl,jsxs as mc}from"react/jsx-runtime";var wl="k-color-preview",dc=[],pc={},Xt=e=>{let{color:t,iconName:o,...a}=e;return mc("span",{...a,className:r(e.className,wl,{"k-icon-color-preview":o,"k-no-color":!t}),children:[o&&Pl(g,{icon:o,className:"k-color-preview-icon"}),Pl("span",{className:"k-color-preview-mask",style:{backgroundColor:t}})]})};Xt.states=dc;Xt.options=pc;Xt.className=wl;var Mr="popup",Kl=Mr;import{jsx as zl}from"react/jsx-runtime";var _l="k-animation-container",cc=[],uc={},yr={positionMode:"absolute",shown:!0},kt=e=>{let{positionMode:t=yr.positionMode,shown:o=yr.shown,animationStyle:a,offset:i,...l}=e;return zl("div",{...l,style:{...i,...e.style},className:r(e.className,_l,{"k-animation-container-shown":o,"k-animation-container-fixed":t==="fixed"}),children:zl("div",{className:"k-child-animation-container",style:a,children:e.children})})};kt.states=cc;kt.options=uc;kt.className=_l;kt.defaultOptions=yr;kt.moduleName=Mr;kt.folderName=Kl;var Er="popup",Dl=Er;import{jsx as Fl}from"react/jsx-runtime";var Hl="k-popup",fc=[],bc={},Ul={positionMode:"absolute"},J=e=>{let{offset:t,positionMode:o=Ul.positionMode,animationStyle:a,containerClassName:i,containerRole:l,containerAriaLabel:d,...m}=e;return Fl(kt,{positionMode:o,offset:t,animationStyle:a,className:i,role:l,"aria-label":d,children:Fl("div",{...m,className:r(e.className,Hl),children:e.children})})};J.states=fc;J.options=bc;J.className=Hl;J.defaultOptions=Ul;J.moduleName=Er;J.folderName=Dl;var Cr="action-buttons",Gl=Cr;import{jsx as gc}from"react/jsx-runtime";var ki="k-actions",xc=[],hc={},Br={alignment:"start",orientation:"horizontal"},He=e=>{let{alignment:t=Br.alignment,orientation:o=Br.orientation,...a}=e;return gc("div",{...a,className:r(ki,{[`${ki}-${t}`]:t,[`${ki}-${o}`]:o},e.className),children:e.children})};He.states=xc;He.options=hc;He.className=ki;He.defaultOptions=Br;He.moduleName=Cr;He.folderName=Gl;var $l=He;import{jsx as vc}from"react/jsx-runtime";var Nc="k-actionsheet-footer",Vl={alignment:"stretched",orientation:"horizontal"},Wt=e=>{let{alignment:t=Vl.alignment,orientation:o=Vl.orientation,template:a,as:i=a?"div":He,...l}=e;return vc(i,{...l,...!a&&{alignment:t,orientation:o},className:r(e.className,Nc),children:e.children})};var Tr="searchbox",Xl=Tr;import{jsx as Fa,jsxs as Ic}from"react/jsx-runtime";var Wl="k-searchbox",kc=[n.hover,n.focus,n.valid,n.invalid,n.required,n.disabled,n.loading],Lc={size:[p.undefined,p.small,p.medium,p.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:d,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 Ic($,{...M,size:a,rounded:i,fillMode:l,hover:d,focus:m,valid:f,invalid:h,required:b,loading:N,disabled:c,className:r(e.className,Wl),children:[v&&Fa(g,{className:"k-input-icon",icon:I}),Fa(ce,{placeholder:o,value:t,"aria-label":S}),Fa(ie,{...e}),Fa(j,{...e}),L&&Fa(me,{...e})]})};Ze.states=kc;Ze.options=Lc;Ze.className=Wl;Ze.defaultOptions=Li;Ze.moduleName=Tr;Ze.folderName=Xl;import{jsx as NS}from"react/jsx-runtime";var Ar="textbox",Jl=Ar;import{Fragment as ql,jsx as Jt,jsxs as Or}from"react/jsx-runtime";var Yl="k-textbox",Sc=[n.hover,n.focus,n.valid,n.invalid,n.required,n.disabled,n.loading,n.readonly],Mc={size:[p.undefined,p.small,p.medium,p.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:d=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":oe,"aria-describedby":ae,...pe}=e;return Or($,{...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,Yl),children:[m&&Or(ql,{children:[Jt(be,{children:m}),i&&Jt(ee,{})]}),Jt(ce,{id:Y,placeholder:N,value:b,type:h,disabled:T,"aria-label":oe,"aria-describedby":ae,"aria-invalid":I?"true":void 0}),d&&Jt(j,{valid:L,invalid:I,loading:M,disabled:T}),Jt(ie,{loading:M,disabled:T}),l&&Jt(me,{loading:M,disabled:T,readonly:w,value:b}),f&&Or(ql,{children:[i&&Jt(ee,{}),Jt(xe,{children:f})]})]})};U.states=Sc;U.options=Mc;U.className=Yl;U.defaultOptions=Ii;U.moduleName=Ar;U.folderName=Jl;var Ha=U;import{jsx as yc}from"react/jsx-runtime";var Zl=e=>yc(Ha,{...e});import{Fragment as zS,jsx as KS}from"react/jsx-runtime";import{Fragment as GS,jsx as US}from"react/jsx-runtime";import{jsx as WS}from"react/jsx-runtime";import{jsx as Rr}from"react/jsx-runtime";var Ec=U.states,Cc=U.defaultOptions,Bc=U.options,Tc=[{name:"prefix",title:"Prefix"},{name:"suffix",title:"Suffix"},{name:"clear-button",title:"`Clear` Button"}],Ac=[],Bo=e=>{let{modifiers:t,...o}=e,a={};return Object.keys(t||{}).forEach(i=>{switch(i){case"prefix":a.prefix=t?.[i]?Rr(g,{icon:"lock"}):void 0;break;case"suffix":a.suffix=t?.[i]?Rr(gt,{size:o.size,fillMode:"clear",children:"Send"}):void 0;break;case"clear-button":a.showClearButton=t?.[i];break;default:break}}),Rr(Zl,{value:"Value",style:{width:300},...o,...a})};Bo.options=Bc;Bo.states=Ec;Bo.variants=Ac;Bo.defaultOptions=Cc;Bo.modifiers=Tc;Bo.className=U.className;import{jsx as qt,jsxs as Pr}from"react/jsx-runtime";var Ql="k-actionsheet-titlebar",Oc={},ve=e=>{let{title:t,subtitle:o,actionsStart:a,actionsEnd:i,filter:l,input:d,inputValue:m,inputPlaceholder:f,adaptive:h,titleId:b,children:N,...c}=e;return Pr("div",{...c,className:r(e.className,Ql),children:[Pr("div",{className:"k-actionsheet-titlebar-group",children:[a&&qt("div",{className:"k-actionsheet-actions",children:a}),!N&&Pr("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})]}),(d||l)&&qt("div",{className:"k-actionsheet-titlebar-group k-actionsheet-filter",children:d?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"})})]})};ve.className=Ql;ve.defaultOptions=Oc;import{jsx as wr,jsxs as Kc}from"react/jsx-runtime";var Kr="k-actionsheet-view",Rc=[],Pc={},wc={},To=e=>{let{adaptive:t,animated:o,children:a,header:i,footer:l,titleId:d,...m}=e,f=i?.type===ve&&wr(ve,{adaptive:t,titleId:d,...i?.props}),h=l?.type===Wt&&wr(Wt,{...l?.props});return Kc("div",{...m,className:r(e.className,Kr,{[`${Kr}-animated`]:o}),children:[f,wr("div",{className:"k-actionsheet-content",children:a}),h]})};To.states=Rc;To.options=Pc;To.className=Kr;To.defaultOptions=wc;var Ua="action-sheet",Si=Ua;var zr="overlay",jl=zr;import{jsx as Fc}from"react/jsx-runtime";var es="k-overlay",zc=[],_c={},Dc={},ut=e=>{let{...t}=e;return Fc("div",{...t,className:r(e.className,es),children:e.children})};ut.states=zc;ut.options=_c;ut.className=es;ut.defaultOptions=Dc;ut.moduleName=zr;ut.folderName=jl;var ts=ut;import{jsx as Mi,jsxs as Gc}from"react/jsx-runtime";var os="k-actionsheet",Hc=[],Uc={},Ga={side:"bottom",fullscreen:!1,adaptive:!1,overlay:!0},Z=e=>{let{side:t=Ga.side,fullscreen:o=Ga.fullscreen,adaptive:a=Ga.adaptive,overlay:i=Ga.overlay,template:l,children:d,header:m,footer:f,id:h,...b}=e,N=h&&!l&&m?`${h}-title`:void 0;return Gc("div",{className:"k-actionsheet-container",children:[i&&Mi(ut,{}),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":N,className:r(e.className,os,{[`k-actionsheet-${t}`]:o===!1,"k-actionsheet-fullscreen":o===!0,"k-adaptive-actionsheet":a}),children:l||Mi(To,{header:m,footer:f,adaptive:a,titleId:N,...e,children:d})})})]})};Z.states=Hc;Z.options=Uc;Z.className=os;Z.defaultOptions=Ga;Z.moduleName=Ua;Z.folderName=Si;import{jsx as Wc}from"react/jsx-runtime";var as="k-actionsheet-container",$c=[],Vc={},Xc={},Ao=e=>{let{children:t,...o}=e;return Wc("div",{...o,className:as,children:t})};Ao.states=$c;Ao.options=Vc;Ao.className=as;Ao.defaultOptions=Xc;Ao.moduleName=Ua;Ao.folderName=Si;import{jsx as Jc}from"react/jsx-runtime";var _r=e=>{let{...t}=e;return Jc("div",{...t,className:r(e.className,"k-list-ul"),children:e.children})};import{Fragment as Yc,jsx as $a,jsxs as Dr}from"react/jsx-runtime";var Fr="k-actionsheet-item",qc=[n.hover,n.focus,n.selected,n.disabled],Yt=e=>{let{iconName:t,text:o,description:a,hover:i,focus:l,selected:d,disabled:m,...f}=e;return Dr("span",{...f,className:r(e.className,Fr,y(Fr,{hover:i,focus:l,selected:d,disabled:m})),children:[!e.children&&$a(Yc,{children:Dr("span",{className:"k-actionsheet-action",children:[t&&$a("span",{className:"k-icon-wrap",children:$a(g,{className:"k-actionsheet-item-icon",icon:t})}),Dr("span",{className:"k-actionsheet-item-text",children:[o&&$a("span",{className:"k-actionsheet-item-title",children:o}),a&&$a("span",{className:"k-actionsheet-item-description",children:a})]})]})}),e.children]})};Yt.states=qc;Yt.className=Fr;import{jsx as XM,jsxs as WM}from"react/jsx-runtime";import{jsx as ZM}from"react/jsx-runtime";import{jsx as ty}from"react/jsx-runtime";import{jsx as ry}from"react/jsx-runtime";import{jsx as ke,jsxs as Hr}from"react/jsx-runtime";var Zc=Z.options,Qc=Z.states,rs={...Z.defaultOptions,variant:"normal"},jc=[{name:"normal",title:"Normal"},{name:"adaptive",title:"Adaptive"},{name:"fullScreen",title:"Full Screen"}],eu=[{name:"actions",title:"Titlebar Actions",type:"boolean"},{name:"subtitle",title:"Subtitle",type:"boolean"},{name:"footer",title:"Footer",type:"boolean"}],Oo=e=>{let{variant:t,modifiers:o,...a}={...rs,...e},i={},l=Hr(_r,{children:[ke(Yt,{text:"Edit Item",description:"Click to edit",iconName:"edit-tools"}),ke(Yt,{text:"Add to Favorites",iconName:"heart"}),ke(Yt,{text:"Upload New",iconName:"upload",disabled:!0}),ke("hr",{className:"k-hr"}),ke(Yt,{text:"Cancel",iconName:"cancel"})]}),d="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]?d:void 0;break;case"footer":i.footer=!!o?.[f];break;default:break}}),t==="adaptive"?ke(Z,{...a,adaptive:!0,fullscreen:i.fullScreen,header:ke(ve,{actionsStart:i.actionsStart?ke(s,{icon:"chevron-left",size:"large",fillMode:"flat"}):void 0,actionsEnd:i.actionsEnd?ke(s,{icon:"x",size:"large",fillMode:"flat"}):void 0,title:m,subtitle:i.subtitle}),footer:i.footer?Hr(Wt,{alignment:"stretched",children:[ke(s,{text:"Cancel",size:"large",themeColor:"base"}),ke(s,{text:"Apply",size:"large",themeColor:"primary"})]}):void 0,children:l}):ke(Z,{...a,fullscreen:i.fullScreen,header:ke(ve,{actionsStart:i.actionsStart?ke(s,{icon:"chevron-left",fillMode:"flat"}):void 0,actionsEnd:i.actionsEnd?ke(s,{icon:"x",fillMode:"flat"}):void 0,title:"Select Item",subtitle:i.subtitle}),footer:i.footer?Hr(Wt,{alignment:"stretched",children:[ke(s,{text:"Apply",themeColor:"primary"}),ke(s,{text:"Cancel",themeColor:"base"})]}):void 0,children:l})};Oo.options=Zc;Oo.states=Qc;Oo.variants=jc;Oo.defaultOptions=rs;Oo.modifiers=eu;Oo.className=Z.className;var Ur="slider",ns=Ur;import{jsx as Ro,jsxs as Gr}from"react/jsx-runtime";var Va="k-slider",tu=[n.hover,n.focus,n.active,n.disabled,n.readonly],ou={},Qe={type:"single",orientation:"horizontal",gradientType:"1d",readonly:!1,disabled:!1,handlePosition:"end",showButtons:!0,showTicks:!0,value:50,min:0,max:100},F=e=>{let{type:t=Qe.type,orientation:o=Qe.orientation,gradientType:a=Qe.gradientType,readonly:i=Qe.readonly,disabled:l=Qe.disabled,handlePosition:d=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,oe=(()=>{if(t==="gradient"&&a==="2d")return"undefined";if(o==="vertical")return"vertical"})(),ae,pe;return o==="horizontal"?(ae=T==="rtl"?"chevron-left":"chevron-right",pe=T==="rtl"?"chevron-right":"chevron-left"):o==="vertical"&&(ae="chevron-up",pe="chevron-down"),Gr("div",{...w,className:r(Va,e.className,y(Va,{readonly:i,disabled:l}),{[`k-slider-${o}`]:o,"k-colorgradient-slider":t==="gradient"}),dir:T,children:[m&&Ro(s,{className:"k-button-decrease",rounded:"full",icon:pe,tabIndex:-1,title:"Decrease"}),Gr("div",{className:"k-slider-track-wrap",children:[f&&Ro("ul",{className:"k-reset k-slider-items","aria-hidden":"true",children:e.children}),Gr("div",{className:"k-slider-track",style:M,children:[Ro("div",{className:"k-slider-selection"}),t==="range"&&Ro("span",{className:r("k-draghandle","k-draghandle-start",y(Va,{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":oe,"aria-disabled":l?"true":void 0,"aria-readonly":i?"true":void 0,"aria-label":w["aria-label"]?`${w["aria-label"]} start`:"Range start"}),Ro("span",{className:r("k-draghandle",`k-draghandle-${d}`,y(Va,{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":oe,"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&&Ro(s,{className:"k-button-increase",rounded:"full",icon:ae,tabIndex:-1,title:"Increase"})]})};F.states=tu;F.options=ou;F.className=Va;F.defaultOptions=Qe;F.moduleName=Ur;F.folderName=ns;import{jsx as ls}from"react/jsx-runtime";var ss="k-tick",au=[],iu={},ds={label:!1},R=e=>{let{style:t,label:o=ds.label,orientation:a,large:i,text:l,...d}=e;return ls("li",{...d,role:"presentation",title:l||"Tick",className:r(e.className,ss,{[`k-tick-${a}`]:a,"k-tick-large":i}),style:t,children:o&&ls("span",{className:"k-label",children:l})})};R.states=au;R.options=iu;R.className=ss;R.defaultOptions=ds;import{Fragment as ru,jsx as je,jsxs as nu}from"react/jsx-runtime";var ps=e=>je(F,{"aria-label":e["aria-label"]||"Slider",children:nu(ru,{children:[je(R,{className:"k-first",label:!0,large:!0,text:"0"}),je(R,{}),je(R,{}),je(R,{}),je(R,{}),je(R,{label:!0,large:!0,text:"5"}),je(R,{}),je(R,{}),je(R,{}),je(R,{}),je(R,{className:"k-last",label:!0,large:!0,text:"10"})]}),...e});import{Fragment as lu,jsx as et,jsxs as su}from"react/jsx-runtime";var ms=e=>et(F,{children:su(lu,{children:[et(R,{className:"k-first",label:!0,large:!0,text:"0"}),et(R,{}),et(R,{}),et(R,{}),et(R,{}),et(R,{label:!0,large:!0,text:"5"}),et(R,{}),et(R,{}),et(R,{}),et(R,{}),et(R,{className:"k-last",label:!0,large:!0,text:"10"})]}),"aria-label":e["aria-label"]||"Vertical slider",...e,orientation:"vertical"});import{Fragment as Wy,jsx as Xy,jsxs as Jy}from"react/jsx-runtime";import{Fragment as jy,jsx as Qy,jsxs as eE}from"react/jsx-runtime";import{jsx as du}from"react/jsx-runtime";var $r=e=>du(F,{type:"gradient",showButtons:!1,showTicks:!1,...e,"aria-label":e["aria-label"]||"Color slider"});import{jsx as pu}from"react/jsx-runtime";var Vr=e=>pu(F,{type:"gradient",orientation:"vertical",showButtons:!1,showTicks:!1,...e,"aria-label":e["aria-label"]||"Color slider"});import{Fragment as mE,jsx as pE,jsxs as cE}from"react/jsx-runtime";import{Fragment as hE,jsx as xE,jsxs as gE}from"react/jsx-runtime";import{jsx as Lt,jsxs as cs}from"react/jsx-runtime";var mu=F.options,cu=F.states,us={...F.defaultOptions,variant:"horizontal",label:!0},uu=[{name:"horizontal",title:"Horizontal"},{name:"vertical",title:"Vertical"}],fu=[{name:"label",title:"Labels",default:!0},{name:"tick",title:"Ticks",default:!0},{name:"button",title:"Side Buttons",default:!0}],Po=e=>{let{variant:t,modifiers:o,...a}=e,i=us.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 d={"--kendo-slider-start":0,"--kendo-slider-end":60};return t==="vertical"?cs(ms,{style:{height:"300px",...d},...a,...l,children:[Lt(R,{label:i,large:!0,orientation:"vertical",text:"0",style:{position:"absolute",bottom:"0%"}}),Lt(R,{label:i,large:!0,orientation:"vertical",text:"2",style:{position:"absolute",bottom:"25%"}}),Lt(R,{label:i,large:!0,orientation:"vertical",text:"4",style:{position:"absolute",bottom:"50%"}}),Lt(R,{label:i,large:!0,orientation:"vertical",text:"6",style:{position:"absolute",bottom:"75%"}}),Lt(R,{label:i,large:!0,orientation:"vertical",text:"8",style:{position:"absolute",bottom:"100%"}})]}):cs(ps,{style:{width:"400px",...d},...a,...l,children:[Lt(R,{label:i,large:!0,orientation:"horizontal",text:"0",style:{position:"absolute",left:"0%"}}),Lt(R,{label:i,large:!0,orientation:"horizontal",text:"2",style:{position:"absolute",left:"25%"}}),Lt(R,{label:i,large:!0,orientation:"horizontal",text:"4",style:{position:"absolute",left:"50%"}}),Lt(R,{label:i,large:!0,orientation:"horizontal",text:"6",style:{position:"absolute",left:"75%"}}),Lt(R,{label:i,large:!0,orientation:"horizontal",text:"8",style:{position:"absolute",left:"100%"}})]})};Po.options=mu;Po.states=cu;Po.variants=uu;Po.defaultOptions=us;Po.modifiers=fu;Po.className=F.className;import{jsx as fs,jsxs as Nu}from"react/jsx-runtime";var bs="k-spin-button",hu=[],gu={size:[p.undefined,p.small,p.medium,p.large],fillMode:[x.undefined,x.solid,x.flat,x.outline,x.clear,x.link]},Xr={increaseLabel:"Increase value",decreaseLabel:"Decrease value"},It=e=>{let{size:t,fillMode:o,disabled:a,increaseLabel:i=Xr.increaseLabel,decreaseLabel:l=Xr.decreaseLabel,...d}=e;return Nu("span",{...d,className:r(bs,e.className),children:[fs(s,{className:"k-spinner-increase",icon:"chevron-up",size:t,fillMode:o,disabled:a,"aria-label":i}),fs(s,{className:"k-spinner-decrease",icon:"chevron-down",size:t,fillMode:o,disabled:a,"aria-label":l})]})};It.states=hu;It.options=gu;It.className=bs;It.defaultOptions=Xr;It.moduleName=null;It.folderName=null;var xs="numeric-textbox",hs="numerictextbox";import{Fragment as gs,jsx as Kt,jsxs as Wr}from"react/jsx-runtime";var Ns="k-numerictextbox",vu=[n.hover,n.focus,n.valid,n.invalid,n.loading,n.required,n.disabled,n.readonly],ku={size:[p.undefined,p.small,p.medium,p.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},A=e=>{let{size:t,rounded:o,fillMode:a,separators:i=yi.separators,showClearButton:l=yi.showClearButton,showSpinButton:d=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":oe,...ae}=e;return Wr($,{...ae,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,Ns),children:[m&&Wr(gs,{children:[Kt(be,{children:m}),i&&Kt(ee,{})]}),Kt(ce,{id:w,placeholder:b,value:h,role:"spinbutton",disabled:M,"aria-label":Y,"aria-describedby":oe,"aria-invalid":L?"true":void 0}),Kt(j,{valid:v,invalid:L,loading:S,disabled:M}),Kt(ie,{loading:S,disabled:M}),l&&Kt(me,{loading:S,disabled:M,readonly:T,value:h}),f&&Wr(gs,{children:[i&&Kt(ee,{}),Kt(xe,{children:f})]}),d&&Kt(It,{className:"k-input-spinner",size:t,fillMode:a,disabled:M})]})};A.states=vu;A.options=ku;A.className=Ns;A.defaultOptions=yi;A.moduleName=xs;A.folderName=hs;var Xa=A;import{jsx as Lu}from"react/jsx-runtime";var vs=e=>Lu(Xa,{...e});import qr from"react";import{jsx as ks}from"react/jsx-runtime";var Iu="k-list-group-sticky-header",Jr=e=>ks("div",{className:r(Iu,e.className),children:ks("div",{className:"k-list-header-text",children:e.children})});import{jsx as Mu}from"react/jsx-runtime";var Su="k-no-data",Ei=e=>{let{live:t,...o}=e;return Mu("span",{...o,className:r(Su,e.className),"aria-live":t?"polite":void 0,children:e.children})};var so="list",wo=so;import{jsx as Ls,jsxs as Is}from"react/jsx-runtime";var Yr="k-list",yu=[],Eu={size:[p.undefined,p.small,p.medium,p.large]},Cu={},P=e=>{let{size:t,virtualization:o,children:a,header:i,selectAll:l,optionLabel:d,customValue:m,noData:f,screenReaders:h,...b}=e,c=qr.Children.toArray(a)[0],v=c?.props?.children?qr.Children.count(c.props.children):qr.Children.count(a);return Is("div",{...b,className:r(e.className,Yr,E(Yr,{size:t}),{"k-virtual-list":o}),children:[d,l,m,i&&Ls(Jr,{children:i}),a||(f!==void 0?f:Ls(Ei,{live:!0,children:"No data found."})),h&&a&&Is(Ei,{className:"k-sr-only",live:!0,children:[v," items found."]})]})};P.states=yu;P.options=Eu;P.className=Yr;P.defaultOptions=Cu;P.moduleName=so;P.folderName=wo;import{jsx as Ou}from"react/jsx-runtime";var Ss="k-list-container",Bu=[],Tu={},Au={},Ko=e=>{let{...t}=e;return Ou("div",{...t,className:r(e.className,Ss),children:e.children})};Ko.states=Bu;Ko.options=Tu;Ko.className=Ss;Ko.defaultOptions=Au;Ko.moduleName=so;Ko.folderName=wo;var po="checkbox",zo=po;import{jsx as Ms}from"react/jsx-runtime";var Ci="k-checkbox",Ru=[n.hover,n.focus,n.valid,n.invalid,n.required,n.disabled,n.checked,n.indeterminate],Pu={size:[p.undefined,p.small,p.medium,p.large],rounded:[u.undefined,u.none,u.small,u.medium,u.large,u.full]},wu={},we=e=>{let{id:t,checked:o,indeterminate:a,hover:i,focus:l,disabled:d,invalid:m,valid:f,required:h,size:b,rounded:N,wrapperRole:c,...v}=e;return Ms("span",{className:"k-checkbox-wrap",role:c,children:Ms("input",{...v,id:t,type:"checkbox",defaultChecked:o,required:h,disabled:d||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:d,invalid:m,valid:f,indeterminate:a,checked:o}))})})};we.states=Ru;we.options=Pu;we.className=Ci;we.defaultOptions=wu;we.moduleName=po;we.folderName=zo;var ft=we;import{jsx as _u}from"react/jsx-runtime";var ys="k-checkbox-list",Ku=[],zu={},Es={layout:"vertical"},Be=e=>{let{layout:t=Es.layout,...o}=e;return _u("ul",{...o,className:r(e.className,ys,{[`k-list-${t}`]:t}),children:e.children})};Be.states=Ku;Be.options=zu;Be.className=ys;Be.defaultOptions=Es;Be.moduleName=po;Be.folderName=zo;import{jsx as Uu}from"react/jsx-runtime";var Cs="k-checkbox-list-item",Du=[],Fu={},Hu={},Te=e=>{let{...t}=e;return Uu("li",{...t,className:r(e.className,Cs),children:e.children})};Te.states=Du;Te.options=Fu;Te.className=Cs;Te.defaultOptions=Hu;Te.moduleName=po;Te.folderName=zo;import{Fragment as Gu,jsx as Bs,jsxs as $u}from"react/jsx-runtime";var bt=({children:e="Label",id:t="cb-label-after",...o})=>$u(Gu,{children:[Bs(ft,{id:t,...o}),Bs("label",{className:"k-checkbox-label",htmlFor:t,children:e})]});import{Fragment as UC,jsx as HC,jsxs as GC}from"react/jsx-runtime";import{Fragment as JC,jsx as WC,jsxs as qC}from"react/jsx-runtime";import{Fragment as eB,jsx as jC,jsxs as tB}from"react/jsx-runtime";import{jsx as rB}from"react/jsx-runtime";import{jsx as dB}from"react/jsx-runtime";import{jsx as uB}from"react/jsx-runtime";import{jsx as tt,jsxs as Ts}from"react/jsx-runtime";var Vu=Be.options,Xu=Be.states,Wu={...Be.defaultOptions,variant:"vertical"},Ju=[{name:"vertical",title:"Vertical"},{name:"horizontal",title:"Horizontal"}],qu=[],_o=e=>{let{variant:t,...o}=e;return t==="horizontal"?Ts(Be,{layout:"horizontal",...o,children:[tt(Te,{children:tt(bt,{id:B("cb"),defaultChecked:!0,children:"Label"})}),tt(Te,{children:tt(bt,{id:B("cb"),children:"Label"})}),tt(Te,{children:tt(bt,{id:B("cb"),children:"Label"})})]}):Ts(Be,{...o,children:[tt(Te,{children:tt(bt,{id:B("cb"),defaultChecked:!0,children:"Label"})}),tt(Te,{children:tt(bt,{id:B("cb"),children:"Label"})}),tt(Te,{children:tt(bt,{id:B("cb"),children:"Label"})})]})};_o.options=Vu;_o.states=Xu;_o.variants=Ju;_o.defaultOptions=Wu;_o.modifiers=qu;_o.className=Be.className;import{jsx as tf}from"react/jsx-runtime";var Yu=ft.options,Zu=ft.states,Qu=ft.defaultOptions,ju=[],ef=[],Do=e=>tf(bt,{id:B("checkbox"),...e,defaultChecked:!0,children:"Label"});Do.options=Yu;Do.states=Zu;Do.variants=ju;Do.defaultOptions=Qu;Do.modifiers=ef;Do.className=ft.className;import{jsx as Fo,jsxs as nf}from"react/jsx-runtime";var Zr="k-list-item",of=[n.hover,n.focus,n.selected,n.disabled],af={},rf={},C=e=>{let{text:t,iconName:o,iconClassName:a,showCheckbox:i,checked:l,hover:d,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 nf("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,Zr,y(Zr,{hover:d,focus:m,disabled:h,selected:f})),children:[i&&Fo(we,{checked:l,disabled:h,"aria-label":I,tabIndex:-1}),o&&Fo("span",{className:"k-list-item-icon-wrapper",children:Fo(g,{icon:o,className:r("k-list-item-icon",a)})}),Fo("span",{className:"k-list-item-text",children:L}),b&&Fo("div",{className:"k-list-item-actions",children:b}),N&&Fo("span",{className:"k-list-item-description",children:N})]})};C.states=of;C.options=af;C.className=Zr;C.defaultOptions=rf;C.moduleName=so;C.folderName=wo;import{jsx as sf}from"react/jsx-runtime";var lf="k-list-ul",St=e=>{let{children:t,role:o,id:a,...i}=e;return sf("ul",{...i,id:a,role:o,className:r(lf,e.className),children:t})};import{jsx as Qr,jsxs as pf}from"react/jsx-runtime";var df="k-list-content",K=e=>{let{virtualization:t,grouping:o,"aria-label":a,"aria-labelledby":i,listboxId:l,...d}=e;return pf("div",{...d,className:r(df,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:Qr(St,{role:"listbox",id:l,"aria-label":a,"aria-labelledby":i,children:e.children}),t&&Qr("div",{className:"k-height-container",children:Qr("div",{})})]})};import{jsx as jr,jsxs as ff}from"react/jsx-runtime";var Bi="k-list-sticky-header",mf=[n.hover,n.focus,n.selected],cf={},uf={},Ti=e=>{let{label:t="Select all",showCheckbox:o=!0,checked:a,indeterminate:i,hover:l,focus:d,selected:m,...f}=e;return jr("div",{...f,className:r(Bi,e.className),children:ff("div",{className:r(`${Bi}-item`,y(`${Bi}-item`,{hover:l,focus:d,selected:m})),"aria-label":t,...!o&&{tabIndex:0,"aria-selected":m?"true":"false"},children:[o&&jr(we,{checked:a,indeterminate:i,"aria-label":t}),jr("span",{className:"k-list-item-text",children:t})]})})};Ti.states=mf;Ti.options=cf;Ti.className=Bi;Ti.defaultOptions=uf;import{Fragment as lT,jsx as nT,jsxs as sT}from"react/jsx-runtime";import{jsx as uT,jsxs as fT}from"react/jsx-runtime";import{jsx as gf}from"react/jsx-runtime";var en="k-list-optionlabel",bf=[n.hover,n.focus,n.selected,n.disabled],xf={},hf={},Ai=e=>{let{text:t,hover:o,focus:a,selected:i,disabled:l,...d}=e;return gf("div",{...d,className:r(en,y(en,{hover:o,focus:a,selected:i,disabled:l})),children:t})};Ai.states=bf;Ai.options=xf;Ai.className=en;Ai.defaultOptions=hf;import{jsx as Lf}from"react/jsx-runtime";var tn="k-list-custom-value",Nf=[n.hover,n.focus,n.selected,n.disabled],vf={},kf={},ot=e=>{let{text:t,hover:o,focus:a,selected:i,disabled:l,...d}=e;return Lf("div",{...d,className:r(tn,y(tn,{hover:o,focus:a,selected:i,disabled:l})),children:t})};ot.states=Nf;ot.options=vf;ot.className=tn;ot.defaultOptions=kf;import{Fragment as yT,jsx as MT,jsxs as ET}from"react/jsx-runtime";import{Fragment as RT,jsx as OT,jsxs as PT}from"react/jsx-runtime";import{Fragment as HT,jsx as DT,jsxs as FT}from"react/jsx-runtime";import{Fragment as JT,jsx as XT,jsxs as WT}from"react/jsx-runtime";import{jsx as QT}from"react/jsx-runtime";import{Fragment as iA,jsx as aA,jsxs as rA}from"react/jsx-runtime";import{Fragment as mA,jsx as pA,jsxs as cA}from"react/jsx-runtime";var As="dropdown-list",Os="dropdownlist";import{Fragment as Mf,jsx as Ae,jsxs as on}from"react/jsx-runtime";var Rs="k-dropdownlist",If=[n.hover,n.focus,n.valid,n.invalid,n.required,n.disabled,n.loading,n.readonly],Sf={size:[p.undefined,p.small,p.medium,p.large],rounded:[u.undefined,u.none,u.small,u.medium,u.large,u.full],fillMode:[x.undefined,x.solid,x.flat,x.outline]},an={showValue:!0,arrowIconName:"chevron-down"},V=e=>{let{size:t,rounded:o,fillMode:a,arrowIconName:i=an.arrowIconName,showValue:l=an.showValue,valueIconName:d,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:oe,adaptiveSettings:ae,adaptiveTitle:pe,adaptiveSubtitle:no,adaptiveFilter:xt,id:Ot,activeDescendant:$t,"aria-label":Ba,...Ta}=e,Aa=Ot?`${Ot}-listbox`:void 0,cl=Ot?`${Ot}-value`:void 0;return on(Mf,{children:[on(Nt,{...Ta,id:Ot,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,Rs,{"k-icon-picker":!l&&d}),role:"combobox","aria-haspopup":"listbox","aria-expanded":Y?"true":"false","aria-controls":Y?Aa:void 0,"aria-activedescendant":Y&&$t?$t:void 0,"aria-describedby":Y?cl:void 0,"aria-disabled":M?"true":void 0,"aria-label":Ba,tabIndex:0,children:[Ae(be,{children:m}),Ae(lo,{placeholder:b,value:h,showValue:l,valueIconName:d,id:cl}),Ae(j,{valid:v,invalid:L,loading:S,disabled:M}),Ae(ie,{loading:S,disabled:M}),Ae(xe,{children:f}),Ae(s,{className:"k-input-button",icon:i,size:e.size,fillMode:e.fillMode,"aria-label":b||"Toggle dropdown",tabIndex:-1})]}),Y&&w&&Ae(J,{className:"k-list-container k-dropdownlist-popup",containerRole:"region",containerAriaLabel:"Dropdown suggestions",children:w}),oe&&Ae(Z,{adaptive:!0,...ae,header:Ae(ve,{actionsEnd:Ae(s,{icon:"check",themeColor:"primary",size:"large",fillMode:"flat","aria-label":"Apply selection"}),filter:xt,inputValue:h,inputPlaceholder:b,title:pe,subtitle:no}),children:Ae("div",{className:"k-list-container",children:Ae(P,{size:"large",children:on(K,{"aria-label":"Options",children:[Ae(C,{text:"List item"}),Ae(C,{text:"List item"}),Ae(C,{text:"List item"})]})})})})]})};V.states=If;V.options=Sf;V.className=Rs;V.defaultOptions=an;V.moduleName=As;V.folderName=Os;import{jsx as WA}from"react/jsx-runtime";import{jsx as jA,jsxs as eO}from"react/jsx-runtime";import{Fragment as dO,jsx as lO,jsxs as sO}from"react/jsx-runtime";import{jsx as fO}from"react/jsx-runtime";import{jsx as vO,jsxs as kO}from"react/jsx-runtime";import{Fragment as TO,jsx as CO,jsxs as BO}from"react/jsx-runtime";import{jsx as wO}from"react/jsx-runtime";import{Fragment as Af,jsx as Zt,jsxs as Ps}from"react/jsx-runtime";var yf=V.states,Ef=V.defaultOptions,Cf=V.options,Bf=[{name:"opened",title:"Opened"}],Tf=[],Uo=e=>{let{modifiers:t,...o}=e,a={},i=Ps(Af,{children:[Zt("div",{className:"k-list-filter",children:Zt(Ze,{})}),Zt(P,{style:{width:300},size:o.size,children:Ps(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})})};Uo.options=Cf;Uo.states=yf;Uo.variants=Tf;Uo.defaultOptions=Ef;Uo.modifiers=Bf;Uo.className=V.className;import{Fragment as aR,jsx as oR}from"react/jsx-runtime";import{Fragment as dR,jsx as sR}from"react/jsx-runtime";import{jsx as uR}from"react/jsx-runtime";import{jsx as rn}from"react/jsx-runtime";var Of=A.states,Rf=A.defaultOptions,Pf=A.options,wf=[{name:"prefix",title:"Prefix"},{name:"suffix",title:"Suffix"},{name:"clear-button",title:"`Clear` Button"},{name:"spin-button",title:"`Spin` Button"}],Kf=[],Go=e=>{let{modifiers:t,...o}=e,a={};return Object.keys(t||{}).forEach(i=>{switch(i){case"prefix":a.prefix=t?.[i]?rn(V,{size:o.size,fillMode:"flat",value:"mm"}):void 0;break;case"suffix":a.suffix=t?.[i]?rn(wt,{children:"mm"}):void 0;break;case"clear-button":a.showClearButton=t?.[i];break;case"spin-button":a.showSpinButton=t?.[i];break;default:break}}),rn(vs,{value:"Value",style:{width:300},...o,...a})};Go.options=Pf;Go.states=Of;Go.variants=Kf;Go.defaultOptions=Rf;Go.modifiers=wf;Go.className=A.className;import{Fragment as Wa,jsx as _,jsxs as re}from"react/jsx-runtime";var ws="k-colorgradient-inputs",zf=[],_f={size:[p.undefined,p.small,p.medium,p.large]},Ks={mode:"rgba"},$o=e=>{let{mode:t=Ks.mode,size:o,...a}=e;return re("div",{...a,className:r(ws,"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"&&re(Wa,{children:[re("div",{className:"k-vstack",children:[_(A,{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:[_(A,{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:[_(A,{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:[_(A,{showSpinButton:!1,showClearButton:!1,value:"1.00",size:o,"aria-label":"Alpha channel"}),_("label",{className:"k-colorgradient-input-label",children:"A"})]})]}),t==="rgb"&&re(Wa,{children:[re("div",{className:"k-vstack",children:[_(A,{showSpinButton:!1,showClearButton:!1,value:"132","aria-label":"Red channel"}),_("label",{className:"k-colorgradient-input-label",children:"R"})]}),re("div",{className:"k-vstack",children:[_(A,{showSpinButton:!1,showClearButton:!1,value:"132","aria-label":"Green channel"}),_("label",{className:"k-colorgradient-input-label",children:"G"})]}),re("div",{className:"k-vstack",children:[_(A,{showSpinButton:!1,showClearButton:!1,value:"132","aria-label":"Blue channel"}),_("label",{className:"k-colorgradient-input-label",children:"B"})]})]}),t==="hsva"&&re(Wa,{children:[re("div",{className:"k-vstack",children:[_(A,{showSpinButton:!1,showClearButton:!1,value:"132","aria-label":"Hue channel"}),_("label",{className:"k-colorgradient-input-label",children:"H"})]}),re("div",{className:"k-vstack",children:[_(A,{showSpinButton:!1,showClearButton:!1,value:"132","aria-label":"Saturation channel"}),_("label",{className:"k-colorgradient-input-label",children:"S"})]}),re("div",{className:"k-vstack",children:[_(A,{showSpinButton:!1,showClearButton:!1,value:"132","aria-label":"Value channel"}),_("label",{className:"k-colorgradient-input-label",children:"V"})]}),re("div",{className:"k-vstack",children:[_(A,{showSpinButton:!1,showClearButton:!1,value:"1.00","aria-label":"Alpha channel"}),_("label",{className:"k-colorgradient-input-label",children:"A"})]})]}),t==="hsv"&&re(Wa,{children:[re("div",{className:"k-vstack",children:[_(A,{showSpinButton:!1,showClearButton:!1,value:"132","aria-label":"Hue channel"}),_("label",{className:"k-colorgradient-input-label",children:"H"})]}),re("div",{className:"k-vstack",children:[_(A,{showSpinButton:!1,showClearButton:!1,value:"132","aria-label":"Saturation channel"}),_("label",{className:"k-colorgradient-input-label",children:"S"})]}),re("div",{className:"k-vstack",children:[_(A,{showSpinButton:!1,showClearButton:!1,value:"132","aria-label":"Value channel"}),_("label",{className:"k-colorgradient-input-label",children:"V"})]})]}),t==="hex"&&_(Wa,{children:re("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"})]})})]})};$o.states=zf;$o.options=_f;$o.className=ws;$o.defaultOptions=Ks;import{jsx as co,jsxs as uo}from"react/jsx-runtime";var zs="k-colorgradient-color-contrast",Df=[],Ff={},Hf={},Vo=()=>uo("div",{className:r(zs,"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"})]})]})]});Vo.states=Df;Vo.options=Ff;Vo.className=zs;Vo.defaultOptions=Hf;var _s="color-gradient",Ds="colorgradient";import{jsx as at,jsxs as Ja}from"react/jsx-runtime";var Oi="k-colorgradient",Uf=[n.hover,n.focus,n.readonly,n.disabled],Gf={size:[p.undefined,p.small,p.medium,p.large]},Mt={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=Mt.mode,readonly:a=Mt.readonly,disabled:i=Mt.disabled,gradientStyle:l=Mt.gradientStyle,dragHandleStyle:d=Mt.dragHandleStyle,alphaStyle:m=Mt.alphaStyle,alphaStyleHorizontal:f=Mt.alphaStyleHorizontal,contrast:h=Mt.contrast,dir:b,hover:N,focus:c,hoverHandle:v,focusHandle:L,canvasOrientation:I=Mt.canvasOrientation,role:S,tabIndex:M,...T}=e;return Ja("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"&&Ja("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:d,role:"slider","aria-orientation":"undefined","aria-label":"Color well with two-dimensional slider for selecting saturation and lightness","aria-valuetext":"X: 73, Y: 50","aria-valuenow":50,"aria-valuemin":0,"aria-valuemax":100})})}),Ja("div",{className:"k-hsv-controls k-hstack",children:[at(Vr,{className:"k-hue-slider",hover:v,focus:L}),o!=="rgb"&&o!=="hsv"&&at(Vr,{className:"k-alpha-slider",hover:v,focus:L,trackStyle:m})]})]}),I==="vertical"&&Ja("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:d,role:"slider","aria-orientation":"undefined","aria-label":"Color well with two-dimensional slider for selecting saturation and lightness","aria-valuetext":"X: 73, Y: 50","aria-valuenow":50,"aria-valuemin":0,"aria-valuemax":100})})}),Ja("div",{className:"k-hsv-controls k-vstack",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:f})]})]}),at($o,{mode:e.mode,size:t}),h&&at(Vo,{})]})};Le.states=Uf;Le.options=Gf;Le.className=Oi;Le.defaultOptions=Mt;Le.moduleName=_s;Le.folderName=Ds;import{jsx as $f}from"react/jsx-runtime";var Ri=e=>$f(Le,{...e});import{jsx as QR}from"react/jsx-runtime";import{jsx as oP}from"react/jsx-runtime";import{jsx as nn}from"react/jsx-runtime";var Vf=Le.options,Xf=Le.states,Wf={...Le.defaultOptions,variant:"rgba"},Jf=[{name:"rgba",title:"RGBA"},{name:"rgb",title:"RGB"},{name:"hex",title:"HEX"}],qf=[],Xo=e=>{let{variant:t,...o}=e;switch(t){case"hex":return nn(Ri,{...o,mode:t});case"rgb":return nn(Ri,{...o,mode:t});default:return nn(Ri,{...o,mode:t})}};Xo.options=Vf;Xo.states=Xf;Xo.variants=Jf;Xo.defaultOptions=Wf;Xo.modifiers=qf;Xo.className=Le.className;import{jsx as Yf}from"react/jsx-runtime";var ln=e=>Yf("tr",{role:"row",children:e.children});import{jsx as jf}from"react/jsx-runtime";var sn="k-colorpalette-tile",Zf=[n.hover,n.focus,n.selected],Qf={},Qt=e=>{let{color:t,tileSize:o,hover:a,focus:i,selected:l,...d}=e,m={backgroundColor:t,width:o?o+"px":"",height:o?o+"px":""};return jf("td",{...d,role:"gridcell","aria-label":t,"aria-selected":l?"true":void 0,className:r(e.className,sn,y(sn,{hover:a,focus:i,selected:l})),style:m})};Qt.states=Zf;Qt.options=Qf;Qt.className=sn;Qt.moduleName=null;Qt.folderName=null;var Fs="color-palette",Hs="colorpalette";import{jsx as qa}from"react/jsx-runtime";var Pi="k-colorpalette",eb=[n.disabled],tb={size:[p.undefined,p.small,p.medium,p.large]},Us={columns:10},Ke=e=>{let{size:t,palette:o,columns:a=Us.columns,tileSize:i,disabled:l,...d}=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(qa(Qt,{color:L,tileSize:i},I))});let v=qa(ln,{children:c},N);m.push(v)})}return qa("div",{...d,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:qa("table",{className:"k-colorpalette-table",role:"none",children:qa("tbody",{children:m.length>0?m:e.children})})})};Ke.states=eb;Ke.options=tb;Ke.className=Pi;Ke.defaultOptions=Us;Ke.moduleName=Fs;Ke.folderName=Hs;var wi=Ke;var Ya={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 ob}from"react/jsx-runtime";var Gs=e=>ob(wi,{palette:Ya.basic,...e});import{jsx as zP}from"react/jsx-runtime";import{jsx as GP,jsxs as $P}from"react/jsx-runtime";import{jsx as db}from"react/jsx-runtime";var ab=Ke.options,ib=Ke.states,rb={...Ke.defaultOptions,variant:"basic"},nb=[{name:"basic",title:"Basic"},{name:"monochrome",title:"Monochrome"}],lb={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}},sb=[],Wo=e=>{let{variant:t="basic",...o}=e,a=lb[t];return db(Gs,{columns:a.columns,palette:a,...o})};Wo.options=ab;Wo.states=ib;Wo.variants=nb;Wo.defaultOptions=rb;Wo.modifiers=sb;Wo.className=Ke.className;var $s="color-editor",Vs="coloreditor";import{jsx as it,jsxs as Jo}from"react/jsx-runtime";var Ki="k-coloreditor",pb=[n.focus],mb={size:[p.undefined,p.small,p.medium,p.large]},Za={view:"gradient",palette:Ya.office,actionButtons:!0,canvasOrientation:"horizontal"},ne=e=>{let{size:t,view:o=Za.view,palette:a=Za.palette,color:i,currentColor:l,focus:d,focusView:m,dir:f,group:h,actionButtons:b=Za.actionButtons,canvasOrientation:N=Za.canvasOrientation,...c}=e;return Jo("div",{...c,role:"textbox","aria-label":"Color editor",tabIndex:0,className:r(e.className,"k-flatcolorpicker",Ki,E(Ki,{size:t}),y(Ki,{focus:d})),dir:f,children:[Jo("div",{className:"k-coloreditor-header k-hstack",children:[it("div",{className:"k-coloreditor-header-actions k-hstack",children:h&&Jo(O,{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"}),Jo("div",{className:"k-coloreditor-header-actions k-hstack",children:[it(s,{fillMode:"flat",icon:"droplet-slash",size:t,"aria-label":"Reset color"}),Jo("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(Le,{focus:m,size:t,canvasOrientation:N,role:"none",tabIndex:-1}):it(Ke,{palette:a,size:t})}),b&&Jo(He,{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"})]})]})};ne.states=pb;ne.options=mb;ne.className=Ki;ne.defaultOptions=Za;ne.moduleName=$s;ne.folderName=Vs;var qo=ne;import{jsx as Nw}from"react/jsx-runtime";import{jsx as Iw}from"react/jsx-runtime";import{jsx as cb}from"react/jsx-runtime";var Xs=e=>cb(qo,{group:!0,currentColor:"fuchsia",...e});import{jsx as ub}from"react/jsx-runtime";var Ws=e=>ub(qo,{view:"palette",group:!0,currentColor:"fuchsia",...e});import{jsx as Js}from"react/jsx-runtime";var fb=ne.options,bb=ne.states,xb={...ne.defaultOptions,variant:"gradient"},hb=[{name:"gradient",title:"Gradient"},{name:"palette",title:"Palette"}],gb=[],Yo=e=>{let{variant:t,...o}=e;return t==="palette"?Js(Ws,{...o,color:"white"}):Js(Xs,{...o,color:"rgba(183, 118 , 118, 1.00)"})};Yo.options=fb;Yo.states=bb;Yo.variants=hb;Yo.defaultOptions=xb;Yo.modifiers=gb;Yo.className=ne.className;var qs="color-picker",Ys="colorpicker";import{Fragment as kb,jsx as rt,jsxs as dn}from"react/jsx-runtime";var Zs="k-colorpicker",Nb=[n.hover,n.focus,n.valid,n.invalid,n.required,n.disabled],vb={size:[p.undefined,p.small,p.medium,p.large],rounded:[u.undefined,u.none,u.small,u.medium,u.large,u.full],fillMode:[x.undefined,x.solid,x.flat,x.outline]},Qs={arrowIconName:"chevron-down"},he=e=>{let{size:t,rounded:o,fillMode:a,arrowIconName:i=Qs.arrowIconName,prefix:l,suffix:d,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:oe,...ae}=e,pe="colorpicker-popup";return dn(kb,{children:[dn(Nt,{...ae,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,Zs,"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:d}),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(ve,{actionsEnd:rt(s,{icon:"check",themeColor:"primary",size:"large",fillMode:"flat","aria-label":"Apply"}),title:Y,subtitle:oe}),footer:dn(Wt,{children:[rt(s,{text:"Cancel",size:"large"}),rt(s,{text:"Set",size:"large",themeColor:"primary"})]}),children:rt(ne,{canvasOrientation:"vertical",size:"large",actionButtons:!1,group:!0})})]})};he.states=Nb;he.options=vb;he.className=Zs;he.defaultOptions=Qs;he.moduleName=qs;he.folderName=Ys;var zt=he;import{jsx as Lb}from"react/jsx-runtime";var zi=e=>Lb(zt,{...e});import{jsx as n0}from"react/jsx-runtime";import{jsx as m0}from"react/jsx-runtime";import{jsx as b0}from"react/jsx-runtime";import{jsx as N0}from"react/jsx-runtime";import{jsx as I0}from"react/jsx-runtime";import{jsx as E0}from"react/jsx-runtime";import{jsx as fo}from"react/jsx-runtime";var Ib=zt.options,Sb=zt.states,js={...zt.defaultOptions,variant:"color"},Mb=[{name:"color",title:"Color",default:!0},{name:"no color",title:"No color"},{name:"icon",title:"Icon"}],yb=[{name:"opened",title:"Opened"}],Zo=e=>{let{variant:t,modifiers:o,...a}={...js,...e},i={};Object.keys(o||{}).forEach(d=>{d==="opened"&&(i.opened=!!o?.[d],i.popup=o?.[d]?fo(ne,{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})})}};Zo.options=Ib;Zo.states=Sb;Zo.variants=Mb;Zo.defaultOptions=js;Zo.modifiers=yb;Zo.className=zt.className;var pn="combobox",ed=pn;import{Fragment as mn,jsx as ue,jsxs as Qa}from"react/jsx-runtime";var td="k-combobox",Eb=[n.hover,n.focus,n.valid,n.invalid,n.loading,n.required,n.disabled,n.readonly],Cb={size:[p.undefined,p.small,p.medium,p.large],rounded:[u.undefined,u.none,u.small,u.medium,u.large,u.full],fillMode:[x.undefined,x.solid,x.flat,x.outline]},cn={separators:!0,showClearButton:!0},Ie=e=>{let{size:t,rounded:o,fillMode:a,separators:i=cn.separators,showClearButton:l=cn.showClearButton,prefix:d,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:oe,adaptiveTitle:ae,adaptiveSubtitle:pe,adaptiveCustomValue:no,id:xt,autocomplete:Ot,activeDescendant:$t,"aria-label":Ba,...Ta}=e,Aa=xt?`${xt}-listbox`:void 0;return Qa(mn,{children:[Qa($,{...Ta,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,td),children:[d&&Qa(mn,{children:[ue(be,{children:d}),i&&ue(ee,{})]}),ue(ce,{id:xt,placeholder:h,value:f,role:"combobox","aria-haspopup":"listbox","aria-expanded":T?"true":"false","aria-controls":T?Aa:void 0,"aria-activedescendant":T&&$t?$t:void 0,"aria-autocomplete":Ot,"aria-invalid":v?"true":void 0,"aria-busy":I?"true":void 0,"aria-label":Ba,disabled:S,readOnly:w}),ue(j,{valid:c,invalid:v,loading:I,disabled:S}),ue(ie,{loading:I,disabled:S}),l&&ue(me,{loading:I,disabled:S,readonly:w,value:f}),m&&Qa(mn,{children:[i&&ue(ee,{}),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:xt?`${xt}-adaptive`:void 0,...oe,header:ue(ve,{actionsEnd:ue(s,{icon:"check",themeColor:"primary",size:"large",fillMode:"flat","aria-label":"Apply selection"}),input:!0,inputValue:f,inputPlaceholder:h,title:ae,subtitle:pe}),children:ue("div",{className:"k-list-container",children:ue(P,{customValue:no?ue(ot,{text:`Use "${f}"`}):void 0,size:"large",children:Qa(K,{"aria-label":ae||"Options",children:[ue(C,{text:"List item"}),ue(C,{text:"List item"}),ue(C,{text:"List item"})]})})})})]})};Ie.states=Eb;Ie.options=Cb;Ie.className=td;Ie.defaultOptions=cn;Ie.moduleName=pn;Ie.folderName=ed;var Ue=Ie;import{jsx as Bb}from"react/jsx-runtime";var od=e=>Bb(Ue,{...e});import{jsx as dK,jsxs as pK}from"react/jsx-runtime";import{jsx as xK,jsxs as hK}from"react/jsx-runtime";import{jsx as IK,jsxs as SK}from"react/jsx-runtime";import{Fragment as TK,jsx as BK}from"react/jsx-runtime";import{Fragment as KK,jsx as wK}from"react/jsx-runtime";import{jsx as UK,jsxs as GK}from"react/jsx-runtime";import{Fragment as ZK,jsx as qK,jsxs as YK}from"react/jsx-runtime";import{jsx as tz}from"react/jsx-runtime";import{jsx as rz}from"react/jsx-runtime";import{jsx as mz,jsxs as cz}from"react/jsx-runtime";import{jsx as gz,jsxs as Nz}from"react/jsx-runtime";import{jsx as jt,jsxs as wb}from"react/jsx-runtime";var Tb=Ie.states,Ab=Ie.defaultOptions,Ob=Ie.options,Rb=[{name:"prefix",title:"Prefix"},{name:"suffix",title:"Suffix"},{name:"opened",title:"Opened"}],Pb=[],Qo=e=>{let{modifiers:t,...o}=e,a={},i=jt(P,{style:{width:300},size:o.size,children:wb(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(Rt,{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(od,{value:"Value",style:{width:300},...o,...a})})};Qo.options=Ob;Qo.states=Tb;Qo.variants=Pb;Qo.defaultOptions=Ab;Qo.modifiers=Rb;Qo.className=Ie.className;var un="menu-button",ad=un;import{jsx as _b}from"react/jsx-runtime";var id="k-menu-button",Kb=[n.hover,n.focus,n.active,n.selected,n.disabled],zb={size:[p.undefined,p.xsmall,p.small,p.medium,p.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]},fn={showArrow:!0,arrowIconName:"chevron-down"},W=e=>{let{size:t,rounded:o,fillMode:a,themeColor:i,hover:l,focus:d,active:m,selected:f,disabled:h,icon:b,endIcon:N,text:c,showArrow:v=fn.showArrow,arrowIconName:L=fn.arrowIconName,expanded:I,...S}=e;return _b(s,{...S,className:r(e.className,id),text:c,size:t,rounded:o,fillMode:a,themeColor:i,hover:l,focus:d,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"}})};W.states=Kb;W.options=zb;W.className=id;W.defaultOptions=fn;W.moduleName=un;W.folderName=ad;import{jsx as Qz}from"react/jsx-runtime";import{jsx as o_}from"react/jsx-runtime";import{jsx as n_}from"react/jsx-runtime";import{jsx as p_}from"react/jsx-runtime";var Ge="menu",nt=Ge;import{jsx as ei,jsxs as rd}from"react/jsx-runtime";var bn="k-menu-item",Db=[n.hover,n.focus,n.active,n.selected,n.disabled],Fb={},nd={iconPosition:"before"},ye=e=>{let{hover:t,focus:o,active:a,selected:i,disabled:l,icon:d,text:m,showArrow:f,arrowIconName:h,iconPosition:b=nd.iconPosition,dir:N,children:c,expanded:v,...L}=e,I=h;return I||(I=N==="rtl"?"chevron-left":"chevron-right"),rd("li",{...L,className:r(e.className,bn,"k-item",y(bn,{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:[rd("span",{className:r("k-link k-menu-link"),children:[d&&b==="before"&&ei(g,{className:"k-menu-link-icon",icon:d}),ei("span",{className:"k-menu-link-text",children:m}),d&&b==="after"&&ei(g,{className:"k-menu-link-icon",icon:d}),f&&ei("span",{className:"k-menu-expand-arrow","aria-hidden":"true",children:ei(g,{icon:I})})]}),c]})};ye.states=Db;ye.options=Fb;ye.className=bn;ye.defaultOptions=nd;ye.moduleName=Ge;ye.folderName=nt;import{jsx as bo,jsxs as ld}from"react/jsx-runtime";var xn="k-menu-item",Hb=[n.hover,n.focus,n.active,n.selected,n.disabled],Ub={},hn={dir:"ltr",iconPosition:"before"},Q=e=>{let{hover:t,focus:o,active:a,selected:i,disabled:l,icon:d,text:m,showArrow:f,arrowIconName:h,iconPosition:b=hn.iconPosition,dir:N=hn.dir,children:c,popup:v,expanded:L,actions:I,description:S,...M}=e,T=h;return T||(T=N==="rtl"?"chevron-left":"chevron-right"),ld("li",{role:"menuitem",...M,className:r(e.className,xn,"k-item",y(xn,{focus:o,disabled:l})),...f&&{"aria-haspopup":"menu"},...f&&{"aria-expanded":L?"true":"false"},...l&&{"aria-disabled":"true"},...o&&{tabIndex:0},children:[ld("span",{className:r("k-link k-menu-link",y("k-menu-link",{hover:t,active:a,selected:i,disabled:l})),children:[d&&b==="before"&&bo(g,{className:"k-menu-link-icon",icon:d}),bo("span",{className:"k-menu-link-text",children:m}),d&&b==="after"&&bo(g,{className:"k-menu-link-icon",icon:d}),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=Hb;Q.options=Ub;Q.className=xn;Q.defaultOptions=hn;Q.moduleName=Ge;Q.folderName=nt;import{jsx as Xb}from"react/jsx-runtime";var sd="k-menu-scroll-wrapper",Gb=[],$b={},Vb={},xo=e=>{let{className:t,children:o,orientation:a,...i}=e;return Xb("div",{...i,className:r(t,sd,{"k-menu-scroll-wrapper-vertical":a==="vertical"}),children:o})};xo.states=Gb;xo.options=$b;xo.className=sd;xo.defaultOptions=Vb;xo.moduleName=Ge;xo.folderName=nt;var dd=xo;import{Fragment as gn,jsx as ho,jsxs as _i}from"react/jsx-runtime";var Di="k-menu",Wb=[],Jb={size:[p.undefined,p.small,p.medium,p.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:d,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(gn,{children:[i?_i(dd,{orientation:o,style:d,dir:e.dir,children:[l==="start"&&_i(gn,{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(gn,{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=Wb;Se.options=Jb;Se.className=Di;Se.defaultOptions=Fi;Se.moduleName=Ge;Se.folderName=nt;import{jsx as qb}from"react/jsx-runtime";var Nn="k-separator",pd={orientation:"horizontal"},jo=e=>{let{orientation:t=pd.orientation,...o}=e;return qb("li",{...o,className:r(e.className,"k-item",Nn,{[`${Nn}-${t}`]:t}),role:"separator"})};jo.className=Nn;jo.defaultOptions=pd;jo.moduleName=Ge;jo.folderName=nt;import{Fragment as D_,jsx as F_}from"react/jsx-runtime";import{jsx as jb}from"react/jsx-runtime";var vn="k-menu-group",Yb=[],Zb={size:[p.undefined,p.small,p.medium,p.large]},Qb={},Ee=e=>{let{children:t,size:o,...a}=e;return jb("ul",{role:"menu",...a,className:r(e.className,vn,E(vn,{size:o})),children:t})};Ee.states=Yb;Ee.options=Zb;Ee.className=vn;Ee.defaultOptions=Qb;Ee.moduleName=Ge;Ee.folderName=nt;import{jsx as q_,jsxs as Y_}from"react/jsx-runtime";import{Fragment as ex,jsx as ea,jsxs as tx}from"react/jsx-runtime";var kn=e=>ea(Se,{children:tx(ex,{children:[ea(ye,{text:"Item 1"}),ea(ye,{showArrow:!0,arrowIconName:"chevron-down",text:"Item 2"}),ea(ye,{showArrow:!0,arrowIconName:"chevron-down",text:"Item 3"}),ea(ye,{text:"Item 4"}),ea(ye,{text:"Item 5"})]}),...e});import{Fragment as nD,jsx as iD,jsxs as rD}from"react/jsx-runtime";import{Fragment as mD,jsx as pD,jsxs as cD}from"react/jsx-runtime";import{Fragment as hD,jsx as xD,jsxs as gD}from"react/jsx-runtime";import{Fragment as ID,jsx as LD,jsxs as SD}from"react/jsx-runtime";import{jsx as go,jsxs as nx}from"react/jsx-runtime";var ox={...Se.options,scrollable:{type:"boolean"}},ax=Se.states,md={...Se.defaultOptions,variant:"horizontal"},ix=[{name:"horizontal",title:"Horizontal"},{name:"vertical",title:"Vertical"}],rx=[{name:"opened",title:"Opened"}],ta=e=>{let{variant:t,modifiers:o,...a}={...md,...e},i={},l=t==="vertical"?{left:"200px",top:"30px"}:{left:"90px",top:"auto"};return Object.keys(o||{}).forEach(d=>{d==="opened"&&(i.opened=!!o?.[d],i.popup=o?.[d]?go(J,{className:"k-menu-popup",offset:l,children:nx(Ee,{children:[go(Q,{text:"Item 1"}),go(Q,{text:"Item 2"}),go(jo,{}),go(Q,{text:"Item 3"})]})}):null)}),t==="vertical"?go(kn,{...a,...i,orientation:"vertical",style:{width:"200px"}}):go(kn,{...a,...i})};ta.options=ox;ta.states=ax;ta.variants=ix;ta.defaultOptions=md;ta.modifiers=rx;ta.className=Se.className;import{Fragment as a1,jsx as t1,jsxs as o1}from"react/jsx-runtime";import{jsx as l1}from"react/jsx-runtime";import{Fragment as mx,jsx as yt,jsxs as cd}from"react/jsx-runtime";var lx=s.states,ud={...s.defaultOptions,variant:"text"},sx=s.options,dx=[{name:"icon-only",title:"Icon Only"},{name:"icon-and-text",title:"Icon & Text"},{name:"text",title:"Text"}],px=[{name:"opened",title:"Opened"}],oa=e=>{let{variant:t,modifiers:o,...a}={...ud,...e},i={},l=yt(J,{className:"k-menu-popup",children:cd(Ee,{size:a.size,children:[yt(Q,{text:"Menu Item"}),yt(Q,{text:"Menu Item"}),yt(Q,{text:"Menu Item"})]})}),d;switch(t){case"icon-only":d=yt("div",{children:yt(W,{...a,...i,icon:"star"})});break;case"icon-and-text":d=yt("div",{children:yt(W,{...a,...i,icon:"star",children:"Dropdown Button"})});break;default:d=yt("div",{children:yt(W,{...a,...i,children:"Dropdown Button"})});break}return cd(mx,{children:[d,o?.opened&&l]})};oa.options=sx;oa.states=lx;oa.variants=dx;oa.defaultOptions=ud;oa.modifiers=px;oa.className=W.className;var Ln="split-button",fd=Ln;import{Fragment as fx,jsx as In,jsxs as bd}from"react/jsx-runtime";var Sn="k-split-button",cx=[n.hover,n.focus,n.active,n.selected,n.disabled],ux={size:[p.undefined,p.small,p.medium,p.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]},xd={arrowIconName:"chevron-down"},D=e=>{let{size:t,rounded:o,fillMode:a,themeColor:i,hover:l,focus:d,active:m,selected:f,disabled:h,icon:b,endIcon:N,text:c,arrowIconName:v=xd.arrowIconName,popup:L,opened:I,popupId:S,...M}=e;return bd(fx,{children:[bd("div",{...M,className:r(e.className,Sn,"k-button-group",E(Sn,{rounded:o})),children:[In(s,{text:c,icon:b,endIcon:N,size:t,rounded:o,fillMode:a,themeColor:i,hover:l,focus:d,active:m,selected:f,disabled:h,...!c&&!e.children&&b&&{"aria-label":"Action"},children:e.children}),In(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&&In(J,{className:"k-menu-popup",children:L})]})};D.states=cx;D.options=ux;D.className=Sn;D.defaultOptions=xd;D.moduleName=Ln;D.folderName=fd;var Mn=D;import{jsx as xx}from"react/jsx-runtime";var bx="k-toolbar-separator",Ce=e=>xx("div",{className:r(bx,e.className,"k-separator")});var No="toolbar",aa=No;import{Fragment as yn,jsx as H,jsxs as ia}from"react/jsx-runtime";var _t="k-toolbar",hx=[n.focus],gx={size:[p.undefined,p.small,p.medium,p.large],fillMode:[x.undefined,x.solid,x.outline,x.flat]},Nx={scrollButtons:"around"},q=e=>{let{size:t,fillMode:o,focus:a,resizable:i,scrollable:l,scrollButtons:d,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(H(s,{...c.props,className:`${c.props.className?c.props.className:""}`},`${v}-${new Date().getTime()}`));else if(c.type===s)L.push(H(s,{...c.props,className:`k-toolbar-button ${c.props.className?c.props.className:""}`},`${v}-${new Date().getTime()}`));else if(c.type===Ka)L.push(H(Ka,{...c.props,className:`k-toolbar-button ${c.props.className?c.props.className:""}`},`${v}-${new Date().getTime()}`));else if(c.type===Rt)L.push(H(Rt,{...c.props,className:`k-toolbar-button ${c.props.className?c.props.className:""}`},`${v}-${new Date().getTime()}`));else if(c.type===W)L.push(H(W,{...c.props,className:`k-toolbar-menu-button ${c.props.className?c.props.className:""}`},`${v}-${new Date().getTime()}`));else if(c.type===Mn)L.push(H(Mn,{...c.props,className:`k-toolbar-split-button ${c.props.className?c.props.className:""}`},`${v}-${new Date().getTime()}`));else if(c.type===O||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(H(s,{...M.props,className:`${M.props.className?M.props.className:""}`},`${T}-${new Date().getTime()}`))}),L.push(H(O,{...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(H(Ie,{...c.props,className:`k-toolbar-combobox ${c.props.className?c.props.className:""}`},`${v}-${new Date().getTime()}`)):c.type===V?L.push(H(V,{...c.props,className:`k-toolbar-dropdownlist ${c.props.className?c.props.className:""}`},`${v}-${new Date().getTime()}`)):c.type===he?L.push(H(he,{...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)}),ia("div",{...h,className:r(e.className,_t,E(_t,{size:t,fillMode:o}),y(_t,{focus:a}),{[`${_t}-resizable`]:i,[`${_t}-scrollable`]:l,[`${_t}-scrollable-overlay`]:l&&d==="hidden",[`${_t}-scrollable-${m}`]:m&&m!=="both",[`${_t}-section`]:f}),role:"toolbar","aria-label":"Toolbar",children:[!l&&b,l&&d==="hidden"&&H("div",{className:"k-toolbar-items k-toolbar-items-scroll",children:b}),l&&d==="start"&&ia(yn,{children:[ia(O,{children:[H("span",{className:r("k-toolbar-prev","k-button",E("k-button",{size:t,fillMode:o}),"k-icon-button"),"aria-hidden":"true",children:H(g,{className:"k-button-icon",icon:"chevron-left"})}),H("span",{className:r("k-toolbar-next","k-button",E("k-button",{size:t,fillMode:o}),"k-icon-button"),"aria-hidden":"true",children:H(g,{className:"k-button-icon",icon:"chevron-right"})})]}),H(Ce,{className:"k-toolbar-button-separator"}),H("div",{className:"k-toolbar-items k-toolbar-items-scroll",children:b})]}),l&&d==="end"&&ia(yn,{children:[H("div",{className:"k-toolbar-items k-toolbar-items-scroll",children:b}),H(Ce,{className:"k-toolbar-button-separator"}),ia(O,{children:[H("span",{className:r("k-toolbar-prev","k-button",E("k-button",{size:t,fillMode:o}),"k-icon-button"),"aria-hidden":"true",children:H(g,{className:"k-button-icon",icon:"chevron-left"})}),H("span",{className:r("k-toolbar-next","k-button",E("k-button",{size:t,fillMode:o}),"k-icon-button"),"aria-hidden":"true",children:H(g,{className:"k-button-icon",icon:"chevron-right"})})]})]}),l&&(d==="around"||!d)&&ia(yn,{children:[H("span",{className:r("k-toolbar-prev","k-button",E("k-button",{size:t,fillMode:o}),"k-icon-button"),"aria-hidden":"true",children:H(g,{className:"k-button-icon",icon:"chevron-left"})}),H(Ce,{className:"k-toolbar-button-separator"}),H("div",{className:"k-toolbar-items k-toolbar-items-scroll",children:b}),H(Ce,{className:"k-toolbar-button-separator"}),H("span",{className:r("k-toolbar-next","k-button",E("k-button",{size:t,fillMode:o}),"k-icon-button"),"aria-hidden":"true",children:H(g,{className:"k-button-icon",icon:"chevron-right"})})]})]})};q.states=hx;q.options=gx;q.className=_t;q.defaultOptions=Nx;q.moduleName=No;q.folderName=aa;import{jsx as Ix}from"react/jsx-runtime";var En="k-toolbar-item",vx=[n.focus],kx={},Lx={},Et=e=>{let{focus:t,...o}=e;return Ix("div",{...o,className:r(e.className,En,y(En,{focus:t})),children:e.children})};Et.states=vx;Et.options=kx;Et.className=En;Et.defaultOptions=Lx;Et.moduleName=No;Et.folderName=aa;import{jsx as hd}from"react/jsx-runtime";var gd="k-toolbar-popup",Sx=[],Mx={size:[p.undefined,p.small,p.medium,p.large],fillMode:[x.undefined,x.solid,x.outline,x.flat]},yx={},vo=e=>{let{size:t,fillMode:o,section:a,...i}=e;return hd(J,{...i,className:r(e.className,gd),children:a?hd("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=Sx;vo.options=Mx;vo.className=gd;vo.defaultOptions=yx;vo.moduleName=No;vo.folderName=aa;var Hi=vo;import{jsx as lF}from"react/jsx-runtime";import{jsx as mF}from"react/jsx-runtime";import{jsx as bF}from"react/jsx-runtime";import{jsx as NF}from"react/jsx-runtime";import{jsx as MF,jsxs as yF}from"react/jsx-runtime";import{jsx as TF}from"react/jsx-runtime";import{jsx as Dt,jsxs as Ax}from"react/jsx-runtime";var Ex=D.states,Nd={...D.defaultOptions,variant:"text"},Cx=D.options,Bx=[{name:"icon-only",title:"Icon Only"},{name:"icon-and-text",title:"Icon & Text"},{name:"text",title:"Text"}],Tx=[{name:"opened",title:"Opened"}],ra=e=>{let{variant:t,modifiers:o,...a}={...Nd,...e},i={},l=Ax(Ee,{size:a.size,children:[Dt(Q,{text:"Menu Item"}),Dt(Q,{text:"Menu Item"}),Dt(Q,{text:"Menu Item"})]});switch(Object.keys(o||{}).forEach(d=>{d==="opened"&&(i.opened=!!o?.[d],i.popup=o?.[d]?l:"")}),t){case"icon-only":return Dt("div",{children:Dt(D,{...a,...i,icon:"star"})});case"icon-and-text":return Dt("div",{children:Dt(D,{...a,...i,icon:"star",children:"Split Button"})});default:return Dt("div",{children:Dt(D,{...a,...i,children:"Split Button"})})}};ra.options=Cx;ra.states=Ex;ra.variants=Bx;ra.defaultOptions=Nd;ra.modifiers=Tx;ra.className=D.className;import{jsx as ko,jsxs as Ox}from"react/jsx-runtime";var vd=e=>ko(q,{children:[ko(s,{children:"Button"},"toolbar-button"),ko(W,{text:"Menu button"},"toolbar-menu-button"),ko(D,{children:"Split button"},"toolbar-split-button"),Ox(O,{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 nH,jsxs as lH}from"react/jsx-runtime";import{jsx as $e,jsxs as kd}from"react/jsx-runtime";var Ld=e=>$e(q,{scrollable:!0,...e,children:[$e(s,{children:"Button"},"toolbar-button"),$e(W,{text:"Menu button"},"toolbar-menu-button"),$e(D,{children:"Split button"},"toolbar-split-button"),kd(O,{children:[$e(s,{className:"k-group-start",icon:"align-left",children:"Left"}),$e(s,{icon:"align-center",children:"Center"}),$e(s,{className:"k-group-end",icon:"align-right",children:"Right"})]},"toolbar-button-group"),$e(s,{children:"Button"},"toolbar-button"),$e(W,{text:"Menu button"},"toolbar-menu-button"),$e(D,{children:"Split button"},"toolbar-split-button"),kd(O,{children:[$e(s,{className:"k-group-start",icon:"align-left",children:"Left"}),$e(s,{icon:"align-center",children:"Center"}),$e(s,{className:"k-group-end",icon:"align-right",children:"Right"})]},"toolbar-button-group")],...e});import{jsx as Ve,jsxs as Id}from"react/jsx-runtime";var Sd=({scrollingPosition:e="start",...t})=>Ve(q,{scrollable:!0,scrollButtons:"hidden",scrollingPosition:e,...t,children:[Ve(s,{children:"Button"},"toolbar-button"),Ve(W,{text:"Menu button"},"toolbar-menu-button"),Ve(D,{children:"Split button"},"toolbar-split-button"),Id(O,{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(W,{text:"Menu button"},"toolbar-menu-button"),Ve(D,{children:"Split button"},"toolbar-split-button"),Id(O,{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")],...t});import{Fragment as Rx,jsx as ze,jsxs as Ui}from"react/jsx-runtime";var Md=({fillMode:e,size:t,...o})=>Ui(Rx,{children:[ze(q,{section:!0,fillMode:e,size:t,children:[ze(s,{fillMode:e,size:t,children:"Button"},"toolbar-button"),Ui(O,{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(Ce,{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(Ce,{}),ze(W,{text:"Menu button",fillMode:e,size:t},"toolbar-menu-button"),Ui(O,{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 FH,jsx as _H,jsxs as DH}from"react/jsx-runtime";import{Fragment as ZH,jsx as qH,jsxs as YH}from"react/jsx-runtime";import{jsx as eo}from"react/jsx-runtime";var Px=q.options,wx=q.states,yd={...q.defaultOptions,variant:"default"},Kx=[{name:"default",title:"Default"},{name:"scrollable",title:"Scrollable"},{name:"overlay",title:"Overlay"},{name:"responsive",title:"Responsive"}],zx=[],na=e=>{let{variant:t,...o}={...yd,...e};switch(t){case"responsive":return eo("div",{children:eo(Md,{style:{width:"583px"},...o})});case"overlay":return eo("div",{children:eo(Sd,{style:{width:"583px"},...o,scrollingPosition:"start",scrollButtons:"hidden"})});case"scrollable":return eo("div",{children:eo(Ld,{style:{width:"583px"},...o})});default:return eo("div",{children:eo(vd,{style:{width:"583px"},...o})})}};na.options=Px;na.states=wx;na.variants=Kx;na.defaultOptions=yd;na.modifiers=zx;na.className=q.className;var Cn="autocomplete",Ed=Cn;import{Fragment as Bn,jsx as ge,jsxs as ti}from"react/jsx-runtime";var Cd="k-autocomplete",_x=[n.hover,n.focus,n.valid,n.invalid,n.required,n.disabled,n.loading,n.readonly],Dx={size:[p.undefined,p.small,p.medium,p.large],rounded:[u.undefined,u.none,u.small,u.medium,u.large,u.full],fillMode:[x.undefined,x.solid,x.flat,x.outline]},Tn={separators:!0,showClearButton:!0},Xe=e=>{let{size:t,rounded:o,fillMode:a,separators:i=Tn.separators,showClearButton:l=Tn.showClearButton,prefix:d,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:oe,adaptiveTitle:ae,adaptiveSubtitle:pe,adaptiveCustomValue:no,id:xt,autocomplete:Ot,activeDescendant:$t,"aria-label":Ba,...Ta}=e,Aa=xt?`${xt}-listbox`:void 0;return ti(Bn,{children:[ti($,{...Ta,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,Cd),children:[d&&ti(Bn,{children:[ge(be,{children:d}),i&&ge(ee,{})]}),ge(ce,{placeholder:h,value:f,role:"combobox","aria-haspopup":"listbox","aria-expanded":T?"true":"false","aria-controls":T?Aa:void 0,"aria-activedescendant":T&&$t?$t:void 0,"aria-autocomplete":Ot,"aria-invalid":v?"true":void 0,"aria-busy":I?"true":void 0,"aria-label":Ba,disabled:S,readOnly:w}),ge(j,{valid:c,invalid:v,loading:I,disabled:S}),ge(ie,{loading:I,disabled:S}),l&&ge(me,{loading:I,disabled:S,readonly:w,value:f}),m&&ti(Bn,{children:[i&&ge(ee,{}),ge(xe,{children:m})]})]}),T&&M&&ge(J,{className:"k-list-container k-autocomplete-popup",containerRole:"region",containerAriaLabel:"Autocomplete suggestions",children:M}),Y&&ge(Z,{adaptive:!0,...oe,header:ge(ve,{actionsEnd:ge(s,{icon:"check",themeColor:"primary",size:"large",fillMode:"flat","aria-label":"Apply selection"}),input:!0,inputValue:f,inputPlaceholder:h,title:ae,subtitle:pe}),children:ge("div",{className:"k-list-container",children:ge(P,{customValue:no?ge(ot,{text:`Use "${f}"`}):void 0,size:"large",children:ti(K,{"aria-label":"Options",children:[ge(C,{text:"List item"}),ge(C,{text:"List item"}),ge(C,{text:"List item"})]})})})})]})};Xe.states=_x;Xe.options=Dx;Xe.className=Cd;Xe.defaultOptions=Tn;Xe.moduleName=Cn;Xe.folderName=Ed;var Ct=Xe;import{jsx as Fx}from"react/jsx-runtime";var Bd=e=>Fx(Ct,{id:B("ac"),"aria-label":"Search",...e});import{jsx as D2,jsxs as F2}from"react/jsx-runtime";import{jsx as V2}from"react/jsx-runtime";import{Fragment as Q2,jsx as Z2}from"react/jsx-runtime";import{Fragment as r3,jsx as i3}from"react/jsx-runtime";import{jsx as m3,jsxs as c3}from"react/jsx-runtime";import{jsx as g3,jsxs as N3}from"react/jsx-runtime";import{jsx as M3,jsxs as y3}from"react/jsx-runtime";import{jsx as A3}from"react/jsx-runtime";import{jsx as Lo,jsxs as Xx}from"react/jsx-runtime";var Hx=U.states,Ux=U.defaultOptions,Gx=U.options,$x=[{name:"prefix",title:"Prefix"},{name:"suffix",title:"Suffix"},{name:"opened",title:"Opened"}],Vx=[],la=e=>{let{modifiers:t,...o}=e,a={},i=Lo(P,{style:{width:300},size:o.size,children:Xx(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(gt,{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(Bd,{value:"Value",style:{width:300},...o,...a})};la.options=Gx;la.states=Hx;la.variants=Vx;la.defaultOptions=Ux;la.modifiers=$x;la.className=Xe.className;import{jsx as lt}from"react/jsx-runtime";var Td="k-imageeditor-toolbar",Wx=[],Jx={},qx=[lt(s,{fillMode:"flat",icon:"image-add","aria-label":"Image Add"},"toolbar-button-1"),lt(Ce,{},"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(Ce,{},"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(Et,{children:lt(Xe,{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")],Ad={toolbarItems:qx},sa=e=>{let{toolbarItems:t=Ad.toolbarItems,...o}=e;return lt(q,{...o,className:r(e.className,Td),fillMode:"flat",children:t})};sa.states=Wx;sa.options=Jx;sa.className=Td;sa.defaultOptions=Ad;import{jsx as Oe}from"react/jsx-runtime";var An="k-imageeditor-sidebar",Yx=[Oe(s,{fillMode:"flat",icon:"image-resize","aria-label":"Resize"},"sidebar-button-1"),Oe(s,{fillMode:"flat",icon:"crop","aria-label":"Crop"},"sidebar-button-2"),Oe(s,{fillMode:"flat",icon:"rotate","aria-label":"Rotate"},"sidebar-button-3"),Oe("div",{className:"k-separator"},"sidebar-separator-1"),Oe(s,{fillMode:"flat",icon:"free-text","aria-label":"Text"},"sidebar-button-4"),Oe(s,{fillMode:"flat",icon:"shapes","aria-label":"Shapes"},"sidebar-button-5"),Oe("div",{className:"k-separator"},"sidebar-separator-2"),Oe(s,{fillMode:"flat",icon:"drop-half-pixelated","aria-label":"Blur"},"sidebar-button-6"),Oe(s,{fillMode:"flat",icon:"sliders-horizontal","aria-label":"Adjustments"},"sidebar-button-7"),Oe(s,{fillMode:"flat",icon:"circles-three-intersecting","aria-label":"Filters"},"sidebar-button-8"),Oe("div",{className:"k-separator"},"sidebar-separator-3"),Oe(s,{fillMode:"flat",icon:"frame-corners","aria-label":"Frame"},"sidebar-button-9"),Oe(s,{fillMode:"flat",icon:"circle-half-tilted","aria-label":"Shadow"},"sidebar-button-10")],Od={sidebarItems:Yx,scrollable:!1},Rd=e=>{let{sidebarItems:t=Od.sidebarItems,scrollable:o=Od.scrollable,scrollingPosition:a,...i}=e;return Oe("div",{...i,className:r(e.className,An,{[`${An}-scrollable`]:o,[`${An}-scrollable-${a}`]:a&&a!=="both"}),children:Oe("div",{className:"k-imageeditor-sidebar-items",role:"toolbar","aria-label":"Tools",children:t??e.children})})};var oi="loader",Gi=oi;import{Fragment as On,jsx as Pd,jsxs as $i}from"react/jsx-runtime";var Rn="k-loader",Zx={pulsing:"pulsing-2","infinite-spinner":"spinner-3","converging-spinner":"spinner-4"},Qx=[],jx={size:[p.undefined,p.small,p.medium,p.large],themeColor:[k.undefined,k.base,k.primary,k.secondary,k.tertiary]},wd={animation:"pulsing"},le=e=>{let{size:t,themeColor:o,animation:a=wd.animation,...i}=e,l=Pd("span",{className:"k-loader-segment"});return Pd("div",{...i,className:r(e.className,Rn,{[`k-loader-${Zx[a]||a}`]:a},E(Rn,{size:t,themeColor:o})),role:"status","aria-label":i["aria-label"]||"Loading",children:$i("div",{className:"k-loader-canvas",children:[a==="pulsing"&&$i(On,{children:[l,l]}),a==="infinite-spinner"&&$i(On,{children:[l,l,l]}),a==="converging-spinner"&&$i(On,{children:[l,l,l,l]})]})})};le.states=Qx;le.options=jx;le.className=Rn;le.defaultOptions=wd;le.moduleName=oi;le.folderName=Gi;var Kd=le;import{jsx as Pn,jsxs as zd}from"react/jsx-runtime";var wn="k-loader-container",eh=[],th={size:[p.undefined,p.small,p.medium,p.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,...d}=e;return zd("div",{...d,className:r(e.className,wn,E(wn,{size:t}),{[`k-loader-${i}`]:i}),role:"status","aria-live":"polite","aria-label":d["aria-label"]||"Loading",children:[Pn(ts,{className:"k-loader-container-overlay"}),zd("div",{className:r("k-loader-container-inner",{"k-loader-container-panel":l}),children:[Pn(Kd,{size:t,themeColor:o,animation:a}),Pn("div",{className:"k-loader-container-label",children:"Loading..."})]})]})};Io.states=eh;Io.options=th;Io.className=wn;Io.defaultOptions=Vi;Io.moduleName=oi;Io.folderName=Gi;import{jsx as SU}from"react/jsx-runtime";import{jsx as CU}from"react/jsx-runtime";import{jsx as OU}from"react/jsx-runtime";import{jsx as KU}from"react/jsx-runtime";import{jsx as Kn}from"react/jsx-runtime";var oh=le.options,ah=le.states,ih={...le.defaultOptions,variant:"infinite-spinner"},rh=[{name:"infinite-spinner",title:"Infinite"},{name:"pulsing",title:"Pulsing"},{name:"converging-spinner",title:"Converging"}],nh=[],da=e=>{let{variant:t,...o}=e;switch(t){case"pulsing":return Kn(le,{animation:"pulsing",...o});case"converging-spinner":return Kn(le,{animation:"converging-spinner",...o});default:return Kn(le,{animation:"infinite-spinner",...o})}};da.options=oh;da.states=ah;da.variants=rh;da.defaultOptions=ih;da.modifiers=nh;da.className=le.className;var _d="image-editor",Dd="imageeditor";import{Fragment as Fd,jsx as Bt,jsxs as ai}from"react/jsx-runtime";var zn="k-imageeditor",lh=[],sh={},dh={},te=e=>{let{toolbarItems:t,actionPane:o,sidebarItems:a,placeholder:i,contentHeight:l,exporting:d,adaptive:m,sidebarScrollable:f,sidebarScrollingPosition:h,children:b,...N}=e,c=Bt("div",{className:"k-imageeditor-canvas-container",children:i??Bt("div",{className:"k-imageeditor-canvas",children:b})}),v=o&&Bt("div",{className:"k-imageeditor-action-pane",children:o}),L=Bt(Rd,{sidebarItems:a,scrollable:f,scrollingPosition:h});return ai("div",{...N,className:r(e.className,zn,{[`${zn}-adaptive`]:m}),children:[Bt("div",{className:"k-imageeditor-header",children:Bt(sa,{toolbarItems:t})}),Bt("div",{className:"k-imageeditor-content",style:{height:l},children:m?ai(Fd,{children:[c,v,L]}):ai(Fd,{children:[L,v,c]})}),d&&ai("div",{className:"k-loader-container k-loader-top",role:"status","aria-live":"polite","aria-label":"Exporting",children:[Bt(ut,{className:"k-loader-container-overlay"}),ai("div",{className:"k-loader-container-inner k-loader-container-panel",children:[Bt(le,{animation:"pulsing",themeColor:"base",size:"medium","aria-label":"Exporting"}),Bt("div",{className:"k-loader-container-label",children:"Exporting"})]})]})]})};te.states=lh;te.options=sh;te.className=zn;te.defaultOptions=dh;te.moduleName=_d;te.folderName=Dd;import{Fragment as Xi,jsx as to,jsxs as ii}from"react/jsx-runtime";var _n="k-upload-dropzone",ph=[n.hover],Wi=e=>{let{hover:t,status:o,disabled:a,hasFiles:i,filesId:l,buttonText:d="Select files...",...m}=e,f;switch(o){case"uploading":f=ii(Xi,{children:[to(g,{icon:"upload"}),"Uploading..."]});break;case"done":f=ii(Xi,{children:[to(g,{icon:"check"}),"Done"]});break;case"failed":f=ii(Xi,{children:[to(g,{icon:"exclamation-circle"}),"Done"]});break;default:f=to(Xi,{});break}return ii("div",{...m,className:r(e.className,_n,"k-dropzone",y(_n,{hover:t})),children:[ii("div",{className:"k-upload-button-wrap",children:[to(s,{className:"k-upload-button","aria-disabled":a?"true":"false",...i&&l?{"aria-controls":l}:{},children:d}),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=ph;Wi.className=_n;var Dn="upload",Hd=Dn;import{jsx as Ji,jsxs as Gd}from"react/jsx-runtime";var Fn="k-upload",mh=[n.hover,n.disabled],ch={},$d={actionsLayout:"end"},Ud="upload-files-list",Ne=e=>{let{async:t,empty:o,actions:a,actionsLayout:i=$d.actionsLayout,hover:l,status:d,disabled:m,buttonText:f,...h}=e,b=!!e.children;return Gd("div",{...h,className:r(e.className,Fn,y(Fn,{disabled:m}),{"k-upload-async":t,"k-upload-empty":o}),children:[Ji(Wi,{status:d,hover:l,disabled:m,hasFiles:b,filesId:Ud,buttonText:f}),b&&Ji("ul",{className:"k-upload-files",role:"list",id:Ud,children:e.children}),a&&b&&Gd($l,{alignment:i,orientation:"horizontal",children:[Ji(s,{className:"k-clear-selected",children:"Clear"}),Ji(s,{themeColor:"primary",className:"k-upload-selected",children:"Upload"})]})]})};Ne.states=mh;Ne.options=ch;Ne.className=Fn;Ne.defaultOptions=$d;Ne.moduleName=Dn;Ne.folderName=Hd;var ri="progressbar",qi=ri;import{jsx as Un,jsxs as Hn}from"react/jsx-runtime";var st="k-progressbar",uh=[n.disabled,n.indeterminate],fh={orientation:["horizontal","vertical"]},So={indeterminate:!1,label:!0,labelPosition:"start",orientation:"horizontal",reverse:!1,value:"0"},Re=e=>{let{disabled:t,height:o,indeterminate:a=So.indeterminate,label:i=So.label,labelPosition:l=So.labelPosition,orientation:d=So.orientation,reverse:m=So.reverse,value:f=So.value,width:h,style:b,ariaLabel:N,...c}=e;return Hn("div",{...c,className:r(e.className,st,y(st,{disabled:t}),{[`${st}-${d}`]:d,[`${st}-indeterminate`]:a,[`${st}-reverse`]:m}),style:{...b,"--kendo-progressbar-value":f,[d==="horizontal"?"height":"width"]:d==="horizontal"?o:h},role:"progressbar","aria-label":N||"progress","aria-valuenow":a?void 0:Number(f),"aria-valuemin":0,"aria-valuemax":100,children:[Un("span",{className:r("k-progress-status-wrap",{[`k-progress-${l}`]:l&&!a}),children:i&&Hn("span",{className:"k-progress-status",children:[f,"%"]})}),!a&&Un("div",{className:"k-progressbar-value k-selected",children:Un("span",{className:r("k-progress-status-wrap",{[`k-progress-${l}`]:l}),children:i&&Hn("span",{className:"k-progress-status",children:[e.value,"%"]})})})]})};Re.states=uh;Re.options=fh;Re.className=st;Re.defaultOptions=So;Re.moduleName=ri;Re.folderName=qi;var Vd=Re;import{jsx as Gn}from"react/jsx-runtime";var Xd="k-chunk-progressbar",bh=(e,t)=>t<=e-1,xh=[n.disabled,n.indeterminate],hh={},Yi={chunkCount:5,orientation:"horizontal",progress:0},pa=e=>{let{disabled:t,chunkCount:o=Yi.chunkCount,indeterminate:a,orientation:i=Yi.orientation,progress:l=Yi.progress,reverse:d,ariaLabel:m,...f}=e;return Gn("div",{...f,className:r(e.className,st,Xd,y(st,{disabled:t}),{[`${st}-${i}`]:i,[`${st}-indeterminate`]:a,[`${st}-reverse`]:d}),role:"progressbar","aria-label":m||"progress","aria-valuenow":a?void 0:l,"aria-valuemin":0,"aria-valuemax":o,children:Gn("ul",{className:"k-progressbar-chunks k-reset",children:[...Array(o)].map((h,b)=>Gn("li",{className:r("k-progressbar-chunk",{"k-first":b===0,"k-last":b===[...Array(o)].length-1,"k-selected":bh(l,b)})},b))})})};pa.states=xh;pa.options=hh;pa.className=Xd;pa.defaultOptions=Yi;pa.moduleName=ri;pa.folderName=qi;import{jsx as gh}from"react/jsx-runtime";var ni=e=>gh(Vd,{...e});import{jsx as P5}from"react/jsx-runtime";import{jsx as oo}from"react/jsx-runtime";var Nh=Re.options,vh=Re.states,Wd={...Re.defaultOptions,variant:"start"},kh=[{name:"start",title:"Label start"},{name:"center",title:"Label center"},{name:"end",title:"Label end"},{name:"empty",title:"No label"}],Lh=[],ma=e=>{let{variant:t,modifiers:o,...a}={...Wd,...e},i={},l={style:{width:"324px"}};switch(Object.keys(o||{}).forEach(d=>{switch(d){case"reverse":i.reverse=!!o?.[d];break;case"vertical":i.orientation=o?.[d]?"vertical":void 0,l.style=o?.[d]?void 0:{width:"324px"};break}}),t){case"end":return oo("div",{...l,children:oo(ni,{...a,...i,labelPosition:"end",value:"50"})});case"center":return oo("div",{...l,children:oo(ni,{...a,...i,labelPosition:"center",value:"50"})});case"empty":return oo("div",{...l,children:oo(ni,{...a,...i,label:!1,value:"50"})});default:return oo("div",{...l,children:oo(ni,{...a,...i,labelPosition:"start",value:"50"})})}};ma.options=Nh;ma.states=vh;ma.variants=kh;ma.defaultOptions=Wd;ma.modifiers=Lh;ma.className=Re.className;import{jsx as $n,jsxs as Sh}from"react/jsx-runtime";var Ih="k-file-info",Vn=e=>{let{name:t,size:o,validationMsg:a,...i}=e;return Sh("div",{...i,className:r(e.className,Ih),children:[t&&$n("span",{className:"k-file-name",children:t}),o&&$n("span",{className:"k-file-size",children:o}),a&&$n("span",{className:"k-file-validation-message","aria-live":"polite",children:a})]})};import{Fragment as yh,jsx as Ft,jsxs as Zi}from"react/jsx-runtime";var Mh="k-file",_e=e=>{let{status:t,progress:o,name:a,icon:i,size:l,state:d,validationMsg:m,...f}=e;return Ft("li",{...f,className:r(e.className,Mh,{[`k-file-${t}`]:t}),role:"listitem",tabIndex:0,children:Zi("div",{className:"k-file-single",children:[Ft(Re,{className:r({"k-hidden":t!=="progress"}),value:o,label:!1}),Zi("span",{className:"k-file-icon-wrapper",children:[Ft(g,{className:"k-file-icon",icon:i,size:"xxlarge"}),d&&Ft("span",{className:"k-file-state",children:d})]}),Ft(Vn,{name:a,size:l,validationMsg:m}),Ft("div",{className:"k-upload-actions",children:t==="progress"?Zi(yh,{children:[Zi("span",{className:"k-upload-pct",children:[o,"%"]}),Ft(s,{icon:"pause",fillMode:"flat",size:"xsmall",className:"k-upload-action","aria-label":"Pause upload",tabIndex:-1}),Ft(s,{icon:"cancel",fillMode:"flat",size:"xsmall",className:"k-upload-action","aria-label":"Cancel upload",tabIndex:-1})]}):Ft(s,{icon:"x",fillMode:"flat",size:"xsmall",className:"k-upload-action","aria-label":"Remove file",tabIndex:-1})})]})})};import{Fragment as p6,jsx as s6,jsxs as d6}from"react/jsx-runtime";import{Fragment as Eh,jsx as Xn,jsxs as Ch}from"react/jsx-runtime";var li=e=>Xn(Ne,{async:!0,children:Ch(Eh,{children:[Xn(_e,{name:"Image_With_Very_Very_Very_Very_Very_Long_Name1.png",icon:"file-image",size:"51.23 KB"}),Xn(_e,{name:"Image2.jpg",icon:"file-image",size:"106.43 KB"})]}),...e});import{Fragment as v6,jsx as g6,jsxs as N6}from"react/jsx-runtime";import{jsx as Bh}from"react/jsx-runtime";var Wn=e=>Bh(Ne,{async:!0,empty:!0,...e});import{Fragment as C6,jsx as E6,jsxs as B6}from"react/jsx-runtime";import{Fragment as P6,jsx as R6,jsxs as w6}from"react/jsx-runtime";import{jsx as Ht,jsxs as Qi}from"react/jsx-runtime";var Th=Ne.options,Ah=Ne.states,Jd={...Ne.defaultOptions,variant:"empty"},Oh=[{name:"empty",title:"Empty"},{name:"upload",title:"Upload"},{name:"uploading",title:"Uploading"},{name:"success",title:"Success"},{name:"failed",title:"Failed"}],Rh=[],ca=e=>{let{variant:t,...o}={...Jd,...e};switch(t){case"success":return Qi(li,{status:"done",style:{width:"586px"},...o,children:[Ht(_e,{status:"success",validationMsg:"File(s) uploaded successfully.",name:"Image1.png",icon:"file-image"}),Ht(_e,{status:"success",validationMsg:"File(s) uploaded successfully.",name:"Image2.png",icon:"file-image"})]});case"failed":return Qi(li,{status:"failed",style:{width:"586px"},...o,children:[Ht(_e,{status:"error",validationMsg:"File type not allowed.",name:"Movie1.mkv",icon:"file-image"}),Ht(_e,{status:"error",validationMsg:"File type not allowed.",name:"Video2.mkv",icon:"file-image"})]});case"uploading":return Qi(li,{status:"uploading",style:{width:"586px"},...o,children:[Ht(_e,{progress:"50",status:"progress",name:"Document1.txt",icon:"file-pdf",size:"328.92 KB"}),Ht(_e,{progress:"70",status:"progress",name:"Document2.txt",icon:"file-pdf",size:"225.68 KB"})]});case"upload":return Qi(li,{actions:!0,status:"upload",style:{width:"586px"},...o,children:[Ht(_e,{name:"Image1.png",icon:"file-image",size:"51.23 KB"}),Ht(_e,{name:"Image2.jpg",icon:"file-image",size:"106.43 KB"})]});default:return Ht(Wn,{async:!0,status:"upload",style:{width:"586px"},...o})}};ca.options=Th;ca.states=Ah;ca.variants=Oh;ca.defaultOptions=Jd;ca.modifiers=Rh;ca.className=Ne.className;import{Fragment as s4,jsx as n4,jsxs as l4}from"react/jsx-runtime";import{jsx as ua,jsxs as qd}from"react/jsx-runtime";var Yd="k-imageeditor-pane",Ph=[],wh={},Kh={},fe=e=>{let{title:t,actions:o,adaptive:a,children:i,...l}=e;return qd("div",{...l,className:r(e.className,Yd),children:[qd("div",{className:"k-imageeditor-pane-header",children:[a&&ua(s,{fillMode:"flat",icon:"x","aria-label":"Close",title:"Close"}),ua("div",{className:"k-imageeditor-pane-title",children:t}),a?ua(s,{fillMode:"flat",icon:"check","aria-label":"Confirm",title:"Confirm"}):ua(s,{fillMode:"flat",icon:"x","aria-label":"Close",title:"Close"})]}),ua("div",{className:"k-imageeditor-pane-content",children:i}),!a&&o&&ua(He,{alignment:"end",className:"k-imageeditor-pane-footer",children:o})]})};fe.states=Ph;fe.options=wh;fe.className=Yd;fe.moduleName=null;fe.folderName=null;fe.defaultOptions=Kh;import{jsx as Fh}from"react/jsx-runtime";var Jn="k-imageeditor-option-preview",zh=[n.hover,n.focus,n.selected],_h={},Dh={},Tt=e=>{let{label:t,hover:o,focus:a,selected:i,children:l,...d}=e;return Fh("div",{...d,className:r(e.className,Jn,y(Jn,{hover:o,focus:a,selected:i})),role:"button","aria-pressed":i?"true":"false",children:l??t})};Tt.states=zh;Tt.options=_h;Tt.className=Jn;Tt.moduleName=null;Tt.folderName=null;Tt.defaultOptions=Dh;import{jsx as Zd}from"react/jsx-runtime";var ji="k-imageeditor-option-list",Qd={scrollable:!1},fa=e=>{let{scrollable:t=Qd.scrollable,scrollingPosition:o,children:a,...i}=e;return Zd("div",{...i,className:r(e.className,ji,{[`${ji}-scrollable`]:t,[`${ji}-scrollable-${o}`]:o&&o!=="both"}),children:Zd("div",{className:"k-imageeditor-option-list-items",children:a})})};fa.className=ji;fa.moduleName=null;fa.folderName=null;fa.defaultOptions=Qd;import{Fragment as Uh,jsx as jd,jsxs as Gh}from"react/jsx-runtime";var Hh={},si=e=>{let{label:t,style:o,children:a}=e;return Gh(Uh,{children:[jd("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&&jd("span",{className:"k-imageeditor-preview-thumbnail-label",children:t})]})};si.moduleName=null;si.folderName=null;si.defaultOptions=Hh;import{Fragment as ep,jsx as Ut,jsxs as tp}from"react/jsx-runtime";var op={variant:"crop"},ba=e=>{let{variant:t=op.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 tp(ep,{children:[o&&Ut("div",{className:"k-imageeditor-crop-grid"}),a&&tp(ep,{children:[Ut("span",{className:`${i} k-resize-nw`}),Ut("span",{className:`${i} k-resize-ne`}),Ut("span",{className:`${i} k-resize-sw`}),Ut("span",{className:`${i} k-resize-se`})]}),Ut("span",{className:`${l} k-resize-n`}),Ut("span",{className:`${l} k-resize-s`}),Ut("span",{className:`${l} k-resize-w`}),Ut("span",{className:`${l} k-resize-e`})]})};ba.moduleName=null;ba.folderName=null;ba.defaultOptions=op;import{jsx as ap}from"react/jsx-runtime";var $h="k-rotate-handle",qn=e=>ap("span",{...e,className:r(e.className,$h),children:ap(g,{icon:"rotate"})});qn.moduleName=null;qn.folderName=null;import{jsx as w4}from"react/jsx-runtime";var ip="form",rp="forms";import{Fragment as np,jsx as er,jsxs as Jh}from"react/jsx-runtime";var tr="k-form",Xh=[],Wh={size:[p.undefined,p.small,p.medium,p.large]},Yn={layout:"basic",tag:"form"},G=e=>{let{size:t,orientation:o,layout:a=Yn.layout,formButtons:i,cols:l,gutters:d,tag:m=Yn.tag,children:f,style:h}=e,b=m,N=r(e.className,tr,E(tr,{size:t}),{[`${tr}-${o}`]:o}),c=Jh(np,{children:[a==="grid"?er("div",{className:r("k-form-layout","k-d-grid",{[`k-grid-cols-${l}`]:l}),style:{...typeof d=="string"&&{gap:d},...typeof d=="object"&&d.rows&&{rowGap:d.rows},...typeof d=="object"&&d.cols&&{columnGap:d.cols},...h},children:f}):er(np,{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=Xh;G.options=Wh;G.className=tr;G.defaultOptions=Yn;G.moduleName=ip;G.folderName=rp;var lp="label",sp="label";import{jsx as dp,jsxs as Qh}from"react/jsx-runtime";var Zn="k-label",qh=[n.disabled],Yh={},Zh={},ao=e=>{let{disabled:t,optional:o,info:a,text:i,children:l,...d}=e;return Qh("label",{...d,className:r(e.className,Zn,y(Zn,{disabled:t})),children:[i||l,o&&dp("span",{className:"k-label-optional",children:"(Optional)"}),a&&dp("span",{className:"k-field-info",children:a})]})};ao.states=qh;ao.options=Yh;ao.className=Zn;ao.defaultOptions=Zh;ao.moduleName=lp;ao.folderName=sp;import{jsx as og}from"react/jsx-runtime";var pp="k-form-hint",jh=[],eg={},tg={},dt=e=>{let{text:t,children:o,...a}=e;return og("div",{...a,className:r(e.className,pp),children:t||o})};dt.states=jh;dt.options=eg;dt.className=pp;dt.defaultOptions=tg;import{jsx as ng}from"react/jsx-runtime";var mp="k-form-error",ag=[],ig={},rg={},pt=e=>{let{text:t,children:o,...a}=e;return ng("div",{...a,className:r(e.className,mp),children:t||o})};pt.states=ag;pt.options=ig;pt.className=mp;pt.defaultOptions=rg;import{jsx as or,jsxs as cp}from"react/jsx-runtime";var Qn="k-form-field",lg=[n.disabled],X=e=>{let{editorId:t,label:o,orientation:a,optional:i,editor:l,hint:d,error:m,info:f,disabled:h,dir:b,colSpan:N,...c}=e;return cp("div",{...c,className:r(Qn,e.className,y(Qn,{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"}),cp("div",{className:"k-form-field-wrap",children:[l,d&&or(dt,{id:t?`${t}-hint`:void 0,children:d}),m&&or(pt,{id:t?`${t}-error`:void 0,children:m})]})]})};X.states=lg;X.className=Qn;import{Fragment as sg,jsx as jn,jsxs as dg}from"react/jsx-runtime";var up="k-form-fieldset",Me=e=>{let{legend:t,layout:o,cols:a,gutters:i,colSpan:l}=e;return dg("fieldset",{className:r(up,{[`k-col-span-${l}`]:l}),children:[t&&jn("legend",{className:"k-form-legend",children:t}),o==="grid"?jn("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}):jn(sg,{children:e.children})]})};Me.className=up;var Mo="radio",xa=Mo;import{jsx as fp}from"react/jsx-runtime";var ar="k-radio",pg=[n.hover,n.focus,n.valid,n.invalid,n.required,n.disabled,n.checked],mg={size:[p.undefined,p.small,p.medium,p.large]},cg={},We=e=>{let{id:t,checked:o,hover:a,focus:i,disabled:l,invalid:d,valid:m,required:f,size:h,...b}=e;return fp("span",{className:"k-radio-wrap",children:fp("input",{...b,id:t,type:"radio",checked:o,required:f,disabled:l||void 0,"aria-invalid":d?"true":void 0,className:r(e.className,ar,E(ar,{size:h}),y(ar,{hover:a,focus:i,disabled:l,invalid:d,valid:m,checked:o}))})})};We.states=pg;We.options=mg;We.className=ar;We.defaultOptions=cg;We.moduleName=Mo;We.folderName=xa;var mt=We;import{jsx as bg}from"react/jsx-runtime";var bp="k-radio-list",ug=[],fg={},xp={layout:"vertical"},se=e=>{let{layout:t=xp.layout,...o}=e;return bg("ul",{...o,className:r(e.className,bp,{[`k-list-${t}`]:t}),role:"radiogroup",children:e.children})};se.states=ug;se.options=fg;se.className=bp;se.defaultOptions=xp;se.moduleName=Mo;se.folderName=xa;import{jsx as Ng}from"react/jsx-runtime";var hp="k-radio-list-item",xg=[],hg={},gg={},de=e=>{let{...t}=e;return Ng("li",{...t,className:r(e.className,hp),role:"none",children:e.children})};de.states=xg;de.options=hg;de.className=hp;de.defaultOptions=gg;de.moduleName=Mo;de.folderName=xa;import{jsx as I9}from"react/jsx-runtime";import{Fragment as vg,jsx as gp,jsxs as kg}from"react/jsx-runtime";var Je=({children:e,id:t,...o})=>kg(vg,{children:[gp(mt,{...o,id:t}),gp("label",{className:"k-radio-label",htmlFor:t,children:e})]});import{Fragment as A9,jsx as T9,jsxs as O9}from"react/jsx-runtime";import{Fragment as _9,jsx as K9,jsxs as z9}from"react/jsx-runtime";import{Fragment as G9,jsx as U9,jsxs as $9}from"react/jsx-runtime";import{Fragment as q9,jsx as J9,jsxs as Y9}from"react/jsx-runtime";import{Fragment as a7,jsx as o7,jsxs as i7}from"react/jsx-runtime";import{jsx as s7}from"react/jsx-runtime";import{jsx as Cg}from"react/jsx-runtime";var Ig=mt.options,Sg=mt.states,Mg=mt.defaultOptions,yg=[],Eg=[],ha=e=>Cg(Je,{id:B("radio"),name:"value",...e,children:"Label"});ha.options=Ig;ha.states=Sg;ha.variants=yg;ha.defaultOptions=Mg;ha.modifiers=Eg;ha.className=mt.className;import{jsx as ct,jsxs as Np}from"react/jsx-runtime";var Bg=se.options,Tg=se.states,Ag={...se.defaultOptions,variant:"vertical"},Og=[{name:"vertical",title:"Vertical"},{name:"horizontal",title:"Horizontal"}],Rg=[],ga=e=>{let{variant:t,...o}=e;return t==="horizontal"?Np(se,{layout:"horizontal",...o,children:[ct(de,{children:ct(Je,{id:B("rb"),name:"value",defaultChecked:!0,children:"Label"})}),ct(de,{children:ct(Je,{id:B("rb"),name:"value",children:"Label"})}),ct(de,{children:ct(Je,{id:B("rb"),name:"value",children:"Label"})})]}):Np(se,{...o,children:[ct(de,{children:ct(Je,{id:B("rb"),name:"value",defaultChecked:!0,children:"Label"})}),ct(de,{children:ct(Je,{id:B("rb"),name:"value",children:"Label"})}),ct(de,{children:ct(Je,{id:B("rb"),name:"value",children:"Label"})})]})};ga.options=Bg;ga.states=Tg;ga.variants=Og;ga.defaultOptions=Ag;ga.modifiers=Rg;ga.className=se.className;import{Fragment as $7,jsx as G7,jsxs as V7}from"react/jsx-runtime";import{Fragment as eG,jsx as j7,jsxs as tG}from"react/jsx-runtime";import{Fragment as sG,jsx as lG,jsxs as dG}from"react/jsx-runtime";var vp="date-input",kp="dateinput";import{jsx as di,jsxs as zg}from"react/jsx-runtime";var Lp="k-dateinput",Pg=[n.hover,n.focus,n.valid,n.invalid,n.required,n.disabled,n.loading,n.readonly],wg={size:[p.undefined,p.small,p.medium,p.large],rounded:[u.undefined,u.none,u.small,u.medium,u.large,u.full],fillMode:[x.undefined,x.solid,x.flat,x.outline]},Kg={},qe=e=>{let{size:t,rounded:o,fillMode:a,value:i,placeholder:l,hover:d,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 zg($,{...w,size:t,rounded:o,fillMode:a,hover:d,focus:m,valid:f,invalid:h,required:b,loading:N,disabled:c,readonly:v,className:r(e.className,Lp),children:[di(ce,{id:S,placeholder:l,value:i,disabled:c,"aria-label":M,"aria-describedby":T,"aria-invalid":h?"true":void 0}),di(j,{valid:f,invalid:h,loading:N,disabled:c}),di(ie,{loading:N,disabled:c}),L&&di(me,{loading:N,disabled:c,readonly:v,value:i}),I&&di(It,{className:"k-input-spinner",size:t,fillMode:a,disabled:c})]})};qe.states=Pg;qe.options=wg;qe.className=Lp;qe.defaultOptions=Kg;qe.moduleName=vp;qe.folderName=kp;var el=qe;import{jsx as _g}from"react/jsx-runtime";var Ip=e=>_g(el,{...e});import{jsx as IG}from"react/jsx-runtime";import{jsx as $g}from"react/jsx-runtime";var Dg=qe.options,Fg=qe.states,Hg=qe.defaultOptions,Ug=[{name:"spin-button",title:"`Spin` Button"}],Gg=[],Na=e=>{let{modifiers:t,...o}=e,a={};return Object.keys(t||{}).forEach(i=>{i==="spin-button"&&(a.showSpinButton=!!t?.[i])}),$g(Ip,{value:"2/04/2021",style:{width:"300px"},...o,...a})};Na.options=Dg;Na.states=Fg;Na.variants=Gg;Na.defaultOptions=Hg;Na.modifiers=Ug;Na.className=qe.className;var Sp="masked-textbox",Mp="maskedtextbox";import{Fragment as yp,jsx as io,jsxs as tl}from"react/jsx-runtime";var Ep="k-maskedtextbox",Vg=[n.hover,n.focus,n.valid,n.invalid,n.required,n.disabled,n.loading,n.readonly],Xg={size:[p.undefined,p.small,p.medium,p.large],rounded:[u.undefined,u.none,u.small,u.medium,u.large,u.full],fillMode:[x.undefined,x.solid,x.flat,x.outline]},ol={showClearButton:!0,separators:!0},Ye=e=>{let{size:t,rounded:o,fillMode:a,separators:i=ol.separators,showClearButton:l=ol.showClearButton,prefix:d,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,...oe}=e;return tl($,{...oe,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,Ep),children:[d&&tl(yp,{children:[io(be,{children:d}),i&&io(ee,{})]}),io(ce,{id:T,placeholder:h,value:f,disabled:S,"aria-label":w,"aria-describedby":Y,"aria-invalid":v?"true":void 0}),io(j,{valid:c,invalid:v,loading:I,disabled:S}),io(ie,{loading:I,disabled:S}),l&&io(me,{loading:I,disabled:S,readonly:M,value:f}),m&&tl(yp,{children:[i&&io(ee,{}),io(xe,{children:m})]})]})};Ye.states=Vg;Ye.options=Xg;Ye.className=Ep;Ye.defaultOptions=ol;Ye.moduleName=Sp;Ye.folderName=Mp;var va=Ye;import{jsx as Wg}from"react/jsx-runtime";var Cp=e=>Wg(va,{...e});import{Fragment as JG,jsx as WG}from"react/jsx-runtime";import{Fragment as e8,jsx as jG}from"react/jsx-runtime";import{jsx as i8}from"react/jsx-runtime";import{jsx as s8}from"react/jsx-runtime";import{jsx as al}from"react/jsx-runtime";var Jg=Ye.states,qg=Ye.defaultOptions,Yg=Ye.options,Zg=[{name:"prefix",title:"Prefix"},{name:"suffix",title:"Suffix"},{name:"clear-button",title:"`Clear` Button"}],Qg=[],ka=e=>{let{modifiers:t,...o}=e,a={};return Object.keys(t||{}).forEach(i=>{switch(i){case"prefix":a.prefix=t?.[i]?al(V,{size:o.size,value:"Choose",fillMode:"flat"}):void 0;break;case"suffix":a.suffix=t?.[i]?al(g,{icon:"lock"}):void 0;break;case"clear-button":a.showClearButton=t?.[i];break;default:break}}),al(Cp,{value:"Value",style:{width:300},...o,...a})};ka.options=Yg;ka.states=Jg;ka.variants=Qg;ka.defaultOptions=qg;ka.modifiers=Zg;ka.className=Ye.className;var il="switch",Bp=il;import{jsx as ir,jsxs as Tp}from"react/jsx-runtime";var ro="k-switch",jg=[n.hover,n.focus,n.disabled,n.readonly,n.checked],eN={size:[p.undefined,p.small,p.medium,p.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]},tN={},De=e=>{let{checked:t,onLabel:o,offLabel:a,size:i,trackRounded:l,thumbRounded:d,hover:m,focus:f,disabled:h,readonly:b,...N}=e;return Tp("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:[Tp("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:d}))})})]})};De.states=jg;De.options=eN;De.className=ro;De.defaultOptions=tN;De.moduleName=il;De.folderName=Bp;import{jsx as O8}from"react/jsx-runtime";import{jsx as K8}from"react/jsx-runtime";import{jsx as F8}from"react/jsx-runtime";import{jsx as $8}from"react/jsx-runtime";import{jsx as Ap}from"react/jsx-runtime";var oN=De.options,aN=De.states,iN={...De.defaultOptions,variant:"on"},rN=[{name:"on",title:"On"},{name:"off",title:"Off"}],nN=[],La=e=>{let{variant:t,...o}=e;return t==="off"?Ap(De,{checked:!1,onLabel:"On",offLabel:"Off",...o}):Ap(De,{checked:!0,onLabel:"On",offLabel:"Off",...o})};La.options=oN;La.states=aN;La.variants=rN;La.defaultOptions=iN;La.modifiers=nN;La.className=De.className;var nl="textarea",Op=nl;import{Fragment as Rp,jsx as pi,jsxs as ll}from"react/jsx-runtime";var Pp="k-textarea",lN=[n.hover,n.focus,n.valid,n.invalid,n.required,n.disabled],sN={size:[p.undefined,p.small,p.medium,p.large],rounded:[u.undefined,u.none,u.small,u.medium,u.large,u.full],fillMode:[x.undefined,x.solid,x.flat,x.outline]},Ia={flow:"vertical",affixesOrientation:"horizontal",resize:"both",prefixSeparator:!0,suffixSeparator:!0},Fe=e=>{let{size:t,rounded:o,fillMode:a,prefixSeparator:i=Ia.prefixSeparator,suffixSeparator:l=Ia.prefixSeparator,affixesOrientation:d=Ia.affixesOrientation,flow:m=Ia.flow,resize:f=Ia.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":oe,"aria-describedby":ae,...pe}=e;return ll($,{...pe,size:t,rounded:o,fillMode:a,hover:L,focus:I,valid:S,invalid:M,required:T,disabled:w,className:r(e.className,Pp,{"!k-flex-col":m==="vertical","!k-flex-row":m==="horizontal"}),children:[h&&ll(Rp,{children:[pi(be,{className:r({"!k-align-items-start":m===d}),direction:d,children:h}),i&&pi(ee,{direction:m==="horizontal"?"vertical":"horizontal"})]}),pi(Da,{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":oe,"aria-describedby":ae,"aria-invalid":M?"true":void 0}),b&&ll(Rp,{children:[l&&pi(ee,{direction:m==="horizontal"?"vertical":"horizontal"}),pi(xe,{className:r({"!k-align-items-start":m===d}),direction:d,children:b})]})]})};Fe.states=lN;Fe.options=sN;Fe.className=Pp;Fe.defaultOptions=Ia;Fe.moduleName=nl;Fe.folderName=Op;import{jsx as m$}from"react/jsx-runtime";import{Fragment as h$,jsx as x$}from"react/jsx-runtime";import{Fragment as I$,jsx as L$}from"react/jsx-runtime";import{jsx as E$}from"react/jsx-runtime";import{jsx as rr}from"react/jsx-runtime";var dN=Fe.options,pN=Fe.states,wp={...Fe.defaultOptions,variant:"vertical"},mN=[{name:"vertical",title:"Flow vertical"},{name:"horizontal",title:"Flow horizontal"}],cN=[{name:"prefix",title:"Prefix"},{name:"suffix",title:"Suffix"}],Sa=e=>{let{variant:t,modifiers:o,...a}={...wp,...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(Fe,{flow:"horizontal",placeholder:"Enter text...",style:{width:300},...a,...i}):rr(Fe,{flow:"vertical",placeholder:"Enter text...",style:{width:300},...a,...i})};Sa.options=dN;Sa.states=pN;Sa.variants=mN;Sa.defaultOptions=wp;Sa.modifiers=cN;Sa.className=Fe.className;import{Fragment as Z$,jsx as Y$,jsxs as Q$}from"react/jsx-runtime";import{Fragment as gN,jsx as Pe,jsxs as Ma}from"react/jsx-runtime";var uN=G.options,fN=G.states,bN={...G.defaultOptions,variant:"vertical"},xN=[{name:"horizontal",title:"Horizontal"},{name:"vertical",title:"Vertical"}],hN=[],ya=e=>{let{variant:t,size:o,...a}=e,i=Ma(Me,{legend:"Form Legend",children:[Pe(X,{label:"Label",editor:Pe(U,{size:o})}),Pe(X,{label:"Label",hint:"Hint text",editor:Pe(V,{value:"Dropdown List",size:o})}),Pe(X,{label:"City",editor:Ma("ul",{className:"k-radio-list k-list-horizontal",children:[Ma("li",{className:"k-radio-list-item",children:[Pe(We,{checked:!0,size:o}),Pe("label",{className:"k-radio-label",children:"Label"})]}),Ma("li",{className:"k-radio-list-item",children:[Pe(We,{size:o}),Pe("label",{className:"k-radio-label",children:"Label"})]}),Ma("li",{className:"k-radio-list-item",children:[Pe(We,{size:o}),Pe("label",{className:"k-radio-label",children:"Label"})]})]})})]}),l=Ma(gN,{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})};ya.options=uN;ya.states=fN;ya.variants=xN;ya.defaultOptions=bN;ya.modifiers=hN;ya.className=G.className;import{jsx as Kp,jsxs as IN}from"react/jsx-runtime";var NN=dt.options,vN=dt.states,zp={...dt.defaultOptions},kN=[],LN=[{name:"showHint",title:"Show Hint"}],Ea=e=>{let{modifiers:t,...o}={...zp,...e},a=t?.showHint??!0;return IN("div",{style:{display:"flex",flexDirection:"column",gap:"4px"},children:[Kp(U,{placeholder:"Component",style:{width:"200px"}}),a&&Kp(dt,{...o,children:"Hint text"})]})};Ea.options=NN;Ea.states=vN;Ea.variants=kN;Ea.defaultOptions=zp;Ea.modifiers=LN;Ea.className=dt.className;import{jsx as _p,jsxs as CN}from"react/jsx-runtime";var SN=pt.options,MN=pt.states,Dp={...pt.defaultOptions},yN=[],EN=[{name:"showError",title:"Show Error"}],Ca=e=>{let{modifiers:t,...o}={...Dp,...e},a=t?.showError??!0;return CN("div",{style:{display:"flex",flexDirection:"column",gap:"4px"},children:[_p(U,{placeholder:"Component",invalid:a,style:{width:"200px"}}),a&&_p(pt,{...o,children:"Error text"})]})};Ca.options=SN;Ca.states=MN;Ca.variants=yN;Ca.defaultOptions=Dp;Ca.modifiers=EN;Ca.className=pt.className;import{Fragment as UV,jsx as HV,jsxs as GV}from"react/jsx-runtime";import{Fragment as jV,jsx as QV,jsxs as eX}from"react/jsx-runtime";import{Fragment as mX,jsx as pX,jsxs as cX}from"react/jsx-runtime";import{jsx as vX}from"react/jsx-runtime";import{Fragment as PX,jsx as RX,jsxs as wX}from"react/jsx-runtime";var dl="segmented-control",Fp=dl,Hp="segmented-control-button",Up="segmented-control";import{jsx as AN,jsxs as ON}from"react/jsx-runtime";var nr="k-segmented-control",BN=[],TN={size:[p.undefined,p.small,p.medium,p.large],rounded:[u.undefined,u.none,u.small,u.medium,u.large,u.full]},Gt=e=>{let{size:t,rounded:o,stretched:a,children:i,thumbStyles:l,...d}=e;return ON("div",{...d,className:r(e.className,nr,E(nr,{size:t,rounded:o}),{[`${nr}-stretched`]:a}),role:"group",children:[AN("div",{className:"k-segmented-control-thumb","aria-hidden":"true",style:l}),i]})};Gt.states=BN;Gt.options=TN;Gt.className=nr;Gt.moduleName=dl;Gt.folderName=Fp;import{jsx as pl,jsxs as KN}from"react/jsx-runtime";var ml="k-segmented-control-button",RN=[n.selected,n.hover,n.focus,n.disabled],PN={},wN={},At=e=>{let{hover:t,focus:o,selected:a,disabled:i,icon:l,endIcon:d,text:m,iconClassName:f,...h}=e;return KN("button",{...h,className:r(e.className,ml,y(ml,{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&&pl(g,{className:r(f,"k-segmented-control-button-icon"),icon:l}),(m||e.children)&&pl("span",{className:"k-segmented-control-button-text",children:m||e.children}),d&&pl(g,{className:r(f,"k-segmented-control-button-icon"),icon:d})]})};At.states=RN;At.options=PN;At.className=ml;At.defaultOptions=wN;At.moduleName=Hp;At.folderName=Up;import{Fragment as ZX,jsx as YX,jsxs as QX}from"react/jsx-runtime";import{Fragment as iW,jsx as aW,jsxs as rW}from"react/jsx-runtime";import{Fragment as mW,jsx as pW,jsxs as cW}from"react/jsx-runtime";import{Fragment as gW,jsx as hW,jsxs as NW}from"react/jsx-runtime";import{Fragment as MW,jsx as SW,jsxs as yW}from"react/jsx-runtime";import{Fragment as OW,jsx as AW,jsxs as RW}from"react/jsx-runtime";import{Fragment as aJ,jsx as oJ,jsxs as iJ}from"react/jsx-runtime";import{Fragment as NJ,jsx as gJ,jsxs as vJ}from"react/jsx-runtime";import{Fragment as OJ,jsx as AJ,jsxs as RJ}from"react/jsx-runtime";import{Fragment as VJ,jsx as $J,jsxs as XJ}from"react/jsx-runtime";import{Fragment as jJ,jsx as QJ,jsxs as eq}from"react/jsx-runtime";import{Fragment as pq,jsx as sq,jsxs as dq}from"react/jsx-runtime";import{Fragment as Iq,jsx as kq,jsxs as Lq}from"react/jsx-runtime";import{Fragment as DN,jsx as z,jsxs as ui}from"react/jsx-runtime";var zN=[z(s,{fillMode:"flat",icon:"image-resize","aria-label":"Resize"},"sidebar-button-1"),z(s,{fillMode:"flat",icon:"crop","aria-label":"Crop"},"sidebar-button-2"),z(s,{fillMode:"flat",icon:"rotate","aria-label":"Rotate"},"sidebar-button-3"),z("div",{className:"k-separator"},"sidebar-separator-1"),z(s,{fillMode:"flat",icon:"free-text","aria-label":"Text"},"sidebar-button-4"),z(s,{fillMode:"flat",icon:"shapes","aria-label":"Shapes"},"sidebar-button-5"),z("div",{className:"k-separator"},"sidebar-separator-2"),z(s,{fillMode:"flat",icon:"drop-half-pixelated","aria-label":"Blur"},"sidebar-button-6"),z(s,{fillMode:"flat",icon:"sliders-horizontal","aria-label":"Adjustments"},"sidebar-button-7"),z(s,{fillMode:"flat",icon:"circles-three-intersecting","aria-label":"Filters"},"sidebar-button-8"),z("div",{className:"k-separator"},"sidebar-separator-3"),z(s,{fillMode:"flat",icon:"frame-corners","aria-label":"Frame"},"sidebar-button-9"),z(s,{fillMode:"flat",icon:"circle-half-tilted",selected:!0,"aria-label":"Shadow"},"sidebar-button-10")],_N=(e,t)=>{let o=e.replace("#",""),a=parseInt(o.substring(0,2),16),i=parseInt(o.substring(2,4),16),l=parseInt(o.substring(4,6),16);return`rgba(${a}, ${i}, ${l}, ${t/100})`},aY=({positionX:e=0,positionY:t=-4,blur:o=12,spread:a=0,color:i="#000000",opacity:l=20,...d})=>z(te,{sidebarItems:zN,actionPane:z(fe,{title:"Shadow",actions:ui(DN,{children:[z(s,{children:"Reset"}),z(s,{themeColor:"primary",children:"Apply"})]}),children:ui(G,{tag:"div",children:[z(X,{label:"Position",editor:ui(Me,{layout:"grid",cols:2,gutters:{cols:"16px"},children:[z(A,{id:"shadow-position-x",showSpinButton:!1,value:String(e),prefix:z(Ir,{children:"X"}),"aria-label":"Position X"}),z(A,{id:"shadow-position-y",showSpinButton:!1,value:String(t),prefix:z(Ir,{children:"Y"}),"aria-label":"Position Y"})]})}),ui(Me,{layout:"grid",cols:2,gutters:{cols:"16px"},children:[z(X,{label:"Blur",editorId:"shadow-blur",editor:z(A,{id:"shadow-blur",showSpinButton:!1,value:String(o),prefix:z(g,{icon:"blur"})})}),z(X,{label:"Spread",editorId:"shadow-spread",editor:z(A,{id:"shadow-spread",showSpinButton:!1,value:String(a),prefix:z(g,{icon:"brightness-contrast"})})})]}),ui(Me,{layout:"grid",cols:2,gutters:{cols:"16px"},children:[z(X,{label:"Color",editor:z(he,{id:"shadow-color",value:i,"aria-label":"Color"})}),z(X,{label:"Opacity",editorId:"shadow-opacity",editor:z(A,{id:"shadow-opacity",showSpinButton:!1,value:`${l}%`,prefix:z(g,{icon:"transparency"})})})]})]})}),children:z("canvas",{width:"494",height:"307",role:"img","aria-label":"Image being edited",style:{backgroundImage:"url('/packages/html/assets/sofia.jpg')",backgroundSize:"cover",boxShadow:`${e}px ${t}px ${o}px ${a}px ${_N(i,l)}`}}),...d});export{aY as ImageEditorShadow};
|
|
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:b,indeterminate:x,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":b,"k-indeterminate":x&&!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 hs(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"},h={undefined:void 0,solid:"solid",tint:"tint",flat:"flat",outline:"outline",clear:"clear",link:"link"},Nt={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 Wp,jsx as Ns}from"react/jsx-runtime";var mr="k-font-icon",$p=[],Vp={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]},Xp={},Ra=e=>{let{size:t,themeColor:o,icon:a,rotate:i,flip:s,...l}=e;return a?Ns("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"}):Ns(Wp,{})};Ra.states=$p;Ra.options=Vp;Ra.className=mr;Ra.defaultOptions=Xp;var gs=Ra;import{Fragment as Yp,jsx as bi}from"react/jsx-runtime";var cr="k-svg-icon",Jp=[],qp={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:[Nt.outline,Nt.solid,Nt.duotone]},ur={viewBox:"0 0 24 24",variant:Nt.outline},Pa=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(Yp,{});if(m==="none")return bi("span",{...c,className:r(e.className,cr,C("k-icon",{size:t}),"k-none"),"aria-hidden":"true"});let b=typeof m=="object"&&m.name&&m.name,x=typeof m=="object"?l&&m.variants?.[l]||m.variants?.outline||m.content:void 0;return bi("span",{...c,className:r(e.className,cr,C("k-icon",{size:t}),{[`k-svg-i-${b}`]:b,[`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:x!==void 0?{__html:x}:void 0,children:m?void 0:e.children})})};Pa.states=Jp;Pa.options=qp;Pa.className=cr;Pa.defaultOptions=ur;var fr=Pa;import*as br from"@progress/kendo-svg-icons";var vs="icon",Ls="icons";import{useContext as Qp}from"react";import{createContext as Zp}from"react";var Is=Zp({iconsType:"svg"});import{Fragment as Ss,jsx as wa}from"react/jsx-runtime";var xi="k-icon",jp=e=>e.replace(/([-_][a-z0-9])/gi,t=>t.toUpperCase().replace("-","").replace("_","")),em=[],tm={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:[Nt.outline,Nt.solid,Nt.duotone]},hi={viewBox:"0 0 24 24",type:"svg",variant:Nt.outline},N=e=>{let{iconsType:t}=Qp(Is),{size:o,themeColor:a,icon:i,type:s=t||hi.type,rotate:l,flip:m,viewBox:c=hi.viewBox,variant:b=hi.variant,...x}=e;if(!i)return wa(Ss,{});if((t||s)==="svg"){if(i==="none")return wa(fr,{...x,className:r(e.className,xi),icon:i,size:o,variant:b});let u=br[i]?i:jp(`${i}-icon`);return br[u]?wa(fr,{...x,className:r(e.className,xi),icon:br[u],size:o,themeColor:a,rotate:l,flip:m,viewBox:c,variant:b}):wa(Ss,{})}return wa(gs,{...x,className:r(e.className,xi),icon:i,size:o,themeColor:a,rotate:l,flip:m})};N.states=em;N.options=tm;N.defaultOptions=hi;N.className=xi;N.moduleName=vs;N.folderName=Ls;var xr="button",ks=xr;import{Fragment as hr,jsx as Vt,jsxs as Es}from"react/jsx-runtime";var Ka="k-button",om=["icon-button"],am=[n.hover,n.focus,n.active,n.selected,n.disabled,n.generating],im={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:[h.undefined,h.solid,h.flat,h.outline,h.clear,h.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:b,focus:x,active:g,selected:u,disabled:v,togglable:I,ariaDisabled:S,icon:k,endIcon:E,iconSize:T,text:w,iconClassName:q,className:te,...oe}=e,pe=k!=null,so=e.children!==void 0;return Es(t,{className:r(te,Ka,hs(Ka,c),C(Ka,{size:o,rounded:a,fillMode:i,themeColor:s}),M(Ka,{hover:b,focus:x,active:g,disabled:v||S,selected:u}),{"k-icon-button":!w&&!so&&pe}),"aria-pressed":I?u?"true":"false":void 0,...oe,"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?Es(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=am;p.options=im;p.variants=om;p.className=Ka;p.defaultOptions=Nr;p.moduleName=xr;p.folderName=ks;import{jsx as rm}from"react/jsx-runtime";var Rt=e=>rm(p,{icon:"folder",...e,"aria-label":e["aria-label"]||"Folder",children:void 0});import{jsx as nm}from"react/jsx-runtime";var Da=e=>nm(p,{icon:"folder",children:"Button",...e});import{jsx as wv}from"react/jsx-runtime";import{jsx as sm}from"react/jsx-runtime";var gt=e=>sm(p,{children:"Button",...e});import{jsx as gr}from"react/jsx-runtime";var lm=p.options,dm=p.states,pm={...p.defaultOptions,variant:"text"},mm=[{name:"icon-only",title:"Icon Only"},{name:"icon-and-text",title:"Icon & Text"},{name:"text",title:"Text"}],cm=[],Co=e=>{let{variant:t,...o}=e;switch(t){case"icon-only":return gr(Rt,{...o,icon:"star"});case"icon-and-text":return gr(Da,{...o,icon:"star",children:"Button"});default:return gr(gt,{...o,children:"Button"})}};Co.options=lm;Co.states=dm;Co.variants=mm;Co.defaultOptions=pm;Co.modifiers=cm;Co.className=p.className;var vr="button",Ms=vr;import{jsx as xm}from"react/jsx-runtime";var _a="k-button-group",um=[n.disabled],fm={fillMode:[h.undefined,h.solid,h.flat,h.outline,h.clear,h.link]},bm={},B=e=>{let{fillMode:t,disabled:o,stretched:a,...i}=e;return xm("div",{role:"group",...i,className:r(e.className,_a,C(_a,{fillMode:t}),M(_a,{disabled:o}),{[`${_a}-stretched`]:a}),...o&&{"aria-disabled":"true"},children:e.children})};B.states=um;B.options=fm;B.className=_a;B.defaultOptions=bm;B.moduleName=vr;B.folderName=Ms;import{Fragment as dL,jsx as lL,jsxs as pL}from"react/jsx-runtime";import{Fragment as xL,jsx as bL,jsxs as hL}from"react/jsx-runtime";import{Fragment as SL,jsx as IL,jsxs as kL}from"react/jsx-runtime";import{Fragment as TL,jsx as AL,jsxs as OL}from"react/jsx-runtime";import{Fragment as DL,jsx as KL,jsxs as _L}from"react/jsx-runtime";import{Fragment as $L,jsx as GL,jsxs as VL}from"react/jsx-runtime";import{Fragment as ZL,jsx as YL,jsxs as QL}from"react/jsx-runtime";import{jsx as Pt,jsxs as Lr}from"react/jsx-runtime";var hm={...p.options,...B.options},Nm=p.states,gm={...p.defaultOptions,...B.defaultOptions,variant:"text-button"},vm=[{name:"icon-button",title:"Icon Only"},{name:"text-button",title:"Text"},{name:"icon-text-button",title:"Icon Text"}],Lm=[],yo=e=>{let{variant:t,className:o,...a}=e;return t==="icon-button"?Lr(B,{fillMode:a.fillMode,className:o,children:[Pt(p,{...a,icon:"star"}),Pt(p,{...a,icon:"star"}),Pt(p,{...a,icon:"star"})]}):t==="icon-text-button"?Lr(B,{fillMode:a.fillMode,className:o,children:[Pt(p,{...a,icon:"star",children:"First"}),Pt(p,{...a,icon:"star",children:"Middle"}),Pt(p,{...a,icon:"star",children:"Last"})]}):Lr(B,{fillMode:a.fillMode,className:o,children:[Pt(p,{...a,children:"First"}),Pt(p,{...a,children:"Middle"}),Pt(p,{...a,children:"Last"})]})};yo.options=hm;yo.states=Nm;yo.variants=vm;yo.defaultOptions=gm;yo.modifiers=Lm;yo.className=B.className;var za="input",Ni=za;import{jsx as Em}from"react/jsx-runtime";var gi="k-input",Im=[n.hover,n.focus,n.valid,n.invalid,n.required,n.disabled,n.loading,n.readonly],Sm={size:[d.undefined,d.small,d.medium,d.large],rounded:[f.undefined,f.none,f.small,f.medium,f.large,f.full],fillMode:[h.undefined,h.solid,h.flat,h.outline]},km={},G=e=>{let{hover:t,focus:o,disabled:a,invalid:i,valid:s,loading:l,readonly:m,size:c,rounded:b,fillMode:x,...g}=e;return Em("span",{...g,className:r(e.className,gi,C(gi,{size:c,rounded:b,fillMode:x}),M(gi,{hover:t,focus:o,disabled:a,invalid:i,valid:s,loading:l,readonly:m}))})};G.states=Im;G.options=Sm;G.className=gi;G.defaultOptions=km;G.moduleName=za;G.folderName=Ni;import{jsx as Am}from"react/jsx-runtime";var vi="k-picker",Mm=[n.hover,n.focus,n.valid,n.invalid,n.required,n.disabled,n.loading,n.readonly],Cm={size:[d.undefined,d.small,d.medium,d.large],rounded:[f.undefined,f.none,f.small,f.medium,f.large,f.full],fillMode:[h.undefined,h.solid,h.flat,h.outline]},ym={},vt=e=>{let{hover:t,focus:o,disabled:a,invalid:i,valid:s,loading:l,readonly:m,size:c,rounded:b,fillMode:x,...g}=e;return Am("span",{...g,className:r(e.className,vi,C(vi,{size:c,rounded:b,fillMode:x}),M(vi,{hover:t,focus:o,disabled:a,invalid:i,valid:s,loading:l,readonly:m})),children:e.children})};vt.states=Mm;vt.options=Cm;vt.className=vi;vt.defaultOptions=ym;vt.moduleName=za;vt.folderName=Ni;import{Fragment as Bm,jsx as Ir}from"react/jsx-runtime";var Cs="k-clear-value",Tm=[n.disabled,n.loading,n.readonly],Om={},me=e=>{let{disabled:t,loading:o,readonly:a,value:i}=e;return t||a||o||!i?Ir(Bm,{}):Ir("span",{className:r(e.className,Cs),children:Ir(N,{icon:"x"})})};me.states=Tm;me.options=Om;me.className=Cs;import{jsx as wm}from"react/jsx-runtime";var Sr="k-input-inner",Rm=[],Pm={},Li={type:"text",autocomplete:"off",value:"",placeholder:""},ce=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 wm("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})};ce.states=Rm;ce.options=Pm;ce.className=Sr;import{jsx as ys,jsxs as _m}from"react/jsx-runtime";var kr="k-input-inner",Km=[],Dm={},lo=e=>{let{value:t,placeholder:o,showValue:a,valueIcon:i,valueIconName:s,...l}=e;return _m("span",{...l,className:r(e.className,kr,C(kr,e)),children:[i,!i&&s&&ys(N,{className:"k-input-value-icon",icon:s}),a&&!t&&o,a&&t&&ys("span",{className:"k-input-value-text",children:t})]})};lo.states=Km;lo.options=Dm;lo.className=kr;import{jsx as Fm}from"react/jsx-runtime";var Er="k-input-inner",zm=[],Hm={},As={value:"",placeholder:""},Ha=e=>{let{value:t=As.value,placeholder:o=As.placeholder,rows:a,disabled:i,...s}=e;return Fm("textarea",{...s,className:r(e.className,Er,C(Er,e)),placeholder:o,rows:a,defaultValue:t,disabled:i||void 0})};Ha.states=zm;Ha.options=Hm;Ha.className=Er;import{Fragment as Gm,jsx as Ts}from"react/jsx-runtime";var Os="k-input-loading-icon",Um=[n.disabled,n.loading],ae=e=>{let{disabled:t,loading:o}=e;return t||!o?Ts(Gm,{}):Ts("span",{className:r(e.className,Os,"k-icon k-i-loading")})};ae.states=Um;ae.className=Os;import{Fragment as Xm,jsx as Bs}from"react/jsx-runtime";var Rs="k-input-validation-icon",$m=[n.valid,n.invalid,n.disabled,n.loading],Vm={},Q=e=>{let{valid:t,invalid:o,disabled:a,loading:i}=e,s=o?"warning-circle":"check-circle";return a||i||!!!(t||o)?Bs(Xm,{}):Bs(N,{className:r(Rs),icon:s})};Q.states=$m;Q.options=Vm;Q.className=Rs;import{Fragment as qm,jsx as Ps}from"react/jsx-runtime";var Wm="k-input-prefix",Jm={direction:"horizontal"},be=e=>{let{direction:t=Jm.direction,...o}=e;return e.children?Ps("span",{...o,className:r(Wm,e.className,{[`k-input-prefix-${t}`]:t}),children:e.children}):Ps(qm,{})};import{Fragment as Qm,jsx as ws}from"react/jsx-runtime";var Ym="k-input-suffix",Zm={direction:"horizontal"},xe=e=>{let{direction:t=Zm.direction,...o}=e;return e.children?ws("span",{...o,className:r(Ym,e.className,{[`k-input-suffix-${t}`]:t}),children:e.children}):ws(Qm,{})};import{jsx as ec}from"react/jsx-runtime";var jm="k-input-prefix-text",Mr=e=>{let{children:t,...o}=e;return ec("span",{...o,className:r(jm,e.className),children:t})};import{jsx as oc}from"react/jsx-runtime";var tc="k-input-suffix-text",wt=e=>{let{children:t,...o}=e;return oc("span",{...o,className:r(tc,e.className),children:t})};import{jsx as ic}from"react/jsx-runtime";var Ks="k-input-separator",ac={direction:"vertical"},j=e=>{let{direction:t=ac.direction,...o}=e;return ic("span",{...o,className:r(Ks,e.className,{[`${Ks}-${t}`]:t})})};import{Fragment as Ds,jsx as Lt,jsxs as Cr}from"react/jsx-runtime";var rc=G.states,nc=G.defaultOptions,sc=G.options,lc=[{name:"prefix",title:"Prefix"},{name:"suffix",title:"Suffix"},{name:"clear-button",title:"`Clear` Button"},{name:"validation-icon",title:"Validation Icon"},{name:"separators",title:"Separators"}],dc=[],Ao=e=>{let{modifiers:t,valid:o,invalid:a,loading:i,disabled:s,readonly:l,...m}=e,c=t?.prefix,b=t?.suffix,x=t?.["clear-button"],g=t?.["validation-icon"],u=t?.separators;return Cr(G,{...m,valid:o,invalid:a,loading:i,disabled:s,readonly:l,style:{width:300},children:[c&&Cr(Ds,{children:[Lt(be,{children:Lt(N,{icon:"lock"})}),u&&Lt(j,{})]}),Lt(ce,{placeholder:"Placeholder",value:"Value"}),g&&Lt(Q,{valid:o,invalid:a,loading:i,disabled:s}),Lt(ae,{loading:i,disabled:s}),x&&Lt(me,{loading:i,disabled:s,readonly:l,value:"Value"}),b&&Cr(Ds,{children:[u&&Lt(j,{}),Lt(xe,{children:Lt(gt,{size:m.size,fillMode:"clear",children:"Send"})})]})]})};Ao.options=sc;Ao.states=rc;Ao.variants=dc;Ao.defaultOptions=nc;Ao.modifiers=lc;Ao.className=G.className;import{jsx as _s,jsxs as cc}from"react/jsx-runtime";var zs="k-color-preview",pc=[],mc={},Xt=e=>{let{color:t,iconName:o,...a}=e;return cc("span",{...a,className:r(e.className,zs,{"k-icon-color-preview":o,"k-no-color":!t}),children:[o&&_s(N,{icon:o,className:"k-color-preview-icon"}),_s("span",{className:"k-color-preview-mask",style:{backgroundColor:t}})]})};Xt.states=pc;Xt.options=mc;Xt.className=zs;var yr="popup",Hs=yr;import{jsx as Fs}from"react/jsx-runtime";var Us="k-animation-container",uc=[],fc={},Ar={positionMode:"absolute",shown:!0},It=e=>{let{positionMode:t=Ar.positionMode,shown:o=Ar.shown,animationStyle:a,offset:i,...s}=e;return Fs("div",{...s,style:{...i,...e.style},className:r(e.className,Us,{"k-animation-container-shown":o,"k-animation-container-fixed":t==="fixed"}),children:Fs("div",{className:"k-child-animation-container",style:a,children:e.children})})};It.states=uc;It.options=fc;It.className=Us;It.defaultOptions=Ar;It.moduleName=yr;It.folderName=Hs;var Tr="popup",Gs=Tr;import{jsx as $s}from"react/jsx-runtime";var Vs="k-popup",bc=[],xc={},Xs={positionMode:"absolute"},W=e=>{let{offset:t,positionMode:o=Xs.positionMode,animationStyle:a,containerClassName:i,containerRole:s,containerAriaLabel:l,...m}=e;return $s(It,{positionMode:o,offset:t,animationStyle:a,className:i,role:s,"aria-label":l,children:$s("div",{...m,className:r(e.className,Vs),children:e.children})})};W.states=bc;W.options=xc;W.className=Vs;W.defaultOptions=Xs;W.moduleName=Tr;W.folderName=Gs;var Or="action-buttons",Ws=Or;import{jsx as gc}from"react/jsx-runtime";var Ii="k-actions",hc=[],Nc={},Br={alignment:"start",orientation:"horizontal"},Ue=e=>{let{alignment:t=Br.alignment,orientation:o=Br.orientation,...a}=e;return gc("div",{...a,className:r(Ii,{[`${Ii}-${t}`]:t,[`${Ii}-${o}`]:o},e.className),children:e.children})};Ue.states=hc;Ue.options=Nc;Ue.className=Ii;Ue.defaultOptions=Br;Ue.moduleName=Or;Ue.folderName=Ws;var Js=Ue;import{jsx as Lc}from"react/jsx-runtime";var vc="k-actionsheet-footer",qs={alignment:"stretched",orientation:"horizontal"},Wt=e=>{let{alignment:t=qs.alignment,orientation:o=qs.orientation,template:a,as:i=a?"div":Ue,...s}=e;return Lc(i,{...s,...!a&&{alignment:t,orientation:o},className:r(e.className,vc),children:e.children})};var Rr="searchbox",Ys=Rr;import{jsx as Fa,jsxs as kc}from"react/jsx-runtime";var Zs="k-searchbox",Ic=[n.hover,n.focus,n.valid,n.invalid,n.required,n.disabled,n.loading],Sc={size:[d.undefined,d.small,d.medium,d.large],rounded:[f.undefined,f.none,f.small,f.medium,f.large,f.full],fillMode:[h.undefined,h.solid,h.flat,h.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:b,required:x,loading:g,disabled:u,showIcon:v=Si.showIcon,showClearButton:I=Si.showClearButton,icon:S=Si.icon,"aria-label":k,...E}=e;return kc(G,{...E,size:a,rounded:i,fillMode:s,hover:l,focus:m,valid:c,invalid:b,required:x,loading:g,disabled:u,className:r(e.className,Zs),children:[v&&Fa(N,{className:"k-input-icon",icon:S}),Fa(ce,{placeholder:o,value:t,"aria-label":k}),Fa(ae,{...e}),Fa(Q,{...e}),I&&Fa(me,{...e})]})};Ze.states=Ic;Ze.options=Sc;Ze.className=Zs;Ze.defaultOptions=Si;Ze.moduleName=Rr;Ze.folderName=Ys;import{jsx as Sk}from"react/jsx-runtime";var Pr="textbox",Qs=Pr;import{Fragment as js,jsx as Jt,jsxs as wr}from"react/jsx-runtime";var el="k-textbox",Ec=[n.hover,n.focus,n.valid,n.invalid,n.required,n.disabled,n.loading,n.readonly],Mc={size:[d.undefined,d.small,d.medium,d.large],rounded:[f.undefined,f.none,f.small,f.medium,f.large,f.full],fillMode:[h.undefined,h.solid,h.flat,h.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:b,value:x,placeholder:g,hover:u,focus:v,valid:I,invalid:S,required:k,loading:E,disabled:T,readonly:w,id:q,"aria-label":te,"aria-describedby":oe,...pe}=e;return wr(G,{...pe,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,el),children:[m&&wr(js,{children:[Jt(be,{children:m}),i&&Jt(j,{})]}),Jt(ce,{id:q,placeholder:g,value:x,type:b,disabled:T,"aria-label":te,"aria-describedby":oe,"aria-invalid":S?"true":void 0}),l&&Jt(Q,{valid:I,invalid:S,loading:E,disabled:T}),Jt(ae,{loading:E,disabled:T}),s&&Jt(me,{loading:E,disabled:T,readonly:w,value:x}),c&&wr(js,{children:[i&&Jt(j,{}),Jt(xe,{children:c})]})]})};F.states=Ec;F.options=Mc;F.className=el;F.defaultOptions=ki;F.moduleName=Pr;F.folderName=Qs;var Ua=F;import{jsx as Cc}from"react/jsx-runtime";var tl=e=>Cc(Ua,{...e});import{Fragment as Fk,jsx as Hk}from"react/jsx-runtime";import{Fragment as Wk,jsx as Xk}from"react/jsx-runtime";import{jsx as Zk}from"react/jsx-runtime";import{jsx as Kr}from"react/jsx-runtime";var yc=F.states,Ac=F.defaultOptions,Tc=F.options,Oc=[{name:"prefix",title:"Prefix"},{name:"suffix",title:"Suffix"},{name:"clear-button",title:"`Clear` Button"}],Bc=[],To=e=>{let{modifiers:t,...o}=e,a={};return Object.keys(t||{}).forEach(i=>{switch(i){case"prefix":a.prefix=t?.[i]?Kr(N,{icon:"lock"}):void 0;break;case"suffix":a.suffix=t?.[i]?Kr(gt,{size:o.size,fillMode:"clear",children:"Send"}):void 0;break;case"clear-button":a.showClearButton=t?.[i];break;default:break}}),Kr(tl,{value:"Value",style:{width:300},...o,...a})};To.options=Tc;To.states=yc;To.variants=Bc;To.defaultOptions=Ac;To.modifiers=Oc;To.className=F.className;import{jsx as qt,jsxs as Dr}from"react/jsx-runtime";var ol="k-actionsheet-titlebar",Rc={},ve=e=>{let{title:t,subtitle:o,actionsStart:a,actionsEnd:i,filter:s,input:l,inputValue:m,inputPlaceholder:c,adaptive:b,titleId:x,children:g,...u}=e;return Dr("div",{...u,className:r(e.className,ol),children:[Dr("div",{className:"k-actionsheet-titlebar-group",children:[a&&qt("div",{className:"k-actionsheet-actions",children:a}),!g&&Dr("div",{className:"k-actionsheet-title",id:x,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:x,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:b?"large":"medium","aria-label":t||c||"Input"}):qt(Ze,{placeholder:"Filter",size:b?"large":"medium","aria-label":"Filter options"})})]})};ve.className=ol;ve.defaultOptions=Rc;import{jsx as _r,jsxs as Dc}from"react/jsx-runtime";var zr="k-actionsheet-view",Pc=[],wc={},Kc={},Oo=e=>{let{adaptive:t,animated:o,children:a,header:i,footer:s,titleId:l,...m}=e,c=i?.type===ve&&_r(ve,{adaptive:t,titleId:l,...i?.props}),b=s?.type===Wt&&_r(Wt,{...s?.props});return Dc("div",{...m,className:r(e.className,zr,{[`${zr}-animated`]:o}),children:[c,_r("div",{className:"k-actionsheet-content",children:a}),b]})};Oo.states=Pc;Oo.options=wc;Oo.className=zr;Oo.defaultOptions=Kc;var Ga="action-sheet",Ei=Ga;var Hr="overlay",al=Hr;import{jsx as Fc}from"react/jsx-runtime";var il="k-overlay",_c=[],zc={},Hc={},ut=e=>{let{...t}=e;return Fc("div",{...t,className:r(e.className,il),children:e.children})};ut.states=_c;ut.options=zc;ut.className=il;ut.defaultOptions=Hc;ut.moduleName=Hr;ut.folderName=al;var rl=ut;import{jsx as Mi,jsxs as $c}from"react/jsx-runtime";var nl="k-actionsheet",Uc=[],Gc={},$a={side:"bottom",fullscreen:!1,adaptive:!1,overlay:!0},Y=e=>{let{side:t=$a.side,fullscreen:o=$a.fullscreen,adaptive:a=$a.adaptive,overlay:i=$a.overlay,template:s,children:l,header:m,footer:c,id:b,...x}=e,g=b&&!s&&m?`${b}-title`:void 0;return $c("div",{className:"k-actionsheet-container",children:[i&&Mi(ut,{}),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",{...x,id:b,role:"dialog","aria-modal":i?"true":void 0,"aria-labelledby":g,className:r(e.className,nl,{[`k-actionsheet-${t}`]:o===!1,"k-actionsheet-fullscreen":o===!0,"k-adaptive-actionsheet":a}),children:s||Mi(Oo,{header:m,footer:c,adaptive:a,titleId:g,...e,children:l})})})]})};Y.states=Uc;Y.options=Gc;Y.className=nl;Y.defaultOptions=$a;Y.moduleName=Ga;Y.folderName=Ei;import{jsx as Jc}from"react/jsx-runtime";var sl="k-actionsheet-container",Vc=[],Xc={},Wc={},Bo=e=>{let{children:t,...o}=e;return Jc("div",{...o,className:sl,children:t})};Bo.states=Vc;Bo.options=Xc;Bo.className=sl;Bo.defaultOptions=Wc;Bo.moduleName=Ga;Bo.folderName=Ei;import{jsx as qc}from"react/jsx-runtime";var Fr=e=>{let{...t}=e;return qc("div",{...t,className:r(e.className,"k-list-ul"),children:e.children})};import{Fragment as Zc,jsx as Va,jsxs as Ur}from"react/jsx-runtime";var Gr="k-actionsheet-item",Yc=[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 Ur("span",{...c,className:r(e.className,Gr,M(Gr,{hover:i,focus:s,selected:l,disabled:m})),children:[!e.children&&Va(Zc,{children:Ur("span",{className:"k-actionsheet-action",children:[t&&Va("span",{className:"k-icon-wrap",children:Va(N,{className:"k-actionsheet-item-icon",icon:t})}),Ur("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=Yc;Yt.className=Gr;import{jsx as YE,jsxs as ZE}from"react/jsx-runtime";import{jsx as tM}from"react/jsx-runtime";import{jsx as rM}from"react/jsx-runtime";import{jsx as dM}from"react/jsx-runtime";import{jsx as Le,jsxs as $r}from"react/jsx-runtime";var Qc=Y.options,jc=Y.states,dl={...Y.defaultOptions,variant:"normal"},eu=[{name:"normal",title:"Normal"},{name:"adaptive",title:"Adaptive"},{name:"fullScreen",title:"Full Screen"}],tu=[{name:"actions",title:"Titlebar Actions",type:"boolean"},{name:"subtitle",title:"Subtitle",type:"boolean"},{name:"footer",title:"Footer",type:"boolean"}],Ro=e=>{let{variant:t,modifiers:o,...a}={...dl,...e},i={},s=$r(Fr,{children:[Le(Yt,{text:"Edit Item",description:"Click to edit",iconName:"edit-tools"}),Le(Yt,{text:"Add to Favorites",iconName:"heart"}),Le(Yt,{text:"Upload New",iconName:"upload",disabled:!0}),Le("hr",{className:"k-hr"}),Le(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"?Le(Y,{...a,adaptive:!0,fullscreen:i.fullScreen,header:Le(ve,{actionsStart:i.actionsStart?Le(p,{icon:"chevron-left",size:"large",fillMode:"flat"}):void 0,actionsEnd:i.actionsEnd?Le(p,{icon:"x",size:"large",fillMode:"flat"}):void 0,title:m,subtitle:i.subtitle}),footer:i.footer?$r(Wt,{alignment:"stretched",children:[Le(p,{text:"Cancel",size:"large",themeColor:"base"}),Le(p,{text:"Apply",size:"large",themeColor:"primary"})]}):void 0,children:s}):Le(Y,{...a,fullscreen:i.fullScreen,header:Le(ve,{actionsStart:i.actionsStart?Le(p,{icon:"chevron-left",fillMode:"flat"}):void 0,actionsEnd:i.actionsEnd?Le(p,{icon:"x",fillMode:"flat"}):void 0,title:"Select Item",subtitle:i.subtitle}),footer:i.footer?$r(Wt,{alignment:"stretched",children:[Le(p,{text:"Apply",themeColor:"primary"}),Le(p,{text:"Cancel",themeColor:"base"})]}):void 0,children:s})};Ro.options=Qc;Ro.states=jc;Ro.variants=eu;Ro.defaultOptions=dl;Ro.modifiers=tu;Ro.className=Y.className;var Vr="slider",pl=Vr;import{jsx as Po,jsxs as Xr}from"react/jsx-runtime";var Xa="k-slider",ou=[n.hover,n.focus,n.active,n.disabled,n.readonly],au={},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:s=Qe.disabled,handlePosition:l=Qe.handlePosition,showButtons:m=Qe.showButtons,showTicks:c=Qe.showTicks,value:b=Qe.value,min:x=Qe.min,max:g=Qe.max,startValue:u,endValue:v,hover:I,focus:S,active:k,trackStyle:E,dir:T,...w}=e,te=(()=>{if(t==="gradient"&&a==="2d")return"undefined";if(o==="vertical")return"vertical"})(),oe,pe;return o==="horizontal"?(oe=T==="rtl"?"chevron-left":"chevron-right",pe=T==="rtl"?"chevron-right":"chevron-left"):o==="vertical"&&(oe="chevron-up",pe="chevron-down"),Xr("div",{...w,className:r(Xa,e.className,M(Xa,{readonly:i,disabled:s}),{[`k-slider-${o}`]:o,"k-colorgradient-slider":t==="gradient"}),dir:T,children:[m&&Po(p,{className:"k-button-decrease",rounded:"full",icon:pe,tabIndex:-1,title:"Decrease"}),Xr("div",{className:"k-slider-track-wrap",children:[c&&Po("ul",{className:"k-reset k-slider-items","aria-hidden":"true",children:e.children}),Xr("div",{className:"k-slider-track",style:E,children:[Po("div",{className:"k-slider-selection"}),t==="range"&&Po("span",{className:r("k-draghandle","k-draghandle-start",M(Xa,{hover:I,focus:S,active:k})),role:"slider",tabIndex:s?void 0:0,"aria-valuenow":u??x,"aria-valuemin":x,"aria-valuemax":v??g,"aria-orientation":te,"aria-disabled":s?"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-${l}`,M(Xa,{hover:I,focus:S,active:k})),role:"slider",tabIndex:s?void 0:0,"aria-valuenow":t==="range"?v??g:b,"aria-valuemin":t==="range"?u??x:x,"aria-valuemax":g,"aria-orientation":te,"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&&Po(p,{className:"k-button-increase",rounded:"full",icon:oe,tabIndex:-1,title:"Increase"})]})};z.states=ou;z.options=au;z.className=Xa;z.defaultOptions=Qe;z.moduleName=Vr;z.folderName=pl;import{jsx as ml}from"react/jsx-runtime";var cl="k-tick",iu=[],ru={},ul={label:!1},R=e=>{let{style:t,label:o=ul.label,orientation:a,large:i,text:s,...l}=e;return ml("li",{...l,role:"presentation",title:s||"Tick",className:r(e.className,cl,{[`k-tick-${a}`]:a,"k-tick-large":i}),style:t,children:o&&ml("span",{className:"k-label",children:s})})};R.states=iu;R.options=ru;R.className=cl;R.defaultOptions=ul;import{Fragment as nu,jsx as je,jsxs as su}from"react/jsx-runtime";var fl=e=>je(z,{"aria-label":e["aria-label"]||"Slider",children:su(nu,{children:[je(R,{className:"k-first",label:!0,large:!0,text:"0"}),je(R,{}),je(R,{}),je(R,{}),je(R,{}),je(R,{label:!0,large:!0,text:"5"}),je(R,{}),je(R,{}),je(R,{}),je(R,{}),je(R,{className:"k-last",label:!0,large:!0,text:"10"})]}),...e});import{Fragment as lu,jsx as et,jsxs as du}from"react/jsx-runtime";var bl=e=>et(z,{children:du(lu,{children:[et(R,{className:"k-first",label:!0,large:!0,text:"0"}),et(R,{}),et(R,{}),et(R,{}),et(R,{}),et(R,{label:!0,large:!0,text:"5"}),et(R,{}),et(R,{}),et(R,{}),et(R,{}),et(R,{className:"k-last",label:!0,large:!0,text:"10"})]}),"aria-label":e["aria-label"]||"Vertical slider",...e,orientation:"vertical"});import{Fragment as ZM,jsx as YM,jsxs as QM}from"react/jsx-runtime";import{Fragment as aC,jsx as oC,jsxs as iC}from"react/jsx-runtime";import{jsx as pu}from"react/jsx-runtime";var Wr=e=>pu(z,{type:"gradient",showButtons:!1,showTicks:!1,...e,"aria-label":e["aria-label"]||"Color slider"});import{jsx as mu}from"react/jsx-runtime";var Jr=e=>mu(z,{type:"gradient",orientation:"vertical",showButtons:!1,showTicks:!1,...e,"aria-label":e["aria-label"]||"Color slider"});import{Fragment as bC,jsx as fC,jsxs as xC}from"react/jsx-runtime";import{Fragment as LC,jsx as vC,jsxs as IC}from"react/jsx-runtime";import{jsx as St,jsxs as xl}from"react/jsx-runtime";var cu=z.options,uu=z.states,hl={...z.defaultOptions,variant:"horizontal",label:!0},fu=[{name:"horizontal",title:"Horizontal"},{name:"vertical",title:"Vertical"}],bu=[{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=hl.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"?xl(bl,{style:{height:"300px",...l},...a,...s,children:[St(R,{label:i,large:!0,orientation:"vertical",text:"0",style:{position:"absolute",bottom:"0%"}}),St(R,{label:i,large:!0,orientation:"vertical",text:"2",style:{position:"absolute",bottom:"25%"}}),St(R,{label:i,large:!0,orientation:"vertical",text:"4",style:{position:"absolute",bottom:"50%"}}),St(R,{label:i,large:!0,orientation:"vertical",text:"6",style:{position:"absolute",bottom:"75%"}}),St(R,{label:i,large:!0,orientation:"vertical",text:"8",style:{position:"absolute",bottom:"100%"}})]}):xl(fl,{style:{width:"400px",...l},...a,...s,children:[St(R,{label:i,large:!0,orientation:"horizontal",text:"0",style:{position:"absolute",left:"0%"}}),St(R,{label:i,large:!0,orientation:"horizontal",text:"2",style:{position:"absolute",left:"25%"}}),St(R,{label:i,large:!0,orientation:"horizontal",text:"4",style:{position:"absolute",left:"50%"}}),St(R,{label:i,large:!0,orientation:"horizontal",text:"6",style:{position:"absolute",left:"75%"}}),St(R,{label:i,large:!0,orientation:"horizontal",text:"8",style:{position:"absolute",left:"100%"}})]})};wo.options=cu;wo.states=uu;wo.variants=fu;wo.defaultOptions=hl;wo.modifiers=bu;wo.className=z.className;import{jsx as Nl,jsxs as vu}from"react/jsx-runtime";var gl="k-spin-button",Nu=[],gu={size:[d.undefined,d.small,d.medium,d.large],fillMode:[h.undefined,h.solid,h.flat,h.outline,h.clear,h.link]},qr={increaseLabel:"Increase value",decreaseLabel:"Decrease value"},kt=e=>{let{size:t,fillMode:o,disabled:a,increaseLabel:i=qr.increaseLabel,decreaseLabel:s=qr.decreaseLabel,...l}=e;return vu("span",{...l,className:r(gl,e.className),children:[Nl(p,{className:"k-spinner-increase",icon:"chevron-up",size:t,fillMode:o,disabled:a,"aria-label":i}),Nl(p,{className:"k-spinner-decrease",icon:"chevron-down",size:t,fillMode:o,disabled:a,"aria-label":s})]})};kt.states=Nu;kt.options=gu;kt.className=gl;kt.defaultOptions=qr;kt.moduleName=null;kt.folderName=null;var vl="numeric-textbox",Ll="numerictextbox";import{Fragment as Il,jsx as Kt,jsxs as Yr}from"react/jsx-runtime";var Sl="k-numerictextbox",Lu=[n.hover,n.focus,n.valid,n.invalid,n.loading,n.required,n.disabled,n.readonly],Iu={size:[d.undefined,d.small,d.medium,d.large],rounded:[f.undefined,f.none,f.small,f.medium,f.large,f.full],fillMode:[h.undefined,h.solid,h.flat,h.outline]},Ci={showSpinButton:!0,showClearButton:!0,separators:!0},O=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:b,placeholder:x,hover:g,focus:u,valid:v,invalid:I,required:S,loading:k,disabled:E,readonly:T,id:w,"aria-label":q,"aria-describedby":te,...oe}=e;return Yr(G,{...oe,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,Sl),children:[m&&Yr(Il,{children:[Kt(be,{children:m}),i&&Kt(j,{})]}),Kt(ce,{id:w,placeholder:x,value:b,role:"spinbutton",disabled:E,"aria-label":q,"aria-describedby":te,"aria-invalid":I?"true":void 0}),Kt(Q,{valid:v,invalid:I,loading:k,disabled:E}),Kt(ae,{loading:k,disabled:E}),s&&Kt(me,{loading:k,disabled:E,readonly:T,value:b}),c&&Yr(Il,{children:[i&&Kt(j,{}),Kt(xe,{children:c})]}),l&&Kt(kt,{className:"k-input-spinner",size:t,fillMode:a,disabled:E})]})};O.states=Lu;O.options=Iu;O.className=Sl;O.defaultOptions=Ci;O.moduleName=vl;O.folderName=Ll;var Wa=O;import{jsx as Su}from"react/jsx-runtime";var kl=e=>Su(Wa,{...e});import Qr from"react";import{jsx as El}from"react/jsx-runtime";var ku="k-list-group-sticky-header",Zr=e=>El("div",{className:r(ku,e.className),children:El("div",{className:"k-list-header-text",children:e.children})});import{jsx as Mu}from"react/jsx-runtime";var Eu="k-no-data",yi=e=>{let{live:t,...o}=e;return Mu("span",{...o,className:r(Eu,e.className),"aria-live":t?"polite":void 0,children:e.children})};var po="list",Ko=po;import{jsx as Ml,jsxs as Cl}from"react/jsx-runtime";var jr="k-list",Cu=[],yu={size:[d.undefined,d.small,d.medium,d.large]},Au={},P=e=>{let{size:t,virtualization:o,children:a,header:i,selectAll:s,optionLabel:l,customValue:m,noData:c,screenReaders:b,...x}=e,u=Qr.Children.toArray(a)[0],v=u?.props?.children?Qr.Children.count(u.props.children):Qr.Children.count(a);return Cl("div",{...x,className:r(e.className,jr,C(jr,{size:t}),{"k-virtual-list":o}),children:[l,s,m,i&&Ml(Zr,{children:i}),a||(c!==void 0?c:Ml(yi,{live:!0,children:"No data found."})),b&&a&&Cl(yi,{className:"k-sr-only",live:!0,children:[v," items found."]})]})};P.states=Cu;P.options=yu;P.className=jr;P.defaultOptions=Au;P.moduleName=po;P.folderName=Ko;import{jsx as Ru}from"react/jsx-runtime";var yl="k-list-container",Tu=[],Ou={},Bu={},Do=e=>{let{...t}=e;return Ru("div",{...t,className:r(e.className,yl),children:e.children})};Do.states=Tu;Do.options=Ou;Do.className=yl;Do.defaultOptions=Bu;Do.moduleName=po;Do.folderName=Ko;var mo="checkbox",_o=mo;import{jsx as Al}from"react/jsx-runtime";var Ai="k-checkbox",Pu=[n.hover,n.focus,n.valid,n.invalid,n.required,n.disabled,n.checked,n.indeterminate],wu={size:[d.undefined,d.small,d.medium,d.large],rounded:[f.undefined,f.none,f.small,f.medium,f.large,f.full]},Ku={},Ke=e=>{let{id:t,checked:o,indeterminate:a,hover:i,focus:s,disabled:l,invalid:m,valid:c,required:b,size:x,rounded:g,wrapperRole:u,...v}=e;return Al("span",{className:"k-checkbox-wrap",role:u,children:Al("input",{...v,id:t,type:"checkbox",defaultChecked:o,required:b,disabled:l||void 0,"aria-invalid":m?"true":void 0,className:r(e.className,Ai,C(Ai,{size:x,rounded:g}),M(Ai,{hover:i,focus:s,disabled:l,invalid:m,valid:c,indeterminate:a,checked:o}))})})};Ke.states=Pu;Ke.options=wu;Ke.className=Ai;Ke.defaultOptions=Ku;Ke.moduleName=mo;Ke.folderName=_o;var ft=Ke;import{jsx as zu}from"react/jsx-runtime";var Tl="k-checkbox-list",Du=[],_u={},Ol={layout:"vertical"},Ae=e=>{let{layout:t=Ol.layout,...o}=e;return zu("ul",{...o,className:r(e.className,Tl,{[`k-list-${t}`]:t}),children:e.children})};Ae.states=Du;Ae.options=_u;Ae.className=Tl;Ae.defaultOptions=Ol;Ae.moduleName=mo;Ae.folderName=_o;import{jsx as Gu}from"react/jsx-runtime";var Bl="k-checkbox-list-item",Hu=[],Fu={},Uu={},Te=e=>{let{...t}=e;return Gu("li",{...t,className:r(e.className,Bl),children:e.children})};Te.states=Hu;Te.options=Fu;Te.className=Bl;Te.defaultOptions=Uu;Te.moduleName=mo;Te.folderName=_o;import{Fragment as $u,jsx as Rl,jsxs as Vu}from"react/jsx-runtime";var bt=({children:e="Label",id:t="cb-label-after",...o})=>Vu($u,{children:[Rl(ft,{id:t,...o}),Rl("label",{className:"k-checkbox-label",htmlFor:t,children:e})]});import{Fragment as Xy,jsx as Vy,jsxs as Wy}from"react/jsx-runtime";import{Fragment as Qy,jsx as Zy,jsxs as jy}from"react/jsx-runtime";import{Fragment as iA,jsx as aA,jsxs as rA}from"react/jsx-runtime";import{jsx as dA}from"react/jsx-runtime";import{jsx as uA}from"react/jsx-runtime";import{jsx as hA}from"react/jsx-runtime";import{jsx as tt,jsxs as Pl}from"react/jsx-runtime";var Xu=Ae.options,Wu=Ae.states,Ju={...Ae.defaultOptions,variant:"vertical"},qu=[{name:"vertical",title:"Vertical"},{name:"horizontal",title:"Horizontal"}],Yu=[],zo=e=>{let{variant:t,...o}=e;return t==="horizontal"?Pl(Ae,{layout:"horizontal",...o,children:[tt(Te,{children:tt(bt,{id:A("cb"),defaultChecked:!0,children:"Label"})}),tt(Te,{children:tt(bt,{id:A("cb"),children:"Label"})}),tt(Te,{children:tt(bt,{id:A("cb"),children:"Label"})})]}):Pl(Ae,{...o,children:[tt(Te,{children:tt(bt,{id:A("cb"),defaultChecked:!0,children:"Label"})}),tt(Te,{children:tt(bt,{id:A("cb"),children:"Label"})}),tt(Te,{children:tt(bt,{id:A("cb"),children:"Label"})})]})};zo.options=Xu;zo.states=Wu;zo.variants=qu;zo.defaultOptions=Ju;zo.modifiers=Yu;zo.className=Ae.className;import{jsx as of}from"react/jsx-runtime";var Zu=ft.options,Qu=ft.states,ju=ft.defaultOptions,ef=[],tf=[],Ho=e=>of(bt,{id:A("checkbox"),...e,defaultChecked:!0,children:"Label"});Ho.options=Zu;Ho.states=Qu;Ho.variants=ef;Ho.defaultOptions=ju;Ho.modifiers=tf;Ho.className=ft.className;import{jsx as Fo,jsxs as sf}from"react/jsx-runtime";var en="k-list-item",af=[n.hover,n.focus,n.selected,n.disabled],rf={},nf={},y=e=>{let{text:t,iconName:o,iconClassName:a,showCheckbox:i,checked:s,hover:l,focus:m,selected:c,disabled:b,actions:x,description:g,id:u,...v}=e,I=t||e.children,S=t||(typeof I=="string"?I:void 0);return sf("li",{...v,id:u,role:"option",tabIndex:m?0:-1,"aria-selected":c?"true":"false","aria-disabled":b?"true":void 0,className:r(e.className,en,M(en,{hover:l,focus:m,disabled:b,selected:c})),children:[i&&Fo(Ke,{checked:s,disabled:b,"aria-label":S,tabIndex:-1}),o&&Fo("span",{className:"k-list-item-icon-wrapper",children:Fo(N,{icon:o,className:r("k-list-item-icon",a)})}),Fo("span",{className:"k-list-item-text",children:I}),x&&Fo("div",{className:"k-list-item-actions",children:x}),g&&Fo("span",{className:"k-list-item-description",children:g})]})};y.states=af;y.options=rf;y.className=en;y.defaultOptions=nf;y.moduleName=po;y.folderName=Ko;import{jsx as df}from"react/jsx-runtime";var lf="k-list-ul",Et=e=>{let{children:t,role:o,id:a,...i}=e;return df("ul",{...i,id:a,role:o,className:r(lf,e.className),children:t})};import{jsx as tn,jsxs as mf}from"react/jsx-runtime";var pf="k-list-content",K=e=>{let{virtualization:t,grouping:o,"aria-label":a,"aria-labelledby":i,listboxId:s,...l}=e;return mf("div",{...l,className:r(pf,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:tn(Et,{role:"listbox",id:s,"aria-label":a,"aria-labelledby":i,children:e.children}),t&&tn("div",{className:"k-height-container",children:tn("div",{})})]})};import{jsx as on,jsxs as bf}from"react/jsx-runtime";var Ti="k-list-sticky-header",cf=[n.hover,n.focus,n.selected],uf={},ff={},Oi=e=>{let{label:t="Select all",showCheckbox:o=!0,checked:a,indeterminate:i,hover:s,focus:l,selected:m,...c}=e;return on("div",{...c,className:r(Ti,e.className),children:bf("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&&on(Ke,{checked:a,indeterminate:i,"aria-label":t}),on("span",{className:"k-list-item-text",children:t})]})})};Oi.states=cf;Oi.options=uf;Oi.className=Ti;Oi.defaultOptions=ff;import{Fragment as mT,jsx as pT,jsxs as cT}from"react/jsx-runtime";import{jsx as hT,jsxs as NT}from"react/jsx-runtime";import{jsx as gf}from"react/jsx-runtime";var an="k-list-optionlabel",xf=[n.hover,n.focus,n.selected,n.disabled],hf={},Nf={},Bi=e=>{let{text:t,hover:o,focus:a,selected:i,disabled:s,...l}=e;return gf("div",{...l,className:r(an,M(an,{hover:o,focus:a,selected:i,disabled:s})),children:t})};Bi.states=xf;Bi.options=hf;Bi.className=an;Bi.defaultOptions=Nf;import{jsx as Sf}from"react/jsx-runtime";var rn="k-list-custom-value",vf=[n.hover,n.focus,n.selected,n.disabled],Lf={},If={},ot=e=>{let{text:t,hover:o,focus:a,selected:i,disabled:s,...l}=e;return Sf("div",{...l,className:r(rn,M(rn,{hover:o,focus:a,selected:i,disabled:s})),children:t})};ot.states=vf;ot.options=Lf;ot.className=rn;ot.defaultOptions=If;import{Fragment as TT,jsx as AT,jsxs as OT}from"react/jsx-runtime";import{Fragment as DT,jsx as KT,jsxs as _T}from"react/jsx-runtime";import{Fragment as VT,jsx as GT,jsxs as $T}from"react/jsx-runtime";import{Fragment as QT,jsx as YT,jsxs as ZT}from"react/jsx-runtime";import{jsx as oO}from"react/jsx-runtime";import{Fragment as lO,jsx as sO,jsxs as dO}from"react/jsx-runtime";import{Fragment as bO,jsx as fO,jsxs as xO}from"react/jsx-runtime";var wl="dropdown-list",Kl="dropdownlist";import{Fragment as Mf,jsx as Oe,jsxs as nn}from"react/jsx-runtime";var Dl="k-dropdownlist",kf=[n.hover,n.focus,n.valid,n.invalid,n.required,n.disabled,n.loading,n.readonly],Ef={size:[d.undefined,d.small,d.medium,d.large],rounded:[f.undefined,f.none,f.small,f.medium,f.large,f.full],fillMode:[h.undefined,h.solid,h.flat,h.outline]},sn={showValue:!0,arrowIconName:"chevron-down"},$=e=>{let{size:t,rounded:o,fillMode:a,arrowIconName:i=sn.arrowIconName,showValue:s=sn.showValue,valueIconName:l,prefix:m,suffix:c,value:b,placeholder:x,hover:g,focus:u,valid:v,invalid:I,required:S,loading:k,disabled:E,readonly:T,popup:w,opened:q,adaptive:te,adaptiveSettings:oe,adaptiveTitle:pe,adaptiveSubtitle:so,adaptiveFilter:ht,id:Bt,activeDescendant:$t,"aria-label":Ta,...Oa}=e,Ba=Bt?`${Bt}-listbox`:void 0,xs=Bt?`${Bt}-value`:void 0;return nn(Mf,{children:[nn(vt,{...Oa,id:Bt,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,Dl,{"k-icon-picker":!s&&l}),role:"combobox","aria-haspopup":"listbox","aria-expanded":q?"true":"false","aria-controls":q?Ba:void 0,"aria-activedescendant":q&&$t?$t:void 0,"aria-describedby":q?xs:void 0,"aria-disabled":E?"true":void 0,"aria-label":Ta,tabIndex:0,children:[Oe(be,{children:m}),Oe(lo,{placeholder:x,value:b,showValue:s,valueIconName:l,id:xs}),Oe(Q,{valid:v,invalid:I,loading:k,disabled:E}),Oe(ae,{loading:k,disabled:E}),Oe(xe,{children:c}),Oe(p,{className:"k-input-button",icon:i,size:e.size,fillMode:e.fillMode,"aria-label":x||"Toggle dropdown",tabIndex:-1})]}),q&&w&&Oe(W,{className:"k-list-container k-dropdownlist-popup",containerRole:"region",containerAriaLabel:"Dropdown suggestions",children:w}),te&&Oe(Y,{adaptive:!0,...oe,header:Oe(ve,{actionsEnd:Oe(p,{icon:"check",themeColor:"primary",size:"large",fillMode:"flat","aria-label":"Apply selection"}),filter:ht,inputValue:b,inputPlaceholder:x,title:pe,subtitle:so}),children:Oe("div",{className:"k-list-container",children:Oe(P,{size:"large",children:nn(K,{"aria-label":"Options",children:[Oe(y,{text:"List item"}),Oe(y,{text:"List item"}),Oe(y,{text:"List item"})]})})})})]})};$.states=kf;$.options=Ef;$.className=Dl;$.defaultOptions=sn;$.moduleName=wl;$.folderName=Kl;import{jsx as ZO}from"react/jsx-runtime";import{jsx as aB,jsxs as iB}from"react/jsx-runtime";import{Fragment as uB,jsx as mB,jsxs as cB}from"react/jsx-runtime";import{jsx as NB}from"react/jsx-runtime";import{jsx as kB,jsxs as EB}from"react/jsx-runtime";import{Fragment as PB,jsx as BB,jsxs as RB}from"react/jsx-runtime";import{jsx as zB}from"react/jsx-runtime";import{Fragment as Bf,jsx as Zt,jsxs as _l}from"react/jsx-runtime";var Cf=$.states,yf=$.defaultOptions,Af=$.options,Tf=[{name:"opened",title:"Opened"}],Of=[],Go=e=>{let{modifiers:t,...o}=e,a={},i=_l(Bf,{children:[Zt("div",{className:"k-list-filter",children:Zt(Ze,{})}),Zt(P,{style:{width:300},size:o.size,children:_l(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})})};Go.options=Af;Go.states=Cf;Go.variants=Of;Go.defaultOptions=yf;Go.modifiers=Tf;Go.className=$.className;import{Fragment as sR,jsx as nR}from"react/jsx-runtime";import{Fragment as uR,jsx as cR}from"react/jsx-runtime";import{jsx as hR}from"react/jsx-runtime";import{jsx as ln}from"react/jsx-runtime";var Rf=O.states,Pf=O.defaultOptions,wf=O.options,Kf=[{name:"prefix",title:"Prefix"},{name:"suffix",title:"Suffix"},{name:"clear-button",title:"`Clear` Button"},{name:"spin-button",title:"`Spin` Button"}],Df=[],$o=e=>{let{modifiers:t,...o}=e,a={};return Object.keys(t||{}).forEach(i=>{switch(i){case"prefix":a.prefix=t?.[i]?ln($,{size:o.size,fillMode:"flat",value:"mm"}):void 0;break;case"suffix":a.suffix=t?.[i]?ln(wt,{children:"mm"}):void 0;break;case"clear-button":a.showClearButton=t?.[i];break;case"spin-button":a.showSpinButton=t?.[i];break;default:break}}),ln(kl,{value:"Value",style:{width:300},...o,...a})};$o.options=wf;$o.states=Rf;$o.variants=Df;$o.defaultOptions=Pf;$o.modifiers=Kf;$o.className=O.className;import{Fragment as Ja,jsx as D,jsxs as ie}from"react/jsx-runtime";var zl="k-colorgradient-inputs",_f=[],zf={size:[d.undefined,d.small,d.medium,d.large]},Hl={mode:"rgba"},Vo=e=>{let{mode:t=Hl.mode,size:o,...a}=e;return ie("div",{...a,className:r(zl,"k-hstack"),children:[D("div",{className:"k-vstack",children:D(p,{fillMode:"flat",icon:"caret-alt-expand",className:"k-colorgradient-toggle-mode",size:o,"aria-label":"Toggle color input format"})}),t==="rgba"&&ie(Ja,{children:[ie("div",{className:"k-vstack",children:[D(O,{showSpinButton:!1,showClearButton:!1,value:"132",size:o,"aria-label":"Red channel"}),D("label",{className:"k-colorgradient-input-label",children:"R"})]}),ie("div",{className:"k-vstack",children:[D(O,{showSpinButton:!1,showClearButton:!1,value:"132",size:o,"aria-label":"Green channel"}),D("label",{className:"k-colorgradient-input-label",children:"G"})]}),ie("div",{className:"k-vstack",children:[D(O,{showSpinButton:!1,showClearButton:!1,value:"132",size:o,"aria-label":"Blue channel"}),D("label",{className:"k-colorgradient-input-label",children:"B"})]}),ie("div",{className:"k-vstack",children:[D(O,{showSpinButton:!1,showClearButton:!1,value:"1.00",size:o,"aria-label":"Alpha channel"}),D("label",{className:"k-colorgradient-input-label",children:"A"})]})]}),t==="rgb"&&ie(Ja,{children:[ie("div",{className:"k-vstack",children:[D(O,{showSpinButton:!1,showClearButton:!1,value:"132","aria-label":"Red channel"}),D("label",{className:"k-colorgradient-input-label",children:"R"})]}),ie("div",{className:"k-vstack",children:[D(O,{showSpinButton:!1,showClearButton:!1,value:"132","aria-label":"Green channel"}),D("label",{className:"k-colorgradient-input-label",children:"G"})]}),ie("div",{className:"k-vstack",children:[D(O,{showSpinButton:!1,showClearButton:!1,value:"132","aria-label":"Blue channel"}),D("label",{className:"k-colorgradient-input-label",children:"B"})]})]}),t==="hsva"&&ie(Ja,{children:[ie("div",{className:"k-vstack",children:[D(O,{showSpinButton:!1,showClearButton:!1,value:"132","aria-label":"Hue channel"}),D("label",{className:"k-colorgradient-input-label",children:"H"})]}),ie("div",{className:"k-vstack",children:[D(O,{showSpinButton:!1,showClearButton:!1,value:"132","aria-label":"Saturation channel"}),D("label",{className:"k-colorgradient-input-label",children:"S"})]}),ie("div",{className:"k-vstack",children:[D(O,{showSpinButton:!1,showClearButton:!1,value:"132","aria-label":"Value channel"}),D("label",{className:"k-colorgradient-input-label",children:"V"})]}),ie("div",{className:"k-vstack",children:[D(O,{showSpinButton:!1,showClearButton:!1,value:"1.00","aria-label":"Alpha channel"}),D("label",{className:"k-colorgradient-input-label",children:"A"})]})]}),t==="hsv"&&ie(Ja,{children:[ie("div",{className:"k-vstack",children:[D(O,{showSpinButton:!1,showClearButton:!1,value:"132","aria-label":"Hue channel"}),D("label",{className:"k-colorgradient-input-label",children:"H"})]}),ie("div",{className:"k-vstack",children:[D(O,{showSpinButton:!1,showClearButton:!1,value:"132","aria-label":"Saturation channel"}),D("label",{className:"k-colorgradient-input-label",children:"S"})]}),ie("div",{className:"k-vstack",children:[D(O,{showSpinButton:!1,showClearButton:!1,value:"132","aria-label":"Value channel"}),D("label",{className:"k-colorgradient-input-label",children:"V"})]})]}),t==="hex"&&D(Ja,{children:ie("div",{className:"k-vstack k-flex-1",children:[D(F,{showClearButton:!1,value:"#b88484AA",className:"k-hex-value"}),D("label",{className:"k-colorgradient-input-label",children:"HEX"})]})})]})};Vo.states=_f;Vo.options=zf;Vo.className=zl;Vo.defaultOptions=Hl;import{jsx as uo,jsxs as fo}from"react/jsx-runtime";var Fl="k-colorgradient-color-contrast",Hf=[],Ff={},Uf={},Xo=()=>fo("div",{className:r(Fl,"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"})]})]})]});Xo.states=Hf;Xo.options=Ff;Xo.className=Fl;Xo.defaultOptions=Uf;var Ul="color-gradient",Gl="colorgradient";import{jsx as at,jsxs as qa}from"react/jsx-runtime";var Ri="k-colorgradient",Gf=[n.hover,n.focus,n.readonly,n.disabled],$f={size:[d.undefined,d.small,d.medium,d.large]},Mt={mode:"rgba",readonly:!1,disabled:!1,contrast:!1,gradientStyle:{background:"rgb(255, 0, 0 )"},dragHandleStyle:{top:"50px",left:"73px"},alphaStyle:{background:"linear-gradient(to top, transparent, rgb(255, 0, 0))"},alphaStyleHorizontal:{background:"linear-gradient(to right, transparent, rgb(255, 0, 0))"},canvasOrientation:"horizontal"},Ie=e=>{let{size:t,mode:o=Mt.mode,readonly:a=Mt.readonly,disabled:i=Mt.disabled,gradientStyle:s=Mt.gradientStyle,dragHandleStyle:l=Mt.dragHandleStyle,alphaStyle:m=Mt.alphaStyle,alphaStyleHorizontal:c=Mt.alphaStyleHorizontal,contrast:b=Mt.contrast,dir:x,hover:g,focus:u,hoverHandle:v,focusHandle:I,canvasOrientation:S=Mt.canvasOrientation,role:k,tabIndex:E,...T}=e;return qa("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:x,children:[!S||S==="horizontal"&&qa("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})})}),qa("div",{className:"k-hsv-controls k-hstack",children:[at(Jr,{className:"k-hue-slider",hover:v,focus:I}),o!=="rgb"&&o!=="hsv"&&at(Jr,{className:"k-alpha-slider",hover:v,focus:I,trackStyle:m})]})]}),S==="vertical"&&qa("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})})}),qa("div",{className:"k-hsv-controls k-vstack",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:c})]})]}),at(Vo,{mode:e.mode,size:t}),b&&at(Xo,{})]})};Ie.states=Gf;Ie.options=$f;Ie.className=Ri;Ie.defaultOptions=Mt;Ie.moduleName=Ul;Ie.folderName=Gl;import{jsx as Vf}from"react/jsx-runtime";var Pi=e=>Vf(Ie,{...e});import{jsx as oP}from"react/jsx-runtime";import{jsx as nP}from"react/jsx-runtime";import{jsx as dn}from"react/jsx-runtime";var Xf=Ie.options,Wf=Ie.states,Jf={...Ie.defaultOptions,variant:"rgba"},qf=[{name:"rgba",title:"RGBA"},{name:"rgb",title:"RGB"},{name:"hex",title:"HEX"}],Yf=[],Wo=e=>{let{variant:t,...o}=e;switch(t){case"hex":return dn(Pi,{...o,mode:t});case"rgb":return dn(Pi,{...o,mode:t});default:return dn(Pi,{...o,mode:t})}};Wo.options=Xf;Wo.states=Wf;Wo.variants=qf;Wo.defaultOptions=Jf;Wo.modifiers=Yf;Wo.className=Ie.className;import{jsx as Zf}from"react/jsx-runtime";var pn=e=>Zf("tr",{role:"row",children:e.children});import{jsx as eb}from"react/jsx-runtime";var mn="k-colorpalette-tile",Qf=[n.hover,n.focus,n.selected],jf={},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 eb("td",{...l,role:"gridcell","aria-label":t,"aria-selected":s?"true":void 0,className:r(e.className,mn,M(mn,{hover:a,focus:i,selected:s})),style:m})};Qt.states=Qf;Qt.options=jf;Qt.className=mn;Qt.moduleName=null;Qt.folderName=null;var $l="color-palette",Vl="colorpalette";import{jsx as Ya}from"react/jsx-runtime";var wi="k-colorpalette",tb=[n.disabled],ob={size:[d.undefined,d.small,d.medium,d.large]},Xl={columns:10},De=e=>{let{size:t,palette:o,columns:a=Xl.columns,tileSize:i,disabled:s,...l}=e,m=[];if(o){let c=a||o.columns,b=o.colors?o.colors:o;Array.isArray(b)&&Array.from({length:Math.ceil(b.length/c)},(x,g)=>{let u=[];b.slice(g*c,(g+1)*c).map((I,S)=>{u.push(Ya(Qt,{color:I,tileSize:i},S))});let v=Ya(pn,{children:u},g);m.push(v)})}return Ya("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:Ya("table",{className:"k-colorpalette-table",role:"none",children:Ya("tbody",{children:m.length>0?m:e.children})})})};De.states=tb;De.options=ob;De.className=wi;De.defaultOptions=Xl;De.moduleName=$l;De.folderName=Vl;var Ki=De;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 ab}from"react/jsx-runtime";var Wl=e=>ab(Ki,{palette:Za.basic,...e});import{jsx as FP}from"react/jsx-runtime";import{jsx as WP,jsxs as JP}from"react/jsx-runtime";import{jsx as pb}from"react/jsx-runtime";var ib=De.options,rb=De.states,nb={...De.defaultOptions,variant:"basic"},sb=[{name:"basic",title:"Basic"},{name:"monochrome",title:"Monochrome"}],lb={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}},db=[],Jo=e=>{let{variant:t="basic",...o}=e,a=lb[t];return pb(Wl,{columns:a.columns,palette:a,...o})};Jo.options=ib;Jo.states=rb;Jo.variants=sb;Jo.defaultOptions=nb;Jo.modifiers=db;Jo.className=De.className;var Jl="color-editor",ql="coloreditor";import{jsx as it,jsxs as qo}from"react/jsx-runtime";var Di="k-coloreditor",mb=[n.focus],cb={size:[d.undefined,d.small,d.medium,d.large]},Qa={view:"gradient",palette:Za.office,actionButtons:!0,canvasOrientation:"horizontal"},re=e=>{let{size:t,view:o=Qa.view,palette:a=Qa.palette,color:i,currentColor:s,focus:l,focusView:m,dir:c,group:b,actionButtons:x=Qa.actionButtons,canvasOrientation:g=Qa.canvasOrientation,...u}=e;return qo("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:[qo("div",{className:"k-coloreditor-header k-hstack",children:[it("div",{className:"k-coloreditor-header-actions k-hstack",children:b&&qo(B,{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"}),qo("div",{className:"k-coloreditor-header-actions k-hstack",children:[it(p,{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:s})]})]})]}),it("div",{className:"k-coloreditor-views k-vstack",children:o==="gradient"?it(Ie,{focus:m,size:t,canvasOrientation:g,role:"none",tabIndex:-1}):it(De,{palette:a,size:t})}),x&&qo(Ue,{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"})]})]})};re.states=mb;re.options=cb;re.className=Di;re.defaultOptions=Qa;re.moduleName=Jl;re.folderName=ql;var Yo=re;import{jsx as Sw}from"react/jsx-runtime";import{jsx as Cw}from"react/jsx-runtime";import{jsx as ub}from"react/jsx-runtime";var Yl=e=>ub(Yo,{group:!0,currentColor:"fuchsia",...e});import{jsx as fb}from"react/jsx-runtime";var Zl=e=>fb(Yo,{view:"palette",group:!0,currentColor:"fuchsia",...e});import{jsx as Ql}from"react/jsx-runtime";var bb=re.options,xb=re.states,hb={...re.defaultOptions,variant:"gradient"},Nb=[{name:"gradient",title:"Gradient"},{name:"palette",title:"Palette"}],gb=[],Zo=e=>{let{variant:t,...o}=e;return t==="palette"?Ql(Zl,{...o,color:"white"}):Ql(Yl,{...o,color:"rgba(183, 118 , 118, 1.00)"})};Zo.options=bb;Zo.states=xb;Zo.variants=Nb;Zo.defaultOptions=hb;Zo.modifiers=gb;Zo.className=re.className;var jl="color-picker",ed="colorpicker";import{Fragment as Ib,jsx as rt,jsxs as cn}from"react/jsx-runtime";var td="k-colorpicker",vb=[n.hover,n.focus,n.valid,n.invalid,n.required,n.disabled],Lb={size:[d.undefined,d.small,d.medium,d.large],rounded:[f.undefined,f.none,f.small,f.medium,f.large,f.full],fillMode:[h.undefined,h.solid,h.flat,h.outline]},od={arrowIconName:"chevron-down"},he=e=>{let{size:t,rounded:o,fillMode:a,arrowIconName:i=od.arrowIconName,prefix:s,suffix:l,value:m,placeholder:c,hover:b,focus:x,valid:g,invalid:u,required:v,disabled:I,valueIconName:S,popup:k,opened:E,adaptive:T,adaptiveSettings:w,adaptiveTitle:q,adaptiveSubtitle:te,...oe}=e,pe="colorpicker-popup";return cn(Ib,{children:[cn(vt,{...oe,size:t,rounded:o,fillMode:a,hover:b,focus:x,valid:g,invalid:u,required:v,disabled:I,role:"combobox","aria-haspopup":"dialog","aria-expanded":E?"true":"false","aria-controls":E||T?pe:void 0,"aria-label":"Color picker",tabIndex:0,"aria-disabled":I?"true":void 0,className:r(e.className,td,"k-icon-picker"),children:[rt(be,{children:s}),rt(lo,{placeholder:c,value:m,showValue:!1,valueIcon:rt(Xt,{className:"k-value-icon",color:m,iconName:S}),valueIconName:S}),rt(xe,{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:pe,className:"k-colorpicker-popup",children:k}),T&&rt(Y,{adaptive:!0,id:pe,...w,header:rt(ve,{actionsEnd:rt(p,{icon:"check",themeColor:"primary",size:"large",fillMode:"flat","aria-label":"Apply"}),title:q,subtitle:te}),footer:cn(Wt,{children:[rt(p,{text:"Cancel",size:"large"}),rt(p,{text:"Set",size:"large",themeColor:"primary"})]}),children:rt(re,{canvasOrientation:"vertical",size:"large",actionButtons:!1,group:!0})})]})};he.states=vb;he.options=Lb;he.className=td;he.defaultOptions=od;he.moduleName=jl;he.folderName=ed;var Dt=he;import{jsx as Sb}from"react/jsx-runtime";var _i=e=>Sb(Dt,{...e});import{jsx as p0}from"react/jsx-runtime";import{jsx as b0}from"react/jsx-runtime";import{jsx as g0}from"react/jsx-runtime";import{jsx as S0}from"react/jsx-runtime";import{jsx as C0}from"react/jsx-runtime";import{jsx as O0}from"react/jsx-runtime";import{jsx as bo}from"react/jsx-runtime";var kb=Dt.options,Eb=Dt.states,ad={...Dt.defaultOptions,variant:"color"},Mb=[{name:"color",title:"Color",default:!0},{name:"no color",title:"No color"},{name:"icon",title:"Icon"}],Cb=[{name:"opened",title:"Opened"}],Qo=e=>{let{variant:t,modifiers:o,...a}={...ad,...e},i={};Object.keys(o||{}).forEach(l=>{l==="opened"&&(i.opened=!!o?.[l],i.popup=o?.[l]?bo(re,{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})})}};Qo.options=kb;Qo.states=Eb;Qo.variants=Mb;Qo.defaultOptions=ad;Qo.modifiers=Cb;Qo.className=Dt.className;var un="combobox",id=un;import{Fragment as fn,jsx as ue,jsxs as ja}from"react/jsx-runtime";var rd="k-combobox",yb=[n.hover,n.focus,n.valid,n.invalid,n.loading,n.required,n.disabled,n.readonly],Ab={size:[d.undefined,d.small,d.medium,d.large],rounded:[f.undefined,f.none,f.small,f.medium,f.large,f.full],fillMode:[h.undefined,h.solid,h.flat,h.outline]},bn={separators:!0,showClearButton:!0},Se=e=>{let{size:t,rounded:o,fillMode:a,separators:i=bn.separators,showClearButton:s=bn.showClearButton,prefix:l,suffix:m,value:c,placeholder:b,hover:x,focus:g,valid:u,invalid:v,required:I,loading:S,disabled:k,popup:E,opened:T,readonly:w,adaptive:q,adaptiveSettings:te,adaptiveTitle:oe,adaptiveSubtitle:pe,adaptiveCustomValue:so,id:ht,autocomplete:Bt,activeDescendant:$t,"aria-label":Ta,...Oa}=e,Ba=ht?`${ht}-listbox`:void 0;return ja(fn,{children:[ja(G,{...Oa,size:t,rounded:o,fillMode:a,hover:x,focus:g,valid:u,invalid:v,required:I,loading:S,disabled:k,readonly:w,className:r(e.className,rd),children:[l&&ja(fn,{children:[ue(be,{children:l}),i&&ue(j,{})]}),ue(ce,{id:ht,placeholder:b,value:c,role:"combobox","aria-haspopup":"listbox","aria-expanded":T?"true":"false","aria-controls":T?Ba:void 0,"aria-activedescendant":T&&$t?$t:void 0,"aria-autocomplete":Bt,"aria-invalid":v?"true":void 0,"aria-busy":S?"true":void 0,"aria-label":Ta,disabled:k,readOnly:w}),ue(Q,{valid:u,invalid:v,loading:S,disabled:k}),ue(ae,{loading:S,disabled:k}),s&&ue(me,{loading:S,disabled:k,readonly:w,value:c}),m&&ja(fn,{children:[i&&ue(j,{}),ue(xe,{children:m})]}),ue(p,{className:"k-input-button",icon:"chevron-down",size:t,fillMode:a,"aria-label":"Open popup",tabIndex:-1,disabled:k})]}),T&&E&&ue(W,{className:"k-list-container k-combobox-popup",containerRole:"region",containerAriaLabel:"Combobox suggestions",children:E}),q&&ue(Y,{adaptive:!0,id:ht?`${ht}-adaptive`:void 0,...te,header:ue(ve,{actionsEnd:ue(p,{icon:"check",themeColor:"primary",size:"large",fillMode:"flat","aria-label":"Apply selection"}),input:!0,inputValue:c,inputPlaceholder:b,title:oe,subtitle:pe}),children:ue("div",{className:"k-list-container",children:ue(P,{customValue:so?ue(ot,{text:`Use "${c}"`}):void 0,size:"large",children:ja(K,{"aria-label":oe||"Options",children:[ue(y,{text:"List item"}),ue(y,{text:"List item"}),ue(y,{text:"List item"})]})})})})]})};Se.states=yb;Se.options=Ab;Se.className=rd;Se.defaultOptions=bn;Se.moduleName=un;Se.folderName=id;var Ge=Se;import{jsx as Tb}from"react/jsx-runtime";var nd=e=>Tb(Ge,{...e});import{jsx as uK,jsxs as fK}from"react/jsx-runtime";import{jsx as vK,jsxs as LK}from"react/jsx-runtime";import{jsx as CK,jsxs as yK}from"react/jsx-runtime";import{Fragment as PK,jsx as RK}from"react/jsx-runtime";import{Fragment as HK,jsx as zK}from"react/jsx-runtime";import{jsx as XK,jsxs as WK}from"react/jsx-runtime";import{Fragment as tD,jsx as jK,jsxs as eD}from"react/jsx-runtime";import{jsx as rD}from"react/jsx-runtime";import{jsx as dD}from"react/jsx-runtime";import{jsx as bD,jsxs as xD}from"react/jsx-runtime";import{jsx as ID,jsxs as SD}from"react/jsx-runtime";import{jsx as jt,jsxs as Kb}from"react/jsx-runtime";var Ob=Se.states,Bb=Se.defaultOptions,Rb=Se.options,Pb=[{name:"prefix",title:"Prefix"},{name:"suffix",title:"Suffix"},{name:"opened",title:"Opened"}],wb=[],jo=e=>{let{modifiers:t,...o}=e,a={},i=jt(P,{style:{width:300},size:o.size,children:Kb(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(Rt,{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(nd,{value:"Value",style:{width:300},...o,...a})})};jo.options=Rb;jo.states=Ob;jo.variants=wb;jo.defaultOptions=Bb;jo.modifiers=Pb;jo.className=Se.className;var xn="menu-button",sd=xn;import{jsx as zb}from"react/jsx-runtime";var ld="k-menu-button",Db=[n.hover,n.focus,n.active,n.selected,n.disabled],_b={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:[h.undefined,h.solid,h.flat,h.outline,h.clear,h.link],themeColor:[L.undefined,L.base,L.primary,L.secondary,L.tertiary,L.success,L.warning,L.error,L.info,L.inverse]},hn={showArrow:!0,arrowIconName:"chevron-down"},X=e=>{let{size:t,rounded:o,fillMode:a,themeColor:i,hover:s,focus:l,active:m,selected:c,disabled:b,icon:x,endIcon:g,text:u,showArrow:v=hn.showArrow,arrowIconName:I=hn.arrowIconName,expanded:S,...k}=e;return zb(p,{...k,className:r(e.className,ld),text:u,size:t,rounded:o,fillMode:a,themeColor:i,hover:s,focus:l,active:m,selected:c,disabled:b,ariaDisabled:b||void 0,icon:x,endIcon:g,showArrow:v,arrowIconName:I,"aria-expanded":S?"true":"false",...!u&&x&&!e["aria-label"]&&{"aria-label":"Menu"}})};X.states=Db;X.options=_b;X.className=ld;X.defaultOptions=hn;X.moduleName=xn;X.folderName=sd;import{jsx as o_}from"react/jsx-runtime";import{jsx as n_}from"react/jsx-runtime";import{jsx as p_}from"react/jsx-runtime";import{jsx as f_}from"react/jsx-runtime";var $e="menu",nt=$e;import{jsx as ti,jsxs as dd}from"react/jsx-runtime";var Nn="k-menu-item",Hb=[n.hover,n.focus,n.active,n.selected,n.disabled],Fb={},pd={iconPosition:"before"},Ce=e=>{let{hover:t,focus:o,active:a,selected:i,disabled:s,icon:l,text:m,showArrow:c,arrowIconName:b,iconPosition:x=pd.iconPosition,dir:g,children:u,expanded:v,...I}=e,S=b;return S||(S=g==="rtl"?"chevron-left":"chevron-right"),dd("li",{...I,className:r(e.className,Nn,"k-item",M(Nn,{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:[dd("span",{className:r("k-link k-menu-link"),children:[l&&x==="before"&&ti(N,{className:"k-menu-link-icon",icon:l}),ti("span",{className:"k-menu-link-text",children:m}),l&&x==="after"&&ti(N,{className:"k-menu-link-icon",icon:l}),c&&ti("span",{className:"k-menu-expand-arrow","aria-hidden":"true",children:ti(N,{icon:S})})]}),u]})};Ce.states=Hb;Ce.options=Fb;Ce.className=Nn;Ce.defaultOptions=pd;Ce.moduleName=$e;Ce.folderName=nt;import{jsx as xo,jsxs as md}from"react/jsx-runtime";var gn="k-menu-item",Ub=[n.hover,n.focus,n.active,n.selected,n.disabled],Gb={},vn={dir:"ltr",iconPosition:"before"},Z=e=>{let{hover:t,focus:o,active:a,selected:i,disabled:s,icon:l,text:m,showArrow:c,arrowIconName:b,iconPosition:x=vn.iconPosition,dir:g=vn.dir,children:u,popup:v,expanded:I,actions:S,description:k,...E}=e,T=b;return T||(T=g==="rtl"?"chevron-left":"chevron-right"),md("li",{role:"menuitem",...E,className:r(e.className,gn,"k-item",M(gn,{focus:o,disabled:s})),...c&&{"aria-haspopup":"menu"},...c&&{"aria-expanded":I?"true":"false"},...s&&{"aria-disabled":"true"},...o&&{tabIndex:0},children:[md("span",{className:r("k-link k-menu-link",M("k-menu-link",{hover:t,active:a,selected:i,disabled:s})),children:[l&&x==="before"&&xo(N,{className:"k-menu-link-icon",icon:l}),xo("span",{className:"k-menu-link-text",children:m}),l&&x==="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=Ub;Z.options=Gb;Z.className=gn;Z.defaultOptions=vn;Z.moduleName=$e;Z.folderName=nt;import{jsx as Wb}from"react/jsx-runtime";var cd="k-menu-scroll-wrapper",$b=[],Vb={},Xb={},ho=e=>{let{className:t,children:o,orientation:a,...i}=e;return Wb("div",{...i,className:r(t,cd,{"k-menu-scroll-wrapper-vertical":a==="vertical"}),children:o})};ho.states=$b;ho.options=Vb;ho.className=cd;ho.defaultOptions=Xb;ho.moduleName=$e;ho.folderName=nt;var ud=ho;import{Fragment as Ln,jsx as No,jsxs as zi}from"react/jsx-runtime";var Hi="k-menu",Jb=[],qb={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:b,contextMenu:x,...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:x?"menu":"menubar",...o==="vertical"&&{"aria-orientation":"vertical"},children:t});return zi(Ln,{children:[i?zi(ud,{orientation:o,style:l,dir:e.dir,children:[s==="start"&&zi(Ln,{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(Ln,{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,b]})};ke.states=Jb;ke.options=qb;ke.className=Hi;ke.defaultOptions=Fi;ke.moduleName=$e;ke.folderName=nt;import{jsx as Yb}from"react/jsx-runtime";var In="k-separator",fd={orientation:"horizontal"},ea=e=>{let{orientation:t=fd.orientation,...o}=e;return Yb("li",{...o,className:r(e.className,"k-item",In,{[`${In}-${t}`]:t}),role:"separator"})};ea.className=In;ea.defaultOptions=fd;ea.moduleName=$e;ea.folderName=nt;import{Fragment as G_,jsx as $_}from"react/jsx-runtime";import{jsx as ex}from"react/jsx-runtime";var Sn="k-menu-group",Zb=[],Qb={size:[d.undefined,d.small,d.medium,d.large]},jb={},ye=e=>{let{children:t,size:o,...a}=e;return ex("ul",{role:"menu",...a,className:r(e.className,Sn,C(Sn,{size:o})),children:t})};ye.states=Zb;ye.options=Qb;ye.className=Sn;ye.defaultOptions=jb;ye.moduleName=$e;ye.folderName=nt;import{jsx as j_,jsxs as ez}from"react/jsx-runtime";import{Fragment as tx,jsx as ta,jsxs as ox}from"react/jsx-runtime";var kn=e=>ta(ke,{children:ox(tx,{children:[ta(Ce,{text:"Item 1"}),ta(Ce,{showArrow:!0,arrowIconName:"chevron-down",text:"Item 2"}),ta(Ce,{showArrow:!0,arrowIconName:"chevron-down",text:"Item 3"}),ta(Ce,{text:"Item 4"}),ta(Ce,{text:"Item 5"})]}),...e});import{Fragment as pz,jsx as lz,jsxs as dz}from"react/jsx-runtime";import{Fragment as bz,jsx as fz,jsxs as xz}from"react/jsx-runtime";import{Fragment as Lz,jsx as vz,jsxs as Iz}from"react/jsx-runtime";import{Fragment as Cz,jsx as Mz,jsxs as yz}from"react/jsx-runtime";import{jsx as go,jsxs as sx}from"react/jsx-runtime";var ax={...ke.options,scrollable:{type:"boolean"}},ix=ke.states,bd={...ke.defaultOptions,variant:"horizontal"},rx=[{name:"horizontal",title:"Horizontal"},{name:"vertical",title:"Vertical"}],nx=[{name:"opened",title:"Opened"}],oa=e=>{let{variant:t,modifiers:o,...a}={...bd,...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:sx(ye,{children:[go(Z,{text:"Item 1"}),go(Z,{text:"Item 2"}),go(ea,{}),go(Z,{text:"Item 3"})]})}):null)}),t==="vertical"?go(kn,{...a,...i,orientation:"vertical",style:{width:"200px"}}):go(kn,{...a,...i})};oa.options=ax;oa.states=ix;oa.variants=rx;oa.defaultOptions=bd;oa.modifiers=nx;oa.className=ke.className;import{Fragment as sH,jsx as rH,jsxs as nH}from"react/jsx-runtime";import{jsx as mH}from"react/jsx-runtime";import{Fragment as cx,jsx as Ct,jsxs as xd}from"react/jsx-runtime";var lx=p.states,hd={...p.defaultOptions,variant:"text"},dx=p.options,px=[{name:"icon-only",title:"Icon Only"},{name:"icon-and-text",title:"Icon & Text"},{name:"text",title:"Text"}],mx=[{name:"opened",title:"Opened"}],aa=e=>{let{variant:t,modifiers:o,...a}={...hd,...e},i={},s=Ct(W,{className:"k-menu-popup",children:xd(ye,{size:a.size,children:[Ct(Z,{text:"Menu Item"}),Ct(Z,{text:"Menu Item"}),Ct(Z,{text:"Menu Item"})]})}),l;switch(t){case"icon-only":l=Ct("div",{children:Ct(X,{...a,...i,icon:"star"})});break;case"icon-and-text":l=Ct("div",{children:Ct(X,{...a,...i,icon:"star",children:"Dropdown Button"})});break;default:l=Ct("div",{children:Ct(X,{...a,...i,children:"Dropdown Button"})});break}return xd(cx,{children:[l,o?.opened&&s]})};aa.options=dx;aa.states=lx;aa.variants=px;aa.defaultOptions=hd;aa.modifiers=mx;aa.className=X.className;var En="split-button",Nd=En;import{Fragment as bx,jsx as Mn,jsxs as gd}from"react/jsx-runtime";var Cn="k-split-button",ux=[n.hover,n.focus,n.active,n.selected,n.disabled],fx={size:[d.undefined,d.small,d.medium,d.large],rounded:[f.undefined,f.none,f.small,f.medium,f.large,f.full],fillMode:[h.undefined,h.solid,h.flat,h.outline,h.clear,h.link],themeColor:[L.undefined,L.base,L.primary,L.secondary,L.tertiary,L.success,L.warning,L.error,L.info,L.inverse]},vd={arrowIconName:"chevron-down"},_=e=>{let{size:t,rounded:o,fillMode:a,themeColor:i,hover:s,focus:l,active:m,selected:c,disabled:b,icon:x,endIcon:g,text:u,arrowIconName:v=vd.arrowIconName,popup:I,opened:S,popupId:k,...E}=e;return gd(bx,{children:[gd("div",{...E,className:r(e.className,Cn,"k-button-group",C(Cn,{rounded:o})),children:[Mn(p,{text:u,icon:x,endIcon:g,size:t,rounded:o,fillMode:a,themeColor:i,hover:s,focus:l,active:m,selected:c,disabled:b,...!u&&!e.children&&x&&{"aria-label":"Action"},children:e.children}),Mn(p,{className:"k-split-button-arrow",icon:v,size:t,rounded:o,fillMode:a,disabled:b,ariaDisabled:b||void 0,"aria-label":"Toggle dropdown","aria-expanded":S?"true":"false","aria-controls":S?k:void 0,tabIndex:-1})]}),S&&I&&Mn(W,{className:"k-menu-popup",children:I})]})};_.states=ux;_.options=fx;_.className=Cn;_.defaultOptions=vd;_.moduleName=En;_.folderName=Nd;var yn=_;import{jsx as hx}from"react/jsx-runtime";var xx="k-toolbar-separator",Ee=e=>hx("div",{className:r(xx,e.className,"k-separator")});var vo="toolbar",ia=vo;import{Fragment as An,jsx as H,jsxs as ra}from"react/jsx-runtime";var _t="k-toolbar",Nx=[n.focus],gx={size:[d.undefined,d.small,d.medium,d.large],fillMode:[h.undefined,h.solid,h.outline,h.flat]},vx={scrollButtons:"around"},J=e=>{let{size:t,fillMode:o,focus:a,resizable:i,scrollable:s,scrollButtons:l,scrollingPosition:m,section:c,...b}=e,x=[],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===Da)I.push(H(Da,{...u.props,className:`k-toolbar-button ${u.props.className?u.props.className:""}`},`${v}-${new Date().getTime()}`));else if(u.type===Rt)I.push(H(Rt,{...u.props,className:`k-toolbar-button ${u.props.className?u.props.className:""}`},`${v}-${new Date().getTime()}`));else if(u.type===X)I.push(H(X,{...u.props,className:`k-toolbar-menu-button ${u.props.className?u.props.className:""}`},`${v}-${new Date().getTime()}`));else if(u.type===yn)I.push(H(yn,{...u.props,className:`k-toolbar-split-button ${u.props.className?u.props.className:""}`},`${v}-${new Date().getTime()}`));else if(u.type===B||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(B,{...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===he?I.push(H(he,{...u.props,className:`k-toolbar-colorpicker ${u.props.className?u.props.className:""}`},`${v}-${new Date().getTime()}`)):I.push(u);I.forEach(S=>{x.push(S)})};return e.children&&(Array.isArray(e.children)?e.children:[e.children]).forEach((v,I)=>{g(v,I)}),ra("div",{...b,className:r(e.className,_t,C(_t,{size:t,fillMode:o}),M(_t,{focus:a}),{[`${_t}-resizable`]:i,[`${_t}-scrollable`]:s,[`${_t}-scrollable-overlay`]:s&&l==="hidden",[`${_t}-scrollable-${m}`]:m&&m!=="both",[`${_t}-section`]:c}),role:"toolbar","aria-label":"Toolbar",children:[!s&&x,s&&l==="hidden"&&H("div",{className:"k-toolbar-items k-toolbar-items-scroll",children:x}),s&&l==="start"&&ra(An,{children:[ra(B,{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:x})]}),s&&l==="end"&&ra(An,{children:[H("div",{className:"k-toolbar-items k-toolbar-items-scroll",children:x}),H(Ee,{className:"k-toolbar-button-separator"}),ra(B,{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)&&ra(An,{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:x}),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=Nx;J.options=gx;J.className=_t;J.defaultOptions=vx;J.moduleName=vo;J.folderName=ia;import{jsx as kx}from"react/jsx-runtime";var Tn="k-toolbar-item",Lx=[n.focus],Ix={},Sx={},eo=e=>{let{focus:t,...o}=e;return kx("div",{...o,className:r(e.className,Tn,M(Tn,{focus:t})),children:e.children})};eo.states=Lx;eo.options=Ix;eo.className=Tn;eo.defaultOptions=Sx;eo.moduleName=vo;eo.folderName=ia;import{jsx as Ld}from"react/jsx-runtime";var Id="k-toolbar-popup",Ex=[],Mx={size:[d.undefined,d.small,d.medium,d.large],fillMode:[h.undefined,h.solid,h.outline,h.flat]},Cx={},Lo=e=>{let{size:t,fillMode:o,section:a,...i}=e;return Ld(W,{...i,className:r(e.className,Id),children:a?Ld("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=Ex;Lo.options=Mx;Lo.className=Id;Lo.defaultOptions=Cx;Lo.moduleName=vo;Lo.folderName=ia;var Ui=Lo;import{jsx as m1}from"react/jsx-runtime";import{jsx as b1}from"react/jsx-runtime";import{jsx as g1}from"react/jsx-runtime";import{jsx as S1}from"react/jsx-runtime";import{jsx as A1,jsxs as T1}from"react/jsx-runtime";import{jsx as P1}from"react/jsx-runtime";import{jsx as zt,jsxs as Bx}from"react/jsx-runtime";var yx=_.states,Sd={..._.defaultOptions,variant:"text"},Ax=_.options,Tx=[{name:"icon-only",title:"Icon Only"},{name:"icon-and-text",title:"Icon & Text"},{name:"text",title:"Text"}],Ox=[{name:"opened",title:"Opened"}],na=e=>{let{variant:t,modifiers:o,...a}={...Sd,...e},i={},s=Bx(ye,{size:a.size,children:[zt(Z,{text:"Menu Item"}),zt(Z,{text:"Menu Item"}),zt(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 zt("div",{children:zt(_,{...a,...i,icon:"star"})});case"icon-and-text":return zt("div",{children:zt(_,{...a,...i,icon:"star",children:"Split Button"})});default:return zt("div",{children:zt(_,{...a,...i,children:"Split Button"})})}};na.options=Ax;na.states=yx;na.variants=Tx;na.defaultOptions=Sd;na.modifiers=Ox;na.className=_.className;import{jsx as Io,jsxs as Rx}from"react/jsx-runtime";var kd=e=>Io(J,{children:[Io(p,{children:"Button"},"toolbar-button"),Io(X,{text:"Menu button"},"toolbar-menu-button"),Io(_,{children:"Split button"},"toolbar-split-button"),Rx(B,{children:[Io(p,{className:"k-group-start",icon:"align-left",children:"Left"}),Io(p,{icon:"align-center",children:"Center"}),Io(p,{className:"k-group-end",icon:"align-right",children:"Right"})]},"toolbar-button-group")],...e});import{jsx as pF,jsxs as mF}from"react/jsx-runtime";import{jsx as Ve,jsxs as Ed}from"react/jsx-runtime";var Md=e=>Ve(J,{scrollable:!0,...e,children:[Ve(p,{children:"Button"},"toolbar-button"),Ve(X,{text:"Menu button"},"toolbar-menu-button"),Ve(_,{children:"Split button"},"toolbar-split-button"),Ed(B,{children:[Ve(p,{className:"k-group-start",icon:"align-left",children:"Left"}),Ve(p,{icon:"align-center",children:"Center"}),Ve(p,{className:"k-group-end",icon:"align-right",children:"Right"})]},"toolbar-button-group"),Ve(p,{children:"Button"},"toolbar-button"),Ve(X,{text:"Menu button"},"toolbar-menu-button"),Ve(_,{children:"Split button"},"toolbar-split-button"),Ed(B,{children:[Ve(p,{className:"k-group-start",icon:"align-left",children:"Left"}),Ve(p,{icon:"align-center",children:"Center"}),Ve(p,{className:"k-group-end",icon:"align-right",children:"Right"})]},"toolbar-button-group")],...e});import{jsx as Xe,jsxs as Cd}from"react/jsx-runtime";var yd=({scrollingPosition:e="start",...t})=>Xe(J,{scrollable:!0,scrollButtons:"hidden",scrollingPosition:e,...t,children:[Xe(p,{children:"Button"},"toolbar-button"),Xe(X,{text:"Menu button"},"toolbar-menu-button"),Xe(_,{children:"Split button"},"toolbar-split-button"),Cd(B,{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(X,{text:"Menu button"},"toolbar-menu-button"),Xe(_,{children:"Split button"},"toolbar-split-button"),Cd(B,{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")],...t});import{Fragment as Px,jsx as _e,jsxs as Gi}from"react/jsx-runtime";var Ad=({fillMode:e,size:t,...o})=>Gi(Px,{children:[_e(J,{section:!0,fillMode:e,size:t,children:[_e(p,{fillMode:e,size:t,children:"Button"},"toolbar-button"),Gi(B,{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(_,{fillMode:e,size:t,children:"Split button"},"toolbar-split-button"),_e(p,{fillMode:e,size:t,children:"Button"},"toolbar-button"),_e(Ee,{}),_e(X,{text:"Menu button",fillMode:e,size:t},"toolbar-menu-button"),Gi(B,{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 $F,jsx as UF,jsxs as GF}from"react/jsx-runtime";import{Fragment as t2,jsx as jF,jsxs as e2}from"react/jsx-runtime";import{jsx as to}from"react/jsx-runtime";var wx=J.options,Kx=J.states,Td={...J.defaultOptions,variant:"default"},Dx=[{name:"default",title:"Default"},{name:"scrollable",title:"Scrollable"},{name:"overlay",title:"Overlay"},{name:"responsive",title:"Responsive"}],_x=[],sa=e=>{let{variant:t,...o}={...Td,...e};switch(t){case"responsive":return to("div",{children:to(Ad,{style:{width:"583px"},...o})});case"overlay":return to("div",{children:to(yd,{style:{width:"583px"},...o,scrollingPosition:"start",scrollButtons:"hidden"})});case"scrollable":return to("div",{children:to(Md,{style:{width:"583px"},...o})});default:return to("div",{children:to(kd,{style:{width:"583px"},...o})})}};sa.options=wx;sa.states=Kx;sa.variants=Dx;sa.defaultOptions=Td;sa.modifiers=_x;sa.className=J.className;var On="autocomplete",Od=On;import{Fragment as Bn,jsx as Ne,jsxs as oi}from"react/jsx-runtime";var Bd="k-autocomplete",zx=[n.hover,n.focus,n.valid,n.invalid,n.required,n.disabled,n.loading,n.readonly],Hx={size:[d.undefined,d.small,d.medium,d.large],rounded:[f.undefined,f.none,f.small,f.medium,f.large,f.full],fillMode:[h.undefined,h.solid,h.flat,h.outline]},Rn={separators:!0,showClearButton:!0},xt=e=>{let{size:t,rounded:o,fillMode:a,separators:i=Rn.separators,showClearButton:s=Rn.showClearButton,prefix:l,suffix:m,value:c,placeholder:b,hover:x,focus:g,valid:u,invalid:v,required:I,loading:S,disabled:k,popup:E,opened:T,readonly:w,adaptive:q,adaptiveSettings:te,adaptiveTitle:oe,adaptiveSubtitle:pe,adaptiveCustomValue:so,id:ht,autocomplete:Bt,activeDescendant:$t,"aria-label":Ta,...Oa}=e,Ba=ht?`${ht}-listbox`:void 0;return oi(Bn,{children:[oi(G,{...Oa,size:t,rounded:o,fillMode:a,hover:x,focus:g,valid:u,invalid:v,required:I,loading:S,disabled:k,readonly:w,className:r(e.className,Bd),children:[l&&oi(Bn,{children:[Ne(be,{children:l}),i&&Ne(j,{})]}),Ne(ce,{placeholder:b,value:c,role:"combobox","aria-haspopup":"listbox","aria-expanded":T?"true":"false","aria-controls":T?Ba:void 0,"aria-activedescendant":T&&$t?$t:void 0,"aria-autocomplete":Bt,"aria-invalid":v?"true":void 0,"aria-busy":S?"true":void 0,"aria-label":Ta,disabled:k,readOnly:w}),Ne(Q,{valid:u,invalid:v,loading:S,disabled:k}),Ne(ae,{loading:S,disabled:k}),s&&Ne(me,{loading:S,disabled:k,readonly:w,value:c}),m&&oi(Bn,{children:[i&&Ne(j,{}),Ne(xe,{children:m})]})]}),T&&E&&Ne(W,{className:"k-list-container k-autocomplete-popup",containerRole:"region",containerAriaLabel:"Autocomplete suggestions",children:E}),q&&Ne(Y,{adaptive:!0,...te,header:Ne(ve,{actionsEnd:Ne(p,{icon:"check",themeColor:"primary",size:"large",fillMode:"flat","aria-label":"Apply selection"}),input:!0,inputValue:c,inputPlaceholder:b,title:oe,subtitle:pe}),children:Ne("div",{className:"k-list-container",children:Ne(P,{customValue:so?Ne(ot,{text:`Use "${c}"`}):void 0,size:"large",children:oi(K,{"aria-label":"Options",children:[Ne(y,{text:"List item"}),Ne(y,{text:"List item"}),Ne(y,{text:"List item"})]})})})})]})};xt.states=zx;xt.options=Hx;xt.className=Bd;xt.defaultOptions=Rn;xt.moduleName=On;xt.folderName=Od;var yt=xt;import{jsx as Fx}from"react/jsx-runtime";var Rd=e=>Fx(yt,{id:A("ac"),"aria-label":"Search",...e});import{jsx as G2,jsxs as $2}from"react/jsx-runtime";import{jsx as q2}from"react/jsx-runtime";import{Fragment as oU,jsx as tU}from"react/jsx-runtime";import{Fragment as dU,jsx as lU}from"react/jsx-runtime";import{jsx as bU,jsxs as xU}from"react/jsx-runtime";import{jsx as IU,jsxs as SU}from"react/jsx-runtime";import{jsx as AU,jsxs as TU}from"react/jsx-runtime";import{jsx as wU}from"react/jsx-runtime";import{jsx as So,jsxs as Wx}from"react/jsx-runtime";var Ux=F.states,Gx=F.defaultOptions,$x=F.options,Vx=[{name:"prefix",title:"Prefix"},{name:"suffix",title:"Suffix"},{name:"opened",title:"Opened"}],Xx=[],la=e=>{let{modifiers:t,...o}=e,a={},i=So(P,{style:{width:300},size:o.size,children:Wx(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(gt,{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(Rd,{value:"Value",style:{width:300},...o,...a})};la.options=$x;la.states=Ux;la.variants=Xx;la.defaultOptions=Gx;la.modifiers=Vx;la.className=xt.className;import{Fragment as Zx,jsx as st,jsxs as Qx}from"react/jsx-runtime";var Pd="k-imageeditor-toolbar",Jx=[],qx={},Yx={},da=e=>{let{toolbarItems:t,adaptive:o,disabled:a,...i}=e;return st(J,{...i,className:r(e.className,Pd),fillMode:"flat",children:t??Qx(Zx,{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(xt,{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"})]})})};da.states=Jx;da.options=qx;da.className=Pd;da.defaultOptions=Yx;import{Fragment as eh,jsx as Be,jsxs as th}from"react/jsx-runtime";var Pn="k-imageeditor-sidebar",jx={scrollable:!1},wd=e=>{let{sidebarItems:t,activeTool:o,disabled:a,adaptive:i,scrollable:s=jx.scrollable,scrollingPosition:l,...m}=e,c=i?"k-separator k-separator-vertical":"k-separator";return Be("div",{...m,className:r(e.className,Pn,{[`${Pn}-scrollable`]:s,[`${Pn}-scrollable-${l}`]:l&&l!=="both"}),children:Be("div",{className:"k-imageeditor-sidebar-items",role:"toolbar","aria-label":"Tools",children:t??th(eh,{children:[Be(p,{fillMode:"flat",togglable:!0,icon:"image-resize","aria-label":"Resize",selected:o==="Resize",disabled:a}),Be(p,{fillMode:"flat",togglable:!0,icon:"crop","aria-label":"Crop",selected:o==="Crop",disabled:a}),Be(p,{fillMode:"flat",togglable:!0,icon:"rotate","aria-label":"Rotate",selected:o==="Rotate",disabled:a}),Be("div",{className:c}),Be(p,{fillMode:"flat",togglable:!0,icon:"free-text","aria-label":"Text",selected:o==="Text",disabled:a}),Be(p,{fillMode:"flat",togglable:!0,icon:"shapes","aria-label":"Shapes",selected:o==="Shapes",disabled:a}),Be("div",{className:c}),Be(p,{fillMode:"flat",togglable:!0,icon:"drop-half-pixelated","aria-label":"Blur",selected:o==="Blur",disabled:a}),Be(p,{fillMode:"flat",togglable:!0,icon:"sliders-horizontal","aria-label":"Adjustments",selected:o==="Adjustments",disabled:a}),Be(p,{fillMode:"flat",togglable:!0,icon:"circles-three-intersecting","aria-label":"Filters",selected:o==="Filters",disabled:a}),Be("div",{className:c}),Be(p,{fillMode:"flat",togglable:!0,icon:"frame-corners","aria-label":"Frame",selected:o==="Frame",disabled:a}),Be(p,{fillMode:"flat",togglable:!0,icon:"circle-half-tilted","aria-label":"Shadow",selected:o==="Shadow",disabled:a})]})})})};var ai="loader",$i=ai;import{Fragment as wn,jsx as Kd,jsxs as Vi}from"react/jsx-runtime";var Kn="k-loader",oh={pulsing:"pulsing-2","infinite-spinner":"spinner-3","converging-spinner":"spinner-4"},ah=[],ih={size:[d.undefined,d.small,d.medium,d.large],themeColor:[L.undefined,L.base,L.primary,L.secondary,L.tertiary]},Dd={animation:"pulsing"},ne=e=>{let{size:t,themeColor:o,animation:a=Dd.animation,...i}=e,s=Kd("span",{className:"k-loader-segment"});return Kd("div",{...i,className:r(e.className,Kn,{[`k-loader-${oh[a]||a}`]:a},C(Kn,{size:t,themeColor:o})),role:"status","aria-label":i["aria-label"]||"Loading",children:Vi("div",{className:"k-loader-canvas",children:[a==="pulsing"&&Vi(wn,{children:[s,s]}),a==="infinite-spinner"&&Vi(wn,{children:[s,s,s]}),a==="converging-spinner"&&Vi(wn,{children:[s,s,s,s]})]})})};ne.states=ah;ne.options=ih;ne.className=Kn;ne.defaultOptions=Dd;ne.moduleName=ai;ne.folderName=$i;var _d=ne;import{jsx as Dn,jsxs as zd}from"react/jsx-runtime";var _n="k-loader-container",rh=[],nh={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 zd("div",{...l,className:r(e.className,_n,C(_n,{size:t}),{[`k-loader-${i}`]:i}),role:"status","aria-live":"polite","aria-label":l["aria-label"]||"Loading",children:[Dn(rl,{className:"k-loader-container-overlay"}),zd("div",{className:r("k-loader-container-inner",{"k-loader-container-panel":s}),children:[Dn(_d,{size:t,themeColor:o,animation:a}),Dn("div",{className:"k-loader-container-label",children:"Loading..."})]})]})};ko.states=rh;ko.options=nh;ko.className=_n;ko.defaultOptions=Xi;ko.moduleName=ai;ko.folderName=$i;import{jsx as y3}from"react/jsx-runtime";import{jsx as B3}from"react/jsx-runtime";import{jsx as K3}from"react/jsx-runtime";import{jsx as H3}from"react/jsx-runtime";import{jsx as zn}from"react/jsx-runtime";var sh=ne.options,lh=ne.states,dh={...ne.defaultOptions,variant:"infinite-spinner"},ph=[{name:"infinite-spinner",title:"Infinite"},{name:"pulsing",title:"Pulsing"},{name:"converging-spinner",title:"Converging"}],mh=[],pa=e=>{let{variant:t,...o}=e;switch(t){case"pulsing":return zn(ne,{animation:"pulsing",...o});case"converging-spinner":return zn(ne,{animation:"converging-spinner",...o});default:return zn(ne,{animation:"infinite-spinner",...o})}};pa.options=sh;pa.states=lh;pa.variants=ph;pa.defaultOptions=dh;pa.modifiers=mh;pa.className=ne.className;var Hd="image-editor",Fd="imageeditor",Wi={width:494,height:307},Ji={width:326,height:203};import{Fragment as Ud,jsx as At,jsxs as ii}from"react/jsx-runtime";var Hn="k-imageeditor",ch=[],uh={},fh={},se=e=>{let{toolbarItems:t,actionPane:o,sidebarItems:a,activeTool:i,placeholder:s,contentHeight:l,exporting:m,adaptive:c,sidebarScrollable:b,sidebarScrollingPosition:x,children:g,...u}=e,v=!!s,I=At("div",{className:"k-imageeditor-canvas-container",children:s??At("div",{className:"k-imageeditor-canvas",children:g})}),S=o&&At("div",{className:"k-imageeditor-action-pane",children:o}),k=At(wd,{sidebarItems:a,activeTool:i,disabled:v,adaptive:c,scrollable:b,scrollingPosition:x});return ii("div",{role:"application","aria-label":"Image Editor",...u,className:r(e.className,Hn,{[`${Hn}-adaptive`]:c}),children:[At("div",{className:"k-imageeditor-header",children:At(da,{toolbarItems:t,adaptive:c,disabled:v})}),At("div",{className:"k-imageeditor-content",style:{height:l},children:c?ii(Ud,{children:[I,S,k]}):ii(Ud,{children:[k,S,I]})}),m&&ii("div",{className:"k-loader-container k-loader-top",role:"status","aria-live":"polite","aria-label":"Exporting",children:[At(ut,{className:"k-loader-container-overlay"}),ii("div",{className:"k-loader-container-inner k-loader-container-panel",children:[At(ne,{animation:"pulsing",themeColor:"base",size:"medium","aria-label":"Exporting"}),At("div",{className:"k-loader-container-label",children:"Exporting"})]})]})]})};se.states=ch;se.options=uh;se.className=Hn;se.defaultOptions=fh;se.moduleName=Hd;se.folderName=Fd;import{Fragment as qi,jsx as oo,jsxs as ri}from"react/jsx-runtime";var Fn="k-upload-dropzone",bh=[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=ri(qi,{children:[oo(N,{icon:"upload"}),"Uploading..."]});break;case"done":c=ri(qi,{children:[oo(N,{icon:"check"}),"Done"]});break;case"failed":c=ri(qi,{children:[oo(N,{icon:"exclamation-circle"}),"Done"]});break;default:c=oo(qi,{});break}return ri("div",{...m,className:r(e.className,Fn,"k-dropzone",M(Fn,{hover:t})),children:[ri("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=bh;Yi.className=Fn;var Un="upload",Gd=Un;import{jsx as Zi,jsxs as Vd}from"react/jsx-runtime";var Gn="k-upload",xh=[n.hover,n.disabled],hh={},Xd={actionsLayout:"end"},$d="upload-files-list",ge=e=>{let{async:t,empty:o,actions:a,actionsLayout:i=Xd.actionsLayout,hover:s,status:l,disabled:m,buttonText:c,...b}=e,x=!!e.children;return Vd("div",{...b,className:r(e.className,Gn,M(Gn,{disabled:m}),{"k-upload-async":t,"k-upload-empty":o}),children:[Zi(Yi,{status:l,hover:s,disabled:m,hasFiles:x,filesId:$d,buttonText:c}),x&&Zi("ul",{className:"k-upload-files",role:"list",id:$d,children:e.children}),a&&x&&Vd(Js,{alignment:i,orientation:"horizontal",children:[Zi(p,{className:"k-clear-selected",children:"Clear"}),Zi(p,{themeColor:"primary",className:"k-upload-selected",children:"Upload"})]})]})};ge.states=xh;ge.options=hh;ge.className=Gn;ge.defaultOptions=Xd;ge.moduleName=Un;ge.folderName=Gd;var ni="progressbar",Qi=ni;import{jsx as Vn,jsxs as $n}from"react/jsx-runtime";var lt="k-progressbar",Nh=[n.disabled,n.indeterminate],gh={orientation:["horizontal","vertical"]},Eo={indeterminate:!1,label:!0,labelPosition:"start",orientation:"horizontal",reverse:!1,value:"0"},Re=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:b,style:x,ariaLabel:g,...u}=e;return $n("div",{...u,className:r(e.className,lt,M(lt,{disabled:t}),{[`${lt}-${l}`]:l,[`${lt}-indeterminate`]:a,[`${lt}-reverse`]:m}),style:{...x,"--kendo-progressbar-value":c,[l==="horizontal"?"height":"width"]:l==="horizontal"?o:b},role:"progressbar","aria-label":g||"progress","aria-valuenow":a?void 0:Number(c),"aria-valuemin":0,"aria-valuemax":100,children:[Vn("span",{className:r("k-progress-status-wrap",{[`k-progress-${s}`]:s&&!a}),children:i&&$n("span",{className:"k-progress-status",children:[c,"%"]})}),!a&&Vn("div",{className:"k-progressbar-value k-selected",children:Vn("span",{className:r("k-progress-status-wrap",{[`k-progress-${s}`]:s}),children:i&&$n("span",{className:"k-progress-status",children:[e.value,"%"]})})})]})};Re.states=Nh;Re.options=gh;Re.className=lt;Re.defaultOptions=Eo;Re.moduleName=ni;Re.folderName=Qi;var Wd=Re;import{jsx as Xn}from"react/jsx-runtime";var Jd="k-chunk-progressbar",vh=(e,t)=>t<=e-1,Lh=[n.disabled,n.indeterminate],Ih={},ji={chunkCount:5,orientation:"horizontal",progress:0},ma=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 Xn("div",{...c,className:r(e.className,lt,Jd,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:Xn("ul",{className:"k-progressbar-chunks k-reset",children:[...Array(o)].map((b,x)=>Xn("li",{className:r("k-progressbar-chunk",{"k-first":x===0,"k-last":x===[...Array(o)].length-1,"k-selected":vh(s,x)})},x))})})};ma.states=Lh;ma.options=Ih;ma.className=Jd;ma.defaultOptions=ji;ma.moduleName=ni;ma.folderName=Qi;import{jsx as Sh}from"react/jsx-runtime";var si=e=>Sh(Wd,{...e});import{jsx as z5}from"react/jsx-runtime";import{jsx as ao}from"react/jsx-runtime";var kh=Re.options,Eh=Re.states,qd={...Re.defaultOptions,variant:"start"},Mh=[{name:"start",title:"Label start"},{name:"center",title:"Label center"},{name:"end",title:"Label end"},{name:"empty",title:"No label"}],Ch=[],ca=e=>{let{variant:t,modifiers:o,...a}={...qd,...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(si,{...a,...i,labelPosition:"end",value:"50"})});case"center":return ao("div",{...s,children:ao(si,{...a,...i,labelPosition:"center",value:"50"})});case"empty":return ao("div",{...s,children:ao(si,{...a,...i,label:!1,value:"50"})});default:return ao("div",{...s,children:ao(si,{...a,...i,labelPosition:"start",value:"50"})})}};ca.options=kh;ca.states=Eh;ca.variants=Mh;ca.defaultOptions=qd;ca.modifiers=Ch;ca.className=Re.className;import{jsx as Wn,jsxs as Ah}from"react/jsx-runtime";var yh="k-file-info",Jn=e=>{let{name:t,size:o,validationMsg:a,...i}=e;return Ah("div",{...i,className:r(e.className,yh),children:[t&&Wn("span",{className:"k-file-name",children:t}),o&&Wn("span",{className:"k-file-size",children:o}),a&&Wn("span",{className:"k-file-validation-message","aria-live":"polite",children:a})]})};import{Fragment as Oh,jsx as Ht,jsxs as er}from"react/jsx-runtime";var Th="k-file",ze=e=>{let{status:t,progress:o,name:a,icon:i,size:s,state:l,validationMsg:m,...c}=e;return Ht("li",{...c,className:r(e.className,Th,{[`k-file-${t}`]:t}),role:"listitem",tabIndex:0,children:er("div",{className:"k-file-single",children:[Ht(Re,{className:r({"k-hidden":t!=="progress"}),value:o,label:!1}),er("span",{className:"k-file-icon-wrapper",children:[Ht(N,{className:"k-file-icon",icon:i,size:"xxlarge"}),l&&Ht("span",{className:"k-file-state",children:l})]}),Ht(Jn,{name:a,size:s,validationMsg:m}),Ht("div",{className:"k-upload-actions",children:t==="progress"?er(Oh,{children:[er("span",{className:"k-upload-pct",children:[o,"%"]}),Ht(p,{icon:"pause",fillMode:"flat",size:"xsmall",className:"k-upload-action","aria-label":"Pause upload",tabIndex:-1}),Ht(p,{icon:"cancel",fillMode:"flat",size:"xsmall",className:"k-upload-action","aria-label":"Cancel upload",tabIndex:-1})]}):Ht(p,{icon:"x",fillMode:"flat",size:"xsmall",className:"k-upload-action","aria-label":"Remove file",tabIndex:-1})})]})})};import{Fragment as bG,jsx as uG,jsxs as fG}from"react/jsx-runtime";import{Fragment as Bh,jsx as qn,jsxs as Rh}from"react/jsx-runtime";var li=e=>qn(ge,{async:!0,children:Rh(Bh,{children:[qn(ze,{name:"Image_With_Very_Very_Very_Very_Very_Long_Name1.png",icon:"file-image",size:"51.23 KB"}),qn(ze,{name:"Image2.jpg",icon:"file-image",size:"106.43 KB"})]}),...e});import{Fragment as EG,jsx as SG,jsxs as kG}from"react/jsx-runtime";import{jsx as Ph}from"react/jsx-runtime";var Yn=e=>Ph(ge,{async:!0,empty:!0,...e});import{Fragment as RG,jsx as BG,jsxs as PG}from"react/jsx-runtime";import{Fragment as zG,jsx as _G,jsxs as HG}from"react/jsx-runtime";import{jsx as Ft,jsxs as tr}from"react/jsx-runtime";var wh=ge.options,Kh=ge.states,Yd={...ge.defaultOptions,variant:"empty"},Dh=[{name:"empty",title:"Empty"},{name:"upload",title:"Upload"},{name:"uploading",title:"Uploading"},{name:"success",title:"Success"},{name:"failed",title:"Failed"}],_h=[],ua=e=>{let{variant:t,...o}={...Yd,...e};switch(t){case"success":return tr(li,{status:"done",style:{width:"586px"},...o,children:[Ft(ze,{status:"success",validationMsg:"File(s) uploaded successfully.",name:"Image1.png",icon:"file-image"}),Ft(ze,{status:"success",validationMsg:"File(s) uploaded successfully.",name:"Image2.png",icon:"file-image"})]});case"failed":return tr(li,{status:"failed",style:{width:"586px"},...o,children:[Ft(ze,{status:"error",validationMsg:"File type not allowed.",name:"Movie1.mkv",icon:"file-image"}),Ft(ze,{status:"error",validationMsg:"File type not allowed.",name:"Video2.mkv",icon:"file-image"})]});case"uploading":return tr(li,{status:"uploading",style:{width:"586px"},...o,children:[Ft(ze,{progress:"50",status:"progress",name:"Document1.txt",icon:"file-pdf",size:"328.92 KB"}),Ft(ze,{progress:"70",status:"progress",name:"Document2.txt",icon:"file-pdf",size:"225.68 KB"})]});case"upload":return tr(li,{actions:!0,status:"upload",style:{width:"586px"},...o,children:[Ft(ze,{name:"Image1.png",icon:"file-image",size:"51.23 KB"}),Ft(ze,{name:"Image2.jpg",icon:"file-image",size:"106.43 KB"})]});default:return Ft(Yn,{async:!0,status:"upload",style:{width:"586px"},...o})}};ua.options=wh;ua.states=Kh;ua.variants=Dh;ua.defaultOptions=Yd;ua.modifiers=_h;ua.className=ge.className;import{Fragment as u6,jsx as m6,jsxs as c6}from"react/jsx-runtime";import{jsx as fa,jsxs as Zd}from"react/jsx-runtime";var Qd="k-imageeditor-pane",zh=[],Hh={},Fh={},fe=e=>{let{title:t,actions:o,adaptive:a,confirmDisabled:i,children:s,...l}=e;return Zd("div",{...l,className:r(e.className,Qd),children:[Zd("div",{className:"k-imageeditor-pane-header",children:[a&&fa(p,{fillMode:"flat",icon:"x","aria-label":"Close",title:"Close"}),fa("div",{className:"k-imageeditor-pane-title",children:t}),a?fa(p,{fillMode:"flat",icon:"check",disabled:i,"aria-label":"Confirm",title:"Confirm"}):fa(p,{fillMode:"flat",icon:"x","aria-label":"Close",title:"Close"})]}),fa("div",{className:"k-imageeditor-pane-content",children:s}),!a&&o&&fa(Ue,{alignment:"end",className:"k-imageeditor-pane-footer",children:o})]})};fe.states=zh;fe.options=Hh;fe.className=Qd;fe.moduleName=null;fe.folderName=null;fe.defaultOptions=Fh;import{jsx as Vh}from"react/jsx-runtime";var Zn="k-imageeditor-option-preview",Uh=[n.hover,n.focus,n.selected],Gh={},$h={},Tt=e=>{let{label:t,hover:o,focus:a,selected:i,children:s,...l}=e;return Vh("div",{...l,className:r(e.className,Zn,M(Zn,{hover:o,focus:a,selected:i})),role:"button","aria-pressed":i?"true":"false",children:s??t})};Tt.states=Uh;Tt.options=Gh;Tt.className=Zn;Tt.moduleName=null;Tt.folderName=null;Tt.defaultOptions=$h;import{jsx as jd}from"react/jsx-runtime";var or="k-imageeditor-option-list",Qn={scrollable:!1,scrollingPosition:"start"},ba=e=>{let{scrollable:t=Qn.scrollable,scrollingPosition:o=Qn.scrollingPosition,children:a,...i}=e;return jd("div",{...i,className:r(e.className,or,{[`${or}-scrollable`]:t,[`${or}-scrollable-${o}`]:o&&o!=="both"}),children:jd("div",{className:"k-imageeditor-option-list-items",children:a})})};ba.className=or;ba.moduleName=null;ba.folderName=null;ba.defaultOptions=Qn;import{Fragment as Wh,jsx as ep,jsxs as Jh}from"react/jsx-runtime";var Xh={},di=e=>{let{label:t,style:o,children:a,imageSrc:i}=e;return Jh(Wh,{children:[ep("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&&ep("span",{className:"k-imageeditor-preview-thumbnail-label",children:t})]})};di.moduleName=null;di.folderName=null;di.defaultOptions=Xh;import{jsx as qh}from"react/jsx-runtime";var Pe=e=>{let{imageSrc:t,adaptive:o,style:a,...i}=e;return qh("canvas",{role:"img","aria-label":"Image being edited",...o?Ji:Wi,...i,style:{...t&&{backgroundImage:`url('${t}')`},backgroundSize:"cover",...a}})};Pe.moduleName=null;Pe.folderName=null;import{Fragment as tp,jsx as Ut,jsxs as op}from"react/jsx-runtime";var ap={variant:"crop"},xa=e=>{let{variant:t=ap.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 op(tp,{children:[o&&Ut("div",{className:"k-imageeditor-crop-grid"}),a&&op(tp,{children:[Ut("span",{className:`${i} k-resize-nw`}),Ut("span",{className:`${i} k-resize-ne`}),Ut("span",{className:`${i} k-resize-sw`}),Ut("span",{className:`${i} k-resize-se`})]}),Ut("span",{className:`${s} k-resize-n`}),Ut("span",{className:`${s} k-resize-s`}),Ut("span",{className:`${s} k-resize-w`}),Ut("span",{className:`${s} k-resize-e`})]})};xa.moduleName=null;xa.folderName=null;xa.defaultOptions=ap;import{jsx as ip}from"react/jsx-runtime";var Yh="k-rotate-handle",jn=e=>ip("span",{...e,className:r(e.className,Yh),children:ip(N,{icon:"rotate"})});jn.moduleName=null;jn.folderName=null;import{jsx as F6}from"react/jsx-runtime";var rp="form",np="forms";import{Fragment as sp,jsx as ar,jsxs as jh}from"react/jsx-runtime";var ir="k-form",Zh=[],Qh={size:[d.undefined,d.small,d.medium,d.large]},es={layout:"basic",tag:"form"},U=e=>{let{size:t,orientation:o,layout:a=es.layout,formButtons:i,cols:s,gutters:l,tag:m=es.tag,children:c,style:b}=e,x=m,g=r(e.className,ir,C(ir,{size:t}),{[`${ir}-${o}`]:o}),u=jh(sp,{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},...b},children:c}):ar(sp,{children:c}),i&&ar("div",{className:"k-form-buttons",children:i})]}),{role:v,"aria-labelledby":I,"aria-label":S,id:k}=e;return ar(x,{className:g,role:v,"aria-labelledby":I,"aria-label":S,id:k,children:u})};U.states=Zh;U.options=Qh;U.className=ir;U.defaultOptions=es;U.moduleName=rp;U.folderName=np;var lp="label",dp="label";import{jsx as pp,jsxs as aN}from"react/jsx-runtime";var ts="k-label",eN=[n.disabled],tN={},oN={},io=e=>{let{disabled:t,optional:o,info:a,text:i,children:s,...l}=e;return aN("label",{...l,className:r(e.className,ts,M(ts,{disabled:t})),children:[i||s,o&&pp("span",{className:"k-label-optional",children:"(Optional)"}),a&&pp("span",{className:"k-field-info",children:a})]})};io.states=eN;io.options=tN;io.className=ts;io.defaultOptions=oN;io.moduleName=lp;io.folderName=dp;import{jsx as sN}from"react/jsx-runtime";var mp="k-form-hint",iN=[],rN={},nN={},dt=e=>{let{text:t,children:o,...a}=e;return sN("div",{...a,className:r(e.className,mp),children:t||o})};dt.states=iN;dt.options=rN;dt.className=mp;dt.defaultOptions=nN;import{jsx as mN}from"react/jsx-runtime";var cp="k-form-error",lN=[],dN={},pN={},pt=e=>{let{text:t,children:o,...a}=e;return mN("div",{...a,className:r(e.className,cp),children:t||o})};pt.states=lN;pt.options=dN;pt.className=cp;pt.defaultOptions=pN;import{jsx as rr,jsxs as up}from"react/jsx-runtime";var os="k-form-field",cN=[n.disabled],V=e=>{let{editorId:t,label:o,orientation:a,optional:i,editor:s,hint:l,error:m,info:c,disabled:b,dir:x,colSpan:g,...u}=e;return up("div",{...u,className:r(os,e.className,M(os,{disabled:b}),{[`k-col-span-${g}`]:g}),dir:x,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"}),up("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})]})]})};V.states=cN;V.className=os;import{Fragment as uN,jsx as as,jsxs as fN}from"react/jsx-runtime";var fp="k-form-fieldset",Me=e=>{let{legend:t,layout:o,cols:a,gutters:i,colSpan:s}=e;return fN("fieldset",{className:r(fp,{[`k-col-span-${s}`]:s}),children:[t&&as("legend",{className:"k-form-legend",children:t}),o==="grid"?as("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}):as(uN,{children:e.children})]})};Me.className=fp;var Mo="radio",ha=Mo;import{jsx as bp}from"react/jsx-runtime";var nr="k-radio",bN=[n.hover,n.focus,n.valid,n.invalid,n.required,n.disabled,n.checked],xN={size:[d.undefined,d.small,d.medium,d.large]},hN={},We=e=>{let{id:t,checked:o,hover:a,focus:i,disabled:s,invalid:l,valid:m,required:c,size:b,...x}=e;return bp("span",{className:"k-radio-wrap",children:bp("input",{...x,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:b}),M(nr,{hover:a,focus:i,disabled:s,invalid:l,valid:m,checked:o}))})})};We.states=bN;We.options=xN;We.className=nr;We.defaultOptions=hN;We.moduleName=Mo;We.folderName=ha;var mt=We;import{jsx as vN}from"react/jsx-runtime";var xp="k-radio-list",NN=[],gN={},hp={layout:"vertical"},le=e=>{let{layout:t=hp.layout,...o}=e;return vN("ul",{...o,className:r(e.className,xp,{[`k-list-${t}`]:t}),role:"radiogroup",children:e.children})};le.states=NN;le.options=gN;le.className=xp;le.defaultOptions=hp;le.moduleName=Mo;le.folderName=ha;import{jsx as kN}from"react/jsx-runtime";var Np="k-radio-list-item",LN=[],IN={},SN={},de=e=>{let{...t}=e;return kN("li",{...t,className:r(e.className,Np),role:"none",children:e.children})};de.states=LN;de.options=IN;de.className=Np;de.defaultOptions=SN;de.moduleName=Mo;de.folderName=ha;import{jsx as A9}from"react/jsx-runtime";import{Fragment as EN,jsx as gp,jsxs as MN}from"react/jsx-runtime";var Je=({children:e,id:t,...o})=>MN(EN,{children:[gp(mt,{...o,id:t}),gp("label",{className:"k-radio-label",htmlFor:t,children:e})]});import{Fragment as D9,jsx as K9,jsxs as _9}from"react/jsx-runtime";import{Fragment as $9,jsx as U9,jsxs as G9}from"react/jsx-runtime";import{Fragment as q9,jsx as J9,jsxs as Y9}from"react/jsx-runtime";import{Fragment as t7,jsx as e7,jsxs as o7}from"react/jsx-runtime";import{Fragment as d7,jsx as l7,jsxs as p7}from"react/jsx-runtime";import{jsx as f7}from"react/jsx-runtime";import{jsx as RN}from"react/jsx-runtime";var yN=mt.options,AN=mt.states,TN=mt.defaultOptions,ON=[],BN=[],Na=e=>RN(Je,{id:A("radio"),name:"value",...e,children:"Label"});Na.options=yN;Na.states=AN;Na.variants=ON;Na.defaultOptions=TN;Na.modifiers=BN;Na.className=mt.className;import{jsx as ct,jsxs as vp}from"react/jsx-runtime";var PN=le.options,wN=le.states,KN={...le.defaultOptions,variant:"vertical"},DN=[{name:"vertical",title:"Vertical"},{name:"horizontal",title:"Horizontal"}],_N=[],ga=e=>{let{variant:t,...o}=e;return t==="horizontal"?vp(le,{layout:"horizontal",...o,children:[ct(de,{children:ct(Je,{id:A("rb"),name:"value",defaultChecked:!0,children:"Label"})}),ct(de,{children:ct(Je,{id:A("rb"),name:"value",children:"Label"})}),ct(de,{children:ct(Je,{id:A("rb"),name:"value",children:"Label"})})]}):vp(le,{...o,children:[ct(de,{children:ct(Je,{id:A("rb"),name:"value",defaultChecked:!0,children:"Label"})}),ct(de,{children:ct(Je,{id:A("rb"),name:"value",children:"Label"})}),ct(de,{children:ct(Je,{id:A("rb"),name:"value",children:"Label"})})]})};ga.options=PN;ga.states=wN;ga.variants=DN;ga.defaultOptions=KN;ga.modifiers=_N;ga.className=le.className;import{Fragment as Y7,jsx as q7,jsxs as Z7}from"react/jsx-runtime";import{Fragment as n4,jsx as r4,jsxs as s4}from"react/jsx-runtime";import{Fragment as f4,jsx as u4,jsxs as b4}from"react/jsx-runtime";var Lp="date-input",Ip="dateinput";import{jsx as pi,jsxs as UN}from"react/jsx-runtime";var Sp="k-dateinput",zN=[n.hover,n.focus,n.valid,n.invalid,n.required,n.disabled,n.loading,n.readonly],HN={size:[d.undefined,d.small,d.medium,d.large],rounded:[f.undefined,f.none,f.small,f.medium,f.large,f.full],fillMode:[h.undefined,h.solid,h.flat,h.outline]},FN={},qe=e=>{let{size:t,rounded:o,fillMode:a,value:i,placeholder:s,hover:l,focus:m,valid:c,invalid:b,required:x,loading:g,disabled:u,readonly:v,showClearButton:I,showSpinButton:S,id:k,"aria-label":E,"aria-describedby":T,...w}=e;return UN(G,{...w,size:t,rounded:o,fillMode:a,hover:l,focus:m,valid:c,invalid:b,required:x,loading:g,disabled:u,readonly:v,className:r(e.className,Sp),children:[pi(ce,{id:k,placeholder:s,value:i,disabled:u,"aria-label":E,"aria-describedby":T,"aria-invalid":b?"true":void 0}),pi(Q,{valid:c,invalid:b,loading:g,disabled:u}),pi(ae,{loading:g,disabled:u}),I&&pi(me,{loading:g,disabled:u,readonly:v,value:i}),S&&pi(kt,{className:"k-input-spinner",size:t,fillMode:a,disabled:u})]})};qe.states=zN;qe.options=HN;qe.className=Sp;qe.defaultOptions=FN;qe.moduleName=Lp;qe.folderName=Ip;var is=qe;import{jsx as GN}from"react/jsx-runtime";var kp=e=>GN(is,{...e});import{jsx as A4}from"react/jsx-runtime";import{jsx as qN}from"react/jsx-runtime";var $N=qe.options,VN=qe.states,XN=qe.defaultOptions,WN=[{name:"spin-button",title:"`Spin` Button"}],JN=[],va=e=>{let{modifiers:t,...o}=e,a={};return Object.keys(t||{}).forEach(i=>{i==="spin-button"&&(a.showSpinButton=!!t?.[i])}),qN(kp,{value:"2/04/2021",style:{width:"300px"},...o,...a})};va.options=$N;va.states=VN;va.variants=JN;va.defaultOptions=XN;va.modifiers=WN;va.className=qe.className;var Ep="masked-textbox",Mp="maskedtextbox";import{Fragment as Cp,jsx as ro,jsxs as rs}from"react/jsx-runtime";var yp="k-maskedtextbox",YN=[n.hover,n.focus,n.valid,n.invalid,n.required,n.disabled,n.loading,n.readonly],ZN={size:[d.undefined,d.small,d.medium,d.large],rounded:[f.undefined,f.none,f.small,f.medium,f.large,f.full],fillMode:[h.undefined,h.solid,h.flat,h.outline]},ns={showClearButton:!0,separators:!0},Ye=e=>{let{size:t,rounded:o,fillMode:a,separators:i=ns.separators,showClearButton:s=ns.showClearButton,prefix:l,suffix:m,value:c,placeholder:b,hover:x,focus:g,valid:u,invalid:v,required:I,loading:S,disabled:k,readonly:E,id:T,"aria-label":w,"aria-describedby":q,...te}=e;return rs(G,{...te,size:t,rounded:o,fillMode:a,hover:x,focus:g,valid:u,invalid:v,required:I,loading:S,disabled:k,readonly:E,className:r(e.className,yp),children:[l&&rs(Cp,{children:[ro(be,{children:l}),i&&ro(j,{})]}),ro(ce,{id:T,placeholder:b,value:c,disabled:k,"aria-label":w,"aria-describedby":q,"aria-invalid":v?"true":void 0}),ro(Q,{valid:u,invalid:v,loading:S,disabled:k}),ro(ae,{loading:S,disabled:k}),s&&ro(me,{loading:S,disabled:k,readonly:E,value:c}),m&&rs(Cp,{children:[i&&ro(j,{}),ro(xe,{children:m})]})]})};Ye.states=YN;Ye.options=ZN;Ye.className=yp;Ye.defaultOptions=ns;Ye.moduleName=Ep;Ye.folderName=Mp;var La=Ye;import{jsx as QN}from"react/jsx-runtime";var Ap=e=>QN(La,{...e});import{Fragment as e8,jsx as j4}from"react/jsx-runtime";import{Fragment as n8,jsx as r8}from"react/jsx-runtime";import{jsx as p8}from"react/jsx-runtime";import{jsx as f8}from"react/jsx-runtime";import{jsx as ss}from"react/jsx-runtime";var jN=Ye.states,eg=Ye.defaultOptions,tg=Ye.options,og=[{name:"prefix",title:"Prefix"},{name:"suffix",title:"Suffix"},{name:"clear-button",title:"`Clear` Button"}],ag=[],Ia=e=>{let{modifiers:t,...o}=e,a={};return Object.keys(t||{}).forEach(i=>{switch(i){case"prefix":a.prefix=t?.[i]?ss($,{size:o.size,value:"Choose",fillMode:"flat"}):void 0;break;case"suffix":a.suffix=t?.[i]?ss(N,{icon:"lock"}):void 0;break;case"clear-button":a.showClearButton=t?.[i];break;default:break}}),ss(Ap,{value:"Value",style:{width:300},...o,...a})};Ia.options=tg;Ia.states=jN;Ia.variants=ag;Ia.defaultOptions=eg;Ia.modifiers=og;Ia.className=Ye.className;var ls="switch",Tp=ls;import{jsx as sr,jsxs as Op}from"react/jsx-runtime";var no="k-switch",ig=[n.hover,n.focus,n.disabled,n.readonly,n.checked],rg={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]},ng={},He=e=>{let{checked:t,onLabel:o,offLabel:a,size:i,trackRounded:s,thumbRounded:l,hover:m,focus:c,disabled:b,readonly:x,...g}=e;return Op("span",{...g,className:r(e.className,no,C(no,{size:i}),M(no,{hover:m,focus:c,disabled:b,readonly:x}),{[`${no}-on`]:t,[`${no}-off`]:!t}),role:"switch","aria-checked":t?"true":"false",tabIndex:b?void 0:0,"aria-disabled":b?"true":void 0,"aria-readonly":x?"true":void 0,children:[Op("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}))})})]})};He.states=ig;He.options=rg;He.className=no;He.defaultOptions=ng;He.moduleName=ls;He.folderName=Tp;import{jsx as _8}from"react/jsx-runtime";import{jsx as U8}from"react/jsx-runtime";import{jsx as X8}from"react/jsx-runtime";import{jsx as Y8}from"react/jsx-runtime";import{jsx as Bp}from"react/jsx-runtime";var sg=He.options,lg=He.states,dg={...He.defaultOptions,variant:"on"},pg=[{name:"on",title:"On"},{name:"off",title:"Off"}],mg=[],Sa=e=>{let{variant:t,...o}=e;return t==="off"?Bp(He,{checked:!1,onLabel:"On",offLabel:"Off",...o}):Bp(He,{checked:!0,onLabel:"On",offLabel:"Off",...o})};Sa.options=sg;Sa.states=lg;Sa.variants=pg;Sa.defaultOptions=dg;Sa.modifiers=mg;Sa.className=He.className;var ps="textarea",Rp=ps;import{Fragment as Pp,jsx as mi,jsxs as ms}from"react/jsx-runtime";var wp="k-textarea",cg=[n.hover,n.focus,n.valid,n.invalid,n.required,n.disabled],ug={size:[d.undefined,d.small,d.medium,d.large],rounded:[f.undefined,f.none,f.small,f.medium,f.large,f.full],fillMode:[h.undefined,h.solid,h.flat,h.outline]},ka={flow:"vertical",affixesOrientation:"horizontal",resize:"both",prefixSeparator:!0,suffixSeparator:!0},Fe=e=>{let{size:t,rounded:o,fillMode:a,prefixSeparator:i=ka.prefixSeparator,suffixSeparator:s=ka.prefixSeparator,affixesOrientation:l=ka.affixesOrientation,flow:m=ka.flow,resize:c=ka.resize,prefix:b,suffix:x,rows:g,value:u,placeholder:v,hover:I,focus:S,valid:k,invalid:E,required:T,disabled:w,id:q,"aria-label":te,"aria-describedby":oe,...pe}=e;return ms(G,{...pe,size:t,rounded:o,fillMode:a,hover:I,focus:S,valid:k,invalid:E,required:T,disabled:w,className:r(e.className,wp,{"!k-flex-col":m==="vertical","!k-flex-row":m==="horizontal"}),children:[b&&ms(Pp,{children:[mi(be,{className:r({"!k-align-items-start":m===l}),direction:l,children:b}),i&&mi(j,{direction:m==="horizontal"?"vertical":"horizontal"})]}),mi(Ha,{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":te,"aria-describedby":oe,"aria-invalid":E?"true":void 0}),x&&ms(Pp,{children:[s&&mi(j,{direction:m==="horizontal"?"vertical":"horizontal"}),mi(xe,{className:r({"!k-align-items-start":m===l}),direction:l,children:x})]})]})};Fe.states=cg;Fe.options=ug;Fe.className=wp;Fe.defaultOptions=ka;Fe.moduleName=ps;Fe.folderName=Rp;import{jsx as h$}from"react/jsx-runtime";import{Fragment as S$,jsx as I$}from"react/jsx-runtime";import{Fragment as A$,jsx as y$}from"react/jsx-runtime";import{jsx as R$}from"react/jsx-runtime";import{jsx as lr}from"react/jsx-runtime";var fg=Fe.options,bg=Fe.states,Kp={...Fe.defaultOptions,variant:"vertical"},xg=[{name:"vertical",title:"Flow vertical"},{name:"horizontal",title:"Flow horizontal"}],hg=[{name:"prefix",title:"Prefix"},{name:"suffix",title:"Suffix"}],Ea=e=>{let{variant:t,modifiers:o,...a}={...Kp,...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(Fe,{flow:"horizontal",placeholder:"Enter text...",style:{width:300},...a,...i}):lr(Fe,{flow:"vertical",placeholder:"Enter text...",style:{width:300},...a,...i})};Ea.options=fg;Ea.states=bg;Ea.variants=xg;Ea.defaultOptions=Kp;Ea.modifiers=hg;Ea.className=Fe.className;import{Fragment as aV,jsx as oV,jsxs as iV}from"react/jsx-runtime";import{Fragment as Sg,jsx as we,jsxs as Ma}from"react/jsx-runtime";var Ng=U.options,gg=U.states,vg={...U.defaultOptions,variant:"vertical"},Lg=[{name:"horizontal",title:"Horizontal"},{name:"vertical",title:"Vertical"}],Ig=[],Ca=e=>{let{variant:t,size:o,...a}=e,i=Ma(Me,{legend:"Form Legend",children:[we(V,{label:"Label",editor:we(F,{size:o})}),we(V,{label:"Label",hint:"Hint text",editor:we($,{value:"Dropdown List",size:o})}),we(V,{label:"City",editor:Ma("ul",{className:"k-radio-list k-list-horizontal",children:[Ma("li",{className:"k-radio-list-item",children:[we(We,{checked:!0,size:o}),we("label",{className:"k-radio-label",children:"Label"})]}),Ma("li",{className:"k-radio-list-item",children:[we(We,{size:o}),we("label",{className:"k-radio-label",children:"Label"})]}),Ma("li",{className:"k-radio-list-item",children:[we(We,{size:o}),we("label",{className:"k-radio-label",children:"Label"})]})]})})]}),s=Ma(Sg,{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})};Ca.options=Ng;Ca.states=gg;Ca.variants=Lg;Ca.defaultOptions=vg;Ca.modifiers=Ig;Ca.className=U.className;import{jsx as Dp,jsxs as yg}from"react/jsx-runtime";var kg=dt.options,Eg=dt.states,_p={...dt.defaultOptions},Mg=[],Cg=[{name:"showHint",title:"Show Hint"}],ya=e=>{let{modifiers:t,...o}={..._p,...e},a=t?.showHint??!0;return yg("div",{style:{display:"flex",flexDirection:"column",gap:"4px"},children:[Dp(F,{placeholder:"Component",style:{width:"200px"}}),a&&Dp(dt,{...o,children:"Hint text"})]})};ya.options=kg;ya.states=Eg;ya.variants=Mg;ya.defaultOptions=_p;ya.modifiers=Cg;ya.className=dt.className;import{jsx as zp,jsxs as Rg}from"react/jsx-runtime";var Ag=pt.options,Tg=pt.states,Hp={...pt.defaultOptions},Og=[],Bg=[{name:"showError",title:"Show Error"}],Aa=e=>{let{modifiers:t,...o}={...Hp,...e},a=t?.showError??!0;return Rg("div",{style:{display:"flex",flexDirection:"column",gap:"4px"},children:[zp(F,{placeholder:"Component",invalid:a,style:{width:"200px"}}),a&&zp(pt,{...o,children:"Error text"})]})};Aa.options=Ag;Aa.states=Tg;Aa.variants=Og;Aa.defaultOptions=Hp;Aa.modifiers=Bg;Aa.className=pt.className;import{Fragment as JV,jsx as WV,jsxs as qV}from"react/jsx-runtime";import{Fragment as rX,jsx as iX,jsxs as nX}from"react/jsx-runtime";import{Fragment as NX,jsx as hX,jsxs as gX}from"react/jsx-runtime";import{Fragment as PX,jsx as RX,jsxs as wX}from"react/jsx-runtime";var us="segmented-control",Fp=us,Up="segmented-control-button",Gp="segmented-control";import{jsx as Kg,jsxs as Dg}from"react/jsx-runtime";var dr="k-segmented-control",Pg=[],wg={size:[d.undefined,d.small,d.medium,d.large],rounded:[f.undefined,f.none,f.small,f.medium,f.large,f.full]},Gt=e=>{let{size:t,rounded:o,stretched:a,children:i,thumbStyles:s,...l}=e;return Dg("div",{...l,className:r(e.className,dr,C(dr,{size:t,rounded:o}),{[`${dr}-stretched`]:a}),role:"group",children:[Kg("div",{className:"k-segmented-control-thumb","aria-hidden":"true",style:s}),i]})};Gt.states=Pg;Gt.options=wg;Gt.className=dr;Gt.moduleName=us;Gt.folderName=Fp;import{jsx as fs,jsxs as Fg}from"react/jsx-runtime";var bs="k-segmented-control-button",_g=[n.selected,n.hover,n.focus,n.disabled],zg={},Hg={},Ot=e=>{let{hover:t,focus:o,selected:a,disabled:i,icon:s,endIcon:l,text:m,iconClassName:c,...b}=e;return Fg("button",{...b,className:r(e.className,bs,M(bs,{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&&fs(N,{className:r(c,"k-segmented-control-button-icon"),icon:s}),(m||e.children)&&fs("span",{className:"k-segmented-control-button-text",children:m||e.children}),l&&fs(N,{className:r(c,"k-segmented-control-button-icon"),icon:l})]})};Ot.states=_g;Ot.options=zg;Ot.className=bs;Ot.defaultOptions=Hg;Ot.moduleName=Up;Ot.folderName=Gp;import{Fragment as ZX,jsx as YX,jsxs as QX}from"react/jsx-runtime";import{Fragment as iW,jsx as aW,jsxs as rW}from"react/jsx-runtime";import{Fragment as mW,jsx as pW,jsxs as cW}from"react/jsx-runtime";import{Fragment as NW,jsx as hW,jsxs as gW}from"react/jsx-runtime";import{Fragment as EW,jsx as kW,jsxs as MW}from"react/jsx-runtime";import{Fragment as BW,jsx as OW,jsxs as RW}from"react/jsx-runtime";import{Fragment as iJ,jsx as aJ,jsxs as rJ}from"react/jsx-runtime";import{Fragment as LJ,jsx as vJ,jsxs as IJ}from"react/jsx-runtime";import{Fragment as PJ,jsx as RJ,jsxs as wJ}from"react/jsx-runtime";import{Fragment as WJ,jsx as XJ,jsxs as JJ}from"react/jsx-runtime";import{Fragment as tq,jsx as eq,jsxs as oq}from"react/jsx-runtime";import{Fragment as mq,jsx as pq,jsxs as cq}from"react/jsx-runtime";import{Fragment as Eq,jsx as kq,jsxs as Mq}from"react/jsx-runtime";import{jsx as Oq}from"react/jsx-runtime";import{jsx as Kq}from"react/jsx-runtime";import{jsx as Fq}from"react/jsx-runtime";import{jsx as Xq}from"react/jsx-runtime";import{jsx as Zq}from"react/jsx-runtime";import{jsx as oY}from"react/jsx-runtime";import{jsx as sY}from"react/jsx-runtime";import{jsx as cY}from"react/jsx-runtime";import{jsx as hY}from"react/jsx-runtime";import{jsx as IY}from"react/jsx-runtime";import{jsx as CY}from"react/jsx-runtime";import{jsx as OY}from"react/jsx-runtime";import{Fragment as Gg,jsx as ee,jsxs as fi}from"react/jsx-runtime";var Ug=({positionX:e=0,positionY:t=0,blur:o=0,spread:a=0,color:i="#000000",opacity:s=100,isPristine:l=e===0&&t===0&&o===0&&a===0&&i==="#000000"&&s===100,adaptive:m,imageSrc:c,...b})=>ee(se,{adaptive:m,activeTool:"Shadow",actionPane:ee(fe,{title:"Shadow",adaptive:m,confirmDisabled:l,actions:fi(Gg,{children:[ee(p,{disabled:l,children:"Reset"}),ee(p,{themeColor:"primary",disabled:l,children:"Apply"})]}),children:fi(U,{tag:"div",children:[ee(V,{label:"Position",editor:fi(Me,{layout:"grid",cols:2,gutters:{cols:"16px"},children:[ee(O,{id:"shadow-position-x",showClearButton:!1,showSpinButton:!1,value:String(e),prefix:ee(Mr,{children:"X"}),"aria-label":"Position X"}),ee(O,{id:"shadow-position-y",showClearButton:!1,showSpinButton:!1,value:String(t),prefix:ee(Mr,{children:"Y"}),"aria-label":"Position Y"})]})}),fi(Me,{layout:"grid",cols:2,gutters:{cols:"16px"},children:[ee(V,{label:"Blur",editorId:"shadow-blur",editor:ee(O,{id:"shadow-blur",showClearButton:!1,showSpinButton:!1,value:String(o),prefix:ee(N,{icon:"blur"})})}),ee(V,{label:"Spread",editorId:"shadow-spread",editor:ee(O,{id:"shadow-spread",showClearButton:!1,showSpinButton:!1,value:String(a),prefix:ee(N,{icon:"brightness-contrast"})})})]}),fi(Me,{layout:"grid",cols:2,gutters:{cols:"16px"},children:[ee(V,{label:"Color",editor:ee(he,{id:"shadow-color",value:i,"aria-label":"Color"})}),ee(V,{label:"Opacity",editorId:"shadow-opacity",editor:ee(O,{id:"shadow-opacity",showClearButton:!1,showSpinButton:!1,value:`${s}%`,prefix:ee(N,{icon:"transparency"})})})]})]})}),children:ee(Pe,{adaptive:m,imageSrc:c,style:{boxShadow:`${e}px ${t}px ${o}px ${a}px color-mix(in srgb, ${i} ${s}%, transparent)`}}),...b});export{Ug as ImageEditorShadow};
|