@fewbox/den-web 0.0.106 → 0.1.1

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.
Files changed (68) hide show
  1. package/index.js +1 -1
  2. package/index.js.map +1 -1
  3. package/package.json +1 -1
  4. package/src/components/Auth/FigmaSignin/index.d.ts +2 -2
  5. package/src/components/Auth/GoogleGrant/index.d.ts +2 -2
  6. package/src/components/Auth/WeComSignin/index.d.ts +2 -2
  7. package/src/components/Debug/index.d.ts +2 -2
  8. package/src/components/Engine/Base/NativeAttributeMap.d.ts +2 -0
  9. package/src/components/Engine/Base/index.d.ts +9 -179
  10. package/src/components/Engine/BaseComponent/index.d.ts +4 -4
  11. package/src/components/Engine/index.d.ts +3 -3
  12. package/src/components/Layout/Display/index.d.ts +2 -2
  13. package/src/components/Layout/Dock/index.d.ts +2 -3
  14. package/src/components/Layout/DockBak/index.d.ts +2 -3
  15. package/src/components/Layout/Flex/index.d.ts +2 -1
  16. package/src/components/Layout/FlexItem/index.d.ts +1 -1
  17. package/src/components/Layout/Position/index.d.ts +2 -3
  18. package/src/components/Layout/PositionArea/index.d.ts +2 -2
  19. package/src/components/Layout/SBaseline/index.d.ts +2 -2
  20. package/src/components/Layout/SBottom/index.d.ts +2 -2
  21. package/src/components/Layout/SCenter/index.d.ts +2 -2
  22. package/src/components/Layout/SLeft/index.d.ts +2 -2
  23. package/src/components/Layout/SMiddle/index.d.ts +2 -2
  24. package/src/components/Layout/SRight/index.d.ts +2 -2
  25. package/src/components/Layout/SStretch/index.d.ts +2 -2
  26. package/src/components/Layout/STop/index.d.ts +2 -2
  27. package/src/components/Layout/XBase/index.d.ts +0 -2
  28. package/src/components/View/VActionForm/index.d.ts +2 -5
  29. package/src/components/View/VAnimation/index.d.ts +2 -2
  30. package/src/components/View/VAudio/index.d.ts +1 -1
  31. package/src/components/View/VBlock/index.d.ts +2 -2
  32. package/src/components/View/VBoundary/index.d.ts +1 -3
  33. package/src/components/View/VButton/index.d.ts +0 -2
  34. package/src/components/View/VCardSocial/index.d.ts +1 -1
  35. package/src/components/View/VFooter/index.d.ts +1 -1
  36. package/src/components/View/VForm/index.d.ts +2 -2
  37. package/src/components/View/VFrame/index.d.ts +0 -2
  38. package/src/components/View/VHR/index.d.ts +1 -1
  39. package/src/components/View/VHeader/index.d.ts +1 -1
  40. package/src/components/View/VHyperlink/index.d.ts +1 -1
  41. package/src/components/View/VImage/App/index.d.ts +1 -4
  42. package/src/components/View/VInput/VDropdown/index.d.ts +3 -4
  43. package/src/components/View/VInput/VFile/index.d.ts +5 -6
  44. package/src/components/View/VInput/VGroup/index.d.ts +0 -1
  45. package/src/components/View/VInput/VHidden/index.d.ts +1 -2
  46. package/src/components/View/VInput/VSubmitWrapper/index.d.ts +1 -1
  47. package/src/components/View/VInput/VTextBox/index.d.ts +1 -2
  48. package/src/components/View/VInput/index.d.ts +4 -6
  49. package/src/components/View/VLabel/index.d.ts +5 -9
  50. package/src/components/View/VLink/App/index.d.ts +2 -2
  51. package/src/components/View/VLoading/index.d.ts +2 -2
  52. package/src/components/View/VMain/index.d.ts +1 -1
  53. package/src/components/View/VRoot/index.d.ts +2 -4
  54. package/src/components/View/VSection/index.d.ts +1 -1
  55. package/src/components/View/VSelect/index.d.ts +1 -1
  56. package/src/components/View/VSvg/index.d.ts +0 -1
  57. package/src/components/View/VTemplate/index.d.ts +1 -1
  58. package/src/components/View/VText/index.d.ts +6 -5
  59. package/src/components/View/VTextArea/index.d.ts +2 -5
  60. package/src/components/View/VTheme/index.d.ts +4 -5
  61. package/src/components/View/VTooltip/index.d.ts +1 -1
  62. package/src/components/View/VVideo/index.d.ts +1 -1
  63. package/src/components/web.d.ts +2 -5
  64. package/templates/FEWBOX.md +4 -4
  65. package/src/components/Analyze/GA4NextJS/index.d.ts +0 -5
  66. package/src/components/Analyze/util.d.ts +0 -115
  67. package/src/components/View/VPaypal/index.d.ts +0 -10
  68. package/src/components/View/VPureRoot/index.d.ts +0 -7
package/index.js CHANGED
@@ -1,2 +1,2 @@
1
- import*as e from"react";import{useImperativeHandle as t}from"react";import{jwtDecode as n}from"jwt-decode";import"react-ga4";var r=function(e,t){return r=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])},r(e,t)};function a(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}r(e,t),e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)}var o,i,c,l,u,s,d,m,f=function(){return f=Object.assign||function(e){for(var t,n=1,r=arguments.length;n<r;n++)for(var a in t=arguments[n])Object.prototype.hasOwnProperty.call(t,a)&&(e[a]=t[a]);return e},f.apply(this,arguments)};function p(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 a=0;for(r=Object.getOwnPropertySymbols(e);a<r.length;a++)t.indexOf(r[a])<0&&Object.prototype.propertyIsEnumerable.call(e,r[a])&&(n[r[a]]=e[r[a]])}return n}function g(e,t,n){if(n||2===arguments.length)for(var r,a=0,o=t.length;a<o;a++)!r&&a in t||(r||(r=Array.prototype.slice.call(t,0,a)),r[a]=t[a]);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"}(o||(o={})),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"}(i||(i={})),function(e){e.Default="font-family"}(c||(c={})),function(e){e.Default="line-height"}(l||(l={})),function(e){e.Default="padding"}(u||(u={})),function(e){e.Default="letter-spacing"}(s||(s={})),function(e){e.Default="border-radius",e.Fixed="border-radius-fixed",e.Max="border-radius-max"}(d||(d={})),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"}(m||(m={}));var h,v,y,b,E=function(e){var t;switch(e){case i.Thin:t=100;break;case i.ExtraLight:t=200;break;case i.Light:t=300;break;case i.Regular:t=400;break;case i.Medium:t=500;break;case i.SemiBold:t=600;break;case i.Bold:t=700;break;case i.ExtraBold:t=800;break;case i.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"}(h||(h={})),function(e){e.All="all",e.Before="before",e.After="after"}(v||(v={})),function(e){e.All="all",e.Top="top",e.Right="right",e.Bottom="bottom",e.Left="left",e.ExceptTop="except-top",e.ExceptRight="except-right",e.ExceptBottom="except-bottom",e.ExceptLeft="except-left",e.RightTop="right-top",e.RightBottom="right-bottom",e.LeftTop="left-top",e.LeftBottom="left-bottom",e.TopBottom="top-bottom",e.LeftRight="left-right"}(y||(y={})),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"}(b||(b={}));var C,S=function(){function e(e){this.className=e}return e.prototype.getClassName=function(){return"".concat(this.className)},e}(),k=function(e){this.component=e},w=function(e){function t(t,n,r){var a=e.call(this,t)||this;return a.sizeType=n,a.isAuto=r,a}return a(t,e),t.prototype.getClassName=function(){if(this.sizeType){var e=void 0;return e=Object.values(h).includes(this.sizeType)?this.sizeType:"font-size-".concat(this.sizeType),"".concat(this.component.getClassName()," ").concat(this.isAuto?"auto-".concat(e):e)}return this.component.getClassName()},t}(k),_=function(e){function t(t,n){var r=e.call(this,t)||this;return r.weightType=n,r}return a(t,e),t.prototype.getClassName=function(){return this.weightType?"".concat(this.component.getClassName()," ").concat(this.weightType):this.component.getClassName()},t}(k),x=function(e){function t(t,n,r,a,o,i,c,l,u,s,d){var m=e.call(this,t)||this;return m.isDefaultValue=n,m.frontColorType=r,m.backgroundColorType=a,m.borderColorType=o,m.borderDirectionType=i,m.pseudoType=c,m.pseudoFrontColorType=l,m.pseudoBackgroundColorType=u,m.pseudoBorderColorType=s,m.pseudoBorderDirectionType=d,m}return a(t,e),t.prototype.getBorderPrefix=function(e){return e?"-".concat(e):""},t.prototype.getBorderColorClassName=function(e,t,n){var r,a=this.getBorderPrefix(n);switch(t){case y.Bottom:r=" ".concat(e).concat(a,"-border-bottom");break;case y.ExceptBottom:r=" ".concat(e).concat(a,"-border-except-bottom");break;case y.ExceptLeft:r=" ".concat(e).concat(a,"-border-except-left");break;case y.ExceptRight:r=" ".concat(e).concat(a,"-border-except-right");break;case y.ExceptTop:r=" ".concat(e).concat(a,"-border-except-top");break;case y.Left:r=" ".concat(e).concat(a,"-border-left");break;case y.LeftBottom:r=" ".concat(e).concat(a,"-border-left-bottom");break;case y.LeftRight:r=" ".concat(e).concat(a,"-border-left-right");break;case y.LeftTop:r=" ".concat(e).concat(a,"-border-left-top");break;case y.Right:r=" ".concat(e).concat(a,"-border-right");break;case y.RightBottom:r=" ".concat(e).concat(a,"-border-right-bottom");break;case y.RightTop:r=" ".concat(e).concat(a,"-border-right-top");break;case y.Top:r=" ".concat(e).concat(a,"-border-top");break;case y.TopBottom:r=" ".concat(e).concat(a,"-border-bottom");break;default:r=" ".concat(e).concat(a,"-border")}return r},t.prototype.getClassName=function(){var e,t,n=this.backgroundColorType?" ".concat(this.backgroundColorType,"-background"):this.isDefaultValue?" ".concat(o.White,"-background"):"",r=this.pseudoBackgroundColorType?" ".concat(this.pseudoBackgroundColorType,"-before-background"):this.isDefaultValue?" ".concat(o.White,"-before-background"):"",a=this.pseudoBackgroundColorType?" ".concat(this.pseudoBackgroundColorType,"-after-background"):this.isDefaultValue?" ".concat(o.White,"-after-background"):"",i="".concat(r).concat(a),c=this.frontColorType?" ".concat(this.frontColorType,"-front"):this.isDefaultValue?" ".concat(o.Black,"-front"):"",l=this.pseudoFrontColorType?" ".concat(this.pseudoFrontColorType,"-before-front"):this.isDefaultValue?" ".concat(o.Black,"-before-front"):"",u=this.pseudoFrontColorType?" ".concat(this.pseudoFrontColorType,"-after-front"):this.isDefaultValue?" ".concat(o.Black,"-after-front"):"",s="".concat(l).concat(u);return e=this.borderColorType?this.borderDirectionType?this.getBorderColorClassName(this.borderColorType,this.borderDirectionType):" ".concat(this.borderColorType).concat(this.getBorderPrefix(this.pseudoType),"-border"):this.isDefaultValue?" ".concat(o.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(o.Transparent).concat(this.getBorderPrefix(this.pseudoType),"-border"):"":"","".concat(this.component.getClassName()).concat(n).concat(i).concat(c).concat(s).concat(e).concat(t)},t}(k),B=function(e,t,n,r,a,o,i,c,l,u,s,d,m,f){return new x(new w(new _(new S(e),a),n,r),t,o,i,c,l,u,s,d,m,f).getClassName()};!function(e){e.Div="div",e.Span="span"}(C||(C={}));var V,R=function(e){return{getClassName:function(t){var n=B(t,e.isDefaultValue,e.size,e.isAutoSize,e.weight,e.frontColor,e.backgroundColor,e.borderColor,e.borderDirection,e.pseudoType,e.pseudoFrontColor,e.pseudoBackgroundColor,e.pseudoBorderColor,e.pseudoBorderDirection);return e.className?"".concat(e.className," ").concat(n):n},getStyle:function(){var t;e.fontFamily&&(t=e.fontFamily);var n={borderRadius:e.borderRadius,borderWidth:e.borderWidth,borderStyle:e.borderStyle,borderColor:e.borderColor,padding:e.padding,margin:e.margin,height:e.height,width:e.width,minHeight:e.minHeight,minWidth:e.minWidth,maxHeight:e.maxHeight,maxWidth:e.maxWidth,opacity:e.opacity,display:e.display,zIndex:e.zIndex,visibility:e.visibility,fontFamily:t,letterSpacing:e.letterSpacing,lineHeight:e.lineHeight,cursor:e.cursor,overflow:e.overflow,overflowX:e.overflowX,overflowY:e.overflowY};return f(f({},e.style),n)},getChildren:function(e){return e.children&&Object.keys(e.children).indexOf("type")>-1&&null==e.children.type.name&&"VBoundary"!=e.children.type.displayName?e.children.props.children:e.children}}};!function(e){e.ExtraSmall="extra-small",e.Small="small",e.Medium="medium",e.Large="large",e.ExtraLarge="extra-large",e.ExtraExtraLarge="extra-extra-large"}(V||(V={}));var T,I=e.forwardRef((function(t,n){var r=R(t),a=t.className,o=t.style,i=p(t,["className","style"]),c="v-root ".concat(r.getClassName(t.vClassName)),l=a?"".concat(c," ").concat(a):c,u=f(f({},o),r.getStyle());return t.rootCategory==C.Span?e.createElement("span",f({id:t.id,ref:n,className:l,style:u},i),t.children):e.createElement("div",f({id:t.id,ref:n,className:l,style:u},i),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"}(T||(T={}));var L,N;!function(e){e.Visiable="visiable",e.Hidden="hidden"}(L||(L={})),function(e){e.Only="only",e.Up="up",e.Down="down"}(N||(N={}));var O,D=function(t){return t.children?e.createElement(e.Fragment,null,e.Children.map(t.children,(function(n){return function(n){if(n&&n.props){var r=void 0;t.breakpoint?"string"==typeof t.breakpoint?t.type&&t.type!=N.Only?t.type==N.Up?r="".concat(t.breakpoint,"-up-").concat(t.category):t.type==N.Down&&(r="".concat(t.breakpoint,"-down-").concat(t.category)):r="".concat(t.breakpoint,"-").concat(t.category):r=t.breakpoint.map((function(e,n){return"".concat(e,"-").concat(t.category)})).join(" "):r=t.category;var a={className:r};return e.cloneElement(n,a)}return n}(n)}))):e.createElement(e.Fragment,null)};!function(e){e.Top="top",e.Right="right",e.Bottom="bottom",e.Left="left",e.LeftTop="left-top",e.RightTop="right-top",e.LeftBottom="left-bottom",e.RightBottom="right-bottom",e.LeftInnerTop="left-inner-top",e.RightInnerTop="right-inner-top",e.LeftInnerBottom="left-inner-bottom",e.RightInnerBottom="right-inner-bottom"}(O||(O={}));var F,A,W=function(t){var n,r=e.useRef(null),a=e.useRef(null),o=e.useRef(null),i=function(){if(a.current&&o.current&&r.current)if(t.category==O.Bottom||t.category==O.Top){var e="-".concat(Math.abs(o.current.offsetWidth-a.current.offsetWidth)/2,"px");a.current.style.marginLeft=e}else if(t.category==O.Left||t.category==O.Right){var n="".concat(Math.abs(o.current.offsetHeight-r.current.offsetHeight)/2,"px");r.current.style.top=n}else if(t.category==O.LeftTop){e="-".concat(a.current.offsetWidth,"px");a.current.style.marginLeft=e}else if(t.category==O.LeftBottom){e="-".concat(a.current.offsetWidth,"px");a.current.style.marginLeft=e}else if(t.category==O.RightTop){e="".concat(o.current.offsetWidth,"px");a.current.style.marginLeft=e}else if(t.category==O.RightBottom){e="".concat(o.current.offsetWidth,"px");a.current.style.marginLeft=e}else if(t.category==O.LeftInnerTop);else if(t.category==O.LeftInnerBottom);else if(t.category==O.RightInnerTop){e="".concat(o.current.offsetWidth-a.current.offsetWidth,"px");a.current.style.marginLeft=e}else if(t.category==O.RightInnerBottom){e="".concat(o.current.offsetWidth-a.current.offsetWidth,"px");a.current.style.marginLeft=e}};if(e.useEffect((function(){a.current&&new ResizeObserver((function(e){i()})).observe(a.current);i()}),[]),t.category)switch(t.category){case O.Bottom:n="dock-overlay-bottom";break;case O.Left:n="dock-overlay-left";break;case O.LeftBottom:n="dock-overlay-leftbottom";break;case O.LeftTop:n="dock-overlay-lefttop";break;case O.Right:n="dock-overlay-right";break;case O.RightBottom:n="dock-overlay-rightbottom";break;case O.RightTop:n="dock-overlay-righttop";break;case O.Top:n="dock-overlay-top";break;case O.LeftInnerBottom:n="dock-overlay-leftinnerbottom";break;case O.LeftInnerTop:n="dock-overlay-leftinnertop";break;case O.RightInnerBottom:n="dock-overlay-rightinnerbottom";break;case O.RightInnerTop:n="dock-overlay-rightinnertop";break;default:n="dock-overlay"}return e.createElement("div",{className:"dock"},e.createElement("div",{id:"dockOverlay",style:{zIndex:t.zIndex},className:n,ref:r},e.createElement("div",{ref:a},t.renderOverlay())),e.createElement("div",{id:"dockContent",className:"dock-content",ref:o,onClick:function(e){t.onClick&&t.onClick(e)}},t.children))};!function(e){e.Edge="edge",e.Window="window",e.Area="area",e.Self="self"}(F||(F={})),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"}(A||(A={}));var z,X=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=f(f({},t.style),{zIndex:t.zIndex}),e.createElement("div",{className:n,style:r},t.children)}r=void 0;return r=t.category!=F.Self?f(f({},t.style),{top:t.top,right:t.right,bottom:t.bottom,left:t.left,zIndex:t.zIndex}):f(f({},t.style),{top:"-".concat(t.top),right:"-".concat(t.right),bottom:"-".concat(t.bottom),left:"-".concat(t.left),zIndex:t.zIndex}),e.createElement("div",{className:n,style:r},t.children)};!function(e){e.Default="default",e.FullSize="full-size"}(z||(z={}));var U,P,j,H,M,Y=function(t){return e.createElement(e.Fragment,null,e.Children.map(t.children,(function(n){return function(n){var r={className:"position-area-".concat(t.category?t.category:z.Default," ").concat(n.props.className)};return e.cloneElement(n,r)}(n)})))};!function(e){e.Row="row",e.RowReverse="row-reverse",e.Column="column",e.ColumnReverse="column-reverse"}(U||(U={})),function(e){e.NoWrap="nowrap",e.Wrap="wrap"}(P||(P={})),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"}(j||(j={})),function(e){e.Start="flex-start",e.Center="center",e.End="flex-end",e.Stretch="stretch",e.Baseline="baseline"}(H||(H={})),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"}(M||(M={}));var q,G=function(t){var n=t.className,r=t.style,a=p(t,["className","style"]),o=f(f({},r),{gap:t.gap,cursor:t.cursor?t.cursor:t.onClick?"pointer":"inherit"}),i=t.overflow?"flex-".concat(t.overflow):"flex-hidden",c=t.direction?" flex-direction-".concat(t.direction):"",l=t.wrap?" flex-wrap-".concat(t.wrap):"",u=t.justifyContent?" flex-justify-content-".concat(t.justifyContent):"",s=t.alignItems?" flex-align-items-".concat(t.alignItems):"",d=t.alignContent?" flex-align-content-".concat(t.alignContent):"",m="".concat(i).concat(c).concat(l).concat(u).concat(s).concat(d),g=n?"".concat(n," ").concat(m):m;return t.rootCategory==C.Span?e.createElement("span",f({className:g,style:o},a),t.children):e.createElement("div",f({className:g,style:r},a),t.children)};!function(e){e.Start="start",e.Center="center",e.End="end",e.Stretch="stretch",e.Baseline="baseline"}(q||(q={}));var J,Z=function(t){return t.children&&Object.keys(t.children).indexOf("type")>-1?e.createElement(e.Fragment,null,e.Children.map(t.children,(function(n){return function(n){var r={};if(t.order&&(r.order=t.order),t.basis&&(r.flexBasis=t.basis),t.grow&&(r.flexGrow=t.grow),t.shrink&&(r.flexShrink=t.shrink),n.props){var a=f(f({},r),n.props?n.props.style:null),o=t.alignSelf?" flex-align-self-".concat(t.alignSelf):"",i=n.props.className?" ".concat(n.props.className):"",c={className:"flex-item".concat(o).concat(i),style:a};return e.cloneElement(n,c)}return console.debug(n),e.createElement(e.Fragment,null,"Please check child.")}(n)}))):e.createElement(e.Fragment,null)};!function(e){e.Top="top",e.Middle="middle",e.Bottom="bottom",e.Stretch="stretch",e.Baseline="baseline"}(J||(J={}));var K,Q=function(t,n,r,a,o){var i=R(t),c=function(t,r,a){return n?n(t,r,a):e.createElement(Z,{key:"child".concat(r),alignSelf:a},t)},l=t.className,u=t.style,s=t.rootCategory,d=p(t,["className","style","rootCategory"]),m="".concat(i.getClassName("v-xbase")),g=l?"".concat(m," ").concat(l):m,h=f(f({},u),i.getStyle());return e.createElement(G,f({rootCategory:s,className:g,style:h,alignItems:function(){var e;if(t.cross)switch(t.cross){case J.Stretch:e=H.Stretch;break;case J.Baseline:e=H.Baseline;break;case J.Bottom:e=H.End;break;case J.Middle:e=H.Center;break;case J.Top:e=H.Start;break;default:e=H.Center}else e=H.Center;return e}(),wrap:r?r():P.NoWrap,justifyContent:a?a():j.Start,alignContent:o?o():M.Start},d),e.Children.map(i.getChildren(t),(function(t,n){var r=t;return r?r.type?"STop"===r.props.typeName?c(r.props.children,n,q.Start):"SMiddle"===r.props.typeName?c(r.props.children,n,q.Center):"SBottom"===r.props.typeName?c(r.props.children,n,q.End):"SStretch"===r.props.typeName?c(r.props.children,n,q.Stretch):"SBaseline"===r.props.typeName?c(r.props.children,n,q.Baseline):c(r,n):(console.debug(r),e.createElement(e.Fragment,null,"Please check X layout children.")):void 0})))},$=function(t){return Q(t,(function(t,n,r){return e.createElement(Z,{grow:1,alignSelf:r},t)}))},ee=function(t){var n=R(t);return Q(t,(function(r,a,o){return 0!=a&&a!=e.Children.count(n.getChildren(t))-1?e.createElement(Z,{grow:1,alignSelf:o},r):e.createElement(Z,{grow:0,alignSelf:o},r)}))},te=function(t){var n=R(t);return Q(t,(function(r,a){return a==e.Children.count(n.getChildren(t))-1?e.createElement(Z,{grow:1},r):e.createElement(Z,{grow:0},r)}))},ne=function(e){return Q(e,void 0,void 0,(function(){return j.Center}))},re=function(e){return Q(e)};!function(e){e.Left="left",e.Center="center",e.Right="right",e.Baseline="baseline",e.Stretch="stretch"}(K||(K={}));var ae,oe=function(t,n,r,a,o){var i=R(t),c=function(t,r,a){return n?n(t,r,a):e.createElement(Z,{key:"child".concat(r),alignSelf:a},t)},l=t.className,u=t.style;t.rootCategory;var s=p(t,["className","style","rootCategory"]),d="".concat(i.getClassName("v-ybase")),m=l?"".concat(d," ").concat(l):d,g=f(f({},u),i.getStyle());return e.createElement(G,f({className:m,style:g,wrap:r?r():P.NoWrap,alignContent:a?a():M.Start,alignItems:function(){var e;if(t.cross)switch(t.cross){case K.Left:e=H.Start;break;case K.Center:e=H.Center;break;case K.Right:e=H.End;break;case K.Baseline:e=H.Baseline;break;default:e=H.Stretch}else e=H.Stretch;return e}(),direction:U.Column,justifyContent:o?o():j.Start},s),e.Children.map(i.getChildren(t),(function(t,n){var r=t;return r?r.type?r&&"SLeft"===r.props.typeName?c(r.props.children,n,q.Start):r&&"SMiddle"===r.props.typeName||r&&"SCenter"===r.props.typeName?c(r.props.children,n,q.Center):r&&"SRight"===r.props.typeName?c(r.props.children,n,q.End):r&&"SStretch"===r.props.typeName?c(r.props.children,n,q.Stretch):r&&"SBaseline"===r.props.typeName?c(r.props.children,n,q.Baseline):c(t,n):(console.debug(r),e.createElement(e.Fragment,null,"Please check Y layout children.")):void 0})))},ie=function(t){return oe(t,(function(t,n,r){return e.createElement(Z,{grow:1,alignSelf:r},t)}))};!function(e){e.Top="top",e.Right="right",e.Bottom="bottom",e.Left="left",e.Center="center"}(ae||(ae={}));var ce,le=function(e){var t={};return e.forEach((function(e,n){var r,a=!1;n.startsWith("#")?(a=!0,r=n.substring(1).split(".")):r=n.split(".");var o=t;r.forEach((function(t,n){if(n==r.length-1)if(t.endsWith("[]")){var i=t.replace("[]","");Object.keys(o).filter((function(e){return e==i})).length>0?o[i]=g(g([],o[i],!0),[a?JSON.parse(e.toString()):e],!1):o[i]=[a?JSON.parse(e.toString()):e]}else o[t]=a?JSON.parse(e.toString()):e;else t in o||(o[t]={}),o=o[t]}))})),t};!function(e){e.Json="json",e.FormData="formdata"}(ce||(ce={}));var ue,se,de;!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"}(ue||(ue={})),function(e){e.Default="default",e.Circle="circle"}(se||(se={})),function(e){e[e.Justify=0]="Justify",e[e.Left=1]="Left",e[e.Right=2]="Right",e[e.Center=3]="Center"}(de||(de={}));var me=function(t){var n,r;switch(t.alignType){case de.Center:r="v-label-center";break;case de.Justify:r="v-label-justify";break;case de.Left:r="v-label";break;case de.Right:r="v-label-right";break;default:r="v-label"}switch(t.type==se.Circle&&(r="".concat(r,"-circle")),t.isTextOverflow&&(r+=" v-label-text-overflow"),t.category){case ue.Div:n=e.createElement("div",null,t.caption);break;case ue.Span:n=e.createElement("span",null,t.caption);break;case ue.H1:n=e.createElement("h1",null,t.caption);break;case ue.H2:n=e.createElement("h2",null,t.caption);break;case ue.H3:n=e.createElement("h3",null,t.caption);break;case ue.H4:n=e.createElement("h4",null,t.caption);break;case ue.H5:n=e.createElement("h5",null,t.caption);break;case ue.H6:n=e.createElement("h6",null,t.caption);break;case ue.I:n=e.createElement("i",null,t.caption);break;case ue.B:n=e.createElement("b",null,t.caption);break;case ue.U:n=e.createElement("u",null,t.caption);break;case ue.Abbr:n=e.createElement("abbr",{title:t.title},t.caption);break;case ue.Em:n=e.createElement("em",null,t.caption);break;case ue.Strong:n=e.createElement("strong",null,t.caption);break;case ue.Blockquote:n=e.createElement("blockquote",{cite:t.cite},t.caption);break;case ue.Cite:n=e.createElement("cite",null,t.caption);break;case ue.Code:n=e.createElement("code",null,t.caption);break;case ue.Del:n=e.createElement("del",null,t.caption);break;case ue.Dfn:n=e.createElement("dfn",null,t.caption);break;case ue.Ins:n=e.createElement("ins",null,t.caption);break;case ue.Kbd:n=e.createElement("kbd",null,t.caption);break;case ue.Mark:n=e.createElement("mark",null,t.caption);break;case ue.Pre:n=e.createElement("pre",null,t.caption);break;case ue.Q:n=e.createElement("q",null,t.caption);break;case ue.S:n=e.createElement("s",null,t.caption);break;case ue.Samp:n=e.createElement("samp",null,t.caption);break;case ue.Small:n=e.createElement("small",null,t.caption);break;case ue.Summary:n=e.createElement("summary",null,t.caption);break;case ue.Sub:n=e.createElement("sub",null,t.caption);break;case ue.Sup:n=e.createElement("sup",null,t.caption);break;case ue.Time:n=e.createElement("time",null,t.caption);break;case ue.Var:n=e.createElement("var",null,t.caption);break;case ue.Wbr:n=e.createElement("wbr",null,t.caption);break;default:n=e.createElement("span",null,t.caption)}return t.type==se.Circle?e.createElement(Y,null,e.createElement(I,f({vClassName:r,width:"1.6em",height:"1.6em",borderRadius:"2em"},t),e.createElement(X,{category:F.Area,type:A.Center},n))):e.createElement(I,f({display:null==t.category||t.category==ue.Span?"inline-block":"block",vClassName:r},t),n)},fe=e.forwardRef((function(t,n){return e.createElement(I,f({id:t.id,ref:n,vClassName:"v-boundary"},t),t.children)}));fe.displayName="VBoundary";var pe,ge=e.forwardRef((function(n,r){var a,i=e.useState({value:void 0!==n.value?n.value:""}),c=i[0],l=i[1],u=e.useRef(null),s=e.useRef(null),d=e.useRef(null);return t(r,(function(){return d.current}),[]),e.useEffect((function(){var e;r?null===(e=d.current)||void 0===e||e.focus():n.isFocus&&u.current&&u.current.focus()}),[]),n.overWrite&&(a=r?n.overWrite(d):n.overWrite(u)),e.createElement(I,f({vClassName:"v-validity v-input".concat(n.inheritClassName?" ".concat(n.inheritClassName):"")},n),e.createElement(ie,{display:a?"none":void 0},e.createElement(ee,{gap:"0.6em"},e.createElement(fe,null,!!n.icon&&n.icon),e.createElement(fe,null,e.createElement("input",f({ref:r?d:u},n.customAttibutes,{className:n.inputClassName,style:f(f({},n.inputStyle),{display:n.isReadonly?"none":"block"}),required:n.isRequired,placeholder:n.placeholder,type:n.type,id:n.id?n.id:n.name,name:n.name,value:n.valueHook?n.valueHook:c.value,min:n.min,max:n.max,step:n.step,disabled:n.disabled,onChange:function(e){var t,a;n.isValueShow&&l({value:r?null===(t=d.current)||void 0===t?void 0:t.value:null===(a=u.current)||void 0===a?void 0:a.value}),n.onChange&&n.onChange(e),n.setStateHook?n.setStateHook(e.target.value):l({value:e.target.value})},onKeyDown:n.onKeyDown,onKeyUp:n.onKeyUp,onClick:n.onClick,onBlur:n.onBlur,onCopy:n.onCopy,onCut:n.onCut,onPaste:n.onPaste,onDrag:n.onDrag,multiple:n.isMultiple,accept:n.accept})),!!n.isReadonly&&e.createElement("div",{ref:n.readonlyRef?n.readonlyRef:s},n.valueHook?n.valueHook:c.value?c.value.toString():""),!!n.label&&e.createElement("label",{htmlFor:n.id?n.id:n.name},n.label)),e.createElement(fe,null,!!n.extensions&&e.createElement($,null,n.extensions.map((function(t,n){return e.createElement("span",{key:"extension".concat(n),className:"extension",onClick:function(){var e=r?d.current:u.current;t.handleOption(e)}},t.option)}))))),!!n.isValueShow&&e.createElement(ne,null,e.createElement(me,{padding:n.valuePadding,isAutoSize:n.isAutoSize,size:n.valueSize?n.valueSize:h.Normal,frontColor:n.valueColor?n.valueColor:o.Black,caption:void 0!==c.value?c.value.toString():n.value?n.value.toString():""}))),!!a&&a)}));!function(e){e.Default="default",e.Circle="circle",e.Squared="squared",e.Custom="custom"}(pe||(pe={}));var he,ve,ye=function(t){var n=R(t);return e.createElement(e.Fragment,null,e.Children.map(t.children,(function(r){return function(r){var a=t.category?t.category:pe.Default,o=n.getClassName("v-svg-".concat(a)),i=t.onClick,c=t.onMouseEnter,l=t.onMouseLeave,u={className:o,style:f(f({},n.getStyle()),{cursor:i?"pointer":"inherit"}),onClick:i,onMouseEnter:c,onMouseLeave:l};return e.cloneElement(r,u)}(r)})))};function be(){return be=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},be.apply(null,arguments)}var Ee,Ce=function(t){return e.createElement("svg",be({xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 256 256"},t),he||(he=e.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"})),ve||(ve=e.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 Se(){return Se=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},Se.apply(null,arguments)}var ke,we,_e,xe,Be=function(t){return e.createElement("svg",Se({xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 256 256"},t),Ee||(Ee=e.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"}(ke||(ke={})),function(e){e.Once="animate__repeat-1",e.Twice="animate__repeat-2",e.Thrice="animate__repeat-3",e.Infinite="animate__infinite"}(we||(we={})),function(e){e.Slow="animate__slow",e.Slower="animate__slower",e.Fast="animate__fast",e.Faster="animate__faster"}(_e||(_e={})),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"}(xe||(xe={}));var Ve,Re=function(t){var n;return e.createElement("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(" ")))},t.children)},Te=function(t){var n=R(t);return e.createElement(fe,f({className:n.getClassName("v-loading"),style:n.getStyle()},t),e.createElement(Re,{category:t.animationCategory?t.animationCategory:ke.Flip,speed:t.animationSpeed?t.animationSpeed:_e.Slower,repeat:we.Infinite},t.children))};function Ie(){return Ie=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},Ie.apply(null,arguments)}var Le,Ne=function(t){return e.createElement("svg",Ie({xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 256 256"},t),Ve||(Ve=e.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"}(Le||(Le={}));var Oe,De,Fe=function(e){return e.name.endsWith(".jpg")||e.name.endsWith(".jpeg")||e.name.endsWith(".png")};function Ae(){return Ae=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)({}).hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},Ae.apply(null,arguments)}var We,ze=function(t){return e.createElement("svg",Ae({xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 256 256"},t),Oe||(Oe=e.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"})),De||(De=e.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 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 Ue,Pe,je=function(t){return e.createElement("svg",Xe({xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 256 256"},t),We||(We=e.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 He(){return He=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)({}).hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},He.apply(null,arguments)}var Me,Ye=function(t){return e.createElement("svg",He({xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 256 256"},t),Ue||(Ue=e.createElement("rect",{width:20,height:200,x:50,y:64,fill:"currentColor",rx:10,transform:"rotate(-45 50 64)"})),Pe||(Pe=e.createElement("rect",{width:20,height:200,fill:"currentColor",rx:10,transform:"scale(-1 1)rotate(-45 -25.527 280.136)"})))},qe=e.forwardRef((function(t,n){var r;if(t.enableClear){var a={option:e.createElement(ye,{size:h.ExtraSmall,frontColor:o.Placeholder,onClick:function(){}},e.createElement(Ye,null)),handleOption:function(e){e.value=""}};r=t.extensions?g(g([],t.extensions,!0),[a],!1):[a]}else t.extensions&&(r=t.extensions);return e.createElement(ge,f({ref:n,readonlyRef:t.readonlyRef,isFocus:t.isFocus,inheritClassName:"v-textbox",isDefaultValue:!0,type:"text"},t,{extensions:r}))})),Ge=e.forwardRef((function(t,n){return e.createElement(ge,f({ref:n,display:"none",type:"hidden",id:t.id?t.id:t.name},t))})),Je=function(t){var n=R(t);return e.createElement("div",f({id:t.id,className:"v-root ".concat(n.getClassName(t.vClassName)),style:n.getStyle()},t.customAttibutes),t.children)};!function(e){e.NewWindow="_blank",e.Self="_self",e.Parent="_parent",e.Top="_top"}(Me||(Me={}));var Ze,Ke=function(t){var n=R(t);return e.createElement(I,f({vClassName:n.getClassName("v-hyperlink"),style:n.getStyle()},t),e.createElement("a",{href:t.to,target:t.category},t.children))};!function(e){e.Uninstalled="uninstalled",e.Outdated="outdated",e.Ready="ready"}(Ze||(Ze={}));var Qe,$e;!function(e){e.P="p",e.Address="address",e.Article="article",e.Aside="aside",e.Details="details",e.Section="section"}(Qe||(Qe={})),function(e){e[e.Justify=0]="Justify",e[e.Left=1]="Left",e[e.Right=2]="Right",e[e.Center=3]="Center"}($e||($e={}));var et,tt=e.forwardRef((function(t,n){var r=e.useState({value:t.value}),a=r[0],o=r[1],i=e.useRef(null);return e.createElement(I,f({vClassName:"v-validity v-textarea"},t),e.createElement(te,{cross:J.Top,gap:"0.6em"},t.icon,e.createElement(fe,null,e.createElement("textarea",{ref:n||i,id:t.id?t.id:t.name,name:t.name,value:t.valueHook?t.valueHook:a.value,required:t.isRequired,placeholder:t.placeholder,rows:t.rows,onChange:function(e){t.onChange&&t.onChange(e),t.setStateHook?t.setStateHook(e.target.value):o({value:e.target.value})}}))))}));!function(e){e.Default="default",e.Fixed="fixed"}(et||(et={}));var nt;!function(e){e.Vertical="vertical",e.Horizontal="horizontal"}(nt||(nt={}));var rt;!function(e){e.Default="default",e.Fixed="fixed"}(rt||(rt={}));var at;!function(e){e.Default="default",e.Max="max"}(at||(at={}));var ot;!function(e){e.Normal="normal",e.Italic="italic"}(ot||(ot={}));var it,ct;!function(e){e.Popup="popup",e.Redirect="redirect"}(it||(it={})),function(e){e.Implicit="implicit",e.AuthorizationCode="authorization-code"}(ct||(ct={}));var lt,ut="fewbox-google-grant";!function(e){e.Prompt="prompt",e.Popup="popup",e.Redirect="redirect"}(lt||(lt={}));var st,dt="fewbox-google-auth",mt=function(e,t){e.isInitialized||t()};!function(e){e.Beacon="beacon",e.Xhr="xhr",e.Image="image"}(st||(st={}));var ft,pt=Object.freeze({__proto__:null,get AnimationCategory(){return ke},get AnimationDelay(){return xe},get AnimationRepeat(){return we},get AnimationSpeed(){return _e},get BackgroundPositionType(){return ae},Base:R,get BorderRadiusType(){return d},get BreakpointType(){return V},get ColorType(){return o},get ComponentType(){return b},Debug:function(t){return t.isDebug?e.createElement("div",{className:"debug"},t.children):e.createElement("div",{className:"no-debug"},t.children)},Display:D,get DisplayCategory(){return L},get DisplayType(){return N},Dock:W,get DockCategory(){return O},get EllipseCategory(){return et},get ExtensionStatus(){return Ze},FigmaSignin:function(t){return e.createElement("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)}},t.children)},get FileCategory(){return Le},Flex:G,get FlexAlignContentType(){return M},get FlexAlignItemsType(){return H},get FlexDirectionType(){return U},FlexItem:Z,get FlexItemAlignSelfType(){return q},get FlexJustifyContentType(){return j},get FlexWrapType(){return P},get FontFamilyType(){return c},get FontWeightType(){return i},GA4NextJS:function(t){return e.createElement(me,{frontColor:o.Error,size:h.Large,caption:"[USE] https://nextjs.org/docs/app/building-your-application/optimizing/third-party-libraries"})},get GAEventTransportType(){return st},get GoogleFontType(){return ot},GoogleGrant:function(t){return e.useEffect((function(){var e=document.createElement("script");e.src="https://accounts.google.com/gsi/client",t.category==ct.Implicit?e.onload=function(){var e=google.accounts.oauth2.initTokenClient({client_id:t.clientId,scope:t.scope,callback:function(e){var n={accessToken:e.access_token,expiresIn:e.expires_in,hd:e.hd,prompt:e.prompt,tokenType:e.token_type,scope:e.scope,state:e.state,error:e.error,errorDescription:e.error_description,errorUri:e.error_uri};t.callback(n)}});if(t.isAutoRequest)e.requestAccessToken();else{var n=document.getElementById(ut);null==n||n.addEventListener("click",(function(){e.requestAccessToken()}))}t.enableGoogle()}:e.onload=function(){var e=google.accounts.oauth2.initCodeClient({client_id:t.clientId,scope:t.scope,ux_mode:t.uxMode,callback:function(e){var n={code:e.code,scope:e.scope,state:e.state,error:e.error,errorDescription:e.error_description,errorUri:e.error_uri};t.callback(n)}});if(t.isAutoRequest)e.requestCode();else{var n=document.getElementById(ut);null==n||n.addEventListener("click",(function(){e.requestCode()}))}t.enableGoogle()},e.onerror=function(e){console.error(e),t.disableGoogle()},document.body.appendChild(e)}),[]),t.isAutoRequest?e.createElement(e.Fragment,null):e.createElement(fe,{id:ut},t.children)},get GoogleGrantCategory(){return ct},get GoogleGrantUXMode(){return it},GoogleSignin:function(t){return e.useEffect((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!=lt.Prompt?t.uxMode:void 0,use_fedcm_for_prompt:t.uxMode==lt.Prompt,callback:function(e){t.callback(e.credential)},login_uri:t.redirectUrl}),t.uxMode==lt.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:dt);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.createElement(fe,{id:t.googleAuthButtonId?t.googleAuthButtonId:dt})},get GoogleSigninUXMode(){return lt},get HandleSubmitCategory(){return ce},get HyperlinkCategory(){return Me},get LabelAlignType(){return de},get LabelCategory(){return ue},get LabelType(){return se},get LetterSpacingType(){return s},get LineCategory(){return nt},get LineHeightType(){return l},get PaddingType(){return u},Position:X,PositionArea:Y,get PositionAreaCategory(){return z},get PositionCategory(){return F},get PositionType(){return A},Responsive:function(t){return e.createElement(e.Fragment,null,e.createElement(D,{category:L.Hidden,type:N.Down,breakpoint:t.breakpointType?t.breakpointType:V.Small},t.desktop),e.createElement(D,{category:L.Hidden,type:N.Up,breakpoint:t.breakpointType?t.breakpointType:V.Small},t.mobile))},get RootCategory(){return C},SBaseline:function(t){return e.createElement(e.Fragment,null,t.children)},SBottom:function(t){return e.createElement(e.Fragment,null,t.children)},SCenter:function(t){return e.createElement(e.Fragment,null,t.children)},SLeft:function(t){return e.createElement(e.Fragment,null,t.children)},SMiddle:function(t){return e.createElement(e.Fragment,null,t.children)},SRight:function(t){return e.createElement(e.Fragment,null,t.children)},SStretch:function(t){return e.createElement(e.Fragment,null,t.children)},STop:function(t){return e.createElement(e.Fragment,null,t.children)},get ShadowCategory(){return at},get SizeType(){return h},get SvgCategory(){return pe},get TextAlignType(){return $e},get TextCategory(){return Qe},VActionForm:function(t){return e.createElement("form",{className:"v-action-form",action:t.action,method:t.method,target:t.target},t.children)},VAnimation:Re,VAudio:function(t){var n=R(t);return e.createElement("audio",{className:n.getClassName("v-audio"),style:n.getStyle(),controls:!0},t.sources.map((function(t,n){return e.createElement("source",{key:"source".concat(n),src:t.src,type:t.type})})))},VBackground:function(t){var n;return n=t.imageWidth&&t.imageHeight?{backgroundImage:'url("'.concat(t.image,'")'),backgroundSize:"".concat(t.imageWidth," ").concat(t.imageHeight)}:{backgroundImage:'url("'.concat(t.image,'")')},e.createElement(I,f({vClassName:t.position?"v-background-".concat(t.position):"v-background",style:n},t.customAttibutes),t.children)},VBoundary:fe,VCheckBox:function(t){var n=e.useState({isChecked:t.isChecked}),r=n[0],a=n[1];return e.createElement(ge,{isAutoSize:t.isAutoSize,customAttibutes:{defaultChecked:!!r.isChecked},inheritClassName:"v-checkbox",type:"checkbox",isDefaultValue:!0,overWrite:function(n){return e.createElement(re,{gap:"0.2em",onClick:function(){var e,t;null===(e=n.current)||void 0===e||e.click(),(null===(t=n.current)||void 0===t?void 0:t.hasAttribute("checked"))?a({isChecked:!1}):a({isChecked:!0})}},e.createElement(ye,{frontColor:t.frontColor,size:t.size},r.isChecked?e.createElement(Ce,null):e.createElement(Be,null)),e.createElement(me,{frontColor:t.frontColor,size:t.size,caption:t.label?t.label:""}))}})},VChromeExtensionValidator:function(t){var n,r=e.useState({}),a=r[0],o=r[1];return e.useEffect((function(){var e;a.status||(e=!1,window.addEventListener("extension-meta-".concat(t.extensionId),(function(n){e=!0,n.detail?n.detail.version?t.version?n.detail.version>=t.version?o(f(f({},a),{status:Ze.Ready})):o(f(f({},a),{status:Ze.Outdated})):o(f(f({},a),{status:Ze.Ready})):o(f(f({},a),{status:Ze.Outdated})):o(f(f({},a),{status:Ze.Uninstalled}))})),window.dispatchEvent(new CustomEvent("validate-extension-".concat(t.extensionId),{detail:{id:t.extensionId}})),setTimeout((function(){e||o(f(f({},a),{status:Ze.Uninstalled}))}),t.waitingTime?t.waitingTime:1e3))})),a.status===Ze.Uninstalled?n=t.uninstalledCaption:a.status===Ze.Outdated&&(n=t.outdatedCaption),e.createElement(fe,null,!(a.status===Ze.Ready)&&(t.overWrite&&a.status?t.overWrite(a.status):e.createElement(Ke,{category:Me.NewWindow,to:t.downloadUrl?t.downloadUrl:"mailto:support@fewbox.com"},n)))},VColor:function(t){return e.createElement(ge,f({type:"color",isDefaultValue:!0},t))},VDate:function(t){return e.createElement(ge,f({type:"date",isDefaultValue:!0},t))},VDatetimeLocal:function(t){return e.createElement(ge,f({type:"datetime-local",isDefaultValue:!0},t))},VDropdown:function(t){var n,r,a=e.useState({isSelectionShow:!1,selectValue:t.value?t.value:"",selectCaption:t.value?t.items.filter((function(e){return e.value==t.value}))[0].caption:"",items:t.items}),i=a[0],c=a[1],l=e.useRef(null),u=e.useRef(null),s=e.useRef(null);e.useEffect((function(){var e=window.document.getElementById("".concat(t.name,"-dock"));if(e){var n=0;t.icon&&(n+=2),n+=t.extensions?4*(t.extensions.length+1):4,t.isReadonly?e.style.width=s.current?"calc(".concat(s.current.offsetWidth,"px + ").concat(n,"em)"):"12em":e.style.width=u.current?"calc(".concat(u.current.offsetWidth,"px + ").concat(n,"em)"):"12em"}}));return e.createElement(Je,f({vClassName:"v-dropdown"},t),e.createElement(Ge,{id:t.id?t.id:t.name,name:t.name,valueHook:null===(n=i.selectValue)||void 0===n?void 0:n.toString(),ref:l}),e.createElement(W,{zIndex:i.isSelectionShow?2e9:-2e9,category:O.RightInnerBottom,renderOverlay:function(){return e.createElement(fe,{id:"".concat(t.name,"-dock"),visibility:i.isSelectionShow?"visible":"hidden",borderRadius:t.borderRadius},e.createElement(ie,{backgroundColor:o.White,padding:"1em 0",gap:"0.6em",borderRadius:"0.2em",borderColor:t.borderColor,borderWidth:t.borderWidth,borderStyle:"solid"},i.items.map((function(n,r){return t.overWriteDropdownItem?e.createElement(fe,{key:"item".concat(r)},t.overWriteDropdownItem(n)):e.createElement(re,{gap:"0.2em",padding:"0.2em 1em",key:"item".concat(r),className:"item",onClick:function(){c(f(f({},i),{isSelectionShow:!1,selectIcon:n.icon,selectCaption:n.caption,selectValue:n.value,items:t.items})),t.onChange&&t.onChange(n.value)}},n.icon?e.createElement(ye,{size:h.ExtraSmall},n.icon):e.createElement(e.Fragment,null),e.createElement(me,{caption:n.caption}))})),!(0!=i.items.length)&&e.createElement(ye,{size:h.ExtraSmall,onClick:function(){}},t.emptyIcon)))}},e.createElement(qe,{padding:t.padding,isReadonly:t.isReadonly,size:t.size,icon:e.createElement(ye,{size:t.size?t.size:h.Normal},i.selectIcon?i.selectIcon:t.icon),valueHook:null===(r=i.selectCaption)||void 0===r?void 0:r.toString(),enableClear:t.enableClear,extensions:[{option:e.createElement(ye,{size:t.size?t.size:h.Small,onClick:function(){}},i.isSelectionShow?t.upIcon:t.downIcon),handleOption:function(e){c(f(f({},i),{isSelectionShow:!i.isSelectionShow}))}}],onClick:function(){c(f(f({},i),{isSelectionShow:!i.isSelectionShow}))},onChange:function(e){var n;n=e.target.value,c(f(f({},i),{isSelectionShow:!0,selectCaption:n,items:t.items.filter((function(e){return e.caption.toLowerCase().indexOf(n.toLowerCase())>-1}))}))},ref:u,readonlyRef:s,borderRadius:t.borderRadius,frontColor:i.selectValue===i.selectCaption?t.frontColor:o.Error})))},VEllipse:function(t){return e.createElement(I,f({vClassName:"v-ellipse-".concat(t.category?t.category:et.Default)},t),t.children)},VEmail:function(t){return e.createElement(ge,f({inheritClassName:"v-email",isDefaultValue:!0,type:"email"},t))},VFile:function(t){var n=e.useRef(null),r=e.useState({inputFiles:[],isLoading:!1}),a=r[0],o=r[1],i=function(){o((function(e){return f(f({},e),{isLoading:!1})}))};e.useEffect((function(){return function(){return a.inputFiles.forEach((function(e){e.objectUrl&&URL.revokeObjectURL(e.objectUrl)}))}}),[a.inputFiles]);var c=function(e){e.preventDefault(),e.currentTarget.className="v-file"};return e.createElement(fe,{className:"v-file",onDrop:function(e){e.preventDefault();var n=Array.from(e.dataTransfer.files),r=n.map((function(e){return{name:e.name,objectUrl:Fe(e)?URL.createObjectURL(e):void 0}}));r.length>0&&(t.autoUpload?(o(f(f({},a),{inputFiles:r,isLoading:!0})),t.autoUpload(n,i),e.currentTarget.className="v-file"):(o(f(f({},a),{inputFiles:r})),e.currentTarget.className="v-file",console.error("Need Todo.")))},onDragOver:function(e){e.preventDefault(),e.currentTarget.className="v-file on-drag"},onDragEnd:c,onDragLeave:c,onDragExit:c},e.createElement(ge,f({type:"file",isDefaultValue:!0,ref:n},t,{onChange:function(e){var n=Array.from(e.target.files),r=n.map((function(e){return{name:e.name,objectUrl:Fe(e)?URL.createObjectURL(e):void 0}}));o(f(f({},a),{inputFiles:r})),t.autoUpload&&(o(f(f({},a),{inputFiles:r,isLoading:!0})),t.autoUpload(n,i))},overWrite:function(n){return t.category&&t.category==Le.Vertical?e.createElement(ie,{gap:"1em",onClick:function(){var e;null===(e=n.current)||void 0===e||e.click()},cross:K.Center},!(0!=a.inputFiles.length)&&t.fileIcon,e.createElement(fe,null,t.caption),e.createElement(ie,{gap:"0.6em"},a.inputFiles.map((function(n,r){return e.createElement(ie,{key:"image-file".concat(r),cross:K.Center},!!n.objectUrl&&e.createElement(fe,null,e.createElement("img",{src:n.objectUrl,alt:n.name,width:t.previewImageWidth?t.previewImageWidth:120})),e.createElement(me,{size:h.Small,caption:n.name.length>(t.textLength?t.textLength:12)?n.name.slice(0,t.textLength?t.textLength:12)+"…":n.name}))}))),!!a.isLoading&&(t.renderLoading?t.renderLoading():e.createElement(Te,{animationCategory:ke.Flash},e.createElement(ne,null,e.createElement(ye,{size:t.loadingSize,frontColor:t.loadingColor},e.createElement(Ne,null)))))):e.createElement(ie,{gap:"1em",cross:K.Center},e.createElement($,{gap:"1em",onClick:function(){var e;null===(e=n.current)||void 0===e||e.click()}},!(0!=a.inputFiles.length)&&t.fileIcon,e.createElement(ie,{gap:"0.6em"},a.inputFiles.map((function(n,r){return e.createElement(ie,{key:"image-file".concat(r),cross:K.Center},!!n.objectUrl&&e.createElement(fe,null,e.createElement("img",{src:n.objectUrl,alt:n.name,width:t.previewImageWidth?t.previewImageWidth:120})),e.createElement(me,{size:h.Small,caption:n.name.length>(t.textLength?t.textLength:12)?n.name.slice(0,t.textLength?t.textLength:12)+"…":n.name}))})))),e.createElement(fe,null,t.caption),!!a.isLoading&&(t.renderLoading?t.renderLoading():e.createElement(Te,{animationCategory:ke.Flash},e.createElement(ye,{size:t.loadingSize,frontColor:t.loadingColor},e.createElement(Ne,null)))))}})))},VFooter:function(t){var n=R(t);return e.createElement("footer",{className:n.getClassName("v-footer"),style:n.getStyle()},t.children)},VForm:function(t){return e.createElement("form",{className:"v-form",onSubmit:function(e){if(e.preventDefault(),!t.handleValidateError||e.currentTarget.checkValidity()){for(var n=0;n<e.currentTarget.elements.length;n++){(i=(o=e.currentTarget.elements.item(n)).closest(".v-validity"))&&(i.className=i.className.replace(" invalid",""))}var r=new FormData(e.currentTarget);if(t.handleSubmitCategory==ce.FormData)t.handleSubmit(r);else{var a=le(r);t.handleSubmit(a)}}else for(n=0;n<e.currentTarget.elements.length;n++){var o,i;(i=(o=e.currentTarget.elements.item(n)).closest(".v-validity"))&&(o.checkValidity()?i.className=i.className.replace(" invalid",""):-1==i.className.indexOf("invalid")&&(i.className+=" invalid")),t.handleValidateError(o)}}},t.children)},VFrame:function(t){var n;return t.backingBoard&&(n={background:"linear-gradient(".concat(t.backingBoard.degree,", ").concat(t.backingBoard.startColor,", ").concat(t.backingBoard.endColor,")")}),e.createElement(I,{vClassName:"v-frame",borderRadius:t.borderRadius,style:n},e.createElement("div",f({style:{padding:t.padding,backgroundImage:"url(".concat(t.image,")"),backgroundRepeat:"no-repeat",backgroundSize:"cover"}},t.customAttibutes),t.children))},VGoogleFont:function(t){return e.useEffect((function(){var e=document.createElement("link");e.rel="preconnect",e.href="https://fonts.googleapis.com";var n=document.createElement("link");n.rel="preconnect",n.href="https://fonts.gstatic.com",n.crossOrigin="crossorigin",document.head.appendChild(e),document.head.appendChild(n),t.typefaces.forEach((function(e,t){var n,r,a=e.family,o=null===(n=e.fonts)||void 0===n?void 0:n.filter((function(e){return e.type==ot.Italic})),i=o&&o.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(E(e.weight))):e.type==ot.Italic&&l.push("1,".concat(E(e.weight))):l.push(E(e.weight).toString())})),c.href="https://fonts.googleapis.com/css2?family=".concat(a,":").concat(i,"@").concat(l.join(";"),"&display=swap")):c.href="https://fonts.googleapis.com/css2?family=".concat(a,"&display=swap"),document.head.appendChild(c)}))})),e.createElement(e.Fragment,null)},VGroup:function(t){var n=e.useState({selectedValue:t.selectedValue}),r=n[0],a=n[1];return e.createElement(e.Fragment,null,t.renderGroup(r.selectedValue,(function(e){a(e.currentTarget.value)})))},VHR:function(t){var n=R(t);return e.createElement("hr",{className:n.getClassName("v-hr"),style:n.getStyle()})},VHeader:function(t){var n=R(t);return e.createElement("header",{className:n.getClassName("v-header"),style:n.getStyle()},t.children)},VHidden:Ge,VHyperlink:Ke,VLabel:me,VLine:function(t){return e.createElement(I,f({vClassName:"v-line-".concat(t.category)},t))},VMain:function(t){var n=R(t);return e.createElement("main",{className:n.getClassName("v-main"),style:n.getStyle()},t.children)},VMask:function(t){return e.createElement(X,{zIndex:t.zIndex?t.zIndex:1e8,category:F.Window,type:A.Center},e.createElement(Y,null,e.createElement(fe,{width:"100vw",height:"100vh",backgroundColor:o.Dark75},e.createElement(X,{category:F.Area,type:A.Center},t.children))))},VMonth:function(t){return e.createElement(ge,f({type:"month",isDefaultValue:!0},t))},VNumber:function(t){return e.createElement(ge,f({type:"number",isDefaultValue:!0},t))},VPassword:function(t){return e.createElement(ge,f({inheritClassName:"v-password",isDefaultValue:!0,type:"password"},t))},VRadio:function(t){return e.createElement(ge,f({type:"radio",customAttibutes:{checked:!!t.isChecked},isDefaultValue:!0},t,{overWrite:function(n){return e.createElement(re,{onClick:function(){var e;console.log(n.current),null===(e=n.current)||void 0===e||e.click()}},e.createElement(ye,{padding:"0.4em",frontColor:t.frontColor,size:t.size},t.isChecked?e.createElement(ze,null):e.createElement(je,null)),e.createElement(me,{frontColor:t.frontColor,size:t.size,caption:t.label?t.label:""}))}}))},VRange:function(t){var n="".concat(t.controlBackgroundColor,"-background ").concat(t.controlBorderColor,"-border");return e.createElement(ge,f({type:"range",isDefaultValue:!0},t,{inputClassName:n}))},VRectangle:function(t){return e.createElement(I,f({vClassName:"v-rectangle-".concat(t.category?t.category:rt.Default)},t))},VSearch:function(t){return e.createElement(ge,f({type:"search",isDefaultValue:!0,inheritClassName:"v-search"},t))},VSection:function(t){var n=R(t);return e.createElement("section",{className:n.getClassName("v-section"),style:n.getStyle()},t.children)},VSelect:function(t){var n=R(t);return e.createElement(fe,f({className:n.getClassName("v-select"),style:n.getStyle()},t),e.createElement("select",{multiple:t.isMultiple,name:t.name,defaultValue:t.value,onChange:t.onChange},t.items.map((function(t,n){return e.createElement("option",{key:"option".concat(n),value:t.value},t.caption)}))))},VShadow:function(t){var n=R(t);return e.createElement(e.Fragment,null,e.Children.map(t.children,(function(r){return function(r){if(r){var a={};t.x&&t.y&&t.blur&&t.spread&&t.color&&(a.boxShadow="".concat(t.x,"px ").concat(t.y,"px ").concat(t.blur,"px ").concat(t.spread,"px ").concat(t.color));var o={className:n.getClassName("v-shadow-".concat(t.category?t.category:at.Default)),style:f(f({},a),n.getStyle())};return e.cloneElement(r,o)}return e.createElement(e.Fragment,null)}(r)})))},VSubmit:function(t){var n=R(t),r=e.useRef(null);return e.createElement("div",{className:n.getClassName("v-submit"),style:n.getStyle(),onClick:function(){r.current.click()}},e.createElement(ne,{cross:J.Middle},!!t.icon&&e.createElement("span",null,t.icon),!!t.caption&&e.createElement("span",null,t.caption)),e.createElement("input",{formNoValidate:t.isFormNoValidate,ref:r,type:"submit",className:n.getClassName("v-submit"),style:n.getStyle()}))},VSubmitWrapper:function(t){var n=R(t),r=e.useRef(null);return e.createElement("div",{className:n.getClassName("v-submit-wrapper"),style:n.getStyle()},t.content,e.createElement("input",{ref:r,type:"submit"}))},VSvg:ye,VTel:function(t){return e.createElement(ge,f({inheritClassName:"v-tel",isDefaultValue:!0,type:"tel"},t))},VText:function(t){var n,r;switch(t.alignType){case $e.Center:r="v-text-center";break;case $e.Justify:r="v-text-justify";break;case $e.Left:r="v-text";break;case $e.Right:r="v-text-right";break;default:r="v-text"}switch(t.category){case Qe.P:n=e.createElement("p",null,t.content);break;case Qe.Address:n=e.createElement("address",null,t.content);break;case Qe.Article:n=e.createElement("article",null,t.content);break;case Qe.Aside:n=e.createElement("aside",null,t.content);break;case Qe.Details:n=e.createElement("details",null,t.content);break;case Qe.Section:n=e.createElement("section",null,t.content);break;default:n=e.createElement("div",null,t.content)}return e.createElement(I,f({vClassName:r},t),n)},VTextArea:tt,VTextBox:qe,VTime:function(t){return e.createElement(ge,f({type:"time",isDefaultValue:!0},t))},VUrl:function(t){return e.createElement(ge,f({inheritClassName:"v-url",isDefaultValue:!0,type:"url"},t))},VVideo:function(t){var n=R(t);return e.createElement("video",{className:n.getClassName("v-label"),style:n.getStyle(),controls:!0},t.sources.map((function(t,n){return e.createElement("source",{key:"source".concat(n),src:t.src,type:t.type})})))},VWeek:function(t){return e.createElement(ge,f({type:"week",isDefaultValue:!0},t))},VZone:function(t){return e.createElement(I,{vClassName:"v-zone-".concat(t.category)},t.children)},get ViewSizeType(){return m},WeComSignin:function(t){return e.createElement("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")}},t.children)},X:$,XAround:function(e){return Q(e,void 0,void 0,(function(){return j.SpaceAround}))},XAutoBoth:function(t){var n=R(t);return Q(t,(function(r,a,o){return 0!=a&&a!=e.Children.count(n.getChildren(t))-1?e.createElement(Z,{grow:0,alignSelf:o},r):e.createElement(Z,{grow:1,alignSelf:o},r)}))},XAutoCenter:ee,XAutoLeft:function(t){return Q(t,(function(t,n,r){return 0==n?e.createElement(Z,{grow:1,alignSelf:r},t):e.createElement(Z,{grow:0,alignSelf:r},t)}))},XAutoLefts:function(t){var n=R(t);return Q(t,(function(r,a,o){return a==e.Children.count(n.getChildren(t))-1?e.createElement(Z,{grow:0,alignSelf:o},r):e.createElement(Z,{grow:1,alignSelf:o},r)}))},XAutoRight:te,XAutoRights:function(t){return Q(t,(function(t,n,r){return 0==n?e.createElement(Z,{grow:0,alignSelf:r},t):e.createElement(Z,{grow:1,alignSelf:r},t)}))},XBetween:function(e){return Q(e,void 0,void 0,(function(){return j.SpaceBetween}))},XCenter:ne,get XCrossType(){return J},XCustom:function(t){return Q(t,(function(n,r){var a=e.createElement(Z,null,n);return t.basises&&r<t.basises.length&&(a=e.createElement(Z,{basis:t.basises[r]},n)),a}))},XCustomBoth:function(t){var n=R(t);return Q(t,(function(r,a){return 0==a||a==e.Children.count(n.getChildren(t))-1?e.createElement(Z,{basis:t.basis},r):e.createElement(Z,{grow:1},r)}))},XEvenly:function(e){return Q(e,void 0,void 0,(function(){return j.SpaceEvenly}))},XLeft:re,XRight:function(e){return Q(e,void 0,void 0,(function(){return j.End}))},XWrapAround:function(e){return Q(e,void 0,(function(){return P.Wrap}),void 0,(function(){return M.SpaceAround}))},XWrapBetween:function(e){return Q(e,void 0,(function(){return P.Wrap}),void 0,(function(){return M.SpaceBetween}))},XWrapBottom:function(e){return Q(e,void 0,(function(){return P.Wrap}),void 0,(function(){return M.End}))},XWrapEvenly:function(e){return Q(e,void 0,(function(){return P.Wrap}),void 0,(function(){return M.SpaceEvenly}))},XWrapMiddle:function(e){return Q(e,void 0,(function(){return P.Wrap}),void 0,(function(){return M.Center}))},XWrapTop:function(e){return Q(e,void 0,(function(){return P.Wrap}),void 0,(function(){return M.Start}))},Y:ie,YAround:function(e){return oe(e,void 0,void 0,void 0,(function(){return j.SpaceAround}))},YAutoBoth:function(t){var n=R(t);return oe(t,(function(r,a,o){return 0!=a&&a!=e.Children.count(n.getChildren(t))-1?e.createElement(Z,{grow:0,alignSelf:o},r):e.createElement(Z,{grow:1,alignSelf:o},r)}))},YAutoBottom:function(t){var n=R(t);return oe(t,(function(r,a){return a==e.Children.count(n.getChildren(t))-1?e.createElement(Z,{grow:1},r):e.createElement(Z,{grow:0},r)}))},YAutoBottoms:function(t){return oe(t,(function(t,n,r){return 0==n?e.createElement(Z,{grow:0,alignSelf:r},t):e.createElement(Z,{grow:1,alignSelf:r},t)}))},YAutoCenter:function(t){var n=R(t);return oe(t,(function(r,a,o){return 0!=a&&a!=e.Children.count(n.getChildren(t))-1?e.createElement(Z,{grow:1,alignSelf:o},r):e.createElement(Z,{grow:0,alignSelf:o},r)}))},YAutoTop:function(t){return oe(t,(function(t,n,r){return 0==n?e.createElement(Z,{grow:1,alignSelf:r},t):e.createElement(Z,{grow:0,alignSelf:r},t)}))},YAutoTops:function(t){var n=R(t);return oe(t,(function(r,a,o){return a==e.Children.count(n.getChildren(t))-1?e.createElement(Z,{grow:0,alignSelf:o},r):e.createElement(Z,{grow:1,alignSelf:o},r)}))},YBetween:function(e){return oe(e,void 0,void 0,void 0,(function(){return j.SpaceBetween}))},YBottom:function(e){return oe(e,void 0,void 0,void 0,(function(){return j.End}))},get YCrossType(){return K},YCustom:function(t){return oe(t,(function(n,r){var a=e.createElement(Z,null,n);return t.basises&&r<t.basises.length&&(a=e.createElement(Z,{basis:t.basises[r]},n)),a}))},YCustomBoth:function(t){var n=R(t);return oe(t,(function(r,a){return 0==a||a==e.Children.count(n.getChildren(t))-1?e.createElement(Z,{basis:t.basis},r):e.createElement(Z,{grow:1},r)}))},YEvenly:function(e){return oe(e,void 0,void 0,void 0,(function(){return j.SpaceEvenly}))},YMiddle:function(e){return oe(e,void 0,void 0,void 0,(function(){return j.Center}))},YTop:function(e){return oe(e,void 0,void 0,void 0,(function(){return j.Start}))},YWrapAround:function(e){return oe(e,void 0,(function(){return P.Wrap}),(function(){return M.SpaceAround}),void 0)},YWrapBetween:function(e){return oe(e,void 0,(function(){return P.Wrap}),(function(){return M.SpaceBetween}))},YWrapCenter:function(e){return oe(e,void 0,(function(){return P.Wrap}),(function(){return M.Center}))},YWrapEvenly:function(e){return oe(e,void 0,(function(){return P.Wrap}),(function(){return M.SpaceEvenly}))},YWrapLeft:function(e){return oe(e,void 0,(function(){return P.Wrap}),(function(){return M.Start}))},YWrapRight:function(e){return oe(e,void 0,(function(){return P.Wrap}),(function(){return M.End}))},get ZoneCategory(){return T},convertFormDataToJson:le,ga4NextJSEvent:function(e,t,n){e.event(t)},ga4NextJSInit:function(e,t,n,r,a){mt(e,(function(){n?e.initialize(t,{testMode:!0,gaOptions:r,gtagOptions:a}):e.initialize(t,{gaOptions:r,gtagOptions:a})}))},ga4NextJSPageview:function(e,t,n){e.send({hitType:"pageview",page:t})},ga4NextJSScope:mt,ga4NextJSSetFieldsObject:function(e,t,n){e.set(t)},getGeneratedClassName:B,parseJWT:function(e){var t={},r=n(e,{header:!0});return t.role=r["http://schemas.microsoft.com/ws/2008/06/identity/claims/role"],t.mobile=r["http://schemas.xmlsoap.org/ws/2005/05/identity/claims/mobilephone"],t.name=r["http://schemas.xmlsoap.org/ws/2005/05/identity/claims/name"],t.email=r["http://schemas.xmlsoap.org/ws/2005/05/identity/claims/emailaddress"],t.exp=r.exp,t.iss=r.iss,t.aud=r.aud,t.expire=t.exp?new Date(1e3*t.exp):new Date(-864e13),t.tenant=r["http://schemas.fewbox.com/jwt/identity/claims/tenant"],t.id=r["http://schemas.fewbox.com/jwt/identity/claims/id"],t.api=r["http://schemas.fewbox.com/jwt/identity/claims/api"],t.issuer=r["http://schemas.fewbox.com/jwt/identity/claims/issuer"],t.audience=r["http://schemas.fewbox.com/jwt/identity/claims/audience"],t.avatar=r["http://schemas.fewbox.com/jwt/identity/claims/avatar"],t}});!function(e){e.Components=pt}(ft||(ft={}));export{ft as Den};
1
+ import{jsx as e,Fragment as t,jsxs as n}from"react/jsx-runtime";import*as r from"react";import{forwardRef as o,Children as a,cloneElement as i,useRef as c,useEffect as l,createElement as u,useState as s,useImperativeHandle as d}from"react";import{jwtDecode as f}from"jwt-decode";var p;!function(e){e.ExtraSmall="extra-small",e.Small="small",e.Medium="medium",e.Large="large",e.ExtraLarge="extra-large",e.ExtraExtraLarge="extra-extra-large"}(p||(p={}));var g=function(e,t){return g=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)Object.prototype.hasOwnProperty.call(t,n)&&(e[n]=t[n])},g(e,t)};function h(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Class extends value "+String(t)+" is not a constructor or null");function n(){this.constructor=e}g(e,t),e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)}var m,v,y,b,C,S,w,k,_=function(){return _=Object.assign||function(e){for(var t,n=1,r=arguments.length;n<r;n++)for(var o in t=arguments[n])Object.prototype.hasOwnProperty.call(t,o)&&(e[o]=t[o]);return e},_.apply(this,arguments)};function x(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols){var o=0;for(r=Object.getOwnPropertySymbols(e);o<r.length;o++)t.indexOf(r[o])<0&&Object.prototype.propertyIsEnumerable.call(e,r[o])&&(n[r[o]]=e[r[o]])}return n}function B(e,t,n){if(n||2===arguments.length)for(var r,o=0,a=t.length;o<a;o++)!r&&o in t||(r||(r=Array.prototype.slice.call(t,0,o)),r[o]=t[o]);return e.concat(r||Array.prototype.slice.call(t))}"function"==typeof SuppressedError&&SuppressedError,function(e){e.Font="font",e.Body="body",e.White="white",e.Black="black",e.Light="light",e.Light75="light75",e.Light50="light50",e.Light25="light25",e.Dark="dark",e.Dark75="dark75",e.Dark50="dark50",e.Dark25="dark25",e.Primary="primary",e.Primary75="primary75",e.Primary50="primary50",e.Primary25="primary25",e.Secondary="secondary",e.Secondary75="secondary75",e.Secondary50="secondary50",e.Secondary25="secondary25",e.Tertiary="tertiary",e.Tertiary75="tertiary75",e.Tertiary50="tertiary50",e.Tertiary25="tertiary25",e.Info="info",e.Info75="info75",e.Info50="info50",e.Info25="info25",e.Success="success",e.Success75="success75",e.Success50="success50",e.Success25="success25",e.Warning="warning",e.Warning75="warning75",e.Warning50="warning50",e.Warning25="warning25",e.Error="error",e.Error75="error75",e.Error50="error50",e.Error25="error25",e.Border="border",e.Border75="border75",e.Border50="border50",e.Border25="border25",e.Placeholder="placeholder",e.Placeholder75="placeholder75",e.Placeholder50="placeholder50",e.Placeholder25="placeholder25",e.Transparent="transparent"}(m||(m={})),function(e){e.Thin="font-weight-thin",e.ExtraLight="font-weight-extra-light",e.Light="font-weight-light",e.Regular="font-weight-regular",e.Medium="font-weight-medium",e.SemiBold="font-weight-semi-bold",e.Bold="font-weight-bold",e.ExtraBold="font-weight-extra-bold",e.Black="font-weight-black"}(v||(v={})),function(e){e.Default="font-family"}(y||(y={})),function(e){e.Default="line-height"}(b||(b={})),function(e){e.Default="padding"}(C||(C={})),function(e){e.Default="letter-spacing"}(S||(S={})),function(e){e.Default="border-radius",e.Fixed="border-radius-fixed",e.Max="border-radius-max"}(w||(w={})),function(e){e.Ellipse="v-ellipse-size",e.Rectangle="v-rectangle-size",e.Image="v-image-size",e.Svg="v-svg-size",e.Window="v-window-size"}(k||(k={}));var V,T,I,R,L=function(e){var t;switch(e){case v.Thin:t=100;break;case v.ExtraLight:t=200;break;case v.Light:t=300;break;case v.Regular:t=400;break;case v.Medium:t=500;break;case v.SemiBold:t=600;break;case v.Bold:t=700;break;case v.ExtraBold:t=800;break;case v.Black:t=900;break;default:t=400}return t};!function(e){e.Default="font-size",e.Normal="font-size-normal",e.Small="font-size-small",e.ExtraSmall="font-size-extra-small",e.Large="font-size-large",e.ExtraLarge="font-size-extra-large",e.AutoNormal="auto-font-size-normal",e.AutoSmall="auto-font-size-small",e.AutoExtraSmall="auto-font-size-extra-small",e.AutoLarge="auto-font-size-large",e.AutoExtraLarge="auto-font-size-extra-large"}(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"}(R||(R={}));var N,O=function(){function e(e){this.className=e}return e.prototype.getClassName=function(){return"".concat(this.className)},e}(),D=function(e){this.component=e},E=function(e){function t(t,n,r){var o=e.call(this,t)||this;return o.sizeType=n,o.isAuto=r,o}return h(t,e),t.prototype.getClassName=function(){if(this.sizeType){var e=void 0;return e=Object.values(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}(D),A=function(e){function t(t,n){var r=e.call(this,t)||this;return r.weightType=n,r}return h(t,e),t.prototype.getClassName=function(){return this.weightType?"".concat(this.component.getClassName()," ").concat(this.weightType):this.component.getClassName()},t}(D),W=function(e){function t(t,n,r,o,a,i,c,l,u,s,d){var f=e.call(this,t)||this;return f.isDefaultValue=n,f.frontColorType=r,f.backgroundColorType=o,f.borderColorType=a,f.borderDirectionType=i,f.pseudoType=c,f.pseudoFrontColorType=l,f.pseudoBackgroundColorType=u,f.pseudoBorderColorType=s,f.pseudoBorderDirectionType=d,f}return h(t,e),t.prototype.getBorderPrefix=function(e){return e?"-".concat(e):""},t.prototype.getBorderColorClassName=function(e,t,n){var r,o=this.getBorderPrefix(n);switch(t){case I.Bottom:r=" ".concat(e).concat(o,"-border-bottom");break;case I.ExceptBottom:r=" ".concat(e).concat(o,"-border-except-bottom");break;case I.ExceptLeft:r=" ".concat(e).concat(o,"-border-except-left");break;case I.ExceptRight:r=" ".concat(e).concat(o,"-border-except-right");break;case I.ExceptTop:r=" ".concat(e).concat(o,"-border-except-top");break;case I.Left:r=" ".concat(e).concat(o,"-border-left");break;case I.LeftBottom:r=" ".concat(e).concat(o,"-border-left-bottom");break;case I.LeftRight:r=" ".concat(e).concat(o,"-border-left-right");break;case I.LeftTop:r=" ".concat(e).concat(o,"-border-left-top");break;case I.Right:r=" ".concat(e).concat(o,"-border-right");break;case I.RightBottom:r=" ".concat(e).concat(o,"-border-right-bottom");break;case I.RightTop:r=" ".concat(e).concat(o,"-border-right-top");break;case I.Top:r=" ".concat(e).concat(o,"-border-top");break;case I.TopBottom:r=" ".concat(e).concat(o,"-border-bottom");break;default:r=" ".concat(e).concat(o,"-border")}return r},t.prototype.getClassName=function(){var e,t,n=this.backgroundColorType?" ".concat(this.backgroundColorType,"-background"):this.isDefaultValue?" ".concat(m.White,"-background"):"",r=this.pseudoBackgroundColorType?" ".concat(this.pseudoBackgroundColorType,"-before-background"):this.isDefaultValue?" ".concat(m.White,"-before-background"):"",o=this.pseudoBackgroundColorType?" ".concat(this.pseudoBackgroundColorType,"-after-background"):this.isDefaultValue?" ".concat(m.White,"-after-background"):"",a="".concat(r).concat(o),i=this.frontColorType?" ".concat(this.frontColorType,"-front"):this.isDefaultValue?" ".concat(m.Black,"-front"):"",c=this.pseudoFrontColorType?" ".concat(this.pseudoFrontColorType,"-before-front"):this.isDefaultValue?" ".concat(m.Black,"-before-front"):"",l=this.pseudoFrontColorType?" ".concat(this.pseudoFrontColorType,"-after-front"):this.isDefaultValue?" ".concat(m.Black,"-after-front"):"",u="".concat(c).concat(l);return e=this.borderColorType?this.borderDirectionType?this.getBorderColorClassName(this.borderColorType,this.borderDirectionType):" ".concat(this.borderColorType).concat(this.getBorderPrefix(this.pseudoType),"-border"):this.isDefaultValue?" ".concat(m.Transparent).concat(this.getBorderPrefix(this.pseudoType),"-border"):"",t=this.pseudoType?this.pseudoBorderColorType?this.pseudoBorderDirectionType?this.getBorderColorClassName(this.pseudoBorderColorType,this.pseudoBorderDirectionType,this.pseudoType):" ".concat(this.pseudoBorderColorType).concat(this.getBorderPrefix(this.pseudoType),"-border"):this.isDefaultValue?" ".concat(m.Transparent).concat(this.getBorderPrefix(this.pseudoType),"-border"):"":"","".concat(this.component.getClassName()).concat(n).concat(a).concat(i).concat(u).concat(e).concat(t)},t}(D),F=function(e,t,n,r,o,a,i,c,l,u,s,d,f,p){return new W(new E(new A(new O(e),o),n,r),t,a,i,c,l,u,s,d,f,p).getClassName()},z=["onClick","onKeyDown","onKeyUp","onBlur","onCopy","onCut","onPaste","onDrag"],P={div:z,input:z,textarea:z,template:z,abbr:z,span:z,h1:z,h2:z,h3:z,h4:z,h5:z,h6:z,i:z,b:z,u:z,em:z,strong:z,blockquote:z,cite:z,code:z,del:z,dfn:z,ins:z,kbd:z,mark:z,pre:z,q:z,s:z,samp:z,small:z,summary:z,sup:z,sub:z,time:z,var:z,wbr:z,p:z,address:z,article:z,aside:z,details:z,section:z},X=function(e){return{getClassName:function(t){var n=F(t,e.isDefaultValue,e.fontSize,e.isAutoSize,e.fontWeight,e.frontColor,e.backgroundColor,e.borderColor,e.borderDirection,e.pseudoType,e.pseudoFrontColor,e.pseudoBackgroundColor,e.pseudoBorderColor,e.pseudoBorderDirection);return e.className?"".concat(e.className," ").concat(n):n},getStyle:function(){var t={borderRadius:e.borderRadius,borderWidth:e.borderWidth,borderStyle:e.borderStyle,borderColor:e.borderColor,padding:e.padding,margin:e.margin,height:e.height,width:e.width,minHeight:e.minHeight,minWidth:e.minWidth,maxHeight:e.maxHeight,maxWidth:e.maxWidth,opacity:e.opacity,display:e.display,zIndex:e.zIndex,visibility:e.visibility,fontFamily:e.fontFamily,letterSpacing:e.letterSpacing,lineHeight:e.lineHeight,cursor:e.cursor,overflow:e.overflow,overflowX:e.overflowX,overflowY:e.overflowY};return _(_({},e.style),t)},getChildren:function(){return e.children&&Object.keys(e.children).indexOf("type")>-1&&null==e.children.type.name&&"VBoundary"!=e.children.type.displayName?e.children.props.children:e.children},getProps:function(t){var n={},r=Object.keys(e);return r.length>0&&r.forEach((function(r){P[t]&&P[t].includes(r)&&(n[r]=e[r])})),n}}},U=o((function(t,n){var r=t.vClassName,o=x(t,["vClassName"]),a=X(o);return e("div",_({ref:n,className:a.getClassName(r),style:a.getStyle()},a.getProps("div"),{children:t.children}))}));!function(e){e.Fluid="fluid",e.Small="small",e.Medium="medium",e.Large="large",e.ExtraLarge="extra-large",e.ExtraExtraLarge="extra-extra-large"}(N||(N={}));var j,M;!function(e){e.Visiable="visiable",e.Hidden="hidden"}(j||(j={})),function(e){e.Only="only",e.Up="up",e.Down="down"}(M||(M={}));var H,Y=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!=M.Only?n.type==M.Up?t="".concat(n.breakpoint,"-up-").concat(n.category):n.type==M.Down&&(t="".concat(n.breakpoint,"-down-").concat(n.category)):t="".concat(n.breakpoint,"-").concat(n.category):t=n.breakpoint.map((function(e,t){return"".concat(e,"-").concat(n.category)})).join(" "):t=n.category,i(e,{className:t})}return e}(e)}))}):e(t,{})};!function(e){e.Top="top",e.Right="right",e.Bottom="bottom",e.Left="left",e.LeftTop="left-top",e.RightTop="right-top",e.LeftBottom="left-bottom",e.RightBottom="right-bottom",e.LeftInnerTop="left-inner-top",e.RightInnerTop="right-inner-top",e.LeftInnerBottom="left-inner-bottom",e.RightInnerBottom="right-inner-bottom"}(H||(H={}));var q,G,J=function(t){var r,o=c(null),a=c(null),i=c(null),u=function(){if(a.current&&i.current&&o.current)if(t.category==H.Bottom||t.category==H.Top){var e="-".concat(Math.abs(i.current.offsetWidth-a.current.offsetWidth)/2,"px");a.current.style.marginLeft=e}else if(t.category==H.Left||t.category==H.Right){var n="".concat(Math.abs(i.current.offsetHeight-o.current.offsetHeight)/2,"px");o.current.style.top=n}else if(t.category==H.LeftTop){e="-".concat(a.current.offsetWidth,"px");a.current.style.marginLeft=e}else if(t.category==H.LeftBottom){e="-".concat(a.current.offsetWidth,"px");a.current.style.marginLeft=e}else if(t.category==H.RightTop){e="".concat(i.current.offsetWidth,"px");a.current.style.marginLeft=e}else if(t.category==H.RightBottom){e="".concat(i.current.offsetWidth,"px");a.current.style.marginLeft=e}else if(t.category==H.LeftInnerTop);else if(t.category==H.LeftInnerBottom);else if(t.category==H.RightInnerTop){e="".concat(i.current.offsetWidth-a.current.offsetWidth,"px");a.current.style.marginLeft=e}else if(t.category==H.RightInnerBottom){e="".concat(i.current.offsetWidth-a.current.offsetWidth,"px");a.current.style.marginLeft=e}};if(l((function(){a.current&&new ResizeObserver((function(e){u()})).observe(a.current);u()}),[]),t.category)switch(t.category){case H.Bottom:r="dock-overlay-bottom";break;case H.Left:r="dock-overlay-left";break;case H.LeftBottom:r="dock-overlay-leftbottom";break;case H.LeftTop:r="dock-overlay-lefttop";break;case H.Right:r="dock-overlay-right";break;case H.RightBottom:r="dock-overlay-rightbottom";break;case H.RightTop:r="dock-overlay-righttop";break;case H.Top:r="dock-overlay-top";break;case H.LeftInnerBottom:r="dock-overlay-leftinnerbottom";break;case H.LeftInnerTop:r="dock-overlay-leftinnertop";break;case H.RightInnerBottom:r="dock-overlay-rightinnerbottom";break;case H.RightInnerTop:r="dock-overlay-rightinnertop";break;default:r="dock-overlay"}return n("div",{className:"dock",children:[e("div",{id:"dockOverlay",style:{zIndex:t.zIndex},className:r,ref:o,children:e("div",{ref:a,children:t.renderOverlay()})}),e("div",{id:"dockContent",className:"dock-content",ref:i,onClick:function(e){t.onClick&&t.onClick(e)},children:t.children})]})};!function(e){e.Edge="edge",e.Window="window",e.Area="area",e.Self="self"}(q||(q={})),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"}(G||(G={}));var Z,K=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!=q.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"}(Z||(Z={}));var Q,$,ee,te,ne,re=function(n){return e(t,{children:a.map(n.children,(function(e){return function(e){var t="position-area-".concat(n.category?n.category:Z.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"}(Q||(Q={})),function(e){e.NoWrap="nowrap",e.Wrap="wrap"}($||($={})),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"}(ee||(ee={})),function(e){e.Start="flex-start",e.Center="center",e.End="flex-end",e.Stretch="stretch",e.Baseline="baseline"}(te||(te={})),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"}(ne||(ne={}));var oe,ae=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=X(l),s=_(_({},u.getStyle()),{gap:c,cursor:t.cursor?t.cursor:t.onClick?"pointer":"inherit"}),d=t.overflow?"flex-".concat(t.overflow):"flex-hidden",f=n?" flex-direction-".concat(n):"",p=r?" flex-wrap-".concat(r):"",g=o?" flex-justify-content-".concat(o):"",h=a?" flex-align-items-".concat(a):"",m=i?" flex-align-content-".concat(i):"",v="".concat(d).concat(f).concat(p).concat(g).concat(h).concat(m),y=u.getClassName(v);return e("div",_({className:y,style:s},u.getProps("div"),{children:t.children}))};!function(e){e.Start="start",e.Center="center",e.End="end",e.Stretch="stretch",e.Baseline="baseline"}(oe||(oe={}));var ie,ce=function(n){return n.children&&Object.keys(n.children).indexOf("type")>-1?e(t,{children:a.map(n.children,(function(r){return function(r){var o={};if(n.order&&(o.order=n.order),n.basis&&(o.flexBasis=n.basis),n.grow&&(o.flexGrow=n.grow),n.shrink&&(o.flexShrink=n.shrink),r.props){var a=_(_({},o),r.props?r.props.style:null),c=n.alignSelf?" flex-align-self-".concat(n.alignSelf):"",l=r.props.className?" ".concat(r.props.className):"",u="flex-item".concat(c).concat(l);return i(r,{className:u,style:a})}return console.debug(r),e(t,{children:"Please check child."})}(r)}))}):e(t,{})};!function(e){e.Top="top",e.Middle="middle",e.Bottom="bottom",e.Stretch="stretch",e.Baseline="baseline"}(ie||(ie={}));var le,ue=function(n,r,o,i,c){n.cross;var l=x(n,["cross"]),u=X(l),s=function(t,n,o){return r?r(t,n,o):e(ce,{alignSelf:o,children:t},"child".concat(n))};return e(ae,_({vClassName:"v-xbase",alignItems:function(){var e;if(n.cross)switch(n.cross){case ie.Stretch:e=te.Stretch;break;case ie.Baseline:e=te.Baseline;break;case ie.Bottom:e=te.End;break;case ie.Middle:e=te.Center;break;case ie.Top:e=te.Start;break;default:e=te.Center}else e=te.Center;return e}(),wrap:o?o():$.NoWrap,justifyContent:i?i():ee.Start,alignContent:c?c():ne.Start},l,{children:a.map(u.getChildren(),(function(n,r){var o=n;return o?o.type?"STop"===o.props.typeName?s(o.props.children,r,oe.Start):"SMiddle"===o.props.typeName?s(o.props.children,r,oe.Center):"SBottom"===o.props.typeName?s(o.props.children,r,oe.End):"SStretch"===o.props.typeName?s(o.props.children,r,oe.Stretch):"SBaseline"===o.props.typeName?s(o.props.children,r,oe.Baseline):s(o,r):(console.debug(o),e(t,{children:"Please check X layout children."})):void 0}))}))},se=function(t){return ue(t,(function(t,n,r){return e(ce,{grow:1,alignSelf:r,children:t})}))},de=function(t){var n=X(t);return ue(t,(function(t,r,o){return 0!=r&&r!=a.count(n.getChildren())-1?e(ce,{grow:1,alignSelf:o,children:t}):e(ce,{grow:0,alignSelf:o,children:t})}))},fe=function(t){var n=X(t);return ue(t,(function(t,r){return r==a.count(n.getChildren())-1?e(ce,{grow:1,children:t}):e(ce,{grow:0,children:t})}))},pe=function(e){return ue(e,void 0,void 0,(function(){return ee.Center}))},ge=function(e){return ue(e)};!function(e){e.Left="left",e.Center="center",e.Right="right",e.Baseline="baseline",e.Stretch="stretch"}(le||(le={}));var he,me=function(n,r,o,i,c){var l=n.cross,u=x(n,["cross"]),s=X(u),d=function(t,n,o){return r?r(t,n,o):e(ce,{alignSelf:o,children:t},"child".concat(n))};return e(ae,_({vClassName:"v-ybase",wrap:o?o():$.NoWrap,alignContent:i?i():ne.Start,alignItems:function(){var e;if(l)switch(l){case le.Left:e=te.Start;break;case le.Center:e=te.Center;break;case le.Right:e=te.End;break;case le.Baseline:e=te.Baseline;break;default:e=te.Stretch}else e=te.Stretch;return e}(),direction:Q.Column,justifyContent:c?c():ee.Start},u,{children:a.map(s.getChildren(),(function(n,r){var o=n;return o?o.type?o&&"SLeft"===o.props.typeName?d(o.props.children,r,oe.Start):o&&"SMiddle"===o.props.typeName||o&&"SCenter"===o.props.typeName?d(o.props.children,r,oe.Center):o&&"SRight"===o.props.typeName?d(o.props.children,r,oe.End):o&&"SStretch"===o.props.typeName?d(o.props.children,r,oe.Stretch):o&&"SBaseline"===o.props.typeName?d(o.props.children,r,oe.Baseline):d(n,r):(console.debug(o),e(t,{children:"Please check Y layout children."})):void 0}))}))},ve=function(t){return me(t,(function(t,n,r){return e(ce,{grow:1,alignSelf:r,children:t})}))};!function(e){e.Top="top",e.Right="right",e.Bottom="bottom",e.Left="left",e.Center="center"}(he||(he={}));var ye,be=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"}(ye||(ye={}));var Ce,Se,we;!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"}(Ce||(Ce={})),function(e){e.Default="default",e.Circle="circle"}(Se||(Se={})),function(e){e[e.Justify=0]="Justify",e[e.Left=1]="Left",e[e.Right=2]="Right",e[e.Center=3]="Center"}(we||(we={}));var ke=function(t){var n,r,o=t.category,a=t.type,i=t.alignType,c=t.isTextOverflow,l=t.caption,s=x(t,["category","type","alignType","isTextOverflow","caption"]),d=X(s);switch(i){case we.Center:r="v-label-center";break;case we.Justify:r="v-label-justify";break;case we.Left:r="v-label";break;case we.Right:r="v-label-right";break;default:r="v-label"}if(a==Se.Circle&&(r="".concat(r,"-circle")),c&&(r+=" v-label-text-overflow"),o){var f=o;n=u(f,d.getProps(f),l)}else n=u("span",d.getProps("span"),l);return a==Se.Circle?e(re,{children:e(U,_({vClassName:r,width:"1.6em",height:"1.6em",borderRadius:"2em"},s,{children:e(K,{category:q.Area,type:G.Center,children:n})}))}):e(U,_({display:null==t.category||t.category==Ce.Span?"inline-block":"block",vClassName:r},s,{children:n}))},_e=o((function(t,n){return e(U,_({id:t.id,ref:n,vClassName:"v-boundary"},t,{children:t.children}))}));_e.displayName="VBoundary";var xe,Be=o((function(t,r){var o=t.type,a=t.icon,i=t.extensions,u=t.id,f=t.name,p=t.label,g=t.value,h=t.valueHook,v=t.setStateHook,y=t.placeholder,b=t.isValueShow,C=t.isReadonly,S=t.min,w=t.max,k=t.step,B=t.valueSize,T=t.valueColor;t.valueCategory;var I,R=t.valuePadding,L=t.inputStyle,N=t.inputClassName,O=t.isRequired,D=t.disabled,E=t.isMultiple,A=t.accept,W=t.overWrite,F=t.onChange,z=t.inheritClassName,P=t.isFocus,X=t.customAttibutes,j=x(t,["type","icon","extensions","id","name","label","value","valueHook","setStateHook","placeholder","isValueShow","isReadonly","min","max","step","valueSize","valueColor","valueCategory","valuePadding","inputStyle","inputClassName","isRequired","disabled","isMultiple","accept","overWrite","onChange","inheritClassName","isFocus","customAttibutes"]),M=s({value:void 0!==t.value?t.value:""}),H=M[0],Y=M[1],q=c(null),G=c(null),J=c(null);return d(r,(function(){return J.current}),[]),l((function(){var e;r?null===(e=J.current)||void 0===e||e.focus():P&&q.current&&q.current.focus()}),[]),W&&(I=W(r?J:q)),n(U,_({vClassName:"v-validity v-input".concat(z?" ".concat(z):"")},j,{children:[n(ve,{display:I?"none":void 0,children:[n(de,{gap:"0.6em",children:[e(_e,{children:!!a&&a}),n(_e,{children:[e("input",_({ref:r?J:q},X,{className:N,style:_(_({},L),{display:C?"none":"block"}),required:O,placeholder:y,type:o,id:u,name:f,value:h||H.value,min:S,max:w,step:k,disabled:D,onChange:function(e){var t,n;b&&Y({value:r?null===(t=J.current)||void 0===t?void 0:t.value:null===(n=q.current)||void 0===n?void 0:n.value}),F&&F(e),v?v(e.target.value):Y({value:e.target.value})},onKeyDown:t.onKeyDown,onKeyUp:t.onKeyUp,onClick:t.onClick,onBlur:t.onBlur,onCopy:t.onCopy,onCut:t.onCut,onPaste:t.onPaste,onDrag:t.onDrag,multiple:E,accept:A})),!!C&&e("div",{ref:t.readonlyRef?t.readonlyRef:G,children:h||(H.value?H.value.toString():"")}),!!p&&e("label",{htmlFor:u||f,children:p})]}),e(_e,{children:!!i&&e(se,{children:i.map((function(t,n){return e("span",{className:"extension",onClick:function(){var e=r?J.current:q.current;t.handleOption(e)},children:t.option},"extension".concat(n))}))})})]}),!!b&&e(pe,{children:e(ke,{padding:R,isAutoSize:t.isAutoSize,fontSize:B||V.Normal,frontColor:T||m.Black,caption:void 0!==H.value?H.value.toString():g?g.toString():""})})]}),!!I&&I]}))}));!function(e){e.Default="default",e.Circle="circle",e.Squared="squared",e.Custom="custom"}(xe||(xe={}));var Ve,Te,Ie=function(n){var r=X(n);return e(t,{children:a.map(n.children,(function(e){return function(e){var t=n.category?n.category:xe.Default,o=r.getClassName("v-svg-".concat(t)),a=n.onClick,c=n.onMouseEnter,l=n.onMouseLeave,u=_(_({},r.getStyle()),{cursor:a?"pointer":"inherit"});return i(e,{className:o,style:u,onClick:a,onMouseEnter:c,onMouseLeave:l})}(e)}))})};function Re(){return Re=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},Re.apply(null,arguments)}var Le,Ne=function(e){return r.createElement("svg",Re({xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 256 256"},e),Ve||(Ve=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"})),Te||(Te=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 Oe(){return Oe=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},Oe.apply(null,arguments)}var De,Ee,Ae,We,Fe=function(e){return r.createElement("svg",Oe({xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 256 256"},e),Le||(Le=r.createElement("path",{fill:"currentColor",d:"M40.562 228h174.876c3.334 0 6.528-1.324 8.884-3.682a12.57 12.57 0 0 0 3.678-8.886V40.568a12.57 12.57 0 0 0-3.678-8.886A12.55 12.55 0 0 0 215.438 28H40.562a12.56 12.56 0 0 0-8.884 3.682A12.57 12.57 0 0 0 28 40.568v174.864a12.57 12.57 0 0 0 3.678 8.886A12.56 12.56 0 0 0 40.562 228m4.044-169.236v-.002c0-4 1.588-7.835 4.414-10.664a15.07 15.07 0 0 1 10.659-4.416h138.453a15.07 15.07 0 0 1 10.659 4.416 15.1 15.1 0 0 1 4.416 10.664v138.473c0 3.999-1.59 7.835-4.416 10.663a15.07 15.07 0 0 1-10.659 4.417H59.755a15.07 15.07 0 0 1-10.658-4.417 15.08 15.08 0 0 1-4.415-10.663z"})))};!function(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"}(De||(De={})),function(e){e.Once="animate__repeat-1",e.Twice="animate__repeat-2",e.Thrice="animate__repeat-3",e.Infinite="animate__infinite"}(Ee||(Ee={})),function(e){e.Slow="animate__slow",e.Slower="animate__slower",e.Fast="animate__fast",e.Faster="animate__faster"}(Ae||(Ae={})),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"}(We||(We={}));var ze,Pe=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})},Xe=function(t){var n=X(t);return e(_e,_({className:n.getClassName("v-loading"),style:n.getStyle()},t,{children:e(Pe,{category:t.animationCategory?t.animationCategory:De.Flip,speed:t.animationSpeed?t.animationSpeed:Ae.Slower,repeat:Ee.Infinite,children:t.children})}))};function Ue(){return Ue=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},Ue.apply(null,arguments)}var je,Me=function(e){return r.createElement("svg",Ue({xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 256 256"},e),ze||(ze=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"}(je||(je={}));var He,Ye,qe=function(e){return e.name.endsWith(".jpg")||e.name.endsWith(".jpeg")||e.name.endsWith(".png")};function Ge(){return Ge=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},Ge.apply(null,arguments)}var Je,Ze=function(e){return r.createElement("svg",Ge({xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 256 256"},e),He||(He=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"})),Ye||(Ye=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 Ke(){return Ke=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},Ke.apply(null,arguments)}var Qe,$e,et=function(e){return r.createElement("svg",Ke({xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 256 256"},e),Je||(Je=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 tt(){return tt=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)({}).hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},tt.apply(null,arguments)}var nt,rt=function(e){return r.createElement("svg",tt({xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 256 256"},e),Qe||(Qe=r.createElement("rect",{width:20,height:200,x:50,y:64,fill:"currentColor",rx:10,transform:"rotate(-45 50 64)"})),$e||($e=r.createElement("rect",{width:20,height:200,fill:"currentColor",rx:10,transform:"scale(-1 1)rotate(-45 -25.527 280.136)"})))},ot=o((function(t,n){var r,o=t.enableClear,a=t.isFocus,i=x(t,["enableClear","isFocus"]);if(o){var c={option:e(Ie,{fontSize:V.ExtraSmall,frontColor:m.Placeholder,onClick:function(){},children:e(rt,{})}),handleOption:function(e){e.value=""}};r=t.extensions?B(B([],t.extensions,!0),[c],!1):[c]}else t.extensions&&(r=t.extensions);return e(Be,_({ref:n,readonlyRef:t.readonlyRef,isFocus:a,inheritClassName:"v-textbox",isDefaultValue:!0,type:"text"},i,{extensions:r}))})),at=o((function(t,n){return e(Be,_({ref:n,display:"none",type:"hidden",id:t.id?t.id:t.name},t))}));!function(e){e.NewWindow="_blank",e.Self="_self",e.Parent="_parent",e.Top="_top"}(nt||(nt={}));var it,ct=function(t){var n=t.category,r=t.to,o=x(t,["category","to"]),a=X(o);return e(U,_({vClassName:"v-hyperlink"},o,{children:e("a",_({href:r,target:n,className:a.getClassName("v-hyperlink-a"),style:a.getStyle()},a.getProps("a"),{children:t.children}))}))};!function(e){e.Uninstalled="uninstalled",e.Outdated="outdated",e.Ready="ready"}(it||(it={}));var lt,ut;!function(e){e.P="p",e.Address="address",e.Article="article",e.Aside="aside",e.Details="details",e.Section="section"}(lt||(lt={})),function(e){e[e.Justify=0]="Justify",e[e.Left=1]="Left",e[e.Right=2]="Right",e[e.Center=3]="Center"}(ut||(ut={}));var st,dt=o((function(t,r){t.icon;var o=t.value,a=t.valueHook,i=t.setStateHook,l=x(t,["icon","value","valueHook","setStateHook"]),u=X(l),d=s({value:o}),f=d[0],p=d[1],g=c(null);return e(U,_({vClassName:"v-validity v-textarea"},l,{children:n(fe,{cross:ie.Top,gap:"0.6em",children:[t.icon,e(_e,{children:e("textarea",_({ref:r||g,id:t.id?t.id:t.name,value:a?t.valueHook:f.value},u.getProps("textarea"),{onChange:function(e){t.onChange&&t.onChange(e),i?i(e.target.value):p({value:e.target.value})}}))})]})}))}));!function(e){e.Default="default",e.Fixed="fixed"}(st||(st={}));var ft;!function(e){e.Vertical="vertical",e.Horizontal="horizontal"}(ft||(ft={}));var pt;!function(e){e.Default="default",e.Fixed="fixed"}(pt||(pt={}));var gt;!function(e){e.Default="default",e.Max="max"}(gt||(gt={}));var ht;!function(e){e.Normal="normal",e.Italic="italic"}(ht||(ht={}));var mt,vt;!function(e){e.Popup="popup",e.Redirect="redirect"}(mt||(mt={})),function(e){e.Implicit="implicit",e.AuthorizationCode="authorization-code"}(vt||(vt={}));var yt,bt="fewbox-google-grant";!function(e){e.Prompt="prompt",e.Popup="popup",e.Redirect="redirect"}(yt||(yt={}));var Ct,St="fewbox-google-auth",wt=Object.freeze({__proto__:null,get AnimationCategory(){return De},get AnimationDelay(){return We},get AnimationRepeat(){return Ee},get AnimationSpeed(){return Ae},get BackgroundPositionType(){return he},Base:X,get BorderRadiusType(){return w},get BreakpointType(){return p},get ColorType(){return m},get ComponentType(){return R},Debug:function(t){return t.isDebug?e("div",{className:"debug",children:t.children}):e("div",{className:"no-debug",children:t.children})},Display:Y,get DisplayCategory(){return j},get DisplayType(){return M},Dock:J,get DockCategory(){return H},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 je},Flex:ae,get FlexAlignContentType(){return ne},get FlexAlignItemsType(){return te},get FlexDirectionType(){return Q},FlexItem:ce,get FlexItemAlignSelfType(){return oe},get FlexJustifyContentType(){return ee},get FlexWrapType(){return $},get FontFamilyType(){return y},get FontWeightType(){return v},get GoogleFontType(){return ht},GoogleGrant:function(n){return l((function(){var e=document.createElement("script");e.src="https://accounts.google.com/gsi/client",n.category==vt.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(bt);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(bt);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(_e,{id:bt,children:n.children})},get GoogleGrantCategory(){return vt},get GoogleGrantUXMode(){return mt},GoogleSignin:function(t){return l((function(){var e=document.createElement("script");e.src="https://accounts.google.com/gsi/client",e.onload=function(){if(google.accounts.id.initialize({client_id:t.clientId,ux_mode:t.uxMode!=yt.Prompt?t.uxMode:void 0,use_fedcm_for_prompt:t.uxMode==yt.Prompt,callback:function(e){t.callback(e.credential)},login_uri:t.redirectUrl}),t.uxMode==yt.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:St);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(_e,{id:t.googleAuthButtonId?t.googleAuthButtonId:St})},get GoogleSigninUXMode(){return yt},get HandleSubmitCategory(){return ye},get HyperlinkCategory(){return nt},get LabelAlignType(){return we},get LabelCategory(){return Ce},get LabelType(){return Se},get LetterSpacingType(){return S},get LineCategory(){return ft},get LineHeightType(){return b},get PaddingType(){return C},Position:K,PositionArea:re,get PositionAreaCategory(){return Z},get PositionCategory(){return q},get PositionType(){return G},Responsive:function(r){return n(t,{children:[e(Y,{category:j.Hidden,type:M.Down,breakpoint:r.breakpointType?r.breakpointType:p.Small,children:r.desktop}),e(Y,{category:j.Hidden,type:M.Up,breakpoint:r.breakpointType?r.breakpointType:p.Small,children:r.mobile})]})},SBaseline:function(n){return e(t,{children:n.children})},SBottom:function(n){return e(t,{children:n.children})},SCenter:function(n){return e(t,{children:n.children})},SLeft:function(n){return e(t,{children:n.children})},SMiddle:function(n){return e(t,{children:n.children})},SRight:function(n){return e(t,{children:n.children})},SStretch:function(n){return e(t,{children:n.children})},STop:function(n){return e(t,{children:n.children})},get ShadowCategory(){return gt},get SizeType(){return V},get SvgCategory(){return xe},get TextAlignType(){return ut},get TextCategory(){return lt},VActionForm:function(t){return e("form",_({className:"v-action-form"},t,{children:t.children}))},VAnimation:Pe,VAudio:function(t){t.sources;var n=x(t,["sources"]),r=X(n);return e("audio",_({className:r.getClassName("v-audio"),style:r.getStyle(),controls:!0},r.getProps("audio"),{children:t.sources.map((function(t,n){return e("source",{src:t.src,type:t.type},"source".concat(n))}))}))},VBackground:function(t){t.image,t.imageWidth,t.imageHeight,t.position;var n,r=x(t,["image","imageWidth","imageHeight","position"]);return n=t.imageWidth&&t.imageHeight?{backgroundImage:'url("'.concat(t.image,'")'),backgroundSize:"".concat(t.imageWidth," ").concat(t.imageHeight)}:{backgroundImage:'url("'.concat(t.image,'")')},e(U,_({vClassName:t.position?"v-background-".concat(t.position):"v-background",style:n},r,{children:t.children}))},VBoundary:_e,VCheckBox:function(t){var r=t.isChecked,o=x(t,["isChecked"]),a=s({isChecked:r}),i=a[0],c=a[1];return e(Be,{isAutoSize:t.isAutoSize,customAttibutes:{defaultChecked:!!i.isChecked},inheritClassName:"v-checkbox",type:"checkbox",isDefaultValue:!0,overWrite:function(r){return n(ge,_({gap:"0.2em",onClick:function(){var e,t;null===(e=r.current)||void 0===e||e.click(),(null===(t=r.current)||void 0===t?void 0:t.hasAttribute("checked"))?c({isChecked:!1}):c({isChecked:!0})}},o,{children:[e(Ie,{frontColor:t.frontColor,fontSize:t.fontSize,children:i.isChecked?e(Ne,{}):e(Fe,{})}),e(ke,{frontColor:t.frontColor,fontSize:t.fontSize,caption:t.label?t.label:""})]}))}})},VChromeExtensionValidator:function(t){var n,r=s({}),o=r[0],a=r[1];return l((function(){var e;o.status||(e=!1,window.addEventListener("extension-meta-".concat(t.extensionId),(function(n){e=!0,n.detail?n.detail.version?t.version?n.detail.version>=t.version?a(_(_({},o),{status:it.Ready})):a(_(_({},o),{status:it.Outdated})):a(_(_({},o),{status:it.Ready})):a(_(_({},o),{status:it.Outdated})):a(_(_({},o),{status:it.Uninstalled}))})),window.dispatchEvent(new CustomEvent("validate-extension-".concat(t.extensionId),{detail:{id:t.extensionId}})),setTimeout((function(){e||a(_(_({},o),{status:it.Uninstalled}))}),t.waitingTime?t.waitingTime:1e3))})),o.status===it.Uninstalled?n=t.uninstalledCaption:o.status===it.Outdated&&(n=t.outdatedCaption),e(_e,{children:!(o.status===it.Ready)&&(t.overWrite&&o.status?t.overWrite(o.status):e(ct,{category:nt.NewWindow,to:t.downloadUrl?t.downloadUrl:"mailto:support@fewbox.com",children:n}))})},VColor:function(t){return e(Be,_({type:"color",isDefaultValue:!0},t))},VDate:function(t){return e(Be,_({type:"date",isDefaultValue:!0},t))},VDatetimeLocal:function(t){return e(Be,_({type:"datetime-local",isDefaultValue:!0},t))},VDropdown:function(r){var o,a,i=r.value,u=r.name,d=r.icon,f=r.emptyIcon,p=r.downIcon,g=r.upIcon,h=r.enableClear,v=r.isReadonly,y=r.items,b=r.extensions,C=r.overWriteDropdownItem,S=r.handleChange,w=x(r,["value","name","icon","emptyIcon","downIcon","upIcon","enableClear","isReadonly","items","extensions","overWriteDropdownItem","handleChange"]),k=s({isSelectionShow:!1,selectValue:i||"",selectCaption:i?y.filter((function(e){return e.value==i}))[0].caption:"",items:y}),B=k[0],T=k[1],I=c(null),R=c(null),L=c(null);l((function(){var e=window.document.getElementById("".concat(u,"-dock"));if(e){var t=0;d&&(t+=2),t+=b?4*(b.length+1):4,e.style.width=v?L.current?"calc(".concat(L.current.offsetWidth,"px + ").concat(t,"em)"):"12em":R.current?"calc(".concat(R.current.offsetWidth,"px + ").concat(t,"em)"):"12em"}}));return n(U,_({vClassName:"v-dropdown"},w,{children:[e(at,{id:r.id?r.id:u,name:u,valueHook:null===(o=B.selectValue)||void 0===o?void 0:o.toString(),ref:I}),e(J,{zIndex:B.isSelectionShow?2e9:-2e9,category:H.RightInnerBottom,renderOverlay:function(){return e(_e,{id:"".concat(u,"-dock"),visibility:B.isSelectionShow?"visible":"hidden",borderRadius:r.borderRadius,children:n(ve,{backgroundColor:m.White,padding:"1em 0",gap:"0.6em",borderRadius:"0.2em",borderColor:r.borderColor,borderWidth:r.borderWidth,borderStyle:"solid",children:[B.items.map((function(r,o){return C?e(_e,{children:C(r)},"item".concat(o)):n(ge,{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:y})),S&&S(r.value)},children:[r.icon?e(Ie,{fontSize:V.ExtraSmall,children:r.icon}):e(t,{}),e(ke,{caption:r.caption})]},"item".concat(o))})),!(0!=B.items.length)&&e(Ie,{fontSize:V.ExtraSmall,onClick:function(){},children:f})]})})},children:e(ot,{padding:r.padding,isReadonly:v,fontSize:r.fontSize,icon:e(Ie,{fontSize:r.fontSize?r.fontSize:V.Normal,children:B.selectIcon?B.selectIcon:d}),valueHook:null===(a=B.selectCaption)||void 0===a?void 0:a.toString(),enableClear:h,extensions:[{option:e(Ie,{fontSize:r.fontSize?r.fontSize:V.Small,onClick:function(){},children:B.isSelectionShow?g:p}),handleOption:function(e){T(_(_({},B),{isSelectionShow:!B.isSelectionShow}))}}],onClick:function(){T(_(_({},B),{isSelectionShow:!B.isSelectionShow}))},onChange:function(e){var t;t=e.target.value,T(_(_({},B),{isSelectionShow:!0,selectCaption:t,items:y.filter((function(e){return e.caption.toLowerCase().indexOf(t.toLowerCase())>-1}))}))},ref:R,readonlyRef:L,borderRadius:r.borderRadius,frontColor:B.selectValue===B.selectCaption?r.frontColor:m.Error})})]}))},VEllipse:function(t){t.category;var n=x(t,["category"]);return e(U,_({vClassName:"v-ellipse-".concat(t.category?t.category:st.Default)},n,{children:t.children}))},VEmail:function(t){return e(Be,_({inheritClassName:"v-email",isDefaultValue:!0,type:"email"},t))},VFile:function(t){var r=t.category,o=t.fileIcon,a=t.caption;t.emptyMessage;var i=t.loaderSize,u=t.loaderColor;t.isMultiple,t.accept;var d=t.previewImageWidth,f=t.textLength,p=t.autoUpload,g=t.renderLoader,h=x(t,["category","fileIcon","caption","emptyMessage","loaderSize","loaderColor","isMultiple","accept","previewImageWidth","textLength","autoUpload","renderLoader"]),m=c(null),v=s({inputFiles:[],isLoading:!1}),y=v[0],b=v[1],C=function(){b((function(e){return _(_({},e),{isLoading:!1})}))};l((function(){return function(){return y.inputFiles.forEach((function(e){e.objectUrl&&URL.revokeObjectURL(e.objectUrl)}))}}),[y.inputFiles]);var S=function(e){e.preventDefault(),e.currentTarget.className="v-file"};return e(_e,{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:qe(e)?URL.createObjectURL(e):void 0}}));n.length>0&&(p?(b(_(_({},y),{inputFiles:n,isLoading:!0})),p(t,C),e.currentTarget.className="v-file"):(b(_(_({},y),{inputFiles:n})),e.currentTarget.className="v-file",console.error("Need Todo.")))},onDragOver:function(e){e.preventDefault(),e.currentTarget.className="v-file on-drag"},onDragEnd:S,onDragLeave:S,onDragExit:S,children:e(Be,_({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:qe(e)?URL.createObjectURL(e):void 0}}));b(_(_({},y),{inputFiles:r})),p&&(b(_(_({},y),{inputFiles:r,isLoading:!0})),p(n,C))},overWrite:function(t){return r&&r==je.Vertical?n(ve,{gap:"1em",onClick:function(){var e;null===(e=t.current)||void 0===e||e.click()},cross:le.Center,children:[!(0!=y.inputFiles.length)&&o,e(_e,{children:a}),e(ve,{gap:"0.6em",children:y.inputFiles.map((function(t,r){return n(ve,{cross:le.Center,children:[!!t.objectUrl&&e(_e,{children:e("img",{src:t.objectUrl,alt:t.name,width:d||120})}),e(ke,{fontSize:V.Small,caption:t.name.length>(f||12)?t.name.slice(0,f||12)+"…":t.name})]},"image-file".concat(r))}))}),!!y.isLoading&&(g?g():e(Xe,{animationCategory:De.Flash,children:e(pe,{children:e(Ie,{fontSize:i,frontColor:u,children:e(Me,{})})})}))]}):n(ve,{gap:"1em",cross:le.Center,children:[n(se,{gap:"1em",onClick:function(){var e;null===(e=t.current)||void 0===e||e.click()},children:[!(0!=y.inputFiles.length)&&o,e(ve,{gap:"0.6em",children:y.inputFiles.map((function(t,r){return n(ve,{cross:le.Center,children:[!!t.objectUrl&&e(_e,{children:e("img",{src:t.objectUrl,alt:t.name,width:d||120})}),e(ke,{fontSize:V.Small,caption:t.name.length>(f||12)?t.name.slice(0,f||12)+"…":t.name})]},"image-file".concat(r))}))})]}),e(_e,{children:a}),!!y.isLoading&&(g?g():e(Xe,{animationCategory:De.Flash,children:e(Ie,{fontSize:i,frontColor:u,children:e(Me,{})})}))]})}}))})},VFooter:function(t){var n=X(t);return e("footer",_({className:n.getClassName("v-footer"),style:n.getStyle()},n.getProps("footer"),{children:t.children}))},VForm:function(t){t.handleSubmitCategory;var n=x(t,["handleSubmitCategory"]),r=X(n);return e("form",_({className:r.getClassName("v-form"),style:r.getStyle(),onSubmit:function(e){if(e.preventDefault(),!t.handleValidateError||e.currentTarget.checkValidity()){for(var n=0;n<e.currentTarget.elements.length;n++){(i=(a=e.currentTarget.elements.item(n)).closest(".v-validity"))&&(i.className=i.className.replace(" invalid",""))}var r=new FormData(e.currentTarget);if(t.handleSubmitCategory==ye.FormData)t.handleSubmit(r);else{var o=be(r);t.handleSubmit(o)}}else for(n=0;n<e.currentTarget.elements.length;n++){var a,i;(i=(a=e.currentTarget.elements.item(n)).closest(".v-validity"))&&(a.checkValidity()?i.className=i.className.replace(" invalid",""):-1==i.className.indexOf("invalid")&&(i.className+=" invalid")),t.handleValidateError(a)}}},r.getProps("form"),{children:t.children}))},VFrame:function(t){var n,r=t.image,o=t.backingBoard,a=t.style,i=x(t,["image","backingBoard","style"]);return o&&(n=_(_({},a),{background:"linear-gradient(".concat(o.degree,", ").concat(o.startColor,", ").concat(o.endColor,")")})),e(U,_({vClassName:"v-frame",style:n},i,{children:e("div",_({style:{backgroundImage:"url(".concat(r,")"),backgroundRepeat:"no-repeat",backgroundSize:"cover"}},t.customAttibutes,{children:t.children}))}))},VGoogleFont:function(n){return l((function(){var e=document.createElement("link");e.rel="preconnect",e.href="https://fonts.googleapis.com";var t=document.createElement("link");t.rel="preconnect",t.href="https://fonts.gstatic.com",t.crossOrigin="crossorigin",document.head.appendChild(e),document.head.appendChild(t),n.typefaces.forEach((function(e,t){var n,r,o=e.family,a=null===(n=e.fonts)||void 0===n?void 0:n.filter((function(e){return e.type==ht.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==ht.Normal?l.push("0,".concat(L(e.weight))):e.type==ht.Italic&&l.push("1,".concat(L(e.weight))):l.push(L(e.weight).toString())})),c.href="https://fonts.googleapis.com/css2?family=".concat(o,":").concat(i,"@").concat(l.join(";"),"&display=swap")):c.href="https://fonts.googleapis.com/css2?family=".concat(o,"&display=swap"),document.head.appendChild(c)}))})),e(t,{})},VGroup:function(n){var r=s({selectedValue:n.selectedValue}),o=r[0],a=r[1];return e(t,{children:n.renderGroup(o.selectedValue,(function(e){a({selectedValue:e.currentTarget.value})}))})},VHR:function(t){var n=X(t);return e("hr",_({className:n.getClassName("v-hr"),style:n.getStyle()},n.getProps("hr")))},VHeader:function(t){var n=X(t);return e("header",_({className:n.getClassName("v-header"),style:n.getStyle()},n.getProps("header"),{children:t.children}))},VHidden:at,VHyperlink:ct,VLabel:ke,VLine:function(t){t.category;var n=x(t,["category"]);return e(U,_({vClassName:"v-line-".concat(t.category)},n))},VMain:function(t){var n=X(t);return e("main",_({className:n.getClassName("v-main"),style:n.getStyle()},n.getProps("main"),{children:t.children}))},VMask:function(t){return e(K,{zIndex:t.zIndex?t.zIndex:1e8,category:q.Window,type:G.Center,children:e(re,{children:e(_e,{width:"100vw",height:"100vh",backgroundColor:m.Dark75,children:e(K,{category:q.Area,type:G.Center,children:t.children})})})})},VMonth:function(t){return e(Be,_({type:"month",isDefaultValue:!0},t))},VNumber:function(t){return e(Be,_({type:"number",isDefaultValue:!0},t))},VPassword:function(t){return e(Be,_({inheritClassName:"v-password",isDefaultValue:!0,type:"password"},t))},VRadio:function(t){var r=t.isChecked,o=x(t,["isChecked"]);return e(Be,_({type:"radio",customAttibutes:{checked:!!r},isDefaultValue:!0},o,{overWrite:function(o){return n(ge,{onClick:function(){var e;null===(e=o.current)||void 0===e||e.click()},children:[e(Ie,{padding:"0.4em",frontColor:t.frontColor,fontSize:t.fontSize,children:e(r?Ze:et,{})}),e(ke,{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(Be,_({type:"range",inputClassName:a},o))},VRectangle:function(t){t.category;var n=x(t,["category"]);return e(U,_({vClassName:"v-rectangle-".concat(t.category?t.category:pt.Default)},n))},VSearch:function(t){return e(Be,_({type:"search",isDefaultValue:!0,inheritClassName:"v-search"},t))},VSection:function(t){var n=X(t);return e("section",_({className:n.getClassName("v-section"),style:n.getStyle()},n.getProps("section"),{children:t.children}))},VSelect:function(t){var n=t.name;t.items;var r=t.value,o=t.isMultiple;t.fontFamily;var a=x(t,["name","items","value","isMultiple","fontFamily"]),i=X(a);return e(_e,{className:i.getClassName("v-select"),style:i.getStyle(),children:e("select",_({multiple:o,name:n,defaultValue:r},i.getProps("select"),{children:t.items.map((function(t,n){return e("option",{value:t.value,children:t.caption},"option".concat(n))}))}))})},VShadow:function(n){var r=X(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:gt.Default)),l=_(_({},a),r.getStyle());return i(o,{className:c,style:l})}return e(t,{})}(o)}))})},VSubmit:function(t){var r=X(t),o=c(null);return n("div",{className:r.getClassName("v-submit"),style:r.getStyle(),onClick:function(){o.current.click()},children:[n(pe,{cross:ie.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=X(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:Ie,VTel:function(t){return e(Be,_({inheritClassName:"v-tel",isDefaultValue:!0,type:"tel"},t))},VText:function(t){var n=t.category;t.alignType;var r,o,a=t.body,i=x(t,["category","alignType","body"]),c=X(i);switch(t.alignType){case ut.Center:o="v-text-center";break;case ut.Justify:o="v-text-justify";break;case ut.Left:o="v-text";break;case ut.Right:o="v-text-right";break;default:o="v-text"}if(n){var l=n;r=u(l,c.getProps(l),a)}else r=u("span",c.getProps("span"),a);return e(U,_({vClassName:o},i,{children:r}))},VTextArea:dt,VTextBox:ot,VTime:function(t){return e(Be,_({type:"time",isDefaultValue:!0},t))},VUrl:function(t){return e(Be,_({inheritClassName:"v-url",isDefaultValue:!0,type:"url"},t))},VVideo:function(t){t.sources;var n=x(t,["sources"]),r=X(n);return e("video",_({className:r.getClassName("v-label"),style:r.getStyle(),controls:!0},r.getProps("video"),{children:t.sources.map((function(t,n){return e("source",{src:t.src,type:t.type},"source".concat(n))}))}))},VWeek:function(t){return e(Be,_({type:"week",isDefaultValue:!0},t))},VZone:function(t){return e(U,{vClassName:"v-zone-".concat(t.category),children:t.children})},get ViewSizeType(){return k},WeComSignin:function(t){return e("div",{className:"wecom-signin",onClick:function(){window.location.href="https://open.work.weixin.qq.com/wwopen/sso/qrConnect?appid=".concat(t.appId,"&agentid=").concat(t.agentId,"&redirect_uri=").concat(t.redirectUrl,"&state=").concat("fewbox")},children:t.children})},X:se,XAround:function(e){return ue(e,void 0,void 0,(function(){return ee.SpaceAround}))},XAutoBoth:function(t){var n=X(t);return ue(t,(function(t,r,o){return 0!=r&&r!=a.count(n.getChildren())-1?e(ce,{grow:0,alignSelf:o,children:t}):e(ce,{grow:1,alignSelf:o,children:t})}))},XAutoCenter:de,XAutoLeft:function(t){return ue(t,(function(t,n,r){return e(ce,0==n?{grow:1,alignSelf:r,children:t}:{grow:0,alignSelf:r,children:t})}))},XAutoLefts:function(t){var n=X(t);return ue(t,(function(t,r,o){return r==a.count(n.getChildren())-1?e(ce,{grow:0,alignSelf:o,children:t}):e(ce,{grow:1,alignSelf:o,children:t})}))},XAutoRight:fe,XAutoRights:function(t){return ue(t,(function(t,n,r){return e(ce,0==n?{grow:0,alignSelf:r,children:t}:{grow:1,alignSelf:r,children:t})}))},XBetween:function(e){return ue(e,void 0,void 0,(function(){return ee.SpaceBetween}))},XCenter:pe,get XCrossType(){return ie},XCustom:function(t){return ue(t,(function(n,r){var o=e(ce,{children:n});return t.basises&&r<t.basises.length&&(o=e(ce,{basis:t.basises[r],children:n})),o}))},XCustomBoth:function(t){var n=X(t);return ue(t,(function(r,o){return 0==o||o==a.count(n.getChildren())-1?e(ce,{basis:t.basis,children:r}):e(ce,{grow:1,children:r})}))},XEvenly:function(e){return ue(e,void 0,void 0,(function(){return ee.SpaceEvenly}))},XLeft:ge,XRight:function(e){return ue(e,void 0,void 0,(function(){return ee.End}))},XWrapAround:function(e){return ue(e,void 0,(function(){return $.Wrap}),void 0,(function(){return ne.SpaceAround}))},XWrapBetween:function(e){return ue(e,void 0,(function(){return $.Wrap}),void 0,(function(){return ne.SpaceBetween}))},XWrapBottom:function(e){return ue(e,void 0,(function(){return $.Wrap}),void 0,(function(){return ne.End}))},XWrapEvenly:function(e){return ue(e,void 0,(function(){return $.Wrap}),void 0,(function(){return ne.SpaceEvenly}))},XWrapMiddle:function(e){return ue(e,void 0,(function(){return $.Wrap}),void 0,(function(){return ne.Center}))},XWrapTop:function(e){return ue(e,void 0,(function(){return $.Wrap}),void 0,(function(){return ne.Start}))},Y:ve,YAround:function(e){return me(e,void 0,void 0,void 0,(function(){return ee.SpaceAround}))},YAutoBoth:function(t){var n=X(t);return me(t,(function(t,r,o){return 0!=r&&r!=a.count(n.getChildren())-1?e(ce,{grow:0,alignSelf:o,children:t}):e(ce,{grow:1,alignSelf:o,children:t})}))},YAutoBottom:function(t){var n=X(t);return me(t,(function(t,r){return r==a.count(n.getChildren())-1?e(ce,{grow:1,children:t}):e(ce,{grow:0,children:t})}))},YAutoBottoms:function(t){return me(t,(function(t,n,r){return e(ce,0==n?{grow:0,alignSelf:r,children:t}:{grow:1,alignSelf:r,children:t})}))},YAutoCenter:function(t){var n=X(t);return me(t,(function(t,r,o){return 0!=r&&r!=a.count(n.getChildren())-1?e(ce,{grow:1,alignSelf:o,children:t}):e(ce,{grow:0,alignSelf:o,children:t})}))},YAutoTop:function(t){return me(t,(function(t,n,r){return e(ce,0==n?{grow:1,alignSelf:r,children:t}:{grow:0,alignSelf:r,children:t})}))},YAutoTops:function(t){var n=X(t);return me(t,(function(t,r,o){return r==a.count(n.getChildren())-1?e(ce,{grow:0,alignSelf:o,children:t}):e(ce,{grow:1,alignSelf:o,children:t})}))},YBetween:function(e){return me(e,void 0,void 0,void 0,(function(){return ee.SpaceBetween}))},YBottom:function(e){return me(e,void 0,void 0,void 0,(function(){return ee.End}))},get YCrossType(){return le},YCustom:function(t){return me(t,(function(n,r){var o=e(ce,{children:n});return t.basises&&r<t.basises.length&&(o=e(ce,{basis:t.basises[r],children:n})),o}))},YCustomBoth:function(t){var n=X(t);return me(t,(function(r,o){return 0==o||o==a.count(n.getChildren())-1?e(ce,{basis:t.basis,children:r}):e(ce,{grow:1,children:r})}))},YEvenly:function(e){return me(e,void 0,void 0,void 0,(function(){return ee.SpaceEvenly}))},YMiddle:function(e){return me(e,void 0,void 0,void 0,(function(){return ee.Center}))},YTop:function(e){return me(e,void 0,void 0,void 0,(function(){return ee.Start}))},YWrapAround:function(e){return me(e,void 0,(function(){return $.Wrap}),(function(){return ne.SpaceAround}),void 0)},YWrapBetween:function(e){return me(e,void 0,(function(){return $.Wrap}),(function(){return ne.SpaceBetween}))},YWrapCenter:function(e){return me(e,void 0,(function(){return $.Wrap}),(function(){return ne.Center}))},YWrapEvenly:function(e){return me(e,void 0,(function(){return $.Wrap}),(function(){return ne.SpaceEvenly}))},YWrapLeft:function(e){return me(e,void 0,(function(){return $.Wrap}),(function(){return ne.Start}))},YWrapRight:function(e){return me(e,void 0,(function(){return $.Wrap}),(function(){return ne.End}))},get ZoneCategory(){return N},convertFormDataToJson:be,getGeneratedClassName:F,parseJWT:function(e){var t={},n=f(e,{header:!0});return t.role=n["http://schemas.microsoft.com/ws/2008/06/identity/claims/role"],t.mobile=n["http://schemas.xmlsoap.org/ws/2005/05/identity/claims/mobilephone"],t.name=n["http://schemas.xmlsoap.org/ws/2005/05/identity/claims/name"],t.email=n["http://schemas.xmlsoap.org/ws/2005/05/identity/claims/emailaddress"],t.exp=n.exp,t.iss=n.iss,t.aud=n.aud,t.expire=t.exp?new Date(1e3*t.exp):new Date(-864e13),t.tenant=n["http://schemas.fewbox.com/jwt/identity/claims/tenant"],t.id=n["http://schemas.fewbox.com/jwt/identity/claims/id"],t.api=n["http://schemas.fewbox.com/jwt/identity/claims/api"],t.issuer=n["http://schemas.fewbox.com/jwt/identity/claims/issuer"],t.audience=n["http://schemas.fewbox.com/jwt/identity/claims/audience"],t.avatar=n["http://schemas.fewbox.com/jwt/identity/claims/avatar"],t}});!function(e){e.Components=wt}(Ct||(Ct={}));export{Ct as Den};
2
2
  //# sourceMappingURL=index.js.map