@progress/kendo-themes-html 14.7.0 → 14.7.1-dev.0
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-toolbar.js +1 -1
- package/dist/cjs/imageeditor/imageeditor.spec.js +1 -1
- package/dist/cjs/imageeditor/templates/imageeditor-adjustments-adaptive.js +1 -1
- package/dist/cjs/imageeditor/templates/imageeditor-adjustments.js +1 -1
- package/dist/cjs/imageeditor/templates/imageeditor-blur-adaptive.js +1 -1
- package/dist/cjs/imageeditor/templates/imageeditor-blur.js +1 -1
- package/dist/cjs/imageeditor/templates/imageeditor-crop-adaptive.js +1 -1
- package/dist/cjs/imageeditor/templates/imageeditor-crop.js +1 -1
- package/dist/cjs/imageeditor/templates/imageeditor-filters-adaptive.js +1 -1
- package/dist/cjs/imageeditor/templates/imageeditor-filters.js +1 -1
- package/dist/cjs/imageeditor/templates/imageeditor-frames-adaptive.js +1 -1
- package/dist/cjs/imageeditor/templates/imageeditor-frames.js +1 -1
- package/dist/cjs/imageeditor/templates/imageeditor-insert-line-adaptive.js +1 -1
- package/dist/cjs/imageeditor/templates/imageeditor-insert-line.js +1 -1
- package/dist/cjs/imageeditor/templates/imageeditor-insert-shape-adaptive.js +1 -1
- package/dist/cjs/imageeditor/templates/imageeditor-insert-shape.js +1 -1
- package/dist/cjs/imageeditor/templates/imageeditor-insert-text-adaptive.js +1 -1
- 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 -1
- package/dist/cjs/imageeditor/templates/imageeditor-pixelate.js +1 -1
- package/dist/cjs/imageeditor/templates/imageeditor-resize-adaptive.js +1 -1
- package/dist/cjs/imageeditor/templates/imageeditor-resize.js +1 -1
- package/dist/cjs/imageeditor/templates/imageeditor-rotate-adaptive.js +1 -1
- package/dist/cjs/imageeditor/templates/imageeditor-rotate.js +1 -1
- package/dist/cjs/imageeditor/templates/imageeditor-shadow-adaptive.js +1 -1
- package/dist/cjs/imageeditor/templates/imageeditor-shadow.js +1 -1
- package/dist/cjs/index.js +3 -3
- 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 -1
- package/dist/esm/imageeditor/templates/imageeditor-adjustments.mjs +1 -1
- package/dist/esm/imageeditor/templates/imageeditor-blur-adaptive.mjs +1 -1
- package/dist/esm/imageeditor/templates/imageeditor-blur.mjs +1 -1
- package/dist/esm/imageeditor/templates/imageeditor-crop-adaptive.mjs +1 -1
- package/dist/esm/imageeditor/templates/imageeditor-crop.mjs +1 -1
- package/dist/esm/imageeditor/templates/imageeditor-filters-adaptive.mjs +1 -1
- package/dist/esm/imageeditor/templates/imageeditor-filters.mjs +1 -1
- package/dist/esm/imageeditor/templates/imageeditor-frames-adaptive.mjs +1 -1
- package/dist/esm/imageeditor/templates/imageeditor-frames.mjs +1 -1
- package/dist/esm/imageeditor/templates/imageeditor-insert-line-adaptive.mjs +1 -1
- package/dist/esm/imageeditor/templates/imageeditor-insert-line.mjs +1 -1
- package/dist/esm/imageeditor/templates/imageeditor-insert-shape-adaptive.mjs +1 -1
- package/dist/esm/imageeditor/templates/imageeditor-insert-shape.mjs +1 -1
- package/dist/esm/imageeditor/templates/imageeditor-insert-text-adaptive.mjs +1 -1
- 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 -1
- package/dist/esm/imageeditor/templates/imageeditor-pixelate.mjs +1 -1
- package/dist/esm/imageeditor/templates/imageeditor-resize-adaptive.mjs +1 -1
- package/dist/esm/imageeditor/templates/imageeditor-resize.mjs +1 -1
- package/dist/esm/imageeditor/templates/imageeditor-rotate-adaptive.mjs +1 -1
- package/dist/esm/imageeditor/templates/imageeditor-rotate.mjs +1 -1
- package/dist/esm/imageeditor/templates/imageeditor-shadow-adaptive.mjs +1 -1
- package/dist/esm/imageeditor/templates/imageeditor-shadow.mjs +1 -1
- package/dist/esm/index.mjs +8 -8
- package/package.json +1 -1
- package/src/imageeditor/imageeditor-toolbar.tsx +15 -16
|
@@ -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 C=(e,t)=>r({[`${e}-xs`]:t.size==="xsmall",[`${e}-sm`]:t.size==="small",[`${e}-md`]:t.size==="medium",[`${e}-lg`]:t.size==="large",[`${e}-xl`]:t.size==="xlarge",[`${e}-xxl`]:t.size==="xxlarge",[`${e}-xxxl`]:t.size==="xxxlarge"},{[`${e}-${t.fillMode}`]:t.fillMode},{[`${e}-${t.themeColor}`]:t.themeColor},{"k-rounded-sm":t.rounded==="small","k-rounded-md":t.rounded==="medium","k-rounded-lg":t.rounded==="large","k-rounded-full":t.rounded==="full","k-rounded-none":t.rounded==="none"}),M=(e,t)=>{let{valid:o,invalid:a,hover:i,focus:s,checked:l,active:m,selected:c,disabled:h,indeterminate:b,loading:g,empty:u,readonly:v,highlighted:I,...S}=t;return r({"k-valid":o,"k-invalid":a,"k-hover":i,"k-focus":s,"k-checked":l,"k-active":m,"k-selected":c,"k-disabled":h,"k-indeterminate":b&&!l,"k-loading":g,"k-empty":u,"k-readonly":v,"k-highlighted":I},Object.keys(S).reduce((k,E)=>(E.startsWith("k-")?k[E]=S[E]:k[`k-${E}`]=S[E],k),{}))};function xs(e,t){if(!t)return{};let o=Array.isArray(t)?t:[t];return Object.fromEntries(o.map(a=>[`k-${a}`,!0]))}var d={undefined:void 0,xsmall:"xsmall",small:"small",medium:"medium",large:"large",xlarge:"xlarge",xxlarge:"xxlarge",xxxlarge:"xxxlarge"},f={undefined:void 0,none:"none",small:"small",medium:"medium",large:"large",full:"full"},x={undefined:void 0,solid:"solid",tint:"tint",flat:"flat",outline:"outline",clear:"clear",link:"link"},gt={undefined:void 0,outline:"outline",solid:"solid",duotone:"duotone"},L={undefined:void 0,inherit:"inherit",base:"base",primary:"primary",secondary:"secondary",tertiary:"tertiary",info:"info",success:"success",warning:"warning",error:"error",inverse:"inverse"},n={open:"open",hover:"hover",focus:"focus",active:"active",selected:"selected",disabled:"disabled",valid:"valid",invalid:"invalid",loading:"loading",required:"required",empty:"empty",indeterminate:"indeterminate",checked:"checked",readonly:"readonly",highlighted:"highlighted",generating:"generating",expanded:"expanded"};var pr={};function A(e){return pr[e]=(pr[e]||0)+1,`k-${e}-${pr[e]}`}import{Fragment as Jp,jsx as hs}from"react/jsx-runtime";var mr="k-font-icon",Vp=[],Xp={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]},Wp={},Pa=e=>{let{size:t,themeColor:o,icon:a,rotate:i,flip:s,...l}=e;return a?hs("span",{...l,className:r(e.className,mr,C(mr,{size:t}),{[`k-i-${a}`]:a,[`k-color-${o}`]:o,[`k-rotate-${i}`]:i,"k-flip-h":s==="h"||s==="both","k-flip-v":s==="v"||s==="both"}),"aria-hidden":"true"}):hs(Jp,{})};Pa.states=Vp;Pa.options=Xp;Pa.className=mr;Pa.defaultOptions=Wp;var Ns=Pa;import{Fragment as Zp,jsx as hi}from"react/jsx-runtime";var cr="k-svg-icon",qp=[],Yp={size:[d.undefined,d.xsmall,d.small,d.medium,d.large,d.xlarge,d.xxlarge,d.xxxlarge],themeColor:[L.undefined,L.base,L.primary,L.secondary,L.tertiary,L.success,L.warning,L.error,L.info],variant:[gt.outline,gt.solid,gt.duotone]},ur={viewBox:"0 0 24 24",variant:gt.outline},wa=e=>{let{size:t,themeColor:o,rotate:a,flip:i,viewBox:s=ur.viewBox,variant:l=ur.variant,icon:m,...c}=e;if(!m)return hi(Zp,{});if(m==="none")return hi("span",{...c,className:r(e.className,cr,C("k-icon",{size:t}),"k-none"),"aria-hidden":"true"});let h=typeof m=="object"&&m.name&&m.name,b=typeof m=="object"?l&&m.variants?.[l]||m.variants?.outline||m.content:void 0;return hi("span",{...c,className:r(e.className,cr,C("k-icon",{size:t}),{[`k-svg-i-${h}`]:h,[`k-color-${o}`]:o,[`k-rotate-${a}`]:a,"k-flip-h":i==="h"||i==="both","k-flip-v":i==="v"||i==="both"}),"aria-hidden":"true",children:hi("svg",{"aria-hidden":!0,focusable:!1,xmlns:"http://www.w3.org/2000/svg",viewBox:typeof m=="object"?m.viewBox:s,dangerouslySetInnerHTML:b!==void 0?{__html:b}:void 0,children:m?void 0:e.children})})};wa.states=qp;wa.options=Yp;wa.className=cr;wa.defaultOptions=ur;var fr=wa;import*as br from"@progress/kendo-svg-icons";var gs="icon",vs="icons";import{useContext as jp}from"react";import{createContext as Qp}from"react";var Ls=Qp({iconsType:"svg"});import{Fragment as Is,jsx as Ka}from"react/jsx-runtime";var Ni="k-icon",em=e=>e.replace(/([-_][a-z0-9])/gi,t=>t.toUpperCase().replace("-","").replace("_","")),tm=[],om={size:[d.undefined,d.xsmall,d.small,d.medium,d.large,d.xlarge,d.xxlarge,d.xxxlarge],themeColor:[L.undefined,L.base,L.primary,L.secondary,L.tertiary,L.success,L.warning,L.error,L.info],variant:[gt.outline,gt.solid,gt.duotone]},gi={viewBox:"0 0 24 24",type:"svg",variant:gt.outline},N=e=>{let{iconsType:t}=jp(Ls),{size:o,themeColor:a,icon:i,type:s=t||gi.type,rotate:l,flip:m,viewBox:c=gi.viewBox,variant:h=gi.variant,...b}=e;if(!i)return Ka(Is,{});if((t||s)==="svg"){if(i==="none")return Ka(fr,{...b,className:r(e.className,Ni),icon:i,size:o,variant:h});let u=br[i]?i:em(`${i}-icon`);return br[u]?Ka(fr,{...b,className:r(e.className,Ni),icon:br[u],size:o,themeColor:a,rotate:l,flip:m,viewBox:c,variant:h}):Ka(Is,{})}return Ka(Ns,{...b,className:r(e.className,Ni),icon:i,size:o,themeColor:a,rotate:l,flip:m})};N.states=tm;N.options=om;N.defaultOptions=gi;N.className=Ni;N.moduleName=gs;N.folderName=vs;var xr="button",Ss=xr;import{Fragment as hr,jsx as Vt,jsxs as ks}from"react/jsx-runtime";var Da="k-button",am=["icon-button"],im=[n.hover,n.focus,n.active,n.selected,n.disabled,n.generating],rm={size:[d.undefined,d.xsmall,d.small,d.medium,d.large],rounded:[f.undefined,f.none,f.small,f.medium,f.large,f.full],fillMode:[x.undefined,x.solid,x.flat,x.outline,x.clear,x.link],themeColor:[L.undefined,L.base,L.primary,L.secondary,L.tertiary,L.success,L.warning,L.error,L.info,L.inverse]},Nr={showArrow:!1,arrowIconName:"chevron-down"},p=e=>{let{as:t="button",size:o,rounded:a,fillMode:i,themeColor:s,showArrow:l=Nr.showArrow,arrowIconName:m=Nr.arrowIconName,variant:c,hover:h,focus:b,active:g,selected:u,disabled:v,togglable:I,ariaDisabled:S,icon:k,endIcon:E,iconSize:T,text:K,iconClassName:Y,className:ae,...ie}=e,pe=k!=null,so=e.children!==void 0;return ks(t,{className:r(ae,Da,xs(Da,c),C(Da,{size:o,rounded:a,fillMode:i,themeColor:s}),M(Da,{hover:h,focus:b,active:g,disabled:v||S,selected:u}),{"k-icon-button":!K&&!so&&pe}),"aria-pressed":I?u?"true":"false":void 0,...ie,"aria-disabled":S?"true":void 0,disabled:v||void 0,children:[typeof k=="string"&&k&&Vt(N,{className:r(Y,"k-button-icon"),icon:k,size:T}),k&&typeof k!="string"&&Vt(hr,{children:k}),K?ks(hr,{children:[K&&Vt("span",{className:"k-button-text",children:K}),e.children]}):e.children&&Vt("span",{className:"k-button-text",children:e.children}),typeof E=="string"&&E&&Vt(N,{className:r(Y,"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=im;p.options=rm;p.variants=am;p.className=Da;p.defaultOptions=Nr;p.moduleName=xr;p.folderName=Ss;import{jsx as nm}from"react/jsx-runtime";var Rt=e=>nm(p,{icon:"folder",...e,"aria-label":e["aria-label"]||"Folder",children:void 0});import{jsx as sm}from"react/jsx-runtime";var _a=e=>sm(p,{icon:"folder",children:"Button",...e});import{jsx as Rv}from"react/jsx-runtime";import{jsx as lm}from"react/jsx-runtime";var vt=e=>lm(p,{children:"Button",...e});import{jsx as gr}from"react/jsx-runtime";var dm=p.options,pm=p.states,mm={...p.defaultOptions,variant:"text"},cm=[{name:"icon-only",title:"Icon Only"},{name:"icon-and-text",title:"Icon & Text"},{name:"text",title:"Text"}],um=[],To=e=>{let{variant:t,...o}=e;switch(t){case"icon-only":return gr(Rt,{...o,icon:"star"});case"icon-and-text":return gr(_a,{...o,icon:"star",children:"Button"});default:return gr(vt,{...o,children:"Button"})}};To.options=dm;To.states=pm;To.variants=cm;To.defaultOptions=mm;To.modifiers=um;To.className=p.className;var vr="button",Es=vr;import{jsx as hm}from"react/jsx-runtime";var za="k-button-group",fm=[n.disabled],bm={fillMode:[x.undefined,x.solid,x.flat,x.outline,x.clear,x.link]},xm={},O=e=>{let{fillMode:t,disabled:o,stretched:a,...i}=e;return hm("div",{role:"group",...i,className:r(e.className,za,C(za,{fillMode:t}),M(za,{disabled:o}),{[`${za}-stretched`]:a}),...o&&{"aria-disabled":"true"},children:e.children})};O.states=fm;O.options=bm;O.className=za;O.defaultOptions=xm;O.moduleName=vr;O.folderName=Es;import{Fragment as sL,jsx as nL,jsxs as lL}from"react/jsx-runtime";import{Fragment as fL,jsx as uL,jsxs as bL}from"react/jsx-runtime";import{Fragment as LL,jsx as vL,jsxs as IL}from"react/jsx-runtime";import{Fragment as yL,jsx as CL,jsxs as AL}from"react/jsx-runtime";import{Fragment as wL,jsx as PL,jsxs as KL}from"react/jsx-runtime";import{Fragment as UL,jsx as FL,jsxs as GL}from"react/jsx-runtime";import{Fragment as qL,jsx as JL,jsxs as YL}from"react/jsx-runtime";import{jsx as Pt,jsxs as Lr}from"react/jsx-runtime";var Nm={...p.options,...O.options},gm=p.states,vm={...p.defaultOptions,...O.defaultOptions,variant:"text-button"},Lm=[{name:"icon-button",title:"Icon Only"},{name:"text-button",title:"Text"},{name:"icon-text-button",title:"Icon Text"}],Im=[],Oo=e=>{let{variant:t,className:o,...a}=e;return t==="icon-button"?Lr(O,{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(O,{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(O,{fillMode:a.fillMode,className:o,children:[Pt(p,{...a,children:"First"}),Pt(p,{...a,children:"Middle"}),Pt(p,{...a,children:"Last"})]})};Oo.options=Nm;Oo.states=gm;Oo.variants=Lm;Oo.defaultOptions=vm;Oo.modifiers=Im;Oo.className=O.className;var Ha="input",vi=Ha;import{jsx as Mm}from"react/jsx-runtime";var Li="k-input",Sm=[n.hover,n.focus,n.valid,n.invalid,n.required,n.disabled,n.loading,n.readonly],km={size:[d.undefined,d.small,d.medium,d.large],rounded:[f.undefined,f.none,f.small,f.medium,f.large,f.full],fillMode:[x.undefined,x.solid,x.flat,x.outline]},Em={},$=e=>{let{hover:t,focus:o,disabled:a,invalid:i,valid:s,loading:l,readonly:m,size:c,rounded:h,fillMode:b,...g}=e;return Mm("span",{...g,className:r(e.className,Li,C(Li,{size:c,rounded:h,fillMode:b}),M(Li,{hover:t,focus:o,disabled:a,invalid:i,valid:s,loading:l,readonly:m}))})};$.states=Sm;$.options=km;$.className=Li;$.defaultOptions=Em;$.moduleName=Ha;$.folderName=vi;import{jsx as Tm}from"react/jsx-runtime";var Ii="k-picker",Cm=[n.hover,n.focus,n.valid,n.invalid,n.required,n.disabled,n.loading,n.readonly],ym={size:[d.undefined,d.small,d.medium,d.large],rounded:[f.undefined,f.none,f.small,f.medium,f.large,f.full],fillMode:[x.undefined,x.solid,x.flat,x.outline]},Am={},Lt=e=>{let{hover:t,focus:o,disabled:a,invalid:i,valid:s,loading:l,readonly:m,size:c,rounded:h,fillMode:b,...g}=e;return Tm("span",{...g,className:r(e.className,Ii,C(Ii,{size:c,rounded:h,fillMode:b}),M(Ii,{hover:t,focus:o,disabled:a,invalid:i,valid:s,loading:l,readonly:m})),children:e.children})};Lt.states=Cm;Lt.options=ym;Lt.className=Ii;Lt.defaultOptions=Am;Lt.moduleName=Ha;Lt.folderName=vi;import{Fragment as Rm,jsx as Ir}from"react/jsx-runtime";var Ms="k-clear-value",Om=[n.disabled,n.loading,n.readonly],Bm={},me=e=>{let{disabled:t,loading:o,readonly:a,value:i}=e;return t||a||o||!i?Ir(Rm,{}):Ir("span",{className:r(e.className,Ms),children:Ir(N,{icon:"x"})})};me.states=Om;me.options=Bm;me.className=Ms;import{jsx as Km}from"react/jsx-runtime";var Sr="k-input-inner",Pm=[],wm={},Si={type:"text",autocomplete:"off",value:"",placeholder:""},ce=e=>{let{value:t=Si.value,type:o=Si.type,placeholder:a=Si.placeholder,autocomplete:i=Si.autocomplete,disabled:s,readOnly:l,...m}=e;return Km("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=Pm;ce.options=wm;ce.className=Sr;import{jsx as Cs,jsxs as zm}from"react/jsx-runtime";var kr="k-input-inner",Dm=[],_m={},lo=e=>{let{value:t,placeholder:o,showValue:a,valueIcon:i,valueIconName:s,...l}=e;return zm("span",{...l,className:r(e.className,kr,C(kr,e)),children:[i,!i&&s&&Cs(N,{className:"k-input-value-icon",icon:s}),a&&!t&&o,a&&t&&Cs("span",{className:"k-input-value-text",children:t})]})};lo.states=Dm;lo.options=_m;lo.className=kr;import{jsx as Um}from"react/jsx-runtime";var Er="k-input-inner",Hm=[],Fm={},ys={value:"",placeholder:""},Fa=e=>{let{value:t=ys.value,placeholder:o=ys.placeholder,rows:a,disabled:i,...s}=e;return Um("textarea",{...s,className:r(e.className,Er,C(Er,e)),placeholder:o,rows:a,defaultValue:t,disabled:i||void 0})};Fa.states=Hm;Fa.options=Fm;Fa.className=Er;import{Fragment as $m,jsx as As}from"react/jsx-runtime";var Ts="k-input-loading-icon",Gm=[n.disabled,n.loading],re=e=>{let{disabled:t,loading:o}=e;return t||!o?As($m,{}):As("span",{className:r(e.className,Ts,"k-icon k-i-loading")})};re.states=Gm;re.className=Ts;import{Fragment as Wm,jsx as Os}from"react/jsx-runtime";var Bs="k-input-validation-icon",Vm=[n.valid,n.invalid,n.disabled,n.loading],Xm={},ee=e=>{let{valid:t,invalid:o,disabled:a,loading:i}=e,s=o?"warning-circle":"check-circle";return a||i||!!!(t||o)?Os(Wm,{}):Os(N,{className:r(Bs),icon:s})};ee.states=Vm;ee.options=Xm;ee.className=Bs;import{Fragment as Ym,jsx as Rs}from"react/jsx-runtime";var Jm="k-input-prefix",qm={direction:"horizontal"},be=e=>{let{direction:t=qm.direction,...o}=e;return e.children?Rs("span",{...o,className:r(Jm,e.className,{[`k-input-prefix-${t}`]:t}),children:e.children}):Rs(Ym,{})};import{Fragment as jm,jsx as Ps}from"react/jsx-runtime";var Zm="k-input-suffix",Qm={direction:"horizontal"},xe=e=>{let{direction:t=Qm.direction,...o}=e;return e.children?Ps("span",{...o,className:r(Zm,e.className,{[`k-input-suffix-${t}`]:t}),children:e.children}):Ps(jm,{})};import{jsx as ZI}from"react/jsx-runtime";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 ws="k-input-separator",oc={direction:"vertical"},te=e=>{let{direction:t=oc.direction,...o}=e;return ac("span",{...o,className:r(ws,e.className,{[`${ws}-${t}`]:t})})};import{Fragment as Ks,jsx as It,jsxs as Mr}from"react/jsx-runtime";var ic=$.states,rc=$.defaultOptions,nc=$.options,sc=[{name:"prefix",title:"Prefix"},{name:"suffix",title:"Suffix"},{name:"clear-button",title:"`Clear` Button"},{name:"validation-icon",title:"Validation Icon"},{name:"separators",title:"Separators"}],lc=[],Bo=e=>{let{modifiers:t,valid:o,invalid:a,loading:i,disabled:s,readonly:l,...m}=e,c=t?.prefix,h=t?.suffix,b=t?.["clear-button"],g=t?.["validation-icon"],u=t?.separators;return Mr($,{...m,valid:o,invalid:a,loading:i,disabled:s,readonly:l,style:{width:300},children:[c&&Mr(Ks,{children:[It(be,{children:It(N,{icon:"lock"})}),u&&It(te,{})]}),It(ce,{placeholder:"Placeholder",value:"Value"}),g&&It(ee,{valid:o,invalid:a,loading:i,disabled:s}),It(re,{loading:i,disabled:s}),b&&It(me,{loading:i,disabled:s,readonly:l,value:"Value"}),h&&Mr(Ks,{children:[u&&It(te,{}),It(xe,{children:It(vt,{size:m.size,fillMode:"clear",children:"Send"})})]})]})};Bo.options=nc;Bo.states=ic;Bo.variants=lc;Bo.defaultOptions=rc;Bo.modifiers=sc;Bo.className=$.className;import{jsx as Ds,jsxs as mc}from"react/jsx-runtime";var _s="k-color-preview",dc=[],pc={},Xt=e=>{let{color:t,iconName:o,...a}=e;return mc("span",{...a,className:r(e.className,_s,{"k-icon-color-preview":o,"k-no-color":!t}),children:[o&&Ds(N,{icon:o,className:"k-color-preview-icon"}),Ds("span",{className:"k-color-preview-mask",style:{backgroundColor:t}})]})};Xt.states=dc;Xt.options=pc;Xt.className=_s;var Cr="popup",zs=Cr;import{jsx as Hs}from"react/jsx-runtime";var Fs="k-animation-container",cc=[],uc={},yr={positionMode:"absolute",shown:!0},St=e=>{let{positionMode:t=yr.positionMode,shown:o=yr.shown,animationStyle:a,offset:i,...s}=e;return Hs("div",{...s,style:{...i,...e.style},className:r(e.className,Fs,{"k-animation-container-shown":o,"k-animation-container-fixed":t==="fixed"}),children:Hs("div",{className:"k-child-animation-container",style:a,children:e.children})})};St.states=cc;St.options=uc;St.className=Fs;St.defaultOptions=yr;St.moduleName=Cr;St.folderName=zs;var Ar="popup",Us=Ar;import{jsx as Gs}from"react/jsx-runtime";var $s="k-popup",fc=[],bc={},Vs={positionMode:"absolute"},J=e=>{let{offset:t,positionMode:o=Vs.positionMode,animationStyle:a,containerClassName:i,containerRole:s,containerAriaLabel:l,...m}=e;return Gs(St,{positionMode:o,offset:t,animationStyle:a,className:i,role:s,"aria-label":l,children:Gs("div",{...m,className:r(e.className,$s),children:e.children})})};J.states=fc;J.options=bc;J.className=$s;J.defaultOptions=Vs;J.moduleName=Ar;J.folderName=Us;var Tr="action-buttons",Xs=Tr;import{jsx as Nc}from"react/jsx-runtime";var ki="k-actions",xc=[],hc={},Or={alignment:"start",orientation:"horizontal"},$e=e=>{let{alignment:t=Or.alignment,orientation:o=Or.orientation,...a}=e;return Nc("div",{...a,className:r(ki,{[`${ki}-${t}`]:t,[`${ki}-${o}`]:o},e.className),children:e.children})};$e.states=xc;$e.options=hc;$e.className=ki;$e.defaultOptions=Or;$e.moduleName=Tr;$e.folderName=Xs;var Ws=$e;import{jsx as vc}from"react/jsx-runtime";var gc="k-actionsheet-footer",Js={alignment:"stretched",orientation:"horizontal"},Wt=e=>{let{alignment:t=Js.alignment,orientation:o=Js.orientation,template:a,as:i=a?"div":$e,...s}=e;return vc(i,{...s,...!a&&{alignment:t,orientation:o},className:r(e.className,gc),children:e.children})};var Br="searchbox",qs=Br;import{jsx as Ua,jsxs as Sc}from"react/jsx-runtime";var Ys="k-searchbox",Lc=[n.hover,n.focus,n.valid,n.invalid,n.required,n.disabled,n.loading],Ic={size:[d.undefined,d.small,d.medium,d.large],rounded:[f.undefined,f.none,f.small,f.medium,f.large,f.full],fillMode:[x.undefined,x.solid,x.flat,x.outline]},Ei={showIcon:!0,showClearButton:!0,icon:"search"},Qe=e=>{let{value:t,placeholder:o,size:a,rounded:i,fillMode:s,hover:l,focus:m,valid:c,invalid:h,required:b,loading:g,disabled:u,showIcon:v=Ei.showIcon,showClearButton:I=Ei.showClearButton,icon:S=Ei.icon,"aria-label":k,...E}=e;return Sc($,{...E,size:a,rounded:i,fillMode:s,hover:l,focus:m,valid:c,invalid:h,required:b,loading:g,disabled:u,className:r(e.className,Ys),children:[v&&Ua(N,{className:"k-input-icon",icon:S}),Ua(ce,{placeholder:o,value:t,"aria-label":k}),Ua(re,{...e}),Ua(ee,{...e}),I&&Ua(me,{...e})]})};Qe.states=Lc;Qe.options=Ic;Qe.className=Ys;Qe.defaultOptions=Ei;Qe.moduleName=Br;Qe.folderName=qs;import{jsx as Ik}from"react/jsx-runtime";var Rr="textbox",Zs=Rr;import{Fragment as Qs,jsx as Jt,jsxs as Pr}from"react/jsx-runtime";var js="k-textbox",kc=[n.hover,n.focus,n.valid,n.invalid,n.required,n.disabled,n.loading,n.readonly],Ec={size:[d.undefined,d.small,d.medium,d.large],rounded:[f.undefined,f.none,f.small,f.medium,f.large,f.full],fillMode:[x.undefined,x.solid,x.flat,x.outline]},Mi={showClearButton:!0,showValidationIcon:!0,separators:!0},U=e=>{let{size:t,rounded:o,fillMode:a,separators:i=Mi.separators,showClearButton:s=Mi.showClearButton,showValidationIcon:l=Mi.showValidationIcon,prefix:m,suffix:c,type:h,value:b,placeholder:g,hover:u,focus:v,valid:I,invalid:S,required:k,loading:E,disabled:T,readonly:K,id:Y,"aria-label":ae,"aria-describedby":ie,...pe}=e;return Pr($,{...pe,size:t,rounded:o,fillMode:a,hover:u,focus:v,valid:I,invalid:S,required:k,loading:E,disabled:T,readonly:K,className:r(e.className,js),children:[m&&Pr(Qs,{children:[Jt(be,{children:m}),i&&Jt(te,{})]}),Jt(ce,{id:Y,placeholder:g,value:b,type:h,disabled:T,"aria-label":ae,"aria-describedby":ie,"aria-invalid":S?"true":void 0}),l&&Jt(ee,{valid:I,invalid:S,loading:E,disabled:T}),Jt(re,{loading:E,disabled:T}),s&&Jt(me,{loading:E,disabled:T,readonly:K,value:b}),c&&Pr(Qs,{children:[i&&Jt(te,{}),Jt(xe,{children:c})]})]})};U.states=kc;U.options=Ec;U.className=js;U.defaultOptions=Mi;U.moduleName=Rr;U.folderName=Zs;var Ga=U;import{jsx as Mc}from"react/jsx-runtime";var el=e=>Mc(Ga,{...e});import{Fragment as Hk,jsx as zk}from"react/jsx-runtime";import{Fragment as Xk,jsx as Vk}from"react/jsx-runtime";import{jsx as Yk}from"react/jsx-runtime";import{jsx as wr}from"react/jsx-runtime";var Cc=U.states,yc=U.defaultOptions,Ac=U.options,Tc=[{name:"prefix",title:"Prefix"},{name:"suffix",title:"Suffix"},{name:"clear-button",title:"`Clear` Button"}],Oc=[],Ro=e=>{let{modifiers:t,...o}=e,a={};return Object.keys(t||{}).forEach(i=>{switch(i){case"prefix":a.prefix=t?.[i]?wr(N,{icon:"lock"}):void 0;break;case"suffix":a.suffix=t?.[i]?wr(vt,{size:o.size,fillMode:"clear",children:"Send"}):void 0;break;case"clear-button":a.showClearButton=t?.[i];break;default:break}}),wr(el,{value:"Value",style:{width:300},...o,...a})};Ro.options=Ac;Ro.states=Cc;Ro.variants=Oc;Ro.defaultOptions=yc;Ro.modifiers=Tc;Ro.className=U.className;import{jsx as qt,jsxs as Kr}from"react/jsx-runtime";var tl="k-actionsheet-titlebar",Bc={},ve=e=>{let{title:t,subtitle:o,actionsStart:a,actionsEnd:i,filter:s,input:l,inputValue:m,inputPlaceholder:c,adaptive:h,titleId:b,children:g,...u}=e;return Kr("div",{...u,className:r(e.className,tl),children:[Kr("div",{className:"k-actionsheet-titlebar-group",children:[a&&qt("div",{className:"k-actionsheet-actions",children:a}),!g&&Kr("div",{className:"k-actionsheet-title",id:b,children:[t&&qt("div",{className:"k-text-center",children:t}),o&&qt("div",{className:"k-actionsheet-subtitle k-text-center",children:o})]}),g&&qt("div",{className:"k-actionsheet-title",id:b,children:g}),i&&qt("div",{className:"k-actionsheet-actions",children:i})]}),(l||s)&&qt("div",{className:"k-actionsheet-titlebar-group k-actionsheet-filter",children:l?qt(U,{value:m,placeholder:c,size:h?"large":"medium","aria-label":t||c||"Input"}):qt(Qe,{placeholder:"Filter",size:h?"large":"medium","aria-label":"Filter options"})})]})};ve.className=tl;ve.defaultOptions=Bc;import{jsx as Dr,jsxs as Kc}from"react/jsx-runtime";var _r="k-actionsheet-view",Rc=[],Pc={},wc={},Po=e=>{let{adaptive:t,animated:o,children:a,header:i,footer:s,titleId:l,...m}=e,c=i?.type===ve&&Dr(ve,{adaptive:t,titleId:l,...i?.props}),h=s?.type===Wt&&Dr(Wt,{...s?.props});return Kc("div",{...m,className:r(e.className,_r,{[`${_r}-animated`]:o}),children:[c,Dr("div",{className:"k-actionsheet-content",children:a}),h]})};Po.states=Rc;Po.options=Pc;Po.className=_r;Po.defaultOptions=wc;var $a="action-sheet",Ci=$a;var zr="overlay",ol=zr;import{jsx as Hc}from"react/jsx-runtime";var al="k-overlay",Dc=[],_c={},zc={},bt=e=>{let{...t}=e;return Hc("div",{...t,className:r(e.className,al),children:e.children})};bt.states=Dc;bt.options=_c;bt.className=al;bt.defaultOptions=zc;bt.moduleName=zr;bt.folderName=ol;var il=bt;import{jsx as yi,jsxs as Gc}from"react/jsx-runtime";var rl="k-actionsheet",Fc=[],Uc={},Va={side:"bottom",fullscreen:!1,adaptive:!1,overlay:!0},Z=e=>{let{side:t=Va.side,fullscreen:o=Va.fullscreen,adaptive:a=Va.adaptive,overlay:i=Va.overlay,template:s,children:l,header:m,footer:c,id:h,...b}=e,g=h&&!s&&m?`${h}-title`:void 0;return Gc("div",{className:"k-actionsheet-container",children:[i&&yi(bt,{}),yi(St,{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:yi("div",{...b,id:h,role:"dialog","aria-modal":i?"true":void 0,"aria-labelledby":g,className:r(e.className,rl,{[`k-actionsheet-${t}`]:o===!1,"k-actionsheet-fullscreen":o===!0,"k-adaptive-actionsheet":a}),children:s||yi(Po,{header:m,footer:c,adaptive:a,titleId:g,...e,children:l})})})]})};Z.states=Fc;Z.options=Uc;Z.className=rl;Z.defaultOptions=Va;Z.moduleName=$a;Z.folderName=Ci;import{jsx as Wc}from"react/jsx-runtime";var nl="k-actionsheet-container",$c=[],Vc={},Xc={},wo=e=>{let{children:t,...o}=e;return Wc("div",{...o,className:nl,children:t})};wo.states=$c;wo.options=Vc;wo.className=nl;wo.defaultOptions=Xc;wo.moduleName=$a;wo.folderName=Ci;import{jsx as Jc}from"react/jsx-runtime";var Hr=e=>{let{...t}=e;return Jc("div",{...t,className:r(e.className,"k-list-ul"),children:e.children})};import{Fragment as Yc,jsx as Xa,jsxs as Fr}from"react/jsx-runtime";var Ur="k-actionsheet-item",qc=[n.hover,n.focus,n.selected,n.disabled],Yt=e=>{let{iconName:t,text:o,description:a,hover:i,focus:s,selected:l,disabled:m,...c}=e;return Fr("span",{...c,className:r(e.className,Ur,M(Ur,{hover:i,focus:s,selected:l,disabled:m})),children:[!e.children&&Xa(Yc,{children:Fr("span",{className:"k-actionsheet-action",children:[t&&Xa("span",{className:"k-icon-wrap",children:Xa(N,{className:"k-actionsheet-item-icon",icon:t})}),Fr("span",{className:"k-actionsheet-item-text",children:[o&&Xa("span",{className:"k-actionsheet-item-title",children:o}),a&&Xa("span",{className:"k-actionsheet-item-description",children:a})]})]})}),e.children]})};Yt.states=qc;Yt.className=Ur;import{jsx as qE,jsxs as YE}from"react/jsx-runtime";import{jsx as eM}from"react/jsx-runtime";import{jsx as iM}from"react/jsx-runtime";import{jsx as lM}from"react/jsx-runtime";import{jsx as Le,jsxs as Gr}from"react/jsx-runtime";var Zc=Z.options,Qc=Z.states,ll={...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"}],Ko=e=>{let{variant:t,modifiers:o,...a}={...ll,...e},i={},s=Gr(Hr,{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(Z,{...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?Gr(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(Z,{...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?Gr(Wt,{alignment:"stretched",children:[Le(p,{text:"Apply",themeColor:"primary"}),Le(p,{text:"Cancel",themeColor:"base"})]}):void 0,children:s})};Ko.options=Zc;Ko.states=Qc;Ko.variants=jc;Ko.defaultOptions=ll;Ko.modifiers=eu;Ko.className=Z.className;var $r="slider",dl=$r;import{jsx as Do,jsxs as Vr}from"react/jsx-runtime";var Wa="k-slider",tu=[n.hover,n.focus,n.active,n.disabled,n.readonly],ou={},je={type:"single",orientation:"horizontal",gradientType:"1d",readonly:!1,disabled:!1,handlePosition:"end",showButtons:!0,showTicks:!0,value:50,min:0,max:100},H=e=>{let{type:t=je.type,orientation:o=je.orientation,gradientType:a=je.gradientType,readonly:i=je.readonly,disabled:s=je.disabled,handlePosition:l=je.handlePosition,showButtons:m=je.showButtons,showTicks:c=je.showTicks,value:h=je.value,min:b=je.min,max:g=je.max,startValue:u,endValue:v,hover:I,focus:S,active:k,trackStyle:E,dir:T,...K}=e,ae=(()=>{if(t==="gradient"&&a==="2d")return"undefined";if(o==="vertical")return"vertical"})(),ie,pe;return o==="horizontal"?(ie=T==="rtl"?"chevron-left":"chevron-right",pe=T==="rtl"?"chevron-right":"chevron-left"):o==="vertical"&&(ie="chevron-up",pe="chevron-down"),Vr("div",{...K,className:r(Wa,e.className,M(Wa,{readonly:i,disabled:s}),{[`k-slider-${o}`]:o,"k-colorgradient-slider":t==="gradient"}),dir:T,children:[m&&Do(p,{className:"k-button-decrease",rounded:"full",icon:pe,tabIndex:-1,title:"Decrease"}),Vr("div",{className:"k-slider-track-wrap",children:[c&&Do("ul",{className:"k-reset k-slider-items","aria-hidden":"true",children:e.children}),Vr("div",{className:"k-slider-track",style:E,children:[Do("div",{className:"k-slider-selection"}),t==="range"&&Do("span",{className:r("k-draghandle","k-draghandle-start",M(Wa,{hover:I,focus:S,active:k})),role:"slider",tabIndex:s?void 0:0,"aria-valuenow":u??b,"aria-valuemin":b,"aria-valuemax":v??g,"aria-orientation":ae,"aria-disabled":s?"true":void 0,"aria-readonly":i?"true":void 0,"aria-label":K["aria-label"]?`${K["aria-label"]} start`:"Range start"}),Do("span",{className:r("k-draghandle",`k-draghandle-${l}`,M(Wa,{hover:I,focus:S,active:k})),role:"slider",tabIndex:s?void 0:0,"aria-valuenow":t==="range"?v??g:h,"aria-valuemin":t==="range"?u??b:b,"aria-valuemax":g,"aria-orientation":ae,"aria-disabled":s?"true":void 0,"aria-readonly":i?"true":void 0,"aria-label":t==="range"?K["aria-label"]?`${K["aria-label"]} end`:"Range end":K["aria-label"]})]})]}),m&&Do(p,{className:"k-button-increase",rounded:"full",icon:ie,tabIndex:-1,title:"Increase"})]})};H.states=tu;H.options=ou;H.className=Wa;H.defaultOptions=je;H.moduleName=$r;H.folderName=dl;import{jsx as pl}from"react/jsx-runtime";var ml="k-tick",au=[],iu={},cl={label:!1},B=e=>{let{style:t,label:o=cl.label,orientation:a,large:i,text:s,...l}=e;return pl("li",{...l,role:"presentation",title:s||"Tick",className:r(e.className,ml,{[`k-tick-${a}`]:a,"k-tick-large":i}),style:t,children:o&&pl("span",{className:"k-label",children:s})})};B.states=au;B.options=iu;B.className=ml;B.defaultOptions=cl;import{Fragment as ru,jsx as et,jsxs as nu}from"react/jsx-runtime";var ul=e=>et(H,{"aria-label":e["aria-label"]||"Slider",children:nu(ru,{children:[et(B,{className:"k-first",label:!0,large:!0,text:"0"}),et(B,{}),et(B,{}),et(B,{}),et(B,{}),et(B,{label:!0,large:!0,text:"5"}),et(B,{}),et(B,{}),et(B,{}),et(B,{}),et(B,{className:"k-last",label:!0,large:!0,text:"10"})]}),...e});import{Fragment as su,jsx as tt,jsxs as lu}from"react/jsx-runtime";var fl=e=>tt(H,{children:lu(su,{children:[tt(B,{className:"k-first",label:!0,large:!0,text:"0"}),tt(B,{}),tt(B,{}),tt(B,{}),tt(B,{}),tt(B,{label:!0,large:!0,text:"5"}),tt(B,{}),tt(B,{}),tt(B,{}),tt(B,{}),tt(B,{className:"k-last",label:!0,large:!0,text:"10"})]}),"aria-label":e["aria-label"]||"Vertical slider",...e,orientation:"vertical"});import{Fragment as YM,jsx as qM,jsxs as ZM}from"react/jsx-runtime";import{Fragment as oC,jsx as tC,jsxs as aC}from"react/jsx-runtime";import{jsx as du}from"react/jsx-runtime";var Xr=e=>du(H,{type:"gradient",showButtons:!1,showTicks:!1,...e,"aria-label":e["aria-label"]||"Color slider"});import{jsx as pu}from"react/jsx-runtime";var Wr=e=>pu(H,{type:"gradient",orientation:"vertical",showButtons:!1,showTicks:!1,...e,"aria-label":e["aria-label"]||"Color slider"});import{Fragment as fC,jsx as uC,jsxs as bC}from"react/jsx-runtime";import{Fragment as vC,jsx as gC,jsxs as LC}from"react/jsx-runtime";import{jsx as kt,jsxs as bl}from"react/jsx-runtime";var mu=H.options,cu=H.states,xl={...H.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}],_o=e=>{let{variant:t,modifiers:o,...a}=e,i=xl.label,s={};Object.keys(o||{}).forEach(m=>{switch(m){case"button":{s.showButtons=!!o?.[m];break}case"label":{i=!!o?.[m];break}case"tick":{s.showTicks=!!o?.[m];break}}});let l={"--kendo-slider-start":0,"--kendo-slider-end":60};return t==="vertical"?bl(fl,{style:{height:"300px",...l},...a,...s,children:[kt(B,{label:i,large:!0,orientation:"vertical",text:"0",style:{position:"absolute",bottom:"0%"}}),kt(B,{label:i,large:!0,orientation:"vertical",text:"2",style:{position:"absolute",bottom:"25%"}}),kt(B,{label:i,large:!0,orientation:"vertical",text:"4",style:{position:"absolute",bottom:"50%"}}),kt(B,{label:i,large:!0,orientation:"vertical",text:"6",style:{position:"absolute",bottom:"75%"}}),kt(B,{label:i,large:!0,orientation:"vertical",text:"8",style:{position:"absolute",bottom:"100%"}})]}):bl(ul,{style:{width:"400px",...l},...a,...s,children:[kt(B,{label:i,large:!0,orientation:"horizontal",text:"0",style:{position:"absolute",left:"0%"}}),kt(B,{label:i,large:!0,orientation:"horizontal",text:"2",style:{position:"absolute",left:"25%"}}),kt(B,{label:i,large:!0,orientation:"horizontal",text:"4",style:{position:"absolute",left:"50%"}}),kt(B,{label:i,large:!0,orientation:"horizontal",text:"6",style:{position:"absolute",left:"75%"}}),kt(B,{label:i,large:!0,orientation:"horizontal",text:"8",style:{position:"absolute",left:"100%"}})]})};_o.options=mu;_o.states=cu;_o.variants=uu;_o.defaultOptions=xl;_o.modifiers=fu;_o.className=H.className;import{jsx as hl,jsxs as gu}from"react/jsx-runtime";var Nl="k-spin-button",hu=[],Nu={size:[d.undefined,d.small,d.medium,d.large],fillMode:[x.undefined,x.solid,x.flat,x.outline,x.clear,x.link]},Jr={increaseLabel:"Increase value",decreaseLabel:"Decrease value"},Et=e=>{let{size:t,fillMode:o,disabled:a,increaseLabel:i=Jr.increaseLabel,decreaseLabel:s=Jr.decreaseLabel,...l}=e;return gu("span",{...l,className:r(Nl,e.className),children:[hl(p,{className:"k-spinner-increase",icon:"chevron-up",size:t,fillMode:o,disabled:a,"aria-label":i}),hl(p,{className:"k-spinner-decrease",icon:"chevron-down",size:t,fillMode:o,disabled:a,"aria-label":s})]})};Et.states=hu;Et.options=Nu;Et.className=Nl;Et.defaultOptions=Jr;Et.moduleName=null;Et.folderName=null;var gl="numeric-textbox",vl="numerictextbox";import{Fragment as Ll,jsx as Kt,jsxs as qr}from"react/jsx-runtime";var Il="k-numerictextbox",vu=[n.hover,n.focus,n.valid,n.invalid,n.loading,n.required,n.disabled,n.readonly],Lu={size:[d.undefined,d.small,d.medium,d.large],rounded:[f.undefined,f.none,f.small,f.medium,f.large,f.full],fillMode:[x.undefined,x.solid,x.flat,x.outline]},Ai={showSpinButton:!0,showClearButton:!0,separators:!0},R=e=>{let{size:t,rounded:o,fillMode:a,separators:i=Ai.separators,showClearButton:s=Ai.showClearButton,showSpinButton:l=Ai.showSpinButton,prefix:m,suffix:c,value:h,placeholder:b,hover:g,focus:u,valid:v,invalid:I,required:S,loading:k,disabled:E,readonly:T,id:K,"aria-label":Y,"aria-describedby":ae,...ie}=e;return qr($,{...ie,size:t,rounded:o,fillMode:a,hover:g,focus:u,valid:v,invalid:I,required:S,loading:k,disabled:E,readonly:T,className:r(e.className,Il),children:[m&&qr(Ll,{children:[Kt(be,{children:m}),i&&Kt(te,{})]}),Kt(ce,{id:K,placeholder:b,value:h,role:"spinbutton",disabled:E,"aria-label":Y,"aria-describedby":ae,"aria-invalid":I?"true":void 0}),Kt(ee,{valid:v,invalid:I,loading:k,disabled:E}),Kt(re,{loading:k,disabled:E}),s&&Kt(me,{loading:k,disabled:E,readonly:T,value:h}),c&&qr(Ll,{children:[i&&Kt(te,{}),Kt(xe,{children:c})]}),l&&Kt(Et,{className:"k-input-spinner",size:t,fillMode:a,disabled:E})]})};R.states=vu;R.options=Lu;R.className=Il;R.defaultOptions=Ai;R.moduleName=gl;R.folderName=vl;var Ja=R;import{jsx as Iu}from"react/jsx-runtime";var Sl=e=>Iu(Ja,{...e});import Zr from"react";import{jsx as kl}from"react/jsx-runtime";var Su="k-list-group-sticky-header",Yr=e=>kl("div",{className:r(Su,e.className),children:kl("div",{className:"k-list-header-text",children:e.children})});import{jsx as Eu}from"react/jsx-runtime";var ku="k-no-data",Ti=e=>{let{live:t,...o}=e;return Eu("span",{...o,className:r(ku,e.className),"aria-live":t?"polite":void 0,children:e.children})};var po="list",zo=po;import{jsx as El,jsxs as Ml}from"react/jsx-runtime";var Qr="k-list",Mu=[],Cu={size:[d.undefined,d.small,d.medium,d.large]},yu={},P=e=>{let{size:t,virtualization:o,children:a,header:i,selectAll:s,optionLabel:l,customValue:m,noData:c,screenReaders:h,...b}=e,u=Zr.Children.toArray(a)[0],v=u?.props?.children?Zr.Children.count(u.props.children):Zr.Children.count(a);return Ml("div",{...b,className:r(e.className,Qr,C(Qr,{size:t}),{"k-virtual-list":o}),children:[l,s,m,i&&El(Yr,{children:i}),a||(c!==void 0?c:El(Ti,{live:!0,children:"No data found."})),h&&a&&Ml(Ti,{className:"k-sr-only",live:!0,children:[v," items found."]})]})};P.states=Mu;P.options=Cu;P.className=Qr;P.defaultOptions=yu;P.moduleName=po;P.folderName=zo;import{jsx as Bu}from"react/jsx-runtime";var Cl="k-list-container",Au=[],Tu={},Ou={},Ho=e=>{let{...t}=e;return Bu("div",{...t,className:r(e.className,Cl),children:e.children})};Ho.states=Au;Ho.options=Tu;Ho.className=Cl;Ho.defaultOptions=Ou;Ho.moduleName=po;Ho.folderName=zo;var mo="checkbox",Fo=mo;import{jsx as yl}from"react/jsx-runtime";var Oi="k-checkbox",Ru=[n.hover,n.focus,n.valid,n.invalid,n.required,n.disabled,n.checked,n.indeterminate],Pu={size:[d.undefined,d.small,d.medium,d.large],rounded:[f.undefined,f.none,f.small,f.medium,f.large,f.full]},wu={},_e=e=>{let{id:t,checked:o,indeterminate:a,hover:i,focus:s,disabled:l,invalid:m,valid:c,required:h,size:b,rounded:g,wrapperRole:u,...v}=e;return yl("span",{className:"k-checkbox-wrap",role:u,children:yl("input",{...v,id:t,type:"checkbox",defaultChecked:o,required:h,disabled:l||void 0,"aria-invalid":m?"true":void 0,className:r(e.className,Oi,C(Oi,{size:b,rounded:g}),M(Oi,{hover:i,focus:s,disabled:l,invalid:m,valid:c,indeterminate:a,checked:o}))})})};_e.states=Ru;_e.options=Pu;_e.className=Oi;_e.defaultOptions=wu;_e.moduleName=mo;_e.folderName=Fo;var xt=_e;import{jsx as _u}from"react/jsx-runtime";var Al="k-checkbox-list",Ku=[],Du={},Tl={layout:"vertical"},Ae=e=>{let{layout:t=Tl.layout,...o}=e;return _u("ul",{...o,className:r(e.className,Al,{[`k-list-${t}`]:t}),children:e.children})};Ae.states=Ku;Ae.options=Du;Ae.className=Al;Ae.defaultOptions=Tl;Ae.moduleName=mo;Ae.folderName=Fo;import{jsx as Uu}from"react/jsx-runtime";var Ol="k-checkbox-list-item",zu=[],Hu={},Fu={},Te=e=>{let{...t}=e;return Uu("li",{...t,className:r(e.className,Ol),children:e.children})};Te.states=zu;Te.options=Hu;Te.className=Ol;Te.defaultOptions=Fu;Te.moduleName=mo;Te.folderName=Fo;import{Fragment as Gu,jsx as Bl,jsxs as $u}from"react/jsx-runtime";var ot=({children:e="Label",id:t="cb-label-after",...o})=>$u(Gu,{children:[Bl(xt,{id:t,...o}),Bl("label",{className:"k-checkbox-label",htmlFor:t,children:e})]});import{Fragment as Vy,jsx as $y,jsxs as Xy}from"react/jsx-runtime";import{Fragment as Zy,jsx as Yy,jsxs as Qy}from"react/jsx-runtime";import{Fragment as aA,jsx as oA,jsxs as iA}from"react/jsx-runtime";import{jsx as lA}from"react/jsx-runtime";import{jsx as cA}from"react/jsx-runtime";import{jsx as xA}from"react/jsx-runtime";import{jsx as at,jsxs as Rl}from"react/jsx-runtime";var Vu=Ae.options,Xu=Ae.states,Wu={...Ae.defaultOptions,variant:"vertical"},Ju=[{name:"vertical",title:"Vertical"},{name:"horizontal",title:"Horizontal"}],qu=[],Uo=e=>{let{variant:t,...o}=e;return t==="horizontal"?Rl(Ae,{layout:"horizontal",...o,children:[at(Te,{children:at(ot,{id:A("cb"),defaultChecked:!0,children:"Label"})}),at(Te,{children:at(ot,{id:A("cb"),children:"Label"})}),at(Te,{children:at(ot,{id:A("cb"),children:"Label"})})]}):Rl(Ae,{...o,children:[at(Te,{children:at(ot,{id:A("cb"),defaultChecked:!0,children:"Label"})}),at(Te,{children:at(ot,{id:A("cb"),children:"Label"})}),at(Te,{children:at(ot,{id:A("cb"),children:"Label"})})]})};Uo.options=Vu;Uo.states=Xu;Uo.variants=Ju;Uo.defaultOptions=Wu;Uo.modifiers=qu;Uo.className=Ae.className;import{jsx as tf}from"react/jsx-runtime";var Yu=xt.options,Zu=xt.states,Qu=xt.defaultOptions,ju=[],ef=[],Go=e=>tf(ot,{id:A("checkbox"),...e,defaultChecked:!0,children:"Label"});Go.options=Yu;Go.states=Zu;Go.variants=ju;Go.defaultOptions=Qu;Go.modifiers=ef;Go.className=xt.className;import{jsx as $o,jsxs as nf}from"react/jsx-runtime";var jr="k-list-item",of=[n.hover,n.focus,n.selected,n.disabled],af={},rf={},y=e=>{let{text:t,iconName:o,iconClassName:a,showCheckbox:i,checked:s,hover:l,focus:m,selected:c,disabled:h,actions:b,description:g,id:u,...v}=e,I=t||e.children,S=t||(typeof I=="string"?I:void 0);return nf("li",{...v,id:u,role:"option",tabIndex:m?0:-1,"aria-selected":c?"true":"false","aria-disabled":h?"true":void 0,className:r(e.className,jr,M(jr,{hover:l,focus:m,disabled:h,selected:c})),children:[i&&$o(_e,{checked:s,disabled:h,"aria-label":S,tabIndex:-1}),o&&$o("span",{className:"k-list-item-icon-wrapper",children:$o(N,{icon:o,className:r("k-list-item-icon",a)})}),$o("span",{className:"k-list-item-text",children:I}),b&&$o("div",{className:"k-list-item-actions",children:b}),g&&$o("span",{className:"k-list-item-description",children:g})]})};y.states=of;y.options=af;y.className=jr;y.defaultOptions=rf;y.moduleName=po;y.folderName=zo;import{jsx as lf}from"react/jsx-runtime";var sf="k-list-ul",Mt=e=>{let{children:t,role:o,id:a,...i}=e;return lf("ul",{...i,id:a,role:o,className:r(sf,e.className),children:t})};import{jsx as en,jsxs as pf}from"react/jsx-runtime";var df="k-list-content",D=e=>{let{virtualization:t,grouping:o,"aria-label":a,"aria-labelledby":i,listboxId:s,...l}=e;return pf("div",{...l,className:r(df,e.className),role:o?"listbox":void 0,id:o?s:void 0,"aria-label":o?a:void 0,"aria-labelledby":o?i:void 0,children:[o?e.children:en(Mt,{role:"listbox",id:s,"aria-label":a,"aria-labelledby":i,children:e.children}),t&&en("div",{className:"k-height-container",children:en("div",{})})]})};import{jsx as tn,jsxs as ff}from"react/jsx-runtime";var Bi="k-list-sticky-header",mf=[n.hover,n.focus,n.selected],cf={},uf={},Ri=e=>{let{label:t="Select all",showCheckbox:o=!0,checked:a,indeterminate:i,hover:s,focus:l,selected:m,...c}=e;return tn("div",{...c,className:r(Bi,e.className),children:ff("div",{className:r(`${Bi}-item`,M(`${Bi}-item`,{hover:s,focus:l,selected:m})),"aria-label":t,...!o&&{tabIndex:0,"aria-selected":m?"true":"false"},children:[o&&tn(_e,{checked:a,indeterminate:i,"aria-label":t}),tn("span",{className:"k-list-item-text",children:t})]})})};Ri.states=mf;Ri.options=cf;Ri.className=Bi;Ri.defaultOptions=uf;import{Fragment as pT,jsx as dT,jsxs as mT}from"react/jsx-runtime";import{jsx as xT,jsxs as hT}from"react/jsx-runtime";import{jsx as Nf}from"react/jsx-runtime";var on="k-list-optionlabel",bf=[n.hover,n.focus,n.selected,n.disabled],xf={},hf={},Pi=e=>{let{text:t,hover:o,focus:a,selected:i,disabled:s,...l}=e;return Nf("div",{...l,className:r(on,M(on,{hover:o,focus:a,selected:i,disabled:s})),children:t})};Pi.states=bf;Pi.options=xf;Pi.className=on;Pi.defaultOptions=hf;import{jsx as If}from"react/jsx-runtime";var an="k-list-custom-value",gf=[n.hover,n.focus,n.selected,n.disabled],vf={},Lf={},it=e=>{let{text:t,hover:o,focus:a,selected:i,disabled:s,...l}=e;return If("div",{...l,className:r(an,M(an,{hover:o,focus:a,selected:i,disabled:s})),children:t})};it.states=gf;it.options=vf;it.className=an;it.defaultOptions=Lf;import{Fragment as AT,jsx as yT,jsxs as TT}from"react/jsx-runtime";import{Fragment as KT,jsx as wT,jsxs as DT}from"react/jsx-runtime";import{Fragment as $T,jsx as UT,jsxs as GT}from"react/jsx-runtime";import{Fragment as ZT,jsx as qT,jsxs as YT}from"react/jsx-runtime";import{jsx as tO}from"react/jsx-runtime";import{Fragment as sO,jsx as nO,jsxs as lO}from"react/jsx-runtime";import{Fragment as fO,jsx as uO,jsxs as bO}from"react/jsx-runtime";var Pl="dropdown-list",wl="dropdownlist";import{Fragment as Ef,jsx as Oe,jsxs as rn}from"react/jsx-runtime";var Kl="k-dropdownlist",Sf=[n.hover,n.focus,n.valid,n.invalid,n.required,n.disabled,n.loading,n.readonly],kf={size:[d.undefined,d.small,d.medium,d.large],rounded:[f.undefined,f.none,f.small,f.medium,f.large,f.full],fillMode:[x.undefined,x.solid,x.flat,x.outline]},nn={showValue:!0,arrowIconName:"chevron-down"},V=e=>{let{size:t,rounded:o,fillMode:a,arrowIconName:i=nn.arrowIconName,showValue:s=nn.showValue,valueIconName:l,prefix:m,suffix:c,value:h,placeholder:b,hover:g,focus:u,valid:v,invalid:I,required:S,loading:k,disabled:E,readonly:T,popup:K,opened:Y,adaptive:ae,adaptiveSettings:ie,adaptiveTitle:pe,adaptiveSubtitle:so,adaptiveFilter:Nt,id:Bt,activeDescendant:$t,"aria-label":Oa,...Ba}=e,Ra=Bt?`${Bt}-listbox`:void 0,bs=Bt?`${Bt}-value`:void 0;return rn(Ef,{children:[rn(Lt,{...Ba,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,Kl,{"k-icon-picker":!s&&l}),role:"combobox","aria-haspopup":"listbox","aria-expanded":Y?"true":"false","aria-controls":Y?Ra:void 0,"aria-activedescendant":Y&&$t?$t:void 0,"aria-describedby":Y?bs:void 0,"aria-disabled":E?"true":void 0,"aria-label":Oa,tabIndex:0,children:[Oe(be,{children:m}),Oe(lo,{placeholder:b,value:h,showValue:s,valueIconName:l,id:bs}),Oe(ee,{valid:v,invalid:I,loading:k,disabled:E}),Oe(re,{loading:k,disabled:E}),Oe(xe,{children:c}),Oe(p,{className:"k-input-button",icon:i,size:e.size,fillMode:e.fillMode,"aria-label":b||"Toggle dropdown",tabIndex:-1})]}),Y&&K&&Oe(J,{className:"k-list-container k-dropdownlist-popup",containerRole:"region",containerAriaLabel:"Dropdown suggestions",children:K}),ae&&Oe(Z,{adaptive:!0,...ie,header:Oe(ve,{actionsEnd:Oe(p,{icon:"check",themeColor:"primary",size:"large",fillMode:"flat","aria-label":"Apply selection"}),filter:Nt,inputValue:h,inputPlaceholder:b,title:pe,subtitle:so}),children:Oe("div",{className:"k-list-container",children:Oe(P,{size:"large",children:rn(D,{"aria-label":"Options",children:[Oe(y,{text:"List item"}),Oe(y,{text:"List item"}),Oe(y,{text:"List item"})]})})})})]})};V.states=Sf;V.options=kf;V.className=Kl;V.defaultOptions=nn;V.moduleName=Pl;V.folderName=wl;import{jsx as YO}from"react/jsx-runtime";import{jsx as oB,jsxs as aB}from"react/jsx-runtime";import{Fragment as cB,jsx as pB,jsxs as mB}from"react/jsx-runtime";import{jsx as hB}from"react/jsx-runtime";import{jsx as SB,jsxs as kB}from"react/jsx-runtime";import{Fragment as RB,jsx as OB,jsxs as BB}from"react/jsx-runtime";import{jsx as _B}from"react/jsx-runtime";import{Fragment as Of,jsx as Zt,jsxs as Dl}from"react/jsx-runtime";var Mf=V.states,Cf=V.defaultOptions,yf=V.options,Af=[{name:"opened",title:"Opened"}],Tf=[],Xo=e=>{let{modifiers:t,...o}=e,a={},i=Dl(Of,{children:[Zt("div",{className:"k-list-filter",children:Zt(Qe,{})}),Zt(P,{style:{width:300},size:o.size,children:Dl(D,{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(V,{placeholder:"Value",style:{width:300},...o,...a})})};Xo.options=yf;Xo.states=Mf;Xo.variants=Tf;Xo.defaultOptions=Cf;Xo.modifiers=Af;Xo.className=V.className;import{Fragment as nR,jsx as rR}from"react/jsx-runtime";import{Fragment as cR,jsx as mR}from"react/jsx-runtime";import{jsx as xR}from"react/jsx-runtime";import{jsx as sn}from"react/jsx-runtime";var Bf=R.states,Rf=R.defaultOptions,Pf=R.options,wf=[{name:"prefix",title:"Prefix"},{name:"suffix",title:"Suffix"},{name:"clear-button",title:"`Clear` Button"},{name:"spin-button",title:"`Spin` Button"}],Kf=[],Wo=e=>{let{modifiers:t,...o}=e,a={};return Object.keys(t||{}).forEach(i=>{switch(i){case"prefix":a.prefix=t?.[i]?sn(V,{size:o.size,fillMode:"flat",value:"mm"}):void 0;break;case"suffix":a.suffix=t?.[i]?sn(wt,{children:"mm"}):void 0;break;case"clear-button":a.showClearButton=t?.[i];break;case"spin-button":a.showSpinButton=t?.[i];break;default:break}}),sn(Sl,{value:"Value",style:{width:300},...o,...a})};Wo.options=Pf;Wo.states=Bf;Wo.variants=Kf;Wo.defaultOptions=Rf;Wo.modifiers=wf;Wo.className=R.className;import{Fragment as qa,jsx as _,jsxs as ne}from"react/jsx-runtime";var _l="k-colorgradient-inputs",Df=[],_f={size:[d.undefined,d.small,d.medium,d.large]},zl={mode:"rgba"},Jo=e=>{let{mode:t=zl.mode,size:o,...a}=e;return ne("div",{...a,className:r(_l,"k-hstack"),children:[_("div",{className:"k-vstack",children:_(p,{fillMode:"flat",icon:"caret-alt-expand",className:"k-colorgradient-toggle-mode",size:o,"aria-label":"Toggle color input format"})}),t==="rgba"&&ne(qa,{children:[ne("div",{className:"k-vstack",children:[_(R,{showSpinButton:!1,showClearButton:!1,value:"132",size:o,"aria-label":"Red channel"}),_("label",{className:"k-colorgradient-input-label",children:"R"})]}),ne("div",{className:"k-vstack",children:[_(R,{showSpinButton:!1,showClearButton:!1,value:"132",size:o,"aria-label":"Green channel"}),_("label",{className:"k-colorgradient-input-label",children:"G"})]}),ne("div",{className:"k-vstack",children:[_(R,{showSpinButton:!1,showClearButton:!1,value:"132",size:o,"aria-label":"Blue channel"}),_("label",{className:"k-colorgradient-input-label",children:"B"})]}),ne("div",{className:"k-vstack",children:[_(R,{showSpinButton:!1,showClearButton:!1,value:"1.00",size:o,"aria-label":"Alpha channel"}),_("label",{className:"k-colorgradient-input-label",children:"A"})]})]}),t==="rgb"&&ne(qa,{children:[ne("div",{className:"k-vstack",children:[_(R,{showSpinButton:!1,showClearButton:!1,value:"132","aria-label":"Red channel"}),_("label",{className:"k-colorgradient-input-label",children:"R"})]}),ne("div",{className:"k-vstack",children:[_(R,{showSpinButton:!1,showClearButton:!1,value:"132","aria-label":"Green channel"}),_("label",{className:"k-colorgradient-input-label",children:"G"})]}),ne("div",{className:"k-vstack",children:[_(R,{showSpinButton:!1,showClearButton:!1,value:"132","aria-label":"Blue channel"}),_("label",{className:"k-colorgradient-input-label",children:"B"})]})]}),t==="hsva"&&ne(qa,{children:[ne("div",{className:"k-vstack",children:[_(R,{showSpinButton:!1,showClearButton:!1,value:"132","aria-label":"Hue channel"}),_("label",{className:"k-colorgradient-input-label",children:"H"})]}),ne("div",{className:"k-vstack",children:[_(R,{showSpinButton:!1,showClearButton:!1,value:"132","aria-label":"Saturation channel"}),_("label",{className:"k-colorgradient-input-label",children:"S"})]}),ne("div",{className:"k-vstack",children:[_(R,{showSpinButton:!1,showClearButton:!1,value:"132","aria-label":"Value channel"}),_("label",{className:"k-colorgradient-input-label",children:"V"})]}),ne("div",{className:"k-vstack",children:[_(R,{showSpinButton:!1,showClearButton:!1,value:"1.00","aria-label":"Alpha channel"}),_("label",{className:"k-colorgradient-input-label",children:"A"})]})]}),t==="hsv"&&ne(qa,{children:[ne("div",{className:"k-vstack",children:[_(R,{showSpinButton:!1,showClearButton:!1,value:"132","aria-label":"Hue channel"}),_("label",{className:"k-colorgradient-input-label",children:"H"})]}),ne("div",{className:"k-vstack",children:[_(R,{showSpinButton:!1,showClearButton:!1,value:"132","aria-label":"Saturation channel"}),_("label",{className:"k-colorgradient-input-label",children:"S"})]}),ne("div",{className:"k-vstack",children:[_(R,{showSpinButton:!1,showClearButton:!1,value:"132","aria-label":"Value channel"}),_("label",{className:"k-colorgradient-input-label",children:"V"})]})]}),t==="hex"&&_(qa,{children:ne("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"})]})})]})};Jo.states=Df;Jo.options=_f;Jo.className=_l;Jo.defaultOptions=zl;import{jsx as uo,jsxs as fo}from"react/jsx-runtime";var Hl="k-colorgradient-color-contrast",zf=[],Hf={},Ff={},qo=()=>fo("div",{className:r(Hl,"k-vbox"),children:[fo("div",{className:"k-contrast-ratio",children:[uo("span",{className:"k-contrast-ratio-text",children:"Contrast ratio: 7.1"}),fo("span",{className:"k-contrast-validation !k-text-success",children:[uo(N,{icon:"check"}),uo(N,{icon:"check"})]})]}),fo("div",{children:[uo("span",{children:"AA: 4.5"}),fo("span",{className:"k-contrast-validation !k-text-success",children:["Pass",uo(N,{icon:"check"})]})]}),fo("div",{children:[uo("span",{children:"AAA: 7.0"}),fo("span",{className:"k-contrast-validation !k-text-error",children:["Fail",uo(N,{icon:"x"})]})]})]});qo.states=zf;qo.options=Hf;qo.className=Hl;qo.defaultOptions=Ff;var Fl="color-gradient",Ul="colorgradient";import{jsx as rt,jsxs as Ya}from"react/jsx-runtime";var wi="k-colorgradient",Uf=[n.hover,n.focus,n.readonly,n.disabled],Gf={size:[d.undefined,d.small,d.medium,d.large]},Ct={mode:"rgba",readonly:!1,disabled:!1,contrast:!1,gradientStyle:{background:"rgb(255, 0, 0 )"},dragHandleStyle:{top:"50px",left:"73px"},alphaStyle:{background:"linear-gradient(to top, transparent, rgb(255, 0, 0))"},alphaStyleHorizontal:{background:"linear-gradient(to right, transparent, rgb(255, 0, 0))"},canvasOrientation:"horizontal"},Ie=e=>{let{size:t,mode:o=Ct.mode,readonly:a=Ct.readonly,disabled:i=Ct.disabled,gradientStyle:s=Ct.gradientStyle,dragHandleStyle:l=Ct.dragHandleStyle,alphaStyle:m=Ct.alphaStyle,alphaStyleHorizontal:c=Ct.alphaStyleHorizontal,contrast:h=Ct.contrast,dir:b,hover:g,focus:u,hoverHandle:v,focusHandle:I,canvasOrientation:S=Ct.canvasOrientation,role:k,tabIndex:E,...T}=e;return Ya("div",{...T,role:k??"textbox","aria-label":k==="none"?void 0:"Color gradient",tabIndex:E??0,"aria-disabled":i?"true":void 0,className:r(e.className,wi,C(wi,{size:t}),M(wi,{hover:g,focus:u,readonly:a,disabled:i})),dir:b,children:[!S||S==="horizontal"&&Ya("div",{className:"k-colorgradient-canvas k-hstack",children:[rt("div",{className:"k-hsv-rectangle",style:s,children:rt("div",{className:"k-hsv-gradient",children:rt("div",{className:r("k-hsv-draghandle","k-draghandle",{"k-hover":v,"k-focus":I}),style:l,role:"slider","aria-orientation":"undefined","aria-label":"Color well with two-dimensional slider for selecting saturation and lightness","aria-valuetext":"X: 73, Y: 50","aria-valuenow":50,"aria-valuemin":0,"aria-valuemax":100})})}),Ya("div",{className:"k-hsv-controls k-hstack",children:[rt(Wr,{className:"k-hue-slider",hover:v,focus:I}),o!=="rgb"&&o!=="hsv"&&rt(Wr,{className:"k-alpha-slider",hover:v,focus:I,trackStyle:m})]})]}),S==="vertical"&&Ya("div",{className:"k-colorgradient-canvas k-vstack",children:[rt("div",{className:"k-hsv-rectangle",style:s,children:rt("div",{className:"k-hsv-gradient",children:rt("div",{className:r("k-hsv-draghandle","k-draghandle",{"k-hover":v,"k-focus":I}),style:l,role:"slider","aria-orientation":"undefined","aria-label":"Color well with two-dimensional slider for selecting saturation and lightness","aria-valuetext":"X: 73, Y: 50","aria-valuenow":50,"aria-valuemin":0,"aria-valuemax":100})})}),Ya("div",{className:"k-hsv-controls k-vstack",children:[rt(Xr,{className:"k-hue-slider",hover:v,focus:I}),o!=="rgb"&&o!=="hsv"&&rt(Xr,{className:"k-alpha-slider",hover:v,focus:I,trackStyle:c})]})]}),rt(Jo,{mode:e.mode,size:t}),h&&rt(qo,{})]})};Ie.states=Uf;Ie.options=Gf;Ie.className=wi;Ie.defaultOptions=Ct;Ie.moduleName=Fl;Ie.folderName=Ul;import{jsx as $f}from"react/jsx-runtime";var Ki=e=>$f(Ie,{...e});import{jsx as tP}from"react/jsx-runtime";import{jsx as rP}from"react/jsx-runtime";import{jsx as ln}from"react/jsx-runtime";var Vf=Ie.options,Xf=Ie.states,Wf={...Ie.defaultOptions,variant:"rgba"},Jf=[{name:"rgba",title:"RGBA"},{name:"rgb",title:"RGB"},{name:"hex",title:"HEX"}],qf=[],Yo=e=>{let{variant:t,...o}=e;switch(t){case"hex":return ln(Ki,{...o,mode:t});case"rgb":return ln(Ki,{...o,mode:t});default:return ln(Ki,{...o,mode:t})}};Yo.options=Vf;Yo.states=Xf;Yo.variants=Jf;Yo.defaultOptions=Wf;Yo.modifiers=qf;Yo.className=Ie.className;import{jsx as Yf}from"react/jsx-runtime";var dn=e=>Yf("tr",{role:"row",children:e.children});import{jsx as jf}from"react/jsx-runtime";var pn="k-colorpalette-tile",Zf=[n.hover,n.focus,n.selected],Qf={},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 jf("td",{...l,role:"gridcell","aria-label":t,"aria-selected":s?"true":void 0,className:r(e.className,pn,M(pn,{hover:a,focus:i,selected:s})),style:m})};Qt.states=Zf;Qt.options=Qf;Qt.className=pn;Qt.moduleName=null;Qt.folderName=null;var Gl="color-palette",$l="colorpalette";import{jsx as Za}from"react/jsx-runtime";var Di="k-colorpalette",eb=[n.disabled],tb={size:[d.undefined,d.small,d.medium,d.large]},Vl={columns:10},ze=e=>{let{size:t,palette:o,columns:a=Vl.columns,tileSize:i,disabled:s,...l}=e,m=[];if(o){let c=a||o.columns,h=o.colors?o.colors:o;Array.isArray(h)&&Array.from({length:Math.ceil(h.length/c)},(b,g)=>{let u=[];h.slice(g*c,(g+1)*c).map((I,S)=>{u.push(Za(Qt,{color:I,tileSize:i},S))});let v=Za(dn,{children:u},g);m.push(v)})}return Za("div",{...l,role:"grid","aria-label":"Color palette",tabIndex:0,"aria-disabled":s?"true":void 0,className:r(e.className,Di,M(Di,{disabled:s}),C(Di,{size:t})),children:Za("table",{className:"k-colorpalette-table",role:"none",children:Za("tbody",{children:m.length>0?m:e.children})})})};ze.states=eb;ze.options=tb;ze.className=Di;ze.defaultOptions=Vl;ze.moduleName=Gl;ze.folderName=$l;var _i=ze;var Qa={basic:{colors:["#000000","#7f7f7f","#880015","#ed1c24","#ff7f27","#fff200","#22b14c","#00a2e8","#3f48cc","#a349a4","#ffffff","#c3c3c3","#b97a57","#ffaec9","#ffc90e","#efe4b0","#b5e61d","#99d9ea","#7092be","#c8bfe7"],columns:10},office:{colors:["#ffffff","#000000","#e6e6e6","#435569","#4371c4","#ed7e32","#a5a4a5","#febf04","#5a9bd5","#71ae48","#f2f2f3","#7f7f7f","#d1cece","#d5dde3","#dae1f4","#fce5d4","#deeded","#fff2cc","#deeaf6","#e1efd9","#d7d8d8","#585959","#aeabab","#adbaca","#b4c5e7","#f6caac","#dbdbdb","#ffe498","#bcd6ee","#c5e0b2","#bfbfc0","#3f3f3f","#767070","#8595b1","#8fabdb","#f5b183","#c9c8c9","#fed965","#9bc4e5","#a8d08d","#a5a5a6","#262625","#393939","#334050","#2e5496","#c45a11","#7b7b7a","#bf9000","#2f75b5","#548235","#7f7f7f","#0b0c0c","#161616","#222a34","#203764","#843d0b","#525252","#7f6000","#1d4d79","#375623"],columns:10},apex:{colors:["#ffffff","#000000","#c9c2d1","#69676d","#ceb966","#9cb084","#6bb1c9","#6585cf","#7e6bc9","#a379bb","#f2f2f2","#7f7f7f","#f4f2f5","#e0e0e2","#f5f1e0","#ebefe6","#e1eff4","#e0e6f5","#e5e1f4","#ece4f1","#d8d8d8","#595959","#e9e6ec","#c2c1c5","#ebe3c1","#d7dfcd","#c3dfe9","#c1ceeb","#cbc3e9","#dac9e3","#bfbfbf","#3f3f3f","#dedae3","#a4a3a8","#e1d5a3","#c3cfb5","#a6d0de","#a2b5e2","#b1a6de","#c7aed6","#a5a5a5","#262626","#9688a5","#4e4d51","#ae9638","#758c5a","#3d8da9","#365bb0","#533da9","#7d4d99","#7f7f7f","#0c0c0c","#635672","#343336","#746425","#4e5d3c","#295e70","#243c75","#372970","#533366"],columns:10},austin:{colors:["#ffffff","#000000","#caf278","#3e3d2d","#94c600","#71685a","#ff6700","#909465","#956b43","#fea022","#f2f2f2","#7f7f7f","#f4fce4","#dddcd0","#efffc0","#e3e1dc","#ffe0cb","#e8e9df","#ece1d6","#feecd2","#d8d8d8","#595959","#e9f9c9","#bbb9a1","#dfff82","#c8c3ba","#ffc299","#d2d4c0","#dac3ad","#fed9a6","#bfbfbf","#3f3f3f","#dff7ae","#ada598","#cfff43","#ada598","#ffa365","#bcbfa1","#c8a585","#fec67a","#a5a5a5","#262626","#a9ea25","#2e2d21","#6f9400","#544e43","#bf4d00","#6c6f4b","#6f5032","#d77b00","#7f7f7f","#0c0c0c","#74a50f","#1f1e16","#4a6300","#38342d","#7f3300","#484a32","#4a3521","#8f5200"],columns:10},clarity:{colors:["#ffffff","#292934","#f3f2dc","#d2533c","#93a299","#ad8f67","#726056","#4c5a6a","#808da0","#79463d","#f2f2f2","#e7e7ec","#e7e5b9","#f6dcd8","#e9ecea","#eee8e0","#e4dedb","#d8dde3","#e5e8ec","#e9d6d3","#d8d8d8","#c4c4d1","#d5d185","#edbab1","#d3d9d6","#ded2c2","#c9beb8","#b2bcc8","#ccd1d9","#d3aea7","#bfbfbf","#8a8aa3","#aca73b","#e4978a","#bec7c1","#cdbba3","#af9e94","#8c9bac","#b2bac6","#bd857c","#a5a5a5","#56566e","#56531d","#a43925","#6b7c72","#866b48","#554840","#39434f","#5c697b","#5a342d","#7f7f7f","#3b3b4b","#22210b","#6d2619","#47534c","#594730","#39302b","#262d35","#3d4652","#3c231e"],columns:10},slipstream:{colors:["#ffffff","#000000","#b4dcfa","#212745","#4e67c8","#5eccf3","#a7ea52","#5dceaf","#ff8021","#f14124","#f2f2f2","#7f7f7f","#8bc9f7","#c7cce4","#dbe0f4","#def4fc","#edfadc","#def5ef","#ffe5d2","#fcd9d3","#d8d8d8","#595959","#4facf3","#909aca","#b8c2e9","#beeafa","#dbf6b9","#beebdf","#ffcca6","#f9b3a7","#bfbfbf","#3f3f3f","#0d78c9","#5967af","#94a3de","#9ee0f7","#caf297","#9de1cf","#ffb279","#f68d7b","#a5a5a5","#262626","#063c64","#181d33","#31479f","#11b2eb","#81d319","#34ac8b","#d85c00","#c3260c","#7f7f7f","#0c0c0c","#021828","#101322","#202f6a","#0b769c","#568c11","#22725c","#903d00","#821908"],columns:10},metro:{colors:["#ffffff","#000000","#d6ecff","#4e5b6f","#7fd13b","#ea157a","#feb80a","#00addc","#738ac8","#1ab39f","#f2f2f2","#7f7f7f","#a7d6ff","#d9dde4","#e5f5d7","#fad0e4","#fef0cd","#c5f2ff","#e2e7f4","#c9f7f1","#d8d8d8","#595959","#60b5ff","#b3bcca","#cbecb0","#f6a1c9","#fee29c","#8be6ff","#c7d0e9","#94efe3","#bfbfbf","#3f3f3f","#007dea","#8d9baf","#b2e389","#f272af","#fed46b","#51d9ff","#aab8de","#5fe7d5","#a5a5a5","#262626","#003e75","#3a4453","#5ea226","#af0f5b","#c58c00","#0081a5","#425ea9","#138677","#7f7f7f","#0c0c0c","#00192e","#272d37","#3f6c19","#750a3d","#835d00","#00566e","#2c3f71","#0c594f"],columns:10},flow:{colors:["#ffffff","#000000","#dbf5f9","#04617b","#0f6fc6","#009dd9","#0bd0d9","#10cf9b","#7cca62","#a5c249","#f2f2f2","#7f7f7f","#b2e9f2","#b4ecfc","#c7e2fa","#c4eeff","#c9fafc","#c9faed","#e4f4df","#edf2da","#d8d8d8","#595959","#76d9e8","#6adafa","#90c6f6","#89deff","#93f5f9","#94f6db","#cae9c0","#dbe6b6","#bfbfbf","#3f3f3f","#21b2c8","#20c8f7","#59a9f2","#4fceff","#5df0f6","#5ff2ca","#b0dfa0","#c9da91","#a5a5a5","#262626","#105964","#02485c","#0b5394","#0075a2","#089ca2","#0b9b74","#54a838","#7e9532","#7f7f7f","#0c0c0c","#062328","#01303d","#073763","#004e6c","#05686c","#07674d","#387025","#546321"],columns:10},hardcover:{colors:["#ffffff","#000000","#ece9c6","#895d1d","#873624","#d6862d","#d0be40","#877f6c","#972109","#aeb795","#f2f2f2","#7f7f7f","#e1dca5","#f2e0c6","#f0d0c9","#f6e6d5","#f5f2d8","#e7e5e1","#fbc7bc","#eef0e9","#d8d8d8","#595959","#d0c974","#e6c28d","#e2a293","#eeceaa","#ece5b2","#cfccc3","#f78f7a","#dee2d4","#bfbfbf","#3f3f3f","#a29a36","#daa454","#d4735e","#e6b681","#e2d88c","#b7b2a5","#f35838","#ced3bf","#a5a5a5","#262626","#514d1b","#664515","#65281a","#a2641f","#a39428","#655f50","#711806","#879464","#7f7f7f","#0c0c0c","#201e0a","#442e0e","#431b11","#6c4315","#6d621a","#433f35","#4b1004","#5a6243"],columns:10},trek:{colors:["#ffffff","#000000","#fbeec9","#4e3b30","#f0a22e","#a5644e","#b58b80","#c3986d","#a19574","#c17529","#f2f2f2","#7f7f7f","#f7e09e","#e1d6cf","#fcecd5","#eddfda","#f0e7e5","#f3eae1","#ece9e3","#f5e3d1","#d8d8d8","#595959","#f3cc5f","#c4ad9f","#f9d9ab","#dcc0b6","#e1d0cc","#e7d5c4","#d9d4c7","#ebc7a3","#bfbfbf","#3f3f3f","#d29f0f","#a78470","#f6c781","#cba092","#d2b9b2","#dbc1a7","#c6bfab","#e1ac76","#a5a5a5","#262626","#694f07","#3a2c24","#c87d0e","#7b4b3a","#926255","#a17242","#7b7153","#90571e","#7f7f7f","#0c0c0c","#2a1f03","#271d18","#855309","#523226","#614138","#6b4c2c","#524b37","#603a14"],columns:10},verve:{colors:["#ffffff","#000000","#d2d2d2","#666666","#ff388c","#e40059","#9c007f","#68007f","#005bd3","#00349e","#f2f2f2","#7f7f7f","#bdbdbd","#e0e0e0","#ffd7e8","#ffc6dc","#ffb8f1","#f1b2ff","#c3dcff","#b8cfff","#d8d8d8","#595959","#9d9d9d","#c1c1c1","#ffafd1","#ff8eba","#ff71e4","#e365ff","#87baff","#72a0ff","#bfbfbf","#3f3f3f","#696969","#a3a3a3","#ff87ba","#ff5597","#ff2ad7","#d519ff","#4b98ff","#2b71ff","#a5a5a5","#262626","#343434","#4c4c4c","#e90062","#ab0042","#75005f","#4e005f","#00449e","#002676","#7f7f7f","#0c0c0c","#151515","#333333","#9b0041","#72002c","#4e003f","#34003f","#002d69","#00194f"],columns:10},monochrome:{colors:["#000000","#1a1a1a","#333333","#4d4d4d","#666666","#808080","#999999","#b3b3b3","#cccccc","#e6e6e6","#f2f2f2","#ffffff"],columns:12}};import{jsx as ob}from"react/jsx-runtime";var Xl=e=>ob(_i,{palette:Qa.basic,...e});import{jsx as HP}from"react/jsx-runtime";import{jsx as XP,jsxs as WP}from"react/jsx-runtime";import{jsx as db}from"react/jsx-runtime";var ab=ze.options,ib=ze.states,rb={...ze.defaultOptions,variant:"basic"},nb=[{name:"basic",title:"Basic"},{name:"monochrome",title:"Monochrome"}],sb={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}},lb=[],Zo=e=>{let{variant:t="basic",...o}=e,a=sb[t];return db(Xl,{columns:a.columns,palette:a,...o})};Zo.options=ab;Zo.states=ib;Zo.variants=nb;Zo.defaultOptions=rb;Zo.modifiers=lb;Zo.className=ze.className;var Wl="color-editor",Jl="coloreditor";import{jsx as nt,jsxs as Qo}from"react/jsx-runtime";var zi="k-coloreditor",pb=[n.focus],mb={size:[d.undefined,d.small,d.medium,d.large]},ja={view:"gradient",palette:Qa.office,actionButtons:!0,canvasOrientation:"horizontal"},se=e=>{let{size:t,view:o=ja.view,palette:a=ja.palette,color:i,currentColor:s,focus:l,focusView:m,dir:c,group:h,actionButtons:b=ja.actionButtons,canvasOrientation:g=ja.canvasOrientation,...u}=e;return Qo("div",{...u,role:"textbox","aria-label":"Color editor",tabIndex:0,className:r(e.className,"k-flatcolorpicker",zi,C(zi,{size:t}),M(zi,{focus:l})),dir:c,children:[Qo("div",{className:"k-coloreditor-header k-hstack",children:[nt("div",{className:"k-coloreditor-header-actions k-hstack",children:h&&Qo(O,{fillMode:"flat",children:[nt(p,{className:"k-group-start",size:t,fillMode:"flat",icon:"droplet-slider",selected:o==="gradient","aria-label":"Color gradient view"}),nt(p,{className:"k-group-end",size:t,fillMode:"flat",icon:"palette",selected:o==="palette","aria-label":"Color palette view"})]})}),nt("div",{className:"k-spacer"}),Qo("div",{className:"k-coloreditor-header-actions k-hstack",children:[nt(p,{fillMode:"flat",icon:"droplet-slash",size:t,"aria-label":"Reset color"}),Qo("div",{className:"k-coloreditor-preview k-vstack",children:[nt(Xt,{className:"k-coloreditor-preview-color",color:i}),nt(Xt,{className:"k-coloreditor-current-color",color:s})]})]})]}),nt("div",{className:"k-coloreditor-views k-vstack",children:o==="gradient"?nt(Ie,{focus:m,size:t,canvasOrientation:g,role:"none",tabIndex:-1}):nt(ze,{palette:a,size:t})}),b&&Qo($e,{className:"k-coloreditor-footer",alignment:"start",children:[nt(p,{themeColor:"primary",size:t,className:"k-coloreditor-apply",children:"Apply"}),nt(p,{className:"k-coloreditor-cancel",size:t,children:"Cancel"})]})]})};se.states=pb;se.options=mb;se.className=zi;se.defaultOptions=ja;se.moduleName=Wl;se.folderName=Jl;var jo=se;import{jsx as Iw}from"react/jsx-runtime";import{jsx as Mw}from"react/jsx-runtime";import{jsx as cb}from"react/jsx-runtime";var ql=e=>cb(jo,{group:!0,currentColor:"fuchsia",...e});import{jsx as ub}from"react/jsx-runtime";var Yl=e=>ub(jo,{view:"palette",group:!0,currentColor:"fuchsia",...e});import{jsx as Zl}from"react/jsx-runtime";var fb=se.options,bb=se.states,xb={...se.defaultOptions,variant:"gradient"},hb=[{name:"gradient",title:"Gradient"},{name:"palette",title:"Palette"}],Nb=[],ea=e=>{let{variant:t,...o}=e;return t==="palette"?Zl(Yl,{...o,color:"white"}):Zl(ql,{...o,color:"rgba(183, 118 , 118, 1.00)"})};ea.options=fb;ea.states=bb;ea.variants=hb;ea.defaultOptions=xb;ea.modifiers=Nb;ea.className=se.className;var Ql="color-picker",jl="colorpicker";import{Fragment as Lb,jsx as st,jsxs as mn}from"react/jsx-runtime";var ed="k-colorpicker",gb=[n.hover,n.focus,n.valid,n.invalid,n.required,n.disabled],vb={size:[d.undefined,d.small,d.medium,d.large],rounded:[f.undefined,f.none,f.small,f.medium,f.large,f.full],fillMode:[x.undefined,x.solid,x.flat,x.outline]},td={arrowIconName:"chevron-down"},Se=e=>{let{size:t,rounded:o,fillMode:a,arrowIconName:i=td.arrowIconName,prefix:s,suffix:l,value:m,placeholder:c,hover:h,focus:b,valid:g,invalid:u,required:v,disabled:I,valueIconName:S,popup:k,opened:E,adaptive:T,adaptiveSettings:K,adaptiveTitle:Y,adaptiveSubtitle:ae,...ie}=e,pe="colorpicker-popup";return mn(Lb,{children:[mn(Lt,{...ie,size:t,rounded:o,fillMode:a,hover:h,focus:b,valid:g,invalid:u,required:v,disabled:I,role:"combobox","aria-haspopup":"dialog","aria-expanded":E?"true":"false","aria-controls":E||T?pe:void 0,"aria-label":"Color picker",tabIndex:0,"aria-disabled":I?"true":void 0,className:r(e.className,ed,"k-icon-picker"),children:[st(be,{children:s}),st(lo,{placeholder:c,value:m,showValue:!1,valueIcon:st(Xt,{className:"k-value-icon",color:m,iconName:S}),valueIconName:S}),st(xe,{children:l}),st(p,{className:"k-input-button",icon:i,size:t,fillMode:a,tabIndex:-1,"aria-label":"Open color picker",disabled:I})]}),E&&k&&st(J,{id:pe,className:"k-colorpicker-popup",children:k}),T&&st(Z,{adaptive:!0,id:pe,...K,header:st(ve,{actionsEnd:st(p,{icon:"check",themeColor:"primary",size:"large",fillMode:"flat","aria-label":"Apply"}),title:Y,subtitle:ae}),footer:mn(Wt,{children:[st(p,{text:"Cancel",size:"large"}),st(p,{text:"Set",size:"large",themeColor:"primary"})]}),children:st(se,{canvasOrientation:"vertical",size:"large",actionButtons:!1,group:!0})})]})};Se.states=gb;Se.options=vb;Se.className=ed;Se.defaultOptions=td;Se.moduleName=Ql;Se.folderName=jl;var Dt=Se;import{jsx as Ib}from"react/jsx-runtime";var Hi=e=>Ib(Dt,{...e});import{jsx as d0}from"react/jsx-runtime";import{jsx as f0}from"react/jsx-runtime";import{jsx as N0}from"react/jsx-runtime";import{jsx as I0}from"react/jsx-runtime";import{jsx as M0}from"react/jsx-runtime";import{jsx as T0}from"react/jsx-runtime";import{jsx as bo}from"react/jsx-runtime";var Sb=Dt.options,kb=Dt.states,od={...Dt.defaultOptions,variant:"color"},Eb=[{name:"color",title:"Color",default:!0},{name:"no color",title:"No color"},{name:"icon",title:"Icon"}],Mb=[{name:"opened",title:"Opened"}],ta=e=>{let{variant:t,modifiers:o,...a}={...od,...e},i={};Object.keys(o||{}).forEach(l=>{l==="opened"&&(i.opened=!!o?.[l],i.popup=o?.[l]?bo(se,{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(Hi,{...a,...i})});case"icon":return bo("div",{style:s,children:bo(Hi,{value:"rgba(183, 118 , 118, 1.00)",valueIconName:"edit-tools",...a,...i})});default:return bo("div",{style:s,children:bo(Hi,{value:"rgba(183, 118 , 118, 1.00)",...a,...i})})}};ta.options=Sb;ta.states=kb;ta.variants=Eb;ta.defaultOptions=od;ta.modifiers=Mb;ta.className=Dt.className;var cn="combobox",ad=cn;import{Fragment as un,jsx as ue,jsxs as ei}from"react/jsx-runtime";var id="k-combobox",Cb=[n.hover,n.focus,n.valid,n.invalid,n.loading,n.required,n.disabled,n.readonly],yb={size:[d.undefined,d.small,d.medium,d.large],rounded:[f.undefined,f.none,f.small,f.medium,f.large,f.full],fillMode:[x.undefined,x.solid,x.flat,x.outline]},fn={separators:!0,showClearButton:!0},ke=e=>{let{size:t,rounded:o,fillMode:a,separators:i=fn.separators,showClearButton:s=fn.showClearButton,prefix:l,suffix:m,value:c,placeholder:h,hover:b,focus:g,valid:u,invalid:v,required:I,loading:S,disabled:k,popup:E,opened:T,readonly:K,adaptive:Y,adaptiveSettings:ae,adaptiveTitle:ie,adaptiveSubtitle:pe,adaptiveCustomValue:so,id:Nt,autocomplete:Bt,activeDescendant:$t,"aria-label":Oa,...Ba}=e,Ra=Nt?`${Nt}-listbox`:void 0;return ei(un,{children:[ei($,{...Ba,size:t,rounded:o,fillMode:a,hover:b,focus:g,valid:u,invalid:v,required:I,loading:S,disabled:k,readonly:K,className:r(e.className,id),children:[l&&ei(un,{children:[ue(be,{children:l}),i&&ue(te,{})]}),ue(ce,{id:Nt,placeholder:h,value:c,role:"combobox","aria-haspopup":"listbox","aria-expanded":T?"true":"false","aria-controls":T?Ra:void 0,"aria-activedescendant":T&&$t?$t:void 0,"aria-autocomplete":Bt,"aria-invalid":v?"true":void 0,"aria-busy":S?"true":void 0,"aria-label":Oa,disabled:k,readOnly:K}),ue(ee,{valid:u,invalid:v,loading:S,disabled:k}),ue(re,{loading:S,disabled:k}),s&&ue(me,{loading:S,disabled:k,readonly:K,value:c}),m&&ei(un,{children:[i&&ue(te,{}),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(J,{className:"k-list-container k-combobox-popup",containerRole:"region",containerAriaLabel:"Combobox suggestions",children:E}),Y&&ue(Z,{adaptive:!0,id:Nt?`${Nt}-adaptive`:void 0,...ae,header:ue(ve,{actionsEnd:ue(p,{icon:"check",themeColor:"primary",size:"large",fillMode:"flat","aria-label":"Apply selection"}),input:!0,inputValue:c,inputPlaceholder:h,title:ie,subtitle:pe}),children:ue("div",{className:"k-list-container",children:ue(P,{customValue:so?ue(it,{text:`Use "${c}"`}):void 0,size:"large",children:ei(D,{"aria-label":ie||"Options",children:[ue(y,{text:"List item"}),ue(y,{text:"List item"}),ue(y,{text:"List item"})]})})})})]})};ke.states=Cb;ke.options=yb;ke.className=id;ke.defaultOptions=fn;ke.moduleName=cn;ke.folderName=ad;var Ve=ke;import{jsx as Ab}from"react/jsx-runtime";var rd=e=>Ab(Ve,{...e});import{jsx as cK,jsxs as uK}from"react/jsx-runtime";import{jsx as gK,jsxs as vK}from"react/jsx-runtime";import{jsx as MK,jsxs as CK}from"react/jsx-runtime";import{Fragment as RK,jsx as BK}from"react/jsx-runtime";import{Fragment as zK,jsx as _K}from"react/jsx-runtime";import{jsx as VK,jsxs as XK}from"react/jsx-runtime";import{Fragment as eD,jsx as QK,jsxs as jK}from"react/jsx-runtime";import{jsx as iD}from"react/jsx-runtime";import{jsx as lD}from"react/jsx-runtime";import{jsx as fD,jsxs as bD}from"react/jsx-runtime";import{jsx as LD,jsxs as ID}from"react/jsx-runtime";import{jsx as jt,jsxs as wb}from"react/jsx-runtime";var Tb=ke.states,Ob=ke.defaultOptions,Bb=ke.options,Rb=[{name:"prefix",title:"Prefix"},{name:"suffix",title:"Suffix"},{name:"opened",title:"Opened"}],Pb=[],oa=e=>{let{modifiers:t,...o}=e,a={},i=jt(P,{style:{width:300},size:o.size,children:wb(D,{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(rd,{value:"Value",style:{width:300},...o,...a})})};oa.options=Bb;oa.states=Tb;oa.variants=Pb;oa.defaultOptions=Ob;oa.modifiers=Rb;oa.className=ke.className;var bn="menu-button",nd=bn;import{jsx as _b}from"react/jsx-runtime";var sd="k-menu-button",Kb=[n.hover,n.focus,n.active,n.selected,n.disabled],Db={size:[d.undefined,d.xsmall,d.small,d.medium,d.large],rounded:[f.undefined,f.none,f.small,f.medium,f.large,f.full],fillMode:[x.undefined,x.solid,x.flat,x.outline,x.clear,x.link],themeColor:[L.undefined,L.base,L.primary,L.secondary,L.tertiary,L.success,L.warning,L.error,L.info,L.inverse]},xn={showArrow:!0,arrowIconName:"chevron-down"},W=e=>{let{size:t,rounded:o,fillMode:a,themeColor:i,hover:s,focus:l,active:m,selected:c,disabled:h,icon:b,endIcon:g,text:u,showArrow:v=xn.showArrow,arrowIconName:I=xn.arrowIconName,expanded:S,...k}=e;return _b(p,{...k,className:r(e.className,sd),text:u,size:t,rounded:o,fillMode:a,themeColor:i,hover:s,focus:l,active:m,selected:c,disabled:h,ariaDisabled:h||void 0,icon:b,endIcon:g,showArrow:v,arrowIconName:I,"aria-expanded":S?"true":"false",...!u&&b&&!e["aria-label"]&&{"aria-label":"Menu"}})};W.states=Kb;W.options=Db;W.className=sd;W.defaultOptions=xn;W.moduleName=bn;W.folderName=nd;import{jsx as t_}from"react/jsx-runtime";import{jsx as r_}from"react/jsx-runtime";import{jsx as d_}from"react/jsx-runtime";import{jsx as u_}from"react/jsx-runtime";var Xe="menu",lt=Xe;import{jsx as oi,jsxs as ld}from"react/jsx-runtime";var hn="k-menu-item",zb=[n.hover,n.focus,n.active,n.selected,n.disabled],Hb={},dd={iconPosition:"before"},Ce=e=>{let{hover:t,focus:o,active:a,selected:i,disabled:s,icon:l,text:m,showArrow:c,arrowIconName:h,iconPosition:b=dd.iconPosition,dir:g,children:u,expanded:v,...I}=e,S=h;return S||(S=g==="rtl"?"chevron-left":"chevron-right"),ld("li",{...I,className:r(e.className,hn,"k-item",M(hn,{focus:o,disabled:s,hover:t,active:a,selected:i})),role:"menuitem",...c&&{"aria-haspopup":"menu"},...c&&{"aria-expanded":v?"true":"false"},...s&&{"aria-disabled":"true"},...o&&{tabIndex:0},children:[ld("span",{className:r("k-link k-menu-link"),children:[l&&b==="before"&&oi(N,{className:"k-menu-link-icon",icon:l}),oi("span",{className:"k-menu-link-text",children:m}),l&&b==="after"&&oi(N,{className:"k-menu-link-icon",icon:l}),c&&oi("span",{className:"k-menu-expand-arrow","aria-hidden":"true",children:oi(N,{icon:S})})]}),u]})};Ce.states=zb;Ce.options=Hb;Ce.className=hn;Ce.defaultOptions=dd;Ce.moduleName=Xe;Ce.folderName=lt;import{jsx as xo,jsxs as pd}from"react/jsx-runtime";var Nn="k-menu-item",Fb=[n.hover,n.focus,n.active,n.selected,n.disabled],Ub={},gn={dir:"ltr",iconPosition:"before"},Q=e=>{let{hover:t,focus:o,active:a,selected:i,disabled:s,icon:l,text:m,showArrow:c,arrowIconName:h,iconPosition:b=gn.iconPosition,dir:g=gn.dir,children:u,popup:v,expanded:I,actions:S,description:k,...E}=e,T=h;return T||(T=g==="rtl"?"chevron-left":"chevron-right"),pd("li",{role:"menuitem",...E,className:r(e.className,Nn,"k-item",M(Nn,{focus:o,disabled:s})),...c&&{"aria-haspopup":"menu"},...c&&{"aria-expanded":I?"true":"false"},...s&&{"aria-disabled":"true"},...o&&{tabIndex:0},children:[pd("span",{className:r("k-link k-menu-link",M("k-menu-link",{hover:t,active:a,selected:i,disabled:s})),children:[l&&b==="before"&&xo(N,{className:"k-menu-link-icon",icon:l}),xo("span",{className:"k-menu-link-text",children:m}),l&&b==="after"&&xo(N,{className:"k-menu-link-icon",icon:l}),S&&xo("span",{className:"k-menu-link-actions",children:S}),c&&xo("span",{className:"k-menu-expand-arrow","aria-hidden":"true",children:xo(N,{icon:T})}),k&&xo("span",{className:"k-menu-link-description",children:k})]}),u,v]})};Q.states=Fb;Q.options=Ub;Q.className=Nn;Q.defaultOptions=gn;Q.moduleName=Xe;Q.folderName=lt;import{jsx as Xb}from"react/jsx-runtime";var md="k-menu-scroll-wrapper",Gb=[],$b={},Vb={},ho=e=>{let{className:t,children:o,orientation:a,...i}=e;return Xb("div",{...i,className:r(t,md,{"k-menu-scroll-wrapper-vertical":a==="vertical"}),children:o})};ho.states=Gb;ho.options=$b;ho.className=md;ho.defaultOptions=Vb;ho.moduleName=Xe;ho.folderName=lt;var cd=ho;import{Fragment as vn,jsx as No,jsxs as Fi}from"react/jsx-runtime";var Ui="k-menu",Wb=[],Jb={size:[d.undefined,d.small,d.medium,d.large]},Gi={orientation:"horizontal",header:!0,scrollButtonsPosition:"around"},Ee=e=>{let{children:t,orientation:o=Gi.orientation,header:a=Gi.header,scrollable:i,scrollButtonsPosition:s=Gi.scrollButtonsPosition,wrapperStyles:l,dir:m,size:c,popup:h,contextMenu:b,...g}=e,u={horizontal:{prev:m!=="rtl"?"left":"right",next:m!=="rtl"?"right":"left"},vertical:{prev:"up",next:"down"}},v=No("ul",{dir:m,...g,className:r(e.className,"k-reset",Ui,{[`${Ui}-${o}`]:o,"k-header":a},C(Ui,{size:c})),role:b?"menu":"menubar",...o==="vertical"&&{"aria-orientation":"vertical"},children:t});return Fi(vn,{children:[i?Fi(cd,{orientation:o,style:l,dir:e.dir,children:[s==="start"&&Fi(vn,{children:[No(p,{fillMode:"flat",size:"xsmall",icon:`chevron-${u[o].prev}`,className:"k-menu-scroll-button k-menu-scroll-button-prev",tabIndex:-1,"aria-label":"Scroll previous"}),No(p,{fillMode:"flat",size:"xsmall",icon:`chevron-${u[o].next}`,className:"k-menu-scroll-button k-menu-scroll-button-next",tabIndex:-1,"aria-label":"Scroll next"})]}),s==="around"&&No(p,{fillMode:"flat",size:"xsmall",icon:`chevron-${u[o].prev}`,className:"k-menu-scroll-button k-menu-scroll-button-prev",tabIndex:-1,"aria-label":"Scroll previous"}),v,s==="end"&&Fi(vn,{children:[No(p,{fillMode:"flat",size:"xsmall",icon:`chevron-${u[o].prev}`,className:"k-menu-scroll-button k-menu-scroll-button-prev",tabIndex:-1,"aria-label":"Scroll previous"}),No(p,{fillMode:"flat",size:"xsmall",icon:`chevron-${u[o].next}`,className:"k-menu-scroll-button k-menu-scroll-button-next",tabIndex:-1,"aria-label":"Scroll next"})]}),s==="around"&&No(p,{fillMode:"flat",size:"xsmall",icon:`chevron-${u[o].next}`,className:"k-menu-scroll-button k-menu-scroll-button-next",tabIndex:-1,"aria-label":"Scroll next"})]}):v,h]})};Ee.states=Wb;Ee.options=Jb;Ee.className=Ui;Ee.defaultOptions=Gi;Ee.moduleName=Xe;Ee.folderName=lt;import{jsx as qb}from"react/jsx-runtime";var Ln="k-separator",ud={orientation:"horizontal"},aa=e=>{let{orientation:t=ud.orientation,...o}=e;return qb("li",{...o,className:r(e.className,"k-item",Ln,{[`${Ln}-${t}`]:t}),role:"separator"})};aa.className=Ln;aa.defaultOptions=ud;aa.moduleName=Xe;aa.folderName=lt;import{Fragment as U_,jsx as G_}from"react/jsx-runtime";import{jsx as jb}from"react/jsx-runtime";var In="k-menu-group",Yb=[],Zb={size:[d.undefined,d.small,d.medium,d.large]},Qb={},ye=e=>{let{children:t,size:o,...a}=e;return jb("ul",{role:"menu",...a,className:r(e.className,In,C(In,{size:o})),children:t})};ye.states=Yb;ye.options=Zb;ye.className=In;ye.defaultOptions=Qb;ye.moduleName=Xe;ye.folderName=lt;import{jsx as Q_,jsxs as j_}from"react/jsx-runtime";import{Fragment as ex,jsx as ia,jsxs as tx}from"react/jsx-runtime";var Sn=e=>ia(Ee,{children:tx(ex,{children:[ia(Ce,{text:"Item 1"}),ia(Ce,{showArrow:!0,arrowIconName:"chevron-down",text:"Item 2"}),ia(Ce,{showArrow:!0,arrowIconName:"chevron-down",text:"Item 3"}),ia(Ce,{text:"Item 4"}),ia(Ce,{text:"Item 5"})]}),...e});import{Fragment as dz,jsx as sz,jsxs as lz}from"react/jsx-runtime";import{Fragment as fz,jsx as uz,jsxs as bz}from"react/jsx-runtime";import{Fragment as vz,jsx as gz,jsxs as Lz}from"react/jsx-runtime";import{Fragment as Mz,jsx as Ez,jsxs as Cz}from"react/jsx-runtime";import{jsx as go,jsxs as nx}from"react/jsx-runtime";var ox={...Ee.options,scrollable:{type:"boolean"}},ax=Ee.states,fd={...Ee.defaultOptions,variant:"horizontal"},ix=[{name:"horizontal",title:"Horizontal"},{name:"vertical",title:"Vertical"}],rx=[{name:"opened",title:"Opened"}],ra=e=>{let{variant:t,modifiers:o,...a}={...fd,...e},i={},s=t==="vertical"?{left:"200px",top:"30px"}:{left:"90px",top:"auto"};return Object.keys(o||{}).forEach(l=>{l==="opened"&&(i.opened=!!o?.[l],i.popup=o?.[l]?go(J,{className:"k-menu-popup",offset:s,children:nx(ye,{children:[go(Q,{text:"Item 1"}),go(Q,{text:"Item 2"}),go(aa,{}),go(Q,{text:"Item 3"})]})}):null)}),t==="vertical"?go(Sn,{...a,...i,orientation:"vertical",style:{width:"200px"}}):go(Sn,{...a,...i})};ra.options=ox;ra.states=ax;ra.variants=ix;ra.defaultOptions=fd;ra.modifiers=rx;ra.className=Ee.className;import{Fragment as nH,jsx as iH,jsxs as rH}from"react/jsx-runtime";import{jsx as pH}from"react/jsx-runtime";import{Fragment as mx,jsx as yt,jsxs as bd}from"react/jsx-runtime";var sx=p.states,xd={...p.defaultOptions,variant:"text"},lx=p.options,dx=[{name:"icon-only",title:"Icon Only"},{name:"icon-and-text",title:"Icon & Text"},{name:"text",title:"Text"}],px=[{name:"opened",title:"Opened"}],na=e=>{let{variant:t,modifiers:o,...a}={...xd,...e},i={},s=yt(J,{className:"k-menu-popup",children:bd(ye,{size:a.size,children:[yt(Q,{text:"Menu Item"}),yt(Q,{text:"Menu Item"}),yt(Q,{text:"Menu Item"})]})}),l;switch(t){case"icon-only":l=yt("div",{children:yt(W,{...a,...i,icon:"star"})});break;case"icon-and-text":l=yt("div",{children:yt(W,{...a,...i,icon:"star",children:"Dropdown Button"})});break;default:l=yt("div",{children:yt(W,{...a,...i,children:"Dropdown Button"})});break}return bd(mx,{children:[l,o?.opened&&s]})};na.options=lx;na.states=sx;na.variants=dx;na.defaultOptions=xd;na.modifiers=px;na.className=W.className;var kn="split-button",hd=kn;import{Fragment as fx,jsx as En,jsxs as Nd}from"react/jsx-runtime";var Mn="k-split-button",cx=[n.hover,n.focus,n.active,n.selected,n.disabled],ux={size:[d.undefined,d.small,d.medium,d.large],rounded:[f.undefined,f.none,f.small,f.medium,f.large,f.full],fillMode:[x.undefined,x.solid,x.flat,x.outline,x.clear,x.link],themeColor:[L.undefined,L.base,L.primary,L.secondary,L.tertiary,L.success,L.warning,L.error,L.info,L.inverse]},gd={arrowIconName:"chevron-down"},z=e=>{let{size:t,rounded:o,fillMode:a,themeColor:i,hover:s,focus:l,active:m,selected:c,disabled:h,icon:b,endIcon:g,text:u,arrowIconName:v=gd.arrowIconName,popup:I,opened:S,popupId:k,...E}=e;return Nd(fx,{children:[Nd("div",{...E,className:r(e.className,Mn,"k-button-group",C(Mn,{rounded:o})),children:[En(p,{text:u,icon:b,endIcon:g,size:t,rounded:o,fillMode:a,themeColor:i,hover:s,focus:l,active:m,selected:c,disabled:h,...!u&&!e.children&&b&&{"aria-label":"Action"},children:e.children}),En(p,{className:"k-split-button-arrow",icon:v,size:t,rounded:o,fillMode:a,disabled:h,ariaDisabled:h||void 0,"aria-label":"Toggle dropdown","aria-expanded":S?"true":"false","aria-controls":S?k:void 0,tabIndex:-1})]}),S&&I&&En(J,{className:"k-menu-popup",children:I})]})};z.states=cx;z.options=ux;z.className=Mn;z.defaultOptions=gd;z.moduleName=kn;z.folderName=hd;var Cn=z;import{jsx as xx}from"react/jsx-runtime";var bx="k-toolbar-separator",Me=e=>xx("div",{className:r(bx,e.className,"k-separator")});var vo="toolbar",sa=vo;import{Fragment as yn,jsx as F,jsxs as la}from"react/jsx-runtime";var _t="k-toolbar",hx=[n.focus],Nx={size:[d.undefined,d.small,d.medium,d.large],fillMode:[x.undefined,x.solid,x.outline,x.flat]},gx={scrollButtons:"around"},q=e=>{let{size:t,fillMode:o,focus:a,resizable:i,scrollable:s,scrollButtons:l,scrollingPosition:m,section:c,...h}=e,b=[],g=(u,v)=>{let I=[];if(u.type===p&&u.props.className&&u.props.className.includes("k-toolbar-overflow-button"))I.push(F(p,{...u.props,className:`${u.props.className?u.props.className:""}`},`${v}-${new Date().getTime()}`));else if(u.type===p)I.push(F(p,{...u.props,className:`k-toolbar-button ${u.props.className?u.props.className:""}`},`${v}-${new Date().getTime()}`));else if(u.type===_a)I.push(F(_a,{...u.props,className:`k-toolbar-button ${u.props.className?u.props.className:""}`},`${v}-${new Date().getTime()}`));else if(u.type===Rt)I.push(F(Rt,{...u.props,className:`k-toolbar-button ${u.props.className?u.props.className:""}`},`${v}-${new Date().getTime()}`));else if(u.type===W)I.push(F(W,{...u.props,className:`k-toolbar-menu-button ${u.props.className?u.props.className:""}`},`${v}-${new Date().getTime()}`));else if(u.type===Cn)I.push(F(Cn,{...u.props,className:`k-toolbar-split-button ${u.props.className?u.props.className:""}`},`${v}-${new Date().getTime()}`));else if(u.type===O||u.props.className&&u.props.className.includes("k-button-group")){let S=[];(Array.isArray(u.props.children)?u.props.children:[u.props.children]).forEach((E,T)=>{S.push(F(p,{...E.props,className:`${E.props.className?E.props.className:""}`},`${T}-${new Date().getTime()}`))}),I.push(F(O,{...u.props,className:`k-toolbar-button-group ${u.props.className?u.props.className:""}`,children:S},`${v}-${new Date().getTime()}`))}else u.type===ke?I.push(F(ke,{...u.props,className:`k-toolbar-combobox ${u.props.className?u.props.className:""}`},`${v}-${new Date().getTime()}`)):u.type===V?I.push(F(V,{...u.props,className:`k-toolbar-dropdownlist ${u.props.className?u.props.className:""}`},`${v}-${new Date().getTime()}`)):u.type===Se?I.push(F(Se,{...u.props,className:`k-toolbar-colorpicker ${u.props.className?u.props.className:""}`},`${v}-${new Date().getTime()}`)):I.push(u);I.forEach(S=>{b.push(S)})};return e.children&&(Array.isArray(e.children)?e.children:[e.children]).forEach((v,I)=>{g(v,I)}),la("div",{...h,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&&b,s&&l==="hidden"&&F("div",{className:"k-toolbar-items k-toolbar-items-scroll",children:b}),s&&l==="start"&&la(yn,{children:[la(O,{children:[F("span",{className:r("k-toolbar-prev","k-button",C("k-button",{size:t,fillMode:o}),"k-icon-button"),"aria-hidden":"true",children:F(N,{className:"k-button-icon",icon:"chevron-left"})}),F("span",{className:r("k-toolbar-next","k-button",C("k-button",{size:t,fillMode:o}),"k-icon-button"),"aria-hidden":"true",children:F(N,{className:"k-button-icon",icon:"chevron-right"})})]}),F(Me,{className:"k-toolbar-button-separator"}),F("div",{className:"k-toolbar-items k-toolbar-items-scroll",children:b})]}),s&&l==="end"&&la(yn,{children:[F("div",{className:"k-toolbar-items k-toolbar-items-scroll",children:b}),F(Me,{className:"k-toolbar-button-separator"}),la(O,{children:[F("span",{className:r("k-toolbar-prev","k-button",C("k-button",{size:t,fillMode:o}),"k-icon-button"),"aria-hidden":"true",children:F(N,{className:"k-button-icon",icon:"chevron-left"})}),F("span",{className:r("k-toolbar-next","k-button",C("k-button",{size:t,fillMode:o}),"k-icon-button"),"aria-hidden":"true",children:F(N,{className:"k-button-icon",icon:"chevron-right"})})]})]}),s&&(l==="around"||!l)&&la(yn,{children:[F("span",{className:r("k-toolbar-prev","k-button",C("k-button",{size:t,fillMode:o}),"k-icon-button"),"aria-hidden":"true",children:F(N,{className:"k-button-icon",icon:"chevron-left"})}),F(Me,{className:"k-toolbar-button-separator"}),F("div",{className:"k-toolbar-items k-toolbar-items-scroll",children:b}),F(Me,{className:"k-toolbar-button-separator"}),F("span",{className:r("k-toolbar-next","k-button",C("k-button",{size:t,fillMode:o}),"k-icon-button"),"aria-hidden":"true",children:F(N,{className:"k-button-icon",icon:"chevron-right"})})]})]})};q.states=hx;q.options=Nx;q.className=_t;q.defaultOptions=gx;q.moduleName=vo;q.folderName=sa;import{jsx as Sx}from"react/jsx-runtime";var An="k-toolbar-item",vx=[n.focus],Lx={},Ix={},eo=e=>{let{focus:t,...o}=e;return Sx("div",{...o,className:r(e.className,An,M(An,{focus:t})),children:e.children})};eo.states=vx;eo.options=Lx;eo.className=An;eo.defaultOptions=Ix;eo.moduleName=vo;eo.folderName=sa;import{jsx as vd}from"react/jsx-runtime";var Ld="k-toolbar-popup",kx=[],Ex={size:[d.undefined,d.small,d.medium,d.large],fillMode:[x.undefined,x.solid,x.outline,x.flat]},Mx={},Lo=e=>{let{size:t,fillMode:o,section:a,...i}=e;return vd(J,{...i,className:r(e.className,Ld),children:a?vd("span",{className:r("k-toolbar-items-list",C("k-toolbar-items-list",{size:t,fillMode:o})),role:"toolbar",children:e.children}):e.children})};Lo.states=kx;Lo.options=Ex;Lo.className=Ld;Lo.defaultOptions=Mx;Lo.moduleName=vo;Lo.folderName=sa;var $i=Lo;import{jsx as p1}from"react/jsx-runtime";import{jsx as f1}from"react/jsx-runtime";import{jsx as N1}from"react/jsx-runtime";import{jsx as I1}from"react/jsx-runtime";import{jsx as y1,jsxs as A1}from"react/jsx-runtime";import{jsx as R1}from"react/jsx-runtime";import{jsx as zt,jsxs as Ox}from"react/jsx-runtime";var Cx=z.states,Id={...z.defaultOptions,variant:"text"},yx=z.options,Ax=[{name:"icon-only",title:"Icon Only"},{name:"icon-and-text",title:"Icon & Text"},{name:"text",title:"Text"}],Tx=[{name:"opened",title:"Opened"}],da=e=>{let{variant:t,modifiers:o,...a}={...Id,...e},i={},s=Ox(ye,{size:a.size,children:[zt(Q,{text:"Menu Item"}),zt(Q,{text:"Menu Item"}),zt(Q,{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(z,{...a,...i,icon:"star"})});case"icon-and-text":return zt("div",{children:zt(z,{...a,...i,icon:"star",children:"Split Button"})});default:return zt("div",{children:zt(z,{...a,...i,children:"Split Button"})})}};da.options=yx;da.states=Cx;da.variants=Ax;da.defaultOptions=Id;da.modifiers=Tx;da.className=z.className;import{jsx as Io,jsxs as Bx}from"react/jsx-runtime";var Sd=e=>Io(q,{children:[Io(p,{children:"Button"},"toolbar-button"),Io(W,{text:"Menu button"},"toolbar-menu-button"),Io(z,{children:"Split button"},"toolbar-split-button"),Bx(O,{children:[Io(p,{className:"k-group-start",icon:"align-left",children:"Left"}),Io(p,{icon:"align-center",children:"Center"}),Io(p,{className:"k-group-end",icon:"align-right",children:"Right"})]},"toolbar-button-group")],...e});import{jsx as dF,jsxs as pF}from"react/jsx-runtime";import{jsx as We,jsxs as kd}from"react/jsx-runtime";var Ed=e=>We(q,{scrollable:!0,...e,children:[We(p,{children:"Button"},"toolbar-button"),We(W,{text:"Menu button"},"toolbar-menu-button"),We(z,{children:"Split button"},"toolbar-split-button"),kd(O,{children:[We(p,{className:"k-group-start",icon:"align-left",children:"Left"}),We(p,{icon:"align-center",children:"Center"}),We(p,{className:"k-group-end",icon:"align-right",children:"Right"})]},"toolbar-button-group"),We(p,{children:"Button"},"toolbar-button"),We(W,{text:"Menu button"},"toolbar-menu-button"),We(z,{children:"Split button"},"toolbar-split-button"),kd(O,{children:[We(p,{className:"k-group-start",icon:"align-left",children:"Left"}),We(p,{icon:"align-center",children:"Center"}),We(p,{className:"k-group-end",icon:"align-right",children:"Right"})]},"toolbar-button-group")],...e});import{jsx as Je,jsxs as Md}from"react/jsx-runtime";var Cd=({scrollingPosition:e="start",...t})=>Je(q,{scrollable:!0,scrollButtons:"hidden",scrollingPosition:e,...t,children:[Je(p,{children:"Button"},"toolbar-button"),Je(W,{text:"Menu button"},"toolbar-menu-button"),Je(z,{children:"Split button"},"toolbar-split-button"),Md(O,{children:[Je(p,{className:"k-group-start",icon:"align-left",children:"Left"}),Je(p,{icon:"align-center",children:"Center"}),Je(p,{className:"k-group-end",icon:"align-right",children:"Right"})]},"toolbar-button-group"),Je(p,{children:"Button"},"toolbar-button"),Je(W,{text:"Menu button"},"toolbar-menu-button"),Je(z,{children:"Split button"},"toolbar-split-button"),Md(O,{children:[Je(p,{className:"k-group-start",icon:"align-left",children:"Left"}),Je(p,{icon:"align-center",children:"Center"}),Je(p,{className:"k-group-end",icon:"align-right",children:"Right"})]},"toolbar-button-group")],...t});import{Fragment as Rx,jsx as He,jsxs as Vi}from"react/jsx-runtime";var yd=({fillMode:e,size:t,...o})=>Vi(Rx,{children:[He(q,{section:!0,fillMode:e,size:t,children:[He(p,{fillMode:e,size:t,children:"Button"},"toolbar-button"),Vi(O,{fillMode:e,children:[He(p,{className:"k-group-start",icon:"align-left",fillMode:e,size:t,children:"Left"}),He(p,{icon:"align-center",fillMode:e,size:t,children:"Center"}),He(p,{className:"k-group-end",icon:"align-right",fillMode:e,size:t,children:"Right"})]},"toolbar-button-group"),He(Me,{className:"k-toolbar-button-separator"}),He(p,{icon:"more-horizontal",className:"k-toolbar-overflow-button",fillMode:"flat",size:t,"aria-label":"More options","aria-expanded":"false"})],...o}),Vi($i,{size:t,fillMode:e,section:!0,...o,children:[He(z,{fillMode:e,size:t,children:"Split button"},"toolbar-split-button"),He(p,{fillMode:e,size:t,children:"Button"},"toolbar-button"),He(Me,{}),He(W,{text:"Menu button",fillMode:e,size:t},"toolbar-menu-button"),Vi(O,{fillMode:e,children:[He(p,{className:"k-group-start",icon:"align-left",fillMode:e,size:t,children:"Left"}),He(p,{icon:"align-center",fillMode:e,size:t,children:"Center"}),He(p,{className:"k-group-end",icon:"align-right",fillMode:e,size:t,children:"Right"})]},"toolbar-button-group")]})]});import{Fragment as GF,jsx as FF,jsxs as UF}from"react/jsx-runtime";import{Fragment as e2,jsx as QF,jsxs as jF}from"react/jsx-runtime";import{jsx as to}from"react/jsx-runtime";var Px=q.options,wx=q.states,Ad={...q.defaultOptions,variant:"default"},Kx=[{name:"default",title:"Default"},{name:"scrollable",title:"Scrollable"},{name:"overlay",title:"Overlay"},{name:"responsive",title:"Responsive"}],Dx=[],pa=e=>{let{variant:t,...o}={...Ad,...e};switch(t){case"responsive":return to("div",{children:to(yd,{style:{width:"583px"},...o})});case"overlay":return to("div",{children:to(Cd,{style:{width:"583px"},...o,scrollingPosition:"start",scrollButtons:"hidden"})});case"scrollable":return to("div",{children:to(Ed,{style:{width:"583px"},...o})});default:return to("div",{children:to(Sd,{style:{width:"583px"},...o})})}};pa.options=Px;pa.states=wx;pa.variants=Kx;pa.defaultOptions=Ad;pa.modifiers=Dx;pa.className=q.className;var Tn="autocomplete",Td=Tn;import{Fragment as On,jsx as he,jsxs as ai}from"react/jsx-runtime";var Od="k-autocomplete",_x=[n.hover,n.focus,n.valid,n.invalid,n.required,n.disabled,n.loading,n.readonly],zx={size:[d.undefined,d.small,d.medium,d.large],rounded:[f.undefined,f.none,f.small,f.medium,f.large,f.full],fillMode:[x.undefined,x.solid,x.flat,x.outline]},Bn={separators:!0,showClearButton:!0},ht=e=>{let{size:t,rounded:o,fillMode:a,separators:i=Bn.separators,showClearButton:s=Bn.showClearButton,prefix:l,suffix:m,value:c,placeholder:h,hover:b,focus:g,valid:u,invalid:v,required:I,loading:S,disabled:k,popup:E,opened:T,readonly:K,adaptive:Y,adaptiveSettings:ae,adaptiveTitle:ie,adaptiveSubtitle:pe,adaptiveCustomValue:so,id:Nt,autocomplete:Bt,activeDescendant:$t,"aria-label":Oa,...Ba}=e,Ra=Nt?`${Nt}-listbox`:void 0;return ai(On,{children:[ai($,{...Ba,size:t,rounded:o,fillMode:a,hover:b,focus:g,valid:u,invalid:v,required:I,loading:S,disabled:k,readonly:K,className:r(e.className,Od),children:[l&&ai(On,{children:[he(be,{children:l}),i&&he(te,{})]}),he(ce,{placeholder:h,value:c,role:"combobox","aria-haspopup":"listbox","aria-expanded":T?"true":"false","aria-controls":T?Ra:void 0,"aria-activedescendant":T&&$t?$t:void 0,"aria-autocomplete":Bt,"aria-invalid":v?"true":void 0,"aria-busy":S?"true":void 0,"aria-label":Oa,disabled:k,readOnly:K}),he(ee,{valid:u,invalid:v,loading:S,disabled:k}),he(re,{loading:S,disabled:k}),s&&he(me,{loading:S,disabled:k,readonly:K,value:c}),m&&ai(On,{children:[i&&he(te,{}),he(xe,{children:m})]})]}),T&&E&&he(J,{className:"k-list-container k-autocomplete-popup",containerRole:"region",containerAriaLabel:"Autocomplete suggestions",children:E}),Y&&he(Z,{adaptive:!0,...ae,header:he(ve,{actionsEnd:he(p,{icon:"check",themeColor:"primary",size:"large",fillMode:"flat","aria-label":"Apply selection"}),input:!0,inputValue:c,inputPlaceholder:h,title:ie,subtitle:pe}),children:he("div",{className:"k-list-container",children:he(P,{customValue:so?he(it,{text:`Use "${c}"`}):void 0,size:"large",children:ai(D,{"aria-label":"Options",children:[he(y,{text:"List item"}),he(y,{text:"List item"}),he(y,{text:"List item"})]})})})})]})};ht.states=_x;ht.options=zx;ht.className=Od;ht.defaultOptions=Bn;ht.moduleName=Tn;ht.folderName=Td;var At=ht;import{jsx as Hx}from"react/jsx-runtime";var Bd=e=>Hx(At,{id:A("ac"),"aria-label":"Search",...e});import{jsx as U2,jsxs as G2}from"react/jsx-runtime";import{jsx as J2}from"react/jsx-runtime";import{Fragment as tU,jsx as eU}from"react/jsx-runtime";import{Fragment as lU,jsx as sU}from"react/jsx-runtime";import{jsx as fU,jsxs as bU}from"react/jsx-runtime";import{jsx as LU,jsxs as IU}from"react/jsx-runtime";import{jsx as yU,jsxs as AU}from"react/jsx-runtime";import{jsx as PU}from"react/jsx-runtime";import{jsx as So,jsxs as Xx}from"react/jsx-runtime";var Fx=U.states,Ux=U.defaultOptions,Gx=U.options,$x=[{name:"prefix",title:"Prefix"},{name:"suffix",title:"Suffix"},{name:"opened",title:"Opened"}],Vx=[],ma=e=>{let{modifiers:t,...o}=e,a={},i=So(P,{style:{width:300},size:o.size,children:Xx(D,{children:[So(y,{children:"List item"}),So(y,{children:"List item"}),So(y,{children:"List item"})]})});return Object.keys(t||{}).forEach(s=>{switch(s){case"prefix":a.prefix=t?.[s]?So(N,{icon:"search"}):void 0;break;case"suffix":a.suffix=t?.[s]?So(vt,{size:o.size,fillMode:"clear",children:"Search"}):void 0;break;case"opened":a.opened=!!t?.[s],a.popup=t?.[s]?i:void 0;break;default:break}}),So(Bd,{value:"Value",style:{width:300},...o,...a})};ma.options=Gx;ma.states=Fx;ma.variants=Vx;ma.defaultOptions=Ux;ma.modifiers=$x;ma.className=ht.className;import{Fragment as Yx,jsx as dt,jsxs as Zx}from"react/jsx-runtime";var Rd="k-imageeditor-toolbar",Wx=[],Jx={},qx={},ca=e=>{let{toolbarItems:t,adaptive:o,disabled:a,...i}=e;return dt(q,{...i,className:r(e.className,Rd),fillMode:"flat",children:t??Zx(Yx,{children:[dt(p,{fillMode:"flat",icon:"image-add","aria-label":"Image Add"}),dt(Me,{}),dt(p,{fillMode:"flat",disabled:!0,icon:"undo","aria-label":"Undo"}),dt(p,{fillMode:"flat",disabled:!0,icon:"redo","aria-label":"Redo"}),dt(Me,{}),dt(p,{fillMode:"flat",disabled:a,icon:"download","aria-label":"Download"}),dt("div",{className:"k-spacer"}),dt(p,{fillMode:"flat",disabled:a,icon:"zoom-in","aria-label":"Zoom In"}),!o&&dt(eo,{children:dt(ht,{fillMode:"flat",disabled:a,value:"Fit",showClearButton:!1,"aria-label":"Zoom options"})}),dt(p,{fillMode:"flat",disabled:a,icon:"zoom-out","aria-label":"Zoom Out"})]})})};ca.states=Wx;ca.options=Jx;ca.className=Rd;ca.defaultOptions=qx;import{Fragment as jx,jsx as Be,jsxs as eh}from"react/jsx-runtime";var Rn="k-imageeditor-sidebar",Qx={scrollable:!1},Pd=e=>{let{sidebarItems:t,activeTool:o,disabled:a,adaptive:i,scrollable:s=Qx.scrollable,scrollingPosition:l,...m}=e,c=i?"k-separator k-separator-vertical":"k-separator";return Be("div",{...m,className:r(e.className,Rn,{[`${Rn}-scrollable`]:s,[`${Rn}-scrollable-${l}`]:l&&l!=="both"}),children:Be("div",{className:"k-imageeditor-sidebar-items",role:"toolbar","aria-label":"Tools",children:t??eh(jx,{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 ii="loader",Xi=ii;import{Fragment as Pn,jsx as wd,jsxs as Wi}from"react/jsx-runtime";var wn="k-loader",th={pulsing:"pulsing-2","infinite-spinner":"spinner-3","converging-spinner":"spinner-4"},oh=[],ah={size:[d.undefined,d.small,d.medium,d.large],themeColor:[L.undefined,L.base,L.primary,L.secondary,L.tertiary]},Kd={animation:"pulsing"},le=e=>{let{size:t,themeColor:o,animation:a=Kd.animation,...i}=e,s=wd("span",{className:"k-loader-segment"});return wd("div",{...i,className:r(e.className,wn,{[`k-loader-${th[a]||a}`]:a},C(wn,{size:t,themeColor:o})),role:"status","aria-label":i["aria-label"]||"Loading",children:Wi("div",{className:"k-loader-canvas",children:[a==="pulsing"&&Wi(Pn,{children:[s,s]}),a==="infinite-spinner"&&Wi(Pn,{children:[s,s,s]}),a==="converging-spinner"&&Wi(Pn,{children:[s,s,s,s]})]})})};le.states=oh;le.options=ah;le.className=wn;le.defaultOptions=Kd;le.moduleName=ii;le.folderName=Xi;var Dd=le;import{jsx as Kn,jsxs as _d}from"react/jsx-runtime";var Dn="k-loader-container",ih=[],rh={size:[d.undefined,d.small,d.medium,d.large],themeColor:[L.undefined,L.base,L.primary,L.secondary,L.tertiary]},Ji={loaderType:"pulsing",position:"top",panel:!1},ko=e=>{let{size:t,themeColor:o,loaderType:a=Ji.loaderType,position:i=Ji.position,panel:s=Ji.panel,...l}=e;return _d("div",{...l,className:r(e.className,Dn,C(Dn,{size:t}),{[`k-loader-${i}`]:i}),role:"status","aria-live":"polite","aria-label":l["aria-label"]||"Loading",children:[Kn(il,{className:"k-loader-container-overlay"}),_d("div",{className:r("k-loader-container-inner",{"k-loader-container-panel":s}),children:[Kn(Dd,{size:t,themeColor:o,animation:a}),Kn("div",{className:"k-loader-container-label",children:"Loading..."})]})]})};ko.states=ih;ko.options=rh;ko.className=Dn;ko.defaultOptions=Ji;ko.moduleName=ii;ko.folderName=Xi;import{jsx as C3}from"react/jsx-runtime";import{jsx as O3}from"react/jsx-runtime";import{jsx as w3}from"react/jsx-runtime";import{jsx as z3}from"react/jsx-runtime";import{jsx as _n}from"react/jsx-runtime";var nh=le.options,sh=le.states,lh={...le.defaultOptions,variant:"infinite-spinner"},dh=[{name:"infinite-spinner",title:"Infinite"},{name:"pulsing",title:"Pulsing"},{name:"converging-spinner",title:"Converging"}],ph=[],ua=e=>{let{variant:t,...o}=e;switch(t){case"pulsing":return _n(le,{animation:"pulsing",...o});case"converging-spinner":return _n(le,{animation:"converging-spinner",...o});default:return _n(le,{animation:"infinite-spinner",...o})}};ua.options=nh;ua.states=sh;ua.variants=dh;ua.defaultOptions=lh;ua.modifiers=ph;ua.className=le.className;var zd="image-editor",Hd="imageeditor",ri={width:494,height:307},ni={width:326,height:203};import{Fragment as Fd,jsx as Tt,jsxs as si}from"react/jsx-runtime";var zn="k-imageeditor",mh=[],ch={},uh={},de=e=>{let{toolbarItems:t,actionPane:o,sidebarItems:a,activeTool:i,placeholder:s,contentHeight:l,exporting:m,adaptive:c,sidebarScrollable:h,sidebarScrollingPosition:b,children:g,...u}=e,v=!!s,I=Tt("div",{className:"k-imageeditor-canvas-container",children:s??Tt("div",{className:"k-imageeditor-canvas",children:g})}),S=o&&Tt("div",{className:"k-imageeditor-action-pane",children:o}),k=Tt(Pd,{sidebarItems:a,activeTool:i,disabled:v,adaptive:c,scrollable:h,scrollingPosition:b});return si("div",{role:"application","aria-label":"Image Editor",...u,className:r(e.className,zn,{[`${zn}-adaptive`]:c}),children:[Tt("div",{className:"k-imageeditor-header",children:Tt(ca,{toolbarItems:t,adaptive:c,disabled:v})}),Tt("div",{className:"k-imageeditor-content",style:{height:l},children:c?si(Fd,{children:[I,S,k]}):si(Fd,{children:[k,S,I]})}),m&&si("div",{className:"k-loader-container k-loader-top",role:"status","aria-live":"polite","aria-label":"Exporting",children:[Tt(bt,{className:"k-loader-container-overlay"}),si("div",{className:"k-loader-container-inner k-loader-container-panel",children:[Tt(le,{animation:"pulsing",themeColor:"base",size:"medium","aria-label":"Exporting"}),Tt("div",{className:"k-loader-container-label",children:"Exporting"})]})]})]})};de.states=mh;de.options=ch;de.className=zn;de.defaultOptions=uh;de.moduleName=zd;de.folderName=Hd;import{Fragment as qi,jsx as oo,jsxs as li}from"react/jsx-runtime";var Hn="k-upload-dropzone",fh=[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=li(qi,{children:[oo(N,{icon:"upload"}),"Uploading..."]});break;case"done":c=li(qi,{children:[oo(N,{icon:"check"}),"Done"]});break;case"failed":c=li(qi,{children:[oo(N,{icon:"exclamation-circle"}),"Done"]});break;default:c=oo(qi,{});break}return li("div",{...m,className:r(e.className,Hn,"k-dropzone",M(Hn,{hover:t})),children:[li("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=fh;Yi.className=Hn;var Fn="upload",Ud=Fn;import{jsx as Zi,jsxs as $d}from"react/jsx-runtime";var Un="k-upload",bh=[n.hover,n.disabled],xh={},Vd={actionsLayout:"end"},Gd="upload-files-list",Ne=e=>{let{async:t,empty:o,actions:a,actionsLayout:i=Vd.actionsLayout,hover:s,status:l,disabled:m,buttonText:c,...h}=e,b=!!e.children;return $d("div",{...h,className:r(e.className,Un,M(Un,{disabled:m}),{"k-upload-async":t,"k-upload-empty":o}),children:[Zi(Yi,{status:l,hover:s,disabled:m,hasFiles:b,filesId:Gd,buttonText:c}),b&&Zi("ul",{className:"k-upload-files",role:"list",id:Gd,children:e.children}),a&&b&&$d(Ws,{alignment:i,orientation:"horizontal",children:[Zi(p,{className:"k-clear-selected",children:"Clear"}),Zi(p,{themeColor:"primary",className:"k-upload-selected",children:"Upload"})]})]})};Ne.states=bh;Ne.options=xh;Ne.className=Un;Ne.defaultOptions=Vd;Ne.moduleName=Fn;Ne.folderName=Ud;var di="progressbar",Qi=di;import{jsx as $n,jsxs as Gn}from"react/jsx-runtime";var pt="k-progressbar",hh=[n.disabled,n.indeterminate],Nh={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:h,style:b,ariaLabel:g,...u}=e;return Gn("div",{...u,className:r(e.className,pt,M(pt,{disabled:t}),{[`${pt}-${l}`]:l,[`${pt}-indeterminate`]:a,[`${pt}-reverse`]:m}),style:{...b,"--kendo-progressbar-value":c,[l==="horizontal"?"height":"width"]:l==="horizontal"?o:h},role:"progressbar","aria-label":g||"progress","aria-valuenow":a?void 0:Number(c),"aria-valuemin":0,"aria-valuemax":100,children:[$n("span",{className:r("k-progress-status-wrap",{[`k-progress-${s}`]:s&&!a}),children:i&&Gn("span",{className:"k-progress-status",children:[c,"%"]})}),!a&&$n("div",{className:"k-progressbar-value k-selected",children:$n("span",{className:r("k-progress-status-wrap",{[`k-progress-${s}`]:s}),children:i&&Gn("span",{className:"k-progress-status",children:[e.value,"%"]})})})]})};Re.states=hh;Re.options=Nh;Re.className=pt;Re.defaultOptions=Eo;Re.moduleName=di;Re.folderName=Qi;var Xd=Re;import{jsx as Vn}from"react/jsx-runtime";var Wd="k-chunk-progressbar",gh=(e,t)=>t<=e-1,vh=[n.disabled,n.indeterminate],Lh={},ji={chunkCount:5,orientation:"horizontal",progress:0},fa=e=>{let{disabled:t,chunkCount:o=ji.chunkCount,indeterminate:a,orientation:i=ji.orientation,progress:s=ji.progress,reverse:l,ariaLabel:m,...c}=e;return Vn("div",{...c,className:r(e.className,pt,Wd,M(pt,{disabled:t}),{[`${pt}-${i}`]:i,[`${pt}-indeterminate`]:a,[`${pt}-reverse`]:l}),role:"progressbar","aria-label":m||"progress","aria-valuenow":a?void 0:s,"aria-valuemin":0,"aria-valuemax":o,children:Vn("ul",{className:"k-progressbar-chunks k-reset",children:[...Array(o)].map((h,b)=>Vn("li",{className:r("k-progressbar-chunk",{"k-first":b===0,"k-last":b===[...Array(o)].length-1,"k-selected":gh(s,b)})},b))})})};fa.states=vh;fa.options=Lh;fa.className=Wd;fa.defaultOptions=ji;fa.moduleName=di;fa.folderName=Qi;import{jsx as Ih}from"react/jsx-runtime";var pi=e=>Ih(Xd,{...e});import{jsx as _5}from"react/jsx-runtime";import{jsx as ao}from"react/jsx-runtime";var Sh=Re.options,kh=Re.states,Jd={...Re.defaultOptions,variant:"start"},Eh=[{name:"start",title:"Label start"},{name:"center",title:"Label center"},{name:"end",title:"Label end"},{name:"empty",title:"No label"}],Mh=[],ba=e=>{let{variant:t,modifiers:o,...a}={...Jd,...e},i={},s={style:{width:"324px"}};switch(Object.keys(o||{}).forEach(l=>{switch(l){case"reverse":i.reverse=!!o?.[l];break;case"vertical":i.orientation=o?.[l]?"vertical":void 0,s.style=o?.[l]?void 0:{width:"324px"};break}}),t){case"end":return ao("div",{...s,children:ao(pi,{...a,...i,labelPosition:"end",value:"50"})});case"center":return ao("div",{...s,children:ao(pi,{...a,...i,labelPosition:"center",value:"50"})});case"empty":return ao("div",{...s,children:ao(pi,{...a,...i,label:!1,value:"50"})});default:return ao("div",{...s,children:ao(pi,{...a,...i,labelPosition:"start",value:"50"})})}};ba.options=Sh;ba.states=kh;ba.variants=Eh;ba.defaultOptions=Jd;ba.modifiers=Mh;ba.className=Re.className;import{jsx as Xn,jsxs as yh}from"react/jsx-runtime";var Ch="k-file-info",Wn=e=>{let{name:t,size:o,validationMsg:a,...i}=e;return yh("div",{...i,className:r(e.className,Ch),children:[t&&Xn("span",{className:"k-file-name",children:t}),o&&Xn("span",{className:"k-file-size",children:o}),a&&Xn("span",{className:"k-file-validation-message","aria-live":"polite",children:a})]})};import{Fragment as Th,jsx as Ht,jsxs as er}from"react/jsx-runtime";var Ah="k-file",Fe=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,Ah,{[`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(Wn,{name:a,size:s,validationMsg:m}),Ht("div",{className:"k-upload-actions",children:t==="progress"?er(Th,{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 fG,jsx as cG,jsxs as uG}from"react/jsx-runtime";import{Fragment as Oh,jsx as Jn,jsxs as Bh}from"react/jsx-runtime";var mi=e=>Jn(Ne,{async:!0,children:Bh(Oh,{children:[Jn(Fe,{name:"Image_With_Very_Very_Very_Very_Very_Long_Name1.png",icon:"file-image",size:"51.23 KB"}),Jn(Fe,{name:"Image2.jpg",icon:"file-image",size:"106.43 KB"})]}),...e});import{Fragment as kG,jsx as IG,jsxs as SG}from"react/jsx-runtime";import{jsx as Rh}from"react/jsx-runtime";var qn=e=>Rh(Ne,{async:!0,empty:!0,...e});import{Fragment as BG,jsx as OG,jsxs as RG}from"react/jsx-runtime";import{Fragment as _G,jsx as DG,jsxs as zG}from"react/jsx-runtime";import{jsx as Ft,jsxs as tr}from"react/jsx-runtime";var Ph=Ne.options,wh=Ne.states,qd={...Ne.defaultOptions,variant:"empty"},Kh=[{name:"empty",title:"Empty"},{name:"upload",title:"Upload"},{name:"uploading",title:"Uploading"},{name:"success",title:"Success"},{name:"failed",title:"Failed"}],Dh=[],xa=e=>{let{variant:t,...o}={...qd,...e};switch(t){case"success":return tr(mi,{status:"done",style:{width:"586px"},...o,children:[Ft(Fe,{status:"success",validationMsg:"File(s) uploaded successfully.",name:"Image1.png",icon:"file-image"}),Ft(Fe,{status:"success",validationMsg:"File(s) uploaded successfully.",name:"Image2.png",icon:"file-image"})]});case"failed":return tr(mi,{status:"failed",style:{width:"586px"},...o,children:[Ft(Fe,{status:"error",validationMsg:"File type not allowed.",name:"Movie1.mkv",icon:"file-image"}),Ft(Fe,{status:"error",validationMsg:"File type not allowed.",name:"Video2.mkv",icon:"file-image"})]});case"uploading":return tr(mi,{status:"uploading",style:{width:"586px"},...o,children:[Ft(Fe,{progress:"50",status:"progress",name:"Document1.txt",icon:"file-pdf",size:"328.92 KB"}),Ft(Fe,{progress:"70",status:"progress",name:"Document2.txt",icon:"file-pdf",size:"225.68 KB"})]});case"upload":return tr(mi,{actions:!0,status:"upload",style:{width:"586px"},...o,children:[Ft(Fe,{name:"Image1.png",icon:"file-image",size:"51.23 KB"}),Ft(Fe,{name:"Image2.jpg",icon:"file-image",size:"106.43 KB"})]});default:return Ft(qn,{async:!0,status:"upload",style:{width:"586px"},...o})}};xa.options=Ph;xa.states=wh;xa.variants=Kh;xa.defaultOptions=qd;xa.modifiers=Dh;xa.className=Ne.className;import{Fragment as c6,jsx as p6,jsxs as m6}from"react/jsx-runtime";import{jsx as ha,jsxs as Yd}from"react/jsx-runtime";var Zd="k-imageeditor-pane",_h=[],zh={},Hh={},fe=e=>{let{title:t,actions:o,adaptive:a,confirmDisabled:i,children:s,...l}=e;return Yd("div",{...l,className:r(e.className,Zd),children:[Yd("div",{className:"k-imageeditor-pane-header",children:[a&&ha(p,{fillMode:"flat",icon:"x","aria-label":"Close",title:"Close"}),ha("div",{className:"k-imageeditor-pane-title",children:t}),a?ha(p,{fillMode:"flat",icon:"check",disabled:i,"aria-label":"Confirm",title:"Confirm"}):ha(p,{fillMode:"flat",icon:"x","aria-label":"Close",title:"Close"})]}),ha("div",{className:"k-imageeditor-pane-content",children:s}),!a&&o&&ha($e,{alignment:"end",className:"k-imageeditor-pane-footer",children:o})]})};fe.states=_h;fe.options=zh;fe.className=Zd;fe.moduleName=null;fe.folderName=null;fe.defaultOptions=Hh;import{jsx as $h}from"react/jsx-runtime";var Yn="k-imageeditor-option-preview",Fh=[n.hover,n.focus,n.selected],Uh={},Gh={},ge=e=>{let{label:t,hover:o,focus:a,selected:i,children:s,...l}=e;return $h("div",{...l,className:r(e.className,Yn,M(Yn,{hover:o,focus:a,selected:i})),role:"button","aria-pressed":i?"true":"false",children:s??t})};ge.states=Fh;ge.options=Uh;ge.className=Yn;ge.moduleName=null;ge.folderName=null;ge.defaultOptions=Gh;import{jsx as Qd}from"react/jsx-runtime";var or="k-imageeditor-option-list",Zn={scrollable:!1,scrollingPosition:"start"},Mo=e=>{let{scrollable:t=Zn.scrollable,scrollingPosition:o=Zn.scrollingPosition,children:a,...i}=e;return Qd("div",{...i,className:r(e.className,or,{[`${or}-scrollable`]:t,[`${or}-scrollable-${o}`]:o&&o!=="both"}),children:Qd("div",{className:"k-imageeditor-option-list-items",children:a})})};Mo.className=or;Mo.moduleName=null;Mo.folderName=null;Mo.defaultOptions=Zn;import{Fragment as Xh,jsx as jd,jsxs as Wh}from"react/jsx-runtime";var Vh={},ci=e=>{let{label:t,style:o,children:a,imageSrc:i}=e;return Wh(Xh,{children:[jd("span",{"aria-hidden":"true",style:{position:"relative",display:"block",width:"100%",height:"40px",borderRadius:"2px",backgroundImage:i?`url('${i}')`:void 0,backgroundSize:"cover",boxSizing:"border-box",...o},children:a}),t&&jd("span",{className:"k-imageeditor-preview-thumbnail-label",children:t})]})};ci.moduleName=null;ci.folderName=null;ci.defaultOptions=Vh;import{jsx as Jh}from"react/jsx-runtime";var Pe=e=>{let{imageSrc:t,adaptive:o,style:a,...i}=e;return Jh("canvas",{role:"img","aria-label":"Image being edited",...o?ni:ri,...i,style:{...t&&{backgroundImage:`url('${t}')`},backgroundSize:"cover",...a}})};Pe.moduleName=null;Pe.folderName=null;import{Fragment as ep,jsx as Ut,jsxs as tp}from"react/jsx-runtime";var op={variant:"crop"},Co=e=>{let{variant:t=op.variant,grid:o,corners:a=!0}=e,i=t==="crop"?"k-resize-handle":"k-scale-handle",s=t==="scale"?"k-scale-handle":"k-resize-handle";return tp(ep,{children:[o&&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:`${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`})]})};Co.moduleName=null;Co.folderName=null;Co.defaultOptions=op;import{jsx as ap}from"react/jsx-runtime";var qh="k-rotate-handle",Qn=e=>ap("span",{...e,className:r(e.className,qh),children:ap(N,{icon:"rotate"})});Qn.moduleName=null;Qn.folderName=null;import{jsx as H6}from"react/jsx-runtime";var ip="form",rp="forms";import{Fragment as np,jsx as ar,jsxs as Qh}from"react/jsx-runtime";var ir="k-form",Yh=[],Zh={size:[d.undefined,d.small,d.medium,d.large]},jn={layout:"basic",tag:"form"},G=e=>{let{size:t,orientation:o,layout:a=jn.layout,formButtons:i,cols:s,gutters:l,tag:m=jn.tag,children:c,style:h}=e,b=m,g=r(e.className,ir,C(ir,{size:t}),{[`${ir}-${o}`]:o}),u=Qh(np,{children:[a==="grid"?ar("div",{className:r("k-form-layout","k-d-grid",{[`k-grid-cols-${s}`]:s}),style:{...typeof l=="string"&&{gap:l},...typeof l=="object"&&l.rows&&{rowGap:l.rows},...typeof l=="object"&&l.cols&&{columnGap:l.cols},...h},children:c}):ar(np,{children:c}),i&&ar("div",{className:"k-form-buttons",children:i})]}),{role:v,"aria-labelledby":I,"aria-label":S,id:k}=e;return ar(b,{className:g,role:v,"aria-labelledby":I,"aria-label":S,id:k,children:u})};G.states=Yh;G.options=Zh;G.className=ir;G.defaultOptions=jn;G.moduleName=ip;G.folderName=rp;var sp="label",lp="label";import{jsx as dp,jsxs as oN}from"react/jsx-runtime";var es="k-label",jh=[n.disabled],eN={},tN={},io=e=>{let{disabled:t,optional:o,info:a,text:i,children:s,...l}=e;return oN("label",{...l,className:r(e.className,es,M(es,{disabled:t})),children:[i||s,o&&dp("span",{className:"k-label-optional",children:"(Optional)"}),a&&dp("span",{className:"k-field-info",children:a})]})};io.states=jh;io.options=eN;io.className=es;io.defaultOptions=tN;io.moduleName=sp;io.folderName=lp;import{jsx as nN}from"react/jsx-runtime";var pp="k-form-hint",aN=[],iN={},rN={},mt=e=>{let{text:t,children:o,...a}=e;return nN("div",{...a,className:r(e.className,pp),children:t||o})};mt.states=aN;mt.options=iN;mt.className=pp;mt.defaultOptions=rN;import{jsx as pN}from"react/jsx-runtime";var mp="k-form-error",sN=[],lN={},dN={},ct=e=>{let{text:t,children:o,...a}=e;return pN("div",{...a,className:r(e.className,mp),children:t||o})};ct.states=sN;ct.options=lN;ct.className=mp;ct.defaultOptions=dN;import{jsx as rr,jsxs as cp}from"react/jsx-runtime";var ts="k-form-field",mN=[n.disabled],X=e=>{let{editorId:t,label:o,orientation:a,optional:i,editor:s,hint:l,error:m,info:c,disabled:h,dir:b,colSpan:g,...u}=e;return cp("div",{...u,className:r(ts,e.className,M(ts,{disabled:h}),{[`k-col-span-${g}`]:g}),dir:b,children:[o&&rr(io,{className:"k-form-label",id:t?`${t}-label`:void 0,htmlFor:t||void 0,optional:i,info:c?"(field info)":void 0,children:o}),a==="horizontal"&&!o&&rr("span",{className:"k-label k-form-label k-label-empty"}),cp("div",{className:"k-form-field-wrap",children:[s,l&&rr(mt,{id:t?`${t}-hint`:void 0,children:l}),m&&rr(ct,{id:t?`${t}-error`:void 0,children:m})]})]})};X.states=mN;X.className=ts;import{Fragment as cN,jsx as os,jsxs as uN}from"react/jsx-runtime";var up="k-form-fieldset",we=e=>{let{legend:t,layout:o,cols:a,gutters:i,colSpan:s}=e;return uN("fieldset",{className:r(up,{[`k-col-span-${s}`]:s}),children:[t&&os("legend",{className:"k-form-legend",children:t}),o==="grid"?os("div",{className:r("k-form-layout","k-d-grid",{[`k-grid-cols-${a}`]:a}),style:{...typeof i=="string"&&{gap:i},...typeof i=="object"&&i.rows&&{rowGap:i.rows},...typeof i=="object"&&i.cols&&{columnGap:i.cols}},children:e.children}):os(cN,{children:e.children})]})};we.className=up;var yo="radio",Na=yo;import{jsx as fp}from"react/jsx-runtime";var nr="k-radio",fN=[n.hover,n.focus,n.valid,n.invalid,n.required,n.disabled,n.checked],bN={size:[d.undefined,d.small,d.medium,d.large]},xN={},qe=e=>{let{id:t,checked:o,hover:a,focus:i,disabled:s,invalid:l,valid:m,required:c,size:h,...b}=e;return fp("span",{className:"k-radio-wrap",children:fp("input",{...b,id:t,type:"radio",checked:o,required:c,disabled:s||void 0,"aria-invalid":l?"true":void 0,className:r(e.className,nr,C(nr,{size:h}),M(nr,{hover:a,focus:i,disabled:s,invalid:l,valid:m,checked:o}))})})};qe.states=fN;qe.options=bN;qe.className=nr;qe.defaultOptions=xN;qe.moduleName=yo;qe.folderName=Na;var ut=qe;import{jsx as gN}from"react/jsx-runtime";var bp="k-radio-list",hN=[],NN={},xp={layout:"vertical"},oe=e=>{let{layout:t=xp.layout,...o}=e;return gN("ul",{...o,className:r(e.className,bp,{[`k-list-${t}`]:t}),role:"radiogroup",children:e.children})};oe.states=hN;oe.options=NN;oe.className=bp;oe.defaultOptions=xp;oe.moduleName=yo;oe.folderName=Na;import{jsx as SN}from"react/jsx-runtime";var hp="k-radio-list-item",vN=[],LN={},IN={},j=e=>{let{...t}=e;return SN("li",{...t,className:r(e.className,hp),role:"none",children:e.children})};j.states=vN;j.options=LN;j.className=hp;j.defaultOptions=IN;j.moduleName=yo;j.folderName=Na;import{jsx as y9}from"react/jsx-runtime";import{Fragment as kN,jsx as Np,jsxs as EN}from"react/jsx-runtime";var Ke=({children:e,id:t,...o})=>EN(kN,{children:[Np(ut,{...o,id:t}),Np("label",{className:"k-radio-label",htmlFor:t,children:e})]});import{Fragment as K9,jsx as w9,jsxs as D9}from"react/jsx-runtime";import{Fragment as G9,jsx as F9,jsxs as U9}from"react/jsx-runtime";import{Fragment as J9,jsx as W9,jsxs as q9}from"react/jsx-runtime";import{Fragment as e7,jsx as j9,jsxs as t7}from"react/jsx-runtime";import{Fragment as l7,jsx as s7,jsxs as d7}from"react/jsx-runtime";import{jsx as u7}from"react/jsx-runtime";import{jsx as BN}from"react/jsx-runtime";var CN=ut.options,yN=ut.states,AN=ut.defaultOptions,TN=[],ON=[],ga=e=>BN(Ke,{id:A("radio"),name:"value",...e,children:"Label"});ga.options=CN;ga.states=yN;ga.variants=TN;ga.defaultOptions=AN;ga.modifiers=ON;ga.className=ut.className;import{jsx as ft,jsxs as gp}from"react/jsx-runtime";var RN=oe.options,PN=oe.states,wN={...oe.defaultOptions,variant:"vertical"},KN=[{name:"vertical",title:"Vertical"},{name:"horizontal",title:"Horizontal"}],DN=[],va=e=>{let{variant:t,...o}=e;return t==="horizontal"?gp(oe,{layout:"horizontal",...o,children:[ft(j,{children:ft(Ke,{id:A("rb"),name:"value",defaultChecked:!0,children:"Label"})}),ft(j,{children:ft(Ke,{id:A("rb"),name:"value",children:"Label"})}),ft(j,{children:ft(Ke,{id:A("rb"),name:"value",children:"Label"})})]}):gp(oe,{...o,children:[ft(j,{children:ft(Ke,{id:A("rb"),name:"value",defaultChecked:!0,children:"Label"})}),ft(j,{children:ft(Ke,{id:A("rb"),name:"value",children:"Label"})}),ft(j,{children:ft(Ke,{id:A("rb"),name:"value",children:"Label"})})]})};va.options=RN;va.states=PN;va.variants=KN;va.defaultOptions=wN;va.modifiers=DN;va.className=oe.className;import{Fragment as q7,jsx as J7,jsxs as Y7}from"react/jsx-runtime";import{Fragment as r4,jsx as i4,jsxs as n4}from"react/jsx-runtime";import{Fragment as u4,jsx as c4,jsxs as f4}from"react/jsx-runtime";var vp="date-input",Lp="dateinput";import{jsx as ui,jsxs as FN}from"react/jsx-runtime";var Ip="k-dateinput",_N=[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:[x.undefined,x.solid,x.flat,x.outline]},HN={},Ye=e=>{let{size:t,rounded:o,fillMode:a,value:i,placeholder:s,hover:l,focus:m,valid:c,invalid:h,required:b,loading:g,disabled:u,readonly:v,showClearButton:I,showSpinButton:S,id:k,"aria-label":E,"aria-describedby":T,...K}=e;return FN($,{...K,size:t,rounded:o,fillMode:a,hover:l,focus:m,valid:c,invalid:h,required:b,loading:g,disabled:u,readonly:v,className:r(e.className,Ip),children:[ui(ce,{id:k,placeholder:s,value:i,disabled:u,"aria-label":E,"aria-describedby":T,"aria-invalid":h?"true":void 0}),ui(ee,{valid:c,invalid:h,loading:g,disabled:u}),ui(re,{loading:g,disabled:u}),I&&ui(me,{loading:g,disabled:u,readonly:v,value:i}),S&&ui(Et,{className:"k-input-spinner",size:t,fillMode:a,disabled:u})]})};Ye.states=_N;Ye.options=zN;Ye.className=Ip;Ye.defaultOptions=HN;Ye.moduleName=vp;Ye.folderName=Lp;var as=Ye;import{jsx as UN}from"react/jsx-runtime";var Sp=e=>UN(as,{...e});import{jsx as y4}from"react/jsx-runtime";import{jsx as JN}from"react/jsx-runtime";var GN=Ye.options,$N=Ye.states,VN=Ye.defaultOptions,XN=[{name:"spin-button",title:"`Spin` Button"}],WN=[],La=e=>{let{modifiers:t,...o}=e,a={};return Object.keys(t||{}).forEach(i=>{i==="spin-button"&&(a.showSpinButton=!!t?.[i])}),JN(Sp,{value:"2/04/2021",style:{width:"300px"},...o,...a})};La.options=GN;La.states=$N;La.variants=WN;La.defaultOptions=VN;La.modifiers=XN;La.className=Ye.className;var kp="masked-textbox",Ep="maskedtextbox";import{Fragment as Mp,jsx as ro,jsxs as is}from"react/jsx-runtime";var Cp="k-maskedtextbox",qN=[n.hover,n.focus,n.valid,n.invalid,n.required,n.disabled,n.loading,n.readonly],YN={size:[d.undefined,d.small,d.medium,d.large],rounded:[f.undefined,f.none,f.small,f.medium,f.large,f.full],fillMode:[x.undefined,x.solid,x.flat,x.outline]},rs={showClearButton:!0,separators:!0},Ze=e=>{let{size:t,rounded:o,fillMode:a,separators:i=rs.separators,showClearButton:s=rs.showClearButton,prefix:l,suffix:m,value:c,placeholder:h,hover:b,focus:g,valid:u,invalid:v,required:I,loading:S,disabled:k,readonly:E,id:T,"aria-label":K,"aria-describedby":Y,...ae}=e;return is($,{...ae,size:t,rounded:o,fillMode:a,hover:b,focus:g,valid:u,invalid:v,required:I,loading:S,disabled:k,readonly:E,className:r(e.className,Cp),children:[l&&is(Mp,{children:[ro(be,{children:l}),i&&ro(te,{})]}),ro(ce,{id:T,placeholder:h,value:c,disabled:k,"aria-label":K,"aria-describedby":Y,"aria-invalid":v?"true":void 0}),ro(ee,{valid:u,invalid:v,loading:S,disabled:k}),ro(re,{loading:S,disabled:k}),s&&ro(me,{loading:S,disabled:k,readonly:E,value:c}),m&&is(Mp,{children:[i&&ro(te,{}),ro(xe,{children:m})]})]})};Ze.states=qN;Ze.options=YN;Ze.className=Cp;Ze.defaultOptions=rs;Ze.moduleName=kp;Ze.folderName=Ep;var Ia=Ze;import{jsx as ZN}from"react/jsx-runtime";var yp=e=>ZN(Ia,{...e});import{Fragment as j4,jsx as Q4}from"react/jsx-runtime";import{Fragment as r8,jsx as i8}from"react/jsx-runtime";import{jsx as d8}from"react/jsx-runtime";import{jsx as u8}from"react/jsx-runtime";import{jsx as ns}from"react/jsx-runtime";var QN=Ze.states,jN=Ze.defaultOptions,eg=Ze.options,tg=[{name:"prefix",title:"Prefix"},{name:"suffix",title:"Suffix"},{name:"clear-button",title:"`Clear` Button"}],og=[],Sa=e=>{let{modifiers:t,...o}=e,a={};return Object.keys(t||{}).forEach(i=>{switch(i){case"prefix":a.prefix=t?.[i]?ns(V,{size:o.size,value:"Choose",fillMode:"flat"}):void 0;break;case"suffix":a.suffix=t?.[i]?ns(N,{icon:"lock"}):void 0;break;case"clear-button":a.showClearButton=t?.[i];break;default:break}}),ns(yp,{value:"Value",style:{width:300},...o,...a})};Sa.options=eg;Sa.states=QN;Sa.variants=og;Sa.defaultOptions=jN;Sa.modifiers=tg;Sa.className=Ze.className;var ss="switch",Ap=ss;import{jsx as sr,jsxs as Tp}from"react/jsx-runtime";var no="k-switch",ag=[n.hover,n.focus,n.disabled,n.readonly,n.checked],ig={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]},rg={},Ue=e=>{let{checked:t,onLabel:o,offLabel:a,size:i,trackRounded:s,thumbRounded:l,hover:m,focus:c,disabled:h,readonly:b,...g}=e;return Tp("span",{...g,className:r(e.className,no,C(no,{size:i}),M(no,{hover:m,focus:c,disabled:h,readonly:b}),{[`${no}-on`]:t,[`${no}-off`]:!t}),role:"switch","aria-checked":t?"true":"false",tabIndex:h?void 0:0,"aria-disabled":h?"true":void 0,"aria-readonly":b?"true":void 0,children:[Tp("span",{className:r("k-switch-track",C(no,{rounded:s})),children:[o&&sr("span",{className:"k-switch-label-on",children:o}),a&&sr("span",{className:"k-switch-label-off",children:a})]}),sr("span",{className:"k-switch-thumb-wrap",children:sr("span",{className:r("k-switch-thumb",C(no,{rounded:l}))})})]})};Ue.states=ag;Ue.options=ig;Ue.className=no;Ue.defaultOptions=rg;Ue.moduleName=ss;Ue.folderName=Ap;import{jsx as D8}from"react/jsx-runtime";import{jsx as F8}from"react/jsx-runtime";import{jsx as V8}from"react/jsx-runtime";import{jsx as q8}from"react/jsx-runtime";import{jsx as Op}from"react/jsx-runtime";var ng=Ue.options,sg=Ue.states,lg={...Ue.defaultOptions,variant:"on"},dg=[{name:"on",title:"On"},{name:"off",title:"Off"}],pg=[],ka=e=>{let{variant:t,...o}=e;return t==="off"?Op(Ue,{checked:!1,onLabel:"On",offLabel:"Off",...o}):Op(Ue,{checked:!0,onLabel:"On",offLabel:"Off",...o})};ka.options=ng;ka.states=sg;ka.variants=dg;ka.defaultOptions=lg;ka.modifiers=pg;ka.className=Ue.className;var ds="textarea",Bp=ds;import{Fragment as Rp,jsx as fi,jsxs as ps}from"react/jsx-runtime";var Pp="k-textarea",mg=[n.hover,n.focus,n.valid,n.invalid,n.required,n.disabled],cg={size:[d.undefined,d.small,d.medium,d.large],rounded:[f.undefined,f.none,f.small,f.medium,f.large,f.full],fillMode:[x.undefined,x.solid,x.flat,x.outline]},Ea={flow:"vertical",affixesOrientation:"horizontal",resize:"both",prefixSeparator:!0,suffixSeparator:!0},Ge=e=>{let{size:t,rounded:o,fillMode:a,prefixSeparator:i=Ea.prefixSeparator,suffixSeparator:s=Ea.prefixSeparator,affixesOrientation:l=Ea.affixesOrientation,flow:m=Ea.flow,resize:c=Ea.resize,prefix:h,suffix:b,rows:g,value:u,placeholder:v,hover:I,focus:S,valid:k,invalid:E,required:T,disabled:K,id:Y,"aria-label":ae,"aria-describedby":ie,...pe}=e;return ps($,{...pe,size:t,rounded:o,fillMode:a,hover:I,focus:S,valid:k,invalid:E,required:T,disabled:K,className:r(e.className,Pp,{"!k-flex-col":m==="vertical","!k-flex-row":m==="horizontal"}),children:[h&&ps(Rp,{children:[fi(be,{className:r({"!k-align-items-start":m===l}),direction:l,children:h}),i&&fi(te,{direction:m==="horizontal"?"vertical":"horizontal"})]}),fi(Fa,{className:r("!k-overflow-auto",{"!k-flex-none":m==="vertical","k-resize-x":c==="x","k-resize-y":c==="y","k-resize":c==="both","k-resize-none":c==="none"}),value:u,placeholder:v,rows:g,disabled:K,id:Y,"aria-label":ae,"aria-describedby":ie,"aria-invalid":E?"true":void 0}),b&&ps(Rp,{children:[s&&fi(te,{direction:m==="horizontal"?"vertical":"horizontal"}),fi(xe,{className:r({"!k-align-items-start":m===l}),direction:l,children:b})]})]})};Ge.states=mg;Ge.options=cg;Ge.className=Pp;Ge.defaultOptions=Ea;Ge.moduleName=ds;Ge.folderName=Bp;import{jsx as x$}from"react/jsx-runtime";import{Fragment as I$,jsx as L$}from"react/jsx-runtime";import{Fragment as y$,jsx as C$}from"react/jsx-runtime";import{jsx as B$}from"react/jsx-runtime";import{jsx as lr}from"react/jsx-runtime";var ug=Ge.options,fg=Ge.states,wp={...Ge.defaultOptions,variant:"vertical"},bg=[{name:"vertical",title:"Flow vertical"},{name:"horizontal",title:"Flow horizontal"}],xg=[{name:"prefix",title:"Prefix"},{name:"suffix",title:"Suffix"}],Ma=e=>{let{variant:t,modifiers:o,...a}={...wp,...e},i={resize:"y"};return Object.keys(o||{}).forEach(s=>{switch(s){case"prefix":i.prefix=o?.[s]?lr(N,{icon:"comment"}):void 0;break;case"suffix":i.suffix=o?.[s]?lr(N,{icon:"volume-up"}):void 0;break;default:break}}),t==="horizontal"?lr(Ge,{flow:"horizontal",placeholder:"Enter text...",style:{width:300},...a,...i}):lr(Ge,{flow:"vertical",placeholder:"Enter text...",style:{width:300},...a,...i})};Ma.options=ug;Ma.states=fg;Ma.variants=bg;Ma.defaultOptions=wp;Ma.modifiers=xg;Ma.className=Ge.className;import{Fragment as oV,jsx as tV,jsxs as aV}from"react/jsx-runtime";import{Fragment as Ig,jsx as De,jsxs as Ca}from"react/jsx-runtime";var hg=G.options,Ng=G.states,gg={...G.defaultOptions,variant:"vertical"},vg=[{name:"horizontal",title:"Horizontal"},{name:"vertical",title:"Vertical"}],Lg=[],ya=e=>{let{variant:t,size:o,...a}=e,i=Ca(we,{legend:"Form Legend",children:[De(X,{label:"Label",editor:De(U,{size:o})}),De(X,{label:"Label",hint:"Hint text",editor:De(V,{value:"Dropdown List",size:o})}),De(X,{label:"City",editor:Ca("ul",{className:"k-radio-list k-list-horizontal",children:[Ca("li",{className:"k-radio-list-item",children:[De(qe,{checked:!0,size:o}),De("label",{className:"k-radio-label",children:"Label"})]}),Ca("li",{className:"k-radio-list-item",children:[De(qe,{size:o}),De("label",{className:"k-radio-label",children:"Label"})]}),Ca("li",{className:"k-radio-list-item",children:[De(qe,{size:o}),De("label",{className:"k-radio-label",children:"Label"})]})]})})]}),s=Ca(Ig,{children:[De(p,{className:"k-form-submit",themeColor:"primary",size:o,children:"Submit"}),De(p,{className:"k-form-clear",size:o,children:"Clear"})]});return t==="horizontal"?De(G,{orientation:"horizontal",size:o,...a,formButtons:s,children:i}):De(G,{size:o,...a,formButtons:s,children:i})};ya.options=hg;ya.states=Ng;ya.variants=vg;ya.defaultOptions=gg;ya.modifiers=Lg;ya.className=G.className;import{jsx as Kp,jsxs as Cg}from"react/jsx-runtime";var Sg=mt.options,kg=mt.states,Dp={...mt.defaultOptions},Eg=[],Mg=[{name:"showHint",title:"Show Hint"}],Aa=e=>{let{modifiers:t,...o}={...Dp,...e},a=t?.showHint??!0;return Cg("div",{style:{display:"flex",flexDirection:"column",gap:"4px"},children:[Kp(U,{placeholder:"Component",style:{width:"200px"}}),a&&Kp(mt,{...o,children:"Hint text"})]})};Aa.options=Sg;Aa.states=kg;Aa.variants=Eg;Aa.defaultOptions=Dp;Aa.modifiers=Mg;Aa.className=mt.className;import{jsx as _p,jsxs as Bg}from"react/jsx-runtime";var yg=ct.options,Ag=ct.states,zp={...ct.defaultOptions},Tg=[],Og=[{name:"showError",title:"Show Error"}],Ta=e=>{let{modifiers:t,...o}={...zp,...e},a=t?.showError??!0;return Bg("div",{style:{display:"flex",flexDirection:"column",gap:"4px"},children:[_p(U,{placeholder:"Component",invalid:a,style:{width:"200px"}}),a&&_p(ct,{...o,children:"Error text"})]})};Ta.options=yg;Ta.states=Ag;Ta.variants=Tg;Ta.defaultOptions=zp;Ta.modifiers=Og;Ta.className=ct.className;import{Fragment as WV,jsx as XV,jsxs as JV}from"react/jsx-runtime";import{Fragment as iX,jsx as aX,jsxs as rX}from"react/jsx-runtime";import{Fragment as vX,jsx as gX,jsxs as LX}from"react/jsx-runtime";var cs="segmented-control",Hp=cs,Fp="segmented-control-button",Up="segmented-control";import{jsx as wg,jsxs as Kg}from"react/jsx-runtime";var dr="k-segmented-control",Rg=[],Pg={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 Kg("div",{...l,className:r(e.className,dr,C(dr,{size:t,rounded:o}),{[`${dr}-stretched`]:a}),role:"group",children:[wg("div",{className:"k-segmented-control-thumb","aria-hidden":"true",style:s}),i]})};Gt.states=Rg;Gt.options=Pg;Gt.className=dr;Gt.moduleName=cs;Gt.folderName=Hp;import{jsx as us,jsxs as Hg}from"react/jsx-runtime";var fs="k-segmented-control-button",Dg=[n.selected,n.hover,n.focus,n.disabled],_g={},zg={},Ot=e=>{let{hover:t,focus:o,selected:a,disabled:i,icon:s,endIcon:l,text:m,iconClassName:c,...h}=e;return Hg("button",{...h,className:r(e.className,fs,M(fs,{hover:t,focus:o,disabled:i,selected:a})),"aria-pressed":a?"true":"false","aria-disabled":i?"true":void 0,tabIndex:a?0:-1,children:[s&&us(N,{className:r(c,"k-segmented-control-button-icon"),icon:s}),(m||e.children)&&us("span",{className:"k-segmented-control-button-text",children:m||e.children}),l&&us(N,{className:r(c,"k-segmented-control-button-icon"),icon:l})]})};Ot.states=Dg;Ot.options=_g;Ot.className=fs;Ot.defaultOptions=zg;Ot.moduleName=Fp;Ot.folderName=Up;import{Fragment as DX,jsx as KX,jsxs as _X}from"react/jsx-runtime";import{Fragment as $X,jsx as GX,jsxs as VX}from"react/jsx-runtime";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 $W,jsx as GW,jsxs as VW}from"react/jsx-runtime";import{Fragment as sJ,jsx as nJ,jsxs as lJ}from"react/jsx-runtime";import{Fragment as vJ,jsx as gJ,jsxs as LJ}from"react/jsx-runtime";import{Fragment as RJ,jsx as BJ,jsxs as PJ}from"react/jsx-runtime";import{Fragment as FJ,jsx as HJ,jsxs as UJ}from"react/jsx-runtime";import{Fragment as ZJ,jsx as YJ,jsxs as QJ}from"react/jsx-runtime";import{Fragment as mq,jsx as pq,jsxs as cq}from"react/jsx-runtime";import{Fragment as kq,jsx as Sq,jsxs as Eq}from"react/jsx-runtime";import{jsx as Tq}from"react/jsx-runtime";import{jsx as wq}from"react/jsx-runtime";import{jsx as Hq}from"react/jsx-runtime";import{jsx as Vq}from"react/jsx-runtime";import{jsx as Yq}from"react/jsx-runtime";import{jsx as tY}from"react/jsx-runtime";import{jsx as nY}from"react/jsx-runtime";import{jsx as mY}from"react/jsx-runtime";import{jsx as xY}from"react/jsx-runtime";import{jsx as LY}from"react/jsx-runtime";import{jsx as MY}from"react/jsx-runtime";import{Fragment as Gp,jsx as w,jsxs as Ao}from"react/jsx-runtime";var $p=({cropWidth:e=494,cropHeight:t=307,isPristine:o=e===494&&t===307,adaptive:a,canvas:i=a?ni:ri,imageSrc:s,...l})=>w(de,{adaptive:a,activeTool:"Crop",actionPane:w(fe,{title:"Crop",adaptive:a,confirmDisabled:o,actions:Ao(Gp,{children:[w(p,{disabled:o,children:"Reset"}),w(p,{themeColor:"primary",disabled:o,children:"Apply"})]}),children:Ao(G,{tag:"div",children:[w(X,{label:"Orientation",editor:Ao(oe,{layout:"horizontal",children:[w(j,{children:w(Ke,{id:"crop-orientation-landscape",name:"crop-orientation",checked:!0,children:"Landscape"})}),w(j,{children:w(Ke,{id:"crop-orientation-portrait",name:"crop-orientation",children:"Portrait"})})]})}),w(X,{label:"Aspect Ratio",editor:Ao(Mo,{scrollable:!0,children:[w(ge,{selected:!0,children:w("span",{className:"k-imageeditor-option-label",children:"Original"})}),w(ge,{children:w("span",{className:"k-imageeditor-option-label",children:"1:1"})}),w(ge,{children:w("span",{className:"k-imageeditor-option-label",children:"3:2"})}),w(ge,{children:w("span",{className:"k-imageeditor-option-label",children:"4:3"})}),w(ge,{children:w("span",{className:"k-imageeditor-option-label",children:"5:4"})}),w(ge,{children:w("span",{className:"k-imageeditor-option-label",children:"7:5"})}),w(ge,{children:w("span",{className:"k-imageeditor-option-label",children:"16:9"})}),w(ge,{children:w("span",{className:"k-imageeditor-option-label",children:"Custom"})})]})}),Ao(we,{layout:"grid",cols:2,gutters:{cols:"8px"},children:[w(X,{label:"Width",editorId:"crop-width",editor:w(R,{id:"crop-width",showClearButton:!1,showSpinButton:!1,value:String(e),prefix:w(N,{icon:"arrows-left-right"})})}),w(X,{label:"Height",editorId:"crop-height",editor:w(R,{id:"crop-height",showClearButton:!1,showSpinButton:!1,value:String(t),prefix:w(N,{icon:"arrows-top-bottom"})})})]}),w(X,{editor:w(ot,{id:"crop-lock",checked:!0,children:"Lock Aspect Ratio"})})]})}),children:Ao(Gp,{children:[w(Pe,{...i,imageSrc:s}),Ao("div",{className:"k-imageeditor-crop-overlay",style:{"--crop-x":"0px","--crop-y":"0px","--crop-w":`${i.width}px`,"--crop-h":`${i.height}px`},children:[w("div",{className:"k-imageeditor-crop-dim"}),w("div",{className:"k-imageeditor-crop",style:{width:`${i.width}px`,height:`${i.height}px`},children:w(Co,{variant:"crop",grid:!0})})]})]}),...l});import{jsx as Fg}from"react/jsx-runtime";var IZ=e=>Fg($p,{adaptive:!0,...e});export{IZ as ImageEditorCropAdaptive};
|
|
1
|
+
var r=(...e)=>e.filter(t=>t!==!0&&!!t).map(t=>Array.isArray(t)?r(...t):typeof t=="object"?Object.keys(t).map((o,a)=>t[a]||t[o]&&o||null).filter(o=>o!==null).join(" "):t).filter(t=>!!t).join(" ");var C=(e,t)=>r({[`${e}-xs`]:t.size==="xsmall",[`${e}-sm`]:t.size==="small",[`${e}-md`]:t.size==="medium",[`${e}-lg`]:t.size==="large",[`${e}-xl`]:t.size==="xlarge",[`${e}-xxl`]:t.size==="xxlarge",[`${e}-xxxl`]:t.size==="xxxlarge"},{[`${e}-${t.fillMode}`]:t.fillMode},{[`${e}-${t.themeColor}`]:t.themeColor},{"k-rounded-sm":t.rounded==="small","k-rounded-md":t.rounded==="medium","k-rounded-lg":t.rounded==="large","k-rounded-full":t.rounded==="full","k-rounded-none":t.rounded==="none"}),M=(e,t)=>{let{valid:o,invalid:a,hover:i,focus:s,checked:l,active:m,selected:c,disabled:h,indeterminate:b,loading:g,empty:u,readonly:v,highlighted:I,...S}=t;return r({"k-valid":o,"k-invalid":a,"k-hover":i,"k-focus":s,"k-checked":l,"k-active":m,"k-selected":c,"k-disabled":h,"k-indeterminate":b&&!l,"k-loading":g,"k-empty":u,"k-readonly":v,"k-highlighted":I},Object.keys(S).reduce((k,E)=>(E.startsWith("k-")?k[E]=S[E]:k[`k-${E}`]=S[E],k),{}))};function xs(e,t){if(!t)return{};let o=Array.isArray(t)?t:[t];return Object.fromEntries(o.map(a=>[`k-${a}`,!0]))}var d={undefined:void 0,xsmall:"xsmall",small:"small",medium:"medium",large:"large",xlarge:"xlarge",xxlarge:"xxlarge",xxxlarge:"xxxlarge"},f={undefined:void 0,none:"none",small:"small",medium:"medium",large:"large",full:"full"},x={undefined:void 0,solid:"solid",tint:"tint",flat:"flat",outline:"outline",clear:"clear",link:"link"},gt={undefined:void 0,outline:"outline",solid:"solid",duotone:"duotone"},L={undefined:void 0,inherit:"inherit",base:"base",primary:"primary",secondary:"secondary",tertiary:"tertiary",info:"info",success:"success",warning:"warning",error:"error",inverse:"inverse"},n={open:"open",hover:"hover",focus:"focus",active:"active",selected:"selected",disabled:"disabled",valid:"valid",invalid:"invalid",loading:"loading",required:"required",empty:"empty",indeterminate:"indeterminate",checked:"checked",readonly:"readonly",highlighted:"highlighted",generating:"generating",expanded:"expanded"};var pr={};function A(e){return pr[e]=(pr[e]||0)+1,`k-${e}-${pr[e]}`}import{Fragment as Jp,jsx as hs}from"react/jsx-runtime";var mr="k-font-icon",Vp=[],Xp={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]},Wp={},Pa=e=>{let{size:t,themeColor:o,icon:a,rotate:i,flip:s,...l}=e;return a?hs("span",{...l,className:r(e.className,mr,C(mr,{size:t}),{[`k-i-${a}`]:a,[`k-color-${o}`]:o,[`k-rotate-${i}`]:i,"k-flip-h":s==="h"||s==="both","k-flip-v":s==="v"||s==="both"}),"aria-hidden":"true"}):hs(Jp,{})};Pa.states=Vp;Pa.options=Xp;Pa.className=mr;Pa.defaultOptions=Wp;var Ns=Pa;import{Fragment as Zp,jsx as hi}from"react/jsx-runtime";var cr="k-svg-icon",qp=[],Yp={size:[d.undefined,d.xsmall,d.small,d.medium,d.large,d.xlarge,d.xxlarge,d.xxxlarge],themeColor:[L.undefined,L.base,L.primary,L.secondary,L.tertiary,L.success,L.warning,L.error,L.info],variant:[gt.outline,gt.solid,gt.duotone]},ur={viewBox:"0 0 24 24",variant:gt.outline},wa=e=>{let{size:t,themeColor:o,rotate:a,flip:i,viewBox:s=ur.viewBox,variant:l=ur.variant,icon:m,...c}=e;if(!m)return hi(Zp,{});if(m==="none")return hi("span",{...c,className:r(e.className,cr,C("k-icon",{size:t}),"k-none"),"aria-hidden":"true"});let h=typeof m=="object"&&m.name&&m.name,b=typeof m=="object"?l&&m.variants?.[l]||m.variants?.outline||m.content:void 0;return hi("span",{...c,className:r(e.className,cr,C("k-icon",{size:t}),{[`k-svg-i-${h}`]:h,[`k-color-${o}`]:o,[`k-rotate-${a}`]:a,"k-flip-h":i==="h"||i==="both","k-flip-v":i==="v"||i==="both"}),"aria-hidden":"true",children:hi("svg",{"aria-hidden":!0,focusable:!1,xmlns:"http://www.w3.org/2000/svg",viewBox:typeof m=="object"?m.viewBox:s,dangerouslySetInnerHTML:b!==void 0?{__html:b}:void 0,children:m?void 0:e.children})})};wa.states=qp;wa.options=Yp;wa.className=cr;wa.defaultOptions=ur;var fr=wa;import*as br from"@progress/kendo-svg-icons";var gs="icon",vs="icons";import{useContext as jp}from"react";import{createContext as Qp}from"react";var Ls=Qp({iconsType:"svg"});import{Fragment as Is,jsx as Ka}from"react/jsx-runtime";var Ni="k-icon",em=e=>e.replace(/([-_][a-z0-9])/gi,t=>t.toUpperCase().replace("-","").replace("_","")),tm=[],om={size:[d.undefined,d.xsmall,d.small,d.medium,d.large,d.xlarge,d.xxlarge,d.xxxlarge],themeColor:[L.undefined,L.base,L.primary,L.secondary,L.tertiary,L.success,L.warning,L.error,L.info],variant:[gt.outline,gt.solid,gt.duotone]},gi={viewBox:"0 0 24 24",type:"svg",variant:gt.outline},N=e=>{let{iconsType:t}=jp(Ls),{size:o,themeColor:a,icon:i,type:s=t||gi.type,rotate:l,flip:m,viewBox:c=gi.viewBox,variant:h=gi.variant,...b}=e;if(!i)return Ka(Is,{});if((t||s)==="svg"){if(i==="none")return Ka(fr,{...b,className:r(e.className,Ni),icon:i,size:o,variant:h});let u=br[i]?i:em(`${i}-icon`);return br[u]?Ka(fr,{...b,className:r(e.className,Ni),icon:br[u],size:o,themeColor:a,rotate:l,flip:m,viewBox:c,variant:h}):Ka(Is,{})}return Ka(Ns,{...b,className:r(e.className,Ni),icon:i,size:o,themeColor:a,rotate:l,flip:m})};N.states=tm;N.options=om;N.defaultOptions=gi;N.className=Ni;N.moduleName=gs;N.folderName=vs;var xr="button",Ss=xr;import{Fragment as hr,jsx as Vt,jsxs as ks}from"react/jsx-runtime";var Da="k-button",am=["icon-button"],im=[n.hover,n.focus,n.active,n.selected,n.disabled,n.generating],rm={size:[d.undefined,d.xsmall,d.small,d.medium,d.large],rounded:[f.undefined,f.none,f.small,f.medium,f.large,f.full],fillMode:[x.undefined,x.solid,x.flat,x.outline,x.clear,x.link],themeColor:[L.undefined,L.base,L.primary,L.secondary,L.tertiary,L.success,L.warning,L.error,L.info,L.inverse]},Nr={showArrow:!1,arrowIconName:"chevron-down"},p=e=>{let{as:t="button",size:o,rounded:a,fillMode:i,themeColor:s,showArrow:l=Nr.showArrow,arrowIconName:m=Nr.arrowIconName,variant:c,hover:h,focus:b,active:g,selected:u,disabled:v,togglable:I,ariaDisabled:S,icon:k,endIcon:E,iconSize:T,text:K,iconClassName:Y,className:ae,...ie}=e,pe=k!=null,so=e.children!==void 0;return ks(t,{className:r(ae,Da,xs(Da,c),C(Da,{size:o,rounded:a,fillMode:i,themeColor:s}),M(Da,{hover:h,focus:b,active:g,disabled:v||S,selected:u}),{"k-icon-button":!K&&!so&&pe}),"aria-pressed":I?u?"true":"false":void 0,...ie,"aria-disabled":S?"true":void 0,disabled:v||void 0,children:[typeof k=="string"&&k&&Vt(N,{className:r(Y,"k-button-icon"),icon:k,size:T}),k&&typeof k!="string"&&Vt(hr,{children:k}),K?ks(hr,{children:[K&&Vt("span",{className:"k-button-text",children:K}),e.children]}):e.children&&Vt("span",{className:"k-button-text",children:e.children}),typeof E=="string"&&E&&Vt(N,{className:r(Y,"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=im;p.options=rm;p.variants=am;p.className=Da;p.defaultOptions=Nr;p.moduleName=xr;p.folderName=Ss;import{jsx as nm}from"react/jsx-runtime";var Rt=e=>nm(p,{icon:"folder",...e,"aria-label":e["aria-label"]||"Folder",children:void 0});import{jsx as sm}from"react/jsx-runtime";var _a=e=>sm(p,{icon:"folder",children:"Button",...e});import{jsx as Ov}from"react/jsx-runtime";import{jsx as lm}from"react/jsx-runtime";var vt=e=>lm(p,{children:"Button",...e});import{jsx as gr}from"react/jsx-runtime";var dm=p.options,pm=p.states,mm={...p.defaultOptions,variant:"text"},cm=[{name:"icon-only",title:"Icon Only"},{name:"icon-and-text",title:"Icon & Text"},{name:"text",title:"Text"}],um=[],To=e=>{let{variant:t,...o}=e;switch(t){case"icon-only":return gr(Rt,{...o,icon:"star"});case"icon-and-text":return gr(_a,{...o,icon:"star",children:"Button"});default:return gr(vt,{...o,children:"Button"})}};To.options=dm;To.states=pm;To.variants=cm;To.defaultOptions=mm;To.modifiers=um;To.className=p.className;var vr="button",Es=vr;import{jsx as hm}from"react/jsx-runtime";var za="k-button-group",fm=[n.disabled],bm={fillMode:[x.undefined,x.solid,x.flat,x.outline,x.clear,x.link]},xm={},O=e=>{let{fillMode:t,disabled:o,stretched:a,...i}=e;return hm("div",{role:"group",...i,className:r(e.className,za,C(za,{fillMode:t}),M(za,{disabled:o}),{[`${za}-stretched`]:a}),...o&&{"aria-disabled":"true"},children:e.children})};O.states=fm;O.options=bm;O.className=za;O.defaultOptions=xm;O.moduleName=vr;O.folderName=Es;import{Fragment as rL,jsx as iL,jsxs as nL}from"react/jsx-runtime";import{Fragment as cL,jsx as mL,jsxs as uL}from"react/jsx-runtime";import{Fragment as gL,jsx as NL,jsxs as vL}from"react/jsx-runtime";import{Fragment as ML,jsx as EL,jsxs as CL}from"react/jsx-runtime";import{Fragment as RL,jsx as BL,jsxs as PL}from"react/jsx-runtime";import{Fragment as HL,jsx as zL,jsxs as FL}from"react/jsx-runtime";import{Fragment as WL,jsx as XL,jsxs as JL}from"react/jsx-runtime";import{jsx as Pt,jsxs as Lr}from"react/jsx-runtime";var Nm={...p.options,...O.options},gm=p.states,vm={...p.defaultOptions,...O.defaultOptions,variant:"text-button"},Lm=[{name:"icon-button",title:"Icon Only"},{name:"text-button",title:"Text"},{name:"icon-text-button",title:"Icon Text"}],Im=[],Oo=e=>{let{variant:t,className:o,...a}=e;return t==="icon-button"?Lr(O,{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(O,{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(O,{fillMode:a.fillMode,className:o,children:[Pt(p,{...a,children:"First"}),Pt(p,{...a,children:"Middle"}),Pt(p,{...a,children:"Last"})]})};Oo.options=Nm;Oo.states=gm;Oo.variants=Lm;Oo.defaultOptions=vm;Oo.modifiers=Im;Oo.className=O.className;var Ha="input",vi=Ha;import{jsx as Mm}from"react/jsx-runtime";var Li="k-input",Sm=[n.hover,n.focus,n.valid,n.invalid,n.required,n.disabled,n.loading,n.readonly],km={size:[d.undefined,d.small,d.medium,d.large],rounded:[f.undefined,f.none,f.small,f.medium,f.large,f.full],fillMode:[x.undefined,x.solid,x.flat,x.outline]},Em={},$=e=>{let{hover:t,focus:o,disabled:a,invalid:i,valid:s,loading:l,readonly:m,size:c,rounded:h,fillMode:b,...g}=e;return Mm("span",{...g,className:r(e.className,Li,C(Li,{size:c,rounded:h,fillMode:b}),M(Li,{hover:t,focus:o,disabled:a,invalid:i,valid:s,loading:l,readonly:m}))})};$.states=Sm;$.options=km;$.className=Li;$.defaultOptions=Em;$.moduleName=Ha;$.folderName=vi;import{jsx as Tm}from"react/jsx-runtime";var Ii="k-picker",Cm=[n.hover,n.focus,n.valid,n.invalid,n.required,n.disabled,n.loading,n.readonly],ym={size:[d.undefined,d.small,d.medium,d.large],rounded:[f.undefined,f.none,f.small,f.medium,f.large,f.full],fillMode:[x.undefined,x.solid,x.flat,x.outline]},Am={},Lt=e=>{let{hover:t,focus:o,disabled:a,invalid:i,valid:s,loading:l,readonly:m,size:c,rounded:h,fillMode:b,...g}=e;return Tm("span",{...g,className:r(e.className,Ii,C(Ii,{size:c,rounded:h,fillMode:b}),M(Ii,{hover:t,focus:o,disabled:a,invalid:i,valid:s,loading:l,readonly:m})),children:e.children})};Lt.states=Cm;Lt.options=ym;Lt.className=Ii;Lt.defaultOptions=Am;Lt.moduleName=Ha;Lt.folderName=vi;import{Fragment as Rm,jsx as Ir}from"react/jsx-runtime";var Ms="k-clear-value",Om=[n.disabled,n.loading,n.readonly],Bm={},me=e=>{let{disabled:t,loading:o,readonly:a,value:i}=e;return t||a||o||!i?Ir(Rm,{}):Ir("span",{className:r(e.className,Ms),children:Ir(N,{icon:"x"})})};me.states=Om;me.options=Bm;me.className=Ms;import{jsx as Km}from"react/jsx-runtime";var Sr="k-input-inner",Pm=[],wm={},Si={type:"text",autocomplete:"off",value:"",placeholder:""},ce=e=>{let{value:t=Si.value,type:o=Si.type,placeholder:a=Si.placeholder,autocomplete:i=Si.autocomplete,disabled:s,readOnly:l,...m}=e;return Km("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=Pm;ce.options=wm;ce.className=Sr;import{jsx as Cs,jsxs as zm}from"react/jsx-runtime";var kr="k-input-inner",Dm=[],_m={},lo=e=>{let{value:t,placeholder:o,showValue:a,valueIcon:i,valueIconName:s,...l}=e;return zm("span",{...l,className:r(e.className,kr,C(kr,e)),children:[i,!i&&s&&Cs(N,{className:"k-input-value-icon",icon:s}),a&&!t&&o,a&&t&&Cs("span",{className:"k-input-value-text",children:t})]})};lo.states=Dm;lo.options=_m;lo.className=kr;import{jsx as Um}from"react/jsx-runtime";var Er="k-input-inner",Hm=[],Fm={},ys={value:"",placeholder:""},Fa=e=>{let{value:t=ys.value,placeholder:o=ys.placeholder,rows:a,disabled:i,...s}=e;return Um("textarea",{...s,className:r(e.className,Er,C(Er,e)),placeholder:o,rows:a,defaultValue:t,disabled:i||void 0})};Fa.states=Hm;Fa.options=Fm;Fa.className=Er;import{Fragment as $m,jsx as As}from"react/jsx-runtime";var Ts="k-input-loading-icon",Gm=[n.disabled,n.loading],re=e=>{let{disabled:t,loading:o}=e;return t||!o?As($m,{}):As("span",{className:r(e.className,Ts,"k-icon k-i-loading")})};re.states=Gm;re.className=Ts;import{Fragment as Wm,jsx as Os}from"react/jsx-runtime";var Bs="k-input-validation-icon",Vm=[n.valid,n.invalid,n.disabled,n.loading],Xm={},ee=e=>{let{valid:t,invalid:o,disabled:a,loading:i}=e,s=o?"warning-circle":"check-circle";return a||i||!!!(t||o)?Os(Wm,{}):Os(N,{className:r(Bs),icon:s})};ee.states=Vm;ee.options=Xm;ee.className=Bs;import{Fragment as Ym,jsx as Rs}from"react/jsx-runtime";var Jm="k-input-prefix",qm={direction:"horizontal"},be=e=>{let{direction:t=qm.direction,...o}=e;return e.children?Rs("span",{...o,className:r(Jm,e.className,{[`k-input-prefix-${t}`]:t}),children:e.children}):Rs(Ym,{})};import{Fragment as jm,jsx as Ps}from"react/jsx-runtime";var Zm="k-input-suffix",Qm={direction:"horizontal"},xe=e=>{let{direction:t=Qm.direction,...o}=e;return e.children?Ps("span",{...o,className:r(Zm,e.className,{[`k-input-suffix-${t}`]:t}),children:e.children}):Ps(jm,{})};import{jsx as qI}from"react/jsx-runtime";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 ws="k-input-separator",oc={direction:"vertical"},te=e=>{let{direction:t=oc.direction,...o}=e;return ac("span",{...o,className:r(ws,e.className,{[`${ws}-${t}`]:t})})};import{Fragment as Ks,jsx as It,jsxs as Mr}from"react/jsx-runtime";var ic=$.states,rc=$.defaultOptions,nc=$.options,sc=[{name:"prefix",title:"Prefix"},{name:"suffix",title:"Suffix"},{name:"clear-button",title:"`Clear` Button"},{name:"validation-icon",title:"Validation Icon"},{name:"separators",title:"Separators"}],lc=[],Bo=e=>{let{modifiers:t,valid:o,invalid:a,loading:i,disabled:s,readonly:l,...m}=e,c=t?.prefix,h=t?.suffix,b=t?.["clear-button"],g=t?.["validation-icon"],u=t?.separators;return Mr($,{...m,valid:o,invalid:a,loading:i,disabled:s,readonly:l,style:{width:300},children:[c&&Mr(Ks,{children:[It(be,{children:It(N,{icon:"lock"})}),u&&It(te,{})]}),It(ce,{placeholder:"Placeholder",value:"Value"}),g&&It(ee,{valid:o,invalid:a,loading:i,disabled:s}),It(re,{loading:i,disabled:s}),b&&It(me,{loading:i,disabled:s,readonly:l,value:"Value"}),h&&Mr(Ks,{children:[u&&It(te,{}),It(xe,{children:It(vt,{size:m.size,fillMode:"clear",children:"Send"})})]})]})};Bo.options=nc;Bo.states=ic;Bo.variants=lc;Bo.defaultOptions=rc;Bo.modifiers=sc;Bo.className=$.className;import{jsx as Ds,jsxs as mc}from"react/jsx-runtime";var _s="k-color-preview",dc=[],pc={},Xt=e=>{let{color:t,iconName:o,...a}=e;return mc("span",{...a,className:r(e.className,_s,{"k-icon-color-preview":o,"k-no-color":!t}),children:[o&&Ds(N,{icon:o,className:"k-color-preview-icon"}),Ds("span",{className:"k-color-preview-mask",style:{backgroundColor:t}})]})};Xt.states=dc;Xt.options=pc;Xt.className=_s;var Cr="popup",zs=Cr;import{jsx as Hs}from"react/jsx-runtime";var Fs="k-animation-container",cc=[],uc={},yr={positionMode:"absolute",shown:!0},St=e=>{let{positionMode:t=yr.positionMode,shown:o=yr.shown,animationStyle:a,offset:i,...s}=e;return Hs("div",{...s,style:{...i,...e.style},className:r(e.className,Fs,{"k-animation-container-shown":o,"k-animation-container-fixed":t==="fixed"}),children:Hs("div",{className:"k-child-animation-container",style:a,children:e.children})})};St.states=cc;St.options=uc;St.className=Fs;St.defaultOptions=yr;St.moduleName=Cr;St.folderName=zs;var Ar="popup",Us=Ar;import{jsx as Gs}from"react/jsx-runtime";var $s="k-popup",fc=[],bc={},Vs={positionMode:"absolute"},J=e=>{let{offset:t,positionMode:o=Vs.positionMode,animationStyle:a,containerClassName:i,containerRole:s,containerAriaLabel:l,...m}=e;return Gs(St,{positionMode:o,offset:t,animationStyle:a,className:i,role:s,"aria-label":l,children:Gs("div",{...m,className:r(e.className,$s),children:e.children})})};J.states=fc;J.options=bc;J.className=$s;J.defaultOptions=Vs;J.moduleName=Ar;J.folderName=Us;var Tr="action-buttons",Xs=Tr;import{jsx as Nc}from"react/jsx-runtime";var ki="k-actions",xc=[],hc={},Or={alignment:"start",orientation:"horizontal"},$e=e=>{let{alignment:t=Or.alignment,orientation:o=Or.orientation,...a}=e;return Nc("div",{...a,className:r(ki,{[`${ki}-${t}`]:t,[`${ki}-${o}`]:o},e.className),children:e.children})};$e.states=xc;$e.options=hc;$e.className=ki;$e.defaultOptions=Or;$e.moduleName=Tr;$e.folderName=Xs;var Ws=$e;import{jsx as vc}from"react/jsx-runtime";var gc="k-actionsheet-footer",Js={alignment:"stretched",orientation:"horizontal"},Wt=e=>{let{alignment:t=Js.alignment,orientation:o=Js.orientation,template:a,as:i=a?"div":$e,...s}=e;return vc(i,{...s,...!a&&{alignment:t,orientation:o},className:r(e.className,gc),children:e.children})};var Br="searchbox",qs=Br;import{jsx as Ua,jsxs as Sc}from"react/jsx-runtime";var Ys="k-searchbox",Lc=[n.hover,n.focus,n.valid,n.invalid,n.required,n.disabled,n.loading],Ic={size:[d.undefined,d.small,d.medium,d.large],rounded:[f.undefined,f.none,f.small,f.medium,f.large,f.full],fillMode:[x.undefined,x.solid,x.flat,x.outline]},Ei={showIcon:!0,showClearButton:!0,icon:"search"},Qe=e=>{let{value:t,placeholder:o,size:a,rounded:i,fillMode:s,hover:l,focus:m,valid:c,invalid:h,required:b,loading:g,disabled:u,showIcon:v=Ei.showIcon,showClearButton:I=Ei.showClearButton,icon:S=Ei.icon,"aria-label":k,...E}=e;return Sc($,{...E,size:a,rounded:i,fillMode:s,hover:l,focus:m,valid:c,invalid:h,required:b,loading:g,disabled:u,className:r(e.className,Ys),children:[v&&Ua(N,{className:"k-input-icon",icon:S}),Ua(ce,{placeholder:o,value:t,"aria-label":k}),Ua(re,{...e}),Ua(ee,{...e}),I&&Ua(me,{...e})]})};Qe.states=Lc;Qe.options=Ic;Qe.className=Ys;Qe.defaultOptions=Ei;Qe.moduleName=Br;Qe.folderName=qs;import{jsx as vk}from"react/jsx-runtime";var Rr="textbox",Zs=Rr;import{Fragment as Qs,jsx as Jt,jsxs as Pr}from"react/jsx-runtime";var js="k-textbox",kc=[n.hover,n.focus,n.valid,n.invalid,n.required,n.disabled,n.loading,n.readonly],Ec={size:[d.undefined,d.small,d.medium,d.large],rounded:[f.undefined,f.none,f.small,f.medium,f.large,f.full],fillMode:[x.undefined,x.solid,x.flat,x.outline]},Mi={showClearButton:!0,showValidationIcon:!0,separators:!0},U=e=>{let{size:t,rounded:o,fillMode:a,separators:i=Mi.separators,showClearButton:s=Mi.showClearButton,showValidationIcon:l=Mi.showValidationIcon,prefix:m,suffix:c,type:h,value:b,placeholder:g,hover:u,focus:v,valid:I,invalid:S,required:k,loading:E,disabled:T,readonly:K,id:Y,"aria-label":ae,"aria-describedby":ie,...pe}=e;return Pr($,{...pe,size:t,rounded:o,fillMode:a,hover:u,focus:v,valid:I,invalid:S,required:k,loading:E,disabled:T,readonly:K,className:r(e.className,js),children:[m&&Pr(Qs,{children:[Jt(be,{children:m}),i&&Jt(te,{})]}),Jt(ce,{id:Y,placeholder:g,value:b,type:h,disabled:T,"aria-label":ae,"aria-describedby":ie,"aria-invalid":S?"true":void 0}),l&&Jt(ee,{valid:I,invalid:S,loading:E,disabled:T}),Jt(re,{loading:E,disabled:T}),s&&Jt(me,{loading:E,disabled:T,readonly:K,value:b}),c&&Pr(Qs,{children:[i&&Jt(te,{}),Jt(xe,{children:c})]})]})};U.states=kc;U.options=Ec;U.className=js;U.defaultOptions=Mi;U.moduleName=Rr;U.folderName=Zs;var Ga=U;import{jsx as Mc}from"react/jsx-runtime";var el=e=>Mc(Ga,{...e});import{Fragment as _k,jsx as Dk}from"react/jsx-runtime";import{Fragment as $k,jsx as Gk}from"react/jsx-runtime";import{jsx as Jk}from"react/jsx-runtime";import{jsx as wr}from"react/jsx-runtime";var Cc=U.states,yc=U.defaultOptions,Ac=U.options,Tc=[{name:"prefix",title:"Prefix"},{name:"suffix",title:"Suffix"},{name:"clear-button",title:"`Clear` Button"}],Oc=[],Ro=e=>{let{modifiers:t,...o}=e,a={};return Object.keys(t||{}).forEach(i=>{switch(i){case"prefix":a.prefix=t?.[i]?wr(N,{icon:"lock"}):void 0;break;case"suffix":a.suffix=t?.[i]?wr(vt,{size:o.size,fillMode:"clear",children:"Send"}):void 0;break;case"clear-button":a.showClearButton=t?.[i];break;default:break}}),wr(el,{value:"Value",style:{width:300},...o,...a})};Ro.options=Ac;Ro.states=Cc;Ro.variants=Oc;Ro.defaultOptions=yc;Ro.modifiers=Tc;Ro.className=U.className;import{jsx as qt,jsxs as Kr}from"react/jsx-runtime";var tl="k-actionsheet-titlebar",Bc={},ve=e=>{let{title:t,subtitle:o,actionsStart:a,actionsEnd:i,filter:s,input:l,inputValue:m,inputPlaceholder:c,adaptive:h,titleId:b,children:g,...u}=e;return Kr("div",{...u,className:r(e.className,tl),children:[Kr("div",{className:"k-actionsheet-titlebar-group",children:[a&&qt("div",{className:"k-actionsheet-actions",children:a}),!g&&Kr("div",{className:"k-actionsheet-title",id:b,children:[t&&qt("div",{className:"k-text-center",children:t}),o&&qt("div",{className:"k-actionsheet-subtitle k-text-center",children:o})]}),g&&qt("div",{className:"k-actionsheet-title",id:b,children:g}),i&&qt("div",{className:"k-actionsheet-actions",children:i})]}),(l||s)&&qt("div",{className:"k-actionsheet-titlebar-group k-actionsheet-filter",children:l?qt(U,{value:m,placeholder:c,size:h?"large":"medium","aria-label":t||c||"Input"}):qt(Qe,{placeholder:"Filter",size:h?"large":"medium","aria-label":"Filter options"})})]})};ve.className=tl;ve.defaultOptions=Bc;import{jsx as Dr,jsxs as Kc}from"react/jsx-runtime";var _r="k-actionsheet-view",Rc=[],Pc={},wc={},Po=e=>{let{adaptive:t,animated:o,children:a,header:i,footer:s,titleId:l,...m}=e,c=i?.type===ve&&Dr(ve,{adaptive:t,titleId:l,...i?.props}),h=s?.type===Wt&&Dr(Wt,{...s?.props});return Kc("div",{...m,className:r(e.className,_r,{[`${_r}-animated`]:o}),children:[c,Dr("div",{className:"k-actionsheet-content",children:a}),h]})};Po.states=Rc;Po.options=Pc;Po.className=_r;Po.defaultOptions=wc;var $a="action-sheet",Ci=$a;var zr="overlay",ol=zr;import{jsx as Hc}from"react/jsx-runtime";var al="k-overlay",Dc=[],_c={},zc={},bt=e=>{let{...t}=e;return Hc("div",{...t,className:r(e.className,al),children:e.children})};bt.states=Dc;bt.options=_c;bt.className=al;bt.defaultOptions=zc;bt.moduleName=zr;bt.folderName=ol;var il=bt;import{jsx as yi,jsxs as Gc}from"react/jsx-runtime";var rl="k-actionsheet",Fc=[],Uc={},Va={side:"bottom",fullscreen:!1,adaptive:!1,overlay:!0},Z=e=>{let{side:t=Va.side,fullscreen:o=Va.fullscreen,adaptive:a=Va.adaptive,overlay:i=Va.overlay,template:s,children:l,header:m,footer:c,id:h,...b}=e,g=h&&!s&&m?`${h}-title`:void 0;return Gc("div",{className:"k-actionsheet-container",children:[i&&yi(bt,{}),yi(St,{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:yi("div",{...b,id:h,role:"dialog","aria-modal":i?"true":void 0,"aria-labelledby":g,className:r(e.className,rl,{[`k-actionsheet-${t}`]:o===!1,"k-actionsheet-fullscreen":o===!0,"k-adaptive-actionsheet":a}),children:s||yi(Po,{header:m,footer:c,adaptive:a,titleId:g,...e,children:l})})})]})};Z.states=Fc;Z.options=Uc;Z.className=rl;Z.defaultOptions=Va;Z.moduleName=$a;Z.folderName=Ci;import{jsx as Wc}from"react/jsx-runtime";var nl="k-actionsheet-container",$c=[],Vc={},Xc={},wo=e=>{let{children:t,...o}=e;return Wc("div",{...o,className:nl,children:t})};wo.states=$c;wo.options=Vc;wo.className=nl;wo.defaultOptions=Xc;wo.moduleName=$a;wo.folderName=Ci;import{jsx as Jc}from"react/jsx-runtime";var Hr=e=>{let{...t}=e;return Jc("div",{...t,className:r(e.className,"k-list-ul"),children:e.children})};import{Fragment as Yc,jsx as Xa,jsxs as Fr}from"react/jsx-runtime";var Ur="k-actionsheet-item",qc=[n.hover,n.focus,n.selected,n.disabled],Yt=e=>{let{iconName:t,text:o,description:a,hover:i,focus:s,selected:l,disabled:m,...c}=e;return Fr("span",{...c,className:r(e.className,Ur,M(Ur,{hover:i,focus:s,selected:l,disabled:m})),children:[!e.children&&Xa(Yc,{children:Fr("span",{className:"k-actionsheet-action",children:[t&&Xa("span",{className:"k-icon-wrap",children:Xa(N,{className:"k-actionsheet-item-icon",icon:t})}),Fr("span",{className:"k-actionsheet-item-text",children:[o&&Xa("span",{className:"k-actionsheet-item-title",children:o}),a&&Xa("span",{className:"k-actionsheet-item-description",children:a})]})]})}),e.children]})};Yt.states=qc;Yt.className=Ur;import{jsx as WE,jsxs as JE}from"react/jsx-runtime";import{jsx as QE}from"react/jsx-runtime";import{jsx as oM}from"react/jsx-runtime";import{jsx as nM}from"react/jsx-runtime";import{jsx as Le,jsxs as Gr}from"react/jsx-runtime";var Zc=Z.options,Qc=Z.states,ll={...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"}],Ko=e=>{let{variant:t,modifiers:o,...a}={...ll,...e},i={},s=Gr(Hr,{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(Z,{...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?Gr(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(Z,{...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?Gr(Wt,{alignment:"stretched",children:[Le(p,{text:"Apply",themeColor:"primary"}),Le(p,{text:"Cancel",themeColor:"base"})]}):void 0,children:s})};Ko.options=Zc;Ko.states=Qc;Ko.variants=jc;Ko.defaultOptions=ll;Ko.modifiers=eu;Ko.className=Z.className;var $r="slider",dl=$r;import{jsx as Do,jsxs as Vr}from"react/jsx-runtime";var Wa="k-slider",tu=[n.hover,n.focus,n.active,n.disabled,n.readonly],ou={},je={type:"single",orientation:"horizontal",gradientType:"1d",readonly:!1,disabled:!1,handlePosition:"end",showButtons:!0,showTicks:!0,value:50,min:0,max:100},H=e=>{let{type:t=je.type,orientation:o=je.orientation,gradientType:a=je.gradientType,readonly:i=je.readonly,disabled:s=je.disabled,handlePosition:l=je.handlePosition,showButtons:m=je.showButtons,showTicks:c=je.showTicks,value:h=je.value,min:b=je.min,max:g=je.max,startValue:u,endValue:v,hover:I,focus:S,active:k,trackStyle:E,dir:T,...K}=e,ae=(()=>{if(t==="gradient"&&a==="2d")return"undefined";if(o==="vertical")return"vertical"})(),ie,pe;return o==="horizontal"?(ie=T==="rtl"?"chevron-left":"chevron-right",pe=T==="rtl"?"chevron-right":"chevron-left"):o==="vertical"&&(ie="chevron-up",pe="chevron-down"),Vr("div",{...K,className:r(Wa,e.className,M(Wa,{readonly:i,disabled:s}),{[`k-slider-${o}`]:o,"k-colorgradient-slider":t==="gradient"}),dir:T,children:[m&&Do(p,{className:"k-button-decrease",rounded:"full",icon:pe,tabIndex:-1,title:"Decrease"}),Vr("div",{className:"k-slider-track-wrap",children:[c&&Do("ul",{className:"k-reset k-slider-items","aria-hidden":"true",children:e.children}),Vr("div",{className:"k-slider-track",style:E,children:[Do("div",{className:"k-slider-selection"}),t==="range"&&Do("span",{className:r("k-draghandle","k-draghandle-start",M(Wa,{hover:I,focus:S,active:k})),role:"slider",tabIndex:s?void 0:0,"aria-valuenow":u??b,"aria-valuemin":b,"aria-valuemax":v??g,"aria-orientation":ae,"aria-disabled":s?"true":void 0,"aria-readonly":i?"true":void 0,"aria-label":K["aria-label"]?`${K["aria-label"]} start`:"Range start"}),Do("span",{className:r("k-draghandle",`k-draghandle-${l}`,M(Wa,{hover:I,focus:S,active:k})),role:"slider",tabIndex:s?void 0:0,"aria-valuenow":t==="range"?v??g:h,"aria-valuemin":t==="range"?u??b:b,"aria-valuemax":g,"aria-orientation":ae,"aria-disabled":s?"true":void 0,"aria-readonly":i?"true":void 0,"aria-label":t==="range"?K["aria-label"]?`${K["aria-label"]} end`:"Range end":K["aria-label"]})]})]}),m&&Do(p,{className:"k-button-increase",rounded:"full",icon:ie,tabIndex:-1,title:"Increase"})]})};H.states=tu;H.options=ou;H.className=Wa;H.defaultOptions=je;H.moduleName=$r;H.folderName=dl;import{jsx as pl}from"react/jsx-runtime";var ml="k-tick",au=[],iu={},cl={label:!1},B=e=>{let{style:t,label:o=cl.label,orientation:a,large:i,text:s,...l}=e;return pl("li",{...l,role:"presentation",title:s||"Tick",className:r(e.className,ml,{[`k-tick-${a}`]:a,"k-tick-large":i}),style:t,children:o&&pl("span",{className:"k-label",children:s})})};B.states=au;B.options=iu;B.className=ml;B.defaultOptions=cl;import{Fragment as ru,jsx as et,jsxs as nu}from"react/jsx-runtime";var ul=e=>et(H,{"aria-label":e["aria-label"]||"Slider",children:nu(ru,{children:[et(B,{className:"k-first",label:!0,large:!0,text:"0"}),et(B,{}),et(B,{}),et(B,{}),et(B,{}),et(B,{label:!0,large:!0,text:"5"}),et(B,{}),et(B,{}),et(B,{}),et(B,{}),et(B,{className:"k-last",label:!0,large:!0,text:"10"})]}),...e});import{Fragment as su,jsx as tt,jsxs as lu}from"react/jsx-runtime";var fl=e=>tt(H,{children:lu(su,{children:[tt(B,{className:"k-first",label:!0,large:!0,text:"0"}),tt(B,{}),tt(B,{}),tt(B,{}),tt(B,{}),tt(B,{label:!0,large:!0,text:"5"}),tt(B,{}),tt(B,{}),tt(B,{}),tt(B,{}),tt(B,{className:"k-last",label:!0,large:!0,text:"10"})]}),"aria-label":e["aria-label"]||"Vertical slider",...e,orientation:"vertical"});import{Fragment as JM,jsx as WM,jsxs as qM}from"react/jsx-runtime";import{Fragment as eC,jsx as jM,jsxs as tC}from"react/jsx-runtime";import{jsx as du}from"react/jsx-runtime";var Xr=e=>du(H,{type:"gradient",showButtons:!1,showTicks:!1,...e,"aria-label":e["aria-label"]||"Color slider"});import{jsx as pu}from"react/jsx-runtime";var Wr=e=>pu(H,{type:"gradient",orientation:"vertical",showButtons:!1,showTicks:!1,...e,"aria-label":e["aria-label"]||"Color slider"});import{Fragment as cC,jsx as mC,jsxs as uC}from"react/jsx-runtime";import{Fragment as NC,jsx as hC,jsxs as gC}from"react/jsx-runtime";import{jsx as kt,jsxs as bl}from"react/jsx-runtime";var mu=H.options,cu=H.states,xl={...H.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}],_o=e=>{let{variant:t,modifiers:o,...a}=e,i=xl.label,s={};Object.keys(o||{}).forEach(m=>{switch(m){case"button":{s.showButtons=!!o?.[m];break}case"label":{i=!!o?.[m];break}case"tick":{s.showTicks=!!o?.[m];break}}});let l={"--kendo-slider-start":0,"--kendo-slider-end":60};return t==="vertical"?bl(fl,{style:{height:"300px",...l},...a,...s,children:[kt(B,{label:i,large:!0,orientation:"vertical",text:"0",style:{position:"absolute",bottom:"0%"}}),kt(B,{label:i,large:!0,orientation:"vertical",text:"2",style:{position:"absolute",bottom:"25%"}}),kt(B,{label:i,large:!0,orientation:"vertical",text:"4",style:{position:"absolute",bottom:"50%"}}),kt(B,{label:i,large:!0,orientation:"vertical",text:"6",style:{position:"absolute",bottom:"75%"}}),kt(B,{label:i,large:!0,orientation:"vertical",text:"8",style:{position:"absolute",bottom:"100%"}})]}):bl(ul,{style:{width:"400px",...l},...a,...s,children:[kt(B,{label:i,large:!0,orientation:"horizontal",text:"0",style:{position:"absolute",left:"0%"}}),kt(B,{label:i,large:!0,orientation:"horizontal",text:"2",style:{position:"absolute",left:"25%"}}),kt(B,{label:i,large:!0,orientation:"horizontal",text:"4",style:{position:"absolute",left:"50%"}}),kt(B,{label:i,large:!0,orientation:"horizontal",text:"6",style:{position:"absolute",left:"75%"}}),kt(B,{label:i,large:!0,orientation:"horizontal",text:"8",style:{position:"absolute",left:"100%"}})]})};_o.options=mu;_o.states=cu;_o.variants=uu;_o.defaultOptions=xl;_o.modifiers=fu;_o.className=H.className;import{jsx as hl,jsxs as gu}from"react/jsx-runtime";var Nl="k-spin-button",hu=[],Nu={size:[d.undefined,d.small,d.medium,d.large],fillMode:[x.undefined,x.solid,x.flat,x.outline,x.clear,x.link]},Jr={increaseLabel:"Increase value",decreaseLabel:"Decrease value"},Et=e=>{let{size:t,fillMode:o,disabled:a,increaseLabel:i=Jr.increaseLabel,decreaseLabel:s=Jr.decreaseLabel,...l}=e;return gu("span",{...l,className:r(Nl,e.className),children:[hl(p,{className:"k-spinner-increase",icon:"chevron-up",size:t,fillMode:o,disabled:a,"aria-label":i}),hl(p,{className:"k-spinner-decrease",icon:"chevron-down",size:t,fillMode:o,disabled:a,"aria-label":s})]})};Et.states=hu;Et.options=Nu;Et.className=Nl;Et.defaultOptions=Jr;Et.moduleName=null;Et.folderName=null;var gl="numeric-textbox",vl="numerictextbox";import{Fragment as Ll,jsx as Kt,jsxs as qr}from"react/jsx-runtime";var Il="k-numerictextbox",vu=[n.hover,n.focus,n.valid,n.invalid,n.loading,n.required,n.disabled,n.readonly],Lu={size:[d.undefined,d.small,d.medium,d.large],rounded:[f.undefined,f.none,f.small,f.medium,f.large,f.full],fillMode:[x.undefined,x.solid,x.flat,x.outline]},Ai={showSpinButton:!0,showClearButton:!0,separators:!0},R=e=>{let{size:t,rounded:o,fillMode:a,separators:i=Ai.separators,showClearButton:s=Ai.showClearButton,showSpinButton:l=Ai.showSpinButton,prefix:m,suffix:c,value:h,placeholder:b,hover:g,focus:u,valid:v,invalid:I,required:S,loading:k,disabled:E,readonly:T,id:K,"aria-label":Y,"aria-describedby":ae,...ie}=e;return qr($,{...ie,size:t,rounded:o,fillMode:a,hover:g,focus:u,valid:v,invalid:I,required:S,loading:k,disabled:E,readonly:T,className:r(e.className,Il),children:[m&&qr(Ll,{children:[Kt(be,{children:m}),i&&Kt(te,{})]}),Kt(ce,{id:K,placeholder:b,value:h,role:"spinbutton",disabled:E,"aria-label":Y,"aria-describedby":ae,"aria-invalid":I?"true":void 0}),Kt(ee,{valid:v,invalid:I,loading:k,disabled:E}),Kt(re,{loading:k,disabled:E}),s&&Kt(me,{loading:k,disabled:E,readonly:T,value:h}),c&&qr(Ll,{children:[i&&Kt(te,{}),Kt(xe,{children:c})]}),l&&Kt(Et,{className:"k-input-spinner",size:t,fillMode:a,disabled:E})]})};R.states=vu;R.options=Lu;R.className=Il;R.defaultOptions=Ai;R.moduleName=gl;R.folderName=vl;var Ja=R;import{jsx as Iu}from"react/jsx-runtime";var Sl=e=>Iu(Ja,{...e});import Zr from"react";import{jsx as kl}from"react/jsx-runtime";var Su="k-list-group-sticky-header",Yr=e=>kl("div",{className:r(Su,e.className),children:kl("div",{className:"k-list-header-text",children:e.children})});import{jsx as Eu}from"react/jsx-runtime";var ku="k-no-data",Ti=e=>{let{live:t,...o}=e;return Eu("span",{...o,className:r(ku,e.className),"aria-live":t?"polite":void 0,children:e.children})};var po="list",zo=po;import{jsx as El,jsxs as Ml}from"react/jsx-runtime";var Qr="k-list",Mu=[],Cu={size:[d.undefined,d.small,d.medium,d.large]},yu={},P=e=>{let{size:t,virtualization:o,children:a,header:i,selectAll:s,optionLabel:l,customValue:m,noData:c,screenReaders:h,...b}=e,u=Zr.Children.toArray(a)[0],v=u?.props?.children?Zr.Children.count(u.props.children):Zr.Children.count(a);return Ml("div",{...b,className:r(e.className,Qr,C(Qr,{size:t}),{"k-virtual-list":o}),children:[l,s,m,i&&El(Yr,{children:i}),a||(c!==void 0?c:El(Ti,{live:!0,children:"No data found."})),h&&a&&Ml(Ti,{className:"k-sr-only",live:!0,children:[v," items found."]})]})};P.states=Mu;P.options=Cu;P.className=Qr;P.defaultOptions=yu;P.moduleName=po;P.folderName=zo;import{jsx as Bu}from"react/jsx-runtime";var Cl="k-list-container",Au=[],Tu={},Ou={},Ho=e=>{let{...t}=e;return Bu("div",{...t,className:r(e.className,Cl),children:e.children})};Ho.states=Au;Ho.options=Tu;Ho.className=Cl;Ho.defaultOptions=Ou;Ho.moduleName=po;Ho.folderName=zo;var mo="checkbox",Fo=mo;import{jsx as yl}from"react/jsx-runtime";var Oi="k-checkbox",Ru=[n.hover,n.focus,n.valid,n.invalid,n.required,n.disabled,n.checked,n.indeterminate],Pu={size:[d.undefined,d.small,d.medium,d.large],rounded:[f.undefined,f.none,f.small,f.medium,f.large,f.full]},wu={},_e=e=>{let{id:t,checked:o,indeterminate:a,hover:i,focus:s,disabled:l,invalid:m,valid:c,required:h,size:b,rounded:g,wrapperRole:u,...v}=e;return yl("span",{className:"k-checkbox-wrap",role:u,children:yl("input",{...v,id:t,type:"checkbox",defaultChecked:o,required:h,disabled:l||void 0,"aria-invalid":m?"true":void 0,className:r(e.className,Oi,C(Oi,{size:b,rounded:g}),M(Oi,{hover:i,focus:s,disabled:l,invalid:m,valid:c,indeterminate:a,checked:o}))})})};_e.states=Ru;_e.options=Pu;_e.className=Oi;_e.defaultOptions=wu;_e.moduleName=mo;_e.folderName=Fo;var xt=_e;import{jsx as _u}from"react/jsx-runtime";var Al="k-checkbox-list",Ku=[],Du={},Tl={layout:"vertical"},Ae=e=>{let{layout:t=Tl.layout,...o}=e;return _u("ul",{...o,className:r(e.className,Al,{[`k-list-${t}`]:t}),children:e.children})};Ae.states=Ku;Ae.options=Du;Ae.className=Al;Ae.defaultOptions=Tl;Ae.moduleName=mo;Ae.folderName=Fo;import{jsx as Uu}from"react/jsx-runtime";var Ol="k-checkbox-list-item",zu=[],Hu={},Fu={},Te=e=>{let{...t}=e;return Uu("li",{...t,className:r(e.className,Ol),children:e.children})};Te.states=zu;Te.options=Hu;Te.className=Ol;Te.defaultOptions=Fu;Te.moduleName=mo;Te.folderName=Fo;import{Fragment as Gu,jsx as Bl,jsxs as $u}from"react/jsx-runtime";var ot=({children:e="Label",id:t="cb-label-after",...o})=>$u(Gu,{children:[Bl(xt,{id:t,...o}),Bl("label",{className:"k-checkbox-label",htmlFor:t,children:e})]});import{Fragment as Gy,jsx as Uy,jsxs as $y}from"react/jsx-runtime";import{Fragment as qy,jsx as Jy,jsxs as Yy}from"react/jsx-runtime";import{Fragment as tA,jsx as eA,jsxs as oA}from"react/jsx-runtime";import{jsx as nA}from"react/jsx-runtime";import{jsx as pA}from"react/jsx-runtime";import{jsx as fA}from"react/jsx-runtime";import{jsx as at,jsxs as Rl}from"react/jsx-runtime";var Vu=Ae.options,Xu=Ae.states,Wu={...Ae.defaultOptions,variant:"vertical"},Ju=[{name:"vertical",title:"Vertical"},{name:"horizontal",title:"Horizontal"}],qu=[],Uo=e=>{let{variant:t,...o}=e;return t==="horizontal"?Rl(Ae,{layout:"horizontal",...o,children:[at(Te,{children:at(ot,{id:A("cb"),defaultChecked:!0,children:"Label"})}),at(Te,{children:at(ot,{id:A("cb"),children:"Label"})}),at(Te,{children:at(ot,{id:A("cb"),children:"Label"})})]}):Rl(Ae,{...o,children:[at(Te,{children:at(ot,{id:A("cb"),defaultChecked:!0,children:"Label"})}),at(Te,{children:at(ot,{id:A("cb"),children:"Label"})}),at(Te,{children:at(ot,{id:A("cb"),children:"Label"})})]})};Uo.options=Vu;Uo.states=Xu;Uo.variants=Ju;Uo.defaultOptions=Wu;Uo.modifiers=qu;Uo.className=Ae.className;import{jsx as tf}from"react/jsx-runtime";var Yu=xt.options,Zu=xt.states,Qu=xt.defaultOptions,ju=[],ef=[],Go=e=>tf(ot,{id:A("checkbox"),...e,defaultChecked:!0,children:"Label"});Go.options=Yu;Go.states=Zu;Go.variants=ju;Go.defaultOptions=Qu;Go.modifiers=ef;Go.className=xt.className;import{jsx as $o,jsxs as nf}from"react/jsx-runtime";var jr="k-list-item",of=[n.hover,n.focus,n.selected,n.disabled],af={},rf={},y=e=>{let{text:t,iconName:o,iconClassName:a,showCheckbox:i,checked:s,hover:l,focus:m,selected:c,disabled:h,actions:b,description:g,id:u,...v}=e,I=t||e.children,S=t||(typeof I=="string"?I:void 0);return nf("li",{...v,id:u,role:"option",tabIndex:m?0:-1,"aria-selected":c?"true":"false","aria-disabled":h?"true":void 0,className:r(e.className,jr,M(jr,{hover:l,focus:m,disabled:h,selected:c})),children:[i&&$o(_e,{checked:s,disabled:h,"aria-label":S,tabIndex:-1}),o&&$o("span",{className:"k-list-item-icon-wrapper",children:$o(N,{icon:o,className:r("k-list-item-icon",a)})}),$o("span",{className:"k-list-item-text",children:I}),b&&$o("div",{className:"k-list-item-actions",children:b}),g&&$o("span",{className:"k-list-item-description",children:g})]})};y.states=of;y.options=af;y.className=jr;y.defaultOptions=rf;y.moduleName=po;y.folderName=zo;import{jsx as lf}from"react/jsx-runtime";var sf="k-list-ul",Mt=e=>{let{children:t,role:o,id:a,...i}=e;return lf("ul",{...i,id:a,role:o,className:r(sf,e.className),children:t})};import{jsx as en,jsxs as pf}from"react/jsx-runtime";var df="k-list-content",D=e=>{let{virtualization:t,grouping:o,"aria-label":a,"aria-labelledby":i,listboxId:s,...l}=e;return pf("div",{...l,className:r(df,e.className),role:o?"listbox":void 0,id:o?s:void 0,"aria-label":o?a:void 0,"aria-labelledby":o?i:void 0,children:[o?e.children:en(Mt,{role:"listbox",id:s,"aria-label":a,"aria-labelledby":i,children:e.children}),t&&en("div",{className:"k-height-container",children:en("div",{})})]})};import{jsx as tn,jsxs as ff}from"react/jsx-runtime";var Bi="k-list-sticky-header",mf=[n.hover,n.focus,n.selected],cf={},uf={},Ri=e=>{let{label:t="Select all",showCheckbox:o=!0,checked:a,indeterminate:i,hover:s,focus:l,selected:m,...c}=e;return tn("div",{...c,className:r(Bi,e.className),children:ff("div",{className:r(`${Bi}-item`,M(`${Bi}-item`,{hover:s,focus:l,selected:m})),"aria-label":t,...!o&&{tabIndex:0,"aria-selected":m?"true":"false"},children:[o&&tn(_e,{checked:a,indeterminate:i,"aria-label":t}),tn("span",{className:"k-list-item-text",children:t})]})})};Ri.states=mf;Ri.options=cf;Ri.className=Bi;Ri.defaultOptions=uf;import{Fragment as lT,jsx as sT,jsxs as dT}from"react/jsx-runtime";import{jsx as fT,jsxs as bT}from"react/jsx-runtime";import{jsx as Nf}from"react/jsx-runtime";var on="k-list-optionlabel",bf=[n.hover,n.focus,n.selected,n.disabled],xf={},hf={},Pi=e=>{let{text:t,hover:o,focus:a,selected:i,disabled:s,...l}=e;return Nf("div",{...l,className:r(on,M(on,{hover:o,focus:a,selected:i,disabled:s})),children:t})};Pi.states=bf;Pi.options=xf;Pi.className=on;Pi.defaultOptions=hf;import{jsx as If}from"react/jsx-runtime";var an="k-list-custom-value",gf=[n.hover,n.focus,n.selected,n.disabled],vf={},Lf={},it=e=>{let{text:t,hover:o,focus:a,selected:i,disabled:s,...l}=e;return If("div",{...l,className:r(an,M(an,{hover:o,focus:a,selected:i,disabled:s})),children:t})};it.states=gf;it.options=vf;it.className=an;it.defaultOptions=Lf;import{Fragment as CT,jsx as MT,jsxs as yT}from"react/jsx-runtime";import{Fragment as PT,jsx as RT,jsxs as wT}from"react/jsx-runtime";import{Fragment as UT,jsx as HT,jsxs as FT}from"react/jsx-runtime";import{Fragment as qT,jsx as WT,jsxs as JT}from"react/jsx-runtime";import{jsx as jT}from"react/jsx-runtime";import{Fragment as rO,jsx as iO,jsxs as nO}from"react/jsx-runtime";import{Fragment as cO,jsx as mO,jsxs as uO}from"react/jsx-runtime";var Pl="dropdown-list",wl="dropdownlist";import{Fragment as Ef,jsx as Oe,jsxs as rn}from"react/jsx-runtime";var Kl="k-dropdownlist",Sf=[n.hover,n.focus,n.valid,n.invalid,n.required,n.disabled,n.loading,n.readonly],kf={size:[d.undefined,d.small,d.medium,d.large],rounded:[f.undefined,f.none,f.small,f.medium,f.large,f.full],fillMode:[x.undefined,x.solid,x.flat,x.outline]},nn={showValue:!0,arrowIconName:"chevron-down"},V=e=>{let{size:t,rounded:o,fillMode:a,arrowIconName:i=nn.arrowIconName,showValue:s=nn.showValue,valueIconName:l,prefix:m,suffix:c,value:h,placeholder:b,hover:g,focus:u,valid:v,invalid:I,required:S,loading:k,disabled:E,readonly:T,popup:K,opened:Y,adaptive:ae,adaptiveSettings:ie,adaptiveTitle:pe,adaptiveSubtitle:so,adaptiveFilter:Nt,id:Bt,activeDescendant:$t,"aria-label":Oa,...Ba}=e,Ra=Bt?`${Bt}-listbox`:void 0,bs=Bt?`${Bt}-value`:void 0;return rn(Ef,{children:[rn(Lt,{...Ba,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,Kl,{"k-icon-picker":!s&&l}),role:"combobox","aria-haspopup":"listbox","aria-expanded":Y?"true":"false","aria-controls":Y?Ra:void 0,"aria-activedescendant":Y&&$t?$t:void 0,"aria-describedby":Y?bs:void 0,"aria-disabled":E?"true":void 0,"aria-label":Oa,tabIndex:0,children:[Oe(be,{children:m}),Oe(lo,{placeholder:b,value:h,showValue:s,valueIconName:l,id:bs}),Oe(ee,{valid:v,invalid:I,loading:k,disabled:E}),Oe(re,{loading:k,disabled:E}),Oe(xe,{children:c}),Oe(p,{className:"k-input-button",icon:i,size:e.size,fillMode:e.fillMode,"aria-label":b||"Toggle dropdown",tabIndex:-1})]}),Y&&K&&Oe(J,{className:"k-list-container k-dropdownlist-popup",containerRole:"region",containerAriaLabel:"Dropdown suggestions",children:K}),ae&&Oe(Z,{adaptive:!0,...ie,header:Oe(ve,{actionsEnd:Oe(p,{icon:"check",themeColor:"primary",size:"large",fillMode:"flat","aria-label":"Apply selection"}),filter:Nt,inputValue:h,inputPlaceholder:b,title:pe,subtitle:so}),children:Oe("div",{className:"k-list-container",children:Oe(P,{size:"large",children:rn(D,{"aria-label":"Options",children:[Oe(y,{text:"List item"}),Oe(y,{text:"List item"}),Oe(y,{text:"List item"})]})})})})]})};V.states=Sf;V.options=kf;V.className=Kl;V.defaultOptions=nn;V.moduleName=Pl;V.folderName=wl;import{jsx as JO}from"react/jsx-runtime";import{jsx as eB,jsxs as tB}from"react/jsx-runtime";import{Fragment as pB,jsx as lB,jsxs as dB}from"react/jsx-runtime";import{jsx as bB}from"react/jsx-runtime";import{jsx as LB,jsxs as IB}from"react/jsx-runtime";import{Fragment as OB,jsx as AB,jsxs as TB}from"react/jsx-runtime";import{jsx as KB}from"react/jsx-runtime";import{Fragment as Of,jsx as Zt,jsxs as Dl}from"react/jsx-runtime";var Mf=V.states,Cf=V.defaultOptions,yf=V.options,Af=[{name:"opened",title:"Opened"}],Tf=[],Xo=e=>{let{modifiers:t,...o}=e,a={},i=Dl(Of,{children:[Zt("div",{className:"k-list-filter",children:Zt(Qe,{})}),Zt(P,{style:{width:300},size:o.size,children:Dl(D,{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(V,{placeholder:"Value",style:{width:300},...o,...a})})};Xo.options=yf;Xo.states=Mf;Xo.variants=Tf;Xo.defaultOptions=Cf;Xo.modifiers=Af;Xo.className=V.className;import{Fragment as iR,jsx as aR}from"react/jsx-runtime";import{Fragment as pR,jsx as dR}from"react/jsx-runtime";import{jsx as fR}from"react/jsx-runtime";import{jsx as sn}from"react/jsx-runtime";var Bf=R.states,Rf=R.defaultOptions,Pf=R.options,wf=[{name:"prefix",title:"Prefix"},{name:"suffix",title:"Suffix"},{name:"clear-button",title:"`Clear` Button"},{name:"spin-button",title:"`Spin` Button"}],Kf=[],Wo=e=>{let{modifiers:t,...o}=e,a={};return Object.keys(t||{}).forEach(i=>{switch(i){case"prefix":a.prefix=t?.[i]?sn(V,{size:o.size,fillMode:"flat",value:"mm"}):void 0;break;case"suffix":a.suffix=t?.[i]?sn(wt,{children:"mm"}):void 0;break;case"clear-button":a.showClearButton=t?.[i];break;case"spin-button":a.showSpinButton=t?.[i];break;default:break}}),sn(Sl,{value:"Value",style:{width:300},...o,...a})};Wo.options=Pf;Wo.states=Bf;Wo.variants=Kf;Wo.defaultOptions=Rf;Wo.modifiers=wf;Wo.className=R.className;import{Fragment as qa,jsx as _,jsxs as ne}from"react/jsx-runtime";var _l="k-colorgradient-inputs",Df=[],_f={size:[d.undefined,d.small,d.medium,d.large]},zl={mode:"rgba"},Jo=e=>{let{mode:t=zl.mode,size:o,...a}=e;return ne("div",{...a,className:r(_l,"k-hstack"),children:[_("div",{className:"k-vstack",children:_(p,{fillMode:"flat",icon:"caret-alt-expand",className:"k-colorgradient-toggle-mode",size:o,"aria-label":"Toggle color input format"})}),t==="rgba"&&ne(qa,{children:[ne("div",{className:"k-vstack",children:[_(R,{showSpinButton:!1,showClearButton:!1,value:"132",size:o,"aria-label":"Red channel"}),_("label",{className:"k-colorgradient-input-label",children:"R"})]}),ne("div",{className:"k-vstack",children:[_(R,{showSpinButton:!1,showClearButton:!1,value:"132",size:o,"aria-label":"Green channel"}),_("label",{className:"k-colorgradient-input-label",children:"G"})]}),ne("div",{className:"k-vstack",children:[_(R,{showSpinButton:!1,showClearButton:!1,value:"132",size:o,"aria-label":"Blue channel"}),_("label",{className:"k-colorgradient-input-label",children:"B"})]}),ne("div",{className:"k-vstack",children:[_(R,{showSpinButton:!1,showClearButton:!1,value:"1.00",size:o,"aria-label":"Alpha channel"}),_("label",{className:"k-colorgradient-input-label",children:"A"})]})]}),t==="rgb"&&ne(qa,{children:[ne("div",{className:"k-vstack",children:[_(R,{showSpinButton:!1,showClearButton:!1,value:"132","aria-label":"Red channel"}),_("label",{className:"k-colorgradient-input-label",children:"R"})]}),ne("div",{className:"k-vstack",children:[_(R,{showSpinButton:!1,showClearButton:!1,value:"132","aria-label":"Green channel"}),_("label",{className:"k-colorgradient-input-label",children:"G"})]}),ne("div",{className:"k-vstack",children:[_(R,{showSpinButton:!1,showClearButton:!1,value:"132","aria-label":"Blue channel"}),_("label",{className:"k-colorgradient-input-label",children:"B"})]})]}),t==="hsva"&&ne(qa,{children:[ne("div",{className:"k-vstack",children:[_(R,{showSpinButton:!1,showClearButton:!1,value:"132","aria-label":"Hue channel"}),_("label",{className:"k-colorgradient-input-label",children:"H"})]}),ne("div",{className:"k-vstack",children:[_(R,{showSpinButton:!1,showClearButton:!1,value:"132","aria-label":"Saturation channel"}),_("label",{className:"k-colorgradient-input-label",children:"S"})]}),ne("div",{className:"k-vstack",children:[_(R,{showSpinButton:!1,showClearButton:!1,value:"132","aria-label":"Value channel"}),_("label",{className:"k-colorgradient-input-label",children:"V"})]}),ne("div",{className:"k-vstack",children:[_(R,{showSpinButton:!1,showClearButton:!1,value:"1.00","aria-label":"Alpha channel"}),_("label",{className:"k-colorgradient-input-label",children:"A"})]})]}),t==="hsv"&&ne(qa,{children:[ne("div",{className:"k-vstack",children:[_(R,{showSpinButton:!1,showClearButton:!1,value:"132","aria-label":"Hue channel"}),_("label",{className:"k-colorgradient-input-label",children:"H"})]}),ne("div",{className:"k-vstack",children:[_(R,{showSpinButton:!1,showClearButton:!1,value:"132","aria-label":"Saturation channel"}),_("label",{className:"k-colorgradient-input-label",children:"S"})]}),ne("div",{className:"k-vstack",children:[_(R,{showSpinButton:!1,showClearButton:!1,value:"132","aria-label":"Value channel"}),_("label",{className:"k-colorgradient-input-label",children:"V"})]})]}),t==="hex"&&_(qa,{children:ne("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"})]})})]})};Jo.states=Df;Jo.options=_f;Jo.className=_l;Jo.defaultOptions=zl;import{jsx as uo,jsxs as fo}from"react/jsx-runtime";var Hl="k-colorgradient-color-contrast",zf=[],Hf={},Ff={},qo=()=>fo("div",{className:r(Hl,"k-vbox"),children:[fo("div",{className:"k-contrast-ratio",children:[uo("span",{className:"k-contrast-ratio-text",children:"Contrast ratio: 7.1"}),fo("span",{className:"k-contrast-validation !k-text-success",children:[uo(N,{icon:"check"}),uo(N,{icon:"check"})]})]}),fo("div",{children:[uo("span",{children:"AA: 4.5"}),fo("span",{className:"k-contrast-validation !k-text-success",children:["Pass",uo(N,{icon:"check"})]})]}),fo("div",{children:[uo("span",{children:"AAA: 7.0"}),fo("span",{className:"k-contrast-validation !k-text-error",children:["Fail",uo(N,{icon:"x"})]})]})]});qo.states=zf;qo.options=Hf;qo.className=Hl;qo.defaultOptions=Ff;var Fl="color-gradient",Ul="colorgradient";import{jsx as rt,jsxs as Ya}from"react/jsx-runtime";var wi="k-colorgradient",Uf=[n.hover,n.focus,n.readonly,n.disabled],Gf={size:[d.undefined,d.small,d.medium,d.large]},Ct={mode:"rgba",readonly:!1,disabled:!1,contrast:!1,gradientStyle:{background:"rgb(255, 0, 0 )"},dragHandleStyle:{top:"50px",left:"73px"},alphaStyle:{background:"linear-gradient(to top, transparent, rgb(255, 0, 0))"},alphaStyleHorizontal:{background:"linear-gradient(to right, transparent, rgb(255, 0, 0))"},canvasOrientation:"horizontal"},Ie=e=>{let{size:t,mode:o=Ct.mode,readonly:a=Ct.readonly,disabled:i=Ct.disabled,gradientStyle:s=Ct.gradientStyle,dragHandleStyle:l=Ct.dragHandleStyle,alphaStyle:m=Ct.alphaStyle,alphaStyleHorizontal:c=Ct.alphaStyleHorizontal,contrast:h=Ct.contrast,dir:b,hover:g,focus:u,hoverHandle:v,focusHandle:I,canvasOrientation:S=Ct.canvasOrientation,role:k,tabIndex:E,...T}=e;return Ya("div",{...T,role:k??"textbox","aria-label":k==="none"?void 0:"Color gradient",tabIndex:E??0,"aria-disabled":i?"true":void 0,className:r(e.className,wi,C(wi,{size:t}),M(wi,{hover:g,focus:u,readonly:a,disabled:i})),dir:b,children:[!S||S==="horizontal"&&Ya("div",{className:"k-colorgradient-canvas k-hstack",children:[rt("div",{className:"k-hsv-rectangle",style:s,children:rt("div",{className:"k-hsv-gradient",children:rt("div",{className:r("k-hsv-draghandle","k-draghandle",{"k-hover":v,"k-focus":I}),style:l,role:"slider","aria-orientation":"undefined","aria-label":"Color well with two-dimensional slider for selecting saturation and lightness","aria-valuetext":"X: 73, Y: 50","aria-valuenow":50,"aria-valuemin":0,"aria-valuemax":100})})}),Ya("div",{className:"k-hsv-controls k-hstack",children:[rt(Wr,{className:"k-hue-slider",hover:v,focus:I}),o!=="rgb"&&o!=="hsv"&&rt(Wr,{className:"k-alpha-slider",hover:v,focus:I,trackStyle:m})]})]}),S==="vertical"&&Ya("div",{className:"k-colorgradient-canvas k-vstack",children:[rt("div",{className:"k-hsv-rectangle",style:s,children:rt("div",{className:"k-hsv-gradient",children:rt("div",{className:r("k-hsv-draghandle","k-draghandle",{"k-hover":v,"k-focus":I}),style:l,role:"slider","aria-orientation":"undefined","aria-label":"Color well with two-dimensional slider for selecting saturation and lightness","aria-valuetext":"X: 73, Y: 50","aria-valuenow":50,"aria-valuemin":0,"aria-valuemax":100})})}),Ya("div",{className:"k-hsv-controls k-vstack",children:[rt(Xr,{className:"k-hue-slider",hover:v,focus:I}),o!=="rgb"&&o!=="hsv"&&rt(Xr,{className:"k-alpha-slider",hover:v,focus:I,trackStyle:c})]})]}),rt(Jo,{mode:e.mode,size:t}),h&&rt(qo,{})]})};Ie.states=Uf;Ie.options=Gf;Ie.className=wi;Ie.defaultOptions=Ct;Ie.moduleName=Fl;Ie.folderName=Ul;import{jsx as $f}from"react/jsx-runtime";var Ki=e=>$f(Ie,{...e});import{jsx as jR}from"react/jsx-runtime";import{jsx as aP}from"react/jsx-runtime";import{jsx as ln}from"react/jsx-runtime";var Vf=Ie.options,Xf=Ie.states,Wf={...Ie.defaultOptions,variant:"rgba"},Jf=[{name:"rgba",title:"RGBA"},{name:"rgb",title:"RGB"},{name:"hex",title:"HEX"}],qf=[],Yo=e=>{let{variant:t,...o}=e;switch(t){case"hex":return ln(Ki,{...o,mode:t});case"rgb":return ln(Ki,{...o,mode:t});default:return ln(Ki,{...o,mode:t})}};Yo.options=Vf;Yo.states=Xf;Yo.variants=Jf;Yo.defaultOptions=Wf;Yo.modifiers=qf;Yo.className=Ie.className;import{jsx as Yf}from"react/jsx-runtime";var dn=e=>Yf("tr",{role:"row",children:e.children});import{jsx as jf}from"react/jsx-runtime";var pn="k-colorpalette-tile",Zf=[n.hover,n.focus,n.selected],Qf={},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 jf("td",{...l,role:"gridcell","aria-label":t,"aria-selected":s?"true":void 0,className:r(e.className,pn,M(pn,{hover:a,focus:i,selected:s})),style:m})};Qt.states=Zf;Qt.options=Qf;Qt.className=pn;Qt.moduleName=null;Qt.folderName=null;var Gl="color-palette",$l="colorpalette";import{jsx as Za}from"react/jsx-runtime";var Di="k-colorpalette",eb=[n.disabled],tb={size:[d.undefined,d.small,d.medium,d.large]},Vl={columns:10},ze=e=>{let{size:t,palette:o,columns:a=Vl.columns,tileSize:i,disabled:s,...l}=e,m=[];if(o){let c=a||o.columns,h=o.colors?o.colors:o;Array.isArray(h)&&Array.from({length:Math.ceil(h.length/c)},(b,g)=>{let u=[];h.slice(g*c,(g+1)*c).map((I,S)=>{u.push(Za(Qt,{color:I,tileSize:i},S))});let v=Za(dn,{children:u},g);m.push(v)})}return Za("div",{...l,role:"grid","aria-label":"Color palette",tabIndex:0,"aria-disabled":s?"true":void 0,className:r(e.className,Di,M(Di,{disabled:s}),C(Di,{size:t})),children:Za("table",{className:"k-colorpalette-table",role:"none",children:Za("tbody",{children:m.length>0?m:e.children})})})};ze.states=eb;ze.options=tb;ze.className=Di;ze.defaultOptions=Vl;ze.moduleName=Gl;ze.folderName=$l;var _i=ze;var Qa={basic:{colors:["#000000","#7f7f7f","#880015","#ed1c24","#ff7f27","#fff200","#22b14c","#00a2e8","#3f48cc","#a349a4","#ffffff","#c3c3c3","#b97a57","#ffaec9","#ffc90e","#efe4b0","#b5e61d","#99d9ea","#7092be","#c8bfe7"],columns:10},office:{colors:["#ffffff","#000000","#e6e6e6","#435569","#4371c4","#ed7e32","#a5a4a5","#febf04","#5a9bd5","#71ae48","#f2f2f3","#7f7f7f","#d1cece","#d5dde3","#dae1f4","#fce5d4","#deeded","#fff2cc","#deeaf6","#e1efd9","#d7d8d8","#585959","#aeabab","#adbaca","#b4c5e7","#f6caac","#dbdbdb","#ffe498","#bcd6ee","#c5e0b2","#bfbfc0","#3f3f3f","#767070","#8595b1","#8fabdb","#f5b183","#c9c8c9","#fed965","#9bc4e5","#a8d08d","#a5a5a6","#262625","#393939","#334050","#2e5496","#c45a11","#7b7b7a","#bf9000","#2f75b5","#548235","#7f7f7f","#0b0c0c","#161616","#222a34","#203764","#843d0b","#525252","#7f6000","#1d4d79","#375623"],columns:10},apex:{colors:["#ffffff","#000000","#c9c2d1","#69676d","#ceb966","#9cb084","#6bb1c9","#6585cf","#7e6bc9","#a379bb","#f2f2f2","#7f7f7f","#f4f2f5","#e0e0e2","#f5f1e0","#ebefe6","#e1eff4","#e0e6f5","#e5e1f4","#ece4f1","#d8d8d8","#595959","#e9e6ec","#c2c1c5","#ebe3c1","#d7dfcd","#c3dfe9","#c1ceeb","#cbc3e9","#dac9e3","#bfbfbf","#3f3f3f","#dedae3","#a4a3a8","#e1d5a3","#c3cfb5","#a6d0de","#a2b5e2","#b1a6de","#c7aed6","#a5a5a5","#262626","#9688a5","#4e4d51","#ae9638","#758c5a","#3d8da9","#365bb0","#533da9","#7d4d99","#7f7f7f","#0c0c0c","#635672","#343336","#746425","#4e5d3c","#295e70","#243c75","#372970","#533366"],columns:10},austin:{colors:["#ffffff","#000000","#caf278","#3e3d2d","#94c600","#71685a","#ff6700","#909465","#956b43","#fea022","#f2f2f2","#7f7f7f","#f4fce4","#dddcd0","#efffc0","#e3e1dc","#ffe0cb","#e8e9df","#ece1d6","#feecd2","#d8d8d8","#595959","#e9f9c9","#bbb9a1","#dfff82","#c8c3ba","#ffc299","#d2d4c0","#dac3ad","#fed9a6","#bfbfbf","#3f3f3f","#dff7ae","#ada598","#cfff43","#ada598","#ffa365","#bcbfa1","#c8a585","#fec67a","#a5a5a5","#262626","#a9ea25","#2e2d21","#6f9400","#544e43","#bf4d00","#6c6f4b","#6f5032","#d77b00","#7f7f7f","#0c0c0c","#74a50f","#1f1e16","#4a6300","#38342d","#7f3300","#484a32","#4a3521","#8f5200"],columns:10},clarity:{colors:["#ffffff","#292934","#f3f2dc","#d2533c","#93a299","#ad8f67","#726056","#4c5a6a","#808da0","#79463d","#f2f2f2","#e7e7ec","#e7e5b9","#f6dcd8","#e9ecea","#eee8e0","#e4dedb","#d8dde3","#e5e8ec","#e9d6d3","#d8d8d8","#c4c4d1","#d5d185","#edbab1","#d3d9d6","#ded2c2","#c9beb8","#b2bcc8","#ccd1d9","#d3aea7","#bfbfbf","#8a8aa3","#aca73b","#e4978a","#bec7c1","#cdbba3","#af9e94","#8c9bac","#b2bac6","#bd857c","#a5a5a5","#56566e","#56531d","#a43925","#6b7c72","#866b48","#554840","#39434f","#5c697b","#5a342d","#7f7f7f","#3b3b4b","#22210b","#6d2619","#47534c","#594730","#39302b","#262d35","#3d4652","#3c231e"],columns:10},slipstream:{colors:["#ffffff","#000000","#b4dcfa","#212745","#4e67c8","#5eccf3","#a7ea52","#5dceaf","#ff8021","#f14124","#f2f2f2","#7f7f7f","#8bc9f7","#c7cce4","#dbe0f4","#def4fc","#edfadc","#def5ef","#ffe5d2","#fcd9d3","#d8d8d8","#595959","#4facf3","#909aca","#b8c2e9","#beeafa","#dbf6b9","#beebdf","#ffcca6","#f9b3a7","#bfbfbf","#3f3f3f","#0d78c9","#5967af","#94a3de","#9ee0f7","#caf297","#9de1cf","#ffb279","#f68d7b","#a5a5a5","#262626","#063c64","#181d33","#31479f","#11b2eb","#81d319","#34ac8b","#d85c00","#c3260c","#7f7f7f","#0c0c0c","#021828","#101322","#202f6a","#0b769c","#568c11","#22725c","#903d00","#821908"],columns:10},metro:{colors:["#ffffff","#000000","#d6ecff","#4e5b6f","#7fd13b","#ea157a","#feb80a","#00addc","#738ac8","#1ab39f","#f2f2f2","#7f7f7f","#a7d6ff","#d9dde4","#e5f5d7","#fad0e4","#fef0cd","#c5f2ff","#e2e7f4","#c9f7f1","#d8d8d8","#595959","#60b5ff","#b3bcca","#cbecb0","#f6a1c9","#fee29c","#8be6ff","#c7d0e9","#94efe3","#bfbfbf","#3f3f3f","#007dea","#8d9baf","#b2e389","#f272af","#fed46b","#51d9ff","#aab8de","#5fe7d5","#a5a5a5","#262626","#003e75","#3a4453","#5ea226","#af0f5b","#c58c00","#0081a5","#425ea9","#138677","#7f7f7f","#0c0c0c","#00192e","#272d37","#3f6c19","#750a3d","#835d00","#00566e","#2c3f71","#0c594f"],columns:10},flow:{colors:["#ffffff","#000000","#dbf5f9","#04617b","#0f6fc6","#009dd9","#0bd0d9","#10cf9b","#7cca62","#a5c249","#f2f2f2","#7f7f7f","#b2e9f2","#b4ecfc","#c7e2fa","#c4eeff","#c9fafc","#c9faed","#e4f4df","#edf2da","#d8d8d8","#595959","#76d9e8","#6adafa","#90c6f6","#89deff","#93f5f9","#94f6db","#cae9c0","#dbe6b6","#bfbfbf","#3f3f3f","#21b2c8","#20c8f7","#59a9f2","#4fceff","#5df0f6","#5ff2ca","#b0dfa0","#c9da91","#a5a5a5","#262626","#105964","#02485c","#0b5394","#0075a2","#089ca2","#0b9b74","#54a838","#7e9532","#7f7f7f","#0c0c0c","#062328","#01303d","#073763","#004e6c","#05686c","#07674d","#387025","#546321"],columns:10},hardcover:{colors:["#ffffff","#000000","#ece9c6","#895d1d","#873624","#d6862d","#d0be40","#877f6c","#972109","#aeb795","#f2f2f2","#7f7f7f","#e1dca5","#f2e0c6","#f0d0c9","#f6e6d5","#f5f2d8","#e7e5e1","#fbc7bc","#eef0e9","#d8d8d8","#595959","#d0c974","#e6c28d","#e2a293","#eeceaa","#ece5b2","#cfccc3","#f78f7a","#dee2d4","#bfbfbf","#3f3f3f","#a29a36","#daa454","#d4735e","#e6b681","#e2d88c","#b7b2a5","#f35838","#ced3bf","#a5a5a5","#262626","#514d1b","#664515","#65281a","#a2641f","#a39428","#655f50","#711806","#879464","#7f7f7f","#0c0c0c","#201e0a","#442e0e","#431b11","#6c4315","#6d621a","#433f35","#4b1004","#5a6243"],columns:10},trek:{colors:["#ffffff","#000000","#fbeec9","#4e3b30","#f0a22e","#a5644e","#b58b80","#c3986d","#a19574","#c17529","#f2f2f2","#7f7f7f","#f7e09e","#e1d6cf","#fcecd5","#eddfda","#f0e7e5","#f3eae1","#ece9e3","#f5e3d1","#d8d8d8","#595959","#f3cc5f","#c4ad9f","#f9d9ab","#dcc0b6","#e1d0cc","#e7d5c4","#d9d4c7","#ebc7a3","#bfbfbf","#3f3f3f","#d29f0f","#a78470","#f6c781","#cba092","#d2b9b2","#dbc1a7","#c6bfab","#e1ac76","#a5a5a5","#262626","#694f07","#3a2c24","#c87d0e","#7b4b3a","#926255","#a17242","#7b7153","#90571e","#7f7f7f","#0c0c0c","#2a1f03","#271d18","#855309","#523226","#614138","#6b4c2c","#524b37","#603a14"],columns:10},verve:{colors:["#ffffff","#000000","#d2d2d2","#666666","#ff388c","#e40059","#9c007f","#68007f","#005bd3","#00349e","#f2f2f2","#7f7f7f","#bdbdbd","#e0e0e0","#ffd7e8","#ffc6dc","#ffb8f1","#f1b2ff","#c3dcff","#b8cfff","#d8d8d8","#595959","#9d9d9d","#c1c1c1","#ffafd1","#ff8eba","#ff71e4","#e365ff","#87baff","#72a0ff","#bfbfbf","#3f3f3f","#696969","#a3a3a3","#ff87ba","#ff5597","#ff2ad7","#d519ff","#4b98ff","#2b71ff","#a5a5a5","#262626","#343434","#4c4c4c","#e90062","#ab0042","#75005f","#4e005f","#00449e","#002676","#7f7f7f","#0c0c0c","#151515","#333333","#9b0041","#72002c","#4e003f","#34003f","#002d69","#00194f"],columns:10},monochrome:{colors:["#000000","#1a1a1a","#333333","#4d4d4d","#666666","#808080","#999999","#b3b3b3","#cccccc","#e6e6e6","#f2f2f2","#ffffff"],columns:12}};import{jsx as ob}from"react/jsx-runtime";var Xl=e=>ob(_i,{palette:Qa.basic,...e});import{jsx as _P}from"react/jsx-runtime";import{jsx as $P,jsxs as VP}from"react/jsx-runtime";import{jsx as db}from"react/jsx-runtime";var ab=ze.options,ib=ze.states,rb={...ze.defaultOptions,variant:"basic"},nb=[{name:"basic",title:"Basic"},{name:"monochrome",title:"Monochrome"}],sb={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}},lb=[],Zo=e=>{let{variant:t="basic",...o}=e,a=sb[t];return db(Xl,{columns:a.columns,palette:a,...o})};Zo.options=ab;Zo.states=ib;Zo.variants=nb;Zo.defaultOptions=rb;Zo.modifiers=lb;Zo.className=ze.className;var Wl="color-editor",Jl="coloreditor";import{jsx as nt,jsxs as Qo}from"react/jsx-runtime";var zi="k-coloreditor",pb=[n.focus],mb={size:[d.undefined,d.small,d.medium,d.large]},ja={view:"gradient",palette:Qa.office,actionButtons:!0,canvasOrientation:"horizontal"},se=e=>{let{size:t,view:o=ja.view,palette:a=ja.palette,color:i,currentColor:s,focus:l,focusView:m,dir:c,group:h,actionButtons:b=ja.actionButtons,canvasOrientation:g=ja.canvasOrientation,...u}=e;return Qo("div",{...u,role:"textbox","aria-label":"Color editor",tabIndex:0,className:r(e.className,"k-flatcolorpicker",zi,C(zi,{size:t}),M(zi,{focus:l})),dir:c,children:[Qo("div",{className:"k-coloreditor-header k-hstack",children:[nt("div",{className:"k-coloreditor-header-actions k-hstack",children:h&&Qo(O,{fillMode:"flat",children:[nt(p,{className:"k-group-start",size:t,fillMode:"flat",icon:"droplet-slider",selected:o==="gradient","aria-label":"Color gradient view"}),nt(p,{className:"k-group-end",size:t,fillMode:"flat",icon:"palette",selected:o==="palette","aria-label":"Color palette view"})]})}),nt("div",{className:"k-spacer"}),Qo("div",{className:"k-coloreditor-header-actions k-hstack",children:[nt(p,{fillMode:"flat",icon:"droplet-slash",size:t,"aria-label":"Reset color"}),Qo("div",{className:"k-coloreditor-preview k-vstack",children:[nt(Xt,{className:"k-coloreditor-preview-color",color:i}),nt(Xt,{className:"k-coloreditor-current-color",color:s})]})]})]}),nt("div",{className:"k-coloreditor-views k-vstack",children:o==="gradient"?nt(Ie,{focus:m,size:t,canvasOrientation:g,role:"none",tabIndex:-1}):nt(ze,{palette:a,size:t})}),b&&Qo($e,{className:"k-coloreditor-footer",alignment:"start",children:[nt(p,{themeColor:"primary",size:t,className:"k-coloreditor-apply",children:"Apply"}),nt(p,{className:"k-coloreditor-cancel",size:t,children:"Cancel"})]})]})};se.states=pb;se.options=mb;se.className=zi;se.defaultOptions=ja;se.moduleName=Wl;se.folderName=Jl;var jo=se;import{jsx as vw}from"react/jsx-runtime";import{jsx as kw}from"react/jsx-runtime";import{jsx as cb}from"react/jsx-runtime";var ql=e=>cb(jo,{group:!0,currentColor:"fuchsia",...e});import{jsx as ub}from"react/jsx-runtime";var Yl=e=>ub(jo,{view:"palette",group:!0,currentColor:"fuchsia",...e});import{jsx as Zl}from"react/jsx-runtime";var fb=se.options,bb=se.states,xb={...se.defaultOptions,variant:"gradient"},hb=[{name:"gradient",title:"Gradient"},{name:"palette",title:"Palette"}],Nb=[],ea=e=>{let{variant:t,...o}=e;return t==="palette"?Zl(Yl,{...o,color:"white"}):Zl(ql,{...o,color:"rgba(183, 118 , 118, 1.00)"})};ea.options=fb;ea.states=bb;ea.variants=hb;ea.defaultOptions=xb;ea.modifiers=Nb;ea.className=se.className;var Ql="color-picker",jl="colorpicker";import{Fragment as Lb,jsx as st,jsxs as mn}from"react/jsx-runtime";var ed="k-colorpicker",gb=[n.hover,n.focus,n.valid,n.invalid,n.required,n.disabled],vb={size:[d.undefined,d.small,d.medium,d.large],rounded:[f.undefined,f.none,f.small,f.medium,f.large,f.full],fillMode:[x.undefined,x.solid,x.flat,x.outline]},td={arrowIconName:"chevron-down"},Se=e=>{let{size:t,rounded:o,fillMode:a,arrowIconName:i=td.arrowIconName,prefix:s,suffix:l,value:m,placeholder:c,hover:h,focus:b,valid:g,invalid:u,required:v,disabled:I,valueIconName:S,popup:k,opened:E,adaptive:T,adaptiveSettings:K,adaptiveTitle:Y,adaptiveSubtitle:ae,...ie}=e,pe="colorpicker-popup";return mn(Lb,{children:[mn(Lt,{...ie,size:t,rounded:o,fillMode:a,hover:h,focus:b,valid:g,invalid:u,required:v,disabled:I,role:"combobox","aria-haspopup":"dialog","aria-expanded":E?"true":"false","aria-controls":E||T?pe:void 0,"aria-label":"Color picker",tabIndex:0,"aria-disabled":I?"true":void 0,className:r(e.className,ed,"k-icon-picker"),children:[st(be,{children:s}),st(lo,{placeholder:c,value:m,showValue:!1,valueIcon:st(Xt,{className:"k-value-icon",color:m,iconName:S}),valueIconName:S}),st(xe,{children:l}),st(p,{className:"k-input-button",icon:i,size:t,fillMode:a,tabIndex:-1,"aria-label":"Open color picker",disabled:I})]}),E&&k&&st(J,{id:pe,className:"k-colorpicker-popup",children:k}),T&&st(Z,{adaptive:!0,id:pe,...K,header:st(ve,{actionsEnd:st(p,{icon:"check",themeColor:"primary",size:"large",fillMode:"flat","aria-label":"Apply"}),title:Y,subtitle:ae}),footer:mn(Wt,{children:[st(p,{text:"Cancel",size:"large"}),st(p,{text:"Set",size:"large",themeColor:"primary"})]}),children:st(se,{canvasOrientation:"vertical",size:"large",actionButtons:!1,group:!0})})]})};Se.states=gb;Se.options=vb;Se.className=ed;Se.defaultOptions=td;Se.moduleName=Ql;Se.folderName=jl;var Dt=Se;import{jsx as Ib}from"react/jsx-runtime";var Hi=e=>Ib(Dt,{...e});import{jsx as s0}from"react/jsx-runtime";import{jsx as c0}from"react/jsx-runtime";import{jsx as x0}from"react/jsx-runtime";import{jsx as v0}from"react/jsx-runtime";import{jsx as k0}from"react/jsx-runtime";import{jsx as y0}from"react/jsx-runtime";import{jsx as bo}from"react/jsx-runtime";var Sb=Dt.options,kb=Dt.states,od={...Dt.defaultOptions,variant:"color"},Eb=[{name:"color",title:"Color",default:!0},{name:"no color",title:"No color"},{name:"icon",title:"Icon"}],Mb=[{name:"opened",title:"Opened"}],ta=e=>{let{variant:t,modifiers:o,...a}={...od,...e},i={};Object.keys(o||{}).forEach(l=>{l==="opened"&&(i.opened=!!o?.[l],i.popup=o?.[l]?bo(se,{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(Hi,{...a,...i})});case"icon":return bo("div",{style:s,children:bo(Hi,{value:"rgba(183, 118 , 118, 1.00)",valueIconName:"edit-tools",...a,...i})});default:return bo("div",{style:s,children:bo(Hi,{value:"rgba(183, 118 , 118, 1.00)",...a,...i})})}};ta.options=Sb;ta.states=kb;ta.variants=Eb;ta.defaultOptions=od;ta.modifiers=Mb;ta.className=Dt.className;var cn="combobox",ad=cn;import{Fragment as un,jsx as ue,jsxs as ei}from"react/jsx-runtime";var id="k-combobox",Cb=[n.hover,n.focus,n.valid,n.invalid,n.loading,n.required,n.disabled,n.readonly],yb={size:[d.undefined,d.small,d.medium,d.large],rounded:[f.undefined,f.none,f.small,f.medium,f.large,f.full],fillMode:[x.undefined,x.solid,x.flat,x.outline]},fn={separators:!0,showClearButton:!0},ke=e=>{let{size:t,rounded:o,fillMode:a,separators:i=fn.separators,showClearButton:s=fn.showClearButton,prefix:l,suffix:m,value:c,placeholder:h,hover:b,focus:g,valid:u,invalid:v,required:I,loading:S,disabled:k,popup:E,opened:T,readonly:K,adaptive:Y,adaptiveSettings:ae,adaptiveTitle:ie,adaptiveSubtitle:pe,adaptiveCustomValue:so,id:Nt,autocomplete:Bt,activeDescendant:$t,"aria-label":Oa,...Ba}=e,Ra=Nt?`${Nt}-listbox`:void 0;return ei(un,{children:[ei($,{...Ba,size:t,rounded:o,fillMode:a,hover:b,focus:g,valid:u,invalid:v,required:I,loading:S,disabled:k,readonly:K,className:r(e.className,id),children:[l&&ei(un,{children:[ue(be,{children:l}),i&&ue(te,{})]}),ue(ce,{id:Nt,placeholder:h,value:c,role:"combobox","aria-haspopup":"listbox","aria-expanded":T?"true":"false","aria-controls":T?Ra:void 0,"aria-activedescendant":T&&$t?$t:void 0,"aria-autocomplete":Bt,"aria-invalid":v?"true":void 0,"aria-busy":S?"true":void 0,"aria-label":Oa,disabled:k,readOnly:K}),ue(ee,{valid:u,invalid:v,loading:S,disabled:k}),ue(re,{loading:S,disabled:k}),s&&ue(me,{loading:S,disabled:k,readonly:K,value:c}),m&&ei(un,{children:[i&&ue(te,{}),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(J,{className:"k-list-container k-combobox-popup",containerRole:"region",containerAriaLabel:"Combobox suggestions",children:E}),Y&&ue(Z,{adaptive:!0,id:Nt?`${Nt}-adaptive`:void 0,...ae,header:ue(ve,{actionsEnd:ue(p,{icon:"check",themeColor:"primary",size:"large",fillMode:"flat","aria-label":"Apply selection"}),input:!0,inputValue:c,inputPlaceholder:h,title:ie,subtitle:pe}),children:ue("div",{className:"k-list-container",children:ue(P,{customValue:so?ue(it,{text:`Use "${c}"`}):void 0,size:"large",children:ei(D,{"aria-label":ie||"Options",children:[ue(y,{text:"List item"}),ue(y,{text:"List item"}),ue(y,{text:"List item"})]})})})})]})};ke.states=Cb;ke.options=yb;ke.className=id;ke.defaultOptions=fn;ke.moduleName=cn;ke.folderName=ad;var Ve=ke;import{jsx as Ab}from"react/jsx-runtime";var rd=e=>Ab(Ve,{...e});import{jsx as pK,jsxs as mK}from"react/jsx-runtime";import{jsx as hK,jsxs as NK}from"react/jsx-runtime";import{jsx as kK,jsxs as EK}from"react/jsx-runtime";import{Fragment as OK,jsx as TK}from"react/jsx-runtime";import{Fragment as DK,jsx as KK}from"react/jsx-runtime";import{jsx as GK,jsxs as $K}from"react/jsx-runtime";import{Fragment as QK,jsx as YK,jsxs as ZK}from"react/jsx-runtime";import{jsx as oD}from"react/jsx-runtime";import{jsx as nD}from"react/jsx-runtime";import{jsx as cD,jsxs as uD}from"react/jsx-runtime";import{jsx as gD,jsxs as vD}from"react/jsx-runtime";import{jsx as jt,jsxs as wb}from"react/jsx-runtime";var Tb=ke.states,Ob=ke.defaultOptions,Bb=ke.options,Rb=[{name:"prefix",title:"Prefix"},{name:"suffix",title:"Suffix"},{name:"opened",title:"Opened"}],Pb=[],oa=e=>{let{modifiers:t,...o}=e,a={},i=jt(P,{style:{width:300},size:o.size,children:wb(D,{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(rd,{value:"Value",style:{width:300},...o,...a})})};oa.options=Bb;oa.states=Tb;oa.variants=Pb;oa.defaultOptions=Ob;oa.modifiers=Rb;oa.className=ke.className;var bn="menu-button",nd=bn;import{jsx as _b}from"react/jsx-runtime";var sd="k-menu-button",Kb=[n.hover,n.focus,n.active,n.selected,n.disabled],Db={size:[d.undefined,d.xsmall,d.small,d.medium,d.large],rounded:[f.undefined,f.none,f.small,f.medium,f.large,f.full],fillMode:[x.undefined,x.solid,x.flat,x.outline,x.clear,x.link],themeColor:[L.undefined,L.base,L.primary,L.secondary,L.tertiary,L.success,L.warning,L.error,L.info,L.inverse]},xn={showArrow:!0,arrowIconName:"chevron-down"},W=e=>{let{size:t,rounded:o,fillMode:a,themeColor:i,hover:s,focus:l,active:m,selected:c,disabled:h,icon:b,endIcon:g,text:u,showArrow:v=xn.showArrow,arrowIconName:I=xn.arrowIconName,expanded:S,...k}=e;return _b(p,{...k,className:r(e.className,sd),text:u,size:t,rounded:o,fillMode:a,themeColor:i,hover:s,focus:l,active:m,selected:c,disabled:h,ariaDisabled:h||void 0,icon:b,endIcon:g,showArrow:v,arrowIconName:I,"aria-expanded":S?"true":"false",...!u&&b&&!e["aria-label"]&&{"aria-label":"Menu"}})};W.states=Kb;W.options=Db;W.className=sd;W.defaultOptions=xn;W.moduleName=bn;W.folderName=nd;import{jsx as jD}from"react/jsx-runtime";import{jsx as a_}from"react/jsx-runtime";import{jsx as s_}from"react/jsx-runtime";import{jsx as m_}from"react/jsx-runtime";var Xe="menu",lt=Xe;import{jsx as oi,jsxs as ld}from"react/jsx-runtime";var hn="k-menu-item",zb=[n.hover,n.focus,n.active,n.selected,n.disabled],Hb={},dd={iconPosition:"before"},Ce=e=>{let{hover:t,focus:o,active:a,selected:i,disabled:s,icon:l,text:m,showArrow:c,arrowIconName:h,iconPosition:b=dd.iconPosition,dir:g,children:u,expanded:v,...I}=e,S=h;return S||(S=g==="rtl"?"chevron-left":"chevron-right"),ld("li",{...I,className:r(e.className,hn,"k-item",M(hn,{focus:o,disabled:s,hover:t,active:a,selected:i})),role:"menuitem",...c&&{"aria-haspopup":"menu"},...c&&{"aria-expanded":v?"true":"false"},...s&&{"aria-disabled":"true"},...o&&{tabIndex:0},children:[ld("span",{className:r("k-link k-menu-link"),children:[l&&b==="before"&&oi(N,{className:"k-menu-link-icon",icon:l}),oi("span",{className:"k-menu-link-text",children:m}),l&&b==="after"&&oi(N,{className:"k-menu-link-icon",icon:l}),c&&oi("span",{className:"k-menu-expand-arrow","aria-hidden":"true",children:oi(N,{icon:S})})]}),u]})};Ce.states=zb;Ce.options=Hb;Ce.className=hn;Ce.defaultOptions=dd;Ce.moduleName=Xe;Ce.folderName=lt;import{jsx as xo,jsxs as pd}from"react/jsx-runtime";var Nn="k-menu-item",Fb=[n.hover,n.focus,n.active,n.selected,n.disabled],Ub={},gn={dir:"ltr",iconPosition:"before"},Q=e=>{let{hover:t,focus:o,active:a,selected:i,disabled:s,icon:l,text:m,showArrow:c,arrowIconName:h,iconPosition:b=gn.iconPosition,dir:g=gn.dir,children:u,popup:v,expanded:I,actions:S,description:k,...E}=e,T=h;return T||(T=g==="rtl"?"chevron-left":"chevron-right"),pd("li",{role:"menuitem",...E,className:r(e.className,Nn,"k-item",M(Nn,{focus:o,disabled:s})),...c&&{"aria-haspopup":"menu"},...c&&{"aria-expanded":I?"true":"false"},...s&&{"aria-disabled":"true"},...o&&{tabIndex:0},children:[pd("span",{className:r("k-link k-menu-link",M("k-menu-link",{hover:t,active:a,selected:i,disabled:s})),children:[l&&b==="before"&&xo(N,{className:"k-menu-link-icon",icon:l}),xo("span",{className:"k-menu-link-text",children:m}),l&&b==="after"&&xo(N,{className:"k-menu-link-icon",icon:l}),S&&xo("span",{className:"k-menu-link-actions",children:S}),c&&xo("span",{className:"k-menu-expand-arrow","aria-hidden":"true",children:xo(N,{icon:T})}),k&&xo("span",{className:"k-menu-link-description",children:k})]}),u,v]})};Q.states=Fb;Q.options=Ub;Q.className=Nn;Q.defaultOptions=gn;Q.moduleName=Xe;Q.folderName=lt;import{jsx as Xb}from"react/jsx-runtime";var md="k-menu-scroll-wrapper",Gb=[],$b={},Vb={},ho=e=>{let{className:t,children:o,orientation:a,...i}=e;return Xb("div",{...i,className:r(t,md,{"k-menu-scroll-wrapper-vertical":a==="vertical"}),children:o})};ho.states=Gb;ho.options=$b;ho.className=md;ho.defaultOptions=Vb;ho.moduleName=Xe;ho.folderName=lt;var cd=ho;import{Fragment as vn,jsx as No,jsxs as Fi}from"react/jsx-runtime";var Ui="k-menu",Wb=[],Jb={size:[d.undefined,d.small,d.medium,d.large]},Gi={orientation:"horizontal",header:!0,scrollButtonsPosition:"around"},Ee=e=>{let{children:t,orientation:o=Gi.orientation,header:a=Gi.header,scrollable:i,scrollButtonsPosition:s=Gi.scrollButtonsPosition,wrapperStyles:l,dir:m,size:c,popup:h,contextMenu:b,...g}=e,u={horizontal:{prev:m!=="rtl"?"left":"right",next:m!=="rtl"?"right":"left"},vertical:{prev:"up",next:"down"}},v=No("ul",{dir:m,...g,className:r(e.className,"k-reset",Ui,{[`${Ui}-${o}`]:o,"k-header":a},C(Ui,{size:c})),role:b?"menu":"menubar",...o==="vertical"&&{"aria-orientation":"vertical"},children:t});return Fi(vn,{children:[i?Fi(cd,{orientation:o,style:l,dir:e.dir,children:[s==="start"&&Fi(vn,{children:[No(p,{fillMode:"flat",size:"xsmall",icon:`chevron-${u[o].prev}`,className:"k-menu-scroll-button k-menu-scroll-button-prev",tabIndex:-1,"aria-label":"Scroll previous"}),No(p,{fillMode:"flat",size:"xsmall",icon:`chevron-${u[o].next}`,className:"k-menu-scroll-button k-menu-scroll-button-next",tabIndex:-1,"aria-label":"Scroll next"})]}),s==="around"&&No(p,{fillMode:"flat",size:"xsmall",icon:`chevron-${u[o].prev}`,className:"k-menu-scroll-button k-menu-scroll-button-prev",tabIndex:-1,"aria-label":"Scroll previous"}),v,s==="end"&&Fi(vn,{children:[No(p,{fillMode:"flat",size:"xsmall",icon:`chevron-${u[o].prev}`,className:"k-menu-scroll-button k-menu-scroll-button-prev",tabIndex:-1,"aria-label":"Scroll previous"}),No(p,{fillMode:"flat",size:"xsmall",icon:`chevron-${u[o].next}`,className:"k-menu-scroll-button k-menu-scroll-button-next",tabIndex:-1,"aria-label":"Scroll next"})]}),s==="around"&&No(p,{fillMode:"flat",size:"xsmall",icon:`chevron-${u[o].next}`,className:"k-menu-scroll-button k-menu-scroll-button-next",tabIndex:-1,"aria-label":"Scroll next"})]}):v,h]})};Ee.states=Wb;Ee.options=Jb;Ee.className=Ui;Ee.defaultOptions=Gi;Ee.moduleName=Xe;Ee.folderName=lt;import{jsx as qb}from"react/jsx-runtime";var Ln="k-separator",ud={orientation:"horizontal"},aa=e=>{let{orientation:t=ud.orientation,...o}=e;return qb("li",{...o,className:r(e.className,"k-item",Ln,{[`${Ln}-${t}`]:t}),role:"separator"})};aa.className=Ln;aa.defaultOptions=ud;aa.moduleName=Xe;aa.folderName=lt;import{Fragment as H_,jsx as F_}from"react/jsx-runtime";import{jsx as jb}from"react/jsx-runtime";var In="k-menu-group",Yb=[],Zb={size:[d.undefined,d.small,d.medium,d.large]},Qb={},ye=e=>{let{children:t,size:o,...a}=e;return jb("ul",{role:"menu",...a,className:r(e.className,In,C(In,{size:o})),children:t})};ye.states=Yb;ye.options=Zb;ye.className=In;ye.defaultOptions=Qb;ye.moduleName=Xe;ye.folderName=lt;import{jsx as Y_,jsxs as Z_}from"react/jsx-runtime";import{Fragment as ex,jsx as ia,jsxs as tx}from"react/jsx-runtime";var Sn=e=>ia(Ee,{children:tx(ex,{children:[ia(Ce,{text:"Item 1"}),ia(Ce,{showArrow:!0,arrowIconName:"chevron-down",text:"Item 2"}),ia(Ce,{showArrow:!0,arrowIconName:"chevron-down",text:"Item 3"}),ia(Ce,{text:"Item 4"}),ia(Ce,{text:"Item 5"})]}),...e});import{Fragment as sz,jsx as rz,jsxs as nz}from"react/jsx-runtime";import{Fragment as cz,jsx as mz,jsxs as uz}from"react/jsx-runtime";import{Fragment as Nz,jsx as hz,jsxs as gz}from"react/jsx-runtime";import{Fragment as kz,jsx as Sz,jsxs as Ez}from"react/jsx-runtime";import{jsx as go,jsxs as nx}from"react/jsx-runtime";var ox={...Ee.options,scrollable:{type:"boolean"}},ax=Ee.states,fd={...Ee.defaultOptions,variant:"horizontal"},ix=[{name:"horizontal",title:"Horizontal"},{name:"vertical",title:"Vertical"}],rx=[{name:"opened",title:"Opened"}],ra=e=>{let{variant:t,modifiers:o,...a}={...fd,...e},i={},s=t==="vertical"?{left:"200px",top:"30px"}:{left:"90px",top:"auto"};return Object.keys(o||{}).forEach(l=>{l==="opened"&&(i.opened=!!o?.[l],i.popup=o?.[l]?go(J,{className:"k-menu-popup",offset:s,children:nx(ye,{children:[go(Q,{text:"Item 1"}),go(Q,{text:"Item 2"}),go(aa,{}),go(Q,{text:"Item 3"})]})}):null)}),t==="vertical"?go(Sn,{...a,...i,orientation:"vertical",style:{width:"200px"}}):go(Sn,{...a,...i})};ra.options=ox;ra.states=ax;ra.variants=ix;ra.defaultOptions=fd;ra.modifiers=rx;ra.className=Ee.className;import{Fragment as iH,jsx as oH,jsxs as aH}from"react/jsx-runtime";import{jsx as lH}from"react/jsx-runtime";import{Fragment as mx,jsx as yt,jsxs as bd}from"react/jsx-runtime";var sx=p.states,xd={...p.defaultOptions,variant:"text"},lx=p.options,dx=[{name:"icon-only",title:"Icon Only"},{name:"icon-and-text",title:"Icon & Text"},{name:"text",title:"Text"}],px=[{name:"opened",title:"Opened"}],na=e=>{let{variant:t,modifiers:o,...a}={...xd,...e},i={},s=yt(J,{className:"k-menu-popup",children:bd(ye,{size:a.size,children:[yt(Q,{text:"Menu Item"}),yt(Q,{text:"Menu Item"}),yt(Q,{text:"Menu Item"})]})}),l;switch(t){case"icon-only":l=yt("div",{children:yt(W,{...a,...i,icon:"star"})});break;case"icon-and-text":l=yt("div",{children:yt(W,{...a,...i,icon:"star",children:"Dropdown Button"})});break;default:l=yt("div",{children:yt(W,{...a,...i,children:"Dropdown Button"})});break}return bd(mx,{children:[l,o?.opened&&s]})};na.options=lx;na.states=sx;na.variants=dx;na.defaultOptions=xd;na.modifiers=px;na.className=W.className;var kn="split-button",hd=kn;import{Fragment as fx,jsx as En,jsxs as Nd}from"react/jsx-runtime";var Mn="k-split-button",cx=[n.hover,n.focus,n.active,n.selected,n.disabled],ux={size:[d.undefined,d.small,d.medium,d.large],rounded:[f.undefined,f.none,f.small,f.medium,f.large,f.full],fillMode:[x.undefined,x.solid,x.flat,x.outline,x.clear,x.link],themeColor:[L.undefined,L.base,L.primary,L.secondary,L.tertiary,L.success,L.warning,L.error,L.info,L.inverse]},gd={arrowIconName:"chevron-down"},z=e=>{let{size:t,rounded:o,fillMode:a,themeColor:i,hover:s,focus:l,active:m,selected:c,disabled:h,icon:b,endIcon:g,text:u,arrowIconName:v=gd.arrowIconName,popup:I,opened:S,popupId:k,...E}=e;return Nd(fx,{children:[Nd("div",{...E,className:r(e.className,Mn,"k-button-group",C(Mn,{rounded:o})),children:[En(p,{text:u,icon:b,endIcon:g,size:t,rounded:o,fillMode:a,themeColor:i,hover:s,focus:l,active:m,selected:c,disabled:h,...!u&&!e.children&&b&&{"aria-label":"Action"},children:e.children}),En(p,{className:"k-split-button-arrow",icon:v,size:t,rounded:o,fillMode:a,disabled:h,ariaDisabled:h||void 0,"aria-label":"Toggle dropdown","aria-expanded":S?"true":"false","aria-controls":S?k:void 0,tabIndex:-1})]}),S&&I&&En(J,{className:"k-menu-popup",children:I})]})};z.states=cx;z.options=ux;z.className=Mn;z.defaultOptions=gd;z.moduleName=kn;z.folderName=hd;var Cn=z;import{jsx as xx}from"react/jsx-runtime";var bx="k-toolbar-separator",Me=e=>xx("div",{className:r(bx,e.className,"k-separator")});var vo="toolbar",sa=vo;import{Fragment as yn,jsx as F,jsxs as la}from"react/jsx-runtime";var _t="k-toolbar",hx=[n.focus],Nx={size:[d.undefined,d.small,d.medium,d.large],fillMode:[x.undefined,x.solid,x.outline,x.flat]},gx={scrollButtons:"around"},q=e=>{let{size:t,fillMode:o,focus:a,resizable:i,scrollable:s,scrollButtons:l,scrollingPosition:m,section:c,...h}=e,b=[],g=(u,v)=>{let I=[];if(u.type===p&&u.props.className&&u.props.className.includes("k-toolbar-overflow-button"))I.push(F(p,{...u.props,className:`${u.props.className?u.props.className:""}`},`${v}-${new Date().getTime()}`));else if(u.type===p)I.push(F(p,{...u.props,className:`k-toolbar-button ${u.props.className?u.props.className:""}`},`${v}-${new Date().getTime()}`));else if(u.type===_a)I.push(F(_a,{...u.props,className:`k-toolbar-button ${u.props.className?u.props.className:""}`},`${v}-${new Date().getTime()}`));else if(u.type===Rt)I.push(F(Rt,{...u.props,className:`k-toolbar-button ${u.props.className?u.props.className:""}`},`${v}-${new Date().getTime()}`));else if(u.type===W)I.push(F(W,{...u.props,className:`k-toolbar-menu-button ${u.props.className?u.props.className:""}`},`${v}-${new Date().getTime()}`));else if(u.type===Cn)I.push(F(Cn,{...u.props,className:`k-toolbar-split-button ${u.props.className?u.props.className:""}`},`${v}-${new Date().getTime()}`));else if(u.type===O||u.props.className&&u.props.className.includes("k-button-group")){let S=[];(Array.isArray(u.props.children)?u.props.children:[u.props.children]).forEach((E,T)=>{S.push(F(p,{...E.props,className:`${E.props.className?E.props.className:""}`},`${T}-${new Date().getTime()}`))}),I.push(F(O,{...u.props,className:`k-toolbar-button-group ${u.props.className?u.props.className:""}`,children:S},`${v}-${new Date().getTime()}`))}else u.type===ke?I.push(F(ke,{...u.props,className:`k-toolbar-combobox ${u.props.className?u.props.className:""}`},`${v}-${new Date().getTime()}`)):u.type===V?I.push(F(V,{...u.props,className:`k-toolbar-dropdownlist ${u.props.className?u.props.className:""}`},`${v}-${new Date().getTime()}`)):u.type===Se?I.push(F(Se,{...u.props,className:`k-toolbar-colorpicker ${u.props.className?u.props.className:""}`},`${v}-${new Date().getTime()}`)):I.push(u);I.forEach(S=>{b.push(S)})};return e.children&&(Array.isArray(e.children)?e.children:[e.children]).forEach((v,I)=>{g(v,I)}),la("div",{...h,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&&b,s&&l==="hidden"&&F("div",{className:"k-toolbar-items k-toolbar-items-scroll",children:b}),s&&l==="start"&&la(yn,{children:[la(O,{children:[F("span",{className:r("k-toolbar-prev","k-button",C("k-button",{size:t,fillMode:o}),"k-icon-button"),"aria-hidden":"true",children:F(N,{className:"k-button-icon",icon:"chevron-left"})}),F("span",{className:r("k-toolbar-next","k-button",C("k-button",{size:t,fillMode:o}),"k-icon-button"),"aria-hidden":"true",children:F(N,{className:"k-button-icon",icon:"chevron-right"})})]}),F(Me,{className:"k-toolbar-button-separator"}),F("div",{className:"k-toolbar-items k-toolbar-items-scroll",children:b})]}),s&&l==="end"&&la(yn,{children:[F("div",{className:"k-toolbar-items k-toolbar-items-scroll",children:b}),F(Me,{className:"k-toolbar-button-separator"}),la(O,{children:[F("span",{className:r("k-toolbar-prev","k-button",C("k-button",{size:t,fillMode:o}),"k-icon-button"),"aria-hidden":"true",children:F(N,{className:"k-button-icon",icon:"chevron-left"})}),F("span",{className:r("k-toolbar-next","k-button",C("k-button",{size:t,fillMode:o}),"k-icon-button"),"aria-hidden":"true",children:F(N,{className:"k-button-icon",icon:"chevron-right"})})]})]}),s&&(l==="around"||!l)&&la(yn,{children:[F("span",{className:r("k-toolbar-prev","k-button",C("k-button",{size:t,fillMode:o}),"k-icon-button"),"aria-hidden":"true",children:F(N,{className:"k-button-icon",icon:"chevron-left"})}),F(Me,{className:"k-toolbar-button-separator"}),F("div",{className:"k-toolbar-items k-toolbar-items-scroll",children:b}),F(Me,{className:"k-toolbar-button-separator"}),F("span",{className:r("k-toolbar-next","k-button",C("k-button",{size:t,fillMode:o}),"k-icon-button"),"aria-hidden":"true",children:F(N,{className:"k-button-icon",icon:"chevron-right"})})]})]})};q.states=hx;q.options=Nx;q.className=_t;q.defaultOptions=gx;q.moduleName=vo;q.folderName=sa;import{jsx as Sx}from"react/jsx-runtime";var An="k-toolbar-item",vx=[n.focus],Lx={},Ix={},eo=e=>{let{focus:t,...o}=e;return Sx("div",{...o,className:r(e.className,An,M(An,{focus:t})),children:e.children})};eo.states=vx;eo.options=Lx;eo.className=An;eo.defaultOptions=Ix;eo.moduleName=vo;eo.folderName=sa;import{jsx as vd}from"react/jsx-runtime";var Ld="k-toolbar-popup",kx=[],Ex={size:[d.undefined,d.small,d.medium,d.large],fillMode:[x.undefined,x.solid,x.outline,x.flat]},Mx={},Lo=e=>{let{size:t,fillMode:o,section:a,...i}=e;return vd(J,{...i,className:r(e.className,Ld),children:a?vd("span",{className:r("k-toolbar-items-list",C("k-toolbar-items-list",{size:t,fillMode:o})),role:"toolbar",children:e.children}):e.children})};Lo.states=kx;Lo.options=Ex;Lo.className=Ld;Lo.defaultOptions=Mx;Lo.moduleName=vo;Lo.folderName=sa;var $i=Lo;import{jsx as l1}from"react/jsx-runtime";import{jsx as c1}from"react/jsx-runtime";import{jsx as x1}from"react/jsx-runtime";import{jsx as v1}from"react/jsx-runtime";import{jsx as M1,jsxs as C1}from"react/jsx-runtime";import{jsx as O1}from"react/jsx-runtime";import{jsx as zt,jsxs as Ox}from"react/jsx-runtime";var Cx=z.states,Id={...z.defaultOptions,variant:"text"},yx=z.options,Ax=[{name:"icon-only",title:"Icon Only"},{name:"icon-and-text",title:"Icon & Text"},{name:"text",title:"Text"}],Tx=[{name:"opened",title:"Opened"}],da=e=>{let{variant:t,modifiers:o,...a}={...Id,...e},i={},s=Ox(ye,{size:a.size,children:[zt(Q,{text:"Menu Item"}),zt(Q,{text:"Menu Item"}),zt(Q,{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(z,{...a,...i,icon:"star"})});case"icon-and-text":return zt("div",{children:zt(z,{...a,...i,icon:"star",children:"Split Button"})});default:return zt("div",{children:zt(z,{...a,...i,children:"Split Button"})})}};da.options=yx;da.states=Cx;da.variants=Ax;da.defaultOptions=Id;da.modifiers=Tx;da.className=z.className;import{jsx as Io,jsxs as Bx}from"react/jsx-runtime";var Sd=e=>Io(q,{children:[Io(p,{children:"Button"},"toolbar-button"),Io(W,{text:"Menu button"},"toolbar-menu-button"),Io(z,{children:"Split button"},"toolbar-split-button"),Bx(O,{children:[Io(p,{className:"k-group-start",icon:"align-left",children:"Left"}),Io(p,{icon:"align-center",children:"Center"}),Io(p,{className:"k-group-end",icon:"align-right",children:"Right"})]},"toolbar-button-group")],...e});import{jsx as sF,jsxs as lF}from"react/jsx-runtime";import{jsx as We,jsxs as kd}from"react/jsx-runtime";var Ed=e=>We(q,{scrollable:!0,...e,children:[We(p,{children:"Button"},"toolbar-button"),We(W,{text:"Menu button"},"toolbar-menu-button"),We(z,{children:"Split button"},"toolbar-split-button"),kd(O,{children:[We(p,{className:"k-group-start",icon:"align-left",children:"Left"}),We(p,{icon:"align-center",children:"Center"}),We(p,{className:"k-group-end",icon:"align-right",children:"Right"})]},"toolbar-button-group"),We(p,{children:"Button"},"toolbar-button"),We(W,{text:"Menu button"},"toolbar-menu-button"),We(z,{children:"Split button"},"toolbar-split-button"),kd(O,{children:[We(p,{className:"k-group-start",icon:"align-left",children:"Left"}),We(p,{icon:"align-center",children:"Center"}),We(p,{className:"k-group-end",icon:"align-right",children:"Right"})]},"toolbar-button-group")],...e});import{jsx as Je,jsxs as Md}from"react/jsx-runtime";var Cd=({scrollingPosition:e="start",...t})=>Je(q,{scrollable:!0,scrollButtons:"hidden",scrollingPosition:e,...t,children:[Je(p,{children:"Button"},"toolbar-button"),Je(W,{text:"Menu button"},"toolbar-menu-button"),Je(z,{children:"Split button"},"toolbar-split-button"),Md(O,{children:[Je(p,{className:"k-group-start",icon:"align-left",children:"Left"}),Je(p,{icon:"align-center",children:"Center"}),Je(p,{className:"k-group-end",icon:"align-right",children:"Right"})]},"toolbar-button-group"),Je(p,{children:"Button"},"toolbar-button"),Je(W,{text:"Menu button"},"toolbar-menu-button"),Je(z,{children:"Split button"},"toolbar-split-button"),Md(O,{children:[Je(p,{className:"k-group-start",icon:"align-left",children:"Left"}),Je(p,{icon:"align-center",children:"Center"}),Je(p,{className:"k-group-end",icon:"align-right",children:"Right"})]},"toolbar-button-group")],...t});import{Fragment as Rx,jsx as He,jsxs as Vi}from"react/jsx-runtime";var yd=({fillMode:e,size:t,...o})=>Vi(Rx,{children:[He(q,{section:!0,fillMode:e,size:t,children:[He(p,{fillMode:e,size:t,children:"Button"},"toolbar-button"),Vi(O,{fillMode:e,children:[He(p,{className:"k-group-start",icon:"align-left",fillMode:e,size:t,children:"Left"}),He(p,{icon:"align-center",fillMode:e,size:t,children:"Center"}),He(p,{className:"k-group-end",icon:"align-right",fillMode:e,size:t,children:"Right"})]},"toolbar-button-group"),He(Me,{className:"k-toolbar-button-separator"}),He(p,{icon:"more-horizontal",className:"k-toolbar-overflow-button",fillMode:"flat",size:t,"aria-label":"More options","aria-expanded":"false"})],...o}),Vi($i,{size:t,fillMode:e,section:!0,...o,children:[He(z,{fillMode:e,size:t,children:"Split button"},"toolbar-split-button"),He(p,{fillMode:e,size:t,children:"Button"},"toolbar-button"),He(Me,{}),He(W,{text:"Menu button",fillMode:e,size:t},"toolbar-menu-button"),Vi(O,{fillMode:e,children:[He(p,{className:"k-group-start",icon:"align-left",fillMode:e,size:t,children:"Left"}),He(p,{icon:"align-center",fillMode:e,size:t,children:"Center"}),He(p,{className:"k-group-end",icon:"align-right",fillMode:e,size:t,children:"Right"})]},"toolbar-button-group")]})]});import{Fragment as FF,jsx as zF,jsxs as HF}from"react/jsx-runtime";import{Fragment as QF,jsx as YF,jsxs as ZF}from"react/jsx-runtime";import{jsx as to}from"react/jsx-runtime";var Px=q.options,wx=q.states,Ad={...q.defaultOptions,variant:"default"},Kx=[{name:"default",title:"Default"},{name:"scrollable",title:"Scrollable"},{name:"overlay",title:"Overlay"},{name:"responsive",title:"Responsive"}],Dx=[],pa=e=>{let{variant:t,...o}={...Ad,...e};switch(t){case"responsive":return to("div",{children:to(yd,{style:{width:"583px"},...o})});case"overlay":return to("div",{children:to(Cd,{style:{width:"583px"},...o,scrollingPosition:"start",scrollButtons:"hidden"})});case"scrollable":return to("div",{children:to(Ed,{style:{width:"583px"},...o})});default:return to("div",{children:to(Sd,{style:{width:"583px"},...o})})}};pa.options=Px;pa.states=wx;pa.variants=Kx;pa.defaultOptions=Ad;pa.modifiers=Dx;pa.className=q.className;var Tn="autocomplete",Td=Tn;import{Fragment as On,jsx as he,jsxs as ai}from"react/jsx-runtime";var Od="k-autocomplete",_x=[n.hover,n.focus,n.valid,n.invalid,n.required,n.disabled,n.loading,n.readonly],zx={size:[d.undefined,d.small,d.medium,d.large],rounded:[f.undefined,f.none,f.small,f.medium,f.large,f.full],fillMode:[x.undefined,x.solid,x.flat,x.outline]},Bn={separators:!0,showClearButton:!0},ht=e=>{let{size:t,rounded:o,fillMode:a,separators:i=Bn.separators,showClearButton:s=Bn.showClearButton,prefix:l,suffix:m,value:c,placeholder:h,hover:b,focus:g,valid:u,invalid:v,required:I,loading:S,disabled:k,popup:E,opened:T,readonly:K,adaptive:Y,adaptiveSettings:ae,adaptiveTitle:ie,adaptiveSubtitle:pe,adaptiveCustomValue:so,id:Nt,autocomplete:Bt,activeDescendant:$t,"aria-label":Oa,...Ba}=e,Ra=Nt?`${Nt}-listbox`:void 0;return ai(On,{children:[ai($,{...Ba,size:t,rounded:o,fillMode:a,hover:b,focus:g,valid:u,invalid:v,required:I,loading:S,disabled:k,readonly:K,className:r(e.className,Od),children:[l&&ai(On,{children:[he(be,{children:l}),i&&he(te,{})]}),he(ce,{placeholder:h,value:c,role:"combobox","aria-haspopup":"listbox","aria-expanded":T?"true":"false","aria-controls":T?Ra:void 0,"aria-activedescendant":T&&$t?$t:void 0,"aria-autocomplete":Bt,"aria-invalid":v?"true":void 0,"aria-busy":S?"true":void 0,"aria-label":Oa,disabled:k,readOnly:K}),he(ee,{valid:u,invalid:v,loading:S,disabled:k}),he(re,{loading:S,disabled:k}),s&&he(me,{loading:S,disabled:k,readonly:K,value:c}),m&&ai(On,{children:[i&&he(te,{}),he(xe,{children:m})]})]}),T&&E&&he(J,{className:"k-list-container k-autocomplete-popup",containerRole:"region",containerAriaLabel:"Autocomplete suggestions",children:E}),Y&&he(Z,{adaptive:!0,...ae,header:he(ve,{actionsEnd:he(p,{icon:"check",themeColor:"primary",size:"large",fillMode:"flat","aria-label":"Apply selection"}),input:!0,inputValue:c,inputPlaceholder:h,title:ie,subtitle:pe}),children:he("div",{className:"k-list-container",children:he(P,{customValue:so?he(it,{text:`Use "${c}"`}):void 0,size:"large",children:ai(D,{"aria-label":"Options",children:[he(y,{text:"List item"}),he(y,{text:"List item"}),he(y,{text:"List item"})]})})})})]})};ht.states=_x;ht.options=zx;ht.className=Od;ht.defaultOptions=Bn;ht.moduleName=Tn;ht.folderName=Td;var At=ht;import{jsx as Hx}from"react/jsx-runtime";var Bd=e=>Hx(At,{id:A("ac"),"aria-label":"Search",...e});import{jsx as H2,jsxs as F2}from"react/jsx-runtime";import{jsx as X2}from"react/jsx-runtime";import{Fragment as j2,jsx as Q2}from"react/jsx-runtime";import{Fragment as nU,jsx as rU}from"react/jsx-runtime";import{jsx as cU,jsxs as uU}from"react/jsx-runtime";import{jsx as gU,jsxs as vU}from"react/jsx-runtime";import{jsx as MU,jsxs as CU}from"react/jsx-runtime";import{jsx as BU}from"react/jsx-runtime";import{jsx as So,jsxs as Xx}from"react/jsx-runtime";var Fx=U.states,Ux=U.defaultOptions,Gx=U.options,$x=[{name:"prefix",title:"Prefix"},{name:"suffix",title:"Suffix"},{name:"opened",title:"Opened"}],Vx=[],ma=e=>{let{modifiers:t,...o}=e,a={},i=So(P,{style:{width:300},size:o.size,children:Xx(D,{children:[So(y,{children:"List item"}),So(y,{children:"List item"}),So(y,{children:"List item"})]})});return Object.keys(t||{}).forEach(s=>{switch(s){case"prefix":a.prefix=t?.[s]?So(N,{icon:"search"}):void 0;break;case"suffix":a.suffix=t?.[s]?So(vt,{size:o.size,fillMode:"clear",children:"Search"}):void 0;break;case"opened":a.opened=!!t?.[s],a.popup=t?.[s]?i:void 0;break;default:break}}),So(Bd,{value:"Value",style:{width:300},...o,...a})};ma.options=Gx;ma.states=Fx;ma.variants=Vx;ma.defaultOptions=Ux;ma.modifiers=$x;ma.className=ht.className;import{jsx as dt}from"react/jsx-runtime";var Rd="k-imageeditor-toolbar",Wx=[],Jx={},qx={},ca=e=>{let{toolbarItems:t,adaptive:o,disabled:a,...i}=e;return dt(q,{...i,className:r(e.className,Rd),fillMode:"flat",children:t??[dt(p,{fillMode:"flat",icon:"image-add","aria-label":"Image Add"},"image-add"),dt(Me,{},"separator-1"),dt(p,{fillMode:"flat",disabled:!0,icon:"undo","aria-label":"Undo"},"undo"),dt(p,{fillMode:"flat",disabled:!0,icon:"redo","aria-label":"Redo"},"redo"),dt(Me,{},"separator-2"),dt(p,{fillMode:"flat",disabled:a,icon:"download","aria-label":"Download"},"download"),dt("div",{className:"k-spacer"},"spacer"),dt(p,{fillMode:"flat",disabled:a,icon:"zoom-in","aria-label":"Zoom In"},"zoom-in"),...o?[]:[dt(eo,{children:dt(ht,{fillMode:"flat",disabled:a,value:"Fit",showClearButton:!1,"aria-label":"Zoom options"})},"zoom-options")],dt(p,{fillMode:"flat",disabled:a,icon:"zoom-out","aria-label":"Zoom Out"},"zoom-out")]})};ca.states=Wx;ca.options=Jx;ca.className=Rd;ca.defaultOptions=qx;import{Fragment as Zx,jsx as Be,jsxs as Qx}from"react/jsx-runtime";var Rn="k-imageeditor-sidebar",Yx={scrollable:!1},Pd=e=>{let{sidebarItems:t,activeTool:o,disabled:a,adaptive:i,scrollable:s=Yx.scrollable,scrollingPosition:l,...m}=e,c=i?"k-separator k-separator-vertical":"k-separator";return Be("div",{...m,className:r(e.className,Rn,{[`${Rn}-scrollable`]:s,[`${Rn}-scrollable-${l}`]:l&&l!=="both"}),children:Be("div",{className:"k-imageeditor-sidebar-items",role:"toolbar","aria-label":"Tools",children:t??Qx(Zx,{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 ii="loader",Xi=ii;import{Fragment as Pn,jsx as wd,jsxs as Wi}from"react/jsx-runtime";var wn="k-loader",jx={pulsing:"pulsing-2","infinite-spinner":"spinner-3","converging-spinner":"spinner-4"},eh=[],th={size:[d.undefined,d.small,d.medium,d.large],themeColor:[L.undefined,L.base,L.primary,L.secondary,L.tertiary]},Kd={animation:"pulsing"},le=e=>{let{size:t,themeColor:o,animation:a=Kd.animation,...i}=e,s=wd("span",{className:"k-loader-segment"});return wd("div",{...i,className:r(e.className,wn,{[`k-loader-${jx[a]||a}`]:a},C(wn,{size:t,themeColor:o})),role:"status","aria-label":i["aria-label"]||"Loading",children:Wi("div",{className:"k-loader-canvas",children:[a==="pulsing"&&Wi(Pn,{children:[s,s]}),a==="infinite-spinner"&&Wi(Pn,{children:[s,s,s]}),a==="converging-spinner"&&Wi(Pn,{children:[s,s,s,s]})]})})};le.states=eh;le.options=th;le.className=wn;le.defaultOptions=Kd;le.moduleName=ii;le.folderName=Xi;var Dd=le;import{jsx as Kn,jsxs as _d}from"react/jsx-runtime";var Dn="k-loader-container",oh=[],ah={size:[d.undefined,d.small,d.medium,d.large],themeColor:[L.undefined,L.base,L.primary,L.secondary,L.tertiary]},Ji={loaderType:"pulsing",position:"top",panel:!1},ko=e=>{let{size:t,themeColor:o,loaderType:a=Ji.loaderType,position:i=Ji.position,panel:s=Ji.panel,...l}=e;return _d("div",{...l,className:r(e.className,Dn,C(Dn,{size:t}),{[`k-loader-${i}`]:i}),role:"status","aria-live":"polite","aria-label":l["aria-label"]||"Loading",children:[Kn(il,{className:"k-loader-container-overlay"}),_d("div",{className:r("k-loader-container-inner",{"k-loader-container-panel":s}),children:[Kn(Dd,{size:t,themeColor:o,animation:a}),Kn("div",{className:"k-loader-container-label",children:"Loading..."})]})]})};ko.states=oh;ko.options=ah;ko.className=Dn;ko.defaultOptions=Ji;ko.moduleName=ii;ko.folderName=Xi;import{jsx as E3}from"react/jsx-runtime";import{jsx as A3}from"react/jsx-runtime";import{jsx as R3}from"react/jsx-runtime";import{jsx as D3}from"react/jsx-runtime";import{jsx as _n}from"react/jsx-runtime";var ih=le.options,rh=le.states,nh={...le.defaultOptions,variant:"infinite-spinner"},sh=[{name:"infinite-spinner",title:"Infinite"},{name:"pulsing",title:"Pulsing"},{name:"converging-spinner",title:"Converging"}],lh=[],ua=e=>{let{variant:t,...o}=e;switch(t){case"pulsing":return _n(le,{animation:"pulsing",...o});case"converging-spinner":return _n(le,{animation:"converging-spinner",...o});default:return _n(le,{animation:"infinite-spinner",...o})}};ua.options=ih;ua.states=rh;ua.variants=sh;ua.defaultOptions=nh;ua.modifiers=lh;ua.className=le.className;var zd="image-editor",Hd="imageeditor",ri={width:494,height:307},ni={width:326,height:203};import{Fragment as Fd,jsx as Tt,jsxs as si}from"react/jsx-runtime";var zn="k-imageeditor",dh=[],ph={},mh={},de=e=>{let{toolbarItems:t,actionPane:o,sidebarItems:a,activeTool:i,placeholder:s,contentHeight:l,exporting:m,adaptive:c,sidebarScrollable:h,sidebarScrollingPosition:b,children:g,...u}=e,v=!!s,I=Tt("div",{className:"k-imageeditor-canvas-container",children:s??Tt("div",{className:"k-imageeditor-canvas",children:g})}),S=o&&Tt("div",{className:"k-imageeditor-action-pane",children:o}),k=Tt(Pd,{sidebarItems:a,activeTool:i,disabled:v,adaptive:c,scrollable:h,scrollingPosition:b});return si("div",{role:"application","aria-label":"Image Editor",...u,className:r(e.className,zn,{[`${zn}-adaptive`]:c}),children:[Tt("div",{className:"k-imageeditor-header",children:Tt(ca,{toolbarItems:t,adaptive:c,disabled:v})}),Tt("div",{className:"k-imageeditor-content",style:{height:l},children:c?si(Fd,{children:[I,S,k]}):si(Fd,{children:[k,S,I]})}),m&&si("div",{className:"k-loader-container k-loader-top",role:"status","aria-live":"polite","aria-label":"Exporting",children:[Tt(bt,{className:"k-loader-container-overlay"}),si("div",{className:"k-loader-container-inner k-loader-container-panel",children:[Tt(le,{animation:"pulsing",themeColor:"base",size:"medium","aria-label":"Exporting"}),Tt("div",{className:"k-loader-container-label",children:"Exporting"})]})]})]})};de.states=dh;de.options=ph;de.className=zn;de.defaultOptions=mh;de.moduleName=zd;de.folderName=Hd;import{Fragment as qi,jsx as oo,jsxs as li}from"react/jsx-runtime";var Hn="k-upload-dropzone",ch=[n.hover],Yi=e=>{let{hover:t,status:o,disabled:a,hasFiles:i,filesId:s,buttonText:l="Select files...",...m}=e,c;switch(o){case"uploading":c=li(qi,{children:[oo(N,{icon:"upload"}),"Uploading..."]});break;case"done":c=li(qi,{children:[oo(N,{icon:"check"}),"Done"]});break;case"failed":c=li(qi,{children:[oo(N,{icon:"exclamation-circle"}),"Done"]});break;default:c=oo(qi,{});break}return li("div",{...m,className:r(e.className,Hn,"k-dropzone",M(Hn,{hover:t})),children:[li("div",{className:"k-upload-button-wrap",children:[oo(p,{className:"k-upload-button","aria-disabled":a?"true":"false",...i&&s?{"aria-controls":s}:{},children:l}),oo("input",{id:"upload-input",className:"k-hidden",tabIndex:-1,"aria-hidden":"true"})]}),oo("span",{className:r("k-dropzone-hint",{"k-hidden":o!=="upload"}),children:"Drop files here to upload"}),o!=="upload"&&oo("span",{className:"k-upload-status",children:c})]})};Yi.states=ch;Yi.className=Hn;var Fn="upload",Ud=Fn;import{jsx as Zi,jsxs as $d}from"react/jsx-runtime";var Un="k-upload",uh=[n.hover,n.disabled],fh={},Vd={actionsLayout:"end"},Gd="upload-files-list",Ne=e=>{let{async:t,empty:o,actions:a,actionsLayout:i=Vd.actionsLayout,hover:s,status:l,disabled:m,buttonText:c,...h}=e,b=!!e.children;return $d("div",{...h,className:r(e.className,Un,M(Un,{disabled:m}),{"k-upload-async":t,"k-upload-empty":o}),children:[Zi(Yi,{status:l,hover:s,disabled:m,hasFiles:b,filesId:Gd,buttonText:c}),b&&Zi("ul",{className:"k-upload-files",role:"list",id:Gd,children:e.children}),a&&b&&$d(Ws,{alignment:i,orientation:"horizontal",children:[Zi(p,{className:"k-clear-selected",children:"Clear"}),Zi(p,{themeColor:"primary",className:"k-upload-selected",children:"Upload"})]})]})};Ne.states=uh;Ne.options=fh;Ne.className=Un;Ne.defaultOptions=Vd;Ne.moduleName=Fn;Ne.folderName=Ud;var di="progressbar",Qi=di;import{jsx as $n,jsxs as Gn}from"react/jsx-runtime";var pt="k-progressbar",bh=[n.disabled,n.indeterminate],xh={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:h,style:b,ariaLabel:g,...u}=e;return Gn("div",{...u,className:r(e.className,pt,M(pt,{disabled:t}),{[`${pt}-${l}`]:l,[`${pt}-indeterminate`]:a,[`${pt}-reverse`]:m}),style:{...b,"--kendo-progressbar-value":c,[l==="horizontal"?"height":"width"]:l==="horizontal"?o:h},role:"progressbar","aria-label":g||"progress","aria-valuenow":a?void 0:Number(c),"aria-valuemin":0,"aria-valuemax":100,children:[$n("span",{className:r("k-progress-status-wrap",{[`k-progress-${s}`]:s&&!a}),children:i&&Gn("span",{className:"k-progress-status",children:[c,"%"]})}),!a&&$n("div",{className:"k-progressbar-value k-selected",children:$n("span",{className:r("k-progress-status-wrap",{[`k-progress-${s}`]:s}),children:i&&Gn("span",{className:"k-progress-status",children:[e.value,"%"]})})})]})};Re.states=bh;Re.options=xh;Re.className=pt;Re.defaultOptions=Eo;Re.moduleName=di;Re.folderName=Qi;var Xd=Re;import{jsx as Vn}from"react/jsx-runtime";var Wd="k-chunk-progressbar",hh=(e,t)=>t<=e-1,Nh=[n.disabled,n.indeterminate],gh={},ji={chunkCount:5,orientation:"horizontal",progress:0},fa=e=>{let{disabled:t,chunkCount:o=ji.chunkCount,indeterminate:a,orientation:i=ji.orientation,progress:s=ji.progress,reverse:l,ariaLabel:m,...c}=e;return Vn("div",{...c,className:r(e.className,pt,Wd,M(pt,{disabled:t}),{[`${pt}-${i}`]:i,[`${pt}-indeterminate`]:a,[`${pt}-reverse`]:l}),role:"progressbar","aria-label":m||"progress","aria-valuenow":a?void 0:s,"aria-valuemin":0,"aria-valuemax":o,children:Vn("ul",{className:"k-progressbar-chunks k-reset",children:[...Array(o)].map((h,b)=>Vn("li",{className:r("k-progressbar-chunk",{"k-first":b===0,"k-last":b===[...Array(o)].length-1,"k-selected":hh(s,b)})},b))})})};fa.states=Nh;fa.options=gh;fa.className=Wd;fa.defaultOptions=ji;fa.moduleName=di;fa.folderName=Qi;import{jsx as vh}from"react/jsx-runtime";var pi=e=>vh(Xd,{...e});import{jsx as K5}from"react/jsx-runtime";import{jsx as ao}from"react/jsx-runtime";var Lh=Re.options,Ih=Re.states,Jd={...Re.defaultOptions,variant:"start"},Sh=[{name:"start",title:"Label start"},{name:"center",title:"Label center"},{name:"end",title:"Label end"},{name:"empty",title:"No label"}],kh=[],ba=e=>{let{variant:t,modifiers:o,...a}={...Jd,...e},i={},s={style:{width:"324px"}};switch(Object.keys(o||{}).forEach(l=>{switch(l){case"reverse":i.reverse=!!o?.[l];break;case"vertical":i.orientation=o?.[l]?"vertical":void 0,s.style=o?.[l]?void 0:{width:"324px"};break}}),t){case"end":return ao("div",{...s,children:ao(pi,{...a,...i,labelPosition:"end",value:"50"})});case"center":return ao("div",{...s,children:ao(pi,{...a,...i,labelPosition:"center",value:"50"})});case"empty":return ao("div",{...s,children:ao(pi,{...a,...i,label:!1,value:"50"})});default:return ao("div",{...s,children:ao(pi,{...a,...i,labelPosition:"start",value:"50"})})}};ba.options=Lh;ba.states=Ih;ba.variants=Sh;ba.defaultOptions=Jd;ba.modifiers=kh;ba.className=Re.className;import{jsx as Xn,jsxs as Mh}from"react/jsx-runtime";var Eh="k-file-info",Wn=e=>{let{name:t,size:o,validationMsg:a,...i}=e;return Mh("div",{...i,className:r(e.className,Eh),children:[t&&Xn("span",{className:"k-file-name",children:t}),o&&Xn("span",{className:"k-file-size",children:o}),a&&Xn("span",{className:"k-file-validation-message","aria-live":"polite",children:a})]})};import{Fragment as yh,jsx as Ht,jsxs as er}from"react/jsx-runtime";var Ch="k-file",Fe=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,Ch,{[`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(Wn,{name:a,size:s,validationMsg:m}),Ht("div",{className:"k-upload-actions",children:t==="progress"?er(yh,{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 cG,jsx as pG,jsxs as mG}from"react/jsx-runtime";import{Fragment as Ah,jsx as Jn,jsxs as Th}from"react/jsx-runtime";var mi=e=>Jn(Ne,{async:!0,children:Th(Ah,{children:[Jn(Fe,{name:"Image_With_Very_Very_Very_Very_Very_Long_Name1.png",icon:"file-image",size:"51.23 KB"}),Jn(Fe,{name:"Image2.jpg",icon:"file-image",size:"106.43 KB"})]}),...e});import{Fragment as IG,jsx as vG,jsxs as LG}from"react/jsx-runtime";import{jsx as Oh}from"react/jsx-runtime";var qn=e=>Oh(Ne,{async:!0,empty:!0,...e});import{Fragment as TG,jsx as AG,jsxs as OG}from"react/jsx-runtime";import{Fragment as KG,jsx as wG,jsxs as DG}from"react/jsx-runtime";import{jsx as Ft,jsxs as tr}from"react/jsx-runtime";var Bh=Ne.options,Rh=Ne.states,qd={...Ne.defaultOptions,variant:"empty"},Ph=[{name:"empty",title:"Empty"},{name:"upload",title:"Upload"},{name:"uploading",title:"Uploading"},{name:"success",title:"Success"},{name:"failed",title:"Failed"}],wh=[],xa=e=>{let{variant:t,...o}={...qd,...e};switch(t){case"success":return tr(mi,{status:"done",style:{width:"586px"},...o,children:[Ft(Fe,{status:"success",validationMsg:"File(s) uploaded successfully.",name:"Image1.png",icon:"file-image"}),Ft(Fe,{status:"success",validationMsg:"File(s) uploaded successfully.",name:"Image2.png",icon:"file-image"})]});case"failed":return tr(mi,{status:"failed",style:{width:"586px"},...o,children:[Ft(Fe,{status:"error",validationMsg:"File type not allowed.",name:"Movie1.mkv",icon:"file-image"}),Ft(Fe,{status:"error",validationMsg:"File type not allowed.",name:"Video2.mkv",icon:"file-image"})]});case"uploading":return tr(mi,{status:"uploading",style:{width:"586px"},...o,children:[Ft(Fe,{progress:"50",status:"progress",name:"Document1.txt",icon:"file-pdf",size:"328.92 KB"}),Ft(Fe,{progress:"70",status:"progress",name:"Document2.txt",icon:"file-pdf",size:"225.68 KB"})]});case"upload":return tr(mi,{actions:!0,status:"upload",style:{width:"586px"},...o,children:[Ft(Fe,{name:"Image1.png",icon:"file-image",size:"51.23 KB"}),Ft(Fe,{name:"Image2.jpg",icon:"file-image",size:"106.43 KB"})]});default:return Ft(qn,{async:!0,status:"upload",style:{width:"586px"},...o})}};xa.options=Bh;xa.states=Rh;xa.variants=Ph;xa.defaultOptions=qd;xa.modifiers=wh;xa.className=Ne.className;import{Fragment as p6,jsx as l6,jsxs as d6}from"react/jsx-runtime";import{jsx as ha,jsxs as Yd}from"react/jsx-runtime";var Zd="k-imageeditor-pane",Kh=[],Dh={},_h={},fe=e=>{let{title:t,actions:o,adaptive:a,confirmDisabled:i,children:s,...l}=e;return Yd("div",{...l,className:r(e.className,Zd),children:[Yd("div",{className:"k-imageeditor-pane-header",children:[a&&ha(p,{fillMode:"flat",icon:"x","aria-label":"Close",title:"Close"}),ha("div",{className:"k-imageeditor-pane-title",children:t}),a?ha(p,{fillMode:"flat",icon:"check",disabled:i,"aria-label":"Confirm",title:"Confirm"}):ha(p,{fillMode:"flat",icon:"x","aria-label":"Close",title:"Close"})]}),ha("div",{className:"k-imageeditor-pane-content",children:s}),!a&&o&&ha($e,{alignment:"end",className:"k-imageeditor-pane-footer",children:o})]})};fe.states=Kh;fe.options=Dh;fe.className=Zd;fe.moduleName=null;fe.folderName=null;fe.defaultOptions=_h;import{jsx as Uh}from"react/jsx-runtime";var Yn="k-imageeditor-option-preview",zh=[n.hover,n.focus,n.selected],Hh={},Fh={},ge=e=>{let{label:t,hover:o,focus:a,selected:i,children:s,...l}=e;return Uh("div",{...l,className:r(e.className,Yn,M(Yn,{hover:o,focus:a,selected:i})),role:"button","aria-pressed":i?"true":"false",children:s??t})};ge.states=zh;ge.options=Hh;ge.className=Yn;ge.moduleName=null;ge.folderName=null;ge.defaultOptions=Fh;import{jsx as Qd}from"react/jsx-runtime";var or="k-imageeditor-option-list",Zn={scrollable:!1,scrollingPosition:"start"},Mo=e=>{let{scrollable:t=Zn.scrollable,scrollingPosition:o=Zn.scrollingPosition,children:a,...i}=e;return Qd("div",{...i,className:r(e.className,or,{[`${or}-scrollable`]:t,[`${or}-scrollable-${o}`]:o&&o!=="both"}),children:Qd("div",{className:"k-imageeditor-option-list-items",children:a})})};Mo.className=or;Mo.moduleName=null;Mo.folderName=null;Mo.defaultOptions=Zn;import{Fragment as $h,jsx as jd,jsxs as Vh}from"react/jsx-runtime";var Gh={},ci=e=>{let{label:t,style:o,children:a,imageSrc:i}=e;return Vh($h,{children:[jd("span",{"aria-hidden":"true",style:{position:"relative",display:"block",width:"100%",height:"40px",borderRadius:"2px",backgroundImage:i?`url('${i}')`:void 0,backgroundSize:"cover",boxSizing:"border-box",...o},children:a}),t&&jd("span",{className:"k-imageeditor-preview-thumbnail-label",children:t})]})};ci.moduleName=null;ci.folderName=null;ci.defaultOptions=Gh;import{jsx as Xh}from"react/jsx-runtime";var Pe=e=>{let{imageSrc:t,adaptive:o,style:a,...i}=e;return Xh("canvas",{role:"img","aria-label":"Image being edited",...o?ni:ri,...i,style:{...t&&{backgroundImage:`url('${t}')`},backgroundSize:"cover",...a}})};Pe.moduleName=null;Pe.folderName=null;import{Fragment as ep,jsx as Ut,jsxs as tp}from"react/jsx-runtime";var op={variant:"crop"},Co=e=>{let{variant:t=op.variant,grid:o,corners:a=!0}=e,i=t==="crop"?"k-resize-handle":"k-scale-handle",s=t==="scale"?"k-scale-handle":"k-resize-handle";return tp(ep,{children:[o&&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:`${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`})]})};Co.moduleName=null;Co.folderName=null;Co.defaultOptions=op;import{jsx as ap}from"react/jsx-runtime";var Wh="k-rotate-handle",Qn=e=>ap("span",{...e,className:r(e.className,Wh),children:ap(N,{icon:"rotate"})});Qn.moduleName=null;Qn.folderName=null;import{jsx as _6}from"react/jsx-runtime";var ip="form",rp="forms";import{Fragment as np,jsx as ar,jsxs as Yh}from"react/jsx-runtime";var ir="k-form",Jh=[],qh={size:[d.undefined,d.small,d.medium,d.large]},jn={layout:"basic",tag:"form"},G=e=>{let{size:t,orientation:o,layout:a=jn.layout,formButtons:i,cols:s,gutters:l,tag:m=jn.tag,children:c,style:h}=e,b=m,g=r(e.className,ir,C(ir,{size:t}),{[`${ir}-${o}`]:o}),u=Yh(np,{children:[a==="grid"?ar("div",{className:r("k-form-layout","k-d-grid",{[`k-grid-cols-${s}`]:s}),style:{...typeof l=="string"&&{gap:l},...typeof l=="object"&&l.rows&&{rowGap:l.rows},...typeof l=="object"&&l.cols&&{columnGap:l.cols},...h},children:c}):ar(np,{children:c}),i&&ar("div",{className:"k-form-buttons",children:i})]}),{role:v,"aria-labelledby":I,"aria-label":S,id:k}=e;return ar(b,{className:g,role:v,"aria-labelledby":I,"aria-label":S,id:k,children:u})};G.states=Jh;G.options=qh;G.className=ir;G.defaultOptions=jn;G.moduleName=ip;G.folderName=rp;var sp="label",lp="label";import{jsx as dp,jsxs as eN}from"react/jsx-runtime";var es="k-label",Zh=[n.disabled],Qh={},jh={},io=e=>{let{disabled:t,optional:o,info:a,text:i,children:s,...l}=e;return eN("label",{...l,className:r(e.className,es,M(es,{disabled:t})),children:[i||s,o&&dp("span",{className:"k-label-optional",children:"(Optional)"}),a&&dp("span",{className:"k-field-info",children:a})]})};io.states=Zh;io.options=Qh;io.className=es;io.defaultOptions=jh;io.moduleName=sp;io.folderName=lp;import{jsx as iN}from"react/jsx-runtime";var pp="k-form-hint",tN=[],oN={},aN={},mt=e=>{let{text:t,children:o,...a}=e;return iN("div",{...a,className:r(e.className,pp),children:t||o})};mt.states=tN;mt.options=oN;mt.className=pp;mt.defaultOptions=aN;import{jsx as lN}from"react/jsx-runtime";var mp="k-form-error",rN=[],nN={},sN={},ct=e=>{let{text:t,children:o,...a}=e;return lN("div",{...a,className:r(e.className,mp),children:t||o})};ct.states=rN;ct.options=nN;ct.className=mp;ct.defaultOptions=sN;import{jsx as rr,jsxs as cp}from"react/jsx-runtime";var ts="k-form-field",dN=[n.disabled],X=e=>{let{editorId:t,label:o,orientation:a,optional:i,editor:s,hint:l,error:m,info:c,disabled:h,dir:b,colSpan:g,...u}=e;return cp("div",{...u,className:r(ts,e.className,M(ts,{disabled:h}),{[`k-col-span-${g}`]:g}),dir:b,children:[o&&rr(io,{className:"k-form-label",id:t?`${t}-label`:void 0,htmlFor:t||void 0,optional:i,info:c?"(field info)":void 0,children:o}),a==="horizontal"&&!o&&rr("span",{className:"k-label k-form-label k-label-empty"}),cp("div",{className:"k-form-field-wrap",children:[s,l&&rr(mt,{id:t?`${t}-hint`:void 0,children:l}),m&&rr(ct,{id:t?`${t}-error`:void 0,children:m})]})]})};X.states=dN;X.className=ts;import{Fragment as pN,jsx as os,jsxs as mN}from"react/jsx-runtime";var up="k-form-fieldset",we=e=>{let{legend:t,layout:o,cols:a,gutters:i,colSpan:s}=e;return mN("fieldset",{className:r(up,{[`k-col-span-${s}`]:s}),children:[t&&os("legend",{className:"k-form-legend",children:t}),o==="grid"?os("div",{className:r("k-form-layout","k-d-grid",{[`k-grid-cols-${a}`]:a}),style:{...typeof i=="string"&&{gap:i},...typeof i=="object"&&i.rows&&{rowGap:i.rows},...typeof i=="object"&&i.cols&&{columnGap:i.cols}},children:e.children}):os(pN,{children:e.children})]})};we.className=up;var yo="radio",Na=yo;import{jsx as fp}from"react/jsx-runtime";var nr="k-radio",cN=[n.hover,n.focus,n.valid,n.invalid,n.required,n.disabled,n.checked],uN={size:[d.undefined,d.small,d.medium,d.large]},fN={},qe=e=>{let{id:t,checked:o,hover:a,focus:i,disabled:s,invalid:l,valid:m,required:c,size:h,...b}=e;return fp("span",{className:"k-radio-wrap",children:fp("input",{...b,id:t,type:"radio",checked:o,required:c,disabled:s||void 0,"aria-invalid":l?"true":void 0,className:r(e.className,nr,C(nr,{size:h}),M(nr,{hover:a,focus:i,disabled:s,invalid:l,valid:m,checked:o}))})})};qe.states=cN;qe.options=uN;qe.className=nr;qe.defaultOptions=fN;qe.moduleName=yo;qe.folderName=Na;var ut=qe;import{jsx as hN}from"react/jsx-runtime";var bp="k-radio-list",bN=[],xN={},xp={layout:"vertical"},oe=e=>{let{layout:t=xp.layout,...o}=e;return hN("ul",{...o,className:r(e.className,bp,{[`k-list-${t}`]:t}),role:"radiogroup",children:e.children})};oe.states=bN;oe.options=xN;oe.className=bp;oe.defaultOptions=xp;oe.moduleName=yo;oe.folderName=Na;import{jsx as LN}from"react/jsx-runtime";var hp="k-radio-list-item",NN=[],gN={},vN={},j=e=>{let{...t}=e;return LN("li",{...t,className:r(e.className,hp),role:"none",children:e.children})};j.states=NN;j.options=gN;j.className=hp;j.defaultOptions=vN;j.moduleName=yo;j.folderName=Na;import{jsx as M9}from"react/jsx-runtime";import{Fragment as IN,jsx as Np,jsxs as SN}from"react/jsx-runtime";var Ke=({children:e,id:t,...o})=>SN(IN,{children:[Np(ut,{...o,id:t}),Np("label",{className:"k-radio-label",htmlFor:t,children:e})]});import{Fragment as P9,jsx as R9,jsxs as w9}from"react/jsx-runtime";import{Fragment as F9,jsx as z9,jsxs as H9}from"react/jsx-runtime";import{Fragment as X9,jsx as V9,jsxs as W9}from"react/jsx-runtime";import{Fragment as Q9,jsx as Z9,jsxs as j9}from"react/jsx-runtime";import{Fragment as n7,jsx as r7,jsxs as s7}from"react/jsx-runtime";import{jsx as m7}from"react/jsx-runtime";import{jsx as TN}from"react/jsx-runtime";var EN=ut.options,MN=ut.states,CN=ut.defaultOptions,yN=[],AN=[],ga=e=>TN(Ke,{id:A("radio"),name:"value",...e,children:"Label"});ga.options=EN;ga.states=MN;ga.variants=yN;ga.defaultOptions=CN;ga.modifiers=AN;ga.className=ut.className;import{jsx as ft,jsxs as gp}from"react/jsx-runtime";var ON=oe.options,BN=oe.states,RN={...oe.defaultOptions,variant:"vertical"},PN=[{name:"vertical",title:"Vertical"},{name:"horizontal",title:"Horizontal"}],wN=[],va=e=>{let{variant:t,...o}=e;return t==="horizontal"?gp(oe,{layout:"horizontal",...o,children:[ft(j,{children:ft(Ke,{id:A("rb"),name:"value",defaultChecked:!0,children:"Label"})}),ft(j,{children:ft(Ke,{id:A("rb"),name:"value",children:"Label"})}),ft(j,{children:ft(Ke,{id:A("rb"),name:"value",children:"Label"})})]}):gp(oe,{...o,children:[ft(j,{children:ft(Ke,{id:A("rb"),name:"value",defaultChecked:!0,children:"Label"})}),ft(j,{children:ft(Ke,{id:A("rb"),name:"value",children:"Label"})}),ft(j,{children:ft(Ke,{id:A("rb"),name:"value",children:"Label"})})]})};va.options=ON;va.states=BN;va.variants=PN;va.defaultOptions=RN;va.modifiers=wN;va.className=oe.className;import{Fragment as W7,jsx as X7,jsxs as J7}from"react/jsx-runtime";import{Fragment as a4,jsx as o4,jsxs as i4}from"react/jsx-runtime";import{Fragment as m4,jsx as p4,jsxs as c4}from"react/jsx-runtime";var vp="date-input",Lp="dateinput";import{jsx as ui,jsxs as zN}from"react/jsx-runtime";var Ip="k-dateinput",KN=[n.hover,n.focus,n.valid,n.invalid,n.required,n.disabled,n.loading,n.readonly],DN={size:[d.undefined,d.small,d.medium,d.large],rounded:[f.undefined,f.none,f.small,f.medium,f.large,f.full],fillMode:[x.undefined,x.solid,x.flat,x.outline]},_N={},Ye=e=>{let{size:t,rounded:o,fillMode:a,value:i,placeholder:s,hover:l,focus:m,valid:c,invalid:h,required:b,loading:g,disabled:u,readonly:v,showClearButton:I,showSpinButton:S,id:k,"aria-label":E,"aria-describedby":T,...K}=e;return zN($,{...K,size:t,rounded:o,fillMode:a,hover:l,focus:m,valid:c,invalid:h,required:b,loading:g,disabled:u,readonly:v,className:r(e.className,Ip),children:[ui(ce,{id:k,placeholder:s,value:i,disabled:u,"aria-label":E,"aria-describedby":T,"aria-invalid":h?"true":void 0}),ui(ee,{valid:c,invalid:h,loading:g,disabled:u}),ui(re,{loading:g,disabled:u}),I&&ui(me,{loading:g,disabled:u,readonly:v,value:i}),S&&ui(Et,{className:"k-input-spinner",size:t,fillMode:a,disabled:u})]})};Ye.states=KN;Ye.options=DN;Ye.className=Ip;Ye.defaultOptions=_N;Ye.moduleName=vp;Ye.folderName=Lp;var as=Ye;import{jsx as HN}from"react/jsx-runtime";var Sp=e=>HN(as,{...e});import{jsx as M4}from"react/jsx-runtime";import{jsx as XN}from"react/jsx-runtime";var FN=Ye.options,UN=Ye.states,GN=Ye.defaultOptions,$N=[{name:"spin-button",title:"`Spin` Button"}],VN=[],La=e=>{let{modifiers:t,...o}=e,a={};return Object.keys(t||{}).forEach(i=>{i==="spin-button"&&(a.showSpinButton=!!t?.[i])}),XN(Sp,{value:"2/04/2021",style:{width:"300px"},...o,...a})};La.options=FN;La.states=UN;La.variants=VN;La.defaultOptions=GN;La.modifiers=$N;La.className=Ye.className;var kp="masked-textbox",Ep="maskedtextbox";import{Fragment as Mp,jsx as ro,jsxs as is}from"react/jsx-runtime";var Cp="k-maskedtextbox",WN=[n.hover,n.focus,n.valid,n.invalid,n.required,n.disabled,n.loading,n.readonly],JN={size:[d.undefined,d.small,d.medium,d.large],rounded:[f.undefined,f.none,f.small,f.medium,f.large,f.full],fillMode:[x.undefined,x.solid,x.flat,x.outline]},rs={showClearButton:!0,separators:!0},Ze=e=>{let{size:t,rounded:o,fillMode:a,separators:i=rs.separators,showClearButton:s=rs.showClearButton,prefix:l,suffix:m,value:c,placeholder:h,hover:b,focus:g,valid:u,invalid:v,required:I,loading:S,disabled:k,readonly:E,id:T,"aria-label":K,"aria-describedby":Y,...ae}=e;return is($,{...ae,size:t,rounded:o,fillMode:a,hover:b,focus:g,valid:u,invalid:v,required:I,loading:S,disabled:k,readonly:E,className:r(e.className,Cp),children:[l&&is(Mp,{children:[ro(be,{children:l}),i&&ro(te,{})]}),ro(ce,{id:T,placeholder:h,value:c,disabled:k,"aria-label":K,"aria-describedby":Y,"aria-invalid":v?"true":void 0}),ro(ee,{valid:u,invalid:v,loading:S,disabled:k}),ro(re,{loading:S,disabled:k}),s&&ro(me,{loading:S,disabled:k,readonly:E,value:c}),m&&is(Mp,{children:[i&&ro(te,{}),ro(xe,{children:m})]})]})};Ze.states=WN;Ze.options=JN;Ze.className=Cp;Ze.defaultOptions=rs;Ze.moduleName=kp;Ze.folderName=Ep;var Ia=Ze;import{jsx as qN}from"react/jsx-runtime";var yp=e=>qN(Ia,{...e});import{Fragment as Z4,jsx as Y4}from"react/jsx-runtime";import{Fragment as a8,jsx as o8}from"react/jsx-runtime";import{jsx as s8}from"react/jsx-runtime";import{jsx as m8}from"react/jsx-runtime";import{jsx as ns}from"react/jsx-runtime";var YN=Ze.states,ZN=Ze.defaultOptions,QN=Ze.options,jN=[{name:"prefix",title:"Prefix"},{name:"suffix",title:"Suffix"},{name:"clear-button",title:"`Clear` Button"}],eg=[],Sa=e=>{let{modifiers:t,...o}=e,a={};return Object.keys(t||{}).forEach(i=>{switch(i){case"prefix":a.prefix=t?.[i]?ns(V,{size:o.size,value:"Choose",fillMode:"flat"}):void 0;break;case"suffix":a.suffix=t?.[i]?ns(N,{icon:"lock"}):void 0;break;case"clear-button":a.showClearButton=t?.[i];break;default:break}}),ns(yp,{value:"Value",style:{width:300},...o,...a})};Sa.options=QN;Sa.states=YN;Sa.variants=eg;Sa.defaultOptions=ZN;Sa.modifiers=jN;Sa.className=Ze.className;var ss="switch",Ap=ss;import{jsx as sr,jsxs as Tp}from"react/jsx-runtime";var no="k-switch",tg=[n.hover,n.focus,n.disabled,n.readonly,n.checked],og={size:[d.undefined,d.small,d.medium,d.large],trackRounded:[f.undefined,f.none,f.small,f.medium,f.large,f.full],thumbRounded:[f.undefined,f.none,f.small,f.medium,f.large,f.full]},ag={},Ue=e=>{let{checked:t,onLabel:o,offLabel:a,size:i,trackRounded:s,thumbRounded:l,hover:m,focus:c,disabled:h,readonly:b,...g}=e;return Tp("span",{...g,className:r(e.className,no,C(no,{size:i}),M(no,{hover:m,focus:c,disabled:h,readonly:b}),{[`${no}-on`]:t,[`${no}-off`]:!t}),role:"switch","aria-checked":t?"true":"false",tabIndex:h?void 0:0,"aria-disabled":h?"true":void 0,"aria-readonly":b?"true":void 0,children:[Tp("span",{className:r("k-switch-track",C(no,{rounded:s})),children:[o&&sr("span",{className:"k-switch-label-on",children:o}),a&&sr("span",{className:"k-switch-label-off",children:a})]}),sr("span",{className:"k-switch-thumb-wrap",children:sr("span",{className:r("k-switch-thumb",C(no,{rounded:l}))})})]})};Ue.states=tg;Ue.options=og;Ue.className=no;Ue.defaultOptions=ag;Ue.moduleName=ss;Ue.folderName=Ap;import{jsx as w8}from"react/jsx-runtime";import{jsx as z8}from"react/jsx-runtime";import{jsx as G8}from"react/jsx-runtime";import{jsx as W8}from"react/jsx-runtime";import{jsx as Op}from"react/jsx-runtime";var ig=Ue.options,rg=Ue.states,ng={...Ue.defaultOptions,variant:"on"},sg=[{name:"on",title:"On"},{name:"off",title:"Off"}],lg=[],ka=e=>{let{variant:t,...o}=e;return t==="off"?Op(Ue,{checked:!1,onLabel:"On",offLabel:"Off",...o}):Op(Ue,{checked:!0,onLabel:"On",offLabel:"Off",...o})};ka.options=ig;ka.states=rg;ka.variants=sg;ka.defaultOptions=ng;ka.modifiers=lg;ka.className=Ue.className;var ds="textarea",Bp=ds;import{Fragment as Rp,jsx as fi,jsxs as ps}from"react/jsx-runtime";var Pp="k-textarea",dg=[n.hover,n.focus,n.valid,n.invalid,n.required,n.disabled],pg={size:[d.undefined,d.small,d.medium,d.large],rounded:[f.undefined,f.none,f.small,f.medium,f.large,f.full],fillMode:[x.undefined,x.solid,x.flat,x.outline]},Ea={flow:"vertical",affixesOrientation:"horizontal",resize:"both",prefixSeparator:!0,suffixSeparator:!0},Ge=e=>{let{size:t,rounded:o,fillMode:a,prefixSeparator:i=Ea.prefixSeparator,suffixSeparator:s=Ea.prefixSeparator,affixesOrientation:l=Ea.affixesOrientation,flow:m=Ea.flow,resize:c=Ea.resize,prefix:h,suffix:b,rows:g,value:u,placeholder:v,hover:I,focus:S,valid:k,invalid:E,required:T,disabled:K,id:Y,"aria-label":ae,"aria-describedby":ie,...pe}=e;return ps($,{...pe,size:t,rounded:o,fillMode:a,hover:I,focus:S,valid:k,invalid:E,required:T,disabled:K,className:r(e.className,Pp,{"!k-flex-col":m==="vertical","!k-flex-row":m==="horizontal"}),children:[h&&ps(Rp,{children:[fi(be,{className:r({"!k-align-items-start":m===l}),direction:l,children:h}),i&&fi(te,{direction:m==="horizontal"?"vertical":"horizontal"})]}),fi(Fa,{className:r("!k-overflow-auto",{"!k-flex-none":m==="vertical","k-resize-x":c==="x","k-resize-y":c==="y","k-resize":c==="both","k-resize-none":c==="none"}),value:u,placeholder:v,rows:g,disabled:K,id:Y,"aria-label":ae,"aria-describedby":ie,"aria-invalid":E?"true":void 0}),b&&ps(Rp,{children:[s&&fi(te,{direction:m==="horizontal"?"vertical":"horizontal"}),fi(xe,{className:r({"!k-align-items-start":m===l}),direction:l,children:b})]})]})};Ge.states=dg;Ge.options=pg;Ge.className=Pp;Ge.defaultOptions=Ea;Ge.moduleName=ds;Ge.folderName=Bp;import{jsx as f$}from"react/jsx-runtime";import{Fragment as v$,jsx as g$}from"react/jsx-runtime";import{Fragment as M$,jsx as E$}from"react/jsx-runtime";import{jsx as T$}from"react/jsx-runtime";import{jsx as lr}from"react/jsx-runtime";var mg=Ge.options,cg=Ge.states,wp={...Ge.defaultOptions,variant:"vertical"},ug=[{name:"vertical",title:"Flow vertical"},{name:"horizontal",title:"Flow horizontal"}],fg=[{name:"prefix",title:"Prefix"},{name:"suffix",title:"Suffix"}],Ma=e=>{let{variant:t,modifiers:o,...a}={...wp,...e},i={resize:"y"};return Object.keys(o||{}).forEach(s=>{switch(s){case"prefix":i.prefix=o?.[s]?lr(N,{icon:"comment"}):void 0;break;case"suffix":i.suffix=o?.[s]?lr(N,{icon:"volume-up"}):void 0;break;default:break}}),t==="horizontal"?lr(Ge,{flow:"horizontal",placeholder:"Enter text...",style:{width:300},...a,...i}):lr(Ge,{flow:"vertical",placeholder:"Enter text...",style:{width:300},...a,...i})};Ma.options=mg;Ma.states=cg;Ma.variants=ug;Ma.defaultOptions=wp;Ma.modifiers=fg;Ma.className=Ge.className;import{Fragment as eV,jsx as j$,jsxs as tV}from"react/jsx-runtime";import{Fragment as vg,jsx as De,jsxs as Ca}from"react/jsx-runtime";var bg=G.options,xg=G.states,hg={...G.defaultOptions,variant:"vertical"},Ng=[{name:"horizontal",title:"Horizontal"},{name:"vertical",title:"Vertical"}],gg=[],ya=e=>{let{variant:t,size:o,...a}=e,i=Ca(we,{legend:"Form Legend",children:[De(X,{label:"Label",editor:De(U,{size:o})}),De(X,{label:"Label",hint:"Hint text",editor:De(V,{value:"Dropdown List",size:o})}),De(X,{label:"City",editor:Ca("ul",{className:"k-radio-list k-list-horizontal",children:[Ca("li",{className:"k-radio-list-item",children:[De(qe,{checked:!0,size:o}),De("label",{className:"k-radio-label",children:"Label"})]}),Ca("li",{className:"k-radio-list-item",children:[De(qe,{size:o}),De("label",{className:"k-radio-label",children:"Label"})]}),Ca("li",{className:"k-radio-list-item",children:[De(qe,{size:o}),De("label",{className:"k-radio-label",children:"Label"})]})]})})]}),s=Ca(vg,{children:[De(p,{className:"k-form-submit",themeColor:"primary",size:o,children:"Submit"}),De(p,{className:"k-form-clear",size:o,children:"Clear"})]});return t==="horizontal"?De(G,{orientation:"horizontal",size:o,...a,formButtons:s,children:i}):De(G,{size:o,...a,formButtons:s,children:i})};ya.options=bg;ya.states=xg;ya.variants=Ng;ya.defaultOptions=hg;ya.modifiers=gg;ya.className=G.className;import{jsx as Kp,jsxs as Eg}from"react/jsx-runtime";var Lg=mt.options,Ig=mt.states,Dp={...mt.defaultOptions},Sg=[],kg=[{name:"showHint",title:"Show Hint"}],Aa=e=>{let{modifiers:t,...o}={...Dp,...e},a=t?.showHint??!0;return Eg("div",{style:{display:"flex",flexDirection:"column",gap:"4px"},children:[Kp(U,{placeholder:"Component",style:{width:"200px"}}),a&&Kp(mt,{...o,children:"Hint text"})]})};Aa.options=Lg;Aa.states=Ig;Aa.variants=Sg;Aa.defaultOptions=Dp;Aa.modifiers=kg;Aa.className=mt.className;import{jsx as _p,jsxs as Tg}from"react/jsx-runtime";var Mg=ct.options,Cg=ct.states,zp={...ct.defaultOptions},yg=[],Ag=[{name:"showError",title:"Show Error"}],Ta=e=>{let{modifiers:t,...o}={...zp,...e},a=t?.showError??!0;return Tg("div",{style:{display:"flex",flexDirection:"column",gap:"4px"},children:[_p(U,{placeholder:"Component",invalid:a,style:{width:"200px"}}),a&&_p(ct,{...o,children:"Error text"})]})};Ta.options=Mg;Ta.states=Cg;Ta.variants=yg;Ta.defaultOptions=zp;Ta.modifiers=Ag;Ta.className=ct.className;import{Fragment as VV,jsx as $V,jsxs as XV}from"react/jsx-runtime";import{Fragment as oX,jsx as tX,jsxs as aX}from"react/jsx-runtime";import{Fragment as NX,jsx as hX,jsxs as gX}from"react/jsx-runtime";var cs="segmented-control",Hp=cs,Fp="segmented-control-button",Up="segmented-control";import{jsx as Rg,jsxs as Pg}from"react/jsx-runtime";var dr="k-segmented-control",Og=[],Bg={size:[d.undefined,d.small,d.medium,d.large],rounded:[f.undefined,f.none,f.small,f.medium,f.large,f.full]},Gt=e=>{let{size:t,rounded:o,stretched:a,children:i,thumbStyles:s,...l}=e;return Pg("div",{...l,className:r(e.className,dr,C(dr,{size:t,rounded:o}),{[`${dr}-stretched`]:a}),role:"group",children:[Rg("div",{className:"k-segmented-control-thumb","aria-hidden":"true",style:s}),i]})};Gt.states=Og;Gt.options=Bg;Gt.className=dr;Gt.moduleName=cs;Gt.folderName=Hp;import{jsx as us,jsxs as _g}from"react/jsx-runtime";var fs="k-segmented-control-button",wg=[n.selected,n.hover,n.focus,n.disabled],Kg={},Dg={},Ot=e=>{let{hover:t,focus:o,selected:a,disabled:i,icon:s,endIcon:l,text:m,iconClassName:c,...h}=e;return _g("button",{...h,className:r(e.className,fs,M(fs,{hover:t,focus:o,disabled:i,selected:a})),"aria-pressed":a?"true":"false","aria-disabled":i?"true":void 0,tabIndex:a?0:-1,children:[s&&us(N,{className:r(c,"k-segmented-control-button-icon"),icon:s}),(m||e.children)&&us("span",{className:"k-segmented-control-button-text",children:m||e.children}),l&&us(N,{className:r(c,"k-segmented-control-button-icon"),icon:l})]})};Ot.states=wg;Ot.options=Kg;Ot.className=fs;Ot.defaultOptions=Dg;Ot.moduleName=Fp;Ot.folderName=Up;import{Fragment as wX,jsx as PX,jsxs as KX}from"react/jsx-runtime";import{Fragment as UX,jsx as FX,jsxs as GX}from"react/jsx-runtime";import{Fragment as qX,jsx as JX,jsxs as YX}from"react/jsx-runtime";import{Fragment as oW,jsx as tW,jsxs as aW}from"react/jsx-runtime";import{Fragment as dW,jsx as lW,jsxs as pW}from"react/jsx-runtime";import{Fragment as xW,jsx as bW,jsxs as hW}from"react/jsx-runtime";import{Fragment as UW,jsx as FW,jsxs as GW}from"react/jsx-runtime";import{Fragment as rJ,jsx as iJ,jsxs as nJ}from"react/jsx-runtime";import{Fragment as NJ,jsx as hJ,jsxs as gJ}from"react/jsx-runtime";import{Fragment as OJ,jsx as TJ,jsxs as BJ}from"react/jsx-runtime";import{Fragment as zJ,jsx as _J,jsxs as HJ}from"react/jsx-runtime";import{Fragment as qJ,jsx as JJ,jsxs as YJ}from"react/jsx-runtime";import{Fragment as dq,jsx as lq,jsxs as pq}from"react/jsx-runtime";import{Fragment as Iq,jsx as Lq,jsxs as Sq}from"react/jsx-runtime";import{jsx as yq}from"react/jsx-runtime";import{jsx as Rq}from"react/jsx-runtime";import{jsx as _q}from"react/jsx-runtime";import{jsx as Gq}from"react/jsx-runtime";import{jsx as Jq}from"react/jsx-runtime";import{jsx as jq}from"react/jsx-runtime";import{jsx as iY}from"react/jsx-runtime";import{jsx as dY}from"react/jsx-runtime";import{jsx as fY}from"react/jsx-runtime";import{jsx as gY}from"react/jsx-runtime";import{jsx as kY}from"react/jsx-runtime";import{Fragment as Gp,jsx as w,jsxs as Ao}from"react/jsx-runtime";var $p=({cropWidth:e=494,cropHeight:t=307,isPristine:o=e===494&&t===307,adaptive:a,canvas:i=a?ni:ri,imageSrc:s,...l})=>w(de,{adaptive:a,activeTool:"Crop",actionPane:w(fe,{title:"Crop",adaptive:a,confirmDisabled:o,actions:Ao(Gp,{children:[w(p,{disabled:o,children:"Reset"}),w(p,{themeColor:"primary",disabled:o,children:"Apply"})]}),children:Ao(G,{tag:"div",children:[w(X,{label:"Orientation",editor:Ao(oe,{layout:"horizontal",children:[w(j,{children:w(Ke,{id:"crop-orientation-landscape",name:"crop-orientation",checked:!0,children:"Landscape"})}),w(j,{children:w(Ke,{id:"crop-orientation-portrait",name:"crop-orientation",children:"Portrait"})})]})}),w(X,{label:"Aspect Ratio",editor:Ao(Mo,{scrollable:!0,children:[w(ge,{selected:!0,children:w("span",{className:"k-imageeditor-option-label",children:"Original"})}),w(ge,{children:w("span",{className:"k-imageeditor-option-label",children:"1:1"})}),w(ge,{children:w("span",{className:"k-imageeditor-option-label",children:"3:2"})}),w(ge,{children:w("span",{className:"k-imageeditor-option-label",children:"4:3"})}),w(ge,{children:w("span",{className:"k-imageeditor-option-label",children:"5:4"})}),w(ge,{children:w("span",{className:"k-imageeditor-option-label",children:"7:5"})}),w(ge,{children:w("span",{className:"k-imageeditor-option-label",children:"16:9"})}),w(ge,{children:w("span",{className:"k-imageeditor-option-label",children:"Custom"})})]})}),Ao(we,{layout:"grid",cols:2,gutters:{cols:"8px"},children:[w(X,{label:"Width",editorId:"crop-width",editor:w(R,{id:"crop-width",showClearButton:!1,showSpinButton:!1,value:String(e),prefix:w(N,{icon:"arrows-left-right"})})}),w(X,{label:"Height",editorId:"crop-height",editor:w(R,{id:"crop-height",showClearButton:!1,showSpinButton:!1,value:String(t),prefix:w(N,{icon:"arrows-top-bottom"})})})]}),w(X,{editor:w(ot,{id:"crop-lock",checked:!0,children:"Lock Aspect Ratio"})})]})}),children:Ao(Gp,{children:[w(Pe,{...i,imageSrc:s}),Ao("div",{className:"k-imageeditor-crop-overlay",style:{"--crop-x":"0px","--crop-y":"0px","--crop-w":`${i.width}px`,"--crop-h":`${i.height}px`},children:[w("div",{className:"k-imageeditor-crop-dim"}),w("div",{className:"k-imageeditor-crop",style:{width:`${i.width}px`,height:`${i.height}px`},children:w(Co,{variant:"crop",grid:!0})})]})]}),...l});import{jsx as zg}from"react/jsx-runtime";var vZ=e=>zg($p,{adaptive:!0,...e});export{vZ as ImageEditorCropAdaptive};
|