@perses-dev/victorialogs-plugin 0.3.0-beta.0 → 0.3.0

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 (180) hide show
  1. package/__mf/js/{VictoriaLogs.d3b01c69.js → VictoriaLogs.796e2488.js} +3 -3
  2. package/__mf/js/async/1728.4186adbe.js +1 -0
  3. package/__mf/js/async/392.8da1804a.js +2 -0
  4. package/__mf/js/async/3954.dbc4d4c5.js +1 -0
  5. package/__mf/js/async/54.4c016d3d.js +22 -0
  6. package/__mf/js/async/5440.9338b9ea.js +2 -0
  7. package/__mf/js/async/{5440.f8ca94c1.js.LICENSE.txt → 5440.9338b9ea.js.LICENSE.txt} +3 -3
  8. package/__mf/js/async/7576.4a8d8b90.js +2 -0
  9. package/__mf/js/async/7958.bd561cbd.js +7 -0
  10. package/__mf/js/async/9010.85600fc4.js +2 -0
  11. package/__mf/js/async/{8035.d5aedc00.js → 9877.73cfc5dd.js} +9 -9
  12. package/__mf/js/async/{__federation_expose_VictoriaLogsDatasource.163bb6a4.js → __federation_expose_VictoriaLogsDatasource.9d56f698.js} +2 -2
  13. package/__mf/js/async/{__federation_expose_VictoriaLogsFieldNamesVariable.4a4949a1.js → __federation_expose_VictoriaLogsFieldNamesVariable.5bf33a62.js} +2 -2
  14. package/__mf/js/async/{__federation_expose_VictoriaLogsFieldValuesVariable.d95843ce.js → __federation_expose_VictoriaLogsFieldValuesVariable.7e86dee8.js} +2 -2
  15. package/__mf/js/async/{__federation_expose_VictoriaLogsLogQuery.61d14c09.js → __federation_expose_VictoriaLogsLogQuery.8a11f931.js} +1 -1
  16. package/__mf/js/async/{__federation_expose_VictoriaLogsTimeSeriesQuery.7109f505.js → __federation_expose_VictoriaLogsTimeSeriesQuery.34b8c330.js} +1 -1
  17. package/__mf/js/{main.9cf12b2f.js → main.21f57521.js} +3 -3
  18. package/lib/bootstrap.js +15 -3
  19. package/lib/bootstrap.js.map +1 -1
  20. package/lib/cjs/bootstrap.js +13 -1
  21. package/lib/cjs/components/index.js +1 -1
  22. package/lib/cjs/components/logsql-editor.js +1 -1
  23. package/lib/cjs/components/logsql-extension.js +1 -1
  24. package/lib/cjs/components/logsql-highlight.js +1 -1
  25. package/lib/cjs/datasources/index.js +1 -1
  26. package/lib/cjs/datasources/victorialogs-datasource/VictoriaLogsDatasource.js +1 -1
  27. package/lib/cjs/datasources/victorialogs-datasource/VictoriaLogsDatasourceEditor.js +1 -1
  28. package/lib/cjs/datasources/victorialogs-datasource/index.js +1 -1
  29. package/lib/cjs/datasources/victorialogs-datasource/types.js +1 -1
  30. package/lib/cjs/env.d.js +12 -0
  31. package/lib/cjs/getPluginModule.js +12 -0
  32. package/lib/cjs/index-federation.js +12 -0
  33. package/lib/cjs/index.js +12 -0
  34. package/lib/cjs/model/client.js +10 -10
  35. package/lib/cjs/model/index.js +1 -1
  36. package/lib/cjs/model/selectors.js +1 -1
  37. package/lib/cjs/model/types.js +1 -1
  38. package/lib/cjs/queries/constants.js +12 -0
  39. package/lib/cjs/queries/index.js +1 -1
  40. package/lib/cjs/queries/victorialogs-log-query/VictoriaLogsLogQuery.js +12 -0
  41. package/lib/cjs/queries/victorialogs-log-query/VictoriaLogsLogQueryEditor.js +1 -1
  42. package/lib/cjs/queries/victorialogs-log-query/index.js +12 -0
  43. package/lib/cjs/queries/victorialogs-log-query/interface.js +12 -0
  44. package/lib/cjs/queries/victorialogs-log-query/query.js +13 -1
  45. package/lib/cjs/queries/victorialogs-log-query/types.js +12 -0
  46. package/lib/cjs/queries/victorialogs-time-series-query/VictoriaLogsTimeSeriesQuery.js +1 -1
  47. package/lib/cjs/queries/victorialogs-time-series-query/VictoriaLogsTimeSeriesQueryEditor.js +1 -1
  48. package/lib/cjs/queries/victorialogs-time-series-query/index.js +1 -1
  49. package/lib/cjs/queries/victorialogs-time-series-query/query.js +2 -2
  50. package/lib/cjs/queries/victorialogs-time-series-query/types.js +1 -1
  51. package/lib/cjs/setup-tests.js +12 -0
  52. package/lib/cjs/variables/index.js +1 -1
  53. package/lib/cjs/variables/types.js +12 -0
  54. package/lib/cjs/variables/utils.js +12 -0
  55. package/lib/cjs/variables/victorialogs-field-names/VictoriaLogsFieldNamesVariable.js +13 -1
  56. package/lib/cjs/variables/victorialogs-field-names/VictoriaLogsFieldNamesVariableEditor.js +1 -1
  57. package/lib/cjs/variables/victorialogs-field-names/index.js +1 -1
  58. package/lib/cjs/variables/victorialogs-field-values/VictoriaLogsFieldValuesVariable.js +13 -1
  59. package/lib/cjs/variables/victorialogs-field-values/VictoriaLogsFieldValuesVariableEditor.js +1 -1
  60. package/lib/cjs/variables/victorialogs-field-values/index.js +1 -1
  61. package/lib/components/index.js +1 -1
  62. package/lib/components/index.js.map +1 -1
  63. package/lib/components/logsql-editor.js +1 -1
  64. package/lib/components/logsql-editor.js.map +1 -1
  65. package/lib/components/logsql-extension.js +1 -1
  66. package/lib/components/logsql-extension.js.map +1 -1
  67. package/lib/components/logsql-highlight.js +1 -1
  68. package/lib/components/logsql-highlight.js.map +1 -1
  69. package/lib/datasources/index.js +1 -1
  70. package/lib/datasources/index.js.map +1 -1
  71. package/lib/datasources/victorialogs-datasource/VictoriaLogsDatasource.d.ts.map +1 -1
  72. package/lib/datasources/victorialogs-datasource/VictoriaLogsDatasource.js +1 -1
  73. package/lib/datasources/victorialogs-datasource/VictoriaLogsDatasource.js.map +1 -1
  74. package/lib/datasources/victorialogs-datasource/VictoriaLogsDatasourceEditor.js +1 -1
  75. package/lib/datasources/victorialogs-datasource/VictoriaLogsDatasourceEditor.js.map +1 -1
  76. package/lib/datasources/victorialogs-datasource/index.js +1 -1
  77. package/lib/datasources/victorialogs-datasource/index.js.map +1 -1
  78. package/lib/datasources/victorialogs-datasource/types.js +1 -1
  79. package/lib/datasources/victorialogs-datasource/types.js.map +1 -1
  80. package/lib/env.d.js +12 -0
  81. package/lib/env.d.js.map +1 -1
  82. package/lib/getPluginModule.d.ts.map +1 -1
  83. package/lib/getPluginModule.js +12 -0
  84. package/lib/getPluginModule.js.map +1 -1
  85. package/lib/index-federation.js +12 -0
  86. package/lib/index-federation.js.map +1 -1
  87. package/lib/index.d.ts.map +1 -1
  88. package/lib/index.js +12 -0
  89. package/lib/index.js.map +1 -1
  90. package/lib/model/client.d.ts.map +1 -1
  91. package/lib/model/client.js +10 -10
  92. package/lib/model/client.js.map +1 -1
  93. package/lib/model/index.js +1 -1
  94. package/lib/model/index.js.map +1 -1
  95. package/lib/model/selectors.d.ts.map +1 -1
  96. package/lib/model/selectors.js +1 -1
  97. package/lib/model/selectors.js.map +1 -1
  98. package/lib/model/types.d.ts.map +1 -1
  99. package/lib/model/types.js +1 -1
  100. package/lib/model/types.js.map +1 -1
  101. package/lib/queries/constants.d.ts.map +1 -1
  102. package/lib/queries/constants.js +12 -0
  103. package/lib/queries/constants.js.map +1 -1
  104. package/lib/queries/index.js +1 -1
  105. package/lib/queries/index.js.map +1 -1
  106. package/lib/queries/victorialogs-log-query/VictoriaLogsLogQuery.d.ts.map +1 -1
  107. package/lib/queries/victorialogs-log-query/VictoriaLogsLogQuery.js +12 -0
  108. package/lib/queries/victorialogs-log-query/VictoriaLogsLogQuery.js.map +1 -1
  109. package/lib/queries/victorialogs-log-query/VictoriaLogsLogQueryEditor.d.ts.map +1 -1
  110. package/lib/queries/victorialogs-log-query/VictoriaLogsLogQueryEditor.js +1 -1
  111. package/lib/queries/victorialogs-log-query/VictoriaLogsLogQueryEditor.js.map +1 -1
  112. package/lib/queries/victorialogs-log-query/index.d.ts.map +1 -1
  113. package/lib/queries/victorialogs-log-query/index.js +12 -0
  114. package/lib/queries/victorialogs-log-query/index.js.map +1 -1
  115. package/lib/queries/victorialogs-log-query/interface.d.ts.map +1 -1
  116. package/lib/queries/victorialogs-log-query/interface.js +12 -0
  117. package/lib/queries/victorialogs-log-query/interface.js.map +1 -1
  118. package/lib/queries/victorialogs-log-query/query.d.ts.map +1 -1
  119. package/lib/queries/victorialogs-log-query/query.js +13 -1
  120. package/lib/queries/victorialogs-log-query/query.js.map +1 -1
  121. package/lib/queries/victorialogs-log-query/types.d.ts.map +1 -1
  122. package/lib/queries/victorialogs-log-query/types.js +12 -0
  123. package/lib/queries/victorialogs-log-query/types.js.map +1 -1
  124. package/lib/queries/victorialogs-time-series-query/VictoriaLogsTimeSeriesQuery.js +1 -1
  125. package/lib/queries/victorialogs-time-series-query/VictoriaLogsTimeSeriesQuery.js.map +1 -1
  126. package/lib/queries/victorialogs-time-series-query/VictoriaLogsTimeSeriesQueryEditor.js +1 -1
  127. package/lib/queries/victorialogs-time-series-query/VictoriaLogsTimeSeriesQueryEditor.js.map +1 -1
  128. package/lib/queries/victorialogs-time-series-query/index.js +1 -1
  129. package/lib/queries/victorialogs-time-series-query/index.js.map +1 -1
  130. package/lib/queries/victorialogs-time-series-query/query.d.ts.map +1 -1
  131. package/lib/queries/victorialogs-time-series-query/query.js +2 -2
  132. package/lib/queries/victorialogs-time-series-query/query.js.map +1 -1
  133. package/lib/queries/victorialogs-time-series-query/types.js +1 -1
  134. package/lib/queries/victorialogs-time-series-query/types.js.map +1 -1
  135. package/lib/setup-tests.d.ts.map +1 -1
  136. package/lib/setup-tests.js +12 -0
  137. package/lib/setup-tests.js.map +1 -1
  138. package/lib/variables/index.js +1 -1
  139. package/lib/variables/index.js.map +1 -1
  140. package/lib/variables/types.d.ts +1 -1
  141. package/lib/variables/types.d.ts.map +1 -1
  142. package/lib/variables/types.js +12 -0
  143. package/lib/variables/types.js.map +1 -1
  144. package/lib/variables/utils.d.ts +1 -1
  145. package/lib/variables/utils.d.ts.map +1 -1
  146. package/lib/variables/utils.js +12 -0
  147. package/lib/variables/utils.js.map +1 -1
  148. package/lib/variables/victorialogs-field-names/VictoriaLogsFieldNamesVariable.d.ts.map +1 -1
  149. package/lib/variables/victorialogs-field-names/VictoriaLogsFieldNamesVariable.js +13 -1
  150. package/lib/variables/victorialogs-field-names/VictoriaLogsFieldNamesVariable.js.map +1 -1
  151. package/lib/variables/victorialogs-field-names/VictoriaLogsFieldNamesVariableEditor.js +1 -1
  152. package/lib/variables/victorialogs-field-names/VictoriaLogsFieldNamesVariableEditor.js.map +1 -1
  153. package/lib/variables/victorialogs-field-names/index.js +1 -1
  154. package/lib/variables/victorialogs-field-names/index.js.map +1 -1
  155. package/lib/variables/victorialogs-field-values/VictoriaLogsFieldValuesVariable.d.ts.map +1 -1
  156. package/lib/variables/victorialogs-field-values/VictoriaLogsFieldValuesVariable.js +13 -1
  157. package/lib/variables/victorialogs-field-values/VictoriaLogsFieldValuesVariable.js.map +1 -1
  158. package/lib/variables/victorialogs-field-values/VictoriaLogsFieldValuesVariableEditor.js +1 -1
  159. package/lib/variables/victorialogs-field-values/VictoriaLogsFieldValuesVariableEditor.js.map +1 -1
  160. package/lib/variables/victorialogs-field-values/index.js +1 -1
  161. package/lib/variables/victorialogs-field-values/index.js.map +1 -1
  162. package/mf-manifest.json +54 -54
  163. package/mf-stats.json +54 -54
  164. package/package.json +7 -6
  165. package/__mf/js/async/1490.0a9fe77f.js +0 -22
  166. package/__mf/js/async/1728.6382e915.js +0 -1
  167. package/__mf/js/async/3664.6288aa89.js +0 -2
  168. package/__mf/js/async/3849.115bcf03.js +0 -7
  169. package/__mf/js/async/392.2a915032.js +0 -2
  170. package/__mf/js/async/5440.f8ca94c1.js +0 -2
  171. package/__mf/js/async/5501.df443492.js +0 -2
  172. package/__mf/js/async/713.249fa307.js +0 -1
  173. /package/__mf/js/async/{392.2a915032.js.LICENSE.txt → 392.8da1804a.js.LICENSE.txt} +0 -0
  174. /package/__mf/js/async/{1490.0a9fe77f.js.LICENSE.txt → 54.4c016d3d.js.LICENSE.txt} +0 -0
  175. /package/__mf/js/async/{3664.6288aa89.js.LICENSE.txt → 7576.4a8d8b90.js.LICENSE.txt} +0 -0
  176. /package/__mf/js/async/{3849.115bcf03.js.LICENSE.txt → 7958.bd561cbd.js.LICENSE.txt} +0 -0
  177. /package/__mf/js/async/{5501.df443492.js.LICENSE.txt → 9010.85600fc4.js.LICENSE.txt} +0 -0
  178. /package/__mf/js/async/{__federation_expose_VictoriaLogsDatasource.163bb6a4.js.LICENSE.txt → __federation_expose_VictoriaLogsDatasource.9d56f698.js.LICENSE.txt} +0 -0
  179. /package/__mf/js/async/{__federation_expose_VictoriaLogsFieldNamesVariable.4a4949a1.js.LICENSE.txt → __federation_expose_VictoriaLogsFieldNamesVariable.5bf33a62.js.LICENSE.txt} +0 -0
  180. /package/__mf/js/async/{__federation_expose_VictoriaLogsFieldValuesVariable.d95843ce.js.LICENSE.txt → __federation_expose_VictoriaLogsFieldValuesVariable.7e86dee8.js.LICENSE.txt} +0 -0
@@ -0,0 +1,2 @@
1
+ /*! For license information please see 5440.9338b9ea.js.LICENSE.txt */
2
+ "use strict";(self.chunk_VictoriaLogs=self.chunk_VictoriaLogs||[]).push([["5440"],{53299:function(e,t,r){r.r(t),r.d(t,{useFetchers:()=>rT,unstable_HistoryRouter:()=>rv,useLoaderData:()=>tD,ScrollRestoration:()=>rS,Route:()=>tW,MemoryRouter:()=>tz,useMatches:()=>tL,redirect:()=>ee,useOutletContext:()=>tu,createRoutesFromElements:()=>tG,useLinkClickHandler:()=>rC,useRouteError:()=>tA,generatePath:()=>M,replace:()=>er,useHref:()=>tt,useParams:()=>td,UNSAFE_ViewTransitionContext:()=>ro,useRoutes:()=>tf,useSubmit:()=>rk,UNSAFE_NavigationContext:()=>e6,Navigate:()=>tI,UNSAFE_ErrorResponseImpl:()=>en,UNSAFE_FetchersContext:()=>ri,useAsyncError:()=>tU,createRoutesFromChildren:()=>tG,unstable_usePrompt:()=>rF,useFetcher:()=>rA,useBlocker:()=>tM,createHashRouter:()=>rn,UNSAFE_useRouteId:()=>tx,useMatch:()=>to,useNavigation:()=>tC,HashRouter:()=>rm,useFormAction:()=>r_,useResolvedPath:()=>th,defer:()=>Z,Router:()=>t$,Routes:()=>tV,useActionData:()=>t_,useRouteLoaderData:()=>tk,Await:()=>tJ,matchPath:()=>O,UNSAFE_DataRouterContext:()=>e2,BrowserRouter:()=>rp,NavigationType:()=>c,Form:()=>rE,UNSAFE_RouteContext:()=>e8,createSearchParams:()=>t5,RouterProvider:()=>rh,UNSAFE_LocationContext:()=>e9,parsePath:()=>P,Outlet:()=>tH,createMemoryRouter:()=>t0,UNSAFE_useScrollRestoration:()=>rM,useNavigate:()=>tl,matchRoutes:()=>_,createPath:()=>C,resolvePath:()=>z,useInRouterContext:()=>tr,useOutlet:()=>tc,useAsyncValue:()=>tT,useViewTransitionState:()=>rN,Link:()=>rb,AbortedDeferredError:()=>G,renderMatches:()=>tQ,NavLink:()=>rw,UNSAFE_DataRouterStateContext:()=>e5,json:()=>X,useSearchParams:()=>rP,redirectDocument:()=>et,useBeforeUnload:()=>rO,useLocation:()=>tn,createBrowserRouter:()=>rr,isRouteErrorResponse:()=>ea,useNavigationType:()=>ta,useRevalidator:()=>tP});var n,a,o,i,l,s,u,c,d,h,f,p=r(70451),m=r(20231);function v(){return(v=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e}).apply(this,arguments)}(n=c||(c={})).Pop="POP",n.Push="PUSH",n.Replace="REPLACE";let y="popstate";function g(e){let t;void 0===e&&(e={});let{initialEntries:r=["/"],initialIndex:n,v5Compat:a=!1}=e;t=r.map((e,t)=>u(e,"string"==typeof e?null:e.state,0===t?"default":void 0));let o=s(null==n?t.length-1:n),i=c.Pop,l=null;function s(e){return Math.min(Math.max(e,0),t.length-1)}function u(e,r,n){void 0===r&&(r=null);let a=x(t?t[o].pathname:"/",e,r,n);return S("/"===a.pathname.charAt(0),"relative pathnames are not supported in memory history: "+JSON.stringify(e)),a}function d(e){return"string"==typeof e?e:C(e)}return{get index(){return o},get action(){return i},get location(){return t[o]},createHref:d,createURL:e=>new URL(d(e),"http://localhost"),encodeLocation(e){let t="string"==typeof e?P(e):e;return{pathname:t.pathname||"",search:t.search||"",hash:t.hash||""}},push(e,r){i=c.Push;let n=u(e,r);o+=1,t.splice(o,t.length,n),a&&l&&l({action:i,location:n,delta:1})},replace(e,r){i=c.Replace;let n=u(e,r);t[o]=n,a&&l&&l({action:i,location:n,delta:0})},go(e){i=c.Pop;let r=s(o+e),n=t[r];o=r,l&&l({action:i,location:n,delta:e})},listen:e=>(l=e,()=>{l=null})}}function b(e){return void 0===e&&(e={}),L(function(e,t){let{pathname:r,search:n,hash:a}=e.location;return x("",{pathname:r,search:n,hash:a},t.state&&t.state.usr||null,t.state&&t.state.key||"default")},function(e,t){return"string"==typeof t?t:C(t)},null,e)}function w(e){return void 0===e&&(e={}),L(function(e,t){let{pathname:r="/",search:n="",hash:a=""}=P(e.location.hash.substr(1));return r.startsWith("/")||r.startsWith(".")||(r="/"+r),x("",{pathname:r,search:n,hash:a},t.state&&t.state.usr||null,t.state&&t.state.key||"default")},function(e,t){let r=e.document.querySelector("base"),n="";if(r&&r.getAttribute("href")){let t=e.location.href,r=t.indexOf("#");n=-1===r?t:t.slice(0,r)}return n+"#"+("string"==typeof t?t:C(t))},function(e,t){S("/"===e.pathname.charAt(0),"relative pathnames are not supported in hash history.push("+JSON.stringify(t)+")")},e)}function E(e,t){if(!1===e||null==e)throw Error(t)}function S(e,t){if(!e){"undefined"!=typeof console&&console.warn(t);try{throw Error(t)}catch(e){}}}function R(e,t){return{usr:e.state,key:e.key,idx:t}}function x(e,t,r,n){return void 0===r&&(r=null),v({pathname:"string"==typeof e?e:e.pathname,search:"",hash:""},"string"==typeof t?P(t):t,{state:r,key:t&&t.key||n||Math.random().toString(36).substr(2,8)})}function C(e){let{pathname:t="/",search:r="",hash:n=""}=e;return r&&"?"!==r&&(t+="?"===r.charAt(0)?r:"?"+r),n&&"#"!==n&&(t+="#"===n.charAt(0)?n:"#"+n),t}function P(e){let t={};if(e){let r=e.indexOf("#");r>=0&&(t.hash=e.substr(r),e=e.substr(0,r));let n=e.indexOf("?");n>=0&&(t.search=e.substr(n),e=e.substr(0,n)),e&&(t.pathname=e)}return t}function L(e,t,r,n){void 0===n&&(n={});let{window:a=document.defaultView,v5Compat:o=!1}=n,i=a.history,l=c.Pop,s=null,u=d();function d(){return(i.state||{idx:null}).idx}function h(){l=c.Pop;let e=d(),t=null==e?null:e-u;u=e,s&&s({action:l,location:p.location,delta:t})}function f(e){let t="null"!==a.location.origin?a.location.origin:a.location.href,r="string"==typeof e?e:C(e);return E(t,"No window.location.(origin|href) available to create URL for href: "+(r=r.replace(/ $/,"%20"))),new URL(r,t)}null==u&&(u=0,i.replaceState(v({},i.state,{idx:u}),""));let p={get action(){return l},get location(){return e(a,i)},listen(e){if(s)throw Error("A history only accepts one active listener");return a.addEventListener(y,h),s=e,()=>{a.removeEventListener(y,h),s=null}},createHref:e=>t(a,e),createURL:f,encodeLocation(e){let t=f(e);return{pathname:t.pathname,search:t.search,hash:t.hash}},push:function(e,t){l=c.Push;let n=x(p.location,e,t);r&&r(n,e);let h=R(n,u=d()+1),f=p.createHref(n);try{i.pushState(h,"",f)}catch(e){if(e instanceof DOMException&&"DataCloneError"===e.name)throw e;a.location.assign(f)}o&&s&&s({action:l,location:p.location,delta:1})},replace:function(e,t){l=c.Replace;let n=x(p.location,e,t);r&&r(n,e);let a=R(n,u=d()),h=p.createHref(n);i.replaceState(a,"",h),o&&s&&s({action:l,location:p.location,delta:0})},go:e=>i.go(e)};return p}(a=d||(d={})).data="data",a.deferred="deferred",a.redirect="redirect",a.error="error";let D=new Set(["lazy","caseSensitive","path","id","index","children"]);function k(e,t,r,n){return void 0===r&&(r=[]),void 0===n&&(n={}),e.map((e,a)=>{let o=[...r,String(a)],i="string"==typeof e.id?e.id:o.join("-");if(E(!0!==e.index||!e.children,"Cannot specify children on an index route"),E(!n[i],'Found a route id collision on id "'+i+"\". Route id's must be globally unique within Data Router usages"),!0===e.index){let r=v({},e,t(e),{id:i});return n[i]=r,r}{let r=v({},e,t(e),{id:i,children:void 0});return n[i]=r,e.children&&(r.children=k(e.children,t,o,n)),r}})}function _(e,t,r){return void 0===r&&(r="/"),A(e,t,r,!1)}function A(e,t,r,n){let a=N(("string"==typeof t?P(t):t).pathname||"/",r);if(null==a)return null;let o=function e(t,r,n,a){void 0===r&&(r=[]),void 0===n&&(n=[]),void 0===a&&(a="");let o=(t,o,i)=>{var l,s;let u,c,d={relativePath:void 0===i?t.path||"":i,caseSensitive:!0===t.caseSensitive,childrenIndex:o,route:t};d.relativePath.startsWith("/")&&(E(d.relativePath.startsWith(a),'Absolute route path "'+d.relativePath+'" nested under path "'+a+'" is not valid. An absolute child route path must start with the combined path of all its parent routes.'),d.relativePath=d.relativePath.slice(a.length));let h=J([a,d.relativePath]),f=n.concat(d);t.children&&t.children.length>0&&(E(!0!==t.index,'Index routes must not have child routes. Please remove all child routes from route path "'+h+'".'),e(t.children,r,f,h)),(null!=t.path||t.index)&&r.push({path:h,score:(l=h,s=t.index,c=(u=l.split("/")).length,u.some(j)&&(c+=-2),s&&(c+=2),u.filter(e=>!j(e)).reduce((e,t)=>e+(U.test(t)?3:""===t?1:10),c)),routesMeta:f})};return t.forEach((e,t)=>{var r;if(""!==e.path&&null!=(r=e.path)&&r.includes("?"))for(let r of function e(t){let r=t.split("/");if(0===r.length)return[];let[n,...a]=r,o=n.endsWith("?"),i=n.replace(/\?$/,"");if(0===a.length)return o?[i,""]:[i];let l=e(a.join("/")),s=[];return s.push(...l.map(e=>""===e?i:[i,e].join("/"))),o&&s.push(...l),s.map(e=>t.startsWith("/")&&""===e?"/":e)}(e.path))o(e,t,r);else o(e,t)}),r}(e);o.sort((e,t)=>{var r,n;return e.score!==t.score?t.score-e.score:(r=e.routesMeta.map(e=>e.childrenIndex),n=t.routesMeta.map(e=>e.childrenIndex),r.length===n.length&&r.slice(0,-1).every((e,t)=>e===n[t])?r[r.length-1]-n[n.length-1]:0)});let i=null;for(let e=0;null==i&&e<o.length;++e){let t=F(a);i=function(e,t,r){void 0===r&&(r=!1);let{routesMeta:n}=e,a={},o="/",i=[];for(let e=0;e<n.length;++e){let l=n[e],s=e===n.length-1,u="/"===o?t:t.slice(o.length)||"/",c=O({path:l.relativePath,caseSensitive:l.caseSensitive,end:s},u),d=l.route;if(!c&&s&&r&&!n[n.length-1].route.index&&(c=O({path:l.relativePath,caseSensitive:l.caseSensitive,end:!1},u)),!c)return null;Object.assign(a,c.params),i.push({params:a,pathname:J([o,c.pathname]),pathnameBase:K(J([o,c.pathnameBase])),route:d}),"/"!==c.pathnameBase&&(o=J([o,c.pathnameBase]))}return i}(o[e],t,n)}return i}function T(e,t){let{route:r,pathname:n,params:a}=e;return{id:r.id,pathname:n,params:a,data:t[r.id],handle:r.handle}}let U=/^:[\w-]+$/,j=e=>"*"===e;function M(e,t){void 0===t&&(t={});let r=e;r.endsWith("*")&&"*"!==r&&!r.endsWith("/*")&&(S(!1,'Route path "'+r+'" will be treated as if it were "'+r.replace(/\*$/,"/*")+'" because the `*` character must always follow a `/` in the pattern. To get rid of this warning, please change the route path to "'+r.replace(/\*$/,"/*")+'".'),r=r.replace(/\*$/,"/*"));let n=r.startsWith("/")?"/":"",a=e=>null==e?"":"string"==typeof e?e:String(e);return n+r.split(/\/+/).map((e,r,n)=>{if(r===n.length-1&&"*"===e)return a(t["*"]);let o=e.match(/^:([\w-]+)(\??)$/);if(o){let[,e,r]=o,n=t[e];return E("?"===r||null!=n,'Missing ":'+e+'" param'),a(n)}return e.replace(/\?$/g,"")}).filter(e=>!!e).join("/")}function O(e,t){var r,n,a;let o,i;"string"==typeof e&&(e={path:e,caseSensitive:!1,end:!0});let[l,s]=(r=e.path,n=e.caseSensitive,a=e.end,void 0===n&&(n=!1),void 0===a&&(a=!0),S("*"===r||!r.endsWith("*")||r.endsWith("/*"),'Route path "'+r+'" will be treated as if it were "'+r.replace(/\*$/,"/*")+'" because the `*` character must always follow a `/` in the pattern. To get rid of this warning, please change the route path to "'+r.replace(/\*$/,"/*")+'".'),o=[],i="^"+r.replace(/\/*\*?$/,"").replace(/^\/*/,"/").replace(/[\\.*+^${}|()[\]]/g,"\\$&").replace(/\/:([\w-]+)(\?)?/g,(e,t,r)=>(o.push({paramName:t,isOptional:null!=r}),r?"/?([^\\/]+)?":"/([^\\/]+)")),r.endsWith("*")?(o.push({paramName:"*"}),i+="*"===r||"/*"===r?"(.*)$":"(?:\\/(.+)|\\/*)$"):a?i+="\\/*$":""!==r&&"/"!==r&&(i+="(?:(?=\\/|$))"),[new RegExp(i,n?void 0:"i"),o]),u=t.match(l);if(!u)return null;let c=u[0],d=c.replace(/(.)\/+$/,"$1"),h=u.slice(1);return{params:s.reduce((e,t,r)=>{let{paramName:n,isOptional:a}=t;if("*"===n){let e=h[r]||"";d=c.slice(0,c.length-e.length).replace(/(.)\/+$/,"$1")}let o=h[r];return a&&!o?e[n]=void 0:e[n]=(o||"").replace(/%2F/g,"/"),e},{}),pathname:c,pathnameBase:d,pattern:e}}function F(e){try{return e.split("/").map(e=>decodeURIComponent(e).replace(/\//g,"%2F")).join("/")}catch(t){return S(!1,'The URL path "'+e+'" could not be decoded because it is is a malformed URL segment. This is probably due to a bad percent encoding ('+t+")."),e}}function N(e,t){if("/"===t)return e;if(!e.toLowerCase().startsWith(t.toLowerCase()))return null;let r=t.endsWith("/")?t.length-1:t.length,n=e.charAt(r);return n&&"/"!==n?null:e.slice(r)||"/"}let B=/^(?:[a-z][a-z0-9+.-]*:|\/\/)/i;function z(e,t){let r;void 0===t&&(t="/");let{pathname:n,search:a="",hash:o=""}="string"==typeof e?P(e):e;if(n){let e;(e=n,B.test(e))?r=n:(n.includes("//")&&S(!1,"Pathnames cannot have embedded double slashes - normalizing "+n+" -> "+(n=n.replace(/\/\/+/g,"/"))),r=n.startsWith("/")?I(n.substring(1),"/"):I(n,t))}else r=t;return{pathname:r,search:Y(a),hash:q(o)}}function I(e,t){let r=t.replace(/\/+$/,"").split("/");return e.split("/").forEach(e=>{".."===e?r.length>1&&r.pop():"."!==e&&r.push(e)}),r.length>1?r.join("/"):"/"}function H(e,t,r,n){return"Cannot include a '"+e+"' character in a manually specified "+("`to."+t+"` field [")+JSON.stringify(n)+"]. Please separate it out to the `to."+r+'` field. Alternatively you may provide the full path as a string in <Link to="..."> and the router will parse it for you.'}function W(e){return e.filter((e,t)=>0===t||e.route.path&&e.route.path.length>0)}function $(e,t){let r=W(e);return t?r.map((e,t)=>t===r.length-1?e.pathname:e.pathnameBase):r.map(e=>e.pathnameBase)}function V(e,t,r,n){let a,o;void 0===n&&(n=!1),"string"==typeof e?a=P(e):(E(!(a=v({},e)).pathname||!a.pathname.includes("?"),H("?","pathname","search",a)),E(!a.pathname||!a.pathname.includes("#"),H("#","pathname","hash",a)),E(!a.search||!a.search.includes("#"),H("#","search","hash",a)));let i=""===e||""===a.pathname,l=i?"/":a.pathname;if(null==l)o=r;else{let e=t.length-1;if(!n&&l.startsWith("..")){let t=l.split("/");for(;".."===t[0];)t.shift(),e-=1;a.pathname=t.join("/")}o=e>=0?t[e]:"/"}let s=z(a,o),u=l&&"/"!==l&&l.endsWith("/"),c=(i||"."===l)&&r.endsWith("/");return!s.pathname.endsWith("/")&&(u||c)&&(s.pathname+="/"),s}let J=e=>e.join("/").replace(/\/\/+/g,"/"),K=e=>e.replace(/\/+$/,"").replace(/^\/*/,"/"),Y=e=>e&&"?"!==e?e.startsWith("?")?e:"?"+e:"",q=e=>e&&"#"!==e?e.startsWith("#")?e:"#"+e:"",X=function(e,t){void 0===t&&(t={});let r="number"==typeof t?{status:t}:t,n=new Headers(r.headers);return n.has("Content-Type")||n.set("Content-Type","application/json; charset=utf-8"),new Response(JSON.stringify(e),v({},r,{headers:n}))};class G extends Error{}class Q{constructor(e,t){let r;this.pendingKeysSet=new Set,this.subscribers=new Set,this.deferredKeys=[],E(e&&"object"==typeof e&&!Array.isArray(e),"defer() only accepts plain objects"),this.abortPromise=new Promise((e,t)=>r=t),this.controller=new AbortController;let n=()=>r(new G("Deferred data aborted"));this.unlistenAbortSignal=()=>this.controller.signal.removeEventListener("abort",n),this.controller.signal.addEventListener("abort",n),this.data=Object.entries(e).reduce((e,t)=>{let[r,n]=t;return Object.assign(e,{[r]:this.trackPromise(r,n)})},{}),this.done&&this.unlistenAbortSignal(),this.init=t}trackPromise(e,t){if(!(t instanceof Promise))return t;this.deferredKeys.push(e),this.pendingKeysSet.add(e);let r=Promise.race([t,this.abortPromise]).then(t=>this.onSettle(r,e,void 0,t),t=>this.onSettle(r,e,t));return r.catch(()=>{}),Object.defineProperty(r,"_tracked",{get:()=>!0}),r}onSettle(e,t,r,n){if(this.controller.signal.aborted&&r instanceof G)return this.unlistenAbortSignal(),Object.defineProperty(e,"_error",{get:()=>r}),Promise.reject(r);if(this.pendingKeysSet.delete(t),this.done&&this.unlistenAbortSignal(),void 0===r&&void 0===n){let r=Error('Deferred data for key "'+t+'" resolved/rejected with `undefined`, you must resolve/reject with a value or `null`.');return Object.defineProperty(e,"_error",{get:()=>r}),this.emit(!1,t),Promise.reject(r)}return void 0===n?(Object.defineProperty(e,"_error",{get:()=>r}),this.emit(!1,t),Promise.reject(r)):(Object.defineProperty(e,"_data",{get:()=>n}),this.emit(!1,t),n)}emit(e,t){this.subscribers.forEach(r=>r(e,t))}subscribe(e){return this.subscribers.add(e),()=>this.subscribers.delete(e)}cancel(){this.controller.abort(),this.pendingKeysSet.forEach((e,t)=>this.pendingKeysSet.delete(t)),this.emit(!0)}async resolveData(e){let t=!1;if(!this.done){let r=()=>this.cancel();e.addEventListener("abort",r),t=await new Promise(t=>{this.subscribe(n=>{e.removeEventListener("abort",r),(n||this.done)&&t(n)})})}return t}get done(){return 0===this.pendingKeysSet.size}get unwrappedData(){return E(null!==this.data&&this.done,"Can only unwrap data on initialized and settled deferreds"),Object.entries(this.data).reduce((e,t)=>{let[r,n]=t;return Object.assign(e,{[r]:function(e){if(!(e instanceof Promise&&!0===e._tracked))return e;if(e._error)throw e._error;return e._data}(n)})},{})}get pendingKeys(){return Array.from(this.pendingKeysSet)}}let Z=function(e,t){return void 0===t&&(t={}),new Q(e,"number"==typeof t?{status:t}:t)},ee=function(e,t){void 0===t&&(t=302);let r=t;"number"==typeof r?r={status:r}:void 0===r.status&&(r.status=302);let n=new Headers(r.headers);return n.set("Location",e),new Response(null,v({},r,{headers:n}))},et=(e,t)=>{let r=ee(e,t);return r.headers.set("X-Remix-Reload-Document","true"),r},er=(e,t)=>{let r=ee(e,t);return r.headers.set("X-Remix-Replace","true"),r};class en{constructor(e,t,r,n){void 0===n&&(n=!1),this.status=e,this.statusText=t||"",this.internal=n,r instanceof Error?(this.data=r.toString(),this.error=r):this.data=r}}function ea(e){return null!=e&&"number"==typeof e.status&&"string"==typeof e.statusText&&"boolean"==typeof e.internal&&"data"in e}let eo=["post","put","patch","delete"],ei=new Set(eo),el=new Set(["get",...eo]),es=new Set([301,302,303,307,308]),eu=new Set([307,308]),ec={state:"idle",location:void 0,formMethod:void 0,formAction:void 0,formEncType:void 0,formData:void 0,json:void 0,text:void 0},ed={state:"idle",data:void 0,formMethod:void 0,formAction:void 0,formEncType:void 0,formData:void 0,json:void 0,text:void 0},eh={state:"unblocked",proceed:void 0,reset:void 0,location:void 0},ef=/^(?:[a-z][a-z0-9+.-]*:|\/\/)/i,ep=e=>({hasErrorBoundary:!!e.hasErrorBoundary}),em="remix-router-transitions";function ev(e){let t,r,n,a,o,i,l=e.window?e.window:"undefined"!=typeof window?window:void 0,s=void 0!==l&&void 0!==l.document&&void 0!==l.document.createElement,u=!s;if(E(e.routes.length>0,"You must provide a non-empty routes array to createRouter"),e.mapRouteProperties)t=e.mapRouteProperties;else if(e.detectErrorBoundary){let r=e.detectErrorBoundary;t=e=>({hasErrorBoundary:r(e)})}else t=ep;let h={},f=k(e.routes,t,void 0,h),p=e.basename||"/",m=e.dataStrategy||eP,y=e.patchRoutesOnNavigation,g=v({v7_fetcherPersist:!1,v7_normalizeFormMethod:!1,v7_partialHydration:!1,v7_prependBasename:!1,v7_relativeSplatPath:!1,v7_skipActionErrorRevalidation:!1},e.future),b=null,w=new Set,R=null,C=null,P=null,L=null!=e.hydrationData,D=_(f,e.history.location,p),U=!1,j=null;if(null==D&&!y){let t=eB(404,{pathname:e.history.location.pathname}),{matches:r,route:n}=eN(f);D=r,j={[n.id]:t}}if(D&&!e.hydrationData&&to(D,f,e.history.location.pathname).active&&(D=null),D)if(D.some(e=>e.route.lazy))n=!1;else if(D.some(e=>e.route.loader))if(g.v7_partialHydration){let t=e.hydrationData?e.hydrationData.loaderData:null,r=e.hydrationData?e.hydrationData.errors:null;if(r){let e=D.findIndex(e=>void 0!==r[e.route.id]);n=D.slice(0,e+1).every(e=>!eE(e.route,t,r))}else n=D.every(e=>!eE(e.route,t,r))}else n=null!=e.hydrationData;else n=!0;else if(n=!1,D=[],g.v7_partialHydration){let t=to(null,f,e.history.location.pathname);t.active&&t.matches&&(U=!0,D=t.matches)}let M={historyAction:e.history.action,location:e.history.location,matches:D,initialized:n,navigation:ec,restoreScrollPosition:null==e.hydrationData&&null,preventScrollReset:!1,revalidation:"idle",loaderData:e.hydrationData&&e.hydrationData.loaderData||{},actionData:e.hydrationData&&e.hydrationData.actionData||null,errors:e.hydrationData&&e.hydrationData.errors||j,fetchers:new Map,blockers:new Map},O=c.Pop,F=!1,B=!1,z=new Map,I=null,H=!1,W=!1,$=[],V=new Set,J=new Map,K=0,Y=-1,q=new Map,X=new Set,G=new Map,Q=new Map,Z=new Set,ee=new Map,et=new Map;function er(e,t){void 0===t&&(t={}),M=v({},M,e);let r=[],n=[];g.v7_fetcherPersist&&M.fetchers.forEach((e,t)=>{"idle"===e.state&&(Z.has(t)?n.push(t):r.push(t))}),Z.forEach(e=>{M.fetchers.has(e)||J.has(e)||n.push(e)}),[...w].forEach(e=>e(M,{deletedFetchers:n,viewTransitionOpts:t.viewTransitionOpts,flushSync:!0===t.flushSync})),g.v7_fetcherPersist?(r.forEach(e=>M.fetchers.delete(e)),n.forEach(e=>e4(e))):n.forEach(e=>Z.delete(e))}function en(t,n,a){var o,i;let l,s,{flushSync:u}=void 0===a?{}:a,d=null!=M.actionData&&null!=M.navigation.formMethod&&eK(M.navigation.formMethod)&&"loading"===M.navigation.state&&(null==(o=t.state)?void 0:o._isRedirect)!==!0;l=n.actionData?Object.keys(n.actionData).length>0?n.actionData:null:d?M.actionData:null;let h=n.loaderData?eM(M.loaderData,n.loaderData,n.matches||[],n.errors):M.loaderData,p=M.blockers;p.size>0&&(p=new Map(p)).forEach((e,t)=>p.set(t,eh));let m=!0===F||null!=M.navigation.formMethod&&eK(M.navigation.formMethod)&&(null==(i=t.state)?void 0:i._isRedirect)!==!0;if(r&&(f=r,r=void 0),H||O===c.Pop||(O===c.Push?e.history.push(t,t.state):O===c.Replace&&e.history.replace(t,t.state)),O===c.Pop){let e=z.get(M.location.pathname);e&&e.has(t.pathname)?s={currentLocation:M.location,nextLocation:t}:z.has(t.pathname)&&(s={currentLocation:t,nextLocation:M.location})}else if(B){let e=z.get(M.location.pathname);e?e.add(t.pathname):(e=new Set([t.pathname]),z.set(M.location.pathname,e)),s={currentLocation:M.location,nextLocation:t}}er(v({},n,{actionData:l,loaderData:h,historyAction:O,location:t,initialized:!0,navigation:ec,revalidation:"idle",restoreScrollPosition:ta(t,n.matches||M.matches),preventScrollReset:m,blockers:p}),{viewTransitionOpts:s,flushSync:!0===u}),O=c.Pop,F=!1,B=!1,H=!1,W=!1,$=[]}async function eo(t,r){if("number"==typeof t)return void e.history.go(t);let n=ey(M.location,M.matches,p,g.v7_prependBasename,t,g.v7_relativeSplatPath,null==r?void 0:r.fromRouteId,null==r?void 0:r.relative),{path:a,submission:o,error:i}=eg(g.v7_normalizeFormMethod,!1,n,r),l=M.location,s=x(M.location,a,r&&r.state);s=v({},s,e.history.encodeLocation(s));let u=r&&null!=r.replace?r.replace:void 0,d=c.Push;!0===u?d=c.Replace:!1===u||null!=o&&eK(o.formMethod)&&o.formAction===M.location.pathname+M.location.search&&(d=c.Replace);let h=r&&"preventScrollReset"in r?!0===r.preventScrollReset:void 0,f=!0===(r&&r.flushSync),m=te({currentLocation:l,nextLocation:s,historyAction:d});return m?void e8(m,{state:"blocked",location:s,proceed(){e8(m,{state:"proceeding",proceed:void 0,reset:void 0,location:s}),eo(t,r)},reset(){let e=new Map(M.blockers);e.set(m,eh),er({blockers:e})}}):await ei(d,s,{submission:o,pendingError:i,preventScrollReset:h,replace:r&&r.replace,enableViewTransition:r&&r.viewTransition,flushSync:f})}async function ei(t,n,a){var i,l,s,u;let c;o&&o.abort(),o=null,O=t,H=!0===(a&&a.startUninterruptedRevalidation),i=M.location,l=M.matches,R&&P&&(R[tn(i,l)]=P()),F=!0===(a&&a.preventScrollReset),B=!0===(a&&a.enableViewTransition);let h=r||f,m=a&&a.overrideNavigation,y=null!=a&&a.initialHydration&&M.matches&&M.matches.length>0&&!U?M.matches:_(h,n,p),g=!0===(a&&a.flushSync);if(y&&M.initialized&&!W&&(s=M.location,u=n,s.pathname===u.pathname&&s.search===u.search&&(""===s.hash?""!==u.hash:s.hash===u.hash||""!==u.hash||!1))&&!(a&&a.submission&&eK(a.submission.formMethod)))return void en(n,{matches:y},{flushSync:g});let b=to(y,h,n.pathname);if(b.active&&b.matches&&(y=b.matches),!y){let{error:e,notFoundMatches:t,route:r}=tt(n.pathname);en(n,{matches:t,loaderData:{},errors:{[r.id]:e}},{flushSync:g});return}o=new AbortController;let w=eA(e.history,n,o.signal,a&&a.submission);if(a&&a.pendingError)c=[eF(y).route.id,{type:d.error,error:a.pendingError}];else if(a&&a.submission&&eK(a.submission.formMethod)){let t=await el(w,n,a.submission,y,b.active,{replace:a.replace,flushSync:g});if(t.shortCircuited)return;if(t.pendingActionResult){let[e,r]=t.pendingActionResult;if(eW(r)&&ea(r.error)&&404===r.error.status){o=null,en(n,{matches:t.matches,loaderData:{},errors:{[e]:r.error}});return}}y=t.matches||y,c=t.pendingActionResult,m=e0(n,a.submission),g=!1,b.active=!1,w=eA(e.history,w.url,w.signal)}let{shortCircuited:E,matches:S,loaderData:x,errors:C}=await ev(w,n,y,b.active,m,a&&a.submission,a&&a.fetcherSubmission,a&&a.replace,a&&!0===a.initialHydration,g,c);E||(o=null,en(n,v({matches:S||y},eO(c),{loaderData:x,errors:C})))}async function el(t,r,n,a,o,i){var l;let s;if(void 0===i&&(i={}),eU(),er({navigation:{state:"submitting",location:r,formMethod:(l=n).formMethod,formAction:l.formAction,formEncType:l.formEncType,formData:l.formData,json:l.json,text:l.text}},{flushSync:!0===i.flushSync}),o){let e=await ti(a,r.pathname,t.signal);if("aborted"===e.type)return{shortCircuited:!0};if("error"===e.type){let t=eF(e.partialMatches).route.id;return{matches:e.partialMatches,pendingActionResult:[t,{type:d.error,error:e.error}]}}if(e.matches)a=e.matches;else{let{notFoundMatches:e,error:t,route:n}=tt(r.pathname);return{matches:e,pendingActionResult:[n.id,{type:d.error,error:t}]}}}let u=eQ(a,r);if(u.route.action||u.route.lazy){if(s=(await eD("action",M,t,[u],a,null))[u.route.id],t.signal.aborted)return{shortCircuited:!0}}else s={type:d.error,error:eB(405,{method:t.method,pathname:r.pathname,routeId:u.route.id})};if(e$(s)){let r;return r=i&&null!=i.replace?i.replace:e_(s.response.headers.get("Location"),new URL(t.url),p,e.history)===M.location.pathname+M.location.search,await eC(t,s,!0,{submission:n,replace:r}),{shortCircuited:!0}}if(eH(s))throw eB(400,{type:"defer-action"});if(eW(s)){let e=eF(a,u.route.id);return!0!==(i&&i.replace)&&(O=c.Push),{matches:a,pendingActionResult:[e.route.id,s]}}return{matches:a,pendingActionResult:[u.route.id,s]}}async function ev(t,n,a,i,l,s,u,c,d,h,m){let y=l||e0(n,s),b=s||u||eZ(y),w=!H&&(!g.v7_partialHydration||!d);if(i){if(w){let e=eb(m);er(v({navigation:y},void 0!==e?{actionData:e}:{}),{flushSync:h})}let e=await ti(a,n.pathname,t.signal);if("aborted"===e.type)return{shortCircuited:!0};if("error"===e.type){let t=eF(e.partialMatches).route.id;return{matches:e.partialMatches,loaderData:{},errors:{[t]:e.error}}}if(e.matches)a=e.matches;else{let{error:e,notFoundMatches:t,route:r}=tt(n.pathname);return{matches:t,loaderData:{},errors:{[r.id]:e}}}}let E=r||f,[S,R]=ew(e.history,M,a,b,n,g.v7_partialHydration&&!0===d,g.v7_skipActionErrorRevalidation,W,$,V,Z,G,X,E,p,m);if(tr(e=>!(a&&a.some(t=>t.route.id===e))||S&&S.some(t=>t.route.id===e)),Y=++K,0===S.length&&0===R.length){let e=e3();return en(n,v({matches:a,loaderData:{},errors:m&&eW(m[1])?{[m[0]]:m[1].error}:null},eO(m),e?{fetchers:new Map(M.fetchers)}:{}),{flushSync:h}),{shortCircuited:!0}}if(w){let e={};if(!i){e.navigation=y;let t=eb(m);void 0!==t&&(e.actionData=t)}R.length>0&&(R.forEach(e=>{let t=M.fetchers.get(e.key),r=e1(void 0,t?t.data:void 0);M.fetchers.set(e.key,r)}),e.fetchers=new Map(M.fetchers)),er(e,{flushSync:h})}R.forEach(e=>{e2(e.key),e.controller&&J.set(e.key,e.controller)});let x=()=>R.forEach(e=>e2(e.key));o&&o.signal.addEventListener("abort",x);let{loaderResults:C,fetcherResults:P}=await eT(M,a,S,R,t);if(t.signal.aborted)return{shortCircuited:!0};o&&o.signal.removeEventListener("abort",x),R.forEach(e=>J.delete(e.key));let L=ez(C);if(L)return await eC(t,L.result,!0,{replace:c}),{shortCircuited:!0};if(L=ez(P))return X.add(L.key),await eC(t,L.result,!0,{replace:c}),{shortCircuited:!0};let{loaderData:D,errors:k}=ej(M,a,C,m,R,P,ee);ee.forEach((e,t)=>{e.subscribe(r=>{(r||e.done)&&ee.delete(t)})}),g.v7_partialHydration&&d&&M.errors&&(k=v({},M.errors,k));let _=e3(),A=e6(Y),T=_||A||R.length>0;return v({matches:a,loaderData:D,errors:k},T?{fetchers:new Map(M.fetchers)}:{})}function eb(e){if(e&&!eW(e[1]))return{[e[0]]:e[1].data};if(M.actionData)if(0===Object.keys(M.actionData).length)return null;else return M.actionData}async function eS(t,n,a,i,l,s,u,c,d){var h,m;function v(e){if(!e.route.action&&!e.route.lazy){let e=eB(405,{method:d.formMethod,pathname:a,routeId:n});return eV(t,n,e,{flushSync:u}),!0}return!1}if(eU(),G.delete(t),!s&&v(i))return;let y=M.fetchers.get(t);eI(t,(h=d,m=y,{state:"submitting",formMethod:h.formMethod,formAction:h.formAction,formEncType:h.formEncType,formData:h.formData,json:h.json,text:h.text,data:m?m.data:void 0}),{flushSync:u});let b=new AbortController,w=eA(e.history,a,b.signal,d);if(s){let e=await ti(l,new URL(w.url).pathname,w.signal,t);if("aborted"===e.type)return;if("error"===e.type)return void eV(t,n,e.error,{flushSync:u});if(!e.matches)return void eV(t,n,eB(404,{pathname:a}),{flushSync:u});if(v(i=eQ(l=e.matches,a)))return}J.set(t,b);let S=K,R=(await eD("action",M,w,[i],l,t))[i.route.id];if(w.signal.aborted){J.get(t)===b&&J.delete(t);return}if(g.v7_fetcherPersist&&Z.has(t)){if(e$(R)||eW(R))return void eI(t,e7(void 0))}else{if(e$(R))return(J.delete(t),Y>S)?void eI(t,e7(void 0)):(X.add(t),eI(t,e1(d)),eC(w,R,!1,{fetcherSubmission:d,preventScrollReset:c}));if(eW(R))return void eV(t,n,R.error)}if(eH(R))throw eB(400,{type:"defer-action"});let x=M.navigation.location||M.location,C=eA(e.history,x,b.signal),P=r||f,L="idle"!==M.navigation.state?_(P,M.navigation.location,p):M.matches;E(L,"Didn't find any matches after fetcher action");let D=++K;q.set(t,D);let k=e1(d,R.data);M.fetchers.set(t,k);let[A,T]=ew(e.history,M,L,d,x,!1,g.v7_skipActionErrorRevalidation,W,$,V,Z,G,X,P,p,[i.route.id,R]);T.filter(e=>e.key!==t).forEach(e=>{let t=e.key,r=M.fetchers.get(t),n=e1(void 0,r?r.data:void 0);M.fetchers.set(t,n),e2(t),e.controller&&J.set(t,e.controller)}),er({fetchers:new Map(M.fetchers)});let U=()=>T.forEach(e=>e2(e.key));b.signal.addEventListener("abort",U);let{loaderResults:j,fetcherResults:F}=await eT(M,L,A,T,C);if(b.signal.aborted)return;b.signal.removeEventListener("abort",U),q.delete(t),J.delete(t),T.forEach(e=>J.delete(e.key));let N=ez(j);if(N)return eC(C,N.result,!1,{preventScrollReset:c});if(N=ez(F))return X.add(N.key),eC(C,N.result,!1,{preventScrollReset:c});let{loaderData:B,errors:z}=ej(M,L,j,void 0,T,F,ee);if(M.fetchers.has(t)){let e=e7(R.data);M.fetchers.set(t,e)}e6(D),"loading"===M.navigation.state&&D>Y?(E(O,"Expected pending action"),o&&o.abort(),en(M.navigation.location,{matches:L,loaderData:B,errors:z,fetchers:new Map(M.fetchers)})):(er({errors:z,loaderData:eM(M.loaderData,B,L,z),fetchers:new Map(M.fetchers)}),W=!1)}async function eR(t,r,n,a,o,i,l,s,u){let c=M.fetchers.get(t);eI(t,e1(u,c?c.data:void 0),{flushSync:l});let d=new AbortController,h=eA(e.history,n,d.signal);if(i){let e=await ti(o,new URL(h.url).pathname,h.signal,t);if("aborted"===e.type)return;if("error"===e.type)return void eV(t,r,e.error,{flushSync:l});if(!e.matches)return void eV(t,r,eB(404,{pathname:n}),{flushSync:l});a=eQ(o=e.matches,n)}J.set(t,d);let f=K,p=(await eD("loader",M,h,[a],o,t))[a.route.id];if(eH(p)&&(p=await eX(p,h.signal,!0)||p),J.get(t)===d&&J.delete(t),!h.signal.aborted){if(Z.has(t))return void eI(t,e7(void 0));if(e$(p))if(Y>f)return void eI(t,e7(void 0));else{X.add(t),await eC(h,p,!1,{preventScrollReset:s});return}if(eW(p))return void eV(t,r,p.error);E(!eH(p),"Unhandled fetcher deferred data"),eI(t,e7(p.data))}}async function eC(t,r,n,a){let{submission:i,fetcherSubmission:u,preventScrollReset:d,replace:h}=void 0===a?{}:a;r.response.headers.has("X-Remix-Revalidate")&&(W=!0);let f=r.response.headers.get("Location");E(f,"Expected a Location header on the redirect Response"),f=e_(f,new URL(t.url),p,e.history);let m=x(M.location,f,{_isRedirect:!0});if(s){let t=!1;if(r.response.headers.has("X-Remix-Reload-Document"))t=!0;else if(ef.test(f)){let r=e.history.createURL(f);t=r.origin!==l.location.origin||null==N(r.pathname,p)}if(t)return void(h?l.location.replace(f):l.location.assign(f))}o=null;let y=!0===h||r.response.headers.has("X-Remix-Replace")?c.Replace:c.Push,{formMethod:g,formAction:b,formEncType:w}=M.navigation;!i&&!u&&g&&b&&w&&(i=eZ(M.navigation));let S=i||u;if(eu.has(r.response.status)&&S&&eK(S.formMethod))await ei(y,m,{submission:v({},S,{formAction:f}),preventScrollReset:d||F,enableViewTransition:n?B:void 0});else{let e=e0(m,i);await ei(y,m,{overrideNavigation:e,fetcherSubmission:u,preventScrollReset:d||F,enableViewTransition:n?B:void 0})}}async function eD(e,r,n,a,o,i){let l,s={};try{l=await eL(m,e,r,n,a,o,i,h,t)}catch(e){return a.forEach(t=>{s[t.route.id]={type:d.error,error:e}}),s}for(let[e,t]of Object.entries(l)){var u;if(eJ((u=t).result)&&es.has(u.result.status)){let r=t.result;s[e]={type:d.redirect,response:function(e,t,r,n,a,o){let i=e.headers.get("Location");if(E(i,"Redirects returned/thrown from loaders/actions must have a Location header"),!ef.test(i)){let l=n.slice(0,n.findIndex(e=>e.route.id===r)+1);i=ey(new URL(t.url),l,a,!0,i,o),e.headers.set("Location",i)}return e}(r,n,e,o,p,g.v7_relativeSplatPath)}}else s[e]=await ek(t)}return s}async function eT(t,r,n,a,o){let i=t.matches,l=eD("loader",t,o,n,r,null),s=Promise.all(a.map(async r=>{if(!r.matches||!r.match||!r.controller)return Promise.resolve({[r.key]:{type:d.error,error:eB(404,{pathname:r.path})}});{let n=(await eD("loader",t,eA(e.history,r.path,r.controller.signal),[r.match],r.matches,r.key))[r.match.route.id];return{[r.key]:n}}})),u=await l,c=(await s).reduce((e,t)=>Object.assign(e,t),{});return await Promise.all([eY(r,u,o.signal,i,t.loaderData),eq(r,c,a)]),{loaderResults:u,fetcherResults:c}}function eU(){W=!0,$.push(...tr()),G.forEach((e,t)=>{J.has(t)&&V.add(t),e2(t)})}function eI(e,t,r){void 0===r&&(r={}),M.fetchers.set(e,t),er({fetchers:new Map(M.fetchers)},{flushSync:!0===(r&&r.flushSync)})}function eV(e,t,r,n){void 0===n&&(n={});let a=eF(M.matches,t);e4(e),er({errors:{[a.route.id]:r},fetchers:new Map(M.fetchers)},{flushSync:!0===(n&&n.flushSync)})}function eG(e){return Q.set(e,(Q.get(e)||0)+1),Z.has(e)&&Z.delete(e),M.fetchers.get(e)||ed}function e4(e){let t=M.fetchers.get(e);J.has(e)&&!(t&&"loading"===t.state&&q.has(e))&&e2(e),G.delete(e),q.delete(e),X.delete(e),g.v7_fetcherPersist&&Z.delete(e),V.delete(e),M.fetchers.delete(e)}function e2(e){let t=J.get(e);t&&(t.abort(),J.delete(e))}function e5(e){for(let t of e){let e=e7(eG(t).data);M.fetchers.set(t,e)}}function e3(){let e=[],t=!1;for(let r of X){let n=M.fetchers.get(r);E(n,"Expected fetcher: "+r),"loading"===n.state&&(X.delete(r),e.push(r),t=!0)}return e5(e),t}function e6(e){let t=[];for(let[r,n]of q)if(n<e){let e=M.fetchers.get(r);E(e,"Expected fetcher: "+r),"loading"===e.state&&(e2(r),q.delete(r),t.push(r))}return e5(t),t.length>0}function e9(e){M.blockers.delete(e),et.delete(e)}function e8(e,t){let r=M.blockers.get(e)||eh;E("unblocked"===r.state&&"blocked"===t.state||"blocked"===r.state&&"blocked"===t.state||"blocked"===r.state&&"proceeding"===t.state||"blocked"===r.state&&"unblocked"===t.state||"proceeding"===r.state&&"unblocked"===t.state,"Invalid blocker state transition: "+r.state+" -> "+t.state);let n=new Map(M.blockers);n.set(e,t),er({blockers:n})}function te(e){let{currentLocation:t,nextLocation:r,historyAction:n}=e;if(0===et.size)return;et.size>1&&S(!1,"A router only supports one blocker at a time");let a=Array.from(et.entries()),[o,i]=a[a.length-1],l=M.blockers.get(o);if((!l||"proceeding"!==l.state)&&i({currentLocation:t,nextLocation:r,historyAction:n}))return o}function tt(e){let t=eB(404,{pathname:e}),{matches:n,route:a}=eN(r||f);return tr(),{notFoundMatches:n,route:a,error:t}}function tr(e){let t=[];return ee.forEach((r,n)=>{(!e||e(n))&&(r.cancel(),t.push(n),ee.delete(n))}),t}function tn(e,t){return C&&C(e,t.map(e=>T(e,M.loaderData)))||e.key}function ta(e,t){if(R){let r=R[tn(e,t)];if("number"==typeof r)return r}return null}function to(e,t,r){if(y){if(!e)return{active:!0,matches:A(t,r,p,!0)||[]};else if(Object.keys(e[0].params).length>0)return{active:!0,matches:A(t,r,p,!0)}}return{active:!1,matches:null}}async function ti(e,n,a,o){if(!y)return{type:"success",matches:e};let i=e;for(;;){let e=null==r,l=r||f,s=h;try{await y({signal:a,path:n,matches:i,fetcherKey:o,patch:(e,r)=>{a.aborted||ex(e,r,l,s,t)}})}catch(e){return{type:"error",error:e,partialMatches:i}}finally{e&&!a.aborted&&(f=[...f])}if(a.aborted)return{type:"aborted"};let u=_(l,n,p);if(u)return{type:"success",matches:u};let c=A(l,n,p,!0);if(!c||i.length===c.length&&i.every((e,t)=>e.route.id===c[t].route.id))return{type:"success",matches:null};i=c}}return a={get basename(){return p},get future(){return g},get state(){return M},get routes(){return f},get window(){return l},initialize:function(){if(b=e.history.listen(t=>{let{action:r,location:n,delta:a}=t;if(i){i(),i=void 0;return}S(0===et.size||null!=a,"You are trying to use a blocker on a POP navigation to a location that was not created by @remix-run/router. This will fail silently in production. This can happen if you are navigating outside the router via `window.history.pushState`/`window.location.hash` instead of using router navigation APIs. This can also happen if you are using createHashRouter and the user manually changes the URL.");let o=te({currentLocation:M.location,nextLocation:n,historyAction:r});if(o&&null!=a){let t=new Promise(e=>{i=e});e.history.go(-1*a),e8(o,{state:"blocked",location:n,proceed(){e8(o,{state:"proceeding",proceed:void 0,reset:void 0,location:n}),t.then(()=>e.history.go(a))},reset(){let e=new Map(M.blockers);e.set(o,eh),er({blockers:e})}});return}return ei(r,n)}),s){var t=l,r=z;try{let e=t.sessionStorage.getItem(em);if(e){let t=JSON.parse(e);for(let[e,n]of Object.entries(t||{}))n&&Array.isArray(n)&&r.set(e,new Set(n||[]))}}catch(e){}let e=()=>(function(e,t){if(t.size>0){let r={};for(let[e,n]of t)r[e]=[...n];try{e.sessionStorage.setItem(em,JSON.stringify(r))}catch(e){S(!1,"Failed to save applied view transitions in sessionStorage ("+e+").")}}})(l,z);l.addEventListener("pagehide",e),I=()=>l.removeEventListener("pagehide",e)}return M.initialized||ei(c.Pop,M.location,{initialHydration:!0}),a},subscribe:function(e){return w.add(e),()=>w.delete(e)},enableScrollRestoration:function(e,t,r){if(R=e,P=t,C=r||null,!L&&M.navigation===ec){L=!0;let e=ta(M.location,M.matches);null!=e&&er({restoreScrollPosition:e})}return()=>{R=null,P=null,C=null}},navigate:eo,fetch:function(e,t,n,a){if(u)throw Error("router.fetch() was called during the server render, but it shouldn't be. You are likely calling a useFetcher() method in the body of your component. Try moving it to a useEffect or a callback.");e2(e);let o=!0===(a&&a.flushSync),i=r||f,l=ey(M.location,M.matches,p,g.v7_prependBasename,n,g.v7_relativeSplatPath,t,null==a?void 0:a.relative),s=_(i,l,p),c=to(s,i,l);if(c.active&&c.matches&&(s=c.matches),!s)return void eV(e,t,eB(404,{pathname:l}),{flushSync:o});let{path:d,submission:h,error:m}=eg(g.v7_normalizeFormMethod,!0,l,a);if(m)return void eV(e,t,m,{flushSync:o});let v=eQ(s,d),y=!0===(a&&a.preventScrollReset);h&&eK(h.formMethod)?eS(e,t,d,v,s,c.active,o,y,h):(G.set(e,{routeId:t,path:d}),eR(e,t,d,v,s,c.active,o,y,h))},revalidate:function(){if(eU(),er({revalidation:"loading"}),"submitting"!==M.navigation.state){if("idle"===M.navigation.state)return void ei(M.historyAction,M.location,{startUninterruptedRevalidation:!0});ei(O||M.historyAction,M.navigation.location,{overrideNavigation:M.navigation,enableViewTransition:!0===B})}},createHref:t=>e.history.createHref(t),encodeLocation:t=>e.history.encodeLocation(t),getFetcher:eG,deleteFetcher:function(e){let t=(Q.get(e)||0)-1;t<=0?(Q.delete(e),Z.add(e),g.v7_fetcherPersist||e4(e)):Q.set(e,t),er({fetchers:new Map(M.fetchers)})},dispose:function(){b&&b(),I&&I(),w.clear(),o&&o.abort(),M.fetchers.forEach((e,t)=>e4(t)),M.blockers.forEach((e,t)=>e9(t))},getBlocker:function(e,t){let r=M.blockers.get(e)||eh;return et.get(e)!==t&&et.set(e,t),r},deleteBlocker:e9,patchRoutes:function(e,n){let a=null==r;ex(e,n,r||f,h,t),a&&(f=[...f],er({}))},_internalFetchControllers:J,_internalActiveDeferreds:ee,_internalSetRoutes:function(e){r=k(e,t,void 0,h={})}}}function ey(e,t,r,n,a,o,i,l){let s,u;if(i){for(let e of(s=[],t))if(s.push(e),e.route.id===i){u=e;break}}else s=t,u=t[t.length-1];let c=V(a||".",$(s,o),N(e.pathname,r)||e.pathname,"path"===l);if(null==a&&(c.search=e.search,c.hash=e.hash),(null==a||""===a||"."===a)&&u){let e=eG(c.search);if(u.route.index&&!e)c.search=c.search?c.search.replace(/^\?/,"?index&"):"?index";else if(!u.route.index&&e){let e=new URLSearchParams(c.search),t=e.getAll("index");e.delete("index"),t.filter(e=>e).forEach(t=>e.append("index",t));let r=e.toString();c.search=r?"?"+r:""}}return n&&"/"!==r&&(c.pathname="/"===c.pathname?r:J([r,c.pathname])),C(c)}function eg(e,t,r,n){var a;let o,i;if(!n||!(null!=n&&("formData"in n&&null!=n.formData||"body"in n&&void 0!==n.body)))return{path:r};if(n.formMethod&&(a=n.formMethod,!el.has(a.toLowerCase())))return{path:r,error:eB(405,{method:n.formMethod})};let l=()=>({path:r,error:eB(400,{type:"invalid-body"})}),s=n.formMethod||"get",u=e?s.toUpperCase():s.toLowerCase(),c=eI(r);if(void 0!==n.body){if("text/plain"===n.formEncType){if(!eK(u))return l();let e="string"==typeof n.body?n.body:n.body instanceof FormData||n.body instanceof URLSearchParams?Array.from(n.body.entries()).reduce((e,t)=>{let[r,n]=t;return""+e+r+"="+n+"\n"},""):String(n.body);return{path:r,submission:{formMethod:u,formAction:c,formEncType:n.formEncType,formData:void 0,json:void 0,text:e}}}else if("application/json"===n.formEncType){if(!eK(u))return l();try{let e="string"==typeof n.body?JSON.parse(n.body):n.body;return{path:r,submission:{formMethod:u,formAction:c,formEncType:n.formEncType,formData:void 0,json:e,text:void 0}}}catch(e){return l()}}}if(E("function"==typeof FormData,"FormData is not available in this environment"),n.formData)o=eT(n.formData),i=n.formData;else if(n.body instanceof FormData)o=eT(n.body),i=n.body;else if(n.body instanceof URLSearchParams)i=eU(o=n.body);else if(null==n.body)o=new URLSearchParams,i=new FormData;else try{o=new URLSearchParams(n.body),i=eU(o)}catch(e){return l()}let d={formMethod:u,formAction:c,formEncType:n&&n.formEncType||"application/x-www-form-urlencoded",formData:i,json:void 0,text:void 0};if(eK(d.formMethod))return{path:r,submission:d};let h=P(r);return t&&h.search&&eG(h.search)&&o.append("index",""),h.search="?"+o,{path:C(h),submission:d}}function eb(e,t,r){void 0===r&&(r=!1);let n=e.findIndex(e=>e.route.id===t);return n>=0?e.slice(0,r?n+1:n):e}function ew(e,t,r,n,a,o,i,l,s,u,c,d,h,f,p,m){let y=m?eW(m[1])?m[1].error:m[1].data:void 0,g=e.createURL(t.location),b=e.createURL(a),w=r;o&&t.errors?w=eb(r,Object.keys(t.errors)[0],!0):m&&eW(m[1])&&(w=eb(r,m[0]));let E=m?m[1].statusCode:void 0,S=i&&E&&E>=400,R=w.filter((e,r)=>{var a,i,u;let c,d,{route:h}=e;if(h.lazy)return!0;if(null==h.loader)return!1;if(o)return eE(h,t.loaderData,t.errors);if(a=t.loaderData,i=t.matches[r],u=e,c=!i||u.route.id!==i.route.id,d=void 0===a[u.route.id],c||d||s.some(t=>t===e.route.id))return!0;let f=t.matches[r];return eR(e,v({currentUrl:g,currentParams:f.params,nextUrl:b,nextParams:e.params},n,{actionResult:y,actionStatus:E,defaultShouldRevalidate:!S&&(l||g.pathname+g.search===b.pathname+b.search||g.search!==b.search||eS(f,e))}))}),x=[];return d.forEach((e,a)=>{if(o||!r.some(t=>t.route.id===e.routeId)||c.has(a))return;let i=_(f,e.path,p);if(!i)return void x.push({key:a,routeId:e.routeId,path:e.path,matches:null,match:null,controller:null});let s=t.fetchers.get(a),d=eQ(i,e.path),m=!1;h.has(a)?m=!1:u.has(a)?(u.delete(a),m=!0):m=s&&"idle"!==s.state&&void 0===s.data?l:eR(d,v({currentUrl:g,currentParams:t.matches[t.matches.length-1].params,nextUrl:b,nextParams:r[r.length-1].params},n,{actionResult:y,actionStatus:E,defaultShouldRevalidate:!S&&l})),m&&x.push({key:a,routeId:e.routeId,path:e.path,matches:i,match:d,controller:new AbortController})}),[R,x]}function eE(e,t,r){if(e.lazy)return!0;if(!e.loader)return!1;let n=null!=t&&void 0!==t[e.id],a=null!=r&&void 0!==r[e.id];return(!!n||!a)&&("function"==typeof e.loader&&!0===e.loader.hydrate||!n&&!a)}function eS(e,t){let r=e.route.path;return e.pathname!==t.pathname||null!=r&&r.endsWith("*")&&e.params["*"]!==t.params["*"]}function eR(e,t){if(e.route.shouldRevalidate){let r=e.route.shouldRevalidate(t);if("boolean"==typeof r)return r}return t.defaultShouldRevalidate}function ex(e,t,r,n,a){var o;let i;if(e){let t=n[e];E(t,"No route found to patch children into: routeId = "+e),t.children||(t.children=[]),i=t.children}else i=r;let l=k(t.filter(e=>!i.some(t=>(function e(t,r){return"id"in t&&"id"in r&&t.id===r.id||t.index===r.index&&t.path===r.path&&t.caseSensitive===r.caseSensitive&&((!t.children||0===t.children.length)&&(!r.children||0===r.children.length)||t.children.every((t,n)=>{var a;return null==(a=r.children)?void 0:a.some(r=>e(t,r))}))})(e,t))),a,[e||"_","patch",String((null==(o=i)?void 0:o.length)||"0")],n);i.push(...l)}async function eC(e,t,r){if(!e.lazy)return;let n=await e.lazy();if(!e.lazy)return;let a=r[e.id];E(a,"No route found in manifest");let o={};for(let e in n){let t=void 0!==a[e]&&"hasErrorBoundary"!==e;S(!t,'Route "'+a.id+'" has a static property "'+e+'" defined but its lazy function is also returning a value for this property. The lazy route property "'+e+'" will be ignored.'),t||D.has(e)||(o[e]=n[e])}Object.assign(a,o),Object.assign(a,v({},t(a),{lazy:void 0}))}async function eP(e){let{matches:t}=e,r=t.filter(e=>e.shouldLoad);return(await Promise.all(r.map(e=>e.resolve()))).reduce((e,t,n)=>Object.assign(e,{[r[n].route.id]:t}),{})}async function eL(e,t,r,n,a,o,i,l,s,u){let c=o.map(e=>e.route.lazy?eC(e.route,s,l):void 0),h=o.map((e,r)=>{let o=c[r],i=a.some(t=>t.route.id===e.route.id),l=async r=>(r&&"GET"===n.method&&(e.route.lazy||e.route.loader)&&(i=!0),i?eD(t,n,e,o,r,u):Promise.resolve({type:d.data,result:void 0}));return v({},e,{shouldLoad:i,resolve:l})}),f=await e({matches:h,request:n,params:o[0].params,fetcherKey:i,context:u});try{await Promise.all(c)}catch(e){}return f}async function eD(e,t,r,n,a,o){let i,l,s=n=>{let i,s=new Promise((e,t)=>i=t);l=()=>i(),t.signal.addEventListener("abort",l);let u=a=>"function"!=typeof n?Promise.reject(Error("You cannot call the handler for a route which defines a boolean "+('"'+e+'" [routeId: ')+r.route.id+"]")):n({request:t,params:r.params,context:o},...void 0!==a?[a]:[]);return Promise.race([(async()=>{try{let e=await (a?a(e=>u(e)):u());return{type:"data",result:e}}catch(e){return{type:"error",result:e}}})(),s])};try{let a=r.route[e];if(n)if(a){let e,[t]=await Promise.all([s(a).catch(t=>{e=t}),n]);if(void 0!==e)throw e;i=t}else if(await n,a=r.route[e])i=await s(a);else{if("action"!==e)return{type:d.data,result:void 0};let n=new URL(t.url),a=n.pathname+n.search;throw eB(405,{method:t.method,pathname:a,routeId:r.route.id})}else if(a)i=await s(a);else{let e=new URL(t.url),r=e.pathname+e.search;throw eB(404,{pathname:r})}E(void 0!==i.result,"You defined "+("action"===e?"an action":"a loader")+" for route "+('"'+r.route.id+"\" but didn't return anything from your `")+e+"` function. Please return a value or `null`.")}catch(e){return{type:d.error,result:e}}finally{l&&t.signal.removeEventListener("abort",l)}return i}async function ek(e){var t,r,n,a,o,i,l,s,u;let{result:c,type:h}=e;if(eJ(c)){let e;try{let t=c.headers.get("Content-Type");e=t&&/\bapplication\/json\b/.test(t)?null==c.body?null:await c.json():await c.text()}catch(e){return{type:d.error,error:e}}return h===d.error?{type:d.error,error:new en(c.status,c.statusText,e),statusCode:c.status,headers:c.headers}:{type:d.data,data:e,statusCode:c.status,headers:c.headers}}if(h===d.error)return eV(c)?c.data instanceof Error?{type:d.error,error:c.data,statusCode:null==(n=c.init)?void 0:n.status,headers:null!=(a=c.init)&&a.headers?new Headers(c.init.headers):void 0}:{type:d.error,error:new en((null==(t=c.init)?void 0:t.status)||500,void 0,c.data),statusCode:ea(c)?c.status:void 0,headers:null!=(r=c.init)&&r.headers?new Headers(c.init.headers):void 0}:{type:d.error,error:c,statusCode:ea(c)?c.status:void 0};return(u=c)&&"object"==typeof u&&"object"==typeof u.data&&"function"==typeof u.subscribe&&"function"==typeof u.cancel&&"function"==typeof u.resolveData?{type:d.deferred,deferredData:c,statusCode:null==(o=c.init)?void 0:o.status,headers:(null==(i=c.init)?void 0:i.headers)&&new Headers(c.init.headers)}:eV(c)?{type:d.data,data:c.data,statusCode:null==(l=c.init)?void 0:l.status,headers:null!=(s=c.init)&&s.headers?new Headers(c.init.headers):void 0}:{type:d.data,data:c}}function e_(e,t,r,n){let a=["about:","blob:","chrome:","chrome-untrusted:","content:","data:","devtools:","file:","filesystem:","javascript:"];if(ef.test(e)){let n=new URL(e.startsWith("//")?t.protocol+e:e);if(a.includes(n.protocol))throw Error("Invalid redirect location");let o=null!=N(n.pathname,r);if(n.origin===t.origin&&o)return n.pathname+n.search+n.hash}try{let t=n.createURL(e);if(a.includes(t.protocol))throw Error("Invalid redirect location")}catch(e){}return e}function eA(e,t,r,n){let a=e.createURL(eI(t)).toString(),o={signal:r};if(n&&eK(n.formMethod)){let{formMethod:e,formEncType:t}=n;o.method=e.toUpperCase(),"application/json"===t?(o.headers=new Headers({"Content-Type":t}),o.body=JSON.stringify(n.json)):"text/plain"===t?o.body=n.text:"application/x-www-form-urlencoded"===t&&n.formData?o.body=eT(n.formData):o.body=n.formData}return new Request(a,o)}function eT(e){let t=new URLSearchParams;for(let[r,n]of e.entries())t.append(r,"string"==typeof n?n:n.name);return t}function eU(e){let t=new FormData;for(let[r,n]of e.entries())t.append(r,n);return t}function ej(e,t,r,n,a,o,i){let l,s,u,c,d,h,{loaderData:f,errors:p}=(s={},u=null,c=!1,d={},h=n&&eW(n[1])?n[1].error:void 0,t.forEach(e=>{if(!(e.route.id in r))return;let n=e.route.id,a=r[n];if(E(!e$(a),"Cannot handle redirect results in processLoaderData"),eW(a)){let e=a.error;void 0!==h&&(e=h,h=void 0),u=u||{},1;{let r=eF(t,n);null==u[r.route.id]&&(u[r.route.id]=e)}s[n]=void 0,c||(c=!0,l=ea(a.error)?a.error.status:500),a.headers&&(d[n]=a.headers)}else eH(a)?(i.set(n,a.deferredData),s[n]=a.deferredData.data,null==a.statusCode||200===a.statusCode||c||(l=a.statusCode)):(s[n]=a.data,a.statusCode&&200!==a.statusCode&&!c&&(l=a.statusCode)),a.headers&&(d[n]=a.headers)}),void 0!==h&&n&&(u={[n[0]]:h},s[n[0]]=void 0),{loaderData:s,errors:u,statusCode:l||200,loaderHeaders:d});return a.forEach(t=>{let{key:r,match:n,controller:a}=t,i=o[r];if(E(i,"Did not find corresponding fetcher result"),!a||!a.signal.aborted)if(eW(i)){let t=eF(e.matches,null==n?void 0:n.route.id);p&&p[t.route.id]||(p=v({},p,{[t.route.id]:i.error})),e.fetchers.delete(r)}else if(e$(i))E(!1,"Unhandled fetcher revalidation redirect");else if(eH(i))E(!1,"Unhandled fetcher deferred data");else{let t=e7(i.data);e.fetchers.set(r,t)}}),{loaderData:f,errors:p}}function eM(e,t,r,n){let a=v({},t);for(let o of r){let r=o.route.id;if(t.hasOwnProperty(r)?void 0!==t[r]&&(a[r]=t[r]):void 0!==e[r]&&o.route.loader&&(a[r]=e[r]),n&&n.hasOwnProperty(r))break}return a}function eO(e){return e?eW(e[1])?{actionData:{}}:{actionData:{[e[0]]:e[1].data}}:{}}function eF(e,t){return(t?e.slice(0,e.findIndex(e=>e.route.id===t)+1):[...e]).reverse().find(e=>!0===e.route.hasErrorBoundary)||e[0]}function eN(e){let t=1===e.length?e[0]:e.find(e=>e.index||!e.path||"/"===e.path)||{id:"__shim-error-route__"};return{matches:[{params:{},pathname:"",pathnameBase:"",route:t}],route:t}}function eB(e,t){let{pathname:r,routeId:n,method:a,type:o,message:i}=void 0===t?{}:t,l="Unknown Server Error",s="Unknown @remix-run/router error";return 400===e?(l="Bad Request",a&&r&&n?s="You made a "+a+' request to "'+r+'" but did not provide a `loader` for route "'+n+'", so there is no way to handle the request.':"defer-action"===o?s="defer() is not supported in actions":"invalid-body"===o&&(s="Unable to encode submission body")):403===e?(l="Forbidden",s='Route "'+n+'" does not match URL "'+r+'"'):404===e?(l="Not Found",s='No route matches URL "'+r+'"'):405===e&&(l="Method Not Allowed",a&&r&&n?s="You made a "+a.toUpperCase()+' request to "'+r+'" but did not provide an `action` for route "'+n+'", so there is no way to handle the request.':a&&(s='Invalid request method "'+a.toUpperCase()+'"')),new en(e||500,l,Error(s),!0)}function ez(e){let t=Object.entries(e);for(let e=t.length-1;e>=0;e--){let[r,n]=t[e];if(e$(n))return{key:r,result:n}}}function eI(e){let t="string"==typeof e?P(e):e;return C(v({},t,{hash:""}))}function eH(e){return e.type===d.deferred}function eW(e){return e.type===d.error}function e$(e){return(e&&e.type)===d.redirect}function eV(e){return"object"==typeof e&&null!=e&&"type"in e&&"data"in e&&"init"in e&&"DataWithResponseInit"===e.type}function eJ(e){return null!=e&&"number"==typeof e.status&&"string"==typeof e.statusText&&"object"==typeof e.headers&&void 0!==e.body}function eK(e){return ei.has(e.toLowerCase())}async function eY(e,t,r,n,a){let o=Object.entries(t);for(let i=0;i<o.length;i++){let[l,s]=o[i],u=e.find(e=>(null==e?void 0:e.route.id)===l);if(!u)continue;let c=n.find(e=>e.route.id===u.route.id),d=null!=c&&!eS(c,u)&&(a&&a[u.route.id])!==void 0;eH(s)&&d&&await eX(s,r,!1).then(e=>{e&&(t[l]=e)})}}async function eq(e,t,r){for(let n=0;n<r.length;n++){let{key:a,routeId:o,controller:i}=r[n],l=t[a];e.find(e=>(null==e?void 0:e.route.id)===o)&&eH(l)&&(E(i,"Expected an AbortController for revalidating fetcher deferred result"),await eX(l,i.signal,!0).then(e=>{e&&(t[a]=e)}))}}async function eX(e,t,r){if(void 0===r&&(r=!1),!await e.deferredData.resolveData(t)){if(r)try{return{type:d.data,data:e.deferredData.unwrappedData}}catch(e){return{type:d.error,error:e}}return{type:d.data,data:e.deferredData.data}}}function eG(e){return new URLSearchParams(e).getAll("index").some(e=>""===e)}function eQ(e,t){let r="string"==typeof t?P(t).search:t.search;if(e[e.length-1].route.index&&eG(r||""))return e[e.length-1];let n=W(e);return n[n.length-1]}function eZ(e){let{formMethod:t,formAction:r,formEncType:n,text:a,formData:o,json:i}=e;if(t&&r&&n){if(null!=a)return{formMethod:t,formAction:r,formEncType:n,formData:void 0,json:void 0,text:a};else if(null!=o)return{formMethod:t,formAction:r,formEncType:n,formData:o,json:void 0,text:void 0};else if(void 0!==i)return{formMethod:t,formAction:r,formEncType:n,formData:void 0,json:i,text:void 0}}}function e0(e,t){return t?{state:"loading",location:e,formMethod:t.formMethod,formAction:t.formAction,formEncType:t.formEncType,formData:t.formData,json:t.json,text:t.text}:{state:"loading",location:e,formMethod:void 0,formAction:void 0,formEncType:void 0,formData:void 0,json:void 0,text:void 0}}function e1(e,t){return e?{state:"loading",formMethod:e.formMethod,formAction:e.formAction,formEncType:e.formEncType,formData:e.formData,json:e.json,text:e.text,data:t}:{state:"loading",formMethod:void 0,formAction:void 0,formEncType:void 0,formData:void 0,json:void 0,text:void 0,data:t}}function e7(e){return{state:"idle",formMethod:void 0,formAction:void 0,formEncType:void 0,formData:void 0,json:void 0,text:void 0,data:e}}function e4(){return(e4=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e}).apply(this,arguments)}Symbol("deferred");let e2=p.createContext(null),e5=p.createContext(null),e3=p.createContext(null),e6=p.createContext(null),e9=p.createContext(null),e8=p.createContext({outlet:null,matches:[],isDataRoute:!1}),te=p.createContext(null);function tt(e,t){let{relative:r}=void 0===t?{}:t;tr()||E(!1);let{basename:n,navigator:a}=p.useContext(e6),{hash:o,pathname:i,search:l}=th(e,{relative:r}),s=i;return"/"!==n&&(s="/"===i?n:J([n,i])),a.createHref({pathname:s,search:l,hash:o})}function tr(){return null!=p.useContext(e9)}function tn(){return tr()||E(!1),p.useContext(e9).location}function ta(){return p.useContext(e9).navigationType}function to(e){tr()||E(!1);let{pathname:t}=tn();return p.useMemo(()=>O(e,F(t)),[t,e])}function ti(e){p.useContext(e6).static||p.useLayoutEffect(e)}function tl(){let{isDataRoute:e}=p.useContext(e8);return e?function(){let{router:e}=tE(tb.UseNavigateStable),t=tR(tw.UseNavigateStable),r=p.useRef(!1);return ti(()=>{r.current=!0}),p.useCallback(function(n,a){void 0===a&&(a={}),r.current&&("number"==typeof n?e.navigate(n):e.navigate(n,e4({fromRouteId:t},a)))},[e,t])}():function(){tr()||E(!1);let e=p.useContext(e2),{basename:t,future:r,navigator:n}=p.useContext(e6),{matches:a}=p.useContext(e8),{pathname:o}=tn(),i=JSON.stringify($(a,r.v7_relativeSplatPath)),l=p.useRef(!1);return ti(()=>{l.current=!0}),p.useCallback(function(r,a){if(void 0===a&&(a={}),!l.current)return;if("number"==typeof r)return void n.go(r);let s=V(r,JSON.parse(i),o,"path"===a.relative);null==e&&"/"!==t&&(s.pathname="/"===s.pathname?t:J([t,s.pathname])),(a.replace?n.replace:n.push)(s,a.state,a)},[t,n,i,o,e])}()}let ts=p.createContext(null);function tu(){return p.useContext(ts)}function tc(e){let t=p.useContext(e8).outlet;return t?p.createElement(ts.Provider,{value:e},t):t}function td(){let{matches:e}=p.useContext(e8),t=e[e.length-1];return t?t.params:{}}function th(e,t){let{relative:r}=void 0===t?{}:t,{future:n}=p.useContext(e6),{matches:a}=p.useContext(e8),{pathname:o}=tn(),i=JSON.stringify($(a,n.v7_relativeSplatPath));return p.useMemo(()=>V(e,JSON.parse(i),o,"path"===r),[e,i,o,r])}function tf(e,t){return tp(e,t)}function tp(e,t,r,n){let a;tr()||E(!1);let{navigator:o}=p.useContext(e6),{matches:i}=p.useContext(e8),l=i[i.length-1],s=l?l.params:{};l&&l.pathname;let u=l?l.pathnameBase:"/";l&&l.route;let d=tn();if(t){var h;let e="string"==typeof t?P(t):t;"/"===u||(null==(h=e.pathname)?void 0:h.startsWith(u))||E(!1),a=e}else a=d;let f=a.pathname||"/",m=f;if("/"!==u){let e=u.replace(/^\//,"").split("/");m="/"+f.replace(/^\//,"").split("/").slice(e.length).join("/")}let v=_(e,{pathname:m}),y=tg(v&&v.map(e=>Object.assign({},e,{params:Object.assign({},s,e.params),pathname:J([u,o.encodeLocation?o.encodeLocation(e.pathname).pathname:e.pathname]),pathnameBase:"/"===e.pathnameBase?u:J([u,o.encodeLocation?o.encodeLocation(e.pathnameBase).pathname:e.pathnameBase])})),i,r,n);return t&&y?p.createElement(e9.Provider,{value:{location:e4({pathname:"/",search:"",hash:"",state:null,key:"default"},a),navigationType:c.Pop}},y):y}let tm=p.createElement(function(){let e=tA(),t=ea(e)?e.status+" "+e.statusText:e instanceof Error?e.message:JSON.stringify(e),r=e instanceof Error?e.stack:null;return p.createElement(p.Fragment,null,p.createElement("h2",null,"Unexpected Application Error!"),p.createElement("h3",{style:{fontStyle:"italic"}},t),r?p.createElement("pre",{style:{padding:"0.5rem",backgroundColor:"rgba(200,200,200, 0.5)"}},r):null,null)},null);class tv extends p.Component{constructor(e){super(e),this.state={location:e.location,revalidation:e.revalidation,error:e.error}}static getDerivedStateFromError(e){return{error:e}}static getDerivedStateFromProps(e,t){return t.location!==e.location||"idle"!==t.revalidation&&"idle"===e.revalidation?{error:e.error,location:e.location,revalidation:e.revalidation}:{error:void 0!==e.error?e.error:t.error,location:t.location,revalidation:e.revalidation||t.revalidation}}componentDidCatch(e,t){console.error("React Router caught the following error during render",e,t)}render(){return void 0!==this.state.error?p.createElement(e8.Provider,{value:this.props.routeContext},p.createElement(te.Provider,{value:this.state.error,children:this.props.component})):this.props.children}}function ty(e){let{routeContext:t,match:r,children:n}=e,a=p.useContext(e2);return a&&a.static&&a.staticContext&&(r.route.errorElement||r.route.ErrorBoundary)&&(a.staticContext._deepestRenderedBoundaryId=r.route.id),p.createElement(e8.Provider,{value:t},n)}function tg(e,t,r,n){var a,o;if(void 0===t&&(t=[]),void 0===r&&(r=null),void 0===n&&(n=null),null==e){if(!r)return null;if(r.errors)e=r.matches;else{if(null==(o=n)||!o.v7_partialHydration||0!==t.length||r.initialized||!(r.matches.length>0))return null;e=r.matches}}let i=e,l=null==(a=r)?void 0:a.errors;if(null!=l){let e=i.findIndex(e=>e.route.id&&(null==l?void 0:l[e.route.id])!==void 0);e>=0||E(!1),i=i.slice(0,Math.min(i.length,e+1))}let s=!1,u=-1;if(r&&n&&n.v7_partialHydration)for(let e=0;e<i.length;e++){let t=i[e];if((t.route.HydrateFallback||t.route.hydrateFallbackElement)&&(u=e),t.route.id){let{loaderData:e,errors:n}=r,a=t.route.loader&&void 0===e[t.route.id]&&(!n||void 0===n[t.route.id]);if(t.route.lazy||a){s=!0,i=u>=0?i.slice(0,u+1):[i[0]];break}}}return i.reduceRight((e,n,a)=>{var o;let c,d=!1,h=null,f=null;r&&(c=l&&n.route.id?l[n.route.id]:void 0,h=n.route.errorElement||tm,s&&(u<0&&0===a?(o="route-fallback",tO[o]||(tO[o]=!0),d=!0,f=null):u===a&&(d=!0,f=n.route.hydrateFallbackElement||null)));let m=t.concat(i.slice(0,a+1)),v=()=>{let t;return t=c?h:d?f:n.route.Component?p.createElement(n.route.Component,null):n.route.element?n.route.element:e,p.createElement(ty,{match:n,routeContext:{outlet:e,matches:m,isDataRoute:null!=r},children:t})};return r&&(n.route.ErrorBoundary||n.route.errorElement||0===a)?p.createElement(tv,{location:r.location,revalidation:r.revalidation,component:h,error:c,children:v(),routeContext:{outlet:null,matches:m,isDataRoute:!0}}):v()},null)}var tb=((o=tb||{}).UseBlocker="useBlocker",o.UseRevalidator="useRevalidator",o.UseNavigateStable="useNavigate",o),tw=((i=tw||{}).UseBlocker="useBlocker",i.UseLoaderData="useLoaderData",i.UseActionData="useActionData",i.UseRouteError="useRouteError",i.UseNavigation="useNavigation",i.UseRouteLoaderData="useRouteLoaderData",i.UseMatches="useMatches",i.UseRevalidator="useRevalidator",i.UseNavigateStable="useNavigate",i.UseRouteId="useRouteId",i);function tE(e){let t=p.useContext(e2);return t||E(!1),t}function tS(e){let t=p.useContext(e5);return t||E(!1),t}function tR(e){let t,r=((t=p.useContext(e8))||E(!1),t),n=r.matches[r.matches.length-1];return n.route.id||E(!1),n.route.id}function tx(){return tR(tw.UseRouteId)}function tC(){return tS(tw.UseNavigation).navigation}function tP(){let e=tE(tb.UseRevalidator),t=tS(tw.UseRevalidator);return p.useMemo(()=>({revalidate:e.router.revalidate,state:t.revalidation}),[e.router.revalidate,t.revalidation])}function tL(){let{matches:e,loaderData:t}=tS(tw.UseMatches);return p.useMemo(()=>e.map(e=>T(e,t)),[e,t])}function tD(){let e=tS(tw.UseLoaderData),t=tR(tw.UseLoaderData);return e.errors&&null!=e.errors[t]?void console.error("You cannot `useLoaderData` in an errorElement (routeId: "+t+")"):e.loaderData[t]}function tk(e){return tS(tw.UseRouteLoaderData).loaderData[e]}function t_(){let e=tS(tw.UseActionData),t=tR(tw.UseLoaderData);return e.actionData?e.actionData[t]:void 0}function tA(){var e;let t=p.useContext(te),r=tS(tw.UseRouteError),n=tR(tw.UseRouteError);return void 0!==t?t:null==(e=r.errors)?void 0:e[n]}function tT(){let e=p.useContext(e3);return null==e?void 0:e._data}function tU(){let e=p.useContext(e3);return null==e?void 0:e._error}let tj=0;function tM(e){let{router:t,basename:r}=tE(tb.UseBlocker),n=tS(tw.UseBlocker),[a,o]=p.useState(""),i=p.useCallback(t=>{if("function"!=typeof e)return!!e;if("/"===r)return e(t);let{currentLocation:n,nextLocation:a,historyAction:o}=t;return e({currentLocation:e4({},n,{pathname:N(n.pathname,r)||n.pathname}),nextLocation:e4({},a,{pathname:N(a.pathname,r)||a.pathname}),historyAction:o})},[r,e]);return p.useEffect(()=>{let e=String(++tj);return o(e),()=>t.deleteBlocker(e)},[t]),p.useEffect(()=>{""!==a&&t.getBlocker(a,i)},[t,a,i]),a&&n.blockers.has(a)?n.blockers.get(a):eh}let tO={},tF=(e,t,r)=>{};function tN(e,t){(null==e?void 0:e.v7_startTransition)===void 0&&tF("v7_startTransition","React Router will begin wrapping state updates in `React.startTransition` in v7","https://reactrouter.com/v6/upgrading/future#v7_starttransition"),(null==e?void 0:e.v7_relativeSplatPath)!==void 0||t&&void 0!==t.v7_relativeSplatPath||tF("v7_relativeSplatPath","Relative route resolution within Splat routes is changing in v7","https://reactrouter.com/v6/upgrading/future#v7_relativesplatpath"),t&&(void 0===t.v7_fetcherPersist&&tF("v7_fetcherPersist","The persistence behavior of fetchers is changing in v7","https://reactrouter.com/v6/upgrading/future#v7_fetcherpersist"),void 0===t.v7_normalizeFormMethod&&tF("v7_normalizeFormMethod","Casing of `formMethod` fields is being normalized to uppercase in v7","https://reactrouter.com/v6/upgrading/future#v7_normalizeformmethod"),void 0===t.v7_partialHydration&&tF("v7_partialHydration","`RouterProvider` hydration behavior is changing in v7","https://reactrouter.com/v6/upgrading/future#v7_partialhydration"),void 0===t.v7_skipActionErrorRevalidation&&tF("v7_skipActionErrorRevalidation","The revalidation behavior after 4xx/5xx `action` responses is changing in v7","https://reactrouter.com/v6/upgrading/future#v7_skipactionerrorrevalidation"))}let tB=p.startTransition;function tz(e){let{basename:t,children:r,initialEntries:n,initialIndex:a,future:o}=e,i=p.useRef();null==i.current&&(i.current=g({initialEntries:n,initialIndex:a,v5Compat:!0}));let l=i.current,[s,u]=p.useState({action:l.action,location:l.location}),{v7_startTransition:c}=o||{},d=p.useCallback(e=>{c&&tB?tB(()=>u(e)):u(e)},[u,c]);return p.useLayoutEffect(()=>l.listen(d),[l,d]),p.useEffect(()=>tN(o),[o]),p.createElement(t$,{basename:t,children:r,location:s.location,navigationType:s.action,navigator:l,future:o})}function tI(e){let{to:t,replace:r,state:n,relative:a}=e;tr()||E(!1);let{future:o,static:i}=p.useContext(e6),{matches:l}=p.useContext(e8),{pathname:s}=tn(),u=tl(),c=JSON.stringify(V(t,$(l,o.v7_relativeSplatPath),s,"path"===a));return p.useEffect(()=>u(JSON.parse(c),{replace:r,state:n,relative:a}),[u,c,a,r,n]),null}function tH(e){return tc(e.context)}function tW(e){E(!1)}function t$(e){let{basename:t="/",children:r=null,location:n,navigationType:a=c.Pop,navigator:o,static:i=!1,future:l}=e;tr()&&E(!1);let s=t.replace(/^\/*/,"/"),u=p.useMemo(()=>({basename:s,navigator:o,static:i,future:e4({v7_relativeSplatPath:!1},l)}),[s,l,o,i]);"string"==typeof n&&(n=P(n));let{pathname:d="/",search:h="",hash:f="",state:m=null,key:v="default"}=n,y=p.useMemo(()=>{let e=N(d,s);return null==e?null:{location:{pathname:e,search:h,hash:f,state:m,key:v},navigationType:a}},[s,d,h,f,m,v,a]);return null==y?null:p.createElement(e6.Provider,{value:u},p.createElement(e9.Provider,{children:r,value:y}))}function tV(e){let{children:t,location:r}=e;return tp(tG(t),r)}function tJ(e){let{children:t,errorElement:r,resolve:n}=e;return p.createElement(tq,{resolve:n,errorElement:r},p.createElement(tX,null,t))}var tK=((l=tK||{})[l.pending=0]="pending",l[l.success=1]="success",l[l.error=2]="error",l);let tY=new Promise(()=>{});class tq extends p.Component{constructor(e){super(e),this.state={error:null}}static getDerivedStateFromError(e){return{error:e}}componentDidCatch(e,t){console.error("<Await> caught the following error during render",e,t)}render(){let{children:e,errorElement:t,resolve:r}=this.props,n=null,a=tK.pending;if(r instanceof Promise)if(this.state.error){a=tK.error;let e=this.state.error;Object.defineProperty(n=Promise.reject().catch(()=>{}),"_tracked",{get:()=>!0}),Object.defineProperty(n,"_error",{get:()=>e})}else r._tracked?a="_error"in(n=r)?tK.error:"_data"in n?tK.success:tK.pending:(a=tK.pending,Object.defineProperty(r,"_tracked",{get:()=>!0}),n=r.then(e=>Object.defineProperty(r,"_data",{get:()=>e}),e=>Object.defineProperty(r,"_error",{get:()=>e})));else a=tK.success,Object.defineProperty(n=Promise.resolve(),"_tracked",{get:()=>!0}),Object.defineProperty(n,"_data",{get:()=>r});if(a===tK.error&&n._error instanceof G)throw tY;if(a===tK.error&&!t)throw n._error;if(a===tK.error)return p.createElement(e3.Provider,{value:n,children:t});if(a===tK.success)return p.createElement(e3.Provider,{value:n,children:e});throw n}}function tX(e){let{children:t}=e,r=tT(),n="function"==typeof t?t(r):t;return p.createElement(p.Fragment,null,n)}function tG(e,t){void 0===t&&(t=[]);let r=[];return p.Children.forEach(e,(e,n)=>{if(!p.isValidElement(e))return;let a=[...t,n];if(e.type===p.Fragment)return void r.push.apply(r,tG(e.props.children,a));e.type!==tW&&E(!1),e.props.index&&e.props.children&&E(!1);let o={id:e.props.id||a.join("-"),caseSensitive:e.props.caseSensitive,element:e.props.element,Component:e.props.Component,index:e.props.index,path:e.props.path,loader:e.props.loader,action:e.props.action,errorElement:e.props.errorElement,ErrorBoundary:e.props.ErrorBoundary,hasErrorBoundary:null!=e.props.ErrorBoundary||null!=e.props.errorElement,shouldRevalidate:e.props.shouldRevalidate,handle:e.props.handle,lazy:e.props.lazy};e.props.children&&(o.children=tG(e.props.children,a)),r.push(o)}),r}function tQ(e){return tg(e)}function tZ(e){let t={hasErrorBoundary:null!=e.ErrorBoundary||null!=e.errorElement};return e.Component&&Object.assign(t,{element:p.createElement(e.Component),Component:void 0}),e.HydrateFallback&&Object.assign(t,{hydrateFallbackElement:p.createElement(e.HydrateFallback),HydrateFallback:void 0}),e.ErrorBoundary&&Object.assign(t,{errorElement:p.createElement(e.ErrorBoundary),ErrorBoundary:void 0}),t}function t0(e,t){return ev({basename:null==t?void 0:t.basename,future:e4({},null==t?void 0:t.future,{v7_prependBasename:!0}),history:g({initialEntries:null==t?void 0:t.initialEntries,initialIndex:null==t?void 0:t.initialIndex}),hydrationData:null==t?void 0:t.hydrationData,routes:e,mapRouteProperties:tZ,dataStrategy:null==t?void 0:t.dataStrategy,patchRoutesOnNavigation:null==t?void 0:t.patchRoutesOnNavigation}).initialize()}function t1(){return(t1=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e}).apply(this,arguments)}function t7(e,t){if(null==e)return{};var r,n,a={},o=Object.keys(e);for(n=0;n<o.length;n++)r=o[n],t.indexOf(r)>=0||(a[r]=e[r]);return a}let t4="application/x-www-form-urlencoded";function t2(e){return null!=e&&"string"==typeof e.tagName}function t5(e){return void 0===e&&(e=""),new URLSearchParams("string"==typeof e||Array.isArray(e)||e instanceof URLSearchParams?e:Object.keys(e).reduce((t,r)=>{let n=e[r];return t.concat(Array.isArray(n)?n.map(e=>[r,e]):[[r,n]])},[]))}let t3=null,t6=new Set(["application/x-www-form-urlencoded","multipart/form-data","text/plain"]);function t9(e){return null==e||t6.has(e)?e:null}let t8=["onClick","relative","reloadDocument","replace","state","target","to","preventScrollReset","viewTransition"],re=["aria-current","caseSensitive","className","end","style","to","viewTransition","children"],rt=["fetcherKey","navigate","reloadDocument","replace","state","method","action","onSubmit","relative","preventScrollReset","viewTransition"];try{window.__reactRouterVersion="6"}catch(e){}function rr(e,t){return ev({basename:null==t?void 0:t.basename,future:t1({},null==t?void 0:t.future,{v7_prependBasename:!0}),history:b({window:null==t?void 0:t.window}),hydrationData:(null==t?void 0:t.hydrationData)||ra(),routes:e,mapRouteProperties:tZ,dataStrategy:null==t?void 0:t.dataStrategy,patchRoutesOnNavigation:null==t?void 0:t.patchRoutesOnNavigation,window:null==t?void 0:t.window}).initialize()}function rn(e,t){return ev({basename:null==t?void 0:t.basename,future:t1({},null==t?void 0:t.future,{v7_prependBasename:!0}),history:w({window:null==t?void 0:t.window}),hydrationData:(null==t?void 0:t.hydrationData)||ra(),routes:e,mapRouteProperties:tZ,dataStrategy:null==t?void 0:t.dataStrategy,patchRoutesOnNavigation:null==t?void 0:t.patchRoutesOnNavigation,window:null==t?void 0:t.window}).initialize()}function ra(){var e;let t=null==(e=window)?void 0:e.__staticRouterHydrationData;return t&&t.errors&&(t=t1({},t,{errors:function(e){if(!e)return null;let t=Object.entries(e),r={};for(let[e,n]of t)if(n&&"RouteErrorResponse"===n.__type)r[e]=new en(n.status,n.statusText,n.data,!0===n.internal);else if(n&&"Error"===n.__type){if(n.__subType){let t=window[n.__subType];if("function"==typeof t)try{let a=new t(n.message);a.stack="",r[e]=a}catch(e){}}if(null==r[e]){let t=Error(n.message);t.stack="",r[e]=t}}else r[e]=n;return r}(t.errors)})),t}let ro=p.createContext({isTransitioning:!1}),ri=p.createContext(new Map),rl=p.startTransition,rs=m.flushSync,ru=p.useId;function rc(e){rs?rs(e):e()}class rd{constructor(){this.status="pending",this.promise=new Promise((e,t)=>{this.resolve=t=>{"pending"===this.status&&(this.status="resolved",e(t))},this.reject=e=>{"pending"===this.status&&(this.status="rejected",t(e))}})}}function rh(e){let{fallbackElement:t,router:r,future:n}=e,[a,o]=p.useState(r.state),[i,l]=p.useState(),[s,u]=p.useState({isTransitioning:!1}),[c,d]=p.useState(),[h,f]=p.useState(),[m,v]=p.useState(),y=p.useRef(new Map),{v7_startTransition:g}=n||{},b=p.useCallback(e=>{if(g)rl?rl(e):e();else e()},[g]),w=p.useCallback((e,t)=>{let{deletedFetchers:n,flushSync:a,viewTransitionOpts:i}=t;e.fetchers.forEach((e,t)=>{void 0!==e.data&&y.current.set(t,e.data)}),n.forEach(e=>y.current.delete(e));let s=null==r.window||null==r.window.document||"function"!=typeof r.window.document.startViewTransition;if(!i||s)return void(a?rc(()=>o(e)):b(()=>o(e)));if(a){rc(()=>{h&&(c&&c.resolve(),h.skipTransition()),u({isTransitioning:!0,flushSync:!0,currentLocation:i.currentLocation,nextLocation:i.nextLocation})});let t=r.window.document.startViewTransition(()=>{rc(()=>o(e))});t.finished.finally(()=>{rc(()=>{d(void 0),f(void 0),l(void 0),u({isTransitioning:!1})})}),rc(()=>f(t));return}h?(c&&c.resolve(),h.skipTransition(),v({state:e,currentLocation:i.currentLocation,nextLocation:i.nextLocation})):(l(e),u({isTransitioning:!0,flushSync:!1,currentLocation:i.currentLocation,nextLocation:i.nextLocation}))},[r.window,h,c,y,b]);p.useLayoutEffect(()=>r.subscribe(w),[r,w]),p.useEffect(()=>{s.isTransitioning&&!s.flushSync&&d(new rd)},[s]),p.useEffect(()=>{if(c&&i&&r.window){let e=c.promise,t=r.window.document.startViewTransition(async()=>{b(()=>o(i)),await e});t.finished.finally(()=>{d(void 0),f(void 0),l(void 0),u({isTransitioning:!1})}),f(t)}},[b,i,c,r.window]),p.useEffect(()=>{c&&i&&a.location.key===i.location.key&&c.resolve()},[c,h,a.location,i]),p.useEffect(()=>{!s.isTransitioning&&m&&(l(m.state),u({isTransitioning:!0,flushSync:!1,currentLocation:m.currentLocation,nextLocation:m.nextLocation}),v(void 0))},[s.isTransitioning,m]),p.useEffect(()=>{},[]);let E=p.useMemo(()=>({createHref:r.createHref,encodeLocation:r.encodeLocation,go:e=>r.navigate(e),push:(e,t,n)=>r.navigate(e,{state:t,preventScrollReset:null==n?void 0:n.preventScrollReset}),replace:(e,t,n)=>r.navigate(e,{replace:!0,state:t,preventScrollReset:null==n?void 0:n.preventScrollReset})}),[r]),S=r.basename||"/",R=p.useMemo(()=>({router:r,navigator:E,static:!1,basename:S}),[r,E,S]),x=p.useMemo(()=>({v7_relativeSplatPath:r.future.v7_relativeSplatPath}),[r.future.v7_relativeSplatPath]);return p.useEffect(()=>tN(n,r.future),[n,r.future]),p.createElement(p.Fragment,null,p.createElement(e2.Provider,{value:R},p.createElement(e5.Provider,{value:a},p.createElement(ri.Provider,{value:y.current},p.createElement(ro.Provider,{value:s},p.createElement(t$,{basename:S,location:a.location,navigationType:a.historyAction,navigator:E,future:x},a.initialized||r.future.v7_partialHydration?p.createElement(rf,{routes:r.routes,future:r.future,state:a}):t))))),null)}let rf=p.memo(function(e){let{routes:t,future:r,state:n}=e;return tp(t,void 0,n,r)});function rp(e){let{basename:t,children:r,future:n,window:a}=e,o=p.useRef();null==o.current&&(o.current=b({window:a,v5Compat:!0}));let i=o.current,[l,s]=p.useState({action:i.action,location:i.location}),{v7_startTransition:u}=n||{},c=p.useCallback(e=>{u&&rl?rl(()=>s(e)):s(e)},[s,u]);return p.useLayoutEffect(()=>i.listen(c),[i,c]),p.useEffect(()=>tN(n),[n]),p.createElement(t$,{basename:t,children:r,location:l.location,navigationType:l.action,navigator:i,future:n})}function rm(e){let{basename:t,children:r,future:n,window:a}=e,o=p.useRef();null==o.current&&(o.current=w({window:a,v5Compat:!0}));let i=o.current,[l,s]=p.useState({action:i.action,location:i.location}),{v7_startTransition:u}=n||{},c=p.useCallback(e=>{u&&rl?rl(()=>s(e)):s(e)},[s,u]);return p.useLayoutEffect(()=>i.listen(c),[i,c]),p.useEffect(()=>tN(n),[n]),p.createElement(t$,{basename:t,children:r,location:l.location,navigationType:l.action,navigator:i,future:n})}function rv(e){let{basename:t,children:r,future:n,history:a}=e,[o,i]=p.useState({action:a.action,location:a.location}),{v7_startTransition:l}=n||{},s=p.useCallback(e=>{l&&rl?rl(()=>i(e)):i(e)},[i,l]);return p.useLayoutEffect(()=>a.listen(s),[a,s]),p.useEffect(()=>tN(n),[n]),p.createElement(t$,{basename:t,children:r,location:o.location,navigationType:o.action,navigator:a,future:n})}let ry="undefined"!=typeof window&&void 0!==window.document&&void 0!==window.document.createElement,rg=/^(?:[a-z][a-z0-9+.-]*:|\/\/)/i,rb=p.forwardRef(function(e,t){let r,{onClick:n,relative:a,reloadDocument:o,replace:i,state:l,target:s,to:u,preventScrollReset:c,viewTransition:d}=e,h=t7(e,t8),{basename:f}=p.useContext(e6),m=!1;if("string"==typeof u&&rg.test(u)&&(r=u,ry))try{let e=new URL(window.location.href),t=new URL(u.startsWith("//")?e.protocol+u:u),r=N(t.pathname,f);t.origin===e.origin&&null!=r?u=r+t.search+t.hash:m=!0}catch(e){}let v=tt(u,{relative:a}),y=rC(u,{replace:i,state:l,target:s,preventScrollReset:c,relative:a,viewTransition:d});return p.createElement("a",t1({},h,{href:r||v,onClick:m||o?n:function(e){n&&n(e),e.defaultPrevented||y(e)},ref:t,target:s}))}),rw=p.forwardRef(function(e,t){let r,{"aria-current":n="page",caseSensitive:a=!1,className:o="",end:i=!1,style:l,to:s,viewTransition:u,children:c}=e,d=t7(e,re),h=th(s,{relative:d.relative}),f=tn(),m=p.useContext(e5),{navigator:v,basename:y}=p.useContext(e6),g=null!=m&&rN(h)&&!0===u,b=v.encodeLocation?v.encodeLocation(h).pathname:h.pathname,w=f.pathname,E=m&&m.navigation&&m.navigation.location?m.navigation.location.pathname:null;a||(w=w.toLowerCase(),E=E?E.toLowerCase():null,b=b.toLowerCase()),E&&y&&(E=N(E,y)||E);let S="/"!==b&&b.endsWith("/")?b.length-1:b.length,R=w===b||!i&&w.startsWith(b)&&"/"===w.charAt(S),x=null!=E&&(E===b||!i&&E.startsWith(b)&&"/"===E.charAt(b.length)),C={isActive:R,isPending:x,isTransitioning:g},P=R?n:void 0;r="function"==typeof o?o(C):[o,R?"active":null,x?"pending":null,g?"transitioning":null].filter(Boolean).join(" ");let L="function"==typeof l?l(C):l;return p.createElement(rb,t1({},d,{"aria-current":P,className:r,ref:t,style:L,to:s,viewTransition:u}),"function"==typeof c?c(C):c)}),rE=p.forwardRef((e,t)=>{let{fetcherKey:r,navigate:n,reloadDocument:a,replace:o,state:i,method:l="get",action:s,onSubmit:u,relative:c,preventScrollReset:d,viewTransition:h}=e,f=t7(e,rt),m=rk(),v=r_(s,{relative:c}),y="get"===l.toLowerCase()?"get":"post";return p.createElement("form",t1({ref:t,method:y,action:v,onSubmit:a?u:e=>{if(u&&u(e),e.defaultPrevented)return;e.preventDefault();let t=e.nativeEvent.submitter,a=(null==t?void 0:t.getAttribute("formmethod"))||l;m(t||e.currentTarget,{fetcherKey:r,method:a,navigate:n,replace:o,state:i,relative:c,preventScrollReset:d,viewTransition:h})}},f))});function rS(e){let{getKey:t,storageKey:r}=e;return rM({getKey:t,storageKey:r}),null}function rR(e){let t=p.useContext(e2);return t||E(!1),t}function rx(e){let t=p.useContext(e5);return t||E(!1),t}function rC(e,t){let{target:r,replace:n,state:a,preventScrollReset:o,relative:i,viewTransition:l}=void 0===t?{}:t,s=tl(),u=tn(),c=th(e,{relative:i});return p.useCallback(t=>{0!==t.button||r&&"_self"!==r||t.metaKey||t.altKey||t.ctrlKey||t.shiftKey||(t.preventDefault(),s(e,{replace:void 0!==n?n:C(u)===C(c),state:a,preventScrollReset:o,relative:i,viewTransition:l}))},[u,s,c,n,a,r,e,o,i,l])}function rP(e){let t=p.useRef(t5(e)),r=p.useRef(!1),n=tn(),a=p.useMemo(()=>{var e,a;let o;return e=n.search,a=r.current?null:t.current,o=t5(e),a&&a.forEach((e,t)=>{o.has(t)||a.getAll(t).forEach(e=>{o.append(t,e)})}),o},[n.search]),o=tl(),i=p.useCallback((e,t)=>{let n=t5("function"==typeof e?e(a):e);r.current=!0,o("?"+n,t)},[o,a]);return[a,i]}(s=h||(h={})).UseScrollRestoration="useScrollRestoration",s.UseSubmit="useSubmit",s.UseSubmitFetcher="useSubmitFetcher",s.UseFetcher="useFetcher",s.useViewTransitionState="useViewTransitionState",(u=f||(f={})).UseFetcher="useFetcher",u.UseFetchers="useFetchers",u.UseScrollRestoration="useScrollRestoration";let rL=0,rD=()=>"__"+String(++rL)+"__";function rk(){let{router:e}=rR(h.UseSubmit),{basename:t}=p.useContext(e6),r=tx();return p.useCallback(function(n,a){if(void 0===a&&(a={}),"undefined"==typeof document)throw Error("You are calling submit during the server render. Try calling submit within a `useEffect` or callback instead.");let{action:o,method:i,encType:l,formData:s,body:u}=function(e,t){let r,n,a,o,i;if(t2(e)&&"form"===e.tagName.toLowerCase()){let i=e.getAttribute("action");n=i?N(i,t):null,r=e.getAttribute("method")||"get",a=t9(e.getAttribute("enctype"))||t4,o=new FormData(e)}else if(t2(e)&&"button"===e.tagName.toLowerCase()||t2(e)&&"input"===e.tagName.toLowerCase()&&("submit"===e.type||"image"===e.type)){let i=e.form;if(null==i)throw Error('Cannot submit a <button> or <input type="submit"> without a <form>');let l=e.getAttribute("formaction")||i.getAttribute("action");if(n=l?N(l,t):null,r=e.getAttribute("formmethod")||i.getAttribute("method")||"get",a=t9(e.getAttribute("formenctype"))||t9(i.getAttribute("enctype"))||t4,o=new FormData(i,e),!function(){if(null===t3)try{new FormData(document.createElement("form"),0),t3=!1}catch(e){t3=!0}return t3}()){let{name:t,type:r,value:n}=e;if("image"===r){let e=t?t+".":"";o.append(e+"x","0"),o.append(e+"y","0")}else t&&o.append(t,n)}}else if(t2(e))throw Error('Cannot submit element that is not <form>, <button>, or <input type="submit|image">');else r="get",n=null,a=t4,i=e;return o&&"text/plain"===a&&(i=o,o=void 0),{action:n,method:r.toLowerCase(),encType:a,formData:o,body:i}}(n,t);if(!1===a.navigate){let t=a.fetcherKey||rD();e.fetch(t,r,a.action||o,{preventScrollReset:a.preventScrollReset,formData:s,body:u,formMethod:a.method||i,formEncType:a.encType||l,flushSync:a.flushSync})}else e.navigate(a.action||o,{preventScrollReset:a.preventScrollReset,formData:s,body:u,formMethod:a.method||i,formEncType:a.encType||l,replace:a.replace,state:a.state,fromRouteId:r,flushSync:a.flushSync,viewTransition:a.viewTransition})},[e,t,r])}function r_(e,t){let{relative:r}=void 0===t?{}:t,{basename:n}=p.useContext(e6),a=p.useContext(e8);a||E(!1);let[o]=a.matches.slice(-1),i=t1({},th(e||".",{relative:r})),l=tn();if(null==e){i.search=l.search;let e=new URLSearchParams(i.search),t=e.getAll("index");if(t.some(e=>""===e)){e.delete("index"),t.filter(e=>e).forEach(t=>e.append("index",t));let r=e.toString();i.search=r?"?"+r:""}}return(!e||"."===e)&&o.route.index&&(i.search=i.search?i.search.replace(/^\?/,"?index&"):"?index"),"/"!==n&&(i.pathname="/"===i.pathname?n:J([n,i.pathname])),C(i)}function rA(e){var t;let{key:r}=void 0===e?{}:e,{router:n}=rR(h.UseFetcher),a=rx(f.UseFetcher),o=p.useContext(ri),i=p.useContext(e8),l=null==(t=i.matches[i.matches.length-1])?void 0:t.route.id;o||E(!1),i||E(!1),null==l&&E(!1);let s=ru?ru():"",[u,c]=p.useState(r||s);r&&r!==u?c(r):u||c(rD()),p.useEffect(()=>(n.getFetcher(u),()=>{n.deleteFetcher(u)}),[n,u]);let d=p.useCallback((e,t)=>{l||E(!1),n.fetch(u,l,e,t)},[u,l,n]),m=rk(),v=p.useCallback((e,t)=>{m(e,t1({},t,{navigate:!1,fetcherKey:u}))},[u,m]),y=p.useMemo(()=>p.forwardRef((e,t)=>p.createElement(rE,t1({},e,{navigate:!1,fetcherKey:u,ref:t}))),[u]),g=a.fetchers.get(u)||ed,b=o.get(u);return p.useMemo(()=>t1({Form:y,submit:v,load:d},g,{data:b}),[y,v,d,g,b])}function rT(){return Array.from(rx(f.UseFetchers).fetchers.entries()).map(e=>{let[t,r]=e;return t1({},r,{key:t})})}let rU="react-router-scroll-positions",rj={};function rM(e){let{getKey:t,storageKey:r}=void 0===e?{}:e,{router:n}=rR(h.UseScrollRestoration),{restoreScrollPosition:a,preventScrollReset:o}=rx(f.UseScrollRestoration),{basename:i}=p.useContext(e6),l=tn(),s=tL(),u=tC();p.useEffect(()=>(window.history.scrollRestoration="manual",()=>{window.history.scrollRestoration="auto"}),[]),function(e,t){let{capture:r}={};p.useEffect(()=>{let t=null!=r?{capture:r}:void 0;return window.addEventListener("pagehide",e,t),()=>{window.removeEventListener("pagehide",e,t)}},[e,r])}(p.useCallback(()=>{"idle"===u.state&&(rj[(t?t(l,s):null)||l.key]=window.scrollY);try{sessionStorage.setItem(r||rU,JSON.stringify(rj))}catch(e){}window.history.scrollRestoration="auto"},[r,t,u.state,l,s])),"undefined"!=typeof document&&(p.useLayoutEffect(()=>{try{let e=sessionStorage.getItem(r||rU);e&&(rj=JSON.parse(e))}catch(e){}},[r]),p.useLayoutEffect(()=>{let e=t&&"/"!==i?(e,r)=>t(t1({},e,{pathname:N(e.pathname,i)||e.pathname}),r):t,r=null==n?void 0:n.enableScrollRestoration(rj,()=>window.scrollY,e);return()=>r&&r()},[n,i,t]),p.useLayoutEffect(()=>{if(!1!==a){if("number"==typeof a)return void window.scrollTo(0,a);if(l.hash){let e=document.getElementById(decodeURIComponent(l.hash.slice(1)));if(e)return void e.scrollIntoView()}!0!==o&&window.scrollTo(0,0)}},[l,a,o]))}function rO(e,t){let{capture:r}=t||{};p.useEffect(()=>{let t=null!=r?{capture:r}:void 0;return window.addEventListener("beforeunload",e,t),()=>{window.removeEventListener("beforeunload",e,t)}},[e,r])}function rF(e){let{when:t,message:r}=e,n=tM(t);p.useEffect(()=>{"blocked"===n.state&&(window.confirm(r)?setTimeout(n.proceed,0):n.reset())},[n,r]),p.useEffect(()=>{"blocked"!==n.state||t||n.reset()},[n,t])}function rN(e,t){void 0===t&&(t={});let r=p.useContext(ro);null==r&&E(!1);let{basename:n}=rR(h.useViewTransitionState),a=th(e,{relative:t.relative});if(!r.isTransitioning)return!1;let o=N(r.currentLocation.pathname,n)||r.currentLocation.pathname,i=N(r.nextLocation.pathname,n)||r.nextLocation.pathname;return null!=O(a.pathname,i)||null!=O(a.pathname,o)}}}]);
@@ -1,5 +1,5 @@
1
1
  /**
2
- * @remix-run/router v1.23.0
2
+ * @remix-run/router v1.23.2
3
3
  *
4
4
  * Copyright (c) Remix Software Inc.
5
5
  *
@@ -10,7 +10,7 @@
10
10
  */
11
11
 
12
12
  /**
13
- * React Router DOM v6.30.0
13
+ * React Router DOM v6.30.3
14
14
  *
15
15
  * Copyright (c) Remix Software Inc.
16
16
  *
@@ -21,7 +21,7 @@
21
21
  */
22
22
 
23
23
  /**
24
- * React Router v6.30.0
24
+ * React Router v6.30.3
25
25
  *
26
26
  * Copyright (c) Remix Software Inc.
27
27
  *
@@ -0,0 +1,2 @@
1
+ /*! For license information please see 7576.4a8d8b90.js.LICENSE.txt */
2
+ "use strict";(self.chunk_VictoriaLogs=self.chunk_VictoriaLogs||[]).push([["7576"],{92890:function(e,t,r){r.d(t,{A:()=>T});var n=r(70451),i=r(11750),a=r(81023),o=r(54553),l=r(24726),s=r(10972),u=r(96313),c=r(11502),f=r(29009),d=r(46733);function p(e){return(0,d.Ay)("MuiDialog",e)}let m=(0,f.A)("MuiDialog",["root","scrollPaper","scrollBody","container","paper","paperScrollPaper","paperScrollBody","paperWidthFalse","paperWidthXs","paperWidthSm","paperWidthMd","paperWidthLg","paperWidthXl","paperFullWidth","paperFullScreen"]);var g=r(37042),h=r(32309),b=r(77308),y=r(56599),v=r(23434),x=r(72052),w=r(73397),A=r(62540);let $=(0,b.A)(h.A,{name:"MuiDialog",slot:"Backdrop",overrides:(e,t)=>t.backdrop})({zIndex:-1}),B=(0,b.A)(s.A,{name:"MuiDialog",slot:"Root",overridesResolver:(e,t)=>t.root})({"@media print":{position:"absolute !important"}}),S=(0,b.A)("div",{name:"MuiDialog",slot:"Container",overridesResolver:(e,t)=>{let{ownerState:r}=e;return[t.container,t[`scroll${(0,l.A)(r.scroll)}`]]}})({height:"100%","@media print":{height:"auto"},outline:0,variants:[{props:{scroll:"paper"},style:{display:"flex",justifyContent:"center",alignItems:"center"}},{props:{scroll:"body"},style:{overflowY:"auto",overflowX:"hidden",textAlign:"center","&::after":{content:'""',display:"inline-block",verticalAlign:"middle",height:"100%",width:"0"}}}]}),D=(0,b.A)(c.A,{name:"MuiDialog",slot:"Paper",overridesResolver:(e,t)=>{let{ownerState:r}=e;return[t.paper,t[`scrollPaper${(0,l.A)(r.scroll)}`],t[`paperWidth${(0,l.A)(String(r.maxWidth))}`],r.fullWidth&&t.paperFullWidth,r.fullScreen&&t.paperFullScreen]}})((0,v.A)(({theme:e})=>({margin:32,position:"relative",overflowY:"auto","@media print":{overflowY:"visible",boxShadow:"none"},variants:[{props:{scroll:"paper"},style:{display:"flex",flexDirection:"column",maxHeight:"calc(100% - 64px)"}},{props:{scroll:"body"},style:{display:"inline-block",verticalAlign:"middle",textAlign:"initial"}},{props:({ownerState:e})=>!e.maxWidth,style:{maxWidth:"calc(100% - 64px)"}},{props:{maxWidth:"xs"},style:{maxWidth:"px"===e.breakpoints.unit?Math.max(e.breakpoints.values.xs,444):`max(${e.breakpoints.values.xs}${e.breakpoints.unit}, 444px)`,[`&.${m.paperScrollBody}`]:{[e.breakpoints.down(Math.max(e.breakpoints.values.xs,444)+64)]:{maxWidth:"calc(100% - 64px)"}}}},...Object.keys(e.breakpoints.values).filter(e=>"xs"!==e).map(t=>({props:{maxWidth:t},style:{maxWidth:`${e.breakpoints.values[t]}${e.breakpoints.unit}`,[`&.${m.paperScrollBody}`]:{[e.breakpoints.down(e.breakpoints.values[t]+64)]:{maxWidth:"calc(100% - 64px)"}}}})),{props:({ownerState:e})=>e.fullWidth,style:{width:"calc(100% - 64px)"}},{props:({ownerState:e})=>e.fullScreen,style:{margin:0,width:"100%",maxWidth:"100%",height:"100%",maxHeight:"none",borderRadius:0,[`&.${m.paperScrollBody}`]:{margin:0,maxWidth:"100%"}}}]}))),T=n.forwardRef(function(e,t){let r=(0,x.b)({props:e,name:"MuiDialog"}),s=(0,y.A)(),f={enter:s.transitions.duration.enteringScreen,exit:s.transitions.duration.leavingScreen},{"aria-describedby":d,"aria-labelledby":m,"aria-modal":h=!0,BackdropComponent:b,BackdropProps:v,children:T,className:O,disableEscapeKeyDown:N=!1,fullScreen:M=!1,fullWidth:k=!1,maxWidth:C="sm",onBackdropClick:F,onClick:R,onClose:L,open:E,PaperComponent:P=c.A,PaperProps:I={},scroll:U="paper",slots:_={},slotProps:j={},TransitionComponent:W=u.A,transitionDuration:G=f,TransitionProps:V,...z}=r,Z={...r,disableEscapeKeyDown:N,fullScreen:M,fullWidth:k,maxWidth:C,scroll:U},q=(e=>{let{classes:t,scroll:r,maxWidth:n,fullWidth:i,fullScreen:o}=e,s={root:["root"],container:["container",`scroll${(0,l.A)(r)}`],paper:["paper",`paperScroll${(0,l.A)(r)}`,`paperWidth${(0,l.A)(String(n))}`,i&&"paperFullWidth",o&&"paperFullScreen"]};return(0,a.A)(s,p,t)})(Z),K=n.useRef(),Y=(0,o.A)(m),H=n.useMemo(()=>({titleId:Y}),[Y]),X={slots:{transition:W,..._},slotProps:{transition:V,paper:I,backdrop:v,...j}},[J,Q]=(0,w.A)("root",{elementType:B,shouldForwardComponentProp:!0,externalForwardedProps:X,ownerState:Z,className:(0,i.A)(q.root,O),ref:t}),[ee,et]=(0,w.A)("backdrop",{elementType:$,shouldForwardComponentProp:!0,externalForwardedProps:X,ownerState:Z}),[er,en]=(0,w.A)("paper",{elementType:D,shouldForwardComponentProp:!0,externalForwardedProps:X,ownerState:Z,className:(0,i.A)(q.paper,I.className)}),[ei,ea]=(0,w.A)("container",{elementType:S,externalForwardedProps:X,ownerState:Z,className:(0,i.A)(q.container)}),[eo,el]=(0,w.A)("transition",{elementType:u.A,externalForwardedProps:X,ownerState:Z,additionalProps:{appear:!0,in:E,timeout:G,role:"presentation"}});return(0,A.jsx)(J,{closeAfterTransition:!0,slots:{backdrop:ee},slotProps:{backdrop:{transitionDuration:G,as:b,...et}},disableEscapeKeyDown:N,onClose:L,open:E,onClick:e=>{R&&R(e),K.current&&(K.current=null,F&&F(e),L&&L(e,"backdropClick"))},...Q,...z,children:(0,A.jsx)(eo,{...el,children:(0,A.jsx)(ei,{onMouseDown:e=>{K.current=e.target===e.currentTarget},...ea,children:(0,A.jsx)(er,{as:P,elevation:24,role:"dialog","aria-describedby":d,"aria-labelledby":Y,"aria-modal":h,...en,children:(0,A.jsx)(g.A.Provider,{value:H,children:T})})})})})})},37042:function(e,t,r){r.d(t,{A:()=>n});let n=r(70451).createContext({})},39750:function(e,t,r){r.d(t,{A:()=>p});var n=r(70451),i=r(11750),a=r(81023),o=r(77308),l=r(72052),s=r(29009),u=r(46733);function c(e){return(0,u.Ay)("MuiDialogActions",e)}(0,s.A)("MuiDialogActions",["root","spacing"]);var f=r(62540);let d=(0,o.A)("div",{name:"MuiDialogActions",slot:"Root",overridesResolver:(e,t)=>{let{ownerState:r}=e;return[t.root,!r.disableSpacing&&t.spacing]}})({display:"flex",alignItems:"center",padding:8,justifyContent:"flex-end",flex:"0 0 auto",variants:[{props:({ownerState:e})=>!e.disableSpacing,style:{"& > :not(style) ~ :not(style)":{marginLeft:8}}}]}),p=n.forwardRef(function(e,t){let r=(0,l.b)({props:e,name:"MuiDialogActions"}),{className:n,disableSpacing:o=!1,...s}=r,u={...r,disableSpacing:o},p=(e=>{let{classes:t,disableSpacing:r}=e;return(0,a.A)({root:["root",!r&&"spacing"]},c,t)})(u);return(0,f.jsx)(d,{className:(0,i.A)(p.root,n),ownerState:u,ref:t,...s})})},66834:function(e,t,r){r.d(t,{A:()=>g});var n=r(70451),i=r(11750),a=r(81023),o=r(77308),l=r(23434),s=r(72052),u=r(29009),c=r(46733);function f(e){return(0,c.Ay)("MuiDialogContent",e)}(0,u.A)("MuiDialogContent",["root","dividers"]);var d=r(36831),p=r(62540);let m=(0,o.A)("div",{name:"MuiDialogContent",slot:"Root",overridesResolver:(e,t)=>{let{ownerState:r}=e;return[t.root,r.dividers&&t.dividers]}})((0,l.A)(({theme:e})=>({flex:"1 1 auto",WebkitOverflowScrolling:"touch",overflowY:"auto",padding:"20px 24px",variants:[{props:({ownerState:e})=>e.dividers,style:{padding:"16px 24px",borderTop:`1px solid ${(e.vars||e).palette.divider}`,borderBottom:`1px solid ${(e.vars||e).palette.divider}`}},{props:({ownerState:e})=>!e.dividers,style:{[`.${d.A.root} + &`]:{paddingTop:0}}}]}))),g=n.forwardRef(function(e,t){let r=(0,s.b)({props:e,name:"MuiDialogContent"}),{className:n,dividers:o=!1,...l}=r,u={...r,dividers:o},c=(e=>{let{classes:t,dividers:r}=e;return(0,a.A)({root:["root",r&&"dividers"]},f,t)})(u);return(0,p.jsx)(m,{className:(0,i.A)(c.root,n),ownerState:u,ref:t,...l})})},91467:function(e,t,r){r.d(t,{A:()=>p});var n=r(70451),i=r(11750),a=r(81023),o=r(88091),l=r(77308),s=r(72052),u=r(36831),c=r(37042),f=r(62540);let d=(0,l.A)(o.A,{name:"MuiDialogTitle",slot:"Root",overridesResolver:(e,t)=>t.root})({padding:"16px 24px",flex:"0 0 auto"}),p=n.forwardRef(function(e,t){let r=(0,s.b)({props:e,name:"MuiDialogTitle"}),{className:o,id:l,...p}=r,m=(e=>{let{classes:t}=e;return(0,a.A)({root:["root"]},u.t,t)})(r),{titleId:g=l}=n.useContext(c.A);return(0,f.jsx)(d,{component:"h2",className:(0,i.A)(m.root,o),ownerState:r,ref:t,variant:"h6",id:l??g,...p})})},36831:function(e,t,r){r.d(t,{A:()=>o,t:()=>a});var n=r(29009),i=r(46733);function a(e){return(0,i.Ay)("MuiDialogTitle",e)}let o=(0,n.A)("MuiDialogTitle",["root"])},14045:function(e,t,r){r.d(t,{A:()=>g});var n=r(70451),i=r(11750),a=r(81023),o=r(47599),l=r(88091),s=r(67214),u=r(77308),c=r(72052),f=r(85397),d=r(73397),p=r(62540);let m=(0,u.A)("div",{name:"MuiListItemText",slot:"Root",overridesResolver:(e,t)=>{let{ownerState:r}=e;return[{[`& .${f.A.primary}`]:t.primary},{[`& .${f.A.secondary}`]:t.secondary},t.root,r.inset&&t.inset,r.primary&&r.secondary&&t.multiline,r.dense&&t.dense]}})({flex:"1 1 auto",minWidth:0,marginTop:4,marginBottom:4,[`.${o.A.root}:where(& .${f.A.primary})`]:{display:"block"},[`.${o.A.root}:where(& .${f.A.secondary})`]:{display:"block"},variants:[{props:({ownerState:e})=>e.primary&&e.secondary,style:{marginTop:6,marginBottom:6}},{props:({ownerState:e})=>e.inset,style:{paddingLeft:56}}]}),g=n.forwardRef(function(e,t){let r=(0,c.b)({props:e,name:"MuiListItemText"}),{children:o,className:u,disableTypography:g=!1,inset:h=!1,primary:b,primaryTypographyProps:y,secondary:v,secondaryTypographyProps:x,slots:w={},slotProps:A={},...$}=r,{dense:B}=n.useContext(s.A),S=null!=b?b:o,D=v,T={...r,disableTypography:g,inset:h,primary:!!S,secondary:!!D,dense:B},O=(e=>{let{classes:t,inset:r,primary:n,secondary:i,dense:o}=e;return(0,a.A)({root:["root",r&&"inset",o&&"dense",n&&i&&"multiline"],primary:["primary"],secondary:["secondary"]},f.b,t)})(T),N={slots:w,slotProps:{primary:y,secondary:x,...A}},[M,k]=(0,d.A)("root",{className:(0,i.A)(O.root,u),elementType:m,externalForwardedProps:{...N,...$},ownerState:T,ref:t}),[C,F]=(0,d.A)("primary",{className:O.primary,elementType:l.A,externalForwardedProps:N,ownerState:T}),[R,L]=(0,d.A)("secondary",{className:O.secondary,elementType:l.A,externalForwardedProps:N,ownerState:T});return null==S||S.type===l.A||g||(S=(0,p.jsx)(C,{variant:B?"body2":"body1",component:F?.variant?void 0:"span",...F,children:S})),null==D||D.type===l.A||g||(D=(0,p.jsx)(R,{variant:"body2",color:"textSecondary",...L,children:D})),(0,p.jsxs)(M,{...k,children:[S,D]})})},31729:function(e,t,r){r.d(t,{A:()=>v});var n=r(70451),i=r(11750),a=r(52215),o=r(81023),l=r(59238),s=r(1337),u=r(24726),c=r(77308),f=r(23434),d=r(26952),p=r(72052),m=r(76145),g=r(40180),h=r(4992),b=r(62540);let y=(0,c.A)(s.A,{name:"MuiToggleButton",slot:"Root",overridesResolver:(e,t)=>{let{ownerState:r}=e;return[t.root,t[`size${(0,u.A)(r.size)}`]]}})((0,f.A)(({theme:e})=>({...e.typography.button,borderRadius:(e.vars||e).shape.borderRadius,padding:11,border:`1px solid ${(e.vars||e).palette.divider}`,color:(e.vars||e).palette.action.active,[`&.${m.A.disabled}`]:{color:(e.vars||e).palette.action.disabled,border:`1px solid ${(e.vars||e).palette.action.disabledBackground}`},"&:hover":{textDecoration:"none",backgroundColor:e.vars?`rgba(${e.vars.palette.text.primaryChannel} / ${e.vars.palette.action.hoverOpacity})`:(0,l.X4)(e.palette.text.primary,e.palette.action.hoverOpacity),"@media (hover: none)":{backgroundColor:"transparent"}},variants:[{props:{color:"standard"},style:{[`&.${m.A.selected}`]:{color:(e.vars||e).palette.text.primary,backgroundColor:e.vars?`rgba(${e.vars.palette.text.primaryChannel} / ${e.vars.palette.action.selectedOpacity})`:(0,l.X4)(e.palette.text.primary,e.palette.action.selectedOpacity),"&:hover":{backgroundColor:e.vars?`rgba(${e.vars.palette.text.primaryChannel} / calc(${e.vars.palette.action.selectedOpacity} + ${e.vars.palette.action.hoverOpacity}))`:(0,l.X4)(e.palette.text.primary,e.palette.action.selectedOpacity+e.palette.action.hoverOpacity),"@media (hover: none)":{backgroundColor:e.vars?`rgba(${e.vars.palette.text.primaryChannel} / ${e.vars.palette.action.selectedOpacity})`:(0,l.X4)(e.palette.text.primary,e.palette.action.selectedOpacity)}}}}},...Object.entries(e.palette).filter((0,d.A)()).map(([t])=>({props:{color:t},style:{[`&.${m.A.selected}`]:{color:(e.vars||e).palette[t].main,backgroundColor:e.vars?`rgba(${e.vars.palette[t].mainChannel} / ${e.vars.palette.action.selectedOpacity})`:(0,l.X4)(e.palette[t].main,e.palette.action.selectedOpacity),"&:hover":{backgroundColor:e.vars?`rgba(${e.vars.palette[t].mainChannel} / calc(${e.vars.palette.action.selectedOpacity} + ${e.vars.palette.action.hoverOpacity}))`:(0,l.X4)(e.palette[t].main,e.palette.action.selectedOpacity+e.palette.action.hoverOpacity),"@media (hover: none)":{backgroundColor:e.vars?`rgba(${e.vars.palette[t].mainChannel} / ${e.vars.palette.action.selectedOpacity})`:(0,l.X4)(e.palette[t].main,e.palette.action.selectedOpacity)}}}}})),{props:{fullWidth:!0},style:{width:"100%"}},{props:{size:"small"},style:{padding:7,fontSize:e.typography.pxToRem(13)}},{props:{size:"large"},style:{padding:15,fontSize:e.typography.pxToRem(15)}}]}))),v=n.forwardRef(function(e,t){var r;let{value:l,...s}=n.useContext(g.A),c=n.useContext(h.A),f=(0,a.A)({...s,selected:(r=e.value,void 0!==l&&void 0!==r&&(Array.isArray(l)?l.includes(r):r===l))},e),d=(0,p.b)({props:f,name:"MuiToggleButton"}),{children:v,className:x,color:w="standard",disabled:A=!1,disableFocusRipple:$=!1,fullWidth:B=!1,onChange:S,onClick:D,selected:T,size:O="medium",value:N,...M}=d,k={...d,color:w,disabled:A,disableFocusRipple:$,fullWidth:B,size:O},C=(e=>{let{classes:t,fullWidth:r,selected:n,disabled:i,size:a,color:l}=e,s={root:["root",n&&"selected",i&&"disabled",r&&"fullWidth",`size${(0,u.A)(a)}`,l]};return(0,o.A)(s,m.J,t)})(k);return(0,b.jsx)(y,{className:(0,i.A)(s.className,C.root,x,c||""),disabled:A,focusRipple:!$,ref:t,onClick:e=>{D&&(D(e,N),e.defaultPrevented)||S&&S(e,N)},onChange:S,value:N,ownerState:k,"aria-pressed":T,...M,children:v})})},76145:function(e,t,r){r.d(t,{A:()=>o,J:()=>a});var n=r(29009),i=r(46733);function a(e){return(0,i.Ay)("MuiToggleButton",e)}let o=(0,n.A)("MuiToggleButton",["root","disabled","selected","standard","primary","secondary","sizeSmall","sizeMedium","sizeLarge","fullWidth"])},61375:function(e,t,r){r.d(t,{A:()=>x});var n=r(70451),i=r(11750),a=r(81023),o=r(41953),l=r(77308),s=r(23434),u=r(72052),c=r(24726),f=r(29009),d=r(46733);function p(e){return(0,d.Ay)("MuiToggleButtonGroup",e)}let m=(0,f.A)("MuiToggleButtonGroup",["root","selected","horizontal","vertical","disabled","grouped","groupedHorizontal","groupedVertical","fullWidth","firstButton","lastButton","middleButton"]);var g=r(40180),h=r(4992),b=r(76145),y=r(62540);let v=(0,l.A)("div",{name:"MuiToggleButtonGroup",slot:"Root",overridesResolver:(e,t)=>{let{ownerState:r}=e;return[{[`& .${m.grouped}`]:t.grouped},{[`& .${m.grouped}`]:t[`grouped${(0,c.A)(r.orientation)}`]},{[`& .${m.firstButton}`]:t.firstButton},{[`& .${m.lastButton}`]:t.lastButton},{[`& .${m.middleButton}`]:t.middleButton},t.root,"vertical"===r.orientation&&t.vertical,r.fullWidth&&t.fullWidth]}})((0,s.A)(({theme:e})=>({display:"inline-flex",borderRadius:(e.vars||e).shape.borderRadius,variants:[{props:{orientation:"vertical"},style:{flexDirection:"column",[`& .${m.grouped}`]:{[`&.${m.selected} + .${m.grouped}.${m.selected}`]:{borderTop:0,marginTop:0}},[`& .${m.firstButton},& .${m.middleButton}`]:{borderBottomLeftRadius:0,borderBottomRightRadius:0},[`& .${m.lastButton},& .${m.middleButton}`]:{marginTop:-1,borderTop:"1px solid transparent",borderTopLeftRadius:0,borderTopRightRadius:0},[`& .${m.lastButton}.${b.A.disabled},& .${m.middleButton}.${b.A.disabled}`]:{borderTop:"1px solid transparent"}}},{props:{fullWidth:!0},style:{width:"100%"}},{props:{orientation:"horizontal"},style:{[`& .${m.grouped}`]:{[`&.${m.selected} + .${m.grouped}.${m.selected}`]:{borderLeft:0,marginLeft:0}},[`& .${m.firstButton},& .${m.middleButton}`]:{borderTopRightRadius:0,borderBottomRightRadius:0},[`& .${m.lastButton},& .${m.middleButton}`]:{marginLeft:-1,borderLeft:"1px solid transparent",borderTopLeftRadius:0,borderBottomLeftRadius:0},[`& .${m.lastButton}.${b.A.disabled},& .${m.middleButton}.${b.A.disabled}`]:{borderLeft:"1px solid transparent"}}}]}))),x=n.forwardRef(function(e,t){let r=(0,u.b)({props:e,name:"MuiToggleButtonGroup"}),{children:l,className:s,color:f="standard",disabled:d=!1,exclusive:m=!1,fullWidth:b=!1,onChange:x,orientation:w="horizontal",size:A="medium",value:$,...B}=r,S={...r,disabled:d,fullWidth:b,orientation:w,size:A},D=(e=>{let{classes:t,orientation:r,fullWidth:n,disabled:i}=e,o={root:["root",r,n&&"fullWidth"],grouped:["grouped",`grouped${(0,c.A)(r)}`,i&&"disabled"],firstButton:["firstButton"],lastButton:["lastButton"],middleButton:["middleButton"]};return(0,a.A)(o,p,t)})(S),T=n.useCallback((e,t)=>{let r;if(!x)return;let n=$&&$.indexOf(t);$&&n>=0?(r=$.slice()).splice(n,1):r=$?$.concat(t):[t],x(e,r)},[x,$]),O=n.useCallback((e,t)=>{x&&x(e,$===t?null:t)},[x,$]),N=n.useMemo(()=>({className:D.grouped,onChange:m?O:T,value:$,size:A,fullWidth:b,color:f,disabled:d}),[D.grouped,m,O,T,$,A,b,f,d]),M=(0,o.A)(l),k=M.length;return(0,y.jsx)(v,{role:"group",className:(0,i.A)(D.root,s),ref:t,ownerState:S,...B,children:(0,y.jsx)(g.A.Provider,{value:N,children:M.map((e,t)=>{let r,n;return(0,y.jsx)(h.A.Provider,{value:(r=0===t,n=t===k-1,r&&n?"":r?D.firstButton:n?D.lastButton:D.middleButton),children:e},t)})})})})},4992:function(e,t,r){r.d(t,{A:()=>n});let n=r(70451).createContext(void 0)},40180:function(e,t,r){r.d(t,{A:()=>n});let n=r(70451).createContext({})},41953:function(e,t,r){r.d(t,{A:()=>i});var n=r(70451);function i(e){return n.Children.toArray(e).filter(e=>n.isValidElement(e))}},3967:function(e,t,r){r.d(t,{DY:()=>l,Dk:()=>o,G2:()=>i,JW:()=>c,M8:()=>a,VE:()=>s,lh:()=>d,nV:()=>f,qw:()=>n,yf:()=>u});let n=["bottom","right"],i=["list","table"],a=["small","medium"];function o(e){return n.includes(e)}function l(e){return i.includes(e)}function s(e){return a.includes(e)}let u={position:"bottom",mode:"list",size:"medium"};function c(e){return void 0===e?u.position:o(e)?e:u.position}function f(e){return e&&l(e)?e:u.mode}function d(e){return e&&s(e)?e:u.size}},3627:function(e,t,r){r.d(t,{L:()=>n});let n={JoinByColumnValue:"Join by column value",MergeColumns:"Merge columns",MergeIndexedColumns:"Merge indexed columns",MergeSeries:"Merge series",ExtractColumnFields:"Extract column fields"}},12826:function(e,t,r){r.d(t,{T6:()=>eb,W5:()=>ec,x9:()=>ey,AC:()=>en,Fl:()=>ei,Se:()=>eo,px:()=>ed,GU:()=>eu,i$:()=>ep,j9:()=>em,fZ:()=>eg,Yf:()=>eh,KN:()=>es,w0:()=>er,oy:()=>ef,r_:()=>ea,CB:()=>el});var n,i,a,o,l,s,u,c,f,d="undefined"!=typeof globalThis?globalThis:"undefined"!=typeof window?window:void 0!==r.g?r.g:"undefined"!=typeof self?self:{};function p(){if(l)return o;l=1;let e=[{key:"ZiB",factor:11805916207174113e5},{key:"ZB",factor:1e21},{key:"YiB",factor:12089258196146292e8},{key:"YB",factor:1e24},{key:"TiB",factor:0x10000000000},{key:"TB",factor:1e12},{key:"PiB",factor:0x4000000000000},{key:"PB",factor:1e15},{key:"MiB",factor:1048576},{key:"MB",factor:1e6},{key:"KiB",factor:1024},{key:"KB",factor:1e3},{key:"GiB",factor:0x40000000},{key:"GB",factor:1e9},{key:"EiB",factor:0x1000000000000000},{key:"EB",factor:1e18},{key:"B",factor:1}];function t(e){return e.replace(/[-/\\^$*+?.()|[\]{}]/g,"\\$&")}return o={unformat:function(r,n){let i,a=h(),o=a.currentDelimiters(),l=a.currentCurrency().symbol,s=a.currentOrdinal(),u=a.getZeroFormat(),c=a.currentAbbreviations();if("string"==typeof r)if(function(e,t){if(!(e.indexOf(":")&&":"!==t.thousands))return!1;let r=e.split(":");if(3!==r.length)return!1;let n=+r[0],i=+r[1],a=+r[2];return!isNaN(n)&&!isNaN(i)&&!isNaN(a)}(r,o)){let e,t,n;t=+(e=r.split(":"))[0],n=+e[1],i=+e[2]+60*n+3600*t}else i=function(r,n,i="",a,o,l,s){if(""!==r)return r===o?0:function r(n,i,a,o,l,s,u){if(!isNaN(+n))return+n;let c="",f=n.replace(/(^[^(]*)\((.*)\)([^)]*$)/,"$1$2$3");if(f!==n)return -1*r(f,i,a,o,l,s);for(let t=0;t<e.length;t++){let u=e[t];if((c=n.replace(RegExp(`([0-9 ])(${u.key})$`),"$1"))!==n)return r(c,i,a,o,l,s)*u.factor}if((c=n.replace("%",""))!==n)return r(c,i,a,o,l,s)/100;let d=parseFloat(n);if(isNaN(d))return;let p=o(d);if(p&&"."!==p&&(c=n.replace(RegExp(`${t(p)}$`),""))!==n)return r(c,i,a,o,l,s);let m={};Object.keys(s).forEach(e=>{m[s[e]]=e});let g=Object.keys(m).sort().reverse(),h=g.length;for(let e=0;e<h;e++){let t=g[e],u=m[t];if((c=n.replace(t,""))!==n){let e;switch(u){case"thousand":e=1e3;break;case"million":e=1e6;break;case"billion":e=1e9;break;case"trillion":e=1e12}return r(c,i,a,o,l,s)*e}}}(r.replace(i,"").replace(RegExp(`([0-9])${t(n.thousands)}([0-9])`,"g"),"$1$2").replace(n.decimal,"."),n,i,a,o,l)}(r,o,l,s,u,c);else{if("number"!=typeof r)return;i=r}if(void 0!==i)return i}}}function m(){if(u)return s;u=1;let e=p(),t=/^[a-z]{2,3}(-[a-zA-Z]{4})?(-([A-Z]{2}|[0-9]{3}))?$/,r={output:{type:"string",validValues:["currency","percent","byte","time","ordinal","number"]},base:{type:"string",validValues:["decimal","binary","general"],restriction:(e,t)=>"byte"===t.output,message:"`base` must be provided only when the output is `byte`",mandatory:e=>"byte"===e.output},characteristic:{type:"number",restriction:e=>e>=0,message:"value must be positive"},prefix:"string",postfix:"string",forceAverage:{type:"string",validValues:["trillion","billion","million","thousand"]},average:"boolean",lowPrecision:{type:"boolean",restriction:(e,t)=>!0===t.average,message:"`lowPrecision` must be provided only when the option `average` is set"},currencyPosition:{type:"string",validValues:["prefix","infix","postfix"]},currencySymbol:"string",totalLength:{type:"number",restrictions:[{restriction:e=>e>=0,message:"value must be positive"},{restriction:(e,t)=>!t.exponential,message:"`totalLength` is incompatible with `exponential`"}]},mantissa:{type:"number",restriction:e=>e>=0,message:"value must be positive"},optionalMantissa:"boolean",trimMantissa:"boolean",roundingFunction:"function",optionalCharacteristic:"boolean",thousandSeparated:"boolean",spaceSeparated:"boolean",spaceSeparatedCurrency:"boolean",spaceSeparatedAbbreviation:"boolean",abbreviations:{type:"object",children:{thousand:"string",million:"string",billion:"string",trillion:"string"}},negative:{type:"string",validValues:["sign","parenthesis"]},forceSign:"boolean",exponential:{type:"boolean"},prefixSymbol:{type:"boolean",restriction:(e,t)=>"percent"===t.output,message:"`prefixSymbol` can be provided only when the output is `percent`"}},n={languageTag:{type:"string",mandatory:!0,restriction:e=>e.match(t),message:"the language tag must follow the BCP 47 specification (see https://tools.ieft.org/html/bcp47)"},delimiters:{type:"object",children:{thousands:"string",decimal:"string",thousandsSize:"number"},mandatory:!0},abbreviations:{type:"object",children:{thousand:{type:"string",mandatory:!0},million:{type:"string",mandatory:!0},billion:{type:"string",mandatory:!0},trillion:{type:"string",mandatory:!0}},mandatory:!0},spaceSeparated:"boolean",spaceSeparatedCurrency:"boolean",ordinal:{type:"function",mandatory:!0},bytes:{type:"object",children:{binarySuffixes:"object",decimalSuffixes:"object"}},currency:{type:"object",children:{symbol:"string",position:"string",code:"string"},mandatory:!0},defaults:"format",ordinalFormat:"format",byteFormat:"format",percentageFormat:"format",currencyFormat:"format",timeDefaults:"format",formats:{type:"object",children:{fourDigits:{type:"format",mandatory:!0},fullWithTwoDecimals:{type:"format",mandatory:!0},fullWithTwoDecimalsNoCurrency:{type:"format",mandatory:!0},fullWithNoDecimals:{type:"format",mandatory:!0}}}};function i(t){return void 0!==e.unformat(t)}function a(e,t,n,i=!1){let o=Object.keys(e).map(i=>{if(!t[i])return console.error(`${n} Invalid key: ${i}`),!1;let o=e[i],l=t[i];if("string"==typeof l&&(l={type:l}),"format"===l.type){if(!a(o,r,`[Validate ${i}]`,!0))return!1}else if(typeof o!==l.type)return console.error(`${n} ${i} type mismatched: "${l.type}" expected, "${typeof o}" provided`),!1;if(l.restrictions&&l.restrictions.length){let t=l.restrictions.length;for(let r=0;r<t;r++){let{restriction:t,message:a}=l.restrictions[r];if(!t(o,e))return console.error(`${n} ${i} invalid value: ${a}`),!1}}return l.restriction&&!l.restriction(o,e)?(console.error(`${n} ${i} invalid value: ${l.message}`),!1):l.validValues&&-1===l.validValues.indexOf(o)?(console.error(`${n} ${i} invalid value: must be among ${JSON.stringify(l.validValues)}, "${o}" provided`),!1):(!l.children||!!a(o,l.children,`[Validate ${i}]`))&&!0});return i||o.push(...Object.keys(t).map(r=>{let i=t[r];if("string"==typeof i&&(i={type:i}),i.mandatory){let t=i.mandatory;if("function"==typeof t&&(t=t(e)),t&&void 0===e[r])return console.error(`${n} Missing mandatory key "${r}"`),!1}return!0})),o.reduce((e,t)=>e&&t,!0)}function o(e){return a(e,r,"[Validate format]")}return s={validate:function(e,t){let r=i(e),n=o(t);return r&&n},validateFormat:o,validateInput:i,validateLanguage:function(e){return a(e,n,"[Validate language]")}}}var g=function(e,t={}){var r,n,i,a,o,l;let s,u,c,f,d;if("string"!=typeof e)return e;n=e=(s=(r=e).match(/^{([^}]*)}/))?(t.prefix=s[1],r.slice(s[0].length)):r,function(e,t){if(-1!==e.indexOf("$")){t.output="currency";return}if(-1!==e.indexOf("%")){t.output="percent";return}if(-1!==e.indexOf("bd")){t.output="byte",t.base="general";return}if(-1!==e.indexOf("b")){t.output="byte",t.base="binary";return}if(-1!==e.indexOf("d")){t.output="byte",t.base="decimal";return}if(-1!==e.indexOf(":")){t.output="time";return}-1!==e.indexOf("o")&&(t.output="ordinal")}(e=(u=n.match(/{([^}]*)}$/))?(t.postfix=u[1],n.slice(0,-u[0].length)):n,t),(c=e.match(/[1-9]+[0-9]*/))&&(t.totalLength=+c[0]),(f=e.split(".")[0].match(/0+/))&&(t.characteristic=f[0].length),-1!==(i=e).indexOf(".")&&(t.optionalCharacteristic=-1===i.split(".")[0].indexOf("0")),-1!==e.indexOf("a")&&(t.average=!0),-1!==(a=e).indexOf("K")?t.forceAverage="thousand":-1!==a.indexOf("M")?t.forceAverage="million":-1!==a.indexOf("B")?t.forceAverage="billion":-1!==a.indexOf("T")&&(t.forceAverage="trillion");let p=e.split(".")[1];if(p){let e=p.match(/0+/);e&&(t.mantissa=e[0].length)}return(o=e).match(/\[\.]/)?t.optionalMantissa=!0:o.match(/\./)&&(t.optionalMantissa=!1),(d=e.split(".")[1])&&(t.trimMantissa=-1!==d.indexOf("[")),-1!==e.indexOf(",")&&(t.thousandSeparated=!0),-1!==e.indexOf(" ")&&(t.spaceSeparated=!0,t.spaceSeparatedCurrency=!0,(t.average||t.forceAverage)&&(t.spaceSeparatedAbbreviation=!0)),(l=e).match(/^\+?\([^)]*\)$/)&&(t.negative="parenthesis"),l.match(/^\+?-/)&&(t.negative="sign"),e.match(/^\+/)&&(t.forceSign=!0),t};function h(){let e;if(f)return c;f=1;let t=a?i:(a=1,i={languageTag:"en-US",delimiters:{thousands:",",decimal:"."},abbreviations:{thousand:"k",million:"m",billion:"b",trillion:"t"},spaceSeparated:!1,ordinal:function(e){let t=e%10;return 1==~~(e%100/10)?"th":1===t?"st":2===t?"nd":3===t?"rd":"th"},bytes:{binarySuffixes:["B","KiB","MiB","GiB","TiB","PiB","EiB","ZiB","YiB"],decimalSuffixes:["B","KB","MB","GB","TB","PB","EB","ZB","YB"]},currency:{symbol:"$",position:"prefix",code:"USD"},currencyFormat:{thousandSeparated:!0,totalLength:4,spaceSeparated:!0,spaceSeparatedCurrency:!0},formats:{fourDigits:{totalLength:4,spaceSeparated:!0},fullWithTwoDecimals:{output:"currency",thousandSeparated:!0,mantissa:2},fullWithTwoDecimalsNoCurrency:{thousandSeparated:!0,mantissa:2},fullWithNoDecimals:{output:"currency",thousandSeparated:!0,mantissa:0}}}),r=m(),n={},o={},l=null,s={};function u(){return o[e]}return n.languages=()=>Object.assign({},o),n.currentLanguage=()=>e,n.currentBytes=()=>u().bytes||{},n.currentCurrency=()=>u().currency,n.currentAbbreviations=()=>u().abbreviations,n.currentDelimiters=()=>u().delimiters,n.currentOrdinal=()=>u().ordinal,n.currentDefaults=()=>Object.assign({},u().defaults,s),n.currentOrdinalDefaultFormat=()=>Object.assign({},n.currentDefaults(),u().ordinalFormat),n.currentByteDefaultFormat=()=>Object.assign({},n.currentDefaults(),u().byteFormat),n.currentPercentageDefaultFormat=()=>Object.assign({},n.currentDefaults(),u().percentageFormat),n.currentCurrencyDefaultFormat=()=>Object.assign({},n.currentDefaults(),u().currencyFormat),n.currentTimeDefaultFormat=()=>Object.assign({},n.currentDefaults(),u().timeFormat),n.setDefaults=e=>{e=g(e),r.validateFormat(e)&&(s=e)},n.getZeroFormat=()=>l,n.setZeroFormat=e=>l="string"==typeof e?e:null,n.hasZeroFormat=()=>null!==l,n.languageData=e=>{if(e){if(o[e])return o[e];throw Error(`Unknown tag "${e}"`)}return u()},n.registerLanguage=(t,n=!1)=>{if(!r.validateLanguage(t))throw Error("Invalid language data");o[t.languageTag]=t,n&&(e=t.languageTag)},n.setLanguage=(r,n=t.languageTag)=>{if(!o[r]){let t=r.split("-")[0],i=Object.keys(o).find(e=>e.split("-")[0]===t);return o[i]?void(e=i):void(e=n)}e=r},n.registerLanguage(t),e=t.languageTag,c=n}var b={exports:{}};(function(e){var t,r=/^-?(?:\d+(?:\.\d*)?|\.\d+)(?:e[+-]?\d+)?$/i,n=Math.ceil,i=Math.floor,a="[BigNumber Error] ",o=a+"Number primitive has more than 15 significant digits: ",l=[1,10,100,1e3,1e4,1e5,1e6,1e7,1e8,1e9,1e10,1e11,1e12,1e13];function s(e){var t=0|e;return e>0||e===t?t:t-1}function u(e){for(var t,r,n=1,i=e.length,a=e[0]+"";n<i;){for(r=14-(t=e[n++]+"").length;r--;t="0"+t);a+=t}for(i=a.length;48===a.charCodeAt(--i););return a.slice(0,i+1||1)}function c(e,t){var r,n,i=e.c,a=t.c,o=e.s,l=t.s,s=e.e,u=t.e;if(!o||!l)return null;if(r=i&&!i[0],n=a&&!a[0],r||n)return r?n?0:-l:o;if(o!=l)return o;if(r=o<0,n=s==u,!i||!a)return n?0:!i^r?1:-1;if(!n)return s>u^r?1:-1;for(o=0,l=(s=i.length)<(u=a.length)?s:u;o<l;o++)if(i[o]!=a[o])return i[o]>a[o]^r?1:-1;return s==u?0:s>u^r?1:-1}function f(e,t,r,n){if(e<t||e>r||e!==i(e))throw Error(a+(n||"Argument")+("number"==typeof e?e<t||e>r?" out of range: ":" not an integer: ":" not a primitive number: ")+String(e))}function d(e){var t=e.c.length-1;return s(e.e/14)==t&&e.c[t]%2!=0}function p(e,t){return(e.length>1?e.charAt(0)+"."+e.slice(1):e)+(t<0?"e":"e+")+t}function m(e,t,r){var n,i;if(t<0){for(i=r+".";++t;i+=r);e=i+e}else if(n=e.length,++t>n){for(i=r,t-=n;--t;i+=r);e+=i}else t<n&&(e=e.slice(0,t)+"."+e.slice(t));return e}(t=function e(t){var g,h,b,y,v,x,w,A,$,B=I.prototype={constructor:I,toString:null,valueOf:null},S=new I(1),D=20,T=4,O=-7,N=21,M=-1e7,k=1e7,C=!1,F=1,R=0,L={prefix:"",groupSize:3,secondaryGroupSize:0,groupSeparator:",",decimalSeparator:".",fractionGroupSize:0,fractionGroupSeparator:"\xa0",suffix:""},E="0123456789abcdefghijklmnopqrstuvwxyz",P=!0;function I(e,t){var n,a,l,s,u,c,d,p,m=this;if(!(m instanceof I))return new I(e,t);if(null==t){if(e&&!0===e._isBigNumber){m.s=e.s,!e.c||e.e>k?m.c=m.e=null:e.e<M?m.c=[m.e=0]:(m.e=e.e,m.c=e.c.slice());return}if((c="number"==typeof e)&&0*e==0){if(m.s=1/e<0?(e=-e,-1):1,e===~~e){for(s=0,u=e;u>=10;u/=10,s++);s>k?m.c=m.e=null:(m.e=s,m.c=[e]);return}p=String(e)}else{if(!r.test(p=String(e)))return $(m,p,c);m.s=45==p.charCodeAt(0)?(p=p.slice(1),-1):1}(s=p.indexOf("."))>-1&&(p=p.replace(".","")),(u=p.search(/e/i))>0?(s<0&&(s=u),s+=+p.slice(u+1),p=p.substring(0,u)):s<0&&(s=p.length)}else{if(f(t,2,E.length,"Base"),10==t&&P)return W(m=new I(e),D+m.e+1,T);if(p=String(e),c="number"==typeof e){if(0*e!=0)return $(m,p,c,t);if(m.s=1/e<0?(p=p.slice(1),-1):1,I.DEBUG&&p.replace(/^0\.0*|\./,"").length>15)throw Error(o+e)}else m.s=45===p.charCodeAt(0)?(p=p.slice(1),-1):1;for(n=E.slice(0,t),s=u=0,d=p.length;u<d;u++)if(0>n.indexOf(a=p.charAt(u))){if("."==a){if(u>s){s=d;continue}}else if(!l&&(p==p.toUpperCase()&&(p=p.toLowerCase())||p==p.toLowerCase()&&(p=p.toUpperCase()))){l=!0,u=-1,s=0;continue}return $(m,String(e),c,t)}c=!1,(s=(p=A(p,t,10,m.s)).indexOf("."))>-1?p=p.replace(".",""):s=p.length}for(u=0;48===p.charCodeAt(u);u++);for(d=p.length;48===p.charCodeAt(--d););if(p=p.slice(u,++d)){if(d-=u,c&&I.DEBUG&&d>15&&(e>0x1fffffffffffff||e!==i(e)))throw Error(o+m.s*e);if((s=s-u-1)>k)m.c=m.e=null;else if(s<M)m.c=[m.e=0];else{if(m.e=s,m.c=[],u=(s+1)%14,s<0&&(u+=14),u<d){for(u&&m.c.push(+p.slice(0,u)),d-=14;u<d;)m.c.push(+p.slice(u,u+=14));u=14-(p=p.slice(u)).length}else u-=d;for(;u--;p+="0");m.c.push(+p)}}else m.c=[m.e=0]}function U(e,t,r,n){var i,a,o,l,s;if(null==r?r=T:f(r,0,8),!e.c)return e.toString();if(i=e.c[0],o=e.e,null==t)s=u(e.c),s=1==n||2==n&&(o<=O||o>=N)?p(s,o):m(s,o,"0");else if(a=(e=W(new I(e),t,r)).e,l=(s=u(e.c)).length,1==n||2==n&&(t<=a||a<=O)){for(;l<t;s+="0",l++);s=p(s,a)}else if(t-=o,s=m(s,a,"0"),a+1>l){if(--t>0)for(s+=".";t--;s+="0");}else if((t+=a-l)>0)for(a+1==l&&(s+=".");t--;s+="0");return e.s<0&&i?"-"+s:s}function _(e,t){for(var r,n,i=1,a=new I(e[0]);i<e.length;i++)(n=new I(e[i])).s&&(r=c(a,n))!==t&&(0!==r||a.s!==t)||(a=n);return a}function j(e,t,r){for(var n=1,i=t.length;!t[--i];t.pop());for(i=t[0];i>=10;i/=10,n++);return(r=n+14*r-1)>k?e.c=e.e=null:r<M?e.c=[e.e=0]:(e.e=r,e.c=t),e}function W(e,t,r,a){var o,s,u,c,f,d,p,m=e.c;if(m){e:{for(o=1,c=m[0];c>=10;c/=10,o++);if((s=t-o)<0)s+=14,u=t,p=i((f=m[d=0])/l[o-u-1]%10);else if((d=n((s+1)/14))>=m.length)if(a){for(;m.length<=d;m.push(0));f=p=0,o=1,s%=14,u=s-14+1}else break e;else{for(o=1,f=c=m[d];c>=10;c/=10,o++);s%=14,p=(u=s-14+o)<0?0:i(f/l[o-u-1]%10)}if(a=a||t<0||null!=m[d+1]||(u<0?f:f%l[o-u-1]),a=r<4?(p||a)&&(0==r||r==(e.s<0?3:2)):p>5||5==p&&(4==r||a||6==r&&(s>0?u>0?f/l[o-u]:0:m[d-1])%10&1||r==(e.s<0?8:7)),t<1||!m[0])return m.length=0,a?(t-=e.e+1,m[0]=l[(14-t%14)%14],e.e=-t||0):m[0]=e.e=0,e;if(0==s?(m.length=d,c=1,d--):(m.length=d+1,c=l[14-s],m[d]=u>0?i(f/l[o-u]%l[u])*c:0),a)for(;;)if(0==d){for(s=1,u=m[0];u>=10;u/=10,s++);for(u=m[0]+=c,c=1;u>=10;u/=10,c++);s!=c&&(e.e++,1e14==m[0]&&(m[0]=1));break}else{if(m[d]+=c,1e14!=m[d])break;m[d--]=0,c=1}for(s=m.length;0===m[--s];m.pop());}e.e>k?e.c=e.e=null:e.e<M&&(e.c=[e.e=0])}return e}function G(e){var t,r=e.e;return null===r?e.toString():(t=u(e.c),t=r<=O||r>=N?p(t,r):m(t,r,"0"),e.s<0?"-"+t:t)}return I.clone=e,I.ROUND_UP=0,I.ROUND_DOWN=1,I.ROUND_CEIL=2,I.ROUND_FLOOR=3,I.ROUND_HALF_UP=4,I.ROUND_HALF_DOWN=5,I.ROUND_HALF_EVEN=6,I.ROUND_HALF_CEIL=7,I.ROUND_HALF_FLOOR=8,I.EUCLID=9,I.config=I.set=function(e){var t,r;if(null!=e)if("object"==typeof e){if(e.hasOwnProperty(t="DECIMAL_PLACES")&&(f(r=e[t],0,1e9,t),D=r),e.hasOwnProperty(t="ROUNDING_MODE")&&(f(r=e[t],0,8,t),T=r),e.hasOwnProperty(t="EXPONENTIAL_AT")&&((r=e[t])&&r.pop?(f(r[0],-1e9,0,t),f(r[1],0,1e9,t),O=r[0],N=r[1]):(f(r,-1e9,1e9,t),O=-(N=r<0?-r:r))),e.hasOwnProperty(t="RANGE"))if((r=e[t])&&r.pop)f(r[0],-1e9,-1,t),f(r[1],1,1e9,t),M=r[0],k=r[1];else if(f(r,-1e9,1e9,t),r)M=-(k=r<0?-r:r);else throw Error(a+t+" cannot be zero: "+r);if(e.hasOwnProperty(t="CRYPTO"))if(!!(r=e[t])===r)if(r)if("undefined"!=typeof crypto&&crypto&&(crypto.getRandomValues||crypto.randomBytes))C=r;else throw C=!r,Error(a+"crypto unavailable");else C=r;else throw Error(a+t+" not true or false: "+r);if(e.hasOwnProperty(t="MODULO_MODE")&&(f(r=e[t],0,9,t),F=r),e.hasOwnProperty(t="POW_PRECISION")&&(f(r=e[t],0,1e9,t),R=r),e.hasOwnProperty(t="FORMAT"))if("object"==typeof(r=e[t]))L=r;else throw Error(a+t+" not an object: "+r);if(e.hasOwnProperty(t="ALPHABET")){if("string"!=typeof(r=e[t])||/^.?$|[+\-.\s]|(.).*\1/.test(r))throw Error(a+t+" invalid: "+r);P="0123456789"==r.slice(0,10),E=r}}else throw Error(a+"Object expected: "+e);return{DECIMAL_PLACES:D,ROUNDING_MODE:T,EXPONENTIAL_AT:[O,N],RANGE:[M,k],CRYPTO:C,MODULO_MODE:F,POW_PRECISION:R,FORMAT:L,ALPHABET:E}},I.isBigNumber=function(e){if(!e||!0!==e._isBigNumber)return!1;if(!I.DEBUG)return!0;var t,r,n=e.c,o=e.e,l=e.s;e:if("[object Array]"==({}).toString.call(n)){if((1===l||-1===l)&&o>=-1e9&&o<=1e9&&o===i(o)){if(0===n[0]){if(0===o&&1===n.length)return!0;break e}if((t=(o+1)%14)<1&&(t+=14),String(n[0]).length==t){for(t=0;t<n.length;t++)if((r=n[t])<0||r>=1e14||r!==i(r))break e;if(0!==r)return!0}}}else if(null===n&&null===o&&(null===l||1===l||-1===l))return!0;throw Error(a+"Invalid BigNumber: "+e)},I.maximum=I.max=function(){return _(arguments,-1)},I.minimum=I.min=function(){return _(arguments,1)},g=0x20000000000000*Math.random()&2097151?function(){return i(0x20000000000000*Math.random())}:function(){return(0x40000000*Math.random()|0)*8388608+(8388608*Math.random()|0)},I.random=function(e){var t,r,o,s,u,c=0,d=[],p=new I(S);if(null==e?e=D:f(e,0,1e9),s=n(e/14),C)if(crypto.getRandomValues){for(t=crypto.getRandomValues(new Uint32Array(s*=2));c<s;)(u=131072*t[c]+(t[c+1]>>>11))>=9e15?(r=crypto.getRandomValues(new Uint32Array(2)),t[c]=r[0],t[c+1]=r[1]):(d.push(u%1e14),c+=2);c=s/2}else if(crypto.randomBytes){for(t=crypto.randomBytes(s*=7);c<s;)(u=(31&t[c])*0x1000000000000+0x10000000000*t[c+1]+0x100000000*t[c+2]+0x1000000*t[c+3]+(t[c+4]<<16)+(t[c+5]<<8)+t[c+6])>=9e15?crypto.randomBytes(7).copy(t,c):(d.push(u%1e14),c+=7);c=s/7}else throw C=!1,Error(a+"crypto unavailable");if(!C)for(;c<s;)(u=g())<9e15&&(d[c++]=u%1e14);for(s=d[--c],e%=14,s&&e&&(u=l[14-e],d[c]=i(s/u)*u);0===d[c];d.pop(),c--);if(c<0)d=[o=0];else{for(o=-1;0===d[0];d.splice(0,1),o-=14);for(c=1,u=d[0];u>=10;u/=10,c++);c<14&&(o-=14-c)}return p.e=o,p.c=d,p},I.sum=function(){for(var e=1,t=arguments,r=new I(t[0]);e<t.length;)r=r.plus(t[e++]);return r},A=function(){var e="0123456789";function t(e,t,r,n){for(var i,a,o=[0],l=0,s=e.length;l<s;){for(a=o.length;a--;o[a]*=t);for(o[0]+=n.indexOf(e.charAt(l++)),i=0;i<o.length;i++)o[i]>r-1&&(null==o[i+1]&&(o[i+1]=0),o[i+1]+=o[i]/r|0,o[i]%=r)}return o.reverse()}return function(r,n,i,a,o){var l,s,c,f,d,p,g,h,b=r.indexOf("."),y=D,v=T;for(b>=0&&(f=R,R=0,r=r.replace(".",""),p=(h=new I(n)).pow(r.length-b),R=f,h.c=t(m(u(p.c),p.e,"0"),10,i,e),h.e=h.c.length),c=f=(g=t(r,n,i,o?(l=E,e):(l=e,E))).length;0==g[--f];g.pop());if(!g[0])return l.charAt(0);if(b<0?--c:(p.c=g,p.e=c,p.s=a,g=(p=w(p,h,y,v,i)).c,d=p.r,c=p.e),b=g[s=c+y+1],f=i/2,d=d||s<0||null!=g[s+1],d=v<4?(null!=b||d)&&(0==v||v==(p.s<0?3:2)):b>f||b==f&&(4==v||d||6==v&&1&g[s-1]||v==(p.s<0?8:7)),s<1||!g[0])r=d?m(l.charAt(1),-y,l.charAt(0)):l.charAt(0);else{if(g.length=s,d)for(--i;++g[--s]>i;)g[s]=0,s||(++c,g=[1].concat(g));for(f=g.length;!g[--f];);for(b=0,r="";b<=f;r+=l.charAt(g[b++]));r=m(r,c,l.charAt(0))}return r}}(),w=function(){function e(e,t,r){var n,i,a,o,l=0,s=e.length,u=t%1e7,c=t/1e7|0;for(e=e.slice();s--;)n=c*(a=e[s]%1e7)+(o=e[s]/1e7|0)*u,l=((i=u*a+n%1e7*1e7+l)/r|0)+(n/1e7|0)+c*o,e[s]=i%r;return l&&(e=[l].concat(e)),e}function t(e,t,r,n){var i,a;if(r!=n)a=r>n?1:-1;else for(i=a=0;i<r;i++)if(e[i]!=t[i]){a=e[i]>t[i]?1:-1;break}return a}function r(e,t,r,n){for(var i=0;r--;)e[r]-=i,i=+(e[r]<t[r]),e[r]=i*n+e[r]-t[r];for(;!e[0]&&e.length>1;e.splice(0,1));}return function(n,a,o,l,u){var c,f,d,p,m,g,h,b,y,v,x,w,A,$,B,S,D,T=n.s==a.s?1:-1,O=n.c,N=a.c;if(!O||!O[0]||!N||!N[0])return new I(!n.s||!a.s||(O?N&&O[0]==N[0]:!N)?NaN:O&&0==O[0]||!N?0*T:T/0);for(y=(b=new I(T)).c=[],T=o+(f=n.e-a.e)+1,u||(u=1e14,f=s(n.e/14)-s(a.e/14),T=T/14|0),d=0;N[d]==(O[d]||0);d++);if(N[d]>(O[d]||0)&&f--,T<0)y.push(1),p=!0;else{for($=O.length,S=N.length,d=0,T+=2,(m=i(u/(N[0]+1)))>1&&(N=e(N,m,u),O=e(O,m,u),S=N.length,$=O.length),A=S,x=(v=O.slice(0,S)).length;x<S;v[x++]=0);D=[0].concat(D=N.slice()),B=N[0],N[1]>=u/2&&B++;do{if(m=0,(c=t(N,v,S,x))<0){if(w=v[0],S!=x&&(w=w*u+(v[1]||0)),(m=i(w/B))>1)for(m>=u&&(m=u-1),h=(g=e(N,m,u)).length,x=v.length;1==t(g,v,h,x);)m--,r(g,S<h?D:N,h,u),h=g.length,c=1;else 0==m&&(c=m=1),h=(g=N.slice()).length;if(h<x&&(g=[0].concat(g)),r(v,g,x,u),x=v.length,-1==c)for(;1>t(N,v,S,x);)m++,r(v,S<x?D:N,x,u),x=v.length}else 0===c&&(m++,v=[0]);y[d++]=m,v[0]?v[x++]=O[A]||0:(v=[O[A]],x=1)}while((A++<$||null!=v[0])&&T--);p=null!=v[0],y[0]||y.splice(0,1)}if(1e14==u){for(d=1,T=y[0];T>=10;T/=10,d++);W(b,o+(b.e=d+14*f-1)+1,l,p)}else b.e=f,b.r=+p;return b}}(),h=/^(-?)0([xbo])(?=\w[\w.]*$)/i,b=/^([^.]+)\.$/,y=/^\.([^.]+)$/,v=/^-?(Infinity|NaN)$/,x=/^\s*\+(?=[\w.])|^\s+|\s+$/g,$=function(e,t,r,n){var i,o=r?t:t.replace(x,"");if(v.test(o))e.s=isNaN(o)?null:o<0?-1:1;else{if(!r&&(o=o.replace(h,function(e,t,r){return i="x"==(r=r.toLowerCase())?16:"b"==r?2:8,n&&n!=i?e:t}),n&&(i=n,o=o.replace(b,"$1").replace(y,"0.$1")),t!=o))return new I(o,i);if(I.DEBUG)throw Error(a+"Not a"+(n?" base "+n:"")+" number: "+t);e.s=null}e.c=e.e=null},B.absoluteValue=B.abs=function(){var e=new I(this);return e.s<0&&(e.s=1),e},B.comparedTo=function(e,t){return c(this,new I(e,t))},B.decimalPlaces=B.dp=function(e,t){var r,n,i;if(null!=e)return f(e,0,1e9),null==t?t=T:f(t,0,8),W(new I(this),e+this.e+1,t);if(!(r=this.c))return null;if(n=((i=r.length-1)-s(this.e/14))*14,i=r[i])for(;i%10==0;i/=10,n--);return n<0&&(n=0),n},B.dividedBy=B.div=function(e,t){return w(this,new I(e,t),D,T)},B.dividedToIntegerBy=B.idiv=function(e,t){return w(this,new I(e,t),0,1)},B.exponentiatedBy=B.pow=function(e,t){var r,o,l,s,u,c,f,p,m,g=this;if((e=new I(e)).c&&!e.isInteger())throw Error(a+"Exponent not an integer: "+G(e));if(null!=t&&(t=new I(t)),c=e.e>14,!g.c||!g.c[0]||1==g.c[0]&&!g.e&&1==g.c.length||!e.c||!e.c[0])return m=new I(Math.pow(+G(g),c?e.s*(2-d(e)):+G(e))),t?m.mod(t):m;if(f=e.s<0,t){if(t.c?!t.c[0]:!t.s)return new I(NaN);(o=!f&&g.isInteger()&&t.isInteger())&&(g=g.mod(t))}else{if(e.e>9&&(g.e>0||g.e<-1||(0==g.e?g.c[0]>1||c&&g.c[1]>=24e7:g.c[0]<8e13||c&&g.c[0]<=9999975e7)))return s=g.s<0&&d(e)?-0:0,g.e>-1&&(s=1/s),new I(f?1/s:s);R&&(s=n(R/14+2))}for(c?(r=new I(.5),f&&(e.s=1),p=d(e)):p=(l=Math.abs(+G(e)))%2,m=new I(S);;){if(p){if(!(m=m.times(g)).c)break;s?m.c.length>s&&(m.c.length=s):o&&(m=m.mod(t))}if(l){if(0===(l=i(l/2)))break;p=l%2}else if(W(e=e.times(r),e.e+1,1),e.e>14)p=d(e);else{if(0==(l=+G(e)))break;p=l%2}g=g.times(g),s?g.c&&g.c.length>s&&(g.c.length=s):o&&(g=g.mod(t))}return o?m:(f&&(m=S.div(m)),t?m.mod(t):s?W(m,R,T,u):m)},B.integerValue=function(e){var t=new I(this);return null==e?e=T:f(e,0,8),W(t,t.e+1,e)},B.isEqualTo=B.eq=function(e,t){return 0===c(this,new I(e,t))},B.isFinite=function(){return!!this.c},B.isGreaterThan=B.gt=function(e,t){return c(this,new I(e,t))>0},B.isGreaterThanOrEqualTo=B.gte=function(e,t){return 1===(t=c(this,new I(e,t)))||0===t},B.isInteger=function(){return!!this.c&&s(this.e/14)>this.c.length-2},B.isLessThan=B.lt=function(e,t){return 0>c(this,new I(e,t))},B.isLessThanOrEqualTo=B.lte=function(e,t){return -1===(t=c(this,new I(e,t)))||0===t},B.isNaN=function(){return!this.s},B.isNegative=function(){return this.s<0},B.isPositive=function(){return this.s>0},B.isZero=function(){return!!this.c&&0==this.c[0]},B.minus=function(e,t){var r,n,i,a,o=this.s;if(t=(e=new I(e,t)).s,!o||!t)return new I(NaN);if(o!=t)return e.s=-t,this.plus(e);var l=this.e/14,u=e.e/14,c=this.c,f=e.c;if(!l||!u){if(!c||!f)return c?(e.s=-t,e):new I(f?this:NaN);if(!c[0]||!f[0])return f[0]?(e.s=-t,e):new I(c[0]?this:3==T?-0:0)}if(l=s(l),u=s(u),c=c.slice(),o=l-u){for((a=o<0)?(o=-o,i=c):(u=l,i=f),i.reverse(),t=o;t--;i.push(0));i.reverse()}else for(n=(a=(o=c.length)<(t=f.length))?o:t,o=t=0;t<n;t++)if(c[t]!=f[t]){a=c[t]<f[t];break}if(a&&(i=c,c=f,f=i,e.s=-e.s),(t=(n=f.length)-(r=c.length))>0)for(;t--;c[r++]=0);for(t=1e14-1;n>o;){if(c[--n]<f[n]){for(r=n;r&&!c[--r];c[r]=t);--c[r],c[n]+=1e14}c[n]-=f[n]}for(;0==c[0];c.splice(0,1),--u);return c[0]?j(e,c,u):(e.s=3==T?-1:1,e.c=[e.e=0],e)},B.modulo=B.mod=function(e,t){var r,n;return(e=new I(e,t),this.c&&e.s&&(!e.c||e.c[0]))?e.c&&(!this.c||this.c[0])?(9==F?(n=e.s,e.s=1,r=w(this,e,0,3),e.s=n,r.s*=n):r=w(this,e,0,F),(e=this.minus(r.times(e))).c[0]||1!=F||(e.s=this.s),e):new I(this):new I(NaN)},B.multipliedBy=B.times=function(e,t){var r,n,i,a,o,l,u,c,f,d,p,m,g,h=this.c,b=(e=new I(e,t)).c;if(!h||!b||!h[0]||!b[0])return this.s&&e.s&&(!h||h[0]||b)&&(!b||b[0]||h)?(e.s*=this.s,h&&b?(e.c=[0],e.e=0):e.c=e.e=null):e.c=e.e=e.s=null,e;for(n=s(this.e/14)+s(e.e/14),e.s*=this.s,(u=h.length)<(d=b.length)&&(g=h,h=b,b=g,i=u,u=d,d=i),i=u+d,g=[];i--;g.push(0));for(i=d;--i>=0;){for(r=0,p=b[i]%1e7,m=b[i]/1e7|0,a=i+(o=u);a>i;)l=m*(c=h[--o]%1e7)+(f=h[o]/1e7|0)*p,r=((c=p*c+l%1e7*1e7+g[a]+r)/1e14|0)+(l/1e7|0)+m*f,g[a--]=c%1e14;g[a]=r}return r?++n:g.splice(0,1),j(e,g,n)},B.negated=function(){var e=new I(this);return e.s=-e.s||null,e},B.plus=function(e,t){var r,n=this.s;if(t=(e=new I(e,t)).s,!n||!t)return new I(NaN);if(n!=t)return e.s=-t,this.minus(e);var i=this.e/14,a=e.e/14,o=this.c,l=e.c;if(!i||!a){if(!o||!l)return new I(n/0);if(!o[0]||!l[0])return l[0]?e:new I(o[0]?this:0*n)}if(i=s(i),a=s(a),o=o.slice(),n=i-a){for(n>0?(a=i,r=l):(n=-n,r=o),r.reverse();n--;r.push(0));r.reverse()}for((n=o.length)-(t=l.length)<0&&(r=l,l=o,o=r,t=n),n=0;t;)n=(o[--t]=o[t]+l[t]+n)/1e14|0,o[t]=1e14===o[t]?0:o[t]%1e14;return n&&(o=[n].concat(o),++a),j(e,o,a)},B.precision=B.sd=function(e,t){var r,n,i;if(null!=e&&!!e!==e)return f(e,1,1e9),null==t?t=T:f(t,0,8),W(new I(this),e,t);if(!(r=this.c))return null;if(n=14*(i=r.length-1)+1,i=r[i]){for(;i%10==0;i/=10,n--);for(i=r[0];i>=10;i/=10,n++);}return e&&this.e+1>n&&(n=this.e+1),n},B.shiftedBy=function(e){return f(e,-0x1fffffffffffff,0x1fffffffffffff),this.times("1e"+e)},B.squareRoot=B.sqrt=function(){var e,t,r,n,i,a=this.c,o=this.s,l=this.e,c=D+4,f=new I("0.5");if(1!==o||!a||!a[0])return new I(!o||o<0&&(!a||a[0])?NaN:a?this:1/0);if(0==(o=Math.sqrt(+G(this)))||o==1/0?(((t=u(a)).length+l)%2==0&&(t+="0"),o=Math.sqrt(+t),l=s((l+1)/2)-(l<0||l%2),r=new I(t=o==1/0?"5e"+l:(t=o.toExponential()).slice(0,t.indexOf("e")+1)+l)):r=new I(o+""),r.c[0]){for((o=(l=r.e)+c)<3&&(o=0);;)if(i=r,r=f.times(i.plus(w(this,i,c,1))),u(i.c).slice(0,o)===(t=u(r.c)).slice(0,o)){if(r.e<l&&--o,"9999"!=(t=t.slice(o-3,o+1))&&(n||"4999"!=t)){+t&&(+t.slice(1)||"5"!=t.charAt(0))||(W(r,r.e+D+2,1),e=!r.times(r).eq(this));break}if(!n&&(W(i,i.e+D+2,0),i.times(i).eq(this))){r=i;break}c+=4,o+=4,n=1}}return W(r,r.e+D+1,T,e)},B.toExponential=function(e,t){return null!=e&&(f(e,0,1e9),e++),U(this,e,t,1)},B.toFixed=function(e,t){return null!=e&&(f(e,0,1e9),e=e+this.e+1),U(this,e,t)},B.toFormat=function(e,t,r){var n;if(null==r)null!=e&&t&&"object"==typeof t?(r=t,t=null):e&&"object"==typeof e?(r=e,e=t=null):r=L;else if("object"!=typeof r)throw Error(a+"Argument not an object: "+r);if(n=this.toFixed(e,t),this.c){var i,o=n.split("."),l=+r.groupSize,s=+r.secondaryGroupSize,u=r.groupSeparator||"",c=o[0],f=o[1],d=this.s<0,p=d?c.slice(1):c,m=p.length;if(s&&(i=l,l=s,s=i,m-=i),l>0&&m>0){for(i=m%l||l,c=p.substr(0,i);i<m;i+=l)c+=u+p.substr(i,l);s>0&&(c+=u+p.slice(i)),d&&(c="-"+c)}n=f?c+(r.decimalSeparator||"")+((s=+r.fractionGroupSize)?f.replace(RegExp("\\d{"+s+"}\\B","g"),"$&"+(r.fractionGroupSeparator||"")):f):c}return(r.prefix||"")+n+(r.suffix||"")},B.toFraction=function(e){var t,r,n,i,o,s,c,f,d,p,m,g,h=this.c;if(null!=e&&(!(c=new I(e)).isInteger()&&(c.c||1!==c.s)||c.lt(S)))throw Error(a+"Argument "+(c.isInteger()?"out of range: ":"not an integer: ")+G(c));if(!h)return new I(this);for(t=new I(S),d=r=new I(S),n=f=new I(S),g=u(h),o=t.e=g.length-this.e-1,t.c[0]=l[(s=o%14)<0?14+s:s],e=!e||c.comparedTo(t)>0?o>0?t:d:c,s=k,k=1/0,c=new I(g),f.c[0]=0;p=w(c,t,0,1),1!=(i=r.plus(p.times(n))).comparedTo(e);)r=n,n=i,d=f.plus(p.times(i=d)),f=i,t=c.minus(p.times(i=t)),c=i;return i=w(e.minus(r),n,0,1),f=f.plus(i.times(d)),r=r.plus(i.times(n)),f.s=d.s=this.s,o*=2,m=1>w(d,n,o,T).minus(this).abs().comparedTo(w(f,r,o,T).minus(this).abs())?[d,n]:[f,r],k=s,m},B.toNumber=function(){return+G(this)},B.toPrecision=function(e,t){return null!=e&&f(e,1,1e9),U(this,e,t,2)},B.toString=function(e){var t,r=this,n=r.s,i=r.e;return null===i?n?(t="Infinity",n<0&&(t="-"+t)):t="NaN":(null==e?t=i<=O||i>=N?p(u(r.c),i):m(u(r.c),i,"0"):10===e&&P?t=m(u((r=W(new I(r),D+i+1,T)).c),r.e,"0"):(f(e,2,E.length,"Base"),t=A(m(u(r.c),i,"0"),10,e,n,!0)),n<0&&r.c[0]&&(t="-"+t)),t},B.valueOf=B.toJSON=function(){return G(this)},B._isBigNumber=!0,null!=t&&I.set(t),I}()).default=t.BigNumber=t,b.exports?b.exports=t:(e||(e="undefined"!=typeof self&&self?self:window),e.BigNumber=t)})(d);var y=b.exports;let v=h(),x=m(),w={trillion:1e12,billion:1e9,million:1e6,thousand:1e3},A={totalLength:0,characteristic:0,forceAverage:!1,average:!1,mantissa:-1,optionalMantissa:!0,thousandSeparated:!1,spaceSeparated:!1,negative:"sign",forceSign:!1,roundingFunction:Math.round,spaceSeparatedAbbreviation:!1},{binarySuffixes:$,decimalSuffixes:B}=v.currentBytes(),S={scale:1024,suffixes:B,marker:"bd"},D={scale:1024,suffixes:$,marker:"b"},T={scale:1e3,suffixes:B,marker:"d"};function O(e,t,r){let n=t[0],i=Math.abs(e);if(i>=r){for(let a=1;a<t.length;++a){let o=Math.pow(r,a),l=Math.pow(r,a+1);if(i>=o&&i<l){n=t[a],e/=o;break}}n===t[0]&&(e/=Math.pow(r,t.length-1),n=t[t.length-1])}return{value:e,suffix:n}}function N(e){let t="";for(let r=0;r<e;r++)t+="0";return t}function M({instance:e,providedFormat:t,state:r=v,decimalSeparator:n,defaults:i=r.currentDefaults()}){var a,o,l,s,u;let c,f,d,p,m,g,h,b=e._value;if(0===b&&r.hasZeroFormat())return r.getZeroFormat();if(!isFinite(b))return b.toString();let x=Object.assign({},A,i,t),$=x.totalLength,B=$?0:x.characteristic,S=x.optionalCharacteristic,D=x.forceAverage,T=x.lowPrecision,O=!!$||!!D||x.average,M=$?-1:O&&void 0===t.mantissa?0:x.mantissa,k=!$&&(void 0===t.optionalMantissa?-1===M:x.optionalMantissa),C=x.trimMantissa,F=x.thousandSeparated,R=x.spaceSeparated,L=x.negative,E=x.forceSign,P=x.exponential,I=x.roundingFunction,U="";if(O){let e=function({value:e,forceAverage:t,lowPrecision:r=!0,abbreviations:n,spaceSeparated:i=!1,totalLength:a=0,roundingFunction:o=Math.round}){let l="",s=Math.abs(e),u=-1;if(t&&n[t]&&w[t]?(l=n[t],e/=w[t]):s>=w.trillion||r&&1===o(s/w.trillion)?(l=n.trillion,e/=w.trillion):s<w.trillion&&s>=w.billion||r&&1===o(s/w.billion)?(l=n.billion,e/=w.billion):s<w.billion&&s>=w.million||r&&1===o(s/w.million)?(l=n.million,e/=w.million):(s<w.million&&s>=w.thousand||r&&1===o(s/w.thousand))&&(l=n.thousand,e/=w.thousand),l&&(l=(i?" ":"")+l),a){let t=e<0,r=e.toString().split(".")[0];u=Math.max(a-(t?r.length-1:r.length),0)}return{value:e,abbreviation:l,mantissaPrecision:u}}({value:b,forceAverage:D,lowPrecision:T,abbreviations:r.currentAbbreviations(),spaceSeparated:R,roundingFunction:I,totalLength:$});b=e.value,U+=e.abbreviation,$&&(M=e.mantissaPrecision)}if(P){let e=function({value:e,characteristicPrecision:t}){let[r,n]=e.toExponential().split("e"),i=+r;return t&&1<t&&(i*=Math.pow(10,t-1),n-=t-1,n=n>=0?`+${n}`:n),{value:i,abbreviation:`e${n}`}}({value:b,characteristicPrecision:B});b=e.value,U=e.abbreviation+U}let _=function(e,t,r,n,i,a){if(-1===n)return e;let o=function(e,t,r=Math.round){return -1!==e.toString().indexOf("e")?function(e,t){let r=e.toString(),[n,i]=r.split("e"),[a,o=""]=n.split(".");if(+i>0)r=a+o+N(i-o.length);else{let e=".";e=0>+a?`-0${e}`:`0${e}`;let n=(N(-i-1)+Math.abs(a)+o).substr(0,t);n.length<t&&(n+=N(t-n.length)),r=e+n}return+i>0&&t>0&&(r+=`.${N(t)}`),r}(e,t):new y(r(+`${e}e+${t}`)/Math.pow(10,t)).toFixed(t)}(t,n,a),[l,s=""]=o.toString().split(".");if(s.match(/^0+$/)&&(r||i))return l;let u=s.match(/0+$/);return i&&u?`${l}.${s.toString().slice(0,u.index)}`:o.toString()}(b.toString(),b,k,M,C,I);return a=_=function(e,t,r,n){let i=e,[a,o]=i.toString().split(".");if(a.match(/^-?0$/)&&r)return o?`${a.replace("0","")}.${o}`:a.replace("0","");let l=t<0&&0===a.indexOf("-");if(l&&(a=a.slice(1),i=i.slice(1)),a.length<n){let e=n-a.length;for(let t=0;t<e;t++)i=`0${i}`}return l&&(i=`-${i}`),i.toString()}(_,b,S,B),o=b,l=n,f=(c=r.currentDelimiters()).thousands,l=l||c.decimal,d=c.thousandsSize||3,m=(p=a.toString()).split(".")[0],g=p.split(".")[1],h=o<0&&0===m.indexOf("-"),F&&(h&&(m=m.slice(1)),(function(e,t){let r=[],n=0;for(let i=e;i>0;i--)n===t&&(r.unshift(i),n=0),n++;return r})(m.length,d).forEach((e,t)=>{m=m.slice(0,e+t)+f+m.slice(e+t)}),h&&(m=`-${m}`)),_=p=g?m+l+g:m,(O||P)&&(_+=U),(E||b<0)&&(s=_,_=0===(u=b)?s:0==+s?s.replace("-",""):u>0?`+${s}`:"sign"===L?s:`(${s.replace("-","")})`),_}function k(e,t){if(!e)return t;let r=Object.keys(e);return 1===r.length&&"output"===r[0]?t:e}function C(e,t,r){let n=new y(e._value),i=t;return r.isNumbro(t)&&(i=t._value),i=new y(i),e._value=n.minus(i).toNumber(),e}let F=h(),R=m(),L={loadLanguagesInNode:e=>{e.forEach(e=>{let t;try{t=function(e){throw Error('Could not dynamically require "'+e+'". Please configure the dynamicRequireTargets or/and ignoreDynamicRequires option of @rollup/plugin-commonjs appropriately for this require call to work.')}(`../languages/${e}`)}catch(t){console.error(`Unable to load "${e}". No matching language file found.`)}t&&j.registerLanguage(t)})}},E=p(),P={format:(...e)=>(function(e,t={},r){if("string"==typeof t&&(t=g(t)),!x.validateFormat(t))return"ERROR: invalid format";let n=t.prefix||"",i=t.postfix||"",a=function(e,t,r){var n,i,a;switch(t.output){case"currency":let o,l,s,u,c,f,d,p,m,g;return n=t=k(t,v.currentCurrencyDefaultFormat()),o=v.currentCurrency(),s=Object.assign({},A,l=Object.assign({},n)),c="",f=!!s.totalLength||!!s.forceAverage||s.average,d=l.currencyPosition||o.position,p=l.currencySymbol||o.symbol,m=void 0!==s.spaceSeparatedCurrency?s.spaceSeparatedCurrency:s.spaceSeparated,void 0===l.lowPrecision&&(l.lowPrecision=!1),m&&(c=" "),"infix"===d&&(u=c+p+c),g=M({instance:e,providedFormat:l,state:v,decimalSeparator:u}),"prefix"===d&&(g=e._value<0&&"sign"===s.negative?`-${c}${p}${g.slice(1)}`:e._value>0&&s.forceSign?`+${c}${p}${g.slice(1)}`:p+c+g),d&&"postfix"!==d||(g=g+(c=!s.spaceSeparatedAbbreviation&&f?"":c)+p),g;case"percent":let h,b,y;return i=t=k(t,v.currentPercentageDefaultFormat()),h=i.prefixSymbol,b=M({instance:r(100*e._value),providedFormat:i,state:v}),y=Object.assign({},A,i),h?`%${y.spaceSeparated?" ":""}${b}`:`${b}${y.spaceSeparated?" ":""}%`;case"byte":return function(e,t,r,n){let i=t.base||"binary",a=Object.assign({},A,t),{binarySuffixes:o,decimalSuffixes:l}=r.currentBytes(),s={general:{scale:1024,suffixes:l||B,marker:"bd"},binary:{scale:1024,suffixes:o||$,marker:"b"},decimal:{scale:1e3,suffixes:l||B,marker:"d"}}[i],{value:u,suffix:c}=O(e._value,s.suffixes,s.scale),f=M({instance:n(u),providedFormat:t,state:r,defaults:r.currentByteDefaultFormat()});return`${f}${a.spaceSeparated?" ":""}${c}`}(e,t=k(t,v.currentByteDefaultFormat()),v,r);case"time":let x,w,S;return t=k(t,v.currentTimeDefaultFormat()),x=Math.floor(e._value/60/60),w=Math.floor((e._value-60*x*60)/60),S=Math.round(e._value-60*x*60-60*w),`${x}:${w<10?"0":""}${w}:${S<10?"0":""}${S}`;case"ordinal":let D,T,N,C;return a=t=k(t,v.currentOrdinalDefaultFormat()),D=v.currentOrdinal(),T=Object.assign({},A,a),N=M({instance:e,providedFormat:a,state:v}),C=D(e._value),`${N}${T.spaceSeparated?" ":""}${C}`;default:return M({instance:e,providedFormat:t,numbro:r})}}(e,t,r);return(a=n+a)+i})(...e,j),getByteUnit:(...e)=>(function(e){return O(e._value,S.suffixes,S.scale).suffix})(...e,j),getBinaryByteUnit:(...e)=>(function(e){return O(e._value,D.suffixes,D.scale).suffix})(...e,j),getDecimalByteUnit:(...e)=>(function(e){return O(e._value,T.suffixes,T.scale).suffix})(...e,j),formatOrDefault:k},I={add:(e,t)=>{let r,n;return r=new y(e._value),n=t,j.isNumbro(t)&&(n=t._value),n=new y(n),e._value=r.plus(n).toNumber(),e},subtract:(e,t)=>C(e,t,j),multiply:(e,t)=>{let r,n;return r=new y(e._value),n=t,j.isNumbro(t)&&(n=t._value),n=new y(n),e._value=r.times(n).toNumber(),e},divide:(e,t)=>{let r,n;return r=new y(e._value),n=t,j.isNumbro(t)&&(n=t._value),n=new y(n),e._value=r.dividedBy(n).toNumber(),e},set:(e,t)=>{let r;return r=t,j.isNumbro(t)&&(r=t._value),e._value=r,e},difference:(e,t)=>{let r;return C(r=j(e._value),t,j),Math.abs(r._value)},BigNumber:y};class U{constructor(e){this._value=e}clone(){return j(this._value)}format(e={}){return P.format(this,e)}formatCurrency(e){return"string"==typeof e&&(e=g(e)),(e=P.formatOrDefault(e,F.currentCurrencyDefaultFormat())).output="currency",P.format(this,e)}formatTime(e={}){return e.output="time",P.format(this,e)}binaryByteUnits(){return P.getBinaryByteUnit(this)}decimalByteUnits(){return P.getDecimalByteUnit(this)}byteUnits(){return P.getByteUnit(this)}difference(e){return I.difference(this,e)}add(e){return I.add(this,e)}subtract(e){return I.subtract(this,e)}multiply(e){return I.multiply(this,e)}divide(e){return I.divide(this,e)}set(e){return I.set(this,_(e))}value(){return this._value}valueOf(){return this._value}}function _(e){let t=e;return j.isNumbro(e)?t=e._value:"string"==typeof e?t=j.unformat(e):isNaN(e)&&(t=NaN),t}function j(e){return new U(_(e))}j.version="2.5.0",j.isNumbro=function(e){return e instanceof U},j.language=F.currentLanguage,j.registerLanguage=F.registerLanguage,j.setLanguage=F.setLanguage,j.languages=F.languages,j.languageData=F.languageData,j.zeroFormat=F.setZeroFormat,j.defaultFormat=F.currentDefaults,j.setDefaults=F.setDefaults,j.defaultCurrencyFormat=F.currentCurrencyDefaultFormat,j.validate=R.validate,j.loadLanguagesInNode=L.loadLanguagesInNode,j.unformat=E.unformat,j.BigNumber=I.BigNumber;var W=j&&j.__esModule&&Object.prototype.hasOwnProperty.call(j,"default")?j.default:j,G=r(71065);function V(e,{unit:t="bytes",shortValues:r,decimalPlaces:n}){let i="decbytes"===t;if(!(0,G.jb)(r)||Math.abs(e)<(i?1e3:1024)){let t={style:"unit",unit:"byte",unitDisplay:"long",useGrouping:!0};return(0,G.IU)(n)?(t.minimumFractionDigits=(0,G.To)(n),t.maximumFractionDigits=(0,G.To)(n)):(0,G.jb)(r)&&(t.maximumSignificantDigits=3),Intl.NumberFormat("en-US",t).format(e)}return W(e).format({output:"byte",base:i?"decimal":"binary",spaceSeparated:!0,mantissa:(0,G.IU)(n)?n:2,trimMantissa:!(0,G.IU)(n),optionalMantissa:!(0,G.IU)(n)})}function z(e,{unit:t="bits",shortValues:r,decimalPlaces:n}){let i="decbits"===t;if(!(0,G.jb)(r)||Math.abs(e)<(i?1e3:1024)){let t={style:"decimal",useGrouping:!0};return(0,G.IU)(n)?(t.minimumFractionDigits=(0,G.To)(n),t.maximumFractionDigits=(0,G.To)(n)):(0,G.jb)(r)&&(t.maximumSignificantDigits=3),Intl.NumberFormat("en-US",t).format(e)+" bits"}return W(e).format({output:"byte",base:i?"decimal":"binary",spaceSeparated:!0,mantissa:(0,G.IU)(n)?n:2,trimMantissa:!(0,G.IU)(n),optionalMantissa:!(0,G.IU)(n)}).replace(/KB/g,"Kb").replace(/MB/g,"Mb").replace(/GB/g,"Gb").replace(/TB/g,"Tb").replace(/PB/g,"Pb").replace(/EB/g,"Eb").replace(/KiB/g,"Kib").replace(/MiB/g,"Mib").replace(/GiB/g,"Gib").replace(/TiB/g,"Tib").replace(/PiB/g,"Pib").replace(/EiB/g,"Eib")}let Z="Percent",q="Temperature",K="Time";var Y=((n={}).nanoseconds="nanosecond",n.microseconds="microsecond",n.milliseconds="millisecond",n.seconds="second",n.minutes="minute",n.hours="hour",n.days="day",n.weeks="week",n.months="month",n.years="year",n);let H={years:31536e3,months:2592e3,weeks:604800,days:86400,hours:3600,minutes:60,seconds:1,milliseconds:.001,microseconds:1e-6,nanoseconds:1e-9},X=["years","months","weeks","days","hours","minutes","seconds","milliseconds","microseconds","nanoseconds"],J="Throughput";var Q=r(40224);let ee="Currency",et="Date",er={Time:{label:"Time",decimalPlaces:!0},Percent:{label:"percent",decimalPlaces:!0},Decimal:{label:"Decimal",decimalPlaces:!0,shortValues:!0},Bytes:{label:"Bytes",decimalPlaces:!0,shortValues:!0},Bits:{label:"Bits",decimalPlaces:!0,shortValues:!0},Throughput:{label:"Throughput",decimalPlaces:!0},Currency:{label:"Currency",decimalPlaces:!0},Temperature:{label:q,decimalPlaces:!0},Date:{label:"Date & Time"}},en={nanoseconds:{group:K,label:"Nanoseconds"},microseconds:{group:K,label:"Microseconds"},milliseconds:{group:K,label:"Milliseconds"},seconds:{group:K,label:"Seconds"},minutes:{group:K,label:"Minutes"},hours:{group:K,label:"Hours"},days:{group:K,label:"Days"},weeks:{group:K,label:"Weeks"},months:{group:K,label:"Months"},years:{group:K,label:"Years"},percent:{group:Z,label:"Percent (0-100)"},"percent-decimal":{group:Z,label:"Percent (0.0-1.0)"},"%":{disableSelectorOption:!0,group:Z,label:"%"},decimal:{group:"Decimal",label:"Decimal"},bytes:{group:"Bytes",label:"Bytes (IEC)"},decbytes:{group:"Bytes",label:"Bytes (SI)"},bits:{group:"Bits",label:"Bits (IEC)"},decbits:{group:"Bits",label:"Bits (SI)"},"bits/sec":{group:J,label:"Bits/sec (IEC)"},"decbits/sec":{group:J,label:"Bits/sec (SI)"},"bytes/sec":{group:J,label:"Bytes/sec (IEC)"},"decbytes/sec":{group:J,label:"Bytes/sec (SI)"},"counts/sec":{group:J,label:"Counts/sec"},"events/sec":{group:J,label:"Events/sec"},"messages/sec":{group:J,label:"Messages/sec"},"ops/sec":{group:J,label:"Ops/sec"},"packets/sec":{group:J,label:"Packets/sec"},"reads/sec":{group:J,label:"Reads/sec"},"requests/sec":{group:J,label:"Requests/sec"},"records/sec":{group:J,label:"Records/sec"},"rows/sec":{group:J,label:"Rows/sec"},"writes/sec":{group:J,label:"Writes/sec"},aud:{group:ee,label:"Australian Dollar (A$)"},cad:{group:ee,label:"Canadian Dollar (CA$)"},chf:{group:ee,label:"Swiss Franc (CHF)"},cny:{group:ee,label:"Renminbi (CN\xa5)"},eur:{group:ee,label:"Euro (€)"},gbp:{group:ee,label:"Pound (\xa3)"},hkd:{group:ee,label:"Hong Kong Dollar (HK$)"},inr:{group:ee,label:"Indian Rupee (₹)"},jpy:{group:ee,label:"Yen (\xa5)"},krw:{group:ee,label:"South Korean Won (₩)"},nok:{group:ee,label:"Norwegian Krone (NOK)"},nzd:{group:ee,label:"New Zealand Dollar (NZ$)"},sek:{group:ee,label:"Swedish Krona (SEK)"},sgd:{group:ee,label:"Singapore Dollar (S$)"},usd:{group:ee,label:"US Dollar ($)"},celsius:{group:q,label:"Celsius (\xb0C)"},fahrenheit:{group:q,label:"Fahrenheit (\xb0F)"},"datetime-iso":{group:et,label:"DateTime (GMT)"},"datetime-us":{group:et,label:"DateTime (US-East)"},"datetime-local":{group:et,label:"DateTime (Browser Local)"},"date-iso":{group:et,label:"Date (GMT)"},"date-us":{group:et,label:"Date (US-East)"},"date-local":{group:et,label:"Date (Browser Local)"},"time-local":{group:et,label:"Time (Browser Local)"},"time-iso":{group:et,label:"Time (GMT)"},"time-us":{group:et,label:"Time (US-East)"},"relative-time":{group:et,label:"Relative Time"},"unix-timestamp":{group:et,label:"Unix Timestamp (s)"},"unix-timestamp-ms":{group:et,label:"Unix Timestamp (ms)"}};function ei(e,t){if(!t)return e.toString();if(ef(t))return V(e,t);if(ed(t))return z(e,t);if(ec(t))return function(e,{shortValues:t,decimalPlaces:r}){let n={style:"decimal",useGrouping:!0};return(0,G.jb)(t)&&(n.notation="compact"),(0,G.IU)(r)?(n.minimumFractionDigits=(0,G.To)(r),n.maximumFractionDigits=(0,G.To)(r)):(0,G.jb)(t)&&(n.maximumSignificantDigits=3),Intl.NumberFormat("en-US",n).format(e)}(e,t);if(eu(t))return function(e,{unit:t,decimalPlaces:r}){let n={style:"percent",useGrouping:!0};return(0,G.IU)(r)?(n.minimumFractionDigits=(0,G.To)(r),n.maximumFractionDigits=(0,G.To)(r)):n.maximumSignificantDigits=3,"percent"===t&&(e/=100),Intl.NumberFormat("en-US",n).format(e)}(e,t);if(es(t))return function(e,{unit:t,decimalPlaces:r}){var n;if(0===e)return"0s";let i=function(e,t){let r=e*H[t],n=X[0]||"years",i=n,a=r/H[n];for(i of X)if((a=r/H[i])>=1)break;return{value:a,unit:i}}(e,t??"seconds"),a={style:"unit",unit:Y[i.unit],unitDisplay:"months"===(n=i.unit)||"years"===n?"long":"narrow"};return(0,G.IU)(r)?(a.minimumFractionDigits=(0,G.To)(r),a.maximumFractionDigits=(0,G.To)(r)):a.maximumSignificantDigits=3,Intl.NumberFormat("en-US",a).format(i.value)}(e,t);if(eg(t))return function(e,{unit:t,shortValues:r,decimalPlaces:n}){if("bits/sec"===t){let t=1024>Math.abs(e)?"sec":"s";return z(e,{unit:"bits",shortValues:r,decimalPlaces:n})+"/"+t}if("decbits/sec"===t){let t=1e3>Math.abs(e)?"sec":"s";return z(e,{unit:"decbits",shortValues:r,decimalPlaces:n})+"/"+t}if("decbytes/sec"===t){let t=1e3>Math.abs(e)?"sec":"s";return V(e,{unit:"decbytes",shortValues:r,decimalPlaces:n})+"/"+t}if("bytes/sec"===t){let t=1024>Math.abs(e)?"sec":"s";return V(e,{unit:"bytes",shortValues:r,decimalPlaces:n})+"/"+t}let i={style:"decimal",useGrouping:!0};return(0,G.jb)(r)&&(i.notation="compact"),(0,G.IU)(n)?(i.minimumFractionDigits=(0,G.To)(n),i.maximumFractionDigits=(0,G.To)(n)):(0,G.jb)(r)&&(i.maximumSignificantDigits=3),Intl.NumberFormat("en-US",i).format(e)+" "+t}(e,t);if(eh(t))return function(e,{unit:t,decimalPlaces:r}){let n={style:"currency",currency:(0,Q.toUpper)(t),currencyDisplay:"symbol"};return(0,G.IU)(r)?(n.minimumFractionDigits=(0,G.To)(r),n.maximumFractionDigits=(0,G.To)(r)):n.maximumSignificantDigits=3,Intl.NumberFormat("en-US",n).format(e)}(e,t);if(eb(t))return function(e,t={}){let r=Intl.DateTimeFormat().resolvedOptions().timeZone,{unit:n="datetime-local",locale:i=(()=>{if("undefined"!=typeof navigator){if(navigator.language)return navigator.language;if(navigator.languages&&navigator.languages.length>0){let e=navigator.languages[0];if(e)return e}let e=navigator;if(e.userLanguage)return e.userLanguage;if(e.browserLanguage)return e.browserLanguage;if(e.systemLanguage)return e.systemLanguage}return Intl.DateTimeFormat().resolvedOptions().locale||"en-US"})(),timeZone:a=r,referenceTime:o=Date.now()}=t;if("unix-timestamp"===n)return(e>1e12?Math.floor(e/1e3):e).toString();if("unix-timestamp-ms"===n)return Math.floor(e<1e11?1e3*e:e).toString();let l=function(e){if(e<0)if(Math.abs(e)>1e10)return new Date(e);else return new Date(1e3*e);if(e>=25e10&&e<=26e10){let t=new Date(1e3*e);if(t.getUTCFullYear()>=9999)return t}return new Date(e<1e10?1e3*e:e)}(e);if("relative-time"===n){let e=new Date(o),t=l.getTime()-e.getTime();for(let{unit:e,ms:r}of[{unit:"year",ms:31536e6},{unit:"month",ms:2592e6},{unit:"week",ms:6048e5},{unit:"day",ms:864e5},{unit:"hour",ms:36e5},{unit:"minute",ms:6e4},{unit:"second",ms:1e3}]){let n=Math.round(t/r);if(Math.abs(n)>=1)return new Intl.RelativeTimeFormat(i,{numeric:"auto"}).format(n,e)}return new Intl.RelativeTimeFormat(i,{numeric:"auto"}).format(0,"second")}let s={timeZone:a};switch(n){case"datetime-iso":return l.toISOString();case"datetime-us":return s.timeZone="America/New_York",s.year="numeric",s.month="2-digit",s.day="2-digit",s.hour="2-digit",s.minute="2-digit",s.second="2-digit",s.hour12=!0,new Intl.DateTimeFormat("en-US",s).format(l);case"datetime-local":s.year="numeric",s.month="2-digit",s.day="2-digit",s.hour="2-digit",s.minute="2-digit",s.second="2-digit",s.hour12=!1;break;case"date-iso":return l.toISOString().split("T")[0];case"date-us":return s.timeZone="America/New_York",s.year="numeric",s.month="2-digit",s.day="2-digit",new Intl.DateTimeFormat("en-US",s).format(l);case"date-local":s.year="numeric",s.month="2-digit",s.day="2-digit";break;case"time-local":s.hour="2-digit",s.minute="2-digit",s.second="2-digit",s.hour12=!1;break;case"time-iso":return l.toISOString().split("T")[1].replace("Z","");case"time-us":return s.timeZone="America/New_York",s.hour="2-digit",s.minute="2-digit",s.second="2-digit",s.hour12=!0,new Intl.DateTimeFormat("en-US",s).format(l);default:throw Error(`Unknown date unit: ${n}`)}return new Intl.DateTimeFormat(i,s).format(l)}(e,t);if(ey(t))return((e,{unit:t,decimalPlaces:r})=>{let n={unit:t,style:"unit"};(0,G.IU)(r)?(n.minimumFractionDigits=(0,G.To)(r),n.maximumFractionDigits=(0,G.To)(r)):n.maximumSignificantDigits=3;let i="celsius"===t?"en-GB":"en-US";return Intl.NumberFormat(i,n).format(e)})(e,t);throw Error(`Unknown unit options ${t}`)}function ea(e){return en[e.unit??"decimal"]}function eo(e){return ea(e).group??"Decimal"}function el(e){return er[ea(e).group??"Decimal"]}function es(e){return"Time"===eo(e)}function eu(e){return"Percent"===eo(e)}function ec(e){return"Decimal"===eo(e)}function ef(e){return"Bytes"===eo(e)}function ed(e){return"Bits"===eo(e)}function ep(e){return!!el(e).decimalPlaces}function em(e){return!!el(e).shortValues}function eg(e){return"Throughput"===eo(e)}function eh(e){return"Currency"===eo(e)}function eb(e){return"Date"===eo(e)}function ey(e){return"Temperature"===eo(e)}},71065:function(e,t,r){function n(e){return!1!==e}function i(e){return"number"==typeof e}function a(e){return e&&(e<0?e=0:e>20&&(e=20)),e}r.d(t,{IU:()=>i,To:()=>a,jb:()=>n})},7800:function(e,t,r){var n;t.default=void 0,t.default=(0,((n=r(1448))&&n.__esModule?n:{default:n}).default)("M19,6.41L17.59,5L12,10.59L6.41,5L5,6.41L10.59,12L5,17.59L6.41,19L12,13.41L17.59,19L19,17.59L13.41,12L19,6.41Z","Close")},42524:function(e,t,r){var n;t.default=void 0,t.default=(0,((n=r(1448))&&n.__esModule?n:{default:n}).default)("M19,13H5V11H19V13Z","Minus")}}]);