@fewbox/den-web 0.2.0-preview.26 → 0.2.0-preview.27
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/index.js
CHANGED
|
@@ -1,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,useRef as s,useCallback as u,useLayoutEffect as d,useEffect as f,useState as h,Suspense as p,use as g,useId as m,Component as v}from"react";import{createPortal as y}from"react-dom";import{jwtDecode as b}from"jwt-decode";var w=function(e,t){return w=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])},w(e,t)};function S(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}w(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 k(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 _(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 x={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"},N={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"},I={Default:"line-height"},B={Default:"padding",Normal:"padding-normal",ExtraSmall:"padding-extra-small",Small:"padding-small",Large:"padding-large",ExtraLarge:"padding-extra-large"},D={Default:"margin",Normal:"margin-normal",ExtraSmall:"margin-extra-small",Small:"margin-small",Large:"margin-large",ExtraLarge:"margin-extra-large"},E={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"},R={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"},z={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"},T={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"},P={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"},j={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"},W={Visible:"overflow-x-visible",Hidden:"overflow-x-hidden",Scroll:"overflow-x-scroll",Auto:"overflow-x-auto",Clip:"overflow-x-clip"},A={Visible:"overflow-y-visible",Hidden:"overflow-y-hidden",Scroll:"overflow-y-scroll",Auto:"overflow-y-auto",Clip:"overflow-y-clip"},U={_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"},M=function(e){var t;switch(e){case N.Thin:t=100;break;case N.ExtraLight:t=200;break;case N.Light:t=300;break;case N.Regular:t=400;break;case N.Medium:t=500;break;case N.SemiBold:t=600;break;case N.Bold:t=700;break;case N.ExtraBold:t=800;break;case N.Black:t=900;break;default:t=400}return t},q={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"},G={All:"all",Before:"before",After:"after"},X={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"},Y=function(){function e(e){this.className=e}return e.prototype.getClassName=function(){return"".concat(this.className)},e}(),Z=function(e){this.component=e},J=function(e){function t(t,n,r){var o=e.call(this,t)||this;return o.sizeType=n,o.isAuto=r,o}return S(t,e),t.prototype.getClassName=function(){if(this.sizeType){var e=void 0;return e=Object.values(q).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}(Z),K=function(e){function t(t,n){var r=e.call(this,t)||this;return r.weightType=n,r}return S(t,e),t.prototype.getClassName=function(){return this.weightType?"".concat(this.component.getClassName()," ").concat(this.weightType):this.component.getClassName()},t}(Z),Q=function(e){function t(t,n){var r=e.call(this,t)||this;return r.visibility=n,r}return S(t,e),t.prototype.getClassName=function(){if(this.visibility){var e=void 0;return e=Object.values(P).includes(this.visibility)?this.visibility:"visibility-".concat(this.visibility),"".concat(this.component.getClassName()," ").concat(e)}return this.component.getClassName()},t}(Z),$=function(e){function t(t,n){var r=e.call(this,t)||this;return r.cursor=n,r}return S(t,e),t.prototype.getClassName=function(){if(this.cursor){var e=void 0;return e=Object.values(j).includes(this.cursor)?this.cursor:"cursor-".concat(this.cursor),"".concat(this.component.getClassName()," ").concat(e)}return this.component.getClassName()},t}(Z),ee=function(e){function t(t,n){var r=e.call(this,t)||this;return r.overflow=n,r}return S(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}(Z),te=function(e){function t(t,n){var r=e.call(this,t)||this;return r.overflowX=n,r}return S(t,e),t.prototype.getClassName=function(){if(this.overflowX){var e=void 0;return e=Object.values(W).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}(Z),ne=function(e){function t(t,n){var r=e.call(this,t)||this;return r.overflowY=n,r}return S(t,e),t.prototype.getClassName=function(){if(this.overflowY){var e=void 0;return e=Object.values(A).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}(Z),re=function(e){function t(t,n){var r=e.call(this,t)||this;return r.display=n,r}return S(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}(Z),oe=function(e){function t(t,n){var r=e.call(this,t)||this;return r.opacityType=n,r}return S(t,e),t.prototype.getClassName=function(){return this.opacityType&&Object.values(U).includes(this.opacityType)?"".concat(this.component.getClassName()," ").concat(this.opacityType):this.component.getClassName()},t}(Z),ae=function(e){function t(t,n){var r=e.call(this,t)||this;return r.borderRadius=n,r}return S(t,e),t.prototype.getClassName=function(){return this.borderRadius&&Object.values(R).includes(this.borderRadius)?"".concat(this.component.getClassName()," ").concat(this.borderRadius):this.component.getClassName()},t}(Z),ie=function(e){function t(t,n){var r=e.call(this,t)||this;return r.borderStyle=n,r}return S(t,e),t.prototype.getClassName=function(){if(this.borderStyle){var e=void 0;return e=Object.values(z).includes(this.borderStyle)?this.borderStyle:"border-style-".concat(this.borderStyle),"".concat(this.component.getClassName()," ").concat(e)}return this.component.getClassName()},t}(Z),le=function(e){function t(t,n){var r=e.call(this,t)||this;return r.padding=n,r}return S(t,e),t.prototype.getClassName=function(){return this.padding&&Object.values(B).includes(this.padding)?"".concat(this.component.getClassName()," ").concat(this.padding):this.component.getClassName()},t}(Z),ce=function(e){function t(t,n){var r=e.call(this,t)||this;return r.letterSpacing=n,r}return S(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}(Z),se=function(e){function t(t,n){var r=e.call(this,t)||this;return r.margin=n,r}return S(t,e),t.prototype.getClassName=function(){return this.margin&&Object.values(D).includes(this.margin)?"".concat(this.component.getClassName()," ").concat(this.margin):this.component.getClassName()},t}(Z),ue=function(e){function t(t,n){var r=e.call(this,t)||this;return r.borderWidth=n,r}return S(t,e),t.prototype.getClassName=function(){if(this.borderWidth){var e=void 0;return e=Object.values(T).includes(this.borderWidth)?this.borderWidth:"border-width-".concat(this.borderWidth),"".concat(this.component.getClassName()," ").concat(e)}return this.component.getClassName()},t}(Z),de=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 S(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 X.Bottom:r=" ".concat(e).concat(o,"-border-bottom");break;case X.ExceptBottom:r=" ".concat(e).concat(o,"-border-except-bottom");break;case X.ExceptLeft:r=" ".concat(e).concat(o,"-border-except-left");break;case X.ExceptRight:r=" ".concat(e).concat(o,"-border-except-right");break;case X.ExceptTop:r=" ".concat(e).concat(o,"-border-except-top");break;case X.Left:r=" ".concat(e).concat(o,"-border-left");break;case X.LeftBottom:r=" ".concat(e).concat(o,"-border-left-bottom");break;case X.LeftRight:r=" ".concat(e).concat(o,"-border-left-right");break;case X.LeftTop:r=" ".concat(e).concat(o,"-border-left-top");break;case X.Right:r=" ".concat(e).concat(o,"-border-right");break;case X.RightBottom:r=" ".concat(e).concat(o,"-border-right-bottom");break;case X.RightTop:r=" ".concat(e).concat(o,"-border-right-top");break;case X.Top:r=" ".concat(e).concat(o,"-border-top");break;case X.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(x.Transparent,"-background"):"",r=this.pseudoBackgroundColorType?" ".concat(this.pseudoBackgroundColorType,"-before-background"):this.isDefaultValue?" ".concat(x.Transparent,"-before-background"):"",o=this.pseudoBackgroundColorType?" ".concat(this.pseudoBackgroundColorType,"-after-background"):this.isDefaultValue?" ".concat(x.Transparent,"-after-background"):"",a="".concat(r).concat(o),i=this.frontColorType?" ".concat(this.frontColorType,"-front"):this.isDefaultValue?" ".concat(x.Black,"-front"):"",l=this.pseudoFrontColorType?" ".concat(this.pseudoFrontColorType,"-before-front"):this.isDefaultValue?" ".concat(x.Black,"-before-front"):"",c=this.pseudoFrontColorType?" ".concat(this.pseudoFrontColorType,"-after-front"):this.isDefaultValue?" ".concat(x.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(x.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(x.Transparent).concat(this.getBorderPrefix(this.pseudoType),"-border"):"":"","".concat(this.component.getClassName()).concat(n).concat(a).concat(i).concat(s).concat(e).concat(t)},t}(Z),fe=function(e,t,n,r,o,a,i,l,c,s,u,d,f,h,p,g,m,v,y,b,w,S,C,k,_,x,N){return new de(new ne(new te(new ee(new $(new Q(new re(new oe(new se(new ce(new le(new ue(new ie(new ae(new J(new K(new Y(e),o),n,r),p),g),m),v),N),y),b),w),S),C),k),_),x),t,a,i,l,c,s,u,d,f,h).getClassName()},he=["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"],pe=["id","title","dir","lang","translate","tabIndex","accessKey","contentEditable","spellCheck","draggable","enterKeyHint","inputMode","autoCapitalize","role","slot","htmlFor","hidden","is"],ge=["onError","onLoad"],me=["onAbort","onCanPlay","onCanPlayThrough","onDurationChange","onEmptied","onEncrypted","onEnded","onError","onLoadedData","onLoadedMetadata","onLoadStart","onPause","onPlay","onPlaying","onProgress","onRateChange","onResize","onSeeked","onSeeking","onStalled","onSuspend","onTimeUpdate","onVolumeChange","onWaiting"],ve={div:_(_([],he,!0),pe,!0),input:_(_(_(_([],he,!0),pe,!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:_(_(_([],he,!0),pe,!0),["rows","cols","wrap","name","autoFocus","autoComplete","placeholder","maxLength","minLength","required","readOnly","disabled","wrap","spellcheck","dirname"],!0),template:_(_([],he,!0),pe,!0),abbr:_(_([],he,!0),pe,!0),span:_(_([],he,!0),pe,!0),h1:_(_([],he,!0),pe,!0),h2:_(_([],he,!0),pe,!0),h3:_(_([],he,!0),pe,!0),h4:_(_([],he,!0),pe,!0),h5:_(_([],he,!0),pe,!0),h6:_(_([],he,!0),pe,!0),i:_(_([],he,!0),pe,!0),b:_(_([],he,!0),pe,!0),u:_(_([],he,!0),pe,!0),em:_(_([],he,!0),pe,!0),strong:_(_([],he,!0),pe,!0),blockquote:_(_([],he,!0),pe,!0),cite:_(_([],he,!0),pe,!0),code:_(_([],he,!0),pe,!0),del:_(_([],he,!0),pe,!0),dfn:_(_([],he,!0),pe,!0),ins:_(_([],he,!0),pe,!0),kbd:_(_([],he,!0),pe,!0),mark:_(_([],he,!0),pe,!0),pre:_(_([],he,!0),pe,!0),q:_(_([],he,!0),pe,!0),s:_(_([],he,!0),pe,!0),samp:_(_([],he,!0),pe,!0),small:_(_([],he,!0),pe,!0),summary:_(_([],he,!0),pe,!0),sup:_(_([],he,!0),pe,!0),sub:_(_([],he,!0),pe,!0),time:_(_([],he,!0),pe,!0),var:_(_([],he,!0),pe,!0),wbr:_(_([],he,!0),pe,!0),p:_(_([],he,!0),pe,!0),address:_(_([],he,!0),pe,!0),article:_(_([],he,!0),pe,!0),aside:_(_([],he,!0),pe,!0),details:_(_(_([],he,!0),pe,!0),["onToggle"],!0),nav:_(_([],he,!0),pe,!0),section:_(_([],he,!0),pe,!0),form:_(_(_([],he,!0),pe,!0),["onReset","onSubmit"],!0),dialog:_(_(_([],he,!0),pe,!0),["onCancel","onClose"],!0),img:_(_(_(_([],he,!0),pe,!0),ge,!0),["src","alt","width","height","crossOrigin","decoding","loading","referrerPolicy","sizes","srcSet","title","role"],!0),iframe:_(_(_(_([],he,!0),pe,!0),ge,!0),["src","srcDoc","width","height","name","sandbox","allow","allowFullScreen","loading","referrerPolicy","title","role"],!0),object:_(_(_([],he,!0),pe,!0),ge,!0),embed:_(_(_([],he,!0),pe,!0),ge,!0),link:_(_(_([],he,!0),pe,!0),ge,!0),svg:_(_(_([],he,!0),pe,!0),ge,!0),audio:_(_(_([],he,!0),pe,!0),me,!0),video:_(_(_([],he,!0),pe,!0),me,!0)},ye=["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"],be=function(t){return{getClassName:function(e){var n=fe(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(U).includes(t.opacity)&&(n.opacity=t.opacity),t.padding&&!Object.values(B).includes(t.padding)&&(n.padding=t.padding),t.margin&&!Object.values(D).includes(t.margin)&&(n.margin=t.margin),t.borderRadius&&!Object.values(R).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){ye.includes(o)?n[o]=t[o]:ve[e]&&ve[e].includes(o)&&(r[o]=t[o])})),{view:n,html:r}}}},we={Display:"display",Rich:"rich"},Se=function(t){var n=(t.category==we.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"},ke=function(t){var n=t.category,r=k(t,["category"]),o=be(r);return e(Se,{_base:o,className:"v-zone-".concat(n),children:t.children})},_e={Edge:"edge",Window:"window",Area:"area",Self:"self"},xe={Top:"top",Right:"right",Bottom:"bottom",Left:"left",LeftTop:"left-top",RightTop:"right-top",LeftBottom:"left-bottom",RightBottom:"right-bottom",Center:"center"},Ne=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!=_e.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"},Ie=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)}))})},Be=function(t){var n=be(t);return e(Se,{ref:t.ref,_base:n,className:"v-boundary",children:t.children})},De={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"},Ee={Default:"default",Circle:"circle"},Le={Justify:0,Left:1,Right:2,Center:3},Re=function(t){var n,r,o=t.category,a=t.type,i=t.alignType,l=t.isTextOverflow,s=t.caption,u=k(t,["category","type","alignType","isTextOverflow","caption"]),d=be(C({display:null==t.category||t.category==De.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==Ee.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==Ee.Circle?e(Ie,{children:e(Be,C({width:"1.6em",height:"1.6em",borderRadius:R.Max},h,{className:r},p,{children:e(Ne,{category:_e.Area,type:xe.Center,children:n})}))}):e(Be,C({},h,{className:t.className?"".concat(t.className," ").concat(r):r},p,{children:n}))};Re.displayName="VLabel";var ze=l(Re),Te={ExtraSmall:"extra-small",Small:"small",Medium:"medium",Large:"large",ExtraLarge:"extra-large",ExtraExtraLarge:"extra-extra-large"},Pe={Visible:"visiable",Hidden:"hidden"},Fe={Only:"only",Up:"up",Down:"down"},je=function(t){return t.children?e(Be,{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(ze,{backgroundColor:x.Error,caption:"[BreakpointDisplay] No Children!"})},Ve=function(r){return n(t,{children:[e(je,{category:Pe.Hidden,type:Fe.Down,breakpoint:r.breakpointType?r.breakpointType:Te.Small,children:r.desktop}),e(je,{category:Pe.Hidden,type:Fe.Up,breakpoint:r.breakpointType?r.breakpointType:Te.Small,children:r.mobile})]})},We=2147483647,Ae={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"},Ue={Horizontal:"horizontal",Vertical:"vertical"},He=function(r){var o=r.category,a=r.offset,i=void 0===a?0:a,l=r.overlayZIndex,c=void 0===l?We:l,h=r.renderOverlay,p=k(r,["category","offset","overlayZIndex","renderOverlay"]),g="alignment"in r?r.alignment:void 0,m=be(p),v=m.getProps("div").html,b=s(null),w=s(null),S=u((function(){var e=b.current,t=w.current;if(e&&t){var n=function(e,t,n,r,o,a){var i=e.width,l=e.height,c=e.left+window.scrollX,s=e.top+window.scrollY;switch(r){case Ae.Top:c+=(i-t)/2,s+=-n-o;break;case Ae.Right:c+=i+o,s+=(l-n)/2;break;case Ae.Bottom:c+=(i-t)/2,s+=l+o;break;case Ae.Left:c+=-t-o,s+=(l-n)/2;break;case Ae.LeftTop:a==Ue.Horizontal?(c+=-t-o,s+=o):a==Ue.Vertical?(c+=o,s+=-n-o):(c+=-t-o,s+=-n-o);break;case Ae.RightTop:a==Ue.Horizontal?(c+=i+o,s+=o):a==Ue.Vertical?(c+=i-t-o,s+=-n-o):(c+=i+o,s+=-n-o);break;case Ae.LeftBottom:a==Ue.Horizontal?(c+=-t-o,s+=l-n-o):a==Ue.Vertical?(c+=o,s+=l+o):(c+=-t-o,s+=l+o);break;case Ae.RightBottom:a==Ue.Horizontal?(c+=i+o,s+=l-n-o):a==Ue.Vertical?(c+=i-t-o,s+=l+o):(c+=i+o,s+=l+o);break;case Ae.InnerTop:c+=(i-t)/2,s+=o;break;case Ae.InnerRight:c+=i-t-o,s+=(l-n)/2;break;case Ae.InnerBottom:c+=(i-t)/2,s+=l-n-o;break;case Ae.InnerLeft:c+=o,s+=(l-n)/2;break;case Ae.InnerLeftTop:c+=o,s+=o;break;case Ae.InnerRightTop:c+=i-t-o,s+=o;break;case Ae.InnerLeftBottom:c+=o,s+=l-n-o;break;case Ae.InnerRightBottom:c+=i-t-o,s+=l-n-o}return{x:c,y:s}}(e.getBoundingClientRect(),t.offsetWidth,t.offsetHeight,o,i,g),r=n.x,a=n.y;t.style.transform="translate3d(".concat(r,"px, ").concat(a,"px, 0)")}}),[o,i,g]);d((function(){S()}),[S,h,c]),f((function(){var e=function(){return S()},t=function(){return S()};return window.addEventListener("resize",e),window.addEventListener("scroll",t,!0),function(){window.removeEventListener("resize",e),window.removeEventListener("scroll",t,!0)}}),[S]);var _="undefined"!=typeof document&&y(e("div",{ref:w,className:"dock-overlay",style:{zIndex:c},children:h()}),document.body);return n(t,{children:[e("div",C({ref:b,className:m.getClassName("dock"),style:m.getStyle()},v,{children:r.children})),_]})},Me={Row:"row",RowReverse:"row-reverse",Column:"column",ColumnReverse:"column-reverse"},qe={NoWrap:"nowrap",Wrap:"wrap"},Ge={Start:"flex-start",Center:"center",End:"flex-end",SpaceBetween:"space-between",SpaceAround:"space-around",SpaceEvenly:"space-evenly"},Xe={Start:"flex-start",Center:"center",End:"flex-end",Stretch:"stretch",Baseline:"baseline"},Ye={Start:"flex-start",Center:"center",End:"flex-end",SpaceBetween:"space-between",SpaceAround:"space-around",SpaceEvenly:"space-evenly"},Ze=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=k(t,["vClassName","direction","wrap","justifyContent","alignItems","alignContent","gap","overflow"]);!s.cursor&&t.onClick&&(s.cursor=j.Pointer);var u=be(s),d=u.getProps("div").html,f=l&&Object.values(E).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):"",S="".concat(p).concat(g).concat(m).concat(v).concat(y).concat(b).concat(w),_=u.getClassName(S);return e("div",C({className:_,style:h},d,{children:t.children}))},Je={Start:"start",Center:"center",End:"end",Stretch:"stretch",Baseline:"baseline"},Ke=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})},Qe=function(n){return e(t,{children:n.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={Top:"top",Middle:"middle",Bottom:"bottom",Stretch:"stretch",Baseline:"baseline"},lt=function(n,r,a,i,l){n.cross;var c=n.itemsShrink,s=k(n,["cross","itemsShrink"]),u=be(s),d=function(t,n,o){return r?r(t,n,o,c):e(Ke,{alignSelf:o,shrink:c,children:t},"child".concat(n))};return e(Ze,C({vClassName:"v-xbase",alignItems:function(){var e;if(n.cross)switch(n.cross){case it.Stretch:e=Xe.Stretch;break;case it.Baseline:e=Xe.Baseline;break;case it.Bottom:e=Xe.End;break;case it.Middle:e=Xe.Center;break;case it.Top:e=Xe.Start;break;default:e=Xe.Center}else e=Xe.Center;return e}(),wrap:a?a():qe.NoWrap,justifyContent:i?i():Ge.Start,alignContent:l?l():Ye.Start},s,{children:o.map(u.getChildren(),(function(n,r){var o=n;return o.type?o.type===at?d(o.props.children,r,Je.Start):o.type===tt?d(o.props.children,r,Je.Center):o.type===$e?d(o.props.children,r,Je.End):o.type===ot?d(o.props.children,r,Je.Stretch):o.type===Qe?d(o.props.children,r,Je.Baseline):d(o,r):(console.debug(o),e(t,{children:"Please check X layout children."}))}))}))},ct=function(t){return lt(t,(function(t,n,r,o){return e(Ke,{grow:1,alignSelf:r,shrink:o,children:t})}))},st=function(e){return lt(e,void 0,void 0,(function(){return Ge.SpaceAround}))},ut=function(t){var n=be(t);return lt(t,(function(t,r,a,i){return 0!=r&&r!=o.count(n.getChildren())-1?e(Ke,{grow:0,alignSelf:a,shrink:i,children:t}):e(Ke,{grow:1,alignSelf:a,shrink:i,children:t})}))},dt=function(t){var n=be(t);return lt(t,(function(t,r,a,i){return 0!=r&&r!=o.count(n.getChildren())-1?e(Ke,{grow:1,alignSelf:a,shrink:i,children:t}):e(Ke,{grow:0,alignSelf:a,shrink:i,children:t})}))},ft=function(t){return lt(t,(function(t,n,r,o){return e(Ke,0==n?{grow:1,alignSelf:r,shrink:o,children:t}:{grow:0,alignSelf:r,shrink:o,children:t})}))},ht=function(t){var n=be(t);return lt(t,(function(t,r,a,i){return r==o.count(n.getChildren())-1?e(Ke,{grow:0,alignSelf:a,shrink:i,children:t}):e(Ke,{grow:1,alignSelf:a,shrink:i,children:t})}))},pt=function(t){var n=be(t);return lt(t,(function(t,r,a,i){return r==o.count(n.getChildren())-1?e(Ke,{grow:1,shrink:i,children:t}):e(Ke,{grow:0,shrink:i,children:t})}))},gt=function(t){return lt(t,(function(t,n,r,o){return e(Ke,0==n?{grow:0,alignSelf:r,shrink:o,children:t}:{grow:1,alignSelf:r,shrink:o,children:t})}))},mt=function(e){return lt(e,void 0,void 0,(function(){return Ge.SpaceBetween}))},vt=function(e){return lt(e,void 0,void 0,(function(){return Ge.Center}))},yt=function(t){return lt(t,(function(n,r,o,a){var i=e(Ke,{shrink:a,children:n});return t.basises&&r<t.basises.length&&(i=e(Ke,{basis:t.basises[r],shrink:a,children:n})),i}))},bt=function(t){var n=be(t);return lt(t,(function(r,a,i,l){return 0==a||a==o.count(n.getChildren())-1?e(Ke,{basis:t.basis,shrink:l,children:r}):e(Ke,{grow:1,shrink:l,children:r})}))},wt=function(e){return lt(e,void 0,void 0,(function(){return Ge.SpaceEvenly}))},St=function(e){return lt(e)},Ct=function(e){return lt(e,void 0,void 0,(function(){return Ge.End}))},kt=function(e){return lt(e,void 0,(function(){return qe.Wrap}),void 0,(function(){return Ye.SpaceAround}))},_t=function(e){return lt(e,void 0,(function(){return qe.Wrap}),void 0,(function(){return Ye.SpaceBetween}))},xt=function(e){return lt(e,void 0,(function(){return qe.Wrap}),void 0,(function(){return Ye.End}))},Nt=function(e){return lt(e,void 0,(function(){return qe.Wrap}),void 0,(function(){return Ye.SpaceEvenly}))},Ot=function(e){return lt(e,void 0,(function(){return qe.Wrap}),void 0,(function(){return Ye.Center}))},It=function(e){return lt(e,void 0,(function(){return qe.Wrap}),void 0,(function(){return Ye.Start}))},Bt={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=k(n,["cross","itemsShrink"]),d=be(u),f=function(t,n,o){return r?r(t,n,o,s):e(Ke,{alignSelf:o,shrink:s,children:t},"child".concat(n))};return e(Ze,C({vClassName:"v-ybase",wrap:a?a():qe.NoWrap,alignContent:i?i():Ye.Start,alignItems:function(){var e;if(c)switch(c){case Bt.Left:e=Xe.Start;break;case Bt.Center:e=Xe.Center;break;case Bt.Right:e=Xe.End;break;case Bt.Baseline:e=Xe.Baseline;break;default:e=Xe.Stretch}else e=Xe.Stretch;return e}(),direction:Me.Column,justifyContent:l?l():Ge.Start},u,{children:o.map(d.getChildren(),(function(n,r){var o=n;return o.type?o.type===et?f(o.props.children,r,Je.Start):o.type===tt||o.type===rt?f(o.props.children,r,Je.Center):o.type===nt?f(o.props.children,r,Je.End):o.type===ot?f(o.props.children,r,Je.Stretch):o.type===Qe?f(o.props.children,r,Je.Baseline):f(n,r):(console.debug(o),e(t,{children:"Please check Y layout children."}))}))}))},Et=function(t){return Dt(t,(function(t,n,r,o){return e(Ke,{grow:1,alignSelf:r,shrink:o,children:t})}))},Lt=function(e){return Dt(e,void 0,void 0,void 0,(function(){return Ge.SpaceBetween}))},Rt=function(e){return Dt(e,void 0,void 0,void 0,(function(){return Ge.Center}))},zt=function(e){return Dt(e,void 0,void 0,void 0,(function(){return Ge.Start}))},Tt=function(e){return Dt(e,void 0,void 0,void 0,(function(){return Ge.End}))},Pt=function(e){return Dt(e,void 0,void 0,void 0,(function(){return Ge.SpaceAround}))},Ft=function(e){return Dt(e,void 0,void 0,void 0,(function(){return Ge.SpaceEvenly}))},jt=function(t){return Dt(t,(function(t,n,r,o){return e(Ke,0==n?{grow:1,alignSelf:r,shrink:o,children:t}:{grow:0,alignSelf:r,shrink:o,children:t})}))},Vt=function(t){var n=be(t);return Dt(t,(function(t,r,a,i){return 0!=r&&r!=o.count(n.getChildren())-1?e(Ke,{grow:1,alignSelf:a,shrink:i,children:t}):e(Ke,{grow:0,alignSelf:a,shrink:i,children:t})}))},Wt=function(t){var n=be(t);return Dt(t,(function(t,r,a,i){return r==o.count(n.getChildren())-1?e(Ke,{grow:1,shrink:i,children:t}):e(Ke,{grow:0,shrink:i,children:t})}))},At=function(t){var n=be(t);return Dt(t,(function(t,r,a,i){return r==o.count(n.getChildren())-1?e(Ke,{grow:0,alignSelf:a,shrink:i,children:t}):e(Ke,{grow:1,alignSelf:a,shrink:i,children:t})}))},Ut=function(t){return Dt(t,(function(t,n,r,o){return e(Ke,0==n?{grow:0,alignSelf:r,shrink:o,children:t}:{grow:1,alignSelf:r,shrink:o,children:t})}))},Ht=function(t){var n=be(t);return Dt(t,(function(t,r,a,i){return 0!=r&&r!=o.count(n.getChildren())-1?e(Ke,{grow:0,alignSelf:a,shrink:i,children:t}):e(Ke,{grow:1,alignSelf:a,shrink:i,children:t})}))},Mt=function(t){return Dt(t,(function(n,r,o,a){var i=e(Ke,{shrink:a,children:n});return t.basises&&r<t.basises.length&&(i=e(Ke,{basis:t.basises[r],shrink:a,children:n})),i}))},qt=function(t){var n=be(t);return Dt(t,(function(r,a,i,l){return 0==a||a==o.count(n.getChildren())-1?e(Ke,{basis:t.basis,shrink:l,children:r}):e(Ke,{grow:1,shrink:l,children:r})}))},Gt=function(e){return Dt(e,void 0,(function(){return qe.Wrap}),(function(){return Ye.Start}))},Xt=function(e){return Dt(e,void 0,(function(){return qe.Wrap}),(function(){return Ye.Center}))},Yt=function(e){return Dt(e,void 0,(function(){return qe.Wrap}),(function(){return Ye.End}))},Zt=function(e){return Dt(e,void 0,(function(){return qe.Wrap}),(function(){return Ye.SpaceAround}),void 0)},Jt=function(e){return Dt(e,void 0,(function(){return qe.Wrap}),(function(){return Ye.SpaceBetween}))},Kt=function(e){return Dt(e,void 0,(function(){return qe.Wrap}),(function(){return Ye.SpaceEvenly}))},Qt={Top:"top",Right:"right",Bottom:"bottom",Left:"left",Center:"center"},$t=function(t){t.image,t.imageWidth,t.imageHeight,t.position;var n,r=k(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=be(C(C({},r),{style:n}));return e(Se,{_base:o,className:t.position?"v-background-".concat(t.position):"v-background",children:t.children})},en=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]=_(_([],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},tn={Json:"json",FormData:"formdata"},nn=function(t){var n=t.ref,r=t.handleSubmitCategory,o=t.handleSubmit,a=t.handleValidateError,i=k(t,["ref","handleSubmitCategory","handleSubmit","handleValidateError"]),l=be(i),c=s(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 u=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===tn.FormData?l:en(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)}}},u,{children:t.children}))},rn=function(t){return e("form",C({className:"v-action-form"},t,{children:t.children}))},on=function(t){var r=t.ref,o=t.type,a=t.label,i=t.icon,l=t.value,c=t.valueHook,u=t.setStateHook,d=t.isValueShow,p=t.gap,g=t.valueSize,m=t.frontColor;t.valueCategory;var v,y=t.valuePadding,b=t.inputStyle,w=t.inputClassName,S=t.placeholderColor,_=t.overWrite,N=t.renderOptions,O=t.onChange,I=t.inheritClassName,B=t.customAttributes,D=k(t,["ref","type","label","icon","value","valueHook","setStateHook","isValueShow","gap","valueSize","frontColor","valueCategory","valuePadding","inputStyle","inputClassName","placeholderColor","overWrite","renderOptions","onChange","inheritClassName","customAttributes"]),E=be(D),L=E.getProps("input").html,R=h({value:void 0!==t.value?t.value:""}),z=R[0],T=R[1],P=s(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]),_&&(v=_(P)),n(Se,{_base:E,className:"v-validity v-input ".concat((S||x.Placeholder)+"-placeholder").concat(I?" ".concat(I):""),children:[n(Et,{display:v?F.None:void 0,children:[n(dt,{gap:p,children:[e(Be,{children:i}),n(Be,{children:[e("input",C({ref:P},B,{className:(w?"".concat(w," "):"")+"".concat(E.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}),O&&O(e),u&&u(e.target.value)}},L)),!!a&&e("label",{htmlFor:t.id?t.id:t.name,children:a})]}),N?N(P):e(Be,{})]}),!!d&&e(vt,{children:e(ze,{padding:y,isAutoSize:t.isAutoSize,fontSize:g||q.Normal,frontColor:m||x.Black,caption:void 0!==z.value?z.value.toString():l?l.toString():""})})]}),!!v&&v]})},an={Default:"default",Circle:"circle",Squared:"squared",Custom:"custom"},ln=function(n){var r=C({},n);!r.cursor&&n.onClick&&(r.cursor=j.Pointer);var l=be(r);return e(t,{children:o.map(n.children,(function(e){return function(e){var t=n.category?n.category:an.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)}))})};ln.displayName="VSvg";var cn,sn,un=l(ln);function dn(){return dn=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},dn.apply(null,arguments)}var fn,hn=function(e){return r.createElement("svg",dn({xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 256 256"},e),cn||(cn=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"})),sn||(sn=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 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),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"})))},vn=function(t){var r=t.isChecked,o=k(t,["isChecked"]);return e(on,C({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(un,{frontColor:t.frontColor,fontSize:t.fontSize,children:e(r?hn:mn,{})}),!!t.label&&e(ze,{frontColor:t.frontColor,fontSize:t.fontSize,caption:t.label?t.label:""})]})}},o))},yn=function(t){return e(on,C({type:"color",isDefaultValue:!0},t))},bn=function(t){return e(on,C({type:"date",isDefaultValue:!0},t))},wn=function(t){return e(on,C({type:"datetime-local",isDefaultValue:!0},t))},Sn=function(t){return e(on,C({inheritClassName:"v-email",isDefaultValue:!0,type:"email"},t))},Cn={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"},kn={Once:"animate__repeat-1",Twice:"animate__repeat-2",Thrice:"animate__repeat-3",Infinite:"animate__infinite"},_n={Slow:"animate__slow",Slower:"animate__slower",Fast:"animate__fast",Faster:"animate__faster"},xn={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})},On=function(t){t.animationCategory,t.animationSpeed;var n=k(t,["animationCategory","animationSpeed"]),r=be(n);return e(Se,{_base:r,className:"v-loading",children:e(Nn,{category:t.animationCategory?t.animationCategory:Cn.Flip,speed:t.animationSpeed?t.animationSpeed:_n.Slower,repeat:kn.Infinite,children:t.children})})};function In(){return In=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},In.apply(null,arguments)}var Bn=function(e){return r.createElement("svg",In({xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 256 256"},e),gn||(gn=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"},En=function(e){return e.name.endsWith(".jpg")||e.name.endsWith(".jpeg")||e.name.endsWith(".png")},Ln=function(e){var t=e.promise;return g(t)},Rn=function(t){var n=t.result,r=t.fallback;return n instanceof Promise?e(p,{fallback:null!=r?r:null,children:e(Ln,{promise:n})}):n},zn=function(t){var r=t.category,o=t.appearance;t.loader;var a=t.loaderSize,i=t.loaderColor,l=t.isPreview,c=t.previewImageWidth,u=t.textLength,d=t.autoUpload,p=t.renderLoader,g=t.renderPreview,m=k(t,["category","appearance","loader","loaderSize","loaderColor","isPreview","previewImageWidth","textLength","autoUpload","renderLoader","renderPreview"]),v=s(null),y=h({inputFiles:[],isLoading:!1}),b=y[0],w=y[1],S=function(){w((function(e){return C(C({},e),{isLoading:!1})}))};f((function(){return function(){return b.inputFiles.forEach((function(e){e.objectUrl&&URL.revokeObjectURL(e.objectUrl)}))}}),[b.inputFiles]);var _=function(e){e.preventDefault(),e.currentTarget.className="v-file"},x=be(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,S),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:_,onDragLeave:_,onDragExit:_},m));return e(Se,{_base:x,className:"v-file",children:e(on,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,S))},overWrite:function(t){return l?g?e(Be,{cursor:j.Pointer,onClick:function(){var e;null===(e=t.current)||void 0===e||e.click()},children:e(Rn,{result:g(b.inputFiles,b.isLoading),fallback:p?p():e(On,{animationCategory:Cn.Flash,children:e(vt,{children:e(un,{fontSize:a,frontColor:i,children:e(Bn,{})})})})})}):r==Dn.Vertical?n(Et,{gap:"1em",onClick:function(){var e;null===(e=t.current)||void 0===e||e.click()},cross:Bt.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:Bt.Center,children:[!!t.objectUrl&&e(Be,{children:e("img",{src:t.objectUrl,alt:t.name,width:c||120})}),e(ze,{fontSize:q.Small,caption:t.name.length>(u||12)?t.name.slice(0,u||12)+"…":t.name})]},"file-".concat(t.name))}))}),!!b.isLoading&&(p?p():e(On,{animationCategory:Cn.Flash,children:e(vt,{children:e(un,{fontSize:a,frontColor:i,children:e(Bn,{})})})}))]}):n(ct,{gap:"1em",children:[n(ct,{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:Bt.Center,children:[!!t.objectUrl&&e(Be,{children:e("img",{src:t.objectUrl,alt:t.name,width:c||120})}),e(ze,{fontSize:q.Small,caption:t.name.length>(u||12)?t.name.slice(0,u||12)+"…":t.name})]},"file-".concat(t.name))}))})]}),!!b.isLoading&&(p?p():e(On,{animationCategory:Cn.Flash,children:e(un,{fontSize:a,frontColor:i,children:e(Bn,{})})}))]}):e(Be,{cursor:j.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"},Pn=function(t){var n=t.category,r=k(t,["category"]),o=be(r),a=o.getProps("img").html,i=n||Tn.Default;return e("img",C({className:o.getClassName("v-image-".concat(i)),style:o.getStyle()},a))};Pn.displayName="VImage";var Fn,jn,Vn=l(Pn),Wn=function(t){return e(on,C({display:F.None,type:"hidden"},t))},An=function(t){var r=t.fileIcon,o=t.base64Image,a=k(t,["fileIcon","base64Image"]),i=be(a),l=h({base64Image:o}),c=l[0],s=l[1];return n(Se,{_base:i,className:"v-base64file",children:[e(Wn,{name:t.name,value:c.base64Image}),e(on,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(Vn,{fontSize:t.fontSize,category:Tn.Scale,src:"data:image/png;base64,".concat(c.base64Image),alt:"file"})]})}},a))]})},Un=function(t){return e(on,C({type:"month",isDefaultValue:!0},t))},Hn=function(t){return e(on,C({type:"number",isDefaultValue:!0},t))},Mn=function(t){return e(on,C({inheritClassName:"v-password",isDefaultValue:!0,type:"password"},t))};function qn(){return qn=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},qn.apply(null,arguments)}var Gn,Xn=function(e){return r.createElement("svg",qn({xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 256 256"},e),Fn||(Fn=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"})),jn||(jn=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 Yn(){return Yn=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},Yn.apply(null,arguments)}var Zn,Jn,Kn=function(e){return r.createElement("svg",Yn({xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 256 256"},e),Gn||(Gn=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=k(t,["isChecked"]);return e(on,C({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(un,{padding:"0.4em",frontColor:t.frontColor,fontSize:t.fontSize,children:e(r?Xn:Kn,{})}),!!t.label&&e(ze,{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=k(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(on,C({type:"range",inputClassName:c},l,{inputStyle:s}))},er=function(t){return e(on,C({type:"search",isDefaultValue:!0,inheritClassName:"v-search"},t))},tr=function(t){var r=t.ref;t.caption,t.isFormNoValidate;var o=k(t,["ref","caption","isFormNoValidate"]),a=s(null);f((function(){"object"==typeof r&&r?r.current=a.current:"function"==typeof r&&r(a.current),t.autoFocus&&a.current&&a.current.focus()}),[r,t.autoFocus]);var i=be(C({onClick:function(){a.current.click()}},o)),l=i.getProps("input").html;return n(Se,{_base:i,className:"v-submit",children:[n(vt,{cross:it.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))]})},nr=function(t){var r=be(t),o=s(null);return n("div",{className:r.getClassName("v-submit-wrapper"),style:r.getStyle(),children:[t.body,e("input",{ref:o,type:"submit"})]})},rr=function(t){return e(on,C({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),Zn||(Zn=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=k(t,["enableClear"]);return e(on,r?C({inheritClassName:"v-textbox",isDefaultValue:!0,type:"text"},o,{renderOptions:function(r){return n(ct,{gap:"0.2em",children:[t.renderOptions&&t.renderOptions(r),e(un,{fontSize:q.ExtraSmall,frontColor:x.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,{})})]})}}):C({inheritClassName:"v-textbox",isDefaultValue:!0,type:"text"},o))},cr=function(t){return e(on,C({type:"time",isDefaultValue:!0},t))},sr=function(t){return e(on,C({inheritClassName:"v-url",isDefaultValue:!0,type:"url"},t))},ur=function(t){return e(on,C({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,pr,gr,mr,vr,yr,br,wr,Sr=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"})))},Cr=function(t){var r=t.isOn,o=t.icon,a=t.gap,i=t.isDisabled,l=t.onSwitch,c=k(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(un,{style:{margin:u.isOn?"0 0.6em 0 0":"0 0 0 0.6em"},frontColor:x.White,fontSize:q.Normal,children:o}):e(Be,{width:"1em",height:"1em"}),g=t.isDisabled?void 0:function(){t.isDisabled||(l&&l(!u.isOn),d({isOn:!u.isOn}))},m=be(C({onClick:g},c));return e(Se,{_base:m,className:i?"v-switch-disabled":"v-switch",children:n(mt,{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:R.ExtraLarge,backgroundColor:u.isOn?t.frontColor?t.frontColor:x.Success:t.backgroundColor?t.backgroundColor:x.Placeholder,gap:a||"0.6em",children:[u.isOn?e(un,{category:an.Circle,frontColor:x.White,children:e(Sr,{})}):p,u.isOn?p:e(un,{category:an.Circle,frontColor:x.White,children:e(Sr,{})})]})})},kr=function(t){var n=t.name;t.items;var r=t.value,o=t.isMultiple;t.fontFamily;var a=k(t,["name","items","value","isMultiple","fontFamily"]),i=be(a),l=i.getProps("select").html;return e(Se,{_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)}))}))})},_r=function(t){var r,o,a,i,l=t.ref,c=t.value,u=t.name,d=t.icon,p=t.emptyIcon,g=t.downIcon,v=t.upIcon,y=t.enableClear,b=t.items,w=t.dockCategory,S=t.dockAlignment,_=t.menuBackgroundColor,N=t.menuZIndex,O=t.menuGap;t.onClick;var I=t.isSelectOnly,D=t.overWriteDropdownMenu,L=t.overWriteDropdownItem,R=t.handleChange,T=t.readOnly,F=k(t,["ref","value","name","icon","emptyIcon","downIcon","upIcon","enableClear","items","dockCategory","dockAlignment","menuBackgroundColor","menuZIndex","menuGap","onClick","isSelectOnly","overWriteDropdownMenu","overWriteDropdownItem","handleChange","readOnly"]),j=be(F),V=h({isSelectionShow:!1,selectValue:c||"",selectCaption:c?b.filter((function(e){return e.value==c}))[0].caption:"",items:b}),W=V[0],A=V[1],U=s(null),H=m(),M=s(null),G=s(null);f((function(){if(W.isSelectionShow){var e=function(e){var t=e.target;M.current&&!M.current.contains(t)&&G.current&&!G.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=U.current:"function"==typeof l&&l(U.current),t.autoFocus&&U.current&&U.current.focus()}),[l,t.autoFocus]);var X=N||We;if(T)return n(ft,{className:j.getClassName("v-dropdown"),style:j.getStyle(t.style),children:[e(ze,{caption:(null===(r=W.selectCaption)||void 0===r?void 0:r.toString())||"",fontSize:t.fontSize,frontColor:t.frontColor}),e(Wn,{name:u,valueHook:null===(o=W.selectValue)||void 0===o?void 0:o.toString()}),e(un,{fontSize:t.iconSize?t.iconSize:q.Small,children:g})]});var Y=M.current?"".concat(M.current.offsetWidth,"px"):void 0;return e(He,{width:"fit-content",overlayZIndex:W.isSelectionShow?X:-2147483648,category:w||Ae.RightBottom,alignment:S||Ue.Vertical,renderOverlay:function(){return e(Be,{ref:G,minWidth:Y,className:"v-dropdown-overlay",children:e(Be,{visibility:W.isSelectionShow?P.Visible:P.Hidden,borderRadius:t.borderRadius,role:"listbox",id:H,children:D?D(W.items):e(Et,{gap:O,padding:t.padding,backgroundColor:_||x.White,borderRadius:t.borderRadius,borderColor:t.borderColor,borderWidth:t.borderWidth,borderStyle:z.Solid,children:0==W.items.length?e(vt,{children:e(un,{fontSize:t.iconSize?t.iconSize:q.Small,children:p})}):W.items.map((function(r){return L?e(Be,{borderRadius:t.borderRadius,role:"option","aria-selected":r.value===W.selectValue,children:L(r)},r.value):n(St,{padding:B.ExtraSmall,gap:E.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})),R&&R(r.value)},children:[r.icon?e(un,{fontSize:q.ExtraSmall,children:r.icon}):void 0,e(ze,{caption:r.caption})]},r.value)}))})})})},children:e(Be,{ref:M,children:n(ft,C({className:j.getClassName("v-dropdown"),style:j.getStyle(t.style)},F,{role:"combobox","aria-expanded":W.isSelectionShow,"aria-haspopup":"listbox","aria-controls":H,onClick:function(){A(C(C({},W),{isSelectionShow:!W.isSelectionShow}))},children:[n(Be,{children:[e(lr,{ref:U,id:t.id,style:{padding:0},fontSize:t.fontSize,frontColor:t.frontColor,icon:e(un,{fontSize:t.iconSize?t.iconSize:q.Small,children:W.selectIcon?W.selectIcon:d}),valueHook:null===(a=W.selectCaption)||void 0===a?void 0:a.toString(),enableClear:y,renderOptions:t.renderOptions,readOnly:I,onChange:I?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(Wn,{name:u,valueHook:null===(i=W.selectValue)||void 0===i?void 0:i.toString()})]}),e(un,{fontSize:t.iconSize?t.iconSize:q.Small,children:W.isSelectionShow?v:g})]}))})})},xr={NewWindow:"_blank",Self:"_self",Parent:"_parent",Top:"_top"},Nr=function(t){var n=t.category,r=t.to,o=k(t,["category","to"]),a=be(o),i=a.getProps("a").html;return e(Se,{_base:a,className:"v-hyperlink",children:e("a",C({href:r,target:n},i,{children:t.children}))})},Or={P:"p",Address:"address",Article:"article",Aside:"aside",Details:"details",Section:"section"},Ir={Justify:0,Left:1,Right:2,Center:3},Br=function(t){var n=t.category;t.alignType;var r,o,a=t.renderContent,i=k(t,["category","alignType","renderContent"]),l=be(i);switch(t.alignType){case Ir.Center:o="v-text-center";break;case Ir.Justify:o="v-text-justify";break;case Ir.Left:o="v-text";break;case Ir.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(Se,{_base:l,className:o,children:r})},Dr=function(t){var r=t.ref;t.icon;var o=t.valueHook,a=t.setStateHook,i=t.placeholderColor,l=k(t,["ref","icon","valueHook","setStateHook","placeholderColor"]),c=be(l),u=c.getProps("textarea").html,d=s(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(Se,{category:we.Display,_base:c,className:"v-validity v-textarea ".concat((i||x.Placeholder)+"-placeholder"),children:n(pt,{cross:it.Top,gap:"0.6em",children:[t.icon,e(Be,{children:e("textarea",C({ref:d},u,{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)}}))})]})})},Er={Default:"default",Fixed:"fixed"},Lr=function(t){t.category;var n=k(t,["category"]),r=be(n);return e(Se,{_base:r,className:"v-ellipse-".concat(t.category?t.category:Er.Default),children:t.children})},Rr={Vertical:"vertical",Horizontal:"horizontal"},zr=function(t){t.category;var n=k(t,["category"]),r=be(n);return e(Se,{_base:r,className:"v-line-".concat(t.category)})},Tr="default",Pr=function(t){t.category;var n=k(t,["category"]),r=be(n);return e(Se,{_base:r,className:"v-rectangle-".concat(t.category?t.category:Tr)})},Fr={Default:"default",Max:"max"},jr=function(n){var r=be(n);return 0===o.toArray(n.children).length?e(ze,{backgroundColor:x.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:Fr.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)}))})},Vr=function(t){t.sources;var n=k(t,["sources"]),r=be(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))}))}))},Wr=function(t){t.sources;var n=k(t,["sources"]),r=be(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))}))}))},Ar=function(t){var n=be(t),r=n.getProps("header").html;return e("header",C({className:n.getClassName("v-header"),style:n.getStyle()},r,{children:t.children}))},Ur=function(t){var n=be(t),r=n.getProps("main").html;return e("main",C({className:n.getClassName("v-main"),style:n.getStyle()},r,{children:t.children}))},Hr=function(t){var n=be(t),r=n.getProps("footer").html;return e("footer",C({className:n.getClassName("v-footer"),style:n.getStyle()},r,{children:t.children}))},Mr=function(t){var n=be(t),r=n.getProps("aside").html;return e("aside",C({className:n.getClassName("v-aside"),style:n.getStyle()},r,{children:t.children}))},qr=function(t){var n=be(t),r=n.getProps("nav").html;return e("nav",C({className:n.getClassName("v-nav"),style:n.getStyle()},r,{children:t.children}))},Gr=function(t){var n=be(t),r=n.getProps("hr").html;return e("hr",C({className:n.getClassName("v-hr"),style:n.getStyle()},r))},Xr=function(t){var n=be(t),r=n.getProps("section").html;return e("section",C({className:n.getClassName("v-section"),style:n.getStyle()},r,{children:t.children}))},Yr=function(t){var n=be(C({width:"100vw",height:"100vh",backgroundColor:x.Dark75},t));return e(Ne,{zIndex:t.zIndex?t.zIndex:We,category:_e.Window,type:xe.Center,children:e(Ie,{children:e(Se,{_base:n,className:"v-mask",children:e(Ne,{category:_e.Area,type:xe.Center,children:t.children})})})})},Zr=function(t){var n,r=t.image,o=t.backingBoard,a=t.style,i=k(t,["image","backingBoard","style"]),l=be(i);return o&&(n=C(C({},a),{background:"linear-gradient(".concat(o.degree,", ").concat(o.startColor,", ").concat(o.endColor,")")})),e(Se,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})}))},Jr="--den-",Kr={Global:"global",Area:"area"},Qr=function(t){var n=t.category,r=t.area,o=t.variables,a=k(t,["category","area","variables"]),i=be(C({id:r},a));return f((function(){var e;n==Kr.Area?r&&(e=document.getElementById(r)):e=document.documentElement,e&&(Object.keys(o.colors).forEach((function(t){e.style.setProperty("".concat(Jr,"color-").concat(t),o.colors[t])})),Object.keys(o.fontSizes).forEach((function(t){e.style.setProperty("".concat(Jr).concat(t),o.fontSizes[t])})),Object.keys(o.fontWeights).forEach((function(t){e.style.setProperty("".concat(Jr).concat(t),o.fontWeights[t])})))}),[]),n==Kr.Area?e(Se,{_base:i,className:"v-theme",children:t.children}):e(ze,{backgroundColor:x.Error,caption:"[VTheme] No Area!"})},$r={Hover:"hover",Click:"click"},eo=function(t){var n,r=t.category,o=t.dockCategory,a=t.dockAlignment,i=t.renderOverlay,l=k(t,["category","dockCategory","dockAlignment","renderOverlay"]),c=be(l),s=h({isShow:!1}),u=s[0],d=s[1],f=m();return n=r||$r.Hover,e(Se,{_base:c,className:"v-tooltip",children:e(He,{category:o,alignment:a,renderOverlay:function(){return u.isShow?e(Be,{role:"tooltip",id:f,children:i()}):e(Be,{className:"v-tooltip-overlay-fragment","aria-hidden":!0})},children:e(Be,{"aria-describedby":u.isShow?f:void 0,onClick:function(){n==$r.Click&&d({isShow:!u.isShow})},onMouseEnter:function(){n==$r.Hover&&d({isShow:!0})},onMouseLeave:function(){n==$r.Hover&&d({isShow:!1})},onFocus:function(){n==$r.Hover&&d({isShow:!0})},onBlur:function(){n==$r.Hover&&d({isShow:!1})},children:t.children})})})},to=function(t){function n(e){var n=t.call(this,e)||this;return n.state={hasError:!1,error:null,errorInfo:null},n}return S(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(ze,{backgroundColor:x.Error,frontColor:x.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),no=function(t){return e(Ie,{children:!!t.badge&&e(Ne,{category:_e.Area,bottom:"0",right:"0",children:"string"==typeof t.badge||t.badge instanceof String?e(Vn,{category:Tn.Circle,fontSize:q.Small,src:t.badge,alt:"null",borderStyle:"solid",borderWidth:"1px",borderColor:x.Light}):e(un,{category:an.Circle,frontColor:x.Secondary,backgroundColor:x.White,fontSize:q.Small,children:t.badge})})})},ro=function(t){var n=be(t),r=n.getProps("template").html;return e("template",C({className:n.getClassName("v-template"),style:n.getStyle()},r,{children:t.children}))},oo=function(t){return e("div",{id:t.id})},ao=function(t){return t.isDebug?e("div",{className:"debug",children:t.children}):e("div",{className:"no-debug",children:t.children})},io={Uninstalled:"uninstalled",Outdated:"outdated",Ready:"ready"},lo=function(t){var n=h({}),r=n[0],o=n[1];if(f((function(){var e;r.status||(e="chrome-extension://".concat(t.extensionId,"/meta.json"),fetch(e).then((function(e){return e.ok?e.json():Promise.reject()})).then((function(e){var n=!t.version||e.version>=t.version;o({status:n?io.Ready:io.Outdated,meta:e})})).catch((function(){return o({status:io.Uninstalled})})))}),[]),r.status){if(t.overWrite)return t.overWrite(r.status,r.meta);var a=void 0;return r.status===io.Ready?e(Be,{className:"v-chrome-extension-validator-fragment"}):(r.status===io.Uninstalled?a=t.uninstalledMessage:r.status===io.Outdated&&(a=t.outdatedMessage),e(Nr,{category:xr.NewWindow,to:t.downloadUrl?t.downloadUrl:"mailto:support@fewbox.com",children:a}))}return e(Be,{className:"v-chrome-extension-validator-fragment"})},co={Normal:"normal",Italic:"italic"},so=function(t){return f((function(){var e=document.createElement("link");e.rel="preconnect",e.href="https://fonts.googleapis.com";var n=document.createElement("link");n.rel="preconnect",n.href="https://fonts.gstatic.com",n.crossOrigin="crossorigin",document.head.appendChild(e),document.head.appendChild(n),t.typefaces.forEach((function(e,t){var n,r,o=e.family,a=null===(n=e.fonts)||void 0===n?void 0:n.filter((function(e){return e.type==co.Italic})),i=a&&a.length>0?"ital,wght":"wght",l=document.createElement("link");l.rel="stylesheet";var c=[];e.fonts&&e.fonts.length>1?(null===(r=e.fonts)||void 0===r||r.forEach((function(e,t){"ital,wght"==i?e.type==co.Normal?c.push("0,".concat(M(e.weight))):e.type==co.Italic&&c.push("1,".concat(M(e.weight))):c.push(M(e.weight).toString())})),l.href="https://fonts.googleapis.com/css2?family=".concat(o,":").concat(i,"@").concat(c.join(";"),"&display=swap")):l.href="https://fonts.googleapis.com/css2?family=".concat(o,"&display=swap"),document.head.appendChild(l)}))}),[]),e(Be,{className:"google-font-fragment"})},uo={Popup:"popup",Redirect:"redirect"},fo={Implicit:"implicit",AuthorizationCode:"authorization-code"},ho="fewbox-google-grant",po=function(t){return f((function(){var e=document.createElement("script");e.src="https://accounts.google.com/gsi/client",t.category==fo.Implicit?e.onload=function(){var e=google.accounts.oauth2.initTokenClient({client_id:t.clientId,scope:t.scope,callback:function(e){var n={accessToken:e.access_token,expiresIn:e.expires_in,hd:e.hd,prompt:e.prompt,tokenType:e.token_type,scope:e.scope,state:e.state,error:e.error,errorDescription:e.error_description,errorUri:e.error_uri};t.callback(n)}});if(t.isAutoRequest)e.requestAccessToken();else{var n=document.getElementById(ho);null==n||n.addEventListener("click",(function(){e.requestAccessToken()}))}t.enableGoogle()}:e.onload=function(){var e=google.accounts.oauth2.initCodeClient({client_id:t.clientId,scope:t.scope,ux_mode:t.uxMode,callback:function(e){var n={code:e.code,scope:e.scope,state:e.state,error:e.error,errorDescription:e.error_description,errorUri:e.error_uri};t.callback(n)}});if(t.isAutoRequest)e.requestCode();else{var n=document.getElementById(ho);null==n||n.addEventListener("click",(function(){e.requestCode()}))}t.enableGoogle()},e.onerror=function(e){console.error(e),t.disableGoogle()},document.body.appendChild(e)}),[t.clientId,t.scope,t.uxMode,t.category,t.isAutoRequest]),t.isAutoRequest?e(Be,{className:"google-grant-fragment"}):e(oo,{id:ho,children:t.children})},go=function(t){return e("div",{className:"figma-signin",onClick:function(){window.location.href="https://www.figma.com/oauth?client_id=".concat(t.clientId,"&redirect_uri=").concat(t.redirectUrl,"&scope=").concat(t.scope,"&state=").concat("fewbox","&response_type=").concat(t.responseType)},children:t.children})};function mo(){return mo=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},mo.apply(null,arguments)}var vo=function(e){return r.createElement("svg",mo({xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 256 256"},e),r.createElement("mask",{id:"google-disable_svg__a",width:200,height:200,x:28,y:28,maskUnits:"userSpaceOnUse",style:{maskType:"luminance"}},hr||(hr=r.createElement("path",{fill:"#fff",d:"M225.674 109.818h-95.348v38.637h54.883c-5.116 24.545-26.511 38.636-54.883 38.636-33.489 0-60.465-26.364-60.465-59.091s26.976-59.09 60.465-59.09c14.418 0 27.441 5 37.674 13.181L197.767 53c-18.139-15.455-41.395-25-67.441-25C73.581 28 28 72.546 28 128s45.581 100 102.326 100C181.488 228 228 191.636 228 128c0-5.909-.93-12.273-2.326-18.182"}))),pr||(pr=r.createElement("g",{mask:"url(#google-disable_svg__a)"},r.createElement("path",{fill:"#BDBDBD",d:"M18.698 187.09V68.908L97.768 128l-79.07 59.091z"}))),r.createElement("mask",{id:"google-disable_svg__b",width:200,height:200,x:28,y:28,maskUnits:"userSpaceOnUse",style:{maskType:"luminance"}},gr||(gr=r.createElement("path",{fill:"#fff",d:"M225.674 109.818h-95.348v38.637h54.883c-5.116 24.545-26.511 38.636-54.883 38.636-33.489 0-60.465-26.364-60.465-59.091s26.976-59.09 60.465-59.09c14.418 0 27.441 5 37.674 13.181L197.767 53c-18.139-15.455-41.395-25-67.441-25C73.581 28 28 72.546 28 128s45.581 100 102.326 100C181.488 228 228 191.636 228 128c0-5.909-.93-12.273-2.326-18.182"}))),mr||(mr=r.createElement("g",{mask:"url(#google-disable_svg__b)"},r.createElement("path",{fill:"#9E9E9E",d:"M18.698 68.908 97.768 128l32.558-27.727 111.628-17.727V18.908H18.698z"}))),r.createElement("mask",{id:"google-disable_svg__c",width:200,height:200,x:28,y:28,maskUnits:"userSpaceOnUse",style:{maskType:"luminance"}},vr||(vr=r.createElement("path",{fill:"#fff",d:"M225.674 109.818h-95.348v38.637h54.883c-5.116 24.545-26.511 38.636-54.883 38.636-33.489 0-60.465-26.364-60.465-59.091s26.976-59.09 60.465-59.09c14.418 0 27.441 5 37.674 13.181L197.767 53c-18.139-15.455-41.395-25-67.441-25C73.581 28 28 72.546 28 128s45.581 100 102.326 100C181.488 228 228 191.636 228 128c0-5.909-.93-12.273-2.326-18.182"}))),yr||(yr=r.createElement("g",{mask:"url(#google-disable_svg__c)"},r.createElement("path",{fill:"#ADADAD",d:"M18.698 187.09 158.233 82.545l36.744 4.545 46.977-68.182V237.09H18.698z"}))),r.createElement("mask",{id:"google-disable_svg__d",width:200,height:200,x:28,y:28,maskUnits:"userSpaceOnUse",style:{maskType:"luminance"}},br||(br=r.createElement("path",{fill:"#fff",d:"M225.674 109.818h-95.348v38.637h54.883c-5.116 24.545-26.511 38.636-54.883 38.636-33.489 0-60.465-26.364-60.465-59.091s26.976-59.09 60.465-59.09c14.418 0 27.441 5 37.674 13.181L197.767 53c-18.139-15.455-41.395-25-67.441-25C73.581 28 28 72.546 28 128s45.581 100 102.326 100C181.488 228 228 191.636 228 128c0-5.909-.93-12.273-2.326-18.182"}))),wr||(wr=r.createElement("g",{mask:"url(#google-disable_svg__d)"},r.createElement("path",{fill:"#757575",d:"M241.954 237.09 97.767 127.999l-18.604-13.636 162.791-45.455z"}))))},yo={Prompt:"prompt",Popup:"popup",Redirect:"redirect"},bo="https://accounts.google.com/gsi/client",wo=!1,So=function(n){var r=n.clientId,o=n.uxMode,a=n.redirectUrl,i=n.gsiButtonConfiguration,l=n.callback,c=n.switchAnotherIdentityProvider,u=n.enableGoogle,d=n.disableGoogle,p=n.googleAuthButtonId,g=p||"fewbox-google-auth",m=s(l),v=s(c),y=s(u),b=s(d),w=h(!1),S=w[0],C=w[1];m.current=l,v.current=c,y.current=u,b.current=d;var k=function(e){console.error(e),C(!0),b.current()};return f((function(){var e;if("undefined"!=typeof document)if(C(!1),r.endsWith(".apps.googleusercontent.com")){if(!wo){var t=!1,n=null,l=function(){try{if(google.accounts.id.initialize({client_id:r,ux_mode:o!=yo.Prompt?o:void 0,use_fedcm_for_prompt:o==yo.Prompt,callback:function(e){m.current(e.credential)},login_uri:a,error_callback:function(){t=!0,n&&(clearTimeout(n),n=null),k("Google Sign-In error callback fired!")}}),o==yo.Prompt)google.accounts.id.prompt((function(e){if((e.isNotDisplayed()||e.isSkippedMoment())&&v.current){var t=e.isNotDisplayed()?e.getNotDisplayedReason():e.getSkippedReason();v.current(t)}})),y.current();else{var e=document.getElementById(g);e?(google.accounts.id.renderButton(e,i||{type:"icon",size:"large",theme:"outline",shape:"circle",logo_alignment:"center"}),n=setTimeout((function(){if(!t){var n=e.querySelector("iframe");n&&n.clientHeight>0?y.current():k("Google Sign-In button render failed!")}}),2e3)):k("The element '".concat(g,"' not found!"))}}catch(e){console.error(e),k("Initialize GSI failed!")}},c=function(){wo=!0,k("Script error!")};if("undefined"!=typeof google&&(null===(e=google.accounts)||void 0===e?void 0:e.id))return l(),function(){n&&(clearTimeout(n),n=null),google.accounts.id.cancel()};var s=document.querySelector('script[src="'.concat(bo,'"]'));if(s)return"true"===s.dataset.gsiError?void c():"true"===s.dataset.gsiReady?(l(),function(){var e;n&&(clearTimeout(n),n=null),"undefined"!=typeof google&&(null===(e=google.accounts)||void 0===e?void 0:e.id)&&google.accounts.id.cancel()}):(s.addEventListener("load",l,{once:!0}),s.addEventListener("error",c,{once:!0}),function(){var e;n&&(clearTimeout(n),n=null),s.removeEventListener("load",l),s.removeEventListener("error",c),"undefined"!=typeof google&&(null===(e=google.accounts)||void 0===e?void 0:e.id)&&google.accounts.id.cancel()});var u=document.createElement("script");return u.src=bo,u.onload=function(){u.dataset.gsiReady="true",l()},u.onerror=function(){u.dataset.gsiError="true",c()},document.body.appendChild(u),function(){var e;n&&(clearTimeout(n),n=null),u.remove(),"undefined"!=typeof google&&(null===(e=google.accounts)||void 0===e?void 0:e.id)&&google.accounts.id.cancel()}}k("GSI script failed!")}else k("Invalid Google client ID: '".concat(r,"'!"))}),[r,o,a,i,g]),o==yo.Prompt?e(t,{}):S?e(un,{fontSize:q.Small,children:e(vo,{})}):e(vt,{children:e(oo,{id:g})})},Co=function(t){return e("div",{className:"wecom-signin",onClick:function(){window.location.href="https://open.work.weixin.qq.com/wwopen/sso/qrConnect?appid=".concat(t.appId,"&agentid=").concat(t.agentId,"&redirect_uri=").concat(t.redirectUrl,"&state=").concat("fewbox")},children:t.children})},ko=function(e){var t={},n=b(e,{header:!0});return t.role=n["http://schemas.microsoft.com/ws/2008/06/identity/claims/role"],t.mobile=n["http://schemas.xmlsoap.org/ws/2005/05/identity/claims/mobilephone"],t.name=n["http://schemas.xmlsoap.org/ws/2005/05/identity/claims/name"],t.email=n["http://schemas.xmlsoap.org/ws/2005/05/identity/claims/emailaddress"],t.exp=n.exp,t.iss=n.iss,t.aud=n.aud,t.expire=t.exp?new Date(1e3*t.exp):new Date(-864e13),t.tenant=n["http://schemas.fewbox.com/jwt/identity/claims/tenant"],t.id=n["http://schemas.fewbox.com/jwt/identity/claims/id"],t.api=n["http://schemas.fewbox.com/jwt/identity/claims/api"],t.issuer=n["http://schemas.fewbox.com/jwt/identity/claims/issuer"],t.audience=n["http://schemas.fewbox.com/jwt/identity/claims/audience"],t.avatar=n["http://schemas.fewbox.com/jwt/identity/claims/avatar"],t};export{Cn as AnimationCategory,xn as AnimationDelay,kn as AnimationRepeat,_n as AnimationSpeed,Qt as BackgroundPositionType,be as Base,R as BorderRadiusType,z as BorderStyleType,T as BorderWidthType,Pe as BreakpointCategory,je as BreakpointDisplay,Fe as BreakpointType,x as ColorType,j as CursorType,ao as Debug,X as DirectionType,F as DisplayType,He as Dock,Ue as DockAlignment,Ae as DockCategory,Er as EllipseCategory,io as ExtensionStatus,go as FigmaSignin,Dn as FileCategory,Ze as Flex,Ye as FlexAlignContentType,Xe as FlexAlignItemsType,Me as FlexDirectionType,Ke as FlexItem,Je as FlexItemAlignSelfType,Ge as FlexJustifyContentType,qe as FlexWrapType,O as FontFamilyType,q as FontSizeType,N as FontWeightType,E as GapType,co as GoogleFontType,po as GoogleGrant,fo as GoogleGrantCategory,uo as GoogleGrantUXMode,So as GoogleSignin,yo as GoogleSigninUXMode,tn as HandleSubmitCategory,xr as HyperlinkCategory,Tn as ImageCategory,Le as LabelAlignType,De as LabelCategory,Ee as LabelType,L as LetterSpacingType,Rr as LineCategory,I as LineHeightType,D as MarginType,U as OpacityType,V as OverflowType,W as OverflowXType,A as OverflowYType,B as PaddingType,Ne as Position,Ie as PositionArea,Oe as PositionAreaCategory,_e as PositionCategory,xe as PositionType,G as PseudoType,Ve as Responsive,we as RootCategory,Qe as SBaseline,$e as SBottom,rt as SCenter,et as SLeft,tt as SMiddle,nt as SRight,ot as SStretch,at as STop,Te as ScreenSizeType,Fr as ShadowCategory,an as SvgCategory,Ir as TextAlignType,Or as TextCategory,Kr as ThemeCategory,$r as TooltipCategory,rn as VActionForm,Nn as VAnimation,Mr as VAside,Vr as VAudio,$t as VBackground,no as VBadge,An as VBase64File,Be as VBoundary,vn as VCheckBox,lo as VChromeExtensionValidator,yn as VColor,bn as VDate,wn as VDatetimeLocal,_r as VDropdown,Lr as VEllipse,Sn as VEmail,to as VErrorBoundary,zn as VFile,Hr as VFooter,nn as VForm,Zr as VFrame,so as VGoogleFont,dr as VGroup,Gr as VHR,Ar as VHeader,Wn as VHidden,Nr as VHyperlink,Vn as VImage,ze as VLabel,zr as VLine,On as VLoading,Ur as VMain,Yr as VMask,Un as VMonth,oo as VMount,qr as VNav,Hn as VNumber,Mn as VPassword,Qn as VRadio,$n as VRange,Pr as VRectangle,er as VSearch,Xr as VSection,kr as VSelect,jr as VShadow,tr as VSubmit,nr as VSubmitWrapper,un as VSvg,Cr as VSwitch,rr as VTel,ro as VTemplate,Br as VText,Dr as VTextArea,lr as VTextBox,Qr as VTheme,cr as VTime,eo as VTooltip,sr as VUrl,Wr as VVideo,ur as VWeek,ke as VZone,H as ViewSizeType,P as VisibilityType,Co as WeComSignin,ct as X,st as XAround,ut as XAutoBoth,dt as XAutoCenter,ft as XAutoLeft,ht as XAutoLefts,pt as XAutoRight,gt as XAutoRights,mt as XBetween,vt as XCenter,it as XCrossType,yt as XCustom,bt as XCustomBoth,wt as XEvenly,St as XLeft,Ct as XRight,kt as XWrapAround,_t as XWrapBetween,xt as XWrapBottom,Nt as XWrapEvenly,Ot as XWrapMiddle,It as XWrapTop,Et as Y,Pt as YAround,Ht as YAutoBoth,Wt as YAutoBottom,Ut as YAutoBottoms,Vt as YAutoCenter,jt as YAutoTop,At as YAutoTops,Lt as YBetween,Tt as YBottom,Bt as YCrossType,Mt as YCustom,qt as YCustomBoth,Ft as YEvenly,Rt as YMiddle,zt as YTop,Zt as YWrapAround,Jt as YWrapBetween,Xt as YWrapCenter,Kt as YWrapEvenly,Gt as YWrapLeft,Yt as YWrapRight,Ce as ZoneCategory,en as convertFormDataToJson,fe as getGeneratedClassName,M as getWeightValue,ko as parseJWT};
|
|
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,useRef as s,useCallback as u,useLayoutEffect as d,useEffect as f,useState as h,Suspense as p,use as g,useId as m,Component as v}from"react";import{createPortal as y}from"react-dom";import{jwtDecode as b}from"jwt-decode";var w=function(e,t){return w=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])},w(e,t)};function S(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}w(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 k(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 _(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 x={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"},N={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"},I={Default:"line-height"},B={Default:"padding",Normal:"padding-normal",ExtraSmall:"padding-extra-small",Small:"padding-small",Large:"padding-large",ExtraLarge:"padding-extra-large"},D={Default:"margin",Normal:"margin-normal",ExtraSmall:"margin-extra-small",Small:"margin-small",Large:"margin-large",ExtraLarge:"margin-extra-large"},E={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"},R={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"},z={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"},T={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"},P={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"},j={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"},W={Visible:"overflow-x-visible",Hidden:"overflow-x-hidden",Scroll:"overflow-x-scroll",Auto:"overflow-x-auto",Clip:"overflow-x-clip"},A={Visible:"overflow-y-visible",Hidden:"overflow-y-hidden",Scroll:"overflow-y-scroll",Auto:"overflow-y-auto",Clip:"overflow-y-clip"},U={_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"},M=function(e){var t;switch(e){case N.Thin:t=100;break;case N.ExtraLight:t=200;break;case N.Light:t=300;break;case N.Regular:t=400;break;case N.Medium:t=500;break;case N.SemiBold:t=600;break;case N.Bold:t=700;break;case N.ExtraBold:t=800;break;case N.Black:t=900;break;default:t=400}return t},q={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"},G={All:"all",Before:"before",After:"after"},X={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"},Y=function(){function e(e){this.className=e}return e.prototype.getClassName=function(){return"".concat(this.className)},e}(),Z=function(e){this.component=e},J=function(e){function t(t,n,r){var o=e.call(this,t)||this;return o.sizeType=n,o.isAuto=r,o}return S(t,e),t.prototype.getClassName=function(){if(this.sizeType){var e=void 0;return e=Object.values(q).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}(Z),K=function(e){function t(t,n){var r=e.call(this,t)||this;return r.weightType=n,r}return S(t,e),t.prototype.getClassName=function(){return this.weightType?"".concat(this.component.getClassName()," ").concat(this.weightType):this.component.getClassName()},t}(Z),Q=function(e){function t(t,n){var r=e.call(this,t)||this;return r.visibility=n,r}return S(t,e),t.prototype.getClassName=function(){if(this.visibility){var e=void 0;return e=Object.values(P).includes(this.visibility)?this.visibility:"visibility-".concat(this.visibility),"".concat(this.component.getClassName()," ").concat(e)}return this.component.getClassName()},t}(Z),$=function(e){function t(t,n){var r=e.call(this,t)||this;return r.cursor=n,r}return S(t,e),t.prototype.getClassName=function(){if(this.cursor){var e=void 0;return e=Object.values(j).includes(this.cursor)?this.cursor:"cursor-".concat(this.cursor),"".concat(this.component.getClassName()," ").concat(e)}return this.component.getClassName()},t}(Z),ee=function(e){function t(t,n){var r=e.call(this,t)||this;return r.overflow=n,r}return S(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}(Z),te=function(e){function t(t,n){var r=e.call(this,t)||this;return r.overflowX=n,r}return S(t,e),t.prototype.getClassName=function(){if(this.overflowX){var e=void 0;return e=Object.values(W).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}(Z),ne=function(e){function t(t,n){var r=e.call(this,t)||this;return r.overflowY=n,r}return S(t,e),t.prototype.getClassName=function(){if(this.overflowY){var e=void 0;return e=Object.values(A).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}(Z),re=function(e){function t(t,n){var r=e.call(this,t)||this;return r.display=n,r}return S(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}(Z),oe=function(e){function t(t,n){var r=e.call(this,t)||this;return r.opacityType=n,r}return S(t,e),t.prototype.getClassName=function(){return this.opacityType&&Object.values(U).includes(this.opacityType)?"".concat(this.component.getClassName()," ").concat(this.opacityType):this.component.getClassName()},t}(Z),ae=function(e){function t(t,n){var r=e.call(this,t)||this;return r.borderRadius=n,r}return S(t,e),t.prototype.getClassName=function(){return this.borderRadius&&Object.values(R).includes(this.borderRadius)?"".concat(this.component.getClassName()," ").concat(this.borderRadius):this.component.getClassName()},t}(Z),ie=function(e){function t(t,n){var r=e.call(this,t)||this;return r.borderStyle=n,r}return S(t,e),t.prototype.getClassName=function(){if(this.borderStyle){var e=void 0;return e=Object.values(z).includes(this.borderStyle)?this.borderStyle:"border-style-".concat(this.borderStyle),"".concat(this.component.getClassName()," ").concat(e)}return this.component.getClassName()},t}(Z),le=function(e){function t(t,n){var r=e.call(this,t)||this;return r.padding=n,r}return S(t,e),t.prototype.getClassName=function(){return this.padding&&Object.values(B).includes(this.padding)?"".concat(this.component.getClassName()," ").concat(this.padding):this.component.getClassName()},t}(Z),ce=function(e){function t(t,n){var r=e.call(this,t)||this;return r.letterSpacing=n,r}return S(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}(Z),se=function(e){function t(t,n){var r=e.call(this,t)||this;return r.margin=n,r}return S(t,e),t.prototype.getClassName=function(){return this.margin&&Object.values(D).includes(this.margin)?"".concat(this.component.getClassName()," ").concat(this.margin):this.component.getClassName()},t}(Z),ue=function(e){function t(t,n){var r=e.call(this,t)||this;return r.borderWidth=n,r}return S(t,e),t.prototype.getClassName=function(){if(this.borderWidth){var e=void 0;return e=Object.values(T).includes(this.borderWidth)?this.borderWidth:"border-width-".concat(this.borderWidth),"".concat(this.component.getClassName()," ").concat(e)}return this.component.getClassName()},t}(Z),de=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 S(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 X.Bottom:r=" ".concat(e).concat(o,"-border-bottom");break;case X.ExceptBottom:r=" ".concat(e).concat(o,"-border-except-bottom");break;case X.ExceptLeft:r=" ".concat(e).concat(o,"-border-except-left");break;case X.ExceptRight:r=" ".concat(e).concat(o,"-border-except-right");break;case X.ExceptTop:r=" ".concat(e).concat(o,"-border-except-top");break;case X.Left:r=" ".concat(e).concat(o,"-border-left");break;case X.LeftBottom:r=" ".concat(e).concat(o,"-border-left-bottom");break;case X.LeftRight:r=" ".concat(e).concat(o,"-border-left-right");break;case X.LeftTop:r=" ".concat(e).concat(o,"-border-left-top");break;case X.Right:r=" ".concat(e).concat(o,"-border-right");break;case X.RightBottom:r=" ".concat(e).concat(o,"-border-right-bottom");break;case X.RightTop:r=" ".concat(e).concat(o,"-border-right-top");break;case X.Top:r=" ".concat(e).concat(o,"-border-top");break;case X.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(x.Transparent,"-background"):"",r=this.pseudoBackgroundColorType?" ".concat(this.pseudoBackgroundColorType,"-before-background"):this.isDefaultValue?" ".concat(x.Transparent,"-before-background"):"",o=this.pseudoBackgroundColorType?" ".concat(this.pseudoBackgroundColorType,"-after-background"):this.isDefaultValue?" ".concat(x.Transparent,"-after-background"):"",a="".concat(r).concat(o),i=this.frontColorType?" ".concat(this.frontColorType,"-front"):this.isDefaultValue?" ".concat(x.Black,"-front"):"",l=this.pseudoFrontColorType?" ".concat(this.pseudoFrontColorType,"-before-front"):this.isDefaultValue?" ".concat(x.Black,"-before-front"):"",c=this.pseudoFrontColorType?" ".concat(this.pseudoFrontColorType,"-after-front"):this.isDefaultValue?" ".concat(x.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(x.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(x.Transparent).concat(this.getBorderPrefix(this.pseudoType),"-border"):"":"","".concat(this.component.getClassName()).concat(n).concat(a).concat(i).concat(s).concat(e).concat(t)},t}(Z),fe=function(e,t,n,r,o,a,i,l,c,s,u,d,f,h,p,g,m,v,y,b,w,S,C,k,_,x,N){return new de(new ne(new te(new ee(new $(new Q(new re(new oe(new se(new ce(new le(new ue(new ie(new ae(new J(new K(new Y(e),o),n,r),p),g),m),v),N),y),b),w),S),C),k),_),x),t,a,i,l,c,s,u,d,f,h).getClassName()},he=["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"],pe=["id","title","dir","lang","translate","tabIndex","accessKey","contentEditable","spellCheck","draggable","enterKeyHint","inputMode","autoCapitalize","role","slot","htmlFor","hidden","is"],ge=["onError","onLoad"],me=["onAbort","onCanPlay","onCanPlayThrough","onDurationChange","onEmptied","onEncrypted","onEnded","onError","onLoadedData","onLoadedMetadata","onLoadStart","onPause","onPlay","onPlaying","onProgress","onRateChange","onResize","onSeeked","onSeeking","onStalled","onSuspend","onTimeUpdate","onVolumeChange","onWaiting"],ve={div:_(_([],he,!0),pe,!0),input:_(_(_(_([],he,!0),pe,!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:_(_(_([],he,!0),pe,!0),["rows","cols","wrap","name","autoFocus","autoComplete","placeholder","maxLength","minLength","required","readOnly","disabled","wrap","spellcheck","dirname"],!0),template:_(_([],he,!0),pe,!0),abbr:_(_([],he,!0),pe,!0),span:_(_([],he,!0),pe,!0),h1:_(_([],he,!0),pe,!0),h2:_(_([],he,!0),pe,!0),h3:_(_([],he,!0),pe,!0),h4:_(_([],he,!0),pe,!0),h5:_(_([],he,!0),pe,!0),h6:_(_([],he,!0),pe,!0),i:_(_([],he,!0),pe,!0),b:_(_([],he,!0),pe,!0),u:_(_([],he,!0),pe,!0),em:_(_([],he,!0),pe,!0),strong:_(_([],he,!0),pe,!0),blockquote:_(_([],he,!0),pe,!0),cite:_(_([],he,!0),pe,!0),code:_(_([],he,!0),pe,!0),del:_(_([],he,!0),pe,!0),dfn:_(_([],he,!0),pe,!0),ins:_(_([],he,!0),pe,!0),kbd:_(_([],he,!0),pe,!0),mark:_(_([],he,!0),pe,!0),pre:_(_([],he,!0),pe,!0),q:_(_([],he,!0),pe,!0),s:_(_([],he,!0),pe,!0),samp:_(_([],he,!0),pe,!0),small:_(_([],he,!0),pe,!0),summary:_(_([],he,!0),pe,!0),sup:_(_([],he,!0),pe,!0),sub:_(_([],he,!0),pe,!0),time:_(_([],he,!0),pe,!0),var:_(_([],he,!0),pe,!0),wbr:_(_([],he,!0),pe,!0),p:_(_([],he,!0),pe,!0),address:_(_([],he,!0),pe,!0),article:_(_([],he,!0),pe,!0),aside:_(_([],he,!0),pe,!0),details:_(_(_([],he,!0),pe,!0),["onToggle"],!0),nav:_(_([],he,!0),pe,!0),section:_(_([],he,!0),pe,!0),form:_(_(_([],he,!0),pe,!0),["onReset","onSubmit"],!0),dialog:_(_(_([],he,!0),pe,!0),["onCancel","onClose"],!0),img:_(_(_(_([],he,!0),pe,!0),ge,!0),["src","alt","width","height","crossOrigin","decoding","loading","referrerPolicy","sizes","srcSet","title","role"],!0),iframe:_(_(_(_([],he,!0),pe,!0),ge,!0),["src","srcDoc","width","height","name","sandbox","allow","allowFullScreen","loading","referrerPolicy","title","role"],!0),object:_(_(_([],he,!0),pe,!0),ge,!0),embed:_(_(_([],he,!0),pe,!0),ge,!0),link:_(_(_([],he,!0),pe,!0),ge,!0),svg:_(_(_([],he,!0),pe,!0),ge,!0),audio:_(_(_([],he,!0),pe,!0),me,!0),video:_(_(_([],he,!0),pe,!0),me,!0)},ye=["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"],be=function(t){return{getClassName:function(e){var n=fe(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(U).includes(t.opacity)&&(n.opacity=t.opacity),t.padding&&!Object.values(B).includes(t.padding)&&(n.padding=t.padding),t.margin&&!Object.values(D).includes(t.margin)&&(n.margin=t.margin),t.borderRadius&&!Object.values(R).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){ye.includes(o)?n[o]=t[o]:ve[e]&&ve[e].includes(o)&&(r[o]=t[o])})),{view:n,html:r}}}},we={Display:"display",Rich:"rich"},Se=function(t){var n=(t.category==we.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"},ke=function(t){var n=t.category,r=k(t,["category"]),o=be(r);return e(Se,{_base:o,className:"v-zone-".concat(n),children:t.children})},_e={Edge:"edge",Window:"window",Area:"area",Self:"self"},xe={Top:"top",Right:"right",Bottom:"bottom",Left:"left",LeftTop:"left-top",RightTop:"right-top",LeftBottom:"left-bottom",RightBottom:"right-bottom",Center:"center"},Ne=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!=_e.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"},Ie=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)}))})},Be=function(t){var n=be(t);return e(Se,{ref:t.ref,_base:n,className:"v-boundary",children:t.children})},De={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"},Ee={Default:"default",Circle:"circle"},Le={Justify:0,Left:1,Right:2,Center:3},Re=function(t){var n,r,o=t.category,a=t.type,i=t.alignType,l=t.isTextOverflow,s=t.caption,u=k(t,["category","type","alignType","isTextOverflow","caption"]),d=be(C({display:null==t.category||t.category==De.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==Ee.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==Ee.Circle?e(Ie,{children:e(Be,C({width:"1.6em",height:"1.6em",borderRadius:R.Max},h,{className:r},p,{children:e(Ne,{category:_e.Area,type:xe.Center,children:n})}))}):e(Be,C({},h,{className:t.className?"".concat(t.className," ").concat(r):r},p,{children:n}))};Re.displayName="VLabel";var ze=l(Re),Te={ExtraSmall:"extra-small",Small:"small",Medium:"medium",Large:"large",ExtraLarge:"extra-large",ExtraExtraLarge:"extra-extra-large"},Pe={Visible:"visiable",Hidden:"hidden"},Fe={Only:"only",Up:"up",Down:"down"},je=function(t){return t.children?e(Be,{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(ze,{backgroundColor:x.Error,caption:"[BreakpointDisplay] No Children!"})},Ve=function(r){return n(t,{children:[e(je,{category:Pe.Hidden,type:Fe.Down,breakpoint:r.breakpointType?r.breakpointType:Te.Small,children:r.desktop}),e(je,{category:Pe.Hidden,type:Fe.Up,breakpoint:r.breakpointType?r.breakpointType:Te.Small,children:r.mobile})]})},We=2147483647,Ae={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"},Ue={Horizontal:"horizontal",Vertical:"vertical"},He=function(r){var o=r.category,a=r.offset,i=void 0===a?0:a,l=r.overlayZIndex,c=void 0===l?We:l,h=r.renderOverlay,p=k(r,["category","offset","overlayZIndex","renderOverlay"]),g="alignment"in r?r.alignment:void 0,m=be(p),v=m.getProps("div").html,b=s(null),w=s(null),S=u((function(){var e=b.current,t=w.current;if(e&&t){var n=function(e,t,n,r,o,a){var i=e.width,l=e.height,c=e.left+window.scrollX,s=e.top+window.scrollY;switch(r){case Ae.Top:c+=(i-t)/2,s+=-n-o;break;case Ae.Right:c+=i+o,s+=(l-n)/2;break;case Ae.Bottom:c+=(i-t)/2,s+=l+o;break;case Ae.Left:c+=-t-o,s+=(l-n)/2;break;case Ae.LeftTop:a==Ue.Horizontal?(c+=-t-o,s+=o):a==Ue.Vertical?(c+=o,s+=-n-o):(c+=-t-o,s+=-n-o);break;case Ae.RightTop:a==Ue.Horizontal?(c+=i+o,s+=o):a==Ue.Vertical?(c+=i-t-o,s+=-n-o):(c+=i+o,s+=-n-o);break;case Ae.LeftBottom:a==Ue.Horizontal?(c+=-t-o,s+=l-n-o):a==Ue.Vertical?(c+=o,s+=l+o):(c+=-t-o,s+=l+o);break;case Ae.RightBottom:a==Ue.Horizontal?(c+=i+o,s+=l-n-o):a==Ue.Vertical?(c+=i-t-o,s+=l+o):(c+=i+o,s+=l+o);break;case Ae.InnerTop:c+=(i-t)/2,s+=o;break;case Ae.InnerRight:c+=i-t-o,s+=(l-n)/2;break;case Ae.InnerBottom:c+=(i-t)/2,s+=l-n-o;break;case Ae.InnerLeft:c+=o,s+=(l-n)/2;break;case Ae.InnerLeftTop:c+=o,s+=o;break;case Ae.InnerRightTop:c+=i-t-o,s+=o;break;case Ae.InnerLeftBottom:c+=o,s+=l-n-o;break;case Ae.InnerRightBottom:c+=i-t-o,s+=l-n-o}return{x:c,y:s}}(e.getBoundingClientRect(),t.offsetWidth,t.offsetHeight,o,i,g),r=n.x,a=n.y;t.style.transform="translate3d(".concat(r,"px, ").concat(a,"px, 0)")}}),[o,i,g]);d((function(){S()}),[S,h,c]),f((function(){var e=function(){return S()},t=function(){return S()};return window.addEventListener("resize",e),window.addEventListener("scroll",t,!0),function(){window.removeEventListener("resize",e),window.removeEventListener("scroll",t,!0)}}),[S]);var _="undefined"!=typeof document&&y(e("div",{ref:w,className:"dock-overlay",style:{zIndex:c},children:h()}),document.body);return n(t,{children:[e("div",C({ref:b,className:m.getClassName("dock"),style:m.getStyle()},v,{children:r.children})),_]})},Me={Row:"row",RowReverse:"row-reverse",Column:"column",ColumnReverse:"column-reverse"},qe={NoWrap:"nowrap",Wrap:"wrap"},Ge={Start:"flex-start",Center:"center",End:"flex-end",SpaceBetween:"space-between",SpaceAround:"space-around",SpaceEvenly:"space-evenly"},Xe={Start:"flex-start",Center:"center",End:"flex-end",Stretch:"stretch",Baseline:"baseline"},Ye={Start:"flex-start",Center:"center",End:"flex-end",SpaceBetween:"space-between",SpaceAround:"space-around",SpaceEvenly:"space-evenly"},Ze=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=k(t,["vClassName","direction","wrap","justifyContent","alignItems","alignContent","gap","overflow"]);!s.cursor&&t.onClick&&(s.cursor=j.Pointer);var u=be(s),d=u.getProps("div").html,f=l&&Object.values(E).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):"",S="".concat(p).concat(g).concat(m).concat(v).concat(y).concat(b).concat(w),_=u.getClassName(S);return e("div",C({className:_,style:h},d,{children:t.children}))},Je={Start:"start",Center:"center",End:"end",Stretch:"stretch",Baseline:"baseline"},Ke=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})},Qe=function(n){return e(t,{children:n.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={Top:"top",Middle:"middle",Bottom:"bottom",Stretch:"stretch",Baseline:"baseline"},lt=function(n,r,a,i,l){n.cross;var c=n.itemsShrink,s=k(n,["cross","itemsShrink"]),u=be(s),d=function(t,n,o){return r?r(t,n,o,c):e(Ke,{alignSelf:o,shrink:c,children:t},"child".concat(n))};return e(Ze,C({vClassName:"v-xbase",alignItems:function(){var e;if(n.cross)switch(n.cross){case it.Stretch:e=Xe.Stretch;break;case it.Baseline:e=Xe.Baseline;break;case it.Bottom:e=Xe.End;break;case it.Middle:e=Xe.Center;break;case it.Top:e=Xe.Start;break;default:e=Xe.Center}else e=Xe.Center;return e}(),wrap:a?a():qe.NoWrap,justifyContent:i?i():Ge.Start,alignContent:l?l():Ye.Start},s,{children:o.map(u.getChildren(),(function(n,r){var o=n;return o.type?o.type===at?d(o.props.children,r,Je.Start):o.type===tt?d(o.props.children,r,Je.Center):o.type===$e?d(o.props.children,r,Je.End):o.type===ot?d(o.props.children,r,Je.Stretch):o.type===Qe?d(o.props.children,r,Je.Baseline):d(o,r):(console.debug(o),e(t,{children:"Please check X layout children."}))}))}))},ct=function(t){return lt(t,(function(t,n,r,o){return e(Ke,{grow:1,alignSelf:r,shrink:o,children:t})}))},st=function(e){return lt(e,void 0,void 0,(function(){return Ge.SpaceAround}))},ut=function(t){var n=be(t);return lt(t,(function(t,r,a,i){return 0!=r&&r!=o.count(n.getChildren())-1?e(Ke,{grow:0,alignSelf:a,shrink:i,children:t}):e(Ke,{grow:1,alignSelf:a,shrink:i,children:t})}))},dt=function(t){var n=be(t);return lt(t,(function(t,r,a,i){return 0!=r&&r!=o.count(n.getChildren())-1?e(Ke,{grow:1,alignSelf:a,shrink:i,children:t}):e(Ke,{grow:0,alignSelf:a,shrink:i,children:t})}))},ft=function(t){return lt(t,(function(t,n,r,o){return e(Ke,0==n?{grow:1,alignSelf:r,shrink:o,children:t}:{grow:0,alignSelf:r,shrink:o,children:t})}))},ht=function(t){var n=be(t);return lt(t,(function(t,r,a,i){return r==o.count(n.getChildren())-1?e(Ke,{grow:0,alignSelf:a,shrink:i,children:t}):e(Ke,{grow:1,alignSelf:a,shrink:i,children:t})}))},pt=function(t){var n=be(t);return lt(t,(function(t,r,a,i){return r==o.count(n.getChildren())-1?e(Ke,{grow:1,shrink:i,children:t}):e(Ke,{grow:0,shrink:i,children:t})}))},gt=function(t){return lt(t,(function(t,n,r,o){return e(Ke,0==n?{grow:0,alignSelf:r,shrink:o,children:t}:{grow:1,alignSelf:r,shrink:o,children:t})}))},mt=function(e){return lt(e,void 0,void 0,(function(){return Ge.SpaceBetween}))},vt=function(e){return lt(e,void 0,void 0,(function(){return Ge.Center}))},yt=function(t){return lt(t,(function(n,r,o,a){var i=e(Ke,{shrink:a,children:n});return t.basises&&r<t.basises.length&&(i=e(Ke,{basis:t.basises[r],shrink:a,children:n})),i}))},bt=function(t){var n=be(t);return lt(t,(function(r,a,i,l){return 0==a||a==o.count(n.getChildren())-1?e(Ke,{basis:t.basis,shrink:l,children:r}):e(Ke,{grow:1,shrink:l,children:r})}))},wt=function(e){return lt(e,void 0,void 0,(function(){return Ge.SpaceEvenly}))},St=function(e){return lt(e)},Ct=function(e){return lt(e,void 0,void 0,(function(){return Ge.End}))},kt=function(e){return lt(e,void 0,(function(){return qe.Wrap}),void 0,(function(){return Ye.SpaceAround}))},_t=function(e){return lt(e,void 0,(function(){return qe.Wrap}),void 0,(function(){return Ye.SpaceBetween}))},xt=function(e){return lt(e,void 0,(function(){return qe.Wrap}),void 0,(function(){return Ye.End}))},Nt=function(e){return lt(e,void 0,(function(){return qe.Wrap}),void 0,(function(){return Ye.SpaceEvenly}))},Ot=function(e){return lt(e,void 0,(function(){return qe.Wrap}),void 0,(function(){return Ye.Center}))},It=function(e){return lt(e,void 0,(function(){return qe.Wrap}),void 0,(function(){return Ye.Start}))},Bt={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=k(n,["cross","itemsShrink"]),d=be(u),f=function(t,n,o){return r?r(t,n,o,s):e(Ke,{alignSelf:o,shrink:s,children:t},"child".concat(n))};return e(Ze,C({vClassName:"v-ybase",wrap:a?a():qe.NoWrap,alignContent:i?i():Ye.Start,alignItems:function(){var e;if(c)switch(c){case Bt.Left:e=Xe.Start;break;case Bt.Center:e=Xe.Center;break;case Bt.Right:e=Xe.End;break;case Bt.Baseline:e=Xe.Baseline;break;default:e=Xe.Stretch}else e=Xe.Stretch;return e}(),direction:Me.Column,justifyContent:l?l():Ge.Start},u,{children:o.map(d.getChildren(),(function(n,r){var o=n;return o.type?o.type===et?f(o.props.children,r,Je.Start):o.type===tt||o.type===rt?f(o.props.children,r,Je.Center):o.type===nt?f(o.props.children,r,Je.End):o.type===ot?f(o.props.children,r,Je.Stretch):o.type===Qe?f(o.props.children,r,Je.Baseline):f(n,r):(console.debug(o),e(t,{children:"Please check Y layout children."}))}))}))},Et=function(t){return Dt(t,(function(t,n,r,o){return e(Ke,{grow:1,alignSelf:r,shrink:o,children:t})}))},Lt=function(e){return Dt(e,void 0,void 0,void 0,(function(){return Ge.SpaceBetween}))},Rt=function(e){return Dt(e,void 0,void 0,void 0,(function(){return Ge.Center}))},zt=function(e){return Dt(e,void 0,void 0,void 0,(function(){return Ge.Start}))},Tt=function(e){return Dt(e,void 0,void 0,void 0,(function(){return Ge.End}))},Pt=function(e){return Dt(e,void 0,void 0,void 0,(function(){return Ge.SpaceAround}))},Ft=function(e){return Dt(e,void 0,void 0,void 0,(function(){return Ge.SpaceEvenly}))},jt=function(t){return Dt(t,(function(t,n,r,o){return e(Ke,0==n?{grow:1,alignSelf:r,shrink:o,children:t}:{grow:0,alignSelf:r,shrink:o,children:t})}))},Vt=function(t){var n=be(t);return Dt(t,(function(t,r,a,i){return 0!=r&&r!=o.count(n.getChildren())-1?e(Ke,{grow:1,alignSelf:a,shrink:i,children:t}):e(Ke,{grow:0,alignSelf:a,shrink:i,children:t})}))},Wt=function(t){var n=be(t);return Dt(t,(function(t,r,a,i){return r==o.count(n.getChildren())-1?e(Ke,{grow:1,shrink:i,children:t}):e(Ke,{grow:0,shrink:i,children:t})}))},At=function(t){var n=be(t);return Dt(t,(function(t,r,a,i){return r==o.count(n.getChildren())-1?e(Ke,{grow:0,alignSelf:a,shrink:i,children:t}):e(Ke,{grow:1,alignSelf:a,shrink:i,children:t})}))},Ut=function(t){return Dt(t,(function(t,n,r,o){return e(Ke,0==n?{grow:0,alignSelf:r,shrink:o,children:t}:{grow:1,alignSelf:r,shrink:o,children:t})}))},Ht=function(t){var n=be(t);return Dt(t,(function(t,r,a,i){return 0!=r&&r!=o.count(n.getChildren())-1?e(Ke,{grow:0,alignSelf:a,shrink:i,children:t}):e(Ke,{grow:1,alignSelf:a,shrink:i,children:t})}))},Mt=function(t){return Dt(t,(function(n,r,o,a){var i=e(Ke,{shrink:a,children:n});return t.basises&&r<t.basises.length&&(i=e(Ke,{basis:t.basises[r],shrink:a,children:n})),i}))},qt=function(t){var n=be(t);return Dt(t,(function(r,a,i,l){return 0==a||a==o.count(n.getChildren())-1?e(Ke,{basis:t.basis,shrink:l,children:r}):e(Ke,{grow:1,shrink:l,children:r})}))},Gt=function(e){return Dt(e,void 0,(function(){return qe.Wrap}),(function(){return Ye.Start}))},Xt=function(e){return Dt(e,void 0,(function(){return qe.Wrap}),(function(){return Ye.Center}))},Yt=function(e){return Dt(e,void 0,(function(){return qe.Wrap}),(function(){return Ye.End}))},Zt=function(e){return Dt(e,void 0,(function(){return qe.Wrap}),(function(){return Ye.SpaceAround}),void 0)},Jt=function(e){return Dt(e,void 0,(function(){return qe.Wrap}),(function(){return Ye.SpaceBetween}))},Kt=function(e){return Dt(e,void 0,(function(){return qe.Wrap}),(function(){return Ye.SpaceEvenly}))},Qt={Top:"top",Right:"right",Bottom:"bottom",Left:"left",Center:"center"},$t=function(t){t.image,t.imageWidth,t.imageHeight,t.position;var n,r=k(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=be(C(C({},r),{style:n}));return e(Se,{_base:o,className:t.position?"v-background-".concat(t.position):"v-background",children:t.children})},en=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]=_(_([],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},tn={Json:"json",FormData:"formdata"},nn=function(t){var n=t.ref,r=t.handleSubmitCategory,o=t.handleSubmit,a=t.handleValidateError,i=k(t,["ref","handleSubmitCategory","handleSubmit","handleValidateError"]),l=be(i),c=s(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 u=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===tn.FormData?l:en(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)}}},u,{children:t.children}))},rn=function(t){return e("form",C({className:"v-action-form"},t,{children:t.children}))},on=function(t){var r=t.ref,o=t.type,a=t.label,i=t.icon,l=t.value,c=t.valueHook,u=t.setStateHook,d=t.isValueShow,p=t.gap,g=t.valueSize,m=t.frontColor;t.valueCategory;var v,y=t.valuePadding,b=t.inputStyle,w=t.inputClassName,S=t.placeholderColor,_=t.overWrite,N=t.renderOptions,O=t.onChange,I=t.inheritClassName,B=t.customAttributes,D=k(t,["ref","type","label","icon","value","valueHook","setStateHook","isValueShow","gap","valueSize","frontColor","valueCategory","valuePadding","inputStyle","inputClassName","placeholderColor","overWrite","renderOptions","onChange","inheritClassName","customAttributes"]),E=be(D),L=E.getProps("input").html,R=h({value:void 0!==t.value?t.value:""}),z=R[0],T=R[1],P=s(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]),_&&(v=_(P)),n(Se,{_base:E,className:"v-validity v-input ".concat((S||x.Placeholder)+"-placeholder").concat(I?" ".concat(I):""),children:[n(Et,{display:v?F.None:void 0,children:[n(dt,{gap:p,children:[e(Be,{children:i}),n(Be,{children:[e("input",C({ref:P},B,{className:(w?"".concat(w," "):"")+"".concat(E.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}),O&&O(e),u&&u(e.target.value)}},L)),!!a&&e("label",{htmlFor:t.id?t.id:t.name,children:a})]}),N?N(P):e(Be,{})]}),!!d&&e(vt,{children:e(ze,{padding:y,isAutoSize:t.isAutoSize,fontSize:g||q.Normal,frontColor:m||x.Black,caption:void 0!==z.value?z.value.toString():l?l.toString():""})})]}),!!v&&v]})},an={Default:"default",Circle:"circle",Squared:"squared",Custom:"custom"},ln=function(n){var r=C({},n);!r.cursor&&n.onClick&&(r.cursor=j.Pointer);var l=be(r);return e(t,{children:o.map(n.children,(function(e){return function(e){var t=n.category?n.category:an.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)}))})};ln.displayName="VSvg";var cn,sn,un=l(ln);function dn(){return dn=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},dn.apply(null,arguments)}var fn,hn=function(e){return r.createElement("svg",dn({xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 256 256"},e),cn||(cn=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"})),sn||(sn=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 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),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"})))},vn=function(t){var r=t.isChecked,o=k(t,["isChecked"]);return e(on,C({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(un,{frontColor:t.frontColor,fontSize:t.fontSize,children:e(r?hn:mn,{})}),!!t.label&&e(ze,{frontColor:t.frontColor,fontSize:t.fontSize,caption:t.label?t.label:""})]})}},o))},yn=function(t){return e(on,C({type:"color",isDefaultValue:!0},t))},bn=function(t){return e(on,C({type:"date",isDefaultValue:!0},t))},wn=function(t){return e(on,C({type:"datetime-local",isDefaultValue:!0},t))},Sn=function(t){return e(on,C({inheritClassName:"v-email",isDefaultValue:!0,type:"email"},t))},Cn={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"},kn={Once:"animate__repeat-1",Twice:"animate__repeat-2",Thrice:"animate__repeat-3",Infinite:"animate__infinite"},_n={Slow:"animate__slow",Slower:"animate__slower",Fast:"animate__fast",Faster:"animate__faster"},xn={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})},On=function(t){t.animationCategory,t.animationSpeed;var n=k(t,["animationCategory","animationSpeed"]),r=be(n);return e(Se,{_base:r,className:"v-loading",children:e(Nn,{category:t.animationCategory?t.animationCategory:Cn.Flip,speed:t.animationSpeed?t.animationSpeed:_n.Slower,repeat:kn.Infinite,children:t.children})})};function In(){return In=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},In.apply(null,arguments)}var Bn=function(e){return r.createElement("svg",In({xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 256 256"},e),gn||(gn=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"},En=function(e){return e.name.endsWith(".jpg")||e.name.endsWith(".jpeg")||e.name.endsWith(".png")},Ln=function(e){var t=e.promise;return g(t)},Rn=function(t){var n=t.result,r=t.fallback;return n instanceof Promise?e(p,{fallback:null!=r?r:null,children:e(Ln,{promise:n})}):n},zn=function(t){var r=t.category,o=t.appearance;t.loader;var a=t.loaderSize,i=t.loaderColor,l=t.isPreview,c=t.previewImageWidth,u=t.textLength,d=t.autoUpload,p=t.renderLoader,g=t.renderPreview,m=k(t,["category","appearance","loader","loaderSize","loaderColor","isPreview","previewImageWidth","textLength","autoUpload","renderLoader","renderPreview"]),v=s(null),y=h({inputFiles:[],isLoading:!1,previewVersion:0}),b=y[0],w=y[1],S=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"},N=be(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,S),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(Se,{_base:N,className:"v-file",children:e(on,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,S))},overWrite:function(t){return l?g?e(Be,{cursor:j.Pointer,onClick:function(){var e;null===(e=t.current)||void 0===e||e.click()},children:e(Rn,{result:g(b.inputFiles,b.isLoading,_),fallback:p?p():e(On,{animationCategory:Cn.Flash,children:e(vt,{children:e(un,{fontSize:a,frontColor:i,children:e(Bn,{})})})})})}):r==Dn.Vertical?n(Et,{gap:"1em",onClick:function(){var e;null===(e=t.current)||void 0===e||e.click()},cross:Bt.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:Bt.Center,children:[!!t.objectUrl&&e(Be,{children:e("img",{src:t.objectUrl,alt:t.name,width:c||120})}),e(ze,{fontSize:q.Small,caption:t.name.length>(u||12)?t.name.slice(0,u||12)+"…":t.name})]},"file-".concat(t.name))}))}),!!b.isLoading&&(p?p():e(On,{animationCategory:Cn.Flash,children:e(vt,{children:e(un,{fontSize:a,frontColor:i,children:e(Bn,{})})})}))]}):n(ct,{gap:"1em",children:[n(ct,{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:Bt.Center,children:[!!t.objectUrl&&e(Be,{children:e("img",{src:t.objectUrl,alt:t.name,width:c||120})}),e(ze,{fontSize:q.Small,caption:t.name.length>(u||12)?t.name.slice(0,u||12)+"…":t.name})]},"file-".concat(t.name))}))})]}),!!b.isLoading&&(p?p():e(On,{animationCategory:Cn.Flash,children:e(un,{fontSize:a,frontColor:i,children:e(Bn,{})})}))]}):e(Be,{cursor:j.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"},Pn=function(t){var n=t.category,r=k(t,["category"]),o=be(r),a=o.getProps("img").html,i=n||Tn.Default;return e("img",C({className:o.getClassName("v-image-".concat(i)),style:o.getStyle()},a))};Pn.displayName="VImage";var Fn,jn,Vn=l(Pn),Wn=function(t){return e(on,C({display:F.None,type:"hidden"},t))},An=function(t){var r=t.fileIcon,o=t.base64Image,a=k(t,["fileIcon","base64Image"]),i=be(a),l=h({base64Image:o}),c=l[0],s=l[1];return n(Se,{_base:i,className:"v-base64file",children:[e(Wn,{name:t.name,value:c.base64Image}),e(on,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(Vn,{fontSize:t.fontSize,category:Tn.Scale,src:"data:image/png;base64,".concat(c.base64Image),alt:"file"})]})}},a))]})},Un=function(t){return e(on,C({type:"month",isDefaultValue:!0},t))},Hn=function(t){return e(on,C({type:"number",isDefaultValue:!0},t))},Mn=function(t){return e(on,C({inheritClassName:"v-password",isDefaultValue:!0,type:"password"},t))};function qn(){return qn=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},qn.apply(null,arguments)}var Gn,Xn=function(e){return r.createElement("svg",qn({xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 256 256"},e),Fn||(Fn=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"})),jn||(jn=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 Yn(){return Yn=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},Yn.apply(null,arguments)}var Zn,Jn,Kn=function(e){return r.createElement("svg",Yn({xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 256 256"},e),Gn||(Gn=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=k(t,["isChecked"]);return e(on,C({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(un,{padding:"0.4em",frontColor:t.frontColor,fontSize:t.fontSize,children:e(r?Xn:Kn,{})}),!!t.label&&e(ze,{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=k(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(on,C({type:"range",inputClassName:c},l,{inputStyle:s}))},er=function(t){return e(on,C({type:"search",isDefaultValue:!0,inheritClassName:"v-search"},t))},tr=function(t){var r=t.ref;t.caption,t.isFormNoValidate;var o=k(t,["ref","caption","isFormNoValidate"]),a=s(null);f((function(){"object"==typeof r&&r?r.current=a.current:"function"==typeof r&&r(a.current),t.autoFocus&&a.current&&a.current.focus()}),[r,t.autoFocus]);var i=be(C({onClick:function(){a.current.click()}},o)),l=i.getProps("input").html;return n(Se,{_base:i,className:"v-submit",children:[n(vt,{cross:it.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))]})},nr=function(t){var r=be(t),o=s(null);return n("div",{className:r.getClassName("v-submit-wrapper"),style:r.getStyle(),children:[t.body,e("input",{ref:o,type:"submit"})]})},rr=function(t){return e(on,C({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),Zn||(Zn=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=k(t,["enableClear"]);return e(on,r?C({inheritClassName:"v-textbox",isDefaultValue:!0,type:"text"},o,{renderOptions:function(r){return n(ct,{gap:"0.2em",children:[t.renderOptions&&t.renderOptions(r),e(un,{fontSize:q.ExtraSmall,frontColor:x.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,{})})]})}}):C({inheritClassName:"v-textbox",isDefaultValue:!0,type:"text"},o))},cr=function(t){return e(on,C({type:"time",isDefaultValue:!0},t))},sr=function(t){return e(on,C({inheritClassName:"v-url",isDefaultValue:!0,type:"url"},t))},ur=function(t){return e(on,C({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,pr,gr,mr,vr,yr,br,wr,Sr=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"})))},Cr=function(t){var r=t.isOn,o=t.icon,a=t.gap,i=t.isDisabled,l=t.onSwitch,c=k(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(un,{style:{margin:u.isOn?"0 0.6em 0 0":"0 0 0 0.6em"},frontColor:x.White,fontSize:q.Normal,children:o}):e(Be,{width:"1em",height:"1em"}),g=t.isDisabled?void 0:function(){t.isDisabled||(l&&l(!u.isOn),d({isOn:!u.isOn}))},m=be(C({onClick:g},c));return e(Se,{_base:m,className:i?"v-switch-disabled":"v-switch",children:n(mt,{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:R.ExtraLarge,backgroundColor:u.isOn?t.frontColor?t.frontColor:x.Success:t.backgroundColor?t.backgroundColor:x.Placeholder,gap:a||"0.6em",children:[u.isOn?e(un,{category:an.Circle,frontColor:x.White,children:e(Sr,{})}):p,u.isOn?p:e(un,{category:an.Circle,frontColor:x.White,children:e(Sr,{})})]})})},kr=function(t){var n=t.name;t.items;var r=t.value,o=t.isMultiple;t.fontFamily;var a=k(t,["name","items","value","isMultiple","fontFamily"]),i=be(a),l=i.getProps("select").html;return e(Se,{_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)}))}))})},_r=function(t){var r,o,a,i,l=t.ref,c=t.value,u=t.name,d=t.icon,p=t.emptyIcon,g=t.downIcon,v=t.upIcon,y=t.enableClear,b=t.items,w=t.dockCategory,S=t.dockAlignment,_=t.menuBackgroundColor,N=t.menuZIndex,O=t.menuGap;t.onClick;var I=t.isSelectOnly,D=t.overWriteDropdownMenu,L=t.overWriteDropdownItem,R=t.handleChange,T=t.readOnly,F=k(t,["ref","value","name","icon","emptyIcon","downIcon","upIcon","enableClear","items","dockCategory","dockAlignment","menuBackgroundColor","menuZIndex","menuGap","onClick","isSelectOnly","overWriteDropdownMenu","overWriteDropdownItem","handleChange","readOnly"]),j=be(F),V=h({isSelectionShow:!1,selectValue:c||"",selectCaption:c?b.filter((function(e){return e.value==c}))[0].caption:"",items:b}),W=V[0],A=V[1],U=s(null),H=m(),M=s(null),G=s(null);f((function(){if(W.isSelectionShow){var e=function(e){var t=e.target;M.current&&!M.current.contains(t)&&G.current&&!G.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=U.current:"function"==typeof l&&l(U.current),t.autoFocus&&U.current&&U.current.focus()}),[l,t.autoFocus]);var X=N||We;if(T)return n(ft,{className:j.getClassName("v-dropdown"),style:j.getStyle(t.style),children:[e(ze,{caption:(null===(r=W.selectCaption)||void 0===r?void 0:r.toString())||"",fontSize:t.fontSize,frontColor:t.frontColor}),e(Wn,{name:u,valueHook:null===(o=W.selectValue)||void 0===o?void 0:o.toString()}),e(un,{fontSize:t.iconSize?t.iconSize:q.Small,children:g})]});var Y=M.current?"".concat(M.current.offsetWidth,"px"):void 0;return e(He,{width:"fit-content",overlayZIndex:W.isSelectionShow?X:-2147483648,category:w||Ae.RightBottom,alignment:S||Ue.Vertical,renderOverlay:function(){return e(Be,{ref:G,minWidth:Y,className:"v-dropdown-overlay",children:e(Be,{visibility:W.isSelectionShow?P.Visible:P.Hidden,borderRadius:t.borderRadius,role:"listbox",id:H,children:D?D(W.items):e(Et,{gap:O,padding:t.padding,backgroundColor:_||x.White,borderRadius:t.borderRadius,borderColor:t.borderColor,borderWidth:t.borderWidth,borderStyle:z.Solid,children:0==W.items.length?e(vt,{children:e(un,{fontSize:t.iconSize?t.iconSize:q.Small,children:p})}):W.items.map((function(r){return L?e(Be,{borderRadius:t.borderRadius,role:"option","aria-selected":r.value===W.selectValue,children:L(r)},r.value):n(St,{padding:B.ExtraSmall,gap:E.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})),R&&R(r.value)},children:[r.icon?e(un,{fontSize:q.ExtraSmall,children:r.icon}):void 0,e(ze,{caption:r.caption})]},r.value)}))})})})},children:e(Be,{ref:M,children:n(ft,C({className:j.getClassName("v-dropdown"),style:j.getStyle(t.style)},F,{role:"combobox","aria-expanded":W.isSelectionShow,"aria-haspopup":"listbox","aria-controls":H,onClick:function(){A(C(C({},W),{isSelectionShow:!W.isSelectionShow}))},children:[n(Be,{children:[e(lr,{ref:U,id:t.id,style:{padding:0},fontSize:t.fontSize,frontColor:t.frontColor,icon:e(un,{fontSize:t.iconSize?t.iconSize:q.Small,children:W.selectIcon?W.selectIcon:d}),valueHook:null===(a=W.selectCaption)||void 0===a?void 0:a.toString(),enableClear:y,renderOptions:t.renderOptions,readOnly:I,onChange:I?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(Wn,{name:u,valueHook:null===(i=W.selectValue)||void 0===i?void 0:i.toString()})]}),e(un,{fontSize:t.iconSize?t.iconSize:q.Small,children:W.isSelectionShow?v:g})]}))})})},xr={NewWindow:"_blank",Self:"_self",Parent:"_parent",Top:"_top"},Nr=function(t){var n=t.category,r=t.to,o=k(t,["category","to"]),a=be(o),i=a.getProps("a").html;return e(Se,{_base:a,className:"v-hyperlink",children:e("a",C({href:r,target:n},i,{children:t.children}))})},Or={P:"p",Address:"address",Article:"article",Aside:"aside",Details:"details",Section:"section"},Ir={Justify:0,Left:1,Right:2,Center:3},Br=function(t){var n=t.category;t.alignType;var r,o,a=t.renderContent,i=k(t,["category","alignType","renderContent"]),l=be(i);switch(t.alignType){case Ir.Center:o="v-text-center";break;case Ir.Justify:o="v-text-justify";break;case Ir.Left:o="v-text";break;case Ir.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(Se,{_base:l,className:o,children:r})},Dr=function(t){var r=t.ref;t.icon;var o=t.valueHook,a=t.setStateHook,i=t.placeholderColor,l=k(t,["ref","icon","valueHook","setStateHook","placeholderColor"]),c=be(l),u=c.getProps("textarea").html,d=s(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(Se,{category:we.Display,_base:c,className:"v-validity v-textarea ".concat((i||x.Placeholder)+"-placeholder"),children:n(pt,{cross:it.Top,gap:"0.6em",children:[t.icon,e(Be,{children:e("textarea",C({ref:d},u,{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)}}))})]})})},Er={Default:"default",Fixed:"fixed"},Lr=function(t){t.category;var n=k(t,["category"]),r=be(n);return e(Se,{_base:r,className:"v-ellipse-".concat(t.category?t.category:Er.Default),children:t.children})},Rr={Vertical:"vertical",Horizontal:"horizontal"},zr=function(t){t.category;var n=k(t,["category"]),r=be(n);return e(Se,{_base:r,className:"v-line-".concat(t.category)})},Tr="default",Pr=function(t){t.category;var n=k(t,["category"]),r=be(n);return e(Se,{_base:r,className:"v-rectangle-".concat(t.category?t.category:Tr)})},Fr={Default:"default",Max:"max"},jr=function(n){var r=be(n);return 0===o.toArray(n.children).length?e(ze,{backgroundColor:x.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:Fr.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)}))})},Vr=function(t){t.sources;var n=k(t,["sources"]),r=be(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))}))}))},Wr=function(t){t.sources;var n=k(t,["sources"]),r=be(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))}))}))},Ar=function(t){var n=be(t),r=n.getProps("header").html;return e("header",C({className:n.getClassName("v-header"),style:n.getStyle()},r,{children:t.children}))},Ur=function(t){var n=be(t),r=n.getProps("main").html;return e("main",C({className:n.getClassName("v-main"),style:n.getStyle()},r,{children:t.children}))},Hr=function(t){var n=be(t),r=n.getProps("footer").html;return e("footer",C({className:n.getClassName("v-footer"),style:n.getStyle()},r,{children:t.children}))},Mr=function(t){var n=be(t),r=n.getProps("aside").html;return e("aside",C({className:n.getClassName("v-aside"),style:n.getStyle()},r,{children:t.children}))},qr=function(t){var n=be(t),r=n.getProps("nav").html;return e("nav",C({className:n.getClassName("v-nav"),style:n.getStyle()},r,{children:t.children}))},Gr=function(t){var n=be(t),r=n.getProps("hr").html;return e("hr",C({className:n.getClassName("v-hr"),style:n.getStyle()},r))},Xr=function(t){var n=be(t),r=n.getProps("section").html;return e("section",C({className:n.getClassName("v-section"),style:n.getStyle()},r,{children:t.children}))},Yr=function(t){var n=be(C({width:"100vw",height:"100vh",backgroundColor:x.Dark75},t));return e(Ne,{zIndex:t.zIndex?t.zIndex:We,category:_e.Window,type:xe.Center,children:e(Ie,{children:e(Se,{_base:n,className:"v-mask",children:e(Ne,{category:_e.Area,type:xe.Center,children:t.children})})})})},Zr=function(t){var n,r=t.image,o=t.backingBoard,a=t.style,i=k(t,["image","backingBoard","style"]),l=be(i);return o&&(n=C(C({},a),{background:"linear-gradient(".concat(o.degree,", ").concat(o.startColor,", ").concat(o.endColor,")")})),e(Se,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})}))},Jr="--den-",Kr={Global:"global",Area:"area"},Qr=function(t){var n=t.category,r=t.area,o=t.variables,a=k(t,["category","area","variables"]),i=be(C({id:r},a));return f((function(){var e;n==Kr.Area?r&&(e=document.getElementById(r)):e=document.documentElement,e&&(Object.keys(o.colors).forEach((function(t){e.style.setProperty("".concat(Jr,"color-").concat(t),o.colors[t])})),Object.keys(o.fontSizes).forEach((function(t){e.style.setProperty("".concat(Jr).concat(t),o.fontSizes[t])})),Object.keys(o.fontWeights).forEach((function(t){e.style.setProperty("".concat(Jr).concat(t),o.fontWeights[t])})))}),[]),n==Kr.Area?e(Se,{_base:i,className:"v-theme",children:t.children}):e(ze,{backgroundColor:x.Error,caption:"[VTheme] No Area!"})},$r={Hover:"hover",Click:"click"},eo=function(t){var n,r=t.category,o=t.dockCategory,a=t.dockAlignment,i=t.renderOverlay,l=k(t,["category","dockCategory","dockAlignment","renderOverlay"]),c=be(l),s=h({isShow:!1}),u=s[0],d=s[1],f=m();return n=r||$r.Hover,e(Se,{_base:c,className:"v-tooltip",children:e(He,{category:o,alignment:a,renderOverlay:function(){return u.isShow?e(Be,{role:"tooltip",id:f,children:i()}):e(Be,{className:"v-tooltip-overlay-fragment","aria-hidden":!0})},children:e(Be,{"aria-describedby":u.isShow?f:void 0,onClick:function(){n==$r.Click&&d({isShow:!u.isShow})},onMouseEnter:function(){n==$r.Hover&&d({isShow:!0})},onMouseLeave:function(){n==$r.Hover&&d({isShow:!1})},onFocus:function(){n==$r.Hover&&d({isShow:!0})},onBlur:function(){n==$r.Hover&&d({isShow:!1})},children:t.children})})})},to=function(t){function n(e){var n=t.call(this,e)||this;return n.state={hasError:!1,error:null,errorInfo:null},n}return S(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(ze,{backgroundColor:x.Error,frontColor:x.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),no=function(t){return e(Ie,{children:!!t.badge&&e(Ne,{category:_e.Area,bottom:"0",right:"0",children:"string"==typeof t.badge||t.badge instanceof String?e(Vn,{category:Tn.Circle,fontSize:q.Small,src:t.badge,alt:"null",borderStyle:"solid",borderWidth:"1px",borderColor:x.Light}):e(un,{category:an.Circle,frontColor:x.Secondary,backgroundColor:x.White,fontSize:q.Small,children:t.badge})})})},ro=function(t){var n=be(t),r=n.getProps("template").html;return e("template",C({className:n.getClassName("v-template"),style:n.getStyle()},r,{children:t.children}))},oo=function(t){return e("div",{id:t.id})},ao=function(t){return t.isDebug?e("div",{className:"debug",children:t.children}):e("div",{className:"no-debug",children:t.children})},io={Uninstalled:"uninstalled",Outdated:"outdated",Ready:"ready"},lo=function(t){var n=h({}),r=n[0],o=n[1];if(f((function(){var e;r.status||(e="chrome-extension://".concat(t.extensionId,"/meta.json"),fetch(e).then((function(e){return e.ok?e.json():Promise.reject()})).then((function(e){var n=!t.version||e.version>=t.version;o({status:n?io.Ready:io.Outdated,meta:e})})).catch((function(){return o({status:io.Uninstalled})})))}),[]),r.status){if(t.overWrite)return t.overWrite(r.status,r.meta);var a=void 0;return r.status===io.Ready?e(Be,{className:"v-chrome-extension-validator-fragment"}):(r.status===io.Uninstalled?a=t.uninstalledMessage:r.status===io.Outdated&&(a=t.outdatedMessage),e(Nr,{category:xr.NewWindow,to:t.downloadUrl?t.downloadUrl:"mailto:support@fewbox.com",children:a}))}return e(Be,{className:"v-chrome-extension-validator-fragment"})},co={Normal:"normal",Italic:"italic"},so=function(t){return f((function(){var e=document.createElement("link");e.rel="preconnect",e.href="https://fonts.googleapis.com";var n=document.createElement("link");n.rel="preconnect",n.href="https://fonts.gstatic.com",n.crossOrigin="crossorigin",document.head.appendChild(e),document.head.appendChild(n),t.typefaces.forEach((function(e,t){var n,r,o=e.family,a=null===(n=e.fonts)||void 0===n?void 0:n.filter((function(e){return e.type==co.Italic})),i=a&&a.length>0?"ital,wght":"wght",l=document.createElement("link");l.rel="stylesheet";var c=[];e.fonts&&e.fonts.length>1?(null===(r=e.fonts)||void 0===r||r.forEach((function(e,t){"ital,wght"==i?e.type==co.Normal?c.push("0,".concat(M(e.weight))):e.type==co.Italic&&c.push("1,".concat(M(e.weight))):c.push(M(e.weight).toString())})),l.href="https://fonts.googleapis.com/css2?family=".concat(o,":").concat(i,"@").concat(c.join(";"),"&display=swap")):l.href="https://fonts.googleapis.com/css2?family=".concat(o,"&display=swap"),document.head.appendChild(l)}))}),[]),e(Be,{className:"google-font-fragment"})},uo={Popup:"popup",Redirect:"redirect"},fo={Implicit:"implicit",AuthorizationCode:"authorization-code"},ho="fewbox-google-grant",po=function(t){return f((function(){var e=document.createElement("script");e.src="https://accounts.google.com/gsi/client",t.category==fo.Implicit?e.onload=function(){var e=google.accounts.oauth2.initTokenClient({client_id:t.clientId,scope:t.scope,callback:function(e){var n={accessToken:e.access_token,expiresIn:e.expires_in,hd:e.hd,prompt:e.prompt,tokenType:e.token_type,scope:e.scope,state:e.state,error:e.error,errorDescription:e.error_description,errorUri:e.error_uri};t.callback(n)}});if(t.isAutoRequest)e.requestAccessToken();else{var n=document.getElementById(ho);null==n||n.addEventListener("click",(function(){e.requestAccessToken()}))}t.enableGoogle()}:e.onload=function(){var e=google.accounts.oauth2.initCodeClient({client_id:t.clientId,scope:t.scope,ux_mode:t.uxMode,callback:function(e){var n={code:e.code,scope:e.scope,state:e.state,error:e.error,errorDescription:e.error_description,errorUri:e.error_uri};t.callback(n)}});if(t.isAutoRequest)e.requestCode();else{var n=document.getElementById(ho);null==n||n.addEventListener("click",(function(){e.requestCode()}))}t.enableGoogle()},e.onerror=function(e){console.error(e),t.disableGoogle()},document.body.appendChild(e)}),[t.clientId,t.scope,t.uxMode,t.category,t.isAutoRequest]),t.isAutoRequest?e(Be,{className:"google-grant-fragment"}):e(oo,{id:ho,children:t.children})},go=function(t){return e("div",{className:"figma-signin",onClick:function(){window.location.href="https://www.figma.com/oauth?client_id=".concat(t.clientId,"&redirect_uri=").concat(t.redirectUrl,"&scope=").concat(t.scope,"&state=").concat("fewbox","&response_type=").concat(t.responseType)},children:t.children})};function mo(){return mo=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},mo.apply(null,arguments)}var vo=function(e){return r.createElement("svg",mo({xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 256 256"},e),r.createElement("mask",{id:"google-disable_svg__a",width:200,height:200,x:28,y:28,maskUnits:"userSpaceOnUse",style:{maskType:"luminance"}},hr||(hr=r.createElement("path",{fill:"#fff",d:"M225.674 109.818h-95.348v38.637h54.883c-5.116 24.545-26.511 38.636-54.883 38.636-33.489 0-60.465-26.364-60.465-59.091s26.976-59.09 60.465-59.09c14.418 0 27.441 5 37.674 13.181L197.767 53c-18.139-15.455-41.395-25-67.441-25C73.581 28 28 72.546 28 128s45.581 100 102.326 100C181.488 228 228 191.636 228 128c0-5.909-.93-12.273-2.326-18.182"}))),pr||(pr=r.createElement("g",{mask:"url(#google-disable_svg__a)"},r.createElement("path",{fill:"#BDBDBD",d:"M18.698 187.09V68.908L97.768 128l-79.07 59.091z"}))),r.createElement("mask",{id:"google-disable_svg__b",width:200,height:200,x:28,y:28,maskUnits:"userSpaceOnUse",style:{maskType:"luminance"}},gr||(gr=r.createElement("path",{fill:"#fff",d:"M225.674 109.818h-95.348v38.637h54.883c-5.116 24.545-26.511 38.636-54.883 38.636-33.489 0-60.465-26.364-60.465-59.091s26.976-59.09 60.465-59.09c14.418 0 27.441 5 37.674 13.181L197.767 53c-18.139-15.455-41.395-25-67.441-25C73.581 28 28 72.546 28 128s45.581 100 102.326 100C181.488 228 228 191.636 228 128c0-5.909-.93-12.273-2.326-18.182"}))),mr||(mr=r.createElement("g",{mask:"url(#google-disable_svg__b)"},r.createElement("path",{fill:"#9E9E9E",d:"M18.698 68.908 97.768 128l32.558-27.727 111.628-17.727V18.908H18.698z"}))),r.createElement("mask",{id:"google-disable_svg__c",width:200,height:200,x:28,y:28,maskUnits:"userSpaceOnUse",style:{maskType:"luminance"}},vr||(vr=r.createElement("path",{fill:"#fff",d:"M225.674 109.818h-95.348v38.637h54.883c-5.116 24.545-26.511 38.636-54.883 38.636-33.489 0-60.465-26.364-60.465-59.091s26.976-59.09 60.465-59.09c14.418 0 27.441 5 37.674 13.181L197.767 53c-18.139-15.455-41.395-25-67.441-25C73.581 28 28 72.546 28 128s45.581 100 102.326 100C181.488 228 228 191.636 228 128c0-5.909-.93-12.273-2.326-18.182"}))),yr||(yr=r.createElement("g",{mask:"url(#google-disable_svg__c)"},r.createElement("path",{fill:"#ADADAD",d:"M18.698 187.09 158.233 82.545l36.744 4.545 46.977-68.182V237.09H18.698z"}))),r.createElement("mask",{id:"google-disable_svg__d",width:200,height:200,x:28,y:28,maskUnits:"userSpaceOnUse",style:{maskType:"luminance"}},br||(br=r.createElement("path",{fill:"#fff",d:"M225.674 109.818h-95.348v38.637h54.883c-5.116 24.545-26.511 38.636-54.883 38.636-33.489 0-60.465-26.364-60.465-59.091s26.976-59.09 60.465-59.09c14.418 0 27.441 5 37.674 13.181L197.767 53c-18.139-15.455-41.395-25-67.441-25C73.581 28 28 72.546 28 128s45.581 100 102.326 100C181.488 228 228 191.636 228 128c0-5.909-.93-12.273-2.326-18.182"}))),wr||(wr=r.createElement("g",{mask:"url(#google-disable_svg__d)"},r.createElement("path",{fill:"#757575",d:"M241.954 237.09 97.767 127.999l-18.604-13.636 162.791-45.455z"}))))},yo={Prompt:"prompt",Popup:"popup",Redirect:"redirect"},bo="https://accounts.google.com/gsi/client",wo=!1,So=function(n){var r=n.clientId,o=n.uxMode,a=n.redirectUrl,i=n.gsiButtonConfiguration,l=n.callback,c=n.switchAnotherIdentityProvider,u=n.enableGoogle,d=n.disableGoogle,p=n.googleAuthButtonId,g=p||"fewbox-google-auth",m=s(l),v=s(c),y=s(u),b=s(d),w=h(!1),S=w[0],C=w[1];m.current=l,v.current=c,y.current=u,b.current=d;var k=function(e){console.error(e),C(!0),b.current()};return f((function(){var e;if("undefined"!=typeof document)if(C(!1),r.endsWith(".apps.googleusercontent.com")){if(!wo){var t=!1,n=null,l=function(){try{if(google.accounts.id.initialize({client_id:r,ux_mode:o!=yo.Prompt?o:void 0,use_fedcm_for_prompt:o==yo.Prompt,callback:function(e){m.current(e.credential)},login_uri:a,error_callback:function(){t=!0,n&&(clearTimeout(n),n=null),k("Google Sign-In error callback fired!")}}),o==yo.Prompt)google.accounts.id.prompt((function(e){if((e.isNotDisplayed()||e.isSkippedMoment())&&v.current){var t=e.isNotDisplayed()?e.getNotDisplayedReason():e.getSkippedReason();v.current(t)}})),y.current();else{var e=document.getElementById(g);e?(google.accounts.id.renderButton(e,i||{type:"icon",size:"large",theme:"outline",shape:"circle",logo_alignment:"center"}),n=setTimeout((function(){if(!t){var n=e.querySelector("iframe");n&&n.clientHeight>0?y.current():k("Google Sign-In button render failed!")}}),2e3)):k("The element '".concat(g,"' not found!"))}}catch(e){console.error(e),k("Initialize GSI failed!")}},c=function(){wo=!0,k("Script error!")};if("undefined"!=typeof google&&(null===(e=google.accounts)||void 0===e?void 0:e.id))return l(),function(){n&&(clearTimeout(n),n=null),google.accounts.id.cancel()};var s=document.querySelector('script[src="'.concat(bo,'"]'));if(s)return"true"===s.dataset.gsiError?void c():"true"===s.dataset.gsiReady?(l(),function(){var e;n&&(clearTimeout(n),n=null),"undefined"!=typeof google&&(null===(e=google.accounts)||void 0===e?void 0:e.id)&&google.accounts.id.cancel()}):(s.addEventListener("load",l,{once:!0}),s.addEventListener("error",c,{once:!0}),function(){var e;n&&(clearTimeout(n),n=null),s.removeEventListener("load",l),s.removeEventListener("error",c),"undefined"!=typeof google&&(null===(e=google.accounts)||void 0===e?void 0:e.id)&&google.accounts.id.cancel()});var u=document.createElement("script");return u.src=bo,u.onload=function(){u.dataset.gsiReady="true",l()},u.onerror=function(){u.dataset.gsiError="true",c()},document.body.appendChild(u),function(){var e;n&&(clearTimeout(n),n=null),u.remove(),"undefined"!=typeof google&&(null===(e=google.accounts)||void 0===e?void 0:e.id)&&google.accounts.id.cancel()}}k("GSI script failed!")}else k("Invalid Google client ID: '".concat(r,"'!"))}),[r,o,a,i,g]),o==yo.Prompt?e(t,{}):S?e(un,{fontSize:q.Small,children:e(vo,{})}):e(vt,{children:e(oo,{id:g})})},Co=function(t){return e("div",{className:"wecom-signin",onClick:function(){window.location.href="https://open.work.weixin.qq.com/wwopen/sso/qrConnect?appid=".concat(t.appId,"&agentid=").concat(t.agentId,"&redirect_uri=").concat(t.redirectUrl,"&state=").concat("fewbox")},children:t.children})},ko=function(e){var t={},n=b(e,{header:!0});return t.role=n["http://schemas.microsoft.com/ws/2008/06/identity/claims/role"],t.mobile=n["http://schemas.xmlsoap.org/ws/2005/05/identity/claims/mobilephone"],t.name=n["http://schemas.xmlsoap.org/ws/2005/05/identity/claims/name"],t.email=n["http://schemas.xmlsoap.org/ws/2005/05/identity/claims/emailaddress"],t.exp=n.exp,t.iss=n.iss,t.aud=n.aud,t.expire=t.exp?new Date(1e3*t.exp):new Date(-864e13),t.tenant=n["http://schemas.fewbox.com/jwt/identity/claims/tenant"],t.id=n["http://schemas.fewbox.com/jwt/identity/claims/id"],t.api=n["http://schemas.fewbox.com/jwt/identity/claims/api"],t.issuer=n["http://schemas.fewbox.com/jwt/identity/claims/issuer"],t.audience=n["http://schemas.fewbox.com/jwt/identity/claims/audience"],t.avatar=n["http://schemas.fewbox.com/jwt/identity/claims/avatar"],t};export{Cn as AnimationCategory,xn as AnimationDelay,kn as AnimationRepeat,_n as AnimationSpeed,Qt as BackgroundPositionType,be as Base,R as BorderRadiusType,z as BorderStyleType,T as BorderWidthType,Pe as BreakpointCategory,je as BreakpointDisplay,Fe as BreakpointType,x as ColorType,j as CursorType,ao as Debug,X as DirectionType,F as DisplayType,He as Dock,Ue as DockAlignment,Ae as DockCategory,Er as EllipseCategory,io as ExtensionStatus,go as FigmaSignin,Dn as FileCategory,Ze as Flex,Ye as FlexAlignContentType,Xe as FlexAlignItemsType,Me as FlexDirectionType,Ke as FlexItem,Je as FlexItemAlignSelfType,Ge as FlexJustifyContentType,qe as FlexWrapType,O as FontFamilyType,q as FontSizeType,N as FontWeightType,E as GapType,co as GoogleFontType,po as GoogleGrant,fo as GoogleGrantCategory,uo as GoogleGrantUXMode,So as GoogleSignin,yo as GoogleSigninUXMode,tn as HandleSubmitCategory,xr as HyperlinkCategory,Tn as ImageCategory,Le as LabelAlignType,De as LabelCategory,Ee as LabelType,L as LetterSpacingType,Rr as LineCategory,I as LineHeightType,D as MarginType,U as OpacityType,V as OverflowType,W as OverflowXType,A as OverflowYType,B as PaddingType,Ne as Position,Ie as PositionArea,Oe as PositionAreaCategory,_e as PositionCategory,xe as PositionType,G as PseudoType,Ve as Responsive,we as RootCategory,Qe as SBaseline,$e as SBottom,rt as SCenter,et as SLeft,tt as SMiddle,nt as SRight,ot as SStretch,at as STop,Te as ScreenSizeType,Fr as ShadowCategory,an as SvgCategory,Ir as TextAlignType,Or as TextCategory,Kr as ThemeCategory,$r as TooltipCategory,rn as VActionForm,Nn as VAnimation,Mr as VAside,Vr as VAudio,$t as VBackground,no as VBadge,An as VBase64File,Be as VBoundary,vn as VCheckBox,lo as VChromeExtensionValidator,yn as VColor,bn as VDate,wn as VDatetimeLocal,_r as VDropdown,Lr as VEllipse,Sn as VEmail,to as VErrorBoundary,zn as VFile,Hr as VFooter,nn as VForm,Zr as VFrame,so as VGoogleFont,dr as VGroup,Gr as VHR,Ar as VHeader,Wn as VHidden,Nr as VHyperlink,Vn as VImage,ze as VLabel,zr as VLine,On as VLoading,Ur as VMain,Yr as VMask,Un as VMonth,oo as VMount,qr as VNav,Hn as VNumber,Mn as VPassword,Qn as VRadio,$n as VRange,Pr as VRectangle,er as VSearch,Xr as VSection,kr as VSelect,jr as VShadow,tr as VSubmit,nr as VSubmitWrapper,un as VSvg,Cr as VSwitch,rr as VTel,ro as VTemplate,Br as VText,Dr as VTextArea,lr as VTextBox,Qr as VTheme,cr as VTime,eo as VTooltip,sr as VUrl,Wr as VVideo,ur as VWeek,ke as VZone,H as ViewSizeType,P as VisibilityType,Co as WeComSignin,ct as X,st as XAround,ut as XAutoBoth,dt as XAutoCenter,ft as XAutoLeft,ht as XAutoLefts,pt as XAutoRight,gt as XAutoRights,mt as XBetween,vt as XCenter,it as XCrossType,yt as XCustom,bt as XCustomBoth,wt as XEvenly,St as XLeft,Ct as XRight,kt as XWrapAround,_t as XWrapBetween,xt as XWrapBottom,Nt as XWrapEvenly,Ot as XWrapMiddle,It as XWrapTop,Et as Y,Pt as YAround,Ht as YAutoBoth,Wt as YAutoBottom,Ut as YAutoBottoms,Vt as YAutoCenter,jt as YAutoTop,At as YAutoTops,Lt as YBetween,Tt as YBottom,Bt as YCrossType,Mt as YCustom,qt as YCustomBoth,Ft as YEvenly,Rt as YMiddle,zt as YTop,Zt as YWrapAround,Jt as YWrapBetween,Xt as YWrapCenter,Kt as YWrapEvenly,Gt as YWrapLeft,Yt as YWrapRight,Ce as ZoneCategory,en as convertFormDataToJson,fe as getGeneratedClassName,M as getWeightValue,ko as parseJWT};
|
|
3
3
|
//# sourceMappingURL=index.js.map
|