@fewbox/den 0.2.0-preview.33 → 0.2.0-preview.34
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 +1 -1
- package/index.js.map +1 -1
- package/package.json +1 -1
- package/scripts/generate-packages.js +1 -1
- package/templates/FEWBOX.md +0 -1
- package/tsconfig.app.tsbuildinfo +1 -1
package/index.js
CHANGED
|
@@ -1,3 +1,3 @@
|
|
|
1
1
|
'use client';
|
|
2
|
-
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,useId as s,useRef as u,useLayoutEffect as d,useEffect as f,useState as h,useCallback as p,Suspense as g,use as m,Component as v}from"react";import{createPortal as y}from"react-dom";var b=function(e,t){return b=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])},b(e,t)};function w(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}b(e,t),e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)}var C=function(){return C=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},C.apply(this,arguments)};function S(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 k(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;var _={Font:"font",Body:"body",White:"white",Black:"black",Light:"light",Light75:"light75",Light50:"light50",Light25:"light25",Dark:"dark",Dark75:"dark75",Dark50:"dark50",Dark25:"dark25",Primary:"primary",Primary75:"primary75",Primary50:"primary50",Primary25:"primary25",Secondary:"secondary",Secondary75:"secondary75",Secondary50:"secondary50",Secondary25:"secondary25",Tertiary:"tertiary",Tertiary75:"tertiary75",Tertiary50:"tertiary50",Tertiary25:"tertiary25",Info:"info",Info75:"info75",Info50:"info50",Info25:"info25",Success:"success",Success75:"success75",Success50:"success50",Success25:"success25",Warning:"warning",Warning75:"warning75",Warning50:"warning50",Warning25:"warning25",Error:"error",Error75:"error75",Error50:"error50",Error25:"error25",Border:"border",Border75:"border75",Border50:"border50",Border25:"border25",Placeholder:"placeholder",Placeholder75:"placeholder75",Placeholder50:"placeholder50",Placeholder25:"placeholder25",Transparent:"transparent"},x={Thin:"font-weight-thin",ExtraLight:"font-weight-extra-light",Light:"font-weight-light",Regular:"font-weight-regular",Medium:"font-weight-medium",SemiBold:"font-weight-semi-bold",Bold:"font-weight-bold",ExtraBold:"font-weight-extra-bold",Black:"font-weight-black"},O={Default:"font-family"},N={Default:"line-height"},I={Default:"padding",Normal:"padding-normal",ExtraSmall:"padding-extra-small",Small:"padding-small",Large:"padding-large",ExtraLarge:"padding-extra-large"},B={Default:"margin",Normal:"margin-normal",ExtraSmall:"margin-extra-small",Small:"margin-small",Large:"margin-large",ExtraLarge:"margin-extra-large"},D={Default:"gap",Normal:"gap-normal",ExtraSmall:"gap-extra-small",Small:"gap-small",Large:"gap-large",ExtraLarge:"gap-extra-large"},L={Default:"letter-spacing",Normal:"letter-spacing-normal",ExtraSmall:"letter-spacing-extra-small",Small:"letter-spacing-small",Large:"letter-spacing-large",ExtraLarge:"letter-spacing-extra-large"},z={Default:"border-radius",Normal:"border-radius-normal",ExtraSmall:"border-radius-extra-small",Small:"border-radius-small",Large:"border-radius-large",ExtraLarge:"border-radius-extra-large",Max:"border-radius-max"},R={None:"border-style-none",Solid:"border-style-solid",Dashed:"border-style-dashed",Dotted:"border-style-dotted",Double:"border-style-double",Groove:"border-style-groove",Ridge:"border-style-ridge",Inset:"border-style-inset",Outset:"border-style-outset",Hidden:"border-style-hidden"},E={Default:"border-width",Normal:"border-width-normal",ExtraSmall:"border-width-extra-small",Small:"border-width-small",Large:"border-width-large",ExtraLarge:"border-width-extra-large"},T={Visible:"visibility-visible",Hidden:"visibility-hidden",Collapse:"visibility-collapse"},F={None:"display-none",Block:"display-block",Inline:"display-inline",InlineBlock:"display-inline-block",Flex:"display-flex",InlineFlex:"display-inline-flex",Grid:"display-grid",InlineGrid:"display-inline-grid",Table:"display-table",TableRow:"display-table-row",TableCell:"display-table-cell",Contents:"display-contents",FlowRoot:"display-flow-root"},P={Auto:"cursor-auto",Default:"cursor-default",None:"cursor-none",ContextMenu:"cursor-context-menu",Help:"cursor-help",Pointer:"cursor-pointer",Progress:"cursor-progress",Wait:"cursor-wait",Cell:"cursor-cell",Crosshair:"cursor-crosshair",Text:"cursor-text",VerticalText:"cursor-vertical-text",Alias:"cursor-alias",Copy:"cursor-copy",Move:"cursor-move",NoDrop:"cursor-no-drop",NotAllowed:"cursor-not-allowed",Grab:"cursor-grab",Grabbing:"cursor-grabbing",AllScroll:"cursor-all-scroll",ColResize:"cursor-col-resize",RowResize:"cursor-row-resize",NResize:"cursor-n-resize",EResize:"cursor-e-resize",SResize:"cursor-s-resize",WResize:"cursor-w-resize",NeResize:"cursor-ne-resize",NwResize:"cursor-nw-resize",SeResize:"cursor-se-resize",SwResize:"cursor-sw-resize",EwResize:"cursor-ew-resize",NsResize:"cursor-ns-resize",NeswResize:"cursor-nesw-resize",NwseResize:"cursor-nwse-resize",ZoomIn:"cursor-zoom-in",ZoomOut:"cursor-zoom-out"},V={Visible:"overflow-visible",Hidden:"overflow-hidden",Scroll:"overflow-scroll",Auto:"overflow-auto",Clip:"overflow-clip"},j={Visible:"overflow-x-visible",Hidden:"overflow-x-hidden",Scroll:"overflow-x-scroll",Auto:"overflow-x-auto",Clip:"overflow-x-clip"},W={Visible:"overflow-y-visible",Hidden:"overflow-y-hidden",Scroll:"overflow-y-scroll",Auto:"overflow-y-auto",Clip:"overflow-y-clip"},A={_0:"opacity-0",_10:"opacity-10",_20:"opacity-20",_25:"opacity-25",_30:"opacity-30",_40:"opacity-40",_50:"opacity-50",_60:"opacity-60",_70:"opacity-70",_75:"opacity-75",_80:"opacity-80",_90:"opacity-90",_100:"opacity-100"},H={Ellipse:"v-ellipse-size",Rectangle:"v-rectangle-size",Image:"v-image-size",Svg:"v-svg-size",Window:"v-window-size"},U=function(e){var t;switch(e){case x.Thin:t=100;break;case x.ExtraLight:t=200;break;case x.Light:t=300;break;case x.Regular:t=400;break;case x.Medium:t=500;break;case x.SemiBold:t=600;break;case x.Bold:t=700;break;case x.ExtraBold:t=800;break;case x.Black:t=900;break;default:t=400}return t},M={Default:"font-size",Normal:"font-size-normal",Small:"font-size-small",ExtraSmall:"font-size-extra-small",Large:"font-size-large",ExtraLarge:"font-size-extra-large",AutoNormal:"auto-font-size-normal",AutoSmall:"auto-font-size-small",AutoExtraSmall:"auto-font-size-extra-small",AutoLarge:"auto-font-size-large",AutoExtraLarge:"auto-font-size-extra-large"},X={All:"all",Before:"before",After:"after"},Y={All:"all",Top:"top",Right:"right",Bottom:"bottom",Left:"left",ExceptTop:"except-top",ExceptRight:"except-right",ExceptBottom:"except-bottom",ExceptLeft:"except-left",RightTop:"right-top",RightBottom:"right-bottom",LeftTop:"left-top",LeftBottom:"left-bottom",TopBottom:"top-bottom",LeftRight:"left-right"},Z=function(){function e(e){this.className=e}return e.prototype.getClassName=function(){return"".concat(this.className)},e}(),G=function(e){this.component=e},q=function(e){function t(t,n,r){var o=e.call(this,t)||this;return o.sizeType=n,o.isAuto=r,o}return w(t,e),t.prototype.getClassName=function(){if(this.sizeType){var e=void 0;return e=Object.values(M).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}(G),J=function(e){function t(t,n){var r=e.call(this,t)||this;return r.weightType=n,r}return w(t,e),t.prototype.getClassName=function(){return this.weightType?"".concat(this.component.getClassName()," ").concat(this.weightType):this.component.getClassName()},t}(G),K=function(e){function t(t,n){var r=e.call(this,t)||this;return r.visibility=n,r}return w(t,e),t.prototype.getClassName=function(){if(this.visibility){var e=void 0;return e=Object.values(T).includes(this.visibility)?this.visibility:"visibility-".concat(this.visibility),"".concat(this.component.getClassName()," ").concat(e)}return this.component.getClassName()},t}(G),Q=function(e){function t(t,n){var r=e.call(this,t)||this;return r.cursor=n,r}return w(t,e),t.prototype.getClassName=function(){if(this.cursor){var e=void 0;return e=Object.values(P).includes(this.cursor)?this.cursor:"cursor-".concat(this.cursor),"".concat(this.component.getClassName()," ").concat(e)}return this.component.getClassName()},t}(G),$=function(e){function t(t,n){var r=e.call(this,t)||this;return r.overflow=n,r}return w(t,e),t.prototype.getClassName=function(){if(this.overflow){var e=void 0;return e=Object.values(V).includes(this.overflow)?this.overflow:"overflow-".concat(this.overflow),"".concat(this.component.getClassName()," ").concat(e)}return this.component.getClassName()},t}(G),ee=function(e){function t(t,n){var r=e.call(this,t)||this;return r.overflowX=n,r}return w(t,e),t.prototype.getClassName=function(){if(this.overflowX){var e=void 0;return e=Object.values(j).includes(this.overflowX)?this.overflowX:Object.values(V).includes(this.overflowX)?this.overflowX.replace("overflow-","overflow-x-"):"overflow-x-".concat(this.overflowX),"".concat(this.component.getClassName()," ").concat(e)}return this.component.getClassName()},t}(G),te=function(e){function t(t,n){var r=e.call(this,t)||this;return r.overflowY=n,r}return w(t,e),t.prototype.getClassName=function(){if(this.overflowY){var e=void 0;return e=Object.values(W).includes(this.overflowY)?this.overflowY:Object.values(V).includes(this.overflowY)?this.overflowY.replace("overflow-","overflow-y-"):"overflow-y-".concat(this.overflowY),"".concat(this.component.getClassName()," ").concat(e)}return this.component.getClassName()},t}(G),ne=function(e){function t(t,n){var r=e.call(this,t)||this;return r.display=n,r}return w(t,e),t.prototype.getClassName=function(){if(this.display){var e=void 0;return e=Object.values(F).includes(this.display)?this.display:"display-".concat(this.display),"".concat(this.component.getClassName()," ").concat(e)}return this.component.getClassName()},t}(G),re=function(e){function t(t,n){var r=e.call(this,t)||this;return r.opacityType=n,r}return w(t,e),t.prototype.getClassName=function(){return this.opacityType&&Object.values(A).includes(this.opacityType)?"".concat(this.component.getClassName()," ").concat(this.opacityType):this.component.getClassName()},t}(G),oe=function(e){function t(t,n){var r=e.call(this,t)||this;return r.borderRadius=n,r}return w(t,e),t.prototype.getClassName=function(){return this.borderRadius&&Object.values(z).includes(this.borderRadius)?"".concat(this.component.getClassName()," ").concat(this.borderRadius):this.component.getClassName()},t}(G),ae=function(e){function t(t,n){var r=e.call(this,t)||this;return r.borderStyle=n,r}return w(t,e),t.prototype.getClassName=function(){if(this.borderStyle){var e=void 0;return e=Object.values(R).includes(this.borderStyle)?this.borderStyle:"border-style-".concat(this.borderStyle),"".concat(this.component.getClassName()," ").concat(e)}return this.component.getClassName()},t}(G),ie=function(e){function t(t,n){var r=e.call(this,t)||this;return r.padding=n,r}return w(t,e),t.prototype.getClassName=function(){return this.padding&&Object.values(I).includes(this.padding)?"".concat(this.component.getClassName()," ").concat(this.padding):this.component.getClassName()},t}(G),le=function(e){function t(t,n){var r=e.call(this,t)||this;return r.letterSpacing=n,r}return w(t,e),t.prototype.getClassName=function(){return this.letterSpacing&&Object.values(L).includes(this.letterSpacing)?"".concat(this.component.getClassName()," ").concat(this.letterSpacing):this.component.getClassName()},t}(G),ce=function(e){function t(t,n){var r=e.call(this,t)||this;return r.margin=n,r}return w(t,e),t.prototype.getClassName=function(){return this.margin&&Object.values(B).includes(this.margin)?"".concat(this.component.getClassName()," ").concat(this.margin):this.component.getClassName()},t}(G),se=function(e){function t(t,n){var r=e.call(this,t)||this;return r.borderWidth=n,r}return w(t,e),t.prototype.getClassName=function(){if(this.borderWidth){var e=void 0;return e=Object.values(E).includes(this.borderWidth)?this.borderWidth:"border-width-".concat(this.borderWidth),"".concat(this.component.getClassName()," ").concat(e)}return this.component.getClassName()},t}(G),ue=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 w(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 Y.Bottom:r=" ".concat(e).concat(o,"-border-bottom");break;case Y.ExceptBottom:r=" ".concat(e).concat(o,"-border-except-bottom");break;case Y.ExceptLeft:r=" ".concat(e).concat(o,"-border-except-left");break;case Y.ExceptRight:r=" ".concat(e).concat(o,"-border-except-right");break;case Y.ExceptTop:r=" ".concat(e).concat(o,"-border-except-top");break;case Y.Left:r=" ".concat(e).concat(o,"-border-left");break;case Y.LeftBottom:r=" ".concat(e).concat(o,"-border-left-bottom");break;case Y.LeftRight:r=" ".concat(e).concat(o,"-border-left-right");break;case Y.LeftTop:r=" ".concat(e).concat(o,"-border-left-top");break;case Y.Right:r=" ".concat(e).concat(o,"-border-right");break;case Y.RightBottom:r=" ".concat(e).concat(o,"-border-right-bottom");break;case Y.RightTop:r=" ".concat(e).concat(o,"-border-right-top");break;case Y.Top:r=" ".concat(e).concat(o,"-border-top");break;case Y.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(_.Transparent,"-background"):"",r=this.pseudoBackgroundColorType?" ".concat(this.pseudoBackgroundColorType,"-before-background"):this.isDefaultValue?" ".concat(_.Transparent,"-before-background"):"",o=this.pseudoBackgroundColorType?" ".concat(this.pseudoBackgroundColorType,"-after-background"):this.isDefaultValue?" ".concat(_.Transparent,"-after-background"):"",a="".concat(r).concat(o),i=this.frontColorType?" ".concat(this.frontColorType,"-front"):this.isDefaultValue?" ".concat(_.Black,"-front"):"",l=this.pseudoFrontColorType?" ".concat(this.pseudoFrontColorType,"-before-front"):this.isDefaultValue?" ".concat(_.Black,"-before-front"):"",c=this.pseudoFrontColorType?" ".concat(this.pseudoFrontColorType,"-after-front"):this.isDefaultValue?" ".concat(_.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(_.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(_.Transparent).concat(this.getBorderPrefix(this.pseudoType),"-border"):"":"","".concat(this.component.getClassName()).concat(n).concat(a).concat(i).concat(s).concat(e).concat(t)},t}(G),de=function(e,t,n,r,o,a,i,l,c,s,u,d,f,h,p,g,m,v,y,b,w,C,S,k,_,x,O){return new ue(new te(new ee(new $(new Q(new K(new ne(new re(new ce(new le(new ie(new se(new ae(new oe(new q(new J(new Z(e),o),n,r),p),g),m),v),O),y),b),w),C),S),k),_),x),t,a,i,l,c,s,u,d,f,h).getClassName()},fe=["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"],he=["id","title","dir","lang","translate","tabIndex","accessKey","contentEditable","spellCheck","draggable","enterKeyHint","inputMode","autoCapitalize","role","slot","htmlFor","hidden","is"],pe=["onError","onLoad"],ge=["onAbort","onCanPlay","onCanPlayThrough","onDurationChange","onEmptied","onEncrypted","onEnded","onError","onLoadedData","onLoadedMetadata","onLoadStart","onPause","onPlay","onPlaying","onProgress","onRateChange","onResize","onSeeked","onSeeking","onStalled","onSuspend","onTimeUpdate","onVolumeChange","onWaiting"],me={div:k(k([],fe,!0),he,!0),input:k(k(k(k([],fe,!0),he,!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:k(k(k([],fe,!0),he,!0),["rows","cols","wrap","name","autoFocus","autoComplete","placeholder","maxLength","minLength","required","readOnly","disabled","wrap","spellcheck","dirname"],!0),template:k(k([],fe,!0),he,!0),abbr:k(k([],fe,!0),he,!0),span:k(k([],fe,!0),he,!0),h1:k(k([],fe,!0),he,!0),h2:k(k([],fe,!0),he,!0),h3:k(k([],fe,!0),he,!0),h4:k(k([],fe,!0),he,!0),h5:k(k([],fe,!0),he,!0),h6:k(k([],fe,!0),he,!0),i:k(k([],fe,!0),he,!0),b:k(k([],fe,!0),he,!0),u:k(k([],fe,!0),he,!0),em:k(k([],fe,!0),he,!0),strong:k(k([],fe,!0),he,!0),blockquote:k(k([],fe,!0),he,!0),cite:k(k([],fe,!0),he,!0),code:k(k([],fe,!0),he,!0),del:k(k([],fe,!0),he,!0),dfn:k(k([],fe,!0),he,!0),ins:k(k([],fe,!0),he,!0),kbd:k(k([],fe,!0),he,!0),mark:k(k([],fe,!0),he,!0),pre:k(k([],fe,!0),he,!0),q:k(k([],fe,!0),he,!0),s:k(k([],fe,!0),he,!0),samp:k(k([],fe,!0),he,!0),small:k(k([],fe,!0),he,!0),summary:k(k([],fe,!0),he,!0),sup:k(k([],fe,!0),he,!0),sub:k(k([],fe,!0),he,!0),time:k(k([],fe,!0),he,!0),var:k(k([],fe,!0),he,!0),wbr:k(k([],fe,!0),he,!0),p:k(k([],fe,!0),he,!0),address:k(k([],fe,!0),he,!0),article:k(k([],fe,!0),he,!0),aside:k(k([],fe,!0),he,!0),details:k(k(k([],fe,!0),he,!0),["onToggle"],!0),nav:k(k([],fe,!0),he,!0),section:k(k([],fe,!0),he,!0),form:k(k(k([],fe,!0),he,!0),["onReset","onSubmit"],!0),dialog:k(k(k([],fe,!0),he,!0),["onCancel","onClose"],!0),img:k(k(k(k([],fe,!0),he,!0),pe,!0),["src","alt","width","height","crossOrigin","decoding","loading","referrerPolicy","sizes","srcSet","title","role"],!0),iframe:k(k(k(k([],fe,!0),he,!0),pe,!0),["src","srcDoc","width","height","name","sandbox","allow","allowFullScreen","loading","referrerPolicy","title","role"],!0),object:k(k(k([],fe,!0),he,!0),pe,!0),embed:k(k(k([],fe,!0),he,!0),pe,!0),link:k(k(k([],fe,!0),he,!0),pe,!0),svg:k(k(k([],fe,!0),he,!0),pe,!0),audio:k(k(k([],fe,!0),he,!0),ge,!0),video:k(k(k([],fe,!0),he,!0),ge,!0)},ve=["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"],ye=function(t){return{getClassName:function(e){var n=de(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,t.letterSpacing);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,lineHeight:t.lineHeight};return t.letterSpacing&&!Object.values(L).includes(t.letterSpacing)&&(n.letterSpacing=t.letterSpacing),t.opacity&&!Object.values(A).includes(t.opacity)&&(n.opacity=t.opacity),t.padding&&!Object.values(I).includes(t.padding)&&(n.padding=t.padding),t.margin&&!Object.values(B).includes(t.margin)&&(n.margin=t.margin),t.borderRadius&&!Object.values(z).includes(t.borderRadius)&&(n.borderRadius=t.borderRadius),null!=t.selfShrink&&(n.flexShrink=t.selfShrink),null!=t.selfGrow&&(n.flexGrow=t.selfGrow),null!=t.selfBasis&&(n.flexBasis=t.selfBasis),C(C(C({},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){ve.includes(o)?n[o]=t[o]:me[e]&&me[e].includes(o)&&(r[o]=t[o])})),{view:n,html:r}}}},be={Display:"display",Rich:"rich"},we=function(t){var n=(t.category==be.Display?{}:t._base.getProps("div")).html;return e("div",C({ref:t.ref,className:t._base.getClassName(t.className),style:t._base.getStyle(t.style)},n,{children:t.children}))},Ce={Fluid:"fluid",Small:"small",Medium:"medium",Large:"large",ExtraLarge:"extra-large",ExtraExtraLarge:"extra-extra-large"},Se=function(t){var n=t.category,r=S(t,["category"]),o=ye(r);return e(we,{_base:o,className:"v-zone-".concat(n),children:t.children})},ke={Edge:"edge",Window:"window",Area:"area",Self:"self"},_e={Top:"top",Right:"right",Bottom:"bottom",Left:"left",LeftTop:"left-top",RightTop:"right-top",LeftBottom:"left-bottom",RightBottom:"right-bottom",Center:"center"},xe=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=C(C({},t.style),{zIndex:t.zIndex}),e("div",{className:n,style:r,children:t.children})}r=void 0;return r=t.category!=ke.Self?C(C({},t.style),{top:t.top,right:t.right,bottom:t.bottom,left:t.left,zIndex:t.zIndex}):C(C({},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})},Oe={Default:"default",FullSize:"full-size"},Ne=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:Oe.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)}))})},Ie=function(t){var n=ye(t);return e(we,{ref:t.ref,_base:n,className:"v-boundary",children:t.children})},Be={Div:"div",Abbr:"abbr",Span:"span",H1:"h1",H2:"h2",H3:"h3",H4:"h4",H5:"h5",H6:"h6",I:"i",B:"b",U:"u",Em:"em",Strong:"strong",Blockquote:"blockquote",Cite:"cite",Code:"code",Del:"del",Dfn:"dfn",Ins:"ins",Kbd:"kbd",Mark:"mark",Pre:"pre",Q:"q",S:"s",Samp:"samp",Small:"small",Summary:"summary",Sup:"sup",Sub:"sub",Time:"time",Var:"var",Wbr:"wbr"},De={Default:"default",Circle:"circle"},Le={Justify:0,Left:1,Right:2,Center:3},ze=function(t){var n,r,o=t.category,a=t.type,i=t.alignType,l=t.isTextOverflow,s=t.caption,u=S(t,["category","type","alignType","isTextOverflow","caption"]),d=ye(C({display:null==t.category||t.category==Be.Span?"inline-block":"block"},u)),f=d.getProps("div"),h=f.view,p=f.html;switch(i){case Le.Center:r="v-label-center";break;case Le.Justify:r="v-label-justify";break;case Le.Left:r="v-label";break;case Le.Right:r="v-label-right";break;default:r="v-label"}if(a==De.Circle&&(r="".concat(r,"-circle")),l&&(r+=" v-label-text-overflow"),u.fontWeight&&(r+=" v-label-inherit-font-weight"),u.fontSize&&(r+=" v-label-inherit-font-size"),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==De.Circle?e(Ne,{children:e(Ie,C({width:"1.6em",height:"1.6em",borderRadius:z.Max},h,{className:r},p,{children:e(xe,{category:ke.Area,type:_e.Center,children:n})}))}):e(Ie,C({},h,{className:t.className?"".concat(t.className," ").concat(r):r},p,{children:n}))};ze.displayName="VLabel";var Re=l(ze),Ee={ExtraSmall:"extra-small",Small:"small",Medium:"medium",Large:"large",ExtraLarge:"extra-large",ExtraExtraLarge:"extra-extra-large"},Te={Visible:"visiable",Hidden:"hidden"},Fe={Only:"only",Up:"up",Down:"down"},Pe=function(t){return t.children?e(Ie,{className:function(){if(t.breakpoint){if("string"!=typeof t.breakpoint)return t.breakpoint.map((function(e){return"".concat(e,"-").concat(t.category)})).join(" ");if(!t.type||t.type==Fe.Only)return"".concat(t.breakpoint,"-").concat(t.category);if(t.type==Fe.Up)return"".concat(t.breakpoint,"-up-").concat(t.category);if(t.type==Fe.Down)return"".concat(t.breakpoint,"-down-").concat(t.category)}return t.category}(),style:{display:"contents"},children:t.children}):e(Re,{backgroundColor:_.Error,caption:"[BreakpointDisplay] No Children!"})},Ve=function(r){return n(t,{children:[e(Pe,{category:Te.Hidden,type:Fe.Down,breakpoint:r.breakpointType?r.breakpointType:Ee.Small,children:r.desktop}),e(Pe,{category:Te.Hidden,type:Fe.Up,breakpoint:r.breakpointType?r.breakpointType:Ee.Small,children:r.mobile})]})},je=2147483647,We={Top:"top",Right:"right",Bottom:"bottom",Left:"left",LeftTop:"left-top",RightTop:"right-top",LeftBottom:"left-bottom",RightBottom:"right-bottom",InnerTop:"inner-top",InnerRight:"inner-right",InnerBottom:"inner-bottom",InnerLeft:"inner-left",InnerLeftTop:"inner-left-top",InnerRightTop:"inner-right-top",InnerLeftBottom:"inner-left-bottom",InnerRightBottom:"inner-right-bottom"},Ae={Horizontal:"horizontal",Vertical:"vertical"},He={Manual:"manual",Auto:"auto"},Ue=function(e,t){return t?"".concat(e,"-").concat(t):e},Me=function(t){var n=t.category,r=t.offset,o=t.zIndex,a=t.alignment,i=t.popoverMode,l=void 0===i?He.Manual:i,c=t.onOverlayClose,h=t.renderOverlay,p=s(),g=u(null),m="--dock-".concat(p.replace(/:/g,""));return d((function(){var e=g.current,t=null==e?void 0:e.parentElement;if(t&&t.style.setProperty("anchor-name",m),e)try{e.showPopover()}catch(e){}return function(){t&&t.style.removeProperty("anchor-name");try{null==e||e.hidePopover()}catch(e){}}}),[m]),f((function(){if(l===He.Auto&&c){var e=g.current;if(e){var t=function(e){"closed"===e.newState&&c()};return e.addEventListener("toggle",t),function(){e.removeEventListener("toggle",t)}}}}),[l,c]),e("div",{ref:g,popover:l,className:"dock-popover-overlay ".concat(Ue(n,a)),style:{"--dock-offset":"".concat(r,"px"),"--dock-z-index":o,positionAnchor:m},children:h()})},Xe=function(r){var o=r.category,a=r.offset,i=r.zIndex,l=r.alignment,c=r.renderOverlay,s=u(null),d=u(null),g=h({}),m=g[0],v=g[1],b=h(!0),w=b[0],S=b[1],k=h(!1),_=k[0],x=k[1];f((function(){x(!0)}),[]);var O=p((function(){var e,t=null===(e=s.current)||void 0===e?void 0:e.parentElement,n=d.current;if(t&&n){var r=t.getBoundingClientRect(),i=n.getBoundingClientRect();v(function(e,t,n,r,o){var a=0,i=0;switch(n){case We.Top:a=e.top-t.height-r,i=e.left+(e.width-t.width)/2;break;case We.Right:a=e.top+(e.height-t.height)/2,i=e.right+r;break;case We.Bottom:a=e.bottom+r,i=e.left+(e.width-t.width)/2;break;case We.Left:a=e.top+(e.height-t.height)/2,i=e.left-t.width-r;break;case We.LeftTop:o===Ae.Horizontal?(a=e.top,i=e.left-t.width-r):o===Ae.Vertical?(a=e.top-t.height-r,i=e.left):(a=e.top-t.height-r,i=e.left-t.width-r);break;case We.RightTop:o===Ae.Horizontal?(a=e.top,i=e.right+r):o===Ae.Vertical?(a=e.top-t.height-r,i=e.right-t.width):(a=e.top-t.height-r,i=e.right+r);break;case We.LeftBottom:o===Ae.Horizontal?(a=e.bottom-t.height,i=e.left-t.width-r):o===Ae.Vertical?(a=e.bottom+r,i=e.left):(a=e.bottom+r,i=e.left-t.width-r);break;case We.RightBottom:o===Ae.Horizontal?(a=e.bottom-t.height,i=e.right+r):o===Ae.Vertical?(a=e.bottom+r,i=e.right-t.width):(a=e.bottom+r,i=e.right+r);break;case We.InnerTop:a=e.top+r,i=e.left+(e.width-t.width)/2;break;case We.InnerRight:a=e.top+(e.height-t.height)/2,i=e.right-t.width-r;break;case We.InnerBottom:a=e.bottom-t.height-r,i=e.left+(e.width-t.width)/2;break;case We.InnerLeft:a=e.top+(e.height-t.height)/2,i=e.left+r;break;case We.InnerLeftTop:a=e.top+r,i=e.left+r;break;case We.InnerRightTop:a=e.top+r,i=e.right-t.width-r;break;case We.InnerLeftBottom:a=e.bottom-t.height-r,i=e.left+r;break;case We.InnerRightBottom:a=e.bottom-t.height-r,i=e.right-t.width-r}return{top:a,left:i}}(r,i,o,a,l))}}),[o,a,l]);return f((function(){var e;O();var t=null===(e=s.current)||void 0===e?void 0:e.parentElement;if(t){var n=new ResizeObserver(O);n.observe(t);for(var r=[],o=t;o;)(o.scrollHeight>o.clientHeight||o.scrollWidth>o.clientWidth)&&(r.push(o),o.addEventListener("scroll",O,{passive:!0})),o=o.parentElement;return window.addEventListener("scroll",O,{passive:!0}),window.addEventListener("resize",O),function(){n.disconnect(),r.forEach((function(e){return e.removeEventListener("scroll",O)})),window.removeEventListener("scroll",O),window.removeEventListener("resize",O)}}}),[O]),f((function(){var e,t=null===(e=s.current)||void 0===e?void 0:e.parentElement;if(t){var n=new IntersectionObserver((function(e){var t=e[0];return S(t.isIntersecting)}),{threshold:.1});return n.observe(t),function(){return n.disconnect()}}}),[]),n(t,{children:[e("span",{ref:s,style:{display:"none"}}),_&&w&&y(e("div",{ref:d,className:"dock-overlay",style:C({position:"fixed",width:"max-content",pointerEvents:"auto",zIndex:i},m),children:c()}),document.body)]})},Ye=function(t){var r=t.category,o=t.offset,a=void 0===o?0:o,i=t.overlayZIndex,l=void 0===i?je:i,c=t.isPortal,s=void 0!==c&&c,u=t.isOverlayVisible,d=void 0===u||u,p=t.popoverMode,g=void 0===p?He.Manual:p,m=t.onOverlayClose,v=t.renderOverlay,y=S(t,["category","offset","overlayZIndex","isPortal","isOverlayVisible","popoverMode","onOverlayClose","renderOverlay"]),b="alignment"in t?t.alignment:void 0,w=ye(y),k=w.getProps("div").html,_=h(!0),x=_[0],O=_[1];f((function(){"undefined"!=typeof CSS&&CSS.supports("anchor-name","--a")||O(!1)}),[]);var N=s||!x;return n("div",C({className:w.getClassName("dock"),style:w.getStyle()},k,{children:[t.children,d&&(N?e(Xe,{category:r,offset:a,zIndex:l,alignment:b,renderOverlay:v}):e(Me,{category:r,offset:a,zIndex:l,alignment:b,popoverMode:g,onOverlayClose:m,renderOverlay:v}))]}))},Ze={Row:"row",RowReverse:"row-reverse",Column:"column",ColumnReverse:"column-reverse"},Ge={NoWrap:"nowrap",Wrap:"wrap"},qe={Start:"flex-start",Center:"center",End:"flex-end",SpaceBetween:"space-between",SpaceAround:"space-around",SpaceEvenly:"space-evenly"},Je={Start:"flex-start",Center:"center",End:"flex-end",Stretch:"stretch",Baseline:"baseline"},Ke={Start:"flex-start",Center:"center",End:"flex-end",SpaceBetween:"space-between",SpaceAround:"space-around",SpaceEvenly:"space-evenly"},Qe=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=S(t,["vClassName","direction","wrap","justifyContent","alignItems","alignContent","gap","overflow"]);!s.cursor&&t.onClick&&(s.cursor=P.Pointer);var u=ye(s),d=u.getProps("div").html,f=l&&Object.values(D).includes(l),h=!l||f?u.getStyle():C(C({},u.getStyle()),{gap:l}),p=c?"flex-".concat(c):s.overflowX||s.overflowY?"flex":"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):"",w=f?" ".concat(l):"",k="".concat(p).concat(g).concat(m).concat(v).concat(y).concat(b).concat(w),_=u.getClassName(k);return e("div",C({className:_,style:h},d,{children:t.children}))},$e={Start:"start",Center:"center",End:"end",Stretch:"stretch",Baseline:"baseline"},et=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:C(C({},n),{display:"flex",flexDirection:"column"}),children:t.children})},tt=function(n){return e(t,{children:n.children})},nt=function(n){return e(t,{children:n.children})},rt=function(n){return e(t,{children:n.children})},ot=function(n){return e(t,{children:n.children})},at=function(n){return e(t,{children:n.children})},it=function(n){return e(t,{children:n.children})},lt=function(n){return e(t,{children:n.children})},ct=function(n){return e(t,{children:n.children})},st={Top:"top",Middle:"middle",Bottom:"bottom",Stretch:"stretch",Baseline:"baseline"},ut=function(n,r,a,i,l){n.cross;var c=n.itemsShrink,s=S(n,["cross","itemsShrink"]),u=ye(s),d=function(t,n,o){return r?r(t,n,o,c):e(et,{alignSelf:o,shrink:c,children:t},"child".concat(n))};return e(Qe,C({vClassName:"v-xbase",alignItems:function(){var e;if(n.cross)switch(n.cross){case st.Stretch:e=Je.Stretch;break;case st.Baseline:e=Je.Baseline;break;case st.Bottom:e=Je.End;break;case st.Middle:e=Je.Center;break;case st.Top:e=Je.Start;break;default:e=Je.Center}else e=Je.Center;return e}(),wrap:a?a():Ge.NoWrap,justifyContent:i?i():qe.Start,alignContent:l?l():Ke.Start},s,{children:o.map(u.getChildren(),(function(n,r){var o=n;return o.type?o.type===ct?d(o.props.children,r,$e.Start):o.type===ot?d(o.props.children,r,$e.Center):o.type===nt?d(o.props.children,r,$e.End):o.type===lt?d(o.props.children,r,$e.Stretch):o.type===tt?d(o.props.children,r,$e.Baseline):d(o,r):(console.debug(o),e(t,{children:"Please check X layout children."}))}))}))},dt=function(t){return ut(t,(function(t,n,r,o){return e(et,{grow:1,alignSelf:r,shrink:o,children:t})}))},ft=function(e){return ut(e,void 0,void 0,(function(){return qe.SpaceAround}))},ht=function(t){var n=ye(t);return ut(t,(function(t,r,a,i){return 0!=r&&r!=o.count(n.getChildren())-1?e(et,{grow:0,alignSelf:a,shrink:i,children:t}):e(et,{grow:1,alignSelf:a,shrink:i,children:t})}))},pt=function(t){var n=ye(t);return ut(t,(function(t,r,a,i){return 0!=r&&r!=o.count(n.getChildren())-1?e(et,{grow:1,alignSelf:a,shrink:i,children:t}):e(et,{grow:0,alignSelf:a,shrink:i,children:t})}))},gt=function(t){return ut(t,(function(t,n,r,o){return e(et,0==n?{grow:1,alignSelf:r,shrink:o,children:t}:{grow:0,alignSelf:r,shrink:o,children:t})}))},mt=function(t){var n=ye(t);return ut(t,(function(t,r,a,i){return r==o.count(n.getChildren())-1?e(et,{grow:0,alignSelf:a,shrink:i,children:t}):e(et,{grow:1,alignSelf:a,shrink:i,children:t})}))},vt=function(t){var n=ye(t);return ut(t,(function(t,r,a,i){return r==o.count(n.getChildren())-1?e(et,{grow:1,shrink:i,children:t}):e(et,{grow:0,shrink:i,children:t})}))},yt=function(t){return ut(t,(function(t,n,r,o){return e(et,0==n?{grow:0,alignSelf:r,shrink:o,children:t}:{grow:1,alignSelf:r,shrink:o,children:t})}))},bt=function(e){return ut(e,void 0,void 0,(function(){return qe.SpaceBetween}))},wt=function(e){return ut(e,void 0,void 0,(function(){return qe.Center}))},Ct=function(t){return ut(t,(function(n,r,o,a){var i=e(et,{shrink:a,children:n});return t.basises&&r<t.basises.length&&(i=e(et,{basis:t.basises[r],shrink:a,children:n})),i}))},St=function(t){var n=ye(t);return ut(t,(function(r,a,i,l){return 0==a||a==o.count(n.getChildren())-1?e(et,{basis:t.basis,shrink:l,children:r}):e(et,{grow:1,shrink:l,children:r})}))},kt=function(e){return ut(e,void 0,void 0,(function(){return qe.SpaceEvenly}))},_t=function(e){return ut(e)},xt=function(e){return ut(e,void 0,void 0,(function(){return qe.End}))},Ot=function(e){return ut(e,void 0,(function(){return Ge.Wrap}),void 0,(function(){return Ke.SpaceAround}))},Nt=function(e){return ut(e,void 0,(function(){return Ge.Wrap}),void 0,(function(){return Ke.SpaceBetween}))},It=function(e){return ut(e,void 0,(function(){return Ge.Wrap}),void 0,(function(){return Ke.End}))},Bt=function(e){return ut(e,void 0,(function(){return Ge.Wrap}),void 0,(function(){return Ke.SpaceEvenly}))},Dt=function(e){return ut(e,void 0,(function(){return Ge.Wrap}),void 0,(function(){return Ke.Center}))},Lt=function(e){return ut(e,void 0,(function(){return Ge.Wrap}),void 0,(function(){return Ke.Start}))},zt={Left:"left",Center:"center",Right:"right",Baseline:"baseline",Stretch:"stretch"},Rt=function(n,r,a,i,l){var c=n.cross,s=n.itemsShrink,u=S(n,["cross","itemsShrink"]),d=ye(u),f=function(t,n,o){return r?r(t,n,o,s):e(et,{alignSelf:o,shrink:s,children:t},"child".concat(n))};return e(Qe,C({vClassName:"v-ybase",wrap:a?a():Ge.NoWrap,alignContent:i?i():Ke.Start,alignItems:function(){var e;if(c)switch(c){case zt.Left:e=Je.Start;break;case zt.Center:e=Je.Center;break;case zt.Right:e=Je.End;break;case zt.Baseline:e=Je.Baseline;break;default:e=Je.Stretch}else e=Je.Stretch;return e}(),direction:Ze.Column,justifyContent:l?l():qe.Start},u,{children:o.map(d.getChildren(),(function(n,r){var o=n;return o.type?o.type===rt?f(o.props.children,r,$e.Start):o.type===ot||o.type===it?f(o.props.children,r,$e.Center):o.type===at?f(o.props.children,r,$e.End):o.type===lt?f(o.props.children,r,$e.Stretch):o.type===tt?f(o.props.children,r,$e.Baseline):f(n,r):(console.debug(o),e(t,{children:"Please check Y layout children."}))}))}))},Et=function(t){return Rt(t,(function(t,n,r,o){return e(et,{grow:1,alignSelf:r,shrink:o,children:t})}))},Tt=function(e){return Rt(e,void 0,void 0,void 0,(function(){return qe.SpaceBetween}))},Ft=function(e){return Rt(e,void 0,void 0,void 0,(function(){return qe.Center}))},Pt=function(e){return Rt(e,void 0,void 0,void 0,(function(){return qe.Start}))},Vt=function(e){return Rt(e,void 0,void 0,void 0,(function(){return qe.End}))},jt=function(e){return Rt(e,void 0,void 0,void 0,(function(){return qe.SpaceAround}))},Wt=function(e){return Rt(e,void 0,void 0,void 0,(function(){return qe.SpaceEvenly}))},At=function(t){return Rt(t,(function(t,n,r,o){return e(et,0==n?{grow:1,alignSelf:r,shrink:o,children:t}:{grow:0,alignSelf:r,shrink:o,children:t})}))},Ht=function(t){var n=ye(t);return Rt(t,(function(t,r,a,i){return 0!=r&&r!=o.count(n.getChildren())-1?e(et,{grow:1,alignSelf:a,shrink:i,children:t}):e(et,{grow:0,alignSelf:a,shrink:i,children:t})}))},Ut=function(t){var n=ye(t);return Rt(t,(function(t,r,a,i){return r==o.count(n.getChildren())-1?e(et,{grow:1,shrink:i,children:t}):e(et,{grow:0,shrink:i,children:t})}))},Mt=function(t){var n=ye(t);return Rt(t,(function(t,r,a,i){return r==o.count(n.getChildren())-1?e(et,{grow:0,alignSelf:a,shrink:i,children:t}):e(et,{grow:1,alignSelf:a,shrink:i,children:t})}))},Xt=function(t){return Rt(t,(function(t,n,r,o){return e(et,0==n?{grow:0,alignSelf:r,shrink:o,children:t}:{grow:1,alignSelf:r,shrink:o,children:t})}))},Yt=function(t){var n=ye(t);return Rt(t,(function(t,r,a,i){return 0!=r&&r!=o.count(n.getChildren())-1?e(et,{grow:0,alignSelf:a,shrink:i,children:t}):e(et,{grow:1,alignSelf:a,shrink:i,children:t})}))},Zt=function(t){return Rt(t,(function(n,r,o,a){var i=e(et,{shrink:a,children:n});return t.basises&&r<t.basises.length&&(i=e(et,{basis:t.basises[r],shrink:a,children:n})),i}))},Gt=function(t){var n=ye(t);return Rt(t,(function(r,a,i,l){return 0==a||a==o.count(n.getChildren())-1?e(et,{basis:t.basis,shrink:l,children:r}):e(et,{grow:1,shrink:l,children:r})}))},qt=function(e){return Rt(e,void 0,(function(){return Ge.Wrap}),(function(){return Ke.Start}))},Jt=function(e){return Rt(e,void 0,(function(){return Ge.Wrap}),(function(){return Ke.Center}))},Kt=function(e){return Rt(e,void 0,(function(){return Ge.Wrap}),(function(){return Ke.End}))},Qt=function(e){return Rt(e,void 0,(function(){return Ge.Wrap}),(function(){return Ke.SpaceAround}),void 0)},$t=function(e){return Rt(e,void 0,(function(){return Ge.Wrap}),(function(){return Ke.SpaceBetween}))},en=function(e){return Rt(e,void 0,(function(){return Ge.Wrap}),(function(){return Ke.SpaceEvenly}))},tn={Top:"top",Right:"right",Bottom:"bottom",Left:"left",Center:"center"},nn=function(t){t.image,t.imageWidth,t.imageHeight,t.position;var n,r=S(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=ye(C(C({},r),{style:n}));return e(we,{_base:o,className:t.position?"v-background-".concat(t.position):"v-background",children:t.children})},rn=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]=k(k([],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},on={Json:"json",FormData:"formdata"},an=function(t){var n=t.ref,r=t.handleSubmitCategory,o=t.handleSubmit,a=t.handleValidateError,i=S(t,["ref","handleSubmitCategory","handleSubmit","handleValidateError"]),l=ye(i),c=u(null);f((function(){return"object"==typeof n&&n?n.current=c.current:"function"==typeof n&&n(c.current),function(){"object"==typeof n&&n?n.current=null:"function"==typeof n&&n(null)}}),[n]);var s=l.getProps("form").html;return e("form",C({ref:c,noValidate:!!a,className:l.getClassName("v-form"),style:l.getStyle(),onSubmit:function(e){e.preventDefault();var t=e.currentTarget,n=e.nativeEvent.submitter;if((null==n?void 0:n.formNoValidate)||!a||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);o(r===on.FormData?l:rn(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)))}a(c)}}},s,{children:t.children}))},ln=function(t){return e("form",C({className:"v-action-form"},t,{children:t.children}))},cn=function(t){var r=t.ref,o=t.type,a=t.label,i=t.icon,l=t.value,c=t.valueHook,s=t.setStateHook,d=t.isValueShow,p=t.gap,g=t.valueSize,m=t.frontColor;t.valueCategory;var v,y=t.valuePadding,b=t.inputStyle,w=t.inputClassName,k=t.placeholderColor,x=t.overWrite,O=t.renderOptions,N=t.onChange,I=t.inheritClassName,B=t.customAttributes,D=S(t,["ref","type","label","icon","value","valueHook","setStateHook","isValueShow","gap","valueSize","frontColor","valueCategory","valuePadding","inputStyle","inputClassName","placeholderColor","overWrite","renderOptions","onChange","inheritClassName","customAttributes"]),L=ye(D),z=L.getProps("input").html,R=h({value:void 0!==t.value?t.value:""}),E=R[0],T=R[1],P=u(null);return f((function(){"object"==typeof r&&r?r.current=P.current:"function"==typeof r&&r(P.current),t.autoFocus&&P.current&&P.current.focus()}),[r,t.autoFocus]),x&&(v=x(P)),n(we,{_base:L,className:"v-validity v-input ".concat((k||_.Placeholder)+"-placeholder").concat(I?" ".concat(I):""),children:[n(Et,{display:v?F.None:void 0,children:[n(pt,{gap:p,children:[e(Ie,{children:i}),n(Ie,{children:[e("input",C({ref:P},B,{className:(w?"".concat(w," "):"")+"".concat(L.getClassName("v-input-native")),style:b,type:o},void 0!==c?{value:c}:{defaultValue:void 0!==l?l:""},{onChange:function(e){var t;d&&T({value:null===(t=P.current)||void 0===t?void 0:t.value}),N&&N(e),s&&s(e.target.value)}},z)),!!a&&e("label",{htmlFor:t.id?t.id:t.name,children:a})]}),O?O(P):e(Ie,{})]}),!!d&&e(wt,{children:e(Re,{padding:y,isAutoSize:t.isAutoSize,fontSize:g||M.Normal,frontColor:m||_.Black,caption:void 0!==E.value?E.value.toString():l?l.toString():""})})]}),!!v&&v]})},sn={Default:"default",Circle:"circle",Squared:"squared",Custom:"custom"},un=function(n){var r=C({},n);!r.cursor&&n.onClick&&(r.cursor=P.Pointer);var l=ye(r);return e(t,{children:o.map(n.children,(function(e){return function(e){var t=n.category?n.category:sn.Default,r=l.getClassName("v-svg-".concat(t)),o=n.onClick,c=n.onMouseEnter,s=n.onMouseLeave,u={className:r,style:C({},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)}))})};un.displayName="VSvg";var dn,fn,hn=l(un);function pn(){return pn=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},pn.apply(null,arguments)}var gn,mn=function(e){return r.createElement("svg",pn({xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 256 256"},e),dn||(dn=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"})),fn||(fn=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 vn(){return vn=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},vn.apply(null,arguments)}var yn,bn=function(e){return r.createElement("svg",vn({xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 256 256"},e),gn||(gn=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"})))},wn=function(t){var r=t.isChecked,o=S(t,["isChecked"]);return e(cn,C({isAutoSize:t.isAutoSize,customAttributes:{checked:!!r},inheritClassName:"v-checkbox",type:"checkbox",isDefaultValue:!0,overWrite:function(o){return n(_t,{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(hn,{frontColor:t.frontColor,fontSize:t.fontSize,children:e(r?mn:bn,{})}),!!t.label&&e(Re,{frontColor:t.frontColor,fontSize:t.fontSize,caption:t.label?t.label:""})]})}},o))},Cn=function(t){return e(cn,C({type:"color",isDefaultValue:!0},t))},Sn=function(t){return e(cn,C({type:"date",isDefaultValue:!0},t))},kn=function(t){return e(cn,C({type:"datetime-local",isDefaultValue:!0},t))},_n=function(t){return e(cn,C({inheritClassName:"v-email",isDefaultValue:!0,type:"email"},t))},xn={Bounce:"animate__bounce",Flash:"animate__flash",Pulse:"animate__pulse",RubberBand:"animate__rubberBand",ShakeX:"animate__shakeX",ShakeY:"animate__shakeY",HeadShake:"animate__headShake",Swing:"animate__swing",Tada:"animate__tada",Wobble:"animate__wobble",Jello:"animate__jello",HeartBeat:"animate__heartBeat",BackInDown:"animate__backInDown",BackInLeft:"animate__backInLeft",BackInRight:"animate__backInRight",BackInUp:"animate__backInUp",BackOutDown:"animate__backOutDown",BackOutLeft:"animate__backOutLeft",BackOutRight:"animate__backOutRight",BackOutUp:"animate__backOutUp",BounceIn:"animate__bounceIn",BounceInDown:"animate__bounceInDown",BounceInLeft:"animate__bounceInLeft",BounceInRight:"animate__bounceInRight",BounceInUp:"animate__bounceInUp",BounceOut:"animate__bounceOut",BounceOutDown:"animate__bounceOutDown",BounceOutLeft:"animate__bounceOutLeft",BounceOutRight:"animate__bounceOutRight",BounceOutUp:"animate__bounceOutUp",FadeIn:"animate__fadeIn",FadeInDown:"animate__fadeInDown",FadeInDownBig:"animate__fadeInDownBig",FadeInLeft:"animate__fadeInLeft",FadeInLeftBig:"animate__fadeInLeftBig",FadeInRight:"animate__fadeInRight",FadeInRightBig:"animate__fadeInRightBig",FadeInUp:"animate__fadeInUp",FadeInUpBig:"animate__fadeInUpBig",FadeInTopLeft:"animate__fadeInTopLeft",FadeInTopRight:"animate__fadeInTopRight",FadeInBottomLeft:"animate__fadeInBottomLeft",FadeInBottomRight:"animate__fadeInBottomRight",FadeOut:"animate__fadeOut",FadeOutDown:"animate__fadeOutDown",FadeOutDownBig:"animate__fadeOutDownBig",FadeOutLeft:"animate__fadeOutLeft",FadeOutLeftBig:"animate__fadeOutLeftBig",FadeOutRight:"animate__fadeOutRight",FadeOutRightBig:"animate__fadeOutRightBig",FadeOutUp:"animate__fadeOutUp",FadeOutUpBig:"animate__fadeOutUpBig",FadeOutTopLeft:"animate__fadeOutTopLeft",FadeOutTopRight:"animate__fadeOutTopRight",FadeOutBottomLeft:"animate__fadeOutBottomLeft",FadeOutBottomRight:"animate__fadeOutBottomRight",Flip:"animate__flip",FlipInX:"animate__flipInX",FlipInY:"animate__flipInY",FlipOutX:"animate__flipOutX",FlipOutY:"animate__flipOutY",LightSpeedInRight:"animate__lightSpeedInRight",LightSpeedInLeft:"animate__lightSpeedInLeft",LightSpeedOutRight:"animate__lightSpeedOutRight",LightSpeedOutLeft:"animate__lightSpeedOutLeft",RotateIn:"animate__rotateIn",RotateInDownLeft:"animate__rotateInDownLeft",RotateInDownRight:"animate__rotateInDownRight",RotateInUpLeft:"animate__rotateInUpLeft",RotateInUpRight:"animate__rotateInUpRight",RotateOut:"animate__rotateOut",RotateOutDownLeft:"animate__rotateOutDownLeft",RotateOutDownRight:"animate__rotateOutDownRight",RotateOutUpLeft:"animate__rotateOutUpLeft",RotateOutUpRight:"animate__rotateOutUpRight",Hinge:"animate__hinge",JackInTheBox:"animate__jackInTheBox",RollIn:"animate__rollIn",RollOut:"animate__rollOut",ZoomIn:"animate__zoomIn",ZoomInDown:"animate__zoomInDown",ZoomInLeft:"animate__zoomInLeft",ZoomInRight:"animate__zoomInRight",ZoomInUp:"animate__zoomInUp",ZoomOut:"animate__zoomOut",ZoomOutDown:"animate__zoomOutDown",ZoomOutLeft:"animate__zoomOutLeft",ZoomOutRight:"animate__zoomOutRight",ZoomOutUp:"animate__zoomOutUp",SlideInDown:"animate__slideInDown",SlideInLeft:"animate__slideInLeft",SlideInRight:"animate__slideInRight",SlideInUp:"animate__slideInUp",SlideOutDown:"animate__slideOutDown",SlideOutLeft:"animate__slideOutLeft",SlideOutRight:"animate__slideOutRight",SlideOutUp:"animate__slideOutUp"},On={Once:"animate__repeat-1",Twice:"animate__repeat-2",Thrice:"animate__repeat-3",Infinite:"animate__infinite"},Nn={Slow:"animate__slow",Slower:"animate__slower",Fast:"animate__fast",Faster:"animate__faster"},In={Delay1Second:"animate__delay-1s",Delay2Second:"animate__delay-2s",Delay3Second:"animate__delay-3s",Delay4Second:"animate__delay-4s",Delay5Second:"animate__delay-5s"},Bn=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})},Dn=function(t){t.animationCategory,t.animationSpeed;var n=S(t,["animationCategory","animationSpeed"]),r=ye(n);return e(we,{_base:r,className:"v-loading",children:e(Bn,{category:t.animationCategory?t.animationCategory:xn.Flip,speed:t.animationSpeed?t.animationSpeed:Nn.Slower,repeat:On.Infinite,children:t.children})})};function Ln(){return Ln=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},Ln.apply(null,arguments)}var zn=function(e){return r.createElement("svg",Ln({xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 256 256"},e),yn||(yn=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"})))},Rn={Vertical:"Vertical",Horizontal:"Horizontal"},En=function(e){return e.name.endsWith(".jpg")||e.name.endsWith(".jpeg")||e.name.endsWith(".png")},Tn=function(e){var t=e.promise;return m(t)},Fn=function(t){var n=t.result,r=t.fallback;return n instanceof Promise?e(g,{fallback:null!=r?r:null,children:e(Tn,{promise:n})}):n},Pn=function(t){var r=t.category,o=t.appearance;t.loader;var a=t.loaderSize,i=t.loaderColor,l=t.isPreview,c=t.previewImageWidth,s=t.textLength,d=t.autoUpload,p=t.renderLoader,g=t.renderPreview,m=S(t,["category","appearance","loader","loaderSize","loaderColor","isPreview","previewImageWidth","textLength","autoUpload","renderLoader","renderPreview"]),v=u(null),y=h({inputFiles:[],isLoading:!1,previewVersion:0}),b=y[0],w=y[1],k=function(){w((function(e){return C(C({},e),{isLoading:!1})}))},_=function(){w((function(e){return C(C({},e),{previewVersion:e.previewVersion+1})}))};f((function(){return function(){return b.inputFiles.forEach((function(e){e.objectUrl&&URL.revokeObjectURL(e.objectUrl)}))}}),[b.inputFiles]);var x=function(e){e.preventDefault(),e.currentTarget.className="v-file"},O=ye(C({onDrop:function(e){e.preventDefault();var t=Array.from(e.dataTransfer.files),n=t.map((function(e){return{name:e.name,objectUrl:En(e)?URL.createObjectURL(e):void 0}}));n.length>0&&(d?(w(C(C({},b),{inputFiles:n,isLoading:!0})),d(t,k),e.currentTarget.className="v-file"):(w(C(C({},b),{inputFiles:n})),e.currentTarget.className="v-file"))},onDragOver:function(e){e.preventDefault(),e.currentTarget.className="v-file on-drag"},onDragEnd:x,onDragLeave:x,onDragExit:x},m));return e(we,{_base:O,className:"v-file",children:e(cn,C({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:En(e)?URL.createObjectURL(e):void 0}}));w(C(C({},b),{inputFiles:r})),d&&(w(C(C({},b),{inputFiles:r,isLoading:!0})),d(n,k))},overWrite:function(t){return l?g?e(Ie,{cursor:P.Pointer,onClick:function(){var e;null===(e=t.current)||void 0===e||e.click()},children:e(Fn,{result:g(b.inputFiles,b.isLoading,_),fallback:p?p():e(Dn,{animationCategory:xn.Flash,children:e(wt,{children:e(hn,{fontSize:a,frontColor:i,children:e(zn,{})})})})})}):r==Rn.Vertical?n(Et,{gap:"1em",onClick:function(){var e;null===(e=t.current)||void 0===e||e.click()},cross:zt.Center,children:[!(0!=b.inputFiles.length)&&o,!(0==b.inputFiles.length)&&e(Et,{gap:"0.6em",children:b.inputFiles.map((function(t){return n(Et,{cross:zt.Center,children:[!!t.objectUrl&&e(Ie,{children:e("img",{src:t.objectUrl,alt:t.name,width:c||120})}),e(Re,{fontSize:M.Small,caption:t.name.length>(s||12)?t.name.slice(0,s||12)+"…":t.name})]},"file-".concat(t.name))}))}),!!b.isLoading&&(p?p():e(Dn,{animationCategory:xn.Flash,children:e(wt,{children:e(hn,{fontSize:a,frontColor:i,children:e(zn,{})})})}))]}):n(dt,{gap:"1em",children:[n(dt,{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(Et,{gap:"0.6em",children:b.inputFiles.map((function(t){return n(Et,{cross:zt.Center,children:[!!t.objectUrl&&e(Ie,{children:e("img",{src:t.objectUrl,alt:t.name,width:c||120})}),e(Re,{fontSize:M.Small,caption:t.name.length>(s||12)?t.name.slice(0,s||12)+"…":t.name})]},"file-".concat(t.name))}))})]}),!!b.isLoading&&(p?p():e(Dn,{animationCategory:xn.Flash,children:e(hn,{fontSize:a,frontColor:i,children:e(zn,{})})}))]}):e(Ie,{cursor:P.Pointer,onClick:function(){var e;null===(e=t.current)||void 0===e||e.click()},children:o})}}))})},Vn={Default:"default",Circle:"circle",Squared:"squared",FullSize:"full-size",Scale:"scale"},jn=function(t){var n=t.category,r=S(t,["category"]),o=ye(r),a=o.getProps("img").html,i=n||Vn.Default;return e("img",C({className:o.getClassName("v-image-".concat(i)),style:o.getStyle()},a))};jn.displayName="VImage";var Wn,An,Hn=l(jn),Un=function(t){return e(cn,C({display:F.None,type:"hidden"},t))},Mn=function(t){var r=t.fileIcon,o=t.base64Image,a=S(t,["fileIcon","base64Image"]),i=ye(a),l=h({base64Image:o}),c=l[0],s=l[1];return n(we,{_base:i,className:"v-base64file",children:[e(Un,{name:t.name,value:c.base64Image}),e(cn,C({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(Et,{gap:"0.2em",onClick:function(){var e;null===(e=o.current)||void 0===e||e.click()},children:[r,e(Hn,{fontSize:t.fontSize,category:Vn.Scale,src:"data:image/png;base64,".concat(c.base64Image),alt:"file"})]})}},a))]})},Xn=function(t){return e(cn,C({type:"month",isDefaultValue:!0},t))},Yn=function(t){return e(cn,C({type:"number",isDefaultValue:!0},t))},Zn=function(t){return e(cn,C({inheritClassName:"v-password",isDefaultValue:!0,type:"password"},t))};function Gn(){return Gn=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},Gn.apply(null,arguments)}var qn,Jn=function(e){return r.createElement("svg",Gn({xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 256 256"},e),Wn||(Wn=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"})),An||(An=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 Kn(){return Kn=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},Kn.apply(null,arguments)}var Qn,$n,er=function(e){return r.createElement("svg",Kn({xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 256 256"},e),qn||(qn=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"})))},tr=function(t){var r=t.isChecked,o=S(t,["isChecked"]);return e(cn,C({type:"radio",customAttributes:{checked:!!r},isDefaultValue:!0},o,{overWrite:function(o){return n(_t,{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(hn,{padding:"0.4em",frontColor:t.frontColor,fontSize:t.fontSize,children:e(r?Jn:er,{})}),!!t.label&&e(Re,{frontColor:t.frontColor,fontSize:t.fontSize,caption:t.label?t.label:""})]})}}))},nr=function(t){var n=t.thumbColor,r=t.thumbBorderColor,o=t.trackColor,a=t.trackHeight,i=t.inputStyle,l=S(t,["thumbColor","thumbBorderColor","trackColor","trackHeight","inputStyle"]),c="".concat(n,"-thumb-background ").concat(r,"-thumb-border ").concat(o,"-track-background"),s=a?C(C({},i),{"--den-range-track-height":a}):i;return e(cn,C({type:"range",inputClassName:c},l,{inputStyle:s}))},rr=function(t){return e(cn,C({type:"search",isDefaultValue:!0,inheritClassName:"v-search"},t))},or=function(t){var r=t.ref;t.caption,t.isFormNoValidate;var o=S(t,["ref","caption","isFormNoValidate"]),a=u(null);f((function(){"object"==typeof r&&r?r.current=a.current:"function"==typeof r&&r(a.current),t.autoFocus&&a.current&&a.current.focus()}),[r,t.autoFocus]);var i=ye(C({onClick:function(){a.current.click()}},o)),l=i.getProps("input").html;return n(we,{_base:i,className:"v-submit",children:[n(wt,{cross:st.Middle,children:[!!t.icon&&e("span",{children:t.icon}),!!t.caption&&e("span",{children:t.caption})]}),e("input",C({formNoValidate:t.isFormNoValidate,ref:a,type:"submit"},l))]})},ar=function(t){var r=ye(t),o=u(null);return n("div",{className:r.getClassName("v-submit-wrapper"),style:r.getStyle(),children:[t.body,e("input",{ref:o,type:"submit"})]})},ir=function(t){return e(cn,C({inheritClassName:"v-tel",isDefaultValue:!0,type:"tel"},t))};function lr(){return lr=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},lr.apply(null,arguments)}var cr,sr=function(e){return r.createElement("svg",lr({xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 256 256"},e),Qn||(Qn=r.createElement("rect",{width:20,height:200,x:50,y:64,fill:"currentColor",rx:10,transform:"rotate(-45 50 64)"})),$n||($n=r.createElement("rect",{width:20,height:200,fill:"currentColor",rx:10,transform:"scale(-1 1)rotate(-45 -25.527 280.136)"})))},ur=function(t){var r=t.enableClear,o=S(t,["enableClear"]);return e(cn,r?C({inheritClassName:"v-textbox",isDefaultValue:!0,type:"text"},o,{renderOptions:function(r){return n(dt,{gap:"0.2em",children:[t.renderOptions&&t.renderOptions(r),e(hn,{fontSize:M.ExtraSmall,frontColor:_.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(sr,{})})]})}}):C({inheritClassName:"v-textbox",isDefaultValue:!0,type:"text"},o))},dr=function(t){return e(cn,C({type:"time",isDefaultValue:!0},t))},fr=function(t){return e(cn,C({inheritClassName:"v-url",isDefaultValue:!0,type:"url"},t))},hr=function(t){return e(cn,C({type:"week",isDefaultValue:!0},t))},pr=function(n){var r=h({selectedValue:n.selectedValue}),o=r[0],a=r[1];return e(t,{children:n.renderGroup(o.selectedValue,(function(e){a({selectedValue:e.currentTarget.value})}))})};function gr(){return gr=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},gr.apply(null,arguments)}var mr=function(e){return r.createElement("svg",gr({xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 256 256"},e),cr||(cr=r.createElement("circle",{cx:128,cy:128,r:100,fill:"currentColor"})))},vr=function(t){var r=t.isOn,o=t.icon,a=t.gap,i=t.isDisabled,l=t.onSwitch,c=S(t,["isOn","icon","gap","isDisabled","onSwitch"]),s=h({isOn:r}),u=s[0],d=s[1];f((function(){d({isOn:r})}),[r]);var p=o?e(hn,{style:{margin:u.isOn?"0 0.6em 0 0":"0 0 0 0.6em"},frontColor:_.White,fontSize:M.Normal,children:o}):e(Ie,{width:"1em",height:"1em"}),g=t.isDisabled?void 0:function(){t.isDisabled||(l&&l(!u.isOn),d({isOn:!u.isOn}))},m=ye(C({onClick:g},c));return e(we,{_base:m,className:i?"v-switch-disabled":"v-switch",children:n(bt,{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:z.ExtraLarge,backgroundColor:u.isOn?t.frontColor?t.frontColor:_.Success:t.backgroundColor?t.backgroundColor:_.Placeholder,gap:a||"0.6em",children:[u.isOn?e(hn,{category:sn.Circle,frontColor:_.White,children:e(mr,{})}):p,u.isOn?p:e(hn,{category:sn.Circle,frontColor:_.White,children:e(mr,{})})]})})},yr=function(t){var n=t.name;t.items;var r=t.value,o=t.isMultiple;t.fontFamily;var a=S(t,["name","items","value","isMultiple","fontFamily"]),i=ye(a),l=i.getProps("select").html;return e(we,{_base:i,className:"v-select",children:e("select",C({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)}))}))})},br=function(t){var r,o,a,i,l=t.ref,c=t.value,d=t.name,p=t.icon,g=t.emptyIcon,m=t.downIcon,v=t.upIcon,y=t.enableClear,b=t.items,w=t.dockCategory,k=t.dockAlignment,x=t.menuBackgroundColor,O=t.menuZIndex,N=t.menuGap;t.onClick;var B=t.isSelectOnly,L=t.overWriteDropdownMenu,z=t.overWriteDropdownItem,E=t.handleChange,F=t.readOnly,P=S(t,["ref","value","name","icon","emptyIcon","downIcon","upIcon","enableClear","items","dockCategory","dockAlignment","menuBackgroundColor","menuZIndex","menuGap","onClick","isSelectOnly","overWriteDropdownMenu","overWriteDropdownItem","handleChange","readOnly"]),V=ye(P),j=h({isSelectionShow:!1,selectValue:c||"",selectCaption:c?b.filter((function(e){return e.value==c}))[0].caption:"",items:b}),W=j[0],A=j[1],H=u(null),U=s(),X=u(null),Y=u(null);f((function(){if(W.isSelectionShow){var e=function(e){var t=e.target;X.current&&!X.current.contains(t)&&Y.current&&!Y.current.contains(t)&&A((function(e){return C(C({},e),{isSelectionShow:!1,items:b})}))};return document.addEventListener("mousedown",e),function(){return document.removeEventListener("mousedown",e)}}}),[W.isSelectionShow,b]);f((function(){"object"==typeof l&&l?l.current=H.current:"function"==typeof l&&l(H.current),t.autoFocus&&H.current&&H.current.focus()}),[l,t.autoFocus]);var Z=O||je;if(F)return n(gt,{className:V.getClassName("v-dropdown"),style:V.getStyle(t.style),children:[e(Re,{caption:(null===(r=W.selectCaption)||void 0===r?void 0:r.toString())||"",fontSize:t.fontSize,frontColor:t.frontColor}),e(Un,{name:d,valueHook:null===(o=W.selectValue)||void 0===o?void 0:o.toString()}),e(hn,{fontSize:t.iconSize?t.iconSize:M.Small,children:m})]});var G=X.current?"".concat(X.current.offsetWidth,"px"):void 0;return e(Ye,{width:"fit-content",overlayZIndex:W.isSelectionShow?Z:-2147483648,category:w||We.RightBottom,alignment:k||Ae.Vertical,renderOverlay:function(){return e(Ie,{ref:Y,minWidth:G,className:"v-dropdown-overlay",children:e(Ie,{visibility:W.isSelectionShow?T.Visible:T.Hidden,borderRadius:t.borderRadius,role:"listbox",id:U,children:L?L(W.items):e(Et,{gap:N,padding:t.padding,backgroundColor:x||_.White,borderRadius:t.borderRadius,borderColor:t.borderColor,borderWidth:t.borderWidth,borderStyle:R.Solid,children:0==W.items.length?e(wt,{children:e(hn,{fontSize:t.iconSize?t.iconSize:M.Small,children:g})}):W.items.map((function(r){return z?e(Ie,{borderRadius:t.borderRadius,role:"option","aria-selected":r.value===W.selectValue,children:z(r)},r.value):n(_t,{padding:I.ExtraSmall,gap:D.Small,borderRadius:t.borderRadius,className:"item",role:"option","aria-selected":r.value===W.selectValue,onClick:function(){A(C(C({},W),{isSelectionShow:!1,selectIcon:r.icon,selectCaption:r.caption,selectValue:r.value,items:b})),E&&E(r.value)},children:[r.icon?e(hn,{fontSize:M.ExtraSmall,children:r.icon}):void 0,e(Re,{caption:r.caption})]},r.value)}))})})})},children:e(Ie,{ref:X,children:n(gt,C({className:V.getClassName("v-dropdown"),style:V.getStyle(t.style)},P,{role:"combobox","aria-expanded":W.isSelectionShow,"aria-haspopup":"listbox","aria-controls":U,onClick:function(){A(C(C({},W),{isSelectionShow:!W.isSelectionShow}))},children:[n(Ie,{children:[e(ur,{ref:H,id:t.id,style:{padding:0},fontSize:t.fontSize,frontColor:t.frontColor,icon:e(hn,{fontSize:t.iconSize?t.iconSize:M.Small,children:W.selectIcon?W.selectIcon:p}),valueHook:null===(a=W.selectCaption)||void 0===a?void 0:a.toString(),enableClear:y,renderOptions:t.renderOptions,readOnly:B,onChange:B?void 0:function(e){var t;t=e.target.value,A(C(C({},W),{isSelectionShow:!0,selectCaption:t,items:b.filter((function(e){return e.caption.toLowerCase().indexOf(t.toLowerCase())>-1}))}))}}),e(Un,{name:d,valueHook:null===(i=W.selectValue)||void 0===i?void 0:i.toString()})]}),e(hn,{fontSize:t.iconSize?t.iconSize:M.Small,children:W.isSelectionShow?v:m})]}))})})},wr={NewWindow:"_blank",Self:"_self",Parent:"_parent",Top:"_top"},Cr=function(t){var n=t.category,r=t.to,o=S(t,["category","to"]),a=ye(o),i=a.getProps("a").html;return e(we,{_base:a,className:"v-hyperlink",children:e("a",C({href:r,target:n},i,{children:t.children}))})},Sr={P:"p",Address:"address",Article:"article",Aside:"aside",Details:"details",Section:"section"},kr={Justify:0,Left:1,Right:2,Center:3},_r=function(t){var n=t.category;t.alignType;var r,o,a=t.renderContent,i=S(t,["category","alignType","renderContent"]),l=ye(i);switch(t.alignType){case kr.Center:o="v-text-center";break;case kr.Justify:o="v-text-justify";break;case kr.Left:o="v-text";break;case kr.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(we,{_base:l,className:o,children:r})},xr=function(t){var r=t.ref;t.icon;var o=t.valueHook,a=t.setStateHook,i=t.placeholderColor,l=S(t,["ref","icon","valueHook","setStateHook","placeholderColor"]),c=ye(l),s=c.getProps("textarea").html,d=u(null);return f((function(){return"object"==typeof r&&r?r.current=d.current:"function"==typeof r&&r(d.current),t.autoFocus&&d.current&&d.current.focus(),function(){"object"==typeof r&&r?r.current=null:"function"==typeof r&&r(null)}}),[r,t.autoFocus]),e(we,{category:be.Display,_base:c,className:"v-validity v-textarea ".concat((i||_.Placeholder)+"-placeholder"),children:n(vt,{cross:st.Top,gap:"0.6em",children:[t.icon,e(Ie,{children:e("textarea",C({ref:d},s,{id:t.id?t.id:t.name},void 0!==o?{value:o}:{defaultValue:t.value},{onChange:function(e){t.onChange&&t.onChange(e),a&&a(e.target.value)}}))})]})})},Or={Default:"default",Fixed:"fixed"},Nr=function(t){t.category;var n=S(t,["category"]),r=ye(n);return e(we,{_base:r,className:"v-ellipse-".concat(t.category?t.category:Or.Default),children:t.children})},Ir={Vertical:"vertical",Horizontal:"horizontal"},Br=function(t){t.category;var n=S(t,["category"]),r=ye(n);return e(we,{_base:r,className:"v-line-".concat(t.category)})},Dr="default",Lr=function(t){t.category;var n=S(t,["category"]),r=ye(n);return e(we,{_base:r,className:"v-rectangle-".concat(t.category?t.category:Dr)})},zr={Default:"default",Max:"max"},Rr=function(n){var r=ye(n);return 0===o.toArray(n.children).length?e(Re,{backgroundColor:_.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:zr.Default)),style:C(C({},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)}))})},Er=function(t){t.sources;var n=S(t,["sources"]),r=ye(n),o=r.getProps("audio").html;return e("audio",C({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))}))}))},Tr=function(t){t.sources;var n=S(t,["sources"]),r=ye(n),o=r.getProps("video").html;return e("video",C({className:r.getClassName("v-video"),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))}))}))},Fr=function(t){var n=ye(t),r=n.getProps("header").html;return e("header",C({className:n.getClassName("v-header"),style:n.getStyle()},r,{children:t.children}))},Pr=function(t){var n=ye(t),r=n.getProps("main").html;return e("main",C({className:n.getClassName("v-main"),style:n.getStyle()},r,{children:t.children}))},Vr=function(t){var n=ye(t),r=n.getProps("footer").html;return e("footer",C({className:n.getClassName("v-footer"),style:n.getStyle()},r,{children:t.children}))},jr=function(t){var n=ye(t),r=n.getProps("aside").html;return e("aside",C({className:n.getClassName("v-aside"),style:n.getStyle()},r,{children:t.children}))},Wr=function(t){var n=ye(t),r=n.getProps("nav").html;return e("nav",C({className:n.getClassName("v-nav"),style:n.getStyle()},r,{children:t.children}))},Ar=function(t){var n=ye(t),r=n.getProps("hr").html;return e("hr",C({className:n.getClassName("v-hr"),style:n.getStyle()},r))},Hr=function(t){var n=ye(t),r=n.getProps("section").html;return e("section",C({className:n.getClassName("v-section"),style:n.getStyle()},r,{children:t.children}))},Ur=function(t){var n=ye(C({width:"100vw",height:"100vh",backgroundColor:_.Dark75},t));return e(xe,{zIndex:t.zIndex?t.zIndex:je,category:ke.Window,type:_e.Center,children:e(Ne,{children:e(we,{_base:n,className:"v-mask",children:e(xe,{category:ke.Area,type:_e.Center,children:t.children})})})})},Mr=function(t){var n,r=t.image,o=t.backingBoard,a=t.style,i=S(t,["image","backingBoard","style"]),l=ye(i);return o&&(n=C(C({},a),{background:"linear-gradient(".concat(o.degree,", ").concat(o.startColor,", ").concat(o.endColor,")")})),e(we,C({_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})}))},Xr="--den-",Yr={Global:"global",Area:"area"},Zr=function(t){var n=t.category,r=t.area,o=t.variables,a=S(t,["category","area","variables"]),i=ye(C({id:r},a));return f((function(){var e;n==Yr.Area?r&&(e=document.getElementById(r)):e=document.documentElement,e&&(Object.keys(o.colors).forEach((function(t){e.style.setProperty("".concat(Xr,"color-").concat(t),o.colors[t])})),Object.keys(o.fontSizes).forEach((function(t){e.style.setProperty("".concat(Xr).concat(t),o.fontSizes[t])})),Object.keys(o.fontWeights).forEach((function(t){e.style.setProperty("".concat(Xr).concat(t),o.fontWeights[t])})))}),[]),n==Yr.Area?e(we,{_base:i,className:"v-theme",children:t.children}):e(Re,{backgroundColor:_.Error,caption:"[VTheme] No Area!"})},Gr={Hover:"hover",Click:"click"},qr=function(t){var n=t.category,r=void 0===n?Gr.Hover:n,o=t.dockCategory,a=t.dockAlignment,i=t.renderOverlay,l=S(t,["category","dockCategory","dockAlignment","renderOverlay"]),c=ye(l),u=h(!1),d=u[0],f=u[1],p=s();return e(we,{_base:c,className:"v-tooltip",children:e(Ye,{category:o,alignment:a,isOverlayVisible:d,popoverMode:r===Gr.Click?He.Auto:He.Manual,onOverlayClose:function(){return f(!1)},renderOverlay:function(){return e(Ie,{role:"tooltip",id:p,children:i()})},children:e(Ie,{"aria-describedby":d?p:void 0,onClick:function(){r===Gr.Click&&f(!d)},onMouseEnter:function(){r===Gr.Hover&&f(!0)},onMouseLeave:function(){r===Gr.Hover&&f(!1)},onFocus:function(){r===Gr.Hover&&f(!0)},onBlur:function(){r===Gr.Hover&&f(!1)},children:t.children})})})},Jr=function(t){function n(e){var n=t.call(this,e)||this;return n.state={hasError:!1,error:null,errorInfo:null},n}return w(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(Re,{backgroundColor:_.Error,frontColor:_.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}(v),Kr=function(t){return e(Ne,{children:!!t.badge&&e(xe,{category:ke.Area,bottom:"0",right:"0",children:"string"==typeof t.badge||t.badge instanceof String?e(Hn,{category:Vn.Circle,fontSize:M.Small,src:t.badge,alt:"null",borderStyle:"solid",borderWidth:"1px",borderColor:_.Light}):e(hn,{category:sn.Circle,frontColor:_.Secondary,backgroundColor:_.White,fontSize:M.Small,children:t.badge})})})},Qr=function(t){var n=ye(t),r=n.getProps("template").html;return e("template",C({className:n.getClassName("v-template"),style:n.getStyle()},r,{children:t.children}))},$r=function(t){return e("div",{id:t.id})};export{xn as AnimationCategory,In as AnimationDelay,On as AnimationRepeat,Nn as AnimationSpeed,tn as BackgroundPositionType,ye as Base,z as BorderRadiusType,R as BorderStyleType,E as BorderWidthType,Te as BreakpointCategory,Pe as BreakpointDisplay,Fe as BreakpointType,_ as ColorType,P as CursorType,Y as DirectionType,F as DisplayType,Ye as Dock,Ae as DockAlignment,We as DockCategory,He as DockPopoverMode,Or as EllipseCategory,Rn as FileCategory,Qe as Flex,Ke as FlexAlignContentType,Je as FlexAlignItemsType,Ze as FlexDirectionType,et as FlexItem,$e as FlexItemAlignSelfType,qe as FlexJustifyContentType,Ge as FlexWrapType,O as FontFamilyType,M as FontSizeType,x as FontWeightType,D as GapType,on as HandleSubmitCategory,wr as HyperlinkCategory,Vn as ImageCategory,Le as LabelAlignType,Be as LabelCategory,De as LabelType,L as LetterSpacingType,Ir as LineCategory,N as LineHeightType,B as MarginType,A as OpacityType,V as OverflowType,j as OverflowXType,W as OverflowYType,I as PaddingType,xe as Position,Ne as PositionArea,Oe as PositionAreaCategory,ke as PositionCategory,_e as PositionType,X as PseudoType,Ve as Responsive,be as RootCategory,tt as SBaseline,nt as SBottom,it as SCenter,rt as SLeft,ot as SMiddle,at as SRight,lt as SStretch,ct as STop,Ee as ScreenSizeType,zr as ShadowCategory,sn as SvgCategory,kr as TextAlignType,Sr as TextCategory,Yr as ThemeCategory,Gr as TooltipCategory,ln as VActionForm,Bn as VAnimation,jr as VAside,Er as VAudio,nn as VBackground,Kr as VBadge,Mn as VBase64File,Ie as VBoundary,wn as VCheckBox,Cn as VColor,Sn as VDate,kn as VDatetimeLocal,br as VDropdown,Nr as VEllipse,_n as VEmail,Jr as VErrorBoundary,Pn as VFile,Vr as VFooter,an as VForm,Mr as VFrame,pr as VGroup,Ar as VHR,Fr as VHeader,Un as VHidden,Cr as VHyperlink,Hn as VImage,Re as VLabel,Br as VLine,Dn as VLoading,Pr as VMain,Ur as VMask,Xn as VMonth,$r as VMount,Wr as VNav,Yn as VNumber,Zn as VPassword,tr as VRadio,nr as VRange,Lr as VRectangle,rr as VSearch,Hr as VSection,yr as VSelect,Rr as VShadow,or as VSubmit,ar as VSubmitWrapper,hn as VSvg,vr as VSwitch,ir as VTel,Qr as VTemplate,_r as VText,xr as VTextArea,ur as VTextBox,Zr as VTheme,dr as VTime,qr as VTooltip,fr as VUrl,Tr as VVideo,hr as VWeek,Se as VZone,H as ViewSizeType,T as VisibilityType,dt as X,ft as XAround,ht as XAutoBoth,pt as XAutoCenter,gt as XAutoLeft,mt as XAutoLefts,vt as XAutoRight,yt as XAutoRights,bt as XBetween,wt as XCenter,st as XCrossType,Ct as XCustom,St as XCustomBoth,kt as XEvenly,_t as XLeft,xt as XRight,Ot as XWrapAround,Nt as XWrapBetween,It as XWrapBottom,Bt as XWrapEvenly,Dt as XWrapMiddle,Lt as XWrapTop,Et as Y,jt as YAround,Yt as YAutoBoth,Ut as YAutoBottom,Xt as YAutoBottoms,Ht as YAutoCenter,At as YAutoTop,Mt as YAutoTops,Tt as YBetween,Vt as YBottom,zt as YCrossType,Zt as YCustom,Gt as YCustomBoth,Wt as YEvenly,Ft as YMiddle,Pt as YTop,Qt as YWrapAround,$t as YWrapBetween,Jt as YWrapCenter,en as YWrapEvenly,qt as YWrapLeft,Kt as YWrapRight,Ce as ZoneCategory,rn as convertFormDataToJson,de as getGeneratedClassName,U as getWeightValue};
|
|
2
|
+
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,useId as s,useRef as u,useLayoutEffect as d,useEffect as f,useState as h,useCallback 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=function(){return b=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},b.apply(this,arguments)};function w(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 C(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;var S={Font:"font",Body:"body",White:"white",Black:"black",Light:"light",Light75:"light75",Light50:"light50",Light25:"light25",Dark:"dark",Dark75:"dark75",Dark50:"dark50",Dark25:"dark25",Primary:"primary",Primary75:"primary75",Primary50:"primary50",Primary25:"primary25",Secondary:"secondary",Secondary75:"secondary75",Secondary50:"secondary50",Secondary25:"secondary25",Tertiary:"tertiary",Tertiary75:"tertiary75",Tertiary50:"tertiary50",Tertiary25:"tertiary25",Info:"info",Info75:"info75",Info50:"info50",Info25:"info25",Success:"success",Success75:"success75",Success50:"success50",Success25:"success25",Warning:"warning",Warning75:"warning75",Warning50:"warning50",Warning25:"warning25",Error:"error",Error75:"error75",Error50:"error50",Error25:"error25",Border:"border",Border75:"border75",Border50:"border50",Border25:"border25",Placeholder:"placeholder",Placeholder75:"placeholder75",Placeholder50:"placeholder50",Placeholder25:"placeholder25",Transparent:"transparent"},k={Thin:"font-weight-thin",ExtraLight:"font-weight-extra-light",Light:"font-weight-light",Regular:"font-weight-regular",Medium:"font-weight-medium",SemiBold:"font-weight-semi-bold",Bold:"font-weight-bold",ExtraBold:"font-weight-extra-bold",Black:"font-weight-black"},_={Default:"font-family"},x={Default:"line-height"},O={Default:"padding",Normal:"padding-normal",ExtraSmall:"padding-extra-small",Small:"padding-small",Large:"padding-large",ExtraLarge:"padding-extra-large"},N={Default:"margin",Normal:"margin-normal",ExtraSmall:"margin-extra-small",Small:"margin-small",Large:"margin-large",ExtraLarge:"margin-extra-large"},I={Default:"gap",Normal:"gap-normal",ExtraSmall:"gap-extra-small",Small:"gap-small",Large:"gap-large",ExtraLarge:"gap-extra-large"},B={Default:"letter-spacing",Normal:"letter-spacing-normal",ExtraSmall:"letter-spacing-extra-small",Small:"letter-spacing-small",Large:"letter-spacing-large",ExtraLarge:"letter-spacing-extra-large"},L={Default:"border-radius",Normal:"border-radius-normal",ExtraSmall:"border-radius-extra-small",Small:"border-radius-small",Large:"border-radius-large",ExtraLarge:"border-radius-extra-large",Max:"border-radius-max"},D={None:"border-style-none",Solid:"border-style-solid",Dashed:"border-style-dashed",Dotted:"border-style-dotted",Double:"border-style-double",Groove:"border-style-groove",Ridge:"border-style-ridge",Inset:"border-style-inset",Outset:"border-style-outset",Hidden:"border-style-hidden"},z={Default:"border-width",Normal:"border-width-normal",ExtraSmall:"border-width-extra-small",Small:"border-width-small",Large:"border-width-large",ExtraLarge:"border-width-extra-large"},R={Visible:"visibility-visible",Hidden:"visibility-hidden",Collapse:"visibility-collapse"},E={None:"display-none",Block:"display-block",Inline:"display-inline",InlineBlock:"display-inline-block",Flex:"display-flex",InlineFlex:"display-inline-flex",Grid:"display-grid",InlineGrid:"display-inline-grid",Table:"display-table",TableRow:"display-table-row",TableCell:"display-table-cell",Contents:"display-contents",FlowRoot:"display-flow-root"},T={Auto:"cursor-auto",Default:"cursor-default",None:"cursor-none",ContextMenu:"cursor-context-menu",Help:"cursor-help",Pointer:"cursor-pointer",Progress:"cursor-progress",Wait:"cursor-wait",Cell:"cursor-cell",Crosshair:"cursor-crosshair",Text:"cursor-text",VerticalText:"cursor-vertical-text",Alias:"cursor-alias",Copy:"cursor-copy",Move:"cursor-move",NoDrop:"cursor-no-drop",NotAllowed:"cursor-not-allowed",Grab:"cursor-grab",Grabbing:"cursor-grabbing",AllScroll:"cursor-all-scroll",ColResize:"cursor-col-resize",RowResize:"cursor-row-resize",NResize:"cursor-n-resize",EResize:"cursor-e-resize",SResize:"cursor-s-resize",WResize:"cursor-w-resize",NeResize:"cursor-ne-resize",NwResize:"cursor-nw-resize",SeResize:"cursor-se-resize",SwResize:"cursor-sw-resize",EwResize:"cursor-ew-resize",NsResize:"cursor-ns-resize",NeswResize:"cursor-nesw-resize",NwseResize:"cursor-nwse-resize",ZoomIn:"cursor-zoom-in",ZoomOut:"cursor-zoom-out"},F={Visible:"overflow-visible",Hidden:"overflow-hidden",Scroll:"overflow-scroll",Auto:"overflow-auto",Clip:"overflow-clip"},P={Visible:"overflow-x-visible",Hidden:"overflow-x-hidden",Scroll:"overflow-x-scroll",Auto:"overflow-x-auto",Clip:"overflow-x-clip"},V={Visible:"overflow-y-visible",Hidden:"overflow-y-hidden",Scroll:"overflow-y-scroll",Auto:"overflow-y-auto",Clip:"overflow-y-clip"},j={_0:"opacity-0",_10:"opacity-10",_20:"opacity-20",_25:"opacity-25",_30:"opacity-30",_40:"opacity-40",_50:"opacity-50",_60:"opacity-60",_70:"opacity-70",_75:"opacity-75",_80:"opacity-80",_90:"opacity-90",_100:"opacity-100"},W={Ellipse:"v-ellipse-size",Rectangle:"v-rectangle-size",Image:"v-image-size",Svg:"v-svg-size",Window:"v-window-size"},A=function(e){var t;switch(e){case k.Thin:t=100;break;case k.ExtraLight:t=200;break;case k.Light:t=300;break;case k.Regular:t=400;break;case k.Medium:t=500;break;case k.SemiBold:t=600;break;case k.Bold:t=700;break;case k.ExtraBold:t=800;break;case k.Black:t=900;break;default:t=400}return t},H={Default:"font-size",Normal:"font-size-normal",Small:"font-size-small",ExtraSmall:"font-size-extra-small",Large:"font-size-large",ExtraLarge:"font-size-extra-large",AutoNormal:"auto-font-size-normal",AutoSmall:"auto-font-size-small",AutoExtraSmall:"auto-font-size-extra-small",AutoLarge:"auto-font-size-large",AutoExtraLarge:"auto-font-size-extra-large"},U={All:"all",Before:"before",After:"after"},M={All:"all",Top:"top",Right:"right",Bottom:"bottom",Left:"left",ExceptTop:"except-top",ExceptRight:"except-right",ExceptBottom:"except-bottom",ExceptLeft:"except-left",RightTop:"right-top",RightBottom:"right-bottom",LeftTop:"left-top",LeftBottom:"left-bottom",TopBottom:"top-bottom",LeftRight:"left-right"},X=function(){function e(e){this.className=e}return e.prototype.getClassName=function(){return"".concat(this.className)},e}(),Y=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(H).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}(Y),G=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}(Y),q=function(e){function t(t,n){var r=e.call(this,t)||this;return r.visibility=n,r}return y(t,e),t.prototype.getClassName=function(){if(this.visibility){var e=void 0;return e=Object.values(R).includes(this.visibility)?this.visibility:"visibility-".concat(this.visibility),"".concat(this.component.getClassName()," ").concat(e)}return this.component.getClassName()},t}(Y),J=function(e){function t(t,n){var r=e.call(this,t)||this;return r.cursor=n,r}return y(t,e),t.prototype.getClassName=function(){if(this.cursor){var e=void 0;return e=Object.values(T).includes(this.cursor)?this.cursor:"cursor-".concat(this.cursor),"".concat(this.component.getClassName()," ").concat(e)}return this.component.getClassName()},t}(Y),K=function(e){function t(t,n){var r=e.call(this,t)||this;return r.overflow=n,r}return y(t,e),t.prototype.getClassName=function(){if(this.overflow){var e=void 0;return e=Object.values(F).includes(this.overflow)?this.overflow:"overflow-".concat(this.overflow),"".concat(this.component.getClassName()," ").concat(e)}return this.component.getClassName()},t}(Y),Q=function(e){function t(t,n){var r=e.call(this,t)||this;return r.overflowX=n,r}return y(t,e),t.prototype.getClassName=function(){if(this.overflowX){var e=void 0;return e=Object.values(P).includes(this.overflowX)?this.overflowX:Object.values(F).includes(this.overflowX)?this.overflowX.replace("overflow-","overflow-x-"):"overflow-x-".concat(this.overflowX),"".concat(this.component.getClassName()," ").concat(e)}return this.component.getClassName()},t}(Y),$=function(e){function t(t,n){var r=e.call(this,t)||this;return r.overflowY=n,r}return y(t,e),t.prototype.getClassName=function(){if(this.overflowY){var e=void 0;return e=Object.values(V).includes(this.overflowY)?this.overflowY:Object.values(F).includes(this.overflowY)?this.overflowY.replace("overflow-","overflow-y-"):"overflow-y-".concat(this.overflowY),"".concat(this.component.getClassName()," ").concat(e)}return this.component.getClassName()},t}(Y),ee=function(e){function t(t,n){var r=e.call(this,t)||this;return r.display=n,r}return y(t,e),t.prototype.getClassName=function(){if(this.display){var e=void 0;return e=Object.values(E).includes(this.display)?this.display:"display-".concat(this.display),"".concat(this.component.getClassName()," ").concat(e)}return this.component.getClassName()},t}(Y),te=function(e){function t(t,n){var r=e.call(this,t)||this;return r.opacityType=n,r}return y(t,e),t.prototype.getClassName=function(){return this.opacityType&&Object.values(j).includes(this.opacityType)?"".concat(this.component.getClassName()," ").concat(this.opacityType):this.component.getClassName()},t}(Y),ne=function(e){function t(t,n){var r=e.call(this,t)||this;return r.borderRadius=n,r}return y(t,e),t.prototype.getClassName=function(){return this.borderRadius&&Object.values(L).includes(this.borderRadius)?"".concat(this.component.getClassName()," ").concat(this.borderRadius):this.component.getClassName()},t}(Y),re=function(e){function t(t,n){var r=e.call(this,t)||this;return r.borderStyle=n,r}return y(t,e),t.prototype.getClassName=function(){if(this.borderStyle){var e=void 0;return e=Object.values(D).includes(this.borderStyle)?this.borderStyle:"border-style-".concat(this.borderStyle),"".concat(this.component.getClassName()," ").concat(e)}return this.component.getClassName()},t}(Y),oe=function(e){function t(t,n){var r=e.call(this,t)||this;return r.padding=n,r}return y(t,e),t.prototype.getClassName=function(){return this.padding&&Object.values(O).includes(this.padding)?"".concat(this.component.getClassName()," ").concat(this.padding):this.component.getClassName()},t}(Y),ae=function(e){function t(t,n){var r=e.call(this,t)||this;return r.letterSpacing=n,r}return y(t,e),t.prototype.getClassName=function(){return this.letterSpacing&&Object.values(B).includes(this.letterSpacing)?"".concat(this.component.getClassName()," ").concat(this.letterSpacing):this.component.getClassName()},t}(Y),ie=function(e){function t(t,n){var r=e.call(this,t)||this;return r.margin=n,r}return y(t,e),t.prototype.getClassName=function(){return this.margin&&Object.values(N).includes(this.margin)?"".concat(this.component.getClassName()," ").concat(this.margin):this.component.getClassName()},t}(Y),le=function(e){function t(t,n){var r=e.call(this,t)||this;return r.borderWidth=n,r}return y(t,e),t.prototype.getClassName=function(){if(this.borderWidth){var e=void 0;return e=Object.values(z).includes(this.borderWidth)?this.borderWidth:"border-width-".concat(this.borderWidth),"".concat(this.component.getClassName()," ").concat(e)}return this.component.getClassName()},t}(Y),ce=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 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 M.Bottom:r=" ".concat(e).concat(o,"-border-bottom");break;case M.ExceptBottom:r=" ".concat(e).concat(o,"-border-except-bottom");break;case M.ExceptLeft:r=" ".concat(e).concat(o,"-border-except-left");break;case M.ExceptRight:r=" ".concat(e).concat(o,"-border-except-right");break;case M.ExceptTop:r=" ".concat(e).concat(o,"-border-except-top");break;case M.Left:r=" ".concat(e).concat(o,"-border-left");break;case M.LeftBottom:r=" ".concat(e).concat(o,"-border-left-bottom");break;case M.LeftRight:r=" ".concat(e).concat(o,"-border-left-right");break;case M.LeftTop:r=" ".concat(e).concat(o,"-border-left-top");break;case M.Right:r=" ".concat(e).concat(o,"-border-right");break;case M.RightBottom:r=" ".concat(e).concat(o,"-border-right-bottom");break;case M.RightTop:r=" ".concat(e).concat(o,"-border-right-top");break;case M.Top:r=" ".concat(e).concat(o,"-border-top");break;case M.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(S.Transparent,"-background"):"",r=this.pseudoBackgroundColorType?" ".concat(this.pseudoBackgroundColorType,"-before-background"):this.isDefaultValue?" ".concat(S.Transparent,"-before-background"):"",o=this.pseudoBackgroundColorType?" ".concat(this.pseudoBackgroundColorType,"-after-background"):this.isDefaultValue?" ".concat(S.Transparent,"-after-background"):"",a="".concat(r).concat(o),i=this.frontColorType?" ".concat(this.frontColorType,"-front"):this.isDefaultValue?" ".concat(S.Black,"-front"):"",l=this.pseudoFrontColorType?" ".concat(this.pseudoFrontColorType,"-before-front"):this.isDefaultValue?" ".concat(S.Black,"-before-front"):"",c=this.pseudoFrontColorType?" ".concat(this.pseudoFrontColorType,"-after-front"):this.isDefaultValue?" ".concat(S.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(S.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(S.Transparent).concat(this.getBorderPrefix(this.pseudoType),"-border"):"":"","".concat(this.component.getClassName()).concat(n).concat(a).concat(i).concat(s).concat(e).concat(t)},t}(Y),se=function(e,t,n,r,o,a,i,l,c,s,u,d,f,h,p,g,m,v,y,b,w,C,S,k,_,x,O){return new ce(new $(new Q(new K(new J(new q(new ee(new te(new ie(new ae(new oe(new le(new re(new ne(new Z(new G(new X(e),o),n,r),p),g),m),v),O),y),b),w),C),S),k),_),x),t,a,i,l,c,s,u,d,f,h).getClassName()},ue=["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"],de=["id","title","dir","lang","translate","tabIndex","accessKey","contentEditable","spellCheck","draggable","enterKeyHint","inputMode","autoCapitalize","role","slot","htmlFor","hidden","is"],fe=["onError","onLoad"],he=["onAbort","onCanPlay","onCanPlayThrough","onDurationChange","onEmptied","onEncrypted","onEnded","onError","onLoadedData","onLoadedMetadata","onLoadStart","onPause","onPlay","onPlaying","onProgress","onRateChange","onResize","onSeeked","onSeeking","onStalled","onSuspend","onTimeUpdate","onVolumeChange","onWaiting"],pe={div:C(C([],ue,!0),de,!0),input:C(C(C(C([],ue,!0),de,!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:C(C(C([],ue,!0),de,!0),["rows","cols","wrap","name","autoFocus","autoComplete","placeholder","maxLength","minLength","required","readOnly","disabled","wrap","spellcheck","dirname"],!0),template:C(C([],ue,!0),de,!0),abbr:C(C([],ue,!0),de,!0),span:C(C([],ue,!0),de,!0),h1:C(C([],ue,!0),de,!0),h2:C(C([],ue,!0),de,!0),h3:C(C([],ue,!0),de,!0),h4:C(C([],ue,!0),de,!0),h5:C(C([],ue,!0),de,!0),h6:C(C([],ue,!0),de,!0),i:C(C([],ue,!0),de,!0),b:C(C([],ue,!0),de,!0),u:C(C([],ue,!0),de,!0),em:C(C([],ue,!0),de,!0),strong:C(C([],ue,!0),de,!0),blockquote:C(C([],ue,!0),de,!0),cite:C(C([],ue,!0),de,!0),code:C(C([],ue,!0),de,!0),del:C(C([],ue,!0),de,!0),dfn:C(C([],ue,!0),de,!0),ins:C(C([],ue,!0),de,!0),kbd:C(C([],ue,!0),de,!0),mark:C(C([],ue,!0),de,!0),pre:C(C([],ue,!0),de,!0),q:C(C([],ue,!0),de,!0),s:C(C([],ue,!0),de,!0),samp:C(C([],ue,!0),de,!0),small:C(C([],ue,!0),de,!0),summary:C(C([],ue,!0),de,!0),sup:C(C([],ue,!0),de,!0),sub:C(C([],ue,!0),de,!0),time:C(C([],ue,!0),de,!0),var:C(C([],ue,!0),de,!0),wbr:C(C([],ue,!0),de,!0),p:C(C([],ue,!0),de,!0),address:C(C([],ue,!0),de,!0),article:C(C([],ue,!0),de,!0),aside:C(C([],ue,!0),de,!0),details:C(C(C([],ue,!0),de,!0),["onToggle"],!0),nav:C(C([],ue,!0),de,!0),section:C(C([],ue,!0),de,!0),form:C(C(C([],ue,!0),de,!0),["onReset","onSubmit"],!0),dialog:C(C(C([],ue,!0),de,!0),["onCancel","onClose"],!0),img:C(C(C(C([],ue,!0),de,!0),fe,!0),["src","alt","width","height","crossOrigin","decoding","loading","referrerPolicy","sizes","srcSet","title","role"],!0),iframe:C(C(C(C([],ue,!0),de,!0),fe,!0),["src","srcDoc","width","height","name","sandbox","allow","allowFullScreen","loading","referrerPolicy","title","role"],!0),object:C(C(C([],ue,!0),de,!0),fe,!0),embed:C(C(C([],ue,!0),de,!0),fe,!0),link:C(C(C([],ue,!0),de,!0),fe,!0),svg:C(C(C([],ue,!0),de,!0),fe,!0),audio:C(C(C([],ue,!0),de,!0),he,!0),video:C(C(C([],ue,!0),de,!0),he,!0)},ge=["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"],me=function(t){return{getClassName:function(e){var n=se(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,t.letterSpacing);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,lineHeight:t.lineHeight};return t.letterSpacing&&!Object.values(B).includes(t.letterSpacing)&&(n.letterSpacing=t.letterSpacing),t.opacity&&!Object.values(j).includes(t.opacity)&&(n.opacity=t.opacity),t.padding&&!Object.values(O).includes(t.padding)&&(n.padding=t.padding),t.margin&&!Object.values(N).includes(t.margin)&&(n.margin=t.margin),t.borderRadius&&!Object.values(L).includes(t.borderRadius)&&(n.borderRadius=t.borderRadius),null!=t.selfShrink&&(n.flexShrink=t.selfShrink),null!=t.selfGrow&&(n.flexGrow=t.selfGrow),null!=t.selfBasis&&(n.flexBasis=t.selfBasis),b(b(b({},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){ge.includes(o)?n[o]=t[o]:pe[e]&&pe[e].includes(o)&&(r[o]=t[o])})),{view:n,html:r}}}},ve={Display:"display",Rich:"rich"},ye=function(t){var n=(t.category==ve.Display?{}:t._base.getProps("div")).html;return e("div",b({ref:t.ref,className:t._base.getClassName(t.className),style:t._base.getStyle(t.style)},n,{children:t.children}))},be={Fluid:"fluid",Small:"small",Medium:"medium",Large:"large",ExtraLarge:"extra-large",ExtraExtraLarge:"extra-extra-large"},we=function(t){var n=t.category,r=w(t,["category"]),o=me(r);return e(ye,{_base:o,className:"v-zone-".concat(n),children:t.children})},Ce={Edge:"edge",Window:"window",Area:"area",Self:"self"},Se={Top:"top",Right:"right",Bottom:"bottom",Left:"left",LeftTop:"left-top",RightTop:"right-top",LeftBottom:"left-bottom",RightBottom:"right-bottom",Center:"center"},ke=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=b(b({},t.style),{zIndex:t.zIndex}),e("div",{className:n,style:r,children:t.children})}r=void 0;return r=t.category!=Ce.Self?b(b({},t.style),{top:t.top,right:t.right,bottom:t.bottom,left:t.left,zIndex:t.zIndex}):b(b({},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})},_e={Default:"default",FullSize:"full-size"},xe=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:_e.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)}))})},Oe=function(t){var n=me(t);return e(ye,{ref:t.ref,_base:n,className:"v-boundary",children:t.children})},Ne={Div:"div",Abbr:"abbr",Span:"span",H1:"h1",H2:"h2",H3:"h3",H4:"h4",H5:"h5",H6:"h6",I:"i",B:"b",U:"u",Em:"em",Strong:"strong",Blockquote:"blockquote",Cite:"cite",Code:"code",Del:"del",Dfn:"dfn",Ins:"ins",Kbd:"kbd",Mark:"mark",Pre:"pre",Q:"q",S:"s",Samp:"samp",Small:"small",Summary:"summary",Sup:"sup",Sub:"sub",Time:"time",Var:"var",Wbr:"wbr"},Ie={Default:"default",Circle:"circle"},Be={Justify:0,Left:1,Right:2,Center:3},Le=function(t){var n,r,o=t.category,a=t.type,i=t.alignType,l=t.isTextOverflow,s=t.caption,u=w(t,["category","type","alignType","isTextOverflow","caption"]),d=me(b({display:null==t.category||t.category==Ne.Span?"inline-block":"block"},u)),f=d.getProps("div"),h=f.view,p=f.html;switch(i){case Be.Center:r="v-label-center";break;case Be.Justify:r="v-label-justify";break;case Be.Left:r="v-label";break;case Be.Right:r="v-label-right";break;default:r="v-label"}if(a==Ie.Circle&&(r="".concat(r,"-circle")),l&&(r+=" v-label-text-overflow"),u.fontWeight&&(r+=" v-label-inherit-font-weight"),u.fontSize&&(r+=" v-label-inherit-font-size"),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==Ie.Circle?e(xe,{children:e(Oe,b({width:"1.6em",height:"1.6em",borderRadius:L.Max},h,{className:r},p,{children:e(ke,{category:Ce.Area,type:Se.Center,children:n})}))}):e(Oe,b({},h,{className:t.className?"".concat(t.className," ").concat(r):r},p,{children:n}))};Le.displayName="VLabel";var De=l(Le),ze={ExtraSmall:"extra-small",Small:"small",Medium:"medium",Large:"large",ExtraLarge:"extra-large",ExtraExtraLarge:"extra-extra-large"},Re={Visible:"visiable",Hidden:"hidden"},Ee={Only:"only",Up:"up",Down:"down"},Te=function(t){return t.children?e(Oe,{className:function(){if(t.breakpoint){if("string"!=typeof t.breakpoint)return t.breakpoint.map((function(e){return"".concat(e,"-").concat(t.category)})).join(" ");if(!t.type||t.type==Ee.Only)return"".concat(t.breakpoint,"-").concat(t.category);if(t.type==Ee.Up)return"".concat(t.breakpoint,"-up-").concat(t.category);if(t.type==Ee.Down)return"".concat(t.breakpoint,"-down-").concat(t.category)}return t.category}(),style:{display:"contents"},children:t.children}):e(De,{backgroundColor:S.Error,caption:"[BreakpointDisplay] No Children!"})},Fe=function(r){return n(t,{children:[e(Te,{category:Re.Hidden,type:Ee.Down,breakpoint:r.breakpointType?r.breakpointType:ze.Small,children:r.desktop}),e(Te,{category:Re.Hidden,type:Ee.Up,breakpoint:r.breakpointType?r.breakpointType:ze.Small,children:r.mobile})]})},Pe=2147483647,Ve={Top:"top",Right:"right",Bottom:"bottom",Left:"left",LeftTop:"left-top",RightTop:"right-top",LeftBottom:"left-bottom",RightBottom:"right-bottom",InnerTop:"inner-top",InnerRight:"inner-right",InnerBottom:"inner-bottom",InnerLeft:"inner-left",InnerLeftTop:"inner-left-top",InnerRightTop:"inner-right-top",InnerLeftBottom:"inner-left-bottom",InnerRightBottom:"inner-right-bottom"},je={Horizontal:"horizontal",Vertical:"vertical"},We={Manual:"manual",Auto:"auto"},Ae=function(e,t){return t?"".concat(e,"-").concat(t):e},He=function(t){var n=t.category,r=t.offset,o=t.zIndex,a=t.alignment,i=t.popoverMode,l=void 0===i?We.Manual:i,c=t.onOverlayClose,h=t.renderOverlay,p=s(),g=u(null),m="--dock-".concat(p.replace(/:/g,""));return d((function(){var e=g.current,t=null==e?void 0:e.parentElement;if(t&&t.style.setProperty("anchor-name",m),e)try{e.showPopover()}catch(e){}return function(){t&&t.style.removeProperty("anchor-name");try{null==e||e.hidePopover()}catch(e){}}}),[m]),f((function(){if(l===We.Auto&&c){var e=g.current;if(e){var t=function(e){"closed"===e.newState&&c()};return e.addEventListener("toggle",t),function(){e.removeEventListener("toggle",t)}}}}),[l,c]),e("div",{ref:g,popover:l,className:"dock-popover-overlay ".concat(Ae(n,a)),style:{"--dock-offset":"".concat(r,"px"),"--dock-z-index":o,positionAnchor:m},children:h()})},Ue=function(r){var o=r.category,a=r.offset,i=r.zIndex,l=r.alignment,c=r.renderOverlay,s=u(null),d=u(null),g=h({}),v=g[0],y=g[1],w=h(!0),C=w[0],S=w[1],k=h(!1),_=k[0],x=k[1];f((function(){x(!0)}),[]);var O=p((function(){var e,t=null===(e=s.current)||void 0===e?void 0:e.parentElement,n=d.current;if(t&&n){var r=t.getBoundingClientRect(),i=n.getBoundingClientRect();y(function(e,t,n,r,o){var a=0,i=0;switch(n){case Ve.Top:a=e.top-t.height-r,i=e.left+(e.width-t.width)/2;break;case Ve.Right:a=e.top+(e.height-t.height)/2,i=e.right+r;break;case Ve.Bottom:a=e.bottom+r,i=e.left+(e.width-t.width)/2;break;case Ve.Left:a=e.top+(e.height-t.height)/2,i=e.left-t.width-r;break;case Ve.LeftTop:o===je.Horizontal?(a=e.top,i=e.left-t.width-r):o===je.Vertical?(a=e.top-t.height-r,i=e.left):(a=e.top-t.height-r,i=e.left-t.width-r);break;case Ve.RightTop:o===je.Horizontal?(a=e.top,i=e.right+r):o===je.Vertical?(a=e.top-t.height-r,i=e.right-t.width):(a=e.top-t.height-r,i=e.right+r);break;case Ve.LeftBottom:o===je.Horizontal?(a=e.bottom-t.height,i=e.left-t.width-r):o===je.Vertical?(a=e.bottom+r,i=e.left):(a=e.bottom+r,i=e.left-t.width-r);break;case Ve.RightBottom:o===je.Horizontal?(a=e.bottom-t.height,i=e.right+r):o===je.Vertical?(a=e.bottom+r,i=e.right-t.width):(a=e.bottom+r,i=e.right+r);break;case Ve.InnerTop:a=e.top+r,i=e.left+(e.width-t.width)/2;break;case Ve.InnerRight:a=e.top+(e.height-t.height)/2,i=e.right-t.width-r;break;case Ve.InnerBottom:a=e.bottom-t.height-r,i=e.left+(e.width-t.width)/2;break;case Ve.InnerLeft:a=e.top+(e.height-t.height)/2,i=e.left+r;break;case Ve.InnerLeftTop:a=e.top+r,i=e.left+r;break;case Ve.InnerRightTop:a=e.top+r,i=e.right-t.width-r;break;case Ve.InnerLeftBottom:a=e.bottom-t.height-r,i=e.left+r;break;case Ve.InnerRightBottom:a=e.bottom-t.height-r,i=e.right-t.width-r}return{top:a,left:i}}(r,i,o,a,l))}}),[o,a,l]);return f((function(){var e;O();var t=null===(e=s.current)||void 0===e?void 0:e.parentElement;if(t){var n=new ResizeObserver(O);n.observe(t);for(var r=[],o=t;o;)(o.scrollHeight>o.clientHeight||o.scrollWidth>o.clientWidth)&&(r.push(o),o.addEventListener("scroll",O,{passive:!0})),o=o.parentElement;return window.addEventListener("scroll",O,{passive:!0}),window.addEventListener("resize",O),function(){n.disconnect(),r.forEach((function(e){return e.removeEventListener("scroll",O)})),window.removeEventListener("scroll",O),window.removeEventListener("resize",O)}}}),[O]),f((function(){var e,t=null===(e=s.current)||void 0===e?void 0:e.parentElement;if(t){var n=new IntersectionObserver((function(e){var t=e[0];return S(t.isIntersecting)}),{threshold:.1});return n.observe(t),function(){return n.disconnect()}}}),[]),n(t,{children:[e("span",{ref:s,style:{display:"none"}}),_&&C&&m(e("div",{ref:d,className:"dock-overlay",style:b({position:"fixed",width:"max-content",pointerEvents:"auto",zIndex:i},v),children:c()}),document.body)]})},Me=function(t){var r=t.category,o=t.offset,a=void 0===o?0:o,i=t.overlayZIndex,l=void 0===i?Pe:i,c=t.isPortal,s=void 0!==c&&c,u=t.isOverlayVisible,d=void 0===u||u,p=t.popoverMode,g=void 0===p?We.Manual:p,m=t.onOverlayClose,v=t.renderOverlay,y=w(t,["category","offset","overlayZIndex","isPortal","isOverlayVisible","popoverMode","onOverlayClose","renderOverlay"]),C="alignment"in t?t.alignment:void 0,S=me(y),k=S.getProps("div").html,_=h(!0),x=_[0],O=_[1];f((function(){"undefined"!=typeof CSS&&CSS.supports("anchor-name","--a")||O(!1)}),[]);var N=s||!x;return n("div",b({className:S.getClassName("dock"),style:S.getStyle()},k,{children:[t.children,d&&(N?e(Ue,{category:r,offset:a,zIndex:l,alignment:C,renderOverlay:v}):e(He,{category:r,offset:a,zIndex:l,alignment:C,popoverMode:g,onOverlayClose:m,renderOverlay:v}))]}))},Xe={Row:"row",RowReverse:"row-reverse",Column:"column",ColumnReverse:"column-reverse"},Ye={NoWrap:"nowrap",Wrap:"wrap"},Ze={Start:"flex-start",Center:"center",End:"flex-end",SpaceBetween:"space-between",SpaceAround:"space-around",SpaceEvenly:"space-evenly"},Ge={Start:"flex-start",Center:"center",End:"flex-end",Stretch:"stretch",Baseline:"baseline"},qe={Start:"flex-start",Center:"center",End:"flex-end",SpaceBetween:"space-between",SpaceAround:"space-around",SpaceEvenly:"space-evenly"},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=w(t,["vClassName","direction","wrap","justifyContent","alignItems","alignContent","gap","overflow"]);!s.cursor&&t.onClick&&(s.cursor=T.Pointer);var u=me(s),d=u.getProps("div").html,f=l&&Object.values(I).includes(l),h=!l||f?u.getStyle():b(b({},u.getStyle()),{gap:l}),p=c?"flex-".concat(c):s.overflowX||s.overflowY?"flex":"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):"",C=i?" flex-align-content-".concat(i):"",S=f?" ".concat(l):"",k="".concat(p).concat(g).concat(m).concat(v).concat(y).concat(C).concat(S),_=u.getClassName(k);return e("div",b({className:_,style:h},d,{children:t.children}))},Ke={Start:"start",Center:"center",End:"end",Stretch:"stretch",Baseline:"baseline"},Qe=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:b(b({},n),{display:"flex",flexDirection:"column"}),children:t.children})},$e=function(n){return e(t,{children:n.children})},et=function(n){return e(t,{children:n.children})},tt=function(n){return e(t,{children:n.children})},nt=function(n){return e(t,{children:n.children})},rt=function(n){return e(t,{children:n.children})},ot=function(n){return e(t,{children:n.children})},at=function(n){return e(t,{children:n.children})},it=function(n){return e(t,{children:n.children})},lt={Top:"top",Middle:"middle",Bottom:"bottom",Stretch:"stretch",Baseline:"baseline"},ct=function(n,r,a,i,l){n.cross;var c=n.itemsShrink,s=w(n,["cross","itemsShrink"]),u=me(s),d=function(t,n,o){return r?r(t,n,o,c):e(Qe,{alignSelf:o,shrink:c,children:t},"child".concat(n))};return e(Je,b({vClassName:"v-xbase",alignItems:function(){var e;if(n.cross)switch(n.cross){case lt.Stretch:e=Ge.Stretch;break;case lt.Baseline:e=Ge.Baseline;break;case lt.Bottom:e=Ge.End;break;case lt.Middle:e=Ge.Center;break;case lt.Top:e=Ge.Start;break;default:e=Ge.Center}else e=Ge.Center;return e}(),wrap:a?a():Ye.NoWrap,justifyContent:i?i():Ze.Start,alignContent:l?l():qe.Start},s,{children:o.map(u.getChildren(),(function(n,r){var o=n;return o.type?o.type===it?d(o.props.children,r,Ke.Start):o.type===nt?d(o.props.children,r,Ke.Center):o.type===et?d(o.props.children,r,Ke.End):o.type===at?d(o.props.children,r,Ke.Stretch):o.type===$e?d(o.props.children,r,Ke.Baseline):d(o,r):(console.debug(o),e(t,{children:"Please check X layout children."}))}))}))},st=function(t){return ct(t,(function(t,n,r,o){return e(Qe,{grow:1,alignSelf:r,shrink:o,children:t})}))},ut=function(e){return ct(e,void 0,void 0,(function(){return Ze.SpaceAround}))},dt=function(t){var n=me(t);return ct(t,(function(t,r,a,i){return 0!=r&&r!=o.count(n.getChildren())-1?e(Qe,{grow:0,alignSelf:a,shrink:i,children:t}):e(Qe,{grow:1,alignSelf:a,shrink:i,children:t})}))},ft=function(t){var n=me(t);return ct(t,(function(t,r,a,i){return 0!=r&&r!=o.count(n.getChildren())-1?e(Qe,{grow:1,alignSelf:a,shrink:i,children:t}):e(Qe,{grow:0,alignSelf:a,shrink:i,children:t})}))},ht=function(t){return ct(t,(function(t,n,r,o){return e(Qe,0==n?{grow:1,alignSelf:r,shrink:o,children:t}:{grow:0,alignSelf:r,shrink:o,children:t})}))},pt=function(t){var n=me(t);return ct(t,(function(t,r,a,i){return r==o.count(n.getChildren())-1?e(Qe,{grow:0,alignSelf:a,shrink:i,children:t}):e(Qe,{grow:1,alignSelf:a,shrink:i,children:t})}))},gt=function(t){var n=me(t);return ct(t,(function(t,r,a,i){return r==o.count(n.getChildren())-1?e(Qe,{grow:1,shrink:i,children:t}):e(Qe,{grow:0,shrink:i,children:t})}))},mt=function(t){return ct(t,(function(t,n,r,o){return e(Qe,0==n?{grow:0,alignSelf:r,shrink:o,children:t}:{grow:1,alignSelf:r,shrink:o,children:t})}))},vt=function(e){return ct(e,void 0,void 0,(function(){return Ze.SpaceBetween}))},yt=function(e){return ct(e,void 0,void 0,(function(){return Ze.Center}))},bt=function(t){return ct(t,(function(n,r,o,a){var i=e(Qe,{shrink:a,children:n});return t.basises&&r<t.basises.length&&(i=e(Qe,{basis:t.basises[r],shrink:a,children:n})),i}))},wt=function(t){var n=me(t);return ct(t,(function(r,a,i,l){return 0==a||a==o.count(n.getChildren())-1?e(Qe,{basis:t.basis,shrink:l,children:r}):e(Qe,{grow:1,shrink:l,children:r})}))},Ct=function(e){return ct(e,void 0,void 0,(function(){return Ze.SpaceEvenly}))},St=function(e){return ct(e)},kt=function(e){return ct(e,void 0,void 0,(function(){return Ze.End}))},_t=function(e){return ct(e,void 0,(function(){return Ye.Wrap}),void 0,(function(){return qe.SpaceAround}))},xt=function(e){return ct(e,void 0,(function(){return Ye.Wrap}),void 0,(function(){return qe.SpaceBetween}))},Ot=function(e){return ct(e,void 0,(function(){return Ye.Wrap}),void 0,(function(){return qe.End}))},Nt=function(e){return ct(e,void 0,(function(){return Ye.Wrap}),void 0,(function(){return qe.SpaceEvenly}))},It=function(e){return ct(e,void 0,(function(){return Ye.Wrap}),void 0,(function(){return qe.Center}))},Bt=function(e){return ct(e,void 0,(function(){return Ye.Wrap}),void 0,(function(){return qe.Start}))},Lt={Left:"left",Center:"center",Right:"right",Baseline:"baseline",Stretch:"stretch"},Dt=function(n,r,a,i,l){var c=n.cross,s=n.itemsShrink,u=w(n,["cross","itemsShrink"]),d=me(u),f=function(t,n,o){return r?r(t,n,o,s):e(Qe,{alignSelf:o,shrink:s,children:t},"child".concat(n))};return e(Je,b({vClassName:"v-ybase",wrap:a?a():Ye.NoWrap,alignContent:i?i():qe.Start,alignItems:function(){var e;if(c)switch(c){case Lt.Left:e=Ge.Start;break;case Lt.Center:e=Ge.Center;break;case Lt.Right:e=Ge.End;break;case Lt.Baseline:e=Ge.Baseline;break;default:e=Ge.Stretch}else e=Ge.Stretch;return e}(),direction:Xe.Column,justifyContent:l?l():Ze.Start},u,{children:o.map(d.getChildren(),(function(n,r){var o=n;return o.type?o.type===tt?f(o.props.children,r,Ke.Start):o.type===nt||o.type===ot?f(o.props.children,r,Ke.Center):o.type===rt?f(o.props.children,r,Ke.End):o.type===at?f(o.props.children,r,Ke.Stretch):o.type===$e?f(o.props.children,r,Ke.Baseline):f(n,r):(console.debug(o),e(t,{children:"Please check Y layout children."}))}))}))},zt=function(t){return Dt(t,(function(t,n,r,o){return e(Qe,{grow:1,alignSelf:r,shrink:o,children:t})}))},Rt=function(e){return Dt(e,void 0,void 0,void 0,(function(){return Ze.SpaceBetween}))},Et=function(e){return Dt(e,void 0,void 0,void 0,(function(){return Ze.Center}))},Tt=function(e){return Dt(e,void 0,void 0,void 0,(function(){return Ze.Start}))},Ft=function(e){return Dt(e,void 0,void 0,void 0,(function(){return Ze.End}))},Pt=function(e){return Dt(e,void 0,void 0,void 0,(function(){return Ze.SpaceAround}))},Vt=function(e){return Dt(e,void 0,void 0,void 0,(function(){return Ze.SpaceEvenly}))},jt=function(t){return Dt(t,(function(t,n,r,o){return e(Qe,0==n?{grow:1,alignSelf:r,shrink:o,children:t}:{grow:0,alignSelf:r,shrink:o,children:t})}))},Wt=function(t){var n=me(t);return Dt(t,(function(t,r,a,i){return 0!=r&&r!=o.count(n.getChildren())-1?e(Qe,{grow:1,alignSelf:a,shrink:i,children:t}):e(Qe,{grow:0,alignSelf:a,shrink:i,children:t})}))},At=function(t){var n=me(t);return Dt(t,(function(t,r,a,i){return r==o.count(n.getChildren())-1?e(Qe,{grow:1,shrink:i,children:t}):e(Qe,{grow:0,shrink:i,children:t})}))},Ht=function(t){var n=me(t);return Dt(t,(function(t,r,a,i){return r==o.count(n.getChildren())-1?e(Qe,{grow:0,alignSelf:a,shrink:i,children:t}):e(Qe,{grow:1,alignSelf:a,shrink:i,children:t})}))},Ut=function(t){return Dt(t,(function(t,n,r,o){return e(Qe,0==n?{grow:0,alignSelf:r,shrink:o,children:t}:{grow:1,alignSelf:r,shrink:o,children:t})}))},Mt=function(t){var n=me(t);return Dt(t,(function(t,r,a,i){return 0!=r&&r!=o.count(n.getChildren())-1?e(Qe,{grow:0,alignSelf:a,shrink:i,children:t}):e(Qe,{grow:1,alignSelf:a,shrink:i,children:t})}))},Xt=function(t){return Dt(t,(function(n,r,o,a){var i=e(Qe,{shrink:a,children:n});return t.basises&&r<t.basises.length&&(i=e(Qe,{basis:t.basises[r],shrink:a,children:n})),i}))},Yt=function(t){var n=me(t);return Dt(t,(function(r,a,i,l){return 0==a||a==o.count(n.getChildren())-1?e(Qe,{basis:t.basis,shrink:l,children:r}):e(Qe,{grow:1,shrink:l,children:r})}))},Zt=function(e){return Dt(e,void 0,(function(){return Ye.Wrap}),(function(){return qe.Start}))},Gt=function(e){return Dt(e,void 0,(function(){return Ye.Wrap}),(function(){return qe.Center}))},qt=function(e){return Dt(e,void 0,(function(){return Ye.Wrap}),(function(){return qe.End}))},Jt=function(e){return Dt(e,void 0,(function(){return Ye.Wrap}),(function(){return qe.SpaceAround}),void 0)},Kt=function(e){return Dt(e,void 0,(function(){return Ye.Wrap}),(function(){return qe.SpaceBetween}))},Qt=function(e){return Dt(e,void 0,(function(){return Ye.Wrap}),(function(){return qe.SpaceEvenly}))},$t={Top:"top",Right:"right",Bottom:"bottom",Left:"left",Center:"center"},en=function(t){t.image,t.imageWidth,t.imageHeight,t.position;var n,r=w(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=me(b(b({},r),{style:n}));return e(ye,{_base:o,className:t.position?"v-background-".concat(t.position):"v-background",children:t.children})},tn=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]=C(C([],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},nn={Json:"json",FormData:"formdata"},rn=function(t){var n=t.ref,r=t.handleSubmitCategory,o=t.handleSubmit,a=t.handleValidateError,i=w(t,["ref","handleSubmitCategory","handleSubmit","handleValidateError"]),l=me(i),c=u(null);f((function(){return"object"==typeof n&&n?n.current=c.current:"function"==typeof n&&n(c.current),function(){"object"==typeof n&&n?n.current=null:"function"==typeof n&&n(null)}}),[n]);var s=l.getProps("form").html;return e("form",b({ref:c,noValidate:!!a,className:l.getClassName("v-form"),style:l.getStyle(),onSubmit:function(e){e.preventDefault();var t=e.currentTarget,n=e.nativeEvent.submitter;if((null==n?void 0:n.formNoValidate)||!a||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);o(r===nn.FormData?l:tn(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)))}a(c)}}},s,{children:t.children}))},on=function(t){return e("form",b({className:"v-action-form"},t,{children:t.children}))},an=function(t){var r=t.ref,o=t.type,a=t.label,i=t.icon,l=t.value,c=t.valueHook,s=t.setStateHook,d=t.isValueShow,p=t.gap,g=t.valueSize,m=t.frontColor;t.valueCategory;var v,y=t.valuePadding,C=t.inputStyle,k=t.inputClassName,_=t.placeholderColor,x=t.overWrite,O=t.renderOptions,N=t.onChange,I=t.inheritClassName,B=t.customAttributes,L=w(t,["ref","type","label","icon","value","valueHook","setStateHook","isValueShow","gap","valueSize","frontColor","valueCategory","valuePadding","inputStyle","inputClassName","placeholderColor","overWrite","renderOptions","onChange","inheritClassName","customAttributes"]),D=me(L),z=D.getProps("input").html,R=h({value:void 0!==t.value?t.value:""}),T=R[0],F=R[1],P=u(null);return f((function(){"object"==typeof r&&r?r.current=P.current:"function"==typeof r&&r(P.current),t.autoFocus&&P.current&&P.current.focus()}),[r,t.autoFocus]),x&&(v=x(P)),n(ye,{_base:D,className:"v-validity v-input ".concat((_||S.Placeholder)+"-placeholder").concat(I?" ".concat(I):""),children:[n(zt,{display:v?E.None:void 0,children:[n(ft,{gap:p,children:[e(Oe,{children:i}),n(Oe,{children:[e("input",b({ref:P},B,{className:(k?"".concat(k," "):"")+"".concat(D.getClassName("v-input-native")),style:C,type:o},void 0!==c?{value:c}:{defaultValue:void 0!==l?l:""},{onChange:function(e){var t;d&&F({value:null===(t=P.current)||void 0===t?void 0:t.value}),N&&N(e),s&&s(e.target.value)}},z)),!!a&&e("label",{htmlFor:t.id?t.id:t.name,children:a})]}),O?O(P):e(Oe,{})]}),!!d&&e(yt,{children:e(De,{padding:y,isAutoSize:t.isAutoSize,fontSize:g||H.Normal,frontColor:m||S.Black,caption:void 0!==T.value?T.value.toString():l?l.toString():""})})]}),!!v&&v]})},ln={Default:"default",Circle:"circle",Squared:"squared",Custom:"custom"},cn=function(n){var r=b({},n);!r.cursor&&n.onClick&&(r.cursor=T.Pointer);var l=me(r);return e(t,{children:o.map(n.children,(function(e){return function(e){var t=n.category?n.category:ln.Default,r=l.getClassName("v-svg-".concat(t)),o=n.onClick,c=n.onMouseEnter,s=n.onMouseLeave,u={className:r,style:b({},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)}))})};cn.displayName="VSvg";var sn,un,dn=l(cn);function fn(){return fn=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},fn.apply(null,arguments)}var hn,pn=function(e){return r.createElement("svg",fn({xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 256 256"},e),sn||(sn=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"})),un||(un=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 gn(){return gn=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},gn.apply(null,arguments)}var mn,vn=function(e){return r.createElement("svg",gn({xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 256 256"},e),hn||(hn=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"})))},yn=function(t){var r=t.isChecked,o=w(t,["isChecked"]);return e(an,b({isAutoSize:t.isAutoSize,customAttributes:{checked:!!r},inheritClassName:"v-checkbox",type:"checkbox",isDefaultValue:!0,overWrite:function(o){return n(St,{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(dn,{frontColor:t.frontColor,fontSize:t.fontSize,children:e(r?pn:vn,{})}),!!t.label&&e(De,{frontColor:t.frontColor,fontSize:t.fontSize,caption:t.label?t.label:""})]})}},o))},bn=function(t){return e(an,b({type:"color",isDefaultValue:!0},t))},wn=function(t){return e(an,b({type:"date",isDefaultValue:!0},t))},Cn=function(t){return e(an,b({type:"datetime-local",isDefaultValue:!0},t))},Sn=function(t){return e(an,b({inheritClassName:"v-email",isDefaultValue:!0,type:"email"},t))},kn={Bounce:"animate__bounce",Flash:"animate__flash",Pulse:"animate__pulse",RubberBand:"animate__rubberBand",ShakeX:"animate__shakeX",ShakeY:"animate__shakeY",HeadShake:"animate__headShake",Swing:"animate__swing",Tada:"animate__tada",Wobble:"animate__wobble",Jello:"animate__jello",HeartBeat:"animate__heartBeat",BackInDown:"animate__backInDown",BackInLeft:"animate__backInLeft",BackInRight:"animate__backInRight",BackInUp:"animate__backInUp",BackOutDown:"animate__backOutDown",BackOutLeft:"animate__backOutLeft",BackOutRight:"animate__backOutRight",BackOutUp:"animate__backOutUp",BounceIn:"animate__bounceIn",BounceInDown:"animate__bounceInDown",BounceInLeft:"animate__bounceInLeft",BounceInRight:"animate__bounceInRight",BounceInUp:"animate__bounceInUp",BounceOut:"animate__bounceOut",BounceOutDown:"animate__bounceOutDown",BounceOutLeft:"animate__bounceOutLeft",BounceOutRight:"animate__bounceOutRight",BounceOutUp:"animate__bounceOutUp",FadeIn:"animate__fadeIn",FadeInDown:"animate__fadeInDown",FadeInDownBig:"animate__fadeInDownBig",FadeInLeft:"animate__fadeInLeft",FadeInLeftBig:"animate__fadeInLeftBig",FadeInRight:"animate__fadeInRight",FadeInRightBig:"animate__fadeInRightBig",FadeInUp:"animate__fadeInUp",FadeInUpBig:"animate__fadeInUpBig",FadeInTopLeft:"animate__fadeInTopLeft",FadeInTopRight:"animate__fadeInTopRight",FadeInBottomLeft:"animate__fadeInBottomLeft",FadeInBottomRight:"animate__fadeInBottomRight",FadeOut:"animate__fadeOut",FadeOutDown:"animate__fadeOutDown",FadeOutDownBig:"animate__fadeOutDownBig",FadeOutLeft:"animate__fadeOutLeft",FadeOutLeftBig:"animate__fadeOutLeftBig",FadeOutRight:"animate__fadeOutRight",FadeOutRightBig:"animate__fadeOutRightBig",FadeOutUp:"animate__fadeOutUp",FadeOutUpBig:"animate__fadeOutUpBig",FadeOutTopLeft:"animate__fadeOutTopLeft",FadeOutTopRight:"animate__fadeOutTopRight",FadeOutBottomLeft:"animate__fadeOutBottomLeft",FadeOutBottomRight:"animate__fadeOutBottomRight",Flip:"animate__flip",FlipInX:"animate__flipInX",FlipInY:"animate__flipInY",FlipOutX:"animate__flipOutX",FlipOutY:"animate__flipOutY",LightSpeedInRight:"animate__lightSpeedInRight",LightSpeedInLeft:"animate__lightSpeedInLeft",LightSpeedOutRight:"animate__lightSpeedOutRight",LightSpeedOutLeft:"animate__lightSpeedOutLeft",RotateIn:"animate__rotateIn",RotateInDownLeft:"animate__rotateInDownLeft",RotateInDownRight:"animate__rotateInDownRight",RotateInUpLeft:"animate__rotateInUpLeft",RotateInUpRight:"animate__rotateInUpRight",RotateOut:"animate__rotateOut",RotateOutDownLeft:"animate__rotateOutDownLeft",RotateOutDownRight:"animate__rotateOutDownRight",RotateOutUpLeft:"animate__rotateOutUpLeft",RotateOutUpRight:"animate__rotateOutUpRight",Hinge:"animate__hinge",JackInTheBox:"animate__jackInTheBox",RollIn:"animate__rollIn",RollOut:"animate__rollOut",ZoomIn:"animate__zoomIn",ZoomInDown:"animate__zoomInDown",ZoomInLeft:"animate__zoomInLeft",ZoomInRight:"animate__zoomInRight",ZoomInUp:"animate__zoomInUp",ZoomOut:"animate__zoomOut",ZoomOutDown:"animate__zoomOutDown",ZoomOutLeft:"animate__zoomOutLeft",ZoomOutRight:"animate__zoomOutRight",ZoomOutUp:"animate__zoomOutUp",SlideInDown:"animate__slideInDown",SlideInLeft:"animate__slideInLeft",SlideInRight:"animate__slideInRight",SlideInUp:"animate__slideInUp",SlideOutDown:"animate__slideOutDown",SlideOutLeft:"animate__slideOutLeft",SlideOutRight:"animate__slideOutRight",SlideOutUp:"animate__slideOutUp"},_n={Once:"animate__repeat-1",Twice:"animate__repeat-2",Thrice:"animate__repeat-3",Infinite:"animate__infinite"},xn={Slow:"animate__slow",Slower:"animate__slower",Fast:"animate__fast",Faster:"animate__faster"},On={Delay1Second:"animate__delay-1s",Delay2Second:"animate__delay-2s",Delay3Second:"animate__delay-3s",Delay4Second:"animate__delay-4s",Delay5Second:"animate__delay-5s"},Nn=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})},In=function(t){t.animationCategory,t.animationSpeed;var n=w(t,["animationCategory","animationSpeed"]),r=me(n);return e(ye,{_base:r,className:"v-loading",children:e(Nn,{category:t.animationCategory?t.animationCategory:kn.Flip,speed:t.animationSpeed?t.animationSpeed:xn.Slower,repeat:_n.Infinite,children:t.children})})};function Bn(){return Bn=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},Bn.apply(null,arguments)}var Ln=function(e){return r.createElement("svg",Bn({xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 256 256"},e),mn||(mn=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"})))},Dn={Vertical:"Vertical",Horizontal:"Horizontal"},zn=function(e){return e.name.endsWith(".jpg")||e.name.endsWith(".jpeg")||e.name.endsWith(".png")},Rn=function(e){var t,n=e.renderPreview,r=e.inputFiles,o=e.isLoading,a=e.previewVersion,i=e.reload,l=e.fallback,c=h(null),s=c[0],u=c[1],d=h(null),p=d[0],g=d[1];return f((function(){var e=n(r,o,i);if(e instanceof Promise){g(!0),u(null);var t=!1;return e.then((function(e){t||u(e)}),(function(){t||u(null)})),function(){t=!0}}return g(!1),void u(e)}),[r,o,a,n,i]),null===p?null!=l?l:null:p?null!==(t=null!=s?s:l)&&void 0!==t?t:null:s},En=function(t){var r=t.category,o=t.appearance;t.loader;var a=t.loaderSize,i=t.loaderColor,l=t.isPreview,c=t.previewImageWidth,s=t.textLength,d=t.autoUpload,p=t.renderLoader,g=t.renderPreview,m=w(t,["category","appearance","loader","loaderSize","loaderColor","isPreview","previewImageWidth","textLength","autoUpload","renderLoader","renderPreview"]),v=u(null),y=h({inputFiles:[],isLoading:!1,previewVersion:0}),C=y[0],S=y[1],k=function(){S((function(e){return b(b({},e),{isLoading:!1})}))},_=function(){S((function(e){return b(b({},e),{previewVersion:e.previewVersion+1})}))};f((function(){return function(){return C.inputFiles.forEach((function(e){e.objectUrl&&URL.revokeObjectURL(e.objectUrl)}))}}),[C.inputFiles]);var x=function(e){e.preventDefault(),e.currentTarget.className="v-file"},O=me(b({onDrop:function(e){e.preventDefault();var t=Array.from(e.dataTransfer.files),n=t.map((function(e){return{name:e.name,objectUrl:zn(e)?URL.createObjectURL(e):void 0}}));n.length>0&&(d?(S(b(b({},C),{inputFiles:n,isLoading:!0})),d(t,k),e.currentTarget.className="v-file"):(S(b(b({},C),{inputFiles:n})),e.currentTarget.className="v-file"))},onDragOver:function(e){e.preventDefault(),e.currentTarget.className="v-file on-drag"},onDragEnd:x,onDragLeave:x,onDragExit:x},m));return e(ye,{_base:O,className:"v-file",children:e(an,b({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:zn(e)?URL.createObjectURL(e):void 0}}));S(b(b({},C),{inputFiles:r})),d&&(S(b(b({},C),{inputFiles:r,isLoading:!0})),d(n,k))},overWrite:function(t){return l?g?e(Oe,{cursor:T.Pointer,onClick:function(){var e;null===(e=t.current)||void 0===e||e.click()},children:e(Rn,{renderPreview:g,inputFiles:C.inputFiles,isLoading:C.isLoading,previewVersion:C.previewVersion,reload:_,fallback:o})}):r==Dn.Vertical?n(zt,{gap:"1em",onClick:function(){var e;null===(e=t.current)||void 0===e||e.click()},cross:Lt.Center,children:[!(0!=C.inputFiles.length)&&o,!(0==C.inputFiles.length)&&e(zt,{gap:"0.6em",children:C.inputFiles.map((function(t){return n(zt,{cross:Lt.Center,children:[!!t.objectUrl&&e(Oe,{children:e("img",{src:t.objectUrl,alt:t.name,width:c||120})}),e(De,{fontSize:H.Small,caption:t.name.length>(s||12)?t.name.slice(0,s||12)+"…":t.name})]},"file-".concat(t.name))}))}),!!C.isLoading&&(p?p():e(In,{animationCategory:kn.Flash,children:e(yt,{children:e(dn,{fontSize:a,frontColor:i,children:e(Ln,{})})})}))]}):n(st,{gap:"1em",children:[n(st,{gap:"1em",onClick:function(){var e;null===(e=t.current)||void 0===e||e.click()},children:[!(0!=C.inputFiles.length)&&o,!(0==C.inputFiles.length)&&e(zt,{gap:"0.6em",children:C.inputFiles.map((function(t){return n(zt,{cross:Lt.Center,children:[!!t.objectUrl&&e(Oe,{children:e("img",{src:t.objectUrl,alt:t.name,width:c||120})}),e(De,{fontSize:H.Small,caption:t.name.length>(s||12)?t.name.slice(0,s||12)+"…":t.name})]},"file-".concat(t.name))}))})]}),!!C.isLoading&&(p?p():e(In,{animationCategory:kn.Flash,children:e(dn,{fontSize:a,frontColor:i,children:e(Ln,{})})}))]}):e(Oe,{cursor:T.Pointer,onClick:function(){var e;null===(e=t.current)||void 0===e||e.click()},children:o})}}))})},Tn={Default:"default",Circle:"circle",Squared:"squared",FullSize:"full-size",Scale:"scale"},Fn=function(t){var n=t.category,r=w(t,["category"]),o=me(r),a=o.getProps("img").html,i=n||Tn.Default;return e("img",b({className:o.getClassName("v-image-".concat(i)),style:o.getStyle()},a))};Fn.displayName="VImage";var Pn,Vn,jn=l(Fn),Wn=function(t){return e(an,b({display:E.None,type:"hidden"},t))},An=function(t){var r=t.fileIcon,o=t.base64Image,a=w(t,["fileIcon","base64Image"]),i=me(a),l=h({base64Image:o}),c=l[0],s=l[1];return n(ye,{_base:i,className:"v-base64file",children:[e(Wn,{name:t.name,value:c.base64Image}),e(an,b({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(zt,{gap:"0.2em",onClick:function(){var e;null===(e=o.current)||void 0===e||e.click()},children:[r,e(jn,{fontSize:t.fontSize,category:Tn.Scale,src:"data:image/png;base64,".concat(c.base64Image),alt:"file"})]})}},a))]})},Hn=function(t){return e(an,b({type:"month",isDefaultValue:!0},t))},Un=function(t){return e(an,b({type:"number",isDefaultValue:!0},t))},Mn=function(t){return e(an,b({inheritClassName:"v-password",isDefaultValue:!0,type:"password"},t))};function Xn(){return Xn=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},Xn.apply(null,arguments)}var Yn,Zn=function(e){return r.createElement("svg",Xn({xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 256 256"},e),Pn||(Pn=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"})),Vn||(Vn=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 Gn(){return Gn=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},Gn.apply(null,arguments)}var qn,Jn,Kn=function(e){return r.createElement("svg",Gn({xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 256 256"},e),Yn||(Yn=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"})))},Qn=function(t){var r=t.isChecked,o=w(t,["isChecked"]);return e(an,b({type:"radio",customAttributes:{checked:!!r},isDefaultValue:!0},o,{overWrite:function(o){return n(St,{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(dn,{padding:"0.4em",frontColor:t.frontColor,fontSize:t.fontSize,children:e(r?Zn:Kn,{})}),!!t.label&&e(De,{frontColor:t.frontColor,fontSize:t.fontSize,caption:t.label?t.label:""})]})}}))},$n=function(t){var n=t.thumbColor,r=t.thumbBorderColor,o=t.trackColor,a=t.trackHeight,i=t.inputStyle,l=w(t,["thumbColor","thumbBorderColor","trackColor","trackHeight","inputStyle"]),c="".concat(n,"-thumb-background ").concat(r,"-thumb-border ").concat(o,"-track-background"),s=a?b(b({},i),{"--den-range-track-height":a}):i;return e(an,b({type:"range",inputClassName:c},l,{inputStyle:s}))},er=function(t){return e(an,b({type:"search",isDefaultValue:!0,inheritClassName:"v-search"},t))},tr=function(t){var r=t.ref;t.caption,t.isFormNoValidate;var o=w(t,["ref","caption","isFormNoValidate"]),a=u(null);f((function(){"object"==typeof r&&r?r.current=a.current:"function"==typeof r&&r(a.current),t.autoFocus&&a.current&&a.current.focus()}),[r,t.autoFocus]);var i=me(b({onClick:function(){a.current.click()}},o)),l=i.getProps("input").html;return n(ye,{_base:i,className:"v-submit",children:[n(yt,{cross:lt.Middle,children:[!!t.icon&&e("span",{children:t.icon}),!!t.caption&&e("span",{children:t.caption})]}),e("input",b({formNoValidate:t.isFormNoValidate,ref:a,type:"submit"},l))]})},nr=function(t){var r=me(t),o=u(null);return n("div",{className:r.getClassName("v-submit-wrapper"),style:r.getStyle(),children:[t.body,e("input",{ref:o,type:"submit"})]})},rr=function(t){return e(an,b({inheritClassName:"v-tel",isDefaultValue:!0,type:"tel"},t))};function or(){return or=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},or.apply(null,arguments)}var ar,ir=function(e){return r.createElement("svg",or({xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 256 256"},e),qn||(qn=r.createElement("rect",{width:20,height:200,x:50,y:64,fill:"currentColor",rx:10,transform:"rotate(-45 50 64)"})),Jn||(Jn=r.createElement("rect",{width:20,height:200,fill:"currentColor",rx:10,transform:"scale(-1 1)rotate(-45 -25.527 280.136)"})))},lr=function(t){var r=t.enableClear,o=w(t,["enableClear"]);return e(an,r?b({inheritClassName:"v-textbox",isDefaultValue:!0,type:"text"},o,{renderOptions:function(r){return n(st,{gap:"0.2em",children:[t.renderOptions&&t.renderOptions(r),e(dn,{fontSize:H.ExtraSmall,frontColor:S.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(ir,{})})]})}}):b({inheritClassName:"v-textbox",isDefaultValue:!0,type:"text"},o))},cr=function(t){return e(an,b({type:"time",isDefaultValue:!0},t))},sr=function(t){return e(an,b({inheritClassName:"v-url",isDefaultValue:!0,type:"url"},t))},ur=function(t){return e(an,b({type:"week",isDefaultValue:!0},t))},dr=function(n){var r=h({selectedValue:n.selectedValue}),o=r[0],a=r[1];return e(t,{children:n.renderGroup(o.selectedValue,(function(e){a({selectedValue:e.currentTarget.value})}))})};function fr(){return fr=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},fr.apply(null,arguments)}var hr=function(e){return r.createElement("svg",fr({xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 256 256"},e),ar||(ar=r.createElement("circle",{cx:128,cy:128,r:100,fill:"currentColor"})))},pr=function(t){var r=t.isOn,o=t.icon,a=t.gap,i=t.isDisabled,l=t.onSwitch,c=w(t,["isOn","icon","gap","isDisabled","onSwitch"]),s=h({isOn:r}),u=s[0],d=s[1];f((function(){d({isOn:r})}),[r]);var p=o?e(dn,{style:{margin:u.isOn?"0 0.6em 0 0":"0 0 0 0.6em"},frontColor:S.White,fontSize:H.Normal,children:o}):e(Oe,{width:"1em",height:"1em"}),g=t.isDisabled?void 0:function(){t.isDisabled||(l&&l(!u.isOn),d({isOn:!u.isOn}))},m=me(b({onClick:g},c));return e(ye,{_base:m,className:i?"v-switch-disabled":"v-switch",children:n(vt,{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:L.ExtraLarge,backgroundColor:u.isOn?t.frontColor?t.frontColor:S.Success:t.backgroundColor?t.backgroundColor:S.Placeholder,gap:a||"0.6em",children:[u.isOn?e(dn,{category:ln.Circle,frontColor:S.White,children:e(hr,{})}):p,u.isOn?p:e(dn,{category:ln.Circle,frontColor:S.White,children:e(hr,{})})]})})},gr=function(t){var n=t.name;t.items;var r=t.value,o=t.isMultiple;t.fontFamily;var a=w(t,["name","items","value","isMultiple","fontFamily"]),i=me(a),l=i.getProps("select").html;return e(ye,{_base:i,className:"v-select",children:e("select",b({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)}))}))})},mr=function(t){var r,o,a,i,l=t.ref,c=t.value,d=t.name,p=t.icon,g=t.emptyIcon,m=t.downIcon,v=t.upIcon,y=t.enableClear,C=t.items,k=t.dockCategory,_=t.dockAlignment,x=t.menuBackgroundColor,N=t.menuZIndex,B=t.menuGap;t.onClick;var L=t.isSelectOnly,z=t.overWriteDropdownMenu,E=t.overWriteDropdownItem,T=t.handleChange,F=t.readOnly,P=w(t,["ref","value","name","icon","emptyIcon","downIcon","upIcon","enableClear","items","dockCategory","dockAlignment","menuBackgroundColor","menuZIndex","menuGap","onClick","isSelectOnly","overWriteDropdownMenu","overWriteDropdownItem","handleChange","readOnly"]),V=me(P),j=h({isSelectionShow:!1,selectValue:c||"",selectCaption:c?C.filter((function(e){return e.value==c}))[0].caption:"",items:C}),W=j[0],A=j[1],U=u(null),M=s(),X=u(null),Y=u(null);f((function(){if(W.isSelectionShow){var e=function(e){var t=e.target;X.current&&!X.current.contains(t)&&Y.current&&!Y.current.contains(t)&&A((function(e){return b(b({},e),{isSelectionShow:!1,items:C})}))};return document.addEventListener("mousedown",e),function(){return document.removeEventListener("mousedown",e)}}}),[W.isSelectionShow,C]);f((function(){"object"==typeof l&&l?l.current=U.current:"function"==typeof l&&l(U.current),t.autoFocus&&U.current&&U.current.focus()}),[l,t.autoFocus]);var Z=N||Pe;if(F)return n(ht,{className:V.getClassName("v-dropdown"),style:V.getStyle(t.style),children:[e(De,{caption:(null===(r=W.selectCaption)||void 0===r?void 0:r.toString())||"",fontSize:t.fontSize,frontColor:t.frontColor}),e(Wn,{name:d,valueHook:null===(o=W.selectValue)||void 0===o?void 0:o.toString()}),e(dn,{fontSize:t.iconSize?t.iconSize:H.Small,children:m})]});var G=X.current?"".concat(X.current.offsetWidth,"px"):void 0;return e(Me,{width:"fit-content",overlayZIndex:W.isSelectionShow?Z:-2147483648,category:k||Ve.RightBottom,alignment:_||je.Vertical,renderOverlay:function(){return e(Oe,{ref:Y,minWidth:G,className:"v-dropdown-overlay",children:e(Oe,{visibility:W.isSelectionShow?R.Visible:R.Hidden,borderRadius:t.borderRadius,role:"listbox",id:M,children:z?z(W.items):e(zt,{gap:B,padding:t.padding,backgroundColor:x||S.White,borderRadius:t.borderRadius,borderColor:t.borderColor,borderWidth:t.borderWidth,borderStyle:D.Solid,children:0==W.items.length?e(yt,{children:e(dn,{fontSize:t.iconSize?t.iconSize:H.Small,children:g})}):W.items.map((function(r){return E?e(Oe,{borderRadius:t.borderRadius,role:"option","aria-selected":r.value===W.selectValue,children:E(r)},r.value):n(St,{padding:O.ExtraSmall,gap:I.Small,borderRadius:t.borderRadius,className:"item",role:"option","aria-selected":r.value===W.selectValue,onClick:function(){A(b(b({},W),{isSelectionShow:!1,selectIcon:r.icon,selectCaption:r.caption,selectValue:r.value,items:C})),T&&T(r.value)},children:[r.icon?e(dn,{fontSize:H.ExtraSmall,children:r.icon}):void 0,e(De,{caption:r.caption})]},r.value)}))})})})},children:e(Oe,{ref:X,children:n(ht,b({className:V.getClassName("v-dropdown"),style:V.getStyle(t.style)},P,{role:"combobox","aria-expanded":W.isSelectionShow,"aria-haspopup":"listbox","aria-controls":M,onClick:function(){A(b(b({},W),{isSelectionShow:!W.isSelectionShow}))},children:[n(Oe,{children:[e(lr,{ref:U,id:t.id,style:{padding:0},fontSize:t.fontSize,frontColor:t.frontColor,icon:e(dn,{fontSize:t.iconSize?t.iconSize:H.Small,children:W.selectIcon?W.selectIcon:p}),valueHook:null===(a=W.selectCaption)||void 0===a?void 0:a.toString(),enableClear:y,renderOptions:t.renderOptions,readOnly:L,onChange:L?void 0:function(e){var t;t=e.target.value,A(b(b({},W),{isSelectionShow:!0,selectCaption:t,items:C.filter((function(e){return e.caption.toLowerCase().indexOf(t.toLowerCase())>-1}))}))}}),e(Wn,{name:d,valueHook:null===(i=W.selectValue)||void 0===i?void 0:i.toString()})]}),e(dn,{fontSize:t.iconSize?t.iconSize:H.Small,children:W.isSelectionShow?v:m})]}))})})},vr={NewWindow:"_blank",Self:"_self",Parent:"_parent",Top:"_top"},yr=function(t){var n=t.category,r=t.to,o=w(t,["category","to"]),a=me(o),i=a.getProps("a").html;return e(ye,{_base:a,className:"v-hyperlink",children:e("a",b({href:r,target:n},i,{children:t.children}))})},br={P:"p",Address:"address",Article:"article",Aside:"aside",Details:"details",Section:"section"},wr={Justify:0,Left:1,Right:2,Center:3},Cr=function(t){var n=t.category;t.alignType;var r,o,a=t.renderContent,i=w(t,["category","alignType","renderContent"]),l=me(i);switch(t.alignType){case wr.Center:o="v-text-center";break;case wr.Justify:o="v-text-justify";break;case wr.Left:o="v-text";break;case wr.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(ye,{_base:l,className:o,children:r})},Sr=function(t){var r=t.ref;t.icon;var o=t.valueHook,a=t.setStateHook,i=t.placeholderColor,l=w(t,["ref","icon","valueHook","setStateHook","placeholderColor"]),c=me(l),s=c.getProps("textarea").html,d=u(null);return f((function(){return"object"==typeof r&&r?r.current=d.current:"function"==typeof r&&r(d.current),t.autoFocus&&d.current&&d.current.focus(),function(){"object"==typeof r&&r?r.current=null:"function"==typeof r&&r(null)}}),[r,t.autoFocus]),e(ye,{category:ve.Display,_base:c,className:"v-validity v-textarea ".concat((i||S.Placeholder)+"-placeholder"),children:n(gt,{cross:lt.Top,gap:"0.6em",children:[t.icon,e(Oe,{children:e("textarea",b({ref:d},s,{id:t.id?t.id:t.name},void 0!==o?{value:o}:{defaultValue:t.value},{onChange:function(e){t.onChange&&t.onChange(e),a&&a(e.target.value)}}))})]})})},kr={Default:"default",Fixed:"fixed"},_r=function(t){t.category;var n=w(t,["category"]),r=me(n);return e(ye,{_base:r,className:"v-ellipse-".concat(t.category?t.category:kr.Default),children:t.children})},xr={Vertical:"vertical",Horizontal:"horizontal"},Or=function(t){t.category;var n=w(t,["category"]),r=me(n);return e(ye,{_base:r,className:"v-line-".concat(t.category)})},Nr="default",Ir=function(t){t.category;var n=w(t,["category"]),r=me(n);return e(ye,{_base:r,className:"v-rectangle-".concat(t.category?t.category:Nr)})},Br={Default:"default",Max:"max"},Lr=function(n){var r=me(n);return 0===o.toArray(n.children).length?e(De,{backgroundColor:S.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:Br.Default)),style:b(b({},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)}))})},Dr=function(t){t.sources;var n=w(t,["sources"]),r=me(n),o=r.getProps("audio").html;return e("audio",b({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))}))}))},zr=function(t){t.sources;var n=w(t,["sources"]),r=me(n),o=r.getProps("video").html;return e("video",b({className:r.getClassName("v-video"),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))}))}))},Rr=function(t){var n=me(t),r=n.getProps("header").html;return e("header",b({className:n.getClassName("v-header"),style:n.getStyle()},r,{children:t.children}))},Er=function(t){var n=me(t),r=n.getProps("main").html;return e("main",b({className:n.getClassName("v-main"),style:n.getStyle()},r,{children:t.children}))},Tr=function(t){var n=me(t),r=n.getProps("footer").html;return e("footer",b({className:n.getClassName("v-footer"),style:n.getStyle()},r,{children:t.children}))},Fr=function(t){var n=me(t),r=n.getProps("aside").html;return e("aside",b({className:n.getClassName("v-aside"),style:n.getStyle()},r,{children:t.children}))},Pr=function(t){var n=me(t),r=n.getProps("nav").html;return e("nav",b({className:n.getClassName("v-nav"),style:n.getStyle()},r,{children:t.children}))},Vr=function(t){var n=me(t),r=n.getProps("hr").html;return e("hr",b({className:n.getClassName("v-hr"),style:n.getStyle()},r))},jr=function(t){var n=me(t),r=n.getProps("section").html;return e("section",b({className:n.getClassName("v-section"),style:n.getStyle()},r,{children:t.children}))},Wr=function(t){var n=me(b({width:"100vw",height:"100vh",backgroundColor:S.Dark75},t));return e(ke,{zIndex:t.zIndex?t.zIndex:Pe,category:Ce.Window,type:Se.Center,children:e(xe,{children:e(ye,{_base:n,className:"v-mask",children:e(ke,{category:Ce.Area,type:Se.Center,children:t.children})})})})},Ar=function(t){var n,r=t.image,o=t.backingBoard,a=t.style,i=w(t,["image","backingBoard","style"]),l=me(i);return o&&(n=b(b({},a),{background:"linear-gradient(".concat(o.degree,", ").concat(o.startColor,", ").concat(o.endColor,")")})),e(ye,b({_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})}))},Hr="--den-",Ur={Global:"global",Area:"area"},Mr=function(t){var n=t.category,r=t.area,o=t.variables,a=w(t,["category","area","variables"]),i=me(b({id:r},a));return f((function(){var e;n==Ur.Area?r&&(e=document.getElementById(r)):e=document.documentElement,e&&(Object.keys(o.colors).forEach((function(t){e.style.setProperty("".concat(Hr,"color-").concat(t),o.colors[t])})),Object.keys(o.fontSizes).forEach((function(t){e.style.setProperty("".concat(Hr).concat(t),o.fontSizes[t])})),Object.keys(o.fontWeights).forEach((function(t){e.style.setProperty("".concat(Hr).concat(t),o.fontWeights[t])})))}),[]),n==Ur.Area?e(ye,{_base:i,className:"v-theme",children:t.children}):e(De,{backgroundColor:S.Error,caption:"[VTheme] No Area!"})},Xr={Hover:"hover",Click:"click"},Yr=function(t){var n=t.category,r=void 0===n?Xr.Hover:n,o=t.dockCategory,a=t.dockAlignment,i=t.renderOverlay,l=w(t,["category","dockCategory","dockAlignment","renderOverlay"]),c=me(l),u=h(!1),d=u[0],f=u[1],p=s();return e(ye,{_base:c,className:"v-tooltip",children:e(Me,{category:o,alignment:a,isOverlayVisible:d,popoverMode:r===Xr.Click?We.Auto:We.Manual,onOverlayClose:function(){return f(!1)},renderOverlay:function(){return e(Oe,{role:"tooltip",id:p,children:i()})},children:e(Oe,{"aria-describedby":d?p:void 0,onClick:function(){r===Xr.Click&&f(!d)},onMouseEnter:function(){r===Xr.Hover&&f(!0)},onMouseLeave:function(){r===Xr.Hover&&f(!1)},onFocus:function(){r===Xr.Hover&&f(!0)},onBlur:function(){r===Xr.Hover&&f(!1)},children:t.children})})})},Zr=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(De,{backgroundColor:S.Error,frontColor:S.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),Gr=function(t){return e(xe,{children:!!t.badge&&e(ke,{category:Ce.Area,bottom:"0",right:"0",children:"string"==typeof t.badge||t.badge instanceof String?e(jn,{category:Tn.Circle,fontSize:H.Small,src:t.badge,alt:"null",borderStyle:"solid",borderWidth:"1px",borderColor:S.Light}):e(dn,{category:ln.Circle,frontColor:S.Secondary,backgroundColor:S.White,fontSize:H.Small,children:t.badge})})})},qr=function(t){var n=me(t),r=n.getProps("template").html;return e("template",b({className:n.getClassName("v-template"),style:n.getStyle()},r,{children:t.children}))},Jr=function(t){return e("div",{id:t.id})};export{kn as AnimationCategory,On as AnimationDelay,_n as AnimationRepeat,xn as AnimationSpeed,$t as BackgroundPositionType,me as Base,L as BorderRadiusType,D as BorderStyleType,z as BorderWidthType,Re as BreakpointCategory,Te as BreakpointDisplay,Ee as BreakpointType,S as ColorType,T as CursorType,M as DirectionType,E as DisplayType,Me as Dock,je as DockAlignment,Ve as DockCategory,We as DockPopoverMode,kr as EllipseCategory,Dn as FileCategory,Je as Flex,qe as FlexAlignContentType,Ge as FlexAlignItemsType,Xe as FlexDirectionType,Qe as FlexItem,Ke as FlexItemAlignSelfType,Ze as FlexJustifyContentType,Ye as FlexWrapType,_ as FontFamilyType,H as FontSizeType,k as FontWeightType,I as GapType,nn as HandleSubmitCategory,vr as HyperlinkCategory,Tn as ImageCategory,Be as LabelAlignType,Ne as LabelCategory,Ie as LabelType,B as LetterSpacingType,xr as LineCategory,x as LineHeightType,N as MarginType,j as OpacityType,F as OverflowType,P as OverflowXType,V as OverflowYType,O as PaddingType,ke as Position,xe as PositionArea,_e as PositionAreaCategory,Ce as PositionCategory,Se as PositionType,U as PseudoType,Fe as Responsive,ve as RootCategory,$e as SBaseline,et as SBottom,ot as SCenter,tt as SLeft,nt as SMiddle,rt as SRight,at as SStretch,it as STop,ze as ScreenSizeType,Br as ShadowCategory,ln as SvgCategory,wr as TextAlignType,br as TextCategory,Ur as ThemeCategory,Xr as TooltipCategory,on as VActionForm,Nn as VAnimation,Fr as VAside,Dr as VAudio,en as VBackground,Gr as VBadge,An as VBase64File,Oe as VBoundary,yn as VCheckBox,bn as VColor,wn as VDate,Cn as VDatetimeLocal,mr as VDropdown,_r as VEllipse,Sn as VEmail,Zr as VErrorBoundary,En as VFile,Tr as VFooter,rn as VForm,Ar as VFrame,dr as VGroup,Vr as VHR,Rr as VHeader,Wn as VHidden,yr as VHyperlink,jn as VImage,De as VLabel,Or as VLine,In as VLoading,Er as VMain,Wr as VMask,Hn as VMonth,Jr as VMount,Pr as VNav,Un as VNumber,Mn as VPassword,Qn as VRadio,$n as VRange,Ir as VRectangle,er as VSearch,jr as VSection,gr as VSelect,Lr as VShadow,tr as VSubmit,nr as VSubmitWrapper,dn as VSvg,pr as VSwitch,rr as VTel,qr as VTemplate,Cr as VText,Sr as VTextArea,lr as VTextBox,Mr as VTheme,cr as VTime,Yr as VTooltip,sr as VUrl,zr as VVideo,ur as VWeek,we as VZone,W as ViewSizeType,R as VisibilityType,st as X,ut as XAround,dt as XAutoBoth,ft as XAutoCenter,ht as XAutoLeft,pt as XAutoLefts,gt as XAutoRight,mt as XAutoRights,vt as XBetween,yt as XCenter,lt as XCrossType,bt as XCustom,wt as XCustomBoth,Ct as XEvenly,St as XLeft,kt as XRight,_t as XWrapAround,xt as XWrapBetween,Ot as XWrapBottom,Nt as XWrapEvenly,It as XWrapMiddle,Bt as XWrapTop,zt as Y,Pt as YAround,Mt as YAutoBoth,At as YAutoBottom,Ut as YAutoBottoms,Wt as YAutoCenter,jt as YAutoTop,Ht as YAutoTops,Rt as YBetween,Ft as YBottom,Lt as YCrossType,Xt as YCustom,Yt as YCustomBoth,Vt as YEvenly,Et as YMiddle,Tt as YTop,Jt as YWrapAround,Kt as YWrapBetween,Gt as YWrapCenter,Qt as YWrapEvenly,Zt as YWrapLeft,qt as YWrapRight,be as ZoneCategory,tn as convertFormDataToJson,se as getGeneratedClassName,A as getWeightValue};
|
|
3
3
|
//# sourceMappingURL=index.js.map
|