@fewbox/den 0.1.43 → 0.1.44

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/index.js CHANGED
@@ -1,2 +1,2 @@
1
- import{jsx as e,Fragment as t,jsxs as n}from"react/jsx-runtime";import*as r from"react";import{Children as o,Fragment as a,cloneElement as i,memo as l,createElement as c,useState as u,useRef as s,useCallback as d,useLayoutEffect as f,useEffect as h,useId as p,Component as g}from"react";import{createPortal as m}from"react-dom";var v=function(e,t){return v=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)Object.prototype.hasOwnProperty.call(t,n)&&(e[n]=t[n])},v(e,t)};function y(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Class extends value "+String(t)+" is not a constructor or null");function n(){this.constructor=e}v(e,t),e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)}var b,C,w,S,k,_,x,B,T,I,O,D=function(){return D=Object.assign||function(e){for(var t,n=1,r=arguments.length;n<r;n++)for(var o in t=arguments[n])Object.prototype.hasOwnProperty.call(t,o)&&(e[o]=t[o]);return e},D.apply(this,arguments)};function L(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols){var o=0;for(r=Object.getOwnPropertySymbols(e);o<r.length;o++)t.indexOf(r[o])<0&&Object.prototype.propertyIsEnumerable.call(e,r[o])&&(n[r[o]]=e[r[o]])}return n}function R(e,t,n){if(n||2===arguments.length)for(var r,o=0,a=t.length;o<a;o++)!r&&o in t||(r||(r=Array.prototype.slice.call(t,0,o)),r[o]=t[o]);return e.concat(r||Array.prototype.slice.call(t))}"function"==typeof SuppressedError&&SuppressedError,function(e){e.Font="font",e.Body="body",e.White="white",e.Black="black",e.Light="light",e.Light75="light75",e.Light50="light50",e.Light25="light25",e.Dark="dark",e.Dark75="dark75",e.Dark50="dark50",e.Dark25="dark25",e.Primary="primary",e.Primary75="primary75",e.Primary50="primary50",e.Primary25="primary25",e.Secondary="secondary",e.Secondary75="secondary75",e.Secondary50="secondary50",e.Secondary25="secondary25",e.Tertiary="tertiary",e.Tertiary75="tertiary75",e.Tertiary50="tertiary50",e.Tertiary25="tertiary25",e.Info="info",e.Info75="info75",e.Info50="info50",e.Info25="info25",e.Success="success",e.Success75="success75",e.Success50="success50",e.Success25="success25",e.Warning="warning",e.Warning75="warning75",e.Warning50="warning50",e.Warning25="warning25",e.Error="error",e.Error75="error75",e.Error50="error50",e.Error25="error25",e.Border="border",e.Border75="border75",e.Border50="border50",e.Border25="border25",e.Placeholder="placeholder",e.Placeholder75="placeholder75",e.Placeholder50="placeholder50",e.Placeholder25="placeholder25",e.Transparent="transparent"}(b||(b={})),function(e){e.Thin="font-weight-thin",e.ExtraLight="font-weight-extra-light",e.Light="font-weight-light",e.Regular="font-weight-regular",e.Medium="font-weight-medium",e.SemiBold="font-weight-semi-bold",e.Bold="font-weight-bold",e.ExtraBold="font-weight-extra-bold",e.Black="font-weight-black"}(C||(C={})),function(e){e.Default="font-family"}(w||(w={})),function(e){e.Default="line-height"}(S||(S={})),function(e){e.Default="padding"}(k||(k={})),function(e){e.Default="letter-spacing"}(_||(_={})),function(e){e.Default="border-radius",e.Fixed="border-radius-fixed",e.Max="border-radius-max"}(x||(x={})),function(e){e.Ellipse="v-ellipse-size",e.Rectangle="v-rectangle-size",e.Image="v-image-size",e.Svg="v-svg-size",e.Window="v-window-size"}(B||(B={})),function(e){e.Default="font-size",e.Normal="font-size-normal",e.Small="font-size-small",e.ExtraSmall="font-size-extra-small",e.Large="font-size-large",e.ExtraLarge="font-size-extra-large",e.AutoNormal="auto-font-size-normal",e.AutoSmall="auto-font-size-small",e.AutoExtraSmall="auto-font-size-extra-small",e.AutoLarge="auto-font-size-large",e.AutoExtraLarge="auto-font-size-extra-large"}(T||(T={})),function(e){e.All="all",e.Before="before",e.After="after"}(I||(I={})),function(e){e.All="all",e.Top="top",e.Right="right",e.Bottom="bottom",e.Left="left",e.ExceptTop="except-top",e.ExceptRight="except-right",e.ExceptBottom="except-bottom",e.ExceptLeft="except-left",e.RightTop="right-top",e.RightBottom="right-bottom",e.LeftTop="left-top",e.LeftBottom="left-bottom",e.TopBottom="top-bottom",e.LeftRight="left-right"}(O||(O={}));var N,E,V=function(){function e(e){this.className=e}return e.prototype.getClassName=function(){return"".concat(this.className)},e}(),F=function(e){this.component=e},z=function(e){function t(t,n,r){var o=e.call(this,t)||this;return o.sizeType=n,o.isAuto=r,o}return y(t,e),t.prototype.getClassName=function(){if(this.sizeType){var e=void 0;return e=Object.values(T).includes(this.sizeType)?this.sizeType:"font-size-".concat(this.sizeType),"".concat(this.component.getClassName()," ").concat(this.isAuto?"auto-".concat(e):e)}return this.component.getClassName()},t}(F),A=function(e){function t(t,n){var r=e.call(this,t)||this;return r.weightType=n,r}return y(t,e),t.prototype.getClassName=function(){return this.weightType?"".concat(this.component.getClassName()," ").concat(this.weightType):this.component.getClassName()},t}(F),P=function(e){function t(t,n,r,o,a,i,l,c,u,s,d){var f=e.call(this,t)||this;return f.isDefaultValue=n,f.frontColorType=r,f.backgroundColorType=o,f.borderColorType=a,f.borderDirectionType=i,f.pseudoType=l,f.pseudoFrontColorType=c,f.pseudoBackgroundColorType=u,f.pseudoBorderColorType=s,f.pseudoBorderDirectionType=d,f}return y(t,e),t.prototype.getBorderPrefix=function(e){return e?"-".concat(e):""},t.prototype.getBorderColorClassName=function(e,t,n){var r,o=this.getBorderPrefix(n);switch(t){case O.Bottom:r=" ".concat(e).concat(o,"-border-bottom");break;case O.ExceptBottom:r=" ".concat(e).concat(o,"-border-except-bottom");break;case O.ExceptLeft:r=" ".concat(e).concat(o,"-border-except-left");break;case O.ExceptRight:r=" ".concat(e).concat(o,"-border-except-right");break;case O.ExceptTop:r=" ".concat(e).concat(o,"-border-except-top");break;case O.Left:r=" ".concat(e).concat(o,"-border-left");break;case O.LeftBottom:r=" ".concat(e).concat(o,"-border-left-bottom");break;case O.LeftRight:r=" ".concat(e).concat(o,"-border-left-right");break;case O.LeftTop:r=" ".concat(e).concat(o,"-border-left-top");break;case O.Right:r=" ".concat(e).concat(o,"-border-right");break;case O.RightBottom:r=" ".concat(e).concat(o,"-border-right-bottom");break;case O.RightTop:r=" ".concat(e).concat(o,"-border-right-top");break;case O.Top:r=" ".concat(e).concat(o,"-border-top");break;case O.TopBottom:r=" ".concat(e).concat(o,"-border-bottom");break;default:r=" ".concat(e).concat(o,"-border")}return r},t.prototype.getClassName=function(){var e,t,n=this.backgroundColorType?" ".concat(this.backgroundColorType,"-background"):this.isDefaultValue?" ".concat(b.Transparent,"-background"):"",r=this.pseudoBackgroundColorType?" ".concat(this.pseudoBackgroundColorType,"-before-background"):this.isDefaultValue?" ".concat(b.Transparent,"-before-background"):"",o=this.pseudoBackgroundColorType?" ".concat(this.pseudoBackgroundColorType,"-after-background"):this.isDefaultValue?" ".concat(b.Transparent,"-after-background"):"",a="".concat(r).concat(o),i=this.frontColorType?" ".concat(this.frontColorType,"-front"):this.isDefaultValue?" ".concat(b.Black,"-front"):"",l=this.pseudoFrontColorType?" ".concat(this.pseudoFrontColorType,"-before-front"):this.isDefaultValue?" ".concat(b.Black,"-before-front"):"",c=this.pseudoFrontColorType?" ".concat(this.pseudoFrontColorType,"-after-front"):this.isDefaultValue?" ".concat(b.Black,"-after-front"):"",u="".concat(l).concat(c);return e=this.borderColorType?this.borderDirectionType?this.getBorderColorClassName(this.borderColorType,this.borderDirectionType):" ".concat(this.borderColorType).concat(this.getBorderPrefix(this.pseudoType),"-border"):this.isDefaultValue?" ".concat(b.Transparent).concat(this.getBorderPrefix(this.pseudoType),"-border"):"",t=this.pseudoType?this.pseudoBorderColorType?this.pseudoBorderDirectionType?this.getBorderColorClassName(this.pseudoBorderColorType,this.pseudoBorderDirectionType,this.pseudoType):" ".concat(this.pseudoBorderColorType).concat(this.getBorderPrefix(this.pseudoType),"-border"):this.isDefaultValue?" ".concat(b.Transparent).concat(this.getBorderPrefix(this.pseudoType),"-border"):"":"","".concat(this.component.getClassName()).concat(n).concat(a).concat(i).concat(u).concat(e).concat(t)},t}(F),W=function(e,t,n,r,o,a,i,l,c,u,s,d,f,h){return new P(new z(new A(new V(e),o),n,r),t,a,i,l,c,u,s,d,f,h).getClassName()},H=["onClick","onDoubleClick","onContextMenu","onDrag","onDragStart","onDragEnd","onDragEnter","onDragExit","onDragLeave","onDragOver","onDrop","onCopy","onCut","onPaste","onBlur","onFocus","onMouseDown","onMouseUp","onMouseEnter","onMouseLeave","onMouseMove","onMouseEndter","onMouseOut","onKeyDown","onKeyUp","onKeyPress","onTouchStart","onTouchEnd","onTouchMove","onTouchCancel","onWheel","onScroll","onSelect","onBeforeInput","onInput"],j=["id","title","dir","lang","translate","tabIndex","accessKey","contentEditable","spellCheck","draggable","enterKeyHint","inputMode","autoCapitalize","role","slot","htmlFor","hidden","is"],U=["onError","onLoad"],M=["onAbort","onCanPlay","onCanPlayThrough","onDurationChange","onEmptied","onEncrypted","onEnded","onError","onLoadedData","onLoadedMetadata","onLoadStart","onPause","onPlay","onPlaying","onProgress","onRateChange","onResize","onSeeked","onSeeking","onStalled","onSuspend","onTimeUpdate","onVolumeChange","onWaiting"],X={div:R(R([],H,!0),j,!0),input:R(R(R(R([],H,!0),j,!0),["onChange","onInput","onInvalid","onSelect"],!0),["name","value","defaultValue","checked","defaultChecked","type","accept","autoComplete","autoFocus","disabled","form","formAction","formEncType","formMethod","formNoValidate","formTarget","height","width","list","max","min","maxLength","maxLength","minLength","multiple","pattern","placeholder","readOnly","required","size","step","src"],!0),textarea:R(R(R([],H,!0),j,!0),["rows","cols","wrap","name","autoFocus","autoComplete","placeholder","maxLength","minLength","required","readOnly","disabled","wrap","spellcheck","dirname"],!0),template:R(R([],H,!0),j,!0),abbr:R(R([],H,!0),j,!0),span:R(R([],H,!0),j,!0),h1:R(R([],H,!0),j,!0),h2:R(R([],H,!0),j,!0),h3:R(R([],H,!0),j,!0),h4:R(R([],H,!0),j,!0),h5:R(R([],H,!0),j,!0),h6:R(R([],H,!0),j,!0),i:R(R([],H,!0),j,!0),b:R(R([],H,!0),j,!0),u:R(R([],H,!0),j,!0),em:R(R([],H,!0),j,!0),strong:R(R([],H,!0),j,!0),blockquote:R(R([],H,!0),j,!0),cite:R(R([],H,!0),j,!0),code:R(R([],H,!0),j,!0),del:R(R([],H,!0),j,!0),dfn:R(R([],H,!0),j,!0),ins:R(R([],H,!0),j,!0),kbd:R(R([],H,!0),j,!0),mark:R(R([],H,!0),j,!0),pre:R(R([],H,!0),j,!0),q:R(R([],H,!0),j,!0),s:R(R([],H,!0),j,!0),samp:R(R([],H,!0),j,!0),small:R(R([],H,!0),j,!0),summary:R(R([],H,!0),j,!0),sup:R(R([],H,!0),j,!0),sub:R(R([],H,!0),j,!0),time:R(R([],H,!0),j,!0),var:R(R([],H,!0),j,!0),wbr:R(R([],H,!0),j,!0),p:R(R([],H,!0),j,!0),address:R(R([],H,!0),j,!0),article:R(R([],H,!0),j,!0),aside:R(R([],H,!0),j,!0),details:R(R(R([],H,!0),j,!0),["onToggle"],!0),section:R(R([],H,!0),j,!0),form:R(R(R([],H,!0),j,!0),["onReset","onSubmit"],!0),dialog:R(R(R([],H,!0),j,!0),["onCancel","onClose"],!0),img:R(R(R(R([],H,!0),j,!0),U,!0),["src","alt","width","height","crossOrigin","decoding","loading","referrerPolicy","sizes","srcSet","title","role"],!0),iframe:R(R(R(R([],H,!0),j,!0),U,!0),["src","srcDoc","width","height","name","sandbox","allow","allowFullScreen","loading","referrerPolicy","title","role"],!0),object:R(R(R([],H,!0),j,!0),U,!0),embed:R(R(R([],H,!0),j,!0),U,!0),link:R(R(R([],H,!0),j,!0),U,!0),svg:R(R(R([],H,!0),j,!0),U,!0),audio:R(R(R([],H,!0),j,!0),M,!0),video:R(R(R([],H,!0),j,!0),M,!0)},Y=["className","style","fontSize","isAutoSize","fontWeight","frontColor","backgroundColor","borderColor","borderDirection","pseudoType","pseudoFrontColor","pseudoBackgroundColor","pseudoBorderColor","pseudoBorderDirection","display","visibility","zIndex","fontFamily","borderWidth","borderRadius","borderStyle","padding","margin","height","width","minHeight","minWidth","maxHeight","maxWidth","opacity","letterSpacing","lineHeight","cursor","overflow","overflowX","overflowY","isDefaultValue","customAttributes"];!function(e){e.Edge="edge",e.Window="window",e.Area="area",e.Self="self"}(N||(N={})),function(e){e.Top="top",e.Right="right",e.Bottom="bottom",e.Left="left",e.LeftTop="left-top",e.RightTop="right-top",e.LeftBottom="left-bottom",e.RightBottom="right-bottom",e.Center="center"}(E||(E={}));var Z,J=function(t){var n;if(t.category&&(n=t.type?"position-".concat(t.category,"-").concat(t.type):"position-".concat(t.category,"-custom")),t.isFullWidth&&(n="".concat(n," position-full-width")),t.type){var r=void 0;return r=D(D({},t.style),{zIndex:t.zIndex}),e("div",{className:n,style:r,children:t.children})}r=void 0;return r=t.category!=N.Self?D(D({},t.style),{top:t.top,right:t.right,bottom:t.bottom,left:t.left,zIndex:t.zIndex}):D(D({},t.style),{top:"-".concat(t.top),right:"-".concat(t.right),bottom:"-".concat(t.bottom),left:"-".concat(t.left),zIndex:t.zIndex}),e("div",{className:n,style:r,children:t.children})};!function(e){e.Default="default",e.FullSize="full-size"}(Z||(Z={}));var q,K=function(n){return e(t,{children:o.map(n.children,(function(e){return function(e){var t={className:"position-area-".concat(n.category?n.category:Z.Default," ").concat(e.props.className)};return e.type===a||"<>"===e.type?(console.warn("Cannot apply props to Fragment. Please wrap content in a div or other element."),e):i(e,t)}(e)}))})};!function(e){e.Display="display",e.Rich="rich"}(q||(q={}));var G,Q,$,ee=function(t){var n=(t.category==q.Display?{}:t._base.getProps("div")).html;return e("div",D({ref:t.ref,className:t._base.getClassName(t.className),style:t._base.getStyle(t.style)},n,{children:t.children}))},te=function(t){var n=ae(t);return e(ee,{ref:t.ref,_base:n,className:"v-boundary",children:t.children})};!function(e){e.Div="div",e.Abbr="abbr",e.Span="span",e.H1="h1",e.H2="h2",e.H3="h3",e.H4="h4",e.H5="h5",e.H6="h6",e.I="i",e.B="b",e.U="u",e.Em="em",e.Strong="strong",e.Blockquote="blockquote",e.Cite="cite",e.Code="code",e.Del="del",e.Dfn="dfn",e.Ins="ins",e.Kbd="kbd",e.Mark="mark",e.Pre="pre",e.Q="q",e.S="s",e.Samp="samp",e.Small="small",e.Summary="summary",e.Sup="sup",e.Sub="sub",e.Time="time",e.Var="var",e.Wbr="wbr"}(G||(G={})),function(e){e.Default="default",e.Circle="circle"}(Q||(Q={})),function(e){e[e.Justify=0]="Justify",e[e.Left=1]="Left",e[e.Right=2]="Right",e[e.Center=3]="Center"}($||($={}));var ne,re,oe=l((function(t){var n,r,o=t.category,a=t.type,i=t.alignType,l=t.isTextOverflow,u=t.caption,s=L(t,["category","type","alignType","isTextOverflow","caption"]),d=ae(D({display:null==t.category||t.category==G.Span?"inline-block":"block"},s)),f=d.getProps("div"),h=f.view,p=f.html;switch(i){case $.Center:r="v-label-center";break;case $.Justify:r="v-label-justify";break;case $.Left:r="v-label";break;case $.Right:r="v-label-right";break;default:r="v-label"}if(a==Q.Circle&&(r="".concat(r,"-circle")),l&&(r+=" v-label-text-overflow"),o){var g=o,m=d.getProps(g).html;n=c(g,m,u)}else{var v=d.getProps("span").html;n=c("span",v,u)}return a==Q.Circle?e(K,{children:e(te,D({width:"1.6em",height:"1.6em",borderRadius:"2em"},h,{className:r},p,{children:e(J,{category:N.Area,type:E.Center,children:n})}))}):e(te,D({},h,{className:"".concat(t.className," ").concat(r)},p,{children:n}))})),ae=function(t){return{getClassName:function(e){var n=W(e,t.isDefaultValue,t.fontSize,t.isAutoSize,t.fontWeight,t.frontColor,t.backgroundColor,t.borderColor,t.borderDirection,t.pseudoType,t.pseudoFrontColor,t.pseudoBackgroundColor,t.pseudoBorderColor,t.pseudoBorderDirection);return t.className?"".concat(t.className," ").concat(n):n},getStyle:function(e){var n={borderRadius:t.borderRadius,borderWidth:t.borderWidth,borderStyle:t.borderStyle,borderColor:t.borderColor,padding:t.padding,margin:t.margin,height:t.height,width:t.width,minHeight:t.minHeight,minWidth:t.minWidth,maxHeight:t.maxHeight,maxWidth:t.maxWidth,opacity:t.opacity,display:t.display,zIndex:t.zIndex,visibility:t.visibility,fontFamily:t.fontFamily,letterSpacing:t.letterSpacing,lineHeight:t.lineHeight,cursor:t.cursor,overflow:t.overflow,overflowX:t.overflowX,overflowY:t.overflowY};return null!=t.selfShrink&&(n.flexShrink=t.selfShrink),null!=t.selfGrow&&(n.flexGrow=t.selfGrow),null!=t.selfBasis&&(n.flexBasis=t.selfBasis),D(D(D({},t.style),e),n)},getChildren:function(){if(t.children){if(Array.isArray(t.children)){var n=t.children.filter(Boolean);return n&&n.length>0?n:e(oe,{backgroundColor:b.Error,caption:"[Base] No Children!"})}return t.children?t.children:e(oe,{backgroundColor:b.Error,caption:"[Base] No Children!"})}return e(oe,{backgroundColor:b.Error,caption:"[Base] No Children!"})},getProps:function(e){var n={},r={},o=Object.keys(t);return o.length>0&&o.forEach((function(o){Y.includes(o)?n[o]=t[o]:X[e]&&X[e].includes(o)&&(r[o]=t[o])})),{view:n,html:r}}}};!function(e){e.ExtraSmall="extra-small",e.Small="small",e.Medium="medium",e.Large="large",e.ExtraLarge="extra-large",e.ExtraExtraLarge="extra-extra-large"}(ne||(ne={})),function(e){e.Fluid="fluid",e.Small="small",e.Medium="medium",e.Large="large",e.ExtraLarge="extra-large",e.ExtraExtraLarge="extra-extra-large"}(re||(re={}));var ie,le;!function(e){e.Visiable="visiable",e.Hidden="hidden"}(ie||(ie={})),function(e){e.Only="only",e.Up="up",e.Down="down"}(le||(le={}));var ce,ue,se=function(n){return n.children?e(t,{children:o.map(n.children,(function(e){return function(e){if(e&&e.props){var t=void 0;n.breakpoint?"string"==typeof n.breakpoint?n.type&&n.type!=le.Only?n.type==le.Up?t="".concat(n.breakpoint,"-up-").concat(n.category):n.type==le.Down&&(t="".concat(n.breakpoint,"-down-").concat(n.category)):t="".concat(n.breakpoint,"-").concat(n.category):t=n.breakpoint.map((function(e,t){return"".concat(e,"-").concat(n.category)})).join(" "):t=n.category;var r={className:t};return e.type===a||"<>"===e.type?(console.warn("Cannot apply props to Fragment. Please wrap content in a div or other element."),e):i(e,r)}return e}(e)}))}):e(oe,{backgroundColor:b.Error,caption:"[Display] No Children!"})},de=2147483647;!function(e){e.Top="top",e.Right="right",e.Bottom="bottom",e.Left="left",e.LeftTop="left-top",e.RightTop="right-top",e.LeftBottom="left-bottom",e.RightBottom="right-bottom",e.InnerTop="inner-top",e.InnerRight="inner-right",e.InnerBottom="inner-bottom",e.InnerLeft="inner-left",e.InnerLeftTop="inner-left-top",e.InnerRightTop="inner-right-top",e.InnerLeftBottom="inner-left-bottom",e.InnerRightBottom="inner-right-bottom"}(ce||(ce={})),function(e){e.Horizontal="horizontal",e.Vertical="vertical"}(ue||(ue={}));var fe,he,pe,ge,me,ve=function(t){var r=t.category,o=t.offset,a=void 0===o?0:o,i=t.overlayZIndex,l=void 0===i?de:i,c=t.renderOverlay,p=L(t,["category","offset","overlayZIndex","renderOverlay"]),g=ae(p),v=g.getProps("div").html,y=u({isMounted:!1}),b=y[0],C=y[1],w=s(null),S=s(null),k=e("div",{ref:S,className:"dock-overlay",style:{zIndex:l},children:c()}),_=d((function(){var e=w.current,n=S.current;if(e&&n){var o=e.getBoundingClientRect(),i=n.getBoundingClientRect(),l=0,c=0;switch(r){case ce.Top:l=o.left+(o.width-i.width)/2,c=o.top-i.height-a;break;case ce.Right:l=o.left+o.width+a,c=o.top+(o.height-i.height)/2;break;case ce.Bottom:l=o.left+(o.width-i.width)/2,c=o.top+o.height+a;break;case ce.Left:l=o.left-i.width-a,c=o.top+(o.height-i.height)/2;break;case ce.LeftTop:t.alignment==ue.Horizontal?(l=o.left-i.width-a,c=o.top+a):t.alignment==ue.Vertical?(l=o.left+a,c=o.top-i.height-a):(l=o.left-i.width-a,c=o.top-i.height-a);break;case ce.RightTop:t.alignment==ue.Horizontal?(l=o.left+o.width+a,c=o.top+a):t.alignment==ue.Vertical?(l=o.left+(o.width-i.width)-a,c=o.top-i.height-a):(l=o.left+o.width+a,c=o.top-i.height-a);break;case ce.LeftBottom:t.alignment==ue.Horizontal?(l=o.left-i.width-a,c=o.top+(o.height-i.height)-a):t.alignment==ue.Vertical?(l=o.left+a,c=o.top+o.height+a):(l=o.left-i.width-a,c=o.top+o.height+a);break;case ce.RightBottom:t.alignment==ue.Horizontal?(l=o.left+o.width+a,c=o.top+(o.height-i.height)-a):t.alignment==ue.Vertical?(l=o.left+(o.width-i.width)-a,c=o.top+o.height+a):(l=o.left+o.width+a,c=o.top+o.height+a);break;case ce.InnerTop:l=o.left+(o.width-i.width)/2+a,c=o.top+a;break;case ce.InnerRight:l=o.left+(o.width-i.width)-a,c=o.top+(o.height-i.height)/2;break;case ce.InnerBottom:l=o.left+(o.width-i.width)/2,c=o.top+(o.height-i.height)-a;break;case ce.InnerLeft:l=o.left+a,c=o.top+(o.height-i.height)/2;break;case ce.InnerLeftTop:l=o.left+a,c=o.top+a;break;case ce.InnerRightTop:l=o.left+(o.width-i.width)-a,c=o.top+a;break;case ce.InnerLeftBottom:l=o.left+a,c=o.top+(o.height-i.height)-a;break;case ce.InnerRightBottom:l=o.left+(o.width-i.width)-a,c=o.top+(o.height-i.height)-a}n.style.transform="translate3d(".concat(l,"px, ").concat(c,"px, 0)")}}),[r,a,l,c]);return f((function(){requestAnimationFrame(_)}),[_,c,l]),h((function(){var e=function(){return _()};return window.addEventListener("scroll",e,{capture:!0,passive:!0}),window.addEventListener("resize",e),function(){window.removeEventListener("scroll",e,!0),window.removeEventListener("resize",e)}}),[_]),f((function(){C({isMounted:!0})}),[]),n("div",D({ref:w,className:g.getClassName("dock"),style:g.getStyle()},v,{children:[t.children,b.isMounted&&"undefined"!=typeof document&&m(k,document.body)]}))};!function(e){e.Row="row",e.RowReverse="row-reverse",e.Column="column",e.ColumnReverse="column-reverse"}(fe||(fe={})),function(e){e.NoWrap="nowrap",e.Wrap="wrap"}(he||(he={})),function(e){e.Start="flex-start",e.Center="center",e.End="flex-end",e.SpaceBetween="space-between",e.SpaceAround="space-around",e.SpaceEvenly="space-evenly"}(pe||(pe={})),function(e){e.Start="flex-start",e.Center="center",e.End="flex-end",e.Stretch="stretch",e.Baseline="baseline"}(ge||(ge={})),function(e){e.Start="flex-start",e.Center="center",e.End="flex-end",e.SpaceBetween="space-between",e.SpaceAround="space-around",e.SpaceEvenly="space-evenly"}(me||(me={}));var ye,be=function(t){t.vClassName;var n=t.direction,r=t.wrap,o=t.justifyContent,a=t.alignItems,i=t.alignContent,l=t.gap,c=L(t,["vClassName","direction","wrap","justifyContent","alignItems","alignContent","gap"]),u=ae(c),s=u.getProps("div").html,d=D(D({},u.getStyle()),{gap:l,cursor:t.cursor?t.cursor:t.onClick?"pointer":"inherit"}),f=t.overflow?"flex-".concat(t.overflow):"flex-hidden",h=n?" flex-direction-".concat(n):"",p=r?" flex-wrap-".concat(r):"",g=o?" flex-justify-content-".concat(o):"",m=a?" flex-align-items-".concat(a):"",v=i?" flex-align-content-".concat(i):"",y="".concat(f).concat(h).concat(p).concat(g).concat(m).concat(v),b=u.getClassName(y);return e("div",D({className:b,style:d},s,{children:t.children}))};!function(e){e.Start="start",e.Center="center",e.End="end",e.Stretch="stretch",e.Baseline="baseline"}(ye||(ye={}));var Ce,we=function(t){var n={};null!=t.order&&(n.order=t.order),null!=t.basis&&(n.flexBasis=t.basis),null!=t.grow&&(n.flexGrow=t.grow),null!=t.shrink&&(n.flexShrink=t.shrink);var r=t.alignSelf?" flex-align-self-".concat(t.alignSelf):"",o="flex-item".concat(r);return e("div",{className:o,style:D(D({},n),{display:"flex",flexDirection:"column"}),children:t.children})},Se=function(n){return e(t,{children:n.children})},ke=function(n){return e(t,{children:n.children})},_e=function(n){return e(t,{children:n.children})},xe=function(n){return e(t,{children:n.children})},Be=function(n){return e(t,{children:n.children})},Te=function(n){return e(t,{children:n.children})},Ie=function(n){return e(t,{children:n.children})},Oe=function(n){return e(t,{children:n.children})};!function(e){e.Top="top",e.Middle="middle",e.Bottom="bottom",e.Stretch="stretch",e.Baseline="baseline"}(Ce||(Ce={}));var De,Le=function(n,r,a,i,l){n.cross;var c=n.itemsShrink,u=L(n,["cross","itemsShrink"]),s=ae(u),d=function(t,n,o){return r?r(t,n,o,c):e(we,{alignSelf:o,shrink:c,children:t},"child".concat(n))};return e(be,D({vClassName:"v-xbase",alignItems:function(){var e;if(n.cross)switch(n.cross){case Ce.Stretch:e=ge.Stretch;break;case Ce.Baseline:e=ge.Baseline;break;case Ce.Bottom:e=ge.End;break;case Ce.Middle:e=ge.Center;break;case Ce.Top:e=ge.Start;break;default:e=ge.Center}else e=ge.Center;return e}(),wrap:a?a():he.NoWrap,justifyContent:i?i():pe.Start,alignContent:l?l():me.Start},u,{children:o.map(s.getChildren(),(function(n,r){var o=n;return o.type?o.type===Oe?d(o.props.children,r,ye.Start):o.type===xe?d(o.props.children,r,ye.Center):o.type===ke?d(o.props.children,r,ye.End):o.type===Ie?d(o.props.children,r,ye.Stretch):o.type===Se?d(o.props.children,r,ye.Baseline):d(o,r):(console.debug(o),e(t,{children:"Please check X layout children."}))}))}))},Re=function(t){return Le(t,(function(t,n,r,o){return e(we,{grow:1,alignSelf:r,shrink:o,children:t})}))},Ne=function(t){var n=ae(t);return Le(t,(function(t,r,a,i){return 0!=r&&r!=o.count(n.getChildren())-1?e(we,{grow:1,alignSelf:a,shrink:i,children:t}):e(we,{grow:0,alignSelf:a,shrink:i,children:t})}))},Ee=function(t){return Le(t,(function(t,n,r,o){return e(we,0==n?{grow:1,alignSelf:r,shrink:o,children:t}:{grow:0,alignSelf:r,shrink:o,children:t})}))},Ve=function(t){var n=ae(t);return Le(t,(function(t,r,a,i){return r==o.count(n.getChildren())-1?e(we,{grow:1,shrink:i,children:t}):e(we,{grow:0,shrink:i,children:t})}))},Fe=function(e){return Le(e,void 0,void 0,(function(){return pe.SpaceBetween}))},ze=function(e){return Le(e,void 0,void 0,(function(){return pe.Center}))},Ae=function(e){return Le(e)};!function(e){e.Left="left",e.Center="center",e.Right="right",e.Baseline="baseline",e.Stretch="stretch"}(De||(De={}));var Pe,We=function(n,r,a,i,l){var c=n.cross,u=n.itemsShrink,s=L(n,["cross","itemsShrink"]),d=ae(s),f=function(t,n,o){return r?r(t,n,o,u):e(we,{alignSelf:o,shrink:u,children:t},"child".concat(n))};return e(be,D({vClassName:"v-ybase",wrap:a?a():he.NoWrap,alignContent:i?i():me.Start,alignItems:function(){var e;if(c)switch(c){case De.Left:e=ge.Start;break;case De.Center:e=ge.Center;break;case De.Right:e=ge.End;break;case De.Baseline:e=ge.Baseline;break;default:e=ge.Stretch}else e=ge.Stretch;return e}(),direction:fe.Column,justifyContent:l?l():pe.Start},s,{children:o.map(d.getChildren(),(function(n,r){var o=n;return o.type?o.type===_e?f(o.props.children,r,ye.Start):o.type===xe||o.type===Te?f(o.props.children,r,ye.Center):o.type===Be?f(o.props.children,r,ye.End):o.type===Ie?f(o.props.children,r,ye.Stretch):o.type===Se?f(o.props.children,r,ye.Baseline):f(n,r):(console.debug(o),e(t,{children:"Please check Y layout children."}))}))}))},He=function(t){return We(t,(function(t,n,r,o){return e(we,{grow:1,alignSelf:r,shrink:o,children:t})}))};!function(e){e.Top="top",e.Right="right",e.Bottom="bottom",e.Left="left",e.Center="center"}(Pe||(Pe={}));var je,Ue=function(e){var t={};return e.forEach((function(e,n){var r,o=!1;n.startsWith("#")?(o=!0,r=n.substring(1).split(".")):r=n.split(".");var a=t;r.forEach((function(t,n){if(n==r.length-1)if(t.endsWith("[]")){var i=t.replace("[]","");Object.keys(a).filter((function(e){return e==i})).length>0?a[i]=R(R([],a[i],!0),[o?JSON.parse(e.toString()):e],!1):a[i]=[o?JSON.parse(e.toString()):e]}else a[t]=o?JSON.parse(e.toString()):e;else t in a||(a[t]={}),a=a[t]}))})),t};!function(e){e.Json="json",e.FormData="formdata"}(je||(je={}));var Me,Xe=function(t){var r=t.ref,o=t.type,a=t.label,i=t.icon,l=t.value,c=t.valueHook,d=t.setStateHook,f=t.isValueShow,p=t.valueSize,g=t.frontColor;t.valueCategory;var m,v=t.valuePadding,y=t.inputStyle,C=t.inputClassName,w=t.overWrite,S=t.renderOptions,k=t.onChange,_=t.inheritClassName,x=t.customAttributes,B=L(t,["ref","type","label","icon","value","valueHook","setStateHook","isValueShow","valueSize","frontColor","valueCategory","valuePadding","inputStyle","inputClassName","overWrite","renderOptions","onChange","inheritClassName","customAttributes"]),I=ae(B),O=I.getProps("input").html,R=u({value:void 0!==t.value?t.value:""}),N=R[0],E=R[1],V=s(null);return h((function(){"object"==typeof r&&r?r.current=V.current:"function"==typeof r&&r(V.current),t.autoFocus&&V.current&&V.current.focus()}),[r,t.autoFocus]),w&&(m=w(V)),n(ee,{_base:I,className:"v-validity v-input".concat(_?" ".concat(_):""),children:[n(He,{display:m?"none":void 0,children:[n(Ne,{gap:"0.6em",children:[!!i&&e(te,{children:i}),n(te,{width:"100%",lineHeight:0,children:[e("input",D({ref:V},x,{className:(C?"".concat(C," "):"")+"".concat(I.getClassName("v-input-native")),style:y,type:o,value:c||N.value,onChange:function(e){var t;f&&E({value:null===(t=V.current)||void 0===t?void 0:t.value}),k&&k(e),d?d(e.target.value):E({value:e.target.value})}},O)),!!a&&e("label",{htmlFor:t.id?t.id:t.name,children:a})]}),!!S&&S(V)]}),!!f&&e(ze,{children:e(oe,{padding:v,isAutoSize:t.isAutoSize,fontSize:p||T.Normal,frontColor:g||b.Black,caption:void 0!==N.value?N.value.toString():l?l.toString():""})})]}),!!m&&m]})};!function(e){e.Default="default",e.Circle="circle",e.Squared="squared",e.Custom="custom"}(Me||(Me={}));var Ye,Ze,Je=l((function(n){var r=ae(n);return e(t,{children:o.map(n.children,(function(e){return function(e){var t=n.category?n.category:Me.Default,o=r.getClassName("v-svg-".concat(t)),l=n.onClick,c=n.onMouseEnter,u=n.onMouseLeave,s={className:o,style:D(D({},r.getStyle()),{cursor:l?"pointer":"inherit"}),onClick:l,onMouseEnter:c,onMouseLeave:u};return e.type===a?(console.warn("Cannot apply props to Fragment. Please wrap content in a div or other element."),e):i(e,s)}(e)}))})}));function qe(){return qe=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)({}).hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},qe.apply(null,arguments)}var Ke,Ge=function(e){return r.createElement("svg",qe({xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 256 256"},e),Ye||(Ye=r.createElement("path",{fill:"currentColor",d:"M198.132 64.763a6 6 0 0 0-6-6H65.753a6 6 0 0 0-6 6v126.473a6 6 0 0 0 6 6h126.399a6 6 0 0 0 6-6.001z"})),Ze||(Ze=r.createElement("path",{fill:"currentColor",d:"M40.562 228h174.876c3.334 0 6.528-1.324 8.884-3.682a12.57 12.57 0 0 0 3.678-8.886V40.568a12.57 12.57 0 0 0-3.678-8.886A12.55 12.55 0 0 0 215.438 28H40.562a12.56 12.56 0 0 0-8.884 3.682A12.57 12.57 0 0 0 28 40.568v174.864a12.57 12.57 0 0 0 3.678 8.886A12.56 12.56 0 0 0 40.562 228m4.044-169.236v-.002c0-4 1.588-7.835 4.414-10.664a15.07 15.07 0 0 1 10.659-4.416h138.453a15.07 15.07 0 0 1 10.659 4.416 15.1 15.1 0 0 1 4.416 10.664v138.473c0 3.999-1.59 7.835-4.416 10.663a15.07 15.07 0 0 1-10.659 4.417H59.755a15.07 15.07 0 0 1-10.658-4.417 15.08 15.08 0 0 1-4.415-10.663z"})))};function Qe(){return Qe=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)({}).hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},Qe.apply(null,arguments)}var $e,et,tt,nt,rt=function(e){return r.createElement("svg",Qe({xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 256 256"},e),Ke||(Ke=r.createElement("path",{fill:"currentColor",d:"M40.562 228h174.876c3.334 0 6.528-1.324 8.884-3.682a12.57 12.57 0 0 0 3.678-8.886V40.568a12.57 12.57 0 0 0-3.678-8.886A12.55 12.55 0 0 0 215.438 28H40.562a12.56 12.56 0 0 0-8.884 3.682A12.57 12.57 0 0 0 28 40.568v174.864a12.57 12.57 0 0 0 3.678 8.886A12.56 12.56 0 0 0 40.562 228m4.044-169.236v-.002c0-4 1.588-7.835 4.414-10.664a15.07 15.07 0 0 1 10.659-4.416h138.453a15.07 15.07 0 0 1 10.659 4.416 15.1 15.1 0 0 1 4.416 10.664v138.473c0 3.999-1.59 7.835-4.416 10.663a15.07 15.07 0 0 1-10.659 4.417H59.755a15.07 15.07 0 0 1-10.658-4.417 15.08 15.08 0 0 1-4.415-10.663z"})))};!function(e){e.Bounce="animate__bounce",e.Flash="animate__flash",e.Pulse="animate__pulse",e.RubberBand="animate__rubberBand",e.ShakeX="animate__shakeX",e.ShakeY="animate__shakeY",e.HeadShake="animate__headShake",e.Swing="animate__swing",e.Tada="animate__tada",e.Wobble="animate__wobble",e.Jello="animate__jello",e.HeartBeat="animate__heartBeat",e.BackInDown="animate__backInDown",e.BackInLeft="animate__backInLeft",e.BackInRight="animate__backInRight",e.BackInUp="animate__backInUp",e.BackOutDown="animate__backOutDown",e.BackOutLeft="animate__backOutLeft",e.BackOutRight="animate__backOutRight",e.BackOutUp="animate__backOutUp",e.BounceIn="animate__bounceIn",e.BounceInDown="animate__bounceInDown",e.BounceInLeft="animate__bounceInLeft",e.BounceInRight="animate__bounceInRight",e.BounceInUp="animate__bounceInUp",e.BounceOut="animate__bounceOut",e.BounceOutDown="animate__bounceOutDown",e.BounceOutLeft="animate__bounceOutLeft",e.BounceOutRight="animate__bounceOutRight",e.BounceOutUp="animate__bounceOutUp",e.FadeIn="animate__fadeIn",e.FadeInDown="animate__fadeInDown",e.FadeInDownBig="animate__fadeInDownBig",e.FadeInLeft="animate__fadeInLeft",e.FadeInLeftBig="animate__fadeInLeftBig",e.FadeInRight="animate__fadeInRight",e.FadeInRightBig="animate__fadeInRightBig",e.FadeInUp="animate__fadeInUp",e.FadeInUpBig="animate__fadeInUpBig",e.FadeInTopLeft="animate__fadeInTopLeft",e.FadeInTopRight="animate__fadeInTopRight",e.FadeInBottomLeft="animate__fadeInBottomLeft",e.FadeInBottomRight="animate__fadeInBottomRight",e.FadeOut="animate__fadeOut",e.FadeOutDown="animate__fadeOutDown",e.FadeOutDownBig="animate__fadeOutDownBig",e.FadeOutLeft="animate__fadeOutLeft",e.FadeOutLeftBig="animate__fadeOutLeftBig",e.FadeOutRight="animate__fadeOutRight",e.FadeOutRightBig="animate__fadeOutRightBig",e.FadeOutUp="animate__fadeOutUp",e.FadeOutUpBig="animate__fadeOutUpBig",e.FadeOutTopLeft="animate__fadeOutTopLeft",e.FadeOutTopRight="animate__fadeOutTopRight",e.FadeOutBottomLeft="animate__fadeOutBottomLeft",e.FadeOutBottomRight="animate__fadeOutBottomRight",e.Flip="animate__flip",e.FlipInX="animate__flipInX",e.FlipInY="animate__flipInY",e.FlipOutX="animate__flipOutX",e.FlipOutY="animate__flipOutY",e.LightSpeedInRight="animate__lightSpeedInRight",e.LightSpeedInLeft="animate__lightSpeedInLeft",e.LightSpeedOutRight="animate__lightSpeedOutRight",e.LightSpeedOutLeft="animate__lightSpeedOutLeft",e.RotateIn="animate__rotateIn",e.RotateInDownLeft="animate__rotateInDownLeft",e.RotateInDownRight="animate__rotateInDownRight",e.RotateInUpLeft="animate__rotateInUpLeft",e.RotateInUpRight="animate__rotateInUpRight",e.RotateOut="animate__rotateOut",e.RotateOutDownLeft="animate__rotateOutDownLeft",e.RotateOutDownRight="animate__rotateOutDownRight",e.RotateOutUpLeft="animate__rotateOutUpLeft",e.RotateOutUpRight="animate__rotateOutUpRight",e.Hinge="animate__hinge",e.JackInTheBox="animate__jackInTheBox",e.RollIn="animate__rollIn",e.RollOut="animate__rollOut",e.ZoomIn="animate__zoomIn",e.ZoomInDown="animate__zoomInDown",e.ZoomInLeft="animate__zoomInLeft",e.ZoomInRight="animate__zoomInRight",e.ZoomInUp="animate__zoomInUp",e.ZoomOut="animate__zoomOut",e.ZoomOutDown="animate__zoomOutDown",e.ZoomOutLeft="animate__zoomOutLeft",e.ZoomOutRight="animate__zoomOutRight",e.ZoomOutUp="animate__zoomOutUp",e.SlideInDown="animate__slideInDown",e.SlideInLeft="animate__slideInLeft",e.SlideInRight="animate__slideInRight",e.SlideInUp="animate__slideInUp",e.SlideOutDown="animate__slideOutDown",e.SlideOutLeft="animate__slideOutLeft",e.SlideOutRight="animate__slideOutRight",e.SlideOutUp="animate__slideOutUp"}($e||($e={})),function(e){e.Once="animate__repeat-1",e.Twice="animate__repeat-2",e.Thrice="animate__repeat-3",e.Infinite="animate__infinite"}(et||(et={})),function(e){e.Slow="animate__slow",e.Slower="animate__slower",e.Fast="animate__fast",e.Faster="animate__faster"}(tt||(tt={})),function(e){e.Delay1Second="animate__delay-1s",e.Delay2Second="animate__delay-2s",e.Delay3Second="animate__delay-3s",e.Delay4Second="animate__delay-4s",e.Delay5Second="animate__delay-5s"}(nt||(nt={}));var ot,at=function(t){var n;return e("div",{className:(n=[],n.push(t.category),t.repeat&&n.push(t.repeat),t.speed&&n.push(t.speed),t.delay&&n.push(t.delay),"animate__animated ".concat(n.join(" "))),children:t.children})},it=function(t){t.animationCategory,t.animationSpeed;var n=L(t,["animationCategory","animationSpeed"]),r=ae(n);return e(ee,{_base:r,className:"v-loading",children:e(at,{category:t.animationCategory?t.animationCategory:$e.Flip,speed:t.animationSpeed?t.animationSpeed:tt.Slower,repeat:et.Infinite,children:t.children})})};function lt(){return lt=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)({}).hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},lt.apply(null,arguments)}var ct,ut=function(e){return r.createElement("svg",lt({xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 256 256"},e),ot||(ot=r.createElement("path",{fill:"currentColor",fillRule:"evenodd",d:"M142.37 28c14.247 0 25.795 11.548 25.795 25.795s-11.548 25.799-25.795 25.799-25.796-11.551-25.796-25.799S128.122 28 142.37 28m65.108 50.223c7.122 7.125 7.122 18.673 0 25.796-7.122 7.125-18.673 7.125-25.795 0-7.126-7.123-7.126-18.67 0-25.796 7.122-7.122 18.673-7.122 25.795 0m13.977 76.209c0 9.032-7.318 16.35-16.35 16.35-9.03 0-16.348-7.318-16.348-16.35 0-9.03 7.318-16.348 16.348-16.348 9.032 0 16.35 7.318 16.35 16.348m-45.928 59.961c-4.277 4.278-11.215 4.278-15.493 0-4.28-4.28-4.28-11.218 0-15.496 4.278-4.28 11.216-4.28 15.493 0 4.281 4.278 4.281 11.216 0 15.496M104.469 228c-5.98 0-10.83-4.847-10.83-10.83s4.85-10.83 10.83-10.83c5.983 0 10.83 4.847 10.83 10.83S110.452 228 104.469 228m-58.417-41.95c-3.426-3.426-3.426-8.982 0-12.411 3.43-3.426 8.985-3.426 12.412 0a8.77 8.77 0 0 1 0 12.411 8.773 8.773 0 0 1-12.412 0M34 116.534a7.733 7.733 0 1 1 15.466-.002 7.733 7.733 0 0 1-15.466.002m41.858-55.412a4.53 4.53 0 0 1 6.398 0 4.52 4.52 0 0 1 0 6.399 4.52 4.52 0 0 1-6.398 0 4.53 4.53 0 0 1 0-6.399",clipRule:"evenodd"})))};!function(e){e.Vertical="Vertical",e.Horizontal="Horizontal"}(ct||(ct={}));var st,dt=function(e){return e.name.endsWith(".jpg")||e.name.endsWith(".jpeg")||e.name.endsWith(".png")};!function(e){e.Default="default",e.Circle="circle",e.Squared="squared",e.FullSize="full-size",e.Scale="scale"}(st||(st={}));var ft,ht,pt=l((function(t){var n=t.category,r=L(t,["category"]),o=ae(r),a=o.getProps("img").html,i=n||st.Default;return e("img",D({className:o.getClassName("v-image-".concat(i)),style:o.getStyle()},a))})),gt=function(t){return e(Xe,D({display:"none",type:"hidden"},t))};function mt(){return mt=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)({}).hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},mt.apply(null,arguments)}var vt,yt=function(e){return r.createElement("svg",mt({xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 256 256"},e),ft||(ft=r.createElement("path",{fill:"currentColor",d:"M128 188c33.138 0 60-26.862 60-60s-26.862-60-60-60-60 26.862-60 60 26.862 60 60 60"})),ht||(ht=r.createElement("path",{fill:"currentColor",fillRule:"evenodd",d:"M228 128c0 55.229-44.771 100-100 100S28 183.229 28 128 72.771 28 128 28s100 44.771 100 100m-20 0c0 44.183-35.817 80-80 80s-80-35.817-80-80 35.817-80 80-80 80 35.817 80 80",clipRule:"evenodd"})))};function bt(){return bt=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)({}).hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},bt.apply(null,arguments)}var Ct,wt,St=function(e){return r.createElement("svg",bt({xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 256 256"},e),vt||(vt=r.createElement("path",{fill:"currentColor",fillRule:"evenodd",d:"M228 128c0 55.229-44.771 100-100 100S28 183.229 28 128 72.771 28 128 28s100 44.771 100 100m-20 0c0 44.183-35.817 80-80 80s-80-35.817-80-80 35.817-80 80-80 80 35.817 80 80",clipRule:"evenodd"})))};function kt(){return kt=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)({}).hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},kt.apply(null,arguments)}var _t,xt=function(e){return r.createElement("svg",kt({xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 256 256"},e),Ct||(Ct=r.createElement("rect",{width:20,height:200,x:50,y:64,fill:"currentColor",rx:10,transform:"rotate(-45 50 64)"})),wt||(wt=r.createElement("rect",{width:20,height:200,fill:"currentColor",rx:10,transform:"scale(-1 1)rotate(-45 -25.527 280.136)"})))},Bt=function(t){var r=t.enableClear,o=L(t,["enableClear"]);return e(Xe,r?D({inheritClassName:"v-textbox",isDefaultValue:!0,type:"text"},o,{renderOptions:function(r){return n(Re,{gap:"0.2em",children:[t.renderOptions&&t.renderOptions(r),e(Je,{fontSize:T.ExtraSmall,frontColor:b.Placeholder,role:"button","aria-label":"Clear",tabIndex:0,onClick:function(){r.current&&(r.current.value="")},onKeyDown:function(e){" "!==e.key&&"Enter"!==e.key||!r.current||(e.preventDefault(),r.current.value="")},children:e(xt,{})})]})}}):D({inheritClassName:"v-textbox",isDefaultValue:!0,type:"text"},o))};function Tt(){return Tt=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)({}).hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},Tt.apply(null,arguments)}var It,Ot=function(e){return r.createElement("svg",Tt({xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 256 256"},e),_t||(_t=r.createElement("circle",{cx:128,cy:128,r:100,fill:"currentColor"})))};!function(e){e.NewWindow="_blank",e.Self="_self",e.Parent="_parent",e.Top="_top"}(It||(It={}));var Dt,Lt;!function(e){e.P="p",e.Address="address",e.Article="article",e.Aside="aside",e.Details="details",e.Section="section"}(Dt||(Dt={})),function(e){e[e.Justify=0]="Justify",e[e.Left=1]="Left",e[e.Right=2]="Right",e[e.Center=3]="Center"}(Lt||(Lt={}));var Rt;!function(e){e.Default="default",e.Fixed="fixed"}(Rt||(Rt={}));var Nt;!function(e){e.Vertical="vertical",e.Horizontal="horizontal"}(Nt||(Nt={}));var Et;!function(e){e.Default="default",e.Fixed="fixed"}(Et||(Et={}));var Vt;!function(e){e.Default="default",e.Max="max"}(Vt||(Vt={}));var Ft,zt="--den-";!function(e){e.Global="global",e.Area="area"}(Ft||(Ft={}));var At;!function(e){e.Hover="hover",e.Click="click"}(At||(At={}));var Pt,Wt=function(t){function n(e){var n=t.call(this,e)||this;return n.state={hasError:!1,error:null,errorInfo:null},n}return y(n,t),n.getDerivedStateFromError=function(e){return{hasError:!0,error:e}},n.prototype.componentDidCatch=function(e,t){this.setState({errorInfo:t}),this.props.onError&&this.props.onError(e,t)},n.prototype.render=function(){var t;return this.state.hasError?this.props.fallback?"function"==typeof this.props.fallback?this.props.fallback(this.state.error,this.state.errorInfo):this.props.fallback:e("div",{className:"v-error-boundary",role:"alert",children:e(oe,{backgroundColor:b.Error,frontColor:b.White,padding:"1em",caption:"Component Error: ".concat((null===(t=this.state.error)||void 0===t?void 0:t.message)||"Unknown error")})}):this.props.children},n}(g),Ht=Object.freeze({__proto__:null,get AnimationCategory(){return $e},get AnimationDelay(){return nt},get AnimationRepeat(){return et},get AnimationSpeed(){return tt},get BackgroundPositionType(){return Pe},Base:ae,get BorderRadiusType(){return x},get BreakpointType(){return ne},get ColorType(){return b},Display:se,get DisplayCategory(){return ie},get DisplayType(){return le},Dock:ve,get DockAlignment(){return ue},get DockCategory(){return ce},get EllipseCategory(){return Rt},get FileCategory(){return ct},Flex:be,get FlexAlignContentType(){return me},get FlexAlignItemsType(){return ge},get FlexDirectionType(){return fe},FlexItem:we,get FlexItemAlignSelfType(){return ye},get FlexJustifyContentType(){return pe},get FlexWrapType(){return he},get FontFamilyType(){return w},get FontSizeType(){return T},get FontWeightType(){return C},get HandleSubmitCategory(){return je},get HyperlinkCategory(){return It},get ImageCategory(){return st},get LabelAlignType(){return $},get LabelCategory(){return G},get LabelType(){return Q},get LetterSpacingType(){return _},get LineCategory(){return Nt},get LineHeightType(){return S},get PaddingType(){return k},Position:J,PositionArea:K,get PositionAreaCategory(){return Z},get PositionCategory(){return N},get PositionType(){return E},Responsive:function(r){return n(t,{children:[e(se,{category:ie.Hidden,type:le.Down,breakpoint:r.breakpointType?r.breakpointType:ne.Small,children:r.desktop}),e(se,{category:ie.Hidden,type:le.Up,breakpoint:r.breakpointType?r.breakpointType:ne.Small,children:r.mobile})]})},SBaseline:Se,SBottom:ke,SCenter:Te,SLeft:_e,SMiddle:xe,SRight:Be,SStretch:Ie,STop:Oe,get ShadowCategory(){return Vt},get SvgCategory(){return Me},get TextAlignType(){return Lt},get TextCategory(){return Dt},get ThemeCategory(){return Ft},get TooltipCategory(){return At},VActionForm:function(t){return e("form",D({className:"v-action-form"},t,{children:t.children}))},VAnimation:at,VAudio:function(t){t.sources;var n=L(t,["sources"]),r=ae(n),o=r.getProps("audio").html;return e("audio",D({className:r.getClassName("v-audio"),style:r.getStyle(),controls:!0},o,{children:t.sources.map((function(t,n){return e("source",{src:t.src,type:t.type},"source".concat(n))}))}))},VBackground:function(t){t.image,t.imageWidth,t.imageHeight,t.position;var n,r=L(t,["image","imageWidth","imageHeight","position"]);n=t.imageWidth&&t.imageHeight?{backgroundImage:'url("'.concat(t.image,'")'),backgroundSize:"".concat(t.imageWidth," ").concat(t.imageHeight)}:{backgroundImage:'url("'.concat(t.image,'")')};var o=ae(D(D({},r),{style:n}));return e(ee,{_base:o,className:t.position?"v-background-".concat(t.position):"v-background",children:t.children})},VBase64File:function(t){var r=t.fileIcon,o=t.base64Image,a=L(t,["fileIcon","base64Image"]),i=ae(a),l=u({base64Image:o}),c=l[0],s=l[1];return n(ee,{_base:i,className:"v-base64file",children:[e(gt,{name:t.name,value:c.base64Image}),e(Xe,D({type:"file",isDefaultValue:!0,onChange:function(e){if(e.target.files&&1==e.target.files.length){var t=e.target.files[0],n=new FileReader;n.onloadend=function(){var e;e=n.result&&"string"==typeof n.result?n.result.replace("data:","").replace(/^.+,/,""):"Todo",s({base64Image:e})},n.readAsDataURL(t)}},overWrite:function(o){return n(He,{gap:"0.2em",onClick:function(){var e;null===(e=o.current)||void 0===e||e.click()},children:[r,e(pt,{fontSize:t.fontSize,category:st.Scale,src:"data:image/png;base64,".concat(c.base64Image),alt:"file"})]})}},a))]})},VBoundary:te,VCheckBox:function(t){var r=t.isChecked,o=L(t,["isChecked"]);return e(Xe,D({isAutoSize:t.isAutoSize,customAttributes:{checked:!!r},inheritClassName:"v-checkbox",type:"checkbox",isDefaultValue:!0,overWrite:function(o){return n(Ae,{gap:"0.2em",role:"checkbox","aria-checked":!!r,"aria-label":t.label||t.name,tabIndex:0,onClick:function(){var e;null===(e=o.current)||void 0===e||e.click()},onKeyDown:function(e){var t;" "!==e.key&&"Enter"!==e.key||(e.preventDefault(),null===(t=o.current)||void 0===t||t.click())},children:[e(Je,{frontColor:t.frontColor,fontSize:t.fontSize,children:e(r?Ge:rt,{})}),!!t.label&&e(oe,{frontColor:t.frontColor,fontSize:t.fontSize,caption:t.label?t.label:""})]})}},o))},VColor:function(t){return e(Xe,D({type:"color",isDefaultValue:!0},t))},VDate:function(t){return e(Xe,D({type:"date",isDefaultValue:!0},t))},VDatetimeLocal:function(t){return e(Xe,D({type:"datetime-local",isDefaultValue:!0},t))},VDropdown:function(t){var r,o,a=t.ref,i=t.value,l=t.name,c=t.icon,d=t.emptyIcon,f=t.downIcon,g=t.upIcon,m=t.enableClear,v=t.items,y=t.dockCategory,C=t.dockAlignment,w=t.menuBackgroundColor,S=t.menuZIndex;t.onClick;var k=t.overWriteDropdownMenu,_=t.overWriteDropdownItem,x=t.handleChange,B=L(t,["ref","value","name","icon","emptyIcon","downIcon","upIcon","enableClear","items","dockCategory","dockAlignment","menuBackgroundColor","menuZIndex","onClick","overWriteDropdownMenu","overWriteDropdownItem","handleChange"]),I=ae(B),O=u({isSelectionShow:!1,selectValue:i||"",selectCaption:i?v.filter((function(e){return e.value==i}))[0].caption:"",items:v}),R=O[0],N=O[1],E=s(null),V=p();h((function(){"object"==typeof a&&a?a.current=E.current:"function"==typeof a&&a(E.current),t.autoFocus&&E.current&&E.current.focus()}),[]);var F=S||de;return e(ve,{width:"fit-content",overlayZIndex:R.isSelectionShow?F:-2147483648,category:y||ce.RightBottom,alignment:C||ue.Vertical,renderOverlay:function(){return e(te,{visibility:R.isSelectionShow?"visible":"hidden",borderRadius:t.borderRadius,role:"listbox",id:V,children:k?k(R.items):n(He,{backgroundColor:w||b.White,padding:"1em 0",gap:"0.6em",borderRadius:"0.2em",borderColor:t.borderColor,borderWidth:t.borderWidth,borderStyle:"solid",children:[R.items.map((function(t){return _?e(te,{role:"option","aria-selected":t.value===R.selectValue,children:_(t)},t.value):n(Ae,{gap:"0.2em",padding:"0.2em 1em",className:"item",role:"option","aria-selected":t.value===R.selectValue,onClick:function(){N(D(D({},R),{isSelectionShow:!1,selectIcon:t.icon,selectCaption:t.caption,selectValue:t.value,items:v})),x&&x(t.value)},children:[t.icon?e(Je,{fontSize:T.ExtraSmall,children:t.icon}):e(te,{className:"v-dropdown-icon-fragment"}),e(oe,{caption:t.caption})]},t.value)})),!(0!=R.items.length)&&e(Je,{fontSize:T.ExtraSmall,onClick:function(){},children:d})]})})},children:n(Ee,D({className:I.getClassName("v-dropdown"),style:I.getStyle(t.style)},B,{role:"combobox","aria-expanded":R.isSelectionShow,"aria-haspopup":"listbox","aria-controls":V,onClick:function(){N(D(D({},R),{isSelectionShow:!R.isSelectionShow}))},children:[n(te,{children:[e(Bt,{ref:E,id:t.id,padding:0,fontSize:t.fontSize,frontColor:t.frontColor,icon:e(Je,{fontSize:t.iconSize?t.iconSize:T.Small,children:R.selectIcon?R.selectIcon:c}),valueHook:null===(r=R.selectCaption)||void 0===r?void 0:r.toString(),enableClear:m,renderOptions:t.renderOptions,onChange:function(e){var t;t=e.target.value,N(D(D({},R),{isSelectionShow:!0,selectCaption:t,items:v.filter((function(e){return e.caption.toLowerCase().indexOf(t.toLowerCase())>-1}))}))}}),e(gt,{name:l,valueHook:null===(o=R.selectValue)||void 0===o?void 0:o.toString()})]}),e(Je,{fontSize:t.iconSize?t.iconSize:T.Small,children:R.isSelectionShow?f:g})]}))})},VEllipse:function(t){t.category;var n=L(t,["category"]),r=ae(n);return e(ee,{_base:r,className:"v-ellipse-".concat(t.category?t.category:Rt.Default),children:t.children})},VEmail:function(t){return e(Xe,D({inheritClassName:"v-email",isDefaultValue:!0,type:"email"},t))},VErrorBoundary:Wt,VFile:function(t){var r=t.category,o=t.appearance;t.loader;var a=t.loaderSize,i=t.loaderColor,l=t.isPreview,c=t.previewImageWidth,d=t.textLength,f=t.autoUpload,p=t.renderLoader,g=t.renderPreview,m=L(t,["category","appearance","loader","loaderSize","loaderColor","isPreview","previewImageWidth","textLength","autoUpload","renderLoader","renderPreview"]),v=s(null),y=u({inputFiles:[],isLoading:!1}),b=y[0],C=y[1],w=function(){C((function(e){return D(D({},e),{isLoading:!1})}))};h((function(){return function(){return b.inputFiles.forEach((function(e){e.objectUrl&&URL.revokeObjectURL(e.objectUrl)}))}}),[b.inputFiles]);var S=function(e){e.preventDefault(),e.currentTarget.className="v-file"},k=ae(D({onDrop:function(e){e.preventDefault();var t=Array.from(e.dataTransfer.files),n=t.map((function(e){return{name:e.name,objectUrl:dt(e)?URL.createObjectURL(e):void 0}}));n.length>0&&(f?(C(D(D({},b),{inputFiles:n,isLoading:!0})),f(t,w),e.currentTarget.className="v-file"):(C(D(D({},b),{inputFiles:n})),e.currentTarget.className="v-file",console.error("Need Todo.")))},onDragOver:function(e){e.preventDefault(),e.currentTarget.className="v-file on-drag"},onDragEnd:S,onDragLeave:S,onDragExit:S},m));return e(ee,{_base:k,className:"v-file",children:e(Xe,D({type:"file",isDefaultValue:!0,ref:v},m,{onChange:function(e){var t,n=Array.from(null!==(t=e.target.files)&&void 0!==t?t:[]),r=n.map((function(e){return{name:e.name,objectUrl:dt(e)?URL.createObjectURL(e):void 0}}));C(D(D({},b),{inputFiles:r})),f&&(C(D(D({},b),{inputFiles:r,isLoading:!0})),f(n,w))},overWrite:function(t){return l?g?e(te,{cursor:"pointer",onClick:function(){var e;null===(e=t.current)||void 0===e||e.click()},children:g(b.inputFiles,b.isLoading)}):r==ct.Vertical?n(He,{gap:"1em",onClick:function(){var e;null===(e=t.current)||void 0===e||e.click()},cross:De.Center,children:[!(0!=b.inputFiles.length)&&o,!(0==b.inputFiles.length)&&e(He,{gap:"0.6em",children:b.inputFiles.map((function(t){return n(He,{cross:De.Center,children:[!!t.objectUrl&&e(te,{children:e("img",{src:t.objectUrl,alt:t.name,width:c||120})}),e(oe,{fontSize:T.Small,caption:t.name.length>(d||12)?t.name.slice(0,d||12)+"…":t.name})]},"file-".concat(t.name))}))}),!!b.isLoading&&(p?p():e(it,{animationCategory:$e.Flash,children:e(ze,{children:e(Je,{fontSize:a,frontColor:i,children:e(ut,{})})})}))]}):n(Re,{gap:"1em",children:[n(Re,{gap:"1em",onClick:function(){var e;null===(e=t.current)||void 0===e||e.click()},children:[!(0!=b.inputFiles.length)&&o,!(0==b.inputFiles.length)&&e(He,{gap:"0.6em",children:b.inputFiles.map((function(t){return n(He,{cross:De.Center,children:[!!t.objectUrl&&e(te,{children:e("img",{src:t.objectUrl,alt:t.name,width:c||120})}),e(oe,{fontSize:T.Small,caption:t.name.length>(d||12)?t.name.slice(0,d||12)+"…":t.name})]},"file-".concat(t.name))}))})]}),!!b.isLoading&&(p?p():e(it,{animationCategory:$e.Flash,children:e(Je,{fontSize:a,frontColor:i,children:e(ut,{})})}))]}):e(te,{cursor:"pointer",onClick:function(){var e;null===(e=t.current)||void 0===e||e.click()},children:o})}}))})},VFooter:function(t){var n=ae(t),r=n.getProps("footer").html;return e("footer",D({className:n.getClassName("v-footer"),style:n.getStyle()},r,{children:t.children}))},VForm:function(t){t.handleSubmitCategory;var n=L(t,["handleSubmitCategory"]),r=ae(n),o=r.getProps("main").html;return e("form",D({className:r.getClassName("v-form"),style:r.getStyle(),onSubmit:function(e){if(e.preventDefault(),!t.handleValidateError||e.currentTarget.checkValidity()){for(var n=0;n<e.currentTarget.elements.length;n++){(i=(a=e.currentTarget.elements.item(n)).closest(".v-validity"))&&i.classList.remove("invalid")}var r=new FormData(e.currentTarget);if(t.handleSubmitCategory==je.FormData)t.handleSubmit(r);else{var o=Ue(r);t.handleSubmit(o)}}else for(n=0;n<e.currentTarget.elements.length;n++){var a,i;(i=(a=e.currentTarget.elements.item(n)).closest(".v-validity"))&&(a.checkValidity()?i.classList.remove("invalid"):i.classList.add("invalid")),t.handleValidateError&&t.handleValidateError(a)}}},o,{children:t.children}))},VFrame:function(t){var n,r=t.image,o=t.backingBoard,a=t.style,i=L(t,["image","backingBoard","style"]),l=ae(i);return o&&(n=D(D({},a),{background:"linear-gradient(".concat(o.degree,", ").concat(o.startColor,", ").concat(o.endColor,")")})),e(ee,D({_base:l,className:"v-frame",style:n},t.customAttributes,{children:e("div",{style:{backgroundImage:"url(".concat(r,")"),backgroundRepeat:"no-repeat",backgroundSize:"cover"},children:t.children})}))},VGroup:function(n){var r=u({selectedValue:n.selectedValue}),o=r[0],a=r[1];return e(t,{children:n.renderGroup(o.selectedValue,(function(e){a({selectedValue:e.currentTarget.value})}))})},VHR:function(t){var n=ae(t),r=n.getProps("hr").html;return e("hr",D({className:n.getClassName("v-hr"),style:n.getStyle()},r))},VHeader:function(t){var n=ae(t),r=n.getProps("header").html;return e("header",D({className:n.getClassName("v-header"),style:n.getStyle()},r,{children:t.children}))},VHidden:gt,VHyperlink:function(t){var n=t.category,r=t.to,o=L(t,["category","to"]),a=ae(o),i=a.getProps("a").html;return e(ee,{_base:a,className:"v-hyperlink",children:e("a",D({href:r,target:n},i,{children:t.children}))})},VImage:pt,VLabel:oe,VLine:function(t){t.category;var n=L(t,["category"]),r=ae(n);return e(ee,{_base:r,className:"v-line-".concat(t.category)})},VLoading:it,VMain:function(t){var n=ae(t),r=n.getProps("main").html;return e("main",D({className:n.getClassName("v-main"),style:n.getStyle()},r,{children:t.children}))},VMask:function(t){var n=ae(D({width:"100vw",height:"100vh",backgroundColor:b.Dark75},t));return e(J,{zIndex:t.zIndex?t.zIndex:1e8,category:N.Window,type:E.Center,children:e(K,{children:e(ee,{_base:n,className:"v-mask",children:e(J,{category:N.Area,type:E.Center,children:t.children})})})})},VMonth:function(t){return e(Xe,D({type:"month",isDefaultValue:!0},t))},VNumber:function(t){return e(Xe,D({type:"number",isDefaultValue:!0},t))},VPassword:function(t){return e(Xe,D({inheritClassName:"v-password",isDefaultValue:!0,type:"password"},t))},VRadio:function(t){var r=t.isChecked,o=L(t,["isChecked"]);return e(Xe,D({type:"radio",customAttributes:{checked:!!r},isDefaultValue:!0},o,{overWrite:function(o){return n(Ae,{role:"radio","aria-checked":!!r,"aria-label":t.label||t.name,tabIndex:0,onClick:function(){var e;null===(e=o.current)||void 0===e||e.click()},onKeyDown:function(e){var t;" "!==e.key&&"Enter"!==e.key||(e.preventDefault(),null===(t=o.current)||void 0===t||t.click())},children:[e(Je,{padding:"0.4em",frontColor:t.frontColor,fontSize:t.fontSize,children:e(r?yt:St,{})}),!!t.label&&e(oe,{frontColor:t.frontColor,fontSize:t.fontSize,caption:t.label?t.label:""})]})}}))},VRange:function(t){var n=t.thumbColor,r=t.thumbBorderColor,o=t.trackColor,a=L(t,["thumbColor","thumbBorderColor","trackColor"]),i="".concat(n,"-thumb-background ").concat(r,"-thumb-border ").concat(o,"-track-background");return e(Xe,D({type:"range",inputClassName:i},a))},VRectangle:function(t){t.category;var n=L(t,["category"]),r=ae(n);return e(ee,{_base:r,className:"v-rectangle-".concat(t.category?t.category:Et.Default)})},VSearch:function(t){return e(Xe,D({type:"search",isDefaultValue:!0,inheritClassName:"v-search"},t))},VSection:function(t){var n=ae(t),r=n.getProps("section").html;return e("section",D({className:n.getClassName("v-section"),style:n.getStyle()},r,{children:t.children}))},VSelect:function(t){var n=t.name;t.items;var r=t.value,o=t.isMultiple;t.fontFamily;var a=L(t,["name","items","value","isMultiple","fontFamily"]),i=ae(a),l=i.getProps("select").html;return e(ee,{_base:i,className:"v-select",children:e("select",D({multiple:o,name:n,defaultValue:r,"aria-label":n},l,{children:t.items.map((function(t){return e("option",{value:t.value,children:t.caption},t.value)}))}))})},VShadow:function(n){var r=ae(n);return e(t,{children:o.map(n.children,(function(t){return function(t){if(t){var o={};n.x&&n.y&&n.blur&&n.spread&&n.color&&(o.boxShadow="".concat(n.x,"px ").concat(n.y,"px ").concat(n.blur,"px ").concat(n.spread,"px ").concat(n.color));var l={className:r.getClassName("v-shadow-".concat(n.category?n.category:Vt.Default)),style:D(D({},o),r.getStyle())};return t.type===a||"<>"===t.type?(console.warn("Cannot apply props to Fragment. Please wrap content in a div or other element."),t):i(t,l)}return e(oe,{backgroundColor:b.Error,caption:"[VShadow] No Children!"})}(t)}))})},VSubmit:function(t){var r=t.ref;t.caption,t.isFormNoValidate;var o=L(t,["ref","caption","isFormNoValidate"]),a=s(null);h((function(){"object"==typeof r&&r?r.current=a.current:"function"==typeof r&&r(a.current),t.autoFocus&&a.current&&a.current.focus()}),[]);var i=ae(D({onClick:function(){a.current.click()}},o)),l=i.getProps("input").html;return n(ee,{_base:i,className:"v-submit",children:[n(ze,{cross:Ce.Middle,children:[!!t.icon&&e("span",{children:t.icon}),!!t.caption&&e("span",{children:t.caption})]}),e("input",D({formNoValidate:t.isFormNoValidate,ref:a,type:"submit"},l))]})},VSubmitWrapper:function(t){var r=ae(t),o=s(null);return n("div",{className:r.getClassName("v-submit-wrapper"),style:r.getStyle(),children:[t.body,e("input",{ref:o,type:"submit"})]})},VSvg:Je,VSwitch:function(t){var r=t.isOn,o=t.icon,a=t.gap,i=t.isDisabled,l=t.onSwitch,c=L(t,["isOn","icon","gap","isDisabled","onSwitch"]),s=u({isOn:r}),d=s[0],f=s[1];h((function(){f({isOn:r})}),[r]);var p=o?e(Je,{margin:d.isOn?"0 0.6em 0 0":"0 0 0 0.6em ",frontColor:b.White,fontSize:T.Normal,children:o}):e(te,{width:"1em",height:"1em"}),g=t.isDisabled?void 0:function(){t.isDisabled||(l&&l(!d.isOn),f({isOn:!d.isOn}))},m=ae(D({onClick:g},c));return e(ee,{_base:m,className:i?"v-switch-disabled":"v-switch",children:n(Fe,{role:"switch","aria-checked":d.isOn,"aria-disabled":i,tabIndex:i?-1:0,onKeyDown:g?function(e){" "!==e.key&&"Enter"!==e.key||(e.preventDefault(),g())}:void 0,borderRadius:"32em",backgroundColor:d.isOn?t.frontColor?t.frontColor:b.Success:t.backgroundColor?t.backgroundColor:b.Placeholder,gap:a||"0.6em",children:[d.isOn?e(Je,{category:Me.Circle,frontColor:b.White,children:e(Ot,{})}):p,d.isOn?p:e(Je,{category:Me.Circle,frontColor:b.White,children:e(Ot,{})})]})})},VTel:function(t){return e(Xe,D({inheritClassName:"v-tel",isDefaultValue:!0,type:"tel"},t))},VText:function(t){var n=t.category;t.alignType;var r,o,a=t.renderContent,i=L(t,["category","alignType","renderContent"]),l=ae(i);switch(t.alignType){case Lt.Center:o="v-text-center";break;case Lt.Justify:o="v-text-justify";break;case Lt.Left:o="v-text";break;case Lt.Right:o="v-text-right";break;default:o="v-text"}if(n){var u=n,s=l.getProps(u).html;r=c(u,s,a())}else{s=l.getProps("span").html;r=c("span",s,a())}return e(ee,{_base:l,className:o,children:r})},VTextArea:function(t){var r=t.ref;t.icon;var o=t.valueHook,a=t.setStateHook,i=L(t,["ref","icon","valueHook","setStateHook"]),l=ae(i),c=l.getProps("textarea").html,d=u({value:t.value}),f=d[0],p=d[1],g=s(null);return h((function(){"object"==typeof r&&r?r.current=g.current:"function"==typeof r&&r(g.current),t.autoFocus&&g.current&&g.current.focus()}),[]),e(ee,{category:q.Display,_base:l,className:"v-validity v-textarea",children:n(Ve,{cross:Ce.Top,gap:"0.6em",children:[t.icon,e(te,{children:e("textarea",D({ref:g},c,{id:t.id?t.id:t.name,value:o?t.valueHook:f.value,onChange:function(e){t.onChange&&t.onChange(e),a?a(e.target.value):p({value:e.target.value})}}))})]})})},VTextBox:Bt,VTheme:function(t){var n=t.category,r=t.area,o=t.theme,a=L(t,["category","area","theme"]),i=ae(D({id:r},a));return h((function(){var e;n==Ft.Area?r&&(e=document.getElementById(r)):e=document.documentElement,e&&(Object.keys(o.colors).forEach((function(t){e.style.setProperty("".concat(zt,"color-").concat(t),o.colors[t])})),Object.keys(o.fontSizes).forEach((function(t){e.style.setProperty("".concat(zt).concat(t),o.fontSizes[t])})),Object.keys(o.fontWeights).forEach((function(t){e.style.setProperty("".concat(zt).concat(t),o.fontWeights[t])})))}),[]),n==Ft.Area?e(ee,{_base:i,className:"v-theme",children:t.children}):e(oe,{backgroundColor:b.Error,caption:"[VTheme] No Area!"})},VTime:function(t){return e(Xe,D({type:"time",isDefaultValue:!0},t))},VTooltip:function(t){var n,r=t.category,o=t.dockCategory,a=t.dockAlignment,i=t.renderOverlay,l=L(t,["category","dockCategory","dockAlignment","renderOverlay"]),c=ae(l),s=u({isShow:!1}),d=s[0],f=s[1],h=p();return n=r||At.Hover,e(ee,{_base:c,className:"v-tooltip",children:e(ve,{category:o,alignment:a,renderOverlay:function(){return d.isShow?e(te,{role:"tooltip",id:h,children:i()}):e(te,{className:"v-tooltip-overlay-fragment","aria-hidden":!0})},children:e(te,{"aria-describedby":d.isShow?h:void 0,onClick:function(){n==At.Click&&f({isShow:!d.isShow})},onMouseEnter:function(){n==At.Hover&&f({isShow:!0})},onMouseLeave:function(){n==At.Hover&&f({isShow:!1})},onFocus:function(){n==At.Hover&&f({isShow:!0})},onBlur:function(){n==At.Hover&&f({isShow:!1})},children:t.children})})})},VUrl:function(t){return e(Xe,D({inheritClassName:"v-url",isDefaultValue:!0,type:"url"},t))},VVideo:function(t){t.sources;var n=L(t,["sources"]),r=ae(n),o=r.getProps("video").html;return e("video",D({className:r.getClassName("v-label"),style:r.getStyle(),controls:!0},o,{children:t.sources.map((function(t,n){return e("source",{src:t.src,type:t.type},"source".concat(n))}))}))},VWeek:function(t){return e(Xe,D({type:"week",isDefaultValue:!0},t))},VZone:function(t){var n=t.category,r=L(t,["category"]),o=ae(r);return e(ee,{_base:o,className:"v-zone-".concat(n),children:t.children})},get ViewSizeType(){return B},X:Re,XAround:function(e){return Le(e,void 0,void 0,(function(){return pe.SpaceAround}))},XAutoBoth:function(t){var n=ae(t);return Le(t,(function(t,r,a,i){return 0!=r&&r!=o.count(n.getChildren())-1?e(we,{grow:0,alignSelf:a,shrink:i,children:t}):e(we,{grow:1,alignSelf:a,shrink:i,children:t})}))},XAutoCenter:Ne,XAutoLeft:Ee,XAutoLefts:function(t){var n=ae(t);return Le(t,(function(t,r,a,i){return r==o.count(n.getChildren())-1?e(we,{grow:0,alignSelf:a,shrink:i,children:t}):e(we,{grow:1,alignSelf:a,shrink:i,children:t})}))},XAutoRight:Ve,XAutoRights:function(t){return Le(t,(function(t,n,r,o){return e(we,0==n?{grow:0,alignSelf:r,shrink:o,children:t}:{grow:1,alignSelf:r,shrink:o,children:t})}))},XBetween:Fe,XCenter:ze,get XCrossType(){return Ce},XCustom:function(t){return Le(t,(function(n,r,o,a){var i=e(we,{shrink:a,children:n});return t.basises&&r<t.basises.length&&(i=e(we,{basis:t.basises[r],shrink:a,children:n})),i}))},XCustomBoth:function(t){var n=ae(t);return Le(t,(function(r,a,i,l){return 0==a||a==o.count(n.getChildren())-1?e(we,{basis:t.basis,shrink:l,children:r}):e(we,{grow:1,shrink:l,children:r})}))},XEvenly:function(e){return Le(e,void 0,void 0,(function(){return pe.SpaceEvenly}))},XLeft:Ae,XRight:function(e){return Le(e,void 0,void 0,(function(){return pe.End}))},XWrapAround:function(e){return Le(e,void 0,(function(){return he.Wrap}),void 0,(function(){return me.SpaceAround}))},XWrapBetween:function(e){return Le(e,void 0,(function(){return he.Wrap}),void 0,(function(){return me.SpaceBetween}))},XWrapBottom:function(e){return Le(e,void 0,(function(){return he.Wrap}),void 0,(function(){return me.End}))},XWrapEvenly:function(e){return Le(e,void 0,(function(){return he.Wrap}),void 0,(function(){return me.SpaceEvenly}))},XWrapMiddle:function(e){return Le(e,void 0,(function(){return he.Wrap}),void 0,(function(){return me.Center}))},XWrapTop:function(e){return Le(e,void 0,(function(){return he.Wrap}),void 0,(function(){return me.Start}))},Y:He,YAround:function(e){return We(e,void 0,void 0,void 0,(function(){return pe.SpaceAround}))},YAutoBoth:function(t){var n=ae(t);return We(t,(function(t,r,a,i){return 0!=r&&r!=o.count(n.getChildren())-1?e(we,{grow:0,alignSelf:a,shrink:i,children:t}):e(we,{grow:1,alignSelf:a,shrink:i,children:t})}))},YAutoBottom:function(t){var n=ae(t);return We(t,(function(t,r,a,i){return r==o.count(n.getChildren())-1?e(we,{grow:1,shrink:i,children:t}):e(we,{grow:0,shrink:i,children:t})}))},YAutoBottoms:function(t){return We(t,(function(t,n,r,o){return e(we,0==n?{grow:0,alignSelf:r,shrink:o,children:t}:{grow:1,alignSelf:r,shrink:o,children:t})}))},YAutoCenter:function(t){var n=ae(t);return We(t,(function(t,r,a,i){return 0!=r&&r!=o.count(n.getChildren())-1?e(we,{grow:1,alignSelf:a,shrink:i,children:t}):e(we,{grow:0,alignSelf:a,shrink:i,children:t})}))},YAutoTop:function(t){return We(t,(function(t,n,r,o){return e(we,0==n?{grow:1,alignSelf:r,shrink:o,children:t}:{grow:0,alignSelf:r,shrink:o,children:t})}))},YAutoTops:function(t){var n=ae(t);return We(t,(function(t,r,a,i){return r==o.count(n.getChildren())-1?e(we,{grow:0,alignSelf:a,shrink:i,children:t}):e(we,{grow:1,alignSelf:a,shrink:i,children:t})}))},YBetween:function(e){return We(e,void 0,void 0,void 0,(function(){return pe.SpaceBetween}))},YBottom:function(e){return We(e,void 0,void 0,void 0,(function(){return pe.End}))},get YCrossType(){return De},YCustom:function(t){return We(t,(function(n,r,o,a){var i=e(we,{shrink:a,children:n});return t.basises&&r<t.basises.length&&(i=e(we,{basis:t.basises[r],shrink:a,children:n})),i}))},YCustomBoth:function(t){var n=ae(t);return We(t,(function(r,a,i,l){return 0==a||a==o.count(n.getChildren())-1?e(we,{basis:t.basis,shrink:l,children:r}):e(we,{grow:1,shrink:l,children:r})}))},YEvenly:function(e){return We(e,void 0,void 0,void 0,(function(){return pe.SpaceEvenly}))},YMiddle:function(e){return We(e,void 0,void 0,void 0,(function(){return pe.Center}))},YTop:function(e){return We(e,void 0,void 0,void 0,(function(){return pe.Start}))},YWrapAround:function(e){return We(e,void 0,(function(){return he.Wrap}),(function(){return me.SpaceAround}),void 0)},YWrapBetween:function(e){return We(e,void 0,(function(){return he.Wrap}),(function(){return me.SpaceBetween}))},YWrapCenter:function(e){return We(e,void 0,(function(){return he.Wrap}),(function(){return me.Center}))},YWrapEvenly:function(e){return We(e,void 0,(function(){return he.Wrap}),(function(){return me.SpaceEvenly}))},YWrapLeft:function(e){return We(e,void 0,(function(){return he.Wrap}),(function(){return me.Start}))},YWrapRight:function(e){return We(e,void 0,(function(){return he.Wrap}),(function(){return me.End}))},get ZoneCategory(){return re},convertFormDataToJson:Ue,getGeneratedClassName:W});!function(e){e.Components=Ht}(Pt||(Pt={}));export{Pt as Den};
1
+ import{jsx as e,Fragment as t,jsxs as n}from"react/jsx-runtime";import*as r from"react";import{Children as o,Fragment as a,cloneElement as i,memo as l,createElement as c,useRef as s,useCallback as u,useLayoutEffect as d,useEffect as f,useState as p,useId as h,Component as g}from"react";var m=function(e,t){return m=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)Object.prototype.hasOwnProperty.call(t,n)&&(e[n]=t[n])},m(e,t)};function v(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Class extends value "+String(t)+" is not a constructor or null");function n(){this.constructor=e}m(e,t),e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)}var y,b,C,w,S,k,_,x,T,B,N,O,I,D,L,R,z,E,V,F,A,P,W=function(){return W=Object.assign||function(e){for(var t,n=1,r=arguments.length;n<r;n++)for(var o in t=arguments[n])Object.prototype.hasOwnProperty.call(t,o)&&(e[o]=t[o]);return e},W.apply(this,arguments)};function j(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols){var o=0;for(r=Object.getOwnPropertySymbols(e);o<r.length;o++)t.indexOf(r[o])<0&&Object.prototype.propertyIsEnumerable.call(e,r[o])&&(n[r[o]]=e[r[o]])}return n}function H(e,t,n){if(n||2===arguments.length)for(var r,o=0,a=t.length;o<a;o++)!r&&o in t||(r||(r=Array.prototype.slice.call(t,0,o)),r[o]=t[o]);return e.concat(r||Array.prototype.slice.call(t))}"function"==typeof SuppressedError&&SuppressedError,function(e){e.Font="font",e.Body="body",e.White="white",e.Black="black",e.Light="light",e.Light75="light75",e.Light50="light50",e.Light25="light25",e.Dark="dark",e.Dark75="dark75",e.Dark50="dark50",e.Dark25="dark25",e.Primary="primary",e.Primary75="primary75",e.Primary50="primary50",e.Primary25="primary25",e.Secondary="secondary",e.Secondary75="secondary75",e.Secondary50="secondary50",e.Secondary25="secondary25",e.Tertiary="tertiary",e.Tertiary75="tertiary75",e.Tertiary50="tertiary50",e.Tertiary25="tertiary25",e.Info="info",e.Info75="info75",e.Info50="info50",e.Info25="info25",e.Success="success",e.Success75="success75",e.Success50="success50",e.Success25="success25",e.Warning="warning",e.Warning75="warning75",e.Warning50="warning50",e.Warning25="warning25",e.Error="error",e.Error75="error75",e.Error50="error50",e.Error25="error25",e.Border="border",e.Border75="border75",e.Border50="border50",e.Border25="border25",e.Placeholder="placeholder",e.Placeholder75="placeholder75",e.Placeholder50="placeholder50",e.Placeholder25="placeholder25",e.Transparent="transparent"}(y||(y={})),function(e){e.Thin="font-weight-thin",e.ExtraLight="font-weight-extra-light",e.Light="font-weight-light",e.Regular="font-weight-regular",e.Medium="font-weight-medium",e.SemiBold="font-weight-semi-bold",e.Bold="font-weight-bold",e.ExtraBold="font-weight-extra-bold",e.Black="font-weight-black"}(b||(b={})),function(e){e.Default="font-family"}(C||(C={})),function(e){e.Default="line-height"}(w||(w={})),function(e){e.Default="padding",e.Normal="padding-normal",e.ExtraSmall="padding-extra-small",e.Small="padding-small",e.Large="padding-large",e.ExtraLarge="padding-extra-large"}(S||(S={})),function(e){e.Default="margin",e.Normal="margin-normal",e.ExtraSmall="margin-extra-small",e.Small="margin-small",e.Large="margin-large",e.ExtraLarge="margin-extra-large"}(k||(k={})),function(e){e.Default="gap",e.Normal="gap-normal",e.ExtraSmall="gap-extra-small",e.Small="gap-small",e.Large="gap-large",e.ExtraLarge="gap-extra-large"}(_||(_={})),function(e){e.Default="letter-spacing"}(x||(x={})),function(e){e.Default="border-radius",e.Normal="border-radius-normal",e.ExtraSmall="border-radius-extra-small",e.Small="border-radius-small",e.Large="border-radius-large",e.ExtraLarge="border-radius-extra-large",e.Max="border-radius-max"}(T||(T={})),function(e){e.None="border-style-none",e.Solid="border-style-solid",e.Dashed="border-style-dashed",e.Dotted="border-style-dotted",e.Double="border-style-double",e.Groove="border-style-groove",e.Ridge="border-style-ridge",e.Inset="border-style-inset",e.Outset="border-style-outset",e.Hidden="border-style-hidden"}(B||(B={})),function(e){e.Default="border-width",e.Normal="border-width-normal",e.ExtraSmall="border-width-extra-small",e.Small="border-width-small",e.Large="border-width-large",e.ExtraLarge="border-width-extra-large"}(N||(N={})),function(e){e.Visible="visibility-visible",e.Hidden="visibility-hidden",e.Collapse="visibility-collapse"}(O||(O={})),function(e){e.None="display-none",e.Block="display-block",e.Inline="display-inline",e.InlineBlock="display-inline-block",e.Flex="display-flex",e.InlineFlex="display-inline-flex",e.Grid="display-grid",e.InlineGrid="display-inline-grid",e.Table="display-table",e.TableRow="display-table-row",e.TableCell="display-table-cell",e.Contents="display-contents",e.FlowRoot="display-flow-root"}(I||(I={})),function(e){e.Auto="cursor-auto",e.Default="cursor-default",e.None="cursor-none",e.ContextMenu="cursor-context-menu",e.Help="cursor-help",e.Pointer="cursor-pointer",e.Progress="cursor-progress",e.Wait="cursor-wait",e.Cell="cursor-cell",e.Crosshair="cursor-crosshair",e.Text="cursor-text",e.VerticalText="cursor-vertical-text",e.Alias="cursor-alias",e.Copy="cursor-copy",e.Move="cursor-move",e.NoDrop="cursor-no-drop",e.NotAllowed="cursor-not-allowed",e.Grab="cursor-grab",e.Grabbing="cursor-grabbing",e.AllScroll="cursor-all-scroll",e.ColResize="cursor-col-resize",e.RowResize="cursor-row-resize",e.NResize="cursor-n-resize",e.EResize="cursor-e-resize",e.SResize="cursor-s-resize",e.WResize="cursor-w-resize",e.NeResize="cursor-ne-resize",e.NwResize="cursor-nw-resize",e.SeResize="cursor-se-resize",e.SwResize="cursor-sw-resize",e.EwResize="cursor-ew-resize",e.NsResize="cursor-ns-resize",e.NeswResize="cursor-nesw-resize",e.NwseResize="cursor-nwse-resize",e.ZoomIn="cursor-zoom-in",e.ZoomOut="cursor-zoom-out"}(D||(D={})),function(e){e.Visible="overflow-visible",e.Hidden="overflow-hidden",e.Scroll="overflow-scroll",e.Auto="overflow-auto",e.Clip="overflow-clip"}(L||(L={})),function(e){e.Visible="overflow-x-visible",e.Hidden="overflow-x-hidden",e.Scroll="overflow-x-scroll",e.Auto="overflow-x-auto",e.Clip="overflow-x-clip"}(R||(R={})),function(e){e.Visible="overflow-y-visible",e.Hidden="overflow-y-hidden",e.Scroll="overflow-y-scroll",e.Auto="overflow-y-auto",e.Clip="overflow-y-clip"}(z||(z={})),function(e){e._0="opacity-0",e._10="opacity-10",e._20="opacity-20",e._25="opacity-25",e._30="opacity-30",e._40="opacity-40",e._50="opacity-50",e._60="opacity-60",e._70="opacity-70",e._75="opacity-75",e._80="opacity-80",e._90="opacity-90",e._100="opacity-100"}(E||(E={})),function(e){e.Ellipse="v-ellipse-size",e.Rectangle="v-rectangle-size",e.Image="v-image-size",e.Svg="v-svg-size",e.Window="v-window-size"}(V||(V={})),function(e){e.Default="font-size",e.Normal="font-size-normal",e.Small="font-size-small",e.ExtraSmall="font-size-extra-small",e.Large="font-size-large",e.ExtraLarge="font-size-extra-large",e.AutoNormal="auto-font-size-normal",e.AutoSmall="auto-font-size-small",e.AutoExtraSmall="auto-font-size-extra-small",e.AutoLarge="auto-font-size-large",e.AutoExtraLarge="auto-font-size-extra-large"}(F||(F={})),function(e){e.All="all",e.Before="before",e.After="after"}(A||(A={})),function(e){e.All="all",e.Top="top",e.Right="right",e.Bottom="bottom",e.Left="left",e.ExceptTop="except-top",e.ExceptRight="except-right",e.ExceptBottom="except-bottom",e.ExceptLeft="except-left",e.RightTop="right-top",e.RightBottom="right-bottom",e.LeftTop="left-top",e.LeftBottom="left-bottom",e.TopBottom="top-bottom",e.LeftRight="left-right"}(P||(P={}));var U,M=function(){function e(e){this.className=e}return e.prototype.getClassName=function(){return"".concat(this.className)},e}(),X=function(e){this.component=e},Y=function(e){function t(t,n,r){var o=e.call(this,t)||this;return o.sizeType=n,o.isAuto=r,o}return v(t,e),t.prototype.getClassName=function(){if(this.sizeType){var e=void 0;return e=Object.values(F).includes(this.sizeType)?this.sizeType:"font-size-".concat(this.sizeType),"".concat(this.component.getClassName()," ").concat(this.isAuto?"auto-".concat(e):e)}return this.component.getClassName()},t}(X),Z=function(e){function t(t,n){var r=e.call(this,t)||this;return r.weightType=n,r}return v(t,e),t.prototype.getClassName=function(){return this.weightType?"".concat(this.component.getClassName()," ").concat(this.weightType):this.component.getClassName()},t}(X),G=function(e){function t(t,n){var r=e.call(this,t)||this;return r.visibility=n,r}return v(t,e),t.prototype.getClassName=function(){if(this.visibility){var e=void 0;return e=Object.values(O).includes(this.visibility)?this.visibility:"visibility-".concat(this.visibility),"".concat(this.component.getClassName()," ").concat(e)}return this.component.getClassName()},t}(X),J=function(e){function t(t,n){var r=e.call(this,t)||this;return r.cursor=n,r}return v(t,e),t.prototype.getClassName=function(){if(this.cursor){var e=void 0;return e=Object.values(D).includes(this.cursor)?this.cursor:"cursor-".concat(this.cursor),"".concat(this.component.getClassName()," ").concat(e)}return this.component.getClassName()},t}(X),q=function(e){function t(t,n){var r=e.call(this,t)||this;return r.overflow=n,r}return v(t,e),t.prototype.getClassName=function(){if(this.overflow){var e=void 0;return e=Object.values(L).includes(this.overflow)?this.overflow:"overflow-".concat(this.overflow),"".concat(this.component.getClassName()," ").concat(e)}return this.component.getClassName()},t}(X),K=function(e){function t(t,n){var r=e.call(this,t)||this;return r.overflowX=n,r}return v(t,e),t.prototype.getClassName=function(){if(this.overflowX){var e=void 0;return e=Object.values(R).includes(this.overflowX)?this.overflowX:"overflow-x-".concat(this.overflowX),"".concat(this.component.getClassName()," ").concat(e)}return this.component.getClassName()},t}(X),Q=function(e){function t(t,n){var r=e.call(this,t)||this;return r.overflowY=n,r}return v(t,e),t.prototype.getClassName=function(){if(this.overflowY){var e=void 0;return e=Object.values(z).includes(this.overflowY)?this.overflowY:"overflow-y-".concat(this.overflowY),"".concat(this.component.getClassName()," ").concat(e)}return this.component.getClassName()},t}(X),$=function(e){function t(t,n){var r=e.call(this,t)||this;return r.display=n,r}return v(t,e),t.prototype.getClassName=function(){if(this.display){var e=void 0;return e=Object.values(I).includes(this.display)?this.display:"display-".concat(this.display),"".concat(this.component.getClassName()," ").concat(e)}return this.component.getClassName()},t}(X),ee=function(e){function t(t,n){var r=e.call(this,t)||this;return r.opacityType=n,r}return v(t,e),t.prototype.getClassName=function(){return this.opacityType?"".concat(this.component.getClassName()," ").concat(this.opacityType):this.component.getClassName()},t}(X),te=function(e){function t(t,n){var r=e.call(this,t)||this;return r.borderRadius=n,r}return v(t,e),t.prototype.getClassName=function(){if(this.borderRadius){var e=void 0;return e=Object.values(T).includes(this.borderRadius)?this.borderRadius:"border-radius-".concat(this.borderRadius),"".concat(this.component.getClassName()," ").concat(e)}return this.component.getClassName()},t}(X),ne=function(e){function t(t,n){var r=e.call(this,t)||this;return r.borderStyle=n,r}return v(t,e),t.prototype.getClassName=function(){if(this.borderStyle){var e=void 0;return e=Object.values(B).includes(this.borderStyle)?this.borderStyle:"border-style-".concat(this.borderStyle),"".concat(this.component.getClassName()," ").concat(e)}return this.component.getClassName()},t}(X),re=function(e){function t(t,n){var r=e.call(this,t)||this;return r.padding=n,r}return v(t,e),t.prototype.getClassName=function(){return this.padding&&Object.values(S).includes(this.padding)?"".concat(this.component.getClassName()," ").concat(this.padding):this.component.getClassName()},t}(X),oe=function(e){function t(t,n){var r=e.call(this,t)||this;return r.margin=n,r}return v(t,e),t.prototype.getClassName=function(){return this.margin&&Object.values(k).includes(this.margin)?"".concat(this.component.getClassName()," ").concat(this.margin):this.component.getClassName()},t}(X),ae=function(e){function t(t,n){var r=e.call(this,t)||this;return r.borderWidth=n,r}return v(t,e),t.prototype.getClassName=function(){if(this.borderWidth){var e=void 0;return e=Object.values(N).includes(this.borderWidth)?this.borderWidth:"border-width-".concat(this.borderWidth),"".concat(this.component.getClassName()," ").concat(e)}return this.component.getClassName()},t}(X),ie=function(e){function t(t,n,r,o,a,i,l,c,s,u,d){var f=e.call(this,t)||this;return f.isDefaultValue=n,f.frontColorType=r,f.backgroundColorType=o,f.borderColorType=a,f.borderDirectionType=i,f.pseudoType=l,f.pseudoFrontColorType=c,f.pseudoBackgroundColorType=s,f.pseudoBorderColorType=u,f.pseudoBorderDirectionType=d,f}return v(t,e),t.prototype.getBorderPrefix=function(e){return e?"-".concat(e):""},t.prototype.getBorderColorClassName=function(e,t,n){var r,o=this.getBorderPrefix(n);switch(t){case P.Bottom:r=" ".concat(e).concat(o,"-border-bottom");break;case P.ExceptBottom:r=" ".concat(e).concat(o,"-border-except-bottom");break;case P.ExceptLeft:r=" ".concat(e).concat(o,"-border-except-left");break;case P.ExceptRight:r=" ".concat(e).concat(o,"-border-except-right");break;case P.ExceptTop:r=" ".concat(e).concat(o,"-border-except-top");break;case P.Left:r=" ".concat(e).concat(o,"-border-left");break;case P.LeftBottom:r=" ".concat(e).concat(o,"-border-left-bottom");break;case P.LeftRight:r=" ".concat(e).concat(o,"-border-left-right");break;case P.LeftTop:r=" ".concat(e).concat(o,"-border-left-top");break;case P.Right:r=" ".concat(e).concat(o,"-border-right");break;case P.RightBottom:r=" ".concat(e).concat(o,"-border-right-bottom");break;case P.RightTop:r=" ".concat(e).concat(o,"-border-right-top");break;case P.Top:r=" ".concat(e).concat(o,"-border-top");break;case P.TopBottom:r=" ".concat(e).concat(o,"-border-bottom");break;default:r=" ".concat(e).concat(o,"-border")}return r},t.prototype.getClassName=function(){var e,t,n=this.backgroundColorType?" ".concat(this.backgroundColorType,"-background"):this.isDefaultValue?" ".concat(y.Transparent,"-background"):"",r=this.pseudoBackgroundColorType?" ".concat(this.pseudoBackgroundColorType,"-before-background"):this.isDefaultValue?" ".concat(y.Transparent,"-before-background"):"",o=this.pseudoBackgroundColorType?" ".concat(this.pseudoBackgroundColorType,"-after-background"):this.isDefaultValue?" ".concat(y.Transparent,"-after-background"):"",a="".concat(r).concat(o),i=this.frontColorType?" ".concat(this.frontColorType,"-front"):this.isDefaultValue?" ".concat(y.Black,"-front"):"",l=this.pseudoFrontColorType?" ".concat(this.pseudoFrontColorType,"-before-front"):this.isDefaultValue?" ".concat(y.Black,"-before-front"):"",c=this.pseudoFrontColorType?" ".concat(this.pseudoFrontColorType,"-after-front"):this.isDefaultValue?" ".concat(y.Black,"-after-front"):"",s="".concat(l).concat(c);return e=this.borderColorType?this.borderDirectionType?this.getBorderColorClassName(this.borderColorType,this.borderDirectionType):" ".concat(this.borderColorType).concat(this.getBorderPrefix(this.pseudoType),"-border"):this.isDefaultValue?" ".concat(y.Transparent).concat(this.getBorderPrefix(this.pseudoType),"-border"):"",t=this.pseudoType?this.pseudoBorderColorType?this.pseudoBorderDirectionType?this.getBorderColorClassName(this.pseudoBorderColorType,this.pseudoBorderDirectionType,this.pseudoType):" ".concat(this.pseudoBorderColorType).concat(this.getBorderPrefix(this.pseudoType),"-border"):this.isDefaultValue?" ".concat(y.Transparent).concat(this.getBorderPrefix(this.pseudoType),"-border"):"":"","".concat(this.component.getClassName()).concat(n).concat(a).concat(i).concat(s).concat(e).concat(t)},t}(X),le=function(e,t,n,r,o,a,i,l,c,s,u,d,f,p,h,g,m,v,y,b,C,w,S,k,_,x){return new ie(new Q(new K(new q(new J(new G(new $(new ee(new oe(new re(new ae(new ne(new te(new Y(new Z(new M(e),o),n,r),h),g),m),v),y),b),C),w),S),k),_),x),t,a,i,l,c,s,u,d,f,p).getClassName()},ce=["onClick","onDoubleClick","onContextMenu","onDrag","onDragStart","onDragEnd","onDragEnter","onDragExit","onDragLeave","onDragOver","onDrop","onCopy","onCut","onPaste","onBlur","onFocus","onMouseDown","onMouseUp","onMouseEnter","onMouseLeave","onMouseMove","onMouseEndter","onMouseOut","onKeyDown","onKeyUp","onKeyPress","onTouchStart","onTouchEnd","onTouchMove","onTouchCancel","onWheel","onScroll","onSelect","onBeforeInput","onInput"],se=["id","title","dir","lang","translate","tabIndex","accessKey","contentEditable","spellCheck","draggable","enterKeyHint","inputMode","autoCapitalize","role","slot","htmlFor","hidden","is"],ue=["onError","onLoad"],de=["onAbort","onCanPlay","onCanPlayThrough","onDurationChange","onEmptied","onEncrypted","onEnded","onError","onLoadedData","onLoadedMetadata","onLoadStart","onPause","onPlay","onPlaying","onProgress","onRateChange","onResize","onSeeked","onSeeking","onStalled","onSuspend","onTimeUpdate","onVolumeChange","onWaiting"],fe={div:H(H([],ce,!0),se,!0),input:H(H(H(H([],ce,!0),se,!0),["onChange","onInput","onInvalid","onSelect"],!0),["name","value","defaultValue","checked","defaultChecked","type","accept","autoComplete","autoFocus","disabled","form","formAction","formEncType","formMethod","formNoValidate","formTarget","height","width","list","max","min","maxLength","maxLength","minLength","multiple","pattern","placeholder","readOnly","required","size","step","src"],!0),textarea:H(H(H([],ce,!0),se,!0),["rows","cols","wrap","name","autoFocus","autoComplete","placeholder","maxLength","minLength","required","readOnly","disabled","wrap","spellcheck","dirname"],!0),template:H(H([],ce,!0),se,!0),abbr:H(H([],ce,!0),se,!0),span:H(H([],ce,!0),se,!0),h1:H(H([],ce,!0),se,!0),h2:H(H([],ce,!0),se,!0),h3:H(H([],ce,!0),se,!0),h4:H(H([],ce,!0),se,!0),h5:H(H([],ce,!0),se,!0),h6:H(H([],ce,!0),se,!0),i:H(H([],ce,!0),se,!0),b:H(H([],ce,!0),se,!0),u:H(H([],ce,!0),se,!0),em:H(H([],ce,!0),se,!0),strong:H(H([],ce,!0),se,!0),blockquote:H(H([],ce,!0),se,!0),cite:H(H([],ce,!0),se,!0),code:H(H([],ce,!0),se,!0),del:H(H([],ce,!0),se,!0),dfn:H(H([],ce,!0),se,!0),ins:H(H([],ce,!0),se,!0),kbd:H(H([],ce,!0),se,!0),mark:H(H([],ce,!0),se,!0),pre:H(H([],ce,!0),se,!0),q:H(H([],ce,!0),se,!0),s:H(H([],ce,!0),se,!0),samp:H(H([],ce,!0),se,!0),small:H(H([],ce,!0),se,!0),summary:H(H([],ce,!0),se,!0),sup:H(H([],ce,!0),se,!0),sub:H(H([],ce,!0),se,!0),time:H(H([],ce,!0),se,!0),var:H(H([],ce,!0),se,!0),wbr:H(H([],ce,!0),se,!0),p:H(H([],ce,!0),se,!0),address:H(H([],ce,!0),se,!0),article:H(H([],ce,!0),se,!0),aside:H(H([],ce,!0),se,!0),details:H(H(H([],ce,!0),se,!0),["onToggle"],!0),section:H(H([],ce,!0),se,!0),form:H(H(H([],ce,!0),se,!0),["onReset","onSubmit"],!0),dialog:H(H(H([],ce,!0),se,!0),["onCancel","onClose"],!0),img:H(H(H(H([],ce,!0),se,!0),ue,!0),["src","alt","width","height","crossOrigin","decoding","loading","referrerPolicy","sizes","srcSet","title","role"],!0),iframe:H(H(H(H([],ce,!0),se,!0),ue,!0),["src","srcDoc","width","height","name","sandbox","allow","allowFullScreen","loading","referrerPolicy","title","role"],!0),object:H(H(H([],ce,!0),se,!0),ue,!0),embed:H(H(H([],ce,!0),se,!0),ue,!0),link:H(H(H([],ce,!0),se,!0),ue,!0),svg:H(H(H([],ce,!0),se,!0),ue,!0),audio:H(H(H([],ce,!0),se,!0),de,!0),video:H(H(H([],ce,!0),se,!0),de,!0)},pe=["className","style","fontSize","isAutoSize","fontWeight","frontColor","backgroundColor","borderColor","borderDirection","pseudoType","pseudoFrontColor","pseudoBackgroundColor","pseudoBorderColor","pseudoBorderDirection","display","visibility","zIndex","fontFamily","borderWidth","borderRadius","borderStyle","padding","margin","height","width","minHeight","minWidth","maxHeight","maxWidth","opacity","letterSpacing","lineHeight","cursor","overflow","overflowX","overflowY","isDefaultValue","customAttributes"],he=function(t){return{getClassName:function(e){var n=le(e,t.isDefaultValue,t.fontSize,t.isAutoSize,t.fontWeight,t.frontColor,t.backgroundColor,t.borderColor,t.borderDirection,t.pseudoType,t.pseudoFrontColor,t.pseudoBackgroundColor,t.pseudoBorderColor,t.pseudoBorderDirection,t.borderRadius,t.borderStyle,t.borderWidth,t.padding,t.margin,t.opacity,t.display,t.visibility,t.cursor,t.overflow,t.overflowX,t.overflowY);return t.className?"".concat(t.className," ").concat(n):n},getStyle:function(e){var n={height:t.height,width:t.width,minHeight:t.minHeight,minWidth:t.minWidth,maxHeight:t.maxHeight,maxWidth:t.maxWidth,zIndex:t.zIndex,fontFamily:t.fontFamily,letterSpacing:t.letterSpacing,lineHeight:t.lineHeight};return t.padding&&!Object.values(S).includes(t.padding)&&(n.padding=t.padding),t.margin&&!Object.values(k).includes(t.margin)&&(n.margin=t.margin),null!=t.selfShrink&&(n.flexShrink=t.selfShrink),null!=t.selfGrow&&(n.flexGrow=t.selfGrow),null!=t.selfBasis&&(n.flexBasis=t.selfBasis),W(W(W({},t.style),e),n)},getChildren:function(){var n=e("span",{className:"fb-bg-error",style:{display:"inline-block"},children:"[Base] No Children!"});if(t.children){if(Array.isArray(t.children)){var r=t.children.filter(Boolean);return r&&r.length>0?r:n}return t.children?t.children:n}return n},getProps:function(e){var n={},r={},o=Object.keys(t);return o.length>0&&o.forEach((function(o){pe.includes(o)?n[o]=t[o]:fe[e]&&fe[e].includes(o)&&(r[o]=t[o])})),{view:n,html:r}}}};!function(e){e.Display="display",e.Rich="rich"}(U||(U={}));var ge,me=function(t){var n=(t.category==U.Display?{}:t._base.getProps("div")).html;return e("div",W({ref:t.ref,className:t._base.getClassName(t.className),style:t._base.getStyle(t.style)},n,{children:t.children}))};!function(e){e.Fluid="fluid",e.Small="small",e.Medium="medium",e.Large="large",e.ExtraLarge="extra-large",e.ExtraExtraLarge="extra-extra-large"}(ge||(ge={}));var ve,ye;!function(e){e.Edge="edge",e.Window="window",e.Area="area",e.Self="self"}(ve||(ve={})),function(e){e.Top="top",e.Right="right",e.Bottom="bottom",e.Left="left",e.LeftTop="left-top",e.RightTop="right-top",e.LeftBottom="left-bottom",e.RightBottom="right-bottom",e.Center="center"}(ye||(ye={}));var be,Ce=function(t){var n;if(t.category&&(n=t.type?"position-".concat(t.category,"-").concat(t.type):"position-".concat(t.category,"-custom")),t.isFullWidth&&(n="".concat(n," position-full-width")),t.type){var r=void 0;return r=W(W({},t.style),{zIndex:t.zIndex}),e("div",{className:n,style:r,children:t.children})}r=void 0;return r=t.category!=ve.Self?W(W({},t.style),{top:t.top,right:t.right,bottom:t.bottom,left:t.left,zIndex:t.zIndex}):W(W({},t.style),{top:"-".concat(t.top),right:"-".concat(t.right),bottom:"-".concat(t.bottom),left:"-".concat(t.left),zIndex:t.zIndex}),e("div",{className:n,style:r,children:t.children})};!function(e){e.Default="default",e.FullSize="full-size"}(be||(be={}));var we,Se,ke,_e=function(n){return e(t,{children:o.map(n.children,(function(e){return function(e){var t={className:"position-area-".concat(n.category?n.category:be.Default," ").concat(e.props.className)};return e.type===a||"<>"===e.type?(console.warn("Cannot apply props to Fragment. Please wrap content in a div or other element."),e):i(e,t)}(e)}))})},xe=function(t){var n=he(t);return e(me,{ref:t.ref,_base:n,className:"v-boundary",children:t.children})};!function(e){e.Div="div",e.Abbr="abbr",e.Span="span",e.H1="h1",e.H2="h2",e.H3="h3",e.H4="h4",e.H5="h5",e.H6="h6",e.I="i",e.B="b",e.U="u",e.Em="em",e.Strong="strong",e.Blockquote="blockquote",e.Cite="cite",e.Code="code",e.Del="del",e.Dfn="dfn",e.Ins="ins",e.Kbd="kbd",e.Mark="mark",e.Pre="pre",e.Q="q",e.S="s",e.Samp="samp",e.Small="small",e.Summary="summary",e.Sup="sup",e.Sub="sub",e.Time="time",e.Var="var",e.Wbr="wbr"}(we||(we={})),function(e){e.Default="default",e.Circle="circle"}(Se||(Se={})),function(e){e[e.Justify=0]="Justify",e[e.Left=1]="Left",e[e.Right=2]="Right",e[e.Center=3]="Center"}(ke||(ke={}));var Te,Be,Ne,Oe=l((function(t){var n,r,o=t.category,a=t.type,i=t.alignType,l=t.isTextOverflow,s=t.caption,u=j(t,["category","type","alignType","isTextOverflow","caption"]),d=he(W({display:null==t.category||t.category==we.Span?"inline-block":"block"},u)),f=d.getProps("div"),p=f.view,h=f.html;switch(i){case ke.Center:r="v-label-center";break;case ke.Justify:r="v-label-justify";break;case ke.Left:r="v-label";break;case ke.Right:r="v-label-right";break;default:r="v-label"}if(a==Se.Circle&&(r="".concat(r,"-circle")),l&&(r+=" v-label-text-overflow"),o){var g=o,m=d.getProps(g).html;n=c(g,m,s)}else{var v=d.getProps("span").html;n=c("span",v,s)}return a==Se.Circle?e(_e,{children:e(xe,W({width:"1.6em",height:"1.6em",borderRadius:T.Max},p,{className:r},h,{children:e(Ce,{category:ve.Area,type:ye.Center,children:n})}))}):e(xe,W({},p,{className:"".concat(t.className," ").concat(r)},h,{children:n}))}));!function(e){e.ExtraSmall="extra-small",e.Small="small",e.Medium="medium",e.Large="large",e.ExtraLarge="extra-large",e.ExtraExtraLarge="extra-extra-large"}(Te||(Te={})),function(e){e.Visible="visiable",e.Hidden="hidden"}(Be||(Be={})),function(e){e.Only="only",e.Up="up",e.Down="down"}(Ne||(Ne={}));var Ie,De,Le=function(n){return n.children?e(t,{children:o.map(n.children,(function(e){return function(e){if(e&&e.props){var t=void 0;n.breakpoint?"string"==typeof n.breakpoint?n.type&&n.type!=Ne.Only?n.type==Ne.Up?t="".concat(n.breakpoint,"-up-").concat(n.category):n.type==Ne.Down&&(t="".concat(n.breakpoint,"-down-").concat(n.category)):t="".concat(n.breakpoint,"-").concat(n.category):t=n.breakpoint.map((function(e,t){return"".concat(e,"-").concat(n.category)})).join(" "):t=n.category;var r={className:t};return e.type===a||"<>"===e.type?(console.warn("Cannot apply props to Fragment. Please wrap content in a div or other element."),e):i(e,r)}return e}(e)}))}):e(Oe,{backgroundColor:y.Error,caption:"[BreakpointDisplay] No Children!"})},Re=2147483647;!function(e){e.Top="top",e.Right="right",e.Bottom="bottom",e.Left="left",e.LeftTop="left-top",e.RightTop="right-top",e.LeftBottom="left-bottom",e.RightBottom="right-bottom",e.InnerTop="inner-top",e.InnerRight="inner-right",e.InnerBottom="inner-bottom",e.InnerLeft="inner-left",e.InnerLeftTop="inner-left-top",e.InnerRightTop="inner-right-top",e.InnerLeftBottom="inner-left-bottom",e.InnerRightBottom="inner-right-bottom"}(Ie||(Ie={})),function(e){e.Horizontal="horizontal",e.Vertical="vertical"}(De||(De={}));var ze,Ee,Ve,Fe,Ae,Pe=function(t){var r=t.category,o=t.offset,a=void 0===o?0:o,i=t.overlayZIndex,l=void 0===i?Re:i,c=t.renderOverlay,p=j(t,["category","offset","overlayZIndex","renderOverlay"]),h="alignment"in t?t.alignment:void 0,g=he(p),m=g.getProps("div").html,v=s(null),y=s(null),b=u((function(){var e=v.current,t=y.current;if(e&&t){var n=e.offsetWidth,o=e.offsetHeight,i=t.offsetWidth,l=t.offsetHeight,c=0,s=0;switch(r){case Ie.Top:c=(n-i)/2,s=-l-a;break;case Ie.Right:c=n+a,s=(o-l)/2;break;case Ie.Bottom:c=(n-i)/2,s=o+a;break;case Ie.Left:c=-i-a,s=(o-l)/2;break;case Ie.LeftTop:h==De.Horizontal?(c=-i-a,s=a):h==De.Vertical?(c=a,s=-l-a):(c=-i-a,s=-l-a);break;case Ie.RightTop:h==De.Horizontal?(c=n+a,s=a):h==De.Vertical?(c=n-i-a,s=-l-a):(c=n+a,s=-l-a);break;case Ie.LeftBottom:h==De.Horizontal?(c=-i-a,s=o-l-a):h==De.Vertical?(c=a,s=o+a):(c=-i-a,s=o+a);break;case Ie.RightBottom:h==De.Horizontal?(c=n+a,s=o-l-a):h==De.Vertical?(c=n-i-a,s=o+a):(c=n+a,s=o+a);break;case Ie.InnerTop:c=(n-i)/2,s=a;break;case Ie.InnerRight:c=n-i-a,s=(o-l)/2;break;case Ie.InnerBottom:c=(n-i)/2,s=o-l-a;break;case Ie.InnerLeft:c=a,s=(o-l)/2;break;case Ie.InnerLeftTop:c=a,s=a;break;case Ie.InnerRightTop:c=n-i-a,s=a;break;case Ie.InnerLeftBottom:c=a,s=o-l-a;break;case Ie.InnerRightBottom:c=n-i-a,s=o-l-a}t.style.transform="translate3d(".concat(c,"px, ").concat(s,"px, 0)")}}),[r,a,h]);return d((function(){b()}),[b,c,l]),f((function(){var e=function(){return b()};return window.addEventListener("resize",e),function(){window.removeEventListener("resize",e)}}),[b]),n("div",W({ref:v,className:g.getClassName("dock"),style:g.getStyle()},m,{children:[t.children,e("div",{ref:y,className:"dock-overlay",style:{zIndex:l},children:c()})]}))};!function(e){e.Row="row",e.RowReverse="row-reverse",e.Column="column",e.ColumnReverse="column-reverse"}(ze||(ze={})),function(e){e.NoWrap="nowrap",e.Wrap="wrap"}(Ee||(Ee={})),function(e){e.Start="flex-start",e.Center="center",e.End="flex-end",e.SpaceBetween="space-between",e.SpaceAround="space-around",e.SpaceEvenly="space-evenly"}(Ve||(Ve={})),function(e){e.Start="flex-start",e.Center="center",e.End="flex-end",e.Stretch="stretch",e.Baseline="baseline"}(Fe||(Fe={})),function(e){e.Start="flex-start",e.Center="center",e.End="flex-end",e.SpaceBetween="space-between",e.SpaceAround="space-around",e.SpaceEvenly="space-evenly"}(Ae||(Ae={}));var We,je=function(t){t.vClassName;var n=t.direction,r=t.wrap,o=t.justifyContent,a=t.alignItems,i=t.alignContent,l=t.gap,c=t.overflow,s=j(t,["vClassName","direction","wrap","justifyContent","alignItems","alignContent","gap","overflow"]);!s.cursor&&t.onClick&&(s.cursor=D.Pointer);var u=he(s),d=u.getProps("div").html,f=l&&Object.values(_).includes(l)?"var(--den-".concat(l,")"):l,p=W(W({},u.getStyle()),{gap:f}),h=c?"flex-".concat(c):"flex-hidden",g=n?" flex-direction-".concat(n):"",m=r?" flex-wrap-".concat(r):"",v=o?" flex-justify-content-".concat(o):"",y=a?" flex-align-items-".concat(a):"",b=i?" flex-align-content-".concat(i):"",C="".concat(h).concat(g).concat(m).concat(v).concat(y).concat(b),w=u.getClassName(C);return e("div",W({className:w,style:p},d,{children:t.children}))};!function(e){e.Start="start",e.Center="center",e.End="end",e.Stretch="stretch",e.Baseline="baseline"}(We||(We={}));var He,Ue=function(t){var n={};null!=t.order&&(n.order=t.order),null!=t.basis&&(n.flexBasis=t.basis),null!=t.grow&&(n.flexGrow=t.grow),null!=t.shrink&&(n.flexShrink=t.shrink);var r=t.alignSelf?" flex-align-self-".concat(t.alignSelf):"",o="flex-item".concat(r);return e("div",{className:o,style:W(W({},n),{display:"flex",flexDirection:"column"}),children:t.children})},Me=function(n){return e(t,{children:n.children})},Xe=function(n){return e(t,{children:n.children})},Ye=function(n){return e(t,{children:n.children})},Ze=function(n){return e(t,{children:n.children})},Ge=function(n){return e(t,{children:n.children})},Je=function(n){return e(t,{children:n.children})},qe=function(n){return e(t,{children:n.children})},Ke=function(n){return e(t,{children:n.children})};!function(e){e.Top="top",e.Middle="middle",e.Bottom="bottom",e.Stretch="stretch",e.Baseline="baseline"}(He||(He={}));var Qe,$e=function(n,r,a,i,l){n.cross;var c=n.itemsShrink,s=j(n,["cross","itemsShrink"]),u=he(s),d=function(t,n,o){return r?r(t,n,o,c):e(Ue,{alignSelf:o,shrink:c,children:t},"child".concat(n))};return e(je,W({vClassName:"v-xbase",alignItems:function(){var e;if(n.cross)switch(n.cross){case He.Stretch:e=Fe.Stretch;break;case He.Baseline:e=Fe.Baseline;break;case He.Bottom:e=Fe.End;break;case He.Middle:e=Fe.Center;break;case He.Top:e=Fe.Start;break;default:e=Fe.Center}else e=Fe.Center;return e}(),wrap:a?a():Ee.NoWrap,justifyContent:i?i():Ve.Start,alignContent:l?l():Ae.Start},s,{children:o.map(u.getChildren(),(function(n,r){var o=n;return o.type?o.type===Ke?d(o.props.children,r,We.Start):o.type===Ze?d(o.props.children,r,We.Center):o.type===Xe?d(o.props.children,r,We.End):o.type===qe?d(o.props.children,r,We.Stretch):o.type===Me?d(o.props.children,r,We.Baseline):d(o,r):(console.debug(o),e(t,{children:"Please check X layout children."}))}))}))},et=function(t){return $e(t,(function(t,n,r,o){return e(Ue,{grow:1,alignSelf:r,shrink:o,children:t})}))},tt=function(t){var n=he(t);return $e(t,(function(t,r,a,i){return 0!=r&&r!=o.count(n.getChildren())-1?e(Ue,{grow:1,alignSelf:a,shrink:i,children:t}):e(Ue,{grow:0,alignSelf:a,shrink:i,children:t})}))},nt=function(t){return $e(t,(function(t,n,r,o){return e(Ue,0==n?{grow:1,alignSelf:r,shrink:o,children:t}:{grow:0,alignSelf:r,shrink:o,children:t})}))},rt=function(t){var n=he(t);return $e(t,(function(t,r,a,i){return r==o.count(n.getChildren())-1?e(Ue,{grow:1,shrink:i,children:t}):e(Ue,{grow:0,shrink:i,children:t})}))},ot=function(e){return $e(e,void 0,void 0,(function(){return Ve.SpaceBetween}))},at=function(e){return $e(e,void 0,void 0,(function(){return Ve.Center}))},it=function(e){return $e(e)};!function(e){e.Left="left",e.Center="center",e.Right="right",e.Baseline="baseline",e.Stretch="stretch"}(Qe||(Qe={}));var lt,ct=function(n,r,a,i,l){var c=n.cross,s=n.itemsShrink,u=j(n,["cross","itemsShrink"]),d=he(u),f=function(t,n,o){return r?r(t,n,o,s):e(Ue,{alignSelf:o,shrink:s,children:t},"child".concat(n))};return e(je,W({vClassName:"v-ybase",wrap:a?a():Ee.NoWrap,alignContent:i?i():Ae.Start,alignItems:function(){var e;if(c)switch(c){case Qe.Left:e=Fe.Start;break;case Qe.Center:e=Fe.Center;break;case Qe.Right:e=Fe.End;break;case Qe.Baseline:e=Fe.Baseline;break;default:e=Fe.Stretch}else e=Fe.Stretch;return e}(),direction:ze.Column,justifyContent:l?l():Ve.Start},u,{children:o.map(d.getChildren(),(function(n,r){var o=n;return o.type?o.type===Ye?f(o.props.children,r,We.Start):o.type===Ze||o.type===Je?f(o.props.children,r,We.Center):o.type===Ge?f(o.props.children,r,We.End):o.type===qe?f(o.props.children,r,We.Stretch):o.type===Me?f(o.props.children,r,We.Baseline):f(n,r):(console.debug(o),e(t,{children:"Please check Y layout children."}))}))}))},st=function(t){return ct(t,(function(t,n,r,o){return e(Ue,{grow:1,alignSelf:r,shrink:o,children:t})}))};!function(e){e.Top="top",e.Right="right",e.Bottom="bottom",e.Left="left",e.Center="center"}(lt||(lt={}));var ut,dt=function(e){var t={};return e.forEach((function(e,n){var r,o=!1;n.startsWith("#")?(o=!0,r=n.substring(1).split(".")):r=n.split(".");var a=t;r.forEach((function(t,n){if(n==r.length-1)if(t.endsWith("[]")){var i=t.replace("[]","");Object.keys(a).filter((function(e){return e==i})).length>0?a[i]=H(H([],a[i],!0),[o?JSON.parse(e.toString()):e],!1):a[i]=[o?JSON.parse(e.toString()):e]}else a[t]=o?JSON.parse(e.toString()):e;else t in a||(a[t]={}),a=a[t]}))})),t};!function(e){e.Json="json",e.FormData="formdata"}(ut||(ut={}));var ft,pt=function(t){var r=t.ref,o=t.type,a=t.label,i=t.icon,l=t.value,c=t.valueHook,u=t.setStateHook,d=t.isValueShow,h=t.gap,g=t.valueSize,m=t.frontColor;t.valueCategory;var v,b=t.valuePadding,C=t.inputStyle,w=t.inputClassName,S=t.placeholderColor,k=t.overWrite,_=t.renderOptions,x=t.onChange,T=t.inheritClassName,B=t.customAttributes,N=j(t,["ref","type","label","icon","value","valueHook","setStateHook","isValueShow","gap","valueSize","frontColor","valueCategory","valuePadding","inputStyle","inputClassName","placeholderColor","overWrite","renderOptions","onChange","inheritClassName","customAttributes"]),O=he(N),D=O.getProps("input").html,L=p({value:void 0!==t.value?t.value:""}),R=L[0],z=L[1],E=s(null);f((function(){"object"==typeof r&&r?r.current=E.current:"function"==typeof r&&r(E.current),t.autoFocus&&E.current&&E.current.focus()}),[r,t.autoFocus]),k&&(v=k(E));var V=(S||y.Placeholder)+"-placeholder";return n(me,{_base:O,className:"v-validity v-input ".concat(V).concat(T?" ".concat(T):""),children:[n(st,{display:v?I.None:void 0,children:[n(tt,{gap:h,children:[e(xe,{children:i}),n(xe,{children:[e("input",W({ref:E},B,{className:(w?"".concat(w," "):"")+"".concat(O.getClassName("v-input-native")),style:C,type:o,value:c||R.value,onChange:function(e){var t;d&&z({value:null===(t=E.current)||void 0===t?void 0:t.value}),x&&x(e),u?u(e.target.value):z({value:e.target.value})}},D)),!!a&&e("label",{htmlFor:t.id?t.id:t.name,children:a})]}),_?_(E):e(xe,{})]}),!!d&&e(at,{children:e(Oe,{padding:b,isAutoSize:t.isAutoSize,fontSize:g||F.Normal,frontColor:m||y.Black,caption:void 0!==R.value?R.value.toString():l?l.toString():""})})]}),!!v&&v]})};!function(e){e.Default="default",e.Circle="circle",e.Squared="squared",e.Custom="custom"}(ft||(ft={}));var ht,gt,mt=l((function(n){var r=W({},n);!r.cursor&&n.onClick&&(r.cursor=D.Pointer);var l=he(r);return e(t,{children:o.map(n.children,(function(e){return function(e){var t=n.category?n.category:ft.Default,r=l.getClassName("v-svg-".concat(t)),o=n.onClick,c=n.onMouseEnter,s=n.onMouseLeave,u={className:r,style:W({},l.getStyle()),onClick:o,onMouseEnter:c,onMouseLeave:s};return e.type===a?(console.warn("Cannot apply props to Fragment. Please wrap content in a div or other element."),e):i(e,u)}(e)}))})}));function vt(){return vt=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)({}).hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},vt.apply(null,arguments)}var yt,bt=function(e){return r.createElement("svg",vt({xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 256 256"},e),ht||(ht=r.createElement("path",{fill:"currentColor",d:"M198.132 64.763a6 6 0 0 0-6-6H65.753a6 6 0 0 0-6 6v126.473a6 6 0 0 0 6 6h126.399a6 6 0 0 0 6-6.001z"})),gt||(gt=r.createElement("path",{fill:"currentColor",d:"M40.562 228h174.876c3.334 0 6.528-1.324 8.884-3.682a12.57 12.57 0 0 0 3.678-8.886V40.568a12.57 12.57 0 0 0-3.678-8.886A12.55 12.55 0 0 0 215.438 28H40.562a12.56 12.56 0 0 0-8.884 3.682A12.57 12.57 0 0 0 28 40.568v174.864a12.57 12.57 0 0 0 3.678 8.886A12.56 12.56 0 0 0 40.562 228m4.044-169.236v-.002c0-4 1.588-7.835 4.414-10.664a15.07 15.07 0 0 1 10.659-4.416h138.453a15.07 15.07 0 0 1 10.659 4.416 15.1 15.1 0 0 1 4.416 10.664v138.473c0 3.999-1.59 7.835-4.416 10.663a15.07 15.07 0 0 1-10.659 4.417H59.755a15.07 15.07 0 0 1-10.658-4.417 15.08 15.08 0 0 1-4.415-10.663z"})))};function Ct(){return Ct=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)({}).hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},Ct.apply(null,arguments)}var wt,St,kt,_t,xt=function(e){return r.createElement("svg",Ct({xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 256 256"},e),yt||(yt=r.createElement("path",{fill:"currentColor",d:"M40.562 228h174.876c3.334 0 6.528-1.324 8.884-3.682a12.57 12.57 0 0 0 3.678-8.886V40.568a12.57 12.57 0 0 0-3.678-8.886A12.55 12.55 0 0 0 215.438 28H40.562a12.56 12.56 0 0 0-8.884 3.682A12.57 12.57 0 0 0 28 40.568v174.864a12.57 12.57 0 0 0 3.678 8.886A12.56 12.56 0 0 0 40.562 228m4.044-169.236v-.002c0-4 1.588-7.835 4.414-10.664a15.07 15.07 0 0 1 10.659-4.416h138.453a15.07 15.07 0 0 1 10.659 4.416 15.1 15.1 0 0 1 4.416 10.664v138.473c0 3.999-1.59 7.835-4.416 10.663a15.07 15.07 0 0 1-10.659 4.417H59.755a15.07 15.07 0 0 1-10.658-4.417 15.08 15.08 0 0 1-4.415-10.663z"})))};!function(e){e.Bounce="animate__bounce",e.Flash="animate__flash",e.Pulse="animate__pulse",e.RubberBand="animate__rubberBand",e.ShakeX="animate__shakeX",e.ShakeY="animate__shakeY",e.HeadShake="animate__headShake",e.Swing="animate__swing",e.Tada="animate__tada",e.Wobble="animate__wobble",e.Jello="animate__jello",e.HeartBeat="animate__heartBeat",e.BackInDown="animate__backInDown",e.BackInLeft="animate__backInLeft",e.BackInRight="animate__backInRight",e.BackInUp="animate__backInUp",e.BackOutDown="animate__backOutDown",e.BackOutLeft="animate__backOutLeft",e.BackOutRight="animate__backOutRight",e.BackOutUp="animate__backOutUp",e.BounceIn="animate__bounceIn",e.BounceInDown="animate__bounceInDown",e.BounceInLeft="animate__bounceInLeft",e.BounceInRight="animate__bounceInRight",e.BounceInUp="animate__bounceInUp",e.BounceOut="animate__bounceOut",e.BounceOutDown="animate__bounceOutDown",e.BounceOutLeft="animate__bounceOutLeft",e.BounceOutRight="animate__bounceOutRight",e.BounceOutUp="animate__bounceOutUp",e.FadeIn="animate__fadeIn",e.FadeInDown="animate__fadeInDown",e.FadeInDownBig="animate__fadeInDownBig",e.FadeInLeft="animate__fadeInLeft",e.FadeInLeftBig="animate__fadeInLeftBig",e.FadeInRight="animate__fadeInRight",e.FadeInRightBig="animate__fadeInRightBig",e.FadeInUp="animate__fadeInUp",e.FadeInUpBig="animate__fadeInUpBig",e.FadeInTopLeft="animate__fadeInTopLeft",e.FadeInTopRight="animate__fadeInTopRight",e.FadeInBottomLeft="animate__fadeInBottomLeft",e.FadeInBottomRight="animate__fadeInBottomRight",e.FadeOut="animate__fadeOut",e.FadeOutDown="animate__fadeOutDown",e.FadeOutDownBig="animate__fadeOutDownBig",e.FadeOutLeft="animate__fadeOutLeft",e.FadeOutLeftBig="animate__fadeOutLeftBig",e.FadeOutRight="animate__fadeOutRight",e.FadeOutRightBig="animate__fadeOutRightBig",e.FadeOutUp="animate__fadeOutUp",e.FadeOutUpBig="animate__fadeOutUpBig",e.FadeOutTopLeft="animate__fadeOutTopLeft",e.FadeOutTopRight="animate__fadeOutTopRight",e.FadeOutBottomLeft="animate__fadeOutBottomLeft",e.FadeOutBottomRight="animate__fadeOutBottomRight",e.Flip="animate__flip",e.FlipInX="animate__flipInX",e.FlipInY="animate__flipInY",e.FlipOutX="animate__flipOutX",e.FlipOutY="animate__flipOutY",e.LightSpeedInRight="animate__lightSpeedInRight",e.LightSpeedInLeft="animate__lightSpeedInLeft",e.LightSpeedOutRight="animate__lightSpeedOutRight",e.LightSpeedOutLeft="animate__lightSpeedOutLeft",e.RotateIn="animate__rotateIn",e.RotateInDownLeft="animate__rotateInDownLeft",e.RotateInDownRight="animate__rotateInDownRight",e.RotateInUpLeft="animate__rotateInUpLeft",e.RotateInUpRight="animate__rotateInUpRight",e.RotateOut="animate__rotateOut",e.RotateOutDownLeft="animate__rotateOutDownLeft",e.RotateOutDownRight="animate__rotateOutDownRight",e.RotateOutUpLeft="animate__rotateOutUpLeft",e.RotateOutUpRight="animate__rotateOutUpRight",e.Hinge="animate__hinge",e.JackInTheBox="animate__jackInTheBox",e.RollIn="animate__rollIn",e.RollOut="animate__rollOut",e.ZoomIn="animate__zoomIn",e.ZoomInDown="animate__zoomInDown",e.ZoomInLeft="animate__zoomInLeft",e.ZoomInRight="animate__zoomInRight",e.ZoomInUp="animate__zoomInUp",e.ZoomOut="animate__zoomOut",e.ZoomOutDown="animate__zoomOutDown",e.ZoomOutLeft="animate__zoomOutLeft",e.ZoomOutRight="animate__zoomOutRight",e.ZoomOutUp="animate__zoomOutUp",e.SlideInDown="animate__slideInDown",e.SlideInLeft="animate__slideInLeft",e.SlideInRight="animate__slideInRight",e.SlideInUp="animate__slideInUp",e.SlideOutDown="animate__slideOutDown",e.SlideOutLeft="animate__slideOutLeft",e.SlideOutRight="animate__slideOutRight",e.SlideOutUp="animate__slideOutUp"}(wt||(wt={})),function(e){e.Once="animate__repeat-1",e.Twice="animate__repeat-2",e.Thrice="animate__repeat-3",e.Infinite="animate__infinite"}(St||(St={})),function(e){e.Slow="animate__slow",e.Slower="animate__slower",e.Fast="animate__fast",e.Faster="animate__faster"}(kt||(kt={})),function(e){e.Delay1Second="animate__delay-1s",e.Delay2Second="animate__delay-2s",e.Delay3Second="animate__delay-3s",e.Delay4Second="animate__delay-4s",e.Delay5Second="animate__delay-5s"}(_t||(_t={}));var Tt,Bt=function(t){var n;return e("div",{className:(n=[],n.push(t.category),t.repeat&&n.push(t.repeat),t.speed&&n.push(t.speed),t.delay&&n.push(t.delay),"animate__animated ".concat(n.join(" "))),children:t.children})},Nt=function(t){t.animationCategory,t.animationSpeed;var n=j(t,["animationCategory","animationSpeed"]),r=he(n);return e(me,{_base:r,className:"v-loading",children:e(Bt,{category:t.animationCategory?t.animationCategory:wt.Flip,speed:t.animationSpeed?t.animationSpeed:kt.Slower,repeat:St.Infinite,children:t.children})})};function Ot(){return Ot=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)({}).hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},Ot.apply(null,arguments)}var It,Dt=function(e){return r.createElement("svg",Ot({xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 256 256"},e),Tt||(Tt=r.createElement("path",{fill:"currentColor",fillRule:"evenodd",d:"M142.37 28c14.247 0 25.795 11.548 25.795 25.795s-11.548 25.799-25.795 25.799-25.796-11.551-25.796-25.799S128.122 28 142.37 28m65.108 50.223c7.122 7.125 7.122 18.673 0 25.796-7.122 7.125-18.673 7.125-25.795 0-7.126-7.123-7.126-18.67 0-25.796 7.122-7.122 18.673-7.122 25.795 0m13.977 76.209c0 9.032-7.318 16.35-16.35 16.35-9.03 0-16.348-7.318-16.348-16.35 0-9.03 7.318-16.348 16.348-16.348 9.032 0 16.35 7.318 16.35 16.348m-45.928 59.961c-4.277 4.278-11.215 4.278-15.493 0-4.28-4.28-4.28-11.218 0-15.496 4.278-4.28 11.216-4.28 15.493 0 4.281 4.278 4.281 11.216 0 15.496M104.469 228c-5.98 0-10.83-4.847-10.83-10.83s4.85-10.83 10.83-10.83c5.983 0 10.83 4.847 10.83 10.83S110.452 228 104.469 228m-58.417-41.95c-3.426-3.426-3.426-8.982 0-12.411 3.43-3.426 8.985-3.426 12.412 0a8.77 8.77 0 0 1 0 12.411 8.773 8.773 0 0 1-12.412 0M34 116.534a7.733 7.733 0 1 1 15.466-.002 7.733 7.733 0 0 1-15.466.002m41.858-55.412a4.53 4.53 0 0 1 6.398 0 4.52 4.52 0 0 1 0 6.399 4.52 4.52 0 0 1-6.398 0 4.53 4.53 0 0 1 0-6.399",clipRule:"evenodd"})))};!function(e){e.Vertical="Vertical",e.Horizontal="Horizontal"}(It||(It={}));var Lt,Rt=function(e){return e.name.endsWith(".jpg")||e.name.endsWith(".jpeg")||e.name.endsWith(".png")};!function(e){e.Default="default",e.Circle="circle",e.Squared="squared",e.FullSize="full-size",e.Scale="scale"}(Lt||(Lt={}));var zt,Et,Vt=l((function(t){var n=t.category,r=j(t,["category"]),o=he(r),a=o.getProps("img").html,i=n||Lt.Default;return e("img",W({className:o.getClassName("v-image-".concat(i)),style:o.getStyle()},a))})),Ft=function(t){return e(pt,W({display:I.None,type:"hidden"},t))};function At(){return At=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)({}).hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},At.apply(null,arguments)}var Pt,Wt=function(e){return r.createElement("svg",At({xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 256 256"},e),zt||(zt=r.createElement("path",{fill:"currentColor",d:"M128 188c33.138 0 60-26.862 60-60s-26.862-60-60-60-60 26.862-60 60 26.862 60 60 60"})),Et||(Et=r.createElement("path",{fill:"currentColor",fillRule:"evenodd",d:"M228 128c0 55.229-44.771 100-100 100S28 183.229 28 128 72.771 28 128 28s100 44.771 100 100m-20 0c0 44.183-35.817 80-80 80s-80-35.817-80-80 35.817-80 80-80 80 35.817 80 80",clipRule:"evenodd"})))};function jt(){return jt=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)({}).hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},jt.apply(null,arguments)}var Ht,Ut,Mt=function(e){return r.createElement("svg",jt({xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 256 256"},e),Pt||(Pt=r.createElement("path",{fill:"currentColor",fillRule:"evenodd",d:"M228 128c0 55.229-44.771 100-100 100S28 183.229 28 128 72.771 28 128 28s100 44.771 100 100m-20 0c0 44.183-35.817 80-80 80s-80-35.817-80-80 35.817-80 80-80 80 35.817 80 80",clipRule:"evenodd"})))};function Xt(){return Xt=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)({}).hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},Xt.apply(null,arguments)}var Yt,Zt=function(e){return r.createElement("svg",Xt({xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 256 256"},e),Ht||(Ht=r.createElement("rect",{width:20,height:200,x:50,y:64,fill:"currentColor",rx:10,transform:"rotate(-45 50 64)"})),Ut||(Ut=r.createElement("rect",{width:20,height:200,fill:"currentColor",rx:10,transform:"scale(-1 1)rotate(-45 -25.527 280.136)"})))},Gt=function(t){var r=t.enableClear,o=j(t,["enableClear"]);return e(pt,r?W({inheritClassName:"v-textbox",isDefaultValue:!0,type:"text"},o,{renderOptions:function(r){return n(et,{gap:"0.2em",children:[t.renderOptions&&t.renderOptions(r),e(mt,{fontSize:F.ExtraSmall,frontColor:y.Placeholder,role:"button","aria-label":"Clear",tabIndex:0,onClick:function(){r.current&&(r.current.value="")},onKeyDown:function(e){" "!==e.key&&"Enter"!==e.key||!r.current||(e.preventDefault(),r.current.value="")},children:e(Zt,{})})]})}}):W({inheritClassName:"v-textbox",isDefaultValue:!0,type:"text"},o))};function Jt(){return Jt=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)({}).hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},Jt.apply(null,arguments)}var qt,Kt=function(e){return r.createElement("svg",Jt({xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 256 256"},e),Yt||(Yt=r.createElement("circle",{cx:128,cy:128,r:100,fill:"currentColor"})))};!function(e){e.NewWindow="_blank",e.Self="_self",e.Parent="_parent",e.Top="_top"}(qt||(qt={}));var Qt,$t;!function(e){e.P="p",e.Address="address",e.Article="article",e.Aside="aside",e.Details="details",e.Section="section"}(Qt||(Qt={})),function(e){e[e.Justify=0]="Justify",e[e.Left=1]="Left",e[e.Right=2]="Right",e[e.Center=3]="Center"}($t||($t={}));var en;!function(e){e.Default="default",e.Fixed="fixed"}(en||(en={}));var tn;!function(e){e.Vertical="vertical",e.Horizontal="horizontal"}(tn||(tn={}));var nn;!function(e){e.Default="default",e.Fixed="fixed"}(nn||(nn={}));var rn;!function(e){e.Default="default",e.Max="max"}(rn||(rn={}));var on,an="--den-";!function(e){e.Global="global",e.Area="area"}(on||(on={}));var ln;!function(e){e.Hover="hover",e.Click="click"}(ln||(ln={}));var cn,sn=function(t){function n(e){var n=t.call(this,e)||this;return n.state={hasError:!1,error:null,errorInfo:null},n}return v(n,t),n.getDerivedStateFromError=function(e){return{hasError:!0,error:e}},n.prototype.componentDidCatch=function(e,t){this.setState({errorInfo:t}),this.props.onError&&this.props.onError(e,t)},n.prototype.render=function(){var t;return this.state.hasError?this.props.fallback?"function"==typeof this.props.fallback?this.props.fallback(this.state.error,this.state.errorInfo):this.props.fallback:e("div",{className:"v-error-boundary",role:"alert",children:e(Oe,{backgroundColor:y.Error,frontColor:y.White,padding:"1em",caption:"Component Error: ".concat((null===(t=this.state.error)||void 0===t?void 0:t.message)||"Unknown error")})}):this.props.children},n}(g),un=Object.freeze({__proto__:null,get AnimationCategory(){return wt},get AnimationDelay(){return _t},get AnimationRepeat(){return St},get AnimationSpeed(){return kt},get BackgroundPositionType(){return lt},Base:he,get BorderRadiusType(){return T},get BorderStyleType(){return B},get BorderWidthType(){return N},get BreakpointCategory(){return Be},BreakpointDisplay:Le,get BreakpointType(){return Ne},get ColorType(){return y},get CursorType(){return D},get DisplayType(){return I},Dock:Pe,get DockAlignment(){return De},get DockCategory(){return Ie},get EllipseCategory(){return en},get FileCategory(){return It},Flex:je,get FlexAlignContentType(){return Ae},get FlexAlignItemsType(){return Fe},get FlexDirectionType(){return ze},FlexItem:Ue,get FlexItemAlignSelfType(){return We},get FlexJustifyContentType(){return Ve},get FlexWrapType(){return Ee},get FontFamilyType(){return C},get FontSizeType(){return F},get FontWeightType(){return b},get GapType(){return _},get HandleSubmitCategory(){return ut},get HyperlinkCategory(){return qt},get ImageCategory(){return Lt},get LabelAlignType(){return ke},get LabelCategory(){return we},get LabelType(){return Se},get LetterSpacingType(){return x},get LineCategory(){return tn},get LineHeightType(){return w},get MarginType(){return k},get OpacityType(){return E},get OverflowType(){return L},get OverflowXType(){return R},get OverflowYType(){return z},get PaddingType(){return S},Position:Ce,PositionArea:_e,get PositionAreaCategory(){return be},get PositionCategory(){return ve},get PositionType(){return ye},Responsive:function(r){return n(t,{children:[e(Le,{category:Be.Hidden,type:Ne.Down,breakpoint:r.breakpointType?r.breakpointType:Te.Small,children:r.desktop}),e(Le,{category:Be.Hidden,type:Ne.Up,breakpoint:r.breakpointType?r.breakpointType:Te.Small,children:r.mobile})]})},SBaseline:Me,SBottom:Xe,SCenter:Je,SLeft:Ye,SMiddle:Ze,SRight:Ge,SStretch:qe,STop:Ke,get ScreenSizeType(){return Te},get ShadowCategory(){return rn},get SvgCategory(){return ft},get TextAlignType(){return $t},get TextCategory(){return Qt},get ThemeCategory(){return on},get TooltipCategory(){return ln},VActionForm:function(t){return e("form",W({className:"v-action-form"},t,{children:t.children}))},VAnimation:Bt,VAudio:function(t){t.sources;var n=j(t,["sources"]),r=he(n),o=r.getProps("audio").html;return e("audio",W({className:r.getClassName("v-audio"),style:r.getStyle(),controls:!0},o,{children:t.sources.map((function(t,n){return e("source",{src:t.src,type:t.type},"source".concat(n))}))}))},VBackground:function(t){t.image,t.imageWidth,t.imageHeight,t.position;var n,r=j(t,["image","imageWidth","imageHeight","position"]);n=t.imageWidth&&t.imageHeight?{backgroundImage:'url("'.concat(t.image,'")'),backgroundSize:"".concat(t.imageWidth," ").concat(t.imageHeight)}:{backgroundImage:'url("'.concat(t.image,'")')};var o=he(W(W({},r),{style:n}));return e(me,{_base:o,className:t.position?"v-background-".concat(t.position):"v-background",children:t.children})},VBase64File:function(t){var r=t.fileIcon,o=t.base64Image,a=j(t,["fileIcon","base64Image"]),i=he(a),l=p({base64Image:o}),c=l[0],s=l[1];return n(me,{_base:i,className:"v-base64file",children:[e(Ft,{name:t.name,value:c.base64Image}),e(pt,W({type:"file",isDefaultValue:!0,onChange:function(e){if(e.target.files&&1==e.target.files.length){var t=e.target.files[0],n=new FileReader;n.onloadend=function(){var e;e=n.result&&"string"==typeof n.result?n.result.replace("data:","").replace(/^.+,/,""):"Todo",s({base64Image:e})},n.readAsDataURL(t)}},overWrite:function(o){return n(st,{gap:"0.2em",onClick:function(){var e;null===(e=o.current)||void 0===e||e.click()},children:[r,e(Vt,{fontSize:t.fontSize,category:Lt.Scale,src:"data:image/png;base64,".concat(c.base64Image),alt:"file"})]})}},a))]})},VBoundary:xe,VCheckBox:function(t){var r=t.isChecked,o=j(t,["isChecked"]);return e(pt,W({isAutoSize:t.isAutoSize,customAttributes:{checked:!!r},inheritClassName:"v-checkbox",type:"checkbox",isDefaultValue:!0,overWrite:function(o){return n(it,{gap:"0.2em",role:"checkbox","aria-checked":!!r,"aria-label":t.label||t.name,tabIndex:0,onClick:function(){var e;null===(e=o.current)||void 0===e||e.click()},onKeyDown:function(e){var t;" "!==e.key&&"Enter"!==e.key||(e.preventDefault(),null===(t=o.current)||void 0===t||t.click())},children:[e(mt,{frontColor:t.frontColor,fontSize:t.fontSize,children:e(r?bt:xt,{})}),!!t.label&&e(Oe,{frontColor:t.frontColor,fontSize:t.fontSize,caption:t.label?t.label:""})]})}},o))},VColor:function(t){return e(pt,W({type:"color",isDefaultValue:!0},t))},VDate:function(t){return e(pt,W({type:"date",isDefaultValue:!0},t))},VDatetimeLocal:function(t){return e(pt,W({type:"datetime-local",isDefaultValue:!0},t))},VDropdown:function(t){var r,o,a=t.ref,i=t.value,l=t.name,c=t.icon,u=t.emptyIcon,d=t.downIcon,g=t.upIcon,m=t.enableClear,v=t.items,b=t.dockCategory,C=t.dockAlignment,w=t.menuBackgroundColor,S=t.menuZIndex;t.onClick;var k=t.overWriteDropdownMenu,_=t.overWriteDropdownItem,x=t.handleChange,T=j(t,["ref","value","name","icon","emptyIcon","downIcon","upIcon","enableClear","items","dockCategory","dockAlignment","menuBackgroundColor","menuZIndex","onClick","overWriteDropdownMenu","overWriteDropdownItem","handleChange"]),B=he(T),N=p({isSelectionShow:!1,selectValue:i||"",selectCaption:i?v.filter((function(e){return e.value==i}))[0].caption:"",items:v}),I=N[0],D=N[1],L=s(null),R=h();f((function(){"object"==typeof a&&a?a.current=L.current:"function"==typeof a&&a(L.current),t.autoFocus&&L.current&&L.current.focus()}),[]);var z=S||Re;return e(Pe,{width:"fit-content",overlayZIndex:I.isSelectionShow?z:-2147483648,category:b||Ie.RightBottom,alignment:C||De.Vertical,renderOverlay:function(){return e(xe,{visibility:I.isSelectionShow?O.Visible:O.Hidden,borderRadius:t.borderRadius,role:"listbox",id:R,children:k?k(I.items):n(st,{backgroundColor:w||y.White,padding:"1em 0",gap:"0.6em",borderRadius:"0.2em",borderColor:t.borderColor,borderWidth:t.borderWidth,borderStyle:"solid",children:[I.items.map((function(t){return _?e(xe,{role:"option","aria-selected":t.value===I.selectValue,children:_(t)},t.value):n(it,{gap:"0.2em",padding:"0.2em 1em",className:"item",role:"option","aria-selected":t.value===I.selectValue,onClick:function(){D(W(W({},I),{isSelectionShow:!1,selectIcon:t.icon,selectCaption:t.caption,selectValue:t.value,items:v})),x&&x(t.value)},children:[t.icon?e(mt,{fontSize:F.ExtraSmall,children:t.icon}):e(xe,{className:"v-dropdown-icon-fragment"}),e(Oe,{caption:t.caption})]},t.value)})),!(0!=I.items.length)&&e(mt,{fontSize:F.ExtraSmall,onClick:function(){},children:u})]})})},children:n(nt,W({className:B.getClassName("v-dropdown"),style:B.getStyle(t.style)},T,{role:"combobox","aria-expanded":I.isSelectionShow,"aria-haspopup":"listbox","aria-controls":R,onClick:function(){D(W(W({},I),{isSelectionShow:!I.isSelectionShow}))},children:[n(xe,{children:[e(Gt,{ref:L,id:t.id,style:{padding:0},fontSize:t.fontSize,frontColor:t.frontColor,icon:e(mt,{fontSize:t.iconSize?t.iconSize:F.Small,children:I.selectIcon?I.selectIcon:c}),valueHook:null===(r=I.selectCaption)||void 0===r?void 0:r.toString(),enableClear:m,renderOptions:t.renderOptions,onChange:function(e){var t;t=e.target.value,D(W(W({},I),{isSelectionShow:!0,selectCaption:t,items:v.filter((function(e){return e.caption.toLowerCase().indexOf(t.toLowerCase())>-1}))}))}}),e(Ft,{name:l,valueHook:null===(o=I.selectValue)||void 0===o?void 0:o.toString()})]}),e(mt,{fontSize:t.iconSize?t.iconSize:F.Small,children:I.isSelectionShow?d:g})]}))})},VEllipse:function(t){t.category;var n=j(t,["category"]),r=he(n);return e(me,{_base:r,className:"v-ellipse-".concat(t.category?t.category:en.Default),children:t.children})},VEmail:function(t){return e(pt,W({inheritClassName:"v-email",isDefaultValue:!0,type:"email"},t))},VErrorBoundary:sn,VFile:function(t){var r=t.category,o=t.appearance;t.loader;var a=t.loaderSize,i=t.loaderColor,l=t.isPreview,c=t.previewImageWidth,u=t.textLength,d=t.autoUpload,h=t.renderLoader,g=t.renderPreview,m=j(t,["category","appearance","loader","loaderSize","loaderColor","isPreview","previewImageWidth","textLength","autoUpload","renderLoader","renderPreview"]),v=s(null),y=p({inputFiles:[],isLoading:!1}),b=y[0],C=y[1],w=function(){C((function(e){return W(W({},e),{isLoading:!1})}))};f((function(){return function(){return b.inputFiles.forEach((function(e){e.objectUrl&&URL.revokeObjectURL(e.objectUrl)}))}}),[b.inputFiles]);var S=function(e){e.preventDefault(),e.currentTarget.className="v-file"},k=he(W({onDrop:function(e){e.preventDefault();var t=Array.from(e.dataTransfer.files),n=t.map((function(e){return{name:e.name,objectUrl:Rt(e)?URL.createObjectURL(e):void 0}}));n.length>0&&(d?(C(W(W({},b),{inputFiles:n,isLoading:!0})),d(t,w),e.currentTarget.className="v-file"):(C(W(W({},b),{inputFiles:n})),e.currentTarget.className="v-file",console.error("Need Todo.")))},onDragOver:function(e){e.preventDefault(),e.currentTarget.className="v-file on-drag"},onDragEnd:S,onDragLeave:S,onDragExit:S},m));return e(me,{_base:k,className:"v-file",children:e(pt,W({type:"file",isDefaultValue:!0,ref:v},m,{onChange:function(e){var t,n=Array.from(null!==(t=e.target.files)&&void 0!==t?t:[]),r=n.map((function(e){return{name:e.name,objectUrl:Rt(e)?URL.createObjectURL(e):void 0}}));C(W(W({},b),{inputFiles:r})),d&&(C(W(W({},b),{inputFiles:r,isLoading:!0})),d(n,w))},overWrite:function(t){return l?g?e(xe,{cursor:D.Pointer,onClick:function(){var e;null===(e=t.current)||void 0===e||e.click()},children:g(b.inputFiles,b.isLoading)}):r==It.Vertical?n(st,{gap:"1em",onClick:function(){var e;null===(e=t.current)||void 0===e||e.click()},cross:Qe.Center,children:[!(0!=b.inputFiles.length)&&o,!(0==b.inputFiles.length)&&e(st,{gap:"0.6em",children:b.inputFiles.map((function(t){return n(st,{cross:Qe.Center,children:[!!t.objectUrl&&e(xe,{children:e("img",{src:t.objectUrl,alt:t.name,width:c||120})}),e(Oe,{fontSize:F.Small,caption:t.name.length>(u||12)?t.name.slice(0,u||12)+"…":t.name})]},"file-".concat(t.name))}))}),!!b.isLoading&&(h?h():e(Nt,{animationCategory:wt.Flash,children:e(at,{children:e(mt,{fontSize:a,frontColor:i,children:e(Dt,{})})})}))]}):n(et,{gap:"1em",children:[n(et,{gap:"1em",onClick:function(){var e;null===(e=t.current)||void 0===e||e.click()},children:[!(0!=b.inputFiles.length)&&o,!(0==b.inputFiles.length)&&e(st,{gap:"0.6em",children:b.inputFiles.map((function(t){return n(st,{cross:Qe.Center,children:[!!t.objectUrl&&e(xe,{children:e("img",{src:t.objectUrl,alt:t.name,width:c||120})}),e(Oe,{fontSize:F.Small,caption:t.name.length>(u||12)?t.name.slice(0,u||12)+"…":t.name})]},"file-".concat(t.name))}))})]}),!!b.isLoading&&(h?h():e(Nt,{animationCategory:wt.Flash,children:e(mt,{fontSize:a,frontColor:i,children:e(Dt,{})})}))]}):e(xe,{cursor:D.Pointer,onClick:function(){var e;null===(e=t.current)||void 0===e||e.click()},children:o})}}))})},VFooter:function(t){var n=he(t),r=n.getProps("footer").html;return e("footer",W({className:n.getClassName("v-footer"),style:n.getStyle()},r,{children:t.children}))},VForm:function(t){var n=t.handleSubmitCategory,r=t.handleSubmit,o=t.handleValidateError,a=j(t,["handleSubmitCategory","handleSubmit","handleValidateError"]),i=he(a),l=i.getProps("form").html;return e("form",W({noValidate:!!o,className:i.getClassName("v-form"),style:i.getStyle(),onSubmit:function(e){e.preventDefault();var t=e.currentTarget,a=e.nativeEvent.submitter;if((null==a?void 0:a.formNoValidate)||!o||t.checkValidity()){for(var i=0;i<t.elements.length;i++){(u=(s=t.elements.item(i)).closest(".v-validity"))&&u.classList.remove("invalid")}var l=new FormData(t);n===ut.FormData?r(l):r(dt(l))}else{var c=[];for(i=0;i<t.elements.length;i++){var s,u;(u=(s=t.elements.item(i)).closest(".v-validity"))&&(s.checkValidity()?u.classList.remove("invalid"):(u.classList.add("invalid"),c.push(s)))}o(c)}}},l,{children:t.children}))},VFrame:function(t){var n,r=t.image,o=t.backingBoard,a=t.style,i=j(t,["image","backingBoard","style"]),l=he(i);return o&&(n=W(W({},a),{background:"linear-gradient(".concat(o.degree,", ").concat(o.startColor,", ").concat(o.endColor,")")})),e(me,W({_base:l,className:"v-frame",style:n},t.customAttributes,{children:e("div",{style:{backgroundImage:"url(".concat(r,")"),backgroundRepeat:"no-repeat",backgroundSize:"cover"},children:t.children})}))},VGroup:function(n){var r=p({selectedValue:n.selectedValue}),o=r[0],a=r[1];return e(t,{children:n.renderGroup(o.selectedValue,(function(e){a({selectedValue:e.currentTarget.value})}))})},VHR:function(t){var n=he(t),r=n.getProps("hr").html;return e("hr",W({className:n.getClassName("v-hr"),style:n.getStyle()},r))},VHeader:function(t){var n=he(t),r=n.getProps("header").html;return e("header",W({className:n.getClassName("v-header"),style:n.getStyle()},r,{children:t.children}))},VHidden:Ft,VHyperlink:function(t){var n=t.category,r=t.to,o=j(t,["category","to"]),a=he(o),i=a.getProps("a").html;return e(me,{_base:a,className:"v-hyperlink",children:e("a",W({href:r,target:n},i,{children:t.children}))})},VImage:Vt,VLabel:Oe,VLine:function(t){t.category;var n=j(t,["category"]),r=he(n);return e(me,{_base:r,className:"v-line-".concat(t.category)})},VLoading:Nt,VMain:function(t){var n=he(t),r=n.getProps("main").html;return e("main",W({className:n.getClassName("v-main"),style:n.getStyle()},r,{children:t.children}))},VMask:function(t){var n=he(W({width:"100vw",height:"100vh",backgroundColor:y.Dark75},t));return e(Ce,{zIndex:t.zIndex?t.zIndex:1e8,category:ve.Window,type:ye.Center,children:e(_e,{children:e(me,{_base:n,className:"v-mask",children:e(Ce,{category:ve.Area,type:ye.Center,children:t.children})})})})},VMonth:function(t){return e(pt,W({type:"month",isDefaultValue:!0},t))},VNumber:function(t){return e(pt,W({type:"number",isDefaultValue:!0},t))},VPassword:function(t){return e(pt,W({inheritClassName:"v-password",isDefaultValue:!0,type:"password"},t))},VRadio:function(t){var r=t.isChecked,o=j(t,["isChecked"]);return e(pt,W({type:"radio",customAttributes:{checked:!!r},isDefaultValue:!0},o,{overWrite:function(o){return n(it,{role:"radio","aria-checked":!!r,"aria-label":t.label||t.name,tabIndex:0,onClick:function(){var e;null===(e=o.current)||void 0===e||e.click()},onKeyDown:function(e){var t;" "!==e.key&&"Enter"!==e.key||(e.preventDefault(),null===(t=o.current)||void 0===t||t.click())},children:[e(mt,{padding:"0.4em",frontColor:t.frontColor,fontSize:t.fontSize,children:e(r?Wt:Mt,{})}),!!t.label&&e(Oe,{frontColor:t.frontColor,fontSize:t.fontSize,caption:t.label?t.label:""})]})}}))},VRange:function(t){var n=t.thumbColor,r=t.thumbBorderColor,o=t.trackColor,a=t.trackHeight,i=t.inputStyle,l=j(t,["thumbColor","thumbBorderColor","trackColor","trackHeight","inputStyle"]),c="".concat(n,"-thumb-background ").concat(r,"-thumb-border ").concat(o,"-track-background"),s=a?W(W({},i),{"--den-range-track-height":a}):i;return e(pt,W({type:"range",inputClassName:c},l,{inputStyle:s}))},VRectangle:function(t){t.category;var n=j(t,["category"]),r=he(n);return e(me,{_base:r,className:"v-rectangle-".concat(t.category?t.category:nn.Default)})},VSearch:function(t){return e(pt,W({type:"search",isDefaultValue:!0,inheritClassName:"v-search"},t))},VSection:function(t){var n=he(t),r=n.getProps("section").html;return e("section",W({className:n.getClassName("v-section"),style:n.getStyle()},r,{children:t.children}))},VSelect:function(t){var n=t.name;t.items;var r=t.value,o=t.isMultiple;t.fontFamily;var a=j(t,["name","items","value","isMultiple","fontFamily"]),i=he(a),l=i.getProps("select").html;return e(me,{_base:i,className:"v-select",children:e("select",W({multiple:o,name:n,defaultValue:r,"aria-label":n},l,{children:t.items.map((function(t){return e("option",{value:t.value,children:t.caption},t.value)}))}))})},VShadow:function(n){var r=he(n);return 0===o.toArray(n.children).length?e(Oe,{backgroundColor:y.Error,caption:"[VShadow] No Children!"}):e(t,{children:o.map(n.children,(function(e){return function(e){if(null==e||"boolean"==typeof e)return null;var t={};n.x&&n.y&&n.blur&&n.spread&&n.color&&(t.boxShadow="".concat(n.x,"px ").concat(n.y,"px ").concat(n.blur,"px ").concat(n.spread,"px ").concat(n.color));var o={className:r.getClassName("v-shadow-".concat(n.category?n.category:rn.Default)),style:W(W({},t),r.getStyle())};return e.type===a||"<>"===e.type?(console.warn("Cannot apply props to Fragment. Please wrap content in a div or other element."),e):i(e,o)}(e)}))})},VSubmit:function(t){var r=t.ref;t.caption,t.isFormNoValidate;var o=j(t,["ref","caption","isFormNoValidate"]),a=s(null);f((function(){"object"==typeof r&&r?r.current=a.current:"function"==typeof r&&r(a.current),t.autoFocus&&a.current&&a.current.focus()}),[]);var i=he(W({onClick:function(){a.current.click()}},o)),l=i.getProps("input").html;return n(me,{_base:i,className:"v-submit",children:[n(at,{cross:He.Middle,children:[!!t.icon&&e("span",{children:t.icon}),!!t.caption&&e("span",{children:t.caption})]}),e("input",W({formNoValidate:t.isFormNoValidate,ref:a,type:"submit"},l))]})},VSubmitWrapper:function(t){var r=he(t),o=s(null);return n("div",{className:r.getClassName("v-submit-wrapper"),style:r.getStyle(),children:[t.body,e("input",{ref:o,type:"submit"})]})},VSvg:mt,VSwitch:function(t){var r=t.isOn,o=t.icon,a=t.gap,i=t.isDisabled,l=t.onSwitch,c=j(t,["isOn","icon","gap","isDisabled","onSwitch"]),s=p({isOn:r}),u=s[0],d=s[1];f((function(){d({isOn:r})}),[r]);var h=o?e(mt,{style:{margin:u.isOn?"0 0.6em 0 0":"0 0 0 0.6em"},frontColor:y.White,fontSize:F.Normal,children:o}):e(xe,{width:"1em",height:"1em"}),g=t.isDisabled?void 0:function(){t.isDisabled||(l&&l(!u.isOn),d({isOn:!u.isOn}))},m=he(W({onClick:g},c));return e(me,{_base:m,className:i?"v-switch-disabled":"v-switch",children:n(ot,{role:"switch","aria-checked":u.isOn,"aria-disabled":i,tabIndex:i?-1:0,onKeyDown:g?function(e){" "!==e.key&&"Enter"!==e.key||(e.preventDefault(),g())}:void 0,borderRadius:T.ExtraLarge,backgroundColor:u.isOn?t.frontColor?t.frontColor:y.Success:t.backgroundColor?t.backgroundColor:y.Placeholder,gap:a||"0.6em",children:[u.isOn?e(mt,{category:ft.Circle,frontColor:y.White,children:e(Kt,{})}):h,u.isOn?h:e(mt,{category:ft.Circle,frontColor:y.White,children:e(Kt,{})})]})})},VTel:function(t){return e(pt,W({inheritClassName:"v-tel",isDefaultValue:!0,type:"tel"},t))},VText:function(t){var n=t.category;t.alignType;var r,o,a=t.renderContent,i=j(t,["category","alignType","renderContent"]),l=he(i);switch(t.alignType){case $t.Center:o="v-text-center";break;case $t.Justify:o="v-text-justify";break;case $t.Left:o="v-text";break;case $t.Right:o="v-text-right";break;default:o="v-text"}if(n){var s=n,u=l.getProps(s).html;r=c(s,u,a())}else{u=l.getProps("span").html;r=c("span",u,a())}return e(me,{_base:l,className:o,children:r})},VTextArea:function(t){var r=t.ref;t.icon;var o=t.valueHook,a=t.setStateHook,i=t.placeholderColor,l=j(t,["ref","icon","valueHook","setStateHook","placeholderColor"]),c=he(l),u=c.getProps("textarea").html,d=p({value:t.value}),h=d[0],g=d[1],m=s(null);f((function(){"object"==typeof r&&r?r.current=m.current:"function"==typeof r&&r(m.current),t.autoFocus&&m.current&&m.current.focus()}),[]);var v=(i||y.Placeholder)+"-placeholder";return e(me,{category:U.Display,_base:c,className:"v-validity v-textarea ".concat(v),children:n(rt,{cross:He.Top,gap:"0.6em",children:[t.icon,e(xe,{children:e("textarea",W({ref:m},u,{id:t.id?t.id:t.name,value:o?t.valueHook:h.value,onChange:function(e){t.onChange&&t.onChange(e),a?a(e.target.value):g({value:e.target.value})}}))})]})})},VTextBox:Gt,VTheme:function(t){var n=t.category,r=t.area,o=t.variables,a=j(t,["category","area","variables"]),i=he(W({id:r},a));return f((function(){var e;n==on.Area?r&&(e=document.getElementById(r)):e=document.documentElement,e&&(Object.keys(o.colors).forEach((function(t){e.style.setProperty("".concat(an,"color-").concat(t),o.colors[t])})),Object.keys(o.fontSizes).forEach((function(t){e.style.setProperty("".concat(an).concat(t),o.fontSizes[t])})),Object.keys(o.fontWeights).forEach((function(t){e.style.setProperty("".concat(an).concat(t),o.fontWeights[t])})))}),[]),n==on.Area?e(me,{_base:i,className:"v-theme",children:t.children}):e(Oe,{backgroundColor:y.Error,caption:"[VTheme] No Area!"})},VTime:function(t){return e(pt,W({type:"time",isDefaultValue:!0},t))},VTooltip:function(t){var n,r=t.category,o=t.dockCategory,a=t.dockAlignment,i=t.renderOverlay,l=j(t,["category","dockCategory","dockAlignment","renderOverlay"]),c=he(l),s=p({isShow:!1}),u=s[0],d=s[1],f=h();return n=r||ln.Hover,e(me,{_base:c,className:"v-tooltip",children:e(Pe,{category:o,alignment:a,renderOverlay:function(){return u.isShow?e(xe,{role:"tooltip",id:f,children:i()}):e(xe,{className:"v-tooltip-overlay-fragment","aria-hidden":!0})},children:e(xe,{"aria-describedby":u.isShow?f:void 0,onClick:function(){n==ln.Click&&d({isShow:!u.isShow})},onMouseEnter:function(){n==ln.Hover&&d({isShow:!0})},onMouseLeave:function(){n==ln.Hover&&d({isShow:!1})},onFocus:function(){n==ln.Hover&&d({isShow:!0})},onBlur:function(){n==ln.Hover&&d({isShow:!1})},children:t.children})})})},VUrl:function(t){return e(pt,W({inheritClassName:"v-url",isDefaultValue:!0,type:"url"},t))},VVideo:function(t){t.sources;var n=j(t,["sources"]),r=he(n),o=r.getProps("video").html;return e("video",W({className:r.getClassName("v-label"),style:r.getStyle(),controls:!0},o,{children:t.sources.map((function(t,n){return e("source",{src:t.src,type:t.type},"source".concat(n))}))}))},VWeek:function(t){return e(pt,W({type:"week",isDefaultValue:!0},t))},VZone:function(t){var n=t.category,r=j(t,["category"]),o=he(r);return e(me,{_base:o,className:"v-zone-".concat(n),children:t.children})},get ViewSizeType(){return V},get VisibilityType(){return O},X:et,XAround:function(e){return $e(e,void 0,void 0,(function(){return Ve.SpaceAround}))},XAutoBoth:function(t){var n=he(t);return $e(t,(function(t,r,a,i){return 0!=r&&r!=o.count(n.getChildren())-1?e(Ue,{grow:0,alignSelf:a,shrink:i,children:t}):e(Ue,{grow:1,alignSelf:a,shrink:i,children:t})}))},XAutoCenter:tt,XAutoLeft:nt,XAutoLefts:function(t){var n=he(t);return $e(t,(function(t,r,a,i){return r==o.count(n.getChildren())-1?e(Ue,{grow:0,alignSelf:a,shrink:i,children:t}):e(Ue,{grow:1,alignSelf:a,shrink:i,children:t})}))},XAutoRight:rt,XAutoRights:function(t){return $e(t,(function(t,n,r,o){return e(Ue,0==n?{grow:0,alignSelf:r,shrink:o,children:t}:{grow:1,alignSelf:r,shrink:o,children:t})}))},XBetween:ot,XCenter:at,get XCrossType(){return He},XCustom:function(t){return $e(t,(function(n,r,o,a){var i=e(Ue,{shrink:a,children:n});return t.basises&&r<t.basises.length&&(i=e(Ue,{basis:t.basises[r],shrink:a,children:n})),i}))},XCustomBoth:function(t){var n=he(t);return $e(t,(function(r,a,i,l){return 0==a||a==o.count(n.getChildren())-1?e(Ue,{basis:t.basis,shrink:l,children:r}):e(Ue,{grow:1,shrink:l,children:r})}))},XEvenly:function(e){return $e(e,void 0,void 0,(function(){return Ve.SpaceEvenly}))},XLeft:it,XRight:function(e){return $e(e,void 0,void 0,(function(){return Ve.End}))},XWrapAround:function(e){return $e(e,void 0,(function(){return Ee.Wrap}),void 0,(function(){return Ae.SpaceAround}))},XWrapBetween:function(e){return $e(e,void 0,(function(){return Ee.Wrap}),void 0,(function(){return Ae.SpaceBetween}))},XWrapBottom:function(e){return $e(e,void 0,(function(){return Ee.Wrap}),void 0,(function(){return Ae.End}))},XWrapEvenly:function(e){return $e(e,void 0,(function(){return Ee.Wrap}),void 0,(function(){return Ae.SpaceEvenly}))},XWrapMiddle:function(e){return $e(e,void 0,(function(){return Ee.Wrap}),void 0,(function(){return Ae.Center}))},XWrapTop:function(e){return $e(e,void 0,(function(){return Ee.Wrap}),void 0,(function(){return Ae.Start}))},Y:st,YAround:function(e){return ct(e,void 0,void 0,void 0,(function(){return Ve.SpaceAround}))},YAutoBoth:function(t){var n=he(t);return ct(t,(function(t,r,a,i){return 0!=r&&r!=o.count(n.getChildren())-1?e(Ue,{grow:0,alignSelf:a,shrink:i,children:t}):e(Ue,{grow:1,alignSelf:a,shrink:i,children:t})}))},YAutoBottom:function(t){var n=he(t);return ct(t,(function(t,r,a,i){return r==o.count(n.getChildren())-1?e(Ue,{grow:1,shrink:i,children:t}):e(Ue,{grow:0,shrink:i,children:t})}))},YAutoBottoms:function(t){return ct(t,(function(t,n,r,o){return e(Ue,0==n?{grow:0,alignSelf:r,shrink:o,children:t}:{grow:1,alignSelf:r,shrink:o,children:t})}))},YAutoCenter:function(t){var n=he(t);return ct(t,(function(t,r,a,i){return 0!=r&&r!=o.count(n.getChildren())-1?e(Ue,{grow:1,alignSelf:a,shrink:i,children:t}):e(Ue,{grow:0,alignSelf:a,shrink:i,children:t})}))},YAutoTop:function(t){return ct(t,(function(t,n,r,o){return e(Ue,0==n?{grow:1,alignSelf:r,shrink:o,children:t}:{grow:0,alignSelf:r,shrink:o,children:t})}))},YAutoTops:function(t){var n=he(t);return ct(t,(function(t,r,a,i){return r==o.count(n.getChildren())-1?e(Ue,{grow:0,alignSelf:a,shrink:i,children:t}):e(Ue,{grow:1,alignSelf:a,shrink:i,children:t})}))},YBetween:function(e){return ct(e,void 0,void 0,void 0,(function(){return Ve.SpaceBetween}))},YBottom:function(e){return ct(e,void 0,void 0,void 0,(function(){return Ve.End}))},get YCrossType(){return Qe},YCustom:function(t){return ct(t,(function(n,r,o,a){var i=e(Ue,{shrink:a,children:n});return t.basises&&r<t.basises.length&&(i=e(Ue,{basis:t.basises[r],shrink:a,children:n})),i}))},YCustomBoth:function(t){var n=he(t);return ct(t,(function(r,a,i,l){return 0==a||a==o.count(n.getChildren())-1?e(Ue,{basis:t.basis,shrink:l,children:r}):e(Ue,{grow:1,shrink:l,children:r})}))},YEvenly:function(e){return ct(e,void 0,void 0,void 0,(function(){return Ve.SpaceEvenly}))},YMiddle:function(e){return ct(e,void 0,void 0,void 0,(function(){return Ve.Center}))},YTop:function(e){return ct(e,void 0,void 0,void 0,(function(){return Ve.Start}))},YWrapAround:function(e){return ct(e,void 0,(function(){return Ee.Wrap}),(function(){return Ae.SpaceAround}),void 0)},YWrapBetween:function(e){return ct(e,void 0,(function(){return Ee.Wrap}),(function(){return Ae.SpaceBetween}))},YWrapCenter:function(e){return ct(e,void 0,(function(){return Ee.Wrap}),(function(){return Ae.Center}))},YWrapEvenly:function(e){return ct(e,void 0,(function(){return Ee.Wrap}),(function(){return Ae.SpaceEvenly}))},YWrapLeft:function(e){return ct(e,void 0,(function(){return Ee.Wrap}),(function(){return Ae.Start}))},YWrapRight:function(e){return ct(e,void 0,(function(){return Ee.Wrap}),(function(){return Ae.End}))},get ZoneCategory(){return ge},convertFormDataToJson:dt,getGeneratedClassName:le});!function(e){e.Components=un}(cn||(cn={}));export{cn as Den};
2
2
  //# sourceMappingURL=index.js.map