@nside/wefa 0.4.3 → 0.4.5

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 (139) hide show
  1. package/README.md +1 -1
  2. package/dist/LegalConsent-BxOWAO0s.js +126 -0
  3. package/dist/LegalConsent-ChW-GYBv.cjs +1 -0
  4. package/dist/LegalDocument-BM4HLw9A.js +1580 -0
  5. package/dist/LegalDocument-hhYW9BBO.cjs +114 -0
  6. package/dist/LoginView-BpDNpbMQ.cjs +1 -0
  7. package/dist/LoginView-bUKvV6JV.js +17 -0
  8. package/dist/LogoutView-BrAt0b2J.js +16 -0
  9. package/dist/LogoutView-D7D3LcfL.cjs +1 -0
  10. package/dist/angledown-DgMf_Vjv.cjs +2 -0
  11. package/dist/angledown-igq2UW-u.js +46 -0
  12. package/dist/badge-2r_VjcsG.js +102 -0
  13. package/dist/badge-DPwocFJ8.cjs +76 -0
  14. package/dist/basecomponent-CGerMr_k.cjs +146 -0
  15. package/dist/basecomponent-CRTLSsqZ.js +1278 -0
  16. package/dist/baseeditableholder-BEn83TQE.js +126 -0
  17. package/dist/baseeditableholder-Q1_XheNU.cjs +1 -0
  18. package/dist/baseicon-Ct8wtBEp.cjs +34 -0
  19. package/dist/baseicon-DdvhP0UT.js +90 -0
  20. package/dist/baseinput-B6KUYtrd.js +37 -0
  21. package/dist/baseinput-D8710HSg.cjs +1 -0
  22. package/dist/bff/openapi.yaml +7 -0
  23. package/dist/button-M3QREAcT.cjs +651 -0
  24. package/dist/button-xI3Wu15Z.js +311 -0
  25. package/dist/calendar-B8nJAQne.js +2891 -0
  26. package/dist/calendar-CW9WbT3C.cjs +477 -0
  27. package/dist/card-BXosepCe.js +57 -0
  28. package/dist/card-Db30JagR.cjs +32 -0
  29. package/dist/check-BYTdkWQh.js +46 -0
  30. package/dist/check-D4kxzECF.cjs +2 -0
  31. package/dist/checkbox-BIDoCr_X.cjs +142 -0
  32. package/dist/checkbox-TAWN7HJG.js +323 -0
  33. package/dist/chevrondown-DLIH6sRy.cjs +2 -0
  34. package/dist/chevrondown-v3qKRLEG.js +46 -0
  35. package/dist/chevronleft-DMbyAEgw.cjs +2 -0
  36. package/dist/chevronleft-dQlHS1Vs.js +46 -0
  37. package/dist/chevronright-B3qtGWZb.js +46 -0
  38. package/dist/chevronright-BisalZVe.cjs +2 -0
  39. package/dist/chip-CBoKYRL5.js +107 -0
  40. package/dist/chip-CLwNi1p_.cjs +54 -0
  41. package/dist/chunk-BK-Lzi7j.cjs +1 -0
  42. package/dist/chunk-DgQ9yJBH.js +17 -0
  43. package/dist/classnames-4RuV7Ryo.js +19 -0
  44. package/dist/classnames-DqVQ5xbt.cjs +1 -0
  45. package/dist/containers.cjs +23 -26
  46. package/dist/containers.d.ts +0 -116
  47. package/dist/containers.js +4476 -5541
  48. package/dist/focustrap-BhHF6zvb.js +558 -0
  49. package/dist/focustrap-C_v0dFmU.cjs +152 -0
  50. package/dist/inputnumber-CvuB8fHc.cjs +195 -0
  51. package/dist/inputnumber-UfGZdwk2.js +983 -0
  52. package/dist/inputtext-B-iUN1cV.js +108 -0
  53. package/dist/inputtext-D2Ay4aYr.cjs +79 -0
  54. package/dist/legalConsent-B3erdrHX.cjs +1 -0
  55. package/dist/legalConsent-kc_KWyR6.js +66 -0
  56. package/dist/lib.cjs +1331 -1
  57. package/dist/lib.d.ts +0 -728
  58. package/dist/lib.js +22977 -35
  59. package/dist/locales-4eL4-K7f.js +3168 -0
  60. package/dist/locales-DzyBr_JU.cjs +5 -0
  61. package/dist/markdown-Cb6J3R4j.js +28 -0
  62. package/dist/markdown-Dxqg6Ggd.cjs +1 -0
  63. package/dist/network-DD_yGfK6.js +2404 -0
  64. package/dist/network-uPe9-HeS.cjs +9 -0
  65. package/dist/network.cjs +1 -1
  66. package/dist/network.d.ts +0 -103
  67. package/dist/network.js +2 -48
  68. package/dist/portal-BbZw4bN9.js +265 -0
  69. package/dist/portal-pIcEXWz1.cjs +2 -0
  70. package/dist/{index-EDm9-cRY.cjs → progressbar-BPR5tRX7.cjs} +2 -2
  71. package/dist/progressbar-CzckKCUr.js +96 -0
  72. package/dist/rating-DsIxcJXU.js +332 -0
  73. package/dist/rating-HfRWRXuI.cjs +61 -0
  74. package/dist/ripple-CoTE8rF8.js +501 -0
  75. package/dist/ripple-UYfqtU0m.cjs +24 -0
  76. package/dist/router-CR-sxf1q.js +34 -0
  77. package/dist/router-qXH6kffG.cjs +1 -0
  78. package/dist/router.cjs +1 -1
  79. package/dist/router.d.ts +0 -54
  80. package/dist/router.js +2 -16
  81. package/dist/select-C05BBcmi.js +2357 -0
  82. package/dist/select-CZouTpLB.cjs +360 -0
  83. package/dist/stores-BAbCgIKW.cjs +1 -0
  84. package/dist/stores-C5CUNzM_.js +203 -0
  85. package/dist/textarea-DUmMHVXf.cjs +84 -0
  86. package/dist/textarea-f6-j7m1N.js +131 -0
  87. package/dist/times--t6-zeg6.js +46 -0
  88. package/dist/times-GcOHYs3E.cjs +2 -0
  89. package/dist/timescircle-CHGzPrwL.cjs +2 -0
  90. package/dist/timescircle-_NJIsGD1.js +48 -0
  91. package/dist/wefa.css +2 -1
  92. package/package.json +36 -34
  93. package/src/components/DashboardComponent/DashboardGroupComponent.vue +1 -1
  94. package/src/components/NetworkButton/__tests__/ApiMutationButton.test.ts +12 -3
  95. package/src/components/NetworkButton/__tests__/ApiQueryButton.test.ts +12 -3
  96. package/src/containers/LayoutContainer/SideNavigationComponent/MainComponent/NavigationLinkComponent.vue +1 -1
  97. package/src/containers/SideMenuContainer/SideMenuContainer.vue +14 -3
  98. package/src/containers/helpers.ts +1 -1
  99. package/src/router/guards.ts +2 -2
  100. package/src/stores/__tests__/backend/jwt.test.ts +6 -6
  101. package/src/stores/__tests__/backend/oauth.test.ts +1 -1
  102. package/src/stores/__tests__/backend/token.test.ts +5 -5
  103. package/src/stores/backend/schemes/jwt.ts +3 -3
  104. package/src/stores/backend/schemes/token.ts +6 -7
  105. package/dist/LegalConsent-DQ7fkgVc.cjs +0 -1
  106. package/dist/LegalConsent-OLyvuzRY.js +0 -151
  107. package/dist/LegalDocument-B-nntRW7.cjs +0 -109
  108. package/dist/LegalDocument-BKebNzIK.js +0 -1330
  109. package/dist/LoginView-DUPa_PsC.js +0 -24
  110. package/dist/LoginView-Dihs8n_X.cjs +0 -1
  111. package/dist/LogoutView-DAh7MrFi.js +0 -19
  112. package/dist/LogoutView-Fl3nfeJ0.cjs +0 -1
  113. package/dist/apiClient-BHDjT0dU.js +0 -928
  114. package/dist/apiClient-Cr0IvG5Z.cjs +0 -1
  115. package/dist/axios-CZvsFspN.js +0 -1887
  116. package/dist/axios-DMqeKDaq.cjs +0 -6
  117. package/dist/index--_rUTrqU.js +0 -1414
  118. package/dist/index-05ASaj7N.cjs +0 -477
  119. package/dist/index-B7hJ2pku.cjs +0 -61
  120. package/dist/index-BHSxFTgZ.js +0 -49
  121. package/dist/index-BaA_oL1s.cjs +0 -32
  122. package/dist/index-Be5h48vc.js +0 -3530
  123. package/dist/index-Becfy0pF.cjs +0 -2
  124. package/dist/index-CPv4agmV.js +0 -400
  125. package/dist/index-CgAb-gZi.js +0 -89
  126. package/dist/index-DFSkcsx-.cjs +0 -943
  127. package/dist/index-DGUVQqZw.js +0 -208
  128. package/dist/index-DRozw3P8.js +0 -167
  129. package/dist/index-DfCQoHSf.cjs +0 -146
  130. package/dist/index-DkuJMEY1.js +0 -6731
  131. package/dist/index-Dv6jyKbT.js +0 -47
  132. package/dist/index-IGN7_cyg.cjs +0 -2
  133. package/dist/index-lFl6UsTa.js +0 -212
  134. package/dist/index-lQmq7gxp.cjs +0 -54
  135. package/dist/index-t0sdL3f2.cjs +0 -84
  136. package/dist/lib-DZzubLGt.js +0 -26376
  137. package/dist/lib-lTzD7ltX.cjs +0 -2104
  138. package/dist/libRoutes-B-H3e9wZ.js +0 -22
  139. package/dist/libRoutes-Cl3TklhN.cjs +0 -1
@@ -0,0 +1,9 @@
1
+ const e=require(`./chunk-BK-Lzi7j.cjs`);let t=require(`vue`);t=e.r(t,1);var n=class{constructor(){this.listeners=new Set,this.subscribe=this.subscribe.bind(this)}subscribe(e){return this.listeners.add(e),this.onSubscribe(),()=>{this.listeners.delete(e),this.onUnsubscribe()}}hasListeners(){return this.listeners.size>0}onSubscribe(){}onUnsubscribe(){}},r=new class extends n{#e;#t;#n;constructor(){super(),this.#n=e=>{if(typeof window<`u`&&window.addEventListener){let t=()=>e();return window.addEventListener(`visibilitychange`,t,!1),()=>{window.removeEventListener(`visibilitychange`,t)}}}}onSubscribe(){this.#t||this.setEventListener(this.#n)}onUnsubscribe(){this.hasListeners()||(this.#t?.(),this.#t=void 0)}setEventListener(e){this.#n=e,this.#t?.(),this.#t=e(e=>{typeof e==`boolean`?this.setFocused(e):this.onFocus()})}setFocused(e){this.#e!==e&&(this.#e=e,this.onFocus())}onFocus(){let e=this.isFocused();this.listeners.forEach(t=>{t(e)})}isFocused(){return typeof this.#e==`boolean`?this.#e:globalThis.document?.visibilityState!==`hidden`}},i={setTimeout:(e,t)=>setTimeout(e,t),clearTimeout:e=>clearTimeout(e),setInterval:(e,t)=>setInterval(e,t),clearInterval:e=>clearInterval(e)},a=new class{#e=i;#t=!1;setTimeoutProvider(e){process.env.NODE_ENV!==`production`&&this.#t&&e!==this.#e&&console.error(`[timeoutManager]: Switching provider after calls to previous provider might result in unexpected behavior.`,{previous:this.#e,provider:e}),this.#e=e,process.env.NODE_ENV!==`production`&&(this.#t=!1)}setTimeout(e,t){return process.env.NODE_ENV!==`production`&&(this.#t=!0),this.#e.setTimeout(e,t)}clearTimeout(e){this.#e.clearTimeout(e)}setInterval(e,t){return process.env.NODE_ENV!==`production`&&(this.#t=!0),this.#e.setInterval(e,t)}clearInterval(e){this.#e.clearInterval(e)}};function o(e){setTimeout(e,0)}var s=typeof window>`u`||`Deno`in globalThis;function c(){}function l(e){return typeof e==`number`&&e>=0&&e!==1/0}function u(e,t){return Math.max(e+(t||0)-Date.now(),0)}function d(e,t){return typeof e==`function`?e(t):e}function f(e,t){return typeof e==`function`?e(t):e}function p(e){return JSON.stringify(e,(e,t)=>v(t)?Object.keys(t).sort().reduce((e,n)=>(e[n]=t[n],e),{}):t)}var m=Object.prototype.hasOwnProperty;function h(e,t,n=0){if(e===t)return e;if(n>500)return t;let r=_(e)&&_(t);if(!r&&!(v(e)&&v(t)))return t;let i=(r?e:Object.keys(e)).length,a=r?t:Object.keys(t),o=a.length,s=r?Array(o):{},c=0;for(let l=0;l<o;l++){let o=r?l:a[l],u=e[o],d=t[o];if(u===d){s[o]=u,(r?l<i:m.call(e,o))&&c++;continue}if(u===null||d===null||typeof u!=`object`||typeof d!=`object`){s[o]=d;continue}let f=h(u,d,n+1);s[o]=f,f===u&&c++}return i===o&&c===i?e:s}function g(e,t){if(!t||Object.keys(e).length!==Object.keys(t).length)return!1;for(let n in e)if(e[n]!==t[n])return!1;return!0}function _(e){return Array.isArray(e)&&e.length===Object.keys(e).length}function v(e){if(!y(e))return!1;let t=e.constructor;if(t===void 0)return!0;let n=t.prototype;return!(!y(n)||!n.hasOwnProperty(`isPrototypeOf`)||Object.getPrototypeOf(e)!==Object.prototype)}function y(e){return Object.prototype.toString.call(e)===`[object Object]`}function b(e,t,n){if(typeof n.structuralSharing==`function`)return n.structuralSharing(e,t);if(n.structuralSharing!==!1){if(process.env.NODE_ENV!==`production`)try{return h(e,t)}catch(e){throw console.error(`Structural sharing requires data to be JSON serializable. To fix this, turn off structuralSharing or return JSON-serializable data from your queryFn. [${n.queryHash}]: ${e}`),e}return h(e,t)}return t}function x(e,t){return typeof e==`function`?e(...t):!!e}var S=(()=>{let e=()=>s;return{isServer(){return e()},setIsServer(t){e=t}}})();function C(){let e,t,n=new Promise((n,r)=>{e=n,t=r});n.status=`pending`,n.catch(()=>{});function r(e){Object.assign(n,e),delete n.resolve,delete n.reject}return n.resolve=t=>{r({status:`fulfilled`,value:t}),e(t)},n.reject=e=>{r({status:`rejected`,reason:e}),t(e)},n}var w=o;function ee(){let e=[],t=0,n=e=>{e()},r=e=>{e()},i=w,a=r=>{t?e.push(r):i(()=>{n(r)})},o=()=>{let t=e;e=[],t.length&&i(()=>{r(()=>{t.forEach(e=>{n(e)})})})};return{batch:e=>{let n;t++;try{n=e()}finally{t--,t||o()}return n},batchCalls:e=>(...t)=>{a(()=>{e(...t)})},schedule:a,setNotifyFunction:e=>{n=e},setBatchNotifyFunction:e=>{r=e},setScheduler:e=>{i=e}}}var te=ee(),ne=new class extends n{#e=!0;#t;#n;constructor(){super(),this.#n=e=>{if(typeof window<`u`&&window.addEventListener){let t=()=>e(!0),n=()=>e(!1);return window.addEventListener(`online`,t,!1),window.addEventListener(`offline`,n,!1),()=>{window.removeEventListener(`online`,t),window.removeEventListener(`offline`,n)}}}}onSubscribe(){this.#t||this.setEventListener(this.#n)}onUnsubscribe(){this.hasListeners()||(this.#t?.(),this.#t=void 0)}setEventListener(e){this.#n=e,this.#t?.(),this.#t=e(this.setOnline.bind(this))}setOnline(e){this.#e!==e&&(this.#e=e,this.listeners.forEach(t=>{t(e)}))}isOnline(){return this.#e}};function re(e){return(e??`online`)===`online`?ne.isOnline():!0}function ie(e,t){return{fetchFailureCount:0,fetchFailureReason:null,fetchStatus:re(t.networkMode)?`fetching`:`paused`,...e===void 0&&{error:null,status:`pending`}}}var ae=class extends n{constructor(e,t){super(),this.options=t,this.#e=e,this.#s=null,this.#o=C(),this.bindMethods(),this.setOptions(t)}#e;#t=void 0;#n=void 0;#r=void 0;#i;#a;#o;#s;#c;#l;#u;#d;#f;#p;#m=new Set;bindMethods(){this.refetch=this.refetch.bind(this)}onSubscribe(){this.listeners.size===1&&(this.#t.addObserver(this),se(this.#t,this.options)?this.#h():this.updateResult(),this.#y())}onUnsubscribe(){this.hasListeners()||this.destroy()}shouldFetchOnReconnect(){return ce(this.#t,this.options,this.options.refetchOnReconnect)}shouldFetchOnWindowFocus(){return ce(this.#t,this.options,this.options.refetchOnWindowFocus)}destroy(){this.listeners=new Set,this.#b(),this.#x(),this.#t.removeObserver(this)}setOptions(e){let t=this.options,n=this.#t;if(this.options=this.#e.defaultQueryOptions(e),this.options.enabled!==void 0&&typeof this.options.enabled!=`boolean`&&typeof this.options.enabled!=`function`&&typeof f(this.options.enabled,this.#t)!=`boolean`)throw Error(`Expected enabled to be a boolean or a callback that returns a boolean`);this.#S(),this.#t.setOptions(this.options),t._defaulted&&!g(this.options,t)&&this.#e.getQueryCache().notify({type:`observerOptionsUpdated`,query:this.#t,observer:this});let r=this.hasListeners();r&&le(this.#t,n,this.options,t)&&this.#h(),this.updateResult(),r&&(this.#t!==n||f(this.options.enabled,this.#t)!==f(t.enabled,this.#t)||d(this.options.staleTime,this.#t)!==d(t.staleTime,this.#t))&&this.#g();let i=this.#_();r&&(this.#t!==n||f(this.options.enabled,this.#t)!==f(t.enabled,this.#t)||i!==this.#p)&&this.#v(i)}getOptimisticResult(e){let t=this.#e.getQueryCache().build(this.#e,e),n=this.createResult(t,e);return de(this,n)&&(this.#r=n,this.#a=this.options,this.#i=this.#t.state),n}getCurrentResult(){return this.#r}trackResult(e,t){return new Proxy(e,{get:(e,n)=>(this.trackProp(n),t?.(n),n===`promise`&&(this.trackProp(`data`),!this.options.experimental_prefetchInRender&&this.#o.status===`pending`&&this.#o.reject(Error(`experimental_prefetchInRender feature flag is not enabled`))),Reflect.get(e,n))})}trackProp(e){this.#m.add(e)}getCurrentQuery(){return this.#t}refetch({...e}={}){return this.fetch({...e})}fetchOptimistic(e){let t=this.#e.defaultQueryOptions(e),n=this.#e.getQueryCache().build(this.#e,t);return n.fetch().then(()=>this.createResult(n,t))}fetch(e){return this.#h({...e,cancelRefetch:e.cancelRefetch??!0}).then(()=>(this.updateResult(),this.#r))}#h(e){this.#S();let t=this.#t.fetch(this.options,e);return e?.throwOnError||(t=t.catch(c)),t}#g(){this.#b();let e=d(this.options.staleTime,this.#t);if(S.isServer()||this.#r.isStale||!l(e))return;let t=u(this.#r.dataUpdatedAt,e)+1;this.#d=a.setTimeout(()=>{this.#r.isStale||this.updateResult()},t)}#_(){return(typeof this.options.refetchInterval==`function`?this.options.refetchInterval(this.#t):this.options.refetchInterval)??!1}#v(e){this.#x(),this.#p=e,!(S.isServer()||f(this.options.enabled,this.#t)===!1||!l(this.#p)||this.#p===0)&&(this.#f=a.setInterval(()=>{(this.options.refetchIntervalInBackground||r.isFocused())&&this.#h()},this.#p))}#y(){this.#g(),this.#v(this.#_())}#b(){this.#d!==void 0&&(a.clearTimeout(this.#d),this.#d=void 0)}#x(){this.#f!==void 0&&(a.clearInterval(this.#f),this.#f=void 0)}createResult(e,t){let n=this.#t,r=this.options,i=this.#r,a=this.#i,o=this.#a,s=e===n?this.#n:e.state,{state:c}=e,l={...c},u=!1,d;if(t._optimisticResults){let i=this.hasListeners(),a=!i&&se(e,t),o=i&&le(e,n,t,r);(a||o)&&(l={...l,...ie(c.data,e.options)}),t._optimisticResults===`isRestoring`&&(l.fetchStatus=`idle`)}let{error:p,errorUpdatedAt:m,status:h}=l;d=l.data;let g=!1;if(t.placeholderData!==void 0&&d===void 0&&h===`pending`){let e;i?.isPlaceholderData&&t.placeholderData===o?.placeholderData?(e=i.data,g=!0):e=typeof t.placeholderData==`function`?t.placeholderData(this.#u?.state.data,this.#u):t.placeholderData,e!==void 0&&(h=`success`,d=b(i?.data,e,t),u=!0)}if(t.select&&d!==void 0&&!g)if(i&&d===a?.data&&t.select===this.#c)d=this.#l;else try{this.#c=t.select,d=t.select(d),d=b(i?.data,d,t),this.#l=d,this.#s=null}catch(e){this.#s=e}this.#s&&(p=this.#s,d=this.#l,m=Date.now(),h=`error`);let _=l.fetchStatus===`fetching`,v=h===`pending`,y=h===`error`,x=v&&_,S=d!==void 0,w={status:h,fetchStatus:l.fetchStatus,isPending:v,isSuccess:h===`success`,isError:y,isInitialLoading:x,isLoading:x,data:d,dataUpdatedAt:l.dataUpdatedAt,error:p,errorUpdatedAt:m,failureCount:l.fetchFailureCount,failureReason:l.fetchFailureReason,errorUpdateCount:l.errorUpdateCount,isFetched:e.isFetched(),isFetchedAfterMount:l.dataUpdateCount>s.dataUpdateCount||l.errorUpdateCount>s.errorUpdateCount,isFetching:_,isRefetching:_&&!v,isLoadingError:y&&!S,isPaused:l.fetchStatus===`paused`,isPlaceholderData:u,isRefetchError:y&&S,isStale:ue(e,t),refetch:this.refetch,promise:this.#o,isEnabled:f(t.enabled,e)!==!1};if(this.options.experimental_prefetchInRender){let t=w.data!==void 0,r=w.status===`error`&&!t,i=e=>{r?e.reject(w.error):t&&e.resolve(w.data)},a=()=>{i(this.#o=w.promise=C())},o=this.#o;switch(o.status){case`pending`:e.queryHash===n.queryHash&&i(o);break;case`fulfilled`:(r||w.data!==o.value)&&a();break;case`rejected`:(!r||w.error!==o.reason)&&a();break}}return w}updateResult(){let e=this.#r,t=this.createResult(this.#t,this.options);this.#i=this.#t.state,this.#a=this.options,this.#i.data!==void 0&&(this.#u=this.#t),!g(t,e)&&(this.#r=t,this.#C({listeners:(()=>{if(!e)return!0;let{notifyOnChangeProps:t}=this.options,n=typeof t==`function`?t():t;if(n===`all`||!n&&!this.#m.size)return!0;let r=new Set(n??this.#m);return this.options.throwOnError&&r.add(`error`),Object.keys(this.#r).some(t=>{let n=t;return this.#r[n]!==e[n]&&r.has(n)})})()}))}#S(){let e=this.#e.getQueryCache().build(this.#e,this.options);if(e===this.#t)return;let t=this.#t;this.#t=e,this.#n=e.state,this.hasListeners()&&(t?.removeObserver(this),e.addObserver(this))}onQueryUpdate(){this.updateResult(),this.hasListeners()&&this.#y()}#C(e){te.batch(()=>{e.listeners&&this.listeners.forEach(e=>{e(this.#r)}),this.#e.getQueryCache().notify({query:this.#t,type:`observerResultsUpdated`})})}};function oe(e,t){return f(t.enabled,e)!==!1&&e.state.data===void 0&&!(e.state.status===`error`&&t.retryOnMount===!1)}function se(e,t){return oe(e,t)||e.state.data!==void 0&&ce(e,t,t.refetchOnMount)}function ce(e,t,n){if(f(t.enabled,e)!==!1&&d(t.staleTime,e)!==`static`){let r=typeof n==`function`?n(e):n;return r===`always`||r!==!1&&ue(e,t)}return!1}function le(e,t,n,r){return(e!==t||f(r.enabled,e)===!1)&&(!n.suspense||e.state.status!==`error`)&&ue(e,n)}function ue(e,t){return f(t.enabled,e)!==!1&&e.isStaleByTime(d(t.staleTime,e))}function de(e,t){return!g(e.getCurrentResult(),t)}function fe(){return{context:void 0,data:void 0,error:null,failureCount:0,failureReason:null,isPaused:!1,status:`idle`,variables:void 0,submittedAt:0}}var pe=class extends n{#e;#t=void 0;#n;#r;constructor(e,t){super(),this.#e=e,this.setOptions(t),this.bindMethods(),this.#i()}bindMethods(){this.mutate=this.mutate.bind(this),this.reset=this.reset.bind(this)}setOptions(e){let t=this.options;this.options=this.#e.defaultMutationOptions(e),g(this.options,t)||this.#e.getMutationCache().notify({type:`observerOptionsUpdated`,mutation:this.#n,observer:this}),t?.mutationKey&&this.options.mutationKey&&p(t.mutationKey)!==p(this.options.mutationKey)?this.reset():this.#n?.state.status===`pending`&&this.#n.setOptions(this.options)}onUnsubscribe(){this.hasListeners()||this.#n?.removeObserver(this)}onMutationUpdate(e){this.#i(),this.#a(e)}getCurrentResult(){return this.#t}reset(){this.#n?.removeObserver(this),this.#n=void 0,this.#i(),this.#a()}mutate(e,t){return this.#r=t,this.#n?.removeObserver(this),this.#n=this.#e.getMutationCache().build(this.#e,this.options),this.#n.addObserver(this),this.#n.execute(e)}#i(){let e=this.#n?.state??fe();this.#t={...e,isPending:e.status===`pending`,isSuccess:e.status===`success`,isError:e.status===`error`,isIdle:e.status===`idle`,mutate:this.mutate,reset:this.reset}}#a(e){te.batch(()=>{if(this.#r&&this.hasListeners()){let t=this.#t.variables,n=this.#t.context,r={client:this.#e,meta:this.options.meta,mutationKey:this.options.mutationKey};if(e?.type===`success`){try{this.#r.onSuccess?.(e.data,t,n,r)}catch(e){Promise.reject(e)}try{this.#r.onSettled?.(e.data,null,t,n,r)}catch(e){Promise.reject(e)}}else if(e?.type===`error`){try{this.#r.onError?.(e.error,t,n,r)}catch(e){Promise.reject(e)}try{this.#r.onSettled?.(void 0,e.error,t,n,r)}catch(e){Promise.reject(e)}}}this.listeners.forEach(e=>{e(this.#t)})})}},T=e.t({Vue:()=>t,Vue2:()=>void 0,del:()=>ge,install:()=>me,isVue2:()=>!1,isVue3:()=>!0,set:()=>he});e.n(T,require(`vue`));function me(){}function he(e,t,n){return Array.isArray(e)?(e.length=Math.max(e.length,t),e.splice(t,1,n),n):(e[t]=n,n)}function ge(e,t){if(Array.isArray(e)){e.splice(t,1);return}delete e[t]}var _e=`VUE_QUERY_CLIENT`;function ve(e){return`${_e}${e?`:${e}`:``}`}function ye(e,t){Object.keys(e).forEach(n=>{e[n]=t[n]})}function be(e,t,n=``,r=0){if(t){let i=t(e,n,r);if(i===void 0&&(0,T.isRef)(e)||i!==void 0)return i}if(Array.isArray(e))return e.map((e,n)=>be(e,t,String(n),r+1));if(typeof e==`object`&&Se(e)){let n=Object.entries(e).map(([e,n])=>[e,be(n,t,e,r+1)]);return Object.fromEntries(n)}return e}function xe(e,t){return be(e,t)}function E(e,t=!1){return xe(e,(e,n,r)=>{if(r===1&&n===`queryKey`)return E(e,!0);if(t&&Ce(e))return E(e(),t);if((0,T.isRef)(e))return E((0,T.unref)(e),t)})}function Se(e){if(Object.prototype.toString.call(e)!==`[object Object]`)return!1;let t=Object.getPrototypeOf(e);return t===null||t===Object.prototype}function Ce(e){return typeof e==`function`}function we(e=``){if(!(0,T.hasInjectionContext)())throw Error(`vue-query hooks can only be used inside setup() function or functions that support injection context.`);let t=(0,T.inject)(ve(e));if(!t)throw Error(`No 'queryClient' found in Vue context, use 'VueQueryPlugin' to properly initialize the library.`);return t}function Te(e,t,n){process.env.NODE_ENV===`development`&&((0,T.getCurrentScope)()||console.warn(`vue-query composable like "useQuery()" should only be used inside a "setup()" function or a running effect scope. They might otherwise lead to memory leaks.`));let r=n||we(),i=(0,T.computed)(()=>{let e=t;typeof e==`function`&&(e=e());let n=E(e);typeof n.enabled==`function`&&(n.enabled=n.enabled());let i=r.defaultQueryOptions(n);return i._optimisticResults=r.isRestoring?.value?`isRestoring`:`optimistic`,i}),a=new e(r,i.value),o=i.value.shallow?(0,T.shallowReactive)(a.getCurrentResult()):(0,T.reactive)(a.getCurrentResult()),s=()=>{};r.isRestoring&&(0,T.watch)(r.isRestoring,e=>{e||(s(),s=a.subscribe(e=>{ye(o,e)}))},{immediate:!0});let c=()=>{a.setOptions(i.value),ye(o,a.getCurrentResult())};(0,T.watch)(i,c),(0,T.onScopeDispose)(()=>{s()});let l=(...e)=>(c(),o.refetch(...e)),u=()=>new Promise((e,t)=>{let n=()=>{},r=()=>{if(i.value.enabled!==!1){a.setOptions(i.value);let r=a.getOptimisticResult(i.value);r.isStale?(n(),a.fetchOptimistic(i.value).then(e,n=>{x(i.value.throwOnError,[n,a.getCurrentQuery()])?t(n):e(a.getCurrentResult())})):(n(),e(r))}};r(),n=(0,T.watch)(i,r)});(0,T.watch)(()=>o.error,e=>{if(o.isError&&!o.isFetching&&x(i.value.throwOnError,[e,a.getCurrentQuery()]))throw e});let d=(0,T.toRefs)(i.value.shallow?(0,T.shallowReadonly)(o):(0,T.readonly)(o));for(let e in o)typeof o[e]==`function`&&(d[e]=o[e]);return d.suspense=u,d.refetch=l,d}function Ee(e,t){return Te(ae,e,t)}function De(e,t){process.env.NODE_ENV===`development`&&((0,T.getCurrentScope)()||console.warn(`vue-query composable like "useQuery()" should only be used inside a "setup()" function or a running effect scope. They might otherwise lead to memory leaks.`));let n=t||we(),r=(0,T.computed)(()=>{let t=typeof e==`function`?e():e;return n.defaultMutationOptions(E(t))}),i=new pe(n,r.value),a=r.value.shallow?(0,T.shallowReactive)(i.getCurrentResult()):(0,T.reactive)(i.getCurrentResult()),o=i.subscribe(e=>{ye(a,e)}),s=(e,t)=>{i.mutate(e,t).catch(()=>{})};(0,T.watch)(r,()=>{i.setOptions(r.value)}),(0,T.onScopeDispose)(()=>{o()});let c=(0,T.toRefs)(r.value.shallow?(0,T.shallowReadonly)(a):(0,T.readonly)(a));return(0,T.watch)(()=>a.error,e=>{if(e&&x(r.value.throwOnError,[e]))throw e}),{...c,mutate:s,mutateAsync:a.mutate,reset:a.reset}}function Oe(e,t){return function(){return e.apply(t,arguments)}}var{toString:ke}=Object.prototype,{getPrototypeOf:Ae}=Object,{iterator:D,toStringTag:je}=Symbol,O=(e=>t=>{let n=ke.call(t);return e[n]||(e[n]=n.slice(8,-1).toLowerCase())})(Object.create(null)),k=e=>(e=e.toLowerCase(),t=>O(t)===e),A=e=>t=>typeof t===e,{isArray:j}=Array,M=A(`undefined`);function N(e){return e!==null&&!M(e)&&e.constructor!==null&&!M(e.constructor)&&P(e.constructor.isBuffer)&&e.constructor.isBuffer(e)}var Me=k(`ArrayBuffer`);function Ne(e){let t;return t=typeof ArrayBuffer<`u`&&ArrayBuffer.isView?ArrayBuffer.isView(e):e&&e.buffer&&Me(e.buffer),t}var Pe=A(`string`),P=A(`function`),Fe=A(`number`),F=e=>typeof e==`object`&&!!e,Ie=e=>e===!0||e===!1,I=e=>{if(O(e)!==`object`)return!1;let t=Ae(e);return(t===null||t===Object.prototype||Object.getPrototypeOf(t)===null)&&!(je in e)&&!(D in e)},Le=e=>{if(!F(e)||N(e))return!1;try{return Object.keys(e).length===0&&Object.getPrototypeOf(e)===Object.prototype}catch{return!1}},Re=k(`Date`),ze=k(`File`),Be=e=>!!(e&&e.uri!==void 0),Ve=e=>e&&e.getParts!==void 0,He=k(`Blob`),Ue=k(`FileList`),We=e=>F(e)&&P(e.pipe);function Ge(){return typeof globalThis<`u`?globalThis:typeof self<`u`?self:typeof window<`u`?window:typeof global<`u`?global:{}}var Ke=Ge(),qe=Ke.FormData===void 0?void 0:Ke.FormData,Je=e=>{let t;return e&&(qe&&e instanceof qe||P(e.append)&&((t=O(e))===`formdata`||t===`object`&&P(e.toString)&&e.toString()===`[object FormData]`))},Ye=k(`URLSearchParams`),[Xe,Ze,Qe,$e]=[`ReadableStream`,`Request`,`Response`,`Headers`].map(k),et=e=>e.trim?e.trim():e.replace(/^[\s\uFEFF\xA0]+|[\s\uFEFF\xA0]+$/g,``);function L(e,t,{allOwnKeys:n=!1}={}){if(e==null)return;let r,i;if(typeof e!=`object`&&(e=[e]),j(e))for(r=0,i=e.length;r<i;r++)t.call(null,e[r],r,e);else{if(N(e))return;let i=n?Object.getOwnPropertyNames(e):Object.keys(e),a=i.length,o;for(r=0;r<a;r++)o=i[r],t.call(null,e[o],o,e)}}function tt(e,t){if(N(e))return null;t=t.toLowerCase();let n=Object.keys(e),r=n.length,i;for(;r-- >0;)if(i=n[r],t===i.toLowerCase())return i;return null}var R=typeof globalThis<`u`?globalThis:typeof self<`u`?self:typeof window<`u`?window:global,nt=e=>!M(e)&&e!==R;function rt(){let{caseless:e,skipUndefined:t}=nt(this)&&this||{},n={},r=(r,i)=>{if(i===`__proto__`||i===`constructor`||i===`prototype`)return;let a=e&&tt(n,i)||i;I(n[a])&&I(r)?n[a]=rt(n[a],r):I(r)?n[a]=rt({},r):j(r)?n[a]=r.slice():(!t||!M(r))&&(n[a]=r)};for(let e=0,t=arguments.length;e<t;e++)arguments[e]&&L(arguments[e],r);return n}var it=(e,t,n,{allOwnKeys:r}={})=>(L(t,(t,r)=>{n&&P(t)?Object.defineProperty(e,r,{value:Oe(t,n),writable:!0,enumerable:!0,configurable:!0}):Object.defineProperty(e,r,{value:t,writable:!0,enumerable:!0,configurable:!0})},{allOwnKeys:r}),e),at=e=>(e.charCodeAt(0)===65279&&(e=e.slice(1)),e),ot=(e,t,n,r)=>{e.prototype=Object.create(t.prototype,r),Object.defineProperty(e.prototype,`constructor`,{value:e,writable:!0,enumerable:!1,configurable:!0}),Object.defineProperty(e,`super`,{value:t.prototype}),n&&Object.assign(e.prototype,n)},st=(e,t,n,r)=>{let i,a,o,s={};if(t||={},e==null)return t;do{for(i=Object.getOwnPropertyNames(e),a=i.length;a-- >0;)o=i[a],(!r||r(o,e,t))&&!s[o]&&(t[o]=e[o],s[o]=!0);e=n!==!1&&Ae(e)}while(e&&(!n||n(e,t))&&e!==Object.prototype);return t},ct=(e,t,n)=>{e=String(e),(n===void 0||n>e.length)&&(n=e.length),n-=t.length;let r=e.indexOf(t,n);return r!==-1&&r===n},lt=e=>{if(!e)return null;if(j(e))return e;let t=e.length;if(!Fe(t))return null;let n=Array(t);for(;t-- >0;)n[t]=e[t];return n},ut=(e=>t=>e&&t instanceof e)(typeof Uint8Array<`u`&&Ae(Uint8Array)),dt=(e,t)=>{let n=(e&&e[D]).call(e),r;for(;(r=n.next())&&!r.done;){let n=r.value;t.call(e,n[0],n[1])}},ft=(e,t)=>{let n,r=[];for(;(n=e.exec(t))!==null;)r.push(n);return r},pt=k(`HTMLFormElement`),mt=e=>e.toLowerCase().replace(/[-_\s]([a-z\d])(\w*)/g,function(e,t,n){return t.toUpperCase()+n}),ht=(({hasOwnProperty:e})=>(t,n)=>e.call(t,n))(Object.prototype),gt=k(`RegExp`),_t=(e,t)=>{let n=Object.getOwnPropertyDescriptors(e),r={};L(n,(n,i)=>{let a;(a=t(n,i,e))!==!1&&(r[i]=a||n)}),Object.defineProperties(e,r)},vt=e=>{_t(e,(t,n)=>{if(P(e)&&[`arguments`,`caller`,`callee`].indexOf(n)!==-1)return!1;let r=e[n];if(P(r)){if(t.enumerable=!1,`writable`in t){t.writable=!1;return}t.set||=()=>{throw Error(`Can not rewrite read-only method '`+n+`'`)}}})},yt=(e,t)=>{let n={},r=e=>{e.forEach(e=>{n[e]=!0})};return j(e)?r(e):r(String(e).split(t)),n},bt=()=>{},xt=(e,t)=>e!=null&&Number.isFinite(e=+e)?e:t;function St(e){return!!(e&&P(e.append)&&e[je]===`FormData`&&e[D])}var Ct=e=>{let t=Array(10),n=(e,r)=>{if(F(e)){if(t.indexOf(e)>=0)return;if(N(e))return e;if(!(`toJSON`in e)){t[r]=e;let i=j(e)?[]:{};return L(e,(e,t)=>{let a=n(e,r+1);!M(a)&&(i[t]=a)}),t[r]=void 0,i}}return e};return n(e,0)},wt=k(`AsyncFunction`),Tt=e=>e&&(F(e)||P(e))&&P(e.then)&&P(e.catch),Et=((e,t)=>e?setImmediate:t?((e,t)=>(R.addEventListener(`message`,({source:n,data:r})=>{n===R&&r===e&&t.length&&t.shift()()},!1),n=>{t.push(n),R.postMessage(e,`*`)}))(`axios@${Math.random()}`,[]):e=>setTimeout(e))(typeof setImmediate==`function`,P(R.postMessage)),z={isArray:j,isArrayBuffer:Me,isBuffer:N,isFormData:Je,isArrayBufferView:Ne,isString:Pe,isNumber:Fe,isBoolean:Ie,isObject:F,isPlainObject:I,isEmptyObject:Le,isReadableStream:Xe,isRequest:Ze,isResponse:Qe,isHeaders:$e,isUndefined:M,isDate:Re,isFile:ze,isReactNativeBlob:Be,isReactNative:Ve,isBlob:He,isRegExp:gt,isFunction:P,isStream:We,isURLSearchParams:Ye,isTypedArray:ut,isFileList:Ue,forEach:L,merge:rt,extend:it,trim:et,stripBOM:at,inherits:ot,toFlatObject:st,kindOf:O,kindOfTest:k,endsWith:ct,toArray:lt,forEachEntry:dt,matchAll:ft,isHTMLForm:pt,hasOwnProperty:ht,hasOwnProp:ht,reduceDescriptors:_t,freezeMethods:vt,toObjectSet:yt,toCamelCase:mt,noop:bt,toFiniteNumber:xt,findKey:tt,global:R,isContextDefined:nt,isSpecCompliantForm:St,toJSONObject:Ct,isAsyncFn:wt,isThenable:Tt,setImmediate:Et,asap:typeof queueMicrotask<`u`?queueMicrotask.bind(R):typeof process<`u`&&process.nextTick||Et,isIterable:e=>e!=null&&P(e[D])},B=class e extends Error{static from(t,n,r,i,a,o){let s=new e(t.message,n||t.code,r,i,a);return s.cause=t,s.name=t.name,t.status!=null&&s.status==null&&(s.status=t.status),o&&Object.assign(s,o),s}constructor(e,t,n,r,i){super(e),Object.defineProperty(this,`message`,{value:e,enumerable:!0,writable:!0,configurable:!0}),this.name=`AxiosError`,this.isAxiosError=!0,t&&(this.code=t),n&&(this.config=n),r&&(this.request=r),i&&(this.response=i,this.status=i.status)}toJSON(){return{message:this.message,name:this.name,description:this.description,number:this.number,fileName:this.fileName,lineNumber:this.lineNumber,columnNumber:this.columnNumber,stack:this.stack,config:z.toJSONObject(this.config),code:this.code,status:this.status}}};B.ERR_BAD_OPTION_VALUE=`ERR_BAD_OPTION_VALUE`,B.ERR_BAD_OPTION=`ERR_BAD_OPTION`,B.ECONNABORTED=`ECONNABORTED`,B.ETIMEDOUT=`ETIMEDOUT`,B.ERR_NETWORK=`ERR_NETWORK`,B.ERR_FR_TOO_MANY_REDIRECTS=`ERR_FR_TOO_MANY_REDIRECTS`,B.ERR_DEPRECATED=`ERR_DEPRECATED`,B.ERR_BAD_RESPONSE=`ERR_BAD_RESPONSE`,B.ERR_BAD_REQUEST=`ERR_BAD_REQUEST`,B.ERR_CANCELED=`ERR_CANCELED`,B.ERR_NOT_SUPPORT=`ERR_NOT_SUPPORT`,B.ERR_INVALID_URL=`ERR_INVALID_URL`;function Dt(e){return z.isPlainObject(e)||z.isArray(e)}function Ot(e){return z.endsWith(e,`[]`)?e.slice(0,-2):e}function kt(e,t,n){return e?e.concat(t).map(function(e,t){return e=Ot(e),!n&&t?`[`+e+`]`:e}).join(n?`.`:``):t}function At(e){return z.isArray(e)&&!e.some(Dt)}var jt=z.toFlatObject(z,{},null,function(e){return/^is[A-Z]/.test(e)});function V(e,t,n){if(!z.isObject(e))throw TypeError(`target must be an object`);t||=new FormData,n=z.toFlatObject(n,{metaTokens:!0,dots:!1,indexes:!1},!1,function(e,t){return!z.isUndefined(t[e])});let r=n.metaTokens,i=n.visitor||l,a=n.dots,o=n.indexes,s=(n.Blob||typeof Blob<`u`&&Blob)&&z.isSpecCompliantForm(t);if(!z.isFunction(i))throw TypeError(`visitor must be a function`);function c(e){if(e===null)return``;if(z.isDate(e))return e.toISOString();if(z.isBoolean(e))return e.toString();if(!s&&z.isBlob(e))throw new B(`Blob is not supported. Use a Buffer instead.`);return z.isArrayBuffer(e)||z.isTypedArray(e)?s&&typeof Blob==`function`?new Blob([e]):Buffer.from(e):e}function l(e,n,i){let s=e;if(z.isReactNative(t)&&z.isReactNativeBlob(e))return t.append(kt(i,n,a),c(e)),!1;if(e&&!i&&typeof e==`object`){if(z.endsWith(n,`{}`))n=r?n:n.slice(0,-2),e=JSON.stringify(e);else if(z.isArray(e)&&At(e)||(z.isFileList(e)||z.endsWith(n,`[]`))&&(s=z.toArray(e)))return n=Ot(n),s.forEach(function(e,r){!(z.isUndefined(e)||e===null)&&t.append(o===!0?kt([n],r,a):o===null?n:n+`[]`,c(e))}),!1}return Dt(e)?!0:(t.append(kt(i,n,a),c(e)),!1)}let u=[],d=Object.assign(jt,{defaultVisitor:l,convertValue:c,isVisitable:Dt});function f(e,n){if(!z.isUndefined(e)){if(u.indexOf(e)!==-1)throw Error(`Circular reference detected in `+n.join(`.`));u.push(e),z.forEach(e,function(e,r){(!(z.isUndefined(e)||e===null)&&i.call(t,e,z.isString(r)?r.trim():r,n,d))===!0&&f(e,n?n.concat(r):[r])}),u.pop()}}if(!z.isObject(e))throw TypeError(`data must be an object`);return f(e),t}function Mt(e){let t={"!":`%21`,"'":`%27`,"(":`%28`,")":`%29`,"~":`%7E`,"%20":`+`,"%00":`\0`};return encodeURIComponent(e).replace(/[!'()~]|%20|%00/g,function(e){return t[e]})}function Nt(e,t){this._pairs=[],e&&V(e,this,t)}var Pt=Nt.prototype;Pt.append=function(e,t){this._pairs.push([e,t])},Pt.toString=function(e){let t=e?function(t){return e.call(this,t,Mt)}:Mt;return this._pairs.map(function(e){return t(e[0])+`=`+t(e[1])},``).join(`&`)};function Ft(e){return encodeURIComponent(e).replace(/%3A/gi,`:`).replace(/%24/g,`$`).replace(/%2C/gi,`,`).replace(/%20/g,`+`)}function It(e,t,n){if(!t)return e;let r=n&&n.encode||Ft,i=z.isFunction(n)?{serialize:n}:n,a=i&&i.serialize,o;if(o=a?a(t,i):z.isURLSearchParams(t)?t.toString():new Nt(t,i).toString(r),o){let t=e.indexOf(`#`);t!==-1&&(e=e.slice(0,t)),e+=(e.indexOf(`?`)===-1?`?`:`&`)+o}return e}var Lt=class{constructor(){this.handlers=[]}use(e,t,n){return this.handlers.push({fulfilled:e,rejected:t,synchronous:n?n.synchronous:!1,runWhen:n?n.runWhen:null}),this.handlers.length-1}eject(e){this.handlers[e]&&(this.handlers[e]=null)}clear(){this.handlers&&=[]}forEach(e){z.forEach(this.handlers,function(t){t!==null&&e(t)})}},Rt={silentJSONParsing:!0,forcedJSONParsing:!0,clarifyTimeoutError:!1,legacyInterceptorReqResOrdering:!0},zt={isBrowser:!0,classes:{URLSearchParams:typeof URLSearchParams<`u`?URLSearchParams:Nt,FormData:typeof FormData<`u`?FormData:null,Blob:typeof Blob<`u`?Blob:null},protocols:[`http`,`https`,`file`,`blob`,`url`,`data`]},Bt=e.t({hasBrowserEnv:()=>Vt,hasStandardBrowserEnv:()=>Ut,hasStandardBrowserWebWorkerEnv:()=>Wt,navigator:()=>Ht,origin:()=>Gt}),Vt=typeof window<`u`&&typeof document<`u`,Ht=typeof navigator==`object`&&navigator||void 0,Ut=Vt&&(!Ht||[`ReactNative`,`NativeScript`,`NS`].indexOf(Ht.product)<0),Wt=typeof WorkerGlobalScope<`u`&&self instanceof WorkerGlobalScope&&typeof self.importScripts==`function`,Gt=Vt&&window.location.href||`http://localhost`,H={...Bt,...zt};function Kt(e,t){return V(e,new H.classes.URLSearchParams,{visitor:function(e,t,n,r){return H.isNode&&z.isBuffer(e)?(this.append(t,e.toString(`base64`)),!1):r.defaultVisitor.apply(this,arguments)},...t})}function qt(e){return z.matchAll(/\w+|\[(\w*)]/g,e).map(e=>e[0]===`[]`?``:e[1]||e[0])}function Jt(e){let t={},n=Object.keys(e),r,i=n.length,a;for(r=0;r<i;r++)a=n[r],t[a]=e[a];return t}function Yt(e){function t(e,n,r,i){let a=e[i++];if(a===`__proto__`)return!0;let o=Number.isFinite(+a),s=i>=e.length;return a=!a&&z.isArray(r)?r.length:a,s?(z.hasOwnProp(r,a)?r[a]=[r[a],n]:r[a]=n,!o):((!r[a]||!z.isObject(r[a]))&&(r[a]=[]),t(e,n,r[a],i)&&z.isArray(r[a])&&(r[a]=Jt(r[a])),!o)}if(z.isFormData(e)&&z.isFunction(e.entries)){let n={};return z.forEachEntry(e,(e,r)=>{t(qt(e),r,n,0)}),n}return null}function Xt(e,t,n){if(z.isString(e))try{return(t||JSON.parse)(e),z.trim(e)}catch(e){if(e.name!==`SyntaxError`)throw e}return(n||JSON.stringify)(e)}var U={transitional:Rt,adapter:[`xhr`,`http`,`fetch`],transformRequest:[function(e,t){let n=t.getContentType()||``,r=n.indexOf(`application/json`)>-1,i=z.isObject(e);if(i&&z.isHTMLForm(e)&&(e=new FormData(e)),z.isFormData(e))return r?JSON.stringify(Yt(e)):e;if(z.isArrayBuffer(e)||z.isBuffer(e)||z.isStream(e)||z.isFile(e)||z.isBlob(e)||z.isReadableStream(e))return e;if(z.isArrayBufferView(e))return e.buffer;if(z.isURLSearchParams(e))return t.setContentType(`application/x-www-form-urlencoded;charset=utf-8`,!1),e.toString();let a;if(i){if(n.indexOf(`application/x-www-form-urlencoded`)>-1)return Kt(e,this.formSerializer).toString();if((a=z.isFileList(e))||n.indexOf(`multipart/form-data`)>-1){let t=this.env&&this.env.FormData;return V(a?{"files[]":e}:e,t&&new t,this.formSerializer)}}return i||r?(t.setContentType(`application/json`,!1),Xt(e)):e}],transformResponse:[function(e){let t=this.transitional||U.transitional,n=t&&t.forcedJSONParsing,r=this.responseType===`json`;if(z.isResponse(e)||z.isReadableStream(e))return e;if(e&&z.isString(e)&&(n&&!this.responseType||r)){let n=!(t&&t.silentJSONParsing)&&r;try{return JSON.parse(e,this.parseReviver)}catch(e){if(n)throw e.name===`SyntaxError`?B.from(e,B.ERR_BAD_RESPONSE,this,null,this.response):e}}return e}],timeout:0,xsrfCookieName:`XSRF-TOKEN`,xsrfHeaderName:`X-XSRF-TOKEN`,maxContentLength:-1,maxBodyLength:-1,env:{FormData:H.classes.FormData,Blob:H.classes.Blob},validateStatus:function(e){return e>=200&&e<300},headers:{common:{Accept:`application/json, text/plain, */*`,"Content-Type":void 0}}};z.forEach([`delete`,`get`,`head`,`post`,`put`,`patch`],e=>{U.headers[e]={}});var Zt=z.toObjectSet([`age`,`authorization`,`content-length`,`content-type`,`etag`,`expires`,`from`,`host`,`if-modified-since`,`if-unmodified-since`,`last-modified`,`location`,`max-forwards`,`proxy-authorization`,`referer`,`retry-after`,`user-agent`]),Qt=e=>{let t={},n,r,i;return e&&e.split(`
2
+ `).forEach(function(e){i=e.indexOf(`:`),n=e.substring(0,i).trim().toLowerCase(),r=e.substring(i+1).trim(),!(!n||t[n]&&Zt[n])&&(n===`set-cookie`?t[n]?t[n].push(r):t[n]=[r]:t[n]=t[n]?t[n]+`, `+r:r)}),t},$t=Symbol(`internals`),en=e=>!/[\r\n]/.test(e);function tn(e,t){if(!(e===!1||e==null)){if(z.isArray(e)){e.forEach(e=>tn(e,t));return}if(!en(String(e)))throw Error(`Invalid character in header content ["${t}"]`)}}function W(e){return e&&String(e).trim().toLowerCase()}function nn(e){let t=e.length;for(;t>0;){let n=e.charCodeAt(t-1);if(n!==10&&n!==13)break;--t}return t===e.length?e:e.slice(0,t)}function G(e){return e===!1||e==null?e:z.isArray(e)?e.map(G):nn(String(e))}function rn(e){let t=Object.create(null),n=/([^\s,;=]+)\s*(?:=\s*([^,;]+))?/g,r;for(;r=n.exec(e);)t[r[1]]=r[2];return t}var an=e=>/^[-_a-zA-Z0-9^`|~,!#$%&'*+.]+$/.test(e.trim());function on(e,t,n,r,i){if(z.isFunction(r))return r.call(this,t,n);if(i&&(t=n),z.isString(t)){if(z.isString(r))return t.indexOf(r)!==-1;if(z.isRegExp(r))return r.test(t)}}function sn(e){return e.trim().toLowerCase().replace(/([a-z\d])(\w*)/g,(e,t,n)=>t.toUpperCase()+n)}function cn(e,t){let n=z.toCamelCase(` `+t);[`get`,`set`,`has`].forEach(r=>{Object.defineProperty(e,r+n,{value:function(e,n,i){return this[r].call(this,t,e,n,i)},configurable:!0})})}var K=class{constructor(e){e&&this.set(e)}set(e,t,n){let r=this;function i(e,t,n){let i=W(t);if(!i)throw Error(`header name must be a non-empty string`);let a=z.findKey(r,i);(!a||r[a]===void 0||n===!0||n===void 0&&r[a]!==!1)&&(tn(e,t),r[a||t]=G(e))}let a=(e,t)=>z.forEach(e,(e,n)=>i(e,n,t));if(z.isPlainObject(e)||e instanceof this.constructor)a(e,t);else if(z.isString(e)&&(e=e.trim())&&!an(e))a(Qt(e),t);else if(z.isObject(e)&&z.isIterable(e)){let n={},r,i;for(let t of e){if(!z.isArray(t))throw TypeError(`Object iterator must return a key-value pair`);n[i=t[0]]=(r=n[i])?z.isArray(r)?[...r,t[1]]:[r,t[1]]:t[1]}a(n,t)}else e!=null&&i(t,e,n);return this}get(e,t){if(e=W(e),e){let n=z.findKey(this,e);if(n){let e=this[n];if(!t)return e;if(t===!0)return rn(e);if(z.isFunction(t))return t.call(this,e,n);if(z.isRegExp(t))return t.exec(e);throw TypeError(`parser must be boolean|regexp|function`)}}}has(e,t){if(e=W(e),e){let n=z.findKey(this,e);return!!(n&&this[n]!==void 0&&(!t||on(this,this[n],n,t)))}return!1}delete(e,t){let n=this,r=!1;function i(e){if(e=W(e),e){let i=z.findKey(n,e);i&&(!t||on(n,n[i],i,t))&&(delete n[i],r=!0)}}return z.isArray(e)?e.forEach(i):i(e),r}clear(e){let t=Object.keys(this),n=t.length,r=!1;for(;n--;){let i=t[n];(!e||on(this,this[i],i,e,!0))&&(delete this[i],r=!0)}return r}normalize(e){let t=this,n={};return z.forEach(this,(r,i)=>{let a=z.findKey(n,i);if(a){t[a]=G(r),delete t[i];return}let o=e?sn(i):String(i).trim();o!==i&&delete t[i],t[o]=G(r),n[o]=!0}),this}concat(...e){return this.constructor.concat(this,...e)}toJSON(e){let t=Object.create(null);return z.forEach(this,(n,r)=>{n!=null&&n!==!1&&(t[r]=e&&z.isArray(n)?n.join(`, `):n)}),t}[Symbol.iterator](){return Object.entries(this.toJSON())[Symbol.iterator]()}toString(){return Object.entries(this.toJSON()).map(([e,t])=>e+`: `+t).join(`
3
+ `)}getSetCookie(){return this.get(`set-cookie`)||[]}get[Symbol.toStringTag](){return`AxiosHeaders`}static from(e){return e instanceof this?e:new this(e)}static concat(e,...t){let n=new this(e);return t.forEach(e=>n.set(e)),n}static accessor(e){let t=(this[$t]=this[$t]={accessors:{}}).accessors,n=this.prototype;function r(e){let r=W(e);t[r]||(cn(n,e),t[r]=!0)}return z.isArray(e)?e.forEach(r):r(e),this}};K.accessor([`Content-Type`,`Content-Length`,`Accept`,`Accept-Encoding`,`User-Agent`,`Authorization`]),z.reduceDescriptors(K.prototype,({value:e},t)=>{let n=t[0].toUpperCase()+t.slice(1);return{get:()=>e,set(e){this[n]=e}}}),z.freezeMethods(K);function ln(e,t){let n=this||U,r=t||n,i=K.from(r.headers),a=r.data;return z.forEach(e,function(e){a=e.call(n,a,i.normalize(),t?t.status:void 0)}),i.normalize(),a}function un(e){return!!(e&&e.__CANCEL__)}var q=class extends B{constructor(e,t,n){super(e??`canceled`,B.ERR_CANCELED,t,n),this.name=`CanceledError`,this.__CANCEL__=!0}};function dn(e,t,n){let r=n.config.validateStatus;!n.status||!r||r(n.status)?e(n):t(new B(`Request failed with status code `+n.status,[B.ERR_BAD_REQUEST,B.ERR_BAD_RESPONSE][Math.floor(n.status/100)-4],n.config,n.request,n))}function fn(e){let t=/^([-+\w]{1,25})(:?\/\/|:)/.exec(e);return t&&t[1]||``}function pn(e,t){e||=10;let n=Array(e),r=Array(e),i=0,a=0,o;return t=t===void 0?1e3:t,function(s){let c=Date.now(),l=r[a];o||=c,n[i]=s,r[i]=c;let u=a,d=0;for(;u!==i;)d+=n[u++],u%=e;if(i=(i+1)%e,i===a&&(a=(a+1)%e),c-o<t)return;let f=l&&c-l;return f?Math.round(d*1e3/f):void 0}}function mn(e,t){let n=0,r=1e3/t,i,a,o=(t,r=Date.now())=>{n=r,i=null,a&&=(clearTimeout(a),null),e(...t)};return[(...e)=>{let t=Date.now(),s=t-n;s>=r?o(e,t):(i=e,a||=setTimeout(()=>{a=null,o(i)},r-s))},()=>i&&o(i)]}var J=(e,t,n=3)=>{let r=0,i=pn(50,250);return mn(n=>{let a=n.loaded,o=n.lengthComputable?n.total:void 0,s=a-r,c=i(s),l=a<=o;r=a,e({loaded:a,total:o,progress:o?a/o:void 0,bytes:s,rate:c||void 0,estimated:c&&o&&l?(o-a)/c:void 0,event:n,lengthComputable:o!=null,[t?`download`:`upload`]:!0})},n)},hn=(e,t)=>{let n=e!=null;return[r=>t[0]({lengthComputable:n,total:e,loaded:r}),t[1]]},gn=e=>(...t)=>z.asap(()=>e(...t)),_n=H.hasStandardBrowserEnv?((e,t)=>n=>(n=new URL(n,H.origin),e.protocol===n.protocol&&e.host===n.host&&(t||e.port===n.port)))(new URL(H.origin),H.navigator&&/(msie|trident)/i.test(H.navigator.userAgent)):()=>!0,vn=H.hasStandardBrowserEnv?{write(e,t,n,r,i,a,o){if(typeof document>`u`)return;let s=[`${e}=${encodeURIComponent(t)}`];z.isNumber(n)&&s.push(`expires=${new Date(n).toUTCString()}`),z.isString(r)&&s.push(`path=${r}`),z.isString(i)&&s.push(`domain=${i}`),a===!0&&s.push(`secure`),z.isString(o)&&s.push(`SameSite=${o}`),document.cookie=s.join(`; `)},read(e){if(typeof document>`u`)return null;let t=document.cookie.match(RegExp(`(?:^|; )`+e+`=([^;]*)`));return t?decodeURIComponent(t[1]):null},remove(e){this.write(e,``,Date.now()-864e5,`/`)}}:{write(){},read(){return null},remove(){}};function yn(e){return typeof e==`string`?/^([a-z][a-z\d+\-.]*:)?\/\//i.test(e):!1}function bn(e,t){return t?e.replace(/\/?\/$/,``)+`/`+t.replace(/^\/+/,``):e}function xn(e,t,n){let r=!yn(t);return e&&(r||n==0)?bn(e,t):t}var Sn=e=>e instanceof K?{...e}:e;function Y(e,t){t||={};let n={};function r(e,t,n,r){return z.isPlainObject(e)&&z.isPlainObject(t)?z.merge.call({caseless:r},e,t):z.isPlainObject(t)?z.merge({},t):z.isArray(t)?t.slice():t}function i(e,t,n,i){if(!z.isUndefined(t))return r(e,t,n,i);if(!z.isUndefined(e))return r(void 0,e,n,i)}function a(e,t){if(!z.isUndefined(t))return r(void 0,t)}function o(e,t){if(!z.isUndefined(t))return r(void 0,t);if(!z.isUndefined(e))return r(void 0,e)}function s(n,i,a){if(a in t)return r(n,i);if(a in e)return r(void 0,n)}let c={url:a,method:a,data:a,baseURL:o,transformRequest:o,transformResponse:o,paramsSerializer:o,timeout:o,timeoutMessage:o,withCredentials:o,withXSRFToken:o,adapter:o,responseType:o,xsrfCookieName:o,xsrfHeaderName:o,onUploadProgress:o,onDownloadProgress:o,decompress:o,maxContentLength:o,maxBodyLength:o,beforeRedirect:o,transport:o,httpAgent:o,httpsAgent:o,cancelToken:o,socketPath:o,responseEncoding:o,validateStatus:s,headers:(e,t,n)=>i(Sn(e),Sn(t),n,!0)};return z.forEach(Object.keys({...e,...t}),function(r){if(r===`__proto__`||r===`constructor`||r===`prototype`)return;let a=z.hasOwnProp(c,r)?c[r]:i,o=a(e[r],t[r],r);z.isUndefined(o)&&a!==s||(n[r]=o)}),n}var Cn=e=>{let t=Y({},e),{data:n,withXSRFToken:r,xsrfHeaderName:i,xsrfCookieName:a,headers:o,auth:s}=t;if(t.headers=o=K.from(o),t.url=It(xn(t.baseURL,t.url,t.allowAbsoluteUrls),e.params,e.paramsSerializer),s&&o.set(`Authorization`,`Basic `+btoa((s.username||``)+`:`+(s.password?unescape(encodeURIComponent(s.password)):``))),z.isFormData(n)){if(H.hasStandardBrowserEnv||H.hasStandardBrowserWebWorkerEnv)o.setContentType(void 0);else if(z.isFunction(n.getHeaders)){let e=n.getHeaders(),t=[`content-type`,`content-length`];Object.entries(e).forEach(([e,n])=>{t.includes(e.toLowerCase())&&o.set(e,n)})}}if(H.hasStandardBrowserEnv&&(r&&z.isFunction(r)&&(r=r(t)),r||r!==!1&&_n(t.url))){let e=i&&a&&vn.read(a);e&&o.set(i,e)}return t},wn=typeof XMLHttpRequest<`u`&&function(e){return new Promise(function(t,n){let r=Cn(e),i=r.data,a=K.from(r.headers).normalize(),{responseType:o,onUploadProgress:s,onDownloadProgress:c}=r,l,u,d,f,p;function m(){f&&f(),p&&p(),r.cancelToken&&r.cancelToken.unsubscribe(l),r.signal&&r.signal.removeEventListener(`abort`,l)}let h=new XMLHttpRequest;h.open(r.method.toUpperCase(),r.url,!0),h.timeout=r.timeout;function g(){if(!h)return;let r=K.from(`getAllResponseHeaders`in h&&h.getAllResponseHeaders());dn(function(e){t(e),m()},function(e){n(e),m()},{data:!o||o===`text`||o===`json`?h.responseText:h.response,status:h.status,statusText:h.statusText,headers:r,config:e,request:h}),h=null}`onloadend`in h?h.onloadend=g:h.onreadystatechange=function(){!h||h.readyState!==4||h.status===0&&!(h.responseURL&&h.responseURL.indexOf(`file:`)===0)||setTimeout(g)},h.onabort=function(){h&&=(n(new B(`Request aborted`,B.ECONNABORTED,e,h)),null)},h.onerror=function(t){let r=new B(t&&t.message?t.message:`Network Error`,B.ERR_NETWORK,e,h);r.event=t||null,n(r),h=null},h.ontimeout=function(){let t=r.timeout?`timeout of `+r.timeout+`ms exceeded`:`timeout exceeded`,i=r.transitional||Rt;r.timeoutErrorMessage&&(t=r.timeoutErrorMessage),n(new B(t,i.clarifyTimeoutError?B.ETIMEDOUT:B.ECONNABORTED,e,h)),h=null},i===void 0&&a.setContentType(null),`setRequestHeader`in h&&z.forEach(a.toJSON(),function(e,t){h.setRequestHeader(t,e)}),z.isUndefined(r.withCredentials)||(h.withCredentials=!!r.withCredentials),o&&o!==`json`&&(h.responseType=r.responseType),c&&([d,p]=J(c,!0),h.addEventListener(`progress`,d)),s&&h.upload&&([u,f]=J(s),h.upload.addEventListener(`progress`,u),h.upload.addEventListener(`loadend`,f)),(r.cancelToken||r.signal)&&(l=t=>{h&&=(n(!t||t.type?new q(null,e,h):t),h.abort(),null)},r.cancelToken&&r.cancelToken.subscribe(l),r.signal&&(r.signal.aborted?l():r.signal.addEventListener(`abort`,l)));let _=fn(r.url);if(_&&H.protocols.indexOf(_)===-1){n(new B(`Unsupported protocol `+_+`:`,B.ERR_BAD_REQUEST,e));return}h.send(i||null)})},Tn=(e,t)=>{let{length:n}=e=e?e.filter(Boolean):[];if(t||n){let n=new AbortController,r,i=function(e){if(!r){r=!0,o();let t=e instanceof Error?e:this.reason;n.abort(t instanceof B?t:new q(t instanceof Error?t.message:t))}},a=t&&setTimeout(()=>{a=null,i(new B(`timeout of ${t}ms exceeded`,B.ETIMEDOUT))},t),o=()=>{e&&=(a&&clearTimeout(a),a=null,e.forEach(e=>{e.unsubscribe?e.unsubscribe(i):e.removeEventListener(`abort`,i)}),null)};e.forEach(e=>e.addEventListener(`abort`,i));let{signal:s}=n;return s.unsubscribe=()=>z.asap(o),s}},En=function*(e,t){let n=e.byteLength;if(!t||n<t){yield e;return}let r=0,i;for(;r<n;)i=r+t,yield e.slice(r,i),r=i},Dn=async function*(e,t){for await(let n of On(e))yield*En(n,t)},On=async function*(e){if(e[Symbol.asyncIterator]){yield*e;return}let t=e.getReader();try{for(;;){let{done:e,value:n}=await t.read();if(e)break;yield n}}finally{await t.cancel()}},kn=(e,t,n,r)=>{let i=Dn(e,t),a=0,o,s=e=>{o||(o=!0,r&&r(e))};return new ReadableStream({async pull(e){try{let{done:t,value:r}=await i.next();if(t){s(),e.close();return}let o=r.byteLength;n&&n(a+=o),e.enqueue(new Uint8Array(r))}catch(e){throw s(e),e}},cancel(e){return s(e),i.return()}},{highWaterMark:2})},An=64*1024,{isFunction:X}=z,jn=(({Request:e,Response:t})=>({Request:e,Response:t}))(z.global),{ReadableStream:Mn,TextEncoder:Nn}=z.global,Pn=(e,...t)=>{try{return!!e(...t)}catch{return!1}},Fn=e=>{e=z.merge.call({skipUndefined:!0},jn,e);let{fetch:t,Request:n,Response:r}=e,i=t?X(t):typeof fetch==`function`,a=X(n),o=X(r);if(!i)return!1;let s=i&&X(Mn),c=i&&(typeof Nn==`function`?(e=>t=>e.encode(t))(new Nn):async e=>new Uint8Array(await new n(e).arrayBuffer())),l=a&&s&&Pn(()=>{let e=!1,t=new Mn,r=new n(H.origin,{body:t,method:`POST`,get duplex(){return e=!0,`half`}}).headers.has(`Content-Type`);return t.cancel(),e&&!r}),u=o&&s&&Pn(()=>z.isReadableStream(new r(``).body)),d={stream:u&&(e=>e.body)};i&&[`text`,`arrayBuffer`,`blob`,`formData`,`stream`].forEach(e=>{!d[e]&&(d[e]=(t,n)=>{let r=t&&t[e];if(r)return r.call(t);throw new B(`Response type '${e}' is not supported`,B.ERR_NOT_SUPPORT,n)})});let f=async e=>{if(e==null)return 0;if(z.isBlob(e))return e.size;if(z.isSpecCompliantForm(e))return(await new n(H.origin,{method:`POST`,body:e}).arrayBuffer()).byteLength;if(z.isArrayBufferView(e)||z.isArrayBuffer(e))return e.byteLength;if(z.isURLSearchParams(e)&&(e+=``),z.isString(e))return(await c(e)).byteLength},p=async(e,t)=>z.toFiniteNumber(e.getContentLength())??f(t);return async e=>{let{url:i,method:o,data:s,signal:c,cancelToken:f,timeout:m,onDownloadProgress:h,onUploadProgress:g,responseType:_,headers:v,withCredentials:y=`same-origin`,fetchOptions:b}=Cn(e),x=t||fetch;_=_?(_+``).toLowerCase():`text`;let S=Tn([c,f&&f.toAbortSignal()],m),C=null,w=S&&S.unsubscribe&&(()=>{S.unsubscribe()}),ee;try{if(g&&l&&o!==`get`&&o!==`head`&&(ee=await p(v,s))!==0){let e=new n(i,{method:`POST`,body:s,duplex:`half`}),t;if(z.isFormData(s)&&(t=e.headers.get(`content-type`))&&v.setContentType(t),e.body){let[t,n]=hn(ee,J(gn(g)));s=kn(e.body,An,t,n)}}z.isString(y)||(y=y?`include`:`omit`);let t=a&&`credentials`in n.prototype,c={...b,signal:S,method:o.toUpperCase(),headers:v.normalize().toJSON(),body:s,duplex:`half`,credentials:t?y:void 0};C=a&&new n(i,c);let f=await(a?x(C,b):x(i,c)),m=u&&(_===`stream`||_===`response`);if(u&&(h||m&&w)){let e={};[`status`,`statusText`,`headers`].forEach(t=>{e[t]=f[t]});let t=z.toFiniteNumber(f.headers.get(`content-length`)),[n,i]=h&&hn(t,J(gn(h),!0))||[];f=new r(kn(f.body,An,n,()=>{i&&i(),w&&w()}),e)}_||=`text`;let te=await d[z.findKey(d,_)||`text`](f,e);return!m&&w&&w(),await new Promise((t,n)=>{dn(t,n,{data:te,headers:K.from(f.headers),status:f.status,statusText:f.statusText,config:e,request:C})})}catch(t){throw w&&w(),t&&t.name===`TypeError`&&/Load failed|fetch/i.test(t.message)?Object.assign(new B(`Network Error`,B.ERR_NETWORK,e,C,t&&t.response),{cause:t.cause||t}):B.from(t,t&&t.code,e,C,t&&t.response)}}},In=new Map,Ln=e=>{let t=e&&e.env||{},{fetch:n,Request:r,Response:i}=t,a=[r,i,n],o=a.length,s,c,l=In;for(;o--;)s=a[o],c=l.get(s),c===void 0&&l.set(s,c=o?new Map:Fn(t)),l=c;return c};Ln();var Rn={http:null,xhr:wn,fetch:{get:Ln}};z.forEach(Rn,(e,t)=>{if(e){try{Object.defineProperty(e,`name`,{value:t})}catch{}Object.defineProperty(e,`adapterName`,{value:t})}});var zn=e=>`- ${e}`,Bn=e=>z.isFunction(e)||e===null||e===!1;function Vn(e,t){e=z.isArray(e)?e:[e];let{length:n}=e,r,i,a={};for(let o=0;o<n;o++){r=e[o];let n;if(i=r,!Bn(r)&&(i=Rn[(n=String(r)).toLowerCase()],i===void 0))throw new B(`Unknown adapter '${n}'`);if(i&&(z.isFunction(i)||(i=i.get(t))))break;a[n||`#`+o]=i}if(!i){let e=Object.entries(a).map(([e,t])=>`adapter ${e} `+(t===!1?`is not supported by the environment`:`is not available in the build`));throw new B(`There is no suitable adapter to dispatch the request `+(n?e.length>1?`since :
4
+ `+e.map(zn).join(`
5
+ `):` `+zn(e[0]):`as no adapter specified`),`ERR_NOT_SUPPORT`)}return i}var Hn={getAdapter:Vn,adapters:Rn};function Un(e){if(e.cancelToken&&e.cancelToken.throwIfRequested(),e.signal&&e.signal.aborted)throw new q(null,e)}function Wn(e){return Un(e),e.headers=K.from(e.headers),e.data=ln.call(e,e.transformRequest),[`post`,`put`,`patch`].indexOf(e.method)!==-1&&e.headers.setContentType(`application/x-www-form-urlencoded`,!1),Hn.getAdapter(e.adapter||U.adapter,e)(e).then(function(t){return Un(e),t.data=ln.call(e,e.transformResponse,t),t.headers=K.from(t.headers),t},function(t){return un(t)||(Un(e),t&&t.response&&(t.response.data=ln.call(e,e.transformResponse,t.response),t.response.headers=K.from(t.response.headers))),Promise.reject(t)})}var Gn=`1.15.0`,Kn={};[`object`,`boolean`,`number`,`function`,`string`,`symbol`].forEach((e,t)=>{Kn[e]=function(n){return typeof n===e||`a`+(t<1?`n `:` `)+e}});var qn={};Kn.transitional=function(e,t,n){function r(e,t){return`[Axios v`+Gn+`] Transitional option '`+e+`'`+t+(n?`. `+n:``)}return(n,i,a)=>{if(e===!1)throw new B(r(i,` has been removed`+(t?` in `+t:``)),B.ERR_DEPRECATED);return t&&!qn[i]&&(qn[i]=!0,console.warn(r(i,` has been deprecated since v`+t+` and will be removed in the near future`))),e?e(n,i,a):!0}},Kn.spelling=function(e){return(t,n)=>(console.warn(`${n} is likely a misspelling of ${e}`),!0)};function Jn(e,t,n){if(typeof e!=`object`)throw new B(`options must be an object`,B.ERR_BAD_OPTION_VALUE);let r=Object.keys(e),i=r.length;for(;i-- >0;){let a=r[i],o=t[a];if(o){let t=e[a],n=t===void 0||o(t,a,e);if(n!==!0)throw new B(`option `+a+` must be `+n,B.ERR_BAD_OPTION_VALUE);continue}if(n!==!0)throw new B(`Unknown option `+a,B.ERR_BAD_OPTION)}}var Yn={assertOptions:Jn,validators:Kn},Z=Yn.validators,Q=class{constructor(e){this.defaults=e||{},this.interceptors={request:new Lt,response:new Lt}}async request(e,t){try{return await this._request(e,t)}catch(e){if(e instanceof Error){let t={};Error.captureStackTrace?Error.captureStackTrace(t):t=Error();let n=(()=>{if(!t.stack)return``;let e=t.stack.indexOf(`
6
+ `);return e===-1?``:t.stack.slice(e+1)})();try{if(!e.stack)e.stack=n;else if(n){let t=n.indexOf(`
7
+ `),r=t===-1?-1:n.indexOf(`
8
+ `,t+1),i=r===-1?``:n.slice(r+1);String(e.stack).endsWith(i)||(e.stack+=`
9
+ `+n)}}catch{}}throw e}}_request(e,t){typeof e==`string`?(t||={},t.url=e):t=e||{},t=Y(this.defaults,t);let{transitional:n,paramsSerializer:r,headers:i}=t;n!==void 0&&Yn.assertOptions(n,{silentJSONParsing:Z.transitional(Z.boolean),forcedJSONParsing:Z.transitional(Z.boolean),clarifyTimeoutError:Z.transitional(Z.boolean),legacyInterceptorReqResOrdering:Z.transitional(Z.boolean)},!1),r!=null&&(z.isFunction(r)?t.paramsSerializer={serialize:r}:Yn.assertOptions(r,{encode:Z.function,serialize:Z.function},!0)),t.allowAbsoluteUrls!==void 0||(this.defaults.allowAbsoluteUrls===void 0?t.allowAbsoluteUrls=!0:t.allowAbsoluteUrls=this.defaults.allowAbsoluteUrls),Yn.assertOptions(t,{baseUrl:Z.spelling(`baseURL`),withXsrfToken:Z.spelling(`withXSRFToken`)},!0),t.method=(t.method||this.defaults.method||`get`).toLowerCase();let a=i&&z.merge(i.common,i[t.method]);i&&z.forEach([`delete`,`get`,`head`,`post`,`put`,`patch`,`common`],e=>{delete i[e]}),t.headers=K.concat(a,i);let o=[],s=!0;this.interceptors.request.forEach(function(e){if(typeof e.runWhen==`function`&&e.runWhen(t)===!1)return;s&&=e.synchronous;let n=t.transitional||Rt;n&&n.legacyInterceptorReqResOrdering?o.unshift(e.fulfilled,e.rejected):o.push(e.fulfilled,e.rejected)});let c=[];this.interceptors.response.forEach(function(e){c.push(e.fulfilled,e.rejected)});let l,u=0,d;if(!s){let e=[Wn.bind(this),void 0];for(e.unshift(...o),e.push(...c),d=e.length,l=Promise.resolve(t);u<d;)l=l.then(e[u++],e[u++]);return l}d=o.length;let f=t;for(;u<d;){let e=o[u++],t=o[u++];try{f=e(f)}catch(e){t.call(this,e);break}}try{l=Wn.call(this,f)}catch(e){return Promise.reject(e)}for(u=0,d=c.length;u<d;)l=l.then(c[u++],c[u++]);return l}getUri(e){return e=Y(this.defaults,e),It(xn(e.baseURL,e.url,e.allowAbsoluteUrls),e.params,e.paramsSerializer)}};z.forEach([`delete`,`get`,`head`,`options`],function(e){Q.prototype[e]=function(t,n){return this.request(Y(n||{},{method:e,url:t,data:(n||{}).data}))}}),z.forEach([`post`,`put`,`patch`],function(e){function t(t){return function(n,r,i){return this.request(Y(i||{},{method:e,headers:t?{"Content-Type":`multipart/form-data`}:{},url:n,data:r}))}}Q.prototype[e]=t(),Q.prototype[e+`Form`]=t(!0)});var Xn=class e{constructor(e){if(typeof e!=`function`)throw TypeError(`executor must be a function.`);let t;this.promise=new Promise(function(e){t=e});let n=this;this.promise.then(e=>{if(!n._listeners)return;let t=n._listeners.length;for(;t-- >0;)n._listeners[t](e);n._listeners=null}),this.promise.then=e=>{let t,r=new Promise(e=>{n.subscribe(e),t=e}).then(e);return r.cancel=function(){n.unsubscribe(t)},r},e(function(e,r,i){n.reason||(n.reason=new q(e,r,i),t(n.reason))})}throwIfRequested(){if(this.reason)throw this.reason}subscribe(e){if(this.reason){e(this.reason);return}this._listeners?this._listeners.push(e):this._listeners=[e]}unsubscribe(e){if(!this._listeners)return;let t=this._listeners.indexOf(e);t!==-1&&this._listeners.splice(t,1)}toAbortSignal(){let e=new AbortController,t=t=>{e.abort(t)};return this.subscribe(t),e.signal.unsubscribe=()=>this.unsubscribe(t),e.signal}static source(){let t;return{token:new e(function(e){t=e}),cancel:t}}};function Zn(e){return function(t){return e.apply(null,t)}}function Qn(e){return z.isObject(e)&&e.isAxiosError===!0}var $n={Continue:100,SwitchingProtocols:101,Processing:102,EarlyHints:103,Ok:200,Created:201,Accepted:202,NonAuthoritativeInformation:203,NoContent:204,ResetContent:205,PartialContent:206,MultiStatus:207,AlreadyReported:208,ImUsed:226,MultipleChoices:300,MovedPermanently:301,Found:302,SeeOther:303,NotModified:304,UseProxy:305,Unused:306,TemporaryRedirect:307,PermanentRedirect:308,BadRequest:400,Unauthorized:401,PaymentRequired:402,Forbidden:403,NotFound:404,MethodNotAllowed:405,NotAcceptable:406,ProxyAuthenticationRequired:407,RequestTimeout:408,Conflict:409,Gone:410,LengthRequired:411,PreconditionFailed:412,PayloadTooLarge:413,UriTooLong:414,UnsupportedMediaType:415,RangeNotSatisfiable:416,ExpectationFailed:417,ImATeapot:418,MisdirectedRequest:421,UnprocessableEntity:422,Locked:423,FailedDependency:424,TooEarly:425,UpgradeRequired:426,PreconditionRequired:428,TooManyRequests:429,RequestHeaderFieldsTooLarge:431,UnavailableForLegalReasons:451,InternalServerError:500,NotImplemented:501,BadGateway:502,ServiceUnavailable:503,GatewayTimeout:504,HttpVersionNotSupported:505,VariantAlsoNegotiates:506,InsufficientStorage:507,LoopDetected:508,NotExtended:510,NetworkAuthenticationRequired:511,WebServerIsDown:521,ConnectionTimedOut:522,OriginIsUnreachable:523,TimeoutOccurred:524,SslHandshakeFailed:525,InvalidSslCertificate:526};Object.entries($n).forEach(([e,t])=>{$n[t]=e});function er(e){let t=new Q(e),n=Oe(Q.prototype.request,t);return z.extend(n,Q.prototype,t,{allOwnKeys:!0}),z.extend(n,t,null,{allOwnKeys:!0}),n.create=function(t){return er(Y(e,t))},n}var $=er(U);$.Axios=Q,$.CanceledError=q,$.CancelToken=Xn,$.isCancel=un,$.VERSION=Gn,$.toFormData=V,$.AxiosError=B,$.Cancel=$.CanceledError,$.all=function(e){return Promise.all(e)},$.spread=Zn,$.isAxiosError=Qn,$.mergeConfig=Y,$.AxiosHeaders=K,$.formToJSON=e=>Yt(z.isHTMLForm(e)?new FormData(e):e),$.getAdapter=Hn.getAdapter,$.HttpStatusCode=$n,$.default=$;var tr=$.create({});console.warn(`Attempting to create the axios singleton, but BACKEND_BASE_URL is empty! You need to set it up with axiosInstance.defaults.baseURL = "..."`);function nr(e,t){return Ee({queryKey:[e],queryFn:async()=>{if(e.value)return(await tr.get(e.value)).data},enabled:()=>!!e.value,...t})}function rr(e,t){return De({mutationFn:async t=>{if(e.value)return(await tr.post(e.value,t)).data},...t})}var ir={query:nr,mutation:rr};function ar(e,t){e.setConfig({axios:t??tr})}function or(e,t,n){return Ee({queryKey:[e.name,t],queryFn:async()=>{if(!t.value)return;let n=await e(t.value);if(n&&n.isAxiosError)throw n;return n.data},enabled:()=>!!t.value,...n})}function sr(e,t){return De({mutationFn:async t=>{let n=await e(t);if(n&&n.isAxiosError)throw n;return n.data},...t})}var cr={query:or,mutation:sr,setupOpenApiClient:ar};Object.defineProperty(exports,`n`,{enumerable:!0,get:function(){return ir}}),Object.defineProperty(exports,`r`,{enumerable:!0,get:function(){return tr}}),Object.defineProperty(exports,`t`,{enumerable:!0,get:function(){return cr}});
package/dist/network.cjs CHANGED
@@ -1 +1 @@
1
- "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const a=require("./axios-DMqeKDaq.cjs"),i=require("./apiClient-Cr0IvG5Z.cjs");function s(n,e){n.setConfig({axios:e??a.axiosInstance})}function o(n,e,r){return i.useQuery({queryKey:[n.name,e],queryFn:async()=>{if(!e.value)return;const t=await n(e.value);if(t&&t.isAxiosError)throw t;return t.data},enabled:()=>!!e.value,...r})}function c(n,e){return i.useMutation({mutationFn:async u=>{const t=await n(u);if(t&&t.isAxiosError)throw t;return t.data},...e})}const l={query:o,mutation:c,setupOpenApiClient:s};exports.axiosInstance=a.axiosInstance;exports.apiClient=i.apiClient;exports.typedApiClient=l;
1
+ Object.defineProperty(exports,Symbol.toStringTag,{value:`Module`});const e=require(`./network-uPe9-HeS.cjs`);exports.apiClient=e.n,exports.axiosInstance=e.r,exports.typedApiClient=e.t;
package/dist/network.d.ts CHANGED
@@ -1,106 +1,3 @@
1
- import { AxiosError } from 'axios';
2
- import { AxiosInstance } from 'axios';
3
- import { Ref } from 'vue';
4
- import { UseMutationOptions } from '@tanstack/vue-query';
5
- import { UseMutationReturnType } from '@tanstack/vue-query';
6
- import { UseQueryOptions } from '@tanstack/vue-query';
7
- import { UseQueryReturnType } from '@tanstack/vue-query';
8
-
9
- export declare const apiClient: {
10
- query: typeof query;
11
- mutation: typeof mutation;
12
- };
13
-
14
- export declare const axiosInstance: AxiosInstance;
15
-
16
- declare type ExtractMutationDataType<T> = T extends (options: any) => Promise<{
17
- data: infer D;
18
- }> ? D : T extends (options: any) => {
19
- data: infer D;
20
- } ? D : never;
21
-
22
- declare type ExtractMutationOptionsType<T> = T extends (options: infer O) => any ? O : never;
23
-
24
- declare type ExtractQueryDataType<T> = T extends (options: any) => Promise<{
25
- data: infer D;
26
- }> ? D : T extends (options: any) => {
27
- data: infer D;
28
- } ? D : never;
29
-
30
- declare type ExtractQueryOptionsType<T> = T extends (options: infer O) => any ? O : never;
31
-
32
- /**
33
- * Wraps a generic HTTP POST request (by URL and body) with TanStack useMutation.
34
- * The API is not called if the URL is ref(undefined).
35
- * @param url ref to a string or undefined, the endpoint to call
36
- * @param mutationOptions TanStack useMutation options: https://tanstack.com/query/v5/docs/framework/vue/reference/useMutation
37
- * @returns TanStack useMutation return: https://tanstack.com/query/v5/docs/framework/vue/reference/useMutation
38
- *
39
- * Example usage:
40
- * const mutation = apiClient.mutation(ref('/api/post-data/'))
41
- * mutation.mutate({ foo: 'bar' })
42
- */
43
- declare function mutation(url: Ref<string | undefined>, mutationOptions?: Omit<UseMutationOptions<unknown, AxiosError, any>, 'mutationFn'>): UseMutationReturnType<unknown, AxiosError, any, unknown>;
44
-
45
- /**
46
- * Wraps an auto-generated OpenAPI mutation (POST/PUT/DELETE) with TanStack useMutation,
47
- * providing state-management helpers and lifecycle hooks for the mutation.
48
- * @param callable Auto-generated function from a mutation endpoint (POST/PUT/DELETE), using @hey-api/openapi-ts
49
- * @param mutationOptions TanStack useMutation options: https://tanstack.com/query/v5/docs/framework/vue/reference/useMutation
50
- * @returns TanStack useMutation return: https://tanstack.com/query/v5/docs/framework/vue/reference/useMutation
51
- *
52
- * Example usage:
53
- * const mutation = typedApiClient.mutation(postHello, {
54
- * onSuccess: (data) => { ... },
55
- * onError: (error) => { ... }
56
- * })
57
- * mutation.mutate(options)
58
- */
59
- declare function mutation_2<TCallable extends (options: any) => any, TOptions extends ExtractMutationOptionsType<TCallable>, TData extends ExtractMutationDataType<TCallable>>(callable: TCallable, mutationOptions?: Omit<UseMutationOptions<TData, AxiosError, TOptions>, 'mutationFn'>): UseMutationReturnType<TData, AxiosError, TOptions, unknown>;
60
-
61
- /**
62
- * Wraps a generic HTTP GET request (by URL) with TanStack useQuery.
63
- * The API is called automatically again when the URL changes.
64
- * The API is not called if the URL is ref(undefined).
65
- * @param url ref to a string or undefined, the endpoint to call
66
- * @param queryOptions TanStack useQuery options: https://tanstack.com/query/v5/docs/framework/vue/reference/useQuery
67
- * @returns TanStack useQuery return: https://tanstack.com/query/v5/docs/framework/vue/reference/useQuery
68
- *
69
- * Example usage:
70
- * const { data, isLoading, error } = apiClient.query(ref('/api/get-data/'))
71
- */
72
- declare function query(url: Ref<string | undefined>, queryOptions?: Omit<UseQueryOptions<unknown>, 'queryKey' | 'queryFn'>): UseQueryReturnType<any, AxiosError>;
73
-
74
- /**
75
- * Wraps a auto-generated OpenAPI query with TanStack useQuery,
76
- * providing many state-management helpers around the query
77
- * @param callable Auto-generated function from an GET endpoint, using @hey-api/openapi-ts
78
- * @param options reactive options expected by and passed to the callable, e.g to build the URL. If ref(undefined) is provided, the query is not called
79
- * @param queryOptions TanStack useQuery options : https://tanstack.com/query/v5/docs/framework/vue/reference/useQuery
80
- * @returns TanStack useQuery return : https://tanstack.com/query/v5/docs/framework/vue/reference/useQuery
81
- */
82
- declare function query_2<TCallable extends (options: any) => any, TOptions extends ExtractQueryOptionsType<TCallable>, TData extends ExtractQueryDataType<TCallable>>(callable: TCallable, options: Ref<TOptions | undefined>, queryOptions?: Omit<UseQueryOptions<TData>, 'queryKey' | 'queryFn'>): UseQueryReturnType<TData, Error>;
83
-
84
- /**
85
- * Attaches an axios instance to an OpenAPI Client/SDK,
86
- * autogenerated by @hey-api/openapi-ts.
87
- * You need to call this during application startup to have a working OpenAPI Client
88
- * E.g., if you're running: npx @hey-api/openapi-ts --input .path/to/openapi.yaml --output ./src/openapi
89
- * Then you will have your generated code in @/openapi, and then you can:
90
- * import { client } from '@/openapi/client.gen'
91
- * import { typedApiClient } from '@nside/wefa/network'
92
- * typedApiClient.setupOpenApiClient(client)
93
- * @param client Auto-generated OpenAPI client
94
- * @param axios Optional axios instance. If not provided, it defaults to the axios singleton.
95
- */
96
- declare function setupOpenApiClient(client: any, axios?: AxiosInstance): void;
97
-
98
- export declare const typedApiClient: {
99
- query: typeof query_2;
100
- mutation: typeof mutation_2;
101
- setupOpenApiClient: typeof setupOpenApiClient;
102
- };
103
-
104
1
  export { }
105
2
 
106
3
 
package/dist/network.js CHANGED
@@ -1,48 +1,2 @@
1
- import { a } from "./axios-CZvsFspN.js";
2
- import { u as i, a as o } from "./apiClient-BHDjT0dU.js";
3
- import { b as d } from "./apiClient-BHDjT0dU.js";
4
- function s(e, r) {
5
- e.setConfig({
6
- axios: r ?? a
7
- });
8
- }
9
- function c(e, r, n) {
10
- return o({
11
- // Handles caching and automatic refetch when options change
12
- queryKey: [e.name, r],
13
- // Query call
14
- queryFn: async () => {
15
- if (!r.value)
16
- return;
17
- const t = await e(r.value);
18
- if (t && t.isAxiosError)
19
- throw t;
20
- return t.data;
21
- },
22
- // Query not called if options is undefined
23
- enabled: () => !!r.value,
24
- // Additional options passed to TanStack
25
- ...n
26
- });
27
- }
28
- function f(e, r) {
29
- return i({
30
- mutationFn: async (u) => {
31
- const t = await e(u);
32
- if (t && t.isAxiosError)
33
- throw t;
34
- return t.data;
35
- },
36
- ...r
37
- });
38
- }
39
- const p = {
40
- query: c,
41
- mutation: f,
42
- setupOpenApiClient: s
43
- };
44
- export {
45
- d as apiClient,
46
- a as axiosInstance,
47
- p as typedApiClient
48
- };
1
+ import { n as e, r as t, t as n } from "./network-DD_yGfK6.js";
2
+ export { e as apiClient, t as axiosInstance, n as typedApiClient };
@@ -0,0 +1,265 @@
1
+ import { E as e, k as t, pt as n } from "./basecomponent-CRTLSsqZ.js";
2
+ import { o as r } from "./ripple-CoTE8rF8.js";
3
+ import { Teleport as i, createBlock as a, createCommentVNode as o, openBlock as s, renderSlot as c } from "vue";
4
+ //#region node_modules/@primeuix/utils/dist/zindex/index.mjs
5
+ function l() {
6
+ let e = [], t = (t, n, r = 999) => {
7
+ let a = i(t, n, r), o = a.value + (a.key === t ? 0 : r) + 1;
8
+ return e.push({
9
+ key: t,
10
+ value: o
11
+ }), o;
12
+ }, n = (t) => {
13
+ e = e.filter((e) => e.value !== t);
14
+ }, r = (e, t) => i(e, t).value, i = (t, n, r = 0) => [...e].reverse().find((e) => n ? !0 : e.key === t) || {
15
+ key: t,
16
+ value: r
17
+ }, a = (e) => e && parseInt(e.style.zIndex, 10) || 0;
18
+ return {
19
+ get: a,
20
+ set: (e, n, r) => {
21
+ n && (n.style.zIndex = String(t(e, !0, r)));
22
+ },
23
+ clear: (e) => {
24
+ e && (n(a(e)), e.style.zIndex = "");
25
+ },
26
+ getCurrent: (e) => r(e, !0)
27
+ };
28
+ }
29
+ var u = l();
30
+ //#endregion
31
+ //#region node_modules/@primevue/core/utils/index.mjs
32
+ function d(e) {
33
+ "@babel/helpers - typeof";
34
+ return d = typeof Symbol == "function" && typeof Symbol.iterator == "symbol" ? function(e) {
35
+ return typeof e;
36
+ } : function(e) {
37
+ return e && typeof Symbol == "function" && e.constructor === Symbol && e !== Symbol.prototype ? "symbol" : typeof e;
38
+ }, d(e);
39
+ }
40
+ function f(e, t) {
41
+ if (!(e instanceof t)) throw TypeError("Cannot call a class as a function");
42
+ }
43
+ function p(e, t) {
44
+ for (var n = 0; n < t.length; n++) {
45
+ var r = t[n];
46
+ r.enumerable = r.enumerable || !1, r.configurable = !0, "value" in r && (r.writable = !0), Object.defineProperty(e, h(r.key), r);
47
+ }
48
+ }
49
+ function m(e, t, n) {
50
+ return t && p(e.prototype, t), Object.defineProperty(e, "prototype", { writable: !1 }), e;
51
+ }
52
+ function h(e) {
53
+ var t = g(e, "string");
54
+ return d(t) == "symbol" ? t : t + "";
55
+ }
56
+ function g(e, t) {
57
+ if (d(e) != "object" || !e) return e;
58
+ var n = e[Symbol.toPrimitive];
59
+ if (n !== void 0) {
60
+ var r = n.call(e, t);
61
+ if (d(r) != "object") return r;
62
+ throw TypeError("@@toPrimitive must return a primitive value.");
63
+ }
64
+ return String(e);
65
+ }
66
+ var _ = /* @__PURE__ */ function() {
67
+ function e(t) {
68
+ var n = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : function() {};
69
+ f(this, e), this.element = t, this.listener = n;
70
+ }
71
+ return m(e, [
72
+ {
73
+ key: "bindScrollListener",
74
+ value: function() {
75
+ this.scrollableParents = t(this.element);
76
+ for (var e = 0; e < this.scrollableParents.length; e++) this.scrollableParents[e].addEventListener("scroll", this.listener);
77
+ }
78
+ },
79
+ {
80
+ key: "unbindScrollListener",
81
+ value: function() {
82
+ if (this.scrollableParents) for (var e = 0; e < this.scrollableParents.length; e++) this.scrollableParents[e].removeEventListener("scroll", this.listener);
83
+ }
84
+ },
85
+ {
86
+ key: "destroy",
87
+ value: function() {
88
+ this.unbindScrollListener(), this.element = null, this.listener = null, this.scrollableParents = null;
89
+ }
90
+ }
91
+ ]);
92
+ }();
93
+ function v(e) {
94
+ "@babel/helpers - typeof";
95
+ return v = typeof Symbol == "function" && typeof Symbol.iterator == "symbol" ? function(e) {
96
+ return typeof e;
97
+ } : function(e) {
98
+ return e && typeof Symbol == "function" && e.constructor === Symbol && e !== Symbol.prototype ? "symbol" : typeof e;
99
+ }, v(e);
100
+ }
101
+ function y(e) {
102
+ return C(e) || S(e) || x(e) || b();
103
+ }
104
+ function b() {
105
+ throw TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.");
106
+ }
107
+ function x(e, t) {
108
+ if (e) {
109
+ if (typeof e == "string") return w(e, t);
110
+ var n = {}.toString.call(e).slice(8, -1);
111
+ return n === "Object" && e.constructor && (n = e.constructor.name), n === "Map" || n === "Set" ? Array.from(e) : n === "Arguments" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n) ? w(e, t) : void 0;
112
+ }
113
+ }
114
+ function S(e) {
115
+ if (typeof Symbol < "u" && e[Symbol.iterator] != null || e["@@iterator"] != null) return Array.from(e);
116
+ }
117
+ function C(e) {
118
+ if (Array.isArray(e)) return w(e);
119
+ }
120
+ function w(e, t) {
121
+ (t == null || t > e.length) && (t = e.length);
122
+ for (var n = 0, r = Array(t); n < t; n++) r[n] = e[n];
123
+ return r;
124
+ }
125
+ function T(e, t) {
126
+ if (!(e instanceof t)) throw TypeError("Cannot call a class as a function");
127
+ }
128
+ function E(e, t) {
129
+ for (var n = 0; n < t.length; n++) {
130
+ var r = t[n];
131
+ r.enumerable = r.enumerable || !1, r.configurable = !0, "value" in r && (r.writable = !0), Object.defineProperty(e, k(r.key), r);
132
+ }
133
+ }
134
+ function D(e, t, n) {
135
+ return t && E(e.prototype, t), Object.defineProperty(e, "prototype", { writable: !1 }), e;
136
+ }
137
+ function O(e, t, n) {
138
+ return (t = k(t)) in e ? Object.defineProperty(e, t, {
139
+ value: n,
140
+ enumerable: !0,
141
+ configurable: !0,
142
+ writable: !0
143
+ }) : e[t] = n, e;
144
+ }
145
+ function k(e) {
146
+ var t = A(e, "string");
147
+ return v(t) == "symbol" ? t : t + "";
148
+ }
149
+ function A(e, t) {
150
+ if (v(e) != "object" || !e) return e;
151
+ var n = e[Symbol.toPrimitive];
152
+ if (n !== void 0) {
153
+ var r = n.call(e, t);
154
+ if (v(r) != "object") return r;
155
+ throw TypeError("@@toPrimitive must return a primitive value.");
156
+ }
157
+ return String(e);
158
+ }
159
+ var j = /* @__PURE__ */ function() {
160
+ function t(e) {
161
+ var n = e.init, r = e.type;
162
+ T(this, t), O(this, "helpers", void 0), O(this, "type", void 0), this.helpers = new Set(n), this.type = r;
163
+ }
164
+ return D(t, [
165
+ {
166
+ key: "add",
167
+ value: function(e) {
168
+ this.helpers.add(e);
169
+ }
170
+ },
171
+ {
172
+ key: "update",
173
+ value: function() {}
174
+ },
175
+ {
176
+ key: "delete",
177
+ value: function(e) {
178
+ this.helpers.delete(e);
179
+ }
180
+ },
181
+ {
182
+ key: "clear",
183
+ value: function() {
184
+ this.helpers.clear();
185
+ }
186
+ },
187
+ {
188
+ key: "get",
189
+ value: function(t, n) {
190
+ var r = this._get(t, n), i = r ? this._recursive(y(this.helpers), r) : null;
191
+ return e(i) ? i : null;
192
+ }
193
+ },
194
+ {
195
+ key: "_isMatched",
196
+ value: function(e, t) {
197
+ var n, r = e?.parent;
198
+ return (r == null || (n = r.vnode) == null ? void 0 : n.key) === t || r && this._isMatched(r, t) || !1;
199
+ }
200
+ },
201
+ {
202
+ key: "_get",
203
+ value: function(e, t) {
204
+ var n, r;
205
+ return ((n = t || e?.$slots) == null || (r = n.default) == null ? void 0 : r.call(n)) || null;
206
+ }
207
+ },
208
+ {
209
+ key: "_recursive",
210
+ value: function() {
211
+ var t = this, n = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : [], r = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : [], i = [];
212
+ return r.forEach(function(r) {
213
+ r.children instanceof Array ? i = i.concat(t._recursive(n, r.children)) : r.type.name === t.type ? i.push(r) : e(r.key) && (i = i.concat(n.filter(function(e) {
214
+ return t._isMatched(e, r.key);
215
+ }).map(function(e) {
216
+ return e.vnode;
217
+ })));
218
+ }), i;
219
+ }
220
+ }
221
+ ]);
222
+ }();
223
+ function M(e, t) {
224
+ if (e) {
225
+ var n = e.props;
226
+ if (n) {
227
+ var r = t.replace(/([a-z])([A-Z])/g, "$1-$2").toLowerCase(), i = Object.prototype.hasOwnProperty.call(n, r) ? r : t;
228
+ return e.type.extends.props[t].type === Boolean && n[i] === "" ? !0 : n[i];
229
+ }
230
+ }
231
+ return null;
232
+ }
233
+ //#endregion
234
+ //#region node_modules/primevue/overlayeventbus/index.mjs
235
+ var N = r(), P = {
236
+ name: "Portal",
237
+ props: {
238
+ appendTo: {
239
+ type: [String, Object],
240
+ default: "body"
241
+ },
242
+ disabled: {
243
+ type: Boolean,
244
+ default: !1
245
+ }
246
+ },
247
+ data: function() {
248
+ return { mounted: !1 };
249
+ },
250
+ mounted: function() {
251
+ this.mounted = n();
252
+ },
253
+ computed: { inline: function() {
254
+ return this.disabled || this.appendTo === "self";
255
+ } }
256
+ };
257
+ function F(e, t, n, r, l, u) {
258
+ return u.inline ? c(e.$slots, "default", { key: 0 }) : l.mounted ? (s(), a(i, {
259
+ key: 1,
260
+ to: n.appendTo
261
+ }, [c(e.$slots, "default")], 8, ["to"])) : o("", !0);
262
+ }
263
+ P.render = F;
264
+ //#endregion
265
+ export { M as a, j as i, N as n, u as o, _ as r, P as t };
@@ -0,0 +1,2 @@
1
+ require(`./chunk-BK-Lzi7j.cjs`);const e=require(`./basecomponent-CGerMr_k.cjs`),t=require(`./ripple-UYfqtU0m.cjs`);let n=require(`vue`);function r(){let e=[],t=(t,n,r=999)=>{let a=i(t,n,r),o=a.value+(a.key===t?0:r)+1;return e.push({key:t,value:o}),o},n=t=>{e=e.filter(e=>e.value!==t)},r=(e,t)=>i(e,t).value,i=(t,n,r=0)=>[...e].reverse().find(e=>n?!0:e.key===t)||{key:t,value:r},a=e=>e&&parseInt(e.style.zIndex,10)||0;return{get:a,set:(e,n,r)=>{n&&(n.style.zIndex=String(t(e,!0,r)))},clear:e=>{e&&(n(a(e)),e.style.zIndex=``)},getCurrent:e=>r(e,!0)}}var i=r();function a(e){"@babel/helpers - typeof";return a=typeof Symbol==`function`&&typeof Symbol.iterator==`symbol`?function(e){return typeof e}:function(e){return e&&typeof Symbol==`function`&&e.constructor===Symbol&&e!==Symbol.prototype?`symbol`:typeof e},a(e)}function o(e,t){if(!(e instanceof t))throw TypeError(`Cannot call a class as a function`)}function s(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,`value`in r&&(r.writable=!0),Object.defineProperty(e,l(r.key),r)}}function c(e,t,n){return t&&s(e.prototype,t),Object.defineProperty(e,`prototype`,{writable:!1}),e}function l(e){var t=u(e,`string`);return a(t)==`symbol`?t:t+``}function u(e,t){if(a(e)!=`object`||!e)return e;var n=e[Symbol.toPrimitive];if(n!==void 0){var r=n.call(e,t);if(a(r)!=`object`)return r;throw TypeError(`@@toPrimitive must return a primitive value.`)}return String(e)}var d=function(){function t(e){var n=arguments.length>1&&arguments[1]!==void 0?arguments[1]:function(){};o(this,t),this.element=e,this.listener=n}return c(t,[{key:`bindScrollListener`,value:function(){this.scrollableParents=e.k(this.element);for(var t=0;t<this.scrollableParents.length;t++)this.scrollableParents[t].addEventListener(`scroll`,this.listener)}},{key:`unbindScrollListener`,value:function(){if(this.scrollableParents)for(var e=0;e<this.scrollableParents.length;e++)this.scrollableParents[e].removeEventListener(`scroll`,this.listener)}},{key:`destroy`,value:function(){this.unbindScrollListener(),this.element=null,this.listener=null,this.scrollableParents=null}}])}();function f(e){"@babel/helpers - typeof";return f=typeof Symbol==`function`&&typeof Symbol.iterator==`symbol`?function(e){return typeof e}:function(e){return e&&typeof Symbol==`function`&&e.constructor===Symbol&&e!==Symbol.prototype?`symbol`:typeof e},f(e)}function p(e){return _(e)||g(e)||h(e)||m()}function m(){throw TypeError(`Invalid attempt to spread non-iterable instance.
2
+ In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}function h(e,t){if(e){if(typeof e==`string`)return v(e,t);var n={}.toString.call(e).slice(8,-1);return n===`Object`&&e.constructor&&(n=e.constructor.name),n===`Map`||n===`Set`?Array.from(e):n===`Arguments`||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?v(e,t):void 0}}function g(e){if(typeof Symbol<`u`&&e[Symbol.iterator]!=null||e[`@@iterator`]!=null)return Array.from(e)}function _(e){if(Array.isArray(e))return v(e)}function v(e,t){(t==null||t>e.length)&&(t=e.length);for(var n=0,r=Array(t);n<t;n++)r[n]=e[n];return r}function y(e,t){if(!(e instanceof t))throw TypeError(`Cannot call a class as a function`)}function b(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,`value`in r&&(r.writable=!0),Object.defineProperty(e,C(r.key),r)}}function x(e,t,n){return t&&b(e.prototype,t),Object.defineProperty(e,`prototype`,{writable:!1}),e}function S(e,t,n){return(t=C(t))in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function C(e){var t=w(e,`string`);return f(t)==`symbol`?t:t+``}function w(e,t){if(f(e)!=`object`||!e)return e;var n=e[Symbol.toPrimitive];if(n!==void 0){var r=n.call(e,t);if(f(r)!=`object`)return r;throw TypeError(`@@toPrimitive must return a primitive value.`)}return String(e)}var T=function(){function t(e){var n=e.init,r=e.type;y(this,t),S(this,`helpers`,void 0),S(this,`type`,void 0),this.helpers=new Set(n),this.type=r}return x(t,[{key:`add`,value:function(e){this.helpers.add(e)}},{key:`update`,value:function(){}},{key:`delete`,value:function(e){this.helpers.delete(e)}},{key:`clear`,value:function(){this.helpers.clear()}},{key:`get`,value:function(t,n){var r=this._get(t,n),i=r?this._recursive(p(this.helpers),r):null;return e.E(i)?i:null}},{key:`_isMatched`,value:function(e,t){var n,r=e?.parent;return(r==null||(n=r.vnode)==null?void 0:n.key)===t||r&&this._isMatched(r,t)||!1}},{key:`_get`,value:function(e,t){var n,r;return((n=t||e?.$slots)==null||(r=n.default)==null?void 0:r.call(n))||null}},{key:`_recursive`,value:function(){var t=this,n=arguments.length>0&&arguments[0]!==void 0?arguments[0]:[],r=arguments.length>1&&arguments[1]!==void 0?arguments[1]:[],i=[];return r.forEach(function(r){r.children instanceof Array?i=i.concat(t._recursive(n,r.children)):r.type.name===t.type?i.push(r):e.E(r.key)&&(i=i.concat(n.filter(function(e){return t._isMatched(e,r.key)}).map(function(e){return e.vnode})))}),i}}])}();function E(e,t){if(e){var n=e.props;if(n){var r=t.replace(/([a-z])([A-Z])/g,`$1-$2`).toLowerCase(),i=Object.prototype.hasOwnProperty.call(n,r)?r:t;return e.type.extends.props[t].type===Boolean&&n[i]===``?!0:n[i]}}return null}var D=t.o(),O={name:`Portal`,props:{appendTo:{type:[String,Object],default:`body`},disabled:{type:Boolean,default:!1}},data:function(){return{mounted:!1}},mounted:function(){this.mounted=e.pt()},computed:{inline:function(){return this.disabled||this.appendTo===`self`}}};function k(e,t,r,i,a,o){return o.inline?(0,n.renderSlot)(e.$slots,`default`,{key:0}):a.mounted?((0,n.openBlock)(),(0,n.createBlock)(n.Teleport,{key:1,to:r.appendTo},[(0,n.renderSlot)(e.$slots,`default`)],8,[`to`])):(0,n.createCommentVNode)(``,!0)}O.render=k,Object.defineProperty(exports,`a`,{enumerable:!0,get:function(){return E}}),Object.defineProperty(exports,`i`,{enumerable:!0,get:function(){return T}}),Object.defineProperty(exports,`n`,{enumerable:!0,get:function(){return D}}),Object.defineProperty(exports,`o`,{enumerable:!0,get:function(){return i}}),Object.defineProperty(exports,`r`,{enumerable:!0,get:function(){return d}}),Object.defineProperty(exports,`t`,{enumerable:!0,get:function(){return O}});
@@ -1,4 +1,4 @@
1
- "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const a=require("./index-DfCQoHSf.cjs"),n=require("vue"),l=require("./index-DFSkcsx-.cjs");var o=`
1
+ require(`./chunk-BK-Lzi7j.cjs`);const e=require(`./classnames-DqVQ5xbt.cjs`),t=require(`./basecomponent-CGerMr_k.cjs`);let n=require(`vue`);var r=t.r.extend({name:`progressbar`,style:`
2
2
  .p-progressbar {
3
3
  display: block;
4
4
  position: relative;
@@ -115,4 +115,4 @@
115
115
  inset-inline-end: -8%;
116
116
  }
117
117
  }
118
- `,d={root:function(i){var t=i.instance;return["p-progressbar p-component",{"p-progressbar-determinate":t.determinate,"p-progressbar-indeterminate":t.indeterminate}]},value:"p-progressbar-value",label:"p-progressbar-label"},p=a.BaseStyle.extend({name:"progressbar",style:o,classes:d}),u={name:"BaseProgressBar",extends:a.script,props:{value:{type:Number,default:null},mode:{type:String,default:"determinate"},showValue:{type:Boolean,default:!0}},style:p,provide:function(){return{$pcProgressBar:this,$parentInstance:this}}},s={name:"ProgressBar",extends:u,inheritAttrs:!1,computed:{progressStyle:function(){return{width:this.value+"%",display:"flex"}},indeterminate:function(){return this.mode==="indeterminate"},determinate:function(){return this.mode==="determinate"},dataP:function(){return l.f({determinate:this.determinate,indeterminate:this.indeterminate})}}},m=["aria-valuenow","data-p"],b=["data-p"],g=["data-p"],c=["data-p"];function v(e,i,t,h,f,r){return n.openBlock(),n.createElementBlock("div",n.mergeProps({role:"progressbar",class:e.cx("root"),"aria-valuemin":"0","aria-valuenow":e.value,"aria-valuemax":"100","data-p":r.dataP},e.ptmi("root")),[r.determinate?(n.openBlock(),n.createElementBlock("div",n.mergeProps({key:0,class:e.cx("value"),style:r.progressStyle,"data-p":r.dataP},e.ptm("value")),[e.value!=null&&e.value!==0&&e.showValue?(n.openBlock(),n.createElementBlock("div",n.mergeProps({key:0,class:e.cx("label"),"data-p":r.dataP},e.ptm("label")),[n.renderSlot(e.$slots,"default",{},function(){return[n.createTextVNode(n.toDisplayString(e.value+"%"),1)]})],16,g)):n.createCommentVNode("",!0)],16,b)):r.indeterminate?(n.openBlock(),n.createElementBlock("div",n.mergeProps({key:1,class:e.cx("value"),"data-p":r.dataP},e.ptm("value")),null,16,c)):n.createCommentVNode("",!0)],16,m)}s.render=v;exports.default=s;
118
+ `,classes:{root:function(e){var t=e.instance;return[`p-progressbar p-component`,{"p-progressbar-determinate":t.determinate,"p-progressbar-indeterminate":t.indeterminate}]},value:`p-progressbar-value`,label:`p-progressbar-label`}}),i={name:`ProgressBar`,extends:{name:`BaseProgressBar`,extends:t.t,props:{value:{type:Number,default:null},mode:{type:String,default:`determinate`},showValue:{type:Boolean,default:!0}},style:r,provide:function(){return{$pcProgressBar:this,$parentInstance:this}}},inheritAttrs:!1,computed:{progressStyle:function(){return{width:this.value+`%`,display:`flex`}},indeterminate:function(){return this.mode===`indeterminate`},determinate:function(){return this.mode===`determinate`},dataP:function(){return e.t({determinate:this.determinate,indeterminate:this.indeterminate})}}},a=[`aria-valuenow`,`data-p`],o=[`data-p`],s=[`data-p`],c=[`data-p`];function l(e,t,r,i,l,u){return(0,n.openBlock)(),(0,n.createElementBlock)(`div`,(0,n.mergeProps)({role:`progressbar`,class:e.cx(`root`),"aria-valuemin":`0`,"aria-valuenow":e.value,"aria-valuemax":`100`,"data-p":u.dataP},e.ptmi(`root`)),[u.determinate?((0,n.openBlock)(),(0,n.createElementBlock)(`div`,(0,n.mergeProps)({key:0,class:e.cx(`value`),style:u.progressStyle,"data-p":u.dataP},e.ptm(`value`)),[e.value!=null&&e.value!==0&&e.showValue?((0,n.openBlock)(),(0,n.createElementBlock)(`div`,(0,n.mergeProps)({key:0,class:e.cx(`label`),"data-p":u.dataP},e.ptm(`label`)),[(0,n.renderSlot)(e.$slots,`default`,{},function(){return[(0,n.createTextVNode)((0,n.toDisplayString)(e.value+`%`),1)]})],16,s)):(0,n.createCommentVNode)(``,!0)],16,o)):u.indeterminate?((0,n.openBlock)(),(0,n.createElementBlock)(`div`,(0,n.mergeProps)({key:1,class:e.cx(`value`),"data-p":u.dataP},e.ptm(`value`)),null,16,c)):(0,n.createCommentVNode)(``,!0)],16,a)}i.render=l,exports.default=i;