@perses-dev/victorialogs-plugin 0.2.0 → 0.3.0-rc.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/__mf/js/VictoriaLogs.c7d074d4.js +6 -0
- package/__mf/js/async/1170.1ace5903.js +101 -0
- package/__mf/js/async/1430.bac7994c.js +1 -0
- package/__mf/js/async/1616.44d9fc39.js +1 -0
- package/__mf/js/async/1728.c9fc8da6.js +1 -0
- package/__mf/js/async/1969.4f0fc9ef.js +1 -0
- package/__mf/js/async/2043.a03fc64f.js +2 -0
- package/__mf/js/async/{8930.fa15926d.js → 2377.443a1b22.js} +1 -1
- package/__mf/js/async/2386.21b9bb32.js +2 -0
- package/__mf/js/async/2749.edab3f5e.js +2 -0
- package/__mf/js/async/3059.bd425bfb.js +1 -0
- package/__mf/js/async/3181.0e31aa90.js +2 -0
- package/__mf/js/async/392.2a915032.js +2 -0
- package/__mf/js/async/3954.dbc4d4c5.js +1 -0
- package/__mf/js/async/{1964.6d84f735.js → 4121.db798067.js} +2 -2
- package/__mf/js/async/4225.43367877.js +10 -0
- package/__mf/js/async/4248.ce5ffe03.js +1 -0
- package/__mf/js/async/5071.b48bd1f7.js +1 -0
- package/__mf/js/async/54.b0728da4.js +22 -0
- package/__mf/js/async/5440.9338b9ea.js +2 -0
- package/__mf/js/async/{6377.e48abaa5.js.LICENSE.txt → 5440.9338b9ea.js.LICENSE.txt} +3 -3
- package/__mf/js/async/{5214.bcb7530e.js → 5587.dfbc3ebc.js} +1 -1
- package/__mf/js/async/5706.a7fb5c1b.js +1 -0
- package/__mf/js/async/6274.f6456c87.js +2 -0
- package/__mf/js/async/6283.5edb374e.js +2 -0
- package/__mf/js/async/6854.efd1a0a6.js +1 -0
- package/__mf/js/async/{8488.9eb8e6dc.js → 7177.0fe1dff0.js} +1 -1
- package/__mf/js/async/7192.cb6ffe0e.js +1 -0
- package/__mf/js/async/7370.ef522250.js +2 -0
- package/__mf/js/async/7576.bfd4659f.js +2 -0
- package/__mf/js/async/7793.06fe240f.js +1 -0
- package/__mf/js/async/7958.11c8b9fb.js +7 -0
- package/__mf/js/async/7968.5fed5183.js +1 -0
- package/__mf/js/async/7978.c5b22459.js +1 -0
- package/__mf/js/async/8356.2b39af38.js +1 -0
- package/__mf/js/async/8470.32cf23b6.js +2 -0
- package/__mf/js/async/8482.6c4d64de.js +1 -0
- package/__mf/js/async/873.f5cf5a02.js +1 -0
- package/__mf/js/async/9010.c2b659be.js +2 -0
- package/__mf/js/async/9071.720986e2.js +2 -0
- package/__mf/js/async/9235.543bd352.js +1 -0
- package/__mf/js/async/941.6f8e368d.js +2 -0
- package/__mf/js/async/9588.b67d84aa.js +1 -0
- package/__mf/js/async/9836.bbf150b2.js +1 -0
- package/__mf/js/async/9877.73cfc5dd.js +38 -0
- package/__mf/js/async/9944.34a79f7c.js +1 -0
- package/__mf/js/async/__federation_expose_VictoriaLogsDatasource.c8ad37a6.js +2 -0
- package/__mf/js/async/__federation_expose_VictoriaLogsFieldNamesVariable.9d1b2e5f.js +2 -0
- package/__mf/js/async/__federation_expose_VictoriaLogsFieldValuesVariable.4abd81e1.js +2 -0
- package/__mf/js/async/__federation_expose_VictoriaLogsLogQuery.7bfaa758.js +1 -0
- package/__mf/js/async/__federation_expose_VictoriaLogsTimeSeriesQuery.ee3ac90f.js +1 -0
- package/__mf/js/main.5b55b7ef.js +6 -0
- package/lib/bootstrap.js +15 -3
- package/lib/bootstrap.js.map +1 -1
- package/lib/cjs/bootstrap.js +13 -1
- package/lib/cjs/components/index.js +1 -1
- package/lib/cjs/components/logsql-editor.js +1 -1
- package/lib/cjs/components/logsql-extension.js +1 -1
- package/lib/cjs/components/logsql-highlight.js +1 -1
- package/lib/cjs/datasources/index.js +1 -1
- package/lib/cjs/datasources/victorialogs-datasource/VictoriaLogsDatasource.js +1 -1
- package/lib/cjs/datasources/victorialogs-datasource/VictoriaLogsDatasourceEditor.js +1 -1
- package/lib/cjs/datasources/victorialogs-datasource/index.js +1 -1
- package/lib/cjs/datasources/victorialogs-datasource/types.js +1 -1
- package/lib/cjs/env.d.js +12 -0
- package/lib/cjs/getPluginModule.js +12 -0
- package/lib/cjs/index-federation.js +12 -0
- package/lib/cjs/index.js +12 -0
- package/lib/cjs/model/client.js +15 -15
- package/lib/cjs/model/index.js +1 -1
- package/lib/cjs/model/selectors.js +6 -6
- package/lib/cjs/model/types.js +1 -1
- package/lib/cjs/queries/constants.js +15 -3
- package/lib/cjs/queries/index.js +1 -1
- package/lib/cjs/queries/victorialogs-log-query/VictoriaLogsLogQuery.js +12 -0
- package/lib/cjs/queries/victorialogs-log-query/VictoriaLogsLogQueryEditor.js +1 -1
- package/lib/cjs/queries/victorialogs-log-query/index.js +12 -0
- package/lib/cjs/queries/victorialogs-log-query/interface.js +12 -0
- package/lib/cjs/queries/victorialogs-log-query/query.js +13 -1
- package/lib/cjs/queries/victorialogs-log-query/types.js +12 -0
- package/lib/cjs/queries/victorialogs-time-series-query/VictoriaLogsTimeSeriesQuery.js +1 -1
- package/lib/cjs/queries/victorialogs-time-series-query/VictoriaLogsTimeSeriesQueryEditor.js +1 -1
- package/lib/cjs/queries/victorialogs-time-series-query/index.js +1 -1
- package/lib/cjs/queries/victorialogs-time-series-query/query.js +2 -2
- package/lib/cjs/queries/victorialogs-time-series-query/types.js +1 -1
- package/lib/cjs/setup-tests.js +12 -0
- package/lib/cjs/variables/index.js +1 -1
- package/lib/cjs/variables/types.js +12 -0
- package/lib/cjs/variables/utils.js +17 -5
- package/lib/cjs/variables/victorialogs-field-names/VictoriaLogsFieldNamesVariable.js +13 -1
- package/lib/cjs/variables/victorialogs-field-names/VictoriaLogsFieldNamesVariableEditor.js +1 -1
- package/lib/cjs/variables/victorialogs-field-names/index.js +1 -1
- package/lib/cjs/variables/victorialogs-field-values/VictoriaLogsFieldValuesVariable.js +13 -1
- package/lib/cjs/variables/victorialogs-field-values/VictoriaLogsFieldValuesVariableEditor.js +1 -1
- package/lib/cjs/variables/victorialogs-field-values/index.js +1 -1
- package/lib/components/index.js +1 -1
- package/lib/components/index.js.map +1 -1
- package/lib/components/logsql-editor.js +2 -2
- package/lib/components/logsql-editor.js.map +1 -1
- package/lib/components/logsql-extension.js +1 -1
- package/lib/components/logsql-extension.js.map +1 -1
- package/lib/components/logsql-highlight.js +1 -1
- package/lib/components/logsql-highlight.js.map +1 -1
- package/lib/datasources/index.js +1 -1
- package/lib/datasources/index.js.map +1 -1
- package/lib/datasources/victorialogs-datasource/VictoriaLogsDatasource.d.ts.map +1 -1
- package/lib/datasources/victorialogs-datasource/VictoriaLogsDatasource.js +1 -1
- package/lib/datasources/victorialogs-datasource/VictoriaLogsDatasource.js.map +1 -1
- package/lib/datasources/victorialogs-datasource/VictoriaLogsDatasourceEditor.js +2 -2
- package/lib/datasources/victorialogs-datasource/VictoriaLogsDatasourceEditor.js.map +1 -1
- package/lib/datasources/victorialogs-datasource/index.js +1 -1
- package/lib/datasources/victorialogs-datasource/index.js.map +1 -1
- package/lib/datasources/victorialogs-datasource/types.js +1 -1
- package/lib/datasources/victorialogs-datasource/types.js.map +1 -1
- package/lib/env.d.js +12 -0
- package/lib/env.d.js.map +1 -1
- package/lib/getPluginModule.d.ts.map +1 -1
- package/lib/getPluginModule.js +12 -0
- package/lib/getPluginModule.js.map +1 -1
- package/lib/index-federation.js +12 -0
- package/lib/index-federation.js.map +1 -1
- package/lib/index.d.ts.map +1 -1
- package/lib/index.js +12 -0
- package/lib/index.js.map +1 -1
- package/lib/model/client.d.ts.map +1 -1
- package/lib/model/client.js +10 -10
- package/lib/model/client.js.map +1 -1
- package/lib/model/index.js +1 -1
- package/lib/model/index.js.map +1 -1
- package/lib/model/selectors.d.ts.map +1 -1
- package/lib/model/selectors.js +1 -1
- package/lib/model/selectors.js.map +1 -1
- package/lib/model/types.d.ts.map +1 -1
- package/lib/model/types.js +1 -1
- package/lib/model/types.js.map +1 -1
- package/lib/queries/constants.d.ts.map +1 -1
- package/lib/queries/constants.js +12 -0
- package/lib/queries/constants.js.map +1 -1
- package/lib/queries/index.js +1 -1
- package/lib/queries/index.js.map +1 -1
- package/lib/queries/victorialogs-log-query/VictoriaLogsLogQuery.d.ts.map +1 -1
- package/lib/queries/victorialogs-log-query/VictoriaLogsLogQuery.js +12 -0
- package/lib/queries/victorialogs-log-query/VictoriaLogsLogQuery.js.map +1 -1
- package/lib/queries/victorialogs-log-query/VictoriaLogsLogQueryEditor.d.ts.map +1 -1
- package/lib/queries/victorialogs-log-query/VictoriaLogsLogQueryEditor.js +2 -2
- package/lib/queries/victorialogs-log-query/VictoriaLogsLogQueryEditor.js.map +1 -1
- package/lib/queries/victorialogs-log-query/index.d.ts.map +1 -1
- package/lib/queries/victorialogs-log-query/index.js +12 -0
- package/lib/queries/victorialogs-log-query/index.js.map +1 -1
- package/lib/queries/victorialogs-log-query/interface.d.ts.map +1 -1
- package/lib/queries/victorialogs-log-query/interface.js +12 -0
- package/lib/queries/victorialogs-log-query/interface.js.map +1 -1
- package/lib/queries/victorialogs-log-query/query.d.ts.map +1 -1
- package/lib/queries/victorialogs-log-query/query.js +13 -1
- package/lib/queries/victorialogs-log-query/query.js.map +1 -1
- package/lib/queries/victorialogs-log-query/types.d.ts.map +1 -1
- package/lib/queries/victorialogs-log-query/types.js +12 -0
- package/lib/queries/victorialogs-log-query/types.js.map +1 -1
- package/lib/queries/victorialogs-time-series-query/VictoriaLogsTimeSeriesQuery.js +1 -1
- package/lib/queries/victorialogs-time-series-query/VictoriaLogsTimeSeriesQuery.js.map +1 -1
- package/lib/queries/victorialogs-time-series-query/VictoriaLogsTimeSeriesQueryEditor.js +2 -2
- package/lib/queries/victorialogs-time-series-query/VictoriaLogsTimeSeriesQueryEditor.js.map +1 -1
- package/lib/queries/victorialogs-time-series-query/index.js +1 -1
- package/lib/queries/victorialogs-time-series-query/index.js.map +1 -1
- package/lib/queries/victorialogs-time-series-query/query.d.ts.map +1 -1
- package/lib/queries/victorialogs-time-series-query/query.js +2 -2
- package/lib/queries/victorialogs-time-series-query/query.js.map +1 -1
- package/lib/queries/victorialogs-time-series-query/types.js +1 -1
- package/lib/queries/victorialogs-time-series-query/types.js.map +1 -1
- package/lib/setup-tests.d.ts.map +1 -1
- package/lib/setup-tests.js +12 -0
- package/lib/setup-tests.js.map +1 -1
- package/lib/variables/index.js +1 -1
- package/lib/variables/index.js.map +1 -1
- package/lib/variables/types.d.ts +1 -1
- package/lib/variables/types.d.ts.map +1 -1
- package/lib/variables/types.js +12 -0
- package/lib/variables/types.js.map +1 -1
- package/lib/variables/utils.d.ts +1 -1
- package/lib/variables/utils.d.ts.map +1 -1
- package/lib/variables/utils.js +12 -0
- package/lib/variables/utils.js.map +1 -1
- package/lib/variables/victorialogs-field-names/VictoriaLogsFieldNamesVariable.d.ts.map +1 -1
- package/lib/variables/victorialogs-field-names/VictoriaLogsFieldNamesVariable.js +13 -1
- package/lib/variables/victorialogs-field-names/VictoriaLogsFieldNamesVariable.js.map +1 -1
- package/lib/variables/victorialogs-field-names/VictoriaLogsFieldNamesVariableEditor.js +2 -2
- package/lib/variables/victorialogs-field-names/VictoriaLogsFieldNamesVariableEditor.js.map +1 -1
- package/lib/variables/victorialogs-field-names/index.js +1 -1
- package/lib/variables/victorialogs-field-names/index.js.map +1 -1
- package/lib/variables/victorialogs-field-values/VictoriaLogsFieldValuesVariable.d.ts.map +1 -1
- package/lib/variables/victorialogs-field-values/VictoriaLogsFieldValuesVariable.js +13 -1
- package/lib/variables/victorialogs-field-values/VictoriaLogsFieldValuesVariable.js.map +1 -1
- package/lib/variables/victorialogs-field-values/VictoriaLogsFieldValuesVariableEditor.js +2 -2
- package/lib/variables/victorialogs-field-values/VictoriaLogsFieldValuesVariableEditor.js.map +1 -1
- package/lib/variables/victorialogs-field-values/index.js +1 -1
- package/lib/variables/victorialogs-field-values/index.js.map +1 -1
- package/mf-manifest.json +159 -159
- package/mf-stats.json +159 -159
- package/package.json +7 -6
- package/__mf/js/VictoriaLogs.52130265.js +0 -5
- package/__mf/js/async/1398.34d5ed30.js +0 -2
- package/__mf/js/async/158.c35084cf.js +0 -10
- package/__mf/js/async/1580.ace454a9.js +0 -2
- package/__mf/js/async/2292.0696771a.js +0 -2
- package/__mf/js/async/2558.beff8442.js +0 -101
- package/__mf/js/async/3224.858fb6d6.js +0 -1
- package/__mf/js/async/3431.358ac817.js +0 -1
- package/__mf/js/async/3863.66f8659b.js +0 -2
- package/__mf/js/async/3960.bbacac1d.js +0 -2
- package/__mf/js/async/3980.03396afa.js +0 -2
- package/__mf/js/async/4075.8aae8af4.js +0 -1
- package/__mf/js/async/4238.cd5e3d1f.js +0 -1
- package/__mf/js/async/4269.f9191848.js +0 -2
- package/__mf/js/async/4310.9ddfd236.js +0 -7
- package/__mf/js/async/4421.b3e6be64.js +0 -1
- package/__mf/js/async/4557.4ca5a213.js +0 -2
- package/__mf/js/async/4676.db842b1a.js +0 -22
- package/__mf/js/async/5348.aa77f629.js +0 -2
- package/__mf/js/async/5388.92f525c5.js +0 -1
- package/__mf/js/async/5409.5d25f1db.js +0 -1
- package/__mf/js/async/5628.f229b9f6.js +0 -1
- package/__mf/js/async/5682.a317ee96.js +0 -1
- package/__mf/js/async/5790.f7a41a40.js +0 -1
- package/__mf/js/async/58.8a4336f8.js +0 -2
- package/__mf/js/async/5981.e54ec80b.js +0 -2
- package/__mf/js/async/6134.6f58094d.js +0 -38
- package/__mf/js/async/6292.fda8a9af.js +0 -1
- package/__mf/js/async/6333.031c68b4.js +0 -2
- package/__mf/js/async/6374.e9650306.js +0 -1
- package/__mf/js/async/6377.e48abaa5.js +0 -2
- package/__mf/js/async/6770.5c90a318.js +0 -1
- package/__mf/js/async/694.663f3faf.js +0 -1
- package/__mf/js/async/7376.91743064.js +0 -1
- package/__mf/js/async/738.b4e8c361.js +0 -1
- package/__mf/js/async/7740.82b38509.js +0 -1
- package/__mf/js/async/7797.2bda5f99.js +0 -1
- package/__mf/js/async/8216.3417496f.js +0 -1
- package/__mf/js/async/8537.a7ed2e24.js +0 -1
- package/__mf/js/async/8727.e54ca5fd.js +0 -1
- package/__mf/js/async/9173.d784dd69.js +0 -2
- package/__mf/js/async/__federation_expose_VictoriaLogsDatasource.f8412079.js +0 -2
- package/__mf/js/async/__federation_expose_VictoriaLogsFieldNamesVariable.e900c02f.js +0 -2
- package/__mf/js/async/__federation_expose_VictoriaLogsFieldValuesVariable.82b66c29.js +0 -2
- package/__mf/js/async/__federation_expose_VictoriaLogsLogQuery.906cc07c.js +0 -1
- package/__mf/js/async/__federation_expose_VictoriaLogsTimeSeriesQuery.37c3a83e.js +0 -1
- package/__mf/js/main.0293cd8e.js +0 -5
- /package/__mf/css/async/{1580.d3010b86.css → 3061.d3010b86.css} +0 -0
- /package/__mf/css/async/{2341.d3010b86.css → 7370.d3010b86.css} +0 -0
- /package/__mf/js/async/{2292.0696771a.js.LICENSE.txt → 2043.a03fc64f.js.LICENSE.txt} +0 -0
- /package/__mf/js/async/{1398.34d5ed30.js.LICENSE.txt → 2386.21b9bb32.js.LICENSE.txt} +0 -0
- /package/__mf/js/async/{1580.ace454a9.js.LICENSE.txt → 2749.edab3f5e.js.LICENSE.txt} +0 -0
- /package/__mf/js/async/{3863.66f8659b.js.LICENSE.txt → 3181.0e31aa90.js.LICENSE.txt} +0 -0
- /package/__mf/js/async/{5981.e54ec80b.js.LICENSE.txt → 392.2a915032.js.LICENSE.txt} +0 -0
- /package/__mf/js/async/{1964.6d84f735.js.LICENSE.txt → 4121.db798067.js.LICENSE.txt} +0 -0
- /package/__mf/js/async/{158.c35084cf.js.LICENSE.txt → 4225.43367877.js.LICENSE.txt} +0 -0
- /package/__mf/js/async/{4676.db842b1a.js.LICENSE.txt → 54.b0728da4.js.LICENSE.txt} +0 -0
- /package/__mf/js/async/{3960.bbacac1d.js.LICENSE.txt → 6274.f6456c87.js.LICENSE.txt} +0 -0
- /package/__mf/js/async/{3980.03396afa.js.LICENSE.txt → 6283.5edb374e.js.LICENSE.txt} +0 -0
- /package/__mf/js/async/{4269.f9191848.js.LICENSE.txt → 7370.ef522250.js.LICENSE.txt} +0 -0
- /package/__mf/js/async/{58.8a4336f8.js.LICENSE.txt → 7576.bfd4659f.js.LICENSE.txt} +0 -0
- /package/__mf/js/async/{4310.9ddfd236.js.LICENSE.txt → 7958.11c8b9fb.js.LICENSE.txt} +0 -0
- /package/__mf/js/async/{9173.d784dd69.js.LICENSE.txt → 8470.32cf23b6.js.LICENSE.txt} +0 -0
- /package/__mf/js/async/{4557.4ca5a213.js.LICENSE.txt → 9010.c2b659be.js.LICENSE.txt} +0 -0
- /package/__mf/js/async/{5348.aa77f629.js.LICENSE.txt → 9071.720986e2.js.LICENSE.txt} +0 -0
- /package/__mf/js/async/{6333.031c68b4.js.LICENSE.txt → 941.6f8e368d.js.LICENSE.txt} +0 -0
- /package/__mf/js/async/{__federation_expose_VictoriaLogsDatasource.f8412079.js.LICENSE.txt → __federation_expose_VictoriaLogsDatasource.c8ad37a6.js.LICENSE.txt} +0 -0
- /package/__mf/js/async/{__federation_expose_VictoriaLogsFieldNamesVariable.e900c02f.js.LICENSE.txt → __federation_expose_VictoriaLogsFieldNamesVariable.9d1b2e5f.js.LICENSE.txt} +0 -0
- /package/__mf/js/async/{__federation_expose_VictoriaLogsFieldValuesVariable.82b66c29.js.LICENSE.txt → __federation_expose_VictoriaLogsFieldValuesVariable.4abd81e1.js.LICENSE.txt} +0 -0
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
/*! For license information please see 6274.f6456c87.js.LICENSE.txt */
|
|
2
|
+
"use strict";(self.chunk_VictoriaLogs=self.chunk_VictoriaLogs||[]).push([["6274"],{67449:function(e,t,r){r.r(t),r.d(t,{ThemeProvider:()=>eo,keyframes:()=>ev,withEmotionCache:()=>en,useTheme:()=>es,Global:()=>ey,__unsafe_useEmotionCache:()=>er,CacheProvider:()=>et,withTheme:()=>ei,ClassNames:()=>e$,ThemeContext:()=>ea,createElement:()=>ed,css:()=>em,jsx:()=>ed});var n,a,s=r(70451),c=function(){function e(e){var t=this;this._insertTag=function(e){var r;r=0===t.tags.length?t.insertionPoint?t.insertionPoint.nextSibling:t.prepend?t.container.firstChild:t.before:t.tags[t.tags.length-1].nextSibling,t.container.insertBefore(e,r),t.tags.push(e)},this.isSpeedy=void 0===e.speedy||e.speedy,this.tags=[],this.ctr=0,this.nonce=e.nonce,this.key=e.key,this.container=e.container,this.prepend=e.prepend,this.insertionPoint=e.insertionPoint,this.before=null}var t=e.prototype;return t.hydrate=function(e){e.forEach(this._insertTag)},t.insert=function(e){this.ctr%(this.isSpeedy?65e3:1)==0&&this._insertTag(((t=document.createElement("style")).setAttribute("data-emotion",this.key),void 0!==this.nonce&&t.setAttribute("nonce",this.nonce),t.appendChild(document.createTextNode("")),t.setAttribute("data-s",""),t));var t,r=this.tags[this.tags.length-1];if(this.isSpeedy){var n=function(e){if(e.sheet)return e.sheet;for(var t=0;t<document.styleSheets.length;t++)if(document.styleSheets[t].ownerNode===e)return document.styleSheets[t]}(r);try{n.insertRule(e,n.cssRules.length)}catch(e){}}else r.appendChild(document.createTextNode(e));this.ctr++},t.flush=function(){this.tags.forEach(function(e){var t;return null==(t=e.parentNode)?void 0:t.removeChild(e)}),this.tags=[],this.ctr=0},e}(),o=Math.abs,i=String.fromCharCode,u=Object.assign;function f(e,t,r){return e.replace(t,r)}function l(e,t){return e.indexOf(t)}function p(e,t){return 0|e.charCodeAt(t)}function h(e,t,r){return e.slice(t,r)}function d(e){return e.length}function y(e,t){return t.push(e),e}var m=1,v=1,g=0,b=0,$=0,k="";function w(e,t,r,n,a,s,c){return{value:e,root:t,parent:r,type:n,props:a,children:s,line:m,column:v,length:c,return:""}}function S(e,t){return u(w("",null,null,"",null,null,0),e,{length:-e.length},t)}function x(){return $=b<g?p(k,b++):0,v++,10===$&&(v=1,m++),$}function C(){return p(k,b)}function E(e){switch(e){case 0:case 9:case 10:case 13:case 32:return 5;case 33:case 43:case 44:case 47:case 62:case 64:case 126:case 59:case 123:case 125:return 4;case 58:return 3;case 34:case 39:case 40:case 91:return 2;case 41:case 93:return 1}return 0}function P(e){return m=v=1,g=d(k=e),b=0,[]}function A(e){var t,r;return(t=b-1,r=function e(t){for(;x();)switch($){case t:return b;case 34:case 39:34!==t&&39!==t&&e($);break;case 40:41===t&&e(t);break;case 92:x()}return b}(91===e?e+2:40===e?e+1:e),h(k,t,r)).trim()}var _="-ms-",O="-moz-",T="-webkit-",N="comm",j="rule",M="decl",F="@keyframes";function R(e,t){for(var r="",n=e.length,a=0;a<n;a++)r+=t(e[a],a,e,t)||"";return r}function z(e,t,r,n){switch(e.type){case"@layer":if(e.children.length)break;case"@import":case M:return e.return=e.return||e.value;case N:return"";case F:return e.return=e.value+"{"+R(e.children,n)+"}";case j:e.value=e.props.join(",")}return d(r=R(e.children,n))?e.return=e.value+"{"+r+"}":""}function L(e,t,r,n,a,s,c,i,u,l,p){for(var d=a-1,y=0===a?s:[""],m=y.length,v=0,g=0,b=0;v<n;++v)for(var $=0,k=h(e,d+1,d=o(g=c[v])),S=e;$<m;++$)(S=(g>0?y[$]+" "+k:f(k,/&\f/g,y[$])).trim())&&(u[b++]=S);return w(e,t,r,0===a?j:i,u,l,p)}function J(e,t,r,n){return w(e,t,r,M,h(e,0,n),h(e,n+1,-1),n)}var D=function(e,t,r){for(var n=0,a=0;n=a,a=C(),38===n&&12===a&&(t[r]=1),!E(a);)x();return h(k,e,b)},q=function(e,t){var r=-1,n=44;do switch(E(n)){case 0:38===n&&12===C()&&(t[r]=1),e[r]+=D(b-1,t,r);break;case 2:e[r]+=A(n);break;case 4:if(44===n){e[++r]=58===C()?"&\f":"",t[r]=e[r].length;break}default:e[r]+=i(n)}while(n=x());return e},I=function(e,t){var r;return r=q(P(e),t),k="",r},V=new WeakMap,W=function(e){if("rule"===e.type&&e.parent&&!(e.length<1)){for(var t=e.value,r=e.parent,n=e.column===r.column&&e.line===r.line;"rule"!==r.type;)if(!(r=r.parent))return;if((1!==e.props.length||58===t.charCodeAt(0)||V.get(r))&&!n){V.set(e,!0);for(var a=[],s=I(t,a),c=r.props,o=0,i=0;o<s.length;o++)for(var u=0;u<c.length;u++,i++)e.props[i]=a[o]?s[o].replace(/&\f/g,c[u]):c[u]+" "+s[o]}}},X=function(e){if("decl"===e.type){var t=e.value;108===t.charCodeAt(0)&&98===t.charCodeAt(2)&&(e.return="",e.value="")}},B=[function(e,t,r,n){if(e.length>-1&&!e.return)switch(e.type){case M:e.return=function e(t,r){switch(45^p(t,0)?(((r<<2^p(t,0))<<2^p(t,1))<<2^p(t,2))<<2^p(t,3):0){case 5103:return T+"print-"+t+t;case 5737:case 4201:case 3177:case 3433:case 1641:case 4457:case 2921:case 5572:case 6356:case 5844:case 3191:case 6645:case 3005:case 6391:case 5879:case 5623:case 6135:case 4599:case 4855:case 4215:case 6389:case 5109:case 5365:case 5621:case 3829:return T+t+t;case 5349:case 4246:case 4810:case 6968:case 2756:return T+t+O+t+_+t+t;case 6828:case 4268:return T+t+_+t+t;case 6165:return T+t+_+"flex-"+t+t;case 5187:return T+t+f(t,/(\w+).+(:[^]+)/,T+"box-$1$2"+_+"flex-$1$2")+t;case 5443:return T+t+_+"flex-item-"+f(t,/flex-|-self/,"")+t;case 4675:return T+t+_+"flex-line-pack"+f(t,/align-content|flex-|-self/,"")+t;case 5548:return T+t+_+f(t,"shrink","negative")+t;case 5292:return T+t+_+f(t,"basis","preferred-size")+t;case 6060:return T+"box-"+f(t,"-grow","")+T+t+_+f(t,"grow","positive")+t;case 4554:return T+f(t,/([^-])(transform)/g,"$1"+T+"$2")+t;case 6187:return f(f(f(t,/(zoom-|grab)/,T+"$1"),/(image-set)/,T+"$1"),t,"")+t;case 5495:case 3959:return f(t,/(image-set\([^]*)/,T+"$1$`$1");case 4968:return f(f(t,/(.+:)(flex-)?(.*)/,T+"box-pack:$3"+_+"flex-pack:$3"),/s.+-b[^;]+/,"justify")+T+t+t;case 4095:case 3583:case 4068:case 2532:return f(t,/(.+)-inline(.+)/,T+"$1$2")+t;case 8116:case 7059:case 5753:case 5535:case 5445:case 5701:case 4933:case 4677:case 5533:case 5789:case 5021:case 4765:if(d(t)-1-r>6)switch(p(t,r+1)){case 109:if(45!==p(t,r+4))break;case 102:return f(t,/(.+:)(.+)-([^]+)/,"$1"+T+"$2-$3$1"+O+(108==p(t,r+3)?"$3":"$2-$3"))+t;case 115:return~l(t,"stretch")?e(f(t,"stretch","fill-available"),r)+t:t}break;case 4949:if(115!==p(t,r+1))break;case 6444:switch(p(t,d(t)-3-(~l(t,"!important")&&10))){case 107:return f(t,":",":"+T)+t;case 101:return f(t,/(.+:)([^;!]+)(;|!.+)?/,"$1"+T+(45===p(t,14)?"inline-":"")+"box$3$1"+T+"$2$3$1"+_+"$2box$3")+t}break;case 5936:switch(p(t,r+11)){case 114:return T+t+_+f(t,/[svh]\w+-[tblr]{2}/,"tb")+t;case 108:return T+t+_+f(t,/[svh]\w+-[tblr]{2}/,"tb-rl")+t;case 45:return T+t+_+f(t,/[svh]\w+-[tblr]{2}/,"lr")+t}return T+t+_+t+t}return t}(e.value,e.length);break;case F:return R([S(e,{value:f(e.value,"@","@"+T)})],n);case j:if(e.length){var a,s;return a=e.props,s=function(t){var r;switch(r=t,(r=/(::plac\w+|:read-\w+)/.exec(r))?r[0]:r){case":read-only":case":read-write":return R([S(e,{props:[f(t,/:(read-\w+)/,":"+O+"$1")]})],n);case"::placeholder":return R([S(e,{props:[f(t,/:(plac\w+)/,":"+T+"input-$1")]}),S(e,{props:[f(t,/:(plac\w+)/,":"+O+"$1")]}),S(e,{props:[f(t,/:(plac\w+)/,_+"input-$1")]})],n)}return""},a.map(s).join("")}}}],G=r(68102),H=function(e){var t=new WeakMap;return function(r){if(t.has(r))return t.get(r);var n=e(r);return t.set(r,n),n}},U=r(58486),Y=r.n(U),K=r(309),Q=r(37696),Z=r(60755),ee=s.createContext("undefined"!=typeof HTMLElement?function(e){var t,r,n,a,s,o=e.key;if("css"===o){var u=document.querySelectorAll("style[data-emotion]:not([data-s])");Array.prototype.forEach.call(u,function(e){-1!==e.getAttribute("data-emotion").indexOf(" ")&&(document.head.appendChild(e),e.setAttribute("data-s",""))})}var g=e.stylisPlugins||B,S={},_=[];a=e.container||document.head,Array.prototype.forEach.call(document.querySelectorAll('style[data-emotion^="'+o+' "]'),function(e){for(var t=e.getAttribute("data-emotion").split(" "),r=1;r<t.length;r++)S[t[r]]=!0;_.push(e)});var O=(r=(t=[W,X].concat(g,[z,(n=function(e){s.insert(e)},function(e){!e.root&&(e=e.return)&&n(e)})])).length,function(e,n,a,s){for(var c="",o=0;o<r;o++)c+=t[o](e,n,a,s)||"";return c}),T=function(e){var t,r;return R((r=function e(t,r,n,a,s,c,o,u,g){for(var S,P=0,_=0,O=o,T=0,j=0,M=0,F=1,R=1,z=1,D=0,q="",I=s,V=c,W=a,X=q;R;)switch(M=D,D=x()){case 40:if(108!=M&&58==p(X,O-1)){-1!=l(X+=f(A(D),"&","&\f"),"&\f")&&(z=-1);break}case 34:case 39:case 91:X+=A(D);break;case 9:case 10:case 13:case 32:X+=function(e){for(;$=C();)if($<33)x();else break;return E(e)>2||E($)>3?"":" "}(M);break;case 92:X+=function(e,t){for(var r;--t&&x()&&!($<48)&&!($>102)&&(!($>57)||!($<65))&&(!($>70)||!($<97)););return r=b+(t<6&&32==C()&&32==x()),h(k,e,r)}(b-1,7);continue;case 47:switch(C()){case 42:case 47:y((S=function(e,t){for(;x();)if(e+$===57)break;else if(e+$===84&&47===C())break;return"/*"+h(k,t,b-1)+"*"+i(47===e?e:x())}(x(),b),w(S,r,n,N,i($),h(S,2,-2),0)),g);break;default:X+="/"}break;case 123*F:u[P++]=d(X)*z;case 125*F:case 59:case 0:switch(D){case 0:case 125:R=0;case 59+_:-1==z&&(X=f(X,/\f/g,"")),j>0&&d(X)-O&&y(j>32?J(X+";",a,n,O-1):J(f(X," ","")+";",a,n,O-2),g);break;case 59:X+=";";default:if(y(W=L(X,r,n,P,_,s,u,q,I=[],V=[],O),c),123===D)if(0===_)e(X,r,W,W,I,c,O,u,V);else switch(99===T&&110===p(X,3)?100:T){case 100:case 108:case 109:case 115:e(t,W,W,a&&y(L(t,W,W,0,0,s,u,q,s,I=[],O),V),s,V,O,u,a?I:V);break;default:e(X,W,W,W,[""],V,0,u,V)}}P=_=j=0,F=z=1,q=X="",O=o;break;case 58:O=1+d(X),j=M;default:if(F<1){if(123==D)--F;else if(125==D&&0==F++&&125==($=b>0?p(k,--b):0,v--,10===$&&(v=1,m--),$))continue}switch(X+=i(D),D*F){case 38:z=_>0?1:(X+="\f",-1);break;case 44:u[P++]=(d(X)-1)*z,z=1;break;case 64:45===C()&&(X+=A(x())),T=C(),_=O=d(q=X+=function(e){for(;!E(C());)x();return h(k,e,b)}(b)),D++;break;case 45:45===M&&2==d(X)&&(F=0)}}return c}("",null,null,null,[""],t=P(t=e),0,[0],t),k="",r),O)},j={key:o,sheet:new c({key:o,container:a,nonce:e.nonce,speedy:e.speedy,prepend:e.prepend,insertionPoint:e.insertionPoint}),nonce:e.nonce,inserted:S,registered:{},insert:function(e,t,r,n){s=r,T(e?e+"{"+t.styles+"}":t.styles),n&&(j.inserted[t.name]=!0)}};return j.sheet.hydrate(_),j}({key:"css"}):null),et=ee.Provider,er=function(){return(0,s.useContext)(ee)},en=function(e){return(0,s.forwardRef)(function(t,r){return e(t,(0,s.useContext)(ee),r)})},ea=s.createContext({}),es=function(){return s.useContext(ea)},ec=H(function(e){return H(function(t){return"function"==typeof t?t(e):(0,G.A)({},e,t)})}),eo=function(e){var t=s.useContext(ea);return e.theme!==t&&(t=ec(t)(e.theme)),s.createElement(ea.Provider,{value:t},e.children)};function ei(e){var t=e.displayName||e.name||"Component",r=s.forwardRef(function(t,r){var n=s.useContext(ea);return s.createElement(e,(0,G.A)({theme:n,ref:r},t))});return r.displayName="WithTheme("+t+")",Y()(r,e)}var eu={}.hasOwnProperty,ef="__EMOTION_TYPE_PLEASE_DO_NOT_USE__",el=function(e,t){var r={};for(var n in t)eu.call(t,n)&&(r[n]=t[n]);return r[ef]=e,r},ep=function(e){var t=e.cache,r=e.serialized,n=e.isStringTag;return(0,K.SF)(t,r,n),(0,Z.s)(function(){return(0,K.sk)(t,r,n)}),null},eh=en(function(e,t,r){var n=e.css;"string"==typeof n&&void 0!==t.registered[n]&&(n=t.registered[n]);var a=e[ef],c=[n],o="";"string"==typeof e.className?o=(0,K.Rk)(t.registered,c,e.className):null!=e.className&&(o=e.className+" ");var i=(0,Q.J)(c,void 0,s.useContext(ea));o+=t.key+"-"+i.name;var u={};for(var f in e)eu.call(e,f)&&"css"!==f&&f!==ef&&(u[f]=e[f]);return u.className=o,r&&(u.ref=r),s.createElement(s.Fragment,null,s.createElement(ep,{cache:t,serialized:i,isStringTag:"string"==typeof a}),s.createElement(a,u))}),ed=function(e,t){var r=arguments;if(null==t||!eu.call(t,"css"))return s.createElement.apply(void 0,r);var n=r.length,a=Array(n);a[0]=eh,a[1]=el(e,t);for(var c=2;c<n;c++)a[c]=r[c];return s.createElement.apply(null,a)};n=ed||(ed={}),a||(a=n.JSX||(n.JSX={}));var ey=en(function(e,t){var r=e.styles,n=(0,Q.J)([r],void 0,s.useContext(ea)),a=s.useRef();return(0,Z.i)(function(){var e=t.key+"-global",r=new t.sheet.constructor({key:e,nonce:t.sheet.nonce,container:t.sheet.container,speedy:t.sheet.isSpeedy}),s=!1,c=document.querySelector('style[data-emotion="'+e+" "+n.name+'"]');return t.sheet.tags.length&&(r.before=t.sheet.tags[0]),null!==c&&(s=!0,c.setAttribute("data-emotion",e),r.hydrate([c])),a.current=[r,s],function(){r.flush()}},[t]),(0,Z.i)(function(){var e=a.current,r=e[0];if(e[1]){e[1]=!1;return}if(void 0!==n.next&&(0,K.sk)(t,n.next,!0),r.tags.length){var s=r.tags[r.tags.length-1].nextElementSibling;r.before=s,r.flush()}t.insert("",n,r,!1)},[t,n.name]),null});function em(){for(var e=arguments.length,t=Array(e),r=0;r<e;r++)t[r]=arguments[r];return(0,Q.J)(t)}function ev(){var e=em.apply(void 0,arguments),t="animation-"+e.name;return{name:t,styles:"@keyframes "+t+"{"+e.styles+"}",anim:1,toString:function(){return"_EMO_"+this.name+"_"+this.styles+"_EMO_"}}}var eg=function e(t){for(var r=t.length,n=0,a="";n<r;n++){var s=t[n];if(null!=s){var c=void 0;switch(typeof s){case"boolean":break;case"object":if(Array.isArray(s))c=e(s);else for(var o in c="",s)s[o]&&o&&(c&&(c+=" "),c+=o);break;default:c=s}c&&(a&&(a+=" "),a+=c)}}return a},eb=function(e){var t=e.cache,r=e.serializedArr;return(0,Z.s)(function(){for(var e=0;e<r.length;e++)(0,K.sk)(t,r[e],!1)}),null},e$=en(function(e,t){var r=!1,n=[],a=function(){for(var e=arguments.length,r=Array(e),a=0;a<e;a++)r[a]=arguments[a];var s=(0,Q.J)(r,t.registered);return n.push(s),(0,K.SF)(t,s,!1),t.key+"-"+s.name},c={css:a,cx:function(){for(var e,r,n,s,c=arguments.length,o=Array(c),i=0;i<c;i++)o[i]=arguments[i];return e=t.registered,r=eg(o),n=[],s=(0,K.Rk)(e,n,r),n.length<2?r:s+a(n)},theme:s.useContext(ea)},o=e.children(c);return r=!0,s.createElement(s.Fragment,null,s.createElement(eb,{cache:t,serializedArr:n}),o)})},60755:function(e,t,r){r.d(t,{i:()=>c,s:()=>s});var n=r(70451),a=!!n.useInsertionEffect&&n.useInsertionEffect,s=a||function(e){return e()},c=a||n.useLayoutEffect},309:function(e,t,r){function n(e,t,r){var n="";return r.split(" ").forEach(function(r){void 0!==e[r]?t.push(e[r]+";"):r&&(n+=r+" ")}),n}r.d(t,{Rk:()=>n,SF:()=>a,sk:()=>s});var a=function(e,t,r){var n=e.key+"-"+t.name;!1===r&&void 0===e.registered[n]&&(e.registered[n]=t.styles)},s=function(e,t,r){a(e,t,r);var n=e.key+"-"+t.name;if(void 0===e.inserted[t.name]){var s=t;do e.insert(t===s?"."+n:"",s,e.sheet,!0),s=s.next;while(void 0!==s)}}},58486:function(e,t,r){var n=r(89360),a={childContextTypes:!0,contextType:!0,contextTypes:!0,defaultProps:!0,displayName:!0,getDefaultProps:!0,getDerivedStateFromError:!0,getDerivedStateFromProps:!0,mixins:!0,propTypes:!0,type:!0},s={name:!0,length:!0,prototype:!0,caller:!0,callee:!0,arguments:!0,arity:!0},c={$$typeof:!0,compare:!0,defaultProps:!0,displayName:!0,propTypes:!0,type:!0},o={};function i(e){return n.isMemo(e)?c:o[e.$$typeof]||a}o[n.ForwardRef]={$$typeof:!0,render:!0,defaultProps:!0,displayName:!0,propTypes:!0},o[n.Memo]=c;var u=Object.defineProperty,f=Object.getOwnPropertyNames,l=Object.getOwnPropertySymbols,p=Object.getOwnPropertyDescriptor,h=Object.getPrototypeOf,d=Object.prototype;e.exports=function e(t,r,n){if("string"!=typeof r){if(d){var a=h(r);a&&a!==d&&e(t,a,n)}var c=f(r);l&&(c=c.concat(l(r)));for(var o=i(t),y=i(r),m=0;m<c.length;++m){var v=c[m];if(!s[v]&&!(n&&n[v])&&!(y&&y[v])&&!(o&&o[v])){var g=p(r,v);try{u(t,v,g)}catch(e){}}}}return t}},92332:function(e,t){var r="function"==typeof Symbol&&Symbol.for,n=r?Symbol.for("react.element"):60103,a=r?Symbol.for("react.portal"):60106,s=r?Symbol.for("react.fragment"):60107,c=r?Symbol.for("react.strict_mode"):60108,o=r?Symbol.for("react.profiler"):60114,i=r?Symbol.for("react.provider"):60109,u=r?Symbol.for("react.context"):60110,f=r?Symbol.for("react.async_mode"):60111,l=r?Symbol.for("react.concurrent_mode"):60111,p=r?Symbol.for("react.forward_ref"):60112,h=r?Symbol.for("react.suspense"):60113,d=r?Symbol.for("react.suspense_list"):60120,y=r?Symbol.for("react.memo"):60115,m=r?Symbol.for("react.lazy"):60116,v=r?Symbol.for("react.block"):60121,g=r?Symbol.for("react.fundamental"):60117,b=r?Symbol.for("react.responder"):60118,$=r?Symbol.for("react.scope"):60119;function k(e){if("object"==typeof e&&null!==e){var t=e.$$typeof;switch(t){case n:switch(e=e.type){case f:case l:case s:case o:case c:case h:return e;default:switch(e=e&&e.$$typeof){case u:case p:case m:case y:case i:return e;default:return t}}case a:return t}}}function w(e){return k(e)===l}t.AsyncMode=f,t.ConcurrentMode=l,t.ContextConsumer=u,t.ContextProvider=i,t.Element=n,t.ForwardRef=p,t.Fragment=s,t.Lazy=m,t.Memo=y,t.Portal=a,t.Profiler=o,t.StrictMode=c,t.Suspense=h,t.isAsyncMode=function(e){return w(e)||k(e)===f},t.isConcurrentMode=w,t.isContextConsumer=function(e){return k(e)===u},t.isContextProvider=function(e){return k(e)===i},t.isElement=function(e){return"object"==typeof e&&null!==e&&e.$$typeof===n},t.isForwardRef=function(e){return k(e)===p},t.isFragment=function(e){return k(e)===s},t.isLazy=function(e){return k(e)===m},t.isMemo=function(e){return k(e)===y},t.isPortal=function(e){return k(e)===a},t.isProfiler=function(e){return k(e)===o},t.isStrictMode=function(e){return k(e)===c},t.isSuspense=function(e){return k(e)===h},t.isValidElementType=function(e){return"string"==typeof e||"function"==typeof e||e===s||e===l||e===o||e===c||e===h||e===d||"object"==typeof e&&null!==e&&(e.$$typeof===m||e.$$typeof===y||e.$$typeof===i||e.$$typeof===u||e.$$typeof===p||e.$$typeof===g||e.$$typeof===b||e.$$typeof===$||e.$$typeof===v)},t.typeOf=k},89360:function(e,t,r){e.exports=r(92332)},68102:function(e,t,r){r.d(t,{A:()=>n});function n(){return(n=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r)({}).hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e}).apply(null,arguments)}}}]);
|
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
/*! For license information please see 6283.5edb374e.js.LICENSE.txt */
|
|
2
|
+
"use strict";(self.chunk_VictoriaLogs=self.chunk_VictoriaLogs||[]).push([["6283"],{32473:function(t,e,s){var i=s(70451),r="function"==typeof Object.is?Object.is:function(t,e){return t===e&&(0!==t||1/t==1/e)||t!=t&&e!=e},n=i.useState,u=i.useEffect,a=i.useLayoutEffect,o=i.useDebugValue;function l(t){var e=t.getSnapshot;t=t.value;try{var s=e();return!r(t,s)}catch(t){return!0}}var h="undefined"==typeof window||void 0===window.document||void 0===window.document.createElement?function(t,e){return e()}:function(t,e){var s=e(),i=n({inst:{value:s,getSnapshot:e}}),r=i[0].inst,h=i[1];return a(function(){r.value=s,r.getSnapshot=e,l(r)&&h({inst:r})},[t,s,e]),u(function(){return l(r)&&h({inst:r}),t(function(){l(r)&&h({inst:r})})},[t]),o(s),s};e.useSyncExternalStore=void 0!==i.useSyncExternalStore?i.useSyncExternalStore:h},43676:function(t,e,s){t.exports=s(32473)},52854:function(t,e,s){let i,r,n,u,a,o;s.r(e),s.d(e,{isError:()=>F,IsRestoringProvider:()=>tC,dehydrate:()=>th,isServer:()=>h,parseFilterArgs:()=>m,parseMutationFilterArgs:()=>b,queryOptions:()=>tz,useSuspenseQuery:()=>tK,QueriesObserver:()=>tn,defaultContext:()=>tp,QueryClient:()=>$,Query:()=>_,Hydrate:()=>tj,useInfiniteQuery:()=>t_,useIsMutating:()=>tB,CancelledError:()=>L,useQueryClient:()=>tm,isCancelledError:()=>j,matchQuery:()=>g,MutationCache:()=>J,MutationObserver:()=>ta,defaultShouldDehydrateQuery:()=>tl,notifyManager:()=>N,QueryCache:()=>z,useQueries:()=>tI,parseQueryArgs:()=>y,replaceEqualDeep:()=>Q,defaultShouldDehydrateMutation:()=>to,hydrate:()=>tc,useHydrate:()=>tL,useQuery:()=>tT,onlineManager:()=>T,InfiniteQueryObserver:()=>tu,QueryClientProvider:()=>tb,hashQueryKey:()=>R,QueryObserver:()=>tt,useIsRestoring:()=>tO,useSuspenseQueries:()=>tk,parseMutationArgs:()=>v,focusManager:()=>I,useIsFetching:()=>tH,useMutation:()=>tN,useQueryErrorResetBoundary:()=>tQ,QueryErrorResetBoundary:()=>tE});class l{constructor(){this.listeners=new Set,this.subscribe=this.subscribe.bind(this)}subscribe(t){let e={listener:t};return this.listeners.add(e),this.onSubscribe(),()=>{this.listeners.delete(e),this.onUnsubscribe()}}hasListeners(){return this.listeners.size>0}onSubscribe(){}onUnsubscribe(){}}let h="undefined"==typeof window||"Deno"in window;function c(){}function d(t){return"number"==typeof t&&t>=0&&t!==1/0}function f(t,e){return t.filter(t=>!e.includes(t))}function p(t,e){return Math.max(t+(e||0)-Date.now(),0)}function y(t,e,s){return M(t)?"function"==typeof e?{...s,queryKey:t,queryFn:e}:{...e,queryKey:t}:t}function v(t,e,s){return M(t)?"function"==typeof e?{...s,mutationKey:t,mutationFn:e}:{...e,mutationKey:t}:"function"==typeof t?{...e,mutationFn:t}:{...t}}function m(t,e,s){return M(t)?[{...e,queryKey:t},s]:[t||{},e]}function b(t,e,s){return M(t)?[{...e,mutationKey:t},s]:[t||{},e]}function g(t,e){let{type:s="all",exact:i,fetchStatus:r,predicate:n,queryKey:u,stale:a}=t;if(M(u))if(i){if(e.queryHash!==C(u,e.options))return!1}else{var o;if(o=e.queryKey,!S(o,u))return!1}if("all"!==s){let t=e.isActive();if("active"===s&&!t||"inactive"===s&&t)return!1}return("boolean"!=typeof a||e.isStale()===a)&&(void 0===r||r===e.state.fetchStatus)&&(!n||!!n(e))}function O(t,e){let{exact:s,fetching:i,predicate:r,mutationKey:n}=t;if(M(n)){if(!e.options.mutationKey)return!1;if(s){if(R(e.options.mutationKey)!==R(n))return!1}else{var u;if(u=e.options.mutationKey,!S(u,n))return!1}}return("boolean"!=typeof i||"loading"===e.state.status===i)&&(!r||!!r(e))}function C(t,e){return((null==e?void 0:e.queryKeyHashFn)||R)(t)}function R(t){return JSON.stringify(t,(t,e)=>w(e)?Object.keys(e).sort().reduce((t,s)=>(t[s]=e[s],t),{}):e)}function S(t,e){return t===e||typeof t==typeof e&&!!t&&!!e&&"object"==typeof t&&"object"==typeof e&&!Object.keys(e).some(s=>!S(t[s],e[s]))}function Q(t,e){if(t===e)return t;let s=q(t)&&q(e);if(s||w(t)&&w(e)){let i=s?t.length:Object.keys(t).length,r=s?e:Object.keys(e),n=r.length,u=s?[]:{},a=0;for(let i=0;i<n;i++){let n=s?i:r[i];u[n]=Q(t[n],e[n]),u[n]===t[n]&&a++}return i===n&&a===i?t:u}return e}function E(t,e){if(t&&!e||e&&!t)return!1;for(let s in t)if(t[s]!==e[s])return!1;return!0}function q(t){return Array.isArray(t)&&t.length===Object.keys(t).length}function w(t){if(!P(t))return!1;let e=t.constructor;if(void 0===e)return!0;let s=e.prototype;return!!P(s)&&!!s.hasOwnProperty("isPrototypeOf")}function P(t){return"[object Object]"===Object.prototype.toString.call(t)}function M(t){return Array.isArray(t)}function F(t){return t instanceof Error}function x(t){return new Promise(e=>{setTimeout(e,t)})}function D(t){x(0).then(t)}function A(t,e,s){return null!=s.isDataEqual&&s.isDataEqual(t,e)?t:"function"==typeof s.structuralSharing?s.structuralSharing(t,e):!1!==s.structuralSharing?Q(t,e):e}let I=new class extends l{constructor(){super(),this.setup=t=>{if(!h&&window.addEventListener){let e=()=>t();return window.addEventListener("visibilitychange",e,!1),window.addEventListener("focus",e,!1),()=>{window.removeEventListener("visibilitychange",e),window.removeEventListener("focus",e)}}}}onSubscribe(){this.cleanup||this.setEventListener(this.setup)}onUnsubscribe(){if(!this.hasListeners()){var t;null==(t=this.cleanup)||t.call(this),this.cleanup=void 0}}setEventListener(t){var e;this.setup=t,null==(e=this.cleanup)||e.call(this),this.cleanup=t(t=>{"boolean"==typeof t?this.setFocused(t):this.onFocus()})}setFocused(t){this.focused!==t&&(this.focused=t,this.onFocus())}onFocus(){this.listeners.forEach(({listener:t})=>{t()})}isFocused(){return"boolean"==typeof this.focused?this.focused:"undefined"==typeof document||[void 0,"visible","prerender"].includes(document.visibilityState)}},U=["online","offline"],T=new class extends l{constructor(){super(),this.setup=t=>{if(!h&&window.addEventListener){let e=()=>t();return U.forEach(t=>{window.addEventListener(t,e,!1)}),()=>{U.forEach(t=>{window.removeEventListener(t,e)})}}}}onSubscribe(){this.cleanup||this.setEventListener(this.setup)}onUnsubscribe(){if(!this.hasListeners()){var t;null==(t=this.cleanup)||t.call(this),this.cleanup=void 0}}setEventListener(t){var e;this.setup=t,null==(e=this.cleanup)||e.call(this),this.cleanup=t(t=>{"boolean"==typeof t?this.setOnline(t):this.onOnline()})}setOnline(t){this.online!==t&&(this.online=t,this.onOnline())}onOnline(){this.listeners.forEach(({listener:t})=>{t()})}isOnline(){return"boolean"==typeof this.online?this.online:"undefined"==typeof navigator||void 0===navigator.onLine||navigator.onLine}};function K(t){return Math.min(1e3*2**t,3e4)}function k(t){return(null!=t?t:"online")!=="online"||T.isOnline()}class L{constructor(t){this.revert=null==t?void 0:t.revert,this.silent=null==t?void 0:t.silent}}function j(t){return t instanceof L}function H(t){let e,s,i,r=!1,n=0,u=!1,a=new Promise((t,e)=>{s=t,i=e}),o=()=>!I.isFocused()||"always"!==t.networkMode&&!T.isOnline(),l=i=>{u||(u=!0,null==t.onSuccess||t.onSuccess(i),null==e||e(),s(i))},h=s=>{u||(u=!0,null==t.onError||t.onError(s),null==e||e(),i(s))},c=()=>new Promise(s=>{e=t=>{let e=u||!o();return e&&s(t),e},null==t.onPause||t.onPause()}).then(()=>{e=void 0,u||null==t.onContinue||t.onContinue()}),d=()=>{let e;if(!u){try{e=t.fn()}catch(t){e=Promise.reject(t)}Promise.resolve(e).then(l).catch(e=>{var s,i;if(u)return;let a=null!=(s=t.retry)?s:3,l=null!=(i=t.retryDelay)?i:K,f="function"==typeof l?l(n,e):l,p=!0===a||"number"==typeof a&&n<a||"function"==typeof a&&a(n,e);r||!p?h(e):(n++,null==t.onFail||t.onFail(n,e),x(f).then(()=>{if(o())return c()}).then(()=>{r?h(e):d()}))})}};return k(t.networkMode)?d():c().then(d),{promise:a,cancel:e=>{u||(h(new L(e)),null==t.abort||t.abort())},continue:()=>(null==e?void 0:e())?a:Promise.resolve(),cancelRetry:()=>{r=!0},continueRetry:()=>{r=!1}}}let B=console,N=(i=[],r=0,n=t=>{t()},u=t=>{t()},a=t=>{r?i.push(t):D(()=>{n(t)})},o=()=>{let t=i;i=[],t.length&&D(()=>{u(()=>{t.forEach(t=>{n(t)})})})},{batch:t=>{let e;r++;try{e=t()}finally{--r||o()}return e},batchCalls:t=>(...e)=>{a(()=>{t(...e)})},schedule:a,setNotifyFunction:t=>{n=t},setBatchNotifyFunction:t=>{u=t}});class G{destroy(){this.clearGcTimeout()}scheduleGc(){this.clearGcTimeout(),d(this.cacheTime)&&(this.gcTimeout=setTimeout(()=>{this.optionalRemove()},this.cacheTime))}updateCacheTime(t){this.cacheTime=Math.max(this.cacheTime||0,null!=t?t:h?1/0:3e5)}clearGcTimeout(){this.gcTimeout&&(clearTimeout(this.gcTimeout),this.gcTimeout=void 0)}}class _ extends G{constructor(t){super(),this.abortSignalConsumed=!1,this.defaultOptions=t.defaultOptions,this.setOptions(t.options),this.observers=[],this.cache=t.cache,this.logger=t.logger||B,this.queryKey=t.queryKey,this.queryHash=t.queryHash,this.initialState=t.state||function(t){let e="function"==typeof t.initialData?t.initialData():t.initialData,s=void 0!==e,i=s?"function"==typeof t.initialDataUpdatedAt?t.initialDataUpdatedAt():t.initialDataUpdatedAt:0;return{data:e,dataUpdateCount:0,dataUpdatedAt:s?null!=i?i:Date.now():0,error:null,errorUpdateCount:0,errorUpdatedAt:0,fetchFailureCount:0,fetchFailureReason:null,fetchMeta:null,isInvalidated:!1,status:s?"success":"loading",fetchStatus:"idle"}}(this.options),this.state=this.initialState,this.scheduleGc()}get meta(){return this.options.meta}setOptions(t){this.options={...this.defaultOptions,...t},this.updateCacheTime(this.options.cacheTime)}optionalRemove(){this.observers.length||"idle"!==this.state.fetchStatus||this.cache.remove(this)}setData(t,e){let s=A(this.state.data,t,this.options);return this.dispatch({data:s,type:"success",dataUpdatedAt:null==e?void 0:e.updatedAt,manual:null==e?void 0:e.manual}),s}setState(t,e){this.dispatch({type:"setState",state:t,setStateOptions:e})}cancel(t){var e;let s=this.promise;return null==(e=this.retryer)||e.cancel(t),s?s.then(c).catch(c):Promise.resolve()}destroy(){super.destroy(),this.cancel({silent:!0})}reset(){this.destroy(),this.setState(this.initialState)}isActive(){return this.observers.some(t=>!1!==t.options.enabled)}isDisabled(){return this.getObserversCount()>0&&!this.isActive()}isStale(){return this.state.isInvalidated||!this.state.dataUpdatedAt||this.observers.some(t=>t.getCurrentResult().isStale)}isStaleByTime(t=0){return this.state.isInvalidated||!this.state.dataUpdatedAt||!p(this.state.dataUpdatedAt,t)}onFocus(){var t;let e=this.observers.find(t=>t.shouldFetchOnWindowFocus());e&&e.refetch({cancelRefetch:!1}),null==(t=this.retryer)||t.continue()}onOnline(){var t;let e=this.observers.find(t=>t.shouldFetchOnReconnect());e&&e.refetch({cancelRefetch:!1}),null==(t=this.retryer)||t.continue()}addObserver(t){this.observers.includes(t)||(this.observers.push(t),this.clearGcTimeout(),this.cache.notify({type:"observerAdded",query:this,observer:t}))}removeObserver(t){this.observers.includes(t)&&(this.observers=this.observers.filter(e=>e!==t),this.observers.length||(this.retryer&&(this.abortSignalConsumed?this.retryer.cancel({revert:!0}):this.retryer.cancelRetry()),this.scheduleGc()),this.cache.notify({type:"observerRemoved",query:this,observer:t}))}getObserversCount(){return this.observers.length}invalidate(){this.state.isInvalidated||this.dispatch({type:"invalidate"})}fetch(t,e){var s,i,r,n;if("idle"!==this.state.fetchStatus){if(this.state.dataUpdatedAt&&null!=e&&e.cancelRefetch)this.cancel({silent:!0});else if(this.promise)return null==(r=this.retryer)||r.continueRetry(),this.promise}if(t&&this.setOptions(t),!this.options.queryFn){let t=this.observers.find(t=>t.options.queryFn);t&&this.setOptions(t.options)}let u=function(){if("function"==typeof AbortController)return new AbortController}(),a={queryKey:this.queryKey,pageParam:void 0,meta:this.meta},o=t=>{Object.defineProperty(t,"signal",{enumerable:!0,get:()=>{if(u)return this.abortSignalConsumed=!0,u.signal}})};o(a);let l=()=>this.options.queryFn?(this.abortSignalConsumed=!1,this.options.queryFn(a)):Promise.reject("Missing queryFn for queryKey '"+this.options.queryHash+"'"),h={fetchOptions:e,options:this.options,queryKey:this.queryKey,state:this.state,fetchFn:l};o(h),null==(s=this.options.behavior)||s.onFetch(h),this.revertState=this.state,("idle"===this.state.fetchStatus||this.state.fetchMeta!==(null==(i=h.fetchOptions)?void 0:i.meta))&&this.dispatch({type:"fetch",meta:null==(n=h.fetchOptions)?void 0:n.meta});let c=t=>{if(j(t)&&t.silent||this.dispatch({type:"error",error:t}),!j(t)){var e,s,i,r;null==(e=(s=this.cache.config).onError)||e.call(s,t,this),null==(i=(r=this.cache.config).onSettled)||i.call(r,this.state.data,t,this)}this.isFetchingOptimistic||this.scheduleGc(),this.isFetchingOptimistic=!1};return this.retryer=H({fn:h.fetchFn,abort:null==u?void 0:u.abort.bind(u),onSuccess:t=>{var e,s,i,r;void 0===t?c(Error(this.queryHash+" data is undefined")):(this.setData(t),null==(e=(s=this.cache.config).onSuccess)||e.call(s,t,this),null==(i=(r=this.cache.config).onSettled)||i.call(r,t,this.state.error,this),this.isFetchingOptimistic||this.scheduleGc(),this.isFetchingOptimistic=!1)},onError:c,onFail:(t,e)=>{this.dispatch({type:"failed",failureCount:t,error:e})},onPause:()=>{this.dispatch({type:"pause"})},onContinue:()=>{this.dispatch({type:"continue"})},retry:h.options.retry,retryDelay:h.options.retryDelay,networkMode:h.options.networkMode}),this.promise=this.retryer.promise,this.promise}dispatch(t){let e=e=>{var s,i;switch(t.type){case"failed":return{...e,fetchFailureCount:t.failureCount,fetchFailureReason:t.error};case"pause":return{...e,fetchStatus:"paused"};case"continue":return{...e,fetchStatus:"fetching"};case"fetch":return{...e,fetchFailureCount:0,fetchFailureReason:null,fetchMeta:null!=(s=t.meta)?s:null,fetchStatus:k(this.options.networkMode)?"fetching":"paused",...!e.dataUpdatedAt&&{error:null,status:"loading"}};case"success":return{...e,data:t.data,dataUpdateCount:e.dataUpdateCount+1,dataUpdatedAt:null!=(i=t.dataUpdatedAt)?i:Date.now(),error:null,isInvalidated:!1,status:"success",...!t.manual&&{fetchStatus:"idle",fetchFailureCount:0,fetchFailureReason:null}};case"error":let r=t.error;if(j(r)&&r.revert&&this.revertState)return{...this.revertState,fetchStatus:"idle"};return{...e,error:r,errorUpdateCount:e.errorUpdateCount+1,errorUpdatedAt:Date.now(),fetchFailureCount:e.fetchFailureCount+1,fetchFailureReason:r,fetchStatus:"idle",status:"error"};case"invalidate":return{...e,isInvalidated:!0};case"setState":return{...e,...t.state}}};this.state=e(this.state),N.batch(()=>{this.observers.forEach(e=>{e.onQueryUpdate(t)}),this.cache.notify({query:this,type:"updated",action:t})})}}class z extends l{constructor(t){super(),this.config=t||{},this.queries=[],this.queriesMap={}}build(t,e,s){var i;let r=e.queryKey,n=null!=(i=e.queryHash)?i:C(r,e),u=this.get(n);return u||(u=new _({cache:this,logger:t.getLogger(),queryKey:r,queryHash:n,options:t.defaultQueryOptions(e),state:s,defaultOptions:t.getQueryDefaults(r)}),this.add(u)),u}add(t){this.queriesMap[t.queryHash]||(this.queriesMap[t.queryHash]=t,this.queries.push(t),this.notify({type:"added",query:t}))}remove(t){let e=this.queriesMap[t.queryHash];e&&(t.destroy(),this.queries=this.queries.filter(e=>e!==t),e===t&&delete this.queriesMap[t.queryHash],this.notify({type:"removed",query:t}))}clear(){N.batch(()=>{this.queries.forEach(t=>{this.remove(t)})})}get(t){return this.queriesMap[t]}getAll(){return this.queries}find(t,e){let[s]=m(t,e);return void 0===s.exact&&(s.exact=!0),this.queries.find(t=>g(s,t))}findAll(t,e){let[s]=m(t,e);return Object.keys(s).length>0?this.queries.filter(t=>g(s,t)):this.queries}notify(t){N.batch(()=>{this.listeners.forEach(({listener:e})=>{e(t)})})}onFocus(){N.batch(()=>{this.queries.forEach(t=>{t.onFocus()})})}onOnline(){N.batch(()=>{this.queries.forEach(t=>{t.onOnline()})})}}class V extends G{constructor(t){super(),this.defaultOptions=t.defaultOptions,this.mutationId=t.mutationId,this.mutationCache=t.mutationCache,this.logger=t.logger||B,this.observers=[],this.state=t.state||W(),this.setOptions(t.options),this.scheduleGc()}setOptions(t){this.options={...this.defaultOptions,...t},this.updateCacheTime(this.options.cacheTime)}get meta(){return this.options.meta}setState(t){this.dispatch({type:"setState",state:t})}addObserver(t){this.observers.includes(t)||(this.observers.push(t),this.clearGcTimeout(),this.mutationCache.notify({type:"observerAdded",mutation:this,observer:t}))}removeObserver(t){this.observers=this.observers.filter(e=>e!==t),this.scheduleGc(),this.mutationCache.notify({type:"observerRemoved",mutation:this,observer:t})}optionalRemove(){this.observers.length||("loading"===this.state.status?this.scheduleGc():this.mutationCache.remove(this))}continue(){var t,e;return null!=(t=null==(e=this.retryer)?void 0:e.continue())?t:this.execute()}async execute(){var t,e,s,i,r,n,u,a,o,l,h,c,d,f,p,y,v,m,b,g;let O=()=>{var t;return this.retryer=H({fn:()=>this.options.mutationFn?this.options.mutationFn(this.state.variables):Promise.reject("No mutationFn found"),onFail:(t,e)=>{this.dispatch({type:"failed",failureCount:t,error:e})},onPause:()=>{this.dispatch({type:"pause"})},onContinue:()=>{this.dispatch({type:"continue"})},retry:null!=(t=this.options.retry)?t:0,retryDelay:this.options.retryDelay,networkMode:this.options.networkMode}),this.retryer.promise},C="loading"===this.state.status;try{if(!C){this.dispatch({type:"loading",variables:this.options.variables}),await (null==(o=(l=this.mutationCache.config).onMutate)?void 0:o.call(l,this.state.variables,this));let t=await (null==(h=(c=this.options).onMutate)?void 0:h.call(c,this.state.variables));t!==this.state.context&&this.dispatch({type:"loading",context:t,variables:this.state.variables})}let d=await O();return await (null==(t=(e=this.mutationCache.config).onSuccess)?void 0:t.call(e,d,this.state.variables,this.state.context,this)),await (null==(s=(i=this.options).onSuccess)?void 0:s.call(i,d,this.state.variables,this.state.context)),await (null==(r=(n=this.mutationCache.config).onSettled)?void 0:r.call(n,d,null,this.state.variables,this.state.context,this)),await (null==(u=(a=this.options).onSettled)?void 0:u.call(a,d,null,this.state.variables,this.state.context)),this.dispatch({type:"success",data:d}),d}catch(t){try{throw await (null==(d=(f=this.mutationCache.config).onError)?void 0:d.call(f,t,this.state.variables,this.state.context,this)),await (null==(p=(y=this.options).onError)?void 0:p.call(y,t,this.state.variables,this.state.context)),await (null==(v=(m=this.mutationCache.config).onSettled)?void 0:v.call(m,void 0,t,this.state.variables,this.state.context,this)),await (null==(b=(g=this.options).onSettled)?void 0:b.call(g,void 0,t,this.state.variables,this.state.context)),t}finally{this.dispatch({type:"error",error:t})}}}dispatch(t){let e=e=>{switch(t.type){case"failed":return{...e,failureCount:t.failureCount,failureReason:t.error};case"pause":return{...e,isPaused:!0};case"continue":return{...e,isPaused:!1};case"loading":return{...e,context:t.context,data:void 0,failureCount:0,failureReason:null,error:null,isPaused:!k(this.options.networkMode),status:"loading",variables:t.variables};case"success":return{...e,data:t.data,failureCount:0,failureReason:null,error:null,status:"success",isPaused:!1};case"error":return{...e,data:void 0,error:t.error,failureCount:e.failureCount+1,failureReason:t.error,isPaused:!1,status:"error"};case"setState":return{...e,...t.state}}};this.state=e(this.state),N.batch(()=>{this.observers.forEach(e=>{e.onMutationUpdate(t)}),this.mutationCache.notify({mutation:this,type:"updated",action:t})})}}function W(){return{context:void 0,data:void 0,error:null,failureCount:0,failureReason:null,isPaused:!1,status:"idle",variables:void 0}}class J extends l{constructor(t){super(),this.config=t||{},this.mutations=[],this.mutationId=0}build(t,e,s){let i=new V({mutationCache:this,logger:t.getLogger(),mutationId:++this.mutationId,options:t.defaultMutationOptions(e),state:s,defaultOptions:e.mutationKey?t.getMutationDefaults(e.mutationKey):void 0});return this.add(i),i}add(t){this.mutations.push(t),this.notify({type:"added",mutation:t})}remove(t){this.mutations=this.mutations.filter(e=>e!==t),this.notify({type:"removed",mutation:t})}clear(){N.batch(()=>{this.mutations.forEach(t=>{this.remove(t)})})}getAll(){return this.mutations}find(t){return void 0===t.exact&&(t.exact=!0),this.mutations.find(e=>O(t,e))}findAll(t){return this.mutations.filter(e=>O(t,e))}notify(t){N.batch(()=>{this.listeners.forEach(({listener:e})=>{e(t)})})}resumePausedMutations(){var t;return this.resuming=(null!=(t=this.resuming)?t:Promise.resolve()).then(()=>{let t=this.mutations.filter(t=>t.state.isPaused);return N.batch(()=>t.reduce((t,e)=>t.then(()=>e.continue().catch(c)),Promise.resolve()))}).then(()=>{this.resuming=void 0}),this.resuming}}function X(){return{onFetch:t=>{t.fetchFn=()=>{var e,s,i,r,n,u;let a,o=null==(e=t.fetchOptions)||null==(s=e.meta)?void 0:s.refetchPage,l=null==(i=t.fetchOptions)||null==(r=i.meta)?void 0:r.fetchMore,h=null==l?void 0:l.pageParam,c=(null==l?void 0:l.direction)==="forward",d=(null==l?void 0:l.direction)==="backward",f=(null==(n=t.state.data)?void 0:n.pages)||[],p=(null==(u=t.state.data)?void 0:u.pageParams)||[],y=p,v=!1,m=t.options.queryFn||(()=>Promise.reject("Missing queryFn for queryKey '"+t.options.queryHash+"'")),b=(t,e,s,i)=>(y=i?[e,...y]:[...y,e],i?[s,...t]:[...t,s]),g=(e,s,i,r)=>{if(v)return Promise.reject("Cancelled");if(void 0===i&&!s&&e.length)return Promise.resolve(e);let n={queryKey:t.queryKey,pageParam:i,meta:t.options.meta};return Object.defineProperty(n,"signal",{enumerable:!0,get:()=>{var e,s;return null!=(e=t.signal)&&e.aborted?v=!0:null==(s=t.signal)||s.addEventListener("abort",()=>{v=!0}),t.signal}}),Promise.resolve(m(n)).then(t=>b(e,i,t,r))};if(f.length)if(c){let e=void 0!==h,s=e?h:Y(t.options,f);a=g(f,e,s)}else if(d){let e=void 0!==h,s=e?h:Z(t.options,f);a=g(f,e,s,!0)}else{y=[];let e=void 0===t.options.getNextPageParam;a=!o||!f[0]||o(f[0],0,f)?g([],e,p[0]):Promise.resolve(b([],p[0],f[0]));for(let s=1;s<f.length;s++)a=a.then(i=>{if(!o||!f[s]||o(f[s],s,f)){let r=e?p[s]:Y(t.options,i);return g(i,e,r)}return Promise.resolve(b(i,p[s],f[s]))})}else a=g([]);return a.then(t=>({pages:t,pageParams:y}))}}}}function Y(t,e){return null==t.getNextPageParam?void 0:t.getNextPageParam(e[e.length-1],e)}function Z(t,e){return null==t.getPreviousPageParam?void 0:t.getPreviousPageParam(e[0],e)}class ${constructor(t={}){this.queryCache=t.queryCache||new z,this.mutationCache=t.mutationCache||new J,this.logger=t.logger||B,this.defaultOptions=t.defaultOptions||{},this.queryDefaults=[],this.mutationDefaults=[],this.mountCount=0}mount(){this.mountCount++,1===this.mountCount&&(this.unsubscribeFocus=I.subscribe(()=>{I.isFocused()&&(this.resumePausedMutations(),this.queryCache.onFocus())}),this.unsubscribeOnline=T.subscribe(()=>{T.isOnline()&&(this.resumePausedMutations(),this.queryCache.onOnline())}))}unmount(){var t,e;this.mountCount--,0===this.mountCount&&(null==(t=this.unsubscribeFocus)||t.call(this),this.unsubscribeFocus=void 0,null==(e=this.unsubscribeOnline)||e.call(this),this.unsubscribeOnline=void 0)}isFetching(t,e){let[s]=m(t,e);return s.fetchStatus="fetching",this.queryCache.findAll(s).length}isMutating(t){return this.mutationCache.findAll({...t,fetching:!0}).length}getQueryData(t,e){var s;return null==(s=this.queryCache.find(t,e))?void 0:s.state.data}ensureQueryData(t,e,s){let i=y(t,e,s),r=this.getQueryData(i.queryKey);return r?Promise.resolve(r):this.fetchQuery(i)}getQueriesData(t){return this.getQueryCache().findAll(t).map(({queryKey:t,state:e})=>[t,e.data])}setQueryData(t,e,s){let i=this.queryCache.find(t),r=null==i?void 0:i.state.data,n="function"==typeof e?e(r):e;if(void 0===n)return;let u=y(t),a=this.defaultQueryOptions(u);return this.queryCache.build(this,a).setData(n,{...s,manual:!0})}setQueriesData(t,e,s){return N.batch(()=>this.getQueryCache().findAll(t).map(({queryKey:t})=>[t,this.setQueryData(t,e,s)]))}getQueryState(t,e){var s;return null==(s=this.queryCache.find(t,e))?void 0:s.state}removeQueries(t,e){let[s]=m(t,e),i=this.queryCache;N.batch(()=>{i.findAll(s).forEach(t=>{i.remove(t)})})}resetQueries(t,e,s){let[i,r]=m(t,e,s),n=this.queryCache,u={type:"active",...i};return N.batch(()=>(n.findAll(i).forEach(t=>{t.reset()}),this.refetchQueries(u,r)))}cancelQueries(t,e,s){let[i,r={}]=m(t,e,s);return void 0===r.revert&&(r.revert=!0),Promise.all(N.batch(()=>this.queryCache.findAll(i).map(t=>t.cancel(r)))).then(c).catch(c)}invalidateQueries(t,e,s){let[i,r]=m(t,e,s);return N.batch(()=>{var t,e;if(this.queryCache.findAll(i).forEach(t=>{t.invalidate()}),"none"===i.refetchType)return Promise.resolve();let s={...i,type:null!=(t=null!=(e=i.refetchType)?e:i.type)?t:"active"};return this.refetchQueries(s,r)})}refetchQueries(t,e,s){let[i,r]=m(t,e,s),n=Promise.all(N.batch(()=>this.queryCache.findAll(i).filter(t=>!t.isDisabled()).map(t=>{var e;return t.fetch(void 0,{...r,cancelRefetch:null==(e=null==r?void 0:r.cancelRefetch)||e,meta:{refetchPage:i.refetchPage}})}))).then(c);return null!=r&&r.throwOnError||(n=n.catch(c)),n}fetchQuery(t,e,s){let i=y(t,e,s),r=this.defaultQueryOptions(i);void 0===r.retry&&(r.retry=!1);let n=this.queryCache.build(this,r);return n.isStaleByTime(r.staleTime)?n.fetch(r):Promise.resolve(n.state.data)}prefetchQuery(t,e,s){return this.fetchQuery(t,e,s).then(c).catch(c)}fetchInfiniteQuery(t,e,s){let i=y(t,e,s);return i.behavior=X(),this.fetchQuery(i)}prefetchInfiniteQuery(t,e,s){return this.fetchInfiniteQuery(t,e,s).then(c).catch(c)}resumePausedMutations(){return this.mutationCache.resumePausedMutations()}getQueryCache(){return this.queryCache}getMutationCache(){return this.mutationCache}getLogger(){return this.logger}getDefaultOptions(){return this.defaultOptions}setDefaultOptions(t){this.defaultOptions=t}setQueryDefaults(t,e){let s=this.queryDefaults.find(e=>R(t)===R(e.queryKey));s?s.defaultOptions=e:this.queryDefaults.push({queryKey:t,defaultOptions:e})}getQueryDefaults(t){if(!t)return;let e=this.queryDefaults.find(e=>S(t,e.queryKey));return null==e?void 0:e.defaultOptions}setMutationDefaults(t,e){let s=this.mutationDefaults.find(e=>R(t)===R(e.mutationKey));s?s.defaultOptions=e:this.mutationDefaults.push({mutationKey:t,defaultOptions:e})}getMutationDefaults(t){if(!t)return;let e=this.mutationDefaults.find(e=>S(t,e.mutationKey));return null==e?void 0:e.defaultOptions}defaultQueryOptions(t){if(null!=t&&t._defaulted)return t;let e={...this.defaultOptions.queries,...this.getQueryDefaults(null==t?void 0:t.queryKey),...t,_defaulted:!0};return!e.queryHash&&e.queryKey&&(e.queryHash=C(e.queryKey,e)),void 0===e.refetchOnReconnect&&(e.refetchOnReconnect="always"!==e.networkMode),void 0===e.useErrorBoundary&&(e.useErrorBoundary=!!e.suspense),e}defaultMutationOptions(t){return null!=t&&t._defaulted?t:{...this.defaultOptions.mutations,...this.getMutationDefaults(null==t?void 0:t.mutationKey),...t,_defaulted:!0}}clear(){this.queryCache.clear(),this.mutationCache.clear()}}class tt extends l{constructor(t,e){super(),this.client=t,this.options=e,this.trackedProps=new Set,this.selectError=null,this.bindMethods(),this.setOptions(e)}bindMethods(){this.remove=this.remove.bind(this),this.refetch=this.refetch.bind(this)}onSubscribe(){1===this.listeners.size&&(this.currentQuery.addObserver(this),te(this.currentQuery,this.options)&&this.executeFetch(),this.updateTimers())}onUnsubscribe(){this.hasListeners()||this.destroy()}shouldFetchOnReconnect(){return ts(this.currentQuery,this.options,this.options.refetchOnReconnect)}shouldFetchOnWindowFocus(){return ts(this.currentQuery,this.options,this.options.refetchOnWindowFocus)}destroy(){this.listeners=new Set,this.clearStaleTimeout(),this.clearRefetchInterval(),this.currentQuery.removeObserver(this)}setOptions(t,e){let s=this.options,i=this.currentQuery;if(this.options=this.client.defaultQueryOptions(t),E(s,this.options)||this.client.getQueryCache().notify({type:"observerOptionsUpdated",query:this.currentQuery,observer:this}),void 0!==this.options.enabled&&"boolean"!=typeof this.options.enabled)throw Error("Expected enabled to be a boolean");this.options.queryKey||(this.options.queryKey=s.queryKey),this.updateQuery();let r=this.hasListeners();r&&ti(this.currentQuery,i,this.options,s)&&this.executeFetch(),this.updateResult(e),r&&(this.currentQuery!==i||this.options.enabled!==s.enabled||this.options.staleTime!==s.staleTime)&&this.updateStaleTimeout();let n=this.computeRefetchInterval();r&&(this.currentQuery!==i||this.options.enabled!==s.enabled||n!==this.currentRefetchInterval)&&this.updateRefetchInterval(n)}getOptimisticResult(t){var e,s,i;let r=this.client.getQueryCache().build(this.client,t),n=this.createResult(r,t);return e=this,s=n,(i=t).keepPreviousData||(void 0!==i.placeholderData?!s.isPlaceholderData:E(e.getCurrentResult(),s))||(this.currentResult=n,this.currentResultOptions=this.options,this.currentResultState=this.currentQuery.state),n}getCurrentResult(){return this.currentResult}trackResult(t){let e={};return Object.keys(t).forEach(s=>{Object.defineProperty(e,s,{configurable:!1,enumerable:!0,get:()=>(this.trackedProps.add(s),t[s])})}),e}getCurrentQuery(){return this.currentQuery}remove(){this.client.getQueryCache().remove(this.currentQuery)}refetch({refetchPage:t,...e}={}){return this.fetch({...e,meta:{refetchPage:t}})}fetchOptimistic(t){let e=this.client.defaultQueryOptions(t),s=this.client.getQueryCache().build(this.client,e);return s.isFetchingOptimistic=!0,s.fetch().then(()=>this.createResult(s,e))}fetch(t){var e;return this.executeFetch({...t,cancelRefetch:null==(e=t.cancelRefetch)||e}).then(()=>(this.updateResult(),this.currentResult))}executeFetch(t){this.updateQuery();let e=this.currentQuery.fetch(this.options,t);return null!=t&&t.throwOnError||(e=e.catch(c)),e}updateStaleTimeout(){if(this.clearStaleTimeout(),h||this.currentResult.isStale||!d(this.options.staleTime))return;let t=p(this.currentResult.dataUpdatedAt,this.options.staleTime);this.staleTimeoutId=setTimeout(()=>{this.currentResult.isStale||this.updateResult()},t+1)}computeRefetchInterval(){var t;return"function"==typeof this.options.refetchInterval?this.options.refetchInterval(this.currentResult.data,this.currentQuery):null!=(t=this.options.refetchInterval)&&t}updateRefetchInterval(t){this.clearRefetchInterval(),this.currentRefetchInterval=t,!h&&!1!==this.options.enabled&&d(this.currentRefetchInterval)&&0!==this.currentRefetchInterval&&(this.refetchIntervalId=setInterval(()=>{(this.options.refetchIntervalInBackground||I.isFocused())&&this.executeFetch()},this.currentRefetchInterval))}updateTimers(){this.updateStaleTimeout(),this.updateRefetchInterval(this.computeRefetchInterval())}clearStaleTimeout(){this.staleTimeoutId&&(clearTimeout(this.staleTimeoutId),this.staleTimeoutId=void 0)}clearRefetchInterval(){this.refetchIntervalId&&(clearInterval(this.refetchIntervalId),this.refetchIntervalId=void 0)}createResult(t,e){let s,i=this.currentQuery,r=this.options,n=this.currentResult,u=this.currentResultState,a=this.currentResultOptions,o=t!==i,l=o?t.state:this.currentQueryInitialState,h=o?this.currentResult:this.previousQueryResult,{state:c}=t,{dataUpdatedAt:d,error:f,errorUpdatedAt:p,fetchStatus:y,status:v}=c,m=!1,b=!1;if(e._optimisticResults){let s=this.hasListeners(),n=!s&&te(t,e),u=s&&ti(t,i,e,r);(n||u)&&(y=k(t.options.networkMode)?"fetching":"paused",d||(v="loading")),"isRestoring"===e._optimisticResults&&(y="idle")}if(e.keepPreviousData&&!c.dataUpdatedAt&&null!=h&&h.isSuccess&&"error"!==v)s=h.data,d=h.dataUpdatedAt,v=h.status,m=!0;else if(e.select&&void 0!==c.data)if(n&&c.data===(null==u?void 0:u.data)&&e.select===this.selectFn)s=this.selectResult;else try{this.selectFn=e.select,s=e.select(c.data),s=A(null==n?void 0:n.data,s,e),this.selectResult=s,this.selectError=null}catch(t){this.selectError=t}else s=c.data;if(void 0!==e.placeholderData&&void 0===s&&"loading"===v){let t;if(null!=n&&n.isPlaceholderData&&e.placeholderData===(null==a?void 0:a.placeholderData))t=n.data;else if(t="function"==typeof e.placeholderData?e.placeholderData():e.placeholderData,e.select&&void 0!==t)try{t=e.select(t),this.selectError=null}catch(t){this.selectError=t}void 0!==t&&(v="success",s=A(null==n?void 0:n.data,t,e),b=!0)}this.selectError&&(f=this.selectError,s=this.selectResult,p=Date.now(),v="error");let g="fetching"===y,O="loading"===v,C="error"===v;return{status:v,fetchStatus:y,isLoading:O,isSuccess:"success"===v,isError:C,isInitialLoading:O&&g,data:s,dataUpdatedAt:d,error:f,errorUpdatedAt:p,failureCount:c.fetchFailureCount,failureReason:c.fetchFailureReason,errorUpdateCount:c.errorUpdateCount,isFetched:c.dataUpdateCount>0||c.errorUpdateCount>0,isFetchedAfterMount:c.dataUpdateCount>l.dataUpdateCount||c.errorUpdateCount>l.errorUpdateCount,isFetching:g,isRefetching:g&&!O,isLoadingError:C&&0===c.dataUpdatedAt,isPaused:"paused"===y,isPlaceholderData:b,isPreviousData:m,isRefetchError:C&&0!==c.dataUpdatedAt,isStale:tr(t,e),refetch:this.refetch,remove:this.remove}}updateResult(t){let e=this.currentResult,s=this.createResult(this.currentQuery,this.options);if(this.currentResultState=this.currentQuery.state,this.currentResultOptions=this.options,E(s,e))return;this.currentResult=s;let i={cache:!0},r=()=>{if(!e)return!0;let{notifyOnChangeProps:t}=this.options,s="function"==typeof t?t():t;if("all"===s||!s&&!this.trackedProps.size)return!0;let i=new Set(null!=s?s:this.trackedProps);return this.options.useErrorBoundary&&i.add("error"),Object.keys(this.currentResult).some(t=>this.currentResult[t]!==e[t]&&i.has(t))};(null==t?void 0:t.listeners)!==!1&&r()&&(i.listeners=!0),this.notify({...i,...t})}updateQuery(){let t=this.client.getQueryCache().build(this.client,this.options);if(t===this.currentQuery)return;let e=this.currentQuery;this.currentQuery=t,this.currentQueryInitialState=t.state,this.previousQueryResult=this.currentResult,this.hasListeners()&&(null==e||e.removeObserver(this),t.addObserver(this))}onQueryUpdate(t){let e={};"success"===t.type?e.onSuccess=!t.manual:"error"!==t.type||j(t.error)||(e.onError=!0),this.updateResult(e),this.hasListeners()&&this.updateTimers()}notify(t){N.batch(()=>{var e,s,i,r,n,u,a,o;t.onSuccess?(null==(e=(s=this.options).onSuccess)||e.call(s,this.currentResult.data),null==(i=(r=this.options).onSettled)||i.call(r,this.currentResult.data,null)):t.onError&&(null==(n=(u=this.options).onError)||n.call(u,this.currentResult.error),null==(a=(o=this.options).onSettled)||a.call(o,void 0,this.currentResult.error)),t.listeners&&this.listeners.forEach(({listener:t})=>{t(this.currentResult)}),t.cache&&this.client.getQueryCache().notify({query:this.currentQuery,type:"observerResultsUpdated"})})}}function te(t,e){return!1!==e.enabled&&!t.state.dataUpdatedAt&&("error"!==t.state.status||!1!==e.retryOnMount)||t.state.dataUpdatedAt>0&&ts(t,e,e.refetchOnMount)}function ts(t,e,s){if(!1!==e.enabled){let i="function"==typeof s?s(t):s;return"always"===i||!1!==i&&tr(t,e)}return!1}function ti(t,e,s,i){return!1!==s.enabled&&(t!==e||!1===i.enabled)&&(!s.suspense||"error"!==t.state.status)&&tr(t,s)}function tr(t,e){return t.isStaleByTime(e.staleTime)}class tn extends l{constructor(t,e){super(),this.client=t,this.queries=[],this.result=[],this.observers=[],this.observersMap={},e&&this.setQueries(e)}onSubscribe(){1===this.listeners.size&&this.observers.forEach(t=>{t.subscribe(e=>{this.onUpdate(t,e)})})}onUnsubscribe(){this.listeners.size||this.destroy()}destroy(){this.listeners=new Set,this.observers.forEach(t=>{t.destroy()})}setQueries(t,e){this.queries=t,N.batch(()=>{let t=this.observers,s=this.findMatchingObservers(this.queries);s.forEach(t=>t.observer.setOptions(t.defaultedQueryOptions,e));let i=s.map(t=>t.observer),r=Object.fromEntries(i.map(t=>[t.options.queryHash,t])),n=i.map(t=>t.getCurrentResult()),u=i.some((e,s)=>e!==t[s]);t.length===i.length&&!u||(this.observers=i,this.observersMap=r,this.result=n,this.hasListeners()&&(f(t,i).forEach(t=>{t.destroy()}),f(i,t).forEach(t=>{t.subscribe(e=>{this.onUpdate(t,e)})}),this.notify()))})}getCurrentResult(){return this.result}getQueries(){return this.observers.map(t=>t.getCurrentQuery())}getObservers(){return this.observers}getOptimisticResult(t){return this.findMatchingObservers(t).map(t=>t.observer.getOptimisticResult(t.defaultedQueryOptions))}findMatchingObservers(t){let e=this.observers,s=new Map(e.map(t=>[t.options.queryHash,t])),i=t.map(t=>this.client.defaultQueryOptions(t)),r=i.flatMap(t=>{let e=s.get(t.queryHash);return null!=e?[{defaultedQueryOptions:t,observer:e}]:[]}),n=new Set(r.map(t=>t.defaultedQueryOptions.queryHash)),u=i.filter(t=>!n.has(t.queryHash)),a=new Set(r.map(t=>t.observer)),o=e.filter(t=>!a.has(t)),l=t=>{let e=this.client.defaultQueryOptions(t),s=this.observersMap[e.queryHash];return null!=s?s:new tt(this.client,e)},h=u.map((t,e)=>{if(t.keepPreviousData){let s=o[e];if(void 0!==s)return{defaultedQueryOptions:t,observer:s}}return{defaultedQueryOptions:t,observer:l(t)}});return r.concat(h).sort((t,e)=>i.indexOf(t.defaultedQueryOptions)-i.indexOf(e.defaultedQueryOptions))}onUpdate(t,e){let s=this.observers.indexOf(t);if(-1!==s){var i;let t;this.result=(i=this.result,(t=i.slice(0))[s]=e,t),this.notify()}}notify(){N.batch(()=>{this.listeners.forEach(({listener:t})=>{t(this.result)})})}}class tu extends tt{constructor(t,e){super(t,e)}bindMethods(){super.bindMethods(),this.fetchNextPage=this.fetchNextPage.bind(this),this.fetchPreviousPage=this.fetchPreviousPage.bind(this)}setOptions(t,e){super.setOptions({...t,behavior:X()},e)}getOptimisticResult(t){return t.behavior=X(),super.getOptimisticResult(t)}fetchNextPage({pageParam:t,...e}={}){return this.fetch({...e,meta:{fetchMore:{direction:"forward",pageParam:t}}})}fetchPreviousPage({pageParam:t,...e}={}){return this.fetch({...e,meta:{fetchMore:{direction:"backward",pageParam:t}}})}createResult(t,e){var s,i,r,n,u,a;let{state:o}=t,l=super.createResult(t,e),{isFetching:h,isRefetching:c}=l,d=h&&(null==(s=o.fetchMeta)||null==(i=s.fetchMore)?void 0:i.direction)==="forward",f=h&&(null==(r=o.fetchMeta)||null==(n=r.fetchMore)?void 0:n.direction)==="backward";return{...l,fetchNextPage:this.fetchNextPage,fetchPreviousPage:this.fetchPreviousPage,hasNextPage:function(t,e){if(t.getNextPageParam&&Array.isArray(e)){let s=Y(t,e);return null!=s&&!1!==s}}(e,null==(u=o.data)?void 0:u.pages),hasPreviousPage:function(t,e){if(t.getPreviousPageParam&&Array.isArray(e)){let s=Z(t,e);return null!=s&&!1!==s}}(e,null==(a=o.data)?void 0:a.pages),isFetchingNextPage:d,isFetchingPreviousPage:f,isRefetching:c&&!d&&!f}}}class ta extends l{constructor(t,e){super(),this.client=t,this.setOptions(e),this.bindMethods(),this.updateResult()}bindMethods(){this.mutate=this.mutate.bind(this),this.reset=this.reset.bind(this)}setOptions(t){var e;let s=this.options;this.options=this.client.defaultMutationOptions(t),E(s,this.options)||this.client.getMutationCache().notify({type:"observerOptionsUpdated",mutation:this.currentMutation,observer:this}),null==(e=this.currentMutation)||e.setOptions(this.options)}onUnsubscribe(){if(!this.hasListeners()){var t;null==(t=this.currentMutation)||t.removeObserver(this)}}onMutationUpdate(t){this.updateResult();let e={listeners:!0};"success"===t.type?e.onSuccess=!0:"error"===t.type&&(e.onError=!0),this.notify(e)}getCurrentResult(){return this.currentResult}reset(){this.currentMutation=void 0,this.updateResult(),this.notify({listeners:!0})}mutate(t,e){return this.mutateOptions=e,this.currentMutation&&this.currentMutation.removeObserver(this),this.currentMutation=this.client.getMutationCache().build(this.client,{...this.options,variables:void 0!==t?t:this.options.variables}),this.currentMutation.addObserver(this),this.currentMutation.execute()}updateResult(){let t=this.currentMutation?this.currentMutation.state:W(),e="loading"===t.status,s={...t,isLoading:e,isPending:e,isSuccess:"success"===t.status,isError:"error"===t.status,isIdle:"idle"===t.status,mutate:this.mutate,reset:this.reset};this.currentResult=s}notify(t){N.batch(()=>{if(this.mutateOptions&&this.hasListeners()){var e,s,i,r,n,u,a,o;t.onSuccess?(null==(e=(s=this.mutateOptions).onSuccess)||e.call(s,this.currentResult.data,this.currentResult.variables,this.currentResult.context),null==(i=(r=this.mutateOptions).onSettled)||i.call(r,this.currentResult.data,null,this.currentResult.variables,this.currentResult.context)):t.onError&&(null==(n=(u=this.mutateOptions).onError)||n.call(u,this.currentResult.error,this.currentResult.variables,this.currentResult.context),null==(a=(o=this.mutateOptions).onSettled)||a.call(o,void 0,this.currentResult.error,this.currentResult.variables,this.currentResult.context))}t.listeners&&this.listeners.forEach(({listener:t})=>{t(this.currentResult)})})}}function to(t){return t.state.isPaused}function tl(t){return"success"===t.state.status}function th(t,e={}){let s=[],i=[];if(!1!==e.dehydrateMutations){let i=e.shouldDehydrateMutation||to;t.getMutationCache().getAll().forEach(t=>{i(t)&&s.push({mutationKey:t.options.mutationKey,state:t.state})})}if(!1!==e.dehydrateQueries){let s=e.shouldDehydrateQuery||tl;t.getQueryCache().getAll().forEach(t=>{s(t)&&i.push({state:t.state,queryKey:t.queryKey,queryHash:t.queryHash})})}return{mutations:s,queries:i}}function tc(t,e,s){if("object"!=typeof e||null===e)return;let i=t.getMutationCache(),r=t.getQueryCache(),n=e.mutations||[],u=e.queries||[];n.forEach(e=>{var r;i.build(t,{...null==s||null==(r=s.defaultOptions)?void 0:r.mutations,mutationKey:e.mutationKey},e.state)}),u.forEach(({queryKey:e,state:i,queryHash:n})=>{var u;let a=r.get(n);if(a){if(a.state.dataUpdatedAt<i.dataUpdatedAt){let{fetchStatus:t,...e}=i;a.setState(e)}return}r.build(t,{...null==s||null==(u=s.defaultOptions)?void 0:u.queries,queryKey:e,queryHash:n},{...i,fetchStatus:"idle"})})}var td=s(70451);let tf=s(43676).useSyncExternalStore,tp=td.createContext(void 0),ty=td.createContext(!1);function tv(t,e){return t||(e&&"undefined"!=typeof window?(window.ReactQueryClientContext||(window.ReactQueryClientContext=tp),window.ReactQueryClientContext):tp)}let tm=({context:t}={})=>{let e=td.useContext(tv(t,td.useContext(ty)));if(!e)throw Error("No QueryClient set, use QueryClientProvider to set one");return e},tb=({client:t,children:e,context:s,contextSharing:i=!1})=>{td.useEffect(()=>(t.mount(),()=>{t.unmount()}),[t]);let r=tv(s,i);return td.createElement(ty.Provider,{value:!s&&i},td.createElement(r.Provider,{value:t},e))},tg=td.createContext(!1),tO=()=>td.useContext(tg),tC=tg.Provider;function tR(){let t=!1;return{clearReset:()=>{t=!1},reset:()=>{t=!0},isReset:()=>t}}let tS=td.createContext(tR()),tQ=()=>td.useContext(tS),tE=({children:t})=>{let[e]=td.useState(()=>tR());return td.createElement(tS.Provider,{value:e},"function"==typeof t?t(e):t)};function tq(t,e){return"function"==typeof t?t(...e):!!t}let tw=(t,e)=>{(t.suspense||t.useErrorBoundary)&&!e.isReset()&&(t.retryOnMount=!1)},tP=t=>{td.useEffect(()=>{t.clearReset()},[t])},tM=({result:t,errorResetBoundary:e,useErrorBoundary:s,query:i})=>t.isError&&!e.isReset()&&!t.isFetching&&tq(s,[t.error,i]),tF=t=>{t.suspense&&"number"!=typeof t.staleTime&&(t.staleTime=1e3)},tx=(t,e)=>t.isLoading&&t.isFetching&&!e,tD=(t,e,s)=>(null==t?void 0:t.suspense)&&tx(e,s),tA=(t,e,s)=>e.fetchOptimistic(t).then(({data:e})=>{null==t.onSuccess||t.onSuccess(e),null==t.onSettled||t.onSettled(e,null)}).catch(e=>{s.clearReset(),null==t.onError||t.onError(e),null==t.onSettled||t.onSettled(void 0,e)});function tI({queries:t,context:e}){let s=tm({context:e}),i=tO(),r=tQ(),n=td.useMemo(()=>t.map(t=>{let e=s.defaultQueryOptions(t);return e._optimisticResults=i?"isRestoring":"optimistic",e}),[t,s,i]);n.forEach(t=>{tF(t),tw(t,r)}),tP(r);let[u]=td.useState(()=>new tn(s,n)),a=u.getOptimisticResult(n);tf(td.useCallback(t=>i?()=>void 0:u.subscribe(N.batchCalls(t)),[u,i]),()=>u.getCurrentResult(),()=>u.getCurrentResult()),td.useEffect(()=>{u.setQueries(n,{listeners:!1})},[n,u]);let o=a.some((t,e)=>tD(n[e],t,i))?a.flatMap((t,e)=>{let s=n[e],a=u.getObservers()[e];if(s&&a)if(tD(s,t,i))return tA(s,a,r);else tx(t,i)&&tA(s,a,r);return[]}):[];if(o.length>0)throw Promise.all(o);let l=u.getQueries(),h=a.find((t,e)=>{var s,i;return tM({result:t,errorResetBoundary:r,useErrorBoundary:null!=(s=null==(i=n[e])?void 0:i.useErrorBoundary)&&s,query:l[e]})});if(null!=h&&h.error)throw h.error;return a}function tU(t,e){let s=tm({context:t.context}),i=tO(),r=tQ(),n=s.defaultQueryOptions(t);n._optimisticResults=i?"isRestoring":"optimistic",n.onError&&(n.onError=N.batchCalls(n.onError)),n.onSuccess&&(n.onSuccess=N.batchCalls(n.onSuccess)),n.onSettled&&(n.onSettled=N.batchCalls(n.onSettled)),tF(n),tw(n,r),tP(r);let[u]=td.useState(()=>new e(s,n)),a=u.getOptimisticResult(n);if(tf(td.useCallback(t=>{let e=i?()=>void 0:u.subscribe(N.batchCalls(t));return u.updateResult(),e},[u,i]),()=>u.getCurrentResult(),()=>u.getCurrentResult()),td.useEffect(()=>{u.setOptions(n,{listeners:!1})},[n,u]),tD(n,a,i))throw tA(n,u,r);if(tM({result:a,errorResetBoundary:r,useErrorBoundary:n.useErrorBoundary,query:u.getCurrentQuery()}))throw a.error;return n.notifyOnChangeProps?a:u.trackResult(a)}function tT(t,e,s){return tU(y(t,e,s),tt)}function tK(t){return tU({...t,enabled:!0,useErrorBoundary:!0,suspense:!0,placeholderData:void 0,networkMode:"always"},tt)}function tk({queries:t,context:e}){return tI({queries:t.map(t=>({...t,enabled:!0,useErrorBoundary:!0,suspense:!0,placeholderData:void 0,networkMode:"always"})),context:e})}function tL(t,e={}){let s=tm({context:e.context}),i=td.useRef(e);i.current=e,td.useMemo(()=>{t&&tc(s,t,i.current)},[s,t])}let tj=({children:t,options:e,state:s})=>(tL(s,e),t);function tH(t,e,s){let[i,r={}]=m(t,e,s),n=tm({context:r.context}),u=n.getQueryCache();return tf(td.useCallback(t=>u.subscribe(N.batchCalls(t)),[u]),()=>n.isFetching(i),()=>n.isFetching(i))}function tB(t,e,s){let[i,r={}]=b(t,e,s),n=tm({context:r.context}),u=n.getMutationCache();return tf(td.useCallback(t=>u.subscribe(N.batchCalls(t)),[u]),()=>n.isMutating(i),()=>n.isMutating(i))}function tN(t,e,s){let i=v(t,e,s),r=tm({context:i.context}),[n]=td.useState(()=>new ta(r,i));td.useEffect(()=>{n.setOptions(i)},[n,i]);let u=tf(td.useCallback(t=>n.subscribe(N.batchCalls(t)),[n]),()=>n.getCurrentResult(),()=>n.getCurrentResult()),a=td.useCallback((t,e)=>{n.mutate(t,e).catch(tG)},[n]);if(u.error&&tq(n.options.useErrorBoundary,[u.error]))throw u.error;return{...u,mutate:a,mutateAsync:u.mutate}}function tG(){}function t_(t,e,s){return tU(y(t,e,s),tu)}function tz(t){return t}}}]);
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
"use strict";(self.chunk_VictoriaLogs=self.chunk_VictoriaLogs||[]).push([["6854"],{63859:function(e,t,r){r.r(t),r.d(t,{default:()=>g});var n=r(68102),i=r(69402),a=r(37696),o=r(60755),s=r(309),l=r(70451),c=r(19597),d=/^((children|dangerouslySetInnerHTML|key|ref|autoFocus|defaultValue|defaultChecked|innerHTML|suppressContentEditableWarning|suppressHydrationWarning|valueLink|abbr|accept|acceptCharset|accessKey|action|allow|allowUserMedia|allowPaymentRequest|allowFullScreen|allowTransparency|alt|async|autoComplete|autoPlay|capture|cellPadding|cellSpacing|challenge|charSet|checked|cite|classID|className|cols|colSpan|content|contentEditable|contextMenu|controls|controlsList|coords|crossOrigin|data|dateTime|decoding|default|defer|dir|disabled|disablePictureInPicture|disableRemotePlayback|download|draggable|encType|enterKeyHint|fetchpriority|fetchPriority|form|formAction|formEncType|formMethod|formNoValidate|formTarget|frameBorder|headers|height|hidden|high|href|hrefLang|htmlFor|httpEquiv|id|inputMode|integrity|is|keyParams|keyType|kind|label|lang|list|loading|loop|low|marginHeight|marginWidth|max|maxLength|media|mediaGroup|method|min|minLength|multiple|muted|name|nonce|noValidate|open|optimum|pattern|placeholder|playsInline|poster|preload|profile|radioGroup|readOnly|referrerPolicy|rel|required|reversed|role|rows|rowSpan|sandbox|scope|scoped|scrolling|seamless|selected|shape|size|sizes|slot|span|spellCheck|src|srcDoc|srcLang|srcSet|start|step|style|summary|tabIndex|target|title|translate|type|useMap|value|width|wmode|wrap|about|datatype|inlist|prefix|property|resource|typeof|vocab|autoCapitalize|autoCorrect|autoSave|color|incremental|fallback|inert|itemProp|itemScope|itemType|itemID|itemRef|on|option|results|security|unselectable|accentHeight|accumulate|additive|alignmentBaseline|allowReorder|alphabetic|amplitude|arabicForm|ascent|attributeName|attributeType|autoReverse|azimuth|baseFrequency|baselineShift|baseProfile|bbox|begin|bias|by|calcMode|capHeight|clip|clipPathUnits|clipPath|clipRule|colorInterpolation|colorInterpolationFilters|colorProfile|colorRendering|contentScriptType|contentStyleType|cursor|cx|cy|d|decelerate|descent|diffuseConstant|direction|display|divisor|dominantBaseline|dur|dx|dy|edgeMode|elevation|enableBackground|end|exponent|externalResourcesRequired|fill|fillOpacity|fillRule|filter|filterRes|filterUnits|floodColor|floodOpacity|focusable|fontFamily|fontSize|fontSizeAdjust|fontStretch|fontStyle|fontVariant|fontWeight|format|from|fr|fx|fy|g1|g2|glyphName|glyphOrientationHorizontal|glyphOrientationVertical|glyphRef|gradientTransform|gradientUnits|hanging|horizAdvX|horizOriginX|ideographic|imageRendering|in|in2|intercept|k|k1|k2|k3|k4|kernelMatrix|kernelUnitLength|kerning|keyPoints|keySplines|keyTimes|lengthAdjust|letterSpacing|lightingColor|limitingConeAngle|local|markerEnd|markerMid|markerStart|markerHeight|markerUnits|markerWidth|mask|maskContentUnits|maskUnits|mathematical|mode|numOctaves|offset|opacity|operator|order|orient|orientation|origin|overflow|overlinePosition|overlineThickness|panose1|paintOrder|pathLength|patternContentUnits|patternTransform|patternUnits|pointerEvents|points|pointsAtX|pointsAtY|pointsAtZ|preserveAlpha|preserveAspectRatio|primitiveUnits|r|radius|refX|refY|renderingIntent|repeatCount|repeatDur|requiredExtensions|requiredFeatures|restart|result|rotate|rx|ry|scale|seed|shapeRendering|slope|spacing|specularConstant|specularExponent|speed|spreadMethod|startOffset|stdDeviation|stemh|stemv|stitchTiles|stopColor|stopOpacity|strikethroughPosition|strikethroughThickness|string|stroke|strokeDasharray|strokeDashoffset|strokeLinecap|strokeLinejoin|strokeMiterlimit|strokeOpacity|strokeWidth|surfaceScale|systemLanguage|tableValues|targetX|targetY|textAnchor|textDecoration|textRendering|textLength|to|transform|u1|u2|underlinePosition|underlineThickness|unicode|unicodeBidi|unicodeRange|unitsPerEm|vAlphabetic|vHanging|vIdeographic|vMathematical|values|vectorEffect|version|vertAdvY|vertOriginX|vertOriginY|viewBox|viewTarget|visibility|widths|wordSpacing|writingMode|x|xHeight|x1|x2|xChannelSelector|xlinkActuate|xlinkArcrole|xlinkHref|xlinkRole|xlinkShow|xlinkTitle|xlinkType|xmlBase|xmlns|xmlnsXlink|xmlLang|xmlSpace|y|y1|y2|yChannelSelector|z|zoomAndPan|for|class|autofocus)|(([Dd][Aa][Tt][Aa]|[Aa][Rr][Ii][Aa]|x)-.*))$/,p=(0,c.A)(function(e){return d.test(e)||111===e.charCodeAt(0)&&110===e.charCodeAt(1)&&91>e.charCodeAt(2)}),u=function(e){return"theme"!==e},m=function(e){return"string"==typeof e&&e.charCodeAt(0)>96?p:u},f=function(e,t,r){var n;if(t){var i=t.shouldForwardProp;n=e.__emotion_forwardProp&&i?function(t){return e.__emotion_forwardProp(t)&&i(t)}:i}return"function"!=typeof n&&r&&(n=e.__emotion_forwardProp),n},h=function(e){var t=e.cache,r=e.serialized,n=e.isStringTag;return(0,s.SF)(t,r,n),(0,o.s)(function(){return(0,s.sk)(t,r,n)}),null},g=(function e(t,r){var o,c,d=t.__emotion_real===t,p=d&&t.__emotion_base||t;void 0!==r&&(o=r.label,c=r.target);var u=f(t,r,d),g=u||m(p),y=!g("as");return function(){var v=arguments,k=d&&void 0!==t.__emotion_styles?t.__emotion_styles.slice(0):[];if(void 0!==o&&k.push("label:"+o+";"),null==v[0]||void 0===v[0].raw)k.push.apply(k,v);else{var b=v[0];k.push(b[0]);for(var x=v.length,_=1;_<x;_++)k.push(v[_],b[_])}var w=(0,i.withEmotionCache)(function(e,t,r){var n=y&&e.as||p,o="",d=[],f=e;if(null==e.theme){for(var v in f={},e)f[v]=e[v];f.theme=l.useContext(i.ThemeContext)}"string"==typeof e.className?o=(0,s.Rk)(t.registered,d,e.className):null!=e.className&&(o=e.className+" ");var b=(0,a.J)(k.concat(d),t.registered,f);o+=t.key+"-"+b.name,void 0!==c&&(o+=" "+c);var x=y&&void 0===u?m(n):g,_={};for(var w in e)(!y||"as"!==w)&&x(w)&&(_[w]=e[w]);return _.className=o,r&&(_.ref=r),l.createElement(l.Fragment,null,l.createElement(h,{cache:t,serialized:b,isStringTag:"string"==typeof n}),l.createElement(n,_))});return w.displayName=void 0!==o?o:"Styled("+("string"==typeof p?p:p.displayName||p.name||"Component")+")",w.defaultProps=t.defaultProps,w.__emotion_real=w,w.__emotion_base=p,w.__emotion_styles=k,w.__emotion_forwardProp=u,Object.defineProperty(w,"toString",{value:function(){return"."+c}}),w.withComponent=function(t,i){return e(t,(0,n.A)({},r,i,{shouldForwardProp:f(w,i,!0)})).apply(void 0,k)},w}}).bind(null);["a","abbr","address","area","article","aside","audio","b","base","bdi","bdo","big","blockquote","body","br","button","canvas","caption","cite","code","col","colgroup","data","datalist","dd","del","details","dfn","dialog","div","dl","dt","em","embed","fieldset","figcaption","figure","footer","form","h1","h2","h3","h4","h5","h6","head","header","hgroup","hr","html","i","iframe","img","input","ins","kbd","keygen","label","legend","li","link","main","map","mark","marquee","menu","menuitem","meta","meter","nav","noscript","object","ol","optgroup","option","output","p","param","picture","pre","progress","q","rp","rt","ruby","s","samp","script","section","select","small","source","span","strong","style","sub","summary","sup","table","tbody","td","textarea","tfoot","th","thead","time","title","tr","track","u","ul","var","video","wbr","circle","clipPath","defs","ellipse","foreignObject","g","image","line","linearGradient","mask","path","pattern","polygon","polyline","radialGradient","rect","stop","svg","text","tspan"].forEach(function(e){g[e]=g(e)})},60755:function(e,t,r){r.d(t,{i:()=>o,s:()=>a});var n=r(70451),i=!!n.useInsertionEffect&&n.useInsertionEffect,a=i||function(e){return e()},o=i||n.useLayoutEffect},309:function(e,t,r){function n(e,t,r){var n="";return r.split(" ").forEach(function(r){void 0!==e[r]?t.push(e[r]+";"):r&&(n+=r+" ")}),n}r.d(t,{Rk:()=>n,SF:()=>i,sk:()=>a});var i=function(e,t,r){var n=e.key+"-"+t.name;!1===r&&void 0===e.registered[n]&&(e.registered[n]=t.styles)},a=function(e,t,r){i(e,t,r);var n=e.key+"-"+t.name;if(void 0===e.inserted[t.name]){var a=t;do e.insert(t===a?"."+n:"",a,e.sheet,!0),a=a.next;while(void 0!==a)}}},68102:function(e,t,r){r.d(t,{A:()=>n});function n(){return(n=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r)({}).hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e}).apply(null,arguments)}}}]);
|
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";(self.chunk_VictoriaLogs=self.chunk_VictoriaLogs||[]).push([["
|
|
1
|
+
"use strict";(self.chunk_VictoriaLogs=self.chunk_VictoriaLogs||[]).push([["7177"],{23712:function(){}}]);
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
"use strict";(self.chunk_VictoriaLogs=self.chunk_VictoriaLogs||[]).push([["7192"],{89227:function(e,t,n){n.r(t),n.d(t,{subSeconds:()=>rv,quartersToMonths:()=>nA,isThisWeek:()=>tV,isTuesday:()=>t6,millisecondsToHours:()=>nd,getUnixTime:()=>tf,eachQuarterOfInterval:()=>eD,setDay:()=>n6.l,intlFormatDistance:()=>tp,isSameHour:()=>tU.l,isSaturday:()=>o,differenceInSeconds:()=>eo,isSameQuarter:()=>tX,hoursToMinutes:()=>ty,secondsToMilliseconds:()=>nV,startOfWeekYear:()=>ru.b,getDay:()=>e3,startOfDay:()=>ro.o,startOfYesterday:()=>rh,endOfHour:()=>eY,formatDistanceToNow:()=>eP,endOfQuarter:()=>eb,max:()=>F,constructNow:()=>H,formatRelative:()=>e0,subMilliseconds:()=>ry,isThursday:()=>t1,addMilliseconds:()=>y.A,yearsToMonths:()=>rY,isSameISOWeek:()=>tq,isToday:()=>t2,formatDistanceToNowStrict:()=>eX,isTomorrow:()=>t3,getOverlappingDaysInIntervals:()=>ts,differenceInCalendarMonths:()=>X,addHours:()=>d.L,differenceInCalendarQuarters:()=>z,eachWeekOfInterval:()=>ey,formatRFC3339:()=>eB,lastDayOfDecade:()=>t8,minutesToSeconds:()=>nD,getMinutes:()=>tu.O,previousFriday:()=>nG,differenceInCalendarISOWeekYears:()=>q,differenceInISOWeekYears:()=>ee,getMilliseconds:()=>ta.D,isAfter:()=>tT.d,toDate:()=>i.a,subWeeks:()=>rS,setISOWeek:()=>n8.O,isPast:()=>tC,differenceInWeeks:()=>el,isThisHour:()=>tJ,previousSunday:()=>nZ,nextTuesday:()=>nF,startOfMonth:()=>ew.w,isYesterday:()=>t7,eachHourOfInterval:()=>eh,minutesToHours:()=>nM,eachMinuteOfInterval:()=>eg,weeksToDays:()=>rN,yearsToDays:()=>rF,min:()=>Y,subDays:()=>t5,setMilliseconds:()=>re.$,differenceInMilliseconds:()=>et,lastDayOfYear:()=>na,differenceInYears:()=>ef,constructFrom:()=>u.w,getWeekOfMonth:()=>td,hoursToSeconds:()=>tO,millisecondsToMinutes:()=>nh,monthsToYears:()=>nO,isWeekend:()=>f,isExists:()=>tk,isFriday:()=>tx,getDayOfYear:()=>e6.F,previousThursday:()=>nz,nextDay:()=>nw,getISOWeeksInYear:()=>tr,parseISO:()=>nk,secondsToMinutes:()=>n0,lightFormatters:()=>nu.C,sub:()=>rM,formatISO:()=>eJ,isSameWeek:()=>tE,lastDayOfMonth:()=>tg,setDate:()=>n3.X,quartersToYears:()=>nL,interval:()=>tw,isLeapYear:()=>e9,setYear:()=>rs.i,nextWednesday:()=>nY,endOfMinute:()=>e$,parsers:()=>tb.T_,isEqual:()=>tY.n,milliseconds:()=>nc,previousDay:()=>nR,differenceInHours:()=>K,eachDayOfInterval:()=>ed,setDayOfYear:()=>n4,subISOWeekYears:()=>V,differenceInCalendarDays:()=>g.m,endOfISOWeek:()=>eI,getDate:()=>e2.p,getWeeksInMonth:()=>tM,getHours:()=>te.q,isValid:()=>U.f,getYear:()=>tm.C,roundToNearestHours:()=>nB,nextFriday:()=>nv,set:()=>n2,yearsToQuarters:()=>rk,eachWeekendOfInterval:()=>eO,areIntervalsOverlapping:()=>T,getMonth:()=>ti.t,isThisISOWeek:()=>tA,setISODay:()=>n7.a,setDefaultOptions:()=>n9,closestTo:()=>x,isThisSecond:()=>tK,setISOWeekYear:()=>m,millisecondsToSeconds:()=>ng,lightFormat:()=>nf,compareDesc:()=>b,previousWednesday:()=>nJ,startOfHour:()=>rf.Q,closestIndexTo:()=>I,endOfSecond:()=>eH,daysToWeeks:()=>W,differenceInCalendarWeeks:()=>J,isDate:()=>tF.$,isThisMinute:()=>tL,isFirstDayOfMonth:()=>tI,isThisQuarter:()=>t_,formatRFC7231:()=>eV,roundToNearestMinutes:()=>n_,setHours:()=>n5.a,subMinutes:()=>rO,longFormatters:()=>eE.m,endOfMonth:()=>ea.p,getISOWeekYear:()=>h.p,isBefore:()=>tN.Y,lastDayOfISOWeek:()=>nt,parseJSON:()=>nQ,startOfMinute:()=>tR,setQuarter:()=>rn,compareAsc:()=>$,startOfTomorrow:()=>rd,eachWeekendOfMonth:()=>ev,subMonths:()=>rg,endOfISOWeekYear:()=>ex,formatters:()=>eE._J,endOfWeek:()=>ek.$,differenceInDays:()=>L,differenceInCalendarYears:()=>A,setMonth:()=>n1.Z,isSameMonth:()=>tP.t,addSeconds:()=>v.p,isWednesday:()=>t4,differenceInQuarters:()=>es,getDecade:()=>e7,subYears:()=>rp,addMonths:()=>a.P,setWeekYear:()=>ri,addBusinessDays:()=>c,getDefaultOptions:()=>e8.q,subQuarters:()=>rw,isSameDay:()=>C.r,startOfSecond:()=>tZ,isLastDayOfMonth:()=>eu,subBusinessDays:()=>rm,isWithinInterval:()=>t9.v,startOfYear:()=>ep.D,formatDistance:()=>eR,formatISODuration:()=>eL,eachMonthOfInterval:()=>eM,nextMonday:()=>nS,addYears:()=>p.e,intervalToDuration:()=>tv,getDaysInYear:()=>e5,formatDate:()=>eE.Yq,monthsToQuarters:()=>ny,parse:()=>tb.qg,nextSaturday:()=>np,isSameMinute:()=>tG,lastDayOfQuarter:()=>nr,format:()=>eE.GP,isFuture:()=>t$,addISOWeekYears:()=>D,endOfDecade:()=>eF,minutesToMilliseconds:()=>nm,setMinutes:()=>rt.g,getQuarter:()=>Z,formatISO9075:()=>eA,nextThursday:()=>nN,endOfYear:()=>eS.Q,startOfToday:()=>rc,clamp:()=>k,setWeek:()=>ra.Z,getISODay:()=>tt.g,addDays:()=>r.f,formatDistanceStrict:()=>eG,startOfISOWeek:()=>G.b,hoursToMilliseconds:()=>tD,startOfWeek:()=>j.k,getWeek:()=>tc.N,differenceInMonths:()=>ei,isSameYear:()=>tj.s,isMatch:()=>tH,isThisYear:()=>t0,addMinutes:()=>O.z,nextSunday:()=>nT,startOfQuarter:()=>em,previousSaturday:()=>nX,lastDayOfISOWeekYear:()=>nn,add:()=>s,getDaysInMonth:()=>e4.P,isThisMonth:()=>tB,previousMonday:()=>nP,intlFormat:()=>tS,formatDuration:()=>ez,isSunday:()=>l,addQuarters:()=>w,transpose:()=>rT.m,getSeconds:()=>to.S,endOfDay:()=>er.D,lastDayOfWeek:()=>ne,isSameSecond:()=>tz,startOfISOWeekYear:()=>M.w,endOfTomorrow:()=>eC,getWeekYear:()=>th.h,previousTuesday:()=>nj,endOfToday:()=>eW,differenceInMinutes:()=>en,fromUnixTime:()=>e1,startOfDecade:()=>rl,differenceInCalendarISOWeeks:()=>P,endOfYesterday:()=>eU,isMonday:()=>tW,setSeconds:()=>rr.g,eachWeekendOfYear:()=>eT,eachYearOfInterval:()=>eN,subHours:()=>rD,isSameISOWeekYear:()=>tQ,getTime:()=>tl,secondsToHours:()=>nK,differenceInBusinessDays:()=>E,getISOWeek:()=>tn.s,addWeeks:()=>S.J});var r=n(65130),a=n(38086),u=n(12015),i=n(4721);function s(e,t,n){let{years:s=0,months:o=0,weeks:l=0,days:f=0,hours:c=0,minutes:d=0,seconds:h=0}=t,g=(0,i.a)(e,n?.in),M=o||s?(0,a.P)(g,o+12*s):g,m=f||l?(0,r.f)(M,f+7*l):M;return(0,u.w)(n?.in||e,+m+1e3*(h+60*(d+60*c)))}function o(e,t){return 6===(0,i.a)(e,t?.in).getDay()}function l(e,t){return 0===(0,i.a)(e,t?.in).getDay()}function f(e,t){let n=(0,i.a)(e,t?.in).getDay();return 0===n||6===n}function c(e,t,n){let r=(0,i.a)(e,n?.in),a=f(r,n);if(isNaN(t))return(0,u.w)(n?.in,NaN);let s=r.getHours(),c=t<0?-1:1,d=Math.trunc(t/5);r.setDate(r.getDate()+7*d);let h=Math.abs(t%5);for(;h>0;)r.setDate(r.getDate()+c),f(r,n)||(h-=1);return a&&f(r,n)&&0!==t&&(o(r,n)&&r.setDate(r.getDate()+(c<0?2:-1)),l(r,n)&&r.setDate(r.getDate()+(c<0?1:-2))),r.setHours(s),r}var d=n(54266),h=n(51528),g=n(72077),M=n(16363);function m(e,t,n){let r=(0,i.a)(e,n?.in),a=(0,g.m)(r,(0,M.w)(r,n)),s=(0,u.w)(n?.in||e,0);return s.setFullYear(t,0,4),s.setHours(0,0,0,0),(r=(0,M.w)(s)).setDate(r.getDate()+a),r}function D(e,t,n){return m(e,(0,h.p)(e,n)+t,n)}var y=n(67251),O=n(47196);function w(e,t,n){return(0,a.P)(e,3*t,n)}var v=n(43628),S=n(54708),p=n(16299);function T(e,t,n){let[r,a]=[+(0,i.a)(e.start,n?.in),+(0,i.a)(e.end,n?.in)].sort((e,t)=>e-t),[u,s]=[+(0,i.a)(t.start,n?.in),+(0,i.a)(t.end,n?.in)].sort((e,t)=>e-t);return n?.inclusive?r<=s&&u<=a:r<s&&u<a}var N=n(79147);function F(e,t){let n,r=t?.in;return e.forEach(e=>{r||"object"!=typeof e||(r=u.w.bind(null,e));let t=(0,i.a)(e,r);(!n||n<t||isNaN(+t))&&(n=t)}),(0,u.w)(r,n||NaN)}function Y(e,t){let n,r=t?.in;return e.forEach(e=>{r||"object"!=typeof e||(r=u.w.bind(null,e));let t=(0,i.a)(e,r);(!n||n>t||isNaN(+t))&&(n=t)}),(0,u.w)(r,n||NaN)}function k(e,t,n){let[r,a,u]=(0,N.x)(n?.in,e,t.start,t.end);return Y([F([r,a],n),u],n)}function I(e,t){let n,r,a=+(0,i.a)(e);return isNaN(a)?NaN:(t.forEach((e,t)=>{let u=(0,i.a)(e);if(isNaN(+u)){n=NaN,r=NaN;return}let s=Math.abs(a-u);(null==n||s<r)&&(n=t,r=s)}),n)}function x(e,t,n){let[r,...a]=(0,N.x)(n?.in,e,...t),i=I(r,a);return"number"==typeof i&&isNaN(i)?(0,u.w)(r,NaN):void 0!==i?a[i]:void 0}function $(e,t){let n=(0,i.a)(e)-(0,i.a)(t);return n<0?-1:n>0?1:n}function b(e,t){let n=(0,i.a)(e)-(0,i.a)(t);return n>0?-1:n<0?1:n}function H(e){return(0,u.w)(e,Date.now())}function W(e){let t=Math.trunc(e/7);return 0===t?0:t}var C=n(45350),U=n(268);function E(e,t,n){let[a,u]=(0,N.x)(n?.in,e,t);if(!(0,U.f)(a)||!(0,U.f)(u))return NaN;let i=(0,g.m)(a,u),s=i<0?-1:1,o=Math.trunc(i/7),l=5*o,c=(0,r.f)(u,7*o);for(;!(0,C.r)(a,c);)l+=f(c,n)?0:s,c=(0,r.f)(c,s);return 0===l?0:l}function q(e,t,n){let[r,a]=(0,N.x)(n?.in,e,t);return(0,h.p)(r,n)-(0,h.p)(a,n)}var Q=n(63134),R=n(30439),G=n(29350);function P(e,t,n){let[r,a]=(0,N.x)(n?.in,e,t),u=(0,G.b)(r),i=(0,G.b)(a);return Math.round((u-(0,Q.G)(u)-(i-(0,Q.G)(i)))/R.my)}function X(e,t,n){let[r,a]=(0,N.x)(n?.in,e,t);return 12*(r.getFullYear()-a.getFullYear())+(r.getMonth()-a.getMonth())}function Z(e,t){return Math.trunc((0,i.a)(e,t?.in).getMonth()/3)+1}function z(e,t,n){let[r,a]=(0,N.x)(n?.in,e,t);return 4*(r.getFullYear()-a.getFullYear())+(Z(r)-Z(a))}var j=n(53819);function J(e,t,n){let[r,a]=(0,N.x)(n?.in,e,t),u=(0,j.k)(r,n),i=(0,j.k)(a,n);return Math.round((u-(0,Q.G)(u)-(i-(0,Q.G)(i)))/R.my)}function A(e,t,n){let[r,a]=(0,N.x)(n?.in,e,t);return r.getFullYear()-a.getFullYear()}function L(e,t,n){let[r,a]=(0,N.x)(n?.in,e,t),u=B(r,a),i=Math.abs((0,g.m)(r,a));r.setDate(r.getDate()-u*i);let s=Number(B(r,a)===-u),o=u*(i-s);return 0===o?0:o}function B(e,t){let n=e.getFullYear()-t.getFullYear()||e.getMonth()-t.getMonth()||e.getDate()-t.getDate()||e.getHours()-t.getHours()||e.getMinutes()-t.getMinutes()||e.getSeconds()-t.getSeconds()||e.getMilliseconds()-t.getMilliseconds();return n<0?-1:n>0?1:n}function _(e){return t=>{let n=(e?Math[e]:Math.trunc)(t);return 0===n?0:n}}function K(e,t,n){let[r,a]=(0,N.x)(n?.in,e,t),u=(r-a)/R.s0;return _(n?.roundingMethod)(u)}function V(e,t,n){return D(e,-t,n)}function ee(e,t,n){let[r,a]=(0,N.x)(n?.in,e,t),u=$(r,a),i=Math.abs(q(r,a,n)),s=Number($(V(r,u*i,n),a)===-u),o=u*(i-s);return 0===o?0:o}function et(e,t){return(0,i.a)(e)-(0,i.a)(t)}function en(e,t,n){let r=et(e,t)/6e4;return _(n?.roundingMethod)(r)}var er=n(85910),ea=n(73206);function eu(e,t){let n=(0,i.a)(e,t?.in);return+(0,er.D)(n,t)==+(0,ea.p)(n,t)}function ei(e,t,n){let[r,a,u]=(0,N.x)(n?.in,e,e,t),i=$(a,u),s=Math.abs(X(a,u));if(s<1)return 0;1===a.getMonth()&&a.getDate()>27&&a.setDate(30),a.setMonth(a.getMonth()-i*s);let o=$(a,u)===-i;eu(r)&&1===s&&1===$(r,u)&&(o=!1);let l=i*(s-o);return 0===l?0:l}function es(e,t,n){let r=ei(e,t,n)/3;return _(n?.roundingMethod)(r)}function eo(e,t,n){let r=et(e,t)/1e3;return _(n?.roundingMethod)(r)}function el(e,t,n){let r=L(e,t,n)/7;return _(n?.roundingMethod)(r)}function ef(e,t,n){let[r,a]=(0,N.x)(n?.in,e,t),u=$(r,a),i=Math.abs(A(r,a));r.setFullYear(1584),a.setFullYear(1584);let s=$(r,a)===-u,o=u*(i-s);return 0===o?0:o}function ec(e,t){let[n,r]=(0,N.x)(e,t.start,t.end);return{start:n,end:r}}function ed(e,t){let{start:n,end:r}=ec(t?.in,e),a=+n>+r,i=a?+n:+r,s=a?r:n;s.setHours(0,0,0,0);let o=t?.step??1;if(!o)return[];o<0&&(o=-o,a=!a);let l=[];for(;+s<=i;)l.push((0,u.w)(n,s)),s.setDate(s.getDate()+o),s.setHours(0,0,0,0);return a?l.reverse():l}function eh(e,t){let{start:n,end:r}=ec(t?.in,e),a=+n>+r,i=a?+n:+r,s=a?r:n;s.setMinutes(0,0,0);let o=t?.step??1;if(!o)return[];o<0&&(o=-o,a=!a);let l=[];for(;+s<=i;)l.push((0,u.w)(n,s)),s.setHours(s.getHours()+o);return a?l.reverse():l}function eg(e,t){let{start:n,end:r}=ec(t?.in,e);n.setSeconds(0,0);let a=+n>+r,i=a?+n:+r,s=a?r:n,o=t?.step??1;if(!o)return[];o<0&&(o=-o,a=!a);let l=[];for(;+s<=i;)l.push((0,u.w)(n,s)),s=(0,O.z)(s,o);return a?l.reverse():l}function eM(e,t){let{start:n,end:r}=ec(t?.in,e),a=+n>+r,i=a?+n:+r,s=a?r:n;s.setHours(0,0,0,0),s.setDate(1);let o=t?.step??1;if(!o)return[];o<0&&(o=-o,a=!a);let l=[];for(;+s<=i;)l.push((0,u.w)(n,s)),s.setMonth(s.getMonth()+o);return a?l.reverse():l}function em(e,t){let n=(0,i.a)(e,t?.in),r=n.getMonth();return n.setMonth(r-r%3,1),n.setHours(0,0,0,0),n}function eD(e,t){let{start:n,end:r}=ec(t?.in,e),a=+n>+r,i=a?+em(n):+em(r),s=a?em(r):em(n),o=t?.step??1;if(!o)return[];o<0&&(o=-o,a=!a);let l=[];for(;+s<=i;)l.push((0,u.w)(n,s)),s=w(s,o);return a?l.reverse():l}function ey(e,t){let{start:n,end:r}=ec(t?.in,e),a=+n>+r,i=a?(0,j.k)(r,t):(0,j.k)(n,t),s=a?(0,j.k)(n,t):(0,j.k)(r,t);i.setHours(15),s.setHours(15);let o=+s.getTime(),l=i,f=t?.step??1;if(!f)return[];f<0&&(f=-f,a=!a);let c=[];for(;+l<=o;)l.setHours(0),c.push((0,u.w)(n,l)),(l=(0,S.J)(l,f)).setHours(15);return a?c.reverse():c}function eO(e,t){let{start:n,end:r}=ec(t?.in,e),a=ed({start:n,end:r},t),i=[],s=0;for(;s<a.length;){let e=a[s++];f(e)&&i.push((0,u.w)(n,e))}return i}var ew=n(19681);function ev(e,t){return eO({start:(0,ew.w)(e,t),end:(0,ea.p)(e,t)},t)}var eS=n(65043),ep=n(96058);function eT(e,t){return eO({start:(0,ep.D)(e,t),end:(0,eS.Q)(e,t)},t)}function eN(e,t){let{start:n,end:r}=ec(t?.in,e),a=+n>+r,i=a?+n:+r,s=a?r:n;s.setHours(0,0,0,0),s.setMonth(0,1);let o=t?.step??1;if(!o)return[];o<0&&(o=-o,a=!a);let l=[];for(;+s<=i;)l.push((0,u.w)(n,s)),s.setFullYear(s.getFullYear()+o);return a?l.reverse():l}function eF(e,t){let n=(0,i.a)(e,t?.in),r=9+10*Math.floor(n.getFullYear()/10);return n.setFullYear(r,11,31),n.setHours(23,59,59,999),n}function eY(e,t){let n=(0,i.a)(e,t?.in);return n.setMinutes(59,59,999),n}var ek=n(44766);function eI(e,t){return(0,ek.$)(e,{...t,weekStartsOn:1})}function ex(e,t){let n=(0,h.p)(e,t),r=(0,u.w)(t?.in||e,0);r.setFullYear(n+1,0,4),r.setHours(0,0,0,0);let a=(0,G.b)(r,t);return a.setMilliseconds(a.getMilliseconds()-1),a}function e$(e,t){let n=(0,i.a)(e,t?.in);return n.setSeconds(59,999),n}function eb(e,t){let n=(0,i.a)(e,t?.in),r=n.getMonth();return n.setMonth(r-r%3+3,0),n.setHours(23,59,59,999),n}function eH(e,t){let n=(0,i.a)(e,t?.in);return n.setMilliseconds(999),n}function eW(e){return(0,er.D)(Date.now(),e)}function eC(e){let t=H(e?.in),n=t.getFullYear(),r=t.getMonth(),a=t.getDate(),u=H(e?.in);return u.setFullYear(n,r,a+1),u.setHours(23,59,59,999),e?.in?e.in(u):u}function eU(e){let t=H(e?.in),n=(0,u.w)(e?.in,0);return n.setFullYear(t.getFullYear(),t.getMonth(),t.getDate()-1),n.setHours(23,59,59,999),n}var eE=n(96962),eq=n(67671),eQ=n(350);function eR(e,t,n){let r,a=(0,eQ.q)(),u=n?.locale??a.locale??eq.c,i=$(e,t);if(isNaN(i))throw RangeError("Invalid time value");let s=Object.assign({},n,{addSuffix:n?.addSuffix,comparison:i}),[o,l]=(0,N.x)(n?.in,...i>0?[t,e]:[e,t]),f=eo(l,o),c=Math.round((f-((0,Q.G)(l)-(0,Q.G)(o))/1e3)/60);if(c<2)if(n?.includeSeconds)if(f<5)return u.formatDistance("lessThanXSeconds",5,s);else if(f<10)return u.formatDistance("lessThanXSeconds",10,s);else if(f<20)return u.formatDistance("lessThanXSeconds",20,s);else if(f<40)return u.formatDistance("halfAMinute",0,s);else if(f<60)return u.formatDistance("lessThanXMinutes",1,s);else return u.formatDistance("xMinutes",1,s);else if(0===c)return u.formatDistance("lessThanXMinutes",1,s);else return u.formatDistance("xMinutes",c,s);if(c<45)return u.formatDistance("xMinutes",c,s);if(c<90)return u.formatDistance("aboutXHours",1,s);if(c<1440){let e=Math.round(c/60);return u.formatDistance("aboutXHours",e,s)}if(c<2520)return u.formatDistance("xDays",1,s);else if(c<43200){let e=Math.round(c/1440);return u.formatDistance("xDays",e,s)}else if(c<86400)return r=Math.round(c/43200),u.formatDistance("aboutXMonths",r,s);if((r=ei(l,o))<12){let e=Math.round(c/43200);return u.formatDistance("xMonths",e,s)}{let e=r%12,t=Math.trunc(r/12);return e<3?u.formatDistance("aboutXYears",t,s):e<9?u.formatDistance("overXYears",t,s):u.formatDistance("almostXYears",t+1,s)}}function eG(e,t,n){let r,a=(0,eQ.q)(),u=n?.locale??a.locale??eq.c,i=$(e,t);if(isNaN(i))throw RangeError("Invalid time value");let s=Object.assign({},n,{addSuffix:n?.addSuffix,comparison:i}),[o,l]=(0,N.x)(n?.in,...i>0?[t,e]:[e,t]),f=_(n?.roundingMethod??"round"),c=l.getTime()-o.getTime(),d=c/6e4,h=(c-((0,Q.G)(l)-(0,Q.G)(o)))/6e4,g=n?.unit;if("second"===(r=g||(d<1?"second":d<60?"minute":d<1440?"hour":h<43200?"day":h<525600?"month":"year"))){let e=f(c/1e3);return u.formatDistance("xSeconds",e,s)}if("minute"===r){let e=f(d);return u.formatDistance("xMinutes",e,s)}if("hour"===r){let e=f(d/60);return u.formatDistance("xHours",e,s)}if("day"===r){let e=f(h/1440);return u.formatDistance("xDays",e,s)}if("month"===r){let e=f(h/43200);return 12===e&&"month"!==g?u.formatDistance("xYears",1,s):u.formatDistance("xMonths",e,s)}else{let e=f(h/525600);return u.formatDistance("xYears",e,s)}}function eP(e,t){return eR(e,H(e),t)}function eX(e,t){return eG(e,H(e),t)}let eZ=["years","months","weeks","days","hours","minutes","seconds"];function ez(e,t){let n=(0,eQ.q)(),r=t?.locale??n.locale??eq.c,a=t?.format??eZ,u=t?.zero??!1,i=t?.delimiter??" ";return r.formatDistance?a.reduce((t,n)=>{let a=`x${n.replace(/(^.)/,e=>e.toUpperCase())}`,i=e[n];return void 0!==i&&(u||e[n])?t.concat(r.formatDistance(a,i)):t},[]).join(i):""}var ej=n(50293);function eJ(e,t){let n=(0,i.a)(e,t?.in);if(isNaN(+n))throw RangeError("Invalid time value");let r=t?.format??"extended",a=t?.representation??"complete",u="",s="",o="extended"===r?"-":"";if("time"!==a){let e=(0,ej.F)(n.getDate(),2),t=(0,ej.F)(n.getMonth()+1,2),r=(0,ej.F)(n.getFullYear(),4);u=`${r}${o}${t}${o}${e}`}if("date"!==a){let e=n.getTimezoneOffset();if(0!==e){let t=Math.abs(e),n=(0,ej.F)(Math.trunc(t/60),2),r=(0,ej.F)(t%60,2);s=`${e<0?"+":"-"}${n}:${r}`}else s="Z";let t=(0,ej.F)(n.getHours(),2),a=(0,ej.F)(n.getMinutes(),2),i=(0,ej.F)(n.getSeconds(),2),o=""===u?"":"T",l=[t,a,i].join("extended"===r?":":"");u=`${u}${o}${l}${s}`}return u}function eA(e,t){let n=(0,i.a)(e,t?.in);if(!(0,U.f)(n))throw RangeError("Invalid time value");let r=t?.format??"extended",a=t?.representation??"complete",u="",s="extended"===r?"-":"",o="extended"===r?":":"";if("time"!==a){let e=(0,ej.F)(n.getDate(),2),t=(0,ej.F)(n.getMonth()+1,2),r=(0,ej.F)(n.getFullYear(),4);u=`${r}${s}${t}${s}${e}`}if("date"!==a){let e=(0,ej.F)(n.getHours(),2),t=(0,ej.F)(n.getMinutes(),2),r=(0,ej.F)(n.getSeconds(),2),a=""===u?"":" ";u=`${u}${a}${e}${o}${t}${o}${r}`}return u}function eL(e){let{years:t=0,months:n=0,days:r=0,hours:a=0,minutes:u=0,seconds:i=0}=e;return`P${t}Y${n}M${r}DT${a}H${u}M${i}S`}function eB(e,t){let n=(0,i.a)(e,t?.in);if(!(0,U.f)(n))throw RangeError("Invalid time value");let r=t?.fractionDigits??0,a=(0,ej.F)(n.getDate(),2),u=(0,ej.F)(n.getMonth()+1,2),s=n.getFullYear(),o=(0,ej.F)(n.getHours(),2),l=(0,ej.F)(n.getMinutes(),2),f=(0,ej.F)(n.getSeconds(),2),c="";if(r>0){let e=Math.trunc(n.getMilliseconds()*Math.pow(10,r-3));c="."+(0,ej.F)(e,r)}let d="",h=n.getTimezoneOffset();if(0!==h){let e=Math.abs(h),t=(0,ej.F)(Math.trunc(e/60),2),n=(0,ej.F)(e%60,2);d=`${h<0?"+":"-"}${t}:${n}`}else d="Z";return`${s}-${u}-${a}T${o}:${l}:${f}${c}${d}`}let e_=["Sun","Mon","Tue","Wed","Thu","Fri","Sat"],eK=["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"];function eV(e){let t=(0,i.a)(e);if(!(0,U.f)(t))throw RangeError("Invalid time value");let n=e_[t.getUTCDay()],r=(0,ej.F)(t.getUTCDate(),2),a=eK[t.getUTCMonth()],u=t.getUTCFullYear(),s=(0,ej.F)(t.getUTCHours(),2),o=(0,ej.F)(t.getUTCMinutes(),2),l=(0,ej.F)(t.getUTCSeconds(),2);return`${n}, ${r} ${a} ${u} ${s}:${o}:${l} GMT`}function e0(e,t,n){let r,[a,u]=(0,N.x)(n?.in,e,t),i=(0,eQ.q)(),s=n?.locale??i.locale??eq.c,o=n?.weekStartsOn??n?.locale?.options?.weekStartsOn??i.weekStartsOn??i.locale?.options?.weekStartsOn??0,l=(0,g.m)(a,u);if(isNaN(l))throw RangeError("Invalid time value");r=l<-6?"other":l<-1?"lastWeek":l<0?"yesterday":l<1?"today":l<2?"tomorrow":l<7?"nextWeek":"other";let f=s.formatRelative(r,a,u,{locale:s,weekStartsOn:o});return(0,eE.GP)(a,f,{locale:s,weekStartsOn:o})}function e1(e,t){return(0,i.a)(1e3*e,t?.in)}var e2=n(47918);function e3(e,t){return(0,i.a)(e,t?.in).getDay()}var e6=n(4398),e4=n(54354);function e9(e,t){let n=(0,i.a)(e,t?.in).getFullYear();return n%400==0||n%4==0&&n%100!=0}function e5(e,t){let n=(0,i.a)(e,t?.in);return Number.isNaN(+n)?NaN:e9(n)?366:365}function e7(e,t){return 10*Math.floor((0,i.a)(e,t?.in).getFullYear()/10)}var e8=n(6299),te=n(8151),tt=n(83487),tn=n(92913);function tr(e,t){let n=(0,M.w)(e,t);return Math.round(((0,M.w)((0,S.J)(n,60))-n)/R.my)}var ta=n(51148),tu=n(91733),ti=n(99042);function ts(e,t){let[n,r]=[+(0,i.a)(e.start),+(0,i.a)(e.end)].sort((e,t)=>e-t),[a,u]=[+(0,i.a)(t.start),+(0,i.a)(t.end)].sort((e,t)=>e-t);if(!(n<u&&a<r))return 0;let s=a<n?n:a,o=s-(0,Q.G)(s),l=u>r?r:u;return Math.ceil((l-(0,Q.G)(l)-o)/R.w4)}var to=n(89321);function tl(e){return+(0,i.a)(e)}function tf(e){return Math.trunc((0,i.a)(e)/1e3)}var tc=n(55578);function td(e,t){let n=(0,eQ.q)(),r=t?.weekStartsOn??t?.locale?.options?.weekStartsOn??n.weekStartsOn??n.locale?.options?.weekStartsOn??0,a=(0,e2.p)((0,i.a)(e,t?.in));if(isNaN(a))return NaN;let u=r-e3((0,ew.w)(e,t));return u<=0&&(u+=7),Math.ceil((a-u)/7)+1}var th=n(33191);function tg(e,t){let n=(0,i.a)(e,t?.in),r=n.getMonth();return n.setFullYear(n.getFullYear(),r+1,0),n.setHours(0,0,0,0),(0,i.a)(n,t?.in)}function tM(e,t){let n=(0,i.a)(e,t?.in);return J(tg(n,t),(0,ew.w)(n,t),t)+1}var tm=n(18463);function tD(e){return Math.trunc(e*R.s0)}function ty(e){return Math.trunc(60*e)}function tO(e){return Math.trunc(3600*e)}function tw(e,t,n){let[r,a]=(0,N.x)(n?.in,e,t);if(isNaN(+r))throw TypeError("Start date is invalid");if(isNaN(+a))throw TypeError("End date is invalid");if(n?.assertPositive&&+r>+a)throw TypeError("End date must be after start date");return{start:r,end:a}}function tv(e,t){let{start:n,end:r}=ec(t?.in,e),a={},u=ef(r,n);u&&(a.years=u);let i=s(n,{years:a.years}),o=ei(r,i);o&&(a.months=o);let l=s(i,{months:a.months}),f=L(r,l);f&&(a.days=f);let c=s(l,{days:a.days}),d=K(r,c);d&&(a.hours=d);let h=s(c,{hours:a.hours}),g=en(r,h);g&&(a.minutes=g);let M=eo(r,s(h,{minutes:a.minutes}));return M&&(a.seconds=M),a}function tS(e,t,n){var r;let a;return void 0===(r=t)||"locale"in r?n=t:a=t,new Intl.DateTimeFormat(n?.locale,a).format((0,i.a)(e))}function tp(e,t,n){let r,a=0,[u,i]=(0,N.x)(n?.in,e,t);if(n?.unit)"second"===(r=n?.unit)?a=eo(u,i):"minute"===r?a=en(u,i):"hour"===r?a=K(u,i):"day"===r?a=(0,g.m)(u,i):"week"===r?a=J(u,i):"month"===r?a=X(u,i):"quarter"===r?a=z(u,i):"year"===r&&(a=A(u,i));else{let e=eo(u,i);60>Math.abs(e)?(a=eo(u,i),r="second"):3600>Math.abs(e)?(a=en(u,i),r="minute"):86400>Math.abs(e)&&1>Math.abs((0,g.m)(u,i))?(a=K(u,i),r="hour"):604800>Math.abs(e)&&(a=(0,g.m)(u,i))&&7>Math.abs(a)?r="day":Math.abs(e)<R.BM?(a=J(u,i),r="week"):Math.abs(e)<R.Z7?(a=X(u,i),r="month"):Math.abs(e)<R.Mf&&4>z(u,i)?(a=z(u,i),r="quarter"):(a=A(u,i),r="year")}return new Intl.RelativeTimeFormat(n?.locale,{numeric:"auto",...n}).format(a,r)}var tT=n(54752),tN=n(36163),tF=n(15708),tY=n(28850);function tk(e,t,n){let r=new Date(e,t,n);return r.getFullYear()===e&&r.getMonth()===t&&r.getDate()===n}function tI(e,t){return 1===(0,i.a)(e,t?.in).getDate()}function tx(e,t){return 5===(0,i.a)(e,t?.in).getDay()}function t$(e){return+(0,i.a)(e)>Date.now()}var tb=n(12282);function tH(e,t,n){return(0,U.f)((0,tb.qg)(e,t,new Date,n))}function tW(e,t){return 1===(0,i.a)(e,t?.in).getDay()}function tC(e){return+(0,i.a)(e)<Date.now()}var tU=n(56756);function tE(e,t,n){let[r,a]=(0,N.x)(n?.in,e,t);return+(0,j.k)(r,n)==+(0,j.k)(a,n)}function tq(e,t,n){return tE(e,t,{...n,weekStartsOn:1})}function tQ(e,t,n){let[r,a]=(0,N.x)(n?.in,e,t);return+(0,M.w)(r)==+(0,M.w)(a)}function tR(e,t){let n=(0,i.a)(e,t?.in);return n.setSeconds(0,0),n}function tG(e,t){return+tR(e)==+tR(t)}var tP=n(39270);function tX(e,t,n){let[r,a]=(0,N.x)(n?.in,e,t);return+em(r)==+em(a)}function tZ(e,t){let n=(0,i.a)(e,t?.in);return n.setMilliseconds(0),n}function tz(e,t){return+tZ(e)==+tZ(t)}var tj=n(67619);function tJ(e,t){return(0,tU.l)((0,i.a)(e,t?.in),H(t?.in||e))}function tA(e,t){return tq((0,u.w)(t?.in||e,e),H(t?.in||e))}function tL(e){return tG(e,H(e))}function tB(e,t){return(0,tP.t)((0,u.w)(t?.in||e,e),H(t?.in||e))}function t_(e,t){return tX((0,u.w)(t?.in||e,e),H(t?.in||e))}function tK(e){return tz(e,H(e))}function tV(e,t){return tE((0,u.w)(t?.in||e,e),H(t?.in||e),t)}function t0(e,t){return(0,tj.s)((0,u.w)(t?.in||e,e),H(t?.in||e))}function t1(e,t){return 4===(0,i.a)(e,t?.in).getDay()}function t2(e,t){return(0,C.r)((0,u.w)(t?.in||e,e),H(t?.in||e))}function t3(e,t){return(0,C.r)(e,(0,r.f)(H(t?.in||e),1),t)}function t6(e,t){return 2===(0,i.a)(e,t?.in).getDay()}function t4(e,t){return 3===(0,i.a)(e,t?.in).getDay()}var t9=n(682);function t5(e,t,n){return(0,r.f)(e,-t,n)}function t7(e,t){return(0,C.r)((0,u.w)(t?.in||e,e),t5(H(t?.in||e),1))}function t8(e,t){let n=(0,i.a)(e,t?.in),r=9+10*Math.floor(n.getFullYear()/10);return n.setFullYear(r+1,0,0),n.setHours(0,0,0,0),(0,i.a)(n,t?.in)}function ne(e,t){let n=(0,eQ.q)(),r=t?.weekStartsOn??t?.locale?.options?.weekStartsOn??n.weekStartsOn??n.locale?.options?.weekStartsOn??0,a=(0,i.a)(e,t?.in),u=a.getDay();return a.setHours(0,0,0,0),a.setDate(a.getDate()+((u<r?-7:0)+6-(u-r))),a}function nt(e,t){return ne(e,{...t,weekStartsOn:1})}function nn(e,t){let n=(0,h.p)(e,t),r=(0,u.w)(t?.in||e,0);r.setFullYear(n+1,0,4),r.setHours(0,0,0,0);let a=(0,G.b)(r,t);return a.setDate(a.getDate()-1),a}function nr(e,t){let n=(0,i.a)(e,t?.in),r=n.getMonth();return n.setMonth(r-r%3+3,0),n.setHours(0,0,0,0),n}function na(e,t){let n=(0,i.a)(e,t?.in),r=n.getFullYear();return n.setFullYear(r+1,0,0),n.setHours(0,0,0,0),n}var nu=n(37908);let ni=/(\w)\1*|''|'(''|[^'])+('|$)|./g,ns=/^'([^]*?)'?$/,no=/''/g,nl=/[a-zA-Z]/;function nf(e,t){let n=(0,i.a)(e);if(!(0,U.f)(n))throw RangeError("Invalid time value");let r=t.match(ni);return r?r.map(e=>{if("''"===e)return"'";let t=e[0];if("'"===t){var r;let t;return(t=(r=e).match(ns))?t[1].replace(no,"'"):r}let a=nu.C[t];if(a)return a(n,e);if(t.match(nl))throw RangeError("Format string contains an unescaped latin alphabet character `"+t+"`");return e}).join(""):""}function nc({years:e,months:t,weeks:n,days:r,hours:a,minutes:u,seconds:i}){let s=0;e&&(s+=e*R.Ki),t&&(s+=t*(R.Ki/12)),n&&(s+=7*n),r&&(s+=r);let o=24*s*3600;return a&&(o+=60*a*60),u&&(o+=60*u),i&&(o+=i),Math.trunc(1e3*o)}function nd(e){return Math.trunc(e/R.s0)}function nh(e){return Math.trunc(e/6e4)}function ng(e){return Math.trunc(e/1e3)}function nM(e){return Math.trunc(e/60)}function nm(e){return Math.trunc(6e4*e)}function nD(e){return Math.trunc(60*e)}function ny(e){return Math.trunc(e/3)}function nO(e){return Math.trunc(e/12)}function nw(e,t,n){let a=t-e3(e,n);return a<=0&&(a+=7),(0,r.f)(e,a,n)}function nv(e,t){return nw(e,5,t)}function nS(e,t){return nw(e,1,t)}function np(e,t){return nw(e,6,t)}function nT(e,t){return nw(e,0,t)}function nN(e,t){return nw(e,4,t)}function nF(e,t){return nw(e,2,t)}function nY(e,t){return nw(e,3,t)}function nk(e,t){let n,r,a=()=>(0,u.w)(t?.in,NaN),s=t?.additionalDigits??2,o=function(e){let t,n={},r=e.split(nI);if(r.length>2)return n;if(/:/.test(r[0])?t=r[0]:(n.date=r[0],t=r[1],nx.test(n.date)&&(n.date=e.split(nx)[0],t=e.substr(n.date.length,e.length))),t){let e=n$.exec(t);e?(n.time=t.replace(e[1],""),n.timezone=e[1]):n.time=t}return n}(e);if(o.date){let e=function(e,t){let n=RegExp("^(?:(\\d{4}|[+-]\\d{"+(4+t)+"})|(\\d{2}|[+-]\\d{"+(2+t)+"})$)"),r=e.match(n);if(!r)return{year:NaN,restDateString:""};let a=r[1]?parseInt(r[1]):null,u=r[2]?parseInt(r[2]):null;return{year:null===u?a:100*u,restDateString:e.slice((r[1]||r[2]).length)}}(o.date,s);n=function(e,t){var n,r,a,u,i,s,o,l,f,c;if(null===t)return new Date(NaN);let d=e.match(nb);if(!d)return new Date(NaN);let h=!!d[4],g=nC(d[1]),M=nC(d[2])-1,m=nC(d[3]),D=nC(d[4]),y=nC(d[5])-1;if(h){let e,s;return(n=D,r=y,n>=1&&n<=53&&r>=0&&r<=6)?(a=t,u=D,i=y,(e=new Date(0)).setUTCFullYear(a,0,4),s=e.getUTCDay()||7,e.setUTCDate(e.getUTCDate()+((u-1)*7+i+1-s)),e):new Date(NaN)}{let e=new Date(0);return(s=t,o=M,l=m,o>=0&&o<=11&&l>=1&&l<=(nE[o]||(nq(s)?29:28))&&(f=t,(c=g)>=1&&c<=(nq(f)?366:365)))?(e.setUTCFullYear(t,M,Math.max(g,m)),e):new Date(NaN)}}(e.restDateString,e.year)}if(!n||isNaN(+n))return a();let l=+n,f=0;if(o.time&&isNaN(f=function(e){var t,n,r;let a=e.match(nH);if(!a)return NaN;let u=nU(a[1]),i=nU(a[2]),s=nU(a[3]);return(t=u,n=i,r=s,24===t?0===n&&0===r:r>=0&&r<60&&n>=0&&n<60&&t>=0&&t<25)?u*R.s0+6e4*i+1e3*s:NaN}(o.time)))return a();if(o.timezone){if(isNaN(r=function(e){var t;if("Z"===e)return 0;let n=e.match(nW);if(!n)return 0;let r="+"===n[1]?-1:1,a=parseInt(n[2]),u=n[3]&&parseInt(n[3])||0;return(t=u)>=0&&t<=59?r*(a*R.s0+6e4*u):NaN}(o.timezone)))return a()}else{let e=new Date(l+f),n=(0,i.a)(0,t?.in);return n.setFullYear(e.getUTCFullYear(),e.getUTCMonth(),e.getUTCDate()),n.setHours(e.getUTCHours(),e.getUTCMinutes(),e.getUTCSeconds(),e.getUTCMilliseconds()),n}return(0,i.a)(l+f+r,t?.in)}let nI=/[T ]/,nx=/[Z ]/i,n$=/([Z+-].*)$/,nb=/^-?(?:(\d{3})|(\d{2})(?:-?(\d{2}))?|W(\d{2})(?:-?(\d{1}))?|)$/,nH=/^(\d{2}(?:[.,]\d*)?)(?::?(\d{2}(?:[.,]\d*)?))?(?::?(\d{2}(?:[.,]\d*)?))?$/,nW=/^([+-])(\d{2})(?::?(\d{2}))?$/;function nC(e){return e?parseInt(e):1}function nU(e){return e&&parseFloat(e.replace(",","."))||0}let nE=[31,null,31,30,31,30,31,31,30,31,30,31];function nq(e){return e%400==0||e%4==0&&e%100!=0}function nQ(e,t){let n=e.match(/(\d{4})-(\d{2})-(\d{2})[T ](\d{2}):(\d{2}):(\d{2})(?:\.(\d{0,7}))?(?:Z|(.)(\d{2}):?(\d{2})?)?/);return n?(0,i.a)(Date.UTC(+n[1],n[2]-1,+n[3],n[4]-(+n[9]||0)*("-"==n[8]?-1:1),n[5]-(+n[10]||0)*("-"==n[8]?-1:1),+n[6],+((n[7]||"0")+"00").substring(0,3)),t?.in):(0,i.a)(NaN,t?.in)}function nR(e,t,n){let r=e3(e,n)-t;return r<=0&&(r+=7),t5(e,r,n)}function nG(e,t){return nR(e,5,t)}function nP(e,t){return nR(e,1,t)}function nX(e,t){return nR(e,6,t)}function nZ(e,t){return nR(e,0,t)}function nz(e,t){return nR(e,4,t)}function nj(e,t){return nR(e,2,t)}function nJ(e,t){return nR(e,3,t)}function nA(e){return Math.trunc(3*e)}function nL(e){return Math.trunc(e/4)}function nB(e,t){let n=t?.nearestTo??1;if(n<1||n>12)return(0,u.w)(t?.in||e,NaN);let r=(0,i.a)(e,t?.in),a=r.getMinutes()/60,s=r.getSeconds()/60/60,o=r.getMilliseconds()/1e3/60/60,l=r.getHours()+a+s+o,f=_(t?.roundingMethod??"round")(l/n)*n;return r.setHours(f,0,0,0),r}function n_(e,t){let n=t?.nearestTo??1;if(n<1||n>30)return(0,u.w)(e,NaN);let r=(0,i.a)(e,t?.in),a=r.getSeconds()/60,s=r.getMilliseconds()/1e3/60,o=r.getMinutes()+a+s,l=_(t?.roundingMethod??"round")(o/n)*n;return r.setMinutes(l,0,0),r}function nK(e){return Math.trunc(e/3600)}function nV(e){return 1e3*e}function n0(e){return Math.trunc(e/60)}var n1=n(30118);function n2(e,t,n){let r=(0,i.a)(e,n?.in);return isNaN(+r)?(0,u.w)(n?.in||e,NaN):(null!=t.year&&r.setFullYear(t.year),null!=t.month&&(r=(0,n1.Z)(r,t.month)),null!=t.date&&r.setDate(t.date),null!=t.hours&&r.setHours(t.hours),null!=t.minutes&&r.setMinutes(t.minutes),null!=t.seconds&&r.setSeconds(t.seconds),null!=t.milliseconds&&r.setMilliseconds(t.milliseconds),r)}var n3=n(41042),n6=n(61926);function n4(e,t,n){let r=(0,i.a)(e,n?.in);return r.setMonth(0),r.setDate(t),r}function n9(e){let t={},n=(0,eQ.q)();for(let e in n)Object.prototype.hasOwnProperty.call(n,e)&&(t[e]=n[e]);for(let n in e)Object.prototype.hasOwnProperty.call(e,n)&&(void 0===e[n]?delete t[n]:t[n]=e[n]);(0,eQ.E)(t)}var n5=n(38267),n7=n(68251),n8=n(33029),re=n(98608),rt=n(47025);function rn(e,t,n){let r=(0,i.a)(e,n?.in),a=Math.trunc(r.getMonth()/3)+1;return(0,n1.Z)(r,r.getMonth()+3*(t-a))}var rr=n(84253),ra=n(63214),ru=n(16558);function ri(e,t,n){let r=(0,eQ.q)(),a=n?.firstWeekContainsDate??n?.locale?.options?.firstWeekContainsDate??r.firstWeekContainsDate??r.locale?.options?.firstWeekContainsDate??1,s=(0,g.m)((0,i.a)(e,n?.in),(0,ru.b)(e,n),n),o=(0,u.w)(n?.in||e,0);o.setFullYear(t,0,a),o.setHours(0,0,0,0);let l=(0,ru.b)(o,n);return l.setDate(l.getDate()+s),l}var rs=n(8643),ro=n(18109);function rl(e,t){let n=(0,i.a)(e,t?.in),r=10*Math.floor(n.getFullYear()/10);return n.setFullYear(r,0,1),n.setHours(0,0,0,0),n}var rf=n(61777);function rc(e){return(0,ro.o)(Date.now(),e)}function rd(e){let t=H(e?.in),n=t.getFullYear(),r=t.getMonth(),a=t.getDate(),i=(0,u.w)(e?.in,0);return i.setFullYear(n,r,a+1),i.setHours(0,0,0,0),i}function rh(e){let t=H(e?.in),n=t.getFullYear(),r=t.getMonth(),a=t.getDate(),u=H(e?.in);return u.setFullYear(n,r,a-1),u.setHours(0,0,0,0),u}function rg(e,t,n){return(0,a.P)(e,-t,n)}function rM(e,t,n){let{years:r=0,months:a=0,weeks:i=0,days:s=0,hours:o=0,minutes:l=0,seconds:f=0}=t,c=t5(rg(e,a+12*r,n),s+7*i,n);return(0,u.w)(n?.in||e,c-1e3*(f+60*(l+60*o)))}function rm(e,t,n){return c(e,-t,n)}function rD(e,t,n){return(0,d.L)(e,-t,n)}function ry(e,t,n){return(0,y.A)(e,-t,n)}function rO(e,t,n){return(0,O.z)(e,-t,n)}function rw(e,t,n){return w(e,-t,n)}function rv(e,t,n){return(0,v.p)(e,-t,n)}function rS(e,t,n){return(0,S.J)(e,-t,n)}function rp(e,t,n){return(0,p.e)(e,-t,n)}var rT=n(88733);function rN(e){return Math.trunc(7*e)}function rF(e){return Math.trunc(e*R.Ki)}function rY(e){return Math.trunc(12*e)}function rk(e){return Math.trunc(4*e)}}}]);
|
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
/*! For license information please see 7370.ef522250.js.LICENSE.txt */
|
|
2
|
+
"use strict";(self.chunk_VictoriaLogs=self.chunk_VictoriaLogs||[]).push([["7370"],{2192:function(e,r,o){var t=o(70451),n=Symbol.for("react.element"),f=Symbol.for("react.fragment"),s=Object.prototype.hasOwnProperty,_=t.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.ReactCurrentOwner,c={key:!0,ref:!0,__self:!0,__source:!0};function i(e,r,o){var t,f={},i=null,u=null;for(t in void 0!==o&&(i=""+o),void 0!==r.key&&(i=""+r.key),void 0!==r.ref&&(u=r.ref),r)s.call(r,t)&&!c.hasOwnProperty(t)&&(f[t]=r[t]);if(e&&e.defaultProps)for(t in r=e.defaultProps)void 0===f[t]&&(f[t]=r[t]);return{$$typeof:n,type:e,key:i,ref:u,props:f,_owner:_.current}}r.Fragment=f,r.jsx=i,r.jsxs=i},62540:function(e,r,o){e.exports=o(2192)}}]);
|
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
/*! For license information please see 7576.bfd4659f.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"}},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")}}]);
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
"use strict";(self.chunk_VictoriaLogs=self.chunk_VictoriaLogs||[]).push([["7793"],{74628:function(e,t,o){o.d(t,{A:()=>h});var a=o(70451),n=o(11750),i=o(41535),r=o(92927),l=o(20523),s=o(26041),d=o(62540),p=o(71027),c=o(9408),u=o(93724);let v=(0,o(29009).A)("MuiBox",["root"]),g=(0,c.A)(),h=function(e={}){let{themeId:t,defaultTheme:o,defaultClassName:p="MuiBox-root",generateClassName:c}=e,u=(0,i.Ay)("div",{shouldForwardProp:e=>"theme"!==e&&"sx"!==e&&"as"!==e})(r.A);return a.forwardRef(function(e,a){let i=(0,s.A)(o),{className:r,component:v="div",...g}=(0,l.A)(e);return(0,d.jsx)(u,{as:v,ref:a,className:(0,n.A)(r,c?c(p):p),theme:t&&i[t]||i,...g})})}({themeId:u.A,defaultTheme:g,defaultClassName:v.root,generateClassName:p.A.generate})},7013:function(e,t,o){o.d(t,{A:()=>R});var a=o(70451),n=o(11750),i=o(52215),r=o(81023),l=o(59238),s=o(63392),d=o(83926),p=o(77308),c=o(23434),u=o(72052),v=o(1337),g=o(25742),h=o(24726),m=o(26952),y=o(29009),x=o(46733);function f(e){return(0,x.Ay)("MuiButton",e)}let b=(0,y.A)("MuiButton",["root","text","textInherit","textPrimary","textSecondary","textSuccess","textError","textInfo","textWarning","outlined","outlinedInherit","outlinedPrimary","outlinedSecondary","outlinedSuccess","outlinedError","outlinedInfo","outlinedWarning","contained","containedInherit","containedPrimary","containedSecondary","containedSuccess","containedError","containedInfo","containedWarning","disableElevation","focusVisible","disabled","colorInherit","colorPrimary","colorSecondary","colorSuccess","colorError","colorInfo","colorWarning","textSizeSmall","textSizeMedium","textSizeLarge","outlinedSizeSmall","outlinedSizeMedium","outlinedSizeLarge","containedSizeSmall","containedSizeMedium","containedSizeLarge","sizeMedium","sizeSmall","sizeLarge","fullWidth","startIcon","endIcon","icon","iconSizeSmall","iconSizeMedium","iconSizeLarge","loading","loadingWrapper","loadingIconPlaceholder","loadingIndicator","loadingPositionCenter","loadingPositionStart","loadingPositionEnd"]);var A=o(94580),S=o(30016),z=o(62540);let I=[{props:{size:"small"},style:{"& > *:nth-of-type(1)":{fontSize:18}}},{props:{size:"medium"},style:{"& > *:nth-of-type(1)":{fontSize:20}}},{props:{size:"large"},style:{"& > *:nth-of-type(1)":{fontSize:22}}}],C=(0,p.A)(v.A,{shouldForwardProp:e=>(0,d.A)(e)||"classes"===e,name:"MuiButton",slot:"Root",overridesResolver:(e,t)=>{let{ownerState:o}=e;return[t.root,t[o.variant],t[`${o.variant}${(0,h.A)(o.color)}`],t[`size${(0,h.A)(o.size)}`],t[`${o.variant}Size${(0,h.A)(o.size)}`],"inherit"===o.color&&t.colorInherit,o.disableElevation&&t.disableElevation,o.fullWidth&&t.fullWidth,o.loading&&t.loading]}})((0,c.A)(({theme:e})=>{let t="light"===e.palette.mode?e.palette.grey[300]:e.palette.grey[800],o="light"===e.palette.mode?e.palette.grey.A100:e.palette.grey[700];return{...e.typography.button,minWidth:64,padding:"6px 16px",border:0,borderRadius:(e.vars||e).shape.borderRadius,transition:e.transitions.create(["background-color","box-shadow","border-color","color"],{duration:e.transitions.duration.short}),"&:hover":{textDecoration:"none"},[`&.${b.disabled}`]:{color:(e.vars||e).palette.action.disabled},variants:[{props:{variant:"contained"},style:{color:"var(--variant-containedColor)",backgroundColor:"var(--variant-containedBg)",boxShadow:(e.vars||e).shadows[2],"&:hover":{boxShadow:(e.vars||e).shadows[4],"@media (hover: none)":{boxShadow:(e.vars||e).shadows[2]}},"&:active":{boxShadow:(e.vars||e).shadows[8]},[`&.${b.focusVisible}`]:{boxShadow:(e.vars||e).shadows[6]},[`&.${b.disabled}`]:{color:(e.vars||e).palette.action.disabled,boxShadow:(e.vars||e).shadows[0],backgroundColor:(e.vars||e).palette.action.disabledBackground}}},{props:{variant:"outlined"},style:{padding:"5px 15px",border:"1px solid currentColor",borderColor:"var(--variant-outlinedBorder, currentColor)",backgroundColor:"var(--variant-outlinedBg)",color:"var(--variant-outlinedColor)",[`&.${b.disabled}`]:{border:`1px solid ${(e.vars||e).palette.action.disabledBackground}`}}},{props:{variant:"text"},style:{padding:"6px 8px",color:"var(--variant-textColor)",backgroundColor:"var(--variant-textBg)"}},...Object.entries(e.palette).filter((0,m.A)()).map(([t])=>({props:{color:t},style:{"--variant-textColor":(e.vars||e).palette[t].main,"--variant-outlinedColor":(e.vars||e).palette[t].main,"--variant-outlinedBorder":e.vars?`rgba(${e.vars.palette[t].mainChannel} / 0.5)`:(0,l.X4)(e.palette[t].main,.5),"--variant-containedColor":(e.vars||e).palette[t].contrastText,"--variant-containedBg":(e.vars||e).palette[t].main,"@media (hover: hover)":{"&:hover":{"--variant-containedBg":(e.vars||e).palette[t].dark,"--variant-textBg":e.vars?`rgba(${e.vars.palette[t].mainChannel} / ${e.vars.palette.action.hoverOpacity})`:(0,l.X4)(e.palette[t].main,e.palette.action.hoverOpacity),"--variant-outlinedBorder":(e.vars||e).palette[t].main,"--variant-outlinedBg":e.vars?`rgba(${e.vars.palette[t].mainChannel} / ${e.vars.palette.action.hoverOpacity})`:(0,l.X4)(e.palette[t].main,e.palette.action.hoverOpacity)}}}})),{props:{color:"inherit"},style:{color:"inherit",borderColor:"currentColor","--variant-containedBg":e.vars?e.vars.palette.Button.inheritContainedBg:t,"@media (hover: hover)":{"&:hover":{"--variant-containedBg":e.vars?e.vars.palette.Button.inheritContainedHoverBg:o,"--variant-textBg":e.vars?`rgba(${e.vars.palette.text.primaryChannel} / ${e.vars.palette.action.hoverOpacity})`:(0,l.X4)(e.palette.text.primary,e.palette.action.hoverOpacity),"--variant-outlinedBg":e.vars?`rgba(${e.vars.palette.text.primaryChannel} / ${e.vars.palette.action.hoverOpacity})`:(0,l.X4)(e.palette.text.primary,e.palette.action.hoverOpacity)}}}},{props:{size:"small",variant:"text"},style:{padding:"4px 5px",fontSize:e.typography.pxToRem(13)}},{props:{size:"large",variant:"text"},style:{padding:"8px 11px",fontSize:e.typography.pxToRem(15)}},{props:{size:"small",variant:"outlined"},style:{padding:"3px 9px",fontSize:e.typography.pxToRem(13)}},{props:{size:"large",variant:"outlined"},style:{padding:"7px 21px",fontSize:e.typography.pxToRem(15)}},{props:{size:"small",variant:"contained"},style:{padding:"4px 10px",fontSize:e.typography.pxToRem(13)}},{props:{size:"large",variant:"contained"},style:{padding:"8px 22px",fontSize:e.typography.pxToRem(15)}},{props:{disableElevation:!0},style:{boxShadow:"none","&:hover":{boxShadow:"none"},[`&.${b.focusVisible}`]:{boxShadow:"none"},"&:active":{boxShadow:"none"},[`&.${b.disabled}`]:{boxShadow:"none"}}},{props:{fullWidth:!0},style:{width:"100%"}},{props:{loadingPosition:"center"},style:{transition:e.transitions.create(["background-color","box-shadow","border-color"],{duration:e.transitions.duration.short}),[`&.${b.loading}`]:{color:"transparent"}}}]}})),w=(0,p.A)("span",{name:"MuiButton",slot:"StartIcon",overridesResolver:(e,t)=>{let{ownerState:o}=e;return[t.startIcon,o.loading&&t.startIconLoadingStart,t[`iconSize${(0,h.A)(o.size)}`]]}})(({theme:e})=>({display:"inherit",marginRight:8,marginLeft:-4,variants:[{props:{size:"small"},style:{marginLeft:-2}},{props:{loadingPosition:"start",loading:!0},style:{transition:e.transitions.create(["opacity"],{duration:e.transitions.duration.short}),opacity:0}},{props:{loadingPosition:"start",loading:!0,fullWidth:!0},style:{marginRight:-8}},...I]})),P=(0,p.A)("span",{name:"MuiButton",slot:"EndIcon",overridesResolver:(e,t)=>{let{ownerState:o}=e;return[t.endIcon,o.loading&&t.endIconLoadingEnd,t[`iconSize${(0,h.A)(o.size)}`]]}})(({theme:e})=>({display:"inherit",marginRight:-4,marginLeft:8,variants:[{props:{size:"small"},style:{marginRight:-2}},{props:{loadingPosition:"end",loading:!0},style:{transition:e.transitions.create(["opacity"],{duration:e.transitions.duration.short}),opacity:0}},{props:{loadingPosition:"end",loading:!0,fullWidth:!0},style:{marginLeft:-8}},...I]})),$=(0,p.A)("span",{name:"MuiButton",slot:"LoadingIndicator",overridesResolver:(e,t)=>t.loadingIndicator})(({theme:e})=>({display:"none",position:"absolute",visibility:"visible",variants:[{props:{loading:!0},style:{display:"flex"}},{props:{loadingPosition:"start"},style:{left:14}},{props:{loadingPosition:"start",size:"small"},style:{left:10}},{props:{variant:"text",loadingPosition:"start"},style:{left:6}},{props:{loadingPosition:"center"},style:{left:"50%",transform:"translate(-50%)",color:(e.vars||e).palette.action.disabled}},{props:{loadingPosition:"end"},style:{right:14}},{props:{loadingPosition:"end",size:"small"},style:{right:10}},{props:{variant:"text",loadingPosition:"end"},style:{right:6}},{props:{loadingPosition:"start",fullWidth:!0},style:{position:"relative",left:-10}},{props:{loadingPosition:"end",fullWidth:!0},style:{position:"relative",right:-10}}]})),B=(0,p.A)("span",{name:"MuiButton",slot:"LoadingIconPlaceholder",overridesResolver:(e,t)=>t.loadingIconPlaceholder})({display:"inline-block",width:"1em",height:"1em"}),R=a.forwardRef(function(e,t){let o=a.useContext(A.A),l=a.useContext(S.A),d=(0,i.A)(o,e),p=(0,u.b)({props:d,name:"MuiButton"}),{children:c,color:v="primary",component:m="button",className:y,disabled:x=!1,disableElevation:b=!1,disableFocusRipple:I=!1,endIcon:R,focusVisibleClassName:L,fullWidth:M=!1,id:W,loading:E=null,loadingIndicator:k,loadingPosition:N="center",size:j="medium",startIcon:O,type:T,variant:_="text",...V}=p,F=(0,s.A)(W),X=k??(0,z.jsx)(g.A,{"aria-labelledby":F,color:"inherit",size:16}),D={...p,color:v,component:m,disabled:x,disableElevation:b,disableFocusRipple:I,fullWidth:M,loading:E,loadingIndicator:X,loadingPosition:N,size:j,type:T,variant:_},q=(e=>{let{color:t,disableElevation:o,fullWidth:a,size:n,variant:i,loading:l,loadingPosition:s,classes:d}=e,p={root:["root",l&&"loading",i,`${i}${(0,h.A)(t)}`,`size${(0,h.A)(n)}`,`${i}Size${(0,h.A)(n)}`,`color${(0,h.A)(t)}`,o&&"disableElevation",a&&"fullWidth",l&&`loadingPosition${(0,h.A)(s)}`],startIcon:["icon","startIcon",`iconSize${(0,h.A)(n)}`],endIcon:["icon","endIcon",`iconSize${(0,h.A)(n)}`],loadingIndicator:["loadingIndicator"],loadingWrapper:["loadingWrapper"]},c=(0,r.A)(p,f,d);return{...d,...c}})(D),G=(O||E&&"start"===N)&&(0,z.jsx)(w,{className:q.startIcon,ownerState:D,children:O||(0,z.jsx)(B,{className:q.loadingIconPlaceholder,ownerState:D})}),H=(R||E&&"end"===N)&&(0,z.jsx)(P,{className:q.endIcon,ownerState:D,children:R||(0,z.jsx)(B,{className:q.loadingIconPlaceholder,ownerState:D})}),Z="boolean"==typeof E?(0,z.jsx)("span",{className:q.loadingWrapper,style:{display:"contents"},children:E&&(0,z.jsx)($,{className:q.loadingIndicator,ownerState:D,children:X})}):null;return(0,z.jsxs)(C,{ownerState:D,className:(0,n.A)(o.className,q.root,y,l||""),component:m,disabled:x||E,focusRipple:!I,focusVisibleClassName:(0,n.A)(q.focusVisible,L),ref:t,type:T,id:E?F:W,...V,classes:q,children:[G,"end"!==N&&Z,c,"end"===N&&Z,H]})})},30016:function(e,t,o){o.d(t,{A:()=>a});let a=o(70451).createContext(void 0)},94580:function(e,t,o){o.d(t,{A:()=>a});let a=o(70451).createContext({})},70498:function(e,t,o){o.d(t,{A:()=>a});let a=o(37605).A},91621:function(e,t,o){o.r(t),o.d(t,{capitalize:()=>n.A,requirePropFactory:()=>v,unstable_useId:()=>m.A,debounce:()=>l.A,setRef:()=>g,unstable_useEnhancedEffect:()=>h.A,useEventCallback:()=>f.A,unsupportedProp:()=>y,ownerWindow:()=>u.A,deprecatedPropType:()=>s,mergeSlotProps:()=>A.A,isMuiElement:()=>d.A,useControlled:()=>x.A,ownerDocument:()=>c.A,createChainedFunction:()=>i.A,unstable_memoTheme:()=>p.A,unstable_ClassNameGenerator:()=>S,useForkRef:()=>b.A,createSvgIcon:()=>r.A});var a=o(71027),n=o(24726),i=o(70498),r=o(22402),l=o(55403);let s=function(e,t){return()=>null};var d=o(6835),p=o(23434),c=o(1092),u=o(63025);let v=function(e,t){return()=>null},g=o(71849).A;var h=o(54382),m=o(63392);let y=function(e,t,o,a,n){return null};var x=o(2203),f=o(32398),b=o(29424),A=o(64606);let S={configure:e=>{a.A.configure(e)}}},11061:function(e,t,o){var a;t.default=void 0,t.default=(0,((a=o(1448))&&a.__esModule?a:{default:a}).default)("M8.59,16.58L13.17,12L8.59,7.41L10,6L16,12L10,18L8.59,16.58Z","ChevronRight")},1448:function(e,t,o){Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var a=o(91621),n=o(62540);t.default=function(e,t){return(0,a.createSvgIcon)((0,n.jsx)("path",{d:e}),t)}}}]);
|