@fewbox/den-app 0.1.43

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 (229) hide show
  1. package/index-app.d.ts +13 -0
  2. package/index.css +1 -0
  3. package/index.js +2 -0
  4. package/index.js.map +1 -0
  5. package/jest.setup.d.ts +1 -0
  6. package/package.json +26 -0
  7. package/scripts/copy-templates.js +29 -0
  8. package/scripts/generate-packages.js +41 -0
  9. package/src/components/Auth/FigmaSignin/index.d.ts +9 -0
  10. package/src/components/Auth/GoogleGrant/index.d.ts +41 -0
  11. package/src/components/Auth/GoogleSignin/index.d.ts +18 -0
  12. package/src/components/Auth/WeComSignin/index.d.ts +8 -0
  13. package/src/components/Auth/util.d.ts +17 -0
  14. package/src/components/Debug/index.d.ts +6 -0
  15. package/src/components/Engine/Base/NativeAttributeMap.d.ts +2 -0
  16. package/src/components/Engine/Base/ViewAttributes.d.ts +2 -0
  17. package/src/components/Engine/Base/index.d.ts +61 -0
  18. package/src/components/Engine/index.d.ts +125 -0
  19. package/src/components/Layout/Display/index.d.ts +18 -0
  20. package/src/components/Layout/Dock/index.d.ts +42 -0
  21. package/src/components/Layout/Flex/index.d.ts +45 -0
  22. package/src/components/Layout/FlexItem/index.d.ts +18 -0
  23. package/src/components/Layout/Position/index.d.ts +32 -0
  24. package/src/components/Layout/PositionArea/index.d.ts +10 -0
  25. package/src/components/Layout/Responsive/index.d.ts +8 -0
  26. package/src/components/Layout/SBaseline/index.d.ts +5 -0
  27. package/src/components/Layout/SBottom/index.d.ts +6 -0
  28. package/src/components/Layout/SCenter/index.d.ts +5 -0
  29. package/src/components/Layout/SLeft/index.d.ts +5 -0
  30. package/src/components/Layout/SMiddle/index.d.ts +5 -0
  31. package/src/components/Layout/SRight/index.d.ts +5 -0
  32. package/src/components/Layout/SStretch/index.d.ts +5 -0
  33. package/src/components/Layout/STop/index.d.ts +5 -0
  34. package/src/components/Layout/X/index.d.ts +5 -0
  35. package/src/components/Layout/XAround/index.d.ts +5 -0
  36. package/src/components/Layout/XAutoBoth/index.d.ts +5 -0
  37. package/src/components/Layout/XAutoCenter/index.d.ts +5 -0
  38. package/src/components/Layout/XAutoLeft/index.d.ts +5 -0
  39. package/src/components/Layout/XAutoLefts/index.d.ts +5 -0
  40. package/src/components/Layout/XAutoRight/index.d.ts +5 -0
  41. package/src/components/Layout/XAutoRights/index.d.ts +5 -0
  42. package/src/components/Layout/XBase/index.d.ts +18 -0
  43. package/src/components/Layout/XBetween/index.d.ts +5 -0
  44. package/src/components/Layout/XCenter/index.d.ts +5 -0
  45. package/src/components/Layout/XCustom/index.d.ts +7 -0
  46. package/src/components/Layout/XCustomBoth/index.d.ts +7 -0
  47. package/src/components/Layout/XEvenly/index.d.ts +5 -0
  48. package/src/components/Layout/XLeft/index.d.ts +5 -0
  49. package/src/components/Layout/XRight/index.d.ts +5 -0
  50. package/src/components/Layout/XWrapAround/index.d.ts +5 -0
  51. package/src/components/Layout/XWrapBetween/index.d.ts +5 -0
  52. package/src/components/Layout/XWrapBottom/index.d.ts +5 -0
  53. package/src/components/Layout/XWrapEvenly/index.d.ts +5 -0
  54. package/src/components/Layout/XWrapMiddle/index.d.ts +5 -0
  55. package/src/components/Layout/XWrapTop/index.d.ts +5 -0
  56. package/src/components/Layout/Y/index.d.ts +5 -0
  57. package/src/components/Layout/YAround/index.d.ts +5 -0
  58. package/src/components/Layout/YAutoBoth/index.d.ts +5 -0
  59. package/src/components/Layout/YAutoBottom/index.d.ts +5 -0
  60. package/src/components/Layout/YAutoBottoms/index.d.ts +5 -0
  61. package/src/components/Layout/YAutoCenter/index.d.ts +5 -0
  62. package/src/components/Layout/YAutoTop/index.d.ts +5 -0
  63. package/src/components/Layout/YAutoTops/index.d.ts +5 -0
  64. package/src/components/Layout/YBase/index.d.ts +18 -0
  65. package/src/components/Layout/YBetween/index.d.ts +5 -0
  66. package/src/components/Layout/YBottom/index.d.ts +5 -0
  67. package/src/components/Layout/YCustom/index.d.ts +7 -0
  68. package/src/components/Layout/YCustomBoth/index.d.ts +7 -0
  69. package/src/components/Layout/YEvenly/index.d.ts +5 -0
  70. package/src/components/Layout/YMiddle/index.d.ts +5 -0
  71. package/src/components/Layout/YTop/index.d.ts +5 -0
  72. package/src/components/Layout/YWrapAround/index.d.ts +5 -0
  73. package/src/components/Layout/YWrapBetween/index.d.ts +5 -0
  74. package/src/components/Layout/YWrapCenter/index.d.ts +5 -0
  75. package/src/components/Layout/YWrapEvenly/index.d.ts +5 -0
  76. package/src/components/Layout/YWrapLeft/index.d.ts +5 -0
  77. package/src/components/Layout/YWrapRight/index.d.ts +5 -0
  78. package/src/components/Layout/index.d.ts +8 -0
  79. package/src/components/Layout/util.d.ts +6 -0
  80. package/src/components/View/VActionForm/index.d.ts +7 -0
  81. package/src/components/View/VAnimation/index.d.ts +127 -0
  82. package/src/components/View/VAudio/index.d.ts +10 -0
  83. package/src/components/View/VAvatar/index.d.ts +12 -0
  84. package/src/components/View/VBackground/index.d.ts +18 -0
  85. package/src/components/View/VBadge/index.d.ts +6 -0
  86. package/src/components/View/VBlock/index.d.ts +9 -0
  87. package/src/components/View/VBoundary/index.d.ts +6 -0
  88. package/src/components/View/VCard/index.d.ts +8 -0
  89. package/src/components/View/VCardMedia/index.d.ts +9 -0
  90. package/src/components/View/VCardSocial/index.d.ts +13 -0
  91. package/src/components/View/VCardWindow/index.d.ts +15 -0
  92. package/src/components/View/VChromeExtensionValidator/index.d.ts +23 -0
  93. package/src/components/View/VDynamic/index.d.ts +7 -0
  94. package/src/components/View/VErrorBoundary/index.d.ts +18 -0
  95. package/src/components/View/VFooter/index.d.ts +5 -0
  96. package/src/components/View/VForm/index.d.ts +13 -0
  97. package/src/components/View/VFrame/index.d.ts +12 -0
  98. package/src/components/View/VGoogleFont/index.d.ts +18 -0
  99. package/src/components/View/VHR/index.d.ts +5 -0
  100. package/src/components/View/VHeader/index.d.ts +5 -0
  101. package/src/components/View/VHyperlink/index.d.ts +13 -0
  102. package/src/components/View/VImage/index.d.ts +13 -0
  103. package/src/components/View/VInput/VBase64File/index.d.ts +10 -0
  104. package/src/components/View/VInput/VCheckBox/index.d.ts +6 -0
  105. package/src/components/View/VInput/VColor/index.d.ts +7 -0
  106. package/src/components/View/VInput/VDate/index.d.ts +7 -0
  107. package/src/components/View/VInput/VDatetimeLocal/index.d.ts +7 -0
  108. package/src/components/View/VInput/VDropdown/index.d.ts +38 -0
  109. package/src/components/View/VInput/VEmail/index.d.ts +5 -0
  110. package/src/components/View/VInput/VFile/index.d.ts +29 -0
  111. package/src/components/View/VInput/VGroup/index.d.ts +10 -0
  112. package/src/components/View/VInput/VHidden/index.d.ts +5 -0
  113. package/src/components/View/VInput/VMonth/index.d.ts +5 -0
  114. package/src/components/View/VInput/VNumber/index.d.ts +5 -0
  115. package/src/components/View/VInput/VPassword/index.d.ts +5 -0
  116. package/src/components/View/VInput/VRadio/index.d.ts +6 -0
  117. package/src/components/View/VInput/VRange/index.d.ts +10 -0
  118. package/src/components/View/VInput/VSearch/index.d.ts +5 -0
  119. package/src/components/View/VInput/VSubmit/index.d.ts +8 -0
  120. package/src/components/View/VInput/VSubmitWrapper/index.d.ts +6 -0
  121. package/src/components/View/VInput/VTel/index.d.ts +5 -0
  122. package/src/components/View/VInput/VTextBox/index.d.ts +6 -0
  123. package/src/components/View/VInput/VTime/index.d.ts +5 -0
  124. package/src/components/View/VInput/VUrl/index.d.ts +5 -0
  125. package/src/components/View/VInput/VWeek/index.d.ts +5 -0
  126. package/src/components/View/VInput/index.d.ts +29 -0
  127. package/src/components/View/VLabel/index.d.ts +57 -0
  128. package/src/components/View/VLoading/index.d.ts +8 -0
  129. package/src/components/View/VMain/index.d.ts +5 -0
  130. package/src/components/View/VMask/index.d.ts +5 -0
  131. package/src/components/View/VMount/index.d.ts +5 -0
  132. package/src/components/View/VPhoto/index.d.ts +20 -0
  133. package/src/components/View/VRoot/index.d.ts +15 -0
  134. package/src/components/View/VSection/index.d.ts +5 -0
  135. package/src/components/View/VSelect/index.d.ts +14 -0
  136. package/src/components/View/VShadow/index.d.ts +15 -0
  137. package/src/components/View/VShape/VEllipse/index.d.ts +10 -0
  138. package/src/components/View/VShape/VLine/index.d.ts +10 -0
  139. package/src/components/View/VShape/VRectangle/index.d.ts +10 -0
  140. package/src/components/View/VStack/index.d.ts +5 -0
  141. package/src/components/View/VSvg/index.d.ts +15 -0
  142. package/src/components/View/VSwitch/index.d.ts +13 -0
  143. package/src/components/View/VTemplate/index.d.ts +5 -0
  144. package/src/components/View/VText/index.d.ts +23 -0
  145. package/src/components/View/VTextArea/index.d.ts +12 -0
  146. package/src/components/View/VTheme/index.d.ts +42 -0
  147. package/src/components/View/VTooltip/index.d.ts +17 -0
  148. package/src/components/View/VTree/Block/index.d.ts +14 -0
  149. package/src/components/View/VTree/index.d.ts +15 -0
  150. package/src/components/View/VVideo/index.d.ts +10 -0
  151. package/src/components/View/VZone/index.d.ts +14 -0
  152. package/src/components/app.d.ts +11 -0
  153. package/src/components/consts.d.ts +2 -0
  154. package/src/components/core.d.ts +117 -0
  155. package/src/components/util.d.ts +1 -0
  156. package/src/components/web.d.ts +9 -0
  157. package/src/fewbox/index.d.ts +42 -0
  158. package/src/language/index.d.ts +13 -0
  159. package/src/network/FormHeaders.d.ts +2 -0
  160. package/src/network/IGraphQL.d.ts +6 -0
  161. package/src/network/JsonHeaders.d.ts +5 -0
  162. package/src/network/Network.d.ts +45 -0
  163. package/src/network/NetworkObservableBase.d.ts +14 -0
  164. package/src/network/StreamObservableBase.d.ts +11 -0
  165. package/src/network/UploadHeaders.d.ts +2 -0
  166. package/src/network/WS.d.ts +11 -0
  167. package/src/network/ajax/default/Delete.d.ts +5 -0
  168. package/src/network/ajax/default/DeleteText.d.ts +5 -0
  169. package/src/network/ajax/default/Get.d.ts +5 -0
  170. package/src/network/ajax/default/GetLocal.d.ts +5 -0
  171. package/src/network/ajax/default/GetText.d.ts +5 -0
  172. package/src/network/ajax/default/NetworkObservableAjax.d.ts +7 -0
  173. package/src/network/ajax/default/Patch.d.ts +5 -0
  174. package/src/network/ajax/default/PatchText.d.ts +5 -0
  175. package/src/network/ajax/default/Post.d.ts +5 -0
  176. package/src/network/ajax/default/PostText.d.ts +5 -0
  177. package/src/network/ajax/default/Put.d.ts +5 -0
  178. package/src/network/ajax/default/PutText.d.ts +5 -0
  179. package/src/network/ajax/external/DeleteExternal.d.ts +5 -0
  180. package/src/network/ajax/external/DeleteTextExternal.d.ts +5 -0
  181. package/src/network/ajax/external/GetExternal.d.ts +5 -0
  182. package/src/network/ajax/external/GetTextExternal.d.ts +5 -0
  183. package/src/network/ajax/external/NetworkObservableAjaxExternal.d.ts +8 -0
  184. package/src/network/ajax/external/PatchExternal.d.ts +5 -0
  185. package/src/network/ajax/external/PatchTextExternal.d.ts +5 -0
  186. package/src/network/ajax/external/PostExternal.d.ts +5 -0
  187. package/src/network/ajax/external/PostTextExternal.d.ts +5 -0
  188. package/src/network/ajax/external/PutExternal.d.ts +5 -0
  189. package/src/network/ajax/external/PutTextExternal.d.ts +5 -0
  190. package/src/network/fetch/default/DeleteFetch.d.ts +5 -0
  191. package/src/network/fetch/default/GetFetch.d.ts +5 -0
  192. package/src/network/fetch/default/NetworkObservableFetch.d.ts +7 -0
  193. package/src/network/fetch/default/PatchFetch.d.ts +5 -0
  194. package/src/network/fetch/default/PostFetch.d.ts +5 -0
  195. package/src/network/fetch/default/PutFetch.d.ts +5 -0
  196. package/src/network/fetch/external/DeleteFetchExternal.d.ts +5 -0
  197. package/src/network/fetch/external/GetFetchExternal.d.ts +5 -0
  198. package/src/network/fetch/external/NetworkObservableFetchExternal.d.ts +8 -0
  199. package/src/network/fetch/external/PatchFetchExternal.d.ts +5 -0
  200. package/src/network/fetch/external/PostFetchExternal.d.ts +5 -0
  201. package/src/network/fetch/external/PutFetchExternal.d.ts +5 -0
  202. package/src/network/graphql/default/GQL.d.ts +6 -0
  203. package/src/network/graphql/default/GQLUpload.d.ts +5 -0
  204. package/src/network/graphql/default/NetworkObservableGQL.d.ts +7 -0
  205. package/src/network/graphql/external/GQLExternal.d.ts +6 -0
  206. package/src/network/graphql/external/GQLExternalUpload.d.ts +6 -0
  207. package/src/network/graphql/external/NetworkObservableGQLExternal.d.ts +7 -0
  208. package/src/network/index.d.ts +47 -0
  209. package/src/network/sse/default/GetSSE.d.ts +5 -0
  210. package/src/network/sse/default/PostSSE.d.ts +5 -0
  211. package/src/network/sse/default/StreamObservableSSE.d.ts +5 -0
  212. package/src/network/sse/external/GetSSEExternal.d.ts +5 -0
  213. package/src/network/sse/external/PostSSEExternal.d.ts +5 -0
  214. package/src/network/sse/external/StreamObservableSSEExternal.d.ts +6 -0
  215. package/src/network/util.d.ts +5 -0
  216. package/src/store/EnumDictionary.d.ts +3 -0
  217. package/src/store/IContinuePaging.d.ts +4 -0
  218. package/src/store/IList.d.ts +3 -0
  219. package/src/store/IMetaResponse.d.ts +5 -0
  220. package/src/store/IPaging.d.ts +6 -0
  221. package/src/store/IPayloadResponse.d.ts +4 -0
  222. package/src/store/Json.d.ts +9 -0
  223. package/src/store/index.d.ts +7 -0
  224. package/templates/.claude/skills/fewbox-den/SKILL.md +1111 -0
  225. package/templates/FEWBOX.md +72 -0
  226. package/templates/style/_core.scss +288 -0
  227. package/templates/style/_root-properties.scss +55 -0
  228. package/templates/style/_root.scss +6 -0
  229. package/templates/style/_variables.scss +193 -0
package/index.js ADDED
@@ -0,0 +1,2 @@
1
+ import{jsx as e,Fragment as t,jsxs as n}from"react/jsx-runtime";import*as r from"react";import{Children as o,Fragment as a,cloneElement as i,memo as c,createElement as l,useState as s,useRef as u,useCallback as d,useLayoutEffect as f,useEffect as h,useId as p,Component as g}from"react";import{createPortal as m}from"react-dom";import{jwtDecode as v}from"jwt-decode";import{createIntlCache as y,createIntl as b}from"react-intl";import{of as w,throwError as C,timer as S,EMPTY as k,Observable as x}from"rxjs";import{switchMap as _,map as T,retry as E,catchError as I}from"rxjs/operators";import{AjaxError as O,ajax as D}from"rxjs/ajax";import{fromFetch as B}from"rxjs/fetch";var P=function(e,t){return P=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])},P(e,t)};function N(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}P(e,t),e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)}var L,R,z,A,F,V,H,U,W=function(){return W=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},W.apply(this,arguments)};function j(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 M(e,t,n,r){return new(n||(n=Promise))((function(o,a){function i(e){try{l(r.next(e))}catch(e){a(e)}}function c(e){try{l(r.throw(e))}catch(e){a(e)}}function l(e){var t;e.done?o(e.value):(t=e.value,t instanceof n?t:new n((function(e){e(t)}))).then(i,c)}l((r=r.apply(e,t||[])).next())}))}function G(e,t){var n,r,o,a={label:0,sent:function(){if(1&o[0])throw o[1];return o[1]},trys:[],ops:[]},i=Object.create(("function"==typeof Iterator?Iterator:Object).prototype);return i.next=c(0),i.throw=c(1),i.return=c(2),"function"==typeof Symbol&&(i[Symbol.iterator]=function(){return this}),i;function c(c){return function(l){return function(c){if(n)throw new TypeError("Generator is already executing.");for(;i&&(i=0,c[0]&&(a=0)),a;)try{if(n=1,r&&(o=2&c[0]?r.return:c[0]?r.throw||((o=r.return)&&o.call(r),0):r.next)&&!(o=o.call(r,c[1])).done)return o;switch(r=0,o&&(c=[2&c[0],o.value]),c[0]){case 0:case 1:o=c;break;case 4:return a.label++,{value:c[1],done:!1};case 5:a.label++,r=c[1],c=[0];continue;case 7:c=a.ops.pop(),a.trys.pop();continue;default:if(!(o=a.trys,(o=o.length>0&&o[o.length-1])||6!==c[0]&&2!==c[0])){a=0;continue}if(3===c[0]&&(!o||c[1]>o[0]&&c[1]<o[3])){a.label=c[1];break}if(6===c[0]&&a.label<o[1]){a.label=o[1],o=c;break}if(o&&a.label<o[2]){a.label=o[2],a.ops.push(c);break}o[2]&&a.ops.pop(),a.trys.pop();continue}c=t.call(e,a)}catch(e){c=[6,e],r=0}finally{n=o=0}if(5&c[0])throw c[1];return{value:c[0]?c[1]:void 0,done:!0}}([c,l])}}}function X(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"}(L||(L={})),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"}(R||(R={})),function(e){e.Default="font-family"}(z||(z={})),function(e){e.Default="line-height"}(A||(A={})),function(e){e.Default="padding"}(F||(F={})),function(e){e.Default="letter-spacing"}(V||(V={})),function(e){e.Default="border-radius",e.Fixed="border-radius-fixed",e.Max="border-radius-max"}(H||(H={})),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"}(U||(U={}));var Y,q,J,Z=function(e){var t;switch(e){case R.Thin:t=100;break;case R.ExtraLight:t=200;break;case R.Light:t=300;break;case R.Regular:t=400;break;case R.Medium:t=500;break;case R.SemiBold:t=600;break;case R.Bold:t=700;break;case R.ExtraBold:t=800;break;case R.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"}(Y||(Y={})),function(e){e.All="all",e.Before="before",e.After="after"}(q||(q={})),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"}(J||(J={}));var K,Q,$=function(){function e(e){this.className=e}return e.prototype.getClassName=function(){return"".concat(this.className)},e}(),ee=function(e){this.component=e},te=function(e){function t(t,n,r){var o=e.call(this,t)||this;return o.sizeType=n,o.isAuto=r,o}return N(t,e),t.prototype.getClassName=function(){if(this.sizeType){var e=void 0;return e=Object.values(Y).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}(ee),ne=function(e){function t(t,n){var r=e.call(this,t)||this;return r.weightType=n,r}return N(t,e),t.prototype.getClassName=function(){return this.weightType?"".concat(this.component.getClassName()," ").concat(this.weightType):this.component.getClassName()},t}(ee),re=function(e){function t(t,n,r,o,a,i,c,l,s,u,d){var f=e.call(this,t)||this;return f.isDefaultValue=n,f.frontColorType=r,f.backgroundColorType=o,f.borderColorType=a,f.borderDirectionType=i,f.pseudoType=c,f.pseudoFrontColorType=l,f.pseudoBackgroundColorType=s,f.pseudoBorderColorType=u,f.pseudoBorderDirectionType=d,f}return N(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 J.Bottom:r=" ".concat(e).concat(o,"-border-bottom");break;case J.ExceptBottom:r=" ".concat(e).concat(o,"-border-except-bottom");break;case J.ExceptLeft:r=" ".concat(e).concat(o,"-border-except-left");break;case J.ExceptRight:r=" ".concat(e).concat(o,"-border-except-right");break;case J.ExceptTop:r=" ".concat(e).concat(o,"-border-except-top");break;case J.Left:r=" ".concat(e).concat(o,"-border-left");break;case J.LeftBottom:r=" ".concat(e).concat(o,"-border-left-bottom");break;case J.LeftRight:r=" ".concat(e).concat(o,"-border-left-right");break;case J.LeftTop:r=" ".concat(e).concat(o,"-border-left-top");break;case J.Right:r=" ".concat(e).concat(o,"-border-right");break;case J.RightBottom:r=" ".concat(e).concat(o,"-border-right-bottom");break;case J.RightTop:r=" ".concat(e).concat(o,"-border-right-top");break;case J.Top:r=" ".concat(e).concat(o,"-border-top");break;case J.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(L.Transparent,"-background"):"",r=this.pseudoBackgroundColorType?" ".concat(this.pseudoBackgroundColorType,"-before-background"):this.isDefaultValue?" ".concat(L.Transparent,"-before-background"):"",o=this.pseudoBackgroundColorType?" ".concat(this.pseudoBackgroundColorType,"-after-background"):this.isDefaultValue?" ".concat(L.Transparent,"-after-background"):"",a="".concat(r).concat(o),i=this.frontColorType?" ".concat(this.frontColorType,"-front"):this.isDefaultValue?" ".concat(L.Black,"-front"):"",c=this.pseudoFrontColorType?" ".concat(this.pseudoFrontColorType,"-before-front"):this.isDefaultValue?" ".concat(L.Black,"-before-front"):"",l=this.pseudoFrontColorType?" ".concat(this.pseudoFrontColorType,"-after-front"):this.isDefaultValue?" ".concat(L.Black,"-after-front"):"",s="".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(L.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(L.Transparent).concat(this.getBorderPrefix(this.pseudoType),"-border"):"":"","".concat(this.component.getClassName()).concat(n).concat(a).concat(i).concat(s).concat(e).concat(t)},t}(ee),oe=function(e,t,n,r,o,a,i,c,l,s,u,d,f,h){return new re(new te(new ne(new $(e),o),n,r),t,a,i,c,l,s,u,d,f,h).getClassName()},ae=["onClick","onDoubleClick","onContextMenu","onDrag","onDragStart","onDragEnd","onDragEnter","onDragExit","onDragLeave","onDragOver","onDrop","onCopy","onCut","onPaste","onBlur","onFocus","onMouseDown","onMouseUp","onMouseEnter","onMouseLeave","onMouseMove","onMouseEndter","onMouseOut","onKeyDown","onKeyUp","onKeyPress","onTouchStart","onTouchEnd","onTouchMove","onTouchCancel","onWheel","onScroll","onSelect","onBeforeInput","onInput"],ie=["id","title","dir","lang","translate","tabIndex","accessKey","contentEditable","spellCheck","draggable","enterKeyHint","inputMode","autoCapitalize","role","slot","htmlFor","hidden","is"],ce=["onError","onLoad"],le=["onAbort","onCanPlay","onCanPlayThrough","onDurationChange","onEmptied","onEncrypted","onEnded","onError","onLoadedData","onLoadedMetadata","onLoadStart","onPause","onPlay","onPlaying","onProgress","onRateChange","onResize","onSeeked","onSeeking","onStalled","onSuspend","onTimeUpdate","onVolumeChange","onWaiting"],se={div:X(X([],ae,!0),ie,!0),input:X(X(X(X([],ae,!0),ie,!0),["onChange","onInput","onInvalid","onSelect"],!0),["name","value","defaultValue","checked","defaultChecked","type","accept","autoComplete","autoFocus","disabled","form","formAction","formEncType","formMethod","formNoValidate","formTarget","height","width","list","max","min","maxLength","maxLength","minLength","multiple","pattern","placeholder","readOnly","required","size","step","src"],!0),textarea:X(X(X([],ae,!0),ie,!0),["rows","cols","wrap","name","autoFocus","autoComplete","placeholder","maxLength","minLength","required","readOnly","disabled","wrap","spellcheck","dirname"],!0),template:X(X([],ae,!0),ie,!0),abbr:X(X([],ae,!0),ie,!0),span:X(X([],ae,!0),ie,!0),h1:X(X([],ae,!0),ie,!0),h2:X(X([],ae,!0),ie,!0),h3:X(X([],ae,!0),ie,!0),h4:X(X([],ae,!0),ie,!0),h5:X(X([],ae,!0),ie,!0),h6:X(X([],ae,!0),ie,!0),i:X(X([],ae,!0),ie,!0),b:X(X([],ae,!0),ie,!0),u:X(X([],ae,!0),ie,!0),em:X(X([],ae,!0),ie,!0),strong:X(X([],ae,!0),ie,!0),blockquote:X(X([],ae,!0),ie,!0),cite:X(X([],ae,!0),ie,!0),code:X(X([],ae,!0),ie,!0),del:X(X([],ae,!0),ie,!0),dfn:X(X([],ae,!0),ie,!0),ins:X(X([],ae,!0),ie,!0),kbd:X(X([],ae,!0),ie,!0),mark:X(X([],ae,!0),ie,!0),pre:X(X([],ae,!0),ie,!0),q:X(X([],ae,!0),ie,!0),s:X(X([],ae,!0),ie,!0),samp:X(X([],ae,!0),ie,!0),small:X(X([],ae,!0),ie,!0),summary:X(X([],ae,!0),ie,!0),sup:X(X([],ae,!0),ie,!0),sub:X(X([],ae,!0),ie,!0),time:X(X([],ae,!0),ie,!0),var:X(X([],ae,!0),ie,!0),wbr:X(X([],ae,!0),ie,!0),p:X(X([],ae,!0),ie,!0),address:X(X([],ae,!0),ie,!0),article:X(X([],ae,!0),ie,!0),aside:X(X([],ae,!0),ie,!0),details:X(X(X([],ae,!0),ie,!0),["onToggle"],!0),section:X(X([],ae,!0),ie,!0),form:X(X(X([],ae,!0),ie,!0),["onReset","onSubmit"],!0),dialog:X(X(X([],ae,!0),ie,!0),["onCancel","onClose"],!0),img:X(X(X(X([],ae,!0),ie,!0),ce,!0),["src","alt","width","height","crossOrigin","decoding","loading","referrerPolicy","sizes","srcSet","title","role"],!0),iframe:X(X(X(X([],ae,!0),ie,!0),ce,!0),["src","srcDoc","width","height","name","sandbox","allow","allowFullScreen","loading","referrerPolicy","title","role"],!0),object:X(X(X([],ae,!0),ie,!0),ce,!0),embed:X(X(X([],ae,!0),ie,!0),ce,!0),link:X(X(X([],ae,!0),ie,!0),ce,!0),svg:X(X(X([],ae,!0),ie,!0),ce,!0),audio:X(X(X([],ae,!0),ie,!0),le,!0),video:X(X(X([],ae,!0),ie,!0),le,!0)},ue=["className","style","fontSize","isAutoSize","fontWeight","frontColor","backgroundColor","borderColor","borderDirection","pseudoType","pseudoFrontColor","pseudoBackgroundColor","pseudoBorderColor","pseudoBorderDirection","display","visibility","zIndex","fontFamily","borderWidth","borderRadius","borderStyle","padding","margin","height","width","minHeight","minWidth","maxHeight","maxWidth","opacity","letterSpacing","lineHeight","cursor","overflow","overflowX","overflowY","isDefaultValue","customAttributes"];!function(e){e.Edge="edge",e.Window="window",e.Area="area",e.Self="self"}(K||(K={})),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"}(Q||(Q={}));var de,fe=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=W(W({},t.style),{zIndex:t.zIndex}),e("div",{className:n,style:r,children:t.children})}r=void 0;return r=t.category!=K.Self?W(W({},t.style),{top:t.top,right:t.right,bottom:t.bottom,left:t.left,zIndex:t.zIndex}):W(W({},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"}(de||(de={}));var he,pe=function(n){return e(t,{children:o.map(n.children,(function(e){return function(e){var t={className:"position-area-".concat(n.category?n.category:de.Default," ").concat(e.props.className)};return e.type===a||"<>"===e.type?(console.warn("Cannot apply props to Fragment. Please wrap content in a div or other element."),e):i(e,t)}(e)}))})};!function(e){e.Display="display",e.Rich="rich"}(he||(he={}));var ge,me,ve,ye=function(t){var n=(t.category==he.Display?{}:t._base.getProps("div")).html;return e("div",W({ref:t.ref,className:t._base.getClassName(t.className),style:t._base.getStyle(t.style)},n,{children:t.children}))},be=function(t){var n=ke(t);return e(ye,{ref:t.ref,_base:n,className:"v-boundary",children:t.children})};!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"}(ge||(ge={})),function(e){e.Default="default",e.Circle="circle"}(me||(me={})),function(e){e[e.Justify=0]="Justify",e[e.Left=1]="Left",e[e.Right=2]="Right",e[e.Center=3]="Center"}(ve||(ve={}));var we,Ce,Se=c((function(t){var n,r,o=t.category,a=t.type,i=t.alignType,c=t.isTextOverflow,s=t.caption,u=j(t,["category","type","alignType","isTextOverflow","caption"]),d=ke(W({display:null==t.category||t.category==ge.Span?"inline-block":"block"},u)),f=d.getProps("div"),h=f.view,p=f.html;switch(i){case ve.Center:r="v-label-center";break;case ve.Justify:r="v-label-justify";break;case ve.Left:r="v-label";break;case ve.Right:r="v-label-right";break;default:r="v-label"}if(a==me.Circle&&(r="".concat(r,"-circle")),c&&(r+=" v-label-text-overflow"),o){var g=o,m=d.getProps(g).html;n=l(g,m,s)}else{var v=d.getProps("span").html;n=l("span",v,s)}return a==me.Circle?e(pe,{children:e(be,W({width:"1.6em",height:"1.6em",borderRadius:"2em"},h,{className:r},p,{children:e(fe,{category:K.Area,type:Q.Center,children:n})}))}):e(be,W({},h,{className:"".concat(t.className," ").concat(r)},p,{children:n}))})),ke=function(t){return{getClassName:function(e){var n=oe(e,t.isDefaultValue,t.fontSize,t.isAutoSize,t.fontWeight,t.frontColor,t.backgroundColor,t.borderColor,t.borderDirection,t.pseudoType,t.pseudoFrontColor,t.pseudoBackgroundColor,t.pseudoBorderColor,t.pseudoBorderDirection);return t.className?"".concat(t.className," ").concat(n):n},getStyle:function(e){var n={borderRadius:t.borderRadius,borderWidth:t.borderWidth,borderStyle:t.borderStyle,borderColor:t.borderColor,padding:t.padding,margin:t.margin,height:t.height,width:t.width,minHeight:t.minHeight,minWidth:t.minWidth,maxHeight:t.maxHeight,maxWidth:t.maxWidth,opacity:t.opacity,display:t.display,zIndex:t.zIndex,visibility:t.visibility,fontFamily:t.fontFamily,letterSpacing:t.letterSpacing,lineHeight:t.lineHeight,cursor:t.cursor,overflow:t.overflow,overflowX:t.overflowX,overflowY:t.overflowY};return null!=t.selfShrink&&(n.flexShrink=t.selfShrink),null!=t.selfGrow&&(n.flexGrow=t.selfGrow),null!=t.selfBasis&&(n.flexBasis=t.selfBasis),W(W(W({},t.style),e),n)},getChildren:function(){if(t.children){if(Array.isArray(t.children)){var n=t.children.filter(Boolean);return n&&n.length>0?n:e(Se,{backgroundColor:L.Error,caption:"[Base] No Children!"})}return t.children?t.children:e(Se,{backgroundColor:L.Error,caption:"[Base] No Children!"})}return e(Se,{backgroundColor:L.Error,caption:"[Base] No Children!"})},getProps:function(e){var n={},r={},o=Object.keys(t);return o.length>0&&o.forEach((function(o){ue.includes(o)?n[o]=t[o]:se[e]&&se[e].includes(o)&&(r[o]=t[o])})),{view:n,html:r}}}};!function(e){e.ExtraSmall="extra-small",e.Small="small",e.Medium="medium",e.Large="large",e.ExtraLarge="extra-large",e.ExtraExtraLarge="extra-extra-large"}(we||(we={})),function(e){e.Fluid="fluid",e.Small="small",e.Medium="medium",e.Large="large",e.ExtraLarge="extra-large",e.ExtraExtraLarge="extra-extra-large"}(Ce||(Ce={}));var xe,_e;!function(e){e.Visiable="visiable",e.Hidden="hidden"}(xe||(xe={})),function(e){e.Only="only",e.Up="up",e.Down="down"}(_e||(_e={}));var Te,Ee,Ie=function(n){return n.children?e(t,{children:o.map(n.children,(function(e){return function(e){if(e&&e.props){var t=void 0;n.breakpoint?"string"==typeof n.breakpoint?n.type&&n.type!=_e.Only?n.type==_e.Up?t="".concat(n.breakpoint,"-up-").concat(n.category):n.type==_e.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;var r={className:t};return e.type===a||"<>"===e.type?(console.warn("Cannot apply props to Fragment. Please wrap content in a div or other element."),e):i(e,r)}return e}(e)}))}):e(Se,{backgroundColor:L.Error,caption:"[Display] No Children!"})},Oe=2147483647;!function(e){e.Top="top",e.Right="right",e.Bottom="bottom",e.Left="left",e.LeftTop="left-top",e.RightTop="right-top",e.LeftBottom="left-bottom",e.RightBottom="right-bottom",e.InnerTop="inner-top",e.InnerRight="inner-right",e.InnerBottom="inner-bottom",e.InnerLeft="inner-left",e.InnerLeftTop="inner-left-top",e.InnerRightTop="inner-right-top",e.InnerLeftBottom="inner-left-bottom",e.InnerRightBottom="inner-right-bottom"}(Te||(Te={})),function(e){e.Horizontal="horizontal",e.Vertical="vertical"}(Ee||(Ee={}));var De,Be,Pe,Ne,Le,Re=function(t){var r=t.category,o=t.offset,a=void 0===o?0:o,i=t.overlayZIndex,c=void 0===i?Oe:i,l=t.renderOverlay,p=j(t,["category","offset","overlayZIndex","renderOverlay"]),g=ke(p),v=g.getProps("div").html,y=s({isMounted:!1}),b=y[0],w=y[1],C=u(null),S=u(null),k=e("div",{ref:S,className:"dock-overlay",style:{zIndex:c},children:l()}),x=d((function(){var e=C.current,n=S.current;if(e&&n){var o=e.getBoundingClientRect(),i=n.getBoundingClientRect(),c=0,l=0;switch(r){case Te.Top:c=o.left+(o.width-i.width)/2,l=o.top-i.height-a;break;case Te.Right:c=o.left+o.width+a,l=o.top+(o.height-i.height)/2;break;case Te.Bottom:c=o.left+(o.width-i.width)/2,l=o.top+o.height+a;break;case Te.Left:c=o.left-i.width-a,l=o.top+(o.height-i.height)/2;break;case Te.LeftTop:t.alignment==Ee.Horizontal?(c=o.left-i.width-a,l=o.top+a):t.alignment==Ee.Vertical?(c=o.left+a,l=o.top-i.height-a):(c=o.left-i.width-a,l=o.top-i.height-a);break;case Te.RightTop:t.alignment==Ee.Horizontal?(c=o.left+o.width+a,l=o.top+a):t.alignment==Ee.Vertical?(c=o.left+(o.width-i.width)-a,l=o.top-i.height-a):(c=o.left+o.width+a,l=o.top-i.height-a);break;case Te.LeftBottom:t.alignment==Ee.Horizontal?(c=o.left-i.width-a,l=o.top+(o.height-i.height)-a):t.alignment==Ee.Vertical?(c=o.left+a,l=o.top+o.height+a):(c=o.left-i.width-a,l=o.top+o.height+a);break;case Te.RightBottom:t.alignment==Ee.Horizontal?(c=o.left+o.width+a,l=o.top+(o.height-i.height)-a):t.alignment==Ee.Vertical?(c=o.left+(o.width-i.width)-a,l=o.top+o.height+a):(c=o.left+o.width+a,l=o.top+o.height+a);break;case Te.InnerTop:c=o.left+(o.width-i.width)/2+a,l=o.top+a;break;case Te.InnerRight:c=o.left+(o.width-i.width)-a,l=o.top+(o.height-i.height)/2;break;case Te.InnerBottom:c=o.left+(o.width-i.width)/2,l=o.top+(o.height-i.height)-a;break;case Te.InnerLeft:c=o.left+a,l=o.top+(o.height-i.height)/2;break;case Te.InnerLeftTop:c=o.left+a,l=o.top+a;break;case Te.InnerRightTop:c=o.left+(o.width-i.width)-a,l=o.top+a;break;case Te.InnerLeftBottom:c=o.left+a,l=o.top+(o.height-i.height)-a;break;case Te.InnerRightBottom:c=o.left+(o.width-i.width)-a,l=o.top+(o.height-i.height)-a}n.style.transform="translate3d(".concat(c,"px, ").concat(l,"px, 0)")}}),[r,a,c,l]);return f((function(){requestAnimationFrame(x)}),[x,l,c]),h((function(){var e=function(){return x()};return window.addEventListener("scroll",e,{capture:!0,passive:!0}),window.addEventListener("resize",e),function(){window.removeEventListener("scroll",e,!0),window.removeEventListener("resize",e)}}),[x]),f((function(){w({isMounted:!0})}),[]),n("div",W({ref:C,className:g.getClassName("dock"),style:g.getStyle()},v,{children:[t.children,b.isMounted&&"undefined"!=typeof document&&m(k,document.body)]}))};!function(e){e.Row="row",e.RowReverse="row-reverse",e.Column="column",e.ColumnReverse="column-reverse"}(De||(De={})),function(e){e.NoWrap="nowrap",e.Wrap="wrap"}(Be||(Be={})),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"}(Pe||(Pe={})),function(e){e.Start="flex-start",e.Center="center",e.End="flex-end",e.Stretch="stretch",e.Baseline="baseline"}(Ne||(Ne={})),function(e){e.Start="flex-start",e.Center="center",e.End="flex-end",e.SpaceBetween="space-between",e.SpaceAround="space-around",e.SpaceEvenly="space-evenly"}(Le||(Le={}));var ze,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=j(t,["vClassName","direction","wrap","justifyContent","alignItems","alignContent","gap"]),s=ke(l),u=s.getProps("div").html,d=W(W({},s.getStyle()),{gap:c,cursor:t.cursor?t.cursor:t.onClick?"pointer":"inherit"}),f=t.overflow?"flex-".concat(t.overflow):"flex-hidden",h=n?" flex-direction-".concat(n):"",p=r?" flex-wrap-".concat(r):"",g=o?" flex-justify-content-".concat(o):"",m=a?" flex-align-items-".concat(a):"",v=i?" flex-align-content-".concat(i):"",y="".concat(f).concat(h).concat(p).concat(g).concat(m).concat(v),b=s.getClassName(y);return e("div",W({className:b,style:d},u,{children:t.children}))};!function(e){e.Start="start",e.Center="center",e.End="end",e.Stretch="stretch",e.Baseline="baseline"}(ze||(ze={}));var Fe,Ve=function(t){var n={};null!=t.order&&(n.order=t.order),null!=t.basis&&(n.flexBasis=t.basis),null!=t.grow&&(n.flexGrow=t.grow),null!=t.shrink&&(n.flexShrink=t.shrink);var r=t.alignSelf?" flex-align-self-".concat(t.alignSelf):"",o="flex-item".concat(r);return e("div",{className:o,style:W(W({},n),{display:"flex",flexDirection:"column"}),children:t.children})},He=function(n){return e(t,{children:n.children})},Ue=function(n){return e(t,{children:n.children})},We=function(n){return e(t,{children:n.children})},je=function(n){return e(t,{children:n.children})},Me=function(n){return e(t,{children:n.children})},Ge=function(n){return e(t,{children:n.children})},Xe=function(n){return e(t,{children:n.children})},Ye=function(n){return e(t,{children:n.children})};!function(e){e.Top="top",e.Middle="middle",e.Bottom="bottom",e.Stretch="stretch",e.Baseline="baseline"}(Fe||(Fe={}));var qe,Je=function(n,r,a,i,c){n.cross;var l=n.itemsShrink,s=j(n,["cross","itemsShrink"]),u=ke(s),d=function(t,n,o){return r?r(t,n,o,l):e(Ve,{alignSelf:o,shrink:l,children:t},"child".concat(n))};return e(Ae,W({vClassName:"v-xbase",alignItems:function(){var e;if(n.cross)switch(n.cross){case Fe.Stretch:e=Ne.Stretch;break;case Fe.Baseline:e=Ne.Baseline;break;case Fe.Bottom:e=Ne.End;break;case Fe.Middle:e=Ne.Center;break;case Fe.Top:e=Ne.Start;break;default:e=Ne.Center}else e=Ne.Center;return e}(),wrap:a?a():Be.NoWrap,justifyContent:i?i():Pe.Start,alignContent:c?c():Le.Start},s,{children:o.map(u.getChildren(),(function(n,r){var o=n;return o.type?o.type===Ye?d(o.props.children,r,ze.Start):o.type===je?d(o.props.children,r,ze.Center):o.type===Ue?d(o.props.children,r,ze.End):o.type===Xe?d(o.props.children,r,ze.Stretch):o.type===He?d(o.props.children,r,ze.Baseline):d(o,r):(console.debug(o),e(t,{children:"Please check X layout children."}))}))}))},Ze=function(t){return Je(t,(function(t,n,r,o){return e(Ve,{grow:1,alignSelf:r,shrink:o,children:t})}))},Ke=function(t){var n=ke(t);return Je(t,(function(t,r,a,i){return 0!=r&&r!=o.count(n.getChildren())-1?e(Ve,{grow:0,alignSelf:a,shrink:i,children:t}):e(Ve,{grow:1,alignSelf:a,shrink:i,children:t})}))},Qe=function(t){var n=ke(t);return Je(t,(function(t,r,a,i){return 0!=r&&r!=o.count(n.getChildren())-1?e(Ve,{grow:1,alignSelf:a,shrink:i,children:t}):e(Ve,{grow:0,alignSelf:a,shrink:i,children:t})}))},$e=function(t){return Je(t,(function(t,n,r,o){return e(Ve,0==n?{grow:1,alignSelf:r,shrink:o,children:t}:{grow:0,alignSelf:r,shrink:o,children:t})}))},et=function(t){var n=ke(t);return Je(t,(function(t,r,a,i){return r==o.count(n.getChildren())-1?e(Ve,{grow:1,shrink:i,children:t}):e(Ve,{grow:0,shrink:i,children:t})}))},tt=function(e){return Je(e,void 0,void 0,(function(){return Pe.SpaceBetween}))},nt=function(e){return Je(e,void 0,void 0,(function(){return Pe.Center}))},rt=function(e){return Je(e)};!function(e){e.Left="left",e.Center="center",e.Right="right",e.Baseline="baseline",e.Stretch="stretch"}(qe||(qe={}));var ot,at=function(n,r,a,i,c){var l=n.cross,s=n.itemsShrink,u=j(n,["cross","itemsShrink"]),d=ke(u),f=function(t,n,o){return r?r(t,n,o,s):e(Ve,{alignSelf:o,shrink:s,children:t},"child".concat(n))};return e(Ae,W({vClassName:"v-ybase",wrap:a?a():Be.NoWrap,alignContent:i?i():Le.Start,alignItems:function(){var e;if(l)switch(l){case qe.Left:e=Ne.Start;break;case qe.Center:e=Ne.Center;break;case qe.Right:e=Ne.End;break;case qe.Baseline:e=Ne.Baseline;break;default:e=Ne.Stretch}else e=Ne.Stretch;return e}(),direction:De.Column,justifyContent:c?c():Pe.Start},u,{children:o.map(d.getChildren(),(function(n,r){var o=n;return o.type?o.type===We?f(o.props.children,r,ze.Start):o.type===je||o.type===Ge?f(o.props.children,r,ze.Center):o.type===Me?f(o.props.children,r,ze.End):o.type===Xe?f(o.props.children,r,ze.Stretch):o.type===He?f(o.props.children,r,ze.Baseline):f(n,r):(console.debug(o),e(t,{children:"Please check Y layout children."}))}))}))},it=function(t){return at(t,(function(t,n,r,o){return e(Ve,{grow:1,alignSelf:r,shrink:o,children:t})}))},ct=function(e){return at(e,void 0,void 0,void 0,(function(){return Pe.Center}))};!function(e){e.Top="top",e.Right="right",e.Bottom="bottom",e.Left="left",e.Center="center"}(ot||(ot={}));var lt,st=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]=X(X([],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"}(lt||(lt={}));var ut,dt=function(t){var r=t.ref,o=t.type,a=t.label,i=t.icon,c=t.value,l=t.valueHook,d=t.setStateHook,f=t.isValueShow,p=t.valueSize,g=t.frontColor;t.valueCategory;var m,v=t.valuePadding,y=t.inputStyle,b=t.inputClassName,w=t.overWrite,C=t.renderOptions,S=t.onChange,k=t.inheritClassName,x=t.customAttributes,_=j(t,["ref","type","label","icon","value","valueHook","setStateHook","isValueShow","valueSize","frontColor","valueCategory","valuePadding","inputStyle","inputClassName","overWrite","renderOptions","onChange","inheritClassName","customAttributes"]),T=ke(_),E=T.getProps("input").html,I=s({value:void 0!==t.value?t.value:""}),O=I[0],D=I[1],B=u(null);return h((function(){"object"==typeof r&&r?r.current=B.current:"function"==typeof r&&r(B.current),t.autoFocus&&B.current&&B.current.focus()}),[r,t.autoFocus]),w&&(m=w(B)),n(ye,{_base:T,className:"v-validity v-input".concat(k?" ".concat(k):""),children:[n(it,{display:m?"none":void 0,children:[n(Qe,{gap:"0.6em",children:[!!i&&e(be,{children:i}),n(be,{width:"100%",lineHeight:0,children:[e("input",W({ref:B},x,{className:(b?"".concat(b," "):"")+"".concat(T.getClassName("v-input-native")),style:y,type:o,value:l||O.value,onChange:function(e){var t;f&&D({value:null===(t=B.current)||void 0===t?void 0:t.value}),S&&S(e),d?d(e.target.value):D({value:e.target.value})}},E)),!!a&&e("label",{htmlFor:t.id?t.id:t.name,children:a})]}),!!C&&C(B)]}),!!f&&e(nt,{children:e(Se,{padding:v,isAutoSize:t.isAutoSize,fontSize:p||Y.Normal,frontColor:g||L.Black,caption:void 0!==O.value?O.value.toString():c?c.toString():""})})]}),!!m&&m]})};!function(e){e.Default="default",e.Circle="circle",e.Squared="squared",e.Custom="custom"}(ut||(ut={}));var ft,ht,pt=c((function(n){var r=ke(n);return e(t,{children:o.map(n.children,(function(e){return function(e){var t=n.category?n.category:ut.Default,o=r.getClassName("v-svg-".concat(t)),c=n.onClick,l=n.onMouseEnter,s=n.onMouseLeave,u={className:o,style:W(W({},r.getStyle()),{cursor:c?"pointer":"inherit"}),onClick:c,onMouseEnter:l,onMouseLeave:s};return e.type===a?(console.warn("Cannot apply props to Fragment. Please wrap content in a div or other element."),e):i(e,u)}(e)}))})}));function gt(){return gt=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},gt.apply(null,arguments)}var mt,vt=function(e){return r.createElement("svg",gt({xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 256 256"},e),ft||(ft=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"})),ht||(ht=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 yt(){return yt=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},yt.apply(null,arguments)}var bt,wt,Ct,St,kt=function(e){return r.createElement("svg",yt({xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 256 256"},e),mt||(mt=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__rollIn",e.RollOut="animate__rollOut",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"}(bt||(bt={})),function(e){e.Once="animate__repeat-1",e.Twice="animate__repeat-2",e.Thrice="animate__repeat-3",e.Infinite="animate__infinite"}(wt||(wt={})),function(e){e.Slow="animate__slow",e.Slower="animate__slower",e.Fast="animate__fast",e.Faster="animate__faster"}(Ct||(Ct={})),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"}(St||(St={}));var xt,_t=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})},Tt=function(t){t.animationCategory,t.animationSpeed;var n=j(t,["animationCategory","animationSpeed"]),r=ke(n);return e(ye,{_base:r,className:"v-loading",children:e(_t,{category:t.animationCategory?t.animationCategory:bt.Flip,speed:t.animationSpeed?t.animationSpeed:Ct.Slower,repeat:wt.Infinite,children:t.children})})};function Et(){return Et=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)({}).hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},Et.apply(null,arguments)}var It,Ot=function(e){return r.createElement("svg",Et({xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 256 256"},e),xt||(xt=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"}(It||(It={}));var Dt,Bt=function(e){return e.name.endsWith(".jpg")||e.name.endsWith(".jpeg")||e.name.endsWith(".png")};!function(e){e.Default="default",e.Circle="circle",e.Squared="squared",e.FullSize="full-size",e.Scale="scale"}(Dt||(Dt={}));var Pt,Nt,Lt=c((function(t){var n=t.category,r=j(t,["category"]),o=ke(r),a=o.getProps("img").html,i=n||Dt.Default;return e("img",W({className:o.getClassName("v-image-".concat(i)),style:o.getStyle()},a))})),Rt=function(t){return e(dt,W({display:"none",type:"hidden"},t))};function zt(){return zt=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},zt.apply(null,arguments)}var At,Ft=function(e){return r.createElement("svg",zt({xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 256 256"},e),Pt||(Pt=r.createElement("path",{fill:"currentColor",d:"M128 188c33.138 0 60-26.862 60-60s-26.862-60-60-60-60 26.862-60 60 26.862 60 60 60"})),Nt||(Nt=r.createElement("path",{fill:"currentColor",fillRule:"evenodd",d:"M228 128c0 55.229-44.771 100-100 100S28 183.229 28 128 72.771 28 128 28s100 44.771 100 100m-20 0c0 44.183-35.817 80-80 80s-80-35.817-80-80 35.817-80 80-80 80 35.817 80 80",clipRule:"evenodd"})))};function Vt(){return Vt=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},Vt.apply(null,arguments)}var Ht,Ut,Wt=function(e){return r.createElement("svg",Vt({xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 256 256"},e),At||(At=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 jt(){return jt=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},jt.apply(null,arguments)}var Mt,Gt=function(e){return r.createElement("svg",jt({xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 256 256"},e),Ht||(Ht=r.createElement("rect",{width:20,height:200,x:50,y:64,fill:"currentColor",rx:10,transform:"rotate(-45 50 64)"})),Ut||(Ut=r.createElement("rect",{width:20,height:200,fill:"currentColor",rx:10,transform:"scale(-1 1)rotate(-45 -25.527 280.136)"})))},Xt=function(t){var r=t.enableClear,o=j(t,["enableClear"]);return e(dt,r?W({inheritClassName:"v-textbox",isDefaultValue:!0,type:"text"},o,{renderOptions:function(r){return n(Ze,{gap:"0.2em",children:[t.renderOptions&&t.renderOptions(r),e(pt,{fontSize:Y.ExtraSmall,frontColor:L.Placeholder,role:"button","aria-label":"Clear",tabIndex:0,onClick:function(){r.current&&(r.current.value="")},onKeyDown:function(e){" "!==e.key&&"Enter"!==e.key||!r.current||(e.preventDefault(),r.current.value="")},children:e(Gt,{})})]})}}):W({inheritClassName:"v-textbox",isDefaultValue:!0,type:"text"},o))};function Yt(){return Yt=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},Yt.apply(null,arguments)}var qt,Jt=function(e){return r.createElement("svg",Yt({xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 256 256"},e),Mt||(Mt=r.createElement("circle",{cx:128,cy:128,r:100,fill:"currentColor"})))};!function(e){e.NewWindow="_blank",e.Self="_self",e.Parent="_parent",e.Top="_top"}(qt||(qt={}));var Zt,Kt,Qt=function(t){var n=t.category,r=t.to,o=j(t,["category","to"]),a=ke(o),i=a.getProps("a").html;return e(ye,{_base:a,className:"v-hyperlink",children:e("a",W({href:r,target:n},i,{children:t.children}))})};!function(e){e.P="p",e.Address="address",e.Article="article",e.Aside="aside",e.Details="details",e.Section="section"}(Zt||(Zt={})),function(e){e[e.Justify=0]="Justify",e[e.Left=1]="Left",e[e.Right=2]="Right",e[e.Center=3]="Center"}(Kt||(Kt={}));var $t;!function(e){e.Default="default",e.Fixed="fixed"}($t||($t={}));var en,tn=function(t){t.category;var n=j(t,["category"]),r=ke(n);return e(ye,{_base:r,className:"v-ellipse-".concat(t.category?t.category:$t.Default),children:t.children})};!function(e){e.Vertical="vertical",e.Horizontal="horizontal"}(en||(en={}));var nn;!function(e){e.Default="default",e.Fixed="fixed"}(nn||(nn={}));var rn;!function(e){e.Default="default",e.Max="max"}(rn||(rn={}));var on,an=function(n){var r=ke(n);return e(t,{children:o.map(n.children,(function(t){return function(t){if(t){var o={};n.x&&n.y&&n.blur&&n.spread&&n.color&&(o.boxShadow="".concat(n.x,"px ").concat(n.y,"px ").concat(n.blur,"px ").concat(n.spread,"px ").concat(n.color));var c={className:r.getClassName("v-shadow-".concat(n.category?n.category:rn.Default)),style:W(W({},o),r.getStyle())};return t.type===a||"<>"===t.type?(console.warn("Cannot apply props to Fragment. Please wrap content in a div or other element."),t):i(t,c)}return e(Se,{backgroundColor:L.Error,caption:"[VShadow] No Children!"})}(t)}))})},cn="--den-";!function(e){e.Global="global",e.Area="area"}(on||(on={}));var ln;!function(e){e.Hover="hover",e.Click="click"}(ln||(ln={}));var sn,un=function(t){function n(e){var n=t.call(this,e)||this;return n.state={hasError:!1,error:null,errorInfo:null},n}return N(n,t),n.getDerivedStateFromError=function(e){return{hasError:!0,error:e}},n.prototype.componentDidCatch=function(e,t){this.setState({errorInfo:t}),this.props.onError&&this.props.onError(e,t)},n.prototype.render=function(){var t;return this.state.hasError?this.props.fallback?"function"==typeof this.props.fallback?this.props.fallback(this.state.error,this.state.errorInfo):this.props.fallback:e("div",{className:"v-error-boundary",role:"alert",children:e(Se,{backgroundColor:L.Error,frontColor:L.White,padding:"1em",caption:"Component Error: ".concat((null===(t=this.state.error)||void 0===t?void 0:t.message)||"Unknown error")})}):this.props.children},n}(g);!function(e){e.Uninstalled="uninstalled",e.Outdated="outdated",e.Ready="ready"}(sn||(sn={}));var dn;!function(e){e.Normal="normal",e.Italic="italic"}(dn||(dn={}));var fn,hn,pn=function(t){return e("div",{id:t.id})};!function(e){e.Popup="popup",e.Redirect="redirect"}(fn||(fn={})),function(e){e.Implicit="implicit",e.AuthorizationCode="authorization-code"}(hn||(hn={}));var gn,mn="fewbox-google-grant";!function(e){e.Prompt="prompt",e.Popup="popup",e.Redirect="redirect"}(gn||(gn={}));var vn;!function(e){e.Auto="auto",e.Contain="contain",e.Cover="cover"}(vn||(vn={}));var yn,bn;!function(e){e.Auto="auto",e.Contain="contain",e.Cover="cover"}(yn||(yn={})),function(e){e.Left="left",e.Center="center",e.Right="right"}(bn||(bn={}));var wn;function Cn(){return Cn=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},Cn.apply(null,arguments)}var Sn,kn=function(e){return r.createElement("svg",Cn({xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 256 256"},e),wn||(wn=r.createElement("path",{fill:"currentColor",d:"M223.605 95.894c4.337-4.384 5.53-10.893 3.285-16.566A15.225 15.225 0 0 0 212.819 70H43.179c-6.127 0-11.658 3.655-13.998 9.329-2.388 5.672-1.087 12.183 3.285 16.565l84.827 84.827c5.948 5.877 15.54 5.877 21.485 0z"})))};function xn(){return xn=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)({}).hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},xn.apply(null,arguments)}var _n,Tn=function(e){return r.createElement("svg",xn({xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 256 256"},e),Sn||(Sn=r.createElement("path",{fill:"currentColor",d:"M95.894 32.395c-4.384-4.337-10.893-5.53-16.566-3.285A15.225 15.225 0 0 0 70 43.18v169.642c0 6.126 3.655 11.657 9.329 13.997 5.672 2.388 12.183 1.087 16.565-3.285l84.827-84.827c5.877-5.948 5.877-15.54 0-21.485z"})))},En=function(t){var r,o,a=ke(t),i=s({isExpand:t.isExpand}),c=i[0],l=i[1],u=function(){l({isExpand:!c.isExpand})};return o=t.renderItem?t.renderItem(t.node):n(rt,{children:[!!t.node.icon&&e(pt,{children:t.node.icon}),e(Se,{caption:t.node.name})]}),e("div",{className:a.getClassName("v-tree-block"),style:a.getStyle(),children:n(rt,{cross:Fe.Top,gap:"0.2em",children:[e(pt,{fontSize:Y.ExtraSmall,role:"button","aria-expanded":!!c.isExpand,"aria-label":c.isExpand?"Collapse":"Expand",tabIndex:0,onClick:u,onKeyDown:function(e){" "!==e.key&&"Enter"!==e.key||(e.preventDefault(),u())},children:c.isExpand?t.expandIcon?t.expandIcon:e(kn,{}):t.collapseIcon?t.collapseIcon:e(Tn,{})}),n(it,{gap:"1em",children:[o,!!c.isExpand&&(null===(r=t.node.children)||void 0===r?void 0:r.map((function(n){return e(En,{node:n,renderItem:t.renderItem,expandIcon:t.expandIcon,collapseIcon:t.collapseIcon,isExpand:t.isExpand},n.key)})))]})]})})},In=Object.freeze({__proto__:null,get AnimationCategory(){return bt},get AnimationDelay(){return St},get AnimationRepeat(){return wt},get AnimationSpeed(){return Ct},get BackgroundPositionType(){return ot},Base:ke,get BorderRadiusType(){return H},get BreakpointType(){return we},get CardWindowSizeType(){return vn},get ColorType(){return L},Debug:function(t){return t.isDebug?e("div",{className:"debug",children:t.children}):e("div",{className:"no-debug",children:t.children})},Display:Ie,get DisplayCategory(){return xe},get DisplayType(){return _e},Dock:Re,get DockAlignment(){return Ee},get DockCategory(){return Te},get EllipseCategory(){return $t},get ExtensionStatus(){return sn},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 It},Flex:Ae,get FlexAlignContentType(){return Le},get FlexAlignItemsType(){return Ne},get FlexDirectionType(){return De},FlexItem:Ve,get FlexItemAlignSelfType(){return ze},get FlexJustifyContentType(){return Pe},get FlexWrapType(){return Be},get FontFamilyType(){return z},get FontSizeType(){return Y},get FontWeightType(){return R},get GoogleFontType(){return dn},GoogleGrant:function(t){return h((function(){var e=document.createElement("script");e.src="https://accounts.google.com/gsi/client",t.category==hn.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(mn);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(mn);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(be,{className:"google-grant-fragment"}):e(pn,{id:mn,children:t.children})},get GoogleGrantCategory(){return hn},get GoogleGrantUXMode(){return fn},GoogleSignin:function(t){var n=t.clientId,r=t.uxMode,o=t.redirectUrl,a=t.gsiButtonConfiguration,i=t.callback,c=t.switchAnotherIdentityProvider,l=t.enableGoogle,s=t.disableGoogle,u=t.googleAuthButtonId,d=u||"fewbox-google-auth";return h((function(){if("undefined"!=typeof document){var e=document.createElement("script");return e.src="https://accounts.google.com/gsi/client",e.onload=function(){if(google.accounts.id.initialize({client_id:n,ux_mode:r!=gn.Prompt?r:void 0,use_fedcm_for_prompt:r==gn.Prompt,callback:function(e){i(e.credential)},login_uri:o}),r==gn.Prompt)google.accounts.id.prompt((function(e){(e.isNotDisplayed()||e.isSkippedMoment())&&c&&c(e.getNotDisplayedReason())}));else{var e=document.getElementById(d);e?google.accounts.id.renderButton(e,a||{type:"icon",size:"large",theme:"outline",shape:"circle",logo_alignment:"center"}):(console.error("The element '".concat(d,"' not found!")),s())}l()},e.onerror=function(e){console.error(e),s()},document.body.appendChild(e),function(){e.remove()}}}),[n,r,o,a,i,c,l,s,d]),e(pn,{id:d})},get GoogleSigninUXMode(){return gn},get HandleSubmitCategory(){return lt},get HyperlinkCategory(){return qt},get ImageCategory(){return Dt},get LabelAlignType(){return ve},get LabelCategory(){return ge},get LabelType(){return me},get LetterSpacingType(){return V},get LineCategory(){return en},get LineHeightType(){return A},get PaddingType(){return F},get PhotoCategory(){return yn},get PhotoPositionType(){return bn},Position:fe,PositionArea:pe,get PositionAreaCategory(){return de},get PositionCategory(){return K},get PositionType(){return Q},Responsive:function(r){return n(t,{children:[e(Ie,{category:xe.Hidden,type:_e.Down,breakpoint:r.breakpointType?r.breakpointType:we.Small,children:r.desktop}),e(Ie,{category:xe.Hidden,type:_e.Up,breakpoint:r.breakpointType?r.breakpointType:we.Small,children:r.mobile})]})},SBaseline:He,SBottom:Ue,SCenter:Ge,SLeft:We,SMiddle:je,SRight:Me,SStretch:Xe,STop:Ye,get ShadowCategory(){return rn},get SvgCategory(){return ut},get TextAlignType(){return Kt},get TextCategory(){return Zt},get ThemeCategory(){return on},get TooltipCategory(){return ln},VActionForm:function(t){return e("form",W({className:"v-action-form"},t,{children:t.children}))},VAnimation:_t,VAudio:function(t){t.sources;var n=j(t,["sources"]),r=ke(n),o=r.getProps("audio").html;return e("audio",W({className:r.getClassName("v-audio"),style:r.getStyle(),controls:!0},o,{children:t.sources.map((function(t,n){return e("source",{src:t.src,type:t.type},"source".concat(n))}))}))},VAvatar:function(t){var r=t.avatar,o=t.badge,a=t.status,i=t.badgeOffset,c=t.statusOffset,l=j(t,["avatar","badge","status","badgeOffset","statusOffset"]),s=ke(l),u=i||"-0.2em",d=c||"-0.2em";return e(pe,{children:e(ye,{_base:s,className:"v-avatar",children:n(an,{category:rn.Max,children:["string"==typeof r||r instanceof String?e(Lt,{isAutoSize:t.isAutoSize,category:Dt.Circle,fontSize:Y.Large,src:r,alt:"null"}):e(pt,{isAutoSize:t.isAutoSize,category:ut.Circle,fontSize:Y.ExtraLarge,children:r}),!!o&&e(fe,{category:K.Area,bottom:u,right:u,children:"string"==typeof o||o instanceof String?e(Lt,{isAutoSize:t.isAutoSize,category:Dt.Circle,fontSize:Y.Small,src:o,alt:"null",borderStyle:"solid",borderWidth:"1px",borderColor:L.Light}):e(pt,{isAutoSize:t.isAutoSize,category:ut.Circle,frontColor:L.Secondary,backgroundColor:L.White,fontSize:Y.Small,children:o})}),!!a&&e(fe,{category:K.Area,top:d,right:d,children:e(tn,{isAutoSize:t.isAutoSize,category:$t.Fixed,fontSize:Y.Normal,backgroundColor:a,borderStyle:"solid",borderWidth:"0.1em",borderColor:L.Light})})]})})})},VBackground:function(t){t.image,t.imageWidth,t.imageHeight,t.position;var n,r=j(t,["image","imageWidth","imageHeight","position"]);n=t.imageWidth&&t.imageHeight?{backgroundImage:'url("'.concat(t.image,'")'),backgroundSize:"".concat(t.imageWidth," ").concat(t.imageHeight)}:{backgroundImage:'url("'.concat(t.image,'")')};var o=ke(W(W({},r),{style:n}));return e(ye,{_base:o,className:t.position?"v-background-".concat(t.position):"v-background",children:t.children})},VBase64File:function(t){var r=t.fileIcon,o=t.base64Image,a=j(t,["fileIcon","base64Image"]),i=ke(a),c=s({base64Image:o}),l=c[0],u=c[1];return n(ye,{_base:i,className:"v-base64file",children:[e(Rt,{name:t.name,value:l.base64Image}),e(dt,W({type:"file",isDefaultValue:!0,onChange:function(e){if(e.target.files&&1==e.target.files.length){var t=e.target.files[0],n=new FileReader;n.onloadend=function(){var e;e=n.result&&"string"==typeof n.result?n.result.replace("data:","").replace(/^.+,/,""):"Todo",u({base64Image:e})},n.readAsDataURL(t)}},overWrite:function(o){return n(it,{gap:"0.2em",onClick:function(){var e;null===(e=o.current)||void 0===e||e.click()},children:[r,e(Lt,{fontSize:t.fontSize,category:Dt.Scale,src:"data:image/png;base64,".concat(l.base64Image),alt:"file"})]})}},a))]})},VBlock:function(t){var r=t.icon,o=t.caption,a=t.subCaption,i=t.action,c=j(t,["icon","caption","subCaption","action"]),l=ke(c);return e(ye,W({_base:l,className:"v-block"},c,{children:n(Qe,{cross:Fe.Middle,gap:"1em",children:[r,n(ct,{gap:"0.2em",children:[o,a]}),i]})}))},VBoundary:be,VCard:function(t){var r=ke(t);return e("div",W({className:r.getClassName("v-card"),style:r.getStyle()},t.customAttributes,{draggable:t.isDraggable,children:n(it,{gap:"0.6em",children:[t.head,t.body]})}))},VCardMedia:function(t){var r=ke(t);return e("div",{className:r.getClassName("v-card-media"),style:r.getStyle(),children:n(it,{gap:"1em",children:[t.media,t.head,t.body,t.foot]})})},VCardSocial:function(t){var r=ke(t);return e("div",{className:r.getClassName("v-card-social"),style:r.getStyle(),children:n(it,{children:[n(tt,{children:[t.caption,t.icon]}),n(et,{cross:Fe.Top,gap:"1em",children:[t.avatar,n(it,{gap:"1em",children:[t.name,t.post,e(rt,{gap:"0.6em",children:t.hashTags.map((function(e,t){return e}))})]})]}),n(Ke,{children:[t.leftAction,t.rightAction]})]})})},VCardWindow:function(t){var r=s({isDetailShow:!1}),o=r[0],a=r[1],i=ke(t),c=W(W({},i.getStyle()),{backgroundImage:'url("'.concat(t.backgroundUrl,'")')});return n("div",{className:i.getClassName("v-card-window-".concat(t.backgroundSize?t.backgroundSize:vn.Auto)),style:c,onMouseEnter:function(){a({isDetailShow:!0})},onMouseLeave:function(){a({isDetailShow:!1})},children:[e("div",{className:"overlay",style:{opacity:o.isDetailShow?.6:0}}),!!o.isDetailShow&&e("div",{className:"detail",children:t.children})]})},VCheckBox:function(t){var r=t.isChecked,o=j(t,["isChecked"]);return e(dt,W({isAutoSize:t.isAutoSize,customAttributes:{checked:!!r},inheritClassName:"v-checkbox",type:"checkbox",isDefaultValue:!0,overWrite:function(o){return n(rt,{gap:"0.2em",role:"checkbox","aria-checked":!!r,"aria-label":t.label||t.name,tabIndex:0,onClick:function(){var e;null===(e=o.current)||void 0===e||e.click()},onKeyDown:function(e){var t;" "!==e.key&&"Enter"!==e.key||(e.preventDefault(),null===(t=o.current)||void 0===t||t.click())},children:[e(pt,{frontColor:t.frontColor,fontSize:t.fontSize,children:e(r?vt:kt,{})}),!!t.label&&e(Se,{frontColor:t.frontColor,fontSize:t.fontSize,caption:t.label?t.label:""})]})}},o))},VChromeExtensionValidator:function(t){var n=s({}),r=n[0],o=n[1];if(h((function(){var e;r.status||(e="chrome-extension://".concat(t.extensionId,"/meta.json"),fetch(e).then((function(e){return e.ok?e.json():Promise.reject()})).then((function(e){var n=!t.version||e.version>=t.version;o({status:n?sn.Ready:sn.Outdated,meta:e})})).catch((function(){return o({status:sn.Uninstalled})})))}),[]),r.status){if(t.overWrite)return t.overWrite(r.status,r.meta);var a=void 0;return r.status===sn.Ready?e(be,{className:"v-chrome-extension-validator-fragment"}):(r.status===sn.Uninstalled?a=t.uninstalledMessage:r.status===sn.Outdated&&(a=t.outdatedMessage),e(Qt,{category:qt.NewWindow,to:t.downloadUrl?t.downloadUrl:"mailto:support@fewbox.com",children:a}))}return e(be,{className:"v-chrome-extension-validator-fragment"})},VColor:function(t){return e(dt,W({type:"color",isDefaultValue:!0},t))},VDate:function(t){return e(dt,W({type:"date",isDefaultValue:!0},t))},VDatetimeLocal:function(t){return e(dt,W({type:"datetime-local",isDefaultValue:!0},t))},VDropdown:function(t){var r,o,a=t.ref,i=t.value,c=t.name,l=t.icon,d=t.emptyIcon,f=t.downIcon,g=t.upIcon,m=t.enableClear,v=t.items,y=t.dockCategory,b=t.dockAlignment,w=t.menuBackgroundColor,C=t.menuZIndex;t.onClick;var S=t.overWriteDropdownMenu,k=t.overWriteDropdownItem,x=t.handleChange,_=j(t,["ref","value","name","icon","emptyIcon","downIcon","upIcon","enableClear","items","dockCategory","dockAlignment","menuBackgroundColor","menuZIndex","onClick","overWriteDropdownMenu","overWriteDropdownItem","handleChange"]),T=ke(_),E=s({isSelectionShow:!1,selectValue:i||"",selectCaption:i?v.filter((function(e){return e.value==i}))[0].caption:"",items:v}),I=E[0],O=E[1],D=u(null),B=p();h((function(){"object"==typeof a&&a?a.current=D.current:"function"==typeof a&&a(D.current),t.autoFocus&&D.current&&D.current.focus()}),[]);var P=C||Oe;return e(Re,{width:"fit-content",overlayZIndex:I.isSelectionShow?P:-2147483648,category:y||Te.RightBottom,alignment:b||Ee.Vertical,renderOverlay:function(){return e(be,{visibility:I.isSelectionShow?"visible":"hidden",borderRadius:t.borderRadius,role:"listbox",id:B,children:S?S(I.items):n(it,{backgroundColor:w||L.White,padding:"1em 0",gap:"0.6em",borderRadius:"0.2em",borderColor:t.borderColor,borderWidth:t.borderWidth,borderStyle:"solid",children:[I.items.map((function(t){return k?e(be,{role:"option","aria-selected":t.value===I.selectValue,children:k(t)},t.value):n(rt,{gap:"0.2em",padding:"0.2em 1em",className:"item",role:"option","aria-selected":t.value===I.selectValue,onClick:function(){O(W(W({},I),{isSelectionShow:!1,selectIcon:t.icon,selectCaption:t.caption,selectValue:t.value,items:v})),x&&x(t.value)},children:[t.icon?e(pt,{fontSize:Y.ExtraSmall,children:t.icon}):e(be,{className:"v-dropdown-icon-fragment"}),e(Se,{caption:t.caption})]},t.value)})),!(0!=I.items.length)&&e(pt,{fontSize:Y.ExtraSmall,onClick:function(){},children:d})]})})},children:n($e,W({className:T.getClassName("v-dropdown"),style:T.getStyle(t.style)},_,{role:"combobox","aria-expanded":I.isSelectionShow,"aria-haspopup":"listbox","aria-controls":B,onClick:function(){O(W(W({},I),{isSelectionShow:!I.isSelectionShow}))},children:[n(be,{children:[e(Xt,{ref:D,id:t.id,padding:0,fontSize:t.fontSize,frontColor:t.frontColor,icon:e(pt,{fontSize:t.iconSize?t.iconSize:Y.Small,children:I.selectIcon?I.selectIcon:l}),valueHook:null===(r=I.selectCaption)||void 0===r?void 0:r.toString(),enableClear:m,renderOptions:t.renderOptions,onChange:function(e){var t;t=e.target.value,O(W(W({},I),{isSelectionShow:!0,selectCaption:t,items:v.filter((function(e){return e.caption.toLowerCase().indexOf(t.toLowerCase())>-1}))}))}}),e(Rt,{name:c,valueHook:null===(o=I.selectValue)||void 0===o?void 0:o.toString()})]}),e(pt,{fontSize:t.iconSize?t.iconSize:Y.Small,children:I.isSelectionShow?f:g})]}))})},VDynamic:function(n){var r=n.components[n.name];return n.children?e(t,{children:r?e(r,W({},n,{children:n.children})):e(Se,{caption:n.notFindMessage?n.notFindMessage:"VDynamic",padding:"1em",backgroundColor:L.Placeholder,frontColor:L.White})}):e(t,{children:r?e(r,W({},n)):e(Se,{caption:n.notFindMessage?n.notFindMessage:"VDynamic",padding:"1em",backgroundColor:L.Placeholder,frontColor:L.White})})},VEllipse:tn,VEmail:function(t){return e(dt,W({inheritClassName:"v-email",isDefaultValue:!0,type:"email"},t))},VErrorBoundary:un,VFile:function(t){var r=t.category,o=t.appearance;t.loader;var a=t.loaderSize,i=t.loaderColor,c=t.isPreview,l=t.previewImageWidth,d=t.textLength,f=t.autoUpload,p=t.renderLoader,g=t.renderPreview,m=j(t,["category","appearance","loader","loaderSize","loaderColor","isPreview","previewImageWidth","textLength","autoUpload","renderLoader","renderPreview"]),v=u(null),y=s({inputFiles:[],isLoading:!1}),b=y[0],w=y[1],C=function(){w((function(e){return W(W({},e),{isLoading:!1})}))};h((function(){return function(){return b.inputFiles.forEach((function(e){e.objectUrl&&URL.revokeObjectURL(e.objectUrl)}))}}),[b.inputFiles]);var S=function(e){e.preventDefault(),e.currentTarget.className="v-file"},k=ke(W({onDrop:function(e){e.preventDefault();var t=Array.from(e.dataTransfer.files),n=t.map((function(e){return{name:e.name,objectUrl:Bt(e)?URL.createObjectURL(e):void 0}}));n.length>0&&(f?(w(W(W({},b),{inputFiles:n,isLoading:!0})),f(t,C),e.currentTarget.className="v-file"):(w(W(W({},b),{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},m));return e(ye,{_base:k,className:"v-file",children:e(dt,W({type:"file",isDefaultValue:!0,ref:v},m,{onChange:function(e){var t,n=Array.from(null!==(t=e.target.files)&&void 0!==t?t:[]),r=n.map((function(e){return{name:e.name,objectUrl:Bt(e)?URL.createObjectURL(e):void 0}}));w(W(W({},b),{inputFiles:r})),f&&(w(W(W({},b),{inputFiles:r,isLoading:!0})),f(n,C))},overWrite:function(t){return c?g?e(be,{cursor:"pointer",onClick:function(){var e;null===(e=t.current)||void 0===e||e.click()},children:g(b.inputFiles,b.isLoading)}):r==It.Vertical?n(it,{gap:"1em",onClick:function(){var e;null===(e=t.current)||void 0===e||e.click()},cross:qe.Center,children:[!(0!=b.inputFiles.length)&&o,!(0==b.inputFiles.length)&&e(it,{gap:"0.6em",children:b.inputFiles.map((function(t){return n(it,{cross:qe.Center,children:[!!t.objectUrl&&e(be,{children:e("img",{src:t.objectUrl,alt:t.name,width:l||120})}),e(Se,{fontSize:Y.Small,caption:t.name.length>(d||12)?t.name.slice(0,d||12)+"…":t.name})]},"file-".concat(t.name))}))}),!!b.isLoading&&(p?p():e(Tt,{animationCategory:bt.Flash,children:e(nt,{children:e(pt,{fontSize:a,frontColor:i,children:e(Ot,{})})})}))]}):n(Ze,{gap:"1em",children:[n(Ze,{gap:"1em",onClick:function(){var e;null===(e=t.current)||void 0===e||e.click()},children:[!(0!=b.inputFiles.length)&&o,!(0==b.inputFiles.length)&&e(it,{gap:"0.6em",children:b.inputFiles.map((function(t){return n(it,{cross:qe.Center,children:[!!t.objectUrl&&e(be,{children:e("img",{src:t.objectUrl,alt:t.name,width:l||120})}),e(Se,{fontSize:Y.Small,caption:t.name.length>(d||12)?t.name.slice(0,d||12)+"…":t.name})]},"file-".concat(t.name))}))})]}),!!b.isLoading&&(p?p():e(Tt,{animationCategory:bt.Flash,children:e(pt,{fontSize:a,frontColor:i,children:e(Ot,{})})}))]}):e(be,{cursor:"pointer",onClick:function(){var e;null===(e=t.current)||void 0===e||e.click()},children:o})}}))})},VFooter:function(t){var n=ke(t),r=n.getProps("footer").html;return e("footer",W({className:n.getClassName("v-footer"),style:n.getStyle()},r,{children:t.children}))},VForm:function(t){t.handleSubmitCategory;var n=j(t,["handleSubmitCategory"]),r=ke(n),o=r.getProps("main").html;return e("form",W({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.classList.remove("invalid")}var r=new FormData(e.currentTarget);if(t.handleSubmitCategory==lt.FormData)t.handleSubmit(r);else{var o=st(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.classList.remove("invalid"):i.classList.add("invalid")),t.handleValidateError&&t.handleValidateError(a)}}},o,{children:t.children}))},VFrame:function(t){var n,r=t.image,o=t.backingBoard,a=t.style,i=j(t,["image","backingBoard","style"]),c=ke(i);return o&&(n=W(W({},a),{background:"linear-gradient(".concat(o.degree,", ").concat(o.startColor,", ").concat(o.endColor,")")})),e(ye,W({_base:c,className:"v-frame",style:n},t.customAttributes,{children:e("div",{style:{backgroundImage:"url(".concat(r,")"),backgroundRepeat:"no-repeat",backgroundSize:"cover"},children:t.children})}))},VGoogleFont:function(t){return h((function(){var e=document.createElement("link");e.rel="preconnect",e.href="https://fonts.googleapis.com";var n=document.createElement("link");n.rel="preconnect",n.href="https://fonts.gstatic.com",n.crossOrigin="crossorigin",document.head.appendChild(e),document.head.appendChild(n),t.typefaces.forEach((function(e,t){var n,r,o=e.family,a=null===(n=e.fonts)||void 0===n?void 0:n.filter((function(e){return e.type==dn.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==dn.Normal?l.push("0,".concat(Z(e.weight))):e.type==dn.Italic&&l.push("1,".concat(Z(e.weight))):l.push(Z(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(be,{className:"google-font-fragment"})},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=ke(t),r=n.getProps("hr").html;return e("hr",W({className:n.getClassName("v-hr"),style:n.getStyle()},r))},VHeader:function(t){var n=ke(t),r=n.getProps("header").html;return e("header",W({className:n.getClassName("v-header"),style:n.getStyle()},r,{children:t.children}))},VHidden:Rt,VHyperlink:Qt,VImage:Lt,VLabel:Se,VLine:function(t){t.category;var n=j(t,["category"]),r=ke(n);return e(ye,{_base:r,className:"v-line-".concat(t.category)})},VLoading:Tt,VMain:function(t){var n=ke(t),r=n.getProps("main").html;return e("main",W({className:n.getClassName("v-main"),style:n.getStyle()},r,{children:t.children}))},VMask:function(t){var n=ke(W({width:"100vw",height:"100vh",backgroundColor:L.Dark75},t));return e(fe,{zIndex:t.zIndex?t.zIndex:1e8,category:K.Window,type:Q.Center,children:e(pe,{children:e(ye,{_base:n,className:"v-mask",children:e(fe,{category:K.Area,type:Q.Center,children:t.children})})})})},VMonth:function(t){return e(dt,W({type:"month",isDefaultValue:!0},t))},VNumber:function(t){return e(dt,W({type:"number",isDefaultValue:!0},t))},VPassword:function(t){return e(dt,W({inheritClassName:"v-password",isDefaultValue:!0,type:"password"},t))},VPhoto:function(t){var n=ke(t),r=n.getProps("div").view,o=W(W({},n.getStyle()),{backgroundImage:'url("'.concat(t.src,'")'),width:t.width?t.width:"",height:t.height?t.height:""});return e(ye,W({_base:n,className:"v-photo-".concat(t.category,"-").concat(t.position?t.position:bn.Center),style:o},r,{children:t.children}))},VRadio:function(t){var r=t.isChecked,o=j(t,["isChecked"]);return e(dt,W({type:"radio",customAttributes:{checked:!!r},isDefaultValue:!0},o,{overWrite:function(o){return n(rt,{role:"radio","aria-checked":!!r,"aria-label":t.label||t.name,tabIndex:0,onClick:function(){var e;null===(e=o.current)||void 0===e||e.click()},onKeyDown:function(e){var t;" "!==e.key&&"Enter"!==e.key||(e.preventDefault(),null===(t=o.current)||void 0===t||t.click())},children:[e(pt,{padding:"0.4em",frontColor:t.frontColor,fontSize:t.fontSize,children:e(r?Ft:Wt,{})}),!!t.label&&e(Se,{frontColor:t.frontColor,fontSize:t.fontSize,caption:t.label?t.label:""})]})}}))},VRange:function(t){var n=t.thumbColor,r=t.thumbBorderColor,o=t.trackColor,a=j(t,["thumbColor","thumbBorderColor","trackColor"]),i="".concat(n,"-thumb-background ").concat(r,"-thumb-border ").concat(o,"-track-background");return e(dt,W({type:"range",inputClassName:i},a))},VRectangle:function(t){t.category;var n=j(t,["category"]),r=ke(n);return e(ye,{_base:r,className:"v-rectangle-".concat(t.category?t.category:nn.Default)})},VSearch:function(t){return e(dt,W({type:"search",isDefaultValue:!0,inheritClassName:"v-search"},t))},VSection:function(t){var n=ke(t),r=n.getProps("section").html;return e("section",W({className:n.getClassName("v-section"),style:n.getStyle()},r,{children:t.children}))},VSelect:function(t){var n=t.name;t.items;var r=t.value,o=t.isMultiple;t.fontFamily;var a=j(t,["name","items","value","isMultiple","fontFamily"]),i=ke(a),c=i.getProps("select").html;return e(ye,{_base:i,className:"v-select",children:e("select",W({multiple:o,name:n,defaultValue:r,"aria-label":n},c,{children:t.items.map((function(t){return e("option",{value:t.value,children:t.caption},t.value)}))}))})},VShadow:an,VStack:function(t){var n=ke(t),r=n.getProps("div").html;return e("div",W({className:n.getClassName("v-stack"),style:n.getStyle()},r,{children:o.map(t.children,(function(e){return function(e){var t={className:n.getClassName("v-stack-item")};return e.type===a||"<>"===e.type?(console.warn("Cannot apply props to Fragment. Please wrap content in a div or other element."),e):i(e,t)}(e)}))}))},VSubmit:function(t){var r=t.ref;t.caption,t.isFormNoValidate;var o=j(t,["ref","caption","isFormNoValidate"]),a=u(null);h((function(){"object"==typeof r&&r?r.current=a.current:"function"==typeof r&&r(a.current),t.autoFocus&&a.current&&a.current.focus()}),[]);var i=ke(W({onClick:function(){a.current.click()}},o)),c=i.getProps("input").html;return n(ye,{_base:i,className:"v-submit",children:[n(nt,{cross:Fe.Middle,children:[!!t.icon&&e("span",{children:t.icon}),!!t.caption&&e("span",{children:t.caption})]}),e("input",W({formNoValidate:t.isFormNoValidate,ref:a,type:"submit"},c))]})},VSubmitWrapper:function(t){var r=ke(t),o=u(null);return n("div",{className:r.getClassName("v-submit-wrapper"),style:r.getStyle(),children:[t.body,e("input",{ref:o,type:"submit"})]})},VSvg:pt,VSwitch:function(t){var r=t.isOn,o=t.icon,a=t.gap,i=t.isDisabled,c=t.onSwitch,l=j(t,["isOn","icon","gap","isDisabled","onSwitch"]),u=s({isOn:r}),d=u[0],f=u[1];h((function(){f({isOn:r})}),[r]);var p=o?e(pt,{margin:d.isOn?"0 0.6em 0 0":"0 0 0 0.6em ",frontColor:L.White,fontSize:Y.Normal,children:o}):e(be,{width:"1em",height:"1em"}),g=t.isDisabled?void 0:function(){t.isDisabled||(c&&c(!d.isOn),f({isOn:!d.isOn}))},m=ke(W({onClick:g},l));return e(ye,{_base:m,className:i?"v-switch-disabled":"v-switch",children:n(tt,{role:"switch","aria-checked":d.isOn,"aria-disabled":i,tabIndex:i?-1:0,onKeyDown:g?function(e){" "!==e.key&&"Enter"!==e.key||(e.preventDefault(),g())}:void 0,borderRadius:"32em",backgroundColor:d.isOn?t.frontColor?t.frontColor:L.Success:t.backgroundColor?t.backgroundColor:L.Placeholder,gap:a||"0.6em",children:[d.isOn?e(pt,{category:ut.Circle,frontColor:L.White,children:e(Jt,{})}):p,d.isOn?p:e(pt,{category:ut.Circle,frontColor:L.White,children:e(Jt,{})})]})})},VTel:function(t){return e(dt,W({inheritClassName:"v-tel",isDefaultValue:!0,type:"tel"},t))},VText:function(t){var n=t.category;t.alignType;var r,o,a=t.renderContent,i=j(t,["category","alignType","renderContent"]),c=ke(i);switch(t.alignType){case Kt.Center:o="v-text-center";break;case Kt.Justify:o="v-text-justify";break;case Kt.Left:o="v-text";break;case Kt.Right:o="v-text-right";break;default:o="v-text"}if(n){var s=n,u=c.getProps(s).html;r=l(s,u,a())}else{u=c.getProps("span").html;r=l("span",u,a())}return e(ye,{_base:c,className:o,children:r})},VTextArea:function(t){var r=t.ref;t.icon;var o=t.valueHook,a=t.setStateHook,i=j(t,["ref","icon","valueHook","setStateHook"]),c=ke(i),l=c.getProps("textarea").html,d=s({value:t.value}),f=d[0],p=d[1],g=u(null);return h((function(){"object"==typeof r&&r?r.current=g.current:"function"==typeof r&&r(g.current),t.autoFocus&&g.current&&g.current.focus()}),[]),e(ye,{category:he.Display,_base:c,className:"v-validity v-textarea",children:n(et,{cross:Fe.Top,gap:"0.6em",children:[t.icon,e(be,{children:e("textarea",W({ref:g},l,{id:t.id?t.id:t.name,value:o?t.valueHook:f.value,onChange:function(e){t.onChange&&t.onChange(e),a?a(e.target.value):p({value:e.target.value})}}))})]})})},VTextBox:Xt,VTheme:function(t){var n=t.category,r=t.area,o=t.theme,a=j(t,["category","area","theme"]),i=ke(W({id:r},a));return h((function(){var e;n==on.Area?r&&(e=document.getElementById(r)):e=document.documentElement,e&&(Object.keys(o.colors).forEach((function(t){e.style.setProperty("".concat(cn,"color-").concat(t),o.colors[t])})),Object.keys(o.fontSizes).forEach((function(t){e.style.setProperty("".concat(cn).concat(t),o.fontSizes[t])})),Object.keys(o.fontWeights).forEach((function(t){e.style.setProperty("".concat(cn).concat(t),o.fontWeights[t])})))}),[]),n==on.Area?e(ye,{_base:i,className:"v-theme",children:t.children}):e(Se,{backgroundColor:L.Error,caption:"[VTheme] No Area!"})},VTime:function(t){return e(dt,W({type:"time",isDefaultValue:!0},t))},VTooltip:function(t){var n,r=t.category,o=t.dockCategory,a=t.dockAlignment,i=t.renderOverlay,c=j(t,["category","dockCategory","dockAlignment","renderOverlay"]),l=ke(c),u=s({isShow:!1}),d=u[0],f=u[1],h=p();return n=r||ln.Hover,e(ye,{_base:l,className:"v-tooltip",children:e(Re,{category:o,alignment:a,renderOverlay:function(){return d.isShow?e(be,{role:"tooltip",id:h,children:i()}):e(be,{className:"v-tooltip-overlay-fragment","aria-hidden":!0})},children:e(be,{"aria-describedby":d.isShow?h:void 0,onClick:function(){n==ln.Click&&f({isShow:!d.isShow})},onMouseEnter:function(){n==ln.Hover&&f({isShow:!0})},onMouseLeave:function(){n==ln.Hover&&f({isShow:!1})},onFocus:function(){n==ln.Hover&&f({isShow:!0})},onBlur:function(){n==ln.Hover&&f({isShow:!1})},children:t.children})})})},VTree:function(t){var n=t.rootNode,r=t.isExpand,o=t.expandIcon,a=t.collapseIcon,i=j(t,["rootNode","isExpand","expandIcon","collapseIcon"]),c=ke(i);return e(ye,{_base:c,className:"v-tree",children:e(En,{node:n,isExpand:r,expandIcon:o,collapseIcon:a})})},VUrl:function(t){return e(dt,W({inheritClassName:"v-url",isDefaultValue:!0,type:"url"},t))},VVideo:function(t){t.sources;var n=j(t,["sources"]),r=ke(n),o=r.getProps("video").html;return e("video",W({className:r.getClassName("v-label"),style:r.getStyle(),controls:!0},o,{children:t.sources.map((function(t,n){return e("source",{src:t.src,type:t.type},"source".concat(n))}))}))},VWeek:function(t){return e(dt,W({type:"week",isDefaultValue:!0},t))},VZone:function(t){var n=t.category,r=j(t,["category"]),o=ke(r);return e(ye,{_base:o,className:"v-zone-".concat(n),children:t.children})},get ViewSizeType(){return U},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:Ze,XAround:function(e){return Je(e,void 0,void 0,(function(){return Pe.SpaceAround}))},XAutoBoth:Ke,XAutoCenter:Qe,XAutoLeft:$e,XAutoLefts:function(t){var n=ke(t);return Je(t,(function(t,r,a,i){return r==o.count(n.getChildren())-1?e(Ve,{grow:0,alignSelf:a,shrink:i,children:t}):e(Ve,{grow:1,alignSelf:a,shrink:i,children:t})}))},XAutoRight:et,XAutoRights:function(t){return Je(t,(function(t,n,r,o){return e(Ve,0==n?{grow:0,alignSelf:r,shrink:o,children:t}:{grow:1,alignSelf:r,shrink:o,children:t})}))},XBetween:tt,XCenter:nt,get XCrossType(){return Fe},XCustom:function(t){return Je(t,(function(n,r,o,a){var i=e(Ve,{shrink:a,children:n});return t.basises&&r<t.basises.length&&(i=e(Ve,{basis:t.basises[r],shrink:a,children:n})),i}))},XCustomBoth:function(t){var n=ke(t);return Je(t,(function(r,a,i,c){return 0==a||a==o.count(n.getChildren())-1?e(Ve,{basis:t.basis,shrink:c,children:r}):e(Ve,{grow:1,shrink:c,children:r})}))},XEvenly:function(e){return Je(e,void 0,void 0,(function(){return Pe.SpaceEvenly}))},XLeft:rt,XRight:function(e){return Je(e,void 0,void 0,(function(){return Pe.End}))},XWrapAround:function(e){return Je(e,void 0,(function(){return Be.Wrap}),void 0,(function(){return Le.SpaceAround}))},XWrapBetween:function(e){return Je(e,void 0,(function(){return Be.Wrap}),void 0,(function(){return Le.SpaceBetween}))},XWrapBottom:function(e){return Je(e,void 0,(function(){return Be.Wrap}),void 0,(function(){return Le.End}))},XWrapEvenly:function(e){return Je(e,void 0,(function(){return Be.Wrap}),void 0,(function(){return Le.SpaceEvenly}))},XWrapMiddle:function(e){return Je(e,void 0,(function(){return Be.Wrap}),void 0,(function(){return Le.Center}))},XWrapTop:function(e){return Je(e,void 0,(function(){return Be.Wrap}),void 0,(function(){return Le.Start}))},Y:it,YAround:function(e){return at(e,void 0,void 0,void 0,(function(){return Pe.SpaceAround}))},YAutoBoth:function(t){var n=ke(t);return at(t,(function(t,r,a,i){return 0!=r&&r!=o.count(n.getChildren())-1?e(Ve,{grow:0,alignSelf:a,shrink:i,children:t}):e(Ve,{grow:1,alignSelf:a,shrink:i,children:t})}))},YAutoBottom:function(t){var n=ke(t);return at(t,(function(t,r,a,i){return r==o.count(n.getChildren())-1?e(Ve,{grow:1,shrink:i,children:t}):e(Ve,{grow:0,shrink:i,children:t})}))},YAutoBottoms:function(t){return at(t,(function(t,n,r,o){return e(Ve,0==n?{grow:0,alignSelf:r,shrink:o,children:t}:{grow:1,alignSelf:r,shrink:o,children:t})}))},YAutoCenter:function(t){var n=ke(t);return at(t,(function(t,r,a,i){return 0!=r&&r!=o.count(n.getChildren())-1?e(Ve,{grow:1,alignSelf:a,shrink:i,children:t}):e(Ve,{grow:0,alignSelf:a,shrink:i,children:t})}))},YAutoTop:function(t){return at(t,(function(t,n,r,o){return e(Ve,0==n?{grow:1,alignSelf:r,shrink:o,children:t}:{grow:0,alignSelf:r,shrink:o,children:t})}))},YAutoTops:function(t){var n=ke(t);return at(t,(function(t,r,a,i){return r==o.count(n.getChildren())-1?e(Ve,{grow:0,alignSelf:a,shrink:i,children:t}):e(Ve,{grow:1,alignSelf:a,shrink:i,children:t})}))},YBetween:function(e){return at(e,void 0,void 0,void 0,(function(){return Pe.SpaceBetween}))},YBottom:function(e){return at(e,void 0,void 0,void 0,(function(){return Pe.End}))},get YCrossType(){return qe},YCustom:function(t){return at(t,(function(n,r,o,a){var i=e(Ve,{shrink:a,children:n});return t.basises&&r<t.basises.length&&(i=e(Ve,{basis:t.basises[r],shrink:a,children:n})),i}))},YCustomBoth:function(t){var n=ke(t);return at(t,(function(r,a,i,c){return 0==a||a==o.count(n.getChildren())-1?e(Ve,{basis:t.basis,shrink:c,children:r}):e(Ve,{grow:1,shrink:c,children:r})}))},YEvenly:function(e){return at(e,void 0,void 0,void 0,(function(){return Pe.SpaceEvenly}))},YMiddle:ct,YTop:function(e){return at(e,void 0,void 0,void 0,(function(){return Pe.Start}))},YWrapAround:function(e){return at(e,void 0,(function(){return Be.Wrap}),(function(){return Le.SpaceAround}),void 0)},YWrapBetween:function(e){return at(e,void 0,(function(){return Be.Wrap}),(function(){return Le.SpaceBetween}))},YWrapCenter:function(e){return at(e,void 0,(function(){return Be.Wrap}),(function(){return Le.Center}))},YWrapEvenly:function(e){return at(e,void 0,(function(){return Be.Wrap}),(function(){return Le.SpaceEvenly}))},YWrapLeft:function(e){return at(e,void 0,(function(){return Be.Wrap}),(function(){return Le.Start}))},YWrapRight:function(e){return at(e,void 0,(function(){return Be.Wrap}),(function(){return Le.End}))},get ZoneCategory(){return Ce},convertFormDataToJson:st,getGeneratedClassName:oe,parseJWT:function(e){var t={},n=v(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}}),On=function(e){Dn.getInstance().initialize(e)},Dn=function(){function e(){this._initialized=!1,this._options={getToken:function(){return""},getAppSettings:function(){return{endpoint:{PROTOCOL:"https",HOST:"localhost",PORT:4e3,BASEPATH:"graphql"}}},getLanguages:function(){return{}},handleIsNotSuccessful:function(){},handleError:function(){},handleNetworkError:function(){},isDebug:!1}}return e.getInstance=function(){return e.instance||(e.instance=new e),e.instance},Object.defineProperty(e.prototype,"options",{get:function(){return this._initialized||console.warn("[BootClass] Accessing options before initialization. Please ensure <Boot> component is rendered or boot() is called first."),this._options},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"isInitialized",{get:function(){return this._initialized},enumerable:!1,configurable:!0}),e.prototype.initialize=function(e){if(this._initialized)console.warn("[BootClass] Already initialized. Ignoring subsequent initialization attempt.");else{if(!e)throw new Error("[BootClass] Options cannot be null or undefined.");if("function"!=typeof e.getToken)throw new Error("[BootClass] getToken must be a function.");if("function"!=typeof e.getAppSettings)throw new Error("[BootClass] getAppSettings must be a function.");if("function"!=typeof e.getLanguages)throw new Error("[BootClass] getLanguages must be a function.");if("function"!=typeof e.handleIsNotSuccessful)throw new Error("[BootClass] handleIsNotSuccessful must be a function.");if("function"!=typeof e.handleError)throw new Error("[BootClass] handleError must be a function.");if("function"!=typeof e.handleNetworkError)throw new Error("[BootClass] handleNetworkError must be a function.");this._options=Object.freeze(W({},e)),this._initialized=!0}},e.resetForTesting=function(){"test"===process.env.NODE_ENV&&(e.instance=void 0)},e}(),Bn=Object.freeze({__proto__:null,Boot:function(t){return On(t.options),e(be,{className:"root-fragment"})},BootClass:Dn,boot:On}),Pn=y(),Nn=new Map,Ln=function(){return"undefined"!=typeof navigator?navigator.language:"en"},Rn=function(){return Ln().split("-")[0]},zn=Object.freeze({__proto__:null,getBrowserLang:Rn,getBrowserLangFull:Ln,getIntlMessage:function(e,t,n){var r=Dn.getInstance().options.getLanguages(t),o=t||"en",a=o,i=Nn.get(a);return i||(i=b({locale:o,messages:r},Pn),Nn.set(a,i)),i.formatMessage({id:e},n)},language:function(e,t){return e[t||Rn()]},languageFull:function(e,t){return e[t||Ln()]}}),An={},Fn={accept:"application/json","content-type":"application/json"},Vn=function(e){return e?e.replace(/^\/+|\/+$/g,""):""},Hn=function(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];return e.filter((function(e){return e})).map((function(e){return Vn(e)})).filter((function(e){return e})).join("/")},Un=function(e){var t=Dn.getInstance().options.getAppSettings(),n=Vn(t.endpoint.BASEPATH),r=Vn(e),o=Hn(n,r);return"".concat(t.endpoint.PROTOCOL,"://").concat(t.endpoint.HOST).concat(t.endpoint.PORT?":"+t.endpoint.PORT:"").concat(o?"/"+o:"")},Wn=function(e,t){var n=Dn.getInstance().options.getAppSettings();if(!n[e])throw new Error("[Network] External endpoint '".concat(e,"' not found in appSettings."));var r=Vn(n[e].BASEPATH),o=Vn(t),a=Hn(r,o);return"".concat(n[e].PROTOCOL,"://").concat(n[e].HOST).concat(n[e].PORT?":"+n[e].PORT:"").concat(a?"/"+a:"")},jn=function(e){var t,n,r=e||Fn,o=Dn.getInstance().options.getToken(),a=null===(n=(t=Dn.getInstance().options).getHeaders)||void 0===n?void 0:n.call(t);if(o&&o.length>0&&(r=W(W({},r),{authorization:"Bearer ".concat(o)})),a&&(r=W(W({},r),a)),Dn.getInstance().options.isDebug){var i=W({},r);"authorization"in i&&(i.authorization="Bearer [REDACTED]"),console.debug(JSON.stringify(i))}return r},Mn=function(e,t,n,r,o,a){fetch(e,{method:t,headers:jn(n),body:a}).then((function(e){r(e)})).catch((function(e){o(e)}))},Gn=function(e,t,n,r){return fetch(e,{method:t,headers:jn(n),body:r})},Xn=function(e,t,n,r,o,a){Mn(Un(e),t,n,r,o,a)},Yn=function(e,t,n,r){return Gn(Un(e),t,n,r)},qn=function(e,t,n,r,o,a,i){Mn(Wn(e,t),n,r,o,a,i)},Jn=function(e,t,n,r,o){return Gn(Wn(e,t),n,r,o)},Zn=function(e){if("undefined"==typeof WebSocket)throw new Error("[Network] WebSocket is not available in this environment.");var t;return t=e.external?"".concat(Wn(e.external)).concat(e.query):"".concat(Un()).concat(e.query),new WebSocket(t,e.protocols)},Kn=function(e){function t(t,n){var r=e.call(this)||this;return r.subPath=t,r.processAction=n,r}return N(t,e),t.prototype.shouldRetryError=function(e){if(e instanceof O){var t=e.status;return!(t>=400&&t<500)}if(e instanceof Response){var n=e.status;return!(n>=400&&n<500)}return e instanceof TypeError||"TypeError"===(null==e?void 0:e.name)||"AbortError"===(null==e?void 0:e.name)||"ECONNREFUSED"===(null==e?void 0:e.code)||"ECONNRESET"===(null==e?void 0:e.code)||"ETIMEDOUT"===(null==e?void 0:e.code)||"ENOTFOUND"===(null==e?void 0:e.code)},t.prototype.getUrl=function(e){return e?Wn(e,this.subPath):Un(this.subPath)},t.prototype.getHeader=function(e){return jn(e)},t.prototype.getTextHeader=function(){var e,t,n,r=Dn.getInstance().options.getToken(),o=null===(t=(e=Dn.getInstance().options).getHeaders)||void 0===t?void 0:t.call(e);if(n=r&&r.length>0?W(W({},An),{authorization:"Bearer ".concat(r)}):W({},An),o&&(n=W(W({},n),o)),Dn.getInstance().options.isDebug){var a=W({},n);a.authorization&&(a.authorization="Bearer [REDACTED]"),console.debug(JSON.stringify(a))}return n},t.prototype.pipeline=function(e){var t=this;if(this.processAction){var n=this.processAction;return e.pipe(_((function(e){if(Dn.getInstance().options.isDebug&&console.debug(e),"xhr"in e){var t=e.response;return w(t||{})}return e.json()})),T((function(e){if("string"==typeof e)return n(e);var r=t.parseResponse(e);if(!("isSuccessful"in r)){var o=Dn.getInstance().options.handleWarning;return o&&o({summary:"isSuccessful: not boolean;",data:r}),n(r)}if(r.isSuccessful)return n(r.payload);Dn.getInstance().options.handleIsNotSuccessful(r)})),E({count:3,delay:function(e,n){if(!t.shouldRetryError(e))return C((function(){return e}));var r=1e3*Math.pow(2,n-1);return Dn.getInstance().options.isDebug&&console.debug("Retrying request (attempt ".concat(n,"/3) after ").concat(r,"ms"),e),S(r)}}),I((function(e){return Dn.getInstance().options.handleNetworkError({summary:"Network Issue",data:e}),k})))}return e},t}(x),Qn=function(e){if(e.errors){Dn.getInstance().options.handleError({summary:"GQL Error",data:e.errors});var t=[];return e.errors.forEach((function(e){t.push(e.message)})),{isSuccessful:!1,errorCode:"GRAPHQL_ERROR",errorMessage:t.join(";")}}var n=Object.keys(e.data);return 1==n.length?e.data[n[0]]:n.map((function(t){return e.data[t]}))},$n=function(e){return e},er=function(e){return e},tr=function(e){var t=typeof e;if("object"==t){var n="",r=Object.keys(e);return r.forEach((function(t,o){var a=o==r.length-1?"":",",i=e[t],c=typeof i;if("object"==c)Array.isArray(i)?(n+="".concat(t,":["),i.forEach((function(e,t){var r=t==i.length-1?"":",";n+="".concat(tr(e)).concat(r)})),n+="]\n"):n+="".concat(t,":").concat(tr(i)).concat(a,"\n");else if("string"==c)if(i.startsWith("#"))n+="".concat(t,":").concat(i.replace("#","")).concat(a,"\n");else{var l=i.replace(/\\/g,"\\\\").replace(/"/g,'\\"');n+="".concat(t,':"').concat(l,'"').concat(a,"\n")}else n+="".concat(t,":").concat(i).concat(a,"\n")})),"{\n ".concat(n,"\n }")}if("string"==t){if(e.startsWith("#"))return"".concat(e.replace("#",""));var o=e.replace(/\\/g,"\\\\").replace(/"/g,'\\"');return'"'.concat(o,'"')}return"".concat(e)},nr=function(e){function t(t,n){return e.call(this,t,n)||this}return N(t,e),t.prototype.parseResponse=function(e){return e},t}(Kn),rr=function(e){function t(t,n){var r=e.call(this,t,n)||this;return r.pipeline(D.delete(r.getUrl(),r.getHeader()))}return N(t,e),t}(nr),or=function(e){function t(t,n,r){var o=e.call(this,t,r)||this;return o.external=n,o}return N(t,e),t.prototype.parseResponse=function(e){return e},t}(Kn),ar=function(e){function t(t,n,r){var o=e.call(this,t,n,r)||this;return o.pipeline(D.delete(o.getUrl(o.external),o.getHeader()))}return N(t,e),t}(or),ir=function(e){function t(t,n,r){var o=e.call(this,t,n,r)||this;return o.pipeline(D.get(o.getUrl(o.external),o.getHeader()))}return N(t,e),t}(or),cr=function(e){function t(t,n,r,o){var a=e.call(this,t,n,o)||this;return a.pipeline(D.patch(a.getUrl(a.external),r,a.getHeader()))}return N(t,e),t}(or),lr=function(e){function t(t,n,r,o){var a=e.call(this,t,n,o)||this;return a.pipeline(D.post(a.getUrl(a.external),r,a.getHeader()))}return N(t,e),t}(or),sr=function(e){function t(t,n,r,o){var a=e.call(this,t,n,o)||this;return a.pipeline(D.put(a.getUrl(a.external),r,a.getHeader()))}return N(t,e),t}(or),ur=function(e){function t(t,n){return e.call(this,t,n)||this}return N(t,e),t.prototype.parseResponse=function(e){return Qn(e)},t}(Kn),dr=function(e){function t(t,n){var r=e.call(this,"graphql",n)||this;return r.pipeline(D.post(r.getUrl(),t,r.getHeader()))}return N(t,e),t}(ur),fr=function(e){function t(t,n,r){var o=e.call(this,t,r)||this;return o.external=n,o}return N(t,e),t.prototype.parseResponse=function(e){return Qn(e)},t}(Kn),hr=function(e){function t(t,n,r){var o=e.call(this,"graphql",n,r)||this;return o.pipeline(D.post(o.getUrl(o.external),t,o.getHeader()))}return N(t,e),t}(fr),pr={},gr=function(e){function t(t,n){var r=e.call(this,"graphql",n)||this;return r.pipeline(D.post(r.getUrl(),t,r.getHeader(pr)))}return N(t,e),t}(ur),mr=function(e){function t(t,n,r){var o=e.call(this,"graphql",n,r)||this;return o.pipeline(D.post(o.getUrl(n),t,o.getHeader(pr)))}return N(t,e),t}(fr),vr=function(e){function t(t,n){var r=e.call(this,t,n)||this;return r.pipeline(D.get(r.getUrl(),r.getHeader()))}return N(t,e),t}(nr),yr=function(e){function t(t,n){var r=e.call(this,t,n)||this,o="".concat(location.origin,"/").concat(t);return r.pipeline(D.get(o,r.getHeader()))}return N(t,e),t}(nr),br=function(e){function t(t,n,r){var o=e.call(this,t,r)||this;return o.pipeline(D.patch(o.getUrl(),n,o.getHeader()))}return N(t,e),t}(nr),wr=function(e){function t(t,n,r){var o=e.call(this,t,r)||this;return o.pipeline(D.post(o.getUrl(),n,o.getHeader()))}return N(t,e),t}(nr),Cr=function(e){function t(t,n,r){var o=e.call(this,t,r)||this;return o.pipeline(D.put(o.getUrl(),n,o.getHeader()))}return N(t,e),t}(nr),Sr=function(e){function t(t,n){return e.call(this,t,n)||this}return N(t,e),t.prototype.parseResponse=function(e){return e},t}(Kn),kr=function(e){function t(t,n){var r=e.call(this,t,n)||this;return r.pipeline(B(r.getUrl(),{method:"GET",headers:r.getHeader()}))}return N(t,e),t}(Sr),xr=function(e){function t(t,n,r){var o=e.call(this,t,r)||this;return o.external=n,o}return N(t,e),t.prototype.parseResponse=function(e){return e},t}(Kn),_r=function(e){function t(t,n,r){var o=e.call(this,t,n,r)||this;return o.pipeline(B(o.getUrl(o.external),{method:"GET",headers:o.getHeader()}))}return N(t,e),t}(xr),Tr=function(e){function t(t,n){var r=e.call(this,t,n)||this;return r.pipeline(B(r.getUrl(),{method:"POST",headers:r.getHeader()}))}return N(t,e),t}(Sr),Er=function(e){function t(t,n,r){var o=e.call(this,t,n,r)||this;return o.pipeline(B(o.getUrl(o.external),{method:"POST",headers:o.getHeader()}))}return N(t,e),t}(xr),Ir=function(e){function t(t,n){var r=e.call(this,t,n)||this;return r.pipeline(B(r.getUrl(),{method:"PUT",headers:r.getHeader()}))}return N(t,e),t}(Sr),Or=function(e){function t(t,n,r){var o=e.call(this,t,n,r)||this;return o.pipeline(B(o.getUrl(o.external),{method:"PUT",headers:o.getHeader()}))}return N(t,e),t}(xr),Dr=function(e){function t(t,n){var r=e.call(this,t,n)||this;return r.pipeline(B(r.getUrl(),{method:"PATCH",headers:r.getHeader()}))}return N(t,e),t}(Sr),Br=function(e){function t(t,n,r){var o=e.call(this,t,n,r)||this;return o.pipeline(B(o.getUrl(o.external),{method:"PATCH",headers:o.getHeader()}))}return N(t,e),t}(xr),Pr=function(e){function t(t,n){var r=e.call(this,t,n)||this;return r.pipeline(B(r.getUrl(),{method:"DELETE",headers:r.getHeader()}))}return N(t,e),t}(Sr),Nr=function(e){function t(t,n,r){var o=e.call(this,t,n,r)||this;return o.pipeline(B(o.getUrl(o.external),{method:"DELETE",headers:o.getHeader()}))}return N(t,e),t}(xr),Lr=function(e){function t(t,n,r,o){var a=e.call(this)||this;return a.subPath=t,a.processAction=n,a.errorHandler=r,a.doneHandler=o,a}return N(t,e),t.prototype.getHeader=function(e){return jn(e)},t.prototype.getUrl=function(e){return e?Wn(e,this.subPath):Un(this.subPath)},t.prototype.pipeline=function(e,t,n){var r=this;return new x((function(o){fetch(e,{method:t,headers:{Accept:"text/event-stream",Connection:"keep-alive","Content-Type":"application/json"},body:JSON.stringify(n)}).then((function(e){return M(r,void 0,void 0,(function(){var t,n,r;return G(this,(function(a){switch(a.label){case 0:if(!e.body)return[3,3];t=e.body.pipeThrough(new TextDecoderStream).getReader(),a.label=1;case 1:return[4,t.read()];case 2:return n=a.sent(),r=n.value,n.done?(this.doneHandler&&this.doneHandler(),[3,3]):(this.processAction(r),[3,1]);case 3:return o.next(e.body),o.complete(),[2]}}))}))})).catch((function(e){r.errorHandler(e),o.error(e)}))}))},t}(x),Rr=function(e){function t(t,n,r,o){return e.call(this,t,n,r,o)||this}return N(t,e),t}(Lr),zr=function(e){function t(t,n,r,o){var a=e.call(this,t,n,r,o)||this;return a.pipeline(a.getUrl(),"GET")}return N(t,e),t}(Rr),Ar=function(e){function t(t,n,r,o,a){var i=e.call(this,t,r,o,a)||this;return i.pipeline(i.getUrl(),"POST",n)}return N(t,e),t}(Rr),Fr=function(e){function t(t,n,r,o,a){var i=e.call(this,t,r,o,a)||this;return i.external=n,i}return N(t,e),t}(Lr),Vr=function(e){function t(t,n,r,o,a){var i=e.call(this,t,n,r,o,a)||this;return i.pipeline(i.getUrl(i.external),"GET")}return N(t,e),t}(Fr),Hr=function(e){function t(t,n,r,o,a,i){var c=e.call(this,t,n,o,a,i)||this;return c.pipeline(c.getUrl(c.external),"POST",r)}return N(t,e),t}(Fr),Ur=function(e){function t(t,n,r){var o=e.call(this,t,r)||this;return o.pipeline(D({url:o.getUrl(),method:"POST",body:n,headers:o.getTextHeader(),responseType:"text"}))}return N(t,e),t}(nr),Wr=function(e){function t(t,n,r,o){var a=e.call(this,t,n,o)||this;return a.pipeline(D({url:a.getUrl(a.external),method:"POST",body:r,headers:a.getTextHeader(),responseType:"text"}))}return N(t,e),t}(or),jr=function(e){function t(t,n,r){var o=e.call(this,t,r)||this;return o.pipeline(D({url:o.getUrl(),method:"PUT",body:n,headers:o.getTextHeader(),responseType:"text"}))}return N(t,e),t}(nr),Mr=function(e){function t(t,n,r,o){var a=e.call(this,t,n,o)||this;return a.pipeline(D({url:a.getUrl(a.external),method:"PUT",body:r,headers:a.getTextHeader(),responseType:"text"}))}return N(t,e),t}(or),Gr=function(e){function t(t,n,r){var o=e.call(this,t,r)||this;return o.pipeline(D({url:o.getUrl(),method:"PATCH",body:n,headers:o.getTextHeader(),responseType:"text"}))}return N(t,e),t}(nr),Xr=function(e){function t(t,n,r,o){var a=e.call(this,t,n,o)||this;return a.pipeline(D({url:a.getUrl(a.external),method:"PATCH",body:r,headers:a.getTextHeader(),responseType:"text"}))}return N(t,e),t}(or),Yr=function(e){function t(t,n){var r=e.call(this,t,n)||this;return r.pipeline(D({url:r.getUrl(),method:"GET",headers:r.getTextHeader(),responseType:"text"}))}return N(t,e),t}(nr),qr=function(e){function t(t,n,r){var o=e.call(this,t,n,r)||this;return o.pipeline(D({url:o.getUrl(o.external),method:"GET",headers:o.getTextHeader(),responseType:"text"}))}return N(t,e),t}(or),Jr=function(e){function t(t,n){var r=e.call(this,t,n)||this;return r.pipeline(D({url:r.getUrl(),method:"DELETE",headers:r.getTextHeader(),responseType:"text"}))}return N(t,e),t}(nr),Zr=function(e){function t(t,n,r){var o=e.call(this,t,n,r)||this;return o.pipeline(D({url:o.getUrl(o.external),method:"DELETE",headers:o.getTextHeader(),responseType:"text"}))}return N(t,e),t}(or),Kr=function(){function e(e){this.websocket=Zn(e)}return e.prototype.send=function(e){this.websocket.send(e)},e.prototype.receive=function(e){this.websocket.onmessage=e},e.prototype.open=function(e){this.websocket.onopen=e},e.prototype.close=function(e){this.websocket.onclose=e},e.prototype.handleError=function(e){this.websocket.onerror=e},e}(),Qr=Object.freeze({__proto__:null,Delete:rr,DeleteExternal:ar,DeleteFetch:Pr,DeleteFetchExternal:Nr,DeleteText:Jr,DeleteTextExternal:Zr,GQL:dr,GQLExternal:hr,GQLExternalUpload:mr,GQLUpload:gr,Get:vr,GetExternal:ir,GetFetch:kr,GetFetchExternal:_r,GetLocal:yr,GetSSE:zr,GetSSEExternal:Vr,GetText:Yr,GetTextExternal:qr,JsonHeaders:Fn,NetworkObservableAjax:nr,NetworkObservableAjaxExternal:or,NetworkObservableGQL:ur,Patch:br,PatchExternal:cr,PatchFetch:Dr,PatchFetchExternal:Br,PatchText:Gr,PatchTextExternal:Xr,Post:wr,PostExternal:lr,PostFetch:Tr,PostFetchExternal:Er,PostSSE:Ar,PostSSEExternal:Hr,PostText:Ur,PostTextExternal:Wr,Put:Cr,PutExternal:sr,PutFetch:Ir,PutFetchExternal:Or,PutText:jr,PutTextExternal:Mr,WS:Kr,_verbsDelete:function(e,t,n,r){Mn(e,"DELETE",t,n,r)},_verbsDeletePromise:function(e,t){return Gn(e,"DELETE",t)},_verbsGet:function(e,t,n,r){Mn(e,"GET",t,n,r)},_verbsGetPromise:function(e,t){return Gn(e,"GET",t)},_verbsPatch:function(e,t,n,r,o){Mn(e,"PATCH",t,r,o,n)},_verbsPatchPromise:function(e,t,n){return Gn(e,"PATCH",t,n)},_verbsPost:function(e,t,n,r,o){Mn(e,"POST",t,r,o,n)},_verbsPostPromise:function(e,t,n){return Gn(e,"POST",t,n)},_verbsPut:function(e,t,n,r,o){Mn(e,"PUT",t,r,o,n)},_verbsPutPromise:function(e,t,n){return Gn(e,"PUT",t,n)},buildExternalUrl:Wn,buildHeaders:jn,buildUrl:Un,convertJsonToGraphQLSchema:tr,parseAjaxData:$n,parseFetchData:er,parseGQLAjaxData:Qn,verbsDelete:function(e,t,n,r){Xn(e,"DELETE",t,n,r)},verbsDeleteExternal:function(e,t,n,r,o){qn(e,t,"DELETE",n,r,o)},verbsDeletePromise:function(e,t){return Yn(e,"DELETE",t)},verbsDeletePromiseExternal:function(e,t,n){return Jn(e,t,"DELETE",n)},verbsGet:function(e,t,n,r){Xn(e,"GET",t,n,r)},verbsGetExternal:function(e,t,n,r,o){qn(e,t,"GET",n,r,o)},verbsGetPromise:function(e,t){return Yn(e,"GET",t)},verbsGetPromiseExternal:function(e,t,n){return Jn(e,t,"GET",n)},verbsPatch:function(e,t,n,r,o){Xn(e,"PATCH",t,r,o,n)},verbsPatchExternal:function(e,t,n,r,o,a){qn(e,t,"PATCH",n,o,a,r)},verbsPatchPromise:function(e,t,n){return Yn(e,"PATCH",t,n)},verbsPatchPromiseExternal:function(e,t,n,r){return Jn(e,t,"PATCH",n,r)},verbsPost:function(e,t,n,r,o){Xn(e,"POST",t,r,o,n)},verbsPostExternal:function(e,t,n,r,o,a){qn(e,t,"POST",n,o,a,r)},verbsPostPromise:function(e,t,n){return Yn(e,"POST",t,n)},verbsPostPromiseExternal:function(e,t,n,r){return Jn(e,t,"POST",n,r)},verbsPut:function(e,t,n,r,o){Xn(e,"PUT",t,r,o,n)},verbsPutExternal:function(e,t,n,r,o,a){qn(e,t,"PUT",n,o,a,r)},verbsPutPromise:function(e,t,n){return Yn(e,"PUT",t,n)},verbsPutPromiseExternal:function(e,t,n,r){return Jn(e,t,"PUT",n,r)},ws:Zn}),$r=Object.freeze({__proto__:null});!function(e){e.Components=In,e.FewBox=Bn,e.Language=zn,e.Network=Qr,e.Store=$r}(_n||(_n={}));export{_n as Den};
2
+ //# sourceMappingURL=index.js.map