@fewbox/den-web 0.1.5 → 0.1.7
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/index.css +1 -1
- package/index.js +1 -1
- package/index.js.map +1 -1
- package/package.json +1 -1
- package/src/components/Engine/Base/index.d.ts +0 -2
- package/src/components/View/VAvatar/index.d.ts +1 -0
- package/src/components/View/VImage/{App/index.d.ts → index.d.ts} +1 -1
- package/src/components/View/VInput/VBase64File/{App/index.d.ts → index.d.ts} +1 -1
- package/src/components/View/VInput/VFile/index.d.ts +2 -3
- package/src/components/web.d.ts +2 -0
package/index.js
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import{jsx as e,Fragment as t,jsxs as n}from"react/jsx-runtime";import*as o from"react";import{forwardRef as r,Children as a,cloneElement as i,useRef as c,useEffect as l,createElement as u,useState as s,useImperativeHandle as d}from"react";import{jwtDecode as f}from"jwt-decode";var p;!function(e){e.ExtraSmall="extra-small",e.Small="small",e.Medium="medium",e.Large="large",e.ExtraLarge="extra-large",e.ExtraExtraLarge="extra-extra-large"}(p||(p={}));var g=function(e,t){return g=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])},g(e,t)};function h(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}g(e,t),e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)}var m,v,y,b,C,S,w,k,_=function(){return _=Object.assign||function(e){for(var t,n=1,o=arguments.length;n<o;n++)for(var r in t=arguments[n])Object.prototype.hasOwnProperty.call(t,r)&&(e[r]=t[r]);return e},_.apply(this,arguments)};function x(e,t){var n={};for(var o in e)Object.prototype.hasOwnProperty.call(e,o)&&t.indexOf(o)<0&&(n[o]=e[o]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols){var r=0;for(o=Object.getOwnPropertySymbols(e);r<o.length;r++)t.indexOf(o[r])<0&&Object.prototype.propertyIsEnumerable.call(e,o[r])&&(n[o[r]]=e[o[r]])}return n}function B(e,t,n){if(n||2===arguments.length)for(var o,r=0,a=t.length;r<a;r++)!o&&r in t||(o||(o=Array.prototype.slice.call(t,0,r)),o[r]=t[r]);return e.concat(o||Array.prototype.slice.call(t))}"function"==typeof SuppressedError&&SuppressedError,function(e){e.Font="font",e.Body="body",e.White="white",e.Black="black",e.Light="light",e.Light75="light75",e.Light50="light50",e.Light25="light25",e.Dark="dark",e.Dark75="dark75",e.Dark50="dark50",e.Dark25="dark25",e.Primary="primary",e.Primary75="primary75",e.Primary50="primary50",e.Primary25="primary25",e.Secondary="secondary",e.Secondary75="secondary75",e.Secondary50="secondary50",e.Secondary25="secondary25",e.Tertiary="tertiary",e.Tertiary75="tertiary75",e.Tertiary50="tertiary50",e.Tertiary25="tertiary25",e.Info="info",e.Info75="info75",e.Info50="info50",e.Info25="info25",e.Success="success",e.Success75="success75",e.Success50="success50",e.Success25="success25",e.Warning="warning",e.Warning75="warning75",e.Warning50="warning50",e.Warning25="warning25",e.Error="error",e.Error75="error75",e.Error50="error50",e.Error25="error25",e.Border="border",e.Border75="border75",e.Border50="border50",e.Border25="border25",e.Placeholder="placeholder",e.Placeholder75="placeholder75",e.Placeholder50="placeholder50",e.Placeholder25="placeholder25",e.Transparent="transparent"}(m||(m={})),function(e){e.Thin="font-weight-thin",e.ExtraLight="font-weight-extra-light",e.Light="font-weight-light",e.Regular="font-weight-regular",e.Medium="font-weight-medium",e.SemiBold="font-weight-semi-bold",e.Bold="font-weight-bold",e.ExtraBold="font-weight-extra-bold",e.Black="font-weight-black"}(v||(v={})),function(e){e.Default="font-family"}(y||(y={})),function(e){e.Default="line-height"}(b||(b={})),function(e){e.Default="padding"}(C||(C={})),function(e){e.Default="letter-spacing"}(S||(S={})),function(e){e.Default="border-radius",e.Fixed="border-radius-fixed",e.Max="border-radius-max"}(w||(w={})),function(e){e.Ellipse="v-ellipse-size",e.Rectangle="v-rectangle-size",e.Image="v-image-size",e.Svg="v-svg-size",e.Window="v-window-size"}(k||(k={}));var T,V,I,L,R=function(e){var t;switch(e){case v.Thin:t=100;break;case v.ExtraLight:t=200;break;case v.Light:t=300;break;case v.Regular:t=400;break;case v.Medium:t=500;break;case v.SemiBold:t=600;break;case v.Bold:t=700;break;case v.ExtraBold:t=800;break;case v.Black:t=900;break;default:t=400}return t};!function(e){e.Default="font-size",e.Normal="font-size-normal",e.Small="font-size-small",e.ExtraSmall="font-size-extra-small",e.Large="font-size-large",e.ExtraLarge="font-size-extra-large",e.AutoNormal="auto-font-size-normal",e.AutoSmall="auto-font-size-small",e.AutoExtraSmall="auto-font-size-extra-small",e.AutoLarge="auto-font-size-large",e.AutoExtraLarge="auto-font-size-extra-large"}(T||(T={})),function(e){e.All="all",e.Before="before",e.After="after"}(V||(V={})),function(e){e.All="all",e.Top="top",e.Right="right",e.Bottom="bottom",e.Left="left",e.ExceptTop="except-top",e.ExceptRight="except-right",e.ExceptBottom="except-bottom",e.ExceptLeft="except-left",e.RightTop="right-top",e.RightBottom="right-bottom",e.LeftTop="left-top",e.LeftBottom="left-bottom",e.TopBottom="top-bottom",e.LeftRight="left-right"}(I||(I={})),function(e){e.Flex="Flex",e.FlexItem="FlexItem",e.Position="Position",e.PositionArea="PositionArea",e.SBaseline="SBaseline",e.SBottom="SBottom",e.SLeft="SLeft",e.SMiddle="SMiddle",e.SCenter="SCenter",e.SRight="SRight",e.SStretch="SStretch",e.STop="STop",e.X="X",e.XAround="XAround",e.XAutoBoth="XAutoBoth",e.XAutoCenter="XAutoCenter",e.XAutoLeft="XAutoLeft",e.XAutoLefts="XAutoLefts",e.XAutoRight="XAutoRight",e.XAutoRights="XAutoRights",e.XBetween="XBetween",e.XCenter="XCenter",e.XCustom="XCustom",e.XCustomBoth="XCustomBoth",e.XEvenly="XEvenly",e.XLeft="XLeft",e.XRight="XRight",e.XWrap="XWrap",e.XWrapAround="XWrapAround",e.XWrapBetween="XWrapBetween",e.XWrapBottom="XWrapBottom",e.XWrapEvenly="XWrapEvenly",e.XWrapMiddle="XWrapMiddle",e.XWrapTop="XWrapTop",e.Y="Y",e.YAround="YAround",e.YBetween="YBetween",e.YBottom="YBottom",e.YEvenly="YEvenly",e.YMiddle="YMiddle",e.YTop="YTop",e.VEllipse="VEllipse",e.VLine="VLine",e.VRectangle="VRectangle",e.VAvatar="VAvatar",e.VBlock="VBlock",e.VBoundary="VBoundary",e.VButton="VButton",e.VCard="VCard",e.VCardMedia="VCardMedia",e.VCardSocial="VCardSocial",e.VCardWindow="VCardWindow",e.VChromeExtensionValidator="VChromeExtensionValidator",e.VCodePreview="VCodePreview",e.VDesigner="VDesigner",e.VDynamic="VDynamic",e.VBackground="VBackground",e.VForm="VForm",e.VImage="VImage",e.VCheckBox="VCheckBox",e.VColor="VColor",e.VDate="VDate",e.VDatetimeLocal="VDatetimeLocal",e.VEmail="VEmail",e.VFile="VFile",e.VMonth="VMonth",e.VNumber="VNumber",e.VPassword="VPassword",e.VRadio="VRadio",e.VRange="VRange",e.VSearch="VSearch",e.VSubmit="VSubmit",e.VTel="VTel",e.VTextBox="VTextBox",e.VTime="VTime",e.VUrl="VUrl",e.VWeek="VWeek",e.VLabel="VLabel",e.VLink="VLink",e.VPhoto="VPhoto",e.VShadow="VShadow",e.VStack="VStack",e.VSvg="VSvg",e.VText="VText",e.VTooltip="VTooltip"}(L||(L={}));var D,N=function(){function e(e){this.className=e}return e.prototype.getClassName=function(){return"".concat(this.className)},e}(),O=function(e){this.component=e},E=function(e){function t(t,n,o){var r=e.call(this,t)||this;return r.sizeType=n,r.isAuto=o,r}return h(t,e),t.prototype.getClassName=function(){if(this.sizeType){var e=void 0;return e=Object.values(T).includes(this.sizeType)?this.sizeType:"font-size-".concat(this.sizeType),"".concat(this.component.getClassName()," ").concat(this.isAuto?"auto-".concat(e):e)}return this.component.getClassName()},t}(O),A=function(e){function t(t,n){var o=e.call(this,t)||this;return o.weightType=n,o}return h(t,e),t.prototype.getClassName=function(){return this.weightType?"".concat(this.component.getClassName()," ").concat(this.weightType):this.component.getClassName()},t}(O),W=function(e){function t(t,n,o,r,a,i,c,l,u,s,d){var f=e.call(this,t)||this;return f.isDefaultValue=n,f.frontColorType=o,f.backgroundColorType=r,f.borderColorType=a,f.borderDirectionType=i,f.pseudoType=c,f.pseudoFrontColorType=l,f.pseudoBackgroundColorType=u,f.pseudoBorderColorType=s,f.pseudoBorderDirectionType=d,f}return h(t,e),t.prototype.getBorderPrefix=function(e){return e?"-".concat(e):""},t.prototype.getBorderColorClassName=function(e,t,n){var o,r=this.getBorderPrefix(n);switch(t){case I.Bottom:o=" ".concat(e).concat(r,"-border-bottom");break;case I.ExceptBottom:o=" ".concat(e).concat(r,"-border-except-bottom");break;case I.ExceptLeft:o=" ".concat(e).concat(r,"-border-except-left");break;case I.ExceptRight:o=" ".concat(e).concat(r,"-border-except-right");break;case I.ExceptTop:o=" ".concat(e).concat(r,"-border-except-top");break;case I.Left:o=" ".concat(e).concat(r,"-border-left");break;case I.LeftBottom:o=" ".concat(e).concat(r,"-border-left-bottom");break;case I.LeftRight:o=" ".concat(e).concat(r,"-border-left-right");break;case I.LeftTop:o=" ".concat(e).concat(r,"-border-left-top");break;case I.Right:o=" ".concat(e).concat(r,"-border-right");break;case I.RightBottom:o=" ".concat(e).concat(r,"-border-right-bottom");break;case I.RightTop:o=" ".concat(e).concat(r,"-border-right-top");break;case I.Top:o=" ".concat(e).concat(r,"-border-top");break;case I.TopBottom:o=" ".concat(e).concat(r,"-border-bottom");break;default:o=" ".concat(e).concat(r,"-border")}return o},t.prototype.getClassName=function(){var e,t,n=this.backgroundColorType?" ".concat(this.backgroundColorType,"-background"):this.isDefaultValue?" ".concat(m.White,"-background"):"",o=this.pseudoBackgroundColorType?" ".concat(this.pseudoBackgroundColorType,"-before-background"):this.isDefaultValue?" ".concat(m.White,"-before-background"):"",r=this.pseudoBackgroundColorType?" ".concat(this.pseudoBackgroundColorType,"-after-background"):this.isDefaultValue?" ".concat(m.White,"-after-background"):"",a="".concat(o).concat(r),i=this.frontColorType?" ".concat(this.frontColorType,"-front"):this.isDefaultValue?" ".concat(m.Black,"-front"):"",c=this.pseudoFrontColorType?" ".concat(this.pseudoFrontColorType,"-before-front"):this.isDefaultValue?" ".concat(m.Black,"-before-front"):"",l=this.pseudoFrontColorType?" ".concat(this.pseudoFrontColorType,"-after-front"):this.isDefaultValue?" ".concat(m.Black,"-after-front"):"",u="".concat(c).concat(l);return e=this.borderColorType?this.borderDirectionType?this.getBorderColorClassName(this.borderColorType,this.borderDirectionType):" ".concat(this.borderColorType).concat(this.getBorderPrefix(this.pseudoType),"-border"):this.isDefaultValue?" ".concat(m.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(m.Transparent).concat(this.getBorderPrefix(this.pseudoType),"-border"):"":"","".concat(this.component.getClassName()).concat(n).concat(a).concat(i).concat(u).concat(e).concat(t)},t}(O),z=function(e,t,n,o,r,a,i,c,l,u,s,d,f,p){return new W(new E(new A(new N(e),r),n,o),t,a,i,c,l,u,s,d,f,p).getClassName()},F=["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"],P=["id","title","dir","lang","translate","tabIndex","accessKey","contentEditable","spellCheck","draggable","enterKeyHint","inputMode","autoCapitalize","role","slot","htmlFor","hidden","is"],X=["onError","onLoad"],U=["onAbort","onCanPlay","onCanPlayThrough","onDurationChange","onEmptied","onEncrypted","onEnded","onError","onLoadedData","onLoadedMetadata","onLoadStart","onPause","onPlay","onPlaying","onProgress","onRateChange","onResize","onSeeked","onSeeking","onStalled","onSuspend","onTimeUpdate","onVolumeChange","onWaiting"],M={div:B(B([],F,!0),P,!0),input:B(B(B(B([],F,!0),P,!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:B(B(B([],F,!0),P,!0),["rows","cols","wrap"],!0),template:B(B([],F,!0),P,!0),abbr:B(B([],F,!0),P,!0),span:B(B([],F,!0),P,!0),h1:B(B([],F,!0),P,!0),h2:B(B([],F,!0),P,!0),h3:B(B([],F,!0),P,!0),h4:B(B([],F,!0),P,!0),h5:B(B([],F,!0),P,!0),h6:B(B([],F,!0),P,!0),i:B(B([],F,!0),P,!0),b:B(B([],F,!0),P,!0),u:B(B([],F,!0),P,!0),em:B(B([],F,!0),P,!0),strong:B(B([],F,!0),P,!0),blockquote:B(B([],F,!0),P,!0),cite:B(B([],F,!0),P,!0),code:B(B([],F,!0),P,!0),del:B(B([],F,!0),P,!0),dfn:B(B([],F,!0),P,!0),ins:B(B([],F,!0),P,!0),kbd:B(B([],F,!0),P,!0),mark:B(B([],F,!0),P,!0),pre:B(B([],F,!0),P,!0),q:B(B([],F,!0),P,!0),s:B(B([],F,!0),P,!0),samp:B(B([],F,!0),P,!0),small:B(B([],F,!0),P,!0),summary:B(B([],F,!0),P,!0),sup:B(B([],F,!0),P,!0),sub:B(B([],F,!0),P,!0),time:B(B([],F,!0),P,!0),var:B(B([],F,!0),P,!0),wbr:B(B([],F,!0),P,!0),p:B(B([],F,!0),P,!0),address:B(B([],F,!0),P,!0),article:B(B([],F,!0),P,!0),aside:B(B([],F,!0),P,!0),details:B(B(B([],F,!0),P,!0),["onToggle"],!0),section:B(B([],F,!0),P,!0),form:B(B(B([],F,!0),P,!0),["onReset","onSubmit"],!0),dialog:B(B(B([],F,!0),P,!0),["onCancel","onClose"],!0),img:B(B(B(B([],F,!0),P,!0),X,!0),["src","alt","width","height","crossOrigin","decoding","loading","referrerPolicy","sizes","srcSet","title","role"],!0),iframe:B(B(B(B([],F,!0),P,!0),X,!0),["src","srcDoc","width","height","name","sandbox","allow","allowFullScreen","loading","referrerPolicy","title","role"],!0),object:B(B(B([],F,!0),P,!0),X,!0),embed:B(B(B([],F,!0),P,!0),X,!0),link:B(B(B([],F,!0),P,!0),X,!0),svg:B(B(B([],F,!0),P,!0),X,!0),audio:B(B(B([],F,!0),P,!0),U,!0),video:B(B(B([],F,!0),P,!0),U,!0)},j=function(e){return{getClassName:function(t){var n=z(t,e.isDefaultValue,e.fontSize,e.isAutoSize,e.fontWeight,e.frontColor,e.backgroundColor,e.borderColor,e.borderDirection,e.pseudoType,e.pseudoFrontColor,e.pseudoBackgroundColor,e.pseudoBorderColor,e.pseudoBorderDirection);return e.className?"".concat(e.className," ").concat(n):n},getStyle:function(){var t={borderRadius:e.borderRadius,borderWidth:e.borderWidth,borderStyle:e.borderStyle,borderColor:e.borderColor,padding:e.padding,margin:e.margin,height:e.height,width:e.width,minHeight:e.minHeight,minWidth:e.minWidth,maxHeight:e.maxHeight,maxWidth:e.maxWidth,opacity:e.opacity,display:e.display,zIndex:e.zIndex,visibility:e.visibility,fontFamily:e.fontFamily,letterSpacing:e.letterSpacing,lineHeight:e.lineHeight,cursor:e.cursor,overflow:e.overflow,overflowX:e.overflowX,overflowY:e.overflowY};return _(_({},e.style),t)},getChildren:function(){return e.children&&Object.keys(e.children).indexOf("type")>-1&&null==e.children.type.name&&"VBoundary"!=e.children.type.displayName?e.children.props.children:e.children},getProps:function(t){var n={},o=Object.keys(e);return o.length>0&&o.forEach((function(o){M[t]&&M[t].includes(o)&&(n[o]=e[o])})),n}}},H=r((function(t,n){var o=t.vClassName,r=x(t,["vClassName"]),a=j(r);return e("div",_({ref:n,className:a.getClassName(o),style:a.getStyle()},a.getProps("div"),{children:t.children}))}));!function(e){e.Fluid="fluid",e.Small="small",e.Medium="medium",e.Large="large",e.ExtraLarge="extra-large",e.ExtraExtraLarge="extra-extra-large"}(D||(D={}));var Y,G;!function(e){e.Visiable="visiable",e.Hidden="hidden"}(Y||(Y={})),function(e){e.Only="only",e.Up="up",e.Down="down"}(G||(G={}));var q,J=function(n){return n.children?e(t,{children:a.map(n.children,(function(e){return function(e){if(e&&e.props){var t=void 0;return n.breakpoint?"string"==typeof n.breakpoint?n.type&&n.type!=G.Only?n.type==G.Up?t="".concat(n.breakpoint,"-up-").concat(n.category):n.type==G.Down&&(t="".concat(n.breakpoint,"-down-").concat(n.category)):t="".concat(n.breakpoint,"-").concat(n.category):t=n.breakpoint.map((function(e,t){return"".concat(e,"-").concat(n.category)})).join(" "):t=n.category,i(e,{className:t})}return e}(e)}))}):e(t,{})};!function(e){e.Top="top",e.Right="right",e.Bottom="bottom",e.Left="left",e.LeftTop="left-top",e.RightTop="right-top",e.LeftBottom="left-bottom",e.RightBottom="right-bottom",e.LeftInnerTop="left-inner-top",e.RightInnerTop="right-inner-top",e.LeftInnerBottom="left-inner-bottom",e.RightInnerBottom="right-inner-bottom"}(q||(q={}));var Z,K,Q=function(t){var o,r=c(null),a=c(null),i=c(null),u=function(){if(a.current&&i.current&&r.current)if(t.category==q.Bottom||t.category==q.Top){var e="-".concat(Math.abs(i.current.offsetWidth-a.current.offsetWidth)/2,"px");a.current.style.marginLeft=e}else if(t.category==q.Left||t.category==q.Right){var n="".concat(Math.abs(i.current.offsetHeight-r.current.offsetHeight)/2,"px");r.current.style.top=n}else if(t.category==q.LeftTop){e="-".concat(a.current.offsetWidth,"px");a.current.style.marginLeft=e}else if(t.category==q.LeftBottom){e="-".concat(a.current.offsetWidth,"px");a.current.style.marginLeft=e}else if(t.category==q.RightTop){e="".concat(i.current.offsetWidth,"px");a.current.style.marginLeft=e}else if(t.category==q.RightBottom){e="".concat(i.current.offsetWidth,"px");a.current.style.marginLeft=e}else if(t.category==q.LeftInnerTop);else if(t.category==q.LeftInnerBottom);else if(t.category==q.RightInnerTop){e="".concat(i.current.offsetWidth-a.current.offsetWidth,"px");a.current.style.marginLeft=e}else if(t.category==q.RightInnerBottom){e="".concat(i.current.offsetWidth-a.current.offsetWidth,"px");a.current.style.marginLeft=e}};if(l((function(){a.current&&new ResizeObserver((function(e){u()})).observe(a.current);u()}),[]),t.category)switch(t.category){case q.Bottom:o="dock-overlay-bottom";break;case q.Left:o="dock-overlay-left";break;case q.LeftBottom:o="dock-overlay-leftbottom";break;case q.LeftTop:o="dock-overlay-lefttop";break;case q.Right:o="dock-overlay-right";break;case q.RightBottom:o="dock-overlay-rightbottom";break;case q.RightTop:o="dock-overlay-righttop";break;case q.Top:o="dock-overlay-top";break;case q.LeftInnerBottom:o="dock-overlay-leftinnerbottom";break;case q.LeftInnerTop:o="dock-overlay-leftinnertop";break;case q.RightInnerBottom:o="dock-overlay-rightinnerbottom";break;case q.RightInnerTop:o="dock-overlay-rightinnertop";break;default:o="dock-overlay"}return n("div",{className:"dock",children:[e("div",{id:"dockOverlay",style:{zIndex:t.zIndex},className:o,ref:r,children:e("div",{ref:a,children:t.renderOverlay()})}),e("div",{id:"dockContent",className:"dock-content",ref:i,onClick:function(e){t.onClick&&t.onClick(e)},children:t.children})]})};!function(e){e.Edge="edge",e.Window="window",e.Area="area",e.Self="self"}(Z||(Z={})),function(e){e.Top="top",e.Right="right",e.Bottom="bottom",e.Left="left",e.LeftTop="left-top",e.RightTop="right-top",e.LeftBottom="left-bottom",e.RightBottom="right-bottom",e.Center="center"}(K||(K={}));var $,ee=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 o=void 0;return o=_(_({},t.style),{zIndex:t.zIndex}),e("div",{className:n,style:o,children:t.children})}o=void 0;return o=t.category!=Z.Self?_(_({},t.style),{top:t.top,right:t.right,bottom:t.bottom,left:t.left,zIndex:t.zIndex}):_(_({},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:o,children:t.children})};!function(e){e.Default="default",e.FullSize="full-size"}($||($={}));var te,ne,oe,re,ae,ie=function(n){return e(t,{children:a.map(n.children,(function(e){return function(e){var t="position-area-".concat(n.category?n.category:$.Default," ").concat(e.props.className);return i(e,{className:t})}(e)}))})};!function(e){e.Row="row",e.RowReverse="row-reverse",e.Column="column",e.ColumnReverse="column-reverse"}(te||(te={})),function(e){e.NoWrap="nowrap",e.Wrap="wrap"}(ne||(ne={})),function(e){e.Start="flex-start",e.Center="center",e.End="flex-end",e.SpaceBetween="space-between",e.SpaceAround="space-around",e.SpaceEvenly="space-evenly"}(oe||(oe={})),function(e){e.Start="flex-start",e.Center="center",e.End="flex-end",e.Stretch="stretch",e.Baseline="baseline"}(re||(re={})),function(e){e.Start="flex-start",e.Center="center",e.End="flex-end",e.SpaceBetween="space-between",e.SpaceAround="space-around",e.SpaceEvenly="space-evenly"}(ae||(ae={}));var ce,le=function(t){t.vClassName;var n=t.direction,o=t.wrap,r=t.justifyContent,a=t.alignItems,i=t.alignContent,c=t.gap,l=x(t,["vClassName","direction","wrap","justifyContent","alignItems","alignContent","gap"]),u=j(l),s=_(_({},u.getStyle()),{gap:c,cursor:t.cursor?t.cursor:t.onClick?"pointer":"inherit"}),d=t.overflow?"flex-".concat(t.overflow):"flex-hidden",f=n?" flex-direction-".concat(n):"",p=o?" flex-wrap-".concat(o):"",g=r?" flex-justify-content-".concat(r):"",h=a?" flex-align-items-".concat(a):"",m=i?" flex-align-content-".concat(i):"",v="".concat(d).concat(f).concat(p).concat(g).concat(h).concat(m),y=u.getClassName(v);return e("div",_({className:y,style:s},u.getProps("div"),{children:t.children}))};!function(e){e.Start="start",e.Center="center",e.End="end",e.Stretch="stretch",e.Baseline="baseline"}(ce||(ce={}));var ue,se=function(n){return n.children&&Object.keys(n.children).indexOf("type")>-1?e(t,{children:a.map(n.children,(function(o){return function(o){var r={};if(n.order&&(r.order=n.order),n.basis&&(r.flexBasis=n.basis),n.grow&&(r.flexGrow=n.grow),n.shrink&&(r.flexShrink=n.shrink),o.props){var a=_(_({},r),o.props?o.props.style:null),c=n.alignSelf?" flex-align-self-".concat(n.alignSelf):"",l=o.props.className?" ".concat(o.props.className):"",u="flex-item".concat(c).concat(l);return i(o,{className:u,style:a})}return console.debug(o),e(t,{children:"Please check child."})}(o)}))}):e(t,{})};!function(e){e.Top="top",e.Middle="middle",e.Bottom="bottom",e.Stretch="stretch",e.Baseline="baseline"}(ue||(ue={}));var de,fe=function(n,o,r,i,c){n.cross;var l=x(n,["cross"]),u=j(l),s=function(t,n,r){return o?o(t,n,r):e(se,{alignSelf:r,children:t},"child".concat(n))};return e(le,_({vClassName:"v-xbase",alignItems:function(){var e;if(n.cross)switch(n.cross){case ue.Stretch:e=re.Stretch;break;case ue.Baseline:e=re.Baseline;break;case ue.Bottom:e=re.End;break;case ue.Middle:e=re.Center;break;case ue.Top:e=re.Start;break;default:e=re.Center}else e=re.Center;return e}(),wrap:r?r():ne.NoWrap,justifyContent:i?i():oe.Start,alignContent:c?c():ae.Start},l,{children:a.map(u.getChildren(),(function(n,o){var r=n;return r?r.type?"STop"===r.props.typeName?s(r.props.children,o,ce.Start):"SMiddle"===r.props.typeName?s(r.props.children,o,ce.Center):"SBottom"===r.props.typeName?s(r.props.children,o,ce.End):"SStretch"===r.props.typeName?s(r.props.children,o,ce.Stretch):"SBaseline"===r.props.typeName?s(r.props.children,o,ce.Baseline):s(r,o):(console.debug(r),e(t,{children:"Please check X layout children."})):void 0}))}))},pe=function(t){return fe(t,(function(t,n,o){return e(se,{grow:1,alignSelf:o,children:t})}))},ge=function(t){var n=j(t);return fe(t,(function(t,o,r){return 0!=o&&o!=a.count(n.getChildren())-1?e(se,{grow:1,alignSelf:r,children:t}):e(se,{grow:0,alignSelf:r,children:t})}))},he=function(t){var n=j(t);return fe(t,(function(t,o){return o==a.count(n.getChildren())-1?e(se,{grow:1,children:t}):e(se,{grow:0,children:t})}))},me=function(e){return fe(e,void 0,void 0,(function(){return oe.Center}))},ve=function(e){return fe(e)};!function(e){e.Left="left",e.Center="center",e.Right="right",e.Baseline="baseline",e.Stretch="stretch"}(de||(de={}));var ye,be=function(n,o,r,i,c){var l=n.cross,u=x(n,["cross"]),s=j(u),d=function(t,n,r){return o?o(t,n,r):e(se,{alignSelf:r,children:t},"child".concat(n))};return e(le,_({vClassName:"v-ybase",wrap:r?r():ne.NoWrap,alignContent:i?i():ae.Start,alignItems:function(){var e;if(l)switch(l){case de.Left:e=re.Start;break;case de.Center:e=re.Center;break;case de.Right:e=re.End;break;case de.Baseline:e=re.Baseline;break;default:e=re.Stretch}else e=re.Stretch;return e}(),direction:te.Column,justifyContent:c?c():oe.Start},u,{children:a.map(s.getChildren(),(function(n,o){var r=n;return r?r.type?r&&"SLeft"===r.props.typeName?d(r.props.children,o,ce.Start):r&&"SMiddle"===r.props.typeName||r&&"SCenter"===r.props.typeName?d(r.props.children,o,ce.Center):r&&"SRight"===r.props.typeName?d(r.props.children,o,ce.End):r&&"SStretch"===r.props.typeName?d(r.props.children,o,ce.Stretch):r&&"SBaseline"===r.props.typeName?d(r.props.children,o,ce.Baseline):d(n,o):(console.debug(r),e(t,{children:"Please check Y layout children."})):void 0}))}))},Ce=function(t){return be(t,(function(t,n,o){return e(se,{grow:1,alignSelf:o,children:t})}))};!function(e){e.Top="top",e.Right="right",e.Bottom="bottom",e.Left="left",e.Center="center"}(ye||(ye={}));var Se,we=function(e){var t={};return e.forEach((function(e,n){var o,r=!1;n.startsWith("#")?(r=!0,o=n.substring(1).split(".")):o=n.split(".");var a=t;o.forEach((function(t,n){if(n==o.length-1)if(t.endsWith("[]")){var i=t.replace("[]","");Object.keys(a).filter((function(e){return e==i})).length>0?a[i]=B(B([],a[i],!0),[r?JSON.parse(e.toString()):e],!1):a[i]=[r?JSON.parse(e.toString()):e]}else a[t]=r?JSON.parse(e.toString()):e;else t in a||(a[t]={}),a=a[t]}))})),t};!function(e){e.Json="json",e.FormData="formdata"}(Se||(Se={}));var ke,_e,xe;!function(e){e.Div="div",e.Abbr="abbr",e.Span="span",e.H1="h1",e.H2="h2",e.H3="h3",e.H4="h4",e.H5="h5",e.H6="h6",e.I="i",e.B="b",e.U="u",e.Em="em",e.Strong="strong",e.Blockquote="blockquote",e.Cite="cite",e.Code="code",e.Del="del",e.Dfn="dfn",e.Ins="ins",e.Kbd="kbd",e.Mark="mark",e.Pre="pre",e.Q="q",e.S="s",e.Samp="samp",e.Small="small",e.Summary="summary",e.Sup="sup",e.Sub="sub",e.Time="time",e.Var="var",e.Wbr="wbr"}(ke||(ke={})),function(e){e.Default="default",e.Circle="circle"}(_e||(_e={})),function(e){e[e.Justify=0]="Justify",e[e.Left=1]="Left",e[e.Right=2]="Right",e[e.Center=3]="Center"}(xe||(xe={}));var Be=function(t){var n,o,r=t.category,a=t.type,i=t.alignType,c=t.isTextOverflow,l=t.caption,s=x(t,["category","type","alignType","isTextOverflow","caption"]),d=j(s);switch(i){case xe.Center:o="v-label-center";break;case xe.Justify:o="v-label-justify";break;case xe.Left:o="v-label";break;case xe.Right:o="v-label-right";break;default:o="v-label"}if(a==_e.Circle&&(o="".concat(o,"-circle")),c&&(o+=" v-label-text-overflow"),r){var f=r;n=u(f,d.getProps(f),l)}else n=u("span",d.getProps("span"),l);return a==_e.Circle?e(ie,{children:e(H,_({vClassName:o,width:"1.6em",height:"1.6em",borderRadius:"2em"},s,{children:e(ee,{category:Z.Area,type:K.Center,children:n})}))}):e(H,_({display:null==t.category||t.category==ke.Span?"inline-block":"block",vClassName:o},s,{children:n}))},Te=r((function(t,n){return e(H,_({id:t.id,ref:n,vClassName:"v-boundary"},t,{children:t.children}))}));Te.displayName="VBoundary";var Ve,Ie=r((function(t,o){var r=t.type,a=t.label,i=t.icon,u=t.extensions,f=t.value,p=t.valueHook,g=t.setStateHook,h=t.isValueShow,v=t.isReadonly,y=t.valueSize,b=t.valueColor;t.valueCategory;var C,S=t.valuePadding,w=t.inputStyle,k=t.inputClassName,B=t.overWrite,V=t.onChange,I=t.inheritClassName,L=t.customAttibutes,R=t.isFocus,D=x(t,["type","label","icon","extensions","value","valueHook","setStateHook","isValueShow","isReadonly","valueSize","valueColor","valueCategory","valuePadding","inputStyle","inputClassName","overWrite","onChange","inheritClassName","customAttibutes","isFocus"]),N=s({value:void 0!==t.value?t.value:""}),O=N[0],E=N[1],A=c(null),W=c(null),z=c(null);return d(o,(function(){return z.current}),[]),l((function(){var e;o?null===(e=z.current)||void 0===e||e.focus():R&&A.current&&A.current.focus()}),[]),B&&(C=B(o?z:A)),n(H,_({vClassName:"v-validity v-input".concat(I?" ".concat(I):"")},D,{children:[n(Ce,{display:C?"none":void 0,children:[n(ge,{gap:"0.6em",children:[e(Te,{children:!!i&&i}),n(Te,{children:[e("input",_({ref:o?z:A},L,{className:k,style:_(_({},w),{display:v?"none":"block"}),type:r,value:p||O.value,onChange:function(e){var t,n;h&&E({value:o?null===(t=z.current)||void 0===t?void 0:t.value:null===(n=A.current)||void 0===n?void 0:n.value}),V&&V(e),g?g(e.target.value):E({value:e.target.value})}},D)),!!v&&e("div",{ref:t.readonlyRef?t.readonlyRef:W,children:p||(O.value?O.value.toString():"")}),!!a&&e("label",{htmlFor:t.id?t.id:t.name,children:a})]}),e(Te,{children:!!u&&e(pe,{children:u.map((function(t,n){return e("span",{className:"extension",onClick:function(){var e=o?z.current:A.current;t.handleOption(e)},children:t.option},"extension".concat(n))}))})})]}),!!h&&e(me,{children:e(Be,{padding:S,isAutoSize:t.isAutoSize,fontSize:y||T.Normal,frontColor:b||m.Black,caption:void 0!==O.value?O.value.toString():f?f.toString():""})})]}),!!C&&C]}))}));!function(e){e.Default="default",e.Circle="circle",e.Squared="squared",e.Custom="custom"}(Ve||(Ve={}));var Le,Re,De=function(n){var o=j(n);return e(t,{children:a.map(n.children,(function(e){return function(e){var t=n.category?n.category:Ve.Default,r=o.getClassName("v-svg-".concat(t)),a=n.onClick,c=n.onMouseEnter,l=n.onMouseLeave,u=_(_({},o.getStyle()),{cursor:a?"pointer":"inherit"});return i(e,{className:r,style:u,onClick:a,onMouseEnter:c,onMouseLeave:l})}(e)}))})};function Ne(){return Ne=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var o in n)({}).hasOwnProperty.call(n,o)&&(e[o]=n[o])}return e},Ne.apply(null,arguments)}var Oe,Ee=function(e){return o.createElement("svg",Ne({xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 256 256"},e),Le||(Le=o.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"})),Re||(Re=o.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 Ae(){return Ae=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var o in n)({}).hasOwnProperty.call(n,o)&&(e[o]=n[o])}return e},Ae.apply(null,arguments)}var We,ze,Fe,Pe,Xe=function(e){return o.createElement("svg",Ae({xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 256 256"},e),Oe||(Oe=o.createElement("path",{fill:"currentColor",d:"M40.562 228h174.876c3.334 0 6.528-1.324 8.884-3.682a12.57 12.57 0 0 0 3.678-8.886V40.568a12.57 12.57 0 0 0-3.678-8.886A12.55 12.55 0 0 0 215.438 28H40.562a12.56 12.56 0 0 0-8.884 3.682A12.57 12.57 0 0 0 28 40.568v174.864a12.57 12.57 0 0 0 3.678 8.886A12.56 12.56 0 0 0 40.562 228m4.044-169.236v-.002c0-4 1.588-7.835 4.414-10.664a15.07 15.07 0 0 1 10.659-4.416h138.453a15.07 15.07 0 0 1 10.659 4.416 15.1 15.1 0 0 1 4.416 10.664v138.473c0 3.999-1.59 7.835-4.416 10.663a15.07 15.07 0 0 1-10.659 4.417H59.755a15.07 15.07 0 0 1-10.658-4.417 15.08 15.08 0 0 1-4.415-10.663z"})))};!function(e){e.Bounce="animate__bounce",e.Flash="animate__flash",e.Pulse="animate__pulse",e.RubberBand="animate__rubberBand",e.ShakeX="animate__shakeX",e.ShakeY="animate__shakeY",e.HeadShake="animate__headShake",e.Swing="animate__swing",e.Tada="animate__tada",e.Wobble="animate__wobble",e.Jello="animate__jello",e.HeartBeat="animate__heartBeat",e.BackInDown="animate__backInDown",e.BackInLeft="animate__backInLeft",e.BackInRight="animate__backInRight",e.BackInUp="animate__backInUp",e.BackOutDown="animate__backOutDown",e.BackOutLeft="animate__backOutLeft",e.BackOutRight="animate__backOutRight",e.BackOutUp="animate__backOutUp",e.BounceIn="animate__bounceIn",e.BounceInDown="animate__bounceInDown",e.BounceInLeft="animate__bounceInLeft",e.BounceInRight="animate__bounceInRight",e.BounceInUp="animate__bounceInUp",e.BounceOut="animate__bounceOut",e.BounceOutDown="animate__bounceOutDown",e.BounceOutLeft="animate__bounceOutLeft",e.BounceOutRight="animate__bounceOutRight",e.BounceOutUp="animate__bounceOutUp",e.FadeIn="animate__fadeIn",e.FadeInDown="animate__fadeInDown",e.FadeInDownBig="animate__fadeInDownBig",e.FadeInLeft="animate__fadeInLeft",e.FadeInLeftBig="animate__fadeInLeftBig",e.FadeInRight="animate__fadeInRight",e.FadeInRightBig="animate__fadeInRightBig",e.FadeInUp="animate__fadeInUp",e.FadeInUpBig="animate__fadeInUpBig",e.FadeInTopLeft="animate__fadeInTopLeft",e.FadeInTopRight="animate__fadeInTopRight",e.FadeInBottomLeft="animate__fadeInBottomLeft",e.FadeInBottomRight="animate__fadeInBottomRight",e.FadeOut="animate__fadeOut",e.FadeOutDown="animate__fadeOutDown",e.FadeOutDownBig="animate__fadeOutDownBig",e.FadeOutLeft="animate__fadeOutLeft",e.FadeOutLeftBig="animate__fadeOutLeftBig",e.FadeOutRight="animate__fadeOutRight",e.FadeOutRightBig="animate__fadeOutRightBig",e.FadeOutUp="animate__fadeOutUp",e.FadeOutUpBig="animate__fadeOutUpBig",e.FadeOutTopLeft="animate__fadeOutTopLeft",e.FadeOutTopRight="animate__fadeOutTopRight",e.FadeOutBottomLeft="animate__fadeOutBottomLeft",e.FadeOutBottomRight="animate__fadeOutBottomRight",e.Flip="animate__flip",e.FlipInX="animate__flipInX",e.FlipInY="animate__flipInY",e.FlipOutX="animate__flipOutX",e.FlipOutY="animate__flipOutY",e.LightSpeedInRight="animate__lightSpeedInRight",e.LightSpeedInLeft="animate__lightSpeedInLeft",e.LightSpeedOutRight="animate__lightSpeedOutRight",e.LightSpeedOutLeft="animate__lightSpeedOutLeft",e.RotateIn="animate__rotateIn",e.RotateInDownLeft="animate__rotateInDownLeft",e.RotateInDownRight="animate__rotateInDownRight",e.RotateInUpLeft="animate__rotateInUpLeft",e.RotateInUpRight="animate__rotateInUpRight",e.RotateOut="animate__rotateOut",e.RotateOutDownLeft="animate__rotateOutDownLeft",e.RotateOutDownRight="animate__rotateOutDownRight",e.RotateOutUpLeft="animate__rotateOutUpLeft",e.RotateOutUpRight="animate__rotateOutUpRight",e.Hinge="animate__hinge",e.JackInTheBox="animate__jackInTheBox",e.RollIn="animate__zoomIn",e.RollOut="animate__zoomIn",e.ZoomIn="animate__zoomIn",e.ZoomInDown="animate__zoomInDown",e.ZoomInLeft="animate__zoomInLeft",e.ZoomInRight="animate__zoomInRight",e.ZoomInUp="animate__zoomInUp",e.ZoomOut="animate__zoomOut",e.ZoomOutDown="animate__zoomOutDown",e.ZoomOutLeft="animate__zoomOutLeft",e.ZoomOutRight="animate__zoomOutRight",e.ZoomOutUp="animate__zoomOutUp",e.SlideInDown="animate__slideInDown",e.SlideInLeft="animate__slideInLeft",e.SlideInRight="animate__slideInRight",e.SlideInUp="animate__slideInUp",e.SlideOutDown="animate__slideOutDown",e.SlideOutLeft="animate__slideOutLeft",e.SlideOutRight="animate__slideOutRight",e.SlideOutUp="animate__slideOutUp"}(We||(We={})),function(e){e.Once="animate__repeat-1",e.Twice="animate__repeat-2",e.Thrice="animate__repeat-3",e.Infinite="animate__infinite"}(ze||(ze={})),function(e){e.Slow="animate__slow",e.Slower="animate__slower",e.Fast="animate__fast",e.Faster="animate__faster"}(Fe||(Fe={})),function(e){e.Delay1Second="animate__delay-1s",e.Delay2Second="animate__delay-2s",e.Delay3Second="animate__delay-3s",e.Delay4Second="animate__delay-4s",e.Delay5Second="animate__delay-5s"}(Pe||(Pe={}));var Ue,Me=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})},je=function(t){var n=j(t);return e(Te,_({className:n.getClassName("v-loading"),style:n.getStyle()},t,{children:e(Me,{category:t.animationCategory?t.animationCategory:We.Flip,speed:t.animationSpeed?t.animationSpeed:Fe.Slower,repeat:ze.Infinite,children:t.children})}))};function He(){return He=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var o in n)({}).hasOwnProperty.call(n,o)&&(e[o]=n[o])}return e},He.apply(null,arguments)}var Ye,Ge=function(e){return o.createElement("svg",He({xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 256 256"},e),Ue||(Ue=o.createElement("path",{fill:"currentColor",fillRule:"evenodd",d:"M142.37 28c14.247 0 25.795 11.548 25.795 25.795s-11.548 25.799-25.795 25.799-25.796-11.551-25.796-25.799S128.122 28 142.37 28m65.108 50.223c7.122 7.125 7.122 18.673 0 25.796-7.122 7.125-18.673 7.125-25.795 0-7.126-7.123-7.126-18.67 0-25.796 7.122-7.122 18.673-7.122 25.795 0m13.977 76.209c0 9.032-7.318 16.35-16.35 16.35-9.03 0-16.348-7.318-16.348-16.35 0-9.03 7.318-16.348 16.348-16.348 9.032 0 16.35 7.318 16.35 16.348m-45.928 59.961c-4.277 4.278-11.215 4.278-15.493 0-4.28-4.28-4.28-11.218 0-15.496 4.278-4.28 11.216-4.28 15.493 0 4.281 4.278 4.281 11.216 0 15.496M104.469 228c-5.98 0-10.83-4.847-10.83-10.83s4.85-10.83 10.83-10.83c5.983 0 10.83 4.847 10.83 10.83S110.452 228 104.469 228m-58.417-41.95c-3.426-3.426-3.426-8.982 0-12.411 3.43-3.426 8.985-3.426 12.412 0a8.77 8.77 0 0 1 0 12.411 8.773 8.773 0 0 1-12.412 0M34 116.534a7.733 7.733 0 1 1 15.466-.002 7.733 7.733 0 0 1-15.466.002m41.858-55.412a4.53 4.53 0 0 1 6.398 0 4.52 4.52 0 0 1 0 6.399 4.52 4.52 0 0 1-6.398 0 4.53 4.53 0 0 1 0-6.399",clipRule:"evenodd"})))};!function(e){e.Vertical="Vertical",e.Horizontal="Horizontal"}(Ye||(Ye={}));var qe,Je,Ze=function(e){return e.name.endsWith(".jpg")||e.name.endsWith(".jpeg")||e.name.endsWith(".png")};function Ke(){return Ke=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var o in n)({}).hasOwnProperty.call(n,o)&&(e[o]=n[o])}return e},Ke.apply(null,arguments)}var Qe,$e=function(e){return o.createElement("svg",Ke({xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 256 256"},e),qe||(qe=o.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"})),Je||(Je=o.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 et(){return et=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var o in n)({}).hasOwnProperty.call(n,o)&&(e[o]=n[o])}return e},et.apply(null,arguments)}var tt,nt,ot=function(e){return o.createElement("svg",et({xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 256 256"},e),Qe||(Qe=o.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 rt(){return rt=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var o in n)({}).hasOwnProperty.call(n,o)&&(e[o]=n[o])}return e},rt.apply(null,arguments)}var at,it=function(e){return o.createElement("svg",rt({xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 256 256"},e),tt||(tt=o.createElement("rect",{width:20,height:200,x:50,y:64,fill:"currentColor",rx:10,transform:"rotate(-45 50 64)"})),nt||(nt=o.createElement("rect",{width:20,height:200,fill:"currentColor",rx:10,transform:"scale(-1 1)rotate(-45 -25.527 280.136)"})))},ct=r((function(t,n){var o,r=t.enableClear,a=x(t,["enableClear"]);if(r){var i={option:e(De,{fontSize:T.ExtraSmall,frontColor:m.Placeholder,onClick:function(){},children:e(it,{})}),handleOption:function(e){e.value=""}};o=t.extensions?B(B([],t.extensions,!0),[i],!1):[i]}else t.extensions&&(o=t.extensions);return e(Ie,_({ref:n,readonlyRef:t.readonlyRef,inheritClassName:"v-textbox",isDefaultValue:!0,type:"text"},a,{extensions:o}))})),lt=r((function(t,n){return e(Ie,_({ref:n,display:"none",type:"hidden",id:t.id?t.id:t.name},t))}));!function(e){e.NewWindow="_blank",e.Self="_self",e.Parent="_parent",e.Top="_top"}(at||(at={}));var ut,st=function(t){var n=t.category,o=t.to,r=x(t,["category","to"]),a=j(r);return e(H,_({vClassName:"v-hyperlink"},r,{children:e("a",_({href:o,target:n,className:a.getClassName("v-hyperlink-a"),style:a.getStyle()},a.getProps("a"),{children:t.children}))}))};!function(e){e.Uninstalled="uninstalled",e.Outdated="outdated",e.Ready="ready"}(ut||(ut={}));var dt,ft;!function(e){e.P="p",e.Address="address",e.Article="article",e.Aside="aside",e.Details="details",e.Section="section"}(dt||(dt={})),function(e){e[e.Justify=0]="Justify",e[e.Left=1]="Left",e[e.Right=2]="Right",e[e.Center=3]="Center"}(ft||(ft={}));var pt,gt=r((function(t,o){t.icon;var r=t.value,a=t.valueHook,i=t.setStateHook,l=x(t,["icon","value","valueHook","setStateHook"]),u=j(l),d=s({value:r}),f=d[0],p=d[1],g=c(null);return e(H,_({vClassName:"v-validity v-textarea"},l,{children:n(he,{cross:ue.Top,gap:"0.6em",children:[t.icon,e(Te,{children:e("textarea",_({ref:o||g,id:t.id?t.id:t.name,value:a?t.valueHook:f.value},u.getProps("textarea"),{onChange:function(e){t.onChange&&t.onChange(e),i?i(e.target.value):p({value:e.target.value})}}))})]})}))}));!function(e){e.Default="default",e.Fixed="fixed"}(pt||(pt={}));var ht;!function(e){e.Vertical="vertical",e.Horizontal="horizontal"}(ht||(ht={}));var mt;!function(e){e.Default="default",e.Fixed="fixed"}(mt||(mt={}));var vt;!function(e){e.Default="default",e.Max="max"}(vt||(vt={}));var yt;!function(e){e.Normal="normal",e.Italic="italic"}(yt||(yt={}));var bt,Ct;!function(e){e.Popup="popup",e.Redirect="redirect"}(bt||(bt={})),function(e){e.Implicit="implicit",e.AuthorizationCode="authorization-code"}(Ct||(Ct={}));var St,wt="fewbox-google-grant";!function(e){e.Prompt="prompt",e.Popup="popup",e.Redirect="redirect"}(St||(St={}));var kt,_t="fewbox-google-auth",xt=Object.freeze({__proto__:null,get AnimationCategory(){return We},get AnimationDelay(){return Pe},get AnimationRepeat(){return ze},get AnimationSpeed(){return Fe},get BackgroundPositionType(){return ye},Base:j,get BorderRadiusType(){return w},get BreakpointType(){return p},get ColorType(){return m},get ComponentType(){return L},Debug:function(t){return t.isDebug?e("div",{className:"debug",children:t.children}):e("div",{className:"no-debug",children:t.children})},Display:J,get DisplayCategory(){return Y},get DisplayType(){return G},Dock:Q,get DockCategory(){return q},get EllipseCategory(){return pt},get ExtensionStatus(){return ut},FigmaSignin: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})},get FileCategory(){return Ye},Flex:le,get FlexAlignContentType(){return ae},get FlexAlignItemsType(){return re},get FlexDirectionType(){return te},FlexItem:se,get FlexItemAlignSelfType(){return ce},get FlexJustifyContentType(){return oe},get FlexWrapType(){return ne},get FontFamilyType(){return y},get FontWeightType(){return v},get GoogleFontType(){return yt},GoogleGrant:function(n){return l((function(){var e=document.createElement("script");e.src="https://accounts.google.com/gsi/client",n.category==Ct.Implicit?e.onload=function(){var e=google.accounts.oauth2.initTokenClient({client_id:n.clientId,scope:n.scope,callback:function(e){var t={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};n.callback(t)}});if(n.isAutoRequest)e.requestAccessToken();else{var t=document.getElementById(wt);null==t||t.addEventListener("click",(function(){e.requestAccessToken()}))}n.enableGoogle()}:e.onload=function(){var e=google.accounts.oauth2.initCodeClient({client_id:n.clientId,scope:n.scope,ux_mode:n.uxMode,callback:function(e){var t={code:e.code,scope:e.scope,state:e.state,error:e.error,errorDescription:e.error_description,errorUri:e.error_uri};n.callback(t)}});if(n.isAutoRequest)e.requestCode();else{var t=document.getElementById(wt);null==t||t.addEventListener("click",(function(){e.requestCode()}))}n.enableGoogle()},e.onerror=function(e){console.error(e),n.disableGoogle()},document.body.appendChild(e)}),[]),n.isAutoRequest?e(t,{}):e(Te,{id:wt,children:n.children})},get GoogleGrantCategory(){return Ct},get GoogleGrantUXMode(){return bt},GoogleSignin:function(t){return l((function(){var e=document.createElement("script");e.src="https://accounts.google.com/gsi/client",e.onload=function(){if(google.accounts.id.initialize({client_id:t.clientId,ux_mode:t.uxMode!=St.Prompt?t.uxMode:void 0,use_fedcm_for_prompt:t.uxMode==St.Prompt,callback:function(e){t.callback(e.credential)},login_uri:t.redirectUrl}),t.uxMode==St.Prompt)google.accounts.id.prompt((function(e){(e.isNotDisplayed()||e.isSkippedMoment())&&t.switchAnotherIdentityProvider&&t.switchAnotherIdentityProvider(e.getNotDisplayedReason())}));else{var e=document.getElementById(t.googleAuthButtonId?t.googleAuthButtonId:_t);e?google.accounts.id.renderButton(e,t.gsiButtonConfiguration?t.gsiButtonConfiguration:{type:"icon",size:"large",theme:"outline",shape:"circle",logo_alignment:"center"}):(console.error("The element google-auth not found!"),t.disableGoogle())}t.enableGoogle()},e.onerror=function(e){console.error(e),t.disableGoogle()},document.body.appendChild(e)}),[]),e(Te,{id:t.googleAuthButtonId?t.googleAuthButtonId:_t})},get GoogleSigninUXMode(){return St},get HandleSubmitCategory(){return Se},get HyperlinkCategory(){return at},get LabelAlignType(){return xe},get LabelCategory(){return ke},get LabelType(){return _e},get LetterSpacingType(){return S},get LineCategory(){return ht},get LineHeightType(){return b},get PaddingType(){return C},Position:ee,PositionArea:ie,get PositionAreaCategory(){return $},get PositionCategory(){return Z},get PositionType(){return K},Responsive:function(o){return n(t,{children:[e(J,{category:Y.Hidden,type:G.Down,breakpoint:o.breakpointType?o.breakpointType:p.Small,children:o.desktop}),e(J,{category:Y.Hidden,type:G.Up,breakpoint:o.breakpointType?o.breakpointType:p.Small,children:o.mobile})]})},SBaseline:function(n){return e(t,{children:n.children})},SBottom:function(n){return e(t,{children:n.children})},SCenter:function(n){return e(t,{children:n.children})},SLeft:function(n){return e(t,{children:n.children})},SMiddle:function(n){return e(t,{children:n.children})},SRight:function(n){return e(t,{children:n.children})},SStretch:function(n){return e(t,{children:n.children})},STop:function(n){return e(t,{children:n.children})},get ShadowCategory(){return vt},get SizeType(){return T},get SvgCategory(){return Ve},get TextAlignType(){return ft},get TextCategory(){return dt},VActionForm:function(t){return e("form",_({className:"v-action-form"},t,{children:t.children}))},VAnimation:Me,VAudio:function(t){t.sources;var n=x(t,["sources"]),o=j(n);return e("audio",_({className:o.getClassName("v-audio"),style:o.getStyle(),controls:!0},o.getProps("audio"),{children:t.sources.map((function(t,n){return e("source",{src:t.src,type:t.type},"source".concat(n))}))}))},VBackground:function(t){t.image,t.imageWidth,t.imageHeight,t.position;var n,o=x(t,["image","imageWidth","imageHeight","position"]);return n=t.imageWidth&&t.imageHeight?{backgroundImage:'url("'.concat(t.image,'")'),backgroundSize:"".concat(t.imageWidth," ").concat(t.imageHeight)}:{backgroundImage:'url("'.concat(t.image,'")')},e(H,_({vClassName:t.position?"v-background-".concat(t.position):"v-background",style:n},o,{children:t.children}))},VBoundary:Te,VCheckBox:function(t){var o=t.isChecked,r=x(t,["isChecked"]),a=s({isChecked:o}),i=a[0],c=a[1];return e(Ie,{isAutoSize:t.isAutoSize,customAttibutes:{defaultChecked:!!i.isChecked},inheritClassName:"v-checkbox",type:"checkbox",isDefaultValue:!0,overWrite:function(o){return n(ve,_({gap:"0.2em",onClick:function(){var e,t;null===(e=o.current)||void 0===e||e.click(),(null===(t=o.current)||void 0===t?void 0:t.hasAttribute("checked"))?c({isChecked:!1}):c({isChecked:!0})}},r,{children:[e(De,{frontColor:t.frontColor,fontSize:t.fontSize,children:i.isChecked?e(Ee,{}):e(Xe,{})}),e(Be,{frontColor:t.frontColor,fontSize:t.fontSize,caption:t.label?t.label:""})]}))}})},VChromeExtensionValidator:function(t){var n,o=s({}),r=o[0],a=o[1];return l((function(){var e;r.status||(e=!1,window.addEventListener("extension-meta-".concat(t.extensionId),(function(n){e=!0,n.detail?n.detail.version?t.version?n.detail.version>=t.version?a(_(_({},r),{status:ut.Ready})):a(_(_({},r),{status:ut.Outdated})):a(_(_({},r),{status:ut.Ready})):a(_(_({},r),{status:ut.Outdated})):a(_(_({},r),{status:ut.Uninstalled}))})),window.dispatchEvent(new CustomEvent("validate-extension-".concat(t.extensionId),{detail:{id:t.extensionId}})),setTimeout((function(){e||a(_(_({},r),{status:ut.Uninstalled}))}),t.waitingTime?t.waitingTime:1e3))})),r.status===ut.Uninstalled?n=t.uninstalledCaption:r.status===ut.Outdated&&(n=t.outdatedCaption),e(Te,{children:!(r.status===ut.Ready)&&(t.overWrite&&r.status?t.overWrite(r.status):e(st,{category:at.NewWindow,to:t.downloadUrl?t.downloadUrl:"mailto:support@fewbox.com",children:n}))})},VColor:function(t){return e(Ie,_({type:"color",isDefaultValue:!0},t))},VDate:function(t){return e(Ie,_({type:"date",isDefaultValue:!0},t))},VDatetimeLocal:function(t){return e(Ie,_({type:"datetime-local",isDefaultValue:!0},t))},VDropdown:function(o){var r,a,i=o.value,u=o.name,d=o.icon,f=o.emptyIcon,p=o.downIcon,g=o.upIcon,h=o.enableClear,v=o.isReadonly,y=o.items,b=o.extensions,C=o.overWriteDropdownItem,S=o.handleChange,w=x(o,["value","name","icon","emptyIcon","downIcon","upIcon","enableClear","isReadonly","items","extensions","overWriteDropdownItem","handleChange"]),k=s({isSelectionShow:!1,selectValue:i||"",selectCaption:i?y.filter((function(e){return e.value==i}))[0].caption:"",items:y}),B=k[0],V=k[1],I=c(null),L=c(null),R=c(null);l((function(){var e=window.document.getElementById("".concat(u,"-dock"));if(e){var t=0;d&&(t+=2),t+=b?4*(b.length+1):4,e.style.width=v?R.current?"calc(".concat(R.current.offsetWidth,"px + ").concat(t,"em)"):"12em":L.current?"calc(".concat(L.current.offsetWidth,"px + ").concat(t,"em)"):"12em"}}));return n(H,_({vClassName:"v-dropdown"},w,{children:[e(lt,{id:o.id?o.id:u,name:u,valueHook:null===(r=B.selectValue)||void 0===r?void 0:r.toString(),ref:I}),e(Q,{zIndex:B.isSelectionShow?2e9:-2e9,category:q.RightInnerBottom,renderOverlay:function(){return e(Te,{id:"".concat(u,"-dock"),visibility:B.isSelectionShow?"visible":"hidden",borderRadius:o.borderRadius,children:n(Ce,{backgroundColor:m.White,padding:"1em 0",gap:"0.6em",borderRadius:"0.2em",borderColor:o.borderColor,borderWidth:o.borderWidth,borderStyle:"solid",children:[B.items.map((function(o,r){return C?e(Te,{children:C(o)},"item".concat(r)):n(ve,{gap:"0.2em",padding:"0.2em 1em",className:"item",onClick:function(){V(_(_({},B),{isSelectionShow:!1,selectIcon:o.icon,selectCaption:o.caption,selectValue:o.value,items:y})),S&&S(o.value)},children:[o.icon?e(De,{fontSize:T.ExtraSmall,children:o.icon}):e(t,{}),e(Be,{caption:o.caption})]},"item".concat(r))})),!(0!=B.items.length)&&e(De,{fontSize:T.ExtraSmall,onClick:function(){},children:f})]})})},children:e(ct,{padding:o.padding,isReadonly:v,fontSize:o.fontSize,icon:e(De,{fontSize:o.fontSize?o.fontSize:T.Normal,children:B.selectIcon?B.selectIcon:d}),valueHook:null===(a=B.selectCaption)||void 0===a?void 0:a.toString(),enableClear:h,extensions:[{option:e(De,{fontSize:o.fontSize?o.fontSize:T.Small,onClick:function(){},children:B.isSelectionShow?g:p}),handleOption:function(e){V(_(_({},B),{isSelectionShow:!B.isSelectionShow}))}}],onClick:function(){V(_(_({},B),{isSelectionShow:!B.isSelectionShow}))},onChange:function(e){var t;t=e.target.value,V(_(_({},B),{isSelectionShow:!0,selectCaption:t,items:y.filter((function(e){return e.caption.toLowerCase().indexOf(t.toLowerCase())>-1}))}))},ref:L,readonlyRef:R,borderRadius:o.borderRadius,frontColor:B.selectValue===B.selectCaption?o.frontColor:m.Error})})]}))},VEllipse:function(t){t.category;var n=x(t,["category"]);return e(H,_({vClassName:"v-ellipse-".concat(t.category?t.category:pt.Default)},n,{children:t.children}))},VEmail:function(t){return e(Ie,_({inheritClassName:"v-email",isDefaultValue:!0,type:"email"},t))},VFile:function(t){var o=t.category,r=t.fileIcon,a=t.caption;t.emptyMessage;var i=t.loaderSize,u=t.loaderColor,d=t.previewImageWidth,f=t.textLength,p=t.autoUpload,g=t.renderLoader,h=x(t,["category","fileIcon","caption","emptyMessage","loaderSize","loaderColor","previewImageWidth","textLength","autoUpload","renderLoader"]),m=c(null),v=s({inputFiles:[],isLoading:!1}),y=v[0],b=v[1],C=function(){b((function(e){return _(_({},e),{isLoading:!1})}))};l((function(){return function(){return y.inputFiles.forEach((function(e){e.objectUrl&&URL.revokeObjectURL(e.objectUrl)}))}}),[y.inputFiles]);var S=function(e){e.preventDefault(),e.currentTarget.className="v-file"};return e(Te,{className:"v-file",onDrop:function(e){e.preventDefault();var t=Array.from(e.dataTransfer.files),n=t.map((function(e){return{name:e.name,objectUrl:Ze(e)?URL.createObjectURL(e):void 0}}));n.length>0&&(p?(b(_(_({},y),{inputFiles:n,isLoading:!0})),p(t,C),e.currentTarget.className="v-file"):(b(_(_({},y),{inputFiles:n})),e.currentTarget.className="v-file",console.error("Need Todo.")))},onDragOver:function(e){e.preventDefault(),e.currentTarget.className="v-file on-drag"},onDragEnd:S,onDragLeave:S,onDragExit:S,children:e(Ie,_({type:"file",isDefaultValue:!0,ref:m},h,{onChange:function(e){var t,n=Array.from(null!==(t=e.target.files)&&void 0!==t?t:[]),o=n.map((function(e){return{name:e.name,objectUrl:Ze(e)?URL.createObjectURL(e):void 0}}));b(_(_({},y),{inputFiles:o})),p&&(b(_(_({},y),{inputFiles:o,isLoading:!0})),p(n,C))},overWrite:function(t){return o&&o==Ye.Vertical?n(Ce,{gap:"1em",onClick:function(){var e;null===(e=t.current)||void 0===e||e.click()},cross:de.Center,children:[!(0!=y.inputFiles.length)&&r,e(Te,{children:a}),e(Ce,{gap:"0.6em",children:y.inputFiles.map((function(t,o){return n(Ce,{cross:de.Center,children:[!!t.objectUrl&&e(Te,{children:e("img",{src:t.objectUrl,alt:t.name,width:d||120})}),e(Be,{fontSize:T.Small,caption:t.name.length>(f||12)?t.name.slice(0,f||12)+"…":t.name})]},"image-file".concat(o))}))}),!!y.isLoading&&(g?g():e(je,{animationCategory:We.Flash,children:e(me,{children:e(De,{fontSize:i,frontColor:u,children:e(Ge,{})})})}))]}):n(Ce,{gap:"1em",cross:de.Center,children:[n(pe,{gap:"1em",onClick:function(){var e;null===(e=t.current)||void 0===e||e.click()},children:[!(0!=y.inputFiles.length)&&r,e(Ce,{gap:"0.6em",children:y.inputFiles.map((function(t,o){return n(Ce,{cross:de.Center,children:[!!t.objectUrl&&e(Te,{children:e("img",{src:t.objectUrl,alt:t.name,width:d||120})}),e(Be,{fontSize:T.Small,caption:t.name.length>(f||12)?t.name.slice(0,f||12)+"…":t.name})]},"image-file".concat(o))}))})]}),e(Te,{children:a}),!!y.isLoading&&(g?g():e(je,{animationCategory:We.Flash,children:e(De,{fontSize:i,frontColor:u,children:e(Ge,{})})}))]})}}))})},VFooter:function(t){var n=j(t);return e("footer",_({className:n.getClassName("v-footer"),style:n.getStyle()},n.getProps("footer"),{children:t.children}))},VForm:function(t){t.handleSubmitCategory;var n=x(t,["handleSubmitCategory"]),o=j(n);return e("form",_({className:o.getClassName("v-form"),style:o.getStyle(),onSubmit:function(e){if(e.preventDefault(),!t.handleValidateError||e.currentTarget.checkValidity()){for(var n=0;n<e.currentTarget.elements.length;n++){(i=(a=e.currentTarget.elements.item(n)).closest(".v-validity"))&&(i.className=i.className.replace(" invalid",""))}var o=new FormData(e.currentTarget);if(t.handleSubmitCategory==Se.FormData)t.handleSubmit(o);else{var r=we(o);t.handleSubmit(r)}}else for(n=0;n<e.currentTarget.elements.length;n++){var a,i;(i=(a=e.currentTarget.elements.item(n)).closest(".v-validity"))&&(a.checkValidity()?i.className=i.className.replace(" invalid",""):-1==i.className.indexOf("invalid")&&(i.className+=" invalid")),t.handleValidateError(a)}}},o.getProps("form"),{children:t.children}))},VFrame:function(t){var n,o=t.image,r=t.backingBoard,a=t.style,i=x(t,["image","backingBoard","style"]);return r&&(n=_(_({},a),{background:"linear-gradient(".concat(r.degree,", ").concat(r.startColor,", ").concat(r.endColor,")")})),e(H,_({vClassName:"v-frame",style:n},i,{children:e("div",_({style:{backgroundImage:"url(".concat(o,")"),backgroundRepeat:"no-repeat",backgroundSize:"cover"}},t.customAttibutes,{children:t.children}))}))},VGoogleFont:function(n){return l((function(){var e=document.createElement("link");e.rel="preconnect",e.href="https://fonts.googleapis.com";var t=document.createElement("link");t.rel="preconnect",t.href="https://fonts.gstatic.com",t.crossOrigin="crossorigin",document.head.appendChild(e),document.head.appendChild(t),n.typefaces.forEach((function(e,t){var n,o,r=e.family,a=null===(n=e.fonts)||void 0===n?void 0:n.filter((function(e){return e.type==yt.Italic})),i=a&&a.length>0?"ital,wght":"wght",c=document.createElement("link");c.rel="stylesheet";var l=[];e.fonts&&e.fonts.length>1?(null===(o=e.fonts)||void 0===o||o.forEach((function(e,t){"ital,wght"==i?e.type==yt.Normal?l.push("0,".concat(R(e.weight))):e.type==yt.Italic&&l.push("1,".concat(R(e.weight))):l.push(R(e.weight).toString())})),c.href="https://fonts.googleapis.com/css2?family=".concat(r,":").concat(i,"@").concat(l.join(";"),"&display=swap")):c.href="https://fonts.googleapis.com/css2?family=".concat(r,"&display=swap"),document.head.appendChild(c)}))})),e(t,{})},VGroup:function(n){var o=s({selectedValue:n.selectedValue}),r=o[0],a=o[1];return e(t,{children:n.renderGroup(r.selectedValue,(function(e){a({selectedValue:e.currentTarget.value})}))})},VHR:function(t){var n=j(t);return e("hr",_({className:n.getClassName("v-hr"),style:n.getStyle()},n.getProps("hr")))},VHeader:function(t){var n=j(t);return e("header",_({className:n.getClassName("v-header"),style:n.getStyle()},n.getProps("header"),{children:t.children}))},VHidden:lt,VHyperlink:st,VLabel:Be,VLine:function(t){t.category;var n=x(t,["category"]);return e(H,_({vClassName:"v-line-".concat(t.category)},n))},VMain:function(t){var n=j(t);return e("main",_({className:n.getClassName("v-main"),style:n.getStyle()},n.getProps("main"),{children:t.children}))},VMask:function(t){return e(ee,{zIndex:t.zIndex?t.zIndex:1e8,category:Z.Window,type:K.Center,children:e(ie,{children:e(Te,{width:"100vw",height:"100vh",backgroundColor:m.Dark75,children:e(ee,{category:Z.Area,type:K.Center,children:t.children})})})})},VMonth:function(t){return e(Ie,_({type:"month",isDefaultValue:!0},t))},VNumber:function(t){return e(Ie,_({type:"number",isDefaultValue:!0},t))},VPassword:function(t){return e(Ie,_({inheritClassName:"v-password",isDefaultValue:!0,type:"password"},t))},VRadio:function(t){var o=t.isChecked,r=x(t,["isChecked"]);return e(Ie,_({type:"radio",customAttibutes:{checked:!!o},isDefaultValue:!0},r,{overWrite:function(r){return n(ve,{onClick:function(){var e;null===(e=r.current)||void 0===e||e.click()},children:[e(De,{padding:"0.4em",frontColor:t.frontColor,fontSize:t.fontSize,children:e(o?$e:ot,{})}),e(Be,{frontColor:t.frontColor,fontSize:t.fontSize,caption:t.label?t.label:""})]})}}))},VRange:function(t){var n=t.controlBackgroundColor,o=t.controlBorderColor,r=x(t,["controlBackgroundColor","controlBorderColor"]),a="".concat(n,"-background ").concat(o,"-border");return e(Ie,_({type:"range",inputClassName:a},r))},VRectangle:function(t){t.category;var n=x(t,["category"]);return e(H,_({vClassName:"v-rectangle-".concat(t.category?t.category:mt.Default)},n))},VSearch:function(t){return e(Ie,_({type:"search",isDefaultValue:!0,inheritClassName:"v-search"},t))},VSection:function(t){var n=j(t);return e("section",_({className:n.getClassName("v-section"),style:n.getStyle()},n.getProps("section"),{children:t.children}))},VSelect:function(t){var n=t.name;t.items;var o=t.value,r=t.isMultiple;t.fontFamily;var a=x(t,["name","items","value","isMultiple","fontFamily"]),i=j(a);return e(Te,{className:i.getClassName("v-select"),style:i.getStyle(),children:e("select",_({multiple:r,name:n,defaultValue:o},i.getProps("select"),{children:t.items.map((function(t,n){return e("option",{value:t.value,children:t.caption},"option".concat(n))}))}))})},VShadow:function(n){var o=j(n);return e(t,{children:a.map(n.children,(function(r){return function(r){if(r){var a={};n.x&&n.y&&n.blur&&n.spread&&n.color&&(a.boxShadow="".concat(n.x,"px ").concat(n.y,"px ").concat(n.blur,"px ").concat(n.spread,"px ").concat(n.color));var c=o.getClassName("v-shadow-".concat(n.category?n.category:vt.Default)),l=_(_({},a),o.getStyle());return i(r,{className:c,style:l})}return e(t,{})}(r)}))})},VSubmit:function(t){var o=j(t),r=c(null);return n("div",{className:o.getClassName("v-submit"),style:o.getStyle(),onClick:function(){r.current.click()},children:[n(me,{cross:ue.Middle,children:[!!t.icon&&e("span",{children:t.icon}),!!t.caption&&e("span",{children:t.caption})]}),e("input",{formNoValidate:t.isFormNoValidate,ref:r,type:"submit",className:o.getClassName("v-submit"),style:o.getStyle()})]})},VSubmitWrapper:function(t){var o=j(t),r=c(null);return n("div",{className:o.getClassName("v-submit-wrapper"),style:o.getStyle(),children:[t.body,e("input",{ref:r,type:"submit"})]})},VSvg:De,VTel:function(t){return e(Ie,_({inheritClassName:"v-tel",isDefaultValue:!0,type:"tel"},t))},VText:function(t){var n=t.category;t.alignType;var o,r,a=t.body,i=x(t,["category","alignType","body"]),c=j(i);switch(t.alignType){case ft.Center:r="v-text-center";break;case ft.Justify:r="v-text-justify";break;case ft.Left:r="v-text";break;case ft.Right:r="v-text-right";break;default:r="v-text"}if(n){var l=n;o=u(l,c.getProps(l),a)}else o=u("span",c.getProps("span"),a);return e(H,_({vClassName:r},i,{children:o}))},VTextArea:gt,VTextBox:ct,VTime:function(t){return e(Ie,_({type:"time",isDefaultValue:!0},t))},VUrl:function(t){return e(Ie,_({inheritClassName:"v-url",isDefaultValue:!0,type:"url"},t))},VVideo:function(t){t.sources;var n=x(t,["sources"]),o=j(n);return e("video",_({className:o.getClassName("v-label"),style:o.getStyle(),controls:!0},o.getProps("video"),{children:t.sources.map((function(t,n){return e("source",{src:t.src,type:t.type},"source".concat(n))}))}))},VWeek:function(t){return e(Ie,_({type:"week",isDefaultValue:!0},t))},VZone:function(t){return e(H,{vClassName:"v-zone-".concat(t.category),children:t.children})},get ViewSizeType(){return k},WeComSignin: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})},X:pe,XAround:function(e){return fe(e,void 0,void 0,(function(){return oe.SpaceAround}))},XAutoBoth:function(t){var n=j(t);return fe(t,(function(t,o,r){return 0!=o&&o!=a.count(n.getChildren())-1?e(se,{grow:0,alignSelf:r,children:t}):e(se,{grow:1,alignSelf:r,children:t})}))},XAutoCenter:ge,XAutoLeft:function(t){return fe(t,(function(t,n,o){return e(se,0==n?{grow:1,alignSelf:o,children:t}:{grow:0,alignSelf:o,children:t})}))},XAutoLefts:function(t){var n=j(t);return fe(t,(function(t,o,r){return o==a.count(n.getChildren())-1?e(se,{grow:0,alignSelf:r,children:t}):e(se,{grow:1,alignSelf:r,children:t})}))},XAutoRight:he,XAutoRights:function(t){return fe(t,(function(t,n,o){return e(se,0==n?{grow:0,alignSelf:o,children:t}:{grow:1,alignSelf:o,children:t})}))},XBetween:function(e){return fe(e,void 0,void 0,(function(){return oe.SpaceBetween}))},XCenter:me,get XCrossType(){return ue},XCustom:function(t){return fe(t,(function(n,o){var r=e(se,{children:n});return t.basises&&o<t.basises.length&&(r=e(se,{basis:t.basises[o],children:n})),r}))},XCustomBoth:function(t){var n=j(t);return fe(t,(function(o,r){return 0==r||r==a.count(n.getChildren())-1?e(se,{basis:t.basis,children:o}):e(se,{grow:1,children:o})}))},XEvenly:function(e){return fe(e,void 0,void 0,(function(){return oe.SpaceEvenly}))},XLeft:ve,XRight:function(e){return fe(e,void 0,void 0,(function(){return oe.End}))},XWrapAround:function(e){return fe(e,void 0,(function(){return ne.Wrap}),void 0,(function(){return ae.SpaceAround}))},XWrapBetween:function(e){return fe(e,void 0,(function(){return ne.Wrap}),void 0,(function(){return ae.SpaceBetween}))},XWrapBottom:function(e){return fe(e,void 0,(function(){return ne.Wrap}),void 0,(function(){return ae.End}))},XWrapEvenly:function(e){return fe(e,void 0,(function(){return ne.Wrap}),void 0,(function(){return ae.SpaceEvenly}))},XWrapMiddle:function(e){return fe(e,void 0,(function(){return ne.Wrap}),void 0,(function(){return ae.Center}))},XWrapTop:function(e){return fe(e,void 0,(function(){return ne.Wrap}),void 0,(function(){return ae.Start}))},Y:Ce,YAround:function(e){return be(e,void 0,void 0,void 0,(function(){return oe.SpaceAround}))},YAutoBoth:function(t){var n=j(t);return be(t,(function(t,o,r){return 0!=o&&o!=a.count(n.getChildren())-1?e(se,{grow:0,alignSelf:r,children:t}):e(se,{grow:1,alignSelf:r,children:t})}))},YAutoBottom:function(t){var n=j(t);return be(t,(function(t,o){return o==a.count(n.getChildren())-1?e(se,{grow:1,children:t}):e(se,{grow:0,children:t})}))},YAutoBottoms:function(t){return be(t,(function(t,n,o){return e(se,0==n?{grow:0,alignSelf:o,children:t}:{grow:1,alignSelf:o,children:t})}))},YAutoCenter:function(t){var n=j(t);return be(t,(function(t,o,r){return 0!=o&&o!=a.count(n.getChildren())-1?e(se,{grow:1,alignSelf:r,children:t}):e(se,{grow:0,alignSelf:r,children:t})}))},YAutoTop:function(t){return be(t,(function(t,n,o){return e(se,0==n?{grow:1,alignSelf:o,children:t}:{grow:0,alignSelf:o,children:t})}))},YAutoTops:function(t){var n=j(t);return be(t,(function(t,o,r){return o==a.count(n.getChildren())-1?e(se,{grow:0,alignSelf:r,children:t}):e(se,{grow:1,alignSelf:r,children:t})}))},YBetween:function(e){return be(e,void 0,void 0,void 0,(function(){return oe.SpaceBetween}))},YBottom:function(e){return be(e,void 0,void 0,void 0,(function(){return oe.End}))},get YCrossType(){return de},YCustom:function(t){return be(t,(function(n,o){var r=e(se,{children:n});return t.basises&&o<t.basises.length&&(r=e(se,{basis:t.basises[o],children:n})),r}))},YCustomBoth:function(t){var n=j(t);return be(t,(function(o,r){return 0==r||r==a.count(n.getChildren())-1?e(se,{basis:t.basis,children:o}):e(se,{grow:1,children:o})}))},YEvenly:function(e){return be(e,void 0,void 0,void 0,(function(){return oe.SpaceEvenly}))},YMiddle:function(e){return be(e,void 0,void 0,void 0,(function(){return oe.Center}))},YTop:function(e){return be(e,void 0,void 0,void 0,(function(){return oe.Start}))},YWrapAround:function(e){return be(e,void 0,(function(){return ne.Wrap}),(function(){return ae.SpaceAround}),void 0)},YWrapBetween:function(e){return be(e,void 0,(function(){return ne.Wrap}),(function(){return ae.SpaceBetween}))},YWrapCenter:function(e){return be(e,void 0,(function(){return ne.Wrap}),(function(){return ae.Center}))},YWrapEvenly:function(e){return be(e,void 0,(function(){return ne.Wrap}),(function(){return ae.SpaceEvenly}))},YWrapLeft:function(e){return be(e,void 0,(function(){return ne.Wrap}),(function(){return ae.Start}))},YWrapRight:function(e){return be(e,void 0,(function(){return ne.Wrap}),(function(){return ae.End}))},get ZoneCategory(){return D},convertFormDataToJson:we,getGeneratedClassName:z,parseJWT:function(e){var t={},n=f(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}});!function(e){e.Components=xt}(kt||(kt={}));export{kt as Den};
|
|
1
|
+
import{jsx as e,Fragment as t,jsxs as n}from"react/jsx-runtime";import*as r from"react";import{forwardRef as o,Children as a,cloneElement as i,useRef as c,useEffect as l,createElement as u,useState as s,useImperativeHandle as d}from"react";import{jwtDecode as f}from"jwt-decode";var p;!function(e){e.ExtraSmall="extra-small",e.Small="small",e.Medium="medium",e.Large="large",e.ExtraLarge="extra-large",e.ExtraExtraLarge="extra-extra-large"}(p||(p={}));var g=function(e,t){return g=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])},g(e,t)};function h(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}g(e,t),e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)}var m,v,y,b,C,S,w,k,_=function(){return _=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},_.apply(this,arguments)};function x(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 B(e,t,n){if(n||2===arguments.length)for(var r,o=0,a=t.length;o<a;o++)!r&&o in t||(r||(r=Array.prototype.slice.call(t,0,o)),r[o]=t[o]);return e.concat(r||Array.prototype.slice.call(t))}"function"==typeof SuppressedError&&SuppressedError,function(e){e.Font="font",e.Body="body",e.White="white",e.Black="black",e.Light="light",e.Light75="light75",e.Light50="light50",e.Light25="light25",e.Dark="dark",e.Dark75="dark75",e.Dark50="dark50",e.Dark25="dark25",e.Primary="primary",e.Primary75="primary75",e.Primary50="primary50",e.Primary25="primary25",e.Secondary="secondary",e.Secondary75="secondary75",e.Secondary50="secondary50",e.Secondary25="secondary25",e.Tertiary="tertiary",e.Tertiary75="tertiary75",e.Tertiary50="tertiary50",e.Tertiary25="tertiary25",e.Info="info",e.Info75="info75",e.Info50="info50",e.Info25="info25",e.Success="success",e.Success75="success75",e.Success50="success50",e.Success25="success25",e.Warning="warning",e.Warning75="warning75",e.Warning50="warning50",e.Warning25="warning25",e.Error="error",e.Error75="error75",e.Error50="error50",e.Error25="error25",e.Border="border",e.Border75="border75",e.Border50="border50",e.Border25="border25",e.Placeholder="placeholder",e.Placeholder75="placeholder75",e.Placeholder50="placeholder50",e.Placeholder25="placeholder25",e.Transparent="transparent"}(m||(m={})),function(e){e.Thin="font-weight-thin",e.ExtraLight="font-weight-extra-light",e.Light="font-weight-light",e.Regular="font-weight-regular",e.Medium="font-weight-medium",e.SemiBold="font-weight-semi-bold",e.Bold="font-weight-bold",e.ExtraBold="font-weight-extra-bold",e.Black="font-weight-black"}(v||(v={})),function(e){e.Default="font-family"}(y||(y={})),function(e){e.Default="line-height"}(b||(b={})),function(e){e.Default="padding"}(C||(C={})),function(e){e.Default="letter-spacing"}(S||(S={})),function(e){e.Default="border-radius",e.Fixed="border-radius-fixed",e.Max="border-radius-max"}(w||(w={})),function(e){e.Ellipse="v-ellipse-size",e.Rectangle="v-rectangle-size",e.Image="v-image-size",e.Svg="v-svg-size",e.Window="v-window-size"}(k||(k={}));var T,V,I,R,L=function(e){var t;switch(e){case v.Thin:t=100;break;case v.ExtraLight:t=200;break;case v.Light:t=300;break;case v.Regular:t=400;break;case v.Medium:t=500;break;case v.SemiBold:t=600;break;case v.Bold:t=700;break;case v.ExtraBold:t=800;break;case v.Black:t=900;break;default:t=400}return t};!function(e){e.Default="font-size",e.Normal="font-size-normal",e.Small="font-size-small",e.ExtraSmall="font-size-extra-small",e.Large="font-size-large",e.ExtraLarge="font-size-extra-large",e.AutoNormal="auto-font-size-normal",e.AutoSmall="auto-font-size-small",e.AutoExtraSmall="auto-font-size-extra-small",e.AutoLarge="auto-font-size-large",e.AutoExtraLarge="auto-font-size-extra-large"}(T||(T={})),function(e){e.All="all",e.Before="before",e.After="after"}(V||(V={})),function(e){e.All="all",e.Top="top",e.Right="right",e.Bottom="bottom",e.Left="left",e.ExceptTop="except-top",e.ExceptRight="except-right",e.ExceptBottom="except-bottom",e.ExceptLeft="except-left",e.RightTop="right-top",e.RightBottom="right-bottom",e.LeftTop="left-top",e.LeftBottom="left-bottom",e.TopBottom="top-bottom",e.LeftRight="left-right"}(I||(I={})),function(e){e.Flex="Flex",e.FlexItem="FlexItem",e.Position="Position",e.PositionArea="PositionArea",e.SBaseline="SBaseline",e.SBottom="SBottom",e.SLeft="SLeft",e.SMiddle="SMiddle",e.SCenter="SCenter",e.SRight="SRight",e.SStretch="SStretch",e.STop="STop",e.X="X",e.XAround="XAround",e.XAutoBoth="XAutoBoth",e.XAutoCenter="XAutoCenter",e.XAutoLeft="XAutoLeft",e.XAutoLefts="XAutoLefts",e.XAutoRight="XAutoRight",e.XAutoRights="XAutoRights",e.XBetween="XBetween",e.XCenter="XCenter",e.XCustom="XCustom",e.XCustomBoth="XCustomBoth",e.XEvenly="XEvenly",e.XLeft="XLeft",e.XRight="XRight",e.XWrap="XWrap",e.XWrapAround="XWrapAround",e.XWrapBetween="XWrapBetween",e.XWrapBottom="XWrapBottom",e.XWrapEvenly="XWrapEvenly",e.XWrapMiddle="XWrapMiddle",e.XWrapTop="XWrapTop",e.Y="Y",e.YAround="YAround",e.YBetween="YBetween",e.YBottom="YBottom",e.YEvenly="YEvenly",e.YMiddle="YMiddle",e.YTop="YTop",e.VEllipse="VEllipse",e.VLine="VLine",e.VRectangle="VRectangle",e.VAvatar="VAvatar",e.VBlock="VBlock",e.VBoundary="VBoundary",e.VButton="VButton",e.VCard="VCard",e.VCardMedia="VCardMedia",e.VCardSocial="VCardSocial",e.VCardWindow="VCardWindow",e.VChromeExtensionValidator="VChromeExtensionValidator",e.VCodePreview="VCodePreview",e.VDesigner="VDesigner",e.VDynamic="VDynamic",e.VBackground="VBackground",e.VForm="VForm",e.VImage="VImage",e.VCheckBox="VCheckBox",e.VColor="VColor",e.VDate="VDate",e.VDatetimeLocal="VDatetimeLocal",e.VEmail="VEmail",e.VFile="VFile",e.VMonth="VMonth",e.VNumber="VNumber",e.VPassword="VPassword",e.VRadio="VRadio",e.VRange="VRange",e.VSearch="VSearch",e.VSubmit="VSubmit",e.VTel="VTel",e.VTextBox="VTextBox",e.VTime="VTime",e.VUrl="VUrl",e.VWeek="VWeek",e.VLabel="VLabel",e.VLink="VLink",e.VPhoto="VPhoto",e.VShadow="VShadow",e.VStack="VStack",e.VSvg="VSvg",e.VText="VText",e.VTooltip="VTooltip"}(R||(R={}));var D,N=function(){function e(e){this.className=e}return e.prototype.getClassName=function(){return"".concat(this.className)},e}(),O=function(e){this.component=e},E=function(e){function t(t,n,r){var o=e.call(this,t)||this;return o.sizeType=n,o.isAuto=r,o}return h(t,e),t.prototype.getClassName=function(){if(this.sizeType){var e=void 0;return e=Object.values(T).includes(this.sizeType)?this.sizeType:"font-size-".concat(this.sizeType),"".concat(this.component.getClassName()," ").concat(this.isAuto?"auto-".concat(e):e)}return this.component.getClassName()},t}(O),A=function(e){function t(t,n){var r=e.call(this,t)||this;return r.weightType=n,r}return h(t,e),t.prototype.getClassName=function(){return this.weightType?"".concat(this.component.getClassName()," ").concat(this.weightType):this.component.getClassName()},t}(O),W=function(e){function t(t,n,r,o,a,i,c,l,u,s,d){var f=e.call(this,t)||this;return f.isDefaultValue=n,f.frontColorType=r,f.backgroundColorType=o,f.borderColorType=a,f.borderDirectionType=i,f.pseudoType=c,f.pseudoFrontColorType=l,f.pseudoBackgroundColorType=u,f.pseudoBorderColorType=s,f.pseudoBorderDirectionType=d,f}return h(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 I.Bottom:r=" ".concat(e).concat(o,"-border-bottom");break;case I.ExceptBottom:r=" ".concat(e).concat(o,"-border-except-bottom");break;case I.ExceptLeft:r=" ".concat(e).concat(o,"-border-except-left");break;case I.ExceptRight:r=" ".concat(e).concat(o,"-border-except-right");break;case I.ExceptTop:r=" ".concat(e).concat(o,"-border-except-top");break;case I.Left:r=" ".concat(e).concat(o,"-border-left");break;case I.LeftBottom:r=" ".concat(e).concat(o,"-border-left-bottom");break;case I.LeftRight:r=" ".concat(e).concat(o,"-border-left-right");break;case I.LeftTop:r=" ".concat(e).concat(o,"-border-left-top");break;case I.Right:r=" ".concat(e).concat(o,"-border-right");break;case I.RightBottom:r=" ".concat(e).concat(o,"-border-right-bottom");break;case I.RightTop:r=" ".concat(e).concat(o,"-border-right-top");break;case I.Top:r=" ".concat(e).concat(o,"-border-top");break;case I.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(m.White,"-background"):"",r=this.pseudoBackgroundColorType?" ".concat(this.pseudoBackgroundColorType,"-before-background"):this.isDefaultValue?" ".concat(m.White,"-before-background"):"",o=this.pseudoBackgroundColorType?" ".concat(this.pseudoBackgroundColorType,"-after-background"):this.isDefaultValue?" ".concat(m.White,"-after-background"):"",a="".concat(r).concat(o),i=this.frontColorType?" ".concat(this.frontColorType,"-front"):this.isDefaultValue?" ".concat(m.Black,"-front"):"",c=this.pseudoFrontColorType?" ".concat(this.pseudoFrontColorType,"-before-front"):this.isDefaultValue?" ".concat(m.Black,"-before-front"):"",l=this.pseudoFrontColorType?" ".concat(this.pseudoFrontColorType,"-after-front"):this.isDefaultValue?" ".concat(m.Black,"-after-front"):"",u="".concat(c).concat(l);return e=this.borderColorType?this.borderDirectionType?this.getBorderColorClassName(this.borderColorType,this.borderDirectionType):" ".concat(this.borderColorType).concat(this.getBorderPrefix(this.pseudoType),"-border"):this.isDefaultValue?" ".concat(m.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(m.Transparent).concat(this.getBorderPrefix(this.pseudoType),"-border"):"":"","".concat(this.component.getClassName()).concat(n).concat(a).concat(i).concat(u).concat(e).concat(t)},t}(O),z=function(e,t,n,r,o,a,i,c,l,u,s,d,f,p){return new W(new E(new A(new N(e),o),n,r),t,a,i,c,l,u,s,d,f,p).getClassName()},F=["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"],P=["id","title","dir","lang","translate","tabIndex","accessKey","contentEditable","spellCheck","draggable","enterKeyHint","inputMode","autoCapitalize","role","slot","htmlFor","hidden","is"],X=["onError","onLoad"],U=["onAbort","onCanPlay","onCanPlayThrough","onDurationChange","onEmptied","onEncrypted","onEnded","onError","onLoadedData","onLoadedMetadata","onLoadStart","onPause","onPlay","onPlaying","onProgress","onRateChange","onResize","onSeeked","onSeeking","onStalled","onSuspend","onTimeUpdate","onVolumeChange","onWaiting"],M={div:B(B([],F,!0),P,!0),input:B(B(B(B([],F,!0),P,!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:B(B(B([],F,!0),P,!0),["rows","cols","wrap"],!0),template:B(B([],F,!0),P,!0),abbr:B(B([],F,!0),P,!0),span:B(B([],F,!0),P,!0),h1:B(B([],F,!0),P,!0),h2:B(B([],F,!0),P,!0),h3:B(B([],F,!0),P,!0),h4:B(B([],F,!0),P,!0),h5:B(B([],F,!0),P,!0),h6:B(B([],F,!0),P,!0),i:B(B([],F,!0),P,!0),b:B(B([],F,!0),P,!0),u:B(B([],F,!0),P,!0),em:B(B([],F,!0),P,!0),strong:B(B([],F,!0),P,!0),blockquote:B(B([],F,!0),P,!0),cite:B(B([],F,!0),P,!0),code:B(B([],F,!0),P,!0),del:B(B([],F,!0),P,!0),dfn:B(B([],F,!0),P,!0),ins:B(B([],F,!0),P,!0),kbd:B(B([],F,!0),P,!0),mark:B(B([],F,!0),P,!0),pre:B(B([],F,!0),P,!0),q:B(B([],F,!0),P,!0),s:B(B([],F,!0),P,!0),samp:B(B([],F,!0),P,!0),small:B(B([],F,!0),P,!0),summary:B(B([],F,!0),P,!0),sup:B(B([],F,!0),P,!0),sub:B(B([],F,!0),P,!0),time:B(B([],F,!0),P,!0),var:B(B([],F,!0),P,!0),wbr:B(B([],F,!0),P,!0),p:B(B([],F,!0),P,!0),address:B(B([],F,!0),P,!0),article:B(B([],F,!0),P,!0),aside:B(B([],F,!0),P,!0),details:B(B(B([],F,!0),P,!0),["onToggle"],!0),section:B(B([],F,!0),P,!0),form:B(B(B([],F,!0),P,!0),["onReset","onSubmit"],!0),dialog:B(B(B([],F,!0),P,!0),["onCancel","onClose"],!0),img:B(B(B(B([],F,!0),P,!0),X,!0),["src","alt","width","height","crossOrigin","decoding","loading","referrerPolicy","sizes","srcSet","title","role"],!0),iframe:B(B(B(B([],F,!0),P,!0),X,!0),["src","srcDoc","width","height","name","sandbox","allow","allowFullScreen","loading","referrerPolicy","title","role"],!0),object:B(B(B([],F,!0),P,!0),X,!0),embed:B(B(B([],F,!0),P,!0),X,!0),link:B(B(B([],F,!0),P,!0),X,!0),svg:B(B(B([],F,!0),P,!0),X,!0),audio:B(B(B([],F,!0),P,!0),U,!0),video:B(B(B([],F,!0),P,!0),U,!0)},j=function(e){return{getClassName:function(t){var n=z(t,e.isDefaultValue,e.fontSize,e.isAutoSize,e.fontWeight,e.frontColor,e.backgroundColor,e.borderColor,e.borderDirection,e.pseudoType,e.pseudoFrontColor,e.pseudoBackgroundColor,e.pseudoBorderColor,e.pseudoBorderDirection);return e.className?"".concat(e.className," ").concat(n):n},getStyle:function(){var t={borderRadius:e.borderRadius,borderWidth:e.borderWidth,borderStyle:e.borderStyle,borderColor:e.borderColor,padding:e.padding,margin:e.margin,height:e.height,width:e.width,minHeight:e.minHeight,minWidth:e.minWidth,maxHeight:e.maxHeight,maxWidth:e.maxWidth,opacity:e.opacity,display:e.display,zIndex:e.zIndex,visibility:e.visibility,fontFamily:e.fontFamily,letterSpacing:e.letterSpacing,lineHeight:e.lineHeight,cursor:e.cursor,overflow:e.overflow,overflowX:e.overflowX,overflowY:e.overflowY};return _(_({},e.style),t)},getChildren:function(){return e.children&&Object.keys(e.children).indexOf("type")>-1&&null==e.children.type.name&&"VBoundary"!=e.children.type.displayName?e.children.props.children:e.children},getProps:function(t){var n={},r=Object.keys(e);return r.length>0&&r.forEach((function(r){M[t]&&M[t].includes(r)&&(n[r]=e[r])})),n}}},H=o((function(t,n){var r=t.vClassName,o=x(t,["vClassName"]),a=j(o);return e("div",_({ref:n,className:a.getClassName(r),style:a.getStyle()},a.getProps("div"),{children:t.children}))}));!function(e){e.Fluid="fluid",e.Small="small",e.Medium="medium",e.Large="large",e.ExtraLarge="extra-large",e.ExtraExtraLarge="extra-extra-large"}(D||(D={}));var Y,q;!function(e){e.Visiable="visiable",e.Hidden="hidden"}(Y||(Y={})),function(e){e.Only="only",e.Up="up",e.Down="down"}(q||(q={}));var G,J=function(n){return n.children?e(t,{children:a.map(n.children,(function(e){return function(e){if(e&&e.props){var t=void 0;return n.breakpoint?"string"==typeof n.breakpoint?n.type&&n.type!=q.Only?n.type==q.Up?t="".concat(n.breakpoint,"-up-").concat(n.category):n.type==q.Down&&(t="".concat(n.breakpoint,"-down-").concat(n.category)):t="".concat(n.breakpoint,"-").concat(n.category):t=n.breakpoint.map((function(e,t){return"".concat(e,"-").concat(n.category)})).join(" "):t=n.category,i(e,{className:t})}return e}(e)}))}):e(t,{})};!function(e){e.Top="top",e.Right="right",e.Bottom="bottom",e.Left="left",e.LeftTop="left-top",e.RightTop="right-top",e.LeftBottom="left-bottom",e.RightBottom="right-bottom",e.LeftInnerTop="left-inner-top",e.RightInnerTop="right-inner-top",e.LeftInnerBottom="left-inner-bottom",e.RightInnerBottom="right-inner-bottom"}(G||(G={}));var Z,K,Q=function(t){var r,o=c(null),a=c(null),i=c(null),u=function(){if(a.current&&i.current&&o.current)if(t.category==G.Bottom||t.category==G.Top){var e="-".concat(Math.abs(i.current.offsetWidth-a.current.offsetWidth)/2,"px");a.current.style.marginLeft=e}else if(t.category==G.Left||t.category==G.Right){var n="".concat(Math.abs(i.current.offsetHeight-o.current.offsetHeight)/2,"px");o.current.style.top=n}else if(t.category==G.LeftTop){e="-".concat(a.current.offsetWidth,"px");a.current.style.marginLeft=e}else if(t.category==G.LeftBottom){e="-".concat(a.current.offsetWidth,"px");a.current.style.marginLeft=e}else if(t.category==G.RightTop){e="".concat(i.current.offsetWidth,"px");a.current.style.marginLeft=e}else if(t.category==G.RightBottom){e="".concat(i.current.offsetWidth,"px");a.current.style.marginLeft=e}else if(t.category==G.LeftInnerTop);else if(t.category==G.LeftInnerBottom);else if(t.category==G.RightInnerTop){e="".concat(i.current.offsetWidth-a.current.offsetWidth,"px");a.current.style.marginLeft=e}else if(t.category==G.RightInnerBottom){e="".concat(i.current.offsetWidth-a.current.offsetWidth,"px");a.current.style.marginLeft=e}};if(l((function(){a.current&&new ResizeObserver((function(e){u()})).observe(a.current);u()}),[]),t.category)switch(t.category){case G.Bottom:r="dock-overlay-bottom";break;case G.Left:r="dock-overlay-left";break;case G.LeftBottom:r="dock-overlay-leftbottom";break;case G.LeftTop:r="dock-overlay-lefttop";break;case G.Right:r="dock-overlay-right";break;case G.RightBottom:r="dock-overlay-rightbottom";break;case G.RightTop:r="dock-overlay-righttop";break;case G.Top:r="dock-overlay-top";break;case G.LeftInnerBottom:r="dock-overlay-leftinnerbottom";break;case G.LeftInnerTop:r="dock-overlay-leftinnertop";break;case G.RightInnerBottom:r="dock-overlay-rightinnerbottom";break;case G.RightInnerTop:r="dock-overlay-rightinnertop";break;default:r="dock-overlay"}return n("div",{className:"dock",children:[e("div",{id:"dockOverlay",style:{zIndex:t.zIndex},className:r,ref:o,children:e("div",{ref:a,children:t.renderOverlay()})}),e("div",{id:"dockContent",className:"dock-content",ref:i,onClick:function(e){t.onClick&&t.onClick(e)},children:t.children})]})};!function(e){e.Edge="edge",e.Window="window",e.Area="area",e.Self="self"}(Z||(Z={})),function(e){e.Top="top",e.Right="right",e.Bottom="bottom",e.Left="left",e.LeftTop="left-top",e.RightTop="right-top",e.LeftBottom="left-bottom",e.RightBottom="right-bottom",e.Center="center"}(K||(K={}));var $,ee=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=_(_({},t.style),{zIndex:t.zIndex}),e("div",{className:n,style:r,children:t.children})}r=void 0;return r=t.category!=Z.Self?_(_({},t.style),{top:t.top,right:t.right,bottom:t.bottom,left:t.left,zIndex:t.zIndex}):_(_({},t.style),{top:"-".concat(t.top),right:"-".concat(t.right),bottom:"-".concat(t.bottom),left:"-".concat(t.left),zIndex:t.zIndex}),e("div",{className:n,style:r,children:t.children})};!function(e){e.Default="default",e.FullSize="full-size"}($||($={}));var te,ne,re,oe,ae,ie=function(n){return e(t,{children:a.map(n.children,(function(e){return function(e){var t="position-area-".concat(n.category?n.category:$.Default," ").concat(e.props.className);return i(e,{className:t})}(e)}))})};!function(e){e.Row="row",e.RowReverse="row-reverse",e.Column="column",e.ColumnReverse="column-reverse"}(te||(te={})),function(e){e.NoWrap="nowrap",e.Wrap="wrap"}(ne||(ne={})),function(e){e.Start="flex-start",e.Center="center",e.End="flex-end",e.SpaceBetween="space-between",e.SpaceAround="space-around",e.SpaceEvenly="space-evenly"}(re||(re={})),function(e){e.Start="flex-start",e.Center="center",e.End="flex-end",e.Stretch="stretch",e.Baseline="baseline"}(oe||(oe={})),function(e){e.Start="flex-start",e.Center="center",e.End="flex-end",e.SpaceBetween="space-between",e.SpaceAround="space-around",e.SpaceEvenly="space-evenly"}(ae||(ae={}));var ce,le=function(t){t.vClassName;var n=t.direction,r=t.wrap,o=t.justifyContent,a=t.alignItems,i=t.alignContent,c=t.gap,l=x(t,["vClassName","direction","wrap","justifyContent","alignItems","alignContent","gap"]),u=j(l),s=_(_({},u.getStyle()),{gap:c,cursor:t.cursor?t.cursor:t.onClick?"pointer":"inherit"}),d=t.overflow?"flex-".concat(t.overflow):"flex-hidden",f=n?" flex-direction-".concat(n):"",p=r?" flex-wrap-".concat(r):"",g=o?" flex-justify-content-".concat(o):"",h=a?" flex-align-items-".concat(a):"",m=i?" flex-align-content-".concat(i):"",v="".concat(d).concat(f).concat(p).concat(g).concat(h).concat(m),y=u.getClassName(v);return e("div",_({className:y,style:s},u.getProps("div"),{children:t.children}))};!function(e){e.Start="start",e.Center="center",e.End="end",e.Stretch="stretch",e.Baseline="baseline"}(ce||(ce={}));var ue,se=function(n){return n.children&&Object.keys(n.children).indexOf("type")>-1?e(t,{children:a.map(n.children,(function(r){return function(r){var o={};if(n.order&&(o.order=n.order),n.basis&&(o.flexBasis=n.basis),n.grow&&(o.flexGrow=n.grow),n.shrink&&(o.flexShrink=n.shrink),r.props){var a=_(_({},o),r.props?r.props.style:null),c=n.alignSelf?" flex-align-self-".concat(n.alignSelf):"",l=r.props.className?" ".concat(r.props.className):"",u="flex-item".concat(c).concat(l);return i(r,{className:u,style:a})}return console.debug(r),e(t,{children:"Please check child."})}(r)}))}):e(t,{})};!function(e){e.Top="top",e.Middle="middle",e.Bottom="bottom",e.Stretch="stretch",e.Baseline="baseline"}(ue||(ue={}));var de,fe=function(n,r,o,i,c){n.cross;var l=x(n,["cross"]),u=j(l),s=function(t,n,o){return r?r(t,n,o):e(se,{alignSelf:o,children:t},"child".concat(n))};return e(le,_({vClassName:"v-xbase",alignItems:function(){var e;if(n.cross)switch(n.cross){case ue.Stretch:e=oe.Stretch;break;case ue.Baseline:e=oe.Baseline;break;case ue.Bottom:e=oe.End;break;case ue.Middle:e=oe.Center;break;case ue.Top:e=oe.Start;break;default:e=oe.Center}else e=oe.Center;return e}(),wrap:o?o():ne.NoWrap,justifyContent:i?i():re.Start,alignContent:c?c():ae.Start},l,{children:a.map(u.getChildren(),(function(n,r){var o=n;return o?o.type?"STop"===o.props.typeName?s(o.props.children,r,ce.Start):"SMiddle"===o.props.typeName?s(o.props.children,r,ce.Center):"SBottom"===o.props.typeName?s(o.props.children,r,ce.End):"SStretch"===o.props.typeName?s(o.props.children,r,ce.Stretch):"SBaseline"===o.props.typeName?s(o.props.children,r,ce.Baseline):s(o,r):(console.debug(o),e(t,{children:"Please check X layout children."})):void 0}))}))},pe=function(t){return fe(t,(function(t,n,r){return e(se,{grow:1,alignSelf:r,children:t})}))},ge=function(t){var n=j(t);return fe(t,(function(t,r,o){return 0!=r&&r!=a.count(n.getChildren())-1?e(se,{grow:1,alignSelf:o,children:t}):e(se,{grow:0,alignSelf:o,children:t})}))},he=function(t){var n=j(t);return fe(t,(function(t,r){return r==a.count(n.getChildren())-1?e(se,{grow:1,children:t}):e(se,{grow:0,children:t})}))},me=function(e){return fe(e,void 0,void 0,(function(){return re.Center}))},ve=function(e){return fe(e)};!function(e){e.Left="left",e.Center="center",e.Right="right",e.Baseline="baseline",e.Stretch="stretch"}(de||(de={}));var ye,be=function(n,r,o,i,c){var l=n.cross,u=x(n,["cross"]),s=j(u),d=function(t,n,o){return r?r(t,n,o):e(se,{alignSelf:o,children:t},"child".concat(n))};return e(le,_({vClassName:"v-ybase",wrap:o?o():ne.NoWrap,alignContent:i?i():ae.Start,alignItems:function(){var e;if(l)switch(l){case de.Left:e=oe.Start;break;case de.Center:e=oe.Center;break;case de.Right:e=oe.End;break;case de.Baseline:e=oe.Baseline;break;default:e=oe.Stretch}else e=oe.Stretch;return e}(),direction:te.Column,justifyContent:c?c():re.Start},u,{children:a.map(s.getChildren(),(function(n,r){var o=n;return o?o.type?o&&"SLeft"===o.props.typeName?d(o.props.children,r,ce.Start):o&&"SMiddle"===o.props.typeName||o&&"SCenter"===o.props.typeName?d(o.props.children,r,ce.Center):o&&"SRight"===o.props.typeName?d(o.props.children,r,ce.End):o&&"SStretch"===o.props.typeName?d(o.props.children,r,ce.Stretch):o&&"SBaseline"===o.props.typeName?d(o.props.children,r,ce.Baseline):d(n,r):(console.debug(o),e(t,{children:"Please check Y layout children."})):void 0}))}))},Ce=function(t){return be(t,(function(t,n,r){return e(se,{grow:1,alignSelf:r,children:t})}))};!function(e){e.Top="top",e.Right="right",e.Bottom="bottom",e.Left="left",e.Center="center"}(ye||(ye={}));var Se,we=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]=B(B([],a[i],!0),[o?JSON.parse(e.toString()):e],!1):a[i]=[o?JSON.parse(e.toString()):e]}else a[t]=o?JSON.parse(e.toString()):e;else t in a||(a[t]={}),a=a[t]}))})),t};!function(e){e.Json="json",e.FormData="formdata"}(Se||(Se={}));var ke,_e,xe;!function(e){e.Div="div",e.Abbr="abbr",e.Span="span",e.H1="h1",e.H2="h2",e.H3="h3",e.H4="h4",e.H5="h5",e.H6="h6",e.I="i",e.B="b",e.U="u",e.Em="em",e.Strong="strong",e.Blockquote="blockquote",e.Cite="cite",e.Code="code",e.Del="del",e.Dfn="dfn",e.Ins="ins",e.Kbd="kbd",e.Mark="mark",e.Pre="pre",e.Q="q",e.S="s",e.Samp="samp",e.Small="small",e.Summary="summary",e.Sup="sup",e.Sub="sub",e.Time="time",e.Var="var",e.Wbr="wbr"}(ke||(ke={})),function(e){e.Default="default",e.Circle="circle"}(_e||(_e={})),function(e){e[e.Justify=0]="Justify",e[e.Left=1]="Left",e[e.Right=2]="Right",e[e.Center=3]="Center"}(xe||(xe={}));var Be=function(t){var n,r,o=t.category,a=t.type,i=t.alignType,c=t.isTextOverflow,l=t.caption,s=x(t,["category","type","alignType","isTextOverflow","caption"]),d=j(s);switch(i){case xe.Center:r="v-label-center";break;case xe.Justify:r="v-label-justify";break;case xe.Left:r="v-label";break;case xe.Right:r="v-label-right";break;default:r="v-label"}if(a==_e.Circle&&(r="".concat(r,"-circle")),c&&(r+=" v-label-text-overflow"),o){var f=o;n=u(f,d.getProps(f),l)}else n=u("span",d.getProps("span"),l);return a==_e.Circle?e(ie,{children:e(H,_({vClassName:r,width:"1.6em",height:"1.6em",borderRadius:"2em"},s,{children:e(ee,{category:Z.Area,type:K.Center,children:n})}))}):e(H,_({display:null==t.category||t.category==ke.Span?"inline-block":"block",vClassName:r},s,{children:n}))},Te=o((function(t,n){return e(H,_({id:t.id,ref:n,vClassName:"v-boundary"},t,{children:t.children}))}));Te.displayName="VBoundary";var Ve,Ie=o((function(t,r){var o=t.type,a=t.label,i=t.icon,u=t.extensions,f=t.value,p=t.valueHook,g=t.setStateHook,h=t.isValueShow,v=t.isReadonly,y=t.valueSize,b=t.valueColor;t.valueCategory;var C,S=t.valuePadding,w=t.inputStyle,k=t.inputClassName,B=t.overWrite,V=t.onChange,I=t.inheritClassName,R=t.customAttibutes,L=t.isFocus,D=x(t,["type","label","icon","extensions","value","valueHook","setStateHook","isValueShow","isReadonly","valueSize","valueColor","valueCategory","valuePadding","inputStyle","inputClassName","overWrite","onChange","inheritClassName","customAttibutes","isFocus"]),N=j(D),O=s({value:void 0!==t.value?t.value:""}),E=O[0],A=O[1],W=c(null),z=c(null),F=c(null);return d(r,(function(){return F.current}),[]),l((function(){var e;r?null===(e=F.current)||void 0===e||e.focus():L&&W.current&&W.current.focus()}),[]),B&&(C=B(r?F:W)),n(H,_({vClassName:"v-validity v-input".concat(I?" ".concat(I):"")},D,{children:[n(Ce,{display:C?"none":void 0,children:[n(ge,{gap:"0.6em",children:[!!i&&e(Te,{children:i}),n(Te,{children:[e("input",_({ref:r?F:W},R,{className:k,style:_(_({},w),{display:v?"none":"block"}),type:o,value:p||E.value,onChange:function(e){var t,n;h&&A({value:r?null===(t=F.current)||void 0===t?void 0:t.value:null===(n=W.current)||void 0===n?void 0:n.value}),V&&V(e),g?g(e.target.value):A({value:e.target.value})}},N.getProps("input"))),!!v&&e("div",{ref:t.readonlyRef?t.readonlyRef:z,children:p||(E.value?E.value.toString():"")}),!!a&&e("label",{htmlFor:t.id?t.id:t.name,children:a})]}),!!u&&e(pe,{children:u.map((function(t,n){return e("span",{className:"extension",onClick:function(){var e=r?F.current:W.current;t.handleOption(e)},children:t.option},"extension".concat(n))}))})]}),!!h&&e(me,{children:e(Be,{padding:S,isAutoSize:t.isAutoSize,fontSize:y||T.Normal,frontColor:b||m.Black,caption:void 0!==E.value?E.value.toString():f?f.toString():""})})]}),!!C&&C]}))}));!function(e){e.Default="default",e.Circle="circle",e.Squared="squared",e.Custom="custom"}(Ve||(Ve={}));var Re,Le,De=function(n){var r=j(n);return e(t,{children:a.map(n.children,(function(e){return function(e){var t=n.category?n.category:Ve.Default,o=r.getClassName("v-svg-".concat(t)),a=n.onClick,c=n.onMouseEnter,l=n.onMouseLeave,u=_(_({},r.getStyle()),{cursor:a?"pointer":"inherit"});return i(e,{className:o,style:u,onClick:a,onMouseEnter:c,onMouseLeave:l})}(e)}))})};function Ne(){return Ne=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},Ne.apply(null,arguments)}var Oe,Ee=function(e){return r.createElement("svg",Ne({xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 256 256"},e),Re||(Re=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"})),Le||(Le=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 Ae(){return Ae=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},Ae.apply(null,arguments)}var We,ze,Fe,Pe,Xe=function(e){return r.createElement("svg",Ae({xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 256 256"},e),Oe||(Oe=r.createElement("path",{fill:"currentColor",d:"M40.562 228h174.876c3.334 0 6.528-1.324 8.884-3.682a12.57 12.57 0 0 0 3.678-8.886V40.568a12.57 12.57 0 0 0-3.678-8.886A12.55 12.55 0 0 0 215.438 28H40.562a12.56 12.56 0 0 0-8.884 3.682A12.57 12.57 0 0 0 28 40.568v174.864a12.57 12.57 0 0 0 3.678 8.886A12.56 12.56 0 0 0 40.562 228m4.044-169.236v-.002c0-4 1.588-7.835 4.414-10.664a15.07 15.07 0 0 1 10.659-4.416h138.453a15.07 15.07 0 0 1 10.659 4.416 15.1 15.1 0 0 1 4.416 10.664v138.473c0 3.999-1.59 7.835-4.416 10.663a15.07 15.07 0 0 1-10.659 4.417H59.755a15.07 15.07 0 0 1-10.658-4.417 15.08 15.08 0 0 1-4.415-10.663z"})))};!function(e){e.Bounce="animate__bounce",e.Flash="animate__flash",e.Pulse="animate__pulse",e.RubberBand="animate__rubberBand",e.ShakeX="animate__shakeX",e.ShakeY="animate__shakeY",e.HeadShake="animate__headShake",e.Swing="animate__swing",e.Tada="animate__tada",e.Wobble="animate__wobble",e.Jello="animate__jello",e.HeartBeat="animate__heartBeat",e.BackInDown="animate__backInDown",e.BackInLeft="animate__backInLeft",e.BackInRight="animate__backInRight",e.BackInUp="animate__backInUp",e.BackOutDown="animate__backOutDown",e.BackOutLeft="animate__backOutLeft",e.BackOutRight="animate__backOutRight",e.BackOutUp="animate__backOutUp",e.BounceIn="animate__bounceIn",e.BounceInDown="animate__bounceInDown",e.BounceInLeft="animate__bounceInLeft",e.BounceInRight="animate__bounceInRight",e.BounceInUp="animate__bounceInUp",e.BounceOut="animate__bounceOut",e.BounceOutDown="animate__bounceOutDown",e.BounceOutLeft="animate__bounceOutLeft",e.BounceOutRight="animate__bounceOutRight",e.BounceOutUp="animate__bounceOutUp",e.FadeIn="animate__fadeIn",e.FadeInDown="animate__fadeInDown",e.FadeInDownBig="animate__fadeInDownBig",e.FadeInLeft="animate__fadeInLeft",e.FadeInLeftBig="animate__fadeInLeftBig",e.FadeInRight="animate__fadeInRight",e.FadeInRightBig="animate__fadeInRightBig",e.FadeInUp="animate__fadeInUp",e.FadeInUpBig="animate__fadeInUpBig",e.FadeInTopLeft="animate__fadeInTopLeft",e.FadeInTopRight="animate__fadeInTopRight",e.FadeInBottomLeft="animate__fadeInBottomLeft",e.FadeInBottomRight="animate__fadeInBottomRight",e.FadeOut="animate__fadeOut",e.FadeOutDown="animate__fadeOutDown",e.FadeOutDownBig="animate__fadeOutDownBig",e.FadeOutLeft="animate__fadeOutLeft",e.FadeOutLeftBig="animate__fadeOutLeftBig",e.FadeOutRight="animate__fadeOutRight",e.FadeOutRightBig="animate__fadeOutRightBig",e.FadeOutUp="animate__fadeOutUp",e.FadeOutUpBig="animate__fadeOutUpBig",e.FadeOutTopLeft="animate__fadeOutTopLeft",e.FadeOutTopRight="animate__fadeOutTopRight",e.FadeOutBottomLeft="animate__fadeOutBottomLeft",e.FadeOutBottomRight="animate__fadeOutBottomRight",e.Flip="animate__flip",e.FlipInX="animate__flipInX",e.FlipInY="animate__flipInY",e.FlipOutX="animate__flipOutX",e.FlipOutY="animate__flipOutY",e.LightSpeedInRight="animate__lightSpeedInRight",e.LightSpeedInLeft="animate__lightSpeedInLeft",e.LightSpeedOutRight="animate__lightSpeedOutRight",e.LightSpeedOutLeft="animate__lightSpeedOutLeft",e.RotateIn="animate__rotateIn",e.RotateInDownLeft="animate__rotateInDownLeft",e.RotateInDownRight="animate__rotateInDownRight",e.RotateInUpLeft="animate__rotateInUpLeft",e.RotateInUpRight="animate__rotateInUpRight",e.RotateOut="animate__rotateOut",e.RotateOutDownLeft="animate__rotateOutDownLeft",e.RotateOutDownRight="animate__rotateOutDownRight",e.RotateOutUpLeft="animate__rotateOutUpLeft",e.RotateOutUpRight="animate__rotateOutUpRight",e.Hinge="animate__hinge",e.JackInTheBox="animate__jackInTheBox",e.RollIn="animate__zoomIn",e.RollOut="animate__zoomIn",e.ZoomIn="animate__zoomIn",e.ZoomInDown="animate__zoomInDown",e.ZoomInLeft="animate__zoomInLeft",e.ZoomInRight="animate__zoomInRight",e.ZoomInUp="animate__zoomInUp",e.ZoomOut="animate__zoomOut",e.ZoomOutDown="animate__zoomOutDown",e.ZoomOutLeft="animate__zoomOutLeft",e.ZoomOutRight="animate__zoomOutRight",e.ZoomOutUp="animate__zoomOutUp",e.SlideInDown="animate__slideInDown",e.SlideInLeft="animate__slideInLeft",e.SlideInRight="animate__slideInRight",e.SlideInUp="animate__slideInUp",e.SlideOutDown="animate__slideOutDown",e.SlideOutLeft="animate__slideOutLeft",e.SlideOutRight="animate__slideOutRight",e.SlideOutUp="animate__slideOutUp"}(We||(We={})),function(e){e.Once="animate__repeat-1",e.Twice="animate__repeat-2",e.Thrice="animate__repeat-3",e.Infinite="animate__infinite"}(ze||(ze={})),function(e){e.Slow="animate__slow",e.Slower="animate__slower",e.Fast="animate__fast",e.Faster="animate__faster"}(Fe||(Fe={})),function(e){e.Delay1Second="animate__delay-1s",e.Delay2Second="animate__delay-2s",e.Delay3Second="animate__delay-3s",e.Delay4Second="animate__delay-4s",e.Delay5Second="animate__delay-5s"}(Pe||(Pe={}));var Ue,Me=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})},je=function(t){var n=j(t);return e(Te,_({className:n.getClassName("v-loading"),style:n.getStyle()},t,{children:e(Me,{category:t.animationCategory?t.animationCategory:We.Flip,speed:t.animationSpeed?t.animationSpeed:Fe.Slower,repeat:ze.Infinite,children:t.children})}))};function He(){return He=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},He.apply(null,arguments)}var Ye,qe=function(e){return r.createElement("svg",He({xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 256 256"},e),Ue||(Ue=r.createElement("path",{fill:"currentColor",fillRule:"evenodd",d:"M142.37 28c14.247 0 25.795 11.548 25.795 25.795s-11.548 25.799-25.795 25.799-25.796-11.551-25.796-25.799S128.122 28 142.37 28m65.108 50.223c7.122 7.125 7.122 18.673 0 25.796-7.122 7.125-18.673 7.125-25.795 0-7.126-7.123-7.126-18.67 0-25.796 7.122-7.122 18.673-7.122 25.795 0m13.977 76.209c0 9.032-7.318 16.35-16.35 16.35-9.03 0-16.348-7.318-16.348-16.35 0-9.03 7.318-16.348 16.348-16.348 9.032 0 16.35 7.318 16.35 16.348m-45.928 59.961c-4.277 4.278-11.215 4.278-15.493 0-4.28-4.28-4.28-11.218 0-15.496 4.278-4.28 11.216-4.28 15.493 0 4.281 4.278 4.281 11.216 0 15.496M104.469 228c-5.98 0-10.83-4.847-10.83-10.83s4.85-10.83 10.83-10.83c5.983 0 10.83 4.847 10.83 10.83S110.452 228 104.469 228m-58.417-41.95c-3.426-3.426-3.426-8.982 0-12.411 3.43-3.426 8.985-3.426 12.412 0a8.77 8.77 0 0 1 0 12.411 8.773 8.773 0 0 1-12.412 0M34 116.534a7.733 7.733 0 1 1 15.466-.002 7.733 7.733 0 0 1-15.466.002m41.858-55.412a4.53 4.53 0 0 1 6.398 0 4.52 4.52 0 0 1 0 6.399 4.52 4.52 0 0 1-6.398 0 4.53 4.53 0 0 1 0-6.399",clipRule:"evenodd"})))};!function(e){e.Vertical="Vertical",e.Horizontal="Horizontal"}(Ye||(Ye={}));var Ge,Je=function(e){return e.name.endsWith(".jpg")||e.name.endsWith(".jpeg")||e.name.endsWith(".png")};!function(e){e.Default="default",e.Circle="circle",e.Squared="squared",e.FullSize="full-size",e.Scale="scale"}(Ge||(Ge={}));var Ze,Ke,Qe=function(t){var n=t.category,r=x(t,["category"]),o=j(r),a=n||Ge.Default;return e("img",_({className:o.getClassName("v-image-".concat(a)),style:o.getStyle()},o.getProps("img")))},$e=o((function(t,n){return e(Ie,_({ref:n,display:"none",type:"hidden",id:t.id?t.id:t.name},t))}));function et(){return et=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},et.apply(null,arguments)}var tt,nt=function(e){return r.createElement("svg",et({xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 256 256"},e),Ze||(Ze=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"})),Ke||(Ke=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 rt(){return rt=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},rt.apply(null,arguments)}var ot,at,it=function(e){return r.createElement("svg",rt({xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 256 256"},e),tt||(tt=r.createElement("path",{fill:"currentColor",fillRule:"evenodd",d:"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 ct(){return ct=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)({}).hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},ct.apply(null,arguments)}var lt,ut=function(e){return r.createElement("svg",ct({xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 256 256"},e),ot||(ot=r.createElement("rect",{width:20,height:200,x:50,y:64,fill:"currentColor",rx:10,transform:"rotate(-45 50 64)"})),at||(at=r.createElement("rect",{width:20,height:200,fill:"currentColor",rx:10,transform:"scale(-1 1)rotate(-45 -25.527 280.136)"})))},st=o((function(t,n){var r,o=t.enableClear,a=x(t,["enableClear"]);if(o){var i={option:e(De,{fontSize:T.ExtraSmall,frontColor:m.Placeholder,onClick:function(){},children:e(ut,{})}),handleOption:function(e){e.value=""}};r=t.extensions?B(B([],t.extensions,!0),[i],!1):[i]}else t.extensions&&(r=t.extensions);return e(Ie,_({ref:n,readonlyRef:t.readonlyRef,inheritClassName:"v-textbox",isDefaultValue:!0,type:"text"},a,{extensions:r}))}));!function(e){e.NewWindow="_blank",e.Self="_self",e.Parent="_parent",e.Top="_top"}(lt||(lt={}));var dt,ft=function(t){var n=t.category,r=t.to,o=x(t,["category","to"]),a=j(o);return e(H,_({vClassName:"v-hyperlink"},o,{children:e("a",_({href:r,target:n,className:a.getClassName("v-hyperlink-a"),style:a.getStyle()},a.getProps("a"),{children:t.children}))}))};!function(e){e.Uninstalled="uninstalled",e.Outdated="outdated",e.Ready="ready"}(dt||(dt={}));var pt,gt;!function(e){e.P="p",e.Address="address",e.Article="article",e.Aside="aside",e.Details="details",e.Section="section"}(pt||(pt={})),function(e){e[e.Justify=0]="Justify",e[e.Left=1]="Left",e[e.Right=2]="Right",e[e.Center=3]="Center"}(gt||(gt={}));var ht,mt=o((function(t,r){t.icon;var o=t.value,a=t.valueHook,i=t.setStateHook,l=x(t,["icon","value","valueHook","setStateHook"]),u=j(l),d=s({value:o}),f=d[0],p=d[1],g=c(null);return e(H,_({vClassName:"v-validity v-textarea"},l,{children:n(he,{cross:ue.Top,gap:"0.6em",children:[t.icon,e(Te,{children:e("textarea",_({ref:r||g,id:t.id?t.id:t.name,value:a?t.valueHook:f.value},u.getProps("textarea"),{onChange:function(e){t.onChange&&t.onChange(e),i?i(e.target.value):p({value:e.target.value})}}))})]})}))}));!function(e){e.Default="default",e.Fixed="fixed"}(ht||(ht={}));var vt;!function(e){e.Vertical="vertical",e.Horizontal="horizontal"}(vt||(vt={}));var yt;!function(e){e.Default="default",e.Fixed="fixed"}(yt||(yt={}));var bt;!function(e){e.Default="default",e.Max="max"}(bt||(bt={}));var Ct;!function(e){e.Normal="normal",e.Italic="italic"}(Ct||(Ct={}));var St,wt;!function(e){e.Popup="popup",e.Redirect="redirect"}(St||(St={})),function(e){e.Implicit="implicit",e.AuthorizationCode="authorization-code"}(wt||(wt={}));var kt,_t="fewbox-google-grant";!function(e){e.Prompt="prompt",e.Popup="popup",e.Redirect="redirect"}(kt||(kt={}));var xt,Bt="fewbox-google-auth",Tt=Object.freeze({__proto__:null,get AnimationCategory(){return We},get AnimationDelay(){return Pe},get AnimationRepeat(){return ze},get AnimationSpeed(){return Fe},get BackgroundPositionType(){return ye},Base:j,get BorderRadiusType(){return w},get BreakpointType(){return p},get ColorType(){return m},get ComponentType(){return R},Debug:function(t){return t.isDebug?e("div",{className:"debug",children:t.children}):e("div",{className:"no-debug",children:t.children})},Display:J,get DisplayCategory(){return Y},get DisplayType(){return q},Dock:Q,get DockCategory(){return G},get EllipseCategory(){return ht},get ExtensionStatus(){return dt},FigmaSignin: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})},get FileCategory(){return Ye},Flex:le,get FlexAlignContentType(){return ae},get FlexAlignItemsType(){return oe},get FlexDirectionType(){return te},FlexItem:se,get FlexItemAlignSelfType(){return ce},get FlexJustifyContentType(){return re},get FlexWrapType(){return ne},get FontFamilyType(){return y},get FontWeightType(){return v},get GoogleFontType(){return Ct},GoogleGrant:function(n){return l((function(){var e=document.createElement("script");e.src="https://accounts.google.com/gsi/client",n.category==wt.Implicit?e.onload=function(){var e=google.accounts.oauth2.initTokenClient({client_id:n.clientId,scope:n.scope,callback:function(e){var t={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};n.callback(t)}});if(n.isAutoRequest)e.requestAccessToken();else{var t=document.getElementById(_t);null==t||t.addEventListener("click",(function(){e.requestAccessToken()}))}n.enableGoogle()}:e.onload=function(){var e=google.accounts.oauth2.initCodeClient({client_id:n.clientId,scope:n.scope,ux_mode:n.uxMode,callback:function(e){var t={code:e.code,scope:e.scope,state:e.state,error:e.error,errorDescription:e.error_description,errorUri:e.error_uri};n.callback(t)}});if(n.isAutoRequest)e.requestCode();else{var t=document.getElementById(_t);null==t||t.addEventListener("click",(function(){e.requestCode()}))}n.enableGoogle()},e.onerror=function(e){console.error(e),n.disableGoogle()},document.body.appendChild(e)}),[]),n.isAutoRequest?e(t,{}):e(Te,{id:_t,children:n.children})},get GoogleGrantCategory(){return wt},get GoogleGrantUXMode(){return St},GoogleSignin:function(t){return l((function(){var e=document.createElement("script");e.src="https://accounts.google.com/gsi/client",e.onload=function(){if(google.accounts.id.initialize({client_id:t.clientId,ux_mode:t.uxMode!=kt.Prompt?t.uxMode:void 0,use_fedcm_for_prompt:t.uxMode==kt.Prompt,callback:function(e){t.callback(e.credential)},login_uri:t.redirectUrl}),t.uxMode==kt.Prompt)google.accounts.id.prompt((function(e){(e.isNotDisplayed()||e.isSkippedMoment())&&t.switchAnotherIdentityProvider&&t.switchAnotherIdentityProvider(e.getNotDisplayedReason())}));else{var e=document.getElementById(t.googleAuthButtonId?t.googleAuthButtonId:Bt);e?google.accounts.id.renderButton(e,t.gsiButtonConfiguration?t.gsiButtonConfiguration:{type:"icon",size:"large",theme:"outline",shape:"circle",logo_alignment:"center"}):(console.error("The element google-auth not found!"),t.disableGoogle())}t.enableGoogle()},e.onerror=function(e){console.error(e),t.disableGoogle()},document.body.appendChild(e)}),[]),e(Te,{id:t.googleAuthButtonId?t.googleAuthButtonId:Bt})},get GoogleSigninUXMode(){return kt},get HandleSubmitCategory(){return Se},get HyperlinkCategory(){return lt},get ImageCategory(){return Ge},get LabelAlignType(){return xe},get LabelCategory(){return ke},get LabelType(){return _e},get LetterSpacingType(){return S},get LineCategory(){return vt},get LineHeightType(){return b},get PaddingType(){return C},Position:ee,PositionArea:ie,get PositionAreaCategory(){return $},get PositionCategory(){return Z},get PositionType(){return K},Responsive:function(r){return n(t,{children:[e(J,{category:Y.Hidden,type:q.Down,breakpoint:r.breakpointType?r.breakpointType:p.Small,children:r.desktop}),e(J,{category:Y.Hidden,type:q.Up,breakpoint:r.breakpointType?r.breakpointType:p.Small,children:r.mobile})]})},SBaseline:function(n){return e(t,{children:n.children})},SBottom:function(n){return e(t,{children:n.children})},SCenter:function(n){return e(t,{children:n.children})},SLeft:function(n){return e(t,{children:n.children})},SMiddle:function(n){return e(t,{children:n.children})},SRight:function(n){return e(t,{children:n.children})},SStretch:function(n){return e(t,{children:n.children})},STop:function(n){return e(t,{children:n.children})},get ShadowCategory(){return bt},get SizeType(){return T},get SvgCategory(){return Ve},get TextAlignType(){return gt},get TextCategory(){return pt},VActionForm:function(t){return e("form",_({className:"v-action-form"},t,{children:t.children}))},VAnimation:Me,VAudio:function(t){t.sources;var n=x(t,["sources"]),r=j(n);return e("audio",_({className:r.getClassName("v-audio"),style:r.getStyle(),controls:!0},r.getProps("audio"),{children:t.sources.map((function(t,n){return e("source",{src:t.src,type:t.type},"source".concat(n))}))}))},VBackground:function(t){t.image,t.imageWidth,t.imageHeight,t.position;var n,r=x(t,["image","imageWidth","imageHeight","position"]);return n=t.imageWidth&&t.imageHeight?{backgroundImage:'url("'.concat(t.image,'")'),backgroundSize:"".concat(t.imageWidth," ").concat(t.imageHeight)}:{backgroundImage:'url("'.concat(t.image,'")')},e(H,_({vClassName:t.position?"v-background-".concat(t.position):"v-background",style:n},r,{children:t.children}))},VBase64File:function(t){var r=t.fileIcon,o=t.base64Image,a=x(t,["fileIcon","base64Image"]),i=s({base64Image:o}),c=i[0],l=i[1];return n(Te,{className:"v-base64file",children:[e($e,{name:t.name,value:c.base64Image}),e(Ie,_({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",l({base64Image:e})},n.readAsDataURL(t)}},overWrite:function(o){return n(Ce,{gap:"0.2em",onClick:function(){var e;null===(e=o.current)||void 0===e||e.click()},children:[r,e(Qe,{fontSize:t.fontSize,category:Ge.Scale,src:"data:image/png;base64,".concat(c.base64Image),alt:"file"})]})}},a))]})},VBoundary:Te,VCheckBox:function(t){var r=t.isChecked,o=x(t,["isChecked"]),a=s({isChecked:r}),i=a[0],c=a[1];return e(Ie,{isAutoSize:t.isAutoSize,customAttibutes:{defaultChecked:!!i.isChecked},inheritClassName:"v-checkbox",type:"checkbox",isDefaultValue:!0,overWrite:function(r){return n(ve,_({gap:"0.2em",onClick:function(){var e,t;null===(e=r.current)||void 0===e||e.click(),(null===(t=r.current)||void 0===t?void 0:t.hasAttribute("checked"))?c({isChecked:!1}):c({isChecked:!0})}},o,{children:[e(De,{frontColor:t.frontColor,fontSize:t.fontSize,children:i.isChecked?e(Ee,{}):e(Xe,{})}),e(Be,{frontColor:t.frontColor,fontSize:t.fontSize,caption:t.label?t.label:""})]}))}})},VChromeExtensionValidator:function(t){var n,r=s({}),o=r[0],a=r[1];return l((function(){var e;o.status||(e=!1,window.addEventListener("extension-meta-".concat(t.extensionId),(function(n){e=!0,n.detail?n.detail.version?t.version?n.detail.version>=t.version?a(_(_({},o),{status:dt.Ready})):a(_(_({},o),{status:dt.Outdated})):a(_(_({},o),{status:dt.Ready})):a(_(_({},o),{status:dt.Outdated})):a(_(_({},o),{status:dt.Uninstalled}))})),window.dispatchEvent(new CustomEvent("validate-extension-".concat(t.extensionId),{detail:{id:t.extensionId}})),setTimeout((function(){e||a(_(_({},o),{status:dt.Uninstalled}))}),t.waitingTime?t.waitingTime:1e3))})),o.status===dt.Uninstalled?n=t.uninstalledCaption:o.status===dt.Outdated&&(n=t.outdatedCaption),e(Te,{children:!(o.status===dt.Ready)&&(t.overWrite&&o.status?t.overWrite(o.status):e(ft,{category:lt.NewWindow,to:t.downloadUrl?t.downloadUrl:"mailto:support@fewbox.com",children:n}))})},VColor:function(t){return e(Ie,_({type:"color",isDefaultValue:!0},t))},VDate:function(t){return e(Ie,_({type:"date",isDefaultValue:!0},t))},VDatetimeLocal:function(t){return e(Ie,_({type:"datetime-local",isDefaultValue:!0},t))},VDropdown:function(r){var o,a,i=r.value,u=r.name,d=r.icon,f=r.emptyIcon,p=r.downIcon,g=r.upIcon,h=r.enableClear,v=r.isReadonly,y=r.items,b=r.extensions,C=r.overWriteDropdownItem,S=r.handleChange,w=x(r,["value","name","icon","emptyIcon","downIcon","upIcon","enableClear","isReadonly","items","extensions","overWriteDropdownItem","handleChange"]),k=s({isSelectionShow:!1,selectValue:i||"",selectCaption:i?y.filter((function(e){return e.value==i}))[0].caption:"",items:y}),B=k[0],V=k[1],I=c(null),R=c(null),L=c(null);l((function(){var e=window.document.getElementById("".concat(u,"-dock"));if(e){var t=0;d&&(t+=2),t+=b?4*(b.length+1):4,e.style.width=v?L.current?"calc(".concat(L.current.offsetWidth,"px + ").concat(t,"em)"):"12em":R.current?"calc(".concat(R.current.offsetWidth,"px + ").concat(t,"em)"):"12em"}}));return n(H,_({vClassName:"v-dropdown"},w,{children:[e($e,{id:r.id?r.id:u,name:u,valueHook:null===(o=B.selectValue)||void 0===o?void 0:o.toString(),ref:I}),e(Q,{zIndex:B.isSelectionShow?2e9:-2e9,category:G.RightInnerBottom,renderOverlay:function(){return e(Te,{id:"".concat(u,"-dock"),visibility:B.isSelectionShow?"visible":"hidden",borderRadius:r.borderRadius,children:n(Ce,{backgroundColor:m.White,padding:"1em 0",gap:"0.6em",borderRadius:"0.2em",borderColor:r.borderColor,borderWidth:r.borderWidth,borderStyle:"solid",children:[B.items.map((function(r,o){return C?e(Te,{children:C(r)},"item".concat(o)):n(ve,{gap:"0.2em",padding:"0.2em 1em",className:"item",onClick:function(){V(_(_({},B),{isSelectionShow:!1,selectIcon:r.icon,selectCaption:r.caption,selectValue:r.value,items:y})),S&&S(r.value)},children:[r.icon?e(De,{fontSize:T.ExtraSmall,children:r.icon}):e(t,{}),e(Be,{caption:r.caption})]},"item".concat(o))})),!(0!=B.items.length)&&e(De,{fontSize:T.ExtraSmall,onClick:function(){},children:f})]})})},children:e(st,{padding:r.padding,isReadonly:v,fontSize:r.fontSize,icon:e(De,{fontSize:r.fontSize?r.fontSize:T.Normal,children:B.selectIcon?B.selectIcon:d}),valueHook:null===(a=B.selectCaption)||void 0===a?void 0:a.toString(),enableClear:h,extensions:[{option:e(De,{fontSize:r.fontSize?r.fontSize:T.Small,onClick:function(){},children:B.isSelectionShow?g:p}),handleOption:function(e){V(_(_({},B),{isSelectionShow:!B.isSelectionShow}))}}],onClick:function(){V(_(_({},B),{isSelectionShow:!B.isSelectionShow}))},onChange:function(e){var t;t=e.target.value,V(_(_({},B),{isSelectionShow:!0,selectCaption:t,items:y.filter((function(e){return e.caption.toLowerCase().indexOf(t.toLowerCase())>-1}))}))},ref:R,readonlyRef:L,borderRadius:r.borderRadius,frontColor:B.selectValue===B.selectCaption?r.frontColor:m.Error})})]}))},VEllipse:function(t){t.category;var n=x(t,["category"]);return e(H,_({vClassName:"v-ellipse-".concat(t.category?t.category:ht.Default)},n,{children:t.children}))},VEmail:function(t){return e(Ie,_({inheritClassName:"v-email",isDefaultValue:!0,type:"email"},t))},VFile:function(t){var r=t.category,o=t.appearance;t.loader;var a=t.loaderSize,i=t.loaderColor,u=t.previewImageWidth,d=t.textLength,f=t.autoUpload,p=t.renderLoader,g=x(t,["category","appearance","loader","loaderSize","loaderColor","previewImageWidth","textLength","autoUpload","renderLoader"]),h=c(null),m=s({inputFiles:[],isLoading:!1}),v=m[0],y=m[1],b=function(){y((function(e){return _(_({},e),{isLoading:!1})}))};l((function(){return function(){return v.inputFiles.forEach((function(e){e.objectUrl&&URL.revokeObjectURL(e.objectUrl)}))}}),[v.inputFiles]);var C=function(e){e.preventDefault(),e.currentTarget.className="v-file"};return e(Te,{className:"v-file",onDrop:function(e){e.preventDefault();var t=Array.from(e.dataTransfer.files),n=t.map((function(e){return{name:e.name,objectUrl:Je(e)?URL.createObjectURL(e):void 0}}));n.length>0&&(f?(y(_(_({},v),{inputFiles:n,isLoading:!0})),f(t,b),e.currentTarget.className="v-file"):(y(_(_({},v),{inputFiles:n})),e.currentTarget.className="v-file",console.error("Need Todo.")))},onDragOver:function(e){e.preventDefault(),e.currentTarget.className="v-file on-drag"},onDragEnd:C,onDragLeave:C,onDragExit:C,children:e(Ie,_({type:"file",isDefaultValue:!0,ref:h},g,{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:Je(e)?URL.createObjectURL(e):void 0}}));y(_(_({},v),{inputFiles:r})),f&&(y(_(_({},v),{inputFiles:r,isLoading:!0})),f(n,b))},overWrite:function(t){return r&&r==Ye.Vertical?n(Ce,{gap:"1em",onClick:function(){var e;null===(e=t.current)||void 0===e||e.click()},cross:de.Center,children:[!(0!=v.inputFiles.length)&&o,!(0==v.inputFiles.length)&&e(Ce,{gap:"0.6em",children:v.inputFiles.map((function(t,r){return n(Ce,{cross:de.Center,children:[!!t.objectUrl&&e(Te,{children:e("img",{src:t.objectUrl,alt:t.name,width:u||120})}),e(Be,{fontSize:T.Small,caption:t.name.length>(d||12)?t.name.slice(0,d||12)+"…":t.name})]},"image-file".concat(r))}))}),!!v.isLoading&&(p?p():e(je,{animationCategory:We.Flash,children:e(me,{children:e(De,{fontSize:a,frontColor:i,children:e(qe,{})})})}))]}):n(Ce,{gap:"1em",cross:de.Center,children:[n(pe,{gap:"1em",onClick:function(){var e;null===(e=t.current)||void 0===e||e.click()},children:[!(0!=v.inputFiles.length)&&o,!(0==v.inputFiles.length)&&e(Ce,{gap:"0.6em",children:v.inputFiles.map((function(t,r){return n(Ce,{cross:de.Center,children:[!!t.objectUrl&&e(Te,{children:e("img",{src:t.objectUrl,alt:t.name,width:u||120})}),e(Be,{fontSize:T.Small,caption:t.name.length>(d||12)?t.name.slice(0,d||12)+"…":t.name})]},"image-file".concat(r))}))})]}),!!v.isLoading&&(p?p():e(je,{animationCategory:We.Flash,children:e(De,{fontSize:a,frontColor:i,children:e(qe,{})})}))]})}}))})},VFooter:function(t){var n=j(t);return e("footer",_({className:n.getClassName("v-footer"),style:n.getStyle()},n.getProps("footer"),{children:t.children}))},VForm:function(t){t.handleSubmitCategory;var n=x(t,["handleSubmitCategory"]),r=j(n);return e("form",_({className:r.getClassName("v-form"),style:r.getStyle(),onSubmit:function(e){if(e.preventDefault(),!t.handleValidateError||e.currentTarget.checkValidity()){for(var n=0;n<e.currentTarget.elements.length;n++){(i=(a=e.currentTarget.elements.item(n)).closest(".v-validity"))&&(i.className=i.className.replace(" invalid",""))}var r=new FormData(e.currentTarget);if(t.handleSubmitCategory==Se.FormData)t.handleSubmit(r);else{var o=we(r);t.handleSubmit(o)}}else for(n=0;n<e.currentTarget.elements.length;n++){var a,i;(i=(a=e.currentTarget.elements.item(n)).closest(".v-validity"))&&(a.checkValidity()?i.className=i.className.replace(" invalid",""):-1==i.className.indexOf("invalid")&&(i.className+=" invalid")),t.handleValidateError(a)}}},r.getProps("form"),{children:t.children}))},VFrame:function(t){var n,r=t.image,o=t.backingBoard,a=t.style,i=x(t,["image","backingBoard","style"]);return o&&(n=_(_({},a),{background:"linear-gradient(".concat(o.degree,", ").concat(o.startColor,", ").concat(o.endColor,")")})),e(H,_({vClassName:"v-frame",style:n},i,{children:e("div",_({style:{backgroundImage:"url(".concat(r,")"),backgroundRepeat:"no-repeat",backgroundSize:"cover"}},t.customAttibutes,{children:t.children}))}))},VGoogleFont:function(n){return l((function(){var e=document.createElement("link");e.rel="preconnect",e.href="https://fonts.googleapis.com";var t=document.createElement("link");t.rel="preconnect",t.href="https://fonts.gstatic.com",t.crossOrigin="crossorigin",document.head.appendChild(e),document.head.appendChild(t),n.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==Ct.Italic})),i=a&&a.length>0?"ital,wght":"wght",c=document.createElement("link");c.rel="stylesheet";var l=[];e.fonts&&e.fonts.length>1?(null===(r=e.fonts)||void 0===r||r.forEach((function(e,t){"ital,wght"==i?e.type==Ct.Normal?l.push("0,".concat(L(e.weight))):e.type==Ct.Italic&&l.push("1,".concat(L(e.weight))):l.push(L(e.weight).toString())})),c.href="https://fonts.googleapis.com/css2?family=".concat(o,":").concat(i,"@").concat(l.join(";"),"&display=swap")):c.href="https://fonts.googleapis.com/css2?family=".concat(o,"&display=swap"),document.head.appendChild(c)}))})),e(t,{})},VGroup:function(n){var r=s({selectedValue:n.selectedValue}),o=r[0],a=r[1];return e(t,{children:n.renderGroup(o.selectedValue,(function(e){a({selectedValue:e.currentTarget.value})}))})},VHR:function(t){var n=j(t);return e("hr",_({className:n.getClassName("v-hr"),style:n.getStyle()},n.getProps("hr")))},VHeader:function(t){var n=j(t);return e("header",_({className:n.getClassName("v-header"),style:n.getStyle()},n.getProps("header"),{children:t.children}))},VHidden:$e,VHyperlink:ft,VImage:Qe,VLabel:Be,VLine:function(t){t.category;var n=x(t,["category"]);return e(H,_({vClassName:"v-line-".concat(t.category)},n))},VMain:function(t){var n=j(t);return e("main",_({className:n.getClassName("v-main"),style:n.getStyle()},n.getProps("main"),{children:t.children}))},VMask:function(t){return e(ee,{zIndex:t.zIndex?t.zIndex:1e8,category:Z.Window,type:K.Center,children:e(ie,{children:e(Te,{width:"100vw",height:"100vh",backgroundColor:m.Dark75,children:e(ee,{category:Z.Area,type:K.Center,children:t.children})})})})},VMonth:function(t){return e(Ie,_({type:"month",isDefaultValue:!0},t))},VNumber:function(t){return e(Ie,_({type:"number",isDefaultValue:!0},t))},VPassword:function(t){return e(Ie,_({inheritClassName:"v-password",isDefaultValue:!0,type:"password"},t))},VRadio:function(t){var r=t.isChecked,o=x(t,["isChecked"]);return e(Ie,_({type:"radio",customAttibutes:{checked:!!r},isDefaultValue:!0},o,{overWrite:function(o){return n(ve,{onClick:function(){var e;null===(e=o.current)||void 0===e||e.click()},children:[e(De,{padding:"0.4em",frontColor:t.frontColor,fontSize:t.fontSize,children:e(r?nt:it,{})}),e(Be,{frontColor:t.frontColor,fontSize:t.fontSize,caption:t.label?t.label:""})]})}}))},VRange:function(t){var n=t.controlBackgroundColor,r=t.controlBorderColor,o=x(t,["controlBackgroundColor","controlBorderColor"]),a="".concat(n,"-background ").concat(r,"-border");return e(Ie,_({type:"range",inputClassName:a},o))},VRectangle:function(t){t.category;var n=x(t,["category"]);return e(H,_({vClassName:"v-rectangle-".concat(t.category?t.category:yt.Default)},n))},VSearch:function(t){return e(Ie,_({type:"search",isDefaultValue:!0,inheritClassName:"v-search"},t))},VSection:function(t){var n=j(t);return e("section",_({className:n.getClassName("v-section"),style:n.getStyle()},n.getProps("section"),{children:t.children}))},VSelect:function(t){var n=t.name;t.items;var r=t.value,o=t.isMultiple;t.fontFamily;var a=x(t,["name","items","value","isMultiple","fontFamily"]),i=j(a);return e(Te,{className:i.getClassName("v-select"),style:i.getStyle(),children:e("select",_({multiple:o,name:n,defaultValue:r},i.getProps("select"),{children:t.items.map((function(t,n){return e("option",{value:t.value,children:t.caption},"option".concat(n))}))}))})},VShadow:function(n){var r=j(n);return e(t,{children:a.map(n.children,(function(o){return function(o){if(o){var a={};n.x&&n.y&&n.blur&&n.spread&&n.color&&(a.boxShadow="".concat(n.x,"px ").concat(n.y,"px ").concat(n.blur,"px ").concat(n.spread,"px ").concat(n.color));var c=r.getClassName("v-shadow-".concat(n.category?n.category:bt.Default)),l=_(_({},a),r.getStyle());return i(o,{className:c,style:l})}return e(t,{})}(o)}))})},VSubmit:function(t){var r=j(t),o=c(null);return n("div",{className:r.getClassName("v-submit"),style:r.getStyle(),onClick:function(){o.current.click()},children:[n(me,{cross:ue.Middle,children:[!!t.icon&&e("span",{children:t.icon}),!!t.caption&&e("span",{children:t.caption})]}),e("input",{formNoValidate:t.isFormNoValidate,ref:o,type:"submit",className:r.getClassName("v-submit"),style:r.getStyle()})]})},VSubmitWrapper:function(t){var r=j(t),o=c(null);return n("div",{className:r.getClassName("v-submit-wrapper"),style:r.getStyle(),children:[t.body,e("input",{ref:o,type:"submit"})]})},VSvg:De,VTel:function(t){return e(Ie,_({inheritClassName:"v-tel",isDefaultValue:!0,type:"tel"},t))},VText:function(t){var n=t.category;t.alignType;var r,o,a=t.body,i=x(t,["category","alignType","body"]),c=j(i);switch(t.alignType){case gt.Center:o="v-text-center";break;case gt.Justify:o="v-text-justify";break;case gt.Left:o="v-text";break;case gt.Right:o="v-text-right";break;default:o="v-text"}if(n){var l=n;r=u(l,c.getProps(l),a)}else r=u("span",c.getProps("span"),a);return e(H,_({vClassName:o},i,{children:r}))},VTextArea:mt,VTextBox:st,VTime:function(t){return e(Ie,_({type:"time",isDefaultValue:!0},t))},VUrl:function(t){return e(Ie,_({inheritClassName:"v-url",isDefaultValue:!0,type:"url"},t))},VVideo:function(t){t.sources;var n=x(t,["sources"]),r=j(n);return e("video",_({className:r.getClassName("v-label"),style:r.getStyle(),controls:!0},r.getProps("video"),{children:t.sources.map((function(t,n){return e("source",{src:t.src,type:t.type},"source".concat(n))}))}))},VWeek:function(t){return e(Ie,_({type:"week",isDefaultValue:!0},t))},VZone:function(t){return e(H,{vClassName:"v-zone-".concat(t.category),children:t.children})},get ViewSizeType(){return k},WeComSignin: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})},X:pe,XAround:function(e){return fe(e,void 0,void 0,(function(){return re.SpaceAround}))},XAutoBoth:function(t){var n=j(t);return fe(t,(function(t,r,o){return 0!=r&&r!=a.count(n.getChildren())-1?e(se,{grow:0,alignSelf:o,children:t}):e(se,{grow:1,alignSelf:o,children:t})}))},XAutoCenter:ge,XAutoLeft:function(t){return fe(t,(function(t,n,r){return e(se,0==n?{grow:1,alignSelf:r,children:t}:{grow:0,alignSelf:r,children:t})}))},XAutoLefts:function(t){var n=j(t);return fe(t,(function(t,r,o){return r==a.count(n.getChildren())-1?e(se,{grow:0,alignSelf:o,children:t}):e(se,{grow:1,alignSelf:o,children:t})}))},XAutoRight:he,XAutoRights:function(t){return fe(t,(function(t,n,r){return e(se,0==n?{grow:0,alignSelf:r,children:t}:{grow:1,alignSelf:r,children:t})}))},XBetween:function(e){return fe(e,void 0,void 0,(function(){return re.SpaceBetween}))},XCenter:me,get XCrossType(){return ue},XCustom:function(t){return fe(t,(function(n,r){var o=e(se,{children:n});return t.basises&&r<t.basises.length&&(o=e(se,{basis:t.basises[r],children:n})),o}))},XCustomBoth:function(t){var n=j(t);return fe(t,(function(r,o){return 0==o||o==a.count(n.getChildren())-1?e(se,{basis:t.basis,children:r}):e(se,{grow:1,children:r})}))},XEvenly:function(e){return fe(e,void 0,void 0,(function(){return re.SpaceEvenly}))},XLeft:ve,XRight:function(e){return fe(e,void 0,void 0,(function(){return re.End}))},XWrapAround:function(e){return fe(e,void 0,(function(){return ne.Wrap}),void 0,(function(){return ae.SpaceAround}))},XWrapBetween:function(e){return fe(e,void 0,(function(){return ne.Wrap}),void 0,(function(){return ae.SpaceBetween}))},XWrapBottom:function(e){return fe(e,void 0,(function(){return ne.Wrap}),void 0,(function(){return ae.End}))},XWrapEvenly:function(e){return fe(e,void 0,(function(){return ne.Wrap}),void 0,(function(){return ae.SpaceEvenly}))},XWrapMiddle:function(e){return fe(e,void 0,(function(){return ne.Wrap}),void 0,(function(){return ae.Center}))},XWrapTop:function(e){return fe(e,void 0,(function(){return ne.Wrap}),void 0,(function(){return ae.Start}))},Y:Ce,YAround:function(e){return be(e,void 0,void 0,void 0,(function(){return re.SpaceAround}))},YAutoBoth:function(t){var n=j(t);return be(t,(function(t,r,o){return 0!=r&&r!=a.count(n.getChildren())-1?e(se,{grow:0,alignSelf:o,children:t}):e(se,{grow:1,alignSelf:o,children:t})}))},YAutoBottom:function(t){var n=j(t);return be(t,(function(t,r){return r==a.count(n.getChildren())-1?e(se,{grow:1,children:t}):e(se,{grow:0,children:t})}))},YAutoBottoms:function(t){return be(t,(function(t,n,r){return e(se,0==n?{grow:0,alignSelf:r,children:t}:{grow:1,alignSelf:r,children:t})}))},YAutoCenter:function(t){var n=j(t);return be(t,(function(t,r,o){return 0!=r&&r!=a.count(n.getChildren())-1?e(se,{grow:1,alignSelf:o,children:t}):e(se,{grow:0,alignSelf:o,children:t})}))},YAutoTop:function(t){return be(t,(function(t,n,r){return e(se,0==n?{grow:1,alignSelf:r,children:t}:{grow:0,alignSelf:r,children:t})}))},YAutoTops:function(t){var n=j(t);return be(t,(function(t,r,o){return r==a.count(n.getChildren())-1?e(se,{grow:0,alignSelf:o,children:t}):e(se,{grow:1,alignSelf:o,children:t})}))},YBetween:function(e){return be(e,void 0,void 0,void 0,(function(){return re.SpaceBetween}))},YBottom:function(e){return be(e,void 0,void 0,void 0,(function(){return re.End}))},get YCrossType(){return de},YCustom:function(t){return be(t,(function(n,r){var o=e(se,{children:n});return t.basises&&r<t.basises.length&&(o=e(se,{basis:t.basises[r],children:n})),o}))},YCustomBoth:function(t){var n=j(t);return be(t,(function(r,o){return 0==o||o==a.count(n.getChildren())-1?e(se,{basis:t.basis,children:r}):e(se,{grow:1,children:r})}))},YEvenly:function(e){return be(e,void 0,void 0,void 0,(function(){return re.SpaceEvenly}))},YMiddle:function(e){return be(e,void 0,void 0,void 0,(function(){return re.Center}))},YTop:function(e){return be(e,void 0,void 0,void 0,(function(){return re.Start}))},YWrapAround:function(e){return be(e,void 0,(function(){return ne.Wrap}),(function(){return ae.SpaceAround}),void 0)},YWrapBetween:function(e){return be(e,void 0,(function(){return ne.Wrap}),(function(){return ae.SpaceBetween}))},YWrapCenter:function(e){return be(e,void 0,(function(){return ne.Wrap}),(function(){return ae.Center}))},YWrapEvenly:function(e){return be(e,void 0,(function(){return ne.Wrap}),(function(){return ae.SpaceEvenly}))},YWrapLeft:function(e){return be(e,void 0,(function(){return ne.Wrap}),(function(){return ae.Start}))},YWrapRight:function(e){return be(e,void 0,(function(){return ne.Wrap}),(function(){return ae.End}))},get ZoneCategory(){return D},convertFormDataToJson:we,getGeneratedClassName:z,parseJWT:function(e){var t={},n=f(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}});!function(e){e.Components=Tt}(xt||(xt={}));export{xt as Den};
|
|
2
2
|
//# sourceMappingURL=index.js.map
|