@progress/kendo-themes-html 14.7.1-dev.5 → 14.7.1-dev.7
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/chat/chat-message.spec.js +1 -1
- package/dist/cjs/chat/demos/chat.js +1 -1
- package/dist/cjs/chat/templates/chat-empty.js +1 -1
- package/dist/cjs/chat/templates/chat-expandable.js +1 -1
- package/dist/cjs/chat/templates/chat-failed.js +1 -1
- package/dist/cjs/chat/templates/chat-message-skeleton.js +1 -1
- package/dist/cjs/chat/templates/chat-message-toolbar.js +1 -1
- package/dist/cjs/chat/templates/chat-normal.js +1 -1
- package/dist/cjs/chat/templates/chat-pinned.js +1 -1
- package/dist/cjs/chat/templates/chat-stop-response.js +1 -1
- package/dist/cjs/chat/templates/chat-textarea-file.js +1 -1
- package/dist/cjs/chat/templates/chat-typing.js +1 -1
- package/dist/cjs/chat/templates/chat-upload.js +1 -1
- package/dist/cjs/datainsights-composer/demos/datainsights-composer.js +1 -1
- package/dist/cjs/datainsights-composer/templates/datainsights-composer-data-source-browser-popup.js +1 -1
- package/dist/cjs/datainsights-composer/templates/datainsights-composer-data-source-fields-popup.js +1 -1
- package/dist/cjs/datainsights-composer/templates/datainsights-composer-error.js +1 -1
- package/dist/cjs/datainsights-composer/templates/datainsights-composer-followup.js +1 -1
- package/dist/cjs/datainsights-composer/templates/datainsights-composer-history-popup.js +1 -1
- package/dist/cjs/datainsights-composer/templates/datainsights-composer-loading.js +1 -1
- package/dist/cjs/datainsights-composer/templates/datainsights-composer-prompt-many-data-sources.js +1 -1
- package/dist/cjs/datainsights-composer/templates/datainsights-composer-prompt.js +1 -1
- package/dist/cjs/datainsights-composer/templates/datainsights-composer-report-edit-panel-compact.js +1 -0
- package/dist/cjs/datainsights-composer/templates/datainsights-composer-report-edit-panel.js +1 -1
- package/dist/cjs/datainsights-composer/templates/datainsights-composer-report.js +1 -1
- package/dist/cjs/index.js +8 -8
- package/dist/cjs/prompt/demos/prompt.js +1 -1
- package/dist/cjs/prompt/templates/prompt-inline-input-only.js +1 -1
- package/dist/cjs/prompt/templates/prompt-inline.js +1 -1
- package/dist/cjs/prompt/templates/prompt-more-actions.js +1 -1
- package/dist/cjs/prompt/templates/prompt-normal.js +1 -1
- package/dist/cjs/prompt/templates/prompt-output.js +1 -1
- package/dist/cjs/prompt/templates/prompt-popup.js +1 -1
- package/dist/cjs/prompt/templates/prompt-settings.js +1 -1
- package/dist/cjs/prompt/templates/prompt-suggestions.js +1 -1
- package/dist/cjs/suggestion/suggestion.js +1 -1
- package/dist/cjs/suggestion/templates/suggestion-group-normal.js +1 -1
- package/dist/cjs/suggestion/templates/suggestion-group-scrollable-buttons.js +1 -1
- package/dist/cjs/suggestion/templates/suggestion-group-wrap.js +1 -1
- package/dist/cjs/timepicker/demos/timepicker.js +1 -1
- package/dist/cjs/timepicker/templates/timepicker-adaptive.js +1 -1
- package/dist/cjs/timepicker/templates/timepicker-disabled.js +1 -1
- package/dist/cjs/timepicker/templates/timepicker-invalid.js +1 -1
- package/dist/cjs/timepicker/templates/timepicker-normal.js +1 -1
- package/dist/cjs/timepicker/templates/timepicker-popup.js +1 -1
- package/dist/cjs/timepicker/timepicker.spec.js +1 -1
- package/dist/esm/chat/chat-message.spec.mjs +1 -1
- package/dist/esm/chat/demos/chat.mjs +1 -1
- package/dist/esm/chat/templates/chat-empty.mjs +1 -1
- package/dist/esm/chat/templates/chat-expandable.mjs +1 -1
- package/dist/esm/chat/templates/chat-failed.mjs +1 -1
- package/dist/esm/chat/templates/chat-message-skeleton.mjs +1 -1
- package/dist/esm/chat/templates/chat-message-toolbar.mjs +1 -1
- package/dist/esm/chat/templates/chat-normal.mjs +1 -1
- package/dist/esm/chat/templates/chat-pinned.mjs +1 -1
- package/dist/esm/chat/templates/chat-stop-response.mjs +1 -1
- package/dist/esm/chat/templates/chat-textarea-file.mjs +1 -1
- package/dist/esm/chat/templates/chat-typing.mjs +1 -1
- package/dist/esm/chat/templates/chat-upload.mjs +1 -1
- package/dist/esm/datainsights-composer/demos/datainsights-composer.mjs +1 -1
- package/dist/esm/datainsights-composer/templates/datainsights-composer-data-source-browser-popup.mjs +1 -1
- package/dist/esm/datainsights-composer/templates/datainsights-composer-data-source-fields-popup.mjs +1 -1
- package/dist/esm/datainsights-composer/templates/datainsights-composer-error.mjs +1 -1
- package/dist/esm/datainsights-composer/templates/datainsights-composer-followup.mjs +1 -1
- package/dist/esm/datainsights-composer/templates/datainsights-composer-history-popup.mjs +1 -1
- package/dist/esm/datainsights-composer/templates/datainsights-composer-loading.mjs +1 -1
- package/dist/esm/datainsights-composer/templates/datainsights-composer-prompt-many-data-sources.mjs +1 -1
- package/dist/esm/datainsights-composer/templates/datainsights-composer-prompt.mjs +1 -1
- package/dist/esm/datainsights-composer/templates/datainsights-composer-report-edit-panel-compact.mjs +1 -0
- package/dist/esm/datainsights-composer/templates/datainsights-composer-report-edit-panel.mjs +1 -1
- package/dist/esm/datainsights-composer/templates/datainsights-composer-report.mjs +1 -1
- package/dist/esm/index.mjs +8 -8
- package/dist/esm/prompt/demos/prompt.mjs +1 -1
- package/dist/esm/prompt/templates/prompt-inline-input-only.mjs +1 -1
- package/dist/esm/prompt/templates/prompt-inline.mjs +1 -1
- package/dist/esm/prompt/templates/prompt-more-actions.mjs +1 -1
- package/dist/esm/prompt/templates/prompt-normal.mjs +1 -1
- package/dist/esm/prompt/templates/prompt-output.mjs +1 -1
- package/dist/esm/prompt/templates/prompt-popup.mjs +1 -1
- package/dist/esm/prompt/templates/prompt-settings.mjs +1 -1
- package/dist/esm/prompt/templates/prompt-suggestions.mjs +1 -1
- package/dist/esm/suggestion/suggestion.mjs +1 -1
- package/dist/esm/suggestion/templates/suggestion-group-normal.mjs +1 -1
- package/dist/esm/suggestion/templates/suggestion-group-scrollable-buttons.mjs +1 -1
- package/dist/esm/suggestion/templates/suggestion-group-wrap.mjs +1 -1
- package/dist/esm/timepicker/demos/timepicker.mjs +1 -1
- package/dist/esm/timepicker/templates/timepicker-adaptive.mjs +1 -1
- package/dist/esm/timepicker/templates/timepicker-disabled.mjs +1 -1
- package/dist/esm/timepicker/templates/timepicker-invalid.mjs +1 -1
- package/dist/esm/timepicker/templates/timepicker-normal.mjs +1 -1
- package/dist/esm/timepicker/templates/timepicker-popup.mjs +1 -1
- package/dist/esm/timepicker/timepicker.spec.mjs +1 -1
- package/dist/types/datainsights-composer/index.d.ts +1 -0
- package/dist/types/datainsights-composer/templates/datainsights-composer-report-edit-panel-compact.d.ts +2 -0
- package/package.json +1 -1
- package/src/action-sheet/tests/action-sheet-date-time-selector.tsx +1 -1
- package/src/action-sheet/tests/action-sheet-time-selector.tsx +2 -2
- package/src/datainsights-composer/index.ts +1 -0
- package/src/datainsights-composer/templates/datainsights-composer-report-edit-panel-compact.tsx +65 -0
- package/src/datainsights-composer/templates/datainsights-composer-report-edit-panel.tsx +3 -3
- package/src/datainsights-composer/tests/datainsights-composer-edit-mode-compact.tsx +10 -0
- package/src/suggestion/suggestion.tsx +3 -2
- package/src/timepicker/timepicker.spec.tsx +1 -1
|
@@ -1 +1 @@
|
|
|
1
|
-
var r=(...e)=>e.filter(t=>t!==!0&&!!t).map(t=>Array.isArray(t)?r(...t):typeof t=="object"?Object.keys(t).map((o,a)=>t[a]||t[o]&&o||null).filter(o=>o!==null).join(" "):t).filter(t=>!!t).join(" ");var k=(e,t)=>r({[`${e}-xs`]:t.size==="xsmall",[`${e}-sm`]:t.size==="small",[`${e}-md`]:t.size==="medium",[`${e}-lg`]:t.size==="large",[`${e}-xl`]:t.size==="xlarge",[`${e}-xxl`]:t.size==="xxlarge",[`${e}-xxxl`]:t.size==="xxxlarge"},{[`${e}-${t.fillMode}`]:t.fillMode},{[`${e}-${t.themeColor}`]:t.themeColor},{"k-rounded-sm":t.rounded==="small","k-rounded-md":t.rounded==="medium","k-rounded-lg":t.rounded==="large","k-rounded-full":t.rounded==="full","k-rounded-none":t.rounded==="none"}),I=(e,t)=>{let{valid:o,invalid:a,hover:n,focus:s,checked:l,active:m,selected:f,disabled:N,indeterminate:h,loading:M,empty:c,readonly:C,highlighted:g,...S}=t;return r({"k-valid":o,"k-invalid":a,"k-hover":n,"k-focus":s,"k-checked":l,"k-active":m,"k-selected":f,"k-disabled":N,"k-indeterminate":h&&!l,"k-loading":M,"k-empty":c,"k-readonly":C,"k-highlighted":g},Object.keys(S).reduce((T,A)=>(A.startsWith("k-")?T[A]=S[A]:T[`k-${A}`]=S[A],T),{}))};function Oi(e,t){if(!t)return{};let o=Array.isArray(t)?t:[t];return Object.fromEntries(o.map(a=>[`k-${a}`,!0]))}var p={undefined:void 0,xsmall:"xsmall",small:"small",medium:"medium",large:"large",xlarge:"xlarge",xxlarge:"xxlarge",xxxlarge:"xxxlarge"},u={undefined:void 0,none:"none",small:"small",medium:"medium",large:"large",full:"full"},b={undefined:void 0,solid:"solid",tint:"tint",flat:"flat",outline:"outline",clear:"clear",link:"link"},bt={undefined:void 0,outline:"outline",solid:"solid",duotone:"duotone"},x={undefined:void 0,inherit:"inherit",base:"base",primary:"primary",secondary:"secondary",tertiary:"tertiary",info:"info",success:"success",warning:"warning",error:"error",inverse:"inverse"},i={open:"open",hover:"hover",focus:"focus",active:"active",selected:"selected",disabled:"disabled",valid:"valid",invalid:"invalid",loading:"loading",required:"required",empty:"empty",indeterminate:"indeterminate",checked:"checked",readonly:"readonly",highlighted:"highlighted",generating:"generating",expanded:"expanded"},Pi={calloutMap:{top:"n",bottom:"s",left:"w",right:"e"},orientationMap:{vertical:"vstack",horizontal:"hstack"}};var $n={};function y(e){return $n[e]=($n[e]||0)+1,`k-${e}-${$n[e]}`}var Xn="action-buttons",Ki=Xn;import{jsx as Wd}from"react/jsx-runtime";var qa="k-actions",$d=[],Xd={},Wn={alignment:"start",orientation:"horizontal"},z=e=>{let{alignment:t=Wn.alignment,orientation:o=Wn.orientation,...a}=e;return Wd("div",{...a,className:r(qa,{[`${qa}-${t}`]:t,[`${qa}-${o}`]:o},e.className),children:e.children})};z.states=$d;z.options=Xd;z.className=qa;z.defaultOptions=Wn;z.moduleName=Xn;z.folderName=Ki;import{Fragment as Qd,jsx as Ri}from"react/jsx-runtime";var Jn="k-font-icon",Jd=[],qd={size:[p.undefined,p.xsmall,p.small,p.medium,p.large,p.xlarge,p.xxlarge,p.xxxlarge],themeColor:[x.undefined,x.base,x.primary,x.secondary,x.tertiary,x.success,x.warning,x.error,x.info]},Yd={},ha=e=>{let{size:t,themeColor:o,icon:a,rotate:n,flip:s,...l}=e;return a?Ri("span",{...l,className:r(e.className,Jn,k(Jn,{size:t}),{[`k-i-${a}`]:a,[`k-color-${o}`]:o,[`k-rotate-${n}`]:n,"k-flip-h":s==="h"||s==="both","k-flip-v":s==="v"||s==="both"}),"aria-hidden":"true"}):Ri(Qd,{})};ha.states=Jd;ha.options=qd;ha.className=Jn;ha.defaultOptions=Yd;var wi=ha;import{Fragment as ep,jsx as Ya}from"react/jsx-runtime";var qn="k-svg-icon",Zd=[],jd={size:[p.undefined,p.xsmall,p.small,p.medium,p.large,p.xlarge,p.xxlarge,p.xxxlarge],themeColor:[x.undefined,x.base,x.primary,x.secondary,x.tertiary,x.success,x.warning,x.error,x.info],variant:[bt.outline,bt.solid,bt.duotone]},Yn={viewBox:"0 0 24 24",variant:bt.outline},Na=e=>{let{size:t,themeColor:o,rotate:a,flip:n,viewBox:s=Yn.viewBox,variant:l=Yn.variant,icon:m,...f}=e;if(!m)return Ya(ep,{});if(m==="none")return Ya("span",{...f,className:r(e.className,qn,k("k-icon",{size:t}),"k-none"),"aria-hidden":"true"});let N=typeof m=="object"&&m.name&&m.name,h=typeof m=="object"?l&&m.variants?.[l]||m.variants?.outline||m.content:void 0;return Ya("span",{...f,className:r(e.className,qn,k("k-icon",{size:t}),{[`k-svg-i-${N}`]:N,[`k-color-${o}`]:o,[`k-rotate-${a}`]:a,"k-flip-h":n==="h"||n==="both","k-flip-v":n==="v"||n==="both"}),"aria-hidden":"true",children:Ya("svg",{"aria-hidden":!0,focusable:!1,xmlns:"http://www.w3.org/2000/svg",viewBox:typeof m=="object"?m.viewBox:s,dangerouslySetInnerHTML:h!==void 0?{__html:h}:void 0,children:m?void 0:e.children})})};Na.states=Zd;Na.options=jd;Na.className=qn;Na.defaultOptions=Yn;var Qn=Na;import*as Zn from"@progress/kendo-svg-icons";var _i="icon",Di="icons";import{useContext as op}from"react";import{createContext as tp}from"react";var Hi=tp({iconsType:"svg"});import{Fragment as zi,jsx as va}from"react/jsx-runtime";var Qa="k-icon",ap=e=>e.replace(/([-_][a-z0-9])/gi,t=>t.toUpperCase().replace("-","").replace("_","")),np=[],rp={size:[p.undefined,p.xsmall,p.small,p.medium,p.large,p.xlarge,p.xxlarge,p.xxxlarge],themeColor:[x.undefined,x.base,x.primary,x.secondary,x.tertiary,x.success,x.warning,x.error,x.info],variant:[bt.outline,bt.solid,bt.duotone]},Za={viewBox:"0 0 24 24",type:"svg",variant:bt.outline},L=e=>{let{iconsType:t}=op(Hi),{size:o,themeColor:a,icon:n,type:s=t||Za.type,rotate:l,flip:m,viewBox:f=Za.viewBox,variant:N=Za.variant,...h}=e;if(!n)return va(zi,{});if((t||s)==="svg"){if(n==="none")return va(Qn,{...h,className:r(e.className,Qa),icon:n,size:o,variant:N});let c=Zn[n]?n:ap(`${n}-icon`);return Zn[c]?va(Qn,{...h,className:r(e.className,Qa),icon:Zn[c],size:o,themeColor:a,rotate:l,flip:m,viewBox:f,variant:N}):va(zi,{})}return va(wi,{...h,className:r(e.className,Qa),icon:n,size:o,themeColor:a,rotate:l,flip:m})};L.states=np;L.options=rp;L.defaultOptions=Za;L.className=Qa;L.moduleName=_i;L.folderName=Di;var jn="button",Gi=jn;import{Fragment as er,jsx as Bt,jsxs as Ui}from"react/jsx-runtime";var Ca="k-button",ip=["icon-button"],sp=[i.hover,i.focus,i.active,i.selected,i.disabled,i.generating],lp={size:[p.undefined,p.xsmall,p.small,p.medium,p.large],rounded:[u.undefined,u.none,u.small,u.medium,u.large,u.full],fillMode:[b.undefined,b.solid,b.flat,b.outline,b.clear,b.link],themeColor:[x.undefined,x.base,x.primary,x.secondary,x.tertiary,x.success,x.warning,x.error,x.info,x.inverse]},tr={showArrow:!1,arrowIconName:"chevron-down"},d=e=>{let{as:t="button",size:o,rounded:a,fillMode:n,themeColor:s,showArrow:l=tr.showArrow,arrowIconName:m=tr.arrowIconName,variant:f,hover:N,focus:h,active:M,selected:c,disabled:C,togglable:g,ariaDisabled:S,icon:T,endIcon:A,iconSize:K,text:$,iconClassName:ie,className:he,...pe}=e,ce=T!=null,ba=e.children!==void 0;return Ui(t,{className:r(he,Ca,Oi(Ca,f),k(Ca,{size:o,rounded:a,fillMode:n,themeColor:s}),I(Ca,{hover:N,focus:h,active:M,disabled:C||S,selected:c}),{"k-icon-button":!$&&!ba&&ce}),"aria-pressed":g?c?"true":"false":void 0,...pe,"aria-disabled":S?"true":void 0,disabled:C||void 0,children:[typeof T=="string"&&T&&Bt(L,{className:r(ie,"k-button-icon"),icon:T,size:K}),T&&typeof T!="string"&&Bt(er,{children:T}),$?Ui(er,{children:[$&&Bt("span",{className:"k-button-text",children:$}),e.children]}):e.children&&Bt("span",{className:"k-button-text",children:e.children}),typeof A=="string"&&A&&Bt(L,{className:r(ie,"k-button-icon"),icon:A,size:K}),A&&typeof A!="string"&&Bt(er,{children:A}),l&&Bt("span",{className:"k-menu-button-arrow k-button-arrow",children:Bt(L,{icon:m})})]})};d.states=sp;d.options=lp;d.variants=ip;d.className=Ca;d.defaultOptions=tr;d.moduleName=jn;d.folderName=Gi;import{jsx as dp}from"react/jsx-runtime";var F=e=>dp(d,{icon:"folder",...e,"aria-label":e["aria-label"]||"Folder",children:void 0});import{jsx as pp}from"react/jsx-runtime";var R=e=>pp(d,{icon:"folder",children:"Button",...e});import{jsx as Bv}from"react/jsx-runtime";import{jsx as mp}from"react/jsx-runtime";var Jt=e=>mp(d,{children:"Button",...e});import{jsx as or}from"react/jsx-runtime";var cp=d.options,up=d.states,fp={...d.defaultOptions,variant:"text"},bp=[{name:"icon-only",title:"Icon Only"},{name:"icon-and-text",title:"Icon & Text"},{name:"text",title:"Text"}],xp=[],fo=e=>{let{variant:t,...o}=e;switch(t){case"icon-only":return or(F,{...o,icon:"star"});case"icon-and-text":return or(R,{...o,icon:"star",children:"Button"});default:return or(Jt,{...o,children:"Button"})}};fo.options=cp;fo.states=up;fo.variants=bp;fo.defaultOptions=fp;fo.modifiers=xp;fo.className=d.className;var ar="button",Fi=ar;import{jsx as Cp}from"react/jsx-runtime";var La="k-button-group",hp=[i.disabled],Np={fillMode:[b.undefined,b.solid,b.flat,b.outline,b.clear,b.link]},vp={},O=e=>{let{fillMode:t,disabled:o,stretched:a,...n}=e;return Cp("div",{role:"group",...n,className:r(e.className,La,k(La,{fillMode:t}),I(La,{disabled:o}),{[`${La}-stretched`]:a}),...o&&{"aria-disabled":"true"},children:e.children})};O.states=hp;O.options=Np;O.className=La;O.defaultOptions=vp;O.moduleName=ar;O.folderName=Fi;import{Fragment as rC,jsx as nC,jsxs as iC}from"react/jsx-runtime";import{Fragment as cC,jsx as mC,jsxs as uC}from"react/jsx-runtime";import{Fragment as vC,jsx as NC,jsxs as CC}from"react/jsx-runtime";import{Fragment as kC,jsx as IC,jsxs as AC}from"react/jsx-runtime";import{Fragment as PC,jsx as OC,jsxs as KC}from"react/jsx-runtime";import{Fragment as zC,jsx as HC,jsxs as GC}from"react/jsx-runtime";import{Fragment as WC,jsx as XC,jsxs as JC}from"react/jsx-runtime";import{jsx as gt,jsxs as nr}from"react/jsx-runtime";var Lp={...d.options,...O.options},Mp=d.states,gp={...d.defaultOptions,...O.defaultOptions,variant:"text-button"},Sp=[{name:"icon-button",title:"Icon Only"},{name:"text-button",title:"Text"},{name:"icon-text-button",title:"Icon Text"}],Ip=[],bo=e=>{let{variant:t,className:o,...a}=e;return t==="icon-button"?nr(O,{fillMode:a.fillMode,className:o,children:[gt(d,{...a,icon:"star"}),gt(d,{...a,icon:"star"}),gt(d,{...a,icon:"star"})]}):t==="icon-text-button"?nr(O,{fillMode:a.fillMode,className:o,children:[gt(d,{...a,icon:"star",children:"First"}),gt(d,{...a,icon:"star",children:"Middle"}),gt(d,{...a,icon:"star",children:"Last"})]}):nr(O,{fillMode:a.fillMode,className:o,children:[gt(d,{...a,children:"First"}),gt(d,{...a,children:"Middle"}),gt(d,{...a,children:"Last"})]})};bo.options=Lp;bo.states=Mp;bo.variants=Sp;bo.defaultOptions=gp;bo.modifiers=Ip;bo.className=O.className;var Ma="input",ja=Ma;import{jsx as yp}from"react/jsx-runtime";var en="k-input",kp=[i.hover,i.focus,i.valid,i.invalid,i.required,i.disabled,i.loading,i.readonly],Ap={size:[p.undefined,p.small,p.medium,p.large],rounded:[u.undefined,u.none,u.small,u.medium,u.large,u.full],fillMode:[b.undefined,b.solid,b.flat,b.outline]},Tp={},Z=e=>{let{hover:t,focus:o,disabled:a,invalid:n,valid:s,loading:l,readonly:m,size:f,rounded:N,fillMode:h,...M}=e;return yp("span",{...M,className:r(e.className,en,k(en,{size:f,rounded:N,fillMode:h}),I(en,{hover:t,focus:o,disabled:a,invalid:n,valid:s,loading:l,readonly:m}))})};Z.states=kp;Z.options=Ap;Z.className=en;Z.defaultOptions=Tp;Z.moduleName=Ma;Z.folderName=ja;import{jsx as Pp}from"react/jsx-runtime";var tn="k-picker",Ep=[i.hover,i.focus,i.valid,i.invalid,i.required,i.disabled,i.loading,i.readonly],Bp={size:[p.undefined,p.small,p.medium,p.large],rounded:[u.undefined,u.none,u.small,u.medium,u.large,u.full],fillMode:[b.undefined,b.solid,b.flat,b.outline]},Op={},xt=e=>{let{hover:t,focus:o,disabled:a,invalid:n,valid:s,loading:l,readonly:m,size:f,rounded:N,fillMode:h,...M}=e;return Pp("span",{...M,className:r(e.className,tn,k(tn,{size:f,rounded:N,fillMode:h}),I(tn,{hover:t,focus:o,disabled:a,invalid:n,valid:s,loading:l,readonly:m})),children:e.children})};xt.states=Ep;xt.options=Bp;xt.className=tn;xt.defaultOptions=Op;xt.moduleName=Ma;xt.folderName=ja;import{Fragment as wp,jsx as rr}from"react/jsx-runtime";var Vi="k-clear-value",Kp=[i.disabled,i.loading,i.readonly],Rp={},Fe=e=>{let{disabled:t,loading:o,readonly:a,value:n}=e;return t||a||o||!n?rr(wp,{}):rr("span",{className:r(e.className,Vi),children:rr(L,{icon:"x"})})};Fe.states=Kp;Fe.options=Rp;Fe.className=Vi;import{jsx as Hp}from"react/jsx-runtime";var ir="k-input-inner",_p=[],Dp={},on={type:"text",autocomplete:"off",value:"",placeholder:""},Ve=e=>{let{value:t=on.value,type:o=on.type,placeholder:a=on.placeholder,autocomplete:n=on.autocomplete,disabled:s,readOnly:l,...m}=e;return Hp("input",{...m,type:o,className:r(e.className,ir,k(ir,e)),placeholder:a,autoComplete:n,defaultValue:t,disabled:s||void 0,readOnly:l||void 0})};Ve.states=_p;Ve.options=Dp;Ve.className=ir;import{jsx as $i,jsxs as Up}from"react/jsx-runtime";var sr="k-input-inner",zp=[],Gp={},qt=e=>{let{value:t,placeholder:o,showValue:a,valueIcon:n,valueIconName:s,...l}=e;return Up("span",{...l,className:r(e.className,sr,k(sr,e)),children:[n,!n&&s&&$i(L,{className:"k-input-value-icon",icon:s}),a&&!t&&o,a&&t&&$i("span",{className:"k-input-value-text",children:t})]})};qt.states=zp;qt.options=Gp;qt.className=sr;import{jsx as $p}from"react/jsx-runtime";var lr="k-input-inner",Fp=[],Vp={},Xi={value:"",placeholder:""},ga=e=>{let{value:t=Xi.value,placeholder:o=Xi.placeholder,rows:a,disabled:n,...s}=e;return $p("textarea",{...s,className:r(e.className,lr,k(lr,e)),placeholder:o,rows:a,defaultValue:t,disabled:n||void 0})};ga.states=Fp;ga.options=Vp;ga.className=lr;import{Fragment as Wp,jsx as Wi}from"react/jsx-runtime";var Ji="k-input-loading-icon",Xp=[i.disabled,i.loading],we=e=>{let{disabled:t,loading:o}=e;return t||!o?Wi(Wp,{}):Wi("span",{className:r(e.className,Ji,"k-icon k-i-loading")})};we.states=Xp;we.className=Ji;import{Fragment as Yp,jsx as qi}from"react/jsx-runtime";var Yi="k-input-validation-icon",Jp=[i.valid,i.invalid,i.disabled,i.loading],qp={},ge=e=>{let{valid:t,invalid:o,disabled:a,loading:n}=e,s=o?"warning-circle":"check-circle";return a||n||!!!(t||o)?qi(Yp,{}):qi(L,{className:r(Yi),icon:s})};ge.states=Jp;ge.options=qp;ge.className=Yi;import{Fragment as jp,jsx as Qi}from"react/jsx-runtime";var Qp="k-input-prefix",Zp={direction:"horizontal"},_e=e=>{let{direction:t=Zp.direction,...o}=e;return e.children?Qi("span",{...o,className:r(Qp,e.className,{[`k-input-prefix-${t}`]:t}),children:e.children}):Qi(jp,{})};import{Fragment as om,jsx as Zi}from"react/jsx-runtime";var em="k-input-suffix",tm={direction:"horizontal"},De=e=>{let{direction:t=tm.direction,...o}=e;return e.children?Zi("span",{...o,className:r(em,e.className,{[`k-input-suffix-${t}`]:t}),children:e.children}):Zi(om,{})};import{jsx as qL}from"react/jsx-runtime";import{jsx as nm}from"react/jsx-runtime";var am="k-input-suffix-text",dr=e=>{let{children:t,...o}=e;return nm("span",{...o,className:r(am,e.className),children:t})};import{jsx as im}from"react/jsx-runtime";var ji="k-input-separator",rm={direction:"vertical"},Se=e=>{let{direction:t=rm.direction,...o}=e;return im("span",{...o,className:r(ji,e.className,{[`${ji}-${t}`]:t})})};import{Fragment as es,jsx as ht,jsxs as pr}from"react/jsx-runtime";var sm=Z.states,lm=Z.defaultOptions,dm=Z.options,pm=[{name:"prefix",title:"Prefix"},{name:"suffix",title:"Suffix"},{name:"clear-button",title:"`Clear` Button"},{name:"validation-icon",title:"Validation Icon"},{name:"separators",title:"Separators"}],mm=[],xo=e=>{let{modifiers:t,valid:o,invalid:a,loading:n,disabled:s,readonly:l,...m}=e,f=t?.prefix,N=t?.suffix,h=t?.["clear-button"],M=t?.["validation-icon"],c=t?.separators;return pr(Z,{...m,valid:o,invalid:a,loading:n,disabled:s,readonly:l,style:{width:300},children:[f&&pr(es,{children:[ht(_e,{children:ht(L,{icon:"lock"})}),c&&ht(Se,{})]}),ht(Ve,{placeholder:"Placeholder",value:"Value"}),M&&ht(ge,{valid:o,invalid:a,loading:n,disabled:s}),ht(we,{loading:n,disabled:s}),h&&ht(Fe,{loading:n,disabled:s,readonly:l,value:"Value"}),N&&pr(es,{children:[c&&ht(Se,{}),ht(De,{children:ht(Jt,{size:m.size,fillMode:"clear",children:"Send"})})]})]})};xo.options=dm;xo.states=sm;xo.variants=mm;xo.defaultOptions=lm;xo.modifiers=pm;xo.className=Z.className;import{jsx as ts,jsxs as fm}from"react/jsx-runtime";var os="k-color-preview",cm=[],um={},Ot=e=>{let{color:t,iconName:o,...a}=e;return fm("span",{...a,className:r(e.className,os,{"k-icon-color-preview":o,"k-no-color":!t}),children:[o&&ts(L,{icon:o,className:"k-color-preview-icon"}),ts("span",{className:"k-color-preview-mask",style:{backgroundColor:t}})]})};Ot.states=cm;Ot.options=um;Ot.className=os;var mr="popup",as=mr;import{jsx as ns}from"react/jsx-runtime";var rs="k-animation-container",bm=[],xm={},cr={positionMode:"absolute",shown:!0},Nt=e=>{let{positionMode:t=cr.positionMode,shown:o=cr.shown,animationStyle:a,offset:n,...s}=e;return ns("div",{...s,style:{...n,...e.style},className:r(e.className,rs,{"k-animation-container-shown":o,"k-animation-container-fixed":t==="fixed"}),children:ns("div",{className:"k-child-animation-container",style:a,children:e.children})})};Nt.states=bm;Nt.options=xm;Nt.className=rs;Nt.defaultOptions=cr;Nt.moduleName=mr;Nt.folderName=as;var ur="popup",is=ur;import{jsx as ss}from"react/jsx-runtime";var ls="k-popup",hm=[],Nm={},ds={positionMode:"absolute"},U=e=>{let{offset:t,positionMode:o=ds.positionMode,animationStyle:a,containerClassName:n,containerRole:s,containerAriaLabel:l,...m}=e;return ss(Nt,{positionMode:o,offset:t,animationStyle:a,className:n,role:s,"aria-label":l,children:ss("div",{...m,className:r(e.className,ls),children:e.children})})};U.states=hm;U.options=Nm;U.className=ls;U.defaultOptions=ds;U.moduleName=ur;U.folderName=is;import{jsx as Cm}from"react/jsx-runtime";var vm="k-actionsheet-footer",ps={alignment:"stretched",orientation:"horizontal"},Pt=e=>{let{alignment:t=ps.alignment,orientation:o=ps.orientation,template:a,as:n=a?"div":z,...s}=e;return Cm(n,{...s,...!a&&{alignment:t,orientation:o},className:r(e.className,vm),children:e.children})};var fr="searchbox",ms=fr;import{jsx as Sa,jsxs as gm}from"react/jsx-runtime";var cs="k-searchbox",Lm=[i.hover,i.focus,i.valid,i.invalid,i.required,i.disabled,i.loading],Mm={size:[p.undefined,p.small,p.medium,p.large],rounded:[u.undefined,u.none,u.small,u.medium,u.large,u.full],fillMode:[b.undefined,b.solid,b.flat,b.outline]},an={showIcon:!0,showClearButton:!0,icon:"search"},Qe=e=>{let{value:t,placeholder:o,size:a,rounded:n,fillMode:s,hover:l,focus:m,valid:f,invalid:N,required:h,loading:M,disabled:c,showIcon:C=an.showIcon,showClearButton:g=an.showClearButton,icon:S=an.icon,"aria-label":T,...A}=e;return gm(Z,{...A,size:a,rounded:n,fillMode:s,hover:l,focus:m,valid:f,invalid:N,required:h,loading:M,disabled:c,className:r(e.className,cs),children:[C&&Sa(L,{className:"k-input-icon",icon:S}),Sa(Ve,{placeholder:o,value:t,"aria-label":T}),Sa(we,{...e}),Sa(ge,{...e}),g&&Sa(Fe,{...e})]})};Qe.states=Lm;Qe.options=Mm;Qe.className=cs;Qe.defaultOptions=an;Qe.moduleName=fr;Qe.folderName=ms;import{jsx as ug}from"react/jsx-runtime";var br="textbox",us=br;import{Fragment as fs,jsx as Kt,jsxs as xr}from"react/jsx-runtime";var bs="k-textbox",Sm=[i.hover,i.focus,i.valid,i.invalid,i.required,i.disabled,i.loading,i.readonly],Im={size:[p.undefined,p.small,p.medium,p.large],rounded:[u.undefined,u.none,u.small,u.medium,u.large,u.full],fillMode:[b.undefined,b.solid,b.flat,b.outline]},nn={showClearButton:!0,showValidationIcon:!0,separators:!0},Ne=e=>{let{size:t,rounded:o,fillMode:a,separators:n=nn.separators,showClearButton:s=nn.showClearButton,showValidationIcon:l=nn.showValidationIcon,prefix:m,suffix:f,type:N,value:h,placeholder:M,hover:c,focus:C,valid:g,invalid:S,required:T,loading:A,disabled:K,readonly:$,id:ie,"aria-label":he,"aria-describedby":pe,...ce}=e;return xr(Z,{...ce,size:t,rounded:o,fillMode:a,hover:c,focus:C,valid:g,invalid:S,required:T,loading:A,disabled:K,readonly:$,className:r(e.className,bs),children:[m&&xr(fs,{children:[Kt(_e,{children:m}),n&&Kt(Se,{})]}),Kt(Ve,{id:ie,placeholder:M,value:h,type:N,disabled:K,"aria-label":he,"aria-describedby":pe,"aria-invalid":S?"true":void 0}),l&&Kt(ge,{valid:g,invalid:S,loading:A,disabled:K}),Kt(we,{loading:A,disabled:K}),s&&Kt(Fe,{loading:A,disabled:K,readonly:$,value:h}),f&&xr(fs,{children:[n&&Kt(Se,{}),Kt(De,{children:f})]})]})};Ne.states=Sm;Ne.options=Im;Ne.className=bs;Ne.defaultOptions=nn;Ne.moduleName=br;Ne.folderName=us;var Ia=Ne;import{jsx as km}from"react/jsx-runtime";var xs=e=>km(Ia,{...e});import{Fragment as Bg,jsx as Eg}from"react/jsx-runtime";import{Fragment as _g,jsx as wg}from"react/jsx-runtime";import{jsx as Gg}from"react/jsx-runtime";import{jsx as hr}from"react/jsx-runtime";var Am=Ne.states,Tm=Ne.defaultOptions,ym=Ne.options,Em=[{name:"prefix",title:"Prefix"},{name:"suffix",title:"Suffix"},{name:"clear-button",title:"`Clear` Button"}],Bm=[],ho=e=>{let{modifiers:t,...o}=e,a={};return Object.keys(t||{}).forEach(n=>{switch(n){case"prefix":a.prefix=t?.[n]?hr(L,{icon:"lock"}):void 0;break;case"suffix":a.suffix=t?.[n]?hr(Jt,{size:o.size,fillMode:"clear",children:"Send"}):void 0;break;case"clear-button":a.showClearButton=t?.[n];break;default:break}}),hr(xs,{value:"Value",style:{width:300},...o,...a})};ho.options=ym;ho.states=Am;ho.variants=Bm;ho.defaultOptions=Tm;ho.modifiers=Em;ho.className=Ne.className;import{jsx as Rt,jsxs as Nr}from"react/jsx-runtime";var hs="k-actionsheet-titlebar",Om={},Ie=e=>{let{title:t,subtitle:o,actionsStart:a,actionsEnd:n,filter:s,input:l,inputValue:m,inputPlaceholder:f,adaptive:N,titleId:h,children:M,...c}=e;return Nr("div",{...c,className:r(e.className,hs),children:[Nr("div",{className:"k-actionsheet-titlebar-group",children:[a&&Rt("div",{className:"k-actionsheet-actions",children:a}),!M&&Nr("div",{className:"k-actionsheet-title",id:h,children:[t&&Rt("div",{className:"k-text-center",children:t}),o&&Rt("div",{className:"k-actionsheet-subtitle k-text-center",children:o})]}),M&&Rt("div",{className:"k-actionsheet-title",id:h,children:M}),n&&Rt("div",{className:"k-actionsheet-actions",children:n})]}),(l||s)&&Rt("div",{className:"k-actionsheet-titlebar-group k-actionsheet-filter",children:l?Rt(Ne,{value:m,placeholder:f,size:N?"large":"medium","aria-label":t||f||"Input"}):Rt(Qe,{placeholder:"Filter",size:N?"large":"medium","aria-label":"Filter options"})})]})};Ie.className=hs;Ie.defaultOptions=Om;import{jsx as vr,jsxs as wm}from"react/jsx-runtime";var Cr="k-actionsheet-view",Pm=[],Km={},Rm={},No=e=>{let{adaptive:t,animated:o,children:a,header:n,footer:s,titleId:l,...m}=e,f=n?.type===Ie&&vr(Ie,{adaptive:t,titleId:l,...n?.props}),N=s?.type===Pt&&vr(Pt,{...s?.props});return wm("div",{...m,className:r(e.className,Cr,{[`${Cr}-animated`]:o}),children:[f,vr("div",{className:"k-actionsheet-content",children:a}),N]})};No.states=Pm;No.options=Km;No.className=Cr;No.defaultOptions=Rm;var ka="action-sheet",rn=ka;var Lr="overlay",Ns=Lr;import{jsx as zm}from"react/jsx-runtime";var vs="k-overlay",_m=[],Dm={},Hm={},wt=e=>{let{...t}=e;return zm("div",{...t,className:r(e.className,vs),children:e.children})};wt.states=_m;wt.options=Dm;wt.className=vs;wt.defaultOptions=Hm;wt.moduleName=Lr;wt.folderName=Ns;import{jsx as sn,jsxs as Fm}from"react/jsx-runtime";var Cs="k-actionsheet",Gm=[],Um={},Aa={side:"bottom",fullscreen:!1,adaptive:!1,overlay:!0},oe=e=>{let{side:t=Aa.side,fullscreen:o=Aa.fullscreen,adaptive:a=Aa.adaptive,overlay:n=Aa.overlay,template:s,children:l,header:m,footer:f,id:N,...h}=e,M=N&&!s&&m?`${N}-title`:void 0;return Fm("div",{className:"k-actionsheet-container",children:[n&&sn(wt,{}),sn(Nt,{animationStyle:{[`${o===!0?"top":t}`]:0,[`${o===!0?"width":null}`]:"100%",[`${o===!0?"height":null}`]:"100%",[`${t==="top"||t==="bottom"?"width":null}`]:"100%",[`${t==="left"||t==="right"?"height":null}`]:"100%"},children:sn("div",{...h,id:N,role:"dialog","aria-modal":n?"true":void 0,"aria-labelledby":M,className:r(e.className,Cs,{[`k-actionsheet-${t}`]:o===!1,"k-actionsheet-fullscreen":o===!0,"k-adaptive-actionsheet":a}),children:s||sn(No,{header:m,footer:f,adaptive:a,titleId:M,...e,children:l})})})]})};oe.states=Gm;oe.options=Um;oe.className=Cs;oe.defaultOptions=Aa;oe.moduleName=ka;oe.folderName=rn;import{jsx as Wm}from"react/jsx-runtime";var Ls="k-actionsheet-container",Vm=[],$m={},Xm={},vo=e=>{let{children:t,...o}=e;return Wm("div",{...o,className:Ls,children:t})};vo.states=Vm;vo.options=$m;vo.className=Ls;vo.defaultOptions=Xm;vo.moduleName=ka;vo.folderName=rn;import{jsx as Jm}from"react/jsx-runtime";var Mr=e=>{let{...t}=e;return Jm("div",{...t,className:r(e.className,"k-list-ul"),children:e.children})};import{Fragment as Ym,jsx as Ta,jsxs as gr}from"react/jsx-runtime";var Sr="k-actionsheet-item",qm=[i.hover,i.focus,i.selected,i.disabled],_t=e=>{let{iconName:t,text:o,description:a,hover:n,focus:s,selected:l,disabled:m,...f}=e;return gr("span",{...f,className:r(e.className,Sr,I(Sr,{hover:n,focus:s,selected:l,disabled:m})),children:[!e.children&&Ta(Ym,{children:gr("span",{className:"k-actionsheet-action",children:[t&&Ta("span",{className:"k-icon-wrap",children:Ta(L,{className:"k-actionsheet-item-icon",icon:t})}),gr("span",{className:"k-actionsheet-item-text",children:[o&&Ta("span",{className:"k-actionsheet-item-title",children:o}),a&&Ta("span",{className:"k-actionsheet-item-description",children:a})]})]})}),e.children]})};_t.states=qm;_t.className=Sr;import{jsx as zS,jsxs as GS}from"react/jsx-runtime";import{jsx as $S}from"react/jsx-runtime";import{jsx as qS}from"react/jsx-runtime";import{jsx as jS}from"react/jsx-runtime";import{jsx as ue,jsxs as Ir}from"react/jsx-runtime";var Qm=oe.options,Zm=oe.states,gs={...oe.defaultOptions,variant:"normal"},jm=[{name:"normal",title:"Normal"},{name:"adaptive",title:"Adaptive"},{name:"fullScreen",title:"Full Screen"}],ec=[{name:"actions",title:"Titlebar Actions",type:"boolean"},{name:"subtitle",title:"Subtitle",type:"boolean"},{name:"footer",title:"Footer",type:"boolean"}],Co=e=>{let{variant:t,modifiers:o,...a}={...gs,...e},n={},s=Ir(Mr,{children:[ue(_t,{text:"Edit Item",description:"Click to edit",iconName:"edit-tools"}),ue(_t,{text:"Add to Favorites",iconName:"heart"}),ue(_t,{text:"Upload New",iconName:"upload",disabled:!0}),ue("hr",{className:"k-hr"}),ue(_t,{text:"Cancel",iconName:"cancel"})]}),l="Choose from the items below",m="Select Item";return t==="fullScreen"&&(n.fullScreen=!0),Object.keys(o||{}).forEach(f=>{switch(f){case"actions":n.actionsStart=!!o?.[f],n.actionsEnd=!!o?.[f];break;case"subtitle":n.subtitle=o?.[f]?l:void 0;break;case"footer":n.footer=!!o?.[f];break;default:break}}),t==="adaptive"?ue(oe,{...a,adaptive:!0,fullscreen:n.fullScreen,header:ue(Ie,{actionsStart:n.actionsStart?ue(d,{icon:"chevron-left",size:"large",fillMode:"flat"}):void 0,actionsEnd:n.actionsEnd?ue(d,{icon:"x",size:"large",fillMode:"flat"}):void 0,title:m,subtitle:n.subtitle}),footer:n.footer?Ir(Pt,{alignment:"stretched",children:[ue(d,{text:"Cancel",size:"large",themeColor:"base"}),ue(d,{text:"Apply",size:"large",themeColor:"primary"})]}):void 0,children:s}):ue(oe,{...a,fullscreen:n.fullScreen,header:ue(Ie,{actionsStart:n.actionsStart?ue(d,{icon:"chevron-left",fillMode:"flat"}):void 0,actionsEnd:n.actionsEnd?ue(d,{icon:"x",fillMode:"flat"}):void 0,title:"Select Item",subtitle:n.subtitle}),footer:n.footer?Ir(Pt,{alignment:"stretched",children:[ue(d,{text:"Apply",themeColor:"primary"}),ue(d,{text:"Cancel",themeColor:"base"})]}):void 0,children:s})};Co.options=Qm;Co.states=Zm;Co.variants=jm;Co.defaultOptions=gs;Co.modifiers=ec;Co.className=oe.className;var kr="slider",Ss=kr;import{jsx as Lo,jsxs as Ar}from"react/jsx-runtime";var ya="k-slider",tc=[i.hover,i.focus,i.active,i.disabled,i.readonly],oc={},Ze={type:"single",orientation:"horizontal",gradientType:"1d",readonly:!1,disabled:!1,handlePosition:"end",showButtons:!0,showTicks:!0,value:50,min:0,max:100},Y=e=>{let{type:t=Ze.type,orientation:o=Ze.orientation,gradientType:a=Ze.gradientType,readonly:n=Ze.readonly,disabled:s=Ze.disabled,handlePosition:l=Ze.handlePosition,showButtons:m=Ze.showButtons,showTicks:f=Ze.showTicks,value:N=Ze.value,min:h=Ze.min,max:M=Ze.max,startValue:c,endValue:C,hover:g,focus:S,active:T,trackStyle:A,dir:K,...$}=e,he=(()=>{if(t==="gradient"&&a==="2d")return"undefined";if(o==="vertical")return"vertical"})(),pe,ce;return o==="horizontal"?(pe=K==="rtl"?"chevron-left":"chevron-right",ce=K==="rtl"?"chevron-right":"chevron-left"):o==="vertical"&&(pe="chevron-up",ce="chevron-down"),Ar("div",{...$,className:r(ya,e.className,I(ya,{readonly:n,disabled:s}),{[`k-slider-${o}`]:o,"k-colorgradient-slider":t==="gradient"}),dir:K,children:[m&&Lo(d,{className:"k-button-decrease",rounded:"full",icon:ce,tabIndex:-1,title:"Decrease"}),Ar("div",{className:"k-slider-track-wrap",children:[f&&Lo("ul",{className:"k-reset k-slider-items","aria-hidden":"true",children:e.children}),Ar("div",{className:"k-slider-track",style:A,children:[Lo("div",{className:"k-slider-selection"}),t==="range"&&Lo("span",{className:r("k-draghandle","k-draghandle-start",I(ya,{hover:g,focus:S,active:T})),role:"slider",tabIndex:s?void 0:0,"aria-valuenow":c??h,"aria-valuemin":h,"aria-valuemax":C??M,"aria-orientation":he,"aria-disabled":s?"true":void 0,"aria-readonly":n?"true":void 0,"aria-label":$["aria-label"]?`${$["aria-label"]} start`:"Range start"}),Lo("span",{className:r("k-draghandle",`k-draghandle-${l}`,I(ya,{hover:g,focus:S,active:T})),role:"slider",tabIndex:s?void 0:0,"aria-valuenow":t==="range"?C??M:N,"aria-valuemin":t==="range"?c??h:h,"aria-valuemax":M,"aria-orientation":he,"aria-disabled":s?"true":void 0,"aria-readonly":n?"true":void 0,"aria-label":t==="range"?$["aria-label"]?`${$["aria-label"]} end`:"Range end":$["aria-label"]})]})]}),m&&Lo(d,{className:"k-button-increase",rounded:"full",icon:pe,tabIndex:-1,title:"Increase"})]})};Y.states=tc;Y.options=oc;Y.className=ya;Y.defaultOptions=Ze;Y.moduleName=kr;Y.folderName=Ss;import{jsx as Is}from"react/jsx-runtime";var ks="k-tick",ac=[],nc={},As={label:!1},B=e=>{let{style:t,label:o=As.label,orientation:a,large:n,text:s,...l}=e;return Is("li",{...l,role:"presentation",title:s||"Tick",className:r(e.className,ks,{[`k-tick-${a}`]:a,"k-tick-large":n}),style:t,children:o&&Is("span",{className:"k-label",children:s})})};B.states=ac;B.options=nc;B.className=ks;B.defaultOptions=As;import{Fragment as rc,jsx as je,jsxs as ic}from"react/jsx-runtime";var Ts=e=>je(Y,{"aria-label":e["aria-label"]||"Slider",children:ic(rc,{children:[je(B,{className:"k-first",label:!0,large:!0,text:"0"}),je(B,{}),je(B,{}),je(B,{}),je(B,{}),je(B,{label:!0,large:!0,text:"5"}),je(B,{}),je(B,{}),je(B,{}),je(B,{}),je(B,{className:"k-last",label:!0,large:!0,text:"10"})]}),...e});import{Fragment as sc,jsx as et,jsxs as lc}from"react/jsx-runtime";var ys=e=>et(Y,{children:lc(sc,{children:[et(B,{className:"k-first",label:!0,large:!0,text:"0"}),et(B,{}),et(B,{}),et(B,{}),et(B,{}),et(B,{label:!0,large:!0,text:"5"}),et(B,{}),et(B,{}),et(B,{}),et(B,{}),et(B,{className:"k-last",label:!0,large:!0,text:"10"})]}),"aria-label":e["aria-label"]||"Vertical slider",...e,orientation:"vertical"});import{Fragment as GI,jsx as zI,jsxs as UI}from"react/jsx-runtime";import{Fragment as WI,jsx as XI,jsxs as JI}from"react/jsx-runtime";import{jsx as dc}from"react/jsx-runtime";var Tr=e=>dc(Y,{type:"gradient",showButtons:!1,showTicks:!1,...e,"aria-label":e["aria-label"]||"Color slider"});import{jsx as pc}from"react/jsx-runtime";var yr=e=>pc(Y,{type:"gradient",orientation:"vertical",showButtons:!1,showTicks:!1,...e,"aria-label":e["aria-label"]||"Color slider"});import{Fragment as rk,jsx as nk,jsxs as ik}from"react/jsx-runtime";import{Fragment as mk,jsx as pk,jsxs as ck}from"react/jsx-runtime";import{jsx as vt,jsxs as Es}from"react/jsx-runtime";var mc=Y.options,cc=Y.states,Bs={...Y.defaultOptions,variant:"horizontal",label:!0},uc=[{name:"horizontal",title:"Horizontal"},{name:"vertical",title:"Vertical"}],fc=[{name:"label",title:"Labels",default:!0},{name:"tick",title:"Ticks",default:!0},{name:"button",title:"Side Buttons",default:!0}],Mo=e=>{let{variant:t,modifiers:o,...a}=e,n=Bs.label,s={};Object.keys(o||{}).forEach(m=>{switch(m){case"button":{s.showButtons=!!o?.[m];break}case"label":{n=!!o?.[m];break}case"tick":{s.showTicks=!!o?.[m];break}}});let l={"--kendo-slider-start":0,"--kendo-slider-end":60};return t==="vertical"?Es(ys,{style:{height:"300px",...l},...a,...s,children:[vt(B,{label:n,large:!0,orientation:"vertical",text:"0",style:{position:"absolute",bottom:"0%"}}),vt(B,{label:n,large:!0,orientation:"vertical",text:"2",style:{position:"absolute",bottom:"25%"}}),vt(B,{label:n,large:!0,orientation:"vertical",text:"4",style:{position:"absolute",bottom:"50%"}}),vt(B,{label:n,large:!0,orientation:"vertical",text:"6",style:{position:"absolute",bottom:"75%"}}),vt(B,{label:n,large:!0,orientation:"vertical",text:"8",style:{position:"absolute",bottom:"100%"}})]}):Es(Ts,{style:{width:"400px",...l},...a,...s,children:[vt(B,{label:n,large:!0,orientation:"horizontal",text:"0",style:{position:"absolute",left:"0%"}}),vt(B,{label:n,large:!0,orientation:"horizontal",text:"2",style:{position:"absolute",left:"25%"}}),vt(B,{label:n,large:!0,orientation:"horizontal",text:"4",style:{position:"absolute",left:"50%"}}),vt(B,{label:n,large:!0,orientation:"horizontal",text:"6",style:{position:"absolute",left:"75%"}}),vt(B,{label:n,large:!0,orientation:"horizontal",text:"8",style:{position:"absolute",left:"100%"}})]})};Mo.options=mc;Mo.states=cc;Mo.variants=uc;Mo.defaultOptions=Bs;Mo.modifiers=fc;Mo.className=Y.className;import{jsx as Os,jsxs as vc}from"react/jsx-runtime";var Ps="k-spin-button",hc=[],Nc={size:[p.undefined,p.small,p.medium,p.large],fillMode:[b.undefined,b.solid,b.flat,b.outline,b.clear,b.link]},Er={increaseLabel:"Increase value",decreaseLabel:"Decrease value"},Dt=e=>{let{size:t,fillMode:o,disabled:a,increaseLabel:n=Er.increaseLabel,decreaseLabel:s=Er.decreaseLabel,...l}=e;return vc("span",{...l,className:r(Ps,e.className),children:[Os(d,{className:"k-spinner-increase",icon:"chevron-up",size:t,fillMode:o,disabled:a,"aria-label":n}),Os(d,{className:"k-spinner-decrease",icon:"chevron-down",size:t,fillMode:o,disabled:a,"aria-label":s})]})};Dt.states=hc;Dt.options=Nc;Dt.className=Ps;Dt.defaultOptions=Er;Dt.moduleName=null;Dt.folderName=null;var Ks="numeric-textbox",Rs="numerictextbox";import{Fragment as ws,jsx as St,jsxs as Br}from"react/jsx-runtime";var _s="k-numerictextbox",Cc=[i.hover,i.focus,i.valid,i.invalid,i.loading,i.required,i.disabled,i.readonly],Lc={size:[p.undefined,p.small,p.medium,p.large],rounded:[u.undefined,u.none,u.small,u.medium,u.large,u.full],fillMode:[b.undefined,b.solid,b.flat,b.outline]},ln={showSpinButton:!0,showClearButton:!0,separators:!0},X=e=>{let{size:t,rounded:o,fillMode:a,separators:n=ln.separators,showClearButton:s=ln.showClearButton,showSpinButton:l=ln.showSpinButton,prefix:m,suffix:f,value:N,placeholder:h,hover:M,focus:c,valid:C,invalid:g,required:S,loading:T,disabled:A,readonly:K,id:$,"aria-label":ie,"aria-describedby":he,...pe}=e;return Br(Z,{...pe,size:t,rounded:o,fillMode:a,hover:M,focus:c,valid:C,invalid:g,required:S,loading:T,disabled:A,readonly:K,className:r(e.className,_s),children:[m&&Br(ws,{children:[St(_e,{children:m}),n&&St(Se,{})]}),St(Ve,{id:$,placeholder:h,value:N,role:"spinbutton",disabled:A,"aria-label":ie,"aria-describedby":he,"aria-invalid":g?"true":void 0}),St(ge,{valid:C,invalid:g,loading:T,disabled:A}),St(we,{loading:T,disabled:A}),s&&St(Fe,{loading:T,disabled:A,readonly:K,value:N}),f&&Br(ws,{children:[n&&St(Se,{}),St(De,{children:f})]}),l&&St(Dt,{className:"k-input-spinner",size:t,fillMode:a,disabled:A})]})};X.states=Cc;X.options=Lc;X.className=_s;X.defaultOptions=ln;X.moduleName=Ks;X.folderName=Rs;var Ea=X;import{jsx as Mc}from"react/jsx-runtime";var Ds=e=>Mc(Ea,{...e});import Pr from"react";import{jsx as Hs}from"react/jsx-runtime";var gc="k-list-group-sticky-header",Or=e=>Hs("div",{className:r(gc,e.className),children:Hs("div",{className:"k-list-header-text",children:e.children})});import{jsx as Ic}from"react/jsx-runtime";var Sc="k-no-data",dn=e=>{let{live:t,...o}=e;return Ic("span",{...o,className:r(Sc,e.className),"aria-live":t?"polite":void 0,children:e.children})};var Yt="list",go=Yt;import{jsx as zs,jsxs as Gs}from"react/jsx-runtime";var Kr="k-list",kc=[],Ac={size:[p.undefined,p.small,p.medium,p.large]},Tc={},H=e=>{let{size:t,virtualization:o,children:a,header:n,selectAll:s,optionLabel:l,customValue:m,noData:f,screenReaders:N,...h}=e,c=Pr.Children.toArray(a)[0],C=c?.props?.children?Pr.Children.count(c.props.children):Pr.Children.count(a);return Gs("div",{...h,className:r(e.className,Kr,k(Kr,{size:t}),{"k-virtual-list":o}),children:[l,s,m,n&&zs(Or,{children:n}),a||(f!==void 0?f:zs(dn,{live:!0,children:"No data found."})),N&&a&&Gs(dn,{className:"k-sr-only",live:!0,children:[C," items found."]})]})};H.states=kc;H.options=Ac;H.className=Kr;H.defaultOptions=Tc;H.moduleName=Yt;H.folderName=go;import{jsx as Oc}from"react/jsx-runtime";var Us="k-list-container",yc=[],Ec={},Bc={},So=e=>{let{...t}=e;return Oc("div",{...t,className:r(e.className,Us),children:e.children})};So.states=yc;So.options=Ec;So.className=Us;So.defaultOptions=Bc;So.moduleName=Yt;So.folderName=go;var Qt="checkbox",Io=Qt;import{jsx as Fs}from"react/jsx-runtime";var pn="k-checkbox",Pc=[i.hover,i.focus,i.valid,i.invalid,i.required,i.disabled,i.checked,i.indeterminate],Kc={size:[p.undefined,p.small,p.medium,p.large],rounded:[u.undefined,u.none,u.small,u.medium,u.large,u.full]},Rc={},$e=e=>{let{id:t,checked:o,indeterminate:a,hover:n,focus:s,disabled:l,invalid:m,valid:f,required:N,size:h,rounded:M,wrapperRole:c,...C}=e;return Fs("span",{className:"k-checkbox-wrap",role:c,children:Fs("input",{...C,id:t,type:"checkbox",defaultChecked:o,required:N,disabled:l||void 0,"aria-invalid":m?"true":void 0,className:r(e.className,pn,k(pn,{size:h,rounded:M}),I(pn,{hover:n,focus:s,disabled:l,invalid:m,valid:f,indeterminate:a,checked:o}))})})};$e.states=Pc;$e.options=Kc;$e.className=pn;$e.defaultOptions=Rc;$e.moduleName=Qt;$e.folderName=Io;var mt=$e;import{jsx as Dc}from"react/jsx-runtime";var Vs="k-checkbox-list",wc=[],_c={},$s={layout:"vertical"},ke=e=>{let{layout:t=$s.layout,...o}=e;return Dc("ul",{...o,className:r(e.className,Vs,{[`k-list-${t}`]:t}),children:e.children})};ke.states=wc;ke.options=_c;ke.className=Vs;ke.defaultOptions=$s;ke.moduleName=Qt;ke.folderName=Io;import{jsx as Uc}from"react/jsx-runtime";var Xs="k-checkbox-list-item",Hc=[],zc={},Gc={},Ae=e=>{let{...t}=e;return Uc("li",{...t,className:r(e.className,Xs),children:e.children})};Ae.states=Hc;Ae.options=zc;Ae.className=Xs;Ae.defaultOptions=Gc;Ae.moduleName=Qt;Ae.folderName=Io;import{Fragment as Fc,jsx as Ws,jsxs as Vc}from"react/jsx-runtime";var It=({children:e="Label",id:t="cb-label-after",...o})=>Vc(Fc,{children:[Ws(mt,{id:t,...o}),Ws("label",{className:"k-checkbox-label",htmlFor:t,children:e})]});import{Fragment as wA,jsx as RA,jsxs as _A}from"react/jsx-runtime";import{Fragment as UA,jsx as GA,jsxs as FA}from"react/jsx-runtime";import{Fragment as JA,jsx as WA,jsxs as qA}from"react/jsx-runtime";import{jsx as jA}from"react/jsx-runtime";import{jsx as aT}from"react/jsx-runtime";import{jsx as sT}from"react/jsx-runtime";import{jsx as tt,jsxs as Js}from"react/jsx-runtime";var $c=ke.options,Xc=ke.states,Wc={...ke.defaultOptions,variant:"vertical"},Jc=[{name:"vertical",title:"Vertical"},{name:"horizontal",title:"Horizontal"}],qc=[],ko=e=>{let{variant:t,...o}=e;return t==="horizontal"?Js(ke,{layout:"horizontal",...o,children:[tt(Ae,{children:tt(It,{id:y("cb"),defaultChecked:!0,children:"Label"})}),tt(Ae,{children:tt(It,{id:y("cb"),children:"Label"})}),tt(Ae,{children:tt(It,{id:y("cb"),children:"Label"})})]}):Js(ke,{...o,children:[tt(Ae,{children:tt(It,{id:y("cb"),defaultChecked:!0,children:"Label"})}),tt(Ae,{children:tt(It,{id:y("cb"),children:"Label"})}),tt(Ae,{children:tt(It,{id:y("cb"),children:"Label"})})]})};ko.options=$c;ko.states=Xc;ko.variants=Jc;ko.defaultOptions=Wc;ko.modifiers=qc;ko.className=ke.className;import{jsx as tu}from"react/jsx-runtime";var Yc=mt.options,Qc=mt.states,Zc=mt.defaultOptions,jc=[],eu=[],Ao=e=>tu(It,{id:y("checkbox"),...e,defaultChecked:!0,children:"Label"});Ao.options=Yc;Ao.states=Qc;Ao.variants=jc;Ao.defaultOptions=Zc;Ao.modifiers=eu;Ao.className=mt.className;import{jsx as To,jsxs as ru}from"react/jsx-runtime";var Rr="k-list-item",ou=[i.hover,i.focus,i.selected,i.disabled],au={},nu={},P=e=>{let{text:t,iconName:o,iconClassName:a,showCheckbox:n,checked:s,hover:l,focus:m,selected:f,disabled:N,actions:h,description:M,id:c,...C}=e,g=t||e.children,S=t||(typeof g=="string"?g:void 0);return ru("li",{...C,id:c,role:"option",tabIndex:m?0:-1,"aria-selected":f?"true":"false","aria-disabled":N?"true":void 0,className:r(e.className,Rr,I(Rr,{hover:l,focus:m,disabled:N,selected:f})),children:[n&&To($e,{checked:s,disabled:N,"aria-label":S,tabIndex:-1}),o&&To("span",{className:"k-list-item-icon-wrapper",children:To(L,{icon:o,className:r("k-list-item-icon",a)})}),To("span",{className:"k-list-item-text",children:g}),h&&To("div",{className:"k-list-item-actions",children:h}),M&&To("span",{className:"k-list-item-description",children:M})]})};P.states=ou;P.options=au;P.className=Rr;P.defaultOptions=nu;P.moduleName=Yt;P.folderName=go;import{jsx as su}from"react/jsx-runtime";var iu="k-list-ul",Ht=e=>{let{children:t,role:o,id:a,...n}=e;return su("ul",{...n,id:a,role:o,className:r(iu,e.className),children:t})};import{jsx as wr,jsxs as du}from"react/jsx-runtime";var lu="k-list-content",W=e=>{let{virtualization:t,grouping:o,"aria-label":a,"aria-labelledby":n,listboxId:s,...l}=e;return du("div",{...l,className:r(lu,e.className),role:o?"listbox":void 0,id:o?s:void 0,"aria-label":o?a:void 0,"aria-labelledby":o?n:void 0,children:[o?e.children:wr(Ht,{role:"listbox",id:s,"aria-label":a,"aria-labelledby":n,children:e.children}),t&&wr("div",{className:"k-height-container",children:wr("div",{})})]})};import{jsx as _r,jsxs as uu}from"react/jsx-runtime";var mn="k-list-sticky-header",pu=[i.hover,i.focus,i.selected],mu={},cu={},cn=e=>{let{label:t="Select all",showCheckbox:o=!0,checked:a,indeterminate:n,hover:s,focus:l,selected:m,...f}=e;return _r("div",{...f,className:r(mn,e.className),children:uu("div",{className:r(`${mn}-item`,I(`${mn}-item`,{hover:s,focus:l,selected:m})),"aria-label":t,...!o&&{tabIndex:0,"aria-selected":m?"true":"false"},children:[o&&_r($e,{checked:a,indeterminate:n,"aria-label":t}),_r("span",{className:"k-list-item-text",children:t})]})})};cn.states=pu;cn.options=mu;cn.className=mn;cn.defaultOptions=cu;import{Fragment as ty,jsx as ey,jsxs as oy}from"react/jsx-runtime";import{jsx as sy,jsxs as ly}from"react/jsx-runtime";import{jsx as hu}from"react/jsx-runtime";var Dr="k-list-optionlabel",fu=[i.hover,i.focus,i.selected,i.disabled],bu={},xu={},un=e=>{let{text:t,hover:o,focus:a,selected:n,disabled:s,...l}=e;return hu("div",{...l,className:r(Dr,I(Dr,{hover:o,focus:a,selected:n,disabled:s})),children:t})};un.states=fu;un.options=bu;un.className=Dr;un.defaultOptions=xu;import{jsx as Lu}from"react/jsx-runtime";var Hr="k-list-custom-value",Nu=[i.hover,i.focus,i.selected,i.disabled],vu={},Cu={},zt=e=>{let{text:t,hover:o,focus:a,selected:n,disabled:s,...l}=e;return Lu("div",{...l,className:r(Hr,I(Hr,{hover:o,focus:a,selected:n,disabled:s})),children:t})};zt.states=Nu;zt.options=vu;zt.className=Hr;zt.defaultOptions=Cu;import{Fragment as Cy,jsx as vy,jsxs as Ly}from"react/jsx-runtime";import{Fragment as Ay,jsx as ky,jsxs as Ty}from"react/jsx-runtime";import{Fragment as Ry,jsx as Py,jsxs as Ky}from"react/jsx-runtime";import{Fragment as Uy,jsx as zy,jsxs as Gy}from"react/jsx-runtime";import{jsx as Xy}from"react/jsx-runtime";import{Fragment as Zy,jsx as Qy,jsxs as jy}from"react/jsx-runtime";import{Fragment as rE,jsx as nE,jsxs as iE}from"react/jsx-runtime";var qs="dropdown-list",Ys="dropdownlist";import{Fragment as Su,jsx as Te,jsxs as zr}from"react/jsx-runtime";var Qs="k-dropdownlist",Mu=[i.hover,i.focus,i.valid,i.invalid,i.required,i.disabled,i.loading,i.readonly],gu={size:[p.undefined,p.small,p.medium,p.large],rounded:[u.undefined,u.none,u.small,u.medium,u.large,u.full],fillMode:[b.undefined,b.solid,b.flat,b.outline]},Gr={showValue:!0,arrowIconName:"chevron-down"},me=e=>{let{size:t,rounded:o,fillMode:a,arrowIconName:n=Gr.arrowIconName,showValue:s=Gr.showValue,valueIconName:l,prefix:m,suffix:f,value:N,placeholder:h,hover:M,focus:c,valid:C,invalid:g,required:S,loading:T,disabled:A,readonly:K,popup:$,opened:ie,adaptive:he,adaptiveSettings:pe,adaptiveTitle:ce,adaptiveSubtitle:ba,adaptiveFilter:Xt,id:Wt,activeDescendant:xa,"aria-label":Un,...Fn}=e,Vn=Wt?`${Wt}-listbox`:void 0,Bi=Wt?`${Wt}-value`:void 0;return zr(Su,{children:[zr(xt,{...Fn,id:Wt,size:t,rounded:o,fillMode:a,hover:M,focus:c,valid:C,invalid:g,required:S,loading:T,disabled:A,readonly:K,className:r(e.className,Qs,{"k-icon-picker":!s&&l}),role:"combobox","aria-haspopup":"listbox","aria-expanded":ie?"true":"false","aria-controls":ie?Vn:void 0,"aria-activedescendant":ie&&xa?xa:void 0,"aria-describedby":ie?Bi:void 0,"aria-disabled":A?"true":void 0,"aria-label":Un,tabIndex:0,children:[Te(_e,{children:m}),Te(qt,{placeholder:h,value:N,showValue:s,valueIconName:l,id:Bi}),Te(ge,{valid:C,invalid:g,loading:T,disabled:A}),Te(we,{loading:T,disabled:A}),Te(De,{children:f}),Te(d,{className:"k-input-button",icon:n,size:e.size,fillMode:e.fillMode,"aria-label":h||"Toggle dropdown",tabIndex:-1})]}),ie&&$&&Te(U,{className:"k-list-container k-dropdownlist-popup",containerRole:"region",containerAriaLabel:"Dropdown suggestions",children:$}),he&&Te(oe,{adaptive:!0,...pe,header:Te(Ie,{actionsEnd:Te(d,{icon:"check",themeColor:"primary",size:"large",fillMode:"flat","aria-label":"Apply selection"}),filter:Xt,inputValue:N,inputPlaceholder:h,title:ce,subtitle:ba}),children:Te("div",{className:"k-list-container",children:Te(H,{size:"large",children:zr(W,{"aria-label":"Options",children:[Te(P,{text:"List item"}),Te(P,{text:"List item"}),Te(P,{text:"List item"})]})})})})]})};me.states=Mu;me.options=gu;me.className=Qs;me.defaultOptions=Gr;me.moduleName=qs;me.folderName=Ys;import{jsx as GE}from"react/jsx-runtime";import{jsx as WE,jsxs as JE}from"react/jsx-runtime";import{Fragment as aB,jsx as tB,jsxs as oB}from"react/jsx-runtime";import{jsx as lB}from"react/jsx-runtime";import{jsx as fB,jsxs as bB}from"react/jsx-runtime";import{Fragment as SB,jsx as MB,jsxs as gB}from"react/jsx-runtime";import{jsx as yB}from"react/jsx-runtime";import{Fragment as Eu,jsx as Gt,jsxs as Zs}from"react/jsx-runtime";var Iu=me.states,ku=me.defaultOptions,Au=me.options,Tu=[{name:"opened",title:"Opened"}],yu=[],Eo=e=>{let{modifiers:t,...o}=e,a={},n=Zs(Eu,{children:[Gt("div",{className:"k-list-filter",children:Gt(Qe,{})}),Gt(H,{style:{width:300},size:o.size,children:Zs(W,{children:[Gt(P,{children:"List item"}),Gt(P,{children:"List item"}),Gt(P,{children:"List item"})]})})]});return Object.keys(t||{}).forEach(s=>{s==="opened"&&(a.opened=!!t?.[s],a.popup=t?.[s]?n:void 0)}),Gt("div",{children:Gt(me,{placeholder:"Value",style:{width:300},...o,...a})})};Eo.options=Au;Eo.states=Iu;Eo.variants=yu;Eo.defaultOptions=ku;Eo.modifiers=Tu;Eo.className=me.className;import{Fragment as QB,jsx as YB}from"react/jsx-runtime";import{Fragment as aO,jsx as oO}from"react/jsx-runtime";import{jsx as sO}from"react/jsx-runtime";import{jsx as Ur}from"react/jsx-runtime";var Bu=X.states,Ou=X.defaultOptions,Pu=X.options,Ku=[{name:"prefix",title:"Prefix"},{name:"suffix",title:"Suffix"},{name:"clear-button",title:"`Clear` Button"},{name:"spin-button",title:"`Spin` Button"}],Ru=[],Bo=e=>{let{modifiers:t,...o}=e,a={};return Object.keys(t||{}).forEach(n=>{switch(n){case"prefix":a.prefix=t?.[n]?Ur(me,{size:o.size,fillMode:"flat",value:"mm"}):void 0;break;case"suffix":a.suffix=t?.[n]?Ur(dr,{children:"mm"}):void 0;break;case"clear-button":a.showClearButton=t?.[n];break;case"spin-button":a.showSpinButton=t?.[n];break;default:break}}),Ur(Ds,{value:"Value",style:{width:300},...o,...a})};Bo.options=Pu;Bo.states=Bu;Bo.variants=Ru;Bo.defaultOptions=Ou;Bo.modifiers=Ku;Bo.className=X.className;import{Fragment as Oa,jsx as w,jsxs as ae}from"react/jsx-runtime";var js="k-colorgradient-inputs",wu=[],_u={size:[p.undefined,p.small,p.medium,p.large]},el={mode:"rgba"},Oo=e=>{let{mode:t=el.mode,size:o,...a}=e;return ae("div",{...a,className:r(js,"k-hstack"),children:[w("div",{className:"k-vstack",children:w(d,{fillMode:"flat",icon:"caret-alt-expand",className:"k-colorgradient-toggle-mode",size:o,"aria-label":"Toggle color input format"})}),t==="rgba"&&ae(Oa,{children:[ae("div",{className:"k-vstack",children:[w(X,{showSpinButton:!1,showClearButton:!1,value:"132",size:o,"aria-label":"Red channel"}),w("label",{className:"k-colorgradient-input-label",children:"R"})]}),ae("div",{className:"k-vstack",children:[w(X,{showSpinButton:!1,showClearButton:!1,value:"132",size:o,"aria-label":"Green channel"}),w("label",{className:"k-colorgradient-input-label",children:"G"})]}),ae("div",{className:"k-vstack",children:[w(X,{showSpinButton:!1,showClearButton:!1,value:"132",size:o,"aria-label":"Blue channel"}),w("label",{className:"k-colorgradient-input-label",children:"B"})]}),ae("div",{className:"k-vstack",children:[w(X,{showSpinButton:!1,showClearButton:!1,value:"1.00",size:o,"aria-label":"Alpha channel"}),w("label",{className:"k-colorgradient-input-label",children:"A"})]})]}),t==="rgb"&&ae(Oa,{children:[ae("div",{className:"k-vstack",children:[w(X,{showSpinButton:!1,showClearButton:!1,value:"132","aria-label":"Red channel"}),w("label",{className:"k-colorgradient-input-label",children:"R"})]}),ae("div",{className:"k-vstack",children:[w(X,{showSpinButton:!1,showClearButton:!1,value:"132","aria-label":"Green channel"}),w("label",{className:"k-colorgradient-input-label",children:"G"})]}),ae("div",{className:"k-vstack",children:[w(X,{showSpinButton:!1,showClearButton:!1,value:"132","aria-label":"Blue channel"}),w("label",{className:"k-colorgradient-input-label",children:"B"})]})]}),t==="hsva"&&ae(Oa,{children:[ae("div",{className:"k-vstack",children:[w(X,{showSpinButton:!1,showClearButton:!1,value:"132","aria-label":"Hue channel"}),w("label",{className:"k-colorgradient-input-label",children:"H"})]}),ae("div",{className:"k-vstack",children:[w(X,{showSpinButton:!1,showClearButton:!1,value:"132","aria-label":"Saturation channel"}),w("label",{className:"k-colorgradient-input-label",children:"S"})]}),ae("div",{className:"k-vstack",children:[w(X,{showSpinButton:!1,showClearButton:!1,value:"132","aria-label":"Value channel"}),w("label",{className:"k-colorgradient-input-label",children:"V"})]}),ae("div",{className:"k-vstack",children:[w(X,{showSpinButton:!1,showClearButton:!1,value:"1.00","aria-label":"Alpha channel"}),w("label",{className:"k-colorgradient-input-label",children:"A"})]})]}),t==="hsv"&&ae(Oa,{children:[ae("div",{className:"k-vstack",children:[w(X,{showSpinButton:!1,showClearButton:!1,value:"132","aria-label":"Hue channel"}),w("label",{className:"k-colorgradient-input-label",children:"H"})]}),ae("div",{className:"k-vstack",children:[w(X,{showSpinButton:!1,showClearButton:!1,value:"132","aria-label":"Saturation channel"}),w("label",{className:"k-colorgradient-input-label",children:"S"})]}),ae("div",{className:"k-vstack",children:[w(X,{showSpinButton:!1,showClearButton:!1,value:"132","aria-label":"Value channel"}),w("label",{className:"k-colorgradient-input-label",children:"V"})]})]}),t==="hex"&&w(Oa,{children:ae("div",{className:"k-vstack k-flex-1",children:[w(Ne,{showClearButton:!1,value:"#b88484AA",className:"k-hex-value"}),w("label",{className:"k-colorgradient-input-label",children:"HEX"})]})})]})};Oo.states=wu;Oo.options=_u;Oo.className=js;Oo.defaultOptions=el;import{jsx as Zt,jsxs as jt}from"react/jsx-runtime";var tl="k-colorgradient-color-contrast",Du=[],Hu={},zu={},Po=()=>jt("div",{className:r(tl,"k-vbox"),children:[jt("div",{className:"k-contrast-ratio",children:[Zt("span",{className:"k-contrast-ratio-text",children:"Contrast ratio: 7.1"}),jt("span",{className:"k-contrast-validation !k-text-success",children:[Zt(L,{icon:"check"}),Zt(L,{icon:"check"})]})]}),jt("div",{children:[Zt("span",{children:"AA: 4.5"}),jt("span",{className:"k-contrast-validation !k-text-success",children:["Pass",Zt(L,{icon:"check"})]})]}),jt("div",{children:[Zt("span",{children:"AAA: 7.0"}),jt("span",{className:"k-contrast-validation !k-text-error",children:["Fail",Zt(L,{icon:"x"})]})]})]});Po.states=Du;Po.options=Hu;Po.className=tl;Po.defaultOptions=zu;var ol="color-gradient",al="colorgradient";import{jsx as ot,jsxs as Pa}from"react/jsx-runtime";var fn="k-colorgradient",Gu=[i.hover,i.focus,i.readonly,i.disabled],Uu={size:[p.undefined,p.small,p.medium,p.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"},fe=e=>{let{size:t,mode:o=Ct.mode,readonly:a=Ct.readonly,disabled:n=Ct.disabled,gradientStyle:s=Ct.gradientStyle,dragHandleStyle:l=Ct.dragHandleStyle,alphaStyle:m=Ct.alphaStyle,alphaStyleHorizontal:f=Ct.alphaStyleHorizontal,contrast:N=Ct.contrast,dir:h,hover:M,focus:c,hoverHandle:C,focusHandle:g,canvasOrientation:S=Ct.canvasOrientation,role:T,tabIndex:A,...K}=e;return Pa("div",{...K,role:T??"textbox","aria-label":T==="none"?void 0:"Color gradient",tabIndex:A??0,"aria-disabled":n?"true":void 0,className:r(e.className,fn,k(fn,{size:t}),I(fn,{hover:M,focus:c,readonly:a,disabled:n})),dir:h,children:[!S||S==="horizontal"&&Pa("div",{className:"k-colorgradient-canvas k-hstack",children:[ot("div",{className:"k-hsv-rectangle",style:s,children:ot("div",{className:"k-hsv-gradient",children:ot("div",{className:r("k-hsv-draghandle","k-draghandle",{"k-hover":C,"k-focus":g}),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})})}),Pa("div",{className:"k-hsv-controls k-hstack",children:[ot(yr,{className:"k-hue-slider",hover:C,focus:g}),o!=="rgb"&&o!=="hsv"&&ot(yr,{className:"k-alpha-slider",hover:C,focus:g,trackStyle:m})]})]}),S==="vertical"&&Pa("div",{className:"k-colorgradient-canvas k-vstack",children:[ot("div",{className:"k-hsv-rectangle",style:s,children:ot("div",{className:"k-hsv-gradient",children:ot("div",{className:r("k-hsv-draghandle","k-draghandle",{"k-hover":C,"k-focus":g}),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})})}),Pa("div",{className:"k-hsv-controls k-vstack",children:[ot(Tr,{className:"k-hue-slider",hover:C,focus:g}),o!=="rgb"&&o!=="hsv"&&ot(Tr,{className:"k-alpha-slider",hover:C,focus:g,trackStyle:f})]})]}),ot(Oo,{mode:e.mode,size:t}),N&&ot(Po,{})]})};fe.states=Gu;fe.options=Uu;fe.className=fn;fe.defaultOptions=Ct;fe.moduleName=ol;fe.folderName=al;import{jsx as Fu}from"react/jsx-runtime";var bn=e=>Fu(fe,{...e});import{jsx as XO}from"react/jsx-runtime";import{jsx as YO}from"react/jsx-runtime";import{jsx as Fr}from"react/jsx-runtime";var Vu=fe.options,$u=fe.states,Xu={...fe.defaultOptions,variant:"rgba"},Wu=[{name:"rgba",title:"RGBA"},{name:"rgb",title:"RGB"},{name:"hex",title:"HEX"}],Ju=[],Ko=e=>{let{variant:t,...o}=e;switch(t){case"hex":return Fr(bn,{...o,mode:t});case"rgb":return Fr(bn,{...o,mode:t});default:return Fr(bn,{...o,mode:t})}};Ko.options=Vu;Ko.states=$u;Ko.variants=Wu;Ko.defaultOptions=Xu;Ko.modifiers=Ju;Ko.className=fe.className;import{jsx as qu}from"react/jsx-runtime";var Vr=e=>qu("tr",{role:"row",children:e.children});import{jsx as Zu}from"react/jsx-runtime";var $r="k-colorpalette-tile",Yu=[i.hover,i.focus,i.selected],Qu={},Ut=e=>{let{color:t,tileSize:o,hover:a,focus:n,selected:s,...l}=e,m={backgroundColor:t,width:o?o+"px":"",height:o?o+"px":""};return Zu("td",{...l,role:"gridcell","aria-label":t,"aria-selected":s?"true":void 0,className:r(e.className,$r,I($r,{hover:a,focus:n,selected:s})),style:m})};Ut.states=Yu;Ut.options=Qu;Ut.className=$r;Ut.moduleName=null;Ut.folderName=null;var nl="color-palette",rl="colorpalette";import{jsx as Ka}from"react/jsx-runtime";var xn="k-colorpalette",ju=[i.disabled],ef={size:[p.undefined,p.small,p.medium,p.large]},il={columns:10},He=e=>{let{size:t,palette:o,columns:a=il.columns,tileSize:n,disabled:s,...l}=e,m=[];if(o){let f=a||o.columns,N=o.colors?o.colors:o;Array.isArray(N)&&Array.from({length:Math.ceil(N.length/f)},(h,M)=>{let c=[];N.slice(M*f,(M+1)*f).map((g,S)=>{c.push(Ka(Ut,{color:g,tileSize:n},S))});let C=Ka(Vr,{children:c},M);m.push(C)})}return Ka("div",{...l,role:"grid","aria-label":"Color palette",tabIndex:0,"aria-disabled":s?"true":void 0,className:r(e.className,xn,I(xn,{disabled:s}),k(xn,{size:t})),children:Ka("table",{className:"k-colorpalette-table",role:"none",children:Ka("tbody",{children:m.length>0?m:e.children})})})};He.states=ju;He.options=ef;He.className=xn;He.defaultOptions=il;He.moduleName=nl;He.folderName=rl;var hn=He;var Ra={basic:{colors:["#000000","#7f7f7f","#880015","#ed1c24","#ff7f27","#fff200","#22b14c","#00a2e8","#3f48cc","#a349a4","#ffffff","#c3c3c3","#b97a57","#ffaec9","#ffc90e","#efe4b0","#b5e61d","#99d9ea","#7092be","#c8bfe7"],columns:10},office:{colors:["#ffffff","#000000","#e6e6e6","#435569","#4371c4","#ed7e32","#a5a4a5","#febf04","#5a9bd5","#71ae48","#f2f2f3","#7f7f7f","#d1cece","#d5dde3","#dae1f4","#fce5d4","#deeded","#fff2cc","#deeaf6","#e1efd9","#d7d8d8","#585959","#aeabab","#adbaca","#b4c5e7","#f6caac","#dbdbdb","#ffe498","#bcd6ee","#c5e0b2","#bfbfc0","#3f3f3f","#767070","#8595b1","#8fabdb","#f5b183","#c9c8c9","#fed965","#9bc4e5","#a8d08d","#a5a5a6","#262625","#393939","#334050","#2e5496","#c45a11","#7b7b7a","#bf9000","#2f75b5","#548235","#7f7f7f","#0b0c0c","#161616","#222a34","#203764","#843d0b","#525252","#7f6000","#1d4d79","#375623"],columns:10},apex:{colors:["#ffffff","#000000","#c9c2d1","#69676d","#ceb966","#9cb084","#6bb1c9","#6585cf","#7e6bc9","#a379bb","#f2f2f2","#7f7f7f","#f4f2f5","#e0e0e2","#f5f1e0","#ebefe6","#e1eff4","#e0e6f5","#e5e1f4","#ece4f1","#d8d8d8","#595959","#e9e6ec","#c2c1c5","#ebe3c1","#d7dfcd","#c3dfe9","#c1ceeb","#cbc3e9","#dac9e3","#bfbfbf","#3f3f3f","#dedae3","#a4a3a8","#e1d5a3","#c3cfb5","#a6d0de","#a2b5e2","#b1a6de","#c7aed6","#a5a5a5","#262626","#9688a5","#4e4d51","#ae9638","#758c5a","#3d8da9","#365bb0","#533da9","#7d4d99","#7f7f7f","#0c0c0c","#635672","#343336","#746425","#4e5d3c","#295e70","#243c75","#372970","#533366"],columns:10},austin:{colors:["#ffffff","#000000","#caf278","#3e3d2d","#94c600","#71685a","#ff6700","#909465","#956b43","#fea022","#f2f2f2","#7f7f7f","#f4fce4","#dddcd0","#efffc0","#e3e1dc","#ffe0cb","#e8e9df","#ece1d6","#feecd2","#d8d8d8","#595959","#e9f9c9","#bbb9a1","#dfff82","#c8c3ba","#ffc299","#d2d4c0","#dac3ad","#fed9a6","#bfbfbf","#3f3f3f","#dff7ae","#ada598","#cfff43","#ada598","#ffa365","#bcbfa1","#c8a585","#fec67a","#a5a5a5","#262626","#a9ea25","#2e2d21","#6f9400","#544e43","#bf4d00","#6c6f4b","#6f5032","#d77b00","#7f7f7f","#0c0c0c","#74a50f","#1f1e16","#4a6300","#38342d","#7f3300","#484a32","#4a3521","#8f5200"],columns:10},clarity:{colors:["#ffffff","#292934","#f3f2dc","#d2533c","#93a299","#ad8f67","#726056","#4c5a6a","#808da0","#79463d","#f2f2f2","#e7e7ec","#e7e5b9","#f6dcd8","#e9ecea","#eee8e0","#e4dedb","#d8dde3","#e5e8ec","#e9d6d3","#d8d8d8","#c4c4d1","#d5d185","#edbab1","#d3d9d6","#ded2c2","#c9beb8","#b2bcc8","#ccd1d9","#d3aea7","#bfbfbf","#8a8aa3","#aca73b","#e4978a","#bec7c1","#cdbba3","#af9e94","#8c9bac","#b2bac6","#bd857c","#a5a5a5","#56566e","#56531d","#a43925","#6b7c72","#866b48","#554840","#39434f","#5c697b","#5a342d","#7f7f7f","#3b3b4b","#22210b","#6d2619","#47534c","#594730","#39302b","#262d35","#3d4652","#3c231e"],columns:10},slipstream:{colors:["#ffffff","#000000","#b4dcfa","#212745","#4e67c8","#5eccf3","#a7ea52","#5dceaf","#ff8021","#f14124","#f2f2f2","#7f7f7f","#8bc9f7","#c7cce4","#dbe0f4","#def4fc","#edfadc","#def5ef","#ffe5d2","#fcd9d3","#d8d8d8","#595959","#4facf3","#909aca","#b8c2e9","#beeafa","#dbf6b9","#beebdf","#ffcca6","#f9b3a7","#bfbfbf","#3f3f3f","#0d78c9","#5967af","#94a3de","#9ee0f7","#caf297","#9de1cf","#ffb279","#f68d7b","#a5a5a5","#262626","#063c64","#181d33","#31479f","#11b2eb","#81d319","#34ac8b","#d85c00","#c3260c","#7f7f7f","#0c0c0c","#021828","#101322","#202f6a","#0b769c","#568c11","#22725c","#903d00","#821908"],columns:10},metro:{colors:["#ffffff","#000000","#d6ecff","#4e5b6f","#7fd13b","#ea157a","#feb80a","#00addc","#738ac8","#1ab39f","#f2f2f2","#7f7f7f","#a7d6ff","#d9dde4","#e5f5d7","#fad0e4","#fef0cd","#c5f2ff","#e2e7f4","#c9f7f1","#d8d8d8","#595959","#60b5ff","#b3bcca","#cbecb0","#f6a1c9","#fee29c","#8be6ff","#c7d0e9","#94efe3","#bfbfbf","#3f3f3f","#007dea","#8d9baf","#b2e389","#f272af","#fed46b","#51d9ff","#aab8de","#5fe7d5","#a5a5a5","#262626","#003e75","#3a4453","#5ea226","#af0f5b","#c58c00","#0081a5","#425ea9","#138677","#7f7f7f","#0c0c0c","#00192e","#272d37","#3f6c19","#750a3d","#835d00","#00566e","#2c3f71","#0c594f"],columns:10},flow:{colors:["#ffffff","#000000","#dbf5f9","#04617b","#0f6fc6","#009dd9","#0bd0d9","#10cf9b","#7cca62","#a5c249","#f2f2f2","#7f7f7f","#b2e9f2","#b4ecfc","#c7e2fa","#c4eeff","#c9fafc","#c9faed","#e4f4df","#edf2da","#d8d8d8","#595959","#76d9e8","#6adafa","#90c6f6","#89deff","#93f5f9","#94f6db","#cae9c0","#dbe6b6","#bfbfbf","#3f3f3f","#21b2c8","#20c8f7","#59a9f2","#4fceff","#5df0f6","#5ff2ca","#b0dfa0","#c9da91","#a5a5a5","#262626","#105964","#02485c","#0b5394","#0075a2","#089ca2","#0b9b74","#54a838","#7e9532","#7f7f7f","#0c0c0c","#062328","#01303d","#073763","#004e6c","#05686c","#07674d","#387025","#546321"],columns:10},hardcover:{colors:["#ffffff","#000000","#ece9c6","#895d1d","#873624","#d6862d","#d0be40","#877f6c","#972109","#aeb795","#f2f2f2","#7f7f7f","#e1dca5","#f2e0c6","#f0d0c9","#f6e6d5","#f5f2d8","#e7e5e1","#fbc7bc","#eef0e9","#d8d8d8","#595959","#d0c974","#e6c28d","#e2a293","#eeceaa","#ece5b2","#cfccc3","#f78f7a","#dee2d4","#bfbfbf","#3f3f3f","#a29a36","#daa454","#d4735e","#e6b681","#e2d88c","#b7b2a5","#f35838","#ced3bf","#a5a5a5","#262626","#514d1b","#664515","#65281a","#a2641f","#a39428","#655f50","#711806","#879464","#7f7f7f","#0c0c0c","#201e0a","#442e0e","#431b11","#6c4315","#6d621a","#433f35","#4b1004","#5a6243"],columns:10},trek:{colors:["#ffffff","#000000","#fbeec9","#4e3b30","#f0a22e","#a5644e","#b58b80","#c3986d","#a19574","#c17529","#f2f2f2","#7f7f7f","#f7e09e","#e1d6cf","#fcecd5","#eddfda","#f0e7e5","#f3eae1","#ece9e3","#f5e3d1","#d8d8d8","#595959","#f3cc5f","#c4ad9f","#f9d9ab","#dcc0b6","#e1d0cc","#e7d5c4","#d9d4c7","#ebc7a3","#bfbfbf","#3f3f3f","#d29f0f","#a78470","#f6c781","#cba092","#d2b9b2","#dbc1a7","#c6bfab","#e1ac76","#a5a5a5","#262626","#694f07","#3a2c24","#c87d0e","#7b4b3a","#926255","#a17242","#7b7153","#90571e","#7f7f7f","#0c0c0c","#2a1f03","#271d18","#855309","#523226","#614138","#6b4c2c","#524b37","#603a14"],columns:10},verve:{colors:["#ffffff","#000000","#d2d2d2","#666666","#ff388c","#e40059","#9c007f","#68007f","#005bd3","#00349e","#f2f2f2","#7f7f7f","#bdbdbd","#e0e0e0","#ffd7e8","#ffc6dc","#ffb8f1","#f1b2ff","#c3dcff","#b8cfff","#d8d8d8","#595959","#9d9d9d","#c1c1c1","#ffafd1","#ff8eba","#ff71e4","#e365ff","#87baff","#72a0ff","#bfbfbf","#3f3f3f","#696969","#a3a3a3","#ff87ba","#ff5597","#ff2ad7","#d519ff","#4b98ff","#2b71ff","#a5a5a5","#262626","#343434","#4c4c4c","#e90062","#ab0042","#75005f","#4e005f","#00449e","#002676","#7f7f7f","#0c0c0c","#151515","#333333","#9b0041","#72002c","#4e003f","#34003f","#002d69","#00194f"],columns:10},monochrome:{colors:["#000000","#1a1a1a","#333333","#4d4d4d","#666666","#808080","#999999","#b3b3b3","#cccccc","#e6e6e6","#f2f2f2","#ffffff"],columns:12}};import{jsx as tf}from"react/jsx-runtime";var sl=e=>tf(hn,{palette:Ra.basic,...e});import{jsx as BP}from"react/jsx-runtime";import{jsx as _P,jsxs as DP}from"react/jsx-runtime";import{jsx as df}from"react/jsx-runtime";var of=He.options,af=He.states,nf={...He.defaultOptions,variant:"basic"},rf=[{name:"basic",title:"Basic"},{name:"monochrome",title:"Monochrome"}],sf={basic:{colors:["#000000","#7f7f7f","#880015","#ed1c24","#ff7f27","#fff200","#22b14c","#00a2e8","#3f48cc","#a349a4","#ffffff","#c3c3c3","#b97a57","#ffaec9","#ffc90e","#efe4b0","#b5e61d","#99d9ea","#7092be","#c8bfe7"],columns:10},monochrome:{colors:["#000000","#1a1a1a","#333333","#4d4d4d","#666666","#808080","#999999","#b3b3b3","#cccccc","#e6e6e6","#f2f2f2","#ffffff"],columns:12}},lf=[],Ro=e=>{let{variant:t="basic",...o}=e,a=sf[t];return df(sl,{columns:a.columns,palette:a,...o})};Ro.options=of;Ro.states=af;Ro.variants=rf;Ro.defaultOptions=nf;Ro.modifiers=lf;Ro.className=He.className;var ll="color-editor",dl="coloreditor";import{jsx as at,jsxs as wo}from"react/jsx-runtime";var Nn="k-coloreditor",pf=[i.focus],mf={size:[p.undefined,p.small,p.medium,p.large]},wa={view:"gradient",palette:Ra.office,actionButtons:!0,canvasOrientation:"horizontal"},ne=e=>{let{size:t,view:o=wa.view,palette:a=wa.palette,color:n,currentColor:s,focus:l,focusView:m,dir:f,group:N,actionButtons:h=wa.actionButtons,canvasOrientation:M=wa.canvasOrientation,...c}=e;return wo("div",{...c,role:"textbox","aria-label":"Color editor",tabIndex:0,className:r(e.className,"k-flatcolorpicker",Nn,k(Nn,{size:t}),I(Nn,{focus:l})),dir:f,children:[wo("div",{className:"k-coloreditor-header k-hstack",children:[at("div",{className:"k-coloreditor-header-actions k-hstack",children:N&&wo(O,{fillMode:"flat",children:[at(d,{className:"k-group-start",size:t,fillMode:"flat",icon:"droplet-slider",selected:o==="gradient","aria-label":"Color gradient view"}),at(d,{className:"k-group-end",size:t,fillMode:"flat",icon:"palette",selected:o==="palette","aria-label":"Color palette view"})]})}),at("div",{className:"k-spacer"}),wo("div",{className:"k-coloreditor-header-actions k-hstack",children:[at(d,{fillMode:"flat",icon:"droplet-slash",size:t,"aria-label":"Reset color"}),wo("div",{className:"k-coloreditor-preview k-vstack",children:[at(Ot,{className:"k-coloreditor-preview-color",color:n}),at(Ot,{className:"k-coloreditor-current-color",color:s})]})]})]}),at("div",{className:"k-coloreditor-views k-vstack",children:o==="gradient"?at(fe,{focus:m,size:t,canvasOrientation:M,role:"none",tabIndex:-1}):at(He,{palette:a,size:t})}),h&&wo(z,{className:"k-coloreditor-footer",alignment:"start",children:[at(d,{themeColor:"primary",size:t,className:"k-coloreditor-apply",children:"Apply"}),at(d,{className:"k-coloreditor-cancel",size:t,children:"Cancel"})]})]})};ne.states=pf;ne.options=mf;ne.className=Nn;ne.defaultOptions=wa;ne.moduleName=ll;ne.folderName=dl;var _o=ne;import{jsx as uK}from"react/jsx-runtime";import{jsx as hK}from"react/jsx-runtime";import{jsx as cf}from"react/jsx-runtime";var pl=e=>cf(_o,{group:!0,currentColor:"fuchsia",...e});import{jsx as uf}from"react/jsx-runtime";var ml=e=>uf(_o,{view:"palette",group:!0,currentColor:"fuchsia",...e});import{jsx as cl}from"react/jsx-runtime";var ff=ne.options,bf=ne.states,xf={...ne.defaultOptions,variant:"gradient"},hf=[{name:"gradient",title:"Gradient"},{name:"palette",title:"Palette"}],Nf=[],Do=e=>{let{variant:t,...o}=e;return t==="palette"?cl(ml,{...o,color:"white"}):cl(pl,{...o,color:"rgba(183, 118 , 118, 1.00)"})};Do.options=ff;Do.states=bf;Do.variants=hf;Do.defaultOptions=xf;Do.modifiers=Nf;Do.className=ne.className;var ul="color-picker",fl="colorpicker";import{Fragment as Lf,jsx as nt,jsxs as Xr}from"react/jsx-runtime";var bl="k-colorpicker",vf=[i.hover,i.focus,i.valid,i.invalid,i.required,i.disabled],Cf={size:[p.undefined,p.small,p.medium,p.large],rounded:[u.undefined,u.none,u.small,u.medium,u.large,u.full],fillMode:[b.undefined,b.solid,b.flat,b.outline]},xl={arrowIconName:"chevron-down"},rt=e=>{let{size:t,rounded:o,fillMode:a,arrowIconName:n=xl.arrowIconName,prefix:s,suffix:l,value:m,placeholder:f,hover:N,focus:h,valid:M,invalid:c,required:C,disabled:g,valueIconName:S,popup:T,opened:A,adaptive:K,adaptiveSettings:$,adaptiveTitle:ie,adaptiveSubtitle:he,...pe}=e,ce="colorpicker-popup";return Xr(Lf,{children:[Xr(xt,{...pe,size:t,rounded:o,fillMode:a,hover:N,focus:h,valid:M,invalid:c,required:C,disabled:g,role:"combobox","aria-haspopup":"dialog","aria-expanded":A?"true":"false","aria-controls":A||K?ce:void 0,"aria-label":"Color picker",tabIndex:0,"aria-disabled":g?"true":void 0,className:r(e.className,bl,"k-icon-picker"),children:[nt(_e,{children:s}),nt(qt,{placeholder:f,value:m,showValue:!1,valueIcon:nt(Ot,{className:"k-value-icon",color:m,iconName:S}),valueIconName:S}),nt(De,{children:l}),nt(d,{className:"k-input-button",icon:n,size:t,fillMode:a,tabIndex:-1,"aria-label":"Open color picker",disabled:g})]}),A&&T&&nt(U,{id:ce,className:"k-colorpicker-popup",children:T}),K&&nt(oe,{adaptive:!0,id:ce,...$,header:nt(Ie,{actionsEnd:nt(d,{icon:"check",themeColor:"primary",size:"large",fillMode:"flat","aria-label":"Apply"}),title:ie,subtitle:he}),footer:Xr(Pt,{children:[nt(d,{text:"Cancel",size:"large"}),nt(d,{text:"Set",size:"large",themeColor:"primary"})]}),children:nt(ne,{canvasOrientation:"vertical",size:"large",actionButtons:!1,group:!0})})]})};rt.states=vf;rt.options=Cf;rt.className=bl;rt.defaultOptions=xl;rt.moduleName=ul;rt.folderName=fl;var kt=rt;import{jsx as Mf}from"react/jsx-runtime";var vn=e=>Mf(kt,{...e});import{jsx as eR}from"react/jsx-runtime";import{jsx as rR}from"react/jsx-runtime";import{jsx as dR}from"react/jsx-runtime";import{jsx as uR}from"react/jsx-runtime";import{jsx as hR}from"react/jsx-runtime";import{jsx as LR}from"react/jsx-runtime";import{jsx as eo}from"react/jsx-runtime";var gf=kt.options,Sf=kt.states,hl={...kt.defaultOptions,variant:"color"},If=[{name:"color",title:"Color",default:!0},{name:"no color",title:"No color"},{name:"icon",title:"Icon"}],kf=[{name:"opened",title:"Opened"}],Ho=e=>{let{variant:t,modifiers:o,...a}={...hl,...e},n={};Object.keys(o||{}).forEach(l=>{l==="opened"&&(n.opened=!!o?.[l],n.popup=o?.[l]?eo(ne,{size:a.size,color:"rgba(183, 118 , 118, 1.00)",group:!0}):"")});let s=n.opened?{width:"272px",height:"390px"}:{};switch(t){case"no color":return eo("div",{style:s,children:eo(vn,{...a,...n})});case"icon":return eo("div",{style:s,children:eo(vn,{value:"rgba(183, 118 , 118, 1.00)",valueIconName:"edit-tools",...a,...n})});default:return eo("div",{style:s,children:eo(vn,{value:"rgba(183, 118 , 118, 1.00)",...a,...n})})}};Ho.options=gf;Ho.states=Sf;Ho.variants=If;Ho.defaultOptions=hl;Ho.modifiers=kf;Ho.className=kt.className;var Wr="combobox",Nl=Wr;import{Fragment as Jr,jsx as se,jsxs as _a}from"react/jsx-runtime";var vl="k-combobox",Af=[i.hover,i.focus,i.valid,i.invalid,i.loading,i.required,i.disabled,i.readonly],Tf={size:[p.undefined,p.small,p.medium,p.large],rounded:[u.undefined,u.none,u.small,u.medium,u.large,u.full],fillMode:[b.undefined,b.solid,b.flat,b.outline]},qr={separators:!0,showClearButton:!0},ye=e=>{let{size:t,rounded:o,fillMode:a,separators:n=qr.separators,showClearButton:s=qr.showClearButton,prefix:l,suffix:m,value:f,placeholder:N,hover:h,focus:M,valid:c,invalid:C,required:g,loading:S,disabled:T,popup:A,opened:K,readonly:$,adaptive:ie,adaptiveSettings:he,adaptiveTitle:pe,adaptiveSubtitle:ce,adaptiveCustomValue:ba,id:Xt,autocomplete:Wt,activeDescendant:xa,"aria-label":Un,...Fn}=e,Vn=Xt?`${Xt}-listbox`:void 0;return _a(Jr,{children:[_a(Z,{...Fn,size:t,rounded:o,fillMode:a,hover:h,focus:M,valid:c,invalid:C,required:g,loading:S,disabled:T,readonly:$,className:r(e.className,vl),children:[l&&_a(Jr,{children:[se(_e,{children:l}),n&&se(Se,{})]}),se(Ve,{id:Xt,placeholder:N,value:f,role:"combobox","aria-haspopup":"listbox","aria-expanded":K?"true":"false","aria-controls":K?Vn:void 0,"aria-activedescendant":K&&xa?xa:void 0,"aria-autocomplete":Wt,"aria-invalid":C?"true":void 0,"aria-busy":S?"true":void 0,"aria-label":Un,disabled:T,readOnly:$}),se(ge,{valid:c,invalid:C,loading:S,disabled:T}),se(we,{loading:S,disabled:T}),s&&se(Fe,{loading:S,disabled:T,readonly:$,value:f}),m&&_a(Jr,{children:[n&&se(Se,{}),se(De,{children:m})]}),se(d,{className:"k-input-button",icon:"chevron-down",size:t,fillMode:a,"aria-label":"Open popup",tabIndex:-1,disabled:T})]}),K&&A&&se(U,{className:"k-list-container k-combobox-popup",containerRole:"region",containerAriaLabel:"Combobox suggestions",children:A}),ie&&se(oe,{adaptive:!0,id:Xt?`${Xt}-adaptive`:void 0,...he,header:se(Ie,{actionsEnd:se(d,{icon:"check",themeColor:"primary",size:"large",fillMode:"flat","aria-label":"Apply selection"}),input:!0,inputValue:f,inputPlaceholder:N,title:pe,subtitle:ce}),children:se("div",{className:"k-list-container",children:se(H,{customValue:ba?se(zt,{text:`Use "${f}"`}):void 0,size:"large",children:_a(W,{"aria-label":pe||"Options",children:[se(P,{text:"List item"}),se(P,{text:"List item"}),se(P,{text:"List item"})]})})})})]})};ye.states=Af;ye.options=Tf;ye.className=vl;ye.defaultOptions=qr;ye.moduleName=Wr;ye.folderName=Nl;var Xe=ye;import{jsx as yf}from"react/jsx-runtime";var Cl=e=>yf(Xe,{...e});import{jsx as aw,jsxs as nw}from"react/jsx-runtime";import{jsx as pw,jsxs as mw}from"react/jsx-runtime";import{jsx as hw,jsxs as Nw}from"react/jsx-runtime";import{Fragment as Sw,jsx as gw}from"react/jsx-runtime";import{Fragment as Ew,jsx as yw}from"react/jsx-runtime";import{jsx as ww,jsxs as _w}from"react/jsx-runtime";import{Fragment as $w,jsx as Fw,jsxs as Vw}from"react/jsx-runtime";import{jsx as qw}from"react/jsx-runtime";import{jsx as jw}from"react/jsx-runtime";import{jsx as r_,jsxs as i_}from"react/jsx-runtime";import{jsx as c_,jsxs as u_}from"react/jsx-runtime";import{jsx as Ft,jsxs as Rf}from"react/jsx-runtime";var Ef=ye.states,Bf=ye.defaultOptions,Of=ye.options,Pf=[{name:"prefix",title:"Prefix"},{name:"suffix",title:"Suffix"},{name:"opened",title:"Opened"}],Kf=[],zo=e=>{let{modifiers:t,...o}=e,a={},n=Ft(H,{style:{width:300},size:o.size,children:Rf(W,{children:[Ft(P,{children:"List item"}),Ft(P,{children:"List item"}),Ft(P,{children:"List item"})]})});return Object.keys(t||{}).forEach(s=>{switch(s){case"prefix":a.prefix=t?.[s]?Ft(L,{icon:"map-marker-target"}):void 0;break;case"suffix":a.suffix=t?.[s]?Ft(F,{size:o.size,icon:"copy",fillMode:"clear"}):void 0;break;case"opened":a.opened=!!t?.[s],a.popup=t?.[s]?n:void 0;break;default:break}}),Ft("div",{children:Ft(Cl,{value:"Value",style:{width:300},...o,...a})})};zo.options=Of;zo.states=Ef;zo.variants=Kf;zo.defaultOptions=Bf;zo.modifiers=Pf;zo.className=ye.className;var Yr="menu-button",Ll=Yr;import{jsx as Df}from"react/jsx-runtime";var Ml="k-menu-button",wf=[i.hover,i.focus,i.active,i.selected,i.disabled],_f={size:[p.undefined,p.xsmall,p.small,p.medium,p.large],rounded:[u.undefined,u.none,u.small,u.medium,u.large,u.full],fillMode:[b.undefined,b.solid,b.flat,b.outline,b.clear,b.link],themeColor:[x.undefined,x.base,x.primary,x.secondary,x.tertiary,x.success,x.warning,x.error,x.info,x.inverse]},Qr={showArrow:!0,arrowIconName:"chevron-down"},J=e=>{let{size:t,rounded:o,fillMode:a,themeColor:n,hover:s,focus:l,active:m,selected:f,disabled:N,icon:h,endIcon:M,text:c,showArrow:C=Qr.showArrow,arrowIconName:g=Qr.arrowIconName,expanded:S,...T}=e;return Df(d,{...T,className:r(e.className,Ml),text:c,size:t,rounded:o,fillMode:a,themeColor:n,hover:s,focus:l,active:m,selected:f,disabled:N,ariaDisabled:N||void 0,icon:h,endIcon:M,showArrow:C,arrowIconName:g,"aria-expanded":S?"true":"false",...!c&&h&&!e["aria-label"]&&{"aria-label":"Menu"}})};J.states=wf;J.options=_f;J.className=Ml;J.defaultOptions=Qr;J.moduleName=Yr;J.folderName=Ll;import{jsx as X_}from"react/jsx-runtime";import{jsx as Y_}from"react/jsx-runtime";import{jsx as e0}from"react/jsx-runtime";import{jsx as n0}from"react/jsx-runtime";var We="menu",it=We;import{jsx as Ha,jsxs as gl}from"react/jsx-runtime";var Zr="k-menu-item",Hf=[i.hover,i.focus,i.active,i.selected,i.disabled],zf={},Sl={iconPosition:"before"},ve=e=>{let{hover:t,focus:o,active:a,selected:n,disabled:s,icon:l,text:m,showArrow:f,arrowIconName:N,iconPosition:h=Sl.iconPosition,dir:M,children:c,expanded:C,...g}=e,S=N;return S||(S=M==="rtl"?"chevron-left":"chevron-right"),gl("li",{...g,className:r(e.className,Zr,"k-item",I(Zr,{focus:o,disabled:s,hover:t,active:a,selected:n})),role:"menuitem",...f&&{"aria-haspopup":"menu"},...f&&{"aria-expanded":C?"true":"false"},...s&&{"aria-disabled":"true"},...o&&{tabIndex:0},children:[gl("span",{className:r("k-link k-menu-link"),children:[l&&h==="before"&&Ha(L,{className:"k-menu-link-icon",icon:l}),Ha("span",{className:"k-menu-link-text",children:m}),l&&h==="after"&&Ha(L,{className:"k-menu-link-icon",icon:l}),f&&Ha("span",{className:"k-menu-expand-arrow","aria-hidden":"true",children:Ha(L,{icon:S})})]}),c]})};ve.states=Hf;ve.options=zf;ve.className=Zr;ve.defaultOptions=Sl;ve.moduleName=We;ve.folderName=it;import{jsx as to,jsxs as Il}from"react/jsx-runtime";var jr="k-menu-item",Gf=[i.hover,i.focus,i.active,i.selected,i.disabled],Uf={},ei={dir:"ltr",iconPosition:"before"},j=e=>{let{hover:t,focus:o,active:a,selected:n,disabled:s,icon:l,text:m,showArrow:f,arrowIconName:N,iconPosition:h=ei.iconPosition,dir:M=ei.dir,children:c,popup:C,expanded:g,actions:S,description:T,...A}=e,K=N;return K||(K=M==="rtl"?"chevron-left":"chevron-right"),Il("li",{role:"menuitem",...A,className:r(e.className,jr,"k-item",I(jr,{focus:o,disabled:s})),...f&&{"aria-haspopup":"menu"},...f&&{"aria-expanded":g?"true":"false"},...s&&{"aria-disabled":"true"},...o&&{tabIndex:0},children:[Il("span",{className:r("k-link k-menu-link",I("k-menu-link",{hover:t,active:a,selected:n,disabled:s})),children:[l&&h==="before"&&to(L,{className:"k-menu-link-icon",icon:l}),to("span",{className:"k-menu-link-text",children:m}),l&&h==="after"&&to(L,{className:"k-menu-link-icon",icon:l}),S&&to("span",{className:"k-menu-link-actions",children:S}),f&&to("span",{className:"k-menu-expand-arrow","aria-hidden":"true",children:to(L,{icon:K})}),T&&to("span",{className:"k-menu-link-description",children:T})]}),c,C]})};j.states=Gf;j.options=Uf;j.className=jr;j.defaultOptions=ei;j.moduleName=We;j.folderName=it;import{jsx as Xf}from"react/jsx-runtime";var kl="k-menu-scroll-wrapper",Ff=[],Vf={},$f={},oo=e=>{let{className:t,children:o,orientation:a,...n}=e;return Xf("div",{...n,className:r(t,kl,{"k-menu-scroll-wrapper-vertical":a==="vertical"}),children:o})};oo.states=Ff;oo.options=Vf;oo.className=kl;oo.defaultOptions=$f;oo.moduleName=We;oo.folderName=it;var Al=oo;import{Fragment as ti,jsx as ao,jsxs as Cn}from"react/jsx-runtime";var Ln="k-menu",Wf=[],Jf={size:[p.undefined,p.small,p.medium,p.large]},Mn={orientation:"horizontal",header:!0,scrollButtonsPosition:"around"},be=e=>{let{children:t,orientation:o=Mn.orientation,header:a=Mn.header,scrollable:n,scrollButtonsPosition:s=Mn.scrollButtonsPosition,wrapperStyles:l,dir:m,size:f,popup:N,contextMenu:h,...M}=e,c={horizontal:{prev:m!=="rtl"?"left":"right",next:m!=="rtl"?"right":"left"},vertical:{prev:"up",next:"down"}},C=ao("ul",{dir:m,...M,className:r(e.className,"k-reset",Ln,{[`${Ln}-${o}`]:o,"k-header":a},k(Ln,{size:f})),role:h?"menu":"menubar",...o==="vertical"&&{"aria-orientation":"vertical"},children:t});return Cn(ti,{children:[n?Cn(Al,{orientation:o,style:l,dir:e.dir,children:[s==="start"&&Cn(ti,{children:[ao(d,{fillMode:"flat",size:"xsmall",icon:`chevron-${c[o].prev}`,className:"k-menu-scroll-button k-menu-scroll-button-prev",tabIndex:-1,"aria-label":"Scroll previous"}),ao(d,{fillMode:"flat",size:"xsmall",icon:`chevron-${c[o].next}`,className:"k-menu-scroll-button k-menu-scroll-button-next",tabIndex:-1,"aria-label":"Scroll next"})]}),s==="around"&&ao(d,{fillMode:"flat",size:"xsmall",icon:`chevron-${c[o].prev}`,className:"k-menu-scroll-button k-menu-scroll-button-prev",tabIndex:-1,"aria-label":"Scroll previous"}),C,s==="end"&&Cn(ti,{children:[ao(d,{fillMode:"flat",size:"xsmall",icon:`chevron-${c[o].prev}`,className:"k-menu-scroll-button k-menu-scroll-button-prev",tabIndex:-1,"aria-label":"Scroll previous"}),ao(d,{fillMode:"flat",size:"xsmall",icon:`chevron-${c[o].next}`,className:"k-menu-scroll-button k-menu-scroll-button-next",tabIndex:-1,"aria-label":"Scroll next"})]}),s==="around"&&ao(d,{fillMode:"flat",size:"xsmall",icon:`chevron-${c[o].next}`,className:"k-menu-scroll-button k-menu-scroll-button-next",tabIndex:-1,"aria-label":"Scroll next"})]}):C,N]})};be.states=Wf;be.options=Jf;be.className=Ln;be.defaultOptions=Mn;be.moduleName=We;be.folderName=it;import{jsx as qf}from"react/jsx-runtime";var oi="k-separator",Tl={orientation:"horizontal"},Go=e=>{let{orientation:t=Tl.orientation,...o}=e;return qf("li",{...o,className:r(e.className,"k-item",oi,{[`${oi}-${t}`]:t}),role:"separator"})};Go.className=oi;Go.defaultOptions=Tl;Go.moduleName=We;Go.folderName=it;import{Fragment as P0,jsx as K0}from"react/jsx-runtime";import{jsx as jf}from"react/jsx-runtime";var ai="k-menu-group",Yf=[],Qf={size:[p.undefined,p.small,p.medium,p.large]},Zf={},Ce=e=>{let{children:t,size:o,...a}=e;return jf("ul",{role:"menu",...a,className:r(e.className,ai,k(ai,{size:o})),children:t})};Ce.states=Yf;Ce.options=Qf;Ce.className=ai;Ce.defaultOptions=Zf;Ce.moduleName=We;Ce.folderName=it;import{jsx as F0,jsxs as V0}from"react/jsx-runtime";import{Fragment as eb,jsx as Uo,jsxs as tb}from"react/jsx-runtime";var ni=e=>Uo(be,{children:tb(eb,{children:[Uo(ve,{text:"Item 1"}),Uo(ve,{showArrow:!0,arrowIconName:"chevron-down",text:"Item 2"}),Uo(ve,{showArrow:!0,arrowIconName:"chevron-down",text:"Item 3"}),Uo(ve,{text:"Item 4"}),Uo(ve,{text:"Item 5"})]}),...e});import{Fragment as eD,jsx as Z0,jsxs as j0}from"react/jsx-runtime";import{Fragment as rD,jsx as nD,jsxs as iD}from"react/jsx-runtime";import{Fragment as mD,jsx as pD,jsxs as cD}from"react/jsx-runtime";import{Fragment as hD,jsx as xD,jsxs as ND}from"react/jsx-runtime";import{jsx as no,jsxs as ib}from"react/jsx-runtime";var ob={...be.options,scrollable:{type:"boolean"}},ab=be.states,yl={...be.defaultOptions,variant:"horizontal"},nb=[{name:"horizontal",title:"Horizontal"},{name:"vertical",title:"Vertical"}],rb=[{name:"opened",title:"Opened"}],Fo=e=>{let{variant:t,modifiers:o,...a}={...yl,...e},n={},s=t==="vertical"?{left:"200px",top:"30px"}:{left:"90px",top:"auto"};return Object.keys(o||{}).forEach(l=>{l==="opened"&&(n.opened=!!o?.[l],n.popup=o?.[l]?no(U,{className:"k-menu-popup",offset:s,children:ib(Ce,{children:[no(j,{text:"Item 1"}),no(j,{text:"Item 2"}),no(Go,{}),no(j,{text:"Item 3"})]})}):null)}),t==="vertical"?no(ni,{...a,...n,orientation:"vertical",style:{width:"200px"}}):no(ni,{...a,...n})};Fo.options=ob;Fo.states=ab;Fo.variants=nb;Fo.defaultOptions=yl;Fo.modifiers=rb;Fo.className=be.className;import{Fragment as QD,jsx as qD,jsxs as YD}from"react/jsx-runtime";import{jsx as tH}from"react/jsx-runtime";import{Fragment as mb,jsx as Lt,jsxs as El}from"react/jsx-runtime";var sb=d.states,Bl={...d.defaultOptions,variant:"text"},lb=d.options,db=[{name:"icon-only",title:"Icon Only"},{name:"icon-and-text",title:"Icon & Text"},{name:"text",title:"Text"}],pb=[{name:"opened",title:"Opened"}],Vo=e=>{let{variant:t,modifiers:o,...a}={...Bl,...e},n={},s=Lt(U,{className:"k-menu-popup",children:El(Ce,{size:a.size,children:[Lt(j,{text:"Menu Item"}),Lt(j,{text:"Menu Item"}),Lt(j,{text:"Menu Item"})]})}),l;switch(t){case"icon-only":l=Lt("div",{children:Lt(J,{...a,...n,icon:"star"})});break;case"icon-and-text":l=Lt("div",{children:Lt(J,{...a,...n,icon:"star",children:"Dropdown Button"})});break;default:l=Lt("div",{children:Lt(J,{...a,...n,children:"Dropdown Button"})});break}return El(mb,{children:[l,o?.opened&&s]})};Vo.options=lb;Vo.states=sb;Vo.variants=db;Vo.defaultOptions=Bl;Vo.modifiers=pb;Vo.className=J.className;var ri="split-button",Ol=ri;import{Fragment as fb,jsx as ii,jsxs as Pl}from"react/jsx-runtime";var si="k-split-button",cb=[i.hover,i.focus,i.active,i.selected,i.disabled],ub={size:[p.undefined,p.small,p.medium,p.large],rounded:[u.undefined,u.none,u.small,u.medium,u.large,u.full],fillMode:[b.undefined,b.solid,b.flat,b.outline,b.clear,b.link],themeColor:[x.undefined,x.base,x.primary,x.secondary,x.tertiary,x.success,x.warning,x.error,x.info,x.inverse]},Kl={arrowIconName:"chevron-down"},_=e=>{let{size:t,rounded:o,fillMode:a,themeColor:n,hover:s,focus:l,active:m,selected:f,disabled:N,icon:h,endIcon:M,text:c,arrowIconName:C=Kl.arrowIconName,popup:g,opened:S,popupId:T,...A}=e;return Pl(fb,{children:[Pl("div",{...A,className:r(e.className,si,"k-button-group",k(si,{rounded:o})),children:[ii(d,{text:c,icon:h,endIcon:M,size:t,rounded:o,fillMode:a,themeColor:n,hover:s,focus:l,active:m,selected:f,disabled:N,...!c&&!e.children&&h&&{"aria-label":"Action"},children:e.children}),ii(d,{className:"k-split-button-arrow",icon:C,size:t,rounded:o,fillMode:a,disabled:N,ariaDisabled:N||void 0,"aria-label":"Toggle dropdown","aria-expanded":S?"true":"false","aria-controls":S?T:void 0,tabIndex:-1})]}),S&&g&&ii(U,{className:"k-menu-popup",children:g})]})};_.states=cb;_.options=ub;_.className=si;_.defaultOptions=Kl;_.moduleName=ri;_.folderName=Ol;var li=_;import{jsx as xb}from"react/jsx-runtime";var bb="k-toolbar-separator",ct=e=>xb("div",{className:r(bb,e.className,"k-separator")});var ro="toolbar",$o=ro;import{Fragment as di,jsx as G,jsxs as Xo}from"react/jsx-runtime";var At="k-toolbar",hb=[i.focus],Nb={size:[p.undefined,p.small,p.medium,p.large],fillMode:[b.undefined,b.solid,b.outline,b.flat]},vb={scrollButtons:"around"},D=e=>{let{size:t,fillMode:o,focus:a,resizable:n,scrollable:s,scrollButtons:l,scrollingPosition:m,section:f,...N}=e,h=[],M=(c,C)=>{let g=[];if(c.type===d&&c.props.className&&c.props.className.includes("k-toolbar-overflow-button"))g.push(G(d,{...c.props,className:`${c.props.className?c.props.className:""}`},`${C}-${new Date().getTime()}`));else if(c.type===d)g.push(G(d,{...c.props,className:`k-toolbar-button ${c.props.className?c.props.className:""}`},`${C}-${new Date().getTime()}`));else if(c.type===R)g.push(G(R,{...c.props,className:`k-toolbar-button ${c.props.className?c.props.className:""}`},`${C}-${new Date().getTime()}`));else if(c.type===F)g.push(G(F,{...c.props,className:`k-toolbar-button ${c.props.className?c.props.className:""}`},`${C}-${new Date().getTime()}`));else if(c.type===J)g.push(G(J,{...c.props,className:`k-toolbar-menu-button ${c.props.className?c.props.className:""}`},`${C}-${new Date().getTime()}`));else if(c.type===li)g.push(G(li,{...c.props,className:`k-toolbar-split-button ${c.props.className?c.props.className:""}`},`${C}-${new Date().getTime()}`));else if(c.type===O||c.props.className&&c.props.className.includes("k-button-group")){let S=[];(Array.isArray(c.props.children)?c.props.children:[c.props.children]).forEach((A,K)=>{S.push(G(d,{...A.props,className:`${A.props.className?A.props.className:""}`},`${K}-${new Date().getTime()}`))}),g.push(G(O,{...c.props,className:`k-toolbar-button-group ${c.props.className?c.props.className:""}`,children:S},`${C}-${new Date().getTime()}`))}else c.type===ye?g.push(G(ye,{...c.props,className:`k-toolbar-combobox ${c.props.className?c.props.className:""}`},`${C}-${new Date().getTime()}`)):c.type===me?g.push(G(me,{...c.props,className:`k-toolbar-dropdownlist ${c.props.className?c.props.className:""}`},`${C}-${new Date().getTime()}`)):c.type===rt?g.push(G(rt,{...c.props,className:`k-toolbar-colorpicker ${c.props.className?c.props.className:""}`},`${C}-${new Date().getTime()}`)):g.push(c);g.forEach(S=>{h.push(S)})};return e.children&&(Array.isArray(e.children)?e.children:[e.children]).forEach((C,g)=>{M(C,g)}),Xo("div",{...N,className:r(e.className,At,k(At,{size:t,fillMode:o}),I(At,{focus:a}),{[`${At}-resizable`]:n,[`${At}-scrollable`]:s,[`${At}-scrollable-overlay`]:s&&l==="hidden",[`${At}-scrollable-${m}`]:m&&m!=="both",[`${At}-section`]:f}),role:"toolbar","aria-label":"Toolbar",children:[!s&&h,s&&l==="hidden"&&G("div",{className:"k-toolbar-items k-toolbar-items-scroll",children:h}),s&&l==="start"&&Xo(di,{children:[Xo(O,{children:[G("span",{className:r("k-toolbar-prev","k-button",k("k-button",{size:t,fillMode:o}),"k-icon-button"),"aria-hidden":"true",children:G(L,{className:"k-button-icon",icon:"chevron-left"})}),G("span",{className:r("k-toolbar-next","k-button",k("k-button",{size:t,fillMode:o}),"k-icon-button"),"aria-hidden":"true",children:G(L,{className:"k-button-icon",icon:"chevron-right"})})]}),G(ct,{className:"k-toolbar-button-separator"}),G("div",{className:"k-toolbar-items k-toolbar-items-scroll",children:h})]}),s&&l==="end"&&Xo(di,{children:[G("div",{className:"k-toolbar-items k-toolbar-items-scroll",children:h}),G(ct,{className:"k-toolbar-button-separator"}),Xo(O,{children:[G("span",{className:r("k-toolbar-prev","k-button",k("k-button",{size:t,fillMode:o}),"k-icon-button"),"aria-hidden":"true",children:G(L,{className:"k-button-icon",icon:"chevron-left"})}),G("span",{className:r("k-toolbar-next","k-button",k("k-button",{size:t,fillMode:o}),"k-icon-button"),"aria-hidden":"true",children:G(L,{className:"k-button-icon",icon:"chevron-right"})})]})]}),s&&(l==="around"||!l)&&Xo(di,{children:[G("span",{className:r("k-toolbar-prev","k-button",k("k-button",{size:t,fillMode:o}),"k-icon-button"),"aria-hidden":"true",children:G(L,{className:"k-button-icon",icon:"chevron-left"})}),G(ct,{className:"k-toolbar-button-separator"}),G("div",{className:"k-toolbar-items k-toolbar-items-scroll",children:h}),G(ct,{className:"k-toolbar-button-separator"}),G("span",{className:r("k-toolbar-next","k-button",k("k-button",{size:t,fillMode:o}),"k-icon-button"),"aria-hidden":"true",children:G(L,{className:"k-button-icon",icon:"chevron-right"})})]})]})};D.states=hb;D.options=Nb;D.className=At;D.defaultOptions=vb;D.moduleName=ro;D.folderName=$o;import{jsx as gb}from"react/jsx-runtime";var pi="k-toolbar-item",Cb=[i.focus],Lb={},Mb={},Wo=e=>{let{focus:t,...o}=e;return gb("div",{...o,className:r(e.className,pi,I(pi,{focus:t})),children:e.children})};Wo.states=Cb;Wo.options=Lb;Wo.className=pi;Wo.defaultOptions=Mb;Wo.moduleName=ro;Wo.folderName=$o;import{jsx as Rl}from"react/jsx-runtime";var wl="k-toolbar-popup",Sb=[],Ib={size:[p.undefined,p.small,p.medium,p.large],fillMode:[b.undefined,b.solid,b.outline,b.flat]},kb={},io=e=>{let{size:t,fillMode:o,section:a,...n}=e;return Rl(U,{...n,className:r(e.className,wl),children:a?Rl("span",{className:r("k-toolbar-items-list",k("k-toolbar-items-list",{size:t,fillMode:o})),role:"toolbar",children:e.children}):e.children})};io.states=Sb;io.options=Ib;io.className=wl;io.defaultOptions=kb;io.moduleName=ro;io.folderName=$o;var gn=io;import{jsx as t1}from"react/jsx-runtime";import{jsx as r1}from"react/jsx-runtime";import{jsx as d1}from"react/jsx-runtime";import{jsx as u1}from"react/jsx-runtime";import{jsx as v1,jsxs as C1}from"react/jsx-runtime";import{jsx as S1}from"react/jsx-runtime";import{jsx as Tt,jsxs as Bb}from"react/jsx-runtime";var Ab=_.states,_l={..._.defaultOptions,variant:"text"},Tb=_.options,yb=[{name:"icon-only",title:"Icon Only"},{name:"icon-and-text",title:"Icon & Text"},{name:"text",title:"Text"}],Eb=[{name:"opened",title:"Opened"}],Jo=e=>{let{variant:t,modifiers:o,...a}={..._l,...e},n={},s=Bb(Ce,{size:a.size,children:[Tt(j,{text:"Menu Item"}),Tt(j,{text:"Menu Item"}),Tt(j,{text:"Menu Item"})]});switch(Object.keys(o||{}).forEach(l=>{l==="opened"&&(n.opened=!!o?.[l],n.popup=o?.[l]?s:"")}),t){case"icon-only":return Tt("div",{children:Tt(_,{...a,...n,icon:"star"})});case"icon-and-text":return Tt("div",{children:Tt(_,{...a,...n,icon:"star",children:"Split Button"})});default:return Tt("div",{children:Tt(_,{...a,...n,children:"Split Button"})})}};Jo.options=Tb;Jo.states=Ab;Jo.variants=yb;Jo.defaultOptions=_l;Jo.modifiers=Eb;Jo.className=_.className;import{jsx as so,jsxs as Ob}from"react/jsx-runtime";var Dl=e=>so(D,{children:[so(d,{children:"Button"},"toolbar-button"),so(J,{text:"Menu button"},"toolbar-menu-button"),so(_,{children:"Split button"},"toolbar-split-button"),Ob(O,{children:[so(d,{className:"k-group-start",icon:"align-left",children:"Left"}),so(d,{icon:"align-center",children:"Center"}),so(d,{className:"k-group-end",icon:"align-right",children:"Right"})]},"toolbar-button-group")],...e});import{jsx as e2,jsxs as t2}from"react/jsx-runtime";import{jsx as Je,jsxs as Hl}from"react/jsx-runtime";var zl=e=>Je(D,{scrollable:!0,...e,children:[Je(d,{children:"Button"},"toolbar-button"),Je(J,{text:"Menu button"},"toolbar-menu-button"),Je(_,{children:"Split button"},"toolbar-split-button"),Hl(O,{children:[Je(d,{className:"k-group-start",icon:"align-left",children:"Left"}),Je(d,{icon:"align-center",children:"Center"}),Je(d,{className:"k-group-end",icon:"align-right",children:"Right"})]},"toolbar-button-group"),Je(d,{children:"Button"},"toolbar-button"),Je(J,{text:"Menu button"},"toolbar-menu-button"),Je(_,{children:"Split button"},"toolbar-split-button"),Hl(O,{children:[Je(d,{className:"k-group-start",icon:"align-left",children:"Left"}),Je(d,{icon:"align-center",children:"Center"}),Je(d,{className:"k-group-end",icon:"align-right",children:"Right"})]},"toolbar-button-group")],...e});import{jsx as qe,jsxs as Gl}from"react/jsx-runtime";var Ul=({scrollingPosition:e="start",...t})=>qe(D,{scrollable:!0,scrollButtons:"hidden",scrollingPosition:e,...t,children:[qe(d,{children:"Button"},"toolbar-button"),qe(J,{text:"Menu button"},"toolbar-menu-button"),qe(_,{children:"Split button"},"toolbar-split-button"),Gl(O,{children:[qe(d,{className:"k-group-start",icon:"align-left",children:"Left"}),qe(d,{icon:"align-center",children:"Center"}),qe(d,{className:"k-group-end",icon:"align-right",children:"Right"})]},"toolbar-button-group"),qe(d,{children:"Button"},"toolbar-button"),qe(J,{text:"Menu button"},"toolbar-menu-button"),qe(_,{children:"Split button"},"toolbar-split-button"),Gl(O,{children:[qe(d,{className:"k-group-start",icon:"align-left",children:"Left"}),qe(d,{icon:"align-center",children:"Center"}),qe(d,{className:"k-group-end",icon:"align-right",children:"Right"})]},"toolbar-button-group")],...t});import{Fragment as Pb,jsx as ze,jsxs as Sn}from"react/jsx-runtime";var Fl=({fillMode:e,size:t,...o})=>Sn(Pb,{children:[ze(D,{section:!0,fillMode:e,size:t,children:[ze(d,{fillMode:e,size:t,children:"Button"},"toolbar-button"),Sn(O,{fillMode:e,children:[ze(d,{className:"k-group-start",icon:"align-left",fillMode:e,size:t,children:"Left"}),ze(d,{icon:"align-center",fillMode:e,size:t,children:"Center"}),ze(d,{className:"k-group-end",icon:"align-right",fillMode:e,size:t,children:"Right"})]},"toolbar-button-group"),ze(ct,{className:"k-toolbar-button-separator"}),ze(d,{icon:"more-horizontal",className:"k-toolbar-overflow-button",fillMode:"flat",size:t,"aria-label":"More options","aria-expanded":"false"})],...o}),Sn(gn,{size:t,fillMode:e,section:!0,...o,children:[ze(_,{fillMode:e,size:t,children:"Split button"},"toolbar-split-button"),ze(d,{fillMode:e,size:t,children:"Button"},"toolbar-button"),ze(ct,{}),ze(J,{text:"Menu button",fillMode:e,size:t},"toolbar-menu-button"),Sn(O,{fillMode:e,children:[ze(d,{className:"k-group-start",icon:"align-left",fillMode:e,size:t,children:"Left"}),ze(d,{icon:"align-center",fillMode:e,size:t,children:"Center"}),ze(d,{className:"k-group-end",icon:"align-right",fillMode:e,size:t,children:"Right"})]},"toolbar-button-group")]})]});import{Fragment as K2,jsx as O2,jsxs as P2}from"react/jsx-runtime";import{Fragment as $2,jsx as F2,jsxs as V2}from"react/jsx-runtime";import{jsx as Vt}from"react/jsx-runtime";var Kb=D.options,Rb=D.states,Vl={...D.defaultOptions,variant:"default"},wb=[{name:"default",title:"Default"},{name:"scrollable",title:"Scrollable"},{name:"overlay",title:"Overlay"},{name:"responsive",title:"Responsive"}],_b=[],qo=e=>{let{variant:t,...o}={...Vl,...e};switch(t){case"responsive":return Vt("div",{children:Vt(Fl,{style:{width:"583px"},...o})});case"overlay":return Vt("div",{children:Vt(Ul,{style:{width:"583px"},...o,scrollingPosition:"start",scrollButtons:"hidden"})});case"scrollable":return Vt("div",{children:Vt(zl,{style:{width:"583px"},...o})});default:return Vt("div",{children:Vt(Dl,{style:{width:"583px"},...o})})}};qo.options=Kb;qo.states=Rb;qo.variants=wb;qo.defaultOptions=Vl;qo.modifiers=_b;qo.className=D.className;var mi="prompt",$l=mi;import{Fragment as Gb,jsx as Xl}from"react/jsx-runtime";var Wl="k-prompt",Db=[],Hb={},zb={},V=e=>{let{...t}=e;return Xl("div",{...t,className:r(e.className,Wl),children:Xl(Gb,{children:e.children})})};V.states=Db;V.options=Hb;V.className=Wl;V.defaultOptions=zb;V.moduleName=mi;V.folderName=$l;import{jsx as Fb}from"react/jsx-runtime";var Ub="k-prompt-header",ut=e=>{let{...t}=e;return Fb("div",{...t,className:r(e.className,Ub),children:e.children})};import{Fragment as $b,jsx as Jl}from"react/jsx-runtime";var Vb="k-prompt-content",Ee=e=>{let{...t}=e;return Jl("div",{...t,className:r(e.className,Vb),children:Jl($b,{children:e.children})})};import{jsx as Wb}from"react/jsx-runtime";var Xb="k-prompt-view",Be=e=>{let{...t}=e;return Wb("div",{...t,className:r(e.className,Xb),children:e.children})};import{jsx as ql,jsxs as qb}from"react/jsx-runtime";var Jb="k-prompt-expander",In=e=>{let{title:t,children:o,expanded:a,...n}=e,s=y("prompt-expander-content");return qb("div",{...n,className:r(e.className,Jb),children:[ql(R,{fillMode:"flat",icon:a?"chevron-up":"chevron-down","aria-expanded":a?"true":"false","aria-controls":a?s:void 0,children:t}),a&&ql("div",{className:"k-prompt-expander-content",id:s,children:o})]})};import{jsx as Qb}from"react/jsx-runtime";var Yb="k-prompt-footer",lo=e=>{let{...t}=e;return Qb("div",{...t,className:r(e.className,Yb),children:e.children})};import{jsx as _z}from"react/jsx-runtime";import{jsx as Zb}from"react/jsx-runtime";var Yl="k-prompt-send",Ql={generating:!1},Mt=e=>{let{generating:t=Ql.generating,...o}=e;return Zb(d,{...o,className:r(e.className,Yl,{"k-generating":t}),icon:t?"stop":"paper-plane",active:t,fillMode:"flat","aria-label":t?"Stop generating":"Send prompt"})};Mt.states=d.states;Mt.options=d.options;Mt.className=Yl;Mt.moduleName=null;Mt.folderName=null;Mt.defaultOptions=Ql;import{jsx as Zl,jsxs as ax}from"react/jsx-runtime";var kn="k-fab",tx=[i.hover,i.focus,i.active,i.selected,i.disabled],ox={size:[p.undefined,p.small,p.medium,p.large],rounded:[u.undefined,u.none,u.small,u.medium,u.large,u.full],themeColor:[x.undefined,x.base,x.primary,x.secondary,x.tertiary]},jl={type:"button"},re=e=>{let{size:t,rounded:o,themeColor:a,text:n,icon:s,type:l=jl.type,position:m,hover:f,focus:N,active:h,selected:M,disabled:c,...C}=e;return ax("button",{...C,type:l,className:r(e.className,kn,k(kn,{size:t,rounded:o,themeColor:a}),I(kn,{hover:f,focus:N,active:h,disabled:c,selected:M}),{[`!k-pos-absolute k-${m}`]:m}),...!n&&s&&!e["aria-label"]&&{"aria-label":"Action"},...c&&{"aria-disabled":"true"},disabled:c||void 0,children:[s&&Zl(L,{className:"k-fab-icon",icon:s}),n&&Zl("span",{className:"k-fab-text",children:n})]})};re.states=tx;re.options=ox;re.className=kn;re.defaultOptions=jl;re.moduleName="fab";re.folderName="fab";import{jsx as rx}from"react/jsx-runtime";var nx="k-fab-items",ed=e=>{let{position:t,...o}=e;return rx("ul",{...o,className:r(e.className,nx,{[`k-fab-items-${t}`]:t}),children:e.children})};import{jsx as od,jsxs as sx}from"react/jsx-runtime";var td="k-fab-item",ix=[i.hover,i.focus,i.active,i.disabled],ci=e=>{let{text:t,icon:o,align:a,hover:n,focus:s,active:l,disabled:m,...f}=e;return sx("li",{...f,className:r(e.className,td,{[`k-text-${a}`]:a},I(td,{hover:n,focus:s,active:l,disabled:m})),children:[od("span",{className:"k-fab-item-text",children:t}),od(L,{className:"k-fab-item-icon",icon:o})]})};ci.states=ix;import{jsx as i3}from"react/jsx-runtime";import{jsx as p3}from"react/jsx-runtime";import{jsx as f3}from"react/jsx-runtime";import{jsx as N3}from"react/jsx-runtime";import{jsx as Yo,jsxs as ux}from"react/jsx-runtime";var lx=re.options,dx=re.states,px={...re.defaultOptions,variant:"text"},mx=[{name:"icon-only",title:"Icon Only"},{name:"icon-and-text",title:"Icon & Text"},{name:"text",title:"Text"}],cx=[{name:"opened",title:"Opened"}],Qo=e=>{let{variant:t,modifiers:o,...a}=e,{opened:n}=o||{},s=n?Yo("div",{className:"k-fab-popup k-popup k-popup-transparent",style:{position:"absolute",top:"calc(16px + 36px)",right:"calc(16px + calc(36px / 2) - calc(36px /2))"},children:Yo(ed,{position:"bottom",children:Yo(ci,{text:"Item",icon:"pencil",align:"right"})})}):null,l;switch(t){case"icon-only":l=Yo(re,{...a,icon:"star"});break;case"icon-and-text":l=Yo(re,{...a,icon:"star",text:"Action"});break;default:l=Yo(re,{...a,text:"Action"});break}return ux("span",{style:{position:"relative"},children:[l,s]})};Qo.options=lx;Qo.states=dx;Qo.variants=mx;Qo.defaultOptions=px;Qo.modifiers=cx;Qo.className=re.className;import{jsx as fx}from"react/jsx-runtime";var ad="k-prompt-stop-fab",nd={generating:!0},po=e=>{let{generating:t=nd.generating,icon:o,...a}=e;return fx(re,{...a,className:r(e.className,ad,{"k-generating":t}),style:{bottom:"16px",right:"16px"},position:"bottom-end",icon:t?"stop":o,active:t,"aria-label":t?"Stop generating":"Action"})};po.states=d.states;po.options=d.options;po.className=ad;po.defaultOptions=nd;var ui="speech-to-text-button",rd=ui;import{jsx as bx}from"react/jsx-runtime";var id="k-speech-to-text-button",sd={icon:"microphone"},ee=e=>{let{listening:t=!1,icon:o=sd.icon,...a}=e;return bx(d,{...a,icon:t?"stop":o,className:r(e.className,id,{"k-listening":t}),"aria-pressed":t?"true":"false","aria-label":t?"Stop listening":"Start listening"})};ee.states=d.states;ee.options=d.options;ee.className=id;ee.defaultOptions=sd;ee.moduleName=ui;ee.folderName=rd;import{jsx as t5}from"react/jsx-runtime";import{jsx as r5}from"react/jsx-runtime";import{jsx as Cx}from"react/jsx-runtime";var xx=d.states,ld={...d.defaultOptions,variant:"normal"},hx={...d.options,fillMode:d.options.fillMode.filter(e=>e!=="clear"&&e!=="link")},Nx=[],vx=[{name:"normal",title:"Normal"},{name:"listening",title:"Listening"}],Zo=e=>{let{variant:t,...o}={...ld,...e},a={};return t==="listening"&&(a.listening=!0),Cx(ee,{...o,...a})};Zo.options=hx;Zo.states=xx;Zo.variants=vx;Zo.defaultOptions=ld;Zo.modifiers=Nx;Zo.className=ee.className;var fi="textarea",dd=fi;import{Fragment as pd,jsx as za,jsxs as bi}from"react/jsx-runtime";var md="k-textarea",Lx=[i.hover,i.focus,i.valid,i.invalid,i.required,i.disabled],Mx={size:[p.undefined,p.small,p.medium,p.large],rounded:[u.undefined,u.none,u.small,u.medium,u.large,u.full],fillMode:[b.undefined,b.solid,b.flat,b.outline]},jo={flow:"vertical",affixesOrientation:"horizontal",resize:"both",prefixSeparator:!0,suffixSeparator:!0},q=e=>{let{size:t,rounded:o,fillMode:a,prefixSeparator:n=jo.prefixSeparator,suffixSeparator:s=jo.prefixSeparator,affixesOrientation:l=jo.affixesOrientation,flow:m=jo.flow,resize:f=jo.resize,prefix:N,suffix:h,rows:M,value:c,placeholder:C,hover:g,focus:S,valid:T,invalid:A,required:K,disabled:$,id:ie,"aria-label":he,"aria-describedby":pe,...ce}=e;return bi(Z,{...ce,size:t,rounded:o,fillMode:a,hover:g,focus:S,valid:T,invalid:A,required:K,disabled:$,className:r(e.className,md,{"!k-flex-col":m==="vertical","!k-flex-row":m==="horizontal"}),children:[N&&bi(pd,{children:[za(_e,{className:r({"!k-align-items-start":m===l}),direction:l,children:N}),n&&za(Se,{direction:m==="horizontal"?"vertical":"horizontal"})]}),za(ga,{className:r("!k-overflow-auto",{"!k-flex-none":m==="vertical","k-resize-x":f==="x","k-resize-y":f==="y","k-resize":f==="both","k-resize-none":f==="none"}),value:c,placeholder:C,rows:M,disabled:$,id:ie,"aria-label":he,"aria-describedby":pe,"aria-invalid":A?"true":void 0}),h&&bi(pd,{children:[s&&za(Se,{direction:m==="horizontal"?"vertical":"horizontal"}),za(De,{className:r({"!k-align-items-start":m===l}),direction:l,children:h})]})]})};q.states=Lx;q.options=Mx;q.className=md;q.defaultOptions=jo;q.moduleName=fi;q.folderName=dd;import{jsx as I5}from"react/jsx-runtime";import{Fragment as B5,jsx as E5}from"react/jsx-runtime";import{Fragment as _5,jsx as w5}from"react/jsx-runtime";import{jsx as G5}from"react/jsx-runtime";import{jsx as An}from"react/jsx-runtime";var gx=q.options,Sx=q.states,cd={...q.defaultOptions,variant:"vertical"},Ix=[{name:"vertical",title:"Flow vertical"},{name:"horizontal",title:"Flow horizontal"}],kx=[{name:"prefix",title:"Prefix"},{name:"suffix",title:"Suffix"}],ea=e=>{let{variant:t,modifiers:o,...a}={...cd,...e},n={resize:"y"};return Object.keys(o||{}).forEach(s=>{switch(s){case"prefix":n.prefix=o?.[s]?An(L,{icon:"comment"}):void 0;break;case"suffix":n.suffix=o?.[s]?An(L,{icon:"volume-up"}):void 0;break;default:break}}),t==="horizontal"?An(q,{flow:"horizontal",placeholder:"Enter text...",style:{width:300},...a,...n}):An(q,{flow:"vertical",placeholder:"Enter text...",style:{width:300},...a,...n})};ea.options=gx;ea.states=Sx;ea.variants=Ix;ea.defaultOptions=cd;ea.modifiers=kx;ea.className=q.className;import{Fragment as pG,jsx as lG,jsxs as dG}from"react/jsx-runtime";var hi="suggestion",ud=hi;import{jsx as Tn,jsxs as yx}from"react/jsx-runtime";var yn="k-suggestion-group",Ax=[],Tx={},fd={layout:"scrollable",scrollingPosition:"start"},st=e=>{let{layout:t=fd.layout,scrollingPosition:o,...a}=e,n=Tn("div",{...a,className:r(yn,{"k-suggestion-group-scrollable":t=="scrollable",[`${yn}-scrollable-start`]:o==="start"||o==="both",[`${yn}-scrollable-end`]:o==="end"||o==="both"},e.className),role:"group",children:t==="scrollable"||t==="scrollButtons"?Tn("div",{className:"k-suggestions-scroll",children:e.children}):e.children});return t=="scrollButtons"?yx("div",{className:"k-suggestion-scrollwrap",children:[Tn(d,{fillMode:"flat",icon:"chevron-left",size:"xsmall","aria-label":"Scroll left"}),n,Tn(d,{fillMode:"flat",icon:"chevron-right",size:"xsmall","aria-label":"Scroll right"})]}):n};st.states=Ax;st.options=Tx;st.className=yn;st.defaultOptions=fd;st.moduleName=hi;st.folderName=ud;import{jsx as Px}from"react/jsx-runtime";var En="k-suggestion",Ex=[i.active,i.hover,i.focus],Bx={themeColor:[x.undefined,x.base,x.primary,x.secondary,x.tertiary]},Ox={text:"Suggestion"},ft=e=>{let{themeColor:t,active:o,hover:a,focus:n,text:s,...l}=e;return Px("span",{...l,className:r(e.className,En,I(En,{hover:a,active:o,focus:n}),k(En,{themeColor:t})),role:"button",tabIndex:0,"aria-label":s,children:s})};ft.states=Ex;ft.options=Bx;ft.className=En;ft.item=Ox;import{Fragment as SG,jsx as gG,jsxs as IG}from"react/jsx-runtime";import{Fragment as EG,jsx as yG,jsxs as BG}from"react/jsx-runtime";import{Fragment as wG,jsx as RG,jsxs as _G}from"react/jsx-runtime";import{Fragment as tU,jsx as jG,jsxs as eU}from"react/jsx-runtime";import{jsx as Bn}from"react/jsx-runtime";var Kx="k-chip-action";var yt=e=>{let{type:t,...o}=e,a;switch(t){case"remove":a=Bn(L,{icon:"x-circle",size:"small"});break;case"more":a=Bn(L,{icon:"more-vertical",size:"small"});break;default:return Bn(L,{icon:t,size:"small"})}return Bn("span",{...o,className:r(e.className,Kx,`k-chip-${t}-action`),children:a})};var Ni="avatar",bd=Ni;import{jsx as xd}from"react/jsx-runtime";var Ga="k-avatar";var Rx=[i.hover,i.focus,i.active,i.selected,i.disabled],wx={size:[p.undefined,p.small,p.medium,p.large],rounded:[u.undefined,u.none,u.small,u.medium,u.large,u.full],fillMode:[b.undefined,b.solid,b.outline],themeColor:[x.undefined,x.base,x.primary,x.secondary,x.tertiary]},vi={type:"text",border:!1},Ge=e=>{let{size:t,rounded:o,fillMode:a,themeColor:n,type:s=vi.type,border:l=vi.border,...m}=e;return xd("div",{...m,className:r(e.className,Ga,k(Ga,{size:t,rounded:o,fillMode:a,themeColor:n}),{[`${Ga}-bordered`]:l}),children:xd("span",{className:`${Ga}-${s}`,children:e.children})})};Ge.states=Rx;Ge.options=wx;Ge.className=Ga;Ge.defaultOptions=vi;Ge.moduleName=Ni;Ge.folderName=bd;var mo=Ge;import{jsx as _x}from"react/jsx-runtime";var hd=e=>_x(mo,{type:"icon",...e});import{jsx as Dx}from"react/jsx-runtime";var Nd=e=>Dx(mo,{type:"text",...e});import{jsx as Hx}from"react/jsx-runtime";var vd=e=>Hx(mo,{type:"image",...e});import{jsx as gU}from"react/jsx-runtime";import{jsx as Ua}from"react/jsx-runtime";var zx=Ge.options,Gx=Ge.states,Ux={...Ge.defaultOptions,variant:"image"},Fx=[{name:"image",title:"Image"},{name:"icon",title:"Icon Avatar"},{name:"text",title:"Text Avatar"}],Vx=[],ta=e=>{let{variant:t,...o}=e;switch(t){case"icon":return Ua(hd,{...o,children:Ua(L,{icon:"star"})});case"text":return Ua(Nd,{...o,children:"JO"});default:return Ua(vd,{...o,children:Ua("img",{src:"https://demos.telerik.com/kendo-ui/content/web/Customers/RICSU.jpg"})})}};ta.options=zx;ta.states=Gx;ta.variants=Fx;ta.defaultOptions=Ux;ta.modifiers=Vx;ta.className=Ge.className;var Fa="chip",On=Fa,Pn="https://demos.telerik.com/kendo-ui/content/web/Customers/RICSU.jpg";import{jsx as oa,jsxs as Wx}from"react/jsx-runtime";var Kn="k-chip",$x=[i.hover,i.focus,i.active,i.selected,i.disabled],Xx={size:[p.undefined,p.small,p.medium,p.large],rounded:[u.undefined,u.none,u.small,u.medium,u.large,u.full],fillMode:[b.undefined,b.solid,b.outline],themeColor:[x.undefined,x.base,x.success,x.warning,x.error,x.info]},Cd={avatarImage:"/packages/html/assets/avatar.jpg"},Ue=e=>{let{size:t,rounded:o,fillMode:a,themeColor:n,text:s,icon:l,actions:m,showAvatar:f,avatarImage:N=Cd.avatarImage,hover:h,focus:M,active:c,selected:C,disabled:g,...S}=e;return Wx("div",{...S,className:r(e.className,Kn,k(Kn,{size:t,rounded:o,fillMode:a,themeColor:n}),I(Kn,{hover:h,focus:M,active:c,disabled:g,selected:C})),role:e.role||"button","aria-pressed":e.role==="option"||e.role==="listitem"||e.role==="presentation"||e["aria-haspopup"]?void 0:C?"true":"false",...e.role==="option"&&C!==void 0&&{"aria-selected":C?"true":"false"},"aria-disabled":g?"true":void 0,children:[l&&oa(L,{className:"k-chip-icon",icon:l,size:"small"}),f&&oa(Ge,{className:"k-chip-avatar",type:"image",children:oa("img",{src:N,alt:""})}),oa("span",{className:"k-chip-content",children:e.children?e.children:s&&oa("span",{className:"k-chip-label",children:s})}),m&&oa("span",{className:"k-chip-actions",children:m})]})};Ue.states=$x;Ue.options=Xx;Ue.className=Kn;Ue.defaultOptions=Cd;Ue.moduleName=Fa;Ue.folderName=On;var lt=Ue;import{jsx as Qx}from"react/jsx-runtime";var Ci="k-chip-list",Jx=[],qx={size:[p.undefined,p.small,p.medium,p.large]},Yx={},Le=e=>{let{size:t,multiselectable:o,ariaLabel:a,...n}=e;return Qx("div",{...n,className:r(e.className,Ci,k(Ci,{size:t})),role:e.role||"listbox","aria-label":e.role==="none"?void 0:a||"chip list","aria-orientation":e.role==="none"||e.role==="group"?void 0:"horizontal","aria-multiselectable":o?"true":void 0,children:e.children})};Le.states=Jx;Le.options=qx;Le.className=Ci;Le.defaultOptions=Yx;Le.moduleName=Fa;Le.folderName=On;import{jsx as jU}from"react/jsx-runtime";import{jsx as aF}from"react/jsx-runtime";import{jsx as Zx}from"react/jsx-runtime";var Rn=e=>Zx(lt,{text:"text",...e});import{jsx as mF}from"react/jsx-runtime";import{jsx as bF}from"react/jsx-runtime";import{Fragment as LF,jsx as CF,jsxs as MF}from"react/jsx-runtime";import{jsx as AF,jsxs as TF}from"react/jsx-runtime";import{jsx as PF,jsxs as KF}from"react/jsx-runtime";import{jsx as zF,jsxs as GF}from"react/jsx-runtime";import{jsx as aa,jsxs as nh}from"react/jsx-runtime";var jx={...lt.options,...Le.options},eh=[],th=Le.states,oh={...lt.defaultOptions,...Le.defaultOptions},ah=[{name:"icon",title:"Icon",type:"boolean"},{name:"actions",title:"Actions",type:"boolean"},{name:"avatar",title:"Avatar",type:"boolean"}],na=e=>{let{modifiers:t,className:o,...a}=e,n=t?.icon,s=t?.actions,l=t?.avatar,m=l?Pn:void 0;return nh(Le,{size:a.size,className:o,children:[aa(Rn,{...a,role:"option","aria-selected":"false","aria-pressed":void 0,icon:n?"star":void 0,actions:s?aa(yt,{type:"remove"}):void 0,showAvatar:l,avatarImage:m,children:"Chip"}),aa(Rn,{...a,role:"option","aria-selected":"false","aria-pressed":void 0,icon:n?"star":void 0,actions:s?aa(yt,{type:"remove"}):void 0,showAvatar:l,avatarImage:m,children:"Chip"}),aa(Rn,{...a,role:"option","aria-selected":"false","aria-pressed":void 0,icon:n?"star":void 0,actions:s?aa(yt,{type:"remove"}):void 0,showAvatar:l,avatarImage:m,children:"Chip"})]})};na.options=jx;na.states=th;na.variants=eh;na.defaultOptions=oh;na.modifiers=ah;na.className=Le.className;import{jsx as Li}from"react/jsx-runtime";var rh=Ue.states,ih=Ue.defaultOptions,sh=Ue.options,lh=[],dh=[{name:"icon",title:"Icon"},{name:"avatar",title:"Avatar"},{name:"remove-icon",title:"`Remove` Icon"},{name:"more-options",title:"`More options` Icon"}],ra=e=>{let{modifiers:t,...o}=e,a={};return Object.keys(t||{}).forEach(n=>{switch(n){case"icon":a.icon=t?.[n]?"arrow-down":void 0;break;case"avatar":a.showAvatar=!!t?.[n],a.avatarImage=t?.[n]?Pn:void 0;break;case"more-options":a.actions||(a.actions=[]),a.actions[0]=t?.[n]?Li(yt,{type:"more"}):void 0;break;case"remove-icon":a.actions||(a.actions=[]),a.actions[1]=t?.[n]?Li(yt,{type:"remove"}):void 0;break;default:break}}),Li(Ue,{...o,...a,children:"Chip component"})};ra.options=sh;ra.states=rh;ra.variants=lh;ra.defaultOptions=ih;ra.modifiers=dh;ra.className=Ue.className;import{Fragment as E9,jsx as T9,jsxs as y9}from"react/jsx-runtime";import{jsx as mh}from"react/jsx-runtime";var ph="k-card-callout",Ld=e=>{let{callout:t,...o}=e;return mh("span",{...o,className:r(e.className,ph,{[`k-callout-${Pi.calloutMap[t]||t}`]:t})})};var Ye="card",dt=Ye;import{Fragment as bh,jsx as Md,jsxs as xh}from"react/jsx-runtime";var Mi="k-card",ch=[i.hover,i.focus,i.selected,i.disabled],uh={},fh={},Q=e=>{let{orientation:t,callout:o,hover:a,focus:n,selected:s,disabled:l,...m}=e;return xh("div",{...m,className:r(e.className,Mi,I(Mi,{hover:a,focus:n,disabled:l,selected:s}),{[`k-card-${t}`]:t,"k-card-with-callout":o}),children:[o&&o!=="true"&&Md(Ld,{callout:o}),Md(bh,{children:e.children})]})};Q.states=ch;Q.options=uh;Q.className=Mi;Q.defaultOptions=fh;Q.moduleName=Ye;Q.folderName=dt;import{Fragment as Ch,jsx as gd}from"react/jsx-runtime";var gi="k-card-list",hh=[],Nh={},vh={},co=e=>{let{...t}=e;return gd("div",{...t,className:r(e.className,gi,I(gi,{})),role:"list",children:gd(Ch,{children:e.children})})};co.states=hh;co.options=Nh;co.className=gi;co.defaultOptions=vh;co.moduleName=Ye;co.folderName=dt;import{jsx as Sh}from"react/jsx-runtime";var Sd="k-card-group",Lh=[],Mh={},gh={},ia=e=>{let{...t}=e;return Sh("div",{...t,className:r(e.className,Sd),children:e.children})};ia.states=Lh;ia.options=Mh;ia.className=Sd;ia.defaultOptions=gh;ia.moduleName=Ye;ia.folderName=dt;import{jsx as Th}from"react/jsx-runtime";var Si="k-card-wrap",Ih=[i.focus,i.selected],kh={},Ah={},sa=e=>{let{focus:t,selected:o,...a}=e;return Th("div",{...a,className:r(e.className,Si,I(Si,{focus:t,selected:o})),children:e.children})};sa.states=Ih;sa.options=kh;sa.className=Si;sa.defaultOptions=Ah;sa.moduleName=Ye;sa.folderName=dt;import{jsx as Eh}from"react/jsx-runtime";var Ii="k-card-title",yh=[i.hover,i.focus],uo=e=>{let{hover:t,focus:o,...a}=e;return Eh("div",{...a,className:r(e.className,Ii,I(Ii,{hover:t,focus:o})),children:e.children})};uo.states=yh;uo.className=Ii;import{jsx as Oh}from"react/jsx-runtime";var Bh="k-card-subtitle",wn=e=>{let{...t}=e;return Oh("div",{...t,className:r(e.className,Bh),children:e.children})};import{Fragment as kd,jsx as _n}from"react/jsx-runtime";var Id="k-card-media",ki=e=>{let{src:t,...o}=e;return _n(kd,{children:t?_n("img",{...o,className:r(e.className,Id),src:t}):_n("span",{...o,className:r(e.className,Id),children:_n(kd,{children:e.children})})})};import{Fragment as Kh,jsx as Va,jsxs as Rh}from"react/jsx-runtime";var Ph="k-card-header",Et=e=>{let{title:t,subtitle:o,details:a,...n}=e;return Rh("div",{...n,className:r(e.className,Ph),children:[t&&Va(uo,{children:t}),o&&Va(wn,{children:o}),Va(Kh,{children:e.children}),a&&Va("span",{className:"k-card-header-actions",children:Va(d,{className:"k-card-details",icon:"more-vertical",fillMode:"flat","aria-label":"Card details"})})]})};import{jsx as _h}from"react/jsx-runtime";var wh="k-card-footer",Ai=e=>{let{...t}=e;return _h("div",{...t,className:r(e.className,wh),children:e.children})};import{Fragment as Hh,jsx as $a,jsxs as zh}from"react/jsx-runtime";var Dh="k-card-body",Oe=e=>{let{title:t,subtitle:o,details:a,...n}=e;return zh("div",{...n,className:r(e.className,Dh),children:[t&&$a(uo,{children:t}),o&&$a(wn,{children:o}),$a(Hh,{children:e.children}),a&&$a("span",{className:"k-card-header-actions",children:$a(d,{className:"k-card-details",icon:"more-vertical",fillMode:"flat","aria-label":"Card details"})})]})};import{jsx as Vh}from"react/jsx-runtime";var Ad="k-card-deck",Gh=[],Uh={},Fh={},la=e=>{let{...t}=e;return Vh("div",{...t,className:r(e.className,Ad),children:e.children})};la.states=Gh;la.options=Uh;la.className=Ad;la.defaultOptions=Fh;la.moduleName=Ye;la.folderName=dt;import{jsx as Jh}from"react/jsx-runtime";var Td="k-card-deck-scrollwrap",$h=[],Xh={},Wh={},da=e=>{let{...t}=e;return Jh("div",{...t,className:r(e.className,Td),children:e.children})};da.states=$h;da.options=Xh;da.className=Td;da.defaultOptions=Wh;da.moduleName=Ye;da.folderName=dt;import{Fragment as qh,jsx as pa,jsxs as yd}from"react/jsx-runtime";var Ed=e=>pa(Q,{orientation:"vertical",children:yd(qh,{children:[pa(Et,{children:"Card Header"}),pa(Oe,{children:pa("p",{children:"Some quick example text to build on the card title and make up the bulk of the card's content."})}),yd(z,{className:"k-card-actions",children:[pa(d,{fillMode:"flat",themeColor:"primary",children:"Action 1"}),pa(d,{fillMode:"flat",themeColor:"primary",children:"Action 2"})]})]}),...e});import{Fragment as Yh,jsx as Xa,jsxs as Bd}from"react/jsx-runtime";var Od=e=>Xa(Q,{orientation:"horizontal",children:Bd(Yh,{children:[Xa(Oe,{title:"Card Title",children:Xa("p",{children:"Some quick example text to build on the card title and make up the bulk of the card's content."})}),Bd(z,{orientation:"vertical",className:"k-card-actions",children:[Xa(d,{fillMode:"flat",themeColor:"primary",children:"Action 1"}),Xa(d,{fillMode:"flat",themeColor:"primary",children:"Action 2"})]})]}),...e});import{jsx as X6,jsxs as W6}from"react/jsx-runtime";import{jsx as Pe,jsxs as Wa}from"react/jsx-runtime";var Qh=Q.options,Zh=Q.states,Pd={...Q.defaultOptions,variant:"vertical"},jh=[{name:"vertical",title:"Vertical"},{name:"horizontal",title:"Horizontal"}],eN=[{name:"media",title:"Card with Media"},{name:"header",title:"Card with Header"},{name:"footer",title:"Card with Footer"}],ma=e=>{let{variant:t,modifiers:o,...a}={...Pd,...e},n=!1,s=!1,l=!1;return Object.keys(o||{}).forEach(m=>{switch(m){case"media":{n=!!o?.[m];break}case"header":{s=!!o?.[m];break}case"footer":{l=!!o?.[m];break}}}),t==="horizontal"?Wa(Od,{style:{maxWidth:"420px"},...a,children:[n&&Pe(ki,{src:"https://demos.telerik.com/kendo-ui/content/web/cards/rome.jpg"}),Wa("div",{children:[s&&Pe(Et,{title:"Header Title",subtitle:"Header Subtitle"}),Pe(Oe,{title:"Title",subtitle:"Subtitle",children:Pe("p",{children:"Some quick example text to build on the card title and make up the bulk of the card's content."})}),l&&Pe(Ai,{children:"Card Footer"})]}),(s||l)&&Pe("span",{className:"k-separator k-separator-vertical"}),Wa(z,{orientation:"vertical",alignment:"stretched",className:"k-card-actions",children:[Pe(d,{fillMode:"flat",themeColor:"primary",children:"Button"}),Pe(d,{fillMode:"flat",themeColor:"primary",children:"Button"})]})]}):Wa(Ed,{style:{maxHeight:"450px",width:"300px"},...a,children:[s&&Pe(Et,{title:"Header Title",subtitle:"Header Subtitle"}),n&&Pe(ki,{src:"https://demos.telerik.com/kendo-ui/content/web/cards/rome.jpg"}),Pe(Oe,{title:"Title",subtitle:"Subtitle",children:Pe("p",{children:"Some quick example text to build on the card title and make up the bulk of the card's content."})}),l&&Pe(Ai,{children:"Card Footer"}),Wa(z,{className:"k-card-actions",children:[Pe(d,{fillMode:"flat",themeColor:"primary",children:"Button"}),Pe(d,{fillMode:"flat",themeColor:"primary",children:"Button"})]})]})};ma.options=Qh;ma.states=Zh;ma.variants=jh;ma.defaultOptions=Pd;ma.modifiers=eN;ma.className=Q.className;import{jsx as B7,jsxs as O7}from"react/jsx-runtime";var Ti="panelbar",Kd=Ti;import{jsx as nN}from"react/jsx-runtime";var Rd="k-panelbar",tN=[],oN={},aN={},Me=e=>{let{activeDescendant:t,...o}=e;return nN("ul",{...o,className:r(e.className,Rd),role:"tree","aria-activedescendant":t,children:e.children})};Me.states=tN;Me.options=oN;Me.className=Rd;Me.defaultOptions=aN;Me.moduleName=Ti;Me.folderName=Kd;import yi from"react";import{jsx as Dn,jsxs as wd}from"react/jsx-runtime";var _d="k-panelbar-item",rN=[i.hover,i.focus,i.selected,i.disabled],iN={},Hn={level:0,expanded:!1,text:"Item"},E=e=>{let{text:t=Hn.text,level:o=Hn.level,expanded:a=Hn.expanded,header:n,hover:s,focus:l,selected:m,disabled:f,icon:N,iconClass:h,ariaSelected:M,children:c,...C}=e,g=!!c;return wd("li",{...C,className:r(e.className,_d,{"k-panelbar-header":n,[`k-level-${o}`]:o||o===0,"k-expanded":a}),role:"treeitem","aria-expanded":g?a?"true":"false":void 0,"aria-selected":M?"true":"false","aria-disabled":f?"true":void 0,children:[wd("span",{className:r("k-link",I("k-link",{hover:s,focus:l,disabled:f,selected:m})),children:[N&&Dn(L,{className:"k-panelbar-item-icon",icon:N}),h&&!N&&Dn("span",{className:`k-panelbar-item-icon ${h}`}),Dn("span",{className:"k-panelbar-item-text",children:t}),g&&Dn(L,{className:r("k-panelbar-toggle",a?"k-panelbar-collapse":"k-panelbar-expand"),icon:`chevron-${a?"up":"down"}`})]}),a&&c,!a&&c&&yi.Children.map(c,S=>yi.isValidElement(S)?yi.cloneElement(S,{"aria-hidden":"true",style:{display:"none"}}):S)]})};E.states=rN;E.options=iN;E.className=_d;E.moduleName=null;E.folderName=null;E.defaultOptions=Hn;import{jsx as pN}from"react/jsx-runtime";var Dd="k-panelbar-group",sN=[],lN={},dN={},xe=e=>{let{ariaHidden:t,...o}=e;return pN("ul",{...o,className:r(e.className,Dd),role:"group",...t!==void 0&&{"aria-hidden":t?"true":void 0},children:e.children})};xe.states=sN;xe.options=lN;xe.className=Dd;xe.moduleName=null;xe.folderName=null;xe.defaultOptions=dN;import{jsx as fN}from"react/jsx-runtime";var Hd="k-panelbar-content",mN=[],cN={},uN={},le=e=>{let{...t}=e;return fN("div",{...t,className:r(e.className,Hd),children:e.children})};le.states=mN;le.options=cN;le.className=Hd;le.defaultOptions=uN;import{Fragment as bN,jsx as $t,jsxs as xN}from"react/jsx-runtime";var Ja=e=>{let t=y("pb-item"),o=y("pb-item"),a=y("pb-item"),n=y("pb-item");return $t(Me,{children:xN(bN,{children:[$t(E,{header:!0,text:"Item 1",id:t,children:$t(le,{children:"content"})}),$t(E,{header:!0,text:"Item 2",id:o,children:$t(le,{children:"content"})}),$t(E,{header:!0,text:"Item 3",id:a,children:$t(le,{children:"content"})}),$t(E,{header:!0,text:"Item 4",id:n})]}),...e})};import{Fragment as n4,jsx as a4,jsxs as r4}from"react/jsx-runtime";import{Fragment as hN,jsx as Ke,jsxs as Ei}from"react/jsx-runtime";var zd=e=>{let t=y("pb-item"),o=y("pb-item"),a=y("pb-item"),n=y("pb-item"),s=y("pb-child"),l=y("pb-child"),m=y("pb-child"),f=y("pb-child"),N=y("pb-child"),h=y("pb-child"),M=y("pb-child");return Ke(Me,{activeDescendant:o,children:Ei(hN,{children:[Ke(E,{header:!0,text:"Item 1",id:t,children:Ke(le,{children:"content"})}),Ke(E,{header:!0,expanded:!0,text:"Item 2",id:o,ariaSelected:!0,focus:!0,children:Ei(xe,{children:[Ke(E,{level:1,text:"Child 1",id:s}),Ke(E,{level:1,expanded:!0,text:"Child 2",id:l,children:Ei(xe,{children:[Ke(E,{level:2,text:"Child 2.1",id:m}),Ke(E,{level:2,text:"Child 2.2",id:f})]})}),Ke(E,{level:1,text:"Child 3",id:N,children:Ke(xe,{children:Ke(E,{level:2,text:"Child 3.1",id:h})})}),Ke(E,{level:1,text:"Child 4",id:M})]})}),Ke(E,{header:!0,text:"Item 3",id:a,children:Ke(le,{children:"content"})}),Ke(E,{header:!0,text:"Item 4",id:n})]}),...e})};import{Fragment as Gd,jsx as te,jsxs as zn}from"react/jsx-runtime";var NN=Me.options,vN=Me.states,Ud={...Me.defaultOptions,variant:"normal"},CN=[{name:"normal",title:"Normal"},{name:"expand",title:"Expanded"}],LN=[{name:"icon",title:"Item icons"},{name:"disabled",title:"Disabled item"}],ca=e=>{let{variant:t,modifiers:o,...a}={...Ud,...e},n={},s={folder:"folder",gear:"gear",file:"file",image:"image"};return Object.keys(o||{}).forEach(l=>{switch(l){case"icon":{n.icon=o?.[l]?s:void 0;break}case"disabled":n.disabled=!!o?.[l]}}),t==="expand"?te(Gd,{children:zn(zd,{style:{width:"300px"},...a,children:[te(E,{icon:n.icon?.gear,header:!0,text:"Item 1",children:te(le,{children:"content"})}),te(E,{icon:n.icon?.folder,selected:!0,header:!0,expanded:!0,text:"Item 2",children:zn(xe,{children:[te(E,{level:1,text:"Child 1"}),te(E,{level:1,expanded:!0,text:"Child 2",children:zn(xe,{children:[te(E,{level:2,text:"Child 2.1"}),te(E,{icon:n.icon?.image,level:2,text:"Child 2.2"})]})}),te(E,{disabled:n.disabled,level:1,text:"Child 3",children:te(le,{children:"content"})}),te(E,{level:1,text:"Child 4"})]})}),te(E,{icon:n.icon?.folder,disabled:n.disabled,header:!0,text:"Item 3",children:te(le,{children:"content"})}),te(E,{icon:n.icon?.file,header:!0,text:"Item 4"})]})}):te(Gd,{children:zn(Ja,{style:{width:"300px"},...a,children:[te(E,{icon:n.icon?.gear,header:!0,text:"Item 1",children:te(le,{children:"content"})}),te(E,{icon:n.icon?.folder,header:!0,text:"Item 2",children:te(le,{children:"content"})}),te(E,{icon:n.icon?.folder,disabled:n.disabled,header:!0,text:"Item 3",children:te(le,{children:"content"})}),te(E,{icon:n.icon?.file,header:!0,text:"Item 4"})]})})};ca.options=NN;ca.states=vN;ca.variants=CN;ca.defaultOptions=Ud;ca.modifiers=LN;ca.className=Me.className;import{jsx as P4,jsxs as K4}from"react/jsx-runtime";import{Fragment as $4,jsx as F4,jsxs as V4}from"react/jsx-runtime";import{Fragment as j4,jsx as Z4,jsxs as e8}from"react/jsx-runtime";import{Fragment as Fd,jsx as v,jsxs as de}from"react/jsx-runtime";var MN=V.options,gN=V.states,SN={...V.defaultOptions,variant:"ask"},IN=[{name:"ask",title:"Ask AI"},{name:"output",title:"Output"},{name:"more",title:"More Actions"}],kN=[{name:"stt",title:"SpeechToText"},{name:"suggestions",title:"Suggestions"}],ua=e=>{let{variant:t,modifiers:o,...a}={...e},n=v(Fd,{children:de(st,{layout:"wrap",children:[v(ft,{text:"Post for work-life balance importance"}),v(ft,{text:"Out of office"})]})}),s={suggestions:n,stt:!0};switch(Object.keys(o||{}).forEach(l=>{switch(l){case"suggestions":s.suggestions=!!o?.[l];break;case"stt":s.stt=!!o?.[l];break}}),t){case"more":return v(U,{className:"k-prompt-popup",children:de(V,{style:{width:"330px",height:"350px"},...a,children:[v(ut,{children:de(D,{className:"k-toolbar-flat",children:[v(R,{fillMode:"flat",themeColor:"primary",icon:"sparkles",rounded:"full",children:"Ask AI"}),v(R,{fillMode:"flat",themeColor:"primary",icon:"comment",rounded:"full",children:"Output"}),v(F,{fillMode:"flat",themeColor:"primary",icon:"more-horizontal",rounded:"full",selected:!0})]})}),v(Ee,{children:v(Be,{children:de(Ja,{children:[v(E,{header:!0,icon:"brush",text:"Change Formality",children:de(xe,{children:[v(E,{level:1,text:"Casual"}),v(E,{level:1,text:"Neutral"}),v(E,{level:1,text:"Formal"})]})}),v(E,{header:!0,expanded:!0,icon:"edit-tools",text:"Translate",children:de(xe,{children:[v(E,{level:1,text:"German"}),v(E,{level:1,text:"Spanish"})]})}),v(E,{header:!0,icon:"min-width",text:"Simplify"}),v(E,{header:!0,icon:"arrows-left-right",text:"Expand"})]})})})]})});case"output":return v(U,{className:"k-prompt-popup",children:de(V,{style:{width:"330px",height:"350px"},...a,children:[v(ut,{children:de(D,{className:"k-toolbar-flat",children:[v(R,{fillMode:"flat",themeColor:"primary",icon:"sparkles",rounded:"full",children:"Ask AI"}),v(R,{fillMode:"flat",themeColor:"primary",icon:"comment",rounded:"full",selected:!0,children:"Output"}),v(F,{fillMode:"flat",themeColor:"primary",icon:"more-horizontal",rounded:"full"})]})}),de(Ee,{children:[v(po,{}),v(Be,{children:de("div",{className:"k-card-list",children:[de(Q,{children:[v(Et,{title:"Generated with AI",subtitle:"Linked in post for work/life balance importance"}),v(Oe,{children:de("p",{children:["\u{1F31F} Embracing Work/Life Balance for Success \u{1F31F}",v("br",{}),v("br",{}),"Hello LinkedIn network! \u{1F44B} Today, let's talk about a key to our well-being: work/life balance. \u{1F310}\u2696\uFE0F",v("br",{}),v("br",{}),"In our fast-paced world, balancing professional and personal life is not just a luxury, it's a necessity for health and productivity. \u{1F4C8}\u{1F33F}",v("br",{}),v("br",{}),"\u2728 Key Points \u2728",v("br",{}),v("br",{}),"Enhances Productivity: Less burnout, more motivation. \u{1F680}",v("br",{}),"Boosts Creativity: New experiences = fresh ideas. \u{1F4A1}",v("br",{}),"Improves Health: Mental and physical benefits. \u{1F9D8}\u200D\u2642\uFE0F",v("br",{}),"Strengthens Relationships: Quality time matters. \u{1F91D}",v("br",{}),"Let's champion a culture where success and well-being go hand in hand. Share your work/life balance tips below! \u{1F447}",v("br",{}),v("br",{}),"#WorkLifeBalance #Productivity #WellBeing"]})}),de(z,{className:"k-card-actions",alignment:"start",children:[v(R,{fillMode:"flat",themeColor:"primary",icon:"copy",children:"Copy"}),v(R,{fillMode:"flat",themeColor:"base",icon:"arrow-rotate-cw",children:"Retry"}),v("span",{className:"k-spacer"}),v(F,{fillMode:"flat",themeColor:"base",icon:"thumb-up"}),v(F,{fillMode:"flat",themeColor:"base",icon:"thumb-down"})]})]}),de(Q,{children:[v(Et,{title:"Generated with AI",subtitle:"Out of Office"}),v(Oe,{children:de("p",{children:["Subject: Out of Office: [Your Name]",v("br",{}),v("br",{}),"Dear [Recipient's Name],",v("br",{}),v("br",{}),"I am currently out of the office until [Return Date] and won't have access to email. For urgent matters, please contact [Colleague's Name] at [Colleague's Email]. I'll respond to your email upon my return.",v("br",{}),v("br",{}),"Thank you,",v("br",{}),"[Your Name]"]})}),de(z,{className:"k-card-actions",alignment:"start",children:[v(R,{fillMode:"flat",themeColor:"primary",icon:"copy",children:"Copy"}),v(R,{fillMode:"flat",themeColor:"base",icon:"arrow-rotate-cw",children:"Retry"}),v("span",{className:"k-spacer"}),v(F,{fillMode:"flat",themeColor:"base",icon:"thumb-up"}),v(F,{fillMode:"flat",themeColor:"base",icon:"thumb-down"})]})]})]})})]})]})});default:return v(U,{className:"k-prompt-popup",children:de(V,{style:{width:"330px",height:"350px"},...a,children:[v(ut,{children:de(D,{className:"k-toolbar-flat",children:[v(R,{fillMode:"flat",themeColor:"primary",icon:"sparkles",rounded:"full",selected:!0,children:"Ask AI"}),v(R,{fillMode:"flat",themeColor:"primary",icon:"comment",rounded:"full",children:"Output"}),v(F,{fillMode:"flat",themeColor:"primary",icon:"more-horizontal",rounded:"full"})]})}),v(Ee,{children:de(Be,{children:[v(q,{resize:"none",rows:2,placeholder:"Ask or generate content with AI",suffixSeparator:!1,suffix:v(Fd,{children:s.stt?v(ee,{fillMode:"flat"}):null})}),v(In,{expanded:s.suggestions,title:"Suggestions",children:n})]})}),v(lo,{children:v(z,{className:"k-prompt-actions",alignment:"start",children:v(R,{icon:"sparkles",themeColor:"primary",rounded:"full",children:"Generate"})})})]})})}};ua.options=MN;ua.states=gN;ua.variants=IN;ua.defaultOptions=SN;ua.modifiers=kN;ua.className=V.className;import{Fragment as BN,jsx as pt,jsxs as Gn}from"react/jsx-runtime";var AN=V.options,TN=V.states,yN={...V.defaultOptions},EN=[{name:"commands",title:"Commands Menu",default:!0},{name:"stt",title:"SpeechToText",default:!0},{name:"response",title:"Response Card"},{name:"generating",title:"Generating"}],fa=e=>{let{modifiers:t,...o}={...e},a={commands:!0,stt:!0};Object.keys(t||{}).forEach(s=>{switch(s){case"commands":a.commands=t?.[s]?!0:void 0;break;case"stt":a.stt=t?.[s]?!0:void 0;break;case"response":a.response=t?.[s]?!0:void 0;break;case"generating":a.generating=t?.[s]?!0:void 0;break;default:return}});let n=Gn(Q,{children:[pt(Oe,{style:{maxHeight:"150px",overflowY:"auto"},children:"Lorem Ipsum is simply dummy text of the printing and typesetting industry. Lorem Ipsum has been the industry's standard dummy text ever since the 1500s,"}),Gn(z,{className:"k-card-actions",alignment:"start",children:[pt(R,{fillMode:"flat",themeColor:"primary",icon:"copy",children:"Copy"}),pt(R,{fillMode:"flat",themeColor:"primary",icon:"insert-bottom",children:"Insert"}),pt(R,{fillMode:"flat",themeColor:"primary",icon:"check",children:"Replace"}),pt(R,{fillMode:"flat",themeColor:"base",icon:"cancel",children:"Discard"})]})]});return pt(U,{className:"k-prompt-popup",children:pt(V,{style:{width:"450px",height:"auto"},...o,children:pt(Ee,{children:Gn(Be,{children:[a.response?n:null,pt(q,{rows:1,placeholder:"Edit, generate or explain ...",resize:"none",flow:"horizontal",prefixSeparator:a.commands&&a.stt,suffixSeparator:!1,prefix:Gn(BN,{children:[a.commands?pt(F,{fillMode:"flat",icon:"menu"}):null,a.stt?pt(ee,{fillMode:"flat"}):null]}),suffix:pt(Mt,{generating:!!a.generating})})]})})})})};fa.options=AN;fa.states=TN;fa.variants=[];fa.defaultOptions=yN;fa.modifiers=EN;fa.className=V.className;import{Fragment as ON,jsx as Re,jsxs as Vd}from"react/jsx-runtime";var iV=e=>Re(U,{className:"k-prompt-popup",children:Vd(V,{...e,children:[Re(ut,{children:Vd(D,{fillMode:"flat",children:[Re(R,{fillMode:"flat",themeColor:"primary",icon:"sparkles",rounded:"full",selected:!0,children:"Ask AI"}),Re(R,{fillMode:"flat",themeColor:"primary",icon:"comment",rounded:"full",children:"Output"}),Re(F,{fillMode:"flat",themeColor:"primary",icon:"more-horizontal",rounded:"full","aria-label":"More actions"}),Re("span",{className:"k-spacer"}),Re(F,{fillMode:"flat",icon:"x",rounded:"full","aria-label":"Close"})]})}),Re(Ee,{children:Re(Be,{children:Re(q,{resize:"y",rows:1,suffixSeparator:!1,placeholder:"Ask or generate content with AI","aria-label":"Ask or generate content with AI",suffix:Re(ON,{children:Re(ee,{fillMode:"flat"})})})})}),Re(lo,{children:Re(z,{className:"k-prompt-actions",alignment:"start",children:Re(R,{icon:"sparkles",themeColor:"primary",rounded:"full",children:"Generate"})})})]})});export{iV as PromptInPopup};
|
|
1
|
+
var r=(...e)=>e.filter(t=>t!==!0&&!!t).map(t=>Array.isArray(t)?r(...t):typeof t=="object"?Object.keys(t).map((o,a)=>t[a]||t[o]&&o||null).filter(o=>o!==null).join(" "):t).filter(t=>!!t).join(" ");var k=(e,t)=>r({[`${e}-xs`]:t.size==="xsmall",[`${e}-sm`]:t.size==="small",[`${e}-md`]:t.size==="medium",[`${e}-lg`]:t.size==="large",[`${e}-xl`]:t.size==="xlarge",[`${e}-xxl`]:t.size==="xxlarge",[`${e}-xxxl`]:t.size==="xxxlarge"},{[`${e}-${t.fillMode}`]:t.fillMode},{[`${e}-${t.themeColor}`]:t.themeColor},{"k-rounded-sm":t.rounded==="small","k-rounded-md":t.rounded==="medium","k-rounded-lg":t.rounded==="large","k-rounded-full":t.rounded==="full","k-rounded-none":t.rounded==="none"}),I=(e,t)=>{let{valid:o,invalid:a,hover:n,focus:s,checked:l,active:m,selected:f,disabled:N,indeterminate:h,loading:M,empty:c,readonly:C,highlighted:g,...S}=t;return r({"k-valid":o,"k-invalid":a,"k-hover":n,"k-focus":s,"k-checked":l,"k-active":m,"k-selected":f,"k-disabled":N,"k-indeterminate":h&&!l,"k-loading":M,"k-empty":c,"k-readonly":C,"k-highlighted":g},Object.keys(S).reduce((T,A)=>(A.startsWith("k-")?T[A]=S[A]:T[`k-${A}`]=S[A],T),{}))};function Oi(e,t){if(!t)return{};let o=Array.isArray(t)?t:[t];return Object.fromEntries(o.map(a=>[`k-${a}`,!0]))}var p={undefined:void 0,xsmall:"xsmall",small:"small",medium:"medium",large:"large",xlarge:"xlarge",xxlarge:"xxlarge",xxxlarge:"xxxlarge"},u={undefined:void 0,none:"none",small:"small",medium:"medium",large:"large",full:"full"},b={undefined:void 0,solid:"solid",tint:"tint",flat:"flat",outline:"outline",clear:"clear",link:"link"},bt={undefined:void 0,outline:"outline",solid:"solid",duotone:"duotone"},x={undefined:void 0,inherit:"inherit",base:"base",primary:"primary",secondary:"secondary",tertiary:"tertiary",info:"info",success:"success",warning:"warning",error:"error",inverse:"inverse"},i={open:"open",hover:"hover",focus:"focus",active:"active",selected:"selected",disabled:"disabled",valid:"valid",invalid:"invalid",loading:"loading",required:"required",empty:"empty",indeterminate:"indeterminate",checked:"checked",readonly:"readonly",highlighted:"highlighted",generating:"generating",expanded:"expanded"},Pi={calloutMap:{top:"n",bottom:"s",left:"w",right:"e"},orientationMap:{vertical:"vstack",horizontal:"hstack"}};var $n={};function y(e){return $n[e]=($n[e]||0)+1,`k-${e}-${$n[e]}`}var Xn="action-buttons",Ki=Xn;import{jsx as Wd}from"react/jsx-runtime";var qa="k-actions",$d=[],Xd={},Wn={alignment:"start",orientation:"horizontal"},z=e=>{let{alignment:t=Wn.alignment,orientation:o=Wn.orientation,...a}=e;return Wd("div",{...a,className:r(qa,{[`${qa}-${t}`]:t,[`${qa}-${o}`]:o},e.className),children:e.children})};z.states=$d;z.options=Xd;z.className=qa;z.defaultOptions=Wn;z.moduleName=Xn;z.folderName=Ki;import{Fragment as Qd,jsx as Ri}from"react/jsx-runtime";var Jn="k-font-icon",Jd=[],qd={size:[p.undefined,p.xsmall,p.small,p.medium,p.large,p.xlarge,p.xxlarge,p.xxxlarge],themeColor:[x.undefined,x.base,x.primary,x.secondary,x.tertiary,x.success,x.warning,x.error,x.info]},Yd={},ha=e=>{let{size:t,themeColor:o,icon:a,rotate:n,flip:s,...l}=e;return a?Ri("span",{...l,className:r(e.className,Jn,k(Jn,{size:t}),{[`k-i-${a}`]:a,[`k-color-${o}`]:o,[`k-rotate-${n}`]:n,"k-flip-h":s==="h"||s==="both","k-flip-v":s==="v"||s==="both"}),"aria-hidden":"true"}):Ri(Qd,{})};ha.states=Jd;ha.options=qd;ha.className=Jn;ha.defaultOptions=Yd;var wi=ha;import{Fragment as ep,jsx as Ya}from"react/jsx-runtime";var qn="k-svg-icon",Zd=[],jd={size:[p.undefined,p.xsmall,p.small,p.medium,p.large,p.xlarge,p.xxlarge,p.xxxlarge],themeColor:[x.undefined,x.base,x.primary,x.secondary,x.tertiary,x.success,x.warning,x.error,x.info],variant:[bt.outline,bt.solid,bt.duotone]},Yn={viewBox:"0 0 24 24",variant:bt.outline},Na=e=>{let{size:t,themeColor:o,rotate:a,flip:n,viewBox:s=Yn.viewBox,variant:l=Yn.variant,icon:m,...f}=e;if(!m)return Ya(ep,{});if(m==="none")return Ya("span",{...f,className:r(e.className,qn,k("k-icon",{size:t}),"k-none"),"aria-hidden":"true"});let N=typeof m=="object"&&m.name&&m.name,h=typeof m=="object"?l&&m.variants?.[l]||m.variants?.outline||m.content:void 0;return Ya("span",{...f,className:r(e.className,qn,k("k-icon",{size:t}),{[`k-svg-i-${N}`]:N,[`k-color-${o}`]:o,[`k-rotate-${a}`]:a,"k-flip-h":n==="h"||n==="both","k-flip-v":n==="v"||n==="both"}),"aria-hidden":"true",children:Ya("svg",{"aria-hidden":!0,focusable:!1,xmlns:"http://www.w3.org/2000/svg",viewBox:typeof m=="object"?m.viewBox:s,dangerouslySetInnerHTML:h!==void 0?{__html:h}:void 0,children:m?void 0:e.children})})};Na.states=Zd;Na.options=jd;Na.className=qn;Na.defaultOptions=Yn;var Qn=Na;import*as Zn from"@progress/kendo-svg-icons";var _i="icon",Di="icons";import{useContext as op}from"react";import{createContext as tp}from"react";var Hi=tp({iconsType:"svg"});import{Fragment as zi,jsx as va}from"react/jsx-runtime";var Qa="k-icon",ap=e=>e.replace(/([-_][a-z0-9])/gi,t=>t.toUpperCase().replace("-","").replace("_","")),np=[],rp={size:[p.undefined,p.xsmall,p.small,p.medium,p.large,p.xlarge,p.xxlarge,p.xxxlarge],themeColor:[x.undefined,x.base,x.primary,x.secondary,x.tertiary,x.success,x.warning,x.error,x.info],variant:[bt.outline,bt.solid,bt.duotone]},Za={viewBox:"0 0 24 24",type:"svg",variant:bt.outline},L=e=>{let{iconsType:t}=op(Hi),{size:o,themeColor:a,icon:n,type:s=t||Za.type,rotate:l,flip:m,viewBox:f=Za.viewBox,variant:N=Za.variant,...h}=e;if(!n)return va(zi,{});if((t||s)==="svg"){if(n==="none")return va(Qn,{...h,className:r(e.className,Qa),icon:n,size:o,variant:N});let c=Zn[n]?n:ap(`${n}-icon`);return Zn[c]?va(Qn,{...h,className:r(e.className,Qa),icon:Zn[c],size:o,themeColor:a,rotate:l,flip:m,viewBox:f,variant:N}):va(zi,{})}return va(wi,{...h,className:r(e.className,Qa),icon:n,size:o,themeColor:a,rotate:l,flip:m})};L.states=np;L.options=rp;L.defaultOptions=Za;L.className=Qa;L.moduleName=_i;L.folderName=Di;var jn="button",Gi=jn;import{Fragment as er,jsx as Bt,jsxs as Ui}from"react/jsx-runtime";var Ca="k-button",ip=["icon-button"],sp=[i.hover,i.focus,i.active,i.selected,i.disabled,i.generating],lp={size:[p.undefined,p.xsmall,p.small,p.medium,p.large],rounded:[u.undefined,u.none,u.small,u.medium,u.large,u.full],fillMode:[b.undefined,b.solid,b.flat,b.outline,b.clear,b.link],themeColor:[x.undefined,x.base,x.primary,x.secondary,x.tertiary,x.success,x.warning,x.error,x.info,x.inverse]},tr={showArrow:!1,arrowIconName:"chevron-down"},d=e=>{let{as:t="button",size:o,rounded:a,fillMode:n,themeColor:s,showArrow:l=tr.showArrow,arrowIconName:m=tr.arrowIconName,variant:f,hover:N,focus:h,active:M,selected:c,disabled:C,togglable:g,ariaDisabled:S,icon:T,endIcon:A,iconSize:K,text:$,iconClassName:ie,className:he,...pe}=e,ce=T!=null,ba=e.children!==void 0;return Ui(t,{className:r(he,Ca,Oi(Ca,f),k(Ca,{size:o,rounded:a,fillMode:n,themeColor:s}),I(Ca,{hover:N,focus:h,active:M,disabled:C||S,selected:c}),{"k-icon-button":!$&&!ba&&ce}),"aria-pressed":g?c?"true":"false":void 0,...pe,"aria-disabled":S?"true":void 0,disabled:C||void 0,children:[typeof T=="string"&&T&&Bt(L,{className:r(ie,"k-button-icon"),icon:T,size:K}),T&&typeof T!="string"&&Bt(er,{children:T}),$?Ui(er,{children:[$&&Bt("span",{className:"k-button-text",children:$}),e.children]}):e.children&&Bt("span",{className:"k-button-text",children:e.children}),typeof A=="string"&&A&&Bt(L,{className:r(ie,"k-button-icon"),icon:A,size:K}),A&&typeof A!="string"&&Bt(er,{children:A}),l&&Bt("span",{className:"k-menu-button-arrow k-button-arrow",children:Bt(L,{icon:m})})]})};d.states=sp;d.options=lp;d.variants=ip;d.className=Ca;d.defaultOptions=tr;d.moduleName=jn;d.folderName=Gi;import{jsx as dp}from"react/jsx-runtime";var F=e=>dp(d,{icon:"folder",...e,"aria-label":e["aria-label"]||"Folder",children:void 0});import{jsx as pp}from"react/jsx-runtime";var R=e=>pp(d,{icon:"folder",children:"Button",...e});import{jsx as Bv}from"react/jsx-runtime";import{jsx as mp}from"react/jsx-runtime";var Jt=e=>mp(d,{children:"Button",...e});import{jsx as or}from"react/jsx-runtime";var cp=d.options,up=d.states,fp={...d.defaultOptions,variant:"text"},bp=[{name:"icon-only",title:"Icon Only"},{name:"icon-and-text",title:"Icon & Text"},{name:"text",title:"Text"}],xp=[],fo=e=>{let{variant:t,...o}=e;switch(t){case"icon-only":return or(F,{...o,icon:"star"});case"icon-and-text":return or(R,{...o,icon:"star",children:"Button"});default:return or(Jt,{...o,children:"Button"})}};fo.options=cp;fo.states=up;fo.variants=bp;fo.defaultOptions=fp;fo.modifiers=xp;fo.className=d.className;var ar="button",Fi=ar;import{jsx as Cp}from"react/jsx-runtime";var La="k-button-group",hp=[i.disabled],Np={fillMode:[b.undefined,b.solid,b.flat,b.outline,b.clear,b.link]},vp={},O=e=>{let{fillMode:t,disabled:o,stretched:a,...n}=e;return Cp("div",{role:"group",...n,className:r(e.className,La,k(La,{fillMode:t}),I(La,{disabled:o}),{[`${La}-stretched`]:a}),...o&&{"aria-disabled":"true"},children:e.children})};O.states=hp;O.options=Np;O.className=La;O.defaultOptions=vp;O.moduleName=ar;O.folderName=Fi;import{Fragment as rC,jsx as nC,jsxs as iC}from"react/jsx-runtime";import{Fragment as cC,jsx as mC,jsxs as uC}from"react/jsx-runtime";import{Fragment as vC,jsx as NC,jsxs as CC}from"react/jsx-runtime";import{Fragment as kC,jsx as IC,jsxs as AC}from"react/jsx-runtime";import{Fragment as PC,jsx as OC,jsxs as KC}from"react/jsx-runtime";import{Fragment as zC,jsx as HC,jsxs as GC}from"react/jsx-runtime";import{Fragment as WC,jsx as XC,jsxs as JC}from"react/jsx-runtime";import{jsx as gt,jsxs as nr}from"react/jsx-runtime";var Lp={...d.options,...O.options},Mp=d.states,gp={...d.defaultOptions,...O.defaultOptions,variant:"text-button"},Sp=[{name:"icon-button",title:"Icon Only"},{name:"text-button",title:"Text"},{name:"icon-text-button",title:"Icon Text"}],Ip=[],bo=e=>{let{variant:t,className:o,...a}=e;return t==="icon-button"?nr(O,{fillMode:a.fillMode,className:o,children:[gt(d,{...a,icon:"star"}),gt(d,{...a,icon:"star"}),gt(d,{...a,icon:"star"})]}):t==="icon-text-button"?nr(O,{fillMode:a.fillMode,className:o,children:[gt(d,{...a,icon:"star",children:"First"}),gt(d,{...a,icon:"star",children:"Middle"}),gt(d,{...a,icon:"star",children:"Last"})]}):nr(O,{fillMode:a.fillMode,className:o,children:[gt(d,{...a,children:"First"}),gt(d,{...a,children:"Middle"}),gt(d,{...a,children:"Last"})]})};bo.options=Lp;bo.states=Mp;bo.variants=Sp;bo.defaultOptions=gp;bo.modifiers=Ip;bo.className=O.className;var Ma="input",ja=Ma;import{jsx as yp}from"react/jsx-runtime";var en="k-input",kp=[i.hover,i.focus,i.valid,i.invalid,i.required,i.disabled,i.loading,i.readonly],Ap={size:[p.undefined,p.small,p.medium,p.large],rounded:[u.undefined,u.none,u.small,u.medium,u.large,u.full],fillMode:[b.undefined,b.solid,b.flat,b.outline]},Tp={},Z=e=>{let{hover:t,focus:o,disabled:a,invalid:n,valid:s,loading:l,readonly:m,size:f,rounded:N,fillMode:h,...M}=e;return yp("span",{...M,className:r(e.className,en,k(en,{size:f,rounded:N,fillMode:h}),I(en,{hover:t,focus:o,disabled:a,invalid:n,valid:s,loading:l,readonly:m}))})};Z.states=kp;Z.options=Ap;Z.className=en;Z.defaultOptions=Tp;Z.moduleName=Ma;Z.folderName=ja;import{jsx as Pp}from"react/jsx-runtime";var tn="k-picker",Ep=[i.hover,i.focus,i.valid,i.invalid,i.required,i.disabled,i.loading,i.readonly],Bp={size:[p.undefined,p.small,p.medium,p.large],rounded:[u.undefined,u.none,u.small,u.medium,u.large,u.full],fillMode:[b.undefined,b.solid,b.flat,b.outline]},Op={},xt=e=>{let{hover:t,focus:o,disabled:a,invalid:n,valid:s,loading:l,readonly:m,size:f,rounded:N,fillMode:h,...M}=e;return Pp("span",{...M,className:r(e.className,tn,k(tn,{size:f,rounded:N,fillMode:h}),I(tn,{hover:t,focus:o,disabled:a,invalid:n,valid:s,loading:l,readonly:m})),children:e.children})};xt.states=Ep;xt.options=Bp;xt.className=tn;xt.defaultOptions=Op;xt.moduleName=Ma;xt.folderName=ja;import{Fragment as wp,jsx as rr}from"react/jsx-runtime";var Vi="k-clear-value",Kp=[i.disabled,i.loading,i.readonly],Rp={},Fe=e=>{let{disabled:t,loading:o,readonly:a,value:n}=e;return t||a||o||!n?rr(wp,{}):rr("span",{className:r(e.className,Vi),children:rr(L,{icon:"x"})})};Fe.states=Kp;Fe.options=Rp;Fe.className=Vi;import{jsx as Hp}from"react/jsx-runtime";var ir="k-input-inner",_p=[],Dp={},on={type:"text",autocomplete:"off",value:"",placeholder:""},Ve=e=>{let{value:t=on.value,type:o=on.type,placeholder:a=on.placeholder,autocomplete:n=on.autocomplete,disabled:s,readOnly:l,...m}=e;return Hp("input",{...m,type:o,className:r(e.className,ir,k(ir,e)),placeholder:a,autoComplete:n,defaultValue:t,disabled:s||void 0,readOnly:l||void 0})};Ve.states=_p;Ve.options=Dp;Ve.className=ir;import{jsx as $i,jsxs as Up}from"react/jsx-runtime";var sr="k-input-inner",zp=[],Gp={},qt=e=>{let{value:t,placeholder:o,showValue:a,valueIcon:n,valueIconName:s,...l}=e;return Up("span",{...l,className:r(e.className,sr,k(sr,e)),children:[n,!n&&s&&$i(L,{className:"k-input-value-icon",icon:s}),a&&!t&&o,a&&t&&$i("span",{className:"k-input-value-text",children:t})]})};qt.states=zp;qt.options=Gp;qt.className=sr;import{jsx as $p}from"react/jsx-runtime";var lr="k-input-inner",Fp=[],Vp={},Xi={value:"",placeholder:""},ga=e=>{let{value:t=Xi.value,placeholder:o=Xi.placeholder,rows:a,disabled:n,...s}=e;return $p("textarea",{...s,className:r(e.className,lr,k(lr,e)),placeholder:o,rows:a,defaultValue:t,disabled:n||void 0})};ga.states=Fp;ga.options=Vp;ga.className=lr;import{Fragment as Wp,jsx as Wi}from"react/jsx-runtime";var Ji="k-input-loading-icon",Xp=[i.disabled,i.loading],we=e=>{let{disabled:t,loading:o}=e;return t||!o?Wi(Wp,{}):Wi("span",{className:r(e.className,Ji,"k-icon k-i-loading")})};we.states=Xp;we.className=Ji;import{Fragment as Yp,jsx as qi}from"react/jsx-runtime";var Yi="k-input-validation-icon",Jp=[i.valid,i.invalid,i.disabled,i.loading],qp={},ge=e=>{let{valid:t,invalid:o,disabled:a,loading:n}=e,s=o?"warning-circle":"check-circle";return a||n||!!!(t||o)?qi(Yp,{}):qi(L,{className:r(Yi),icon:s})};ge.states=Jp;ge.options=qp;ge.className=Yi;import{Fragment as jp,jsx as Qi}from"react/jsx-runtime";var Qp="k-input-prefix",Zp={direction:"horizontal"},_e=e=>{let{direction:t=Zp.direction,...o}=e;return e.children?Qi("span",{...o,className:r(Qp,e.className,{[`k-input-prefix-${t}`]:t}),children:e.children}):Qi(jp,{})};import{Fragment as om,jsx as Zi}from"react/jsx-runtime";var em="k-input-suffix",tm={direction:"horizontal"},De=e=>{let{direction:t=tm.direction,...o}=e;return e.children?Zi("span",{...o,className:r(em,e.className,{[`k-input-suffix-${t}`]:t}),children:e.children}):Zi(om,{})};import{jsx as qL}from"react/jsx-runtime";import{jsx as nm}from"react/jsx-runtime";var am="k-input-suffix-text",dr=e=>{let{children:t,...o}=e;return nm("span",{...o,className:r(am,e.className),children:t})};import{jsx as im}from"react/jsx-runtime";var ji="k-input-separator",rm={direction:"vertical"},Se=e=>{let{direction:t=rm.direction,...o}=e;return im("span",{...o,className:r(ji,e.className,{[`${ji}-${t}`]:t})})};import{Fragment as es,jsx as ht,jsxs as pr}from"react/jsx-runtime";var sm=Z.states,lm=Z.defaultOptions,dm=Z.options,pm=[{name:"prefix",title:"Prefix"},{name:"suffix",title:"Suffix"},{name:"clear-button",title:"`Clear` Button"},{name:"validation-icon",title:"Validation Icon"},{name:"separators",title:"Separators"}],mm=[],xo=e=>{let{modifiers:t,valid:o,invalid:a,loading:n,disabled:s,readonly:l,...m}=e,f=t?.prefix,N=t?.suffix,h=t?.["clear-button"],M=t?.["validation-icon"],c=t?.separators;return pr(Z,{...m,valid:o,invalid:a,loading:n,disabled:s,readonly:l,style:{width:300},children:[f&&pr(es,{children:[ht(_e,{children:ht(L,{icon:"lock"})}),c&&ht(Se,{})]}),ht(Ve,{placeholder:"Placeholder",value:"Value"}),M&&ht(ge,{valid:o,invalid:a,loading:n,disabled:s}),ht(we,{loading:n,disabled:s}),h&&ht(Fe,{loading:n,disabled:s,readonly:l,value:"Value"}),N&&pr(es,{children:[c&&ht(Se,{}),ht(De,{children:ht(Jt,{size:m.size,fillMode:"clear",children:"Send"})})]})]})};xo.options=dm;xo.states=sm;xo.variants=mm;xo.defaultOptions=lm;xo.modifiers=pm;xo.className=Z.className;import{jsx as ts,jsxs as fm}from"react/jsx-runtime";var os="k-color-preview",cm=[],um={},Ot=e=>{let{color:t,iconName:o,...a}=e;return fm("span",{...a,className:r(e.className,os,{"k-icon-color-preview":o,"k-no-color":!t}),children:[o&&ts(L,{icon:o,className:"k-color-preview-icon"}),ts("span",{className:"k-color-preview-mask",style:{backgroundColor:t}})]})};Ot.states=cm;Ot.options=um;Ot.className=os;var mr="popup",as=mr;import{jsx as ns}from"react/jsx-runtime";var rs="k-animation-container",bm=[],xm={},cr={positionMode:"absolute",shown:!0},Nt=e=>{let{positionMode:t=cr.positionMode,shown:o=cr.shown,animationStyle:a,offset:n,...s}=e;return ns("div",{...s,style:{...n,...e.style},className:r(e.className,rs,{"k-animation-container-shown":o,"k-animation-container-fixed":t==="fixed"}),children:ns("div",{className:"k-child-animation-container",style:a,children:e.children})})};Nt.states=bm;Nt.options=xm;Nt.className=rs;Nt.defaultOptions=cr;Nt.moduleName=mr;Nt.folderName=as;var ur="popup",is=ur;import{jsx as ss}from"react/jsx-runtime";var ls="k-popup",hm=[],Nm={},ds={positionMode:"absolute"},U=e=>{let{offset:t,positionMode:o=ds.positionMode,animationStyle:a,containerClassName:n,containerRole:s,containerAriaLabel:l,...m}=e;return ss(Nt,{positionMode:o,offset:t,animationStyle:a,className:n,role:s,"aria-label":l,children:ss("div",{...m,className:r(e.className,ls),children:e.children})})};U.states=hm;U.options=Nm;U.className=ls;U.defaultOptions=ds;U.moduleName=ur;U.folderName=is;import{jsx as Cm}from"react/jsx-runtime";var vm="k-actionsheet-footer",ps={alignment:"stretched",orientation:"horizontal"},Pt=e=>{let{alignment:t=ps.alignment,orientation:o=ps.orientation,template:a,as:n=a?"div":z,...s}=e;return Cm(n,{...s,...!a&&{alignment:t,orientation:o},className:r(e.className,vm),children:e.children})};var fr="searchbox",ms=fr;import{jsx as Sa,jsxs as gm}from"react/jsx-runtime";var cs="k-searchbox",Lm=[i.hover,i.focus,i.valid,i.invalid,i.required,i.disabled,i.loading],Mm={size:[p.undefined,p.small,p.medium,p.large],rounded:[u.undefined,u.none,u.small,u.medium,u.large,u.full],fillMode:[b.undefined,b.solid,b.flat,b.outline]},an={showIcon:!0,showClearButton:!0,icon:"search"},Qe=e=>{let{value:t,placeholder:o,size:a,rounded:n,fillMode:s,hover:l,focus:m,valid:f,invalid:N,required:h,loading:M,disabled:c,showIcon:C=an.showIcon,showClearButton:g=an.showClearButton,icon:S=an.icon,"aria-label":T,...A}=e;return gm(Z,{...A,size:a,rounded:n,fillMode:s,hover:l,focus:m,valid:f,invalid:N,required:h,loading:M,disabled:c,className:r(e.className,cs),children:[C&&Sa(L,{className:"k-input-icon",icon:S}),Sa(Ve,{placeholder:o,value:t,"aria-label":T}),Sa(we,{...e}),Sa(ge,{...e}),g&&Sa(Fe,{...e})]})};Qe.states=Lm;Qe.options=Mm;Qe.className=cs;Qe.defaultOptions=an;Qe.moduleName=fr;Qe.folderName=ms;import{jsx as ug}from"react/jsx-runtime";var br="textbox",us=br;import{Fragment as fs,jsx as Kt,jsxs as xr}from"react/jsx-runtime";var bs="k-textbox",Sm=[i.hover,i.focus,i.valid,i.invalid,i.required,i.disabled,i.loading,i.readonly],Im={size:[p.undefined,p.small,p.medium,p.large],rounded:[u.undefined,u.none,u.small,u.medium,u.large,u.full],fillMode:[b.undefined,b.solid,b.flat,b.outline]},nn={showClearButton:!0,showValidationIcon:!0,separators:!0},Ne=e=>{let{size:t,rounded:o,fillMode:a,separators:n=nn.separators,showClearButton:s=nn.showClearButton,showValidationIcon:l=nn.showValidationIcon,prefix:m,suffix:f,type:N,value:h,placeholder:M,hover:c,focus:C,valid:g,invalid:S,required:T,loading:A,disabled:K,readonly:$,id:ie,"aria-label":he,"aria-describedby":pe,...ce}=e;return xr(Z,{...ce,size:t,rounded:o,fillMode:a,hover:c,focus:C,valid:g,invalid:S,required:T,loading:A,disabled:K,readonly:$,className:r(e.className,bs),children:[m&&xr(fs,{children:[Kt(_e,{children:m}),n&&Kt(Se,{})]}),Kt(Ve,{id:ie,placeholder:M,value:h,type:N,disabled:K,"aria-label":he,"aria-describedby":pe,"aria-invalid":S?"true":void 0}),l&&Kt(ge,{valid:g,invalid:S,loading:A,disabled:K}),Kt(we,{loading:A,disabled:K}),s&&Kt(Fe,{loading:A,disabled:K,readonly:$,value:h}),f&&xr(fs,{children:[n&&Kt(Se,{}),Kt(De,{children:f})]})]})};Ne.states=Sm;Ne.options=Im;Ne.className=bs;Ne.defaultOptions=nn;Ne.moduleName=br;Ne.folderName=us;var Ia=Ne;import{jsx as km}from"react/jsx-runtime";var xs=e=>km(Ia,{...e});import{Fragment as Bg,jsx as Eg}from"react/jsx-runtime";import{Fragment as _g,jsx as wg}from"react/jsx-runtime";import{jsx as Gg}from"react/jsx-runtime";import{jsx as hr}from"react/jsx-runtime";var Am=Ne.states,Tm=Ne.defaultOptions,ym=Ne.options,Em=[{name:"prefix",title:"Prefix"},{name:"suffix",title:"Suffix"},{name:"clear-button",title:"`Clear` Button"}],Bm=[],ho=e=>{let{modifiers:t,...o}=e,a={};return Object.keys(t||{}).forEach(n=>{switch(n){case"prefix":a.prefix=t?.[n]?hr(L,{icon:"lock"}):void 0;break;case"suffix":a.suffix=t?.[n]?hr(Jt,{size:o.size,fillMode:"clear",children:"Send"}):void 0;break;case"clear-button":a.showClearButton=t?.[n];break;default:break}}),hr(xs,{value:"Value",style:{width:300},...o,...a})};ho.options=ym;ho.states=Am;ho.variants=Bm;ho.defaultOptions=Tm;ho.modifiers=Em;ho.className=Ne.className;import{jsx as Rt,jsxs as Nr}from"react/jsx-runtime";var hs="k-actionsheet-titlebar",Om={},Ie=e=>{let{title:t,subtitle:o,actionsStart:a,actionsEnd:n,filter:s,input:l,inputValue:m,inputPlaceholder:f,adaptive:N,titleId:h,children:M,...c}=e;return Nr("div",{...c,className:r(e.className,hs),children:[Nr("div",{className:"k-actionsheet-titlebar-group",children:[a&&Rt("div",{className:"k-actionsheet-actions",children:a}),!M&&Nr("div",{className:"k-actionsheet-title",id:h,children:[t&&Rt("div",{className:"k-text-center",children:t}),o&&Rt("div",{className:"k-actionsheet-subtitle k-text-center",children:o})]}),M&&Rt("div",{className:"k-actionsheet-title",id:h,children:M}),n&&Rt("div",{className:"k-actionsheet-actions",children:n})]}),(l||s)&&Rt("div",{className:"k-actionsheet-titlebar-group k-actionsheet-filter",children:l?Rt(Ne,{value:m,placeholder:f,size:N?"large":"medium","aria-label":t||f||"Input"}):Rt(Qe,{placeholder:"Filter",size:N?"large":"medium","aria-label":"Filter options"})})]})};Ie.className=hs;Ie.defaultOptions=Om;import{jsx as vr,jsxs as wm}from"react/jsx-runtime";var Cr="k-actionsheet-view",Pm=[],Km={},Rm={},No=e=>{let{adaptive:t,animated:o,children:a,header:n,footer:s,titleId:l,...m}=e,f=n?.type===Ie&&vr(Ie,{adaptive:t,titleId:l,...n?.props}),N=s?.type===Pt&&vr(Pt,{...s?.props});return wm("div",{...m,className:r(e.className,Cr,{[`${Cr}-animated`]:o}),children:[f,vr("div",{className:"k-actionsheet-content",children:a}),N]})};No.states=Pm;No.options=Km;No.className=Cr;No.defaultOptions=Rm;var ka="action-sheet",rn=ka;var Lr="overlay",Ns=Lr;import{jsx as zm}from"react/jsx-runtime";var vs="k-overlay",_m=[],Dm={},Hm={},wt=e=>{let{...t}=e;return zm("div",{...t,className:r(e.className,vs),children:e.children})};wt.states=_m;wt.options=Dm;wt.className=vs;wt.defaultOptions=Hm;wt.moduleName=Lr;wt.folderName=Ns;import{jsx as sn,jsxs as Fm}from"react/jsx-runtime";var Cs="k-actionsheet",Gm=[],Um={},Aa={side:"bottom",fullscreen:!1,adaptive:!1,overlay:!0},oe=e=>{let{side:t=Aa.side,fullscreen:o=Aa.fullscreen,adaptive:a=Aa.adaptive,overlay:n=Aa.overlay,template:s,children:l,header:m,footer:f,id:N,...h}=e,M=N&&!s&&m?`${N}-title`:void 0;return Fm("div",{className:"k-actionsheet-container",children:[n&&sn(wt,{}),sn(Nt,{animationStyle:{[`${o===!0?"top":t}`]:0,[`${o===!0?"width":null}`]:"100%",[`${o===!0?"height":null}`]:"100%",[`${t==="top"||t==="bottom"?"width":null}`]:"100%",[`${t==="left"||t==="right"?"height":null}`]:"100%"},children:sn("div",{...h,id:N,role:"dialog","aria-modal":n?"true":void 0,"aria-labelledby":M,className:r(e.className,Cs,{[`k-actionsheet-${t}`]:o===!1,"k-actionsheet-fullscreen":o===!0,"k-adaptive-actionsheet":a}),children:s||sn(No,{header:m,footer:f,adaptive:a,titleId:M,...e,children:l})})})]})};oe.states=Gm;oe.options=Um;oe.className=Cs;oe.defaultOptions=Aa;oe.moduleName=ka;oe.folderName=rn;import{jsx as Wm}from"react/jsx-runtime";var Ls="k-actionsheet-container",Vm=[],$m={},Xm={},vo=e=>{let{children:t,...o}=e;return Wm("div",{...o,className:Ls,children:t})};vo.states=Vm;vo.options=$m;vo.className=Ls;vo.defaultOptions=Xm;vo.moduleName=ka;vo.folderName=rn;import{jsx as Jm}from"react/jsx-runtime";var Mr=e=>{let{...t}=e;return Jm("div",{...t,className:r(e.className,"k-list-ul"),children:e.children})};import{Fragment as Ym,jsx as Ta,jsxs as gr}from"react/jsx-runtime";var Sr="k-actionsheet-item",qm=[i.hover,i.focus,i.selected,i.disabled],_t=e=>{let{iconName:t,text:o,description:a,hover:n,focus:s,selected:l,disabled:m,...f}=e;return gr("span",{...f,className:r(e.className,Sr,I(Sr,{hover:n,focus:s,selected:l,disabled:m})),children:[!e.children&&Ta(Ym,{children:gr("span",{className:"k-actionsheet-action",children:[t&&Ta("span",{className:"k-icon-wrap",children:Ta(L,{className:"k-actionsheet-item-icon",icon:t})}),gr("span",{className:"k-actionsheet-item-text",children:[o&&Ta("span",{className:"k-actionsheet-item-title",children:o}),a&&Ta("span",{className:"k-actionsheet-item-description",children:a})]})]})}),e.children]})};_t.states=qm;_t.className=Sr;import{jsx as zS,jsxs as GS}from"react/jsx-runtime";import{jsx as $S}from"react/jsx-runtime";import{jsx as qS}from"react/jsx-runtime";import{jsx as jS}from"react/jsx-runtime";import{jsx as ue,jsxs as Ir}from"react/jsx-runtime";var Qm=oe.options,Zm=oe.states,gs={...oe.defaultOptions,variant:"normal"},jm=[{name:"normal",title:"Normal"},{name:"adaptive",title:"Adaptive"},{name:"fullScreen",title:"Full Screen"}],ec=[{name:"actions",title:"Titlebar Actions",type:"boolean"},{name:"subtitle",title:"Subtitle",type:"boolean"},{name:"footer",title:"Footer",type:"boolean"}],Co=e=>{let{variant:t,modifiers:o,...a}={...gs,...e},n={},s=Ir(Mr,{children:[ue(_t,{text:"Edit Item",description:"Click to edit",iconName:"edit-tools"}),ue(_t,{text:"Add to Favorites",iconName:"heart"}),ue(_t,{text:"Upload New",iconName:"upload",disabled:!0}),ue("hr",{className:"k-hr"}),ue(_t,{text:"Cancel",iconName:"cancel"})]}),l="Choose from the items below",m="Select Item";return t==="fullScreen"&&(n.fullScreen=!0),Object.keys(o||{}).forEach(f=>{switch(f){case"actions":n.actionsStart=!!o?.[f],n.actionsEnd=!!o?.[f];break;case"subtitle":n.subtitle=o?.[f]?l:void 0;break;case"footer":n.footer=!!o?.[f];break;default:break}}),t==="adaptive"?ue(oe,{...a,adaptive:!0,fullscreen:n.fullScreen,header:ue(Ie,{actionsStart:n.actionsStart?ue(d,{icon:"chevron-left",size:"large",fillMode:"flat"}):void 0,actionsEnd:n.actionsEnd?ue(d,{icon:"x",size:"large",fillMode:"flat"}):void 0,title:m,subtitle:n.subtitle}),footer:n.footer?Ir(Pt,{alignment:"stretched",children:[ue(d,{text:"Cancel",size:"large",themeColor:"base"}),ue(d,{text:"Apply",size:"large",themeColor:"primary"})]}):void 0,children:s}):ue(oe,{...a,fullscreen:n.fullScreen,header:ue(Ie,{actionsStart:n.actionsStart?ue(d,{icon:"chevron-left",fillMode:"flat"}):void 0,actionsEnd:n.actionsEnd?ue(d,{icon:"x",fillMode:"flat"}):void 0,title:"Select Item",subtitle:n.subtitle}),footer:n.footer?Ir(Pt,{alignment:"stretched",children:[ue(d,{text:"Apply",themeColor:"primary"}),ue(d,{text:"Cancel",themeColor:"base"})]}):void 0,children:s})};Co.options=Qm;Co.states=Zm;Co.variants=jm;Co.defaultOptions=gs;Co.modifiers=ec;Co.className=oe.className;var kr="slider",Ss=kr;import{jsx as Lo,jsxs as Ar}from"react/jsx-runtime";var ya="k-slider",tc=[i.hover,i.focus,i.active,i.disabled,i.readonly],oc={},Ze={type:"single",orientation:"horizontal",gradientType:"1d",readonly:!1,disabled:!1,handlePosition:"end",showButtons:!0,showTicks:!0,value:50,min:0,max:100},Y=e=>{let{type:t=Ze.type,orientation:o=Ze.orientation,gradientType:a=Ze.gradientType,readonly:n=Ze.readonly,disabled:s=Ze.disabled,handlePosition:l=Ze.handlePosition,showButtons:m=Ze.showButtons,showTicks:f=Ze.showTicks,value:N=Ze.value,min:h=Ze.min,max:M=Ze.max,startValue:c,endValue:C,hover:g,focus:S,active:T,trackStyle:A,dir:K,...$}=e,he=(()=>{if(t==="gradient"&&a==="2d")return"undefined";if(o==="vertical")return"vertical"})(),pe,ce;return o==="horizontal"?(pe=K==="rtl"?"chevron-left":"chevron-right",ce=K==="rtl"?"chevron-right":"chevron-left"):o==="vertical"&&(pe="chevron-up",ce="chevron-down"),Ar("div",{...$,className:r(ya,e.className,I(ya,{readonly:n,disabled:s}),{[`k-slider-${o}`]:o,"k-colorgradient-slider":t==="gradient"}),dir:K,children:[m&&Lo(d,{className:"k-button-decrease",rounded:"full",icon:ce,tabIndex:-1,title:"Decrease"}),Ar("div",{className:"k-slider-track-wrap",children:[f&&Lo("ul",{className:"k-reset k-slider-items","aria-hidden":"true",children:e.children}),Ar("div",{className:"k-slider-track",style:A,children:[Lo("div",{className:"k-slider-selection"}),t==="range"&&Lo("span",{className:r("k-draghandle","k-draghandle-start",I(ya,{hover:g,focus:S,active:T})),role:"slider",tabIndex:s?void 0:0,"aria-valuenow":c??h,"aria-valuemin":h,"aria-valuemax":C??M,"aria-orientation":he,"aria-disabled":s?"true":void 0,"aria-readonly":n?"true":void 0,"aria-label":$["aria-label"]?`${$["aria-label"]} start`:"Range start"}),Lo("span",{className:r("k-draghandle",`k-draghandle-${l}`,I(ya,{hover:g,focus:S,active:T})),role:"slider",tabIndex:s?void 0:0,"aria-valuenow":t==="range"?C??M:N,"aria-valuemin":t==="range"?c??h:h,"aria-valuemax":M,"aria-orientation":he,"aria-disabled":s?"true":void 0,"aria-readonly":n?"true":void 0,"aria-label":t==="range"?$["aria-label"]?`${$["aria-label"]} end`:"Range end":$["aria-label"]})]})]}),m&&Lo(d,{className:"k-button-increase",rounded:"full",icon:pe,tabIndex:-1,title:"Increase"})]})};Y.states=tc;Y.options=oc;Y.className=ya;Y.defaultOptions=Ze;Y.moduleName=kr;Y.folderName=Ss;import{jsx as Is}from"react/jsx-runtime";var ks="k-tick",ac=[],nc={},As={label:!1},B=e=>{let{style:t,label:o=As.label,orientation:a,large:n,text:s,...l}=e;return Is("li",{...l,role:"presentation",title:s||"Tick",className:r(e.className,ks,{[`k-tick-${a}`]:a,"k-tick-large":n}),style:t,children:o&&Is("span",{className:"k-label",children:s})})};B.states=ac;B.options=nc;B.className=ks;B.defaultOptions=As;import{Fragment as rc,jsx as je,jsxs as ic}from"react/jsx-runtime";var Ts=e=>je(Y,{"aria-label":e["aria-label"]||"Slider",children:ic(rc,{children:[je(B,{className:"k-first",label:!0,large:!0,text:"0"}),je(B,{}),je(B,{}),je(B,{}),je(B,{}),je(B,{label:!0,large:!0,text:"5"}),je(B,{}),je(B,{}),je(B,{}),je(B,{}),je(B,{className:"k-last",label:!0,large:!0,text:"10"})]}),...e});import{Fragment as sc,jsx as et,jsxs as lc}from"react/jsx-runtime";var ys=e=>et(Y,{children:lc(sc,{children:[et(B,{className:"k-first",label:!0,large:!0,text:"0"}),et(B,{}),et(B,{}),et(B,{}),et(B,{}),et(B,{label:!0,large:!0,text:"5"}),et(B,{}),et(B,{}),et(B,{}),et(B,{}),et(B,{className:"k-last",label:!0,large:!0,text:"10"})]}),"aria-label":e["aria-label"]||"Vertical slider",...e,orientation:"vertical"});import{Fragment as GI,jsx as zI,jsxs as UI}from"react/jsx-runtime";import{Fragment as WI,jsx as XI,jsxs as JI}from"react/jsx-runtime";import{jsx as dc}from"react/jsx-runtime";var Tr=e=>dc(Y,{type:"gradient",showButtons:!1,showTicks:!1,...e,"aria-label":e["aria-label"]||"Color slider"});import{jsx as pc}from"react/jsx-runtime";var yr=e=>pc(Y,{type:"gradient",orientation:"vertical",showButtons:!1,showTicks:!1,...e,"aria-label":e["aria-label"]||"Color slider"});import{Fragment as rk,jsx as nk,jsxs as ik}from"react/jsx-runtime";import{Fragment as mk,jsx as pk,jsxs as ck}from"react/jsx-runtime";import{jsx as vt,jsxs as Es}from"react/jsx-runtime";var mc=Y.options,cc=Y.states,Bs={...Y.defaultOptions,variant:"horizontal",label:!0},uc=[{name:"horizontal",title:"Horizontal"},{name:"vertical",title:"Vertical"}],fc=[{name:"label",title:"Labels",default:!0},{name:"tick",title:"Ticks",default:!0},{name:"button",title:"Side Buttons",default:!0}],Mo=e=>{let{variant:t,modifiers:o,...a}=e,n=Bs.label,s={};Object.keys(o||{}).forEach(m=>{switch(m){case"button":{s.showButtons=!!o?.[m];break}case"label":{n=!!o?.[m];break}case"tick":{s.showTicks=!!o?.[m];break}}});let l={"--kendo-slider-start":0,"--kendo-slider-end":60};return t==="vertical"?Es(ys,{style:{height:"300px",...l},...a,...s,children:[vt(B,{label:n,large:!0,orientation:"vertical",text:"0",style:{position:"absolute",bottom:"0%"}}),vt(B,{label:n,large:!0,orientation:"vertical",text:"2",style:{position:"absolute",bottom:"25%"}}),vt(B,{label:n,large:!0,orientation:"vertical",text:"4",style:{position:"absolute",bottom:"50%"}}),vt(B,{label:n,large:!0,orientation:"vertical",text:"6",style:{position:"absolute",bottom:"75%"}}),vt(B,{label:n,large:!0,orientation:"vertical",text:"8",style:{position:"absolute",bottom:"100%"}})]}):Es(Ts,{style:{width:"400px",...l},...a,...s,children:[vt(B,{label:n,large:!0,orientation:"horizontal",text:"0",style:{position:"absolute",left:"0%"}}),vt(B,{label:n,large:!0,orientation:"horizontal",text:"2",style:{position:"absolute",left:"25%"}}),vt(B,{label:n,large:!0,orientation:"horizontal",text:"4",style:{position:"absolute",left:"50%"}}),vt(B,{label:n,large:!0,orientation:"horizontal",text:"6",style:{position:"absolute",left:"75%"}}),vt(B,{label:n,large:!0,orientation:"horizontal",text:"8",style:{position:"absolute",left:"100%"}})]})};Mo.options=mc;Mo.states=cc;Mo.variants=uc;Mo.defaultOptions=Bs;Mo.modifiers=fc;Mo.className=Y.className;import{jsx as Os,jsxs as vc}from"react/jsx-runtime";var Ps="k-spin-button",hc=[],Nc={size:[p.undefined,p.small,p.medium,p.large],fillMode:[b.undefined,b.solid,b.flat,b.outline,b.clear,b.link]},Er={increaseLabel:"Increase value",decreaseLabel:"Decrease value"},Dt=e=>{let{size:t,fillMode:o,disabled:a,increaseLabel:n=Er.increaseLabel,decreaseLabel:s=Er.decreaseLabel,...l}=e;return vc("span",{...l,className:r(Ps,e.className),children:[Os(d,{className:"k-spinner-increase",icon:"chevron-up",size:t,fillMode:o,disabled:a,"aria-label":n}),Os(d,{className:"k-spinner-decrease",icon:"chevron-down",size:t,fillMode:o,disabled:a,"aria-label":s})]})};Dt.states=hc;Dt.options=Nc;Dt.className=Ps;Dt.defaultOptions=Er;Dt.moduleName=null;Dt.folderName=null;var Ks="numeric-textbox",Rs="numerictextbox";import{Fragment as ws,jsx as St,jsxs as Br}from"react/jsx-runtime";var _s="k-numerictextbox",Cc=[i.hover,i.focus,i.valid,i.invalid,i.loading,i.required,i.disabled,i.readonly],Lc={size:[p.undefined,p.small,p.medium,p.large],rounded:[u.undefined,u.none,u.small,u.medium,u.large,u.full],fillMode:[b.undefined,b.solid,b.flat,b.outline]},ln={showSpinButton:!0,showClearButton:!0,separators:!0},X=e=>{let{size:t,rounded:o,fillMode:a,separators:n=ln.separators,showClearButton:s=ln.showClearButton,showSpinButton:l=ln.showSpinButton,prefix:m,suffix:f,value:N,placeholder:h,hover:M,focus:c,valid:C,invalid:g,required:S,loading:T,disabled:A,readonly:K,id:$,"aria-label":ie,"aria-describedby":he,...pe}=e;return Br(Z,{...pe,size:t,rounded:o,fillMode:a,hover:M,focus:c,valid:C,invalid:g,required:S,loading:T,disabled:A,readonly:K,className:r(e.className,_s),children:[m&&Br(ws,{children:[St(_e,{children:m}),n&&St(Se,{})]}),St(Ve,{id:$,placeholder:h,value:N,role:"spinbutton",disabled:A,"aria-label":ie,"aria-describedby":he,"aria-invalid":g?"true":void 0}),St(ge,{valid:C,invalid:g,loading:T,disabled:A}),St(we,{loading:T,disabled:A}),s&&St(Fe,{loading:T,disabled:A,readonly:K,value:N}),f&&Br(ws,{children:[n&&St(Se,{}),St(De,{children:f})]}),l&&St(Dt,{className:"k-input-spinner",size:t,fillMode:a,disabled:A})]})};X.states=Cc;X.options=Lc;X.className=_s;X.defaultOptions=ln;X.moduleName=Ks;X.folderName=Rs;var Ea=X;import{jsx as Mc}from"react/jsx-runtime";var Ds=e=>Mc(Ea,{...e});import Pr from"react";import{jsx as Hs}from"react/jsx-runtime";var gc="k-list-group-sticky-header",Or=e=>Hs("div",{className:r(gc,e.className),children:Hs("div",{className:"k-list-header-text",children:e.children})});import{jsx as Ic}from"react/jsx-runtime";var Sc="k-no-data",dn=e=>{let{live:t,...o}=e;return Ic("span",{...o,className:r(Sc,e.className),"aria-live":t?"polite":void 0,children:e.children})};var Yt="list",go=Yt;import{jsx as zs,jsxs as Gs}from"react/jsx-runtime";var Kr="k-list",kc=[],Ac={size:[p.undefined,p.small,p.medium,p.large]},Tc={},H=e=>{let{size:t,virtualization:o,children:a,header:n,selectAll:s,optionLabel:l,customValue:m,noData:f,screenReaders:N,...h}=e,c=Pr.Children.toArray(a)[0],C=c?.props?.children?Pr.Children.count(c.props.children):Pr.Children.count(a);return Gs("div",{...h,className:r(e.className,Kr,k(Kr,{size:t}),{"k-virtual-list":o}),children:[l,s,m,n&&zs(Or,{children:n}),a||(f!==void 0?f:zs(dn,{live:!0,children:"No data found."})),N&&a&&Gs(dn,{className:"k-sr-only",live:!0,children:[C," items found."]})]})};H.states=kc;H.options=Ac;H.className=Kr;H.defaultOptions=Tc;H.moduleName=Yt;H.folderName=go;import{jsx as Oc}from"react/jsx-runtime";var Us="k-list-container",yc=[],Ec={},Bc={},So=e=>{let{...t}=e;return Oc("div",{...t,className:r(e.className,Us),children:e.children})};So.states=yc;So.options=Ec;So.className=Us;So.defaultOptions=Bc;So.moduleName=Yt;So.folderName=go;var Qt="checkbox",Io=Qt;import{jsx as Fs}from"react/jsx-runtime";var pn="k-checkbox",Pc=[i.hover,i.focus,i.valid,i.invalid,i.required,i.disabled,i.checked,i.indeterminate],Kc={size:[p.undefined,p.small,p.medium,p.large],rounded:[u.undefined,u.none,u.small,u.medium,u.large,u.full]},Rc={},$e=e=>{let{id:t,checked:o,indeterminate:a,hover:n,focus:s,disabled:l,invalid:m,valid:f,required:N,size:h,rounded:M,wrapperRole:c,...C}=e;return Fs("span",{className:"k-checkbox-wrap",role:c,children:Fs("input",{...C,id:t,type:"checkbox",defaultChecked:o,required:N,disabled:l||void 0,"aria-invalid":m?"true":void 0,className:r(e.className,pn,k(pn,{size:h,rounded:M}),I(pn,{hover:n,focus:s,disabled:l,invalid:m,valid:f,indeterminate:a,checked:o}))})})};$e.states=Pc;$e.options=Kc;$e.className=pn;$e.defaultOptions=Rc;$e.moduleName=Qt;$e.folderName=Io;var mt=$e;import{jsx as Dc}from"react/jsx-runtime";var Vs="k-checkbox-list",wc=[],_c={},$s={layout:"vertical"},ke=e=>{let{layout:t=$s.layout,...o}=e;return Dc("ul",{...o,className:r(e.className,Vs,{[`k-list-${t}`]:t}),children:e.children})};ke.states=wc;ke.options=_c;ke.className=Vs;ke.defaultOptions=$s;ke.moduleName=Qt;ke.folderName=Io;import{jsx as Uc}from"react/jsx-runtime";var Xs="k-checkbox-list-item",Hc=[],zc={},Gc={},Ae=e=>{let{...t}=e;return Uc("li",{...t,className:r(e.className,Xs),children:e.children})};Ae.states=Hc;Ae.options=zc;Ae.className=Xs;Ae.defaultOptions=Gc;Ae.moduleName=Qt;Ae.folderName=Io;import{Fragment as Fc,jsx as Ws,jsxs as Vc}from"react/jsx-runtime";var It=({children:e="Label",id:t="cb-label-after",...o})=>Vc(Fc,{children:[Ws(mt,{id:t,...o}),Ws("label",{className:"k-checkbox-label",htmlFor:t,children:e})]});import{Fragment as wA,jsx as RA,jsxs as _A}from"react/jsx-runtime";import{Fragment as UA,jsx as GA,jsxs as FA}from"react/jsx-runtime";import{Fragment as JA,jsx as WA,jsxs as qA}from"react/jsx-runtime";import{jsx as jA}from"react/jsx-runtime";import{jsx as aT}from"react/jsx-runtime";import{jsx as sT}from"react/jsx-runtime";import{jsx as tt,jsxs as Js}from"react/jsx-runtime";var $c=ke.options,Xc=ke.states,Wc={...ke.defaultOptions,variant:"vertical"},Jc=[{name:"vertical",title:"Vertical"},{name:"horizontal",title:"Horizontal"}],qc=[],ko=e=>{let{variant:t,...o}=e;return t==="horizontal"?Js(ke,{layout:"horizontal",...o,children:[tt(Ae,{children:tt(It,{id:y("cb"),defaultChecked:!0,children:"Label"})}),tt(Ae,{children:tt(It,{id:y("cb"),children:"Label"})}),tt(Ae,{children:tt(It,{id:y("cb"),children:"Label"})})]}):Js(ke,{...o,children:[tt(Ae,{children:tt(It,{id:y("cb"),defaultChecked:!0,children:"Label"})}),tt(Ae,{children:tt(It,{id:y("cb"),children:"Label"})}),tt(Ae,{children:tt(It,{id:y("cb"),children:"Label"})})]})};ko.options=$c;ko.states=Xc;ko.variants=Jc;ko.defaultOptions=Wc;ko.modifiers=qc;ko.className=ke.className;import{jsx as tu}from"react/jsx-runtime";var Yc=mt.options,Qc=mt.states,Zc=mt.defaultOptions,jc=[],eu=[],Ao=e=>tu(It,{id:y("checkbox"),...e,defaultChecked:!0,children:"Label"});Ao.options=Yc;Ao.states=Qc;Ao.variants=jc;Ao.defaultOptions=Zc;Ao.modifiers=eu;Ao.className=mt.className;import{jsx as To,jsxs as ru}from"react/jsx-runtime";var Rr="k-list-item",ou=[i.hover,i.focus,i.selected,i.disabled],au={},nu={},P=e=>{let{text:t,iconName:o,iconClassName:a,showCheckbox:n,checked:s,hover:l,focus:m,selected:f,disabled:N,actions:h,description:M,id:c,...C}=e,g=t||e.children,S=t||(typeof g=="string"?g:void 0);return ru("li",{...C,id:c,role:"option",tabIndex:m?0:-1,"aria-selected":f?"true":"false","aria-disabled":N?"true":void 0,className:r(e.className,Rr,I(Rr,{hover:l,focus:m,disabled:N,selected:f})),children:[n&&To($e,{checked:s,disabled:N,"aria-label":S,tabIndex:-1}),o&&To("span",{className:"k-list-item-icon-wrapper",children:To(L,{icon:o,className:r("k-list-item-icon",a)})}),To("span",{className:"k-list-item-text",children:g}),h&&To("div",{className:"k-list-item-actions",children:h}),M&&To("span",{className:"k-list-item-description",children:M})]})};P.states=ou;P.options=au;P.className=Rr;P.defaultOptions=nu;P.moduleName=Yt;P.folderName=go;import{jsx as su}from"react/jsx-runtime";var iu="k-list-ul",Ht=e=>{let{children:t,role:o,id:a,...n}=e;return su("ul",{...n,id:a,role:o,className:r(iu,e.className),children:t})};import{jsx as wr,jsxs as du}from"react/jsx-runtime";var lu="k-list-content",W=e=>{let{virtualization:t,grouping:o,"aria-label":a,"aria-labelledby":n,listboxId:s,...l}=e;return du("div",{...l,className:r(lu,e.className),role:o?"listbox":void 0,id:o?s:void 0,"aria-label":o?a:void 0,"aria-labelledby":o?n:void 0,children:[o?e.children:wr(Ht,{role:"listbox",id:s,"aria-label":a,"aria-labelledby":n,children:e.children}),t&&wr("div",{className:"k-height-container",children:wr("div",{})})]})};import{jsx as _r,jsxs as uu}from"react/jsx-runtime";var mn="k-list-sticky-header",pu=[i.hover,i.focus,i.selected],mu={},cu={},cn=e=>{let{label:t="Select all",showCheckbox:o=!0,checked:a,indeterminate:n,hover:s,focus:l,selected:m,...f}=e;return _r("div",{...f,className:r(mn,e.className),children:uu("div",{className:r(`${mn}-item`,I(`${mn}-item`,{hover:s,focus:l,selected:m})),"aria-label":t,...!o&&{tabIndex:0,"aria-selected":m?"true":"false"},children:[o&&_r($e,{checked:a,indeterminate:n,"aria-label":t}),_r("span",{className:"k-list-item-text",children:t})]})})};cn.states=pu;cn.options=mu;cn.className=mn;cn.defaultOptions=cu;import{Fragment as ty,jsx as ey,jsxs as oy}from"react/jsx-runtime";import{jsx as sy,jsxs as ly}from"react/jsx-runtime";import{jsx as hu}from"react/jsx-runtime";var Dr="k-list-optionlabel",fu=[i.hover,i.focus,i.selected,i.disabled],bu={},xu={},un=e=>{let{text:t,hover:o,focus:a,selected:n,disabled:s,...l}=e;return hu("div",{...l,className:r(Dr,I(Dr,{hover:o,focus:a,selected:n,disabled:s})),children:t})};un.states=fu;un.options=bu;un.className=Dr;un.defaultOptions=xu;import{jsx as Lu}from"react/jsx-runtime";var Hr="k-list-custom-value",Nu=[i.hover,i.focus,i.selected,i.disabled],vu={},Cu={},zt=e=>{let{text:t,hover:o,focus:a,selected:n,disabled:s,...l}=e;return Lu("div",{...l,className:r(Hr,I(Hr,{hover:o,focus:a,selected:n,disabled:s})),children:t})};zt.states=Nu;zt.options=vu;zt.className=Hr;zt.defaultOptions=Cu;import{Fragment as Cy,jsx as vy,jsxs as Ly}from"react/jsx-runtime";import{Fragment as Ay,jsx as ky,jsxs as Ty}from"react/jsx-runtime";import{Fragment as Ry,jsx as Py,jsxs as Ky}from"react/jsx-runtime";import{Fragment as Uy,jsx as zy,jsxs as Gy}from"react/jsx-runtime";import{jsx as Xy}from"react/jsx-runtime";import{Fragment as Zy,jsx as Qy,jsxs as jy}from"react/jsx-runtime";import{Fragment as rE,jsx as nE,jsxs as iE}from"react/jsx-runtime";var qs="dropdown-list",Ys="dropdownlist";import{Fragment as Su,jsx as Te,jsxs as zr}from"react/jsx-runtime";var Qs="k-dropdownlist",Mu=[i.hover,i.focus,i.valid,i.invalid,i.required,i.disabled,i.loading,i.readonly],gu={size:[p.undefined,p.small,p.medium,p.large],rounded:[u.undefined,u.none,u.small,u.medium,u.large,u.full],fillMode:[b.undefined,b.solid,b.flat,b.outline]},Gr={showValue:!0,arrowIconName:"chevron-down"},me=e=>{let{size:t,rounded:o,fillMode:a,arrowIconName:n=Gr.arrowIconName,showValue:s=Gr.showValue,valueIconName:l,prefix:m,suffix:f,value:N,placeholder:h,hover:M,focus:c,valid:C,invalid:g,required:S,loading:T,disabled:A,readonly:K,popup:$,opened:ie,adaptive:he,adaptiveSettings:pe,adaptiveTitle:ce,adaptiveSubtitle:ba,adaptiveFilter:Xt,id:Wt,activeDescendant:xa,"aria-label":Un,...Fn}=e,Vn=Wt?`${Wt}-listbox`:void 0,Bi=Wt?`${Wt}-value`:void 0;return zr(Su,{children:[zr(xt,{...Fn,id:Wt,size:t,rounded:o,fillMode:a,hover:M,focus:c,valid:C,invalid:g,required:S,loading:T,disabled:A,readonly:K,className:r(e.className,Qs,{"k-icon-picker":!s&&l}),role:"combobox","aria-haspopup":"listbox","aria-expanded":ie?"true":"false","aria-controls":ie?Vn:void 0,"aria-activedescendant":ie&&xa?xa:void 0,"aria-describedby":ie?Bi:void 0,"aria-disabled":A?"true":void 0,"aria-label":Un,tabIndex:0,children:[Te(_e,{children:m}),Te(qt,{placeholder:h,value:N,showValue:s,valueIconName:l,id:Bi}),Te(ge,{valid:C,invalid:g,loading:T,disabled:A}),Te(we,{loading:T,disabled:A}),Te(De,{children:f}),Te(d,{className:"k-input-button",icon:n,size:e.size,fillMode:e.fillMode,"aria-label":h||"Toggle dropdown",tabIndex:-1})]}),ie&&$&&Te(U,{className:"k-list-container k-dropdownlist-popup",containerRole:"region",containerAriaLabel:"Dropdown suggestions",children:$}),he&&Te(oe,{adaptive:!0,...pe,header:Te(Ie,{actionsEnd:Te(d,{icon:"check",themeColor:"primary",size:"large",fillMode:"flat","aria-label":"Apply selection"}),filter:Xt,inputValue:N,inputPlaceholder:h,title:ce,subtitle:ba}),children:Te("div",{className:"k-list-container",children:Te(H,{size:"large",children:zr(W,{"aria-label":"Options",children:[Te(P,{text:"List item"}),Te(P,{text:"List item"}),Te(P,{text:"List item"})]})})})})]})};me.states=Mu;me.options=gu;me.className=Qs;me.defaultOptions=Gr;me.moduleName=qs;me.folderName=Ys;import{jsx as GE}from"react/jsx-runtime";import{jsx as WE,jsxs as JE}from"react/jsx-runtime";import{Fragment as aB,jsx as tB,jsxs as oB}from"react/jsx-runtime";import{jsx as lB}from"react/jsx-runtime";import{jsx as fB,jsxs as bB}from"react/jsx-runtime";import{Fragment as SB,jsx as MB,jsxs as gB}from"react/jsx-runtime";import{jsx as yB}from"react/jsx-runtime";import{Fragment as Eu,jsx as Gt,jsxs as Zs}from"react/jsx-runtime";var Iu=me.states,ku=me.defaultOptions,Au=me.options,Tu=[{name:"opened",title:"Opened"}],yu=[],Eo=e=>{let{modifiers:t,...o}=e,a={},n=Zs(Eu,{children:[Gt("div",{className:"k-list-filter",children:Gt(Qe,{})}),Gt(H,{style:{width:300},size:o.size,children:Zs(W,{children:[Gt(P,{children:"List item"}),Gt(P,{children:"List item"}),Gt(P,{children:"List item"})]})})]});return Object.keys(t||{}).forEach(s=>{s==="opened"&&(a.opened=!!t?.[s],a.popup=t?.[s]?n:void 0)}),Gt("div",{children:Gt(me,{placeholder:"Value",style:{width:300},...o,...a})})};Eo.options=Au;Eo.states=Iu;Eo.variants=yu;Eo.defaultOptions=ku;Eo.modifiers=Tu;Eo.className=me.className;import{Fragment as QB,jsx as YB}from"react/jsx-runtime";import{Fragment as aO,jsx as oO}from"react/jsx-runtime";import{jsx as sO}from"react/jsx-runtime";import{jsx as Ur}from"react/jsx-runtime";var Bu=X.states,Ou=X.defaultOptions,Pu=X.options,Ku=[{name:"prefix",title:"Prefix"},{name:"suffix",title:"Suffix"},{name:"clear-button",title:"`Clear` Button"},{name:"spin-button",title:"`Spin` Button"}],Ru=[],Bo=e=>{let{modifiers:t,...o}=e,a={};return Object.keys(t||{}).forEach(n=>{switch(n){case"prefix":a.prefix=t?.[n]?Ur(me,{size:o.size,fillMode:"flat",value:"mm"}):void 0;break;case"suffix":a.suffix=t?.[n]?Ur(dr,{children:"mm"}):void 0;break;case"clear-button":a.showClearButton=t?.[n];break;case"spin-button":a.showSpinButton=t?.[n];break;default:break}}),Ur(Ds,{value:"Value",style:{width:300},...o,...a})};Bo.options=Pu;Bo.states=Bu;Bo.variants=Ru;Bo.defaultOptions=Ou;Bo.modifiers=Ku;Bo.className=X.className;import{Fragment as Oa,jsx as w,jsxs as ae}from"react/jsx-runtime";var js="k-colorgradient-inputs",wu=[],_u={size:[p.undefined,p.small,p.medium,p.large]},el={mode:"rgba"},Oo=e=>{let{mode:t=el.mode,size:o,...a}=e;return ae("div",{...a,className:r(js,"k-hstack"),children:[w("div",{className:"k-vstack",children:w(d,{fillMode:"flat",icon:"caret-alt-expand",className:"k-colorgradient-toggle-mode",size:o,"aria-label":"Toggle color input format"})}),t==="rgba"&&ae(Oa,{children:[ae("div",{className:"k-vstack",children:[w(X,{showSpinButton:!1,showClearButton:!1,value:"132",size:o,"aria-label":"Red channel"}),w("label",{className:"k-colorgradient-input-label",children:"R"})]}),ae("div",{className:"k-vstack",children:[w(X,{showSpinButton:!1,showClearButton:!1,value:"132",size:o,"aria-label":"Green channel"}),w("label",{className:"k-colorgradient-input-label",children:"G"})]}),ae("div",{className:"k-vstack",children:[w(X,{showSpinButton:!1,showClearButton:!1,value:"132",size:o,"aria-label":"Blue channel"}),w("label",{className:"k-colorgradient-input-label",children:"B"})]}),ae("div",{className:"k-vstack",children:[w(X,{showSpinButton:!1,showClearButton:!1,value:"1.00",size:o,"aria-label":"Alpha channel"}),w("label",{className:"k-colorgradient-input-label",children:"A"})]})]}),t==="rgb"&&ae(Oa,{children:[ae("div",{className:"k-vstack",children:[w(X,{showSpinButton:!1,showClearButton:!1,value:"132","aria-label":"Red channel"}),w("label",{className:"k-colorgradient-input-label",children:"R"})]}),ae("div",{className:"k-vstack",children:[w(X,{showSpinButton:!1,showClearButton:!1,value:"132","aria-label":"Green channel"}),w("label",{className:"k-colorgradient-input-label",children:"G"})]}),ae("div",{className:"k-vstack",children:[w(X,{showSpinButton:!1,showClearButton:!1,value:"132","aria-label":"Blue channel"}),w("label",{className:"k-colorgradient-input-label",children:"B"})]})]}),t==="hsva"&&ae(Oa,{children:[ae("div",{className:"k-vstack",children:[w(X,{showSpinButton:!1,showClearButton:!1,value:"132","aria-label":"Hue channel"}),w("label",{className:"k-colorgradient-input-label",children:"H"})]}),ae("div",{className:"k-vstack",children:[w(X,{showSpinButton:!1,showClearButton:!1,value:"132","aria-label":"Saturation channel"}),w("label",{className:"k-colorgradient-input-label",children:"S"})]}),ae("div",{className:"k-vstack",children:[w(X,{showSpinButton:!1,showClearButton:!1,value:"132","aria-label":"Value channel"}),w("label",{className:"k-colorgradient-input-label",children:"V"})]}),ae("div",{className:"k-vstack",children:[w(X,{showSpinButton:!1,showClearButton:!1,value:"1.00","aria-label":"Alpha channel"}),w("label",{className:"k-colorgradient-input-label",children:"A"})]})]}),t==="hsv"&&ae(Oa,{children:[ae("div",{className:"k-vstack",children:[w(X,{showSpinButton:!1,showClearButton:!1,value:"132","aria-label":"Hue channel"}),w("label",{className:"k-colorgradient-input-label",children:"H"})]}),ae("div",{className:"k-vstack",children:[w(X,{showSpinButton:!1,showClearButton:!1,value:"132","aria-label":"Saturation channel"}),w("label",{className:"k-colorgradient-input-label",children:"S"})]}),ae("div",{className:"k-vstack",children:[w(X,{showSpinButton:!1,showClearButton:!1,value:"132","aria-label":"Value channel"}),w("label",{className:"k-colorgradient-input-label",children:"V"})]})]}),t==="hex"&&w(Oa,{children:ae("div",{className:"k-vstack k-flex-1",children:[w(Ne,{showClearButton:!1,value:"#b88484AA",className:"k-hex-value"}),w("label",{className:"k-colorgradient-input-label",children:"HEX"})]})})]})};Oo.states=wu;Oo.options=_u;Oo.className=js;Oo.defaultOptions=el;import{jsx as Zt,jsxs as jt}from"react/jsx-runtime";var tl="k-colorgradient-color-contrast",Du=[],Hu={},zu={},Po=()=>jt("div",{className:r(tl,"k-vbox"),children:[jt("div",{className:"k-contrast-ratio",children:[Zt("span",{className:"k-contrast-ratio-text",children:"Contrast ratio: 7.1"}),jt("span",{className:"k-contrast-validation !k-text-success",children:[Zt(L,{icon:"check"}),Zt(L,{icon:"check"})]})]}),jt("div",{children:[Zt("span",{children:"AA: 4.5"}),jt("span",{className:"k-contrast-validation !k-text-success",children:["Pass",Zt(L,{icon:"check"})]})]}),jt("div",{children:[Zt("span",{children:"AAA: 7.0"}),jt("span",{className:"k-contrast-validation !k-text-error",children:["Fail",Zt(L,{icon:"x"})]})]})]});Po.states=Du;Po.options=Hu;Po.className=tl;Po.defaultOptions=zu;var ol="color-gradient",al="colorgradient";import{jsx as ot,jsxs as Pa}from"react/jsx-runtime";var fn="k-colorgradient",Gu=[i.hover,i.focus,i.readonly,i.disabled],Uu={size:[p.undefined,p.small,p.medium,p.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"},fe=e=>{let{size:t,mode:o=Ct.mode,readonly:a=Ct.readonly,disabled:n=Ct.disabled,gradientStyle:s=Ct.gradientStyle,dragHandleStyle:l=Ct.dragHandleStyle,alphaStyle:m=Ct.alphaStyle,alphaStyleHorizontal:f=Ct.alphaStyleHorizontal,contrast:N=Ct.contrast,dir:h,hover:M,focus:c,hoverHandle:C,focusHandle:g,canvasOrientation:S=Ct.canvasOrientation,role:T,tabIndex:A,...K}=e;return Pa("div",{...K,role:T??"textbox","aria-label":T==="none"?void 0:"Color gradient",tabIndex:A??0,"aria-disabled":n?"true":void 0,className:r(e.className,fn,k(fn,{size:t}),I(fn,{hover:M,focus:c,readonly:a,disabled:n})),dir:h,children:[!S||S==="horizontal"&&Pa("div",{className:"k-colorgradient-canvas k-hstack",children:[ot("div",{className:"k-hsv-rectangle",style:s,children:ot("div",{className:"k-hsv-gradient",children:ot("div",{className:r("k-hsv-draghandle","k-draghandle",{"k-hover":C,"k-focus":g}),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})})}),Pa("div",{className:"k-hsv-controls k-hstack",children:[ot(yr,{className:"k-hue-slider",hover:C,focus:g}),o!=="rgb"&&o!=="hsv"&&ot(yr,{className:"k-alpha-slider",hover:C,focus:g,trackStyle:m})]})]}),S==="vertical"&&Pa("div",{className:"k-colorgradient-canvas k-vstack",children:[ot("div",{className:"k-hsv-rectangle",style:s,children:ot("div",{className:"k-hsv-gradient",children:ot("div",{className:r("k-hsv-draghandle","k-draghandle",{"k-hover":C,"k-focus":g}),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})})}),Pa("div",{className:"k-hsv-controls k-vstack",children:[ot(Tr,{className:"k-hue-slider",hover:C,focus:g}),o!=="rgb"&&o!=="hsv"&&ot(Tr,{className:"k-alpha-slider",hover:C,focus:g,trackStyle:f})]})]}),ot(Oo,{mode:e.mode,size:t}),N&&ot(Po,{})]})};fe.states=Gu;fe.options=Uu;fe.className=fn;fe.defaultOptions=Ct;fe.moduleName=ol;fe.folderName=al;import{jsx as Fu}from"react/jsx-runtime";var bn=e=>Fu(fe,{...e});import{jsx as XO}from"react/jsx-runtime";import{jsx as YO}from"react/jsx-runtime";import{jsx as Fr}from"react/jsx-runtime";var Vu=fe.options,$u=fe.states,Xu={...fe.defaultOptions,variant:"rgba"},Wu=[{name:"rgba",title:"RGBA"},{name:"rgb",title:"RGB"},{name:"hex",title:"HEX"}],Ju=[],Ko=e=>{let{variant:t,...o}=e;switch(t){case"hex":return Fr(bn,{...o,mode:t});case"rgb":return Fr(bn,{...o,mode:t});default:return Fr(bn,{...o,mode:t})}};Ko.options=Vu;Ko.states=$u;Ko.variants=Wu;Ko.defaultOptions=Xu;Ko.modifiers=Ju;Ko.className=fe.className;import{jsx as qu}from"react/jsx-runtime";var Vr=e=>qu("tr",{role:"row",children:e.children});import{jsx as Zu}from"react/jsx-runtime";var $r="k-colorpalette-tile",Yu=[i.hover,i.focus,i.selected],Qu={},Ut=e=>{let{color:t,tileSize:o,hover:a,focus:n,selected:s,...l}=e,m={backgroundColor:t,width:o?o+"px":"",height:o?o+"px":""};return Zu("td",{...l,role:"gridcell","aria-label":t,"aria-selected":s?"true":void 0,className:r(e.className,$r,I($r,{hover:a,focus:n,selected:s})),style:m})};Ut.states=Yu;Ut.options=Qu;Ut.className=$r;Ut.moduleName=null;Ut.folderName=null;var nl="color-palette",rl="colorpalette";import{jsx as Ka}from"react/jsx-runtime";var xn="k-colorpalette",ju=[i.disabled],ef={size:[p.undefined,p.small,p.medium,p.large]},il={columns:10},He=e=>{let{size:t,palette:o,columns:a=il.columns,tileSize:n,disabled:s,...l}=e,m=[];if(o){let f=a||o.columns,N=o.colors?o.colors:o;Array.isArray(N)&&Array.from({length:Math.ceil(N.length/f)},(h,M)=>{let c=[];N.slice(M*f,(M+1)*f).map((g,S)=>{c.push(Ka(Ut,{color:g,tileSize:n},S))});let C=Ka(Vr,{children:c},M);m.push(C)})}return Ka("div",{...l,role:"grid","aria-label":"Color palette",tabIndex:0,"aria-disabled":s?"true":void 0,className:r(e.className,xn,I(xn,{disabled:s}),k(xn,{size:t})),children:Ka("table",{className:"k-colorpalette-table",role:"none",children:Ka("tbody",{children:m.length>0?m:e.children})})})};He.states=ju;He.options=ef;He.className=xn;He.defaultOptions=il;He.moduleName=nl;He.folderName=rl;var hn=He;var Ra={basic:{colors:["#000000","#7f7f7f","#880015","#ed1c24","#ff7f27","#fff200","#22b14c","#00a2e8","#3f48cc","#a349a4","#ffffff","#c3c3c3","#b97a57","#ffaec9","#ffc90e","#efe4b0","#b5e61d","#99d9ea","#7092be","#c8bfe7"],columns:10},office:{colors:["#ffffff","#000000","#e6e6e6","#435569","#4371c4","#ed7e32","#a5a4a5","#febf04","#5a9bd5","#71ae48","#f2f2f3","#7f7f7f","#d1cece","#d5dde3","#dae1f4","#fce5d4","#deeded","#fff2cc","#deeaf6","#e1efd9","#d7d8d8","#585959","#aeabab","#adbaca","#b4c5e7","#f6caac","#dbdbdb","#ffe498","#bcd6ee","#c5e0b2","#bfbfc0","#3f3f3f","#767070","#8595b1","#8fabdb","#f5b183","#c9c8c9","#fed965","#9bc4e5","#a8d08d","#a5a5a6","#262625","#393939","#334050","#2e5496","#c45a11","#7b7b7a","#bf9000","#2f75b5","#548235","#7f7f7f","#0b0c0c","#161616","#222a34","#203764","#843d0b","#525252","#7f6000","#1d4d79","#375623"],columns:10},apex:{colors:["#ffffff","#000000","#c9c2d1","#69676d","#ceb966","#9cb084","#6bb1c9","#6585cf","#7e6bc9","#a379bb","#f2f2f2","#7f7f7f","#f4f2f5","#e0e0e2","#f5f1e0","#ebefe6","#e1eff4","#e0e6f5","#e5e1f4","#ece4f1","#d8d8d8","#595959","#e9e6ec","#c2c1c5","#ebe3c1","#d7dfcd","#c3dfe9","#c1ceeb","#cbc3e9","#dac9e3","#bfbfbf","#3f3f3f","#dedae3","#a4a3a8","#e1d5a3","#c3cfb5","#a6d0de","#a2b5e2","#b1a6de","#c7aed6","#a5a5a5","#262626","#9688a5","#4e4d51","#ae9638","#758c5a","#3d8da9","#365bb0","#533da9","#7d4d99","#7f7f7f","#0c0c0c","#635672","#343336","#746425","#4e5d3c","#295e70","#243c75","#372970","#533366"],columns:10},austin:{colors:["#ffffff","#000000","#caf278","#3e3d2d","#94c600","#71685a","#ff6700","#909465","#956b43","#fea022","#f2f2f2","#7f7f7f","#f4fce4","#dddcd0","#efffc0","#e3e1dc","#ffe0cb","#e8e9df","#ece1d6","#feecd2","#d8d8d8","#595959","#e9f9c9","#bbb9a1","#dfff82","#c8c3ba","#ffc299","#d2d4c0","#dac3ad","#fed9a6","#bfbfbf","#3f3f3f","#dff7ae","#ada598","#cfff43","#ada598","#ffa365","#bcbfa1","#c8a585","#fec67a","#a5a5a5","#262626","#a9ea25","#2e2d21","#6f9400","#544e43","#bf4d00","#6c6f4b","#6f5032","#d77b00","#7f7f7f","#0c0c0c","#74a50f","#1f1e16","#4a6300","#38342d","#7f3300","#484a32","#4a3521","#8f5200"],columns:10},clarity:{colors:["#ffffff","#292934","#f3f2dc","#d2533c","#93a299","#ad8f67","#726056","#4c5a6a","#808da0","#79463d","#f2f2f2","#e7e7ec","#e7e5b9","#f6dcd8","#e9ecea","#eee8e0","#e4dedb","#d8dde3","#e5e8ec","#e9d6d3","#d8d8d8","#c4c4d1","#d5d185","#edbab1","#d3d9d6","#ded2c2","#c9beb8","#b2bcc8","#ccd1d9","#d3aea7","#bfbfbf","#8a8aa3","#aca73b","#e4978a","#bec7c1","#cdbba3","#af9e94","#8c9bac","#b2bac6","#bd857c","#a5a5a5","#56566e","#56531d","#a43925","#6b7c72","#866b48","#554840","#39434f","#5c697b","#5a342d","#7f7f7f","#3b3b4b","#22210b","#6d2619","#47534c","#594730","#39302b","#262d35","#3d4652","#3c231e"],columns:10},slipstream:{colors:["#ffffff","#000000","#b4dcfa","#212745","#4e67c8","#5eccf3","#a7ea52","#5dceaf","#ff8021","#f14124","#f2f2f2","#7f7f7f","#8bc9f7","#c7cce4","#dbe0f4","#def4fc","#edfadc","#def5ef","#ffe5d2","#fcd9d3","#d8d8d8","#595959","#4facf3","#909aca","#b8c2e9","#beeafa","#dbf6b9","#beebdf","#ffcca6","#f9b3a7","#bfbfbf","#3f3f3f","#0d78c9","#5967af","#94a3de","#9ee0f7","#caf297","#9de1cf","#ffb279","#f68d7b","#a5a5a5","#262626","#063c64","#181d33","#31479f","#11b2eb","#81d319","#34ac8b","#d85c00","#c3260c","#7f7f7f","#0c0c0c","#021828","#101322","#202f6a","#0b769c","#568c11","#22725c","#903d00","#821908"],columns:10},metro:{colors:["#ffffff","#000000","#d6ecff","#4e5b6f","#7fd13b","#ea157a","#feb80a","#00addc","#738ac8","#1ab39f","#f2f2f2","#7f7f7f","#a7d6ff","#d9dde4","#e5f5d7","#fad0e4","#fef0cd","#c5f2ff","#e2e7f4","#c9f7f1","#d8d8d8","#595959","#60b5ff","#b3bcca","#cbecb0","#f6a1c9","#fee29c","#8be6ff","#c7d0e9","#94efe3","#bfbfbf","#3f3f3f","#007dea","#8d9baf","#b2e389","#f272af","#fed46b","#51d9ff","#aab8de","#5fe7d5","#a5a5a5","#262626","#003e75","#3a4453","#5ea226","#af0f5b","#c58c00","#0081a5","#425ea9","#138677","#7f7f7f","#0c0c0c","#00192e","#272d37","#3f6c19","#750a3d","#835d00","#00566e","#2c3f71","#0c594f"],columns:10},flow:{colors:["#ffffff","#000000","#dbf5f9","#04617b","#0f6fc6","#009dd9","#0bd0d9","#10cf9b","#7cca62","#a5c249","#f2f2f2","#7f7f7f","#b2e9f2","#b4ecfc","#c7e2fa","#c4eeff","#c9fafc","#c9faed","#e4f4df","#edf2da","#d8d8d8","#595959","#76d9e8","#6adafa","#90c6f6","#89deff","#93f5f9","#94f6db","#cae9c0","#dbe6b6","#bfbfbf","#3f3f3f","#21b2c8","#20c8f7","#59a9f2","#4fceff","#5df0f6","#5ff2ca","#b0dfa0","#c9da91","#a5a5a5","#262626","#105964","#02485c","#0b5394","#0075a2","#089ca2","#0b9b74","#54a838","#7e9532","#7f7f7f","#0c0c0c","#062328","#01303d","#073763","#004e6c","#05686c","#07674d","#387025","#546321"],columns:10},hardcover:{colors:["#ffffff","#000000","#ece9c6","#895d1d","#873624","#d6862d","#d0be40","#877f6c","#972109","#aeb795","#f2f2f2","#7f7f7f","#e1dca5","#f2e0c6","#f0d0c9","#f6e6d5","#f5f2d8","#e7e5e1","#fbc7bc","#eef0e9","#d8d8d8","#595959","#d0c974","#e6c28d","#e2a293","#eeceaa","#ece5b2","#cfccc3","#f78f7a","#dee2d4","#bfbfbf","#3f3f3f","#a29a36","#daa454","#d4735e","#e6b681","#e2d88c","#b7b2a5","#f35838","#ced3bf","#a5a5a5","#262626","#514d1b","#664515","#65281a","#a2641f","#a39428","#655f50","#711806","#879464","#7f7f7f","#0c0c0c","#201e0a","#442e0e","#431b11","#6c4315","#6d621a","#433f35","#4b1004","#5a6243"],columns:10},trek:{colors:["#ffffff","#000000","#fbeec9","#4e3b30","#f0a22e","#a5644e","#b58b80","#c3986d","#a19574","#c17529","#f2f2f2","#7f7f7f","#f7e09e","#e1d6cf","#fcecd5","#eddfda","#f0e7e5","#f3eae1","#ece9e3","#f5e3d1","#d8d8d8","#595959","#f3cc5f","#c4ad9f","#f9d9ab","#dcc0b6","#e1d0cc","#e7d5c4","#d9d4c7","#ebc7a3","#bfbfbf","#3f3f3f","#d29f0f","#a78470","#f6c781","#cba092","#d2b9b2","#dbc1a7","#c6bfab","#e1ac76","#a5a5a5","#262626","#694f07","#3a2c24","#c87d0e","#7b4b3a","#926255","#a17242","#7b7153","#90571e","#7f7f7f","#0c0c0c","#2a1f03","#271d18","#855309","#523226","#614138","#6b4c2c","#524b37","#603a14"],columns:10},verve:{colors:["#ffffff","#000000","#d2d2d2","#666666","#ff388c","#e40059","#9c007f","#68007f","#005bd3","#00349e","#f2f2f2","#7f7f7f","#bdbdbd","#e0e0e0","#ffd7e8","#ffc6dc","#ffb8f1","#f1b2ff","#c3dcff","#b8cfff","#d8d8d8","#595959","#9d9d9d","#c1c1c1","#ffafd1","#ff8eba","#ff71e4","#e365ff","#87baff","#72a0ff","#bfbfbf","#3f3f3f","#696969","#a3a3a3","#ff87ba","#ff5597","#ff2ad7","#d519ff","#4b98ff","#2b71ff","#a5a5a5","#262626","#343434","#4c4c4c","#e90062","#ab0042","#75005f","#4e005f","#00449e","#002676","#7f7f7f","#0c0c0c","#151515","#333333","#9b0041","#72002c","#4e003f","#34003f","#002d69","#00194f"],columns:10},monochrome:{colors:["#000000","#1a1a1a","#333333","#4d4d4d","#666666","#808080","#999999","#b3b3b3","#cccccc","#e6e6e6","#f2f2f2","#ffffff"],columns:12}};import{jsx as tf}from"react/jsx-runtime";var sl=e=>tf(hn,{palette:Ra.basic,...e});import{jsx as BP}from"react/jsx-runtime";import{jsx as _P,jsxs as DP}from"react/jsx-runtime";import{jsx as df}from"react/jsx-runtime";var of=He.options,af=He.states,nf={...He.defaultOptions,variant:"basic"},rf=[{name:"basic",title:"Basic"},{name:"monochrome",title:"Monochrome"}],sf={basic:{colors:["#000000","#7f7f7f","#880015","#ed1c24","#ff7f27","#fff200","#22b14c","#00a2e8","#3f48cc","#a349a4","#ffffff","#c3c3c3","#b97a57","#ffaec9","#ffc90e","#efe4b0","#b5e61d","#99d9ea","#7092be","#c8bfe7"],columns:10},monochrome:{colors:["#000000","#1a1a1a","#333333","#4d4d4d","#666666","#808080","#999999","#b3b3b3","#cccccc","#e6e6e6","#f2f2f2","#ffffff"],columns:12}},lf=[],Ro=e=>{let{variant:t="basic",...o}=e,a=sf[t];return df(sl,{columns:a.columns,palette:a,...o})};Ro.options=of;Ro.states=af;Ro.variants=rf;Ro.defaultOptions=nf;Ro.modifiers=lf;Ro.className=He.className;var ll="color-editor",dl="coloreditor";import{jsx as at,jsxs as wo}from"react/jsx-runtime";var Nn="k-coloreditor",pf=[i.focus],mf={size:[p.undefined,p.small,p.medium,p.large]},wa={view:"gradient",palette:Ra.office,actionButtons:!0,canvasOrientation:"horizontal"},ne=e=>{let{size:t,view:o=wa.view,palette:a=wa.palette,color:n,currentColor:s,focus:l,focusView:m,dir:f,group:N,actionButtons:h=wa.actionButtons,canvasOrientation:M=wa.canvasOrientation,...c}=e;return wo("div",{...c,role:"textbox","aria-label":"Color editor",tabIndex:0,className:r(e.className,"k-flatcolorpicker",Nn,k(Nn,{size:t}),I(Nn,{focus:l})),dir:f,children:[wo("div",{className:"k-coloreditor-header k-hstack",children:[at("div",{className:"k-coloreditor-header-actions k-hstack",children:N&&wo(O,{fillMode:"flat",children:[at(d,{className:"k-group-start",size:t,fillMode:"flat",icon:"droplet-slider",selected:o==="gradient","aria-label":"Color gradient view"}),at(d,{className:"k-group-end",size:t,fillMode:"flat",icon:"palette",selected:o==="palette","aria-label":"Color palette view"})]})}),at("div",{className:"k-spacer"}),wo("div",{className:"k-coloreditor-header-actions k-hstack",children:[at(d,{fillMode:"flat",icon:"droplet-slash",size:t,"aria-label":"Reset color"}),wo("div",{className:"k-coloreditor-preview k-vstack",children:[at(Ot,{className:"k-coloreditor-preview-color",color:n}),at(Ot,{className:"k-coloreditor-current-color",color:s})]})]})]}),at("div",{className:"k-coloreditor-views k-vstack",children:o==="gradient"?at(fe,{focus:m,size:t,canvasOrientation:M,role:"none",tabIndex:-1}):at(He,{palette:a,size:t})}),h&&wo(z,{className:"k-coloreditor-footer",alignment:"start",children:[at(d,{themeColor:"primary",size:t,className:"k-coloreditor-apply",children:"Apply"}),at(d,{className:"k-coloreditor-cancel",size:t,children:"Cancel"})]})]})};ne.states=pf;ne.options=mf;ne.className=Nn;ne.defaultOptions=wa;ne.moduleName=ll;ne.folderName=dl;var _o=ne;import{jsx as uK}from"react/jsx-runtime";import{jsx as hK}from"react/jsx-runtime";import{jsx as cf}from"react/jsx-runtime";var pl=e=>cf(_o,{group:!0,currentColor:"fuchsia",...e});import{jsx as uf}from"react/jsx-runtime";var ml=e=>uf(_o,{view:"palette",group:!0,currentColor:"fuchsia",...e});import{jsx as cl}from"react/jsx-runtime";var ff=ne.options,bf=ne.states,xf={...ne.defaultOptions,variant:"gradient"},hf=[{name:"gradient",title:"Gradient"},{name:"palette",title:"Palette"}],Nf=[],Do=e=>{let{variant:t,...o}=e;return t==="palette"?cl(ml,{...o,color:"white"}):cl(pl,{...o,color:"rgba(183, 118 , 118, 1.00)"})};Do.options=ff;Do.states=bf;Do.variants=hf;Do.defaultOptions=xf;Do.modifiers=Nf;Do.className=ne.className;var ul="color-picker",fl="colorpicker";import{Fragment as Lf,jsx as nt,jsxs as Xr}from"react/jsx-runtime";var bl="k-colorpicker",vf=[i.hover,i.focus,i.valid,i.invalid,i.required,i.disabled],Cf={size:[p.undefined,p.small,p.medium,p.large],rounded:[u.undefined,u.none,u.small,u.medium,u.large,u.full],fillMode:[b.undefined,b.solid,b.flat,b.outline]},xl={arrowIconName:"chevron-down"},rt=e=>{let{size:t,rounded:o,fillMode:a,arrowIconName:n=xl.arrowIconName,prefix:s,suffix:l,value:m,placeholder:f,hover:N,focus:h,valid:M,invalid:c,required:C,disabled:g,valueIconName:S,popup:T,opened:A,adaptive:K,adaptiveSettings:$,adaptiveTitle:ie,adaptiveSubtitle:he,...pe}=e,ce="colorpicker-popup";return Xr(Lf,{children:[Xr(xt,{...pe,size:t,rounded:o,fillMode:a,hover:N,focus:h,valid:M,invalid:c,required:C,disabled:g,role:"combobox","aria-haspopup":"dialog","aria-expanded":A?"true":"false","aria-controls":A||K?ce:void 0,"aria-label":"Color picker",tabIndex:0,"aria-disabled":g?"true":void 0,className:r(e.className,bl,"k-icon-picker"),children:[nt(_e,{children:s}),nt(qt,{placeholder:f,value:m,showValue:!1,valueIcon:nt(Ot,{className:"k-value-icon",color:m,iconName:S}),valueIconName:S}),nt(De,{children:l}),nt(d,{className:"k-input-button",icon:n,size:t,fillMode:a,tabIndex:-1,"aria-label":"Open color picker",disabled:g})]}),A&&T&&nt(U,{id:ce,className:"k-colorpicker-popup",children:T}),K&&nt(oe,{adaptive:!0,id:ce,...$,header:nt(Ie,{actionsEnd:nt(d,{icon:"check",themeColor:"primary",size:"large",fillMode:"flat","aria-label":"Apply"}),title:ie,subtitle:he}),footer:Xr(Pt,{children:[nt(d,{text:"Cancel",size:"large"}),nt(d,{text:"Set",size:"large",themeColor:"primary"})]}),children:nt(ne,{canvasOrientation:"vertical",size:"large",actionButtons:!1,group:!0})})]})};rt.states=vf;rt.options=Cf;rt.className=bl;rt.defaultOptions=xl;rt.moduleName=ul;rt.folderName=fl;var kt=rt;import{jsx as Mf}from"react/jsx-runtime";var vn=e=>Mf(kt,{...e});import{jsx as eR}from"react/jsx-runtime";import{jsx as rR}from"react/jsx-runtime";import{jsx as dR}from"react/jsx-runtime";import{jsx as uR}from"react/jsx-runtime";import{jsx as hR}from"react/jsx-runtime";import{jsx as LR}from"react/jsx-runtime";import{jsx as eo}from"react/jsx-runtime";var gf=kt.options,Sf=kt.states,hl={...kt.defaultOptions,variant:"color"},If=[{name:"color",title:"Color",default:!0},{name:"no color",title:"No color"},{name:"icon",title:"Icon"}],kf=[{name:"opened",title:"Opened"}],Ho=e=>{let{variant:t,modifiers:o,...a}={...hl,...e},n={};Object.keys(o||{}).forEach(l=>{l==="opened"&&(n.opened=!!o?.[l],n.popup=o?.[l]?eo(ne,{size:a.size,color:"rgba(183, 118 , 118, 1.00)",group:!0}):"")});let s=n.opened?{width:"272px",height:"390px"}:{};switch(t){case"no color":return eo("div",{style:s,children:eo(vn,{...a,...n})});case"icon":return eo("div",{style:s,children:eo(vn,{value:"rgba(183, 118 , 118, 1.00)",valueIconName:"edit-tools",...a,...n})});default:return eo("div",{style:s,children:eo(vn,{value:"rgba(183, 118 , 118, 1.00)",...a,...n})})}};Ho.options=gf;Ho.states=Sf;Ho.variants=If;Ho.defaultOptions=hl;Ho.modifiers=kf;Ho.className=kt.className;var Wr="combobox",Nl=Wr;import{Fragment as Jr,jsx as se,jsxs as _a}from"react/jsx-runtime";var vl="k-combobox",Af=[i.hover,i.focus,i.valid,i.invalid,i.loading,i.required,i.disabled,i.readonly],Tf={size:[p.undefined,p.small,p.medium,p.large],rounded:[u.undefined,u.none,u.small,u.medium,u.large,u.full],fillMode:[b.undefined,b.solid,b.flat,b.outline]},qr={separators:!0,showClearButton:!0},ye=e=>{let{size:t,rounded:o,fillMode:a,separators:n=qr.separators,showClearButton:s=qr.showClearButton,prefix:l,suffix:m,value:f,placeholder:N,hover:h,focus:M,valid:c,invalid:C,required:g,loading:S,disabled:T,popup:A,opened:K,readonly:$,adaptive:ie,adaptiveSettings:he,adaptiveTitle:pe,adaptiveSubtitle:ce,adaptiveCustomValue:ba,id:Xt,autocomplete:Wt,activeDescendant:xa,"aria-label":Un,...Fn}=e,Vn=Xt?`${Xt}-listbox`:void 0;return _a(Jr,{children:[_a(Z,{...Fn,size:t,rounded:o,fillMode:a,hover:h,focus:M,valid:c,invalid:C,required:g,loading:S,disabled:T,readonly:$,className:r(e.className,vl),children:[l&&_a(Jr,{children:[se(_e,{children:l}),n&&se(Se,{})]}),se(Ve,{id:Xt,placeholder:N,value:f,role:"combobox","aria-haspopup":"listbox","aria-expanded":K?"true":"false","aria-controls":K?Vn:void 0,"aria-activedescendant":K&&xa?xa:void 0,"aria-autocomplete":Wt,"aria-invalid":C?"true":void 0,"aria-busy":S?"true":void 0,"aria-label":Un,disabled:T,readOnly:$}),se(ge,{valid:c,invalid:C,loading:S,disabled:T}),se(we,{loading:S,disabled:T}),s&&se(Fe,{loading:S,disabled:T,readonly:$,value:f}),m&&_a(Jr,{children:[n&&se(Se,{}),se(De,{children:m})]}),se(d,{className:"k-input-button",icon:"chevron-down",size:t,fillMode:a,"aria-label":"Open popup",tabIndex:-1,disabled:T})]}),K&&A&&se(U,{className:"k-list-container k-combobox-popup",containerRole:"region",containerAriaLabel:"Combobox suggestions",children:A}),ie&&se(oe,{adaptive:!0,id:Xt?`${Xt}-adaptive`:void 0,...he,header:se(Ie,{actionsEnd:se(d,{icon:"check",themeColor:"primary",size:"large",fillMode:"flat","aria-label":"Apply selection"}),input:!0,inputValue:f,inputPlaceholder:N,title:pe,subtitle:ce}),children:se("div",{className:"k-list-container",children:se(H,{customValue:ba?se(zt,{text:`Use "${f}"`}):void 0,size:"large",children:_a(W,{"aria-label":pe||"Options",children:[se(P,{text:"List item"}),se(P,{text:"List item"}),se(P,{text:"List item"})]})})})})]})};ye.states=Af;ye.options=Tf;ye.className=vl;ye.defaultOptions=qr;ye.moduleName=Wr;ye.folderName=Nl;var Xe=ye;import{jsx as yf}from"react/jsx-runtime";var Cl=e=>yf(Xe,{...e});import{jsx as aw,jsxs as nw}from"react/jsx-runtime";import{jsx as pw,jsxs as mw}from"react/jsx-runtime";import{jsx as hw,jsxs as Nw}from"react/jsx-runtime";import{Fragment as Sw,jsx as gw}from"react/jsx-runtime";import{Fragment as Ew,jsx as yw}from"react/jsx-runtime";import{jsx as ww,jsxs as _w}from"react/jsx-runtime";import{Fragment as $w,jsx as Fw,jsxs as Vw}from"react/jsx-runtime";import{jsx as qw}from"react/jsx-runtime";import{jsx as jw}from"react/jsx-runtime";import{jsx as r_,jsxs as i_}from"react/jsx-runtime";import{jsx as c_,jsxs as u_}from"react/jsx-runtime";import{jsx as Ft,jsxs as Rf}from"react/jsx-runtime";var Ef=ye.states,Bf=ye.defaultOptions,Of=ye.options,Pf=[{name:"prefix",title:"Prefix"},{name:"suffix",title:"Suffix"},{name:"opened",title:"Opened"}],Kf=[],zo=e=>{let{modifiers:t,...o}=e,a={},n=Ft(H,{style:{width:300},size:o.size,children:Rf(W,{children:[Ft(P,{children:"List item"}),Ft(P,{children:"List item"}),Ft(P,{children:"List item"})]})});return Object.keys(t||{}).forEach(s=>{switch(s){case"prefix":a.prefix=t?.[s]?Ft(L,{icon:"map-marker-target"}):void 0;break;case"suffix":a.suffix=t?.[s]?Ft(F,{size:o.size,icon:"copy",fillMode:"clear"}):void 0;break;case"opened":a.opened=!!t?.[s],a.popup=t?.[s]?n:void 0;break;default:break}}),Ft("div",{children:Ft(Cl,{value:"Value",style:{width:300},...o,...a})})};zo.options=Of;zo.states=Ef;zo.variants=Kf;zo.defaultOptions=Bf;zo.modifiers=Pf;zo.className=ye.className;var Yr="menu-button",Ll=Yr;import{jsx as Df}from"react/jsx-runtime";var Ml="k-menu-button",wf=[i.hover,i.focus,i.active,i.selected,i.disabled],_f={size:[p.undefined,p.xsmall,p.small,p.medium,p.large],rounded:[u.undefined,u.none,u.small,u.medium,u.large,u.full],fillMode:[b.undefined,b.solid,b.flat,b.outline,b.clear,b.link],themeColor:[x.undefined,x.base,x.primary,x.secondary,x.tertiary,x.success,x.warning,x.error,x.info,x.inverse]},Qr={showArrow:!0,arrowIconName:"chevron-down"},J=e=>{let{size:t,rounded:o,fillMode:a,themeColor:n,hover:s,focus:l,active:m,selected:f,disabled:N,icon:h,endIcon:M,text:c,showArrow:C=Qr.showArrow,arrowIconName:g=Qr.arrowIconName,expanded:S,...T}=e;return Df(d,{...T,className:r(e.className,Ml),text:c,size:t,rounded:o,fillMode:a,themeColor:n,hover:s,focus:l,active:m,selected:f,disabled:N,ariaDisabled:N||void 0,icon:h,endIcon:M,showArrow:C,arrowIconName:g,"aria-expanded":S?"true":"false",...!c&&h&&!e["aria-label"]&&{"aria-label":"Menu"}})};J.states=wf;J.options=_f;J.className=Ml;J.defaultOptions=Qr;J.moduleName=Yr;J.folderName=Ll;import{jsx as X_}from"react/jsx-runtime";import{jsx as Y_}from"react/jsx-runtime";import{jsx as e0}from"react/jsx-runtime";import{jsx as n0}from"react/jsx-runtime";var We="menu",it=We;import{jsx as Ha,jsxs as gl}from"react/jsx-runtime";var Zr="k-menu-item",Hf=[i.hover,i.focus,i.active,i.selected,i.disabled],zf={},Sl={iconPosition:"before"},ve=e=>{let{hover:t,focus:o,active:a,selected:n,disabled:s,icon:l,text:m,showArrow:f,arrowIconName:N,iconPosition:h=Sl.iconPosition,dir:M,children:c,expanded:C,...g}=e,S=N;return S||(S=M==="rtl"?"chevron-left":"chevron-right"),gl("li",{...g,className:r(e.className,Zr,"k-item",I(Zr,{focus:o,disabled:s,hover:t,active:a,selected:n})),role:"menuitem",...f&&{"aria-haspopup":"menu"},...f&&{"aria-expanded":C?"true":"false"},...s&&{"aria-disabled":"true"},...o&&{tabIndex:0},children:[gl("span",{className:r("k-link k-menu-link"),children:[l&&h==="before"&&Ha(L,{className:"k-menu-link-icon",icon:l}),Ha("span",{className:"k-menu-link-text",children:m}),l&&h==="after"&&Ha(L,{className:"k-menu-link-icon",icon:l}),f&&Ha("span",{className:"k-menu-expand-arrow","aria-hidden":"true",children:Ha(L,{icon:S})})]}),c]})};ve.states=Hf;ve.options=zf;ve.className=Zr;ve.defaultOptions=Sl;ve.moduleName=We;ve.folderName=it;import{jsx as to,jsxs as Il}from"react/jsx-runtime";var jr="k-menu-item",Gf=[i.hover,i.focus,i.active,i.selected,i.disabled],Uf={},ei={dir:"ltr",iconPosition:"before"},j=e=>{let{hover:t,focus:o,active:a,selected:n,disabled:s,icon:l,text:m,showArrow:f,arrowIconName:N,iconPosition:h=ei.iconPosition,dir:M=ei.dir,children:c,popup:C,expanded:g,actions:S,description:T,...A}=e,K=N;return K||(K=M==="rtl"?"chevron-left":"chevron-right"),Il("li",{role:"menuitem",...A,className:r(e.className,jr,"k-item",I(jr,{focus:o,disabled:s})),...f&&{"aria-haspopup":"menu"},...f&&{"aria-expanded":g?"true":"false"},...s&&{"aria-disabled":"true"},...o&&{tabIndex:0},children:[Il("span",{className:r("k-link k-menu-link",I("k-menu-link",{hover:t,active:a,selected:n,disabled:s})),children:[l&&h==="before"&&to(L,{className:"k-menu-link-icon",icon:l}),to("span",{className:"k-menu-link-text",children:m}),l&&h==="after"&&to(L,{className:"k-menu-link-icon",icon:l}),S&&to("span",{className:"k-menu-link-actions",children:S}),f&&to("span",{className:"k-menu-expand-arrow","aria-hidden":"true",children:to(L,{icon:K})}),T&&to("span",{className:"k-menu-link-description",children:T})]}),c,C]})};j.states=Gf;j.options=Uf;j.className=jr;j.defaultOptions=ei;j.moduleName=We;j.folderName=it;import{jsx as Xf}from"react/jsx-runtime";var kl="k-menu-scroll-wrapper",Ff=[],Vf={},$f={},oo=e=>{let{className:t,children:o,orientation:a,...n}=e;return Xf("div",{...n,className:r(t,kl,{"k-menu-scroll-wrapper-vertical":a==="vertical"}),children:o})};oo.states=Ff;oo.options=Vf;oo.className=kl;oo.defaultOptions=$f;oo.moduleName=We;oo.folderName=it;var Al=oo;import{Fragment as ti,jsx as ao,jsxs as Cn}from"react/jsx-runtime";var Ln="k-menu",Wf=[],Jf={size:[p.undefined,p.small,p.medium,p.large]},Mn={orientation:"horizontal",header:!0,scrollButtonsPosition:"around"},be=e=>{let{children:t,orientation:o=Mn.orientation,header:a=Mn.header,scrollable:n,scrollButtonsPosition:s=Mn.scrollButtonsPosition,wrapperStyles:l,dir:m,size:f,popup:N,contextMenu:h,...M}=e,c={horizontal:{prev:m!=="rtl"?"left":"right",next:m!=="rtl"?"right":"left"},vertical:{prev:"up",next:"down"}},C=ao("ul",{dir:m,...M,className:r(e.className,"k-reset",Ln,{[`${Ln}-${o}`]:o,"k-header":a},k(Ln,{size:f})),role:h?"menu":"menubar",...o==="vertical"&&{"aria-orientation":"vertical"},children:t});return Cn(ti,{children:[n?Cn(Al,{orientation:o,style:l,dir:e.dir,children:[s==="start"&&Cn(ti,{children:[ao(d,{fillMode:"flat",size:"xsmall",icon:`chevron-${c[o].prev}`,className:"k-menu-scroll-button k-menu-scroll-button-prev",tabIndex:-1,"aria-label":"Scroll previous"}),ao(d,{fillMode:"flat",size:"xsmall",icon:`chevron-${c[o].next}`,className:"k-menu-scroll-button k-menu-scroll-button-next",tabIndex:-1,"aria-label":"Scroll next"})]}),s==="around"&&ao(d,{fillMode:"flat",size:"xsmall",icon:`chevron-${c[o].prev}`,className:"k-menu-scroll-button k-menu-scroll-button-prev",tabIndex:-1,"aria-label":"Scroll previous"}),C,s==="end"&&Cn(ti,{children:[ao(d,{fillMode:"flat",size:"xsmall",icon:`chevron-${c[o].prev}`,className:"k-menu-scroll-button k-menu-scroll-button-prev",tabIndex:-1,"aria-label":"Scroll previous"}),ao(d,{fillMode:"flat",size:"xsmall",icon:`chevron-${c[o].next}`,className:"k-menu-scroll-button k-menu-scroll-button-next",tabIndex:-1,"aria-label":"Scroll next"})]}),s==="around"&&ao(d,{fillMode:"flat",size:"xsmall",icon:`chevron-${c[o].next}`,className:"k-menu-scroll-button k-menu-scroll-button-next",tabIndex:-1,"aria-label":"Scroll next"})]}):C,N]})};be.states=Wf;be.options=Jf;be.className=Ln;be.defaultOptions=Mn;be.moduleName=We;be.folderName=it;import{jsx as qf}from"react/jsx-runtime";var oi="k-separator",Tl={orientation:"horizontal"},Go=e=>{let{orientation:t=Tl.orientation,...o}=e;return qf("li",{...o,className:r(e.className,"k-item",oi,{[`${oi}-${t}`]:t}),role:"separator"})};Go.className=oi;Go.defaultOptions=Tl;Go.moduleName=We;Go.folderName=it;import{Fragment as P0,jsx as K0}from"react/jsx-runtime";import{jsx as jf}from"react/jsx-runtime";var ai="k-menu-group",Yf=[],Qf={size:[p.undefined,p.small,p.medium,p.large]},Zf={},Ce=e=>{let{children:t,size:o,...a}=e;return jf("ul",{role:"menu",...a,className:r(e.className,ai,k(ai,{size:o})),children:t})};Ce.states=Yf;Ce.options=Qf;Ce.className=ai;Ce.defaultOptions=Zf;Ce.moduleName=We;Ce.folderName=it;import{jsx as F0,jsxs as V0}from"react/jsx-runtime";import{Fragment as eb,jsx as Uo,jsxs as tb}from"react/jsx-runtime";var ni=e=>Uo(be,{children:tb(eb,{children:[Uo(ve,{text:"Item 1"}),Uo(ve,{showArrow:!0,arrowIconName:"chevron-down",text:"Item 2"}),Uo(ve,{showArrow:!0,arrowIconName:"chevron-down",text:"Item 3"}),Uo(ve,{text:"Item 4"}),Uo(ve,{text:"Item 5"})]}),...e});import{Fragment as eD,jsx as Z0,jsxs as j0}from"react/jsx-runtime";import{Fragment as rD,jsx as nD,jsxs as iD}from"react/jsx-runtime";import{Fragment as mD,jsx as pD,jsxs as cD}from"react/jsx-runtime";import{Fragment as hD,jsx as xD,jsxs as ND}from"react/jsx-runtime";import{jsx as no,jsxs as ib}from"react/jsx-runtime";var ob={...be.options,scrollable:{type:"boolean"}},ab=be.states,yl={...be.defaultOptions,variant:"horizontal"},nb=[{name:"horizontal",title:"Horizontal"},{name:"vertical",title:"Vertical"}],rb=[{name:"opened",title:"Opened"}],Fo=e=>{let{variant:t,modifiers:o,...a}={...yl,...e},n={},s=t==="vertical"?{left:"200px",top:"30px"}:{left:"90px",top:"auto"};return Object.keys(o||{}).forEach(l=>{l==="opened"&&(n.opened=!!o?.[l],n.popup=o?.[l]?no(U,{className:"k-menu-popup",offset:s,children:ib(Ce,{children:[no(j,{text:"Item 1"}),no(j,{text:"Item 2"}),no(Go,{}),no(j,{text:"Item 3"})]})}):null)}),t==="vertical"?no(ni,{...a,...n,orientation:"vertical",style:{width:"200px"}}):no(ni,{...a,...n})};Fo.options=ob;Fo.states=ab;Fo.variants=nb;Fo.defaultOptions=yl;Fo.modifiers=rb;Fo.className=be.className;import{Fragment as QD,jsx as qD,jsxs as YD}from"react/jsx-runtime";import{jsx as tH}from"react/jsx-runtime";import{Fragment as mb,jsx as Lt,jsxs as El}from"react/jsx-runtime";var sb=d.states,Bl={...d.defaultOptions,variant:"text"},lb=d.options,db=[{name:"icon-only",title:"Icon Only"},{name:"icon-and-text",title:"Icon & Text"},{name:"text",title:"Text"}],pb=[{name:"opened",title:"Opened"}],Vo=e=>{let{variant:t,modifiers:o,...a}={...Bl,...e},n={},s=Lt(U,{className:"k-menu-popup",children:El(Ce,{size:a.size,children:[Lt(j,{text:"Menu Item"}),Lt(j,{text:"Menu Item"}),Lt(j,{text:"Menu Item"})]})}),l;switch(t){case"icon-only":l=Lt("div",{children:Lt(J,{...a,...n,icon:"star"})});break;case"icon-and-text":l=Lt("div",{children:Lt(J,{...a,...n,icon:"star",children:"Dropdown Button"})});break;default:l=Lt("div",{children:Lt(J,{...a,...n,children:"Dropdown Button"})});break}return El(mb,{children:[l,o?.opened&&s]})};Vo.options=lb;Vo.states=sb;Vo.variants=db;Vo.defaultOptions=Bl;Vo.modifiers=pb;Vo.className=J.className;var ri="split-button",Ol=ri;import{Fragment as fb,jsx as ii,jsxs as Pl}from"react/jsx-runtime";var si="k-split-button",cb=[i.hover,i.focus,i.active,i.selected,i.disabled],ub={size:[p.undefined,p.small,p.medium,p.large],rounded:[u.undefined,u.none,u.small,u.medium,u.large,u.full],fillMode:[b.undefined,b.solid,b.flat,b.outline,b.clear,b.link],themeColor:[x.undefined,x.base,x.primary,x.secondary,x.tertiary,x.success,x.warning,x.error,x.info,x.inverse]},Kl={arrowIconName:"chevron-down"},_=e=>{let{size:t,rounded:o,fillMode:a,themeColor:n,hover:s,focus:l,active:m,selected:f,disabled:N,icon:h,endIcon:M,text:c,arrowIconName:C=Kl.arrowIconName,popup:g,opened:S,popupId:T,...A}=e;return Pl(fb,{children:[Pl("div",{...A,className:r(e.className,si,"k-button-group",k(si,{rounded:o})),children:[ii(d,{text:c,icon:h,endIcon:M,size:t,rounded:o,fillMode:a,themeColor:n,hover:s,focus:l,active:m,selected:f,disabled:N,...!c&&!e.children&&h&&{"aria-label":"Action"},children:e.children}),ii(d,{className:"k-split-button-arrow",icon:C,size:t,rounded:o,fillMode:a,disabled:N,ariaDisabled:N||void 0,"aria-label":"Toggle dropdown","aria-expanded":S?"true":"false","aria-controls":S?T:void 0,tabIndex:-1})]}),S&&g&&ii(U,{className:"k-menu-popup",children:g})]})};_.states=cb;_.options=ub;_.className=si;_.defaultOptions=Kl;_.moduleName=ri;_.folderName=Ol;var li=_;import{jsx as xb}from"react/jsx-runtime";var bb="k-toolbar-separator",ct=e=>xb("div",{className:r(bb,e.className,"k-separator")});var ro="toolbar",$o=ro;import{Fragment as di,jsx as G,jsxs as Xo}from"react/jsx-runtime";var At="k-toolbar",hb=[i.focus],Nb={size:[p.undefined,p.small,p.medium,p.large],fillMode:[b.undefined,b.solid,b.outline,b.flat]},vb={scrollButtons:"around"},D=e=>{let{size:t,fillMode:o,focus:a,resizable:n,scrollable:s,scrollButtons:l,scrollingPosition:m,section:f,...N}=e,h=[],M=(c,C)=>{let g=[];if(c.type===d&&c.props.className&&c.props.className.includes("k-toolbar-overflow-button"))g.push(G(d,{...c.props,className:`${c.props.className?c.props.className:""}`},`${C}-${new Date().getTime()}`));else if(c.type===d)g.push(G(d,{...c.props,className:`k-toolbar-button ${c.props.className?c.props.className:""}`},`${C}-${new Date().getTime()}`));else if(c.type===R)g.push(G(R,{...c.props,className:`k-toolbar-button ${c.props.className?c.props.className:""}`},`${C}-${new Date().getTime()}`));else if(c.type===F)g.push(G(F,{...c.props,className:`k-toolbar-button ${c.props.className?c.props.className:""}`},`${C}-${new Date().getTime()}`));else if(c.type===J)g.push(G(J,{...c.props,className:`k-toolbar-menu-button ${c.props.className?c.props.className:""}`},`${C}-${new Date().getTime()}`));else if(c.type===li)g.push(G(li,{...c.props,className:`k-toolbar-split-button ${c.props.className?c.props.className:""}`},`${C}-${new Date().getTime()}`));else if(c.type===O||c.props.className&&c.props.className.includes("k-button-group")){let S=[];(Array.isArray(c.props.children)?c.props.children:[c.props.children]).forEach((A,K)=>{S.push(G(d,{...A.props,className:`${A.props.className?A.props.className:""}`},`${K}-${new Date().getTime()}`))}),g.push(G(O,{...c.props,className:`k-toolbar-button-group ${c.props.className?c.props.className:""}`,children:S},`${C}-${new Date().getTime()}`))}else c.type===ye?g.push(G(ye,{...c.props,className:`k-toolbar-combobox ${c.props.className?c.props.className:""}`},`${C}-${new Date().getTime()}`)):c.type===me?g.push(G(me,{...c.props,className:`k-toolbar-dropdownlist ${c.props.className?c.props.className:""}`},`${C}-${new Date().getTime()}`)):c.type===rt?g.push(G(rt,{...c.props,className:`k-toolbar-colorpicker ${c.props.className?c.props.className:""}`},`${C}-${new Date().getTime()}`)):g.push(c);g.forEach(S=>{h.push(S)})};return e.children&&(Array.isArray(e.children)?e.children:[e.children]).forEach((C,g)=>{M(C,g)}),Xo("div",{...N,className:r(e.className,At,k(At,{size:t,fillMode:o}),I(At,{focus:a}),{[`${At}-resizable`]:n,[`${At}-scrollable`]:s,[`${At}-scrollable-overlay`]:s&&l==="hidden",[`${At}-scrollable-${m}`]:m&&m!=="both",[`${At}-section`]:f}),role:"toolbar","aria-label":"Toolbar",children:[!s&&h,s&&l==="hidden"&&G("div",{className:"k-toolbar-items k-toolbar-items-scroll",children:h}),s&&l==="start"&&Xo(di,{children:[Xo(O,{children:[G("span",{className:r("k-toolbar-prev","k-button",k("k-button",{size:t,fillMode:o}),"k-icon-button"),"aria-hidden":"true",children:G(L,{className:"k-button-icon",icon:"chevron-left"})}),G("span",{className:r("k-toolbar-next","k-button",k("k-button",{size:t,fillMode:o}),"k-icon-button"),"aria-hidden":"true",children:G(L,{className:"k-button-icon",icon:"chevron-right"})})]}),G(ct,{className:"k-toolbar-button-separator"}),G("div",{className:"k-toolbar-items k-toolbar-items-scroll",children:h})]}),s&&l==="end"&&Xo(di,{children:[G("div",{className:"k-toolbar-items k-toolbar-items-scroll",children:h}),G(ct,{className:"k-toolbar-button-separator"}),Xo(O,{children:[G("span",{className:r("k-toolbar-prev","k-button",k("k-button",{size:t,fillMode:o}),"k-icon-button"),"aria-hidden":"true",children:G(L,{className:"k-button-icon",icon:"chevron-left"})}),G("span",{className:r("k-toolbar-next","k-button",k("k-button",{size:t,fillMode:o}),"k-icon-button"),"aria-hidden":"true",children:G(L,{className:"k-button-icon",icon:"chevron-right"})})]})]}),s&&(l==="around"||!l)&&Xo(di,{children:[G("span",{className:r("k-toolbar-prev","k-button",k("k-button",{size:t,fillMode:o}),"k-icon-button"),"aria-hidden":"true",children:G(L,{className:"k-button-icon",icon:"chevron-left"})}),G(ct,{className:"k-toolbar-button-separator"}),G("div",{className:"k-toolbar-items k-toolbar-items-scroll",children:h}),G(ct,{className:"k-toolbar-button-separator"}),G("span",{className:r("k-toolbar-next","k-button",k("k-button",{size:t,fillMode:o}),"k-icon-button"),"aria-hidden":"true",children:G(L,{className:"k-button-icon",icon:"chevron-right"})})]})]})};D.states=hb;D.options=Nb;D.className=At;D.defaultOptions=vb;D.moduleName=ro;D.folderName=$o;import{jsx as gb}from"react/jsx-runtime";var pi="k-toolbar-item",Cb=[i.focus],Lb={},Mb={},Wo=e=>{let{focus:t,...o}=e;return gb("div",{...o,className:r(e.className,pi,I(pi,{focus:t})),children:e.children})};Wo.states=Cb;Wo.options=Lb;Wo.className=pi;Wo.defaultOptions=Mb;Wo.moduleName=ro;Wo.folderName=$o;import{jsx as Rl}from"react/jsx-runtime";var wl="k-toolbar-popup",Sb=[],Ib={size:[p.undefined,p.small,p.medium,p.large],fillMode:[b.undefined,b.solid,b.outline,b.flat]},kb={},io=e=>{let{size:t,fillMode:o,section:a,...n}=e;return Rl(U,{...n,className:r(e.className,wl),children:a?Rl("span",{className:r("k-toolbar-items-list",k("k-toolbar-items-list",{size:t,fillMode:o})),role:"toolbar",children:e.children}):e.children})};io.states=Sb;io.options=Ib;io.className=wl;io.defaultOptions=kb;io.moduleName=ro;io.folderName=$o;var gn=io;import{jsx as t1}from"react/jsx-runtime";import{jsx as r1}from"react/jsx-runtime";import{jsx as d1}from"react/jsx-runtime";import{jsx as u1}from"react/jsx-runtime";import{jsx as v1,jsxs as C1}from"react/jsx-runtime";import{jsx as S1}from"react/jsx-runtime";import{jsx as Tt,jsxs as Bb}from"react/jsx-runtime";var Ab=_.states,_l={..._.defaultOptions,variant:"text"},Tb=_.options,yb=[{name:"icon-only",title:"Icon Only"},{name:"icon-and-text",title:"Icon & Text"},{name:"text",title:"Text"}],Eb=[{name:"opened",title:"Opened"}],Jo=e=>{let{variant:t,modifiers:o,...a}={..._l,...e},n={},s=Bb(Ce,{size:a.size,children:[Tt(j,{text:"Menu Item"}),Tt(j,{text:"Menu Item"}),Tt(j,{text:"Menu Item"})]});switch(Object.keys(o||{}).forEach(l=>{l==="opened"&&(n.opened=!!o?.[l],n.popup=o?.[l]?s:"")}),t){case"icon-only":return Tt("div",{children:Tt(_,{...a,...n,icon:"star"})});case"icon-and-text":return Tt("div",{children:Tt(_,{...a,...n,icon:"star",children:"Split Button"})});default:return Tt("div",{children:Tt(_,{...a,...n,children:"Split Button"})})}};Jo.options=Tb;Jo.states=Ab;Jo.variants=yb;Jo.defaultOptions=_l;Jo.modifiers=Eb;Jo.className=_.className;import{jsx as so,jsxs as Ob}from"react/jsx-runtime";var Dl=e=>so(D,{children:[so(d,{children:"Button"},"toolbar-button"),so(J,{text:"Menu button"},"toolbar-menu-button"),so(_,{children:"Split button"},"toolbar-split-button"),Ob(O,{children:[so(d,{className:"k-group-start",icon:"align-left",children:"Left"}),so(d,{icon:"align-center",children:"Center"}),so(d,{className:"k-group-end",icon:"align-right",children:"Right"})]},"toolbar-button-group")],...e});import{jsx as e2,jsxs as t2}from"react/jsx-runtime";import{jsx as Je,jsxs as Hl}from"react/jsx-runtime";var zl=e=>Je(D,{scrollable:!0,...e,children:[Je(d,{children:"Button"},"toolbar-button"),Je(J,{text:"Menu button"},"toolbar-menu-button"),Je(_,{children:"Split button"},"toolbar-split-button"),Hl(O,{children:[Je(d,{className:"k-group-start",icon:"align-left",children:"Left"}),Je(d,{icon:"align-center",children:"Center"}),Je(d,{className:"k-group-end",icon:"align-right",children:"Right"})]},"toolbar-button-group"),Je(d,{children:"Button"},"toolbar-button"),Je(J,{text:"Menu button"},"toolbar-menu-button"),Je(_,{children:"Split button"},"toolbar-split-button"),Hl(O,{children:[Je(d,{className:"k-group-start",icon:"align-left",children:"Left"}),Je(d,{icon:"align-center",children:"Center"}),Je(d,{className:"k-group-end",icon:"align-right",children:"Right"})]},"toolbar-button-group")],...e});import{jsx as qe,jsxs as Gl}from"react/jsx-runtime";var Ul=({scrollingPosition:e="start",...t})=>qe(D,{scrollable:!0,scrollButtons:"hidden",scrollingPosition:e,...t,children:[qe(d,{children:"Button"},"toolbar-button"),qe(J,{text:"Menu button"},"toolbar-menu-button"),qe(_,{children:"Split button"},"toolbar-split-button"),Gl(O,{children:[qe(d,{className:"k-group-start",icon:"align-left",children:"Left"}),qe(d,{icon:"align-center",children:"Center"}),qe(d,{className:"k-group-end",icon:"align-right",children:"Right"})]},"toolbar-button-group"),qe(d,{children:"Button"},"toolbar-button"),qe(J,{text:"Menu button"},"toolbar-menu-button"),qe(_,{children:"Split button"},"toolbar-split-button"),Gl(O,{children:[qe(d,{className:"k-group-start",icon:"align-left",children:"Left"}),qe(d,{icon:"align-center",children:"Center"}),qe(d,{className:"k-group-end",icon:"align-right",children:"Right"})]},"toolbar-button-group")],...t});import{Fragment as Pb,jsx as ze,jsxs as Sn}from"react/jsx-runtime";var Fl=({fillMode:e,size:t,...o})=>Sn(Pb,{children:[ze(D,{section:!0,fillMode:e,size:t,children:[ze(d,{fillMode:e,size:t,children:"Button"},"toolbar-button"),Sn(O,{fillMode:e,children:[ze(d,{className:"k-group-start",icon:"align-left",fillMode:e,size:t,children:"Left"}),ze(d,{icon:"align-center",fillMode:e,size:t,children:"Center"}),ze(d,{className:"k-group-end",icon:"align-right",fillMode:e,size:t,children:"Right"})]},"toolbar-button-group"),ze(ct,{className:"k-toolbar-button-separator"}),ze(d,{icon:"more-horizontal",className:"k-toolbar-overflow-button",fillMode:"flat",size:t,"aria-label":"More options","aria-expanded":"false"})],...o}),Sn(gn,{size:t,fillMode:e,section:!0,...o,children:[ze(_,{fillMode:e,size:t,children:"Split button"},"toolbar-split-button"),ze(d,{fillMode:e,size:t,children:"Button"},"toolbar-button"),ze(ct,{}),ze(J,{text:"Menu button",fillMode:e,size:t},"toolbar-menu-button"),Sn(O,{fillMode:e,children:[ze(d,{className:"k-group-start",icon:"align-left",fillMode:e,size:t,children:"Left"}),ze(d,{icon:"align-center",fillMode:e,size:t,children:"Center"}),ze(d,{className:"k-group-end",icon:"align-right",fillMode:e,size:t,children:"Right"})]},"toolbar-button-group")]})]});import{Fragment as K2,jsx as O2,jsxs as P2}from"react/jsx-runtime";import{Fragment as $2,jsx as F2,jsxs as V2}from"react/jsx-runtime";import{jsx as Vt}from"react/jsx-runtime";var Kb=D.options,Rb=D.states,Vl={...D.defaultOptions,variant:"default"},wb=[{name:"default",title:"Default"},{name:"scrollable",title:"Scrollable"},{name:"overlay",title:"Overlay"},{name:"responsive",title:"Responsive"}],_b=[],qo=e=>{let{variant:t,...o}={...Vl,...e};switch(t){case"responsive":return Vt("div",{children:Vt(Fl,{style:{width:"583px"},...o})});case"overlay":return Vt("div",{children:Vt(Ul,{style:{width:"583px"},...o,scrollingPosition:"start",scrollButtons:"hidden"})});case"scrollable":return Vt("div",{children:Vt(zl,{style:{width:"583px"},...o})});default:return Vt("div",{children:Vt(Dl,{style:{width:"583px"},...o})})}};qo.options=Kb;qo.states=Rb;qo.variants=wb;qo.defaultOptions=Vl;qo.modifiers=_b;qo.className=D.className;var mi="prompt",$l=mi;import{Fragment as Gb,jsx as Xl}from"react/jsx-runtime";var Wl="k-prompt",Db=[],Hb={},zb={},V=e=>{let{...t}=e;return Xl("div",{...t,className:r(e.className,Wl),children:Xl(Gb,{children:e.children})})};V.states=Db;V.options=Hb;V.className=Wl;V.defaultOptions=zb;V.moduleName=mi;V.folderName=$l;import{jsx as Fb}from"react/jsx-runtime";var Ub="k-prompt-header",ut=e=>{let{...t}=e;return Fb("div",{...t,className:r(e.className,Ub),children:e.children})};import{Fragment as $b,jsx as Jl}from"react/jsx-runtime";var Vb="k-prompt-content",Ee=e=>{let{...t}=e;return Jl("div",{...t,className:r(e.className,Vb),children:Jl($b,{children:e.children})})};import{jsx as Wb}from"react/jsx-runtime";var Xb="k-prompt-view",Be=e=>{let{...t}=e;return Wb("div",{...t,className:r(e.className,Xb),children:e.children})};import{jsx as ql,jsxs as qb}from"react/jsx-runtime";var Jb="k-prompt-expander",In=e=>{let{title:t,children:o,expanded:a,...n}=e,s=y("prompt-expander-content");return qb("div",{...n,className:r(e.className,Jb),children:[ql(R,{fillMode:"flat",icon:a?"chevron-up":"chevron-down","aria-expanded":a?"true":"false","aria-controls":a?s:void 0,children:t}),a&&ql("div",{className:"k-prompt-expander-content",id:s,children:o})]})};import{jsx as Qb}from"react/jsx-runtime";var Yb="k-prompt-footer",lo=e=>{let{...t}=e;return Qb("div",{...t,className:r(e.className,Yb),children:e.children})};import{jsx as _z}from"react/jsx-runtime";import{jsx as Zb}from"react/jsx-runtime";var Yl="k-prompt-send",Ql={generating:!1},Mt=e=>{let{generating:t=Ql.generating,...o}=e;return Zb(d,{...o,className:r(e.className,Yl,{"k-generating":t}),icon:t?"stop":"paper-plane",active:t,fillMode:"flat","aria-label":t?"Stop generating":"Send prompt"})};Mt.states=d.states;Mt.options=d.options;Mt.className=Yl;Mt.moduleName=null;Mt.folderName=null;Mt.defaultOptions=Ql;import{jsx as Zl,jsxs as ax}from"react/jsx-runtime";var kn="k-fab",tx=[i.hover,i.focus,i.active,i.selected,i.disabled],ox={size:[p.undefined,p.small,p.medium,p.large],rounded:[u.undefined,u.none,u.small,u.medium,u.large,u.full],themeColor:[x.undefined,x.base,x.primary,x.secondary,x.tertiary]},jl={type:"button"},re=e=>{let{size:t,rounded:o,themeColor:a,text:n,icon:s,type:l=jl.type,position:m,hover:f,focus:N,active:h,selected:M,disabled:c,...C}=e;return ax("button",{...C,type:l,className:r(e.className,kn,k(kn,{size:t,rounded:o,themeColor:a}),I(kn,{hover:f,focus:N,active:h,disabled:c,selected:M}),{[`!k-pos-absolute k-${m}`]:m}),...!n&&s&&!e["aria-label"]&&{"aria-label":"Action"},...c&&{"aria-disabled":"true"},disabled:c||void 0,children:[s&&Zl(L,{className:"k-fab-icon",icon:s}),n&&Zl("span",{className:"k-fab-text",children:n})]})};re.states=tx;re.options=ox;re.className=kn;re.defaultOptions=jl;re.moduleName="fab";re.folderName="fab";import{jsx as rx}from"react/jsx-runtime";var nx="k-fab-items",ed=e=>{let{position:t,...o}=e;return rx("ul",{...o,className:r(e.className,nx,{[`k-fab-items-${t}`]:t}),children:e.children})};import{jsx as od,jsxs as sx}from"react/jsx-runtime";var td="k-fab-item",ix=[i.hover,i.focus,i.active,i.disabled],ci=e=>{let{text:t,icon:o,align:a,hover:n,focus:s,active:l,disabled:m,...f}=e;return sx("li",{...f,className:r(e.className,td,{[`k-text-${a}`]:a},I(td,{hover:n,focus:s,active:l,disabled:m})),children:[od("span",{className:"k-fab-item-text",children:t}),od(L,{className:"k-fab-item-icon",icon:o})]})};ci.states=ix;import{jsx as i3}from"react/jsx-runtime";import{jsx as p3}from"react/jsx-runtime";import{jsx as f3}from"react/jsx-runtime";import{jsx as N3}from"react/jsx-runtime";import{jsx as Yo,jsxs as ux}from"react/jsx-runtime";var lx=re.options,dx=re.states,px={...re.defaultOptions,variant:"text"},mx=[{name:"icon-only",title:"Icon Only"},{name:"icon-and-text",title:"Icon & Text"},{name:"text",title:"Text"}],cx=[{name:"opened",title:"Opened"}],Qo=e=>{let{variant:t,modifiers:o,...a}=e,{opened:n}=o||{},s=n?Yo("div",{className:"k-fab-popup k-popup k-popup-transparent",style:{position:"absolute",top:"calc(16px + 36px)",right:"calc(16px + calc(36px / 2) - calc(36px /2))"},children:Yo(ed,{position:"bottom",children:Yo(ci,{text:"Item",icon:"pencil",align:"right"})})}):null,l;switch(t){case"icon-only":l=Yo(re,{...a,icon:"star"});break;case"icon-and-text":l=Yo(re,{...a,icon:"star",text:"Action"});break;default:l=Yo(re,{...a,text:"Action"});break}return ux("span",{style:{position:"relative"},children:[l,s]})};Qo.options=lx;Qo.states=dx;Qo.variants=mx;Qo.defaultOptions=px;Qo.modifiers=cx;Qo.className=re.className;import{jsx as fx}from"react/jsx-runtime";var ad="k-prompt-stop-fab",nd={generating:!0},po=e=>{let{generating:t=nd.generating,icon:o,...a}=e;return fx(re,{...a,className:r(e.className,ad,{"k-generating":t}),style:{bottom:"16px",right:"16px"},position:"bottom-end",icon:t?"stop":o,active:t,"aria-label":t?"Stop generating":"Action"})};po.states=d.states;po.options=d.options;po.className=ad;po.defaultOptions=nd;var ui="speech-to-text-button",rd=ui;import{jsx as bx}from"react/jsx-runtime";var id="k-speech-to-text-button",sd={icon:"microphone"},ee=e=>{let{listening:t=!1,icon:o=sd.icon,...a}=e;return bx(d,{...a,icon:t?"stop":o,className:r(e.className,id,{"k-listening":t}),"aria-pressed":t?"true":"false","aria-label":t?"Stop listening":"Start listening"})};ee.states=d.states;ee.options=d.options;ee.className=id;ee.defaultOptions=sd;ee.moduleName=ui;ee.folderName=rd;import{jsx as t5}from"react/jsx-runtime";import{jsx as r5}from"react/jsx-runtime";import{jsx as Cx}from"react/jsx-runtime";var xx=d.states,ld={...d.defaultOptions,variant:"normal"},hx={...d.options,fillMode:d.options.fillMode.filter(e=>e!=="clear"&&e!=="link")},Nx=[],vx=[{name:"normal",title:"Normal"},{name:"listening",title:"Listening"}],Zo=e=>{let{variant:t,...o}={...ld,...e},a={};return t==="listening"&&(a.listening=!0),Cx(ee,{...o,...a})};Zo.options=hx;Zo.states=xx;Zo.variants=vx;Zo.defaultOptions=ld;Zo.modifiers=Nx;Zo.className=ee.className;var fi="textarea",dd=fi;import{Fragment as pd,jsx as za,jsxs as bi}from"react/jsx-runtime";var md="k-textarea",Lx=[i.hover,i.focus,i.valid,i.invalid,i.required,i.disabled],Mx={size:[p.undefined,p.small,p.medium,p.large],rounded:[u.undefined,u.none,u.small,u.medium,u.large,u.full],fillMode:[b.undefined,b.solid,b.flat,b.outline]},jo={flow:"vertical",affixesOrientation:"horizontal",resize:"both",prefixSeparator:!0,suffixSeparator:!0},q=e=>{let{size:t,rounded:o,fillMode:a,prefixSeparator:n=jo.prefixSeparator,suffixSeparator:s=jo.prefixSeparator,affixesOrientation:l=jo.affixesOrientation,flow:m=jo.flow,resize:f=jo.resize,prefix:N,suffix:h,rows:M,value:c,placeholder:C,hover:g,focus:S,valid:T,invalid:A,required:K,disabled:$,id:ie,"aria-label":he,"aria-describedby":pe,...ce}=e;return bi(Z,{...ce,size:t,rounded:o,fillMode:a,hover:g,focus:S,valid:T,invalid:A,required:K,disabled:$,className:r(e.className,md,{"!k-flex-col":m==="vertical","!k-flex-row":m==="horizontal"}),children:[N&&bi(pd,{children:[za(_e,{className:r({"!k-align-items-start":m===l}),direction:l,children:N}),n&&za(Se,{direction:m==="horizontal"?"vertical":"horizontal"})]}),za(ga,{className:r("!k-overflow-auto",{"!k-flex-none":m==="vertical","k-resize-x":f==="x","k-resize-y":f==="y","k-resize":f==="both","k-resize-none":f==="none"}),value:c,placeholder:C,rows:M,disabled:$,id:ie,"aria-label":he,"aria-describedby":pe,"aria-invalid":A?"true":void 0}),h&&bi(pd,{children:[s&&za(Se,{direction:m==="horizontal"?"vertical":"horizontal"}),za(De,{className:r({"!k-align-items-start":m===l}),direction:l,children:h})]})]})};q.states=Lx;q.options=Mx;q.className=md;q.defaultOptions=jo;q.moduleName=fi;q.folderName=dd;import{jsx as I5}from"react/jsx-runtime";import{Fragment as B5,jsx as E5}from"react/jsx-runtime";import{Fragment as _5,jsx as w5}from"react/jsx-runtime";import{jsx as G5}from"react/jsx-runtime";import{jsx as An}from"react/jsx-runtime";var gx=q.options,Sx=q.states,cd={...q.defaultOptions,variant:"vertical"},Ix=[{name:"vertical",title:"Flow vertical"},{name:"horizontal",title:"Flow horizontal"}],kx=[{name:"prefix",title:"Prefix"},{name:"suffix",title:"Suffix"}],ea=e=>{let{variant:t,modifiers:o,...a}={...cd,...e},n={resize:"y"};return Object.keys(o||{}).forEach(s=>{switch(s){case"prefix":n.prefix=o?.[s]?An(L,{icon:"comment"}):void 0;break;case"suffix":n.suffix=o?.[s]?An(L,{icon:"volume-up"}):void 0;break;default:break}}),t==="horizontal"?An(q,{flow:"horizontal",placeholder:"Enter text...",style:{width:300},...a,...n}):An(q,{flow:"vertical",placeholder:"Enter text...",style:{width:300},...a,...n})};ea.options=gx;ea.states=Sx;ea.variants=Ix;ea.defaultOptions=cd;ea.modifiers=kx;ea.className=q.className;import{Fragment as pG,jsx as lG,jsxs as dG}from"react/jsx-runtime";var hi="suggestion",ud=hi;import{jsx as Tn,jsxs as yx}from"react/jsx-runtime";var yn="k-suggestion-group",Ax=[],Tx={},fd={layout:"scrollable",scrollingPosition:"start"},st=e=>{let{layout:t=fd.layout,scrollingPosition:o,...a}=e,n=Tn("div",{...a,className:r(yn,{"k-suggestion-group-scrollable":t=="scrollable",[`${yn}-scrollable-start`]:o==="start"||o==="both",[`${yn}-scrollable-end`]:o==="end"||o==="both"},e.className),role:"group",children:t==="scrollable"||t==="scrollButtons"?Tn("div",{className:"k-suggestions-scroll",children:e.children}):e.children});return t=="scrollButtons"?yx("div",{className:"k-suggestion-scrollwrap",children:[Tn(d,{fillMode:"flat",icon:"chevron-left",size:"xsmall","aria-label":"Scroll left"}),n,Tn(d,{fillMode:"flat",icon:"chevron-right",size:"xsmall","aria-label":"Scroll right"})]}):n};st.states=Ax;st.options=Tx;st.className=yn;st.defaultOptions=fd;st.moduleName=hi;st.folderName=ud;import{jsx as Px}from"react/jsx-runtime";var En="k-suggestion",Ex=[i.active,i.hover,i.focus],Bx={themeColor:[x.undefined,x.base,x.primary,x.secondary,x.tertiary]},Ox={text:"Suggestion"},ft=e=>{let{themeColor:t,active:o,hover:a,focus:n,text:s,children:l,...m}=e;return Px("span",{...m,className:r(e.className,En,I(En,{hover:a,active:o,focus:n}),k(En,{themeColor:t})),role:"button",tabIndex:0,"aria-label":e["aria-label"]||s,children:l||s})};ft.states=Ex;ft.options=Bx;ft.className=En;ft.item=Ox;import{Fragment as SG,jsx as gG,jsxs as IG}from"react/jsx-runtime";import{Fragment as EG,jsx as yG,jsxs as BG}from"react/jsx-runtime";import{Fragment as wG,jsx as RG,jsxs as _G}from"react/jsx-runtime";import{Fragment as tU,jsx as jG,jsxs as eU}from"react/jsx-runtime";import{jsx as Bn}from"react/jsx-runtime";var Kx="k-chip-action";var yt=e=>{let{type:t,...o}=e,a;switch(t){case"remove":a=Bn(L,{icon:"x-circle",size:"small"});break;case"more":a=Bn(L,{icon:"more-vertical",size:"small"});break;default:return Bn(L,{icon:t,size:"small"})}return Bn("span",{...o,className:r(e.className,Kx,`k-chip-${t}-action`),children:a})};var Ni="avatar",bd=Ni;import{jsx as xd}from"react/jsx-runtime";var Ga="k-avatar";var Rx=[i.hover,i.focus,i.active,i.selected,i.disabled],wx={size:[p.undefined,p.small,p.medium,p.large],rounded:[u.undefined,u.none,u.small,u.medium,u.large,u.full],fillMode:[b.undefined,b.solid,b.outline],themeColor:[x.undefined,x.base,x.primary,x.secondary,x.tertiary]},vi={type:"text",border:!1},Ge=e=>{let{size:t,rounded:o,fillMode:a,themeColor:n,type:s=vi.type,border:l=vi.border,...m}=e;return xd("div",{...m,className:r(e.className,Ga,k(Ga,{size:t,rounded:o,fillMode:a,themeColor:n}),{[`${Ga}-bordered`]:l}),children:xd("span",{className:`${Ga}-${s}`,children:e.children})})};Ge.states=Rx;Ge.options=wx;Ge.className=Ga;Ge.defaultOptions=vi;Ge.moduleName=Ni;Ge.folderName=bd;var mo=Ge;import{jsx as _x}from"react/jsx-runtime";var hd=e=>_x(mo,{type:"icon",...e});import{jsx as Dx}from"react/jsx-runtime";var Nd=e=>Dx(mo,{type:"text",...e});import{jsx as Hx}from"react/jsx-runtime";var vd=e=>Hx(mo,{type:"image",...e});import{jsx as gU}from"react/jsx-runtime";import{jsx as Ua}from"react/jsx-runtime";var zx=Ge.options,Gx=Ge.states,Ux={...Ge.defaultOptions,variant:"image"},Fx=[{name:"image",title:"Image"},{name:"icon",title:"Icon Avatar"},{name:"text",title:"Text Avatar"}],Vx=[],ta=e=>{let{variant:t,...o}=e;switch(t){case"icon":return Ua(hd,{...o,children:Ua(L,{icon:"star"})});case"text":return Ua(Nd,{...o,children:"JO"});default:return Ua(vd,{...o,children:Ua("img",{src:"https://demos.telerik.com/kendo-ui/content/web/Customers/RICSU.jpg"})})}};ta.options=zx;ta.states=Gx;ta.variants=Fx;ta.defaultOptions=Ux;ta.modifiers=Vx;ta.className=Ge.className;var Fa="chip",On=Fa,Pn="https://demos.telerik.com/kendo-ui/content/web/Customers/RICSU.jpg";import{jsx as oa,jsxs as Wx}from"react/jsx-runtime";var Kn="k-chip",$x=[i.hover,i.focus,i.active,i.selected,i.disabled],Xx={size:[p.undefined,p.small,p.medium,p.large],rounded:[u.undefined,u.none,u.small,u.medium,u.large,u.full],fillMode:[b.undefined,b.solid,b.outline],themeColor:[x.undefined,x.base,x.success,x.warning,x.error,x.info]},Cd={avatarImage:"/packages/html/assets/avatar.jpg"},Ue=e=>{let{size:t,rounded:o,fillMode:a,themeColor:n,text:s,icon:l,actions:m,showAvatar:f,avatarImage:N=Cd.avatarImage,hover:h,focus:M,active:c,selected:C,disabled:g,...S}=e;return Wx("div",{...S,className:r(e.className,Kn,k(Kn,{size:t,rounded:o,fillMode:a,themeColor:n}),I(Kn,{hover:h,focus:M,active:c,disabled:g,selected:C})),role:e.role||"button","aria-pressed":e.role==="option"||e.role==="listitem"||e.role==="presentation"||e["aria-haspopup"]?void 0:C?"true":"false",...e.role==="option"&&C!==void 0&&{"aria-selected":C?"true":"false"},"aria-disabled":g?"true":void 0,children:[l&&oa(L,{className:"k-chip-icon",icon:l,size:"small"}),f&&oa(Ge,{className:"k-chip-avatar",type:"image",children:oa("img",{src:N,alt:""})}),oa("span",{className:"k-chip-content",children:e.children?e.children:s&&oa("span",{className:"k-chip-label",children:s})}),m&&oa("span",{className:"k-chip-actions",children:m})]})};Ue.states=$x;Ue.options=Xx;Ue.className=Kn;Ue.defaultOptions=Cd;Ue.moduleName=Fa;Ue.folderName=On;var lt=Ue;import{jsx as Qx}from"react/jsx-runtime";var Ci="k-chip-list",Jx=[],qx={size:[p.undefined,p.small,p.medium,p.large]},Yx={},Le=e=>{let{size:t,multiselectable:o,ariaLabel:a,...n}=e;return Qx("div",{...n,className:r(e.className,Ci,k(Ci,{size:t})),role:e.role||"listbox","aria-label":e.role==="none"?void 0:a||"chip list","aria-orientation":e.role==="none"||e.role==="group"?void 0:"horizontal","aria-multiselectable":o?"true":void 0,children:e.children})};Le.states=Jx;Le.options=qx;Le.className=Ci;Le.defaultOptions=Yx;Le.moduleName=Fa;Le.folderName=On;import{jsx as jU}from"react/jsx-runtime";import{jsx as aF}from"react/jsx-runtime";import{jsx as Zx}from"react/jsx-runtime";var Rn=e=>Zx(lt,{text:"text",...e});import{jsx as mF}from"react/jsx-runtime";import{jsx as bF}from"react/jsx-runtime";import{Fragment as LF,jsx as CF,jsxs as MF}from"react/jsx-runtime";import{jsx as AF,jsxs as TF}from"react/jsx-runtime";import{jsx as PF,jsxs as KF}from"react/jsx-runtime";import{jsx as zF,jsxs as GF}from"react/jsx-runtime";import{jsx as aa,jsxs as nh}from"react/jsx-runtime";var jx={...lt.options,...Le.options},eh=[],th=Le.states,oh={...lt.defaultOptions,...Le.defaultOptions},ah=[{name:"icon",title:"Icon",type:"boolean"},{name:"actions",title:"Actions",type:"boolean"},{name:"avatar",title:"Avatar",type:"boolean"}],na=e=>{let{modifiers:t,className:o,...a}=e,n=t?.icon,s=t?.actions,l=t?.avatar,m=l?Pn:void 0;return nh(Le,{size:a.size,className:o,children:[aa(Rn,{...a,role:"option","aria-selected":"false","aria-pressed":void 0,icon:n?"star":void 0,actions:s?aa(yt,{type:"remove"}):void 0,showAvatar:l,avatarImage:m,children:"Chip"}),aa(Rn,{...a,role:"option","aria-selected":"false","aria-pressed":void 0,icon:n?"star":void 0,actions:s?aa(yt,{type:"remove"}):void 0,showAvatar:l,avatarImage:m,children:"Chip"}),aa(Rn,{...a,role:"option","aria-selected":"false","aria-pressed":void 0,icon:n?"star":void 0,actions:s?aa(yt,{type:"remove"}):void 0,showAvatar:l,avatarImage:m,children:"Chip"})]})};na.options=jx;na.states=th;na.variants=eh;na.defaultOptions=oh;na.modifiers=ah;na.className=Le.className;import{jsx as Li}from"react/jsx-runtime";var rh=Ue.states,ih=Ue.defaultOptions,sh=Ue.options,lh=[],dh=[{name:"icon",title:"Icon"},{name:"avatar",title:"Avatar"},{name:"remove-icon",title:"`Remove` Icon"},{name:"more-options",title:"`More options` Icon"}],ra=e=>{let{modifiers:t,...o}=e,a={};return Object.keys(t||{}).forEach(n=>{switch(n){case"icon":a.icon=t?.[n]?"arrow-down":void 0;break;case"avatar":a.showAvatar=!!t?.[n],a.avatarImage=t?.[n]?Pn:void 0;break;case"more-options":a.actions||(a.actions=[]),a.actions[0]=t?.[n]?Li(yt,{type:"more"}):void 0;break;case"remove-icon":a.actions||(a.actions=[]),a.actions[1]=t?.[n]?Li(yt,{type:"remove"}):void 0;break;default:break}}),Li(Ue,{...o,...a,children:"Chip component"})};ra.options=sh;ra.states=rh;ra.variants=lh;ra.defaultOptions=ih;ra.modifiers=dh;ra.className=Ue.className;import{Fragment as E9,jsx as T9,jsxs as y9}from"react/jsx-runtime";import{jsx as mh}from"react/jsx-runtime";var ph="k-card-callout",Ld=e=>{let{callout:t,...o}=e;return mh("span",{...o,className:r(e.className,ph,{[`k-callout-${Pi.calloutMap[t]||t}`]:t})})};var Ye="card",dt=Ye;import{Fragment as bh,jsx as Md,jsxs as xh}from"react/jsx-runtime";var Mi="k-card",ch=[i.hover,i.focus,i.selected,i.disabled],uh={},fh={},Q=e=>{let{orientation:t,callout:o,hover:a,focus:n,selected:s,disabled:l,...m}=e;return xh("div",{...m,className:r(e.className,Mi,I(Mi,{hover:a,focus:n,disabled:l,selected:s}),{[`k-card-${t}`]:t,"k-card-with-callout":o}),children:[o&&o!=="true"&&Md(Ld,{callout:o}),Md(bh,{children:e.children})]})};Q.states=ch;Q.options=uh;Q.className=Mi;Q.defaultOptions=fh;Q.moduleName=Ye;Q.folderName=dt;import{Fragment as Ch,jsx as gd}from"react/jsx-runtime";var gi="k-card-list",hh=[],Nh={},vh={},co=e=>{let{...t}=e;return gd("div",{...t,className:r(e.className,gi,I(gi,{})),role:"list",children:gd(Ch,{children:e.children})})};co.states=hh;co.options=Nh;co.className=gi;co.defaultOptions=vh;co.moduleName=Ye;co.folderName=dt;import{jsx as Sh}from"react/jsx-runtime";var Sd="k-card-group",Lh=[],Mh={},gh={},ia=e=>{let{...t}=e;return Sh("div",{...t,className:r(e.className,Sd),children:e.children})};ia.states=Lh;ia.options=Mh;ia.className=Sd;ia.defaultOptions=gh;ia.moduleName=Ye;ia.folderName=dt;import{jsx as Th}from"react/jsx-runtime";var Si="k-card-wrap",Ih=[i.focus,i.selected],kh={},Ah={},sa=e=>{let{focus:t,selected:o,...a}=e;return Th("div",{...a,className:r(e.className,Si,I(Si,{focus:t,selected:o})),children:e.children})};sa.states=Ih;sa.options=kh;sa.className=Si;sa.defaultOptions=Ah;sa.moduleName=Ye;sa.folderName=dt;import{jsx as Eh}from"react/jsx-runtime";var Ii="k-card-title",yh=[i.hover,i.focus],uo=e=>{let{hover:t,focus:o,...a}=e;return Eh("div",{...a,className:r(e.className,Ii,I(Ii,{hover:t,focus:o})),children:e.children})};uo.states=yh;uo.className=Ii;import{jsx as Oh}from"react/jsx-runtime";var Bh="k-card-subtitle",wn=e=>{let{...t}=e;return Oh("div",{...t,className:r(e.className,Bh),children:e.children})};import{Fragment as kd,jsx as _n}from"react/jsx-runtime";var Id="k-card-media",ki=e=>{let{src:t,...o}=e;return _n(kd,{children:t?_n("img",{...o,className:r(e.className,Id),src:t}):_n("span",{...o,className:r(e.className,Id),children:_n(kd,{children:e.children})})})};import{Fragment as Kh,jsx as Va,jsxs as Rh}from"react/jsx-runtime";var Ph="k-card-header",Et=e=>{let{title:t,subtitle:o,details:a,...n}=e;return Rh("div",{...n,className:r(e.className,Ph),children:[t&&Va(uo,{children:t}),o&&Va(wn,{children:o}),Va(Kh,{children:e.children}),a&&Va("span",{className:"k-card-header-actions",children:Va(d,{className:"k-card-details",icon:"more-vertical",fillMode:"flat","aria-label":"Card details"})})]})};import{jsx as _h}from"react/jsx-runtime";var wh="k-card-footer",Ai=e=>{let{...t}=e;return _h("div",{...t,className:r(e.className,wh),children:e.children})};import{Fragment as Hh,jsx as $a,jsxs as zh}from"react/jsx-runtime";var Dh="k-card-body",Oe=e=>{let{title:t,subtitle:o,details:a,...n}=e;return zh("div",{...n,className:r(e.className,Dh),children:[t&&$a(uo,{children:t}),o&&$a(wn,{children:o}),$a(Hh,{children:e.children}),a&&$a("span",{className:"k-card-header-actions",children:$a(d,{className:"k-card-details",icon:"more-vertical",fillMode:"flat","aria-label":"Card details"})})]})};import{jsx as Vh}from"react/jsx-runtime";var Ad="k-card-deck",Gh=[],Uh={},Fh={},la=e=>{let{...t}=e;return Vh("div",{...t,className:r(e.className,Ad),children:e.children})};la.states=Gh;la.options=Uh;la.className=Ad;la.defaultOptions=Fh;la.moduleName=Ye;la.folderName=dt;import{jsx as Jh}from"react/jsx-runtime";var Td="k-card-deck-scrollwrap",$h=[],Xh={},Wh={},da=e=>{let{...t}=e;return Jh("div",{...t,className:r(e.className,Td),children:e.children})};da.states=$h;da.options=Xh;da.className=Td;da.defaultOptions=Wh;da.moduleName=Ye;da.folderName=dt;import{Fragment as qh,jsx as pa,jsxs as yd}from"react/jsx-runtime";var Ed=e=>pa(Q,{orientation:"vertical",children:yd(qh,{children:[pa(Et,{children:"Card Header"}),pa(Oe,{children:pa("p",{children:"Some quick example text to build on the card title and make up the bulk of the card's content."})}),yd(z,{className:"k-card-actions",children:[pa(d,{fillMode:"flat",themeColor:"primary",children:"Action 1"}),pa(d,{fillMode:"flat",themeColor:"primary",children:"Action 2"})]})]}),...e});import{Fragment as Yh,jsx as Xa,jsxs as Bd}from"react/jsx-runtime";var Od=e=>Xa(Q,{orientation:"horizontal",children:Bd(Yh,{children:[Xa(Oe,{title:"Card Title",children:Xa("p",{children:"Some quick example text to build on the card title and make up the bulk of the card's content."})}),Bd(z,{orientation:"vertical",className:"k-card-actions",children:[Xa(d,{fillMode:"flat",themeColor:"primary",children:"Action 1"}),Xa(d,{fillMode:"flat",themeColor:"primary",children:"Action 2"})]})]}),...e});import{jsx as X6,jsxs as W6}from"react/jsx-runtime";import{jsx as Pe,jsxs as Wa}from"react/jsx-runtime";var Qh=Q.options,Zh=Q.states,Pd={...Q.defaultOptions,variant:"vertical"},jh=[{name:"vertical",title:"Vertical"},{name:"horizontal",title:"Horizontal"}],eN=[{name:"media",title:"Card with Media"},{name:"header",title:"Card with Header"},{name:"footer",title:"Card with Footer"}],ma=e=>{let{variant:t,modifiers:o,...a}={...Pd,...e},n=!1,s=!1,l=!1;return Object.keys(o||{}).forEach(m=>{switch(m){case"media":{n=!!o?.[m];break}case"header":{s=!!o?.[m];break}case"footer":{l=!!o?.[m];break}}}),t==="horizontal"?Wa(Od,{style:{maxWidth:"420px"},...a,children:[n&&Pe(ki,{src:"https://demos.telerik.com/kendo-ui/content/web/cards/rome.jpg"}),Wa("div",{children:[s&&Pe(Et,{title:"Header Title",subtitle:"Header Subtitle"}),Pe(Oe,{title:"Title",subtitle:"Subtitle",children:Pe("p",{children:"Some quick example text to build on the card title and make up the bulk of the card's content."})}),l&&Pe(Ai,{children:"Card Footer"})]}),(s||l)&&Pe("span",{className:"k-separator k-separator-vertical"}),Wa(z,{orientation:"vertical",alignment:"stretched",className:"k-card-actions",children:[Pe(d,{fillMode:"flat",themeColor:"primary",children:"Button"}),Pe(d,{fillMode:"flat",themeColor:"primary",children:"Button"})]})]}):Wa(Ed,{style:{maxHeight:"450px",width:"300px"},...a,children:[s&&Pe(Et,{title:"Header Title",subtitle:"Header Subtitle"}),n&&Pe(ki,{src:"https://demos.telerik.com/kendo-ui/content/web/cards/rome.jpg"}),Pe(Oe,{title:"Title",subtitle:"Subtitle",children:Pe("p",{children:"Some quick example text to build on the card title and make up the bulk of the card's content."})}),l&&Pe(Ai,{children:"Card Footer"}),Wa(z,{className:"k-card-actions",children:[Pe(d,{fillMode:"flat",themeColor:"primary",children:"Button"}),Pe(d,{fillMode:"flat",themeColor:"primary",children:"Button"})]})]})};ma.options=Qh;ma.states=Zh;ma.variants=jh;ma.defaultOptions=Pd;ma.modifiers=eN;ma.className=Q.className;import{jsx as B7,jsxs as O7}from"react/jsx-runtime";var Ti="panelbar",Kd=Ti;import{jsx as nN}from"react/jsx-runtime";var Rd="k-panelbar",tN=[],oN={},aN={},Me=e=>{let{activeDescendant:t,...o}=e;return nN("ul",{...o,className:r(e.className,Rd),role:"tree","aria-activedescendant":t,children:e.children})};Me.states=tN;Me.options=oN;Me.className=Rd;Me.defaultOptions=aN;Me.moduleName=Ti;Me.folderName=Kd;import yi from"react";import{jsx as Dn,jsxs as wd}from"react/jsx-runtime";var _d="k-panelbar-item",rN=[i.hover,i.focus,i.selected,i.disabled],iN={},Hn={level:0,expanded:!1,text:"Item"},E=e=>{let{text:t=Hn.text,level:o=Hn.level,expanded:a=Hn.expanded,header:n,hover:s,focus:l,selected:m,disabled:f,icon:N,iconClass:h,ariaSelected:M,children:c,...C}=e,g=!!c;return wd("li",{...C,className:r(e.className,_d,{"k-panelbar-header":n,[`k-level-${o}`]:o||o===0,"k-expanded":a}),role:"treeitem","aria-expanded":g?a?"true":"false":void 0,"aria-selected":M?"true":"false","aria-disabled":f?"true":void 0,children:[wd("span",{className:r("k-link",I("k-link",{hover:s,focus:l,disabled:f,selected:m})),children:[N&&Dn(L,{className:"k-panelbar-item-icon",icon:N}),h&&!N&&Dn("span",{className:`k-panelbar-item-icon ${h}`}),Dn("span",{className:"k-panelbar-item-text",children:t}),g&&Dn(L,{className:r("k-panelbar-toggle",a?"k-panelbar-collapse":"k-panelbar-expand"),icon:`chevron-${a?"up":"down"}`})]}),a&&c,!a&&c&&yi.Children.map(c,S=>yi.isValidElement(S)?yi.cloneElement(S,{"aria-hidden":"true",style:{display:"none"}}):S)]})};E.states=rN;E.options=iN;E.className=_d;E.moduleName=null;E.folderName=null;E.defaultOptions=Hn;import{jsx as pN}from"react/jsx-runtime";var Dd="k-panelbar-group",sN=[],lN={},dN={},xe=e=>{let{ariaHidden:t,...o}=e;return pN("ul",{...o,className:r(e.className,Dd),role:"group",...t!==void 0&&{"aria-hidden":t?"true":void 0},children:e.children})};xe.states=sN;xe.options=lN;xe.className=Dd;xe.moduleName=null;xe.folderName=null;xe.defaultOptions=dN;import{jsx as fN}from"react/jsx-runtime";var Hd="k-panelbar-content",mN=[],cN={},uN={},le=e=>{let{...t}=e;return fN("div",{...t,className:r(e.className,Hd),children:e.children})};le.states=mN;le.options=cN;le.className=Hd;le.defaultOptions=uN;import{Fragment as bN,jsx as $t,jsxs as xN}from"react/jsx-runtime";var Ja=e=>{let t=y("pb-item"),o=y("pb-item"),a=y("pb-item"),n=y("pb-item");return $t(Me,{children:xN(bN,{children:[$t(E,{header:!0,text:"Item 1",id:t,children:$t(le,{children:"content"})}),$t(E,{header:!0,text:"Item 2",id:o,children:$t(le,{children:"content"})}),$t(E,{header:!0,text:"Item 3",id:a,children:$t(le,{children:"content"})}),$t(E,{header:!0,text:"Item 4",id:n})]}),...e})};import{Fragment as n4,jsx as a4,jsxs as r4}from"react/jsx-runtime";import{Fragment as hN,jsx as Ke,jsxs as Ei}from"react/jsx-runtime";var zd=e=>{let t=y("pb-item"),o=y("pb-item"),a=y("pb-item"),n=y("pb-item"),s=y("pb-child"),l=y("pb-child"),m=y("pb-child"),f=y("pb-child"),N=y("pb-child"),h=y("pb-child"),M=y("pb-child");return Ke(Me,{activeDescendant:o,children:Ei(hN,{children:[Ke(E,{header:!0,text:"Item 1",id:t,children:Ke(le,{children:"content"})}),Ke(E,{header:!0,expanded:!0,text:"Item 2",id:o,ariaSelected:!0,focus:!0,children:Ei(xe,{children:[Ke(E,{level:1,text:"Child 1",id:s}),Ke(E,{level:1,expanded:!0,text:"Child 2",id:l,children:Ei(xe,{children:[Ke(E,{level:2,text:"Child 2.1",id:m}),Ke(E,{level:2,text:"Child 2.2",id:f})]})}),Ke(E,{level:1,text:"Child 3",id:N,children:Ke(xe,{children:Ke(E,{level:2,text:"Child 3.1",id:h})})}),Ke(E,{level:1,text:"Child 4",id:M})]})}),Ke(E,{header:!0,text:"Item 3",id:a,children:Ke(le,{children:"content"})}),Ke(E,{header:!0,text:"Item 4",id:n})]}),...e})};import{Fragment as Gd,jsx as te,jsxs as zn}from"react/jsx-runtime";var NN=Me.options,vN=Me.states,Ud={...Me.defaultOptions,variant:"normal"},CN=[{name:"normal",title:"Normal"},{name:"expand",title:"Expanded"}],LN=[{name:"icon",title:"Item icons"},{name:"disabled",title:"Disabled item"}],ca=e=>{let{variant:t,modifiers:o,...a}={...Ud,...e},n={},s={folder:"folder",gear:"gear",file:"file",image:"image"};return Object.keys(o||{}).forEach(l=>{switch(l){case"icon":{n.icon=o?.[l]?s:void 0;break}case"disabled":n.disabled=!!o?.[l]}}),t==="expand"?te(Gd,{children:zn(zd,{style:{width:"300px"},...a,children:[te(E,{icon:n.icon?.gear,header:!0,text:"Item 1",children:te(le,{children:"content"})}),te(E,{icon:n.icon?.folder,selected:!0,header:!0,expanded:!0,text:"Item 2",children:zn(xe,{children:[te(E,{level:1,text:"Child 1"}),te(E,{level:1,expanded:!0,text:"Child 2",children:zn(xe,{children:[te(E,{level:2,text:"Child 2.1"}),te(E,{icon:n.icon?.image,level:2,text:"Child 2.2"})]})}),te(E,{disabled:n.disabled,level:1,text:"Child 3",children:te(le,{children:"content"})}),te(E,{level:1,text:"Child 4"})]})}),te(E,{icon:n.icon?.folder,disabled:n.disabled,header:!0,text:"Item 3",children:te(le,{children:"content"})}),te(E,{icon:n.icon?.file,header:!0,text:"Item 4"})]})}):te(Gd,{children:zn(Ja,{style:{width:"300px"},...a,children:[te(E,{icon:n.icon?.gear,header:!0,text:"Item 1",children:te(le,{children:"content"})}),te(E,{icon:n.icon?.folder,header:!0,text:"Item 2",children:te(le,{children:"content"})}),te(E,{icon:n.icon?.folder,disabled:n.disabled,header:!0,text:"Item 3",children:te(le,{children:"content"})}),te(E,{icon:n.icon?.file,header:!0,text:"Item 4"})]})})};ca.options=NN;ca.states=vN;ca.variants=CN;ca.defaultOptions=Ud;ca.modifiers=LN;ca.className=Me.className;import{jsx as P4,jsxs as K4}from"react/jsx-runtime";import{Fragment as $4,jsx as F4,jsxs as V4}from"react/jsx-runtime";import{Fragment as j4,jsx as Z4,jsxs as e8}from"react/jsx-runtime";import{Fragment as Fd,jsx as v,jsxs as de}from"react/jsx-runtime";var MN=V.options,gN=V.states,SN={...V.defaultOptions,variant:"ask"},IN=[{name:"ask",title:"Ask AI"},{name:"output",title:"Output"},{name:"more",title:"More Actions"}],kN=[{name:"stt",title:"SpeechToText"},{name:"suggestions",title:"Suggestions"}],ua=e=>{let{variant:t,modifiers:o,...a}={...e},n=v(Fd,{children:de(st,{layout:"wrap",children:[v(ft,{text:"Post for work-life balance importance"}),v(ft,{text:"Out of office"})]})}),s={suggestions:n,stt:!0};switch(Object.keys(o||{}).forEach(l=>{switch(l){case"suggestions":s.suggestions=!!o?.[l];break;case"stt":s.stt=!!o?.[l];break}}),t){case"more":return v(U,{className:"k-prompt-popup",children:de(V,{style:{width:"330px",height:"350px"},...a,children:[v(ut,{children:de(D,{className:"k-toolbar-flat",children:[v(R,{fillMode:"flat",themeColor:"primary",icon:"sparkles",rounded:"full",children:"Ask AI"}),v(R,{fillMode:"flat",themeColor:"primary",icon:"comment",rounded:"full",children:"Output"}),v(F,{fillMode:"flat",themeColor:"primary",icon:"more-horizontal",rounded:"full",selected:!0})]})}),v(Ee,{children:v(Be,{children:de(Ja,{children:[v(E,{header:!0,icon:"brush",text:"Change Formality",children:de(xe,{children:[v(E,{level:1,text:"Casual"}),v(E,{level:1,text:"Neutral"}),v(E,{level:1,text:"Formal"})]})}),v(E,{header:!0,expanded:!0,icon:"edit-tools",text:"Translate",children:de(xe,{children:[v(E,{level:1,text:"German"}),v(E,{level:1,text:"Spanish"})]})}),v(E,{header:!0,icon:"min-width",text:"Simplify"}),v(E,{header:!0,icon:"arrows-left-right",text:"Expand"})]})})})]})});case"output":return v(U,{className:"k-prompt-popup",children:de(V,{style:{width:"330px",height:"350px"},...a,children:[v(ut,{children:de(D,{className:"k-toolbar-flat",children:[v(R,{fillMode:"flat",themeColor:"primary",icon:"sparkles",rounded:"full",children:"Ask AI"}),v(R,{fillMode:"flat",themeColor:"primary",icon:"comment",rounded:"full",selected:!0,children:"Output"}),v(F,{fillMode:"flat",themeColor:"primary",icon:"more-horizontal",rounded:"full"})]})}),de(Ee,{children:[v(po,{}),v(Be,{children:de("div",{className:"k-card-list",children:[de(Q,{children:[v(Et,{title:"Generated with AI",subtitle:"Linked in post for work/life balance importance"}),v(Oe,{children:de("p",{children:["\u{1F31F} Embracing Work/Life Balance for Success \u{1F31F}",v("br",{}),v("br",{}),"Hello LinkedIn network! \u{1F44B} Today, let's talk about a key to our well-being: work/life balance. \u{1F310}\u2696\uFE0F",v("br",{}),v("br",{}),"In our fast-paced world, balancing professional and personal life is not just a luxury, it's a necessity for health and productivity. \u{1F4C8}\u{1F33F}",v("br",{}),v("br",{}),"\u2728 Key Points \u2728",v("br",{}),v("br",{}),"Enhances Productivity: Less burnout, more motivation. \u{1F680}",v("br",{}),"Boosts Creativity: New experiences = fresh ideas. \u{1F4A1}",v("br",{}),"Improves Health: Mental and physical benefits. \u{1F9D8}\u200D\u2642\uFE0F",v("br",{}),"Strengthens Relationships: Quality time matters. \u{1F91D}",v("br",{}),"Let's champion a culture where success and well-being go hand in hand. Share your work/life balance tips below! \u{1F447}",v("br",{}),v("br",{}),"#WorkLifeBalance #Productivity #WellBeing"]})}),de(z,{className:"k-card-actions",alignment:"start",children:[v(R,{fillMode:"flat",themeColor:"primary",icon:"copy",children:"Copy"}),v(R,{fillMode:"flat",themeColor:"base",icon:"arrow-rotate-cw",children:"Retry"}),v("span",{className:"k-spacer"}),v(F,{fillMode:"flat",themeColor:"base",icon:"thumb-up"}),v(F,{fillMode:"flat",themeColor:"base",icon:"thumb-down"})]})]}),de(Q,{children:[v(Et,{title:"Generated with AI",subtitle:"Out of Office"}),v(Oe,{children:de("p",{children:["Subject: Out of Office: [Your Name]",v("br",{}),v("br",{}),"Dear [Recipient's Name],",v("br",{}),v("br",{}),"I am currently out of the office until [Return Date] and won't have access to email. For urgent matters, please contact [Colleague's Name] at [Colleague's Email]. I'll respond to your email upon my return.",v("br",{}),v("br",{}),"Thank you,",v("br",{}),"[Your Name]"]})}),de(z,{className:"k-card-actions",alignment:"start",children:[v(R,{fillMode:"flat",themeColor:"primary",icon:"copy",children:"Copy"}),v(R,{fillMode:"flat",themeColor:"base",icon:"arrow-rotate-cw",children:"Retry"}),v("span",{className:"k-spacer"}),v(F,{fillMode:"flat",themeColor:"base",icon:"thumb-up"}),v(F,{fillMode:"flat",themeColor:"base",icon:"thumb-down"})]})]})]})})]})]})});default:return v(U,{className:"k-prompt-popup",children:de(V,{style:{width:"330px",height:"350px"},...a,children:[v(ut,{children:de(D,{className:"k-toolbar-flat",children:[v(R,{fillMode:"flat",themeColor:"primary",icon:"sparkles",rounded:"full",selected:!0,children:"Ask AI"}),v(R,{fillMode:"flat",themeColor:"primary",icon:"comment",rounded:"full",children:"Output"}),v(F,{fillMode:"flat",themeColor:"primary",icon:"more-horizontal",rounded:"full"})]})}),v(Ee,{children:de(Be,{children:[v(q,{resize:"none",rows:2,placeholder:"Ask or generate content with AI",suffixSeparator:!1,suffix:v(Fd,{children:s.stt?v(ee,{fillMode:"flat"}):null})}),v(In,{expanded:s.suggestions,title:"Suggestions",children:n})]})}),v(lo,{children:v(z,{className:"k-prompt-actions",alignment:"start",children:v(R,{icon:"sparkles",themeColor:"primary",rounded:"full",children:"Generate"})})})]})})}};ua.options=MN;ua.states=gN;ua.variants=IN;ua.defaultOptions=SN;ua.modifiers=kN;ua.className=V.className;import{Fragment as BN,jsx as pt,jsxs as Gn}from"react/jsx-runtime";var AN=V.options,TN=V.states,yN={...V.defaultOptions},EN=[{name:"commands",title:"Commands Menu",default:!0},{name:"stt",title:"SpeechToText",default:!0},{name:"response",title:"Response Card"},{name:"generating",title:"Generating"}],fa=e=>{let{modifiers:t,...o}={...e},a={commands:!0,stt:!0};Object.keys(t||{}).forEach(s=>{switch(s){case"commands":a.commands=t?.[s]?!0:void 0;break;case"stt":a.stt=t?.[s]?!0:void 0;break;case"response":a.response=t?.[s]?!0:void 0;break;case"generating":a.generating=t?.[s]?!0:void 0;break;default:return}});let n=Gn(Q,{children:[pt(Oe,{style:{maxHeight:"150px",overflowY:"auto"},children:"Lorem Ipsum is simply dummy text of the printing and typesetting industry. Lorem Ipsum has been the industry's standard dummy text ever since the 1500s,"}),Gn(z,{className:"k-card-actions",alignment:"start",children:[pt(R,{fillMode:"flat",themeColor:"primary",icon:"copy",children:"Copy"}),pt(R,{fillMode:"flat",themeColor:"primary",icon:"insert-bottom",children:"Insert"}),pt(R,{fillMode:"flat",themeColor:"primary",icon:"check",children:"Replace"}),pt(R,{fillMode:"flat",themeColor:"base",icon:"cancel",children:"Discard"})]})]});return pt(U,{className:"k-prompt-popup",children:pt(V,{style:{width:"450px",height:"auto"},...o,children:pt(Ee,{children:Gn(Be,{children:[a.response?n:null,pt(q,{rows:1,placeholder:"Edit, generate or explain ...",resize:"none",flow:"horizontal",prefixSeparator:a.commands&&a.stt,suffixSeparator:!1,prefix:Gn(BN,{children:[a.commands?pt(F,{fillMode:"flat",icon:"menu"}):null,a.stt?pt(ee,{fillMode:"flat"}):null]}),suffix:pt(Mt,{generating:!!a.generating})})]})})})})};fa.options=AN;fa.states=TN;fa.variants=[];fa.defaultOptions=yN;fa.modifiers=EN;fa.className=V.className;import{Fragment as ON,jsx as Re,jsxs as Vd}from"react/jsx-runtime";var iV=e=>Re(U,{className:"k-prompt-popup",children:Vd(V,{...e,children:[Re(ut,{children:Vd(D,{fillMode:"flat",children:[Re(R,{fillMode:"flat",themeColor:"primary",icon:"sparkles",rounded:"full",selected:!0,children:"Ask AI"}),Re(R,{fillMode:"flat",themeColor:"primary",icon:"comment",rounded:"full",children:"Output"}),Re(F,{fillMode:"flat",themeColor:"primary",icon:"more-horizontal",rounded:"full","aria-label":"More actions"}),Re("span",{className:"k-spacer"}),Re(F,{fillMode:"flat",icon:"x",rounded:"full","aria-label":"Close"})]})}),Re(Ee,{children:Re(Be,{children:Re(q,{resize:"y",rows:1,suffixSeparator:!1,placeholder:"Ask or generate content with AI","aria-label":"Ask or generate content with AI",suffix:Re(ON,{children:Re(ee,{fillMode:"flat"})})})})}),Re(lo,{children:Re(z,{className:"k-prompt-actions",alignment:"start",children:Re(R,{icon:"sparkles",themeColor:"primary",rounded:"full",children:"Generate"})})})]})});export{iV as PromptInPopup};
|