@fewbox/den-web 0.1.24 → 0.1.26
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/index.js +1 -1
- package/index.js.map +1 -1
- package/package.json +1 -1
- package/src/components/Engine/Base/ViewAttributes.d.ts +2 -0
- package/src/components/Engine/Base/index.d.ts +6 -3
- package/src/components/View/VBoundary/index.d.ts +1 -1
- package/src/components/View/VInput/VDropdown/index.d.ts +2 -2
- package/src/components/View/VInput/VHidden/index.d.ts +1 -4
- package/src/components/View/VInput/VSubmit/index.d.ts +1 -0
- package/src/components/View/VInput/VTextBox/index.d.ts +1 -1
- package/src/components/View/VInput/index.d.ts +2 -3
- package/src/components/View/VMount/index.d.ts +5 -0
- package/src/components/View/VRoot/index.d.ts +12 -4
- package/src/components/View/VTextArea/index.d.ts +2 -6
- package/templates/FEWBOX.md +1 -1
package/index.js
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import{jsx as e,Fragment as t,jsxs as n}from"react/jsx-runtime";import*as r from"react";import{forwardRef as o,Children as a,cloneElement as i,useState as c,useRef as l,useCallback as u,useLayoutEffect as s,useEffect as d,createElement as f,useImperativeHandle as p}from"react";import{createPortal as g}from"react-dom";import{jwtDecode as h}from"jwt-decode";var m=function(e,t){return m=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)Object.prototype.hasOwnProperty.call(t,n)&&(e[n]=t[n])},m(e,t)};function v(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Class extends value "+String(t)+" is not a constructor or null");function n(){this.constructor=e}m(e,t),e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)}var y,b,C,w,S,k,_,x,B=function(){return B=Object.assign||function(e){for(var t,n=1,r=arguments.length;n<r;n++)for(var o in t=arguments[n])Object.prototype.hasOwnProperty.call(t,o)&&(e[o]=t[o]);return e},B.apply(this,arguments)};function V(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 T(e,t,n){if(n||2===arguments.length)for(var r,o=0,a=t.length;o<a;o++)!r&&o in t||(r||(r=Array.prototype.slice.call(t,0,o)),r[o]=t[o]);return e.concat(r||Array.prototype.slice.call(t))}"function"==typeof SuppressedError&&SuppressedError,function(e){e.Font="font",e.Body="body",e.White="white",e.Black="black",e.Light="light",e.Light75="light75",e.Light50="light50",e.Light25="light25",e.Dark="dark",e.Dark75="dark75",e.Dark50="dark50",e.Dark25="dark25",e.Primary="primary",e.Primary75="primary75",e.Primary50="primary50",e.Primary25="primary25",e.Secondary="secondary",e.Secondary75="secondary75",e.Secondary50="secondary50",e.Secondary25="secondary25",e.Tertiary="tertiary",e.Tertiary75="tertiary75",e.Tertiary50="tertiary50",e.Tertiary25="tertiary25",e.Info="info",e.Info75="info75",e.Info50="info50",e.Info25="info25",e.Success="success",e.Success75="success75",e.Success50="success50",e.Success25="success25",e.Warning="warning",e.Warning75="warning75",e.Warning50="warning50",e.Warning25="warning25",e.Error="error",e.Error75="error75",e.Error50="error50",e.Error25="error25",e.Border="border",e.Border75="border75",e.Border50="border50",e.Border25="border25",e.Placeholder="placeholder",e.Placeholder75="placeholder75",e.Placeholder50="placeholder50",e.Placeholder25="placeholder25",e.Transparent="transparent"}(y||(y={})),function(e){e.Thin="font-weight-thin",e.ExtraLight="font-weight-extra-light",e.Light="font-weight-light",e.Regular="font-weight-regular",e.Medium="font-weight-medium",e.SemiBold="font-weight-semi-bold",e.Bold="font-weight-bold",e.ExtraBold="font-weight-extra-bold",e.Black="font-weight-black"}(b||(b={})),function(e){e.Default="font-family"}(C||(C={})),function(e){e.Default="line-height"}(w||(w={})),function(e){e.Default="padding"}(S||(S={})),function(e){e.Default="letter-spacing"}(k||(k={})),function(e){e.Default="border-radius",e.Fixed="border-radius-fixed",e.Max="border-radius-max"}(_||(_={})),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"}(x||(x={}));var I,R,O,L,D=function(e){var t;switch(e){case b.Thin:t=100;break;case b.ExtraLight:t=200;break;case b.Light:t=300;break;case b.Regular:t=400;break;case b.Medium:t=500;break;case b.SemiBold:t=600;break;case b.Bold:t=700;break;case b.ExtraBold:t=800;break;case b.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"}(I||(I={})),function(e){e.All="all",e.Before="before",e.After="after"}(R||(R={})),function(e){e.All="all",e.Top="top",e.Right="right",e.Bottom="bottom",e.Left="left",e.ExceptTop="except-top",e.ExceptRight="except-right",e.ExceptBottom="except-bottom",e.ExceptLeft="except-left",e.RightTop="right-top",e.RightBottom="right-bottom",e.LeftTop="left-top",e.LeftBottom="left-bottom",e.TopBottom="top-bottom",e.LeftRight="left-right"}(O||(O={})),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 N,E=function(){function e(e){this.className=e}return e.prototype.getClassName=function(){return"".concat(this.className)},e}(),A=function(e){this.component=e},z=function(e){function t(t,n,r){var o=e.call(this,t)||this;return o.sizeType=n,o.isAuto=r,o}return v(t,e),t.prototype.getClassName=function(){if(this.sizeType){var e=void 0;return e=Object.values(I).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}(A),F=function(e){function t(t,n){var r=e.call(this,t)||this;return r.weightType=n,r}return v(t,e),t.prototype.getClassName=function(){return this.weightType?"".concat(this.component.getClassName()," ").concat(this.weightType):this.component.getClassName()},t}(A),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 v(t,e),t.prototype.getBorderPrefix=function(e){return e?"-".concat(e):""},t.prototype.getBorderColorClassName=function(e,t,n){var r,o=this.getBorderPrefix(n);switch(t){case O.Bottom:r=" ".concat(e).concat(o,"-border-bottom");break;case O.ExceptBottom:r=" ".concat(e).concat(o,"-border-except-bottom");break;case O.ExceptLeft:r=" ".concat(e).concat(o,"-border-except-left");break;case O.ExceptRight:r=" ".concat(e).concat(o,"-border-except-right");break;case O.ExceptTop:r=" ".concat(e).concat(o,"-border-except-top");break;case O.Left:r=" ".concat(e).concat(o,"-border-left");break;case O.LeftBottom:r=" ".concat(e).concat(o,"-border-left-bottom");break;case O.LeftRight:r=" ".concat(e).concat(o,"-border-left-right");break;case O.LeftTop:r=" ".concat(e).concat(o,"-border-left-top");break;case O.Right:r=" ".concat(e).concat(o,"-border-right");break;case O.RightBottom:r=" ".concat(e).concat(o,"-border-right-bottom");break;case O.RightTop:r=" ".concat(e).concat(o,"-border-right-top");break;case O.Top:r=" ".concat(e).concat(o,"-border-top");break;case O.TopBottom:r=" ".concat(e).concat(o,"-border-bottom");break;default:r=" ".concat(e).concat(o,"-border")}return r},t.prototype.getClassName=function(){var e,t,n=this.backgroundColorType?" ".concat(this.backgroundColorType,"-background"):this.isDefaultValue?" ".concat(y.White,"-background"):"",r=this.pseudoBackgroundColorType?" ".concat(this.pseudoBackgroundColorType,"-before-background"):this.isDefaultValue?" ".concat(y.White,"-before-background"):"",o=this.pseudoBackgroundColorType?" ".concat(this.pseudoBackgroundColorType,"-after-background"):this.isDefaultValue?" ".concat(y.White,"-after-background"):"",a="".concat(r).concat(o),i=this.frontColorType?" ".concat(this.frontColorType,"-front"):this.isDefaultValue?" ".concat(y.Black,"-front"):"",c=this.pseudoFrontColorType?" ".concat(this.pseudoFrontColorType,"-before-front"):this.isDefaultValue?" ".concat(y.Black,"-before-front"):"",l=this.pseudoFrontColorType?" ".concat(this.pseudoFrontColorType,"-after-front"):this.isDefaultValue?" ".concat(y.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(y.Transparent).concat(this.getBorderPrefix(this.pseudoType),"-border"):"",t=this.pseudoType?this.pseudoBorderColorType?this.pseudoBorderDirectionType?this.getBorderColorClassName(this.pseudoBorderColorType,this.pseudoBorderDirectionType,this.pseudoType):" ".concat(this.pseudoBorderColorType).concat(this.getBorderPrefix(this.pseudoType),"-border"):this.isDefaultValue?" ".concat(y.Transparent).concat(this.getBorderPrefix(this.pseudoType),"-border"):"":"","".concat(this.component.getClassName()).concat(n).concat(a).concat(i).concat(u).concat(e).concat(t)},t}(A),P=function(e,t,n,r,o,a,i,c,l,u,s,d,f,p){return new W(new z(new F(new E(e),o),n,r),t,a,i,c,l,u,s,d,f,p).getClassName()},X=["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"],M=["id","title","dir","lang","translate","tabIndex","accessKey","contentEditable","spellCheck","draggable","enterKeyHint","inputMode","autoCapitalize","role","slot","htmlFor","hidden","is"],U=["onError","onLoad"],j=["onAbort","onCanPlay","onCanPlayThrough","onDurationChange","onEmptied","onEncrypted","onEnded","onError","onLoadedData","onLoadedMetadata","onLoadStart","onPause","onPlay","onPlaying","onProgress","onRateChange","onResize","onSeeked","onSeeking","onStalled","onSuspend","onTimeUpdate","onVolumeChange","onWaiting"],H={div:T(T([],X,!0),M,!0),input:T(T(T(T([],X,!0),M,!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:T(T(T([],X,!0),M,!0),["rows","cols","wrap","name","autoFocus"],!0),template:T(T([],X,!0),M,!0),abbr:T(T([],X,!0),M,!0),span:T(T([],X,!0),M,!0),h1:T(T([],X,!0),M,!0),h2:T(T([],X,!0),M,!0),h3:T(T([],X,!0),M,!0),h4:T(T([],X,!0),M,!0),h5:T(T([],X,!0),M,!0),h6:T(T([],X,!0),M,!0),i:T(T([],X,!0),M,!0),b:T(T([],X,!0),M,!0),u:T(T([],X,!0),M,!0),em:T(T([],X,!0),M,!0),strong:T(T([],X,!0),M,!0),blockquote:T(T([],X,!0),M,!0),cite:T(T([],X,!0),M,!0),code:T(T([],X,!0),M,!0),del:T(T([],X,!0),M,!0),dfn:T(T([],X,!0),M,!0),ins:T(T([],X,!0),M,!0),kbd:T(T([],X,!0),M,!0),mark:T(T([],X,!0),M,!0),pre:T(T([],X,!0),M,!0),q:T(T([],X,!0),M,!0),s:T(T([],X,!0),M,!0),samp:T(T([],X,!0),M,!0),small:T(T([],X,!0),M,!0),summary:T(T([],X,!0),M,!0),sup:T(T([],X,!0),M,!0),sub:T(T([],X,!0),M,!0),time:T(T([],X,!0),M,!0),var:T(T([],X,!0),M,!0),wbr:T(T([],X,!0),M,!0),p:T(T([],X,!0),M,!0),address:T(T([],X,!0),M,!0),article:T(T([],X,!0),M,!0),aside:T(T([],X,!0),M,!0),details:T(T(T([],X,!0),M,!0),["onToggle"],!0),section:T(T([],X,!0),M,!0),form:T(T(T([],X,!0),M,!0),["onReset","onSubmit"],!0),dialog:T(T(T([],X,!0),M,!0),["onCancel","onClose"],!0),img:T(T(T(T([],X,!0),M,!0),U,!0),["src","alt","width","height","crossOrigin","decoding","loading","referrerPolicy","sizes","srcSet","title","role"],!0),iframe:T(T(T(T([],X,!0),M,!0),U,!0),["src","srcDoc","width","height","name","sandbox","allow","allowFullScreen","loading","referrerPolicy","title","role"],!0),object:T(T(T([],X,!0),M,!0),U,!0),embed:T(T(T([],X,!0),M,!0),U,!0),link:T(T(T([],X,!0),M,!0),U,!0),svg:T(T(T([],X,!0),M,!0),U,!0),audio:T(T(T([],X,!0),M,!0),j,!0),video:T(T(T([],X,!0),M,!0),j,!0)},Y=function(n){return{getClassName:function(e){var t=P(e,n.isDefaultValue,n.fontSize,n.isAutoSize,n.fontWeight,n.frontColor,n.backgroundColor,n.borderColor,n.borderDirection,n.pseudoType,n.pseudoFrontColor,n.pseudoBackgroundColor,n.pseudoBorderColor,n.pseudoBorderDirection);return n.className?"".concat(n.className," ").concat(t):t},getStyle:function(){var e={borderRadius:n.borderRadius,borderWidth:n.borderWidth,borderStyle:n.borderStyle,borderColor:n.borderColor,padding:n.padding,margin:n.margin,height:n.height,width:n.width,minHeight:n.minHeight,minWidth:n.minWidth,maxHeight:n.maxHeight,maxWidth:n.maxWidth,opacity:n.opacity,display:n.display,zIndex:n.zIndex,visibility:n.visibility,fontFamily:n.fontFamily,letterSpacing:n.letterSpacing,lineHeight:n.lineHeight,cursor:n.cursor,overflow:n.overflow,overflowX:n.overflowX,overflowY:n.overflowY};return B(B({},n.style),e)},getChildren:function(){if(n.children){if(Array.isArray(n.children)){var r=n.children.filter(Boolean);return r&&r.length>0?r:e(t,{})}return n.children?n.children:e(t,{})}return e(t,{})},getProps:function(e){var t={},r=Object.keys(n);return r.length>0&&r.forEach((function(r){H[e]&&H[e].includes(r)&&(t[r]=n[r])})),t}}};!function(e){e.ExtraSmall="extra-small",e.Small="small",e.Medium="medium",e.Large="large",e.ExtraLarge="extra-large",e.ExtraExtraLarge="extra-extra-large"}(N||(N={}));var q,G=o((function(t,n){var r=t.vClassName,o=V(t,["vClassName"]),a=Y(o);return e("div",B({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"}(q||(q={}));var J,Z;!function(e){e.Visiable="visiable",e.Hidden="hidden"}(J||(J={})),function(e){e.Only="only",e.Up="up",e.Down="down"}(Z||(Z={}));var K,Q,$=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!=Z.Only?n.type==Z.Up?t="".concat(n.breakpoint,"-up-").concat(n.category):n.type==Z.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.InnerTop="inner-top",e.InnerRight="inner-right",e.InnerBottom="inner-bottom",e.InnerLeft="inner-left",e.InnerLeftTop="inner-left-top",e.InnerRightTop="inner-right-top",e.InnerLeftBottom="inner-left-bottom",e.InnerRightBottom="inner-right-bottom"}(K||(K={})),function(e){e.Horizontal="horizontal",e.Vertical="vertical"}(Q||(Q={}));var ee,te,ne=function(t){var r=t.category,o=t.offset,a=void 0===o?0:o,i=t.overlayZIndex,f=void 0===i?2147483647:i,p=t.renderOverlay,h=V(t,["category","offset","overlayZIndex","renderOverlay"]),m=Y(h),v=c({isMounted:!1}),y=v[0],b=v[1],C=l(null),w=l(null),S=e("div",{ref:w,className:"dock-overlay",style:{zIndex:f},children:p()}),k=u((function(){var e=C.current,n=w.current;if(e&&n){var o=e.getBoundingClientRect(),i=n.getBoundingClientRect(),c=0,l=0;switch(r){case K.Top:c=o.left+(o.width-i.width)/2,l=o.top-i.height-a;break;case K.Right:c=o.left+o.width+a,l=o.top+(o.height-i.height)/2;break;case K.Bottom:c=o.left+(o.width-i.width)/2,l=o.top+o.height+a;break;case K.Left:c=o.left-i.width-a,l=o.top+(o.height-i.height)/2;break;case K.LeftTop:t.alignment==Q.Horizontal?(c=o.left-i.width-a,l=o.top+a):t.alignment==Q.Vertical?(c=o.left+a,l=o.top-i.height-a):(c=o.left-i.width-a,l=o.top-i.height-a);break;case K.RightTop:t.alignment==Q.Horizontal?(c=o.left+o.width+a,l=o.top+a):t.alignment==Q.Vertical?(c=o.left+(o.width-i.width)-a,l=o.top-i.height-a):(c=o.left+o.width+a,l=o.top-i.height-a);break;case K.LeftBottom:t.alignment==Q.Horizontal?(c=o.left-i.width-a,l=o.top+(o.height-i.height)-a):t.alignment==Q.Vertical?(c=o.left+a,l=o.top+o.height+a):(c=o.left-i.width-a,l=o.top+o.height+a);break;case K.RightBottom:t.alignment==Q.Horizontal?(c=o.left+o.width+a,l=o.top+(o.height-i.height)-a):t.alignment==Q.Vertical?(c=o.left+(o.width-i.width)-a,l=o.top+o.height+a):(c=o.left+o.width+a,l=o.top+o.height+a);break;case K.InnerTop:c=o.left+(o.width-i.width)/2+a,l=o.top+a;break;case K.InnerRight:c=o.left+(o.width-i.width)-a,l=o.top+(o.height-i.height)/2;break;case K.InnerBottom:c=o.left+(o.width-i.width)/2,l=o.top+(o.height-i.height)-a;break;case K.InnerLeft:c=o.left+a,l=o.top+(o.height-i.height)/2;break;case K.InnerLeftTop:c=o.left+a,l=o.top+a;break;case K.InnerRightTop:c=o.left+(o.width-i.width)-a,l=o.top+a;break;case K.InnerLeftBottom:c=o.left+a,l=o.top+(o.height-i.height)-a;break;case K.InnerRightBottom:c=o.left+(o.width-i.width)-a,l=o.top+(o.height-i.height)-a}n.style.transform="translate3d(".concat(c,"px, ").concat(l,"px, 0)")}}),[r,a,f,p]);return s((function(){requestAnimationFrame(k)}),[k,p,f]),d((function(){var e=function(){return k()};return window.addEventListener("scroll",e,{capture:!0,passive:!0}),window.addEventListener("resize",e),function(){window.removeEventListener("scroll",e,!0),window.removeEventListener("resize",e)}}),[k]),s((function(){b({isMounted:!0})}),[]),n("div",B({ref:C,className:m.getClassName("dock"),style:m.getStyle()},m.getProps("div"),{children:[t.children,y.isMounted&&"undefined"!=typeof document&&g(S,document.body)]}))};!function(e){e.Edge="edge",e.Window="window",e.Area="area",e.Self="self"}(ee||(ee={})),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"}(te||(te={}));var re,oe=function(t){var n;if(t.category&&(n=t.type?"position-".concat(t.category,"-").concat(t.type):"position-".concat(t.category,"-custom")),t.isFullWidth&&(n="".concat(n," position-full-width")),t.type){var r=void 0;return r=B(B({},t.style),{zIndex:t.zIndex}),e("div",{className:n,style:r,children:t.children})}r=void 0;return r=t.category!=ee.Self?B(B({},t.style),{top:t.top,right:t.right,bottom:t.bottom,left:t.left,zIndex:t.zIndex}):B(B({},t.style),{top:"-".concat(t.top),right:"-".concat(t.right),bottom:"-".concat(t.bottom),left:"-".concat(t.left),zIndex:t.zIndex}),e("div",{className:n,style:r,children:t.children})};!function(e){e.Default="default",e.FullSize="full-size"}(re||(re={}));var ae,ie,ce,le,ue,se=function(n){return e(t,{children:a.map(n.children,(function(e){return function(e){var t="position-area-".concat(n.category?n.category:re.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"}(ae||(ae={})),function(e){e.NoWrap="nowrap",e.Wrap="wrap"}(ie||(ie={})),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"}(ce||(ce={})),function(e){e.Start="flex-start",e.Center="center",e.End="flex-end",e.Stretch="stretch",e.Baseline="baseline"}(le||(le={})),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"}(ue||(ue={}));var de,fe=function(t){t.vClassName;var n=t.direction,r=t.wrap,o=t.justifyContent,a=t.alignItems,i=t.alignContent,c=t.gap,l=V(t,["vClassName","direction","wrap","justifyContent","alignItems","alignContent","gap"]),u=Y(l),s=B(B({},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",B({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"}(de||(de={}));var pe,ge=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=B(B({},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"}(pe||(pe={}));var he,me=function(n,r,o,i,c){n.cross;var l=V(n,["cross"]),u=Y(l),s=function(t,n,o){return r?r(t,n,o):e(ge,{alignSelf:o,children:t},"child".concat(n))};return e(fe,B({vClassName:"v-xbase",alignItems:function(){var e;if(n.cross)switch(n.cross){case pe.Stretch:e=le.Stretch;break;case pe.Baseline:e=le.Baseline;break;case pe.Bottom:e=le.End;break;case pe.Middle:e=le.Center;break;case pe.Top:e=le.Start;break;default:e=le.Center}else e=le.Center;return e}(),wrap:o?o():ie.NoWrap,justifyContent:i?i():ce.Start,alignContent:c?c():ue.Start},l,{children:a.map(u.getChildren(),(function(n,r){var o=n;return o.type?"STop"===o.props.typeName?s(o.props.children,r,de.Start):"SMiddle"===o.props.typeName?s(o.props.children,r,de.Center):"SBottom"===o.props.typeName?s(o.props.children,r,de.End):"SStretch"===o.props.typeName?s(o.props.children,r,de.Stretch):"SBaseline"===o.props.typeName?s(o.props.children,r,de.Baseline):s(o,r):(console.debug(o),e(t,{children:"Please check X layout children."}))}))}))},ve=function(t){return me(t,(function(t,n,r){return e(ge,{grow:1,alignSelf:r,children:t})}))},ye=function(t){var n=Y(t);return me(t,(function(t,r,o){return 0!=r&&r!=a.count(n.getChildren())-1?e(ge,{grow:1,alignSelf:o,children:t}):e(ge,{grow:0,alignSelf:o,children:t})}))},be=function(t){var n=Y(t);return me(t,(function(t,r){return r==a.count(n.getChildren())-1?e(ge,{grow:1,children:t}):e(ge,{grow:0,children:t})}))},Ce=function(e){return me(e,void 0,void 0,(function(){return ce.SpaceBetween}))},we=function(e){return me(e,void 0,void 0,(function(){return ce.Center}))},Se=function(e){return me(e)};!function(e){e.Left="left",e.Center="center",e.Right="right",e.Baseline="baseline",e.Stretch="stretch"}(he||(he={}));var ke,_e=function(n,r,o,i,c){var l=n.cross,u=V(n,["cross"]),s=Y(u),d=function(t,n,o){return r?r(t,n,o):e(ge,{alignSelf:o,children:t},"child".concat(n))};return e(fe,B({vClassName:"v-ybase",wrap:o?o():ie.NoWrap,alignContent:i?i():ue.Start,alignItems:function(){var e;if(l)switch(l){case he.Left:e=le.Start;break;case he.Center:e=le.Center;break;case he.Right:e=le.End;break;case he.Baseline:e=le.Baseline;break;default:e=le.Stretch}else e=le.Stretch;return e}(),direction:ae.Column,justifyContent:c?c():ce.Start},u,{children:a.map(s.getChildren(),(function(n,r){var o=n;return o.type?o&&"SLeft"===o.props.typeName?d(o.props.children,r,de.Start):o&&"SMiddle"===o.props.typeName||o&&"SCenter"===o.props.typeName?d(o.props.children,r,de.Center):o&&"SRight"===o.props.typeName?d(o.props.children,r,de.End):o&&"SStretch"===o.props.typeName?d(o.props.children,r,de.Stretch):o&&"SBaseline"===o.props.typeName?d(o.props.children,r,de.Baseline):d(n,r):(console.debug(o),e(t,{children:"Please check Y layout children."}))}))}))},xe=function(t){return _e(t,(function(t,n,r){return e(ge,{grow:1,alignSelf:r,children:t})}))},Be=o((function(t,n){return e(G,B({id:t.id,ref:n,vClassName:"v-boundary"},t,{children:t.children}))}));Be.displayName="VBoundary",function(e){e.Top="top",e.Right="right",e.Bottom="bottom",e.Left="left",e.Center="center"}(ke||(ke={}));var Ve,Te=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]=T(T([],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"}(Ve||(Ve={}));var Ie,Re,Oe;!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"}(Ie||(Ie={})),function(e){e.Default="default",e.Circle="circle"}(Re||(Re={})),function(e){e[e.Justify=0]="Justify",e[e.Left=1]="Left",e[e.Right=2]="Right",e[e.Center=3]="Center"}(Oe||(Oe={}));var Le,De=function(t){var n,r,o=t.category,a=t.type,i=t.alignType,c=t.isTextOverflow,l=t.caption,u=V(t,["category","type","alignType","isTextOverflow","caption"]),s=Y(u);switch(i){case Oe.Center:r="v-label-center";break;case Oe.Justify:r="v-label-justify";break;case Oe.Left:r="v-label";break;case Oe.Right:r="v-label-right";break;default:r="v-label"}if(a==Re.Circle&&(r="".concat(r,"-circle")),c&&(r+=" v-label-text-overflow"),o){var d=o;n=f(d,s.getProps(d),l)}else n=f("span",s.getProps("span"),l);return a==Re.Circle?e(se,{children:e(G,B({vClassName:r,width:"1.6em",height:"1.6em",borderRadius:"2em"},u,{children:e(oe,{category:ee.Area,type:te.Center,children:n})}))}):e(G,B({display:null==t.category||t.category==Ie.Span?"inline-block":"block",vClassName:r},u,{children:n}))},Ne=o((function(t,r){var o=t.type,a=t.label,i=t.icon,u=t.value,s=t.valueHook,f=t.setStateHook,g=t.isValueShow,h=t.isReadonly,m=t.valueSize,v=t.valueColor;t.valueCategory;var b,C=t.valuePadding,w=t.inputStyle,S=t.inputClassName,k=t.overWrite,_=t.renderOptions,x=t.onChange,T=t.inheritClassName,R=t.customAttibutes,O=t.isFocus,L=V(t,["type","label","icon","value","valueHook","setStateHook","isValueShow","isReadonly","valueSize","valueColor","valueCategory","valuePadding","inputStyle","inputClassName","overWrite","renderOptions","onChange","inheritClassName","customAttibutes","isFocus"]),D=Y(L),N=c({value:void 0!==t.value?t.value:""}),E=N[0],A=N[1],z=l(null),F=l(null),W=l(null);return p(r,(function(){return W.current}),[]),d((function(){var e;r?null===(e=W.current)||void 0===e||e.focus():O&&z.current&&z.current.focus()}),[]),k&&(b=k(r?W:z)),n(G,B({vClassName:"v-validity v-input".concat(T?" ".concat(T):"")},L,{children:[n(xe,{display:b?"none":void 0,children:[n(ye,{gap:"0.6em",children:[!!i&&e(Be,{children:i}),n(Be,{children:[e("input",B({ref:r?W:z},R,{className:S,style:B(B({},w),{display:h?"none":"block"}),type:o,value:s||E.value,onChange:function(e){var t,n;g&&A({value:r?null===(t=W.current)||void 0===t?void 0:t.value:null===(n=z.current)||void 0===n?void 0:n.value}),x&&x(e),f?f(e.target.value):A({value:e.target.value})}},D.getProps("input"))),!!h&&e("div",{ref:t.readonlyRef?t.readonlyRef:F,children:s||(E.value?E.value.toString():"")}),!!a&&e("label",{htmlFor:t.id?t.id:t.name,children:a})]}),!!_&&_(z)]}),!!g&&e(we,{children:e(De,{padding:C,isAutoSize:t.isAutoSize,fontSize:m||I.Normal,frontColor:v||y.Black,caption:void 0!==E.value?E.value.toString():u?u.toString():""})})]}),!!b&&b]}))}));!function(e){e.Default="default",e.Circle="circle",e.Squared="squared",e.Custom="custom"}(Le||(Le={}));var Ee,Ae,ze=function(n){var r=Y(n);return e(t,{children:a.map(n.children,(function(e){return function(e){var t=n.category?n.category:Le.Default,o=r.getClassName("v-svg-".concat(t)),a=n.onClick,c=n.onMouseEnter,l=n.onMouseLeave,u=B(B({},r.getStyle()),{cursor:a?"pointer":"inherit"});return i(e,{className:o,style:u,onClick:a,onMouseEnter:c,onMouseLeave:l})}(e)}))})};function Fe(){return Fe=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},Fe.apply(null,arguments)}var We,Pe=function(e){return r.createElement("svg",Fe({xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 256 256"},e),Ee||(Ee=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"})),Ae||(Ae=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 Xe(){return Xe=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},Xe.apply(null,arguments)}var Me,Ue,je,He,Ye=function(e){return r.createElement("svg",Xe({xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 256 256"},e),We||(We=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"}(Me||(Me={})),function(e){e.Once="animate__repeat-1",e.Twice="animate__repeat-2",e.Thrice="animate__repeat-3",e.Infinite="animate__infinite"}(Ue||(Ue={})),function(e){e.Slow="animate__slow",e.Slower="animate__slower",e.Fast="animate__fast",e.Faster="animate__faster"}(je||(je={})),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"}(He||(He={}));var qe,Ge=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){t.animationCategory,t.animationSpeed;var n=V(t,["animationCategory","animationSpeed"]),r=Y(n);return e(G,B({className:r.getClassName("v-loading"),style:r.getStyle()},n,{children:e(Ge,{category:t.animationCategory?t.animationCategory:Me.Flip,speed:t.animationSpeed?t.animationSpeed:je.Slower,repeat:Ue.Infinite,children:t.children})}))};function Ze(){return Ze=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},Ze.apply(null,arguments)}var Ke,Qe=function(e){return r.createElement("svg",Ze({xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 256 256"},e),qe||(qe=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"}(Ke||(Ke={}));var $e,et=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"}($e||($e={}));var tt,nt,rt=function(t){var n=t.category,r=V(t,["category"]),o=Y(r),a=n||$e.Default;return e("img",B({className:o.getClassName("v-image-".concat(a)),style:o.getStyle()},o.getProps("img")))},ot=o((function(t,n){return e(Ne,B({ref:n,display:"none",type:"hidden",id:t.id?t.id:t.name},t))}));function at(){return at=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)({}).hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},at.apply(null,arguments)}var it,ct=function(e){return r.createElement("svg",at({xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 256 256"},e),tt||(tt=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"})),nt||(nt=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 lt(){return lt=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)({}).hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},lt.apply(null,arguments)}var ut,st,dt=function(e){return r.createElement("svg",lt({xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 256 256"},e),it||(it=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 ft(){return ft=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},ft.apply(null,arguments)}var pt,gt=function(e){return r.createElement("svg",ft({xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 256 256"},e),ut||(ut=r.createElement("rect",{width:20,height:200,x:50,y:64,fill:"currentColor",rx:10,transform:"rotate(-45 50 64)"})),st||(st=r.createElement("rect",{width:20,height:200,fill:"currentColor",rx:10,transform:"scale(-1 1)rotate(-45 -25.527 280.136)"})))},ht=o((function(t,r){var o=t.enableClear,a=V(t,["enableClear"]);return e(Ne,o?B({ref:r,readonlyRef:t.readonlyRef,inheritClassName:"v-textbox",isDefaultValue:!0,type:"text"},a,{renderOptions:function(r){return n(ve,{gap:"0.2em",children:[t.renderOptions&&t.renderOptions(r),e(ze,{fontSize:I.ExtraSmall,frontColor:y.Placeholder,onClick:function(){r.current.value=""},children:e(gt,{})})]})}}):B({ref:r,readonlyRef:t.readonlyRef,inheritClassName:"v-textbox",isDefaultValue:!0,type:"text"},a))}));function mt(){return mt=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)({}).hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},mt.apply(null,arguments)}var vt,yt=function(e){return r.createElement("svg",mt({xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 256 256"},e),pt||(pt=r.createElement("circle",{cx:128,cy:128,r:100,fill:"currentColor"})))};!function(e){e.NewWindow="_blank",e.Self="_self",e.Parent="_parent",e.Top="_top"}(vt||(vt={}));var bt,Ct,wt=function(t){var n=t.category,r=t.to,o=V(t,["category","to"]),a=Y(o);return e(G,B({vClassName:"v-hyperlink"},o,{children:e("a",B({href:r,target:n,className:a.getClassName("v-hyperlink-a"),style:a.getStyle()},a.getProps("a"),{children:t.children}))}))};!function(e){e.P="p",e.Address="address",e.Article="article",e.Aside="aside",e.Details="details",e.Section="section"}(bt||(bt={})),function(e){e[e.Justify=0]="Justify",e[e.Left=1]="Left",e[e.Right=2]="Right",e[e.Center=3]="Center"}(Ct||(Ct={}));var St,kt=o((function(t,r){t.icon;var o=t.isFocus,a=t.value,i=t.valueHook,u=t.setStateHook,s=V(t,["icon","isFocus","value","valueHook","setStateHook"]),f=Y(s),p=c({value:a}),g=p[0],h=p[1],m=l(null);return d((function(){r||o&&m.current&&m.current.focus()}),[]),e(G,B({vClassName:"v-validity v-textarea"},s,{children:n(be,{cross:pe.Top,gap:"0.6em",children:[t.icon,e(Be,{children:e("textarea",B({ref:r||m},f.getProps("textarea"),{id:t.id?t.id:t.name,value:i?t.valueHook:g.value,onChange:function(e){t.onChange&&t.onChange(e),u?u(e.target.value):h({value:e.target.value})}}))})]})}))}));!function(e){e.Default="default",e.Fixed="fixed"}(St||(St={}));var _t;!function(e){e.Vertical="vertical",e.Horizontal="horizontal"}(_t||(_t={}));var xt;!function(e){e.Default="default",e.Fixed="fixed"}(xt||(xt={}));var Bt;!function(e){e.Default="default",e.Max="max"}(Bt||(Bt={}));var Vt,Tt="--den-";!function(e){e.Global="global",e.Area="area"}(Vt||(Vt={}));var It;!function(e){e.Hover="hover",e.Click="click"}(It||(It={}));var Rt;!function(e){e.Uninstalled="uninstalled",e.Outdated="outdated",e.Ready="ready"}(Rt||(Rt={}));var Ot;!function(e){e.Normal="normal",e.Italic="italic"}(Ot||(Ot={}));var Lt,Dt;!function(e){e.Popup="popup",e.Redirect="redirect"}(Lt||(Lt={})),function(e){e.Implicit="implicit",e.AuthorizationCode="authorization-code"}(Dt||(Dt={}));var Nt,Et="fewbox-google-grant";!function(e){e.Prompt="prompt",e.Popup="popup",e.Redirect="redirect"}(Nt||(Nt={}));var At,zt="fewbox-google-auth",Ft=Object.freeze({__proto__:null,get AnimationCategory(){return Me},get AnimationDelay(){return He},get AnimationRepeat(){return Ue},get AnimationSpeed(){return je},get BackgroundPositionType(){return ke},Base:Y,get BorderRadiusType(){return _},get BreakpointType(){return N},get ColorType(){return y},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:$,get DisplayCategory(){return J},get DisplayType(){return Z},Dock:ne,get DockAlignment(){return Q},get DockCategory(){return K},get EllipseCategory(){return St},get ExtensionStatus(){return Rt},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 Ke},Flex:fe,get FlexAlignContentType(){return ue},get FlexAlignItemsType(){return le},get FlexDirectionType(){return ae},FlexItem:ge,get FlexItemAlignSelfType(){return de},get FlexJustifyContentType(){return ce},get FlexWrapType(){return ie},get FontFamilyType(){return C},get FontSizeType(){return I},get FontWeightType(){return b},get GoogleFontType(){return Ot},GoogleGrant:function(n){return d((function(){var e=document.createElement("script");e.src="https://accounts.google.com/gsi/client",n.category==Dt.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(Et);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(Et);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(G,{id:Et,children:n.children})},get GoogleGrantCategory(){return Dt},get GoogleGrantUXMode(){return Lt},GoogleSignin:function(t){return d((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!=Nt.Prompt?t.uxMode:void 0,use_fedcm_for_prompt:t.uxMode==Nt.Prompt,callback:function(e){t.callback(e.credential)},login_uri:t.redirectUrl}),t.uxMode==Nt.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:zt);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(G,{id:t.googleAuthButtonId?t.googleAuthButtonId:zt})},get GoogleSigninUXMode(){return Nt},get HandleSubmitCategory(){return Ve},get HyperlinkCategory(){return vt},get ImageCategory(){return $e},get LabelAlignType(){return Oe},get LabelCategory(){return Ie},get LabelType(){return Re},get LetterSpacingType(){return k},get LineCategory(){return _t},get LineHeightType(){return w},get PaddingType(){return S},Position:oe,PositionArea:se,get PositionAreaCategory(){return re},get PositionCategory(){return ee},get PositionType(){return te},Responsive:function(r){return n(t,{children:[e($,{category:J.Hidden,type:Z.Down,breakpoint:r.breakpointType?r.breakpointType:N.Small,children:r.desktop}),e($,{category:J.Hidden,type:Z.Up,breakpoint:r.breakpointType?r.breakpointType:N.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 SvgCategory(){return Le},get TextAlignType(){return Ct},get TextCategory(){return bt},get ThemeCategory(){return Vt},get TooltipCategory(){return It},VActionForm:function(t){return e("form",B({className:"v-action-form"},t,{children:t.children}))},VAnimation:Ge,VAudio:function(t){t.sources;var n=V(t,["sources"]),r=Y(n);return e("audio",B({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=V(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(G,B({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=V(t,["fileIcon","base64Image"]),i=c({base64Image:o}),l=i[0],u=i[1];return n(G,{className:"v-base64file",children:[e(ot,{name:t.name,value:l.base64Image}),e(Ne,B({type:"file",isDefaultValue:!0,onChange:function(e){if(e.target.files&&1==e.target.files.length){var t=e.target.files[0],n=new FileReader;n.onloadend=function(){var e;e=n.result&&"string"==typeof n.result?n.result.replace("data:","").replace(/^.+,/,""):"Todo",u({base64Image:e})},n.readAsDataURL(t)}},overWrite:function(o){return n(xe,{gap:"0.2em",onClick:function(){var e;null===(e=o.current)||void 0===e||e.click()},children:[r,e(rt,{fontSize:t.fontSize,category:$e.Scale,src:"data:image/png;base64,".concat(l.base64Image),alt:"file"})]})}},a))]})},VBoundary:Be,VCheckBox:function(t){var r=t.isChecked,o=V(t,["isChecked"]),a=c({isChecked:r}),i=a[0],l=a[1];return e(Ne,{isAutoSize:t.isAutoSize,customAttibutes:{defaultChecked:!!i.isChecked},inheritClassName:"v-checkbox",type:"checkbox",isDefaultValue:!0,overWrite:function(r){return n(Se,B({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"))?l({isChecked:!1}):l({isChecked:!0})}},o,{children:[e(ze,{frontColor:t.frontColor,fontSize:t.fontSize,children:i.isChecked?e(Pe,{}):e(Ye,{})}),e(De,{frontColor:t.frontColor,fontSize:t.fontSize,caption:t.label?t.label:""})]}))}})},VChromeExtensionValidator:function(n){var r=c({}),o=r[0],a=r[1];if(d((function(){var e;o.status||(e="chrome-extension://".concat(n.extensionId,"/meta.json"),fetch(e).then((function(e){return e.ok?e.json():Promise.reject()})).then((function(e){var t=!n.version||e.version>=n.version;a({status:t?Rt.Ready:Rt.Outdated,meta:e})})).catch((function(){return a({status:Rt.Uninstalled})})))})),o.status){if(n.overWrite)return n.overWrite(o.status,o.meta);var i=void 0;return o.status===Rt.Ready?e(t,{}):(o.status===Rt.Uninstalled?i=n.uninstalledMessage:o.status===Rt.Outdated&&(i=n.outdatedMessage),e(wt,{category:vt.NewWindow,to:n.downloadUrl?n.downloadUrl:"mailto:support@fewbox.com",children:i}))}return e(t,{})},VColor:function(t){return e(Ne,B({type:"color",isDefaultValue:!0},t))},VDate:function(t){return e(Ne,B({type:"date",isDefaultValue:!0},t))},VDatetimeLocal:function(t){return e(Ne,B({type:"datetime-local",isDefaultValue:!0},t))},VDropdown:function(r){var o,a,i=r.value,u=r.name,s=r.icon,d=r.emptyIcon;r.downIcon,r.upIcon;var f=r.enableClear,p=r.isReadonly,g=r.items,h=r.dockCategory,m=r.dockAlignment,v=r.overWriteDropdownItem,b=r.handleChange,C=V(r,["value","name","icon","emptyIcon","downIcon","upIcon","enableClear","isReadonly","items","dockCategory","dockAlignment","overWriteDropdownItem","handleChange"]),w=c({isSelectionShow:!1,selectValue:i||"",selectCaption:i?g.filter((function(e){return e.value==i}))[0].caption:"",items:g}),S=w[0],k=w[1],_=l(null),x=l(null),T=l(null);return n(G,B({vClassName:"v-dropdown"},C,{children:[e(ot,{id:r.id?r.id:u,name:u,valueHook:null===(o=S.selectValue)||void 0===o?void 0:o.toString(),ref:_}),e(ne,{zIndex:S.isSelectionShow?2e9:-2e9,category:h||K.RightBottom,alignment:m||Q.Vertical,renderOverlay:function(){return e(Be,{visibility:S.isSelectionShow?"visible":"hidden",borderRadius:r.borderRadius,children:n(xe,{backgroundColor:y.White,padding:"1em 0",gap:"0.6em",borderRadius:"0.2em",borderColor:r.borderColor,borderWidth:r.borderWidth,borderStyle:"solid",children:[S.items.map((function(r,o){return v?e(Be,{children:v(r)},"item".concat(o)):n(Se,{gap:"0.2em",padding:"0.2em 1em",className:"item",onClick:function(){k(B(B({},S),{isSelectionShow:!1,selectIcon:r.icon,selectCaption:r.caption,selectValue:r.value,items:g})),b&&b(r.value)},children:[r.icon?e(ze,{fontSize:I.ExtraSmall,children:r.icon}):e(t,{}),e(De,{caption:r.caption})]},"item".concat(o))})),!(0!=S.items.length)&&e(ze,{fontSize:I.ExtraSmall,onClick:function(){},children:d})]})})},children:e(ht,{padding:r.padding,isReadonly:p,fontSize:r.fontSize,icon:e(ze,{fontSize:r.fontSize?r.fontSize:I.Normal,children:S.selectIcon?S.selectIcon:s}),valueHook:null===(a=S.selectCaption)||void 0===a?void 0:a.toString(),enableClear:f,renderOptions:r.renderOptions,onClick:function(){k(B(B({},S),{isSelectionShow:!S.isSelectionShow}))},onChange:function(e){var t;t=e.target.value,k(B(B({},S),{isSelectionShow:!0,selectCaption:t,items:g.filter((function(e){return e.caption.toLowerCase().indexOf(t.toLowerCase())>-1}))}))},ref:x,readonlyRef:T,borderRadius:r.borderRadius,frontColor:S.selectValue===S.selectCaption?r.frontColor:y.Error})})]}))},VEllipse:function(t){t.category;var n=V(t,["category"]);return e(G,B({vClassName:"v-ellipse-".concat(t.category?t.category:St.Default)},n,{children:t.children}))},VEmail:function(t){return e(Ne,B({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.isPreview,s=t.previewImageWidth,f=t.textLength,p=t.autoUpload,g=t.renderLoader,h=V(t,["category","appearance","loader","loaderSize","loaderColor","isPreview","previewImageWidth","textLength","autoUpload","renderLoader"]),m=l(null),v=c({inputFiles:[],isLoading:!1}),y=v[0],b=v[1],C=function(){b((function(e){return B(B({},e),{isLoading:!1})}))};d((function(){return function(){return y.inputFiles.forEach((function(e){e.objectUrl&&URL.revokeObjectURL(e.objectUrl)}))}}),[y.inputFiles]);var w=function(e){e.preventDefault(),e.currentTarget.className="v-file"};return e(G,{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:et(e)?URL.createObjectURL(e):void 0}}));n.length>0&&(p?(b(B(B({},y),{inputFiles:n,isLoading:!0})),p(t,C),e.currentTarget.className="v-file"):(b(B(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:w,onDragLeave:w,onDragExit:w,children:e(Ne,B({type:"file",isDefaultValue:!0,ref:m},h,{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:et(e)?URL.createObjectURL(e):void 0}}));b(B(B({},y),{inputFiles:r})),p&&(b(B(B({},y),{inputFiles:r,isLoading:!0})),p(n,C))},overWrite:function(t){return u?r&&r==Ke.Vertical?n(xe,{gap:"1em",onClick:function(){var e;null===(e=t.current)||void 0===e||e.click()},cross:he.Center,children:[!(0!=y.inputFiles.length)&&o,!(0==y.inputFiles.length)&&e(xe,{gap:"0.6em",children:y.inputFiles.map((function(t,r){return n(xe,{cross:he.Center,children:[!!t.objectUrl&&e(Be,{children:e("img",{src:t.objectUrl,alt:t.name,width:s||120})}),e(De,{fontSize:I.Small,caption:t.name.length>(f||12)?t.name.slice(0,f||12)+"…":t.name})]},"image-file".concat(r))}))}),!!y.isLoading&&(g?g():e(Je,{animationCategory:Me.Flash,children:e(we,{children:e(ze,{fontSize:a,frontColor:i,children:e(Qe,{})})})}))]}):n(xe,{gap:"1em",cross:he.Center,children:[n(ve,{gap:"1em",onClick:function(){var e;null===(e=t.current)||void 0===e||e.click()},children:[!(0!=y.inputFiles.length)&&o,!(0==y.inputFiles.length)&&e(xe,{gap:"0.6em",children:y.inputFiles.map((function(t,r){return n(xe,{cross:he.Center,children:[!!t.objectUrl&&e(Be,{children:e("img",{src:t.objectUrl,alt:t.name,width:s||120})}),e(De,{fontSize:I.Small,caption:t.name.length>(f||12)?t.name.slice(0,f||12)+"…":t.name})]},"image-file".concat(r))}))})]}),!!y.isLoading&&(g?g():e(Je,{animationCategory:Me.Flash,children:e(ze,{fontSize:a,frontColor:i,children:e(Qe,{})})}))]}):e(Be,{cursor:"pointer",onClick:function(){var e;null===(e=t.current)||void 0===e||e.click()},children:o})}}))})},VFooter:function(t){var n=Y(t);return e("footer",B({className:n.getClassName("v-footer"),style:n.getStyle()},n.getProps("footer"),{children:t.children}))},VForm:function(t){t.handleSubmitCategory;var n=V(t,["handleSubmitCategory"]),r=Y(n);return e("form",B({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==Ve.FormData)t.handleSubmit(r);else{var o=Te(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=V(t,["image","backingBoard","style"]);return o&&(n=B(B({},a),{background:"linear-gradient(".concat(o.degree,", ").concat(o.startColor,", ").concat(o.endColor,")")})),e(G,B({vClassName:"v-frame",style:n},i,{children:e("div",B({style:{backgroundImage:"url(".concat(r,")"),backgroundRepeat:"no-repeat",backgroundSize:"cover"}},t.customAttibutes,{children:t.children}))}))},VGoogleFont:function(n){return d((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==Ot.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==Ot.Normal?l.push("0,".concat(D(e.weight))):e.type==Ot.Italic&&l.push("1,".concat(D(e.weight))):l.push(D(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=c({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=Y(t);return e("hr",B({className:n.getClassName("v-hr"),style:n.getStyle()},n.getProps("hr")))},VHeader:function(t){var n=Y(t);return e("header",B({className:n.getClassName("v-header"),style:n.getStyle()},n.getProps("header"),{children:t.children}))},VHidden:ot,VHyperlink:wt,VImage:rt,VLabel:De,VLine:function(t){t.category;var n=V(t,["category"]);return e(G,B({vClassName:"v-line-".concat(t.category)},n))},VLoading:Je,VMain:function(t){var n=Y(t);return e("main",B({className:n.getClassName("v-main"),style:n.getStyle()},n.getProps("main"),{children:t.children}))},VMask:function(t){return e(oe,{zIndex:t.zIndex?t.zIndex:1e8,category:ee.Window,type:te.Center,children:e(se,{children:e(G,{width:"100vw",height:"100vh",backgroundColor:y.Dark75,children:e(oe,{category:ee.Area,type:te.Center,children:t.children})})})})},VMonth:function(t){return e(Ne,B({type:"month",isDefaultValue:!0},t))},VNumber:function(t){return e(Ne,B({type:"number",isDefaultValue:!0},t))},VPassword:function(t){return e(Ne,B({inheritClassName:"v-password",isDefaultValue:!0,type:"password"},t))},VRadio:function(t){var r=t.isChecked,o=V(t,["isChecked"]);return e(Ne,B({type:"radio",customAttibutes:{checked:!!r},isDefaultValue:!0},o,{overWrite:function(o){return n(Se,{onClick:function(){var e;null===(e=o.current)||void 0===e||e.click()},children:[e(ze,{padding:"0.4em",frontColor:t.frontColor,fontSize:t.fontSize,children:e(r?ct:dt,{})}),e(De,{frontColor:t.frontColor,fontSize:t.fontSize,caption:t.label?t.label:""})]})}}))},VRange:function(t){var n=t.controlBackgroundColor,r=t.controlBorderColor,o=V(t,["controlBackgroundColor","controlBorderColor"]),a="".concat(n,"-background ").concat(r,"-border");return e(Ne,B({type:"range",inputClassName:a},o))},VRectangle:function(t){t.category;var n=V(t,["category"]);return e(G,B({vClassName:"v-rectangle-".concat(t.category?t.category:xt.Default)},n))},VSearch:function(t){return e(Ne,B({type:"search",isDefaultValue:!0,inheritClassName:"v-search"},t))},VSection:function(t){var n=Y(t);return e("section",B({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=V(t,["name","items","value","isMultiple","fontFamily"]),i=Y(a);return e(G,{className:i.getClassName("v-select"),style:i.getStyle(),children:e("select",B({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=Y(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=B(B({},a),r.getStyle());return i(o,{className:c,style:l})}return e(t,{})}(o)}))})},VSubmit:function(t){var r=Y(t),o=l(null);return n("div",{className:r.getClassName("v-submit"),style:r.getStyle(),onClick:function(){o.current.click()},children:[n(we,{cross:pe.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=Y(t),o=l(null);return n("div",{className:r.getClassName("v-submit-wrapper"),style:r.getStyle(),children:[t.body,e("input",{ref:o,type:"submit"})]})},VSvg:ze,VSwitch:function(t){var r=t.isOn,o=t.icon,a=t.gap,i=t.isDisabled,l=t.onSwitch,u=V(t,["isOn","icon","gap","isDisabled","onSwitch"]),s=c({isOn:r}),d=s[0],f=s[1],p=o?e(ze,{margin:d.isOn?"0 0.6em 0 0":"0 0 0 0.6em ",frontColor:y.White,fontSize:I.Normal,children:o}):e(Be,{width:"1em",height:"1em"}),g=t.isDisabled?void 0:function(){t.isDisabled||(l&&l(!d.isOn),f({isOn:!d.isOn}))};return e(G,B({vClassName:i?"v-switch-disabled":"v-switch",borderRadius:"32em",backgroundColor:d.isOn?t.frontColor?t.frontColor:y.Success:t.backgroundColor?t.backgroundColor:y.Placeholder},u,{onClick:g,children:n(Ce,{onClick:g,gap:a||"0.6em",children:[d.isOn?e(ze,{category:Le.Circle,frontColor:y.White,children:e(yt,{})}):p,d.isOn?p:e(ze,{category:Le.Circle,frontColor:y.White,children:e(yt,{})})]})}))},VTel:function(t){return e(Ne,B({inheritClassName:"v-tel",isDefaultValue:!0,type:"tel"},t))},VText:function(t){var n=t.category;t.alignType;var r,o,a=t.renderContent,i=V(t,["category","alignType","renderContent"]),c=Y(i);switch(t.alignType){case Ct.Center:o="v-text-center";break;case Ct.Justify:o="v-text-justify";break;case Ct.Left:o="v-text";break;case Ct.Right:o="v-text-right";break;default:o="v-text"}if(n){var l=n;r=f(l,c.getProps(l),a())}else r=f("span",c.getProps("span"),a());return e(G,B({vClassName:o},i,{children:r}))},VTextArea:kt,VTextBox:ht,VTheme:function(n){return d((function(){var e;n.category==Vt.Area?n.area&&(e=document.getElementById(n.area)):e=document.documentElement,e&&(Object.keys(n.theme.colors).forEach((function(t){e.style.setProperty("".concat(Tt,"color-").concat(t),n.theme.colors[t])})),Object.keys(n.theme.fontSizes).forEach((function(t){e.style.setProperty("".concat(Tt).concat(t),n.theme.fontSizes[t])})),Object.keys(n.theme.fontWeights).forEach((function(t){e.style.setProperty("".concat(Tt).concat(t),n.theme.fontWeights[t])})))}),[]),n.category==Vt.Area?n.area?e(G,{id:n.area,backgroundColor:y.Body,children:n.children}):e(De,{backgroundColor:y.Error,caption:"No Area!"}):e(t,{})},VTime:function(t){return e(Ne,B({type:"time",isDefaultValue:!0},t))},VTooltip:function(n){var r,o=n.category,a=n.dockCategory,i=n.dockAlignment,l=n.renderOverlay,u=V(n,["category","dockCategory","dockAlignment","renderOverlay"]),s=c({isShow:!1}),d=s[0],f=s[1];return r=o||It.Hover,e(G,B({vClassName:"v-tooltip"},u,{children:e(ne,{category:a,alignment:i,renderOverlay:function(){return d.isShow?l():e(t,{})},children:e(Be,{onClick:function(){r==It.Click&&f({isShow:!d.isShow})},onMouseEnter:function(){r==It.Hover&&f({isShow:!0})},onMouseLeave:function(){r==It.Hover&&f({isShow:!1})},children:n.children})})}))},VUrl:function(t){return e(Ne,B({inheritClassName:"v-url",isDefaultValue:!0,type:"url"},t))},VVideo:function(t){t.sources;var n=V(t,["sources"]),r=Y(n);return e("video",B({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(Ne,B({type:"week",isDefaultValue:!0},t))},VZone:function(t){return e(G,{vClassName:"v-zone-".concat(t.category),children:t.children})},get ViewSizeType(){return x},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:ve,XAround:function(e){return me(e,void 0,void 0,(function(){return ce.SpaceAround}))},XAutoBoth:function(t){var n=Y(t);return me(t,(function(t,r,o){return 0!=r&&r!=a.count(n.getChildren())-1?e(ge,{grow:0,alignSelf:o,children:t}):e(ge,{grow:1,alignSelf:o,children:t})}))},XAutoCenter:ye,XAutoLeft:function(t){return me(t,(function(t,n,r){return e(ge,0==n?{grow:1,alignSelf:r,children:t}:{grow:0,alignSelf:r,children:t})}))},XAutoLefts:function(t){var n=Y(t);return me(t,(function(t,r,o){return r==a.count(n.getChildren())-1?e(ge,{grow:0,alignSelf:o,children:t}):e(ge,{grow:1,alignSelf:o,children:t})}))},XAutoRight:be,XAutoRights:function(t){return me(t,(function(t,n,r){return e(ge,0==n?{grow:0,alignSelf:r,children:t}:{grow:1,alignSelf:r,children:t})}))},XBetween:Ce,XCenter:we,get XCrossType(){return pe},XCustom:function(t){return me(t,(function(n,r){var o=e(ge,{children:n});return t.basises&&r<t.basises.length&&(o=e(ge,{basis:t.basises[r],children:n})),o}))},XCustomBoth:function(t){var n=Y(t);return me(t,(function(r,o){return 0==o||o==a.count(n.getChildren())-1?e(ge,{basis:t.basis,children:r}):e(ge,{grow:1,children:r})}))},XEvenly:function(e){return me(e,void 0,void 0,(function(){return ce.SpaceEvenly}))},XLeft:Se,XRight:function(e){return me(e,void 0,void 0,(function(){return ce.End}))},XWrapAround:function(e){return me(e,void 0,(function(){return ie.Wrap}),void 0,(function(){return ue.SpaceAround}))},XWrapBetween:function(e){return me(e,void 0,(function(){return ie.Wrap}),void 0,(function(){return ue.SpaceBetween}))},XWrapBottom:function(e){return me(e,void 0,(function(){return ie.Wrap}),void 0,(function(){return ue.End}))},XWrapEvenly:function(e){return me(e,void 0,(function(){return ie.Wrap}),void 0,(function(){return ue.SpaceEvenly}))},XWrapMiddle:function(e){return me(e,void 0,(function(){return ie.Wrap}),void 0,(function(){return ue.Center}))},XWrapTop:function(e){return me(e,void 0,(function(){return ie.Wrap}),void 0,(function(){return ue.Start}))},Y:xe,YAround:function(e){return _e(e,void 0,void 0,void 0,(function(){return ce.SpaceAround}))},YAutoBoth:function(t){var n=Y(t);return _e(t,(function(t,r,o){return 0!=r&&r!=a.count(n.getChildren())-1?e(ge,{grow:0,alignSelf:o,children:t}):e(ge,{grow:1,alignSelf:o,children:t})}))},YAutoBottom:function(t){var n=Y(t);return _e(t,(function(t,r){return r==a.count(n.getChildren())-1?e(ge,{grow:1,children:t}):e(ge,{grow:0,children:t})}))},YAutoBottoms:function(t){return _e(t,(function(t,n,r){return e(ge,0==n?{grow:0,alignSelf:r,children:t}:{grow:1,alignSelf:r,children:t})}))},YAutoCenter:function(t){var n=Y(t);return _e(t,(function(t,r,o){return 0!=r&&r!=a.count(n.getChildren())-1?e(ge,{grow:1,alignSelf:o,children:t}):e(ge,{grow:0,alignSelf:o,children:t})}))},YAutoTop:function(t){return _e(t,(function(t,n,r){return e(ge,0==n?{grow:1,alignSelf:r,children:t}:{grow:0,alignSelf:r,children:t})}))},YAutoTops:function(t){var n=Y(t);return _e(t,(function(t,r,o){return r==a.count(n.getChildren())-1?e(ge,{grow:0,alignSelf:o,children:t}):e(ge,{grow:1,alignSelf:o,children:t})}))},YBetween:function(e){return _e(e,void 0,void 0,void 0,(function(){return ce.SpaceBetween}))},YBottom:function(e){return _e(e,void 0,void 0,void 0,(function(){return ce.End}))},get YCrossType(){return he},YCustom:function(t){return _e(t,(function(n,r){var o=e(ge,{children:n});return t.basises&&r<t.basises.length&&(o=e(ge,{basis:t.basises[r],children:n})),o}))},YCustomBoth:function(t){var n=Y(t);return _e(t,(function(r,o){return 0==o||o==a.count(n.getChildren())-1?e(ge,{basis:t.basis,children:r}):e(ge,{grow:1,children:r})}))},YEvenly:function(e){return _e(e,void 0,void 0,void 0,(function(){return ce.SpaceEvenly}))},YMiddle:function(e){return _e(e,void 0,void 0,void 0,(function(){return ce.Center}))},YTop:function(e){return _e(e,void 0,void 0,void 0,(function(){return ce.Start}))},YWrapAround:function(e){return _e(e,void 0,(function(){return ie.Wrap}),(function(){return ue.SpaceAround}),void 0)},YWrapBetween:function(e){return _e(e,void 0,(function(){return ie.Wrap}),(function(){return ue.SpaceBetween}))},YWrapCenter:function(e){return _e(e,void 0,(function(){return ie.Wrap}),(function(){return ue.Center}))},YWrapEvenly:function(e){return _e(e,void 0,(function(){return ie.Wrap}),(function(){return ue.SpaceEvenly}))},YWrapLeft:function(e){return _e(e,void 0,(function(){return ie.Wrap}),(function(){return ue.Start}))},YWrapRight:function(e){return _e(e,void 0,(function(){return ie.Wrap}),(function(){return ue.End}))},get ZoneCategory(){return q},convertFormDataToJson:Te,getGeneratedClassName:P,parseJWT:function(e){var t={},n=h(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=Ft}(At||(At={}));export{At as Den};
|
|
1
|
+
import{jsx as e,Fragment as t,jsxs as n}from"react/jsx-runtime";import*as r from"react";import{Children as o,cloneElement as a,useState as i,useRef as c,useCallback as l,useLayoutEffect as u,useEffect as s,createElement as d}from"react";import{createPortal as f}from"react-dom";import{jwtDecode as p}from"jwt-decode";var h=function(e,t){return h=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])},h(e,t)};function g(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}h(e,t),e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)}var m,v,y,b,C,w,S,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"}(w||(w={})),function(e){e.Default="border-radius",e.Fixed="border-radius-fixed",e.Max="border-radius-max"}(S||(S={})),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 V,T,I,O,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"}(V||(V={})),function(e){e.All="all",e.Before="before",e.After="after"}(T||(T={})),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"}(O||(O={}));var D,R,N=function(){function e(e){this.className=e}return e.prototype.getClassName=function(){return"".concat(this.className)},e}(),E=function(e){this.component=e},A=function(e){function t(t,n,r){var o=e.call(this,t)||this;return o.sizeType=n,o.isAuto=r,o}return g(t,e),t.prototype.getClassName=function(){if(this.sizeType){var e=void 0;return e=Object.values(V).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}(E),z=function(e){function t(t,n){var r=e.call(this,t)||this;return r.weightType=n,r}return g(t,e),t.prototype.getClassName=function(){return this.weightType?"".concat(this.component.getClassName()," ").concat(this.weightType):this.component.getClassName()},t}(E),F=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 g(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}(E),W=function(e,t,n,r,o,a,i,c,l,u,s,d,f,p){return new F(new A(new z(new N(e),o),n,r),t,a,i,c,l,u,s,d,f,p).getClassName()},P=["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"],X=["id","title","dir","lang","translate","tabIndex","accessKey","contentEditable","spellCheck","draggable","enterKeyHint","inputMode","autoCapitalize","role","slot","htmlFor","hidden","is"],j=["onError","onLoad"],M=["onAbort","onCanPlay","onCanPlayThrough","onDurationChange","onEmptied","onEncrypted","onEnded","onError","onLoadedData","onLoadedMetadata","onLoadStart","onPause","onPlay","onPlaying","onProgress","onRateChange","onResize","onSeeked","onSeeking","onStalled","onSuspend","onTimeUpdate","onVolumeChange","onWaiting"],U={div:B(B([],P,!0),X,!0),input:B(B(B(B([],P,!0),X,!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([],P,!0),X,!0),["rows","cols","wrap","name","autoFocus","autoComplete","placeholder","maxLength","minLength","required","readOnly","disabled","wrap","spellcheck","dirname"],!0),template:B(B([],P,!0),X,!0),abbr:B(B([],P,!0),X,!0),span:B(B([],P,!0),X,!0),h1:B(B([],P,!0),X,!0),h2:B(B([],P,!0),X,!0),h3:B(B([],P,!0),X,!0),h4:B(B([],P,!0),X,!0),h5:B(B([],P,!0),X,!0),h6:B(B([],P,!0),X,!0),i:B(B([],P,!0),X,!0),b:B(B([],P,!0),X,!0),u:B(B([],P,!0),X,!0),em:B(B([],P,!0),X,!0),strong:B(B([],P,!0),X,!0),blockquote:B(B([],P,!0),X,!0),cite:B(B([],P,!0),X,!0),code:B(B([],P,!0),X,!0),del:B(B([],P,!0),X,!0),dfn:B(B([],P,!0),X,!0),ins:B(B([],P,!0),X,!0),kbd:B(B([],P,!0),X,!0),mark:B(B([],P,!0),X,!0),pre:B(B([],P,!0),X,!0),q:B(B([],P,!0),X,!0),s:B(B([],P,!0),X,!0),samp:B(B([],P,!0),X,!0),small:B(B([],P,!0),X,!0),summary:B(B([],P,!0),X,!0),sup:B(B([],P,!0),X,!0),sub:B(B([],P,!0),X,!0),time:B(B([],P,!0),X,!0),var:B(B([],P,!0),X,!0),wbr:B(B([],P,!0),X,!0),p:B(B([],P,!0),X,!0),address:B(B([],P,!0),X,!0),article:B(B([],P,!0),X,!0),aside:B(B([],P,!0),X,!0),details:B(B(B([],P,!0),X,!0),["onToggle"],!0),section:B(B([],P,!0),X,!0),form:B(B(B([],P,!0),X,!0),["onReset","onSubmit"],!0),dialog:B(B(B([],P,!0),X,!0),["onCancel","onClose"],!0),img:B(B(B(B([],P,!0),X,!0),j,!0),["src","alt","width","height","crossOrigin","decoding","loading","referrerPolicy","sizes","srcSet","title","role"],!0),iframe:B(B(B(B([],P,!0),X,!0),j,!0),["src","srcDoc","width","height","name","sandbox","allow","allowFullScreen","loading","referrerPolicy","title","role"],!0),object:B(B(B([],P,!0),X,!0),j,!0),embed:B(B(B([],P,!0),X,!0),j,!0),link:B(B(B([],P,!0),X,!0),j,!0),svg:B(B(B([],P,!0),X,!0),j,!0),audio:B(B(B([],P,!0),X,!0),M,!0),video:B(B(B([],P,!0),X,!0),M,!0)},H=["className","style","fontSize","isAutoSize","fontWeight","frontColor","backgroundColor","borderColor","borderDirection","pseudoType","pseudoFrontColor","pseudoBackgroundColor","pseudoBorderColor","pseudoBorderDirection","display","visibility","zIndex","fontFamily","borderWidth","borderRadius","borderStyle","padding","margin","height","width","minHeight","minWidth","maxHeight","maxWidth","opacity","letterSpacing","lineHeight","cursor","overflow","overflowX","overflowY","isDefaultValue","customAttibutes"],Y=function(n){return{getClassName:function(e){var t=W(e,n.isDefaultValue,n.fontSize,n.isAutoSize,n.fontWeight,n.frontColor,n.backgroundColor,n.borderColor,n.borderDirection,n.pseudoType,n.pseudoFrontColor,n.pseudoBackgroundColor,n.pseudoBorderColor,n.pseudoBorderDirection);return n.className?"".concat(n.className," ").concat(t):t},getStyle:function(e){var t={borderRadius:n.borderRadius,borderWidth:n.borderWidth,borderStyle:n.borderStyle,borderColor:n.borderColor,padding:n.padding,margin:n.margin,height:n.height,width:n.width,minHeight:n.minHeight,minWidth:n.minWidth,maxHeight:n.maxHeight,maxWidth:n.maxWidth,opacity:n.opacity,display:n.display,zIndex:n.zIndex,visibility:n.visibility,fontFamily:n.fontFamily,letterSpacing:n.letterSpacing,lineHeight:n.lineHeight,cursor:n.cursor,overflow:n.overflow,overflowX:n.overflowX,overflowY:n.overflowY};return _(_(_({},n.style),e),t)},getChildren:function(){if(n.children){if(Array.isArray(n.children)){var r=n.children.filter(Boolean);return r&&r.length>0?r:e(t,{})}return n.children?n.children:e(t,{})}return e(t,{})},getProps:function(e){var t={},r={},o=Object.keys(n);return o.length>0&&o.forEach((function(o){H.includes(o)?t[o]=n[o]:U[e]&&U[e].includes(o)&&(r[o]=n[o])})),{view:t,html:r}}}};!function(e){e.ExtraSmall="extra-small",e.Small="small",e.Medium="medium",e.Large="large",e.ExtraLarge="extra-large",e.ExtraExtraLarge="extra-extra-large"}(D||(D={})),function(e){e.Display="display",e.Rich="rich"}(R||(R={}));var q,G=function(t){var n=(t.category==R.Display?{}:t._base.getProps("div")).html;return e("div",_({className:t._base.getClassName(t.className),style:t._base.getStyle(t.style)},n,{children:t.children}))};!function(e){e.Fluid="fluid",e.Small="small",e.Medium="medium",e.Large="large",e.ExtraLarge="extra-large",e.ExtraExtraLarge="extra-extra-large"}(q||(q={}));var J,Z;!function(e){e.Visiable="visiable",e.Hidden="hidden"}(J||(J={})),function(e){e.Only="only",e.Up="up",e.Down="down"}(Z||(Z={}));var K,Q,$=function(n){return n.children?e(t,{children:o.map(n.children,(function(e){return function(e){if(e&&e.props){var t=void 0;return n.breakpoint?"string"==typeof n.breakpoint?n.type&&n.type!=Z.Only?n.type==Z.Up?t="".concat(n.breakpoint,"-up-").concat(n.category):n.type==Z.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,a(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.InnerTop="inner-top",e.InnerRight="inner-right",e.InnerBottom="inner-bottom",e.InnerLeft="inner-left",e.InnerLeftTop="inner-left-top",e.InnerRightTop="inner-right-top",e.InnerLeftBottom="inner-left-bottom",e.InnerRightBottom="inner-right-bottom"}(K||(K={})),function(e){e.Horizontal="horizontal",e.Vertical="vertical"}(Q||(Q={}));var ee,te,ne=function(t){var r=t.category,o=t.offset,a=void 0===o?0:o,d=t.overlayZIndex,p=void 0===d?2147483647:d,h=t.renderOverlay,g=x(t,["category","offset","overlayZIndex","renderOverlay"]),m=Y(g),v=m.getProps("div").html,y=i({isMounted:!1}),b=y[0],C=y[1],w=c(null),S=c(null),k=e("div",{ref:S,className:"dock-overlay",style:{zIndex:p},children:h()}),B=l((function(){var e=w.current,n=S.current;if(e&&n){var o=e.getBoundingClientRect(),i=n.getBoundingClientRect(),c=0,l=0;switch(r){case K.Top:c=o.left+(o.width-i.width)/2,l=o.top-i.height-a;break;case K.Right:c=o.left+o.width+a,l=o.top+(o.height-i.height)/2;break;case K.Bottom:c=o.left+(o.width-i.width)/2,l=o.top+o.height+a;break;case K.Left:c=o.left-i.width-a,l=o.top+(o.height-i.height)/2;break;case K.LeftTop:t.alignment==Q.Horizontal?(c=o.left-i.width-a,l=o.top+a):t.alignment==Q.Vertical?(c=o.left+a,l=o.top-i.height-a):(c=o.left-i.width-a,l=o.top-i.height-a);break;case K.RightTop:t.alignment==Q.Horizontal?(c=o.left+o.width+a,l=o.top+a):t.alignment==Q.Vertical?(c=o.left+(o.width-i.width)-a,l=o.top-i.height-a):(c=o.left+o.width+a,l=o.top-i.height-a);break;case K.LeftBottom:t.alignment==Q.Horizontal?(c=o.left-i.width-a,l=o.top+(o.height-i.height)-a):t.alignment==Q.Vertical?(c=o.left+a,l=o.top+o.height+a):(c=o.left-i.width-a,l=o.top+o.height+a);break;case K.RightBottom:t.alignment==Q.Horizontal?(c=o.left+o.width+a,l=o.top+(o.height-i.height)-a):t.alignment==Q.Vertical?(c=o.left+(o.width-i.width)-a,l=o.top+o.height+a):(c=o.left+o.width+a,l=o.top+o.height+a);break;case K.InnerTop:c=o.left+(o.width-i.width)/2+a,l=o.top+a;break;case K.InnerRight:c=o.left+(o.width-i.width)-a,l=o.top+(o.height-i.height)/2;break;case K.InnerBottom:c=o.left+(o.width-i.width)/2,l=o.top+(o.height-i.height)-a;break;case K.InnerLeft:c=o.left+a,l=o.top+(o.height-i.height)/2;break;case K.InnerLeftTop:c=o.left+a,l=o.top+a;break;case K.InnerRightTop:c=o.left+(o.width-i.width)-a,l=o.top+a;break;case K.InnerLeftBottom:c=o.left+a,l=o.top+(o.height-i.height)-a;break;case K.InnerRightBottom:c=o.left+(o.width-i.width)-a,l=o.top+(o.height-i.height)-a}n.style.transform="translate3d(".concat(c,"px, ").concat(l,"px, 0)")}}),[r,a,p,h]);return u((function(){requestAnimationFrame(B)}),[B,h,p]),s((function(){var e=function(){return B()};return window.addEventListener("scroll",e,{capture:!0,passive:!0}),window.addEventListener("resize",e),function(){window.removeEventListener("scroll",e,!0),window.removeEventListener("resize",e)}}),[B]),u((function(){C({isMounted:!0})}),[]),n("div",_({ref:w,className:m.getClassName("dock"),style:m.getStyle()},v,{children:[t.children,b.isMounted&&"undefined"!=typeof document&&f(k,document.body)]}))};!function(e){e.Edge="edge",e.Window="window",e.Area="area",e.Self="self"}(ee||(ee={})),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"}(te||(te={}));var re,oe=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!=ee.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"}(re||(re={}));var ae,ie,ce,le,ue,se=function(n){return e(t,{children:o.map(n.children,(function(e){return function(e){var t="position-area-".concat(n.category?n.category:re.Default," ").concat(e.props.className);return a(e,{className:t})}(e)}))})};!function(e){e.Row="row",e.RowReverse="row-reverse",e.Column="column",e.ColumnReverse="column-reverse"}(ae||(ae={})),function(e){e.NoWrap="nowrap",e.Wrap="wrap"}(ie||(ie={})),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"}(ce||(ce={})),function(e){e.Start="flex-start",e.Center="center",e.End="flex-end",e.Stretch="stretch",e.Baseline="baseline"}(le||(le={})),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"}(ue||(ue={}));var de,fe=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=Y(l),s=u.getProps("div").html,d=_(_({},u.getStyle()),{gap:c,cursor:t.cursor?t.cursor:t.onClick?"pointer":"inherit"}),f=t.overflow?"flex-".concat(t.overflow):"flex-hidden",p=n?" flex-direction-".concat(n):"",h=r?" flex-wrap-".concat(r):"",g=o?" flex-justify-content-".concat(o):"",m=a?" flex-align-items-".concat(a):"",v=i?" flex-align-content-".concat(i):"",y="".concat(f).concat(p).concat(h).concat(g).concat(m).concat(v),b=u.getClassName(y);return e("div",_({className:b,style:d},s,{children:t.children}))};!function(e){e.Start="start",e.Center="center",e.End="end",e.Stretch="stretch",e.Baseline="baseline"}(de||(de={}));var pe,he=function(n){return n.children&&Object.keys(n.children).indexOf("type")>-1?e(t,{children:o.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 i=_(_({},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 a(r,{className:u,style:i})}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"}(pe||(pe={}));var ge,me=function(n,r,a,i,c){n.cross;var l=x(n,["cross"]),u=Y(l),s=function(t,n,o){return r?r(t,n,o):e(he,{alignSelf:o,children:t},"child".concat(n))};return e(fe,_({vClassName:"v-xbase",alignItems:function(){var e;if(n.cross)switch(n.cross){case pe.Stretch:e=le.Stretch;break;case pe.Baseline:e=le.Baseline;break;case pe.Bottom:e=le.End;break;case pe.Middle:e=le.Center;break;case pe.Top:e=le.Start;break;default:e=le.Center}else e=le.Center;return e}(),wrap:a?a():ie.NoWrap,justifyContent:i?i():ce.Start,alignContent:c?c():ue.Start},l,{children:o.map(u.getChildren(),(function(n,r){var o=n;return o.type?"STop"===o.props.typeName?s(o.props.children,r,de.Start):"SMiddle"===o.props.typeName?s(o.props.children,r,de.Center):"SBottom"===o.props.typeName?s(o.props.children,r,de.End):"SStretch"===o.props.typeName?s(o.props.children,r,de.Stretch):"SBaseline"===o.props.typeName?s(o.props.children,r,de.Baseline):s(o,r):(console.debug(o),e(t,{children:"Please check X layout children."}))}))}))},ve=function(t){return me(t,(function(t,n,r){return e(he,{grow:1,alignSelf:r,children:t})}))},ye=function(t){var n=Y(t);return me(t,(function(t,r,a){return 0!=r&&r!=o.count(n.getChildren())-1?e(he,{grow:1,alignSelf:a,children:t}):e(he,{grow:0,alignSelf:a,children:t})}))},be=function(t){var n=Y(t);return me(t,(function(t,r){return r==o.count(n.getChildren())-1?e(he,{grow:1,children:t}):e(he,{grow:0,children:t})}))},Ce=function(e){return me(e,void 0,void 0,(function(){return ce.SpaceBetween}))},we=function(e){return me(e,void 0,void 0,(function(){return ce.Center}))},Se=function(e){return me(e)};!function(e){e.Left="left",e.Center="center",e.Right="right",e.Baseline="baseline",e.Stretch="stretch"}(ge||(ge={}));var ke,_e=function(n,r,a,i,c){var l=n.cross,u=x(n,["cross"]),s=Y(u),d=function(t,n,o){return r?r(t,n,o):e(he,{alignSelf:o,children:t},"child".concat(n))};return e(fe,_({vClassName:"v-ybase",wrap:a?a():ie.NoWrap,alignContent:i?i():ue.Start,alignItems:function(){var e;if(l)switch(l){case ge.Left:e=le.Start;break;case ge.Center:e=le.Center;break;case ge.Right:e=le.End;break;case ge.Baseline:e=le.Baseline;break;default:e=le.Stretch}else e=le.Stretch;return e}(),direction:ae.Column,justifyContent:c?c():ce.Start},u,{children:o.map(s.getChildren(),(function(n,r){var o=n;return o.type?o&&"SLeft"===o.props.typeName?d(o.props.children,r,de.Start):o&&"SMiddle"===o.props.typeName||o&&"SCenter"===o.props.typeName?d(o.props.children,r,de.Center):o&&"SRight"===o.props.typeName?d(o.props.children,r,de.End):o&&"SStretch"===o.props.typeName?d(o.props.children,r,de.Stretch):o&&"SBaseline"===o.props.typeName?d(o.props.children,r,de.Baseline):d(n,r):(console.debug(o),e(t,{children:"Please check Y layout children."}))}))}))},xe=function(t){return _e(t,(function(t,n,r){return e(he,{grow:1,alignSelf:r,children:t})}))},Be=function(t){var n=Y(t);return e(G,{_base:n,className:"v-boundary",children:t.children})};!function(e){e.Top="top",e.Right="right",e.Bottom="bottom",e.Left="left",e.Center="center"}(ke||(ke={}));var Ve,Te=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"}(Ve||(Ve={}));var Ie,Oe,Le;!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"}(Ie||(Ie={})),function(e){e.Default="default",e.Circle="circle"}(Oe||(Oe={})),function(e){e[e.Justify=0]="Justify",e[e.Left=1]="Left",e[e.Right=2]="Right",e[e.Center=3]="Center"}(Le||(Le={}));var De,Re=function(t){var n,r,o=t.category,a=t.type,i=t.alignType,c=t.isTextOverflow,l=t.caption,u=x(t,["category","type","alignType","isTextOverflow","caption"]),s=Y(_({display:null==t.category||t.category==Ie.Span?"inline-block":"block"},u)),f=s.getProps("div"),p=f.view,h=f.html;switch(i){case Le.Center:r="v-label-center";break;case Le.Justify:r="v-label-justify";break;case Le.Left:r="v-label";break;case Le.Right:r="v-label-right";break;default:r="v-label"}if(a==Oe.Circle&&(r="".concat(r,"-circle")),c&&(r+=" v-label-text-overflow"),o){var g=o,m=s.getProps(g).html;n=d(g,m,l)}else{var v=s.getProps("span").html;n=d("span",v,l)}return a==Oe.Circle?e(se,{children:e(Be,_({width:"1.6em",height:"1.6em",borderRadius:"2em",className:r},p,h,{children:e(oe,{category:ee.Area,type:te.Center,children:n})}))}):e(Be,_({className:r},p,h,{children:n}))},Ne=function(t){var r=t.ref,o=t.type,a=t.label,l=t.icon,u=t.value,d=t.valueHook,f=t.setStateHook,p=t.isValueShow,h=t.valueSize,g=t.valueColor;t.valueCategory;var v,y=t.valuePadding,b=t.inputStyle,C=t.inputClassName,w=t.overWrite,S=t.renderOptions,k=t.onChange,B=t.inheritClassName,T=t.customAttibutes,I=x(t,["ref","type","label","icon","value","valueHook","setStateHook","isValueShow","valueSize","valueColor","valueCategory","valuePadding","inputStyle","inputClassName","overWrite","renderOptions","onChange","inheritClassName","customAttibutes"]),O=Y(I),L=O.getProps("input").html,D=i({value:void 0!==t.value?t.value:""}),R=D[0],N=D[1],E=c(null);return s((function(){"object"==typeof r&&r?r.current=E.current:"function"==typeof r&&r(E.current),t.autoFocus&&E.current&&E.current.focus()}),[]),w&&(v=w(E)),n(G,{_base:O,className:"v-validity v-input".concat(B?" ".concat(B):""),children:[n(xe,{display:v?"none":void 0,children:[n(ye,{gap:"0.6em",children:[!!l&&e(Be,{children:l}),n(Be,{children:[e("input",_({ref:E},T,{className:C,style:b,type:o,value:d||R.value,onChange:function(e){var t;p&&N({value:null===(t=E.current)||void 0===t?void 0:t.value}),k&&k(e),f?f(e.target.value):N({value:e.target.value})}},L)),!!a&&e("label",{htmlFor:t.id?t.id:t.name,children:a})]}),!!S&&S(E)]}),!!p&&e(we,{children:e(Re,{padding:y,isAutoSize:t.isAutoSize,fontSize:h||V.Normal,frontColor:g||m.Black,caption:void 0!==R.value?R.value.toString():u?u.toString():""})})]}),!!v&&v]})};!function(e){e.Default="default",e.Circle="circle",e.Squared="squared",e.Custom="custom"}(De||(De={}));var Ee,Ae,ze=function(n){var r=Y(n);return e(t,{children:o.map(n.children,(function(e){return function(e){var t=n.category?n.category:De.Default,o=r.getClassName("v-svg-".concat(t)),i=n.onClick,c=n.onMouseEnter,l=n.onMouseLeave,u=_(_({},r.getStyle()),{cursor:i?"pointer":"inherit"});return a(e,{className:o,style:u,onClick:i,onMouseEnter:c,onMouseLeave:l})}(e)}))})};function Fe(){return Fe=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},Fe.apply(null,arguments)}var We,Pe=function(e){return r.createElement("svg",Fe({xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 256 256"},e),Ee||(Ee=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"})),Ae||(Ae=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 Xe(){return Xe=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},Xe.apply(null,arguments)}var je,Me,Ue,He,Ye=function(e){return r.createElement("svg",Xe({xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 256 256"},e),We||(We=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"}(je||(je={})),function(e){e.Once="animate__repeat-1",e.Twice="animate__repeat-2",e.Thrice="animate__repeat-3",e.Infinite="animate__infinite"}(Me||(Me={})),function(e){e.Slow="animate__slow",e.Slower="animate__slower",e.Fast="animate__fast",e.Faster="animate__faster"}(Ue||(Ue={})),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"}(He||(He={}));var qe,Ge=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){t.animationCategory,t.animationSpeed;var n=x(t,["animationCategory","animationSpeed"]),r=Y(n);return e(G,{_base:r,className:"v-loading",children:e(Ge,{category:t.animationCategory?t.animationCategory:je.Flip,speed:t.animationSpeed?t.animationSpeed:Ue.Slower,repeat:Me.Infinite,children:t.children})})};function Ze(){return Ze=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},Ze.apply(null,arguments)}var Ke,Qe=function(e){return r.createElement("svg",Ze({xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 256 256"},e),qe||(qe=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"}(Ke||(Ke={}));var $e,et=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"}($e||($e={}));var tt,nt,rt=function(t){var n=t.category,r=x(t,["category"]),o=Y(r),a=o.getProps("img").html,i=n||$e.Default;return e("img",_({className:o.getClassName("v-image-".concat(i)),style:o.getStyle()},a))},ot=function(t){var n=t.id,r=t.name;t.value;var o=x(t,["id","name","value"]);return e(Ne,_({display:"none",type:"hidden",id:n||r},o))};function at(){return at=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)({}).hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},at.apply(null,arguments)}var it,ct=function(e){return r.createElement("svg",at({xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 256 256"},e),tt||(tt=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"})),nt||(nt=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 lt(){return lt=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)({}).hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},lt.apply(null,arguments)}var ut,st,dt=function(e){return r.createElement("svg",lt({xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 256 256"},e),it||(it=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 ft(){return ft=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},ft.apply(null,arguments)}var pt,ht=function(e){return r.createElement("svg",ft({xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 256 256"},e),ut||(ut=r.createElement("rect",{width:20,height:200,x:50,y:64,fill:"currentColor",rx:10,transform:"rotate(-45 50 64)"})),st||(st=r.createElement("rect",{width:20,height:200,fill:"currentColor",rx:10,transform:"scale(-1 1)rotate(-45 -25.527 280.136)"})))},gt=function(t){var r=t.enableClear,o=x(t,["enableClear"]);return e(Ne,r?_({inheritClassName:"v-textbox",isDefaultValue:!0,type:"text"},o,{renderOptions:function(r){return n(ve,{gap:"0.2em",children:[t.renderOptions&&t.renderOptions(r),e(ze,{fontSize:V.ExtraSmall,frontColor:m.Placeholder,onClick:function(){r.current.value=""},children:e(ht,{})})]})}}):_({inheritClassName:"v-textbox",isDefaultValue:!0,type:"text"},o))};function mt(){return mt=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)({}).hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},mt.apply(null,arguments)}var vt,yt=function(e){return r.createElement("svg",mt({xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 256 256"},e),pt||(pt=r.createElement("circle",{cx:128,cy:128,r:100,fill:"currentColor"})))};!function(e){e.NewWindow="_blank",e.Self="_self",e.Parent="_parent",e.Top="_top"}(vt||(vt={}));var bt,Ct,wt=function(t){var n=t.category,r=t.to,o=x(t,["category","to"]),a=Y(o),i=a.getProps("a").html;return e(G,{_base:a,className:"v-hyperlink",children:e("a",_({href:r,target:n},i,{children:t.children}))})};!function(e){e.P="p",e.Address="address",e.Article="article",e.Aside="aside",e.Details="details",e.Section="section"}(bt||(bt={})),function(e){e[e.Justify=0]="Justify",e[e.Left=1]="Left",e[e.Right=2]="Right",e[e.Center=3]="Center"}(Ct||(Ct={}));var St;!function(e){e.Default="default",e.Fixed="fixed"}(St||(St={}));var kt;!function(e){e.Vertical="vertical",e.Horizontal="horizontal"}(kt||(kt={}));var _t;!function(e){e.Default="default",e.Fixed="fixed"}(_t||(_t={}));var xt;!function(e){e.Default="default",e.Max="max"}(xt||(xt={}));var Bt,Vt="--den-";!function(e){e.Global="global",e.Area="area"}(Bt||(Bt={}));var Tt;!function(e){e.Hover="hover",e.Click="click"}(Tt||(Tt={}));var It;!function(e){e.Uninstalled="uninstalled",e.Outdated="outdated",e.Ready="ready"}(It||(It={}));var Ot;!function(e){e.Normal="normal",e.Italic="italic"}(Ot||(Ot={}));var Lt,Dt,Rt=function(t){return e("div",{id:t.id})};!function(e){e.Popup="popup",e.Redirect="redirect"}(Lt||(Lt={})),function(e){e.Implicit="implicit",e.AuthorizationCode="authorization-code"}(Dt||(Dt={}));var Nt,Et="fewbox-google-grant";!function(e){e.Prompt="prompt",e.Popup="popup",e.Redirect="redirect"}(Nt||(Nt={}));var At,zt="fewbox-google-auth",Ft=Object.freeze({__proto__:null,get AnimationCategory(){return je},get AnimationDelay(){return He},get AnimationRepeat(){return Me},get AnimationSpeed(){return Ue},get BackgroundPositionType(){return ke},Base:Y,get BorderRadiusType(){return S},get BreakpointType(){return D},get ColorType(){return m},get ComponentType(){return O},Debug:function(t){return t.isDebug?e("div",{className:"debug",children:t.children}):e("div",{className:"no-debug",children:t.children})},Display:$,get DisplayCategory(){return J},get DisplayType(){return Z},Dock:ne,get DockAlignment(){return Q},get DockCategory(){return K},get EllipseCategory(){return St},get ExtensionStatus(){return It},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 Ke},Flex:fe,get FlexAlignContentType(){return ue},get FlexAlignItemsType(){return le},get FlexDirectionType(){return ae},FlexItem:he,get FlexItemAlignSelfType(){return de},get FlexJustifyContentType(){return ce},get FlexWrapType(){return ie},get FontFamilyType(){return y},get FontSizeType(){return V},get FontWeightType(){return v},get GoogleFontType(){return Ot},GoogleGrant:function(n){return s((function(){var e=document.createElement("script");e.src="https://accounts.google.com/gsi/client",n.category==Dt.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(Et);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(Et);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(Rt,{id:Et,children:n.children})},get GoogleGrantCategory(){return Dt},get GoogleGrantUXMode(){return Lt},GoogleSignin:function(t){return s((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!=Nt.Prompt?t.uxMode:void 0,use_fedcm_for_prompt:t.uxMode==Nt.Prompt,callback:function(e){t.callback(e.credential)},login_uri:t.redirectUrl}),t.uxMode==Nt.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:zt);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(Rt,{id:t.googleAuthButtonId?t.googleAuthButtonId:zt})},get GoogleSigninUXMode(){return Nt},get HandleSubmitCategory(){return Ve},get HyperlinkCategory(){return vt},get ImageCategory(){return $e},get LabelAlignType(){return Le},get LabelCategory(){return Ie},get LabelType(){return Oe},get LetterSpacingType(){return w},get LineCategory(){return kt},get LineHeightType(){return b},get PaddingType(){return C},Position:oe,PositionArea:se,get PositionAreaCategory(){return re},get PositionCategory(){return ee},get PositionType(){return te},Responsive:function(r){return n(t,{children:[e($,{category:J.Hidden,type:Z.Down,breakpoint:r.breakpointType?r.breakpointType:D.Small,children:r.desktop}),e($,{category:J.Hidden,type:Z.Up,breakpoint:r.breakpointType?r.breakpointType:D.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 xt},get SvgCategory(){return De},get TextAlignType(){return Ct},get TextCategory(){return bt},get ThemeCategory(){return Bt},get TooltipCategory(){return Tt},VActionForm:function(t){return e("form",_({className:"v-action-form"},t,{children:t.children}))},VAnimation:Ge,VAudio:function(t){t.sources;var n=x(t,["sources"]),r=Y(n),o=r.getProps("audio").html;return e("audio",_({className:r.getClassName("v-audio"),style:r.getStyle(),controls:!0},o,{children:t.sources.map((function(t,n){return e("source",{src:t.src,type:t.type},"source".concat(n))}))}))},VBackground:function(t){t.image,t.imageWidth,t.imageHeight,t.position;var n,r=x(t,["image","imageWidth","imageHeight","position"]);n=t.imageWidth&&t.imageHeight?{backgroundImage:'url("'.concat(t.image,'")'),backgroundSize:"".concat(t.imageWidth," ").concat(t.imageHeight)}:{backgroundImage:'url("'.concat(t.image,'")')};var o=Y(_(_({},r),{style:n}));return e(G,{_base:o,className:t.position?"v-background-".concat(t.position):"v-background",children:t.children})},VBase64File:function(t){var r=t.fileIcon,o=t.base64Image,a=x(t,["fileIcon","base64Image"]),c=Y(a),l=i({base64Image:o}),u=l[0],s=l[1];return n(G,{_base:c,className:"v-base64file",children:[e(ot,{name:t.name,value:u.base64Image}),e(Ne,_({type:"file",isDefaultValue:!0,onChange:function(e){if(e.target.files&&1==e.target.files.length){var t=e.target.files[0],n=new FileReader;n.onloadend=function(){var e;e=n.result&&"string"==typeof n.result?n.result.replace("data:","").replace(/^.+,/,""):"Todo",s({base64Image:e})},n.readAsDataURL(t)}},overWrite:function(o){return n(xe,{gap:"0.2em",onClick:function(){var e;null===(e=o.current)||void 0===e||e.click()},children:[r,e(rt,{fontSize:t.fontSize,category:$e.Scale,src:"data:image/png;base64,".concat(u.base64Image),alt:"file"})]})}},a))]})},VBoundary:Be,VCheckBox:function(t){var r=t.isChecked,o=x(t,["isChecked"]),a=i({isChecked:r}),c=a[0],l=a[1];return e(Ne,{isAutoSize:t.isAutoSize,customAttibutes:{defaultChecked:!!c.isChecked},inheritClassName:"v-checkbox",type:"checkbox",isDefaultValue:!0,overWrite:function(r){return n(Se,_({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"))?l({isChecked:!1}):l({isChecked:!0})}},o,{children:[e(ze,{frontColor:t.frontColor,fontSize:t.fontSize,children:c.isChecked?e(Pe,{}):e(Ye,{})}),e(Re,{frontColor:t.frontColor,fontSize:t.fontSize,caption:t.label?t.label:""})]}))}})},VChromeExtensionValidator:function(n){var r=i({}),o=r[0],a=r[1];if(s((function(){var e;o.status||(e="chrome-extension://".concat(n.extensionId,"/meta.json"),fetch(e).then((function(e){return e.ok?e.json():Promise.reject()})).then((function(e){var t=!n.version||e.version>=n.version;a({status:t?It.Ready:It.Outdated,meta:e})})).catch((function(){return a({status:It.Uninstalled})})))})),o.status){if(n.overWrite)return n.overWrite(o.status,o.meta);var c=void 0;return o.status===It.Ready?e(t,{}):(o.status===It.Uninstalled?c=n.uninstalledMessage:o.status===It.Outdated&&(c=n.outdatedMessage),e(wt,{category:vt.NewWindow,to:n.downloadUrl?n.downloadUrl:"mailto:support@fewbox.com",children:c}))}return e(t,{})},VColor:function(t){return e(Ne,_({type:"color",isDefaultValue:!0},t))},VDate:function(t){return e(Ne,_({type:"date",isDefaultValue:!0},t))},VDatetimeLocal:function(t){return e(Ne,_({type:"datetime-local",isDefaultValue:!0},t))},VDropdown:function(r){var o,a,l=r.ref,u=r.value,d=r.name,f=r.icon,p=r.emptyIcon;r.downIcon,r.upIcon;var h=r.enableClear,g=r.items,v=r.dockCategory,y=r.dockAlignment,b=r.overWriteDropdownItem,C=r.handleChange,w=x(r,["ref","value","name","icon","emptyIcon","downIcon","upIcon","enableClear","items","dockCategory","dockAlignment","overWriteDropdownItem","handleChange"]),S=Y(w),k=i({isSelectionShow:!1,selectValue:u||"",selectCaption:u?g.filter((function(e){return e.value==u}))[0].caption:"",items:g}),B=k[0],T=k[1],I=c(null);return s((function(){"object"==typeof l&&l?l.current=I.current:"function"==typeof l&&l(I.current),r.autoFocus&&I.current&&I.current.focus()}),[]),n(G,{_base:S,className:"v-dropdown",children:[e(ot,{id:r.id?r.id:d,name:d,valueHook:null===(o=B.selectValue)||void 0===o?void 0:o.toString()}),e(ne,{zIndex:B.isSelectionShow?2e9:-2e9,category:v||K.RightBottom,alignment:y||Q.Vertical,renderOverlay:function(){return e(Be,{visibility:B.isSelectionShow?"visible":"hidden",borderRadius:r.borderRadius,children:n(xe,{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 b?e(Be,{children:b(r)},"item".concat(o)):n(Se,{gap:"0.2em",padding:"0.2em 1em",className:"item",onClick:function(){T(_(_({},B),{isSelectionShow:!1,selectIcon:r.icon,selectCaption:r.caption,selectValue:r.value,items:g})),C&&C(r.value)},children:[r.icon?e(ze,{fontSize:V.ExtraSmall,children:r.icon}):e(t,{}),e(Re,{caption:r.caption})]},"item".concat(o))})),!(0!=B.items.length)&&e(ze,{fontSize:V.ExtraSmall,onClick:function(){},children:p})]})})},children:e(gt,{padding:r.padding,ref:I,fontSize:r.fontSize,icon:e(ze,{fontSize:r.fontSize?r.fontSize:V.Normal,children:B.selectIcon?B.selectIcon:f}),valueHook:null===(a=B.selectCaption)||void 0===a?void 0:a.toString(),enableClear:h,renderOptions:r.renderOptions,onClick:function(){T(_(_({},B),{isSelectionShow:!B.isSelectionShow}))},onChange:function(e){var t;t=e.target.value,T(_(_({},B),{isSelectionShow:!0,selectCaption:t,items:g.filter((function(e){return e.caption.toLowerCase().indexOf(t.toLowerCase())>-1}))}))},borderRadius:r.borderRadius,frontColor:B.selectValue===B.selectCaption?r.frontColor:m.Error})})]})},VEllipse:function(t){t.category;var n=x(t,["category"]),r=Y(n);return e(G,{_base:r,className:"v-ellipse-".concat(t.category?t.category:St.Default),children:t.children})},VEmail:function(t){return e(Ne,_({inheritClassName:"v-email",isDefaultValue:!0,type:"email"},t))},VFile:function(t){var r=t.category,o=t.appearance;t.loader;var a=t.loaderSize,l=t.loaderColor,u=t.isPreview,d=t.previewImageWidth,f=t.textLength,p=t.autoUpload,h=t.renderLoader,g=x(t,["category","appearance","loader","loaderSize","loaderColor","isPreview","previewImageWidth","textLength","autoUpload","renderLoader"]),m=c(null),v=i({inputFiles:[],isLoading:!1}),y=v[0],b=v[1],C=function(){b((function(e){return _(_({},e),{isLoading:!1})}))};s((function(){return function(){return y.inputFiles.forEach((function(e){e.objectUrl&&URL.revokeObjectURL(e.objectUrl)}))}}),[y.inputFiles]);var w=function(e){e.preventDefault(),e.currentTarget.className="v-file"},S=Y(_({onDrop:function(e){e.preventDefault();var t=Array.from(e.dataTransfer.files),n=t.map((function(e){return{name:e.name,objectUrl:et(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:w,onDragLeave:w,onDragExit:w},g));return e(G,{_base:S,className:"v-file",children:e(Ne,_({type:"file",isDefaultValue:!0,ref:m},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:et(e)?URL.createObjectURL(e):void 0}}));b(_(_({},y),{inputFiles:r})),p&&(b(_(_({},y),{inputFiles:r,isLoading:!0})),p(n,C))},overWrite:function(t){return u?r&&r==Ke.Vertical?n(xe,{gap:"1em",onClick:function(){var e;null===(e=t.current)||void 0===e||e.click()},cross:ge.Center,children:[!(0!=y.inputFiles.length)&&o,!(0==y.inputFiles.length)&&e(xe,{gap:"0.6em",children:y.inputFiles.map((function(t,r){return n(xe,{cross:ge.Center,children:[!!t.objectUrl&&e(Be,{children:e("img",{src:t.objectUrl,alt:t.name,width:d||120})}),e(Re,{fontSize:V.Small,caption:t.name.length>(f||12)?t.name.slice(0,f||12)+"…":t.name})]},"image-file".concat(r))}))}),!!y.isLoading&&(h?h():e(Je,{animationCategory:je.Flash,children:e(we,{children:e(ze,{fontSize:a,frontColor:l,children:e(Qe,{})})})}))]}):n(xe,{gap:"1em",cross:ge.Center,children:[n(ve,{gap:"1em",onClick:function(){var e;null===(e=t.current)||void 0===e||e.click()},children:[!(0!=y.inputFiles.length)&&o,!(0==y.inputFiles.length)&&e(xe,{gap:"0.6em",children:y.inputFiles.map((function(t,r){return n(xe,{cross:ge.Center,children:[!!t.objectUrl&&e(Be,{children:e("img",{src:t.objectUrl,alt:t.name,width:d||120})}),e(Re,{fontSize:V.Small,caption:t.name.length>(f||12)?t.name.slice(0,f||12)+"…":t.name})]},"image-file".concat(r))}))})]}),!!y.isLoading&&(h?h():e(Je,{animationCategory:je.Flash,children:e(ze,{fontSize:a,frontColor:l,children:e(Qe,{})})}))]}):e(Be,{cursor:"pointer",onClick:function(){var e;null===(e=t.current)||void 0===e||e.click()},children:o})}}))})},VFooter:function(t){var n=Y(t),r=n.getProps("footer").html;return e("footer",_({className:n.getClassName("v-footer"),style:n.getStyle()},r,{children:t.children}))},VForm:function(t){t.handleSubmitCategory;var n=x(t,["handleSubmitCategory"]),r=Y(n),o=r.getProps("main").html;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==Ve.FormData)t.handleSubmit(r);else{var o=Te(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)}}},o,{children:t.children}))},VFrame:function(t){var n,r=t.image,o=t.backingBoard,a=t.style,i=x(t,["image","backingBoard","style"]),c=Y(i);return o&&(n=_(_({},a),{background:"linear-gradient(".concat(o.degree,", ").concat(o.startColor,", ").concat(o.endColor,")")})),e(G,_({_base:c,className:"v-frame",style:n},t.customAttibutes,{children:e("div",{style:{backgroundImage:"url(".concat(r,")"),backgroundRepeat:"no-repeat",backgroundSize:"cover"},children:t.children})}))},VGoogleFont:function(n){return s((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==Ot.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==Ot.Normal?l.push("0,".concat(L(e.weight))):e.type==Ot.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=i({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=Y(t),r=n.getProps("hr").html;return e("hr",_({className:n.getClassName("v-hr"),style:n.getStyle()},r))},VHeader:function(t){var n=Y(t),r=n.getProps("header").html;return e("header",_({className:n.getClassName("v-header"),style:n.getStyle()},r,{children:t.children}))},VHidden:ot,VHyperlink:wt,VImage:rt,VLabel:Re,VLine:function(t){t.category;var n=x(t,["category"]),r=Y(n);return e(G,{_base:r,className:"v-line-".concat(t.category)})},VLoading:Je,VMain:function(t){var n=Y(t),r=n.getProps("main").html;return e("main",_({className:n.getClassName("v-main"),style:n.getStyle()},r,{children:t.children}))},VMask:function(t){var n=Y(_({width:"100vw",height:"100vh",backgroundColor:m.Dark75},t));return e(oe,{zIndex:t.zIndex?t.zIndex:1e8,category:ee.Window,type:te.Center,children:e(se,{children:e(G,{_base:n,className:"v-mask",children:e(oe,{category:ee.Area,type:te.Center,children:t.children})})})})},VMonth:function(t){return e(Ne,_({type:"month",isDefaultValue:!0},t))},VNumber:function(t){return e(Ne,_({type:"number",isDefaultValue:!0},t))},VPassword:function(t){return e(Ne,_({inheritClassName:"v-password",isDefaultValue:!0,type:"password"},t))},VRadio:function(t){var r=t.isChecked,o=x(t,["isChecked"]);return e(Ne,_({type:"radio",customAttibutes:{checked:!!r},isDefaultValue:!0},o,{overWrite:function(o){return n(Se,{onClick:function(){var e;null===(e=o.current)||void 0===e||e.click()},children:[e(ze,{padding:"0.4em",frontColor:t.frontColor,fontSize:t.fontSize,children:e(r?ct:dt,{})}),e(Re,{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(Ne,_({type:"range",inputClassName:a},o))},VRectangle:function(t){t.category;var n=x(t,["category"]),r=Y(n);return e(G,{_base:r,className:"v-rectangle-".concat(t.category?t.category:_t.Default)})},VSearch:function(t){return e(Ne,_({type:"search",isDefaultValue:!0,inheritClassName:"v-search"},t))},VSection:function(t){var n=Y(t),r=n.getProps("section").html;return e("section",_({className:n.getClassName("v-section"),style:n.getStyle()},r,{children:t.children}))},VSelect:function(t){var n=t.name;t.items;var r=t.value,o=t.isMultiple;t.fontFamily;var a=x(t,["name","items","value","isMultiple","fontFamily"]),i=Y(a),c=i.getProps("select").html;return e(G,{_base:i,className:"v-select",children:e("select",_({multiple:o,name:n,defaultValue:r},c,{children:t.items.map((function(t,n){return e("option",{value:t.value,children:t.caption},"option".concat(n))}))}))})},VShadow:function(n){var r=Y(n);return e(t,{children:o.map(n.children,(function(o){return function(o){if(o){var i={};n.x&&n.y&&n.blur&&n.spread&&n.color&&(i.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:xt.Default)),l=_(_({},i),r.getStyle());return a(o,{className:c,style:l})}return e(t,{})}(o)}))})},VSubmit:function(t){var r=t.ref;t.caption,t.isFormNoValidate;var o=x(t,["ref","caption","isFormNoValidate"]),a=c(null);s((function(){"object"==typeof r&&r?r.current=a.current:"function"==typeof r&&r(a.current),t.autoFocus&&a.current&&a.current.focus()}),[]);var i=Y(_({onClick:function(){a.current.click()}},o)),l=i.getProps("input").html;return n(G,{_base:i,className:"v-submit",children:[n(we,{cross:pe.Middle,children:[!!t.icon&&e("span",{children:t.icon}),!!t.caption&&e("span",{children:t.caption})]}),e("input",_({formNoValidate:t.isFormNoValidate,ref:a,type:"submit"},l))]})},VSubmitWrapper:function(t){var r=Y(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:ze,VSwitch:function(t){var r=t.isOn,o=t.icon,a=t.gap,c=t.isDisabled,l=t.onSwitch,u=x(t,["isOn","icon","gap","isDisabled","onSwitch"]),s=i({isOn:r}),d=s[0],f=s[1],p=o?e(ze,{margin:d.isOn?"0 0.6em 0 0":"0 0 0 0.6em ",frontColor:m.White,fontSize:V.Normal,children:o}):e(Be,{width:"1em",height:"1em"}),h=t.isDisabled?void 0:function(){t.isDisabled||(l&&l(!d.isOn),f({isOn:!d.isOn}))},g=Y(_({onClick:h},u));return e(G,{_base:g,className:c?"v-switch-disabled":"v-switch",children:n(Ce,{borderRadius:"32em",backgroundColor:d.isOn?t.frontColor?t.frontColor:m.Success:t.backgroundColor?t.backgroundColor:m.Placeholder,gap:a||"0.6em",children:[d.isOn?e(ze,{category:De.Circle,frontColor:m.White,children:e(yt,{})}):p,d.isOn?p:e(ze,{category:De.Circle,frontColor:m.White,children:e(yt,{})})]})})},VTel:function(t){return e(Ne,_({inheritClassName:"v-tel",isDefaultValue:!0,type:"tel"},t))},VText:function(t){var n=t.category;t.alignType;var r,o,a=t.renderContent,i=x(t,["category","alignType","renderContent"]),c=Y(i);switch(t.alignType){case Ct.Center:o="v-text-center";break;case Ct.Justify:o="v-text-justify";break;case Ct.Left:o="v-text";break;case Ct.Right:o="v-text-right";break;default:o="v-text"}if(n){var l=n,u=c.getProps(l).html;r=d(l,u,a())}else{u=c.getProps("span").html;r=d("span",u,a())}return e(G,{_base:c,className:o,children:r})},VTextArea:function(t){var r=t.ref;t.icon;var o=t.valueHook,a=t.setStateHook,l=x(t,["ref","icon","valueHook","setStateHook"]),u=Y(l),d=u.getProps("textarea").html,f=i({value:t.value}),p=f[0],h=f[1],g=c(null);return s((function(){"object"==typeof r&&r?r.current=g.current:"function"==typeof r&&r(g.current),t.autoFocus&&g.current&&g.current.focus()}),[]),e(G,{category:R.Display,_base:u,className:"v-validity v-textarea",children:n(be,{cross:pe.Top,gap:"0.6em",children:[t.icon,e(Be,{children:e("textarea",_({ref:g},d,{id:t.id?t.id:t.name,value:o?t.valueHook:p.value,onChange:function(e){t.onChange&&t.onChange(e),a?a(e.target.value):h({value:e.target.value})}}))})]})})},VTextBox:gt,VTheme:function(n){var r=n.category,o=n.area,a=n.theme,i=x(n,["category","area","theme"]),c=Y(_({id:o},i));return s((function(){var e;r==Bt.Area?o&&(e=document.getElementById(o)):e=document.documentElement,e&&(Object.keys(a.colors).forEach((function(t){e.style.setProperty("".concat(Vt,"color-").concat(t),a.colors[t])})),Object.keys(a.fontSizes).forEach((function(t){e.style.setProperty("".concat(Vt).concat(t),a.fontSizes[t])})),Object.keys(a.fontWeights).forEach((function(t){e.style.setProperty("".concat(Vt).concat(t),a.fontWeights[t])})))}),[]),r==Bt.Area?r?e(G,{_base:c,className:"v-theme",children:n.children}):e(Re,{backgroundColor:m.Error,caption:"No Area!"}):e(t,{})},VTime:function(t){return e(Ne,_({type:"time",isDefaultValue:!0},t))},VTooltip:function(n){var r,o=n.category,a=n.dockCategory,c=n.dockAlignment,l=n.renderOverlay,u=x(n,["category","dockCategory","dockAlignment","renderOverlay"]),s=Y(u),d=i({isShow:!1}),f=d[0],p=d[1];return r=o||Tt.Hover,e(G,{_base:s,className:"v-tooltip",children:e(ne,{category:a,alignment:c,renderOverlay:function(){return f.isShow?l():e(t,{})},children:e(Be,{onClick:function(){r==Tt.Click&&p({isShow:!f.isShow})},onMouseEnter:function(){r==Tt.Hover&&p({isShow:!0})},onMouseLeave:function(){r==Tt.Hover&&p({isShow:!1})},children:n.children})})})},VUrl:function(t){return e(Ne,_({inheritClassName:"v-url",isDefaultValue:!0,type:"url"},t))},VVideo:function(t){t.sources;var n=x(t,["sources"]),r=Y(n),o=r.getProps("video").html;return e("video",_({className:r.getClassName("v-label"),style:r.getStyle(),controls:!0},o,{children:t.sources.map((function(t,n){return e("source",{src:t.src,type:t.type},"source".concat(n))}))}))},VWeek:function(t){return e(Ne,_({type:"week",isDefaultValue:!0},t))},VZone:function(t){var n=t.category,r=x(t,["category"]),o=Y(r);return e(G,{_base:o,className:"v-zone-".concat(n),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:ve,XAround:function(e){return me(e,void 0,void 0,(function(){return ce.SpaceAround}))},XAutoBoth:function(t){var n=Y(t);return me(t,(function(t,r,a){return 0!=r&&r!=o.count(n.getChildren())-1?e(he,{grow:0,alignSelf:a,children:t}):e(he,{grow:1,alignSelf:a,children:t})}))},XAutoCenter:ye,XAutoLeft:function(t){return me(t,(function(t,n,r){return e(he,0==n?{grow:1,alignSelf:r,children:t}:{grow:0,alignSelf:r,children:t})}))},XAutoLefts:function(t){var n=Y(t);return me(t,(function(t,r,a){return r==o.count(n.getChildren())-1?e(he,{grow:0,alignSelf:a,children:t}):e(he,{grow:1,alignSelf:a,children:t})}))},XAutoRight:be,XAutoRights:function(t){return me(t,(function(t,n,r){return e(he,0==n?{grow:0,alignSelf:r,children:t}:{grow:1,alignSelf:r,children:t})}))},XBetween:Ce,XCenter:we,get XCrossType(){return pe},XCustom:function(t){return me(t,(function(n,r){var o=e(he,{children:n});return t.basises&&r<t.basises.length&&(o=e(he,{basis:t.basises[r],children:n})),o}))},XCustomBoth:function(t){var n=Y(t);return me(t,(function(r,a){return 0==a||a==o.count(n.getChildren())-1?e(he,{basis:t.basis,children:r}):e(he,{grow:1,children:r})}))},XEvenly:function(e){return me(e,void 0,void 0,(function(){return ce.SpaceEvenly}))},XLeft:Se,XRight:function(e){return me(e,void 0,void 0,(function(){return ce.End}))},XWrapAround:function(e){return me(e,void 0,(function(){return ie.Wrap}),void 0,(function(){return ue.SpaceAround}))},XWrapBetween:function(e){return me(e,void 0,(function(){return ie.Wrap}),void 0,(function(){return ue.SpaceBetween}))},XWrapBottom:function(e){return me(e,void 0,(function(){return ie.Wrap}),void 0,(function(){return ue.End}))},XWrapEvenly:function(e){return me(e,void 0,(function(){return ie.Wrap}),void 0,(function(){return ue.SpaceEvenly}))},XWrapMiddle:function(e){return me(e,void 0,(function(){return ie.Wrap}),void 0,(function(){return ue.Center}))},XWrapTop:function(e){return me(e,void 0,(function(){return ie.Wrap}),void 0,(function(){return ue.Start}))},Y:xe,YAround:function(e){return _e(e,void 0,void 0,void 0,(function(){return ce.SpaceAround}))},YAutoBoth:function(t){var n=Y(t);return _e(t,(function(t,r,a){return 0!=r&&r!=o.count(n.getChildren())-1?e(he,{grow:0,alignSelf:a,children:t}):e(he,{grow:1,alignSelf:a,children:t})}))},YAutoBottom:function(t){var n=Y(t);return _e(t,(function(t,r){return r==o.count(n.getChildren())-1?e(he,{grow:1,children:t}):e(he,{grow:0,children:t})}))},YAutoBottoms:function(t){return _e(t,(function(t,n,r){return e(he,0==n?{grow:0,alignSelf:r,children:t}:{grow:1,alignSelf:r,children:t})}))},YAutoCenter:function(t){var n=Y(t);return _e(t,(function(t,r,a){return 0!=r&&r!=o.count(n.getChildren())-1?e(he,{grow:1,alignSelf:a,children:t}):e(he,{grow:0,alignSelf:a,children:t})}))},YAutoTop:function(t){return _e(t,(function(t,n,r){return e(he,0==n?{grow:1,alignSelf:r,children:t}:{grow:0,alignSelf:r,children:t})}))},YAutoTops:function(t){var n=Y(t);return _e(t,(function(t,r,a){return r==o.count(n.getChildren())-1?e(he,{grow:0,alignSelf:a,children:t}):e(he,{grow:1,alignSelf:a,children:t})}))},YBetween:function(e){return _e(e,void 0,void 0,void 0,(function(){return ce.SpaceBetween}))},YBottom:function(e){return _e(e,void 0,void 0,void 0,(function(){return ce.End}))},get YCrossType(){return ge},YCustom:function(t){return _e(t,(function(n,r){var o=e(he,{children:n});return t.basises&&r<t.basises.length&&(o=e(he,{basis:t.basises[r],children:n})),o}))},YCustomBoth:function(t){var n=Y(t);return _e(t,(function(r,a){return 0==a||a==o.count(n.getChildren())-1?e(he,{basis:t.basis,children:r}):e(he,{grow:1,children:r})}))},YEvenly:function(e){return _e(e,void 0,void 0,void 0,(function(){return ce.SpaceEvenly}))},YMiddle:function(e){return _e(e,void 0,void 0,void 0,(function(){return ce.Center}))},YTop:function(e){return _e(e,void 0,void 0,void 0,(function(){return ce.Start}))},YWrapAround:function(e){return _e(e,void 0,(function(){return ie.Wrap}),(function(){return ue.SpaceAround}),void 0)},YWrapBetween:function(e){return _e(e,void 0,(function(){return ie.Wrap}),(function(){return ue.SpaceBetween}))},YWrapCenter:function(e){return _e(e,void 0,(function(){return ie.Wrap}),(function(){return ue.Center}))},YWrapEvenly:function(e){return _e(e,void 0,(function(){return ie.Wrap}),(function(){return ue.SpaceEvenly}))},YWrapLeft:function(e){return _e(e,void 0,(function(){return ie.Wrap}),(function(){return ue.Start}))},YWrapRight:function(e){return _e(e,void 0,(function(){return ie.Wrap}),(function(){return ue.End}))},get ZoneCategory(){return q},convertFormDataToJson:Te,getGeneratedClassName:W,parseJWT:function(e){var t={},n=p(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=Ft}(At||(At={}));export{At as Den};
|
|
2
2
|
//# sourceMappingURL=index.js.map
|