@perses-dev/victorialogs-plugin 0.4.0-rc.1 → 0.5.0-beta.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.cc2c1a55.js → VictoriaLogs.72a4d689.js} +3 -3
- package/__mf/js/async/1522.e41aa623.js +22 -0
- package/__mf/js/async/1616.f91f6c7b.js +1 -0
- package/__mf/js/async/198.4b388f96.js +2 -0
- package/__mf/js/async/2377.1627ef61.js +1 -0
- package/__mf/js/async/2786.4ba35a40.js +2 -0
- package/__mf/js/async/2901.21debf59.js +1 -0
- package/__mf/js/async/3865.3eba8e7a.js +1 -0
- package/__mf/js/async/392.8532b8b9.js +2 -0
- package/__mf/js/async/4121.43679b06.js +2 -0
- package/__mf/js/async/4248.f3720fee.js +1 -0
- package/__mf/js/async/4960.813e0b59.js +2 -0
- package/__mf/js/async/5019.a912bf58.js +1 -0
- package/__mf/js/async/5440.e2ea1262.js +2 -0
- package/__mf/js/async/5587.144f3899.js +1 -0
- package/__mf/js/async/560.ebacb2ba.js +37 -0
- package/__mf/js/async/5623.6fc3cf67.js +1 -0
- package/__mf/js/async/5706.38c46b8c.js +1 -0
- package/__mf/js/async/6274.efc9c64a.js +2 -0
- package/__mf/js/async/663.cccc183b.js +1 -0
- package/__mf/js/async/7155.68cbed18.js +7 -0
- package/__mf/js/async/7155.68cbed18.js.LICENSE.txt +102 -0
- package/__mf/js/async/7192.9670a853.js +1 -0
- package/__mf/js/async/7740.c8cb2613.js +101 -0
- package/__mf/js/async/7817.620f3116.js +2 -0
- package/__mf/js/async/7862.e6de7017.js +2 -0
- package/__mf/js/async/7873.4d25d71e.js +2 -0
- package/__mf/js/async/7968.69cffbaf.js +1 -0
- package/__mf/js/async/8356.d0bcc56a.js +1 -0
- package/__mf/js/async/8470.6cf8f7b1.js +2 -0
- package/__mf/js/async/9235.bfe14cc5.js +1 -0
- package/__mf/js/async/941.73cfe62f.js +2 -0
- package/__mf/js/async/9440.37da95ff.js +10 -0
- package/__mf/js/async/9700.72a5372d.js +3 -0
- package/__mf/js/async/__federation_expose_VictoriaLogsDatasource.db12b897.js +2 -0
- package/__mf/js/async/__federation_expose_VictoriaLogsFieldNamesVariable.59ed2274.js +2 -0
- package/__mf/js/async/__federation_expose_VictoriaLogsFieldValuesVariable.fcbe16ef.js +2 -0
- package/__mf/js/async/__federation_expose_VictoriaLogsLogQuery.803dba77.js +1 -0
- package/__mf/js/async/__federation_expose_VictoriaLogsTimeSeriesQuery.6d5fdbb1.js +1 -0
- package/__mf/js/{main.beb4c281.js → main.00381beb.js} +2 -2
- package/lib/bootstrap.js +2 -2
- package/lib/components/index.js +1 -1
- package/lib/components/index.js.map +1 -1
- package/lib/components/logsql-editor.d.ts +2 -2
- package/lib/components/logsql-editor.d.ts.map +1 -1
- package/lib/components/logsql-editor.js +4 -4
- package/lib/components/logsql-editor.js.map +1 -1
- package/lib/components/logsql-extension.d.ts +1 -1
- package/lib/components/logsql-extension.d.ts.map +1 -1
- package/lib/components/logsql-extension.js +3 -3
- package/lib/components/logsql-extension.js.map +1 -1
- package/lib/components/logsql-highlight.js +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 +3 -3
- package/lib/datasources/victorialogs-datasource/VictoriaLogsDatasource.d.ts.map +1 -1
- package/lib/datasources/victorialogs-datasource/VictoriaLogsDatasource.js +2 -2
- package/lib/datasources/victorialogs-datasource/VictoriaLogsDatasource.js.map +1 -1
- package/lib/datasources/victorialogs-datasource/VictoriaLogsDatasourceEditor.d.ts +2 -2
- package/lib/datasources/victorialogs-datasource/VictoriaLogsDatasourceEditor.d.ts.map +1 -1
- package/lib/datasources/victorialogs-datasource/VictoriaLogsDatasourceEditor.js +1 -1
- package/lib/datasources/victorialogs-datasource/VictoriaLogsDatasourceEditor.js.map +1 -1
- package/lib/datasources/victorialogs-datasource/index.js +3 -3
- package/lib/datasources/victorialogs-datasource/index.js.map +1 -1
- package/lib/datasources/victorialogs-datasource/types.d.ts +1 -1
- package/lib/datasources/victorialogs-datasource/types.d.ts.map +1 -1
- package/lib/datasources/victorialogs-datasource/types.js.map +1 -1
- package/lib/getPluginModule.d.ts +1 -1
- package/lib/getPluginModule.d.ts.map +1 -1
- package/lib/getPluginModule.js +3 -1
- package/lib/getPluginModule.js.map +1 -1
- package/lib/index-federation.js +1 -1
- package/lib/index.js +4 -4
- package/lib/index.js.map +1 -1
- package/lib/model/client.d.ts +1 -1
- package/lib/model/client.d.ts.map +1 -1
- package/lib/model/client.js.map +1 -1
- package/lib/model/index.js +3 -3
- package/lib/model/index.js.map +1 -1
- package/lib/model/selectors.d.ts +2 -2
- 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/queries/index.js +2 -2
- package/lib/queries/index.js.map +1 -1
- package/lib/queries/victorialogs-log-query/VictoriaLogsLogQuery.d.ts +2 -2
- package/lib/queries/victorialogs-log-query/VictoriaLogsLogQuery.d.ts.map +1 -1
- package/lib/queries/victorialogs-log-query/VictoriaLogsLogQuery.js +4 -6
- package/lib/queries/victorialogs-log-query/VictoriaLogsLogQuery.js.map +1 -1
- package/lib/queries/victorialogs-log-query/VictoriaLogsLogQueryEditor.d.ts +3 -3
- package/lib/queries/victorialogs-log-query/VictoriaLogsLogQueryEditor.d.ts.map +1 -1
- package/lib/queries/victorialogs-log-query/VictoriaLogsLogQueryEditor.js +7 -7
- package/lib/queries/victorialogs-log-query/VictoriaLogsLogQueryEditor.js.map +1 -1
- package/lib/queries/victorialogs-log-query/index.js +4 -4
- package/lib/queries/victorialogs-log-query/index.js.map +1 -1
- package/lib/queries/victorialogs-log-query/query.d.ts +2 -2
- package/lib/queries/victorialogs-log-query/query.d.ts.map +1 -1
- package/lib/queries/victorialogs-log-query/query.js +2 -2
- package/lib/queries/victorialogs-log-query/query.js.map +1 -1
- package/lib/queries/victorialogs-log-query/types.d.ts +1 -1
- package/lib/queries/victorialogs-log-query/types.d.ts.map +1 -1
- package/lib/queries/victorialogs-log-query/types.js.map +1 -1
- package/lib/queries/victorialogs-time-series-query/VictoriaLogsTimeSeriesQuery.d.ts +2 -2
- package/lib/queries/victorialogs-time-series-query/VictoriaLogsTimeSeriesQuery.d.ts.map +1 -1
- package/lib/queries/victorialogs-time-series-query/VictoriaLogsTimeSeriesQuery.js +4 -6
- package/lib/queries/victorialogs-time-series-query/VictoriaLogsTimeSeriesQuery.js.map +1 -1
- package/lib/queries/victorialogs-time-series-query/VictoriaLogsTimeSeriesQueryEditor.d.ts +3 -3
- package/lib/queries/victorialogs-time-series-query/VictoriaLogsTimeSeriesQueryEditor.d.ts.map +1 -1
- package/lib/queries/victorialogs-time-series-query/VictoriaLogsTimeSeriesQueryEditor.js +7 -7
- package/lib/queries/victorialogs-time-series-query/VictoriaLogsTimeSeriesQueryEditor.js.map +1 -1
- package/lib/queries/victorialogs-time-series-query/index.js +4 -4
- package/lib/queries/victorialogs-time-series-query/index.js.map +1 -1
- package/lib/queries/victorialogs-time-series-query/query.d.ts +2 -2
- package/lib/queries/victorialogs-time-series-query/query.d.ts.map +1 -1
- package/lib/queries/victorialogs-time-series-query/query.js +4 -4
- package/lib/queries/victorialogs-time-series-query/query.js.map +1 -1
- package/lib/queries/victorialogs-time-series-query/types.d.ts +1 -1
- package/lib/queries/victorialogs-time-series-query/types.d.ts.map +1 -1
- package/lib/queries/victorialogs-time-series-query/types.js.map +1 -1
- package/lib/setup-tests.d.ts +1 -1
- package/lib/setup-tests.d.ts.map +1 -1
- package/lib/setup-tests.js +2 -2
- package/lib/setup-tests.js.map +1 -1
- package/lib/variables/index.js +2 -2
- package/lib/variables/index.js.map +1 -1
- package/lib/variables/types.d.ts +2 -2
- package/lib/variables/types.d.ts.map +1 -1
- package/lib/variables/types.js.map +1 -1
- package/lib/variables/utils.d.ts +5 -5
- package/lib/variables/utils.d.ts.map +1 -1
- package/lib/variables/utils.js +2 -2
- package/lib/variables/utils.js.map +1 -1
- package/lib/variables/victorialogs-field-names/VictoriaLogsFieldNamesVariable.d.ts +2 -2
- package/lib/variables/victorialogs-field-names/VictoriaLogsFieldNamesVariable.d.ts.map +1 -1
- package/lib/variables/victorialogs-field-names/VictoriaLogsFieldNamesVariable.js +4 -4
- package/lib/variables/victorialogs-field-names/VictoriaLogsFieldNamesVariable.js.map +1 -1
- package/lib/variables/victorialogs-field-names/VictoriaLogsFieldNamesVariableEditor.d.ts +3 -3
- package/lib/variables/victorialogs-field-names/VictoriaLogsFieldNamesVariableEditor.d.ts.map +1 -1
- package/lib/variables/victorialogs-field-names/VictoriaLogsFieldNamesVariableEditor.js +5 -5
- 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 +2 -2
- package/lib/variables/victorialogs-field-values/VictoriaLogsFieldValuesVariable.d.ts.map +1 -1
- package/lib/variables/victorialogs-field-values/VictoriaLogsFieldValuesVariable.js +4 -4
- package/lib/variables/victorialogs-field-values/VictoriaLogsFieldValuesVariable.js.map +1 -1
- package/lib/variables/victorialogs-field-values/VictoriaLogsFieldValuesVariableEditor.d.ts +3 -3
- package/lib/variables/victorialogs-field-values/VictoriaLogsFieldValuesVariableEditor.d.ts.map +1 -1
- package/lib/variables/victorialogs-field-values/VictoriaLogsFieldValuesVariableEditor.js +6 -6
- 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 +117 -230
- package/mf-stats.json +117 -242
- package/package.json +20 -12
- package/__mf/js/async/1170.532d9fb3.js +0 -101
- package/__mf/js/async/1616.5a6b8ab3.js +0 -1
- package/__mf/js/async/1728.fbf15584.js +0 -1
- package/__mf/js/async/1969.fc35e1b4.js +0 -1
- package/__mf/js/async/198.fbb67f8a.js +0 -2
- package/__mf/js/async/2043.b149adfd.js +0 -2
- package/__mf/js/async/2043.b149adfd.js.LICENSE.txt +0 -24
- package/__mf/js/async/2377.9265b0a7.js +0 -1
- package/__mf/js/async/2728.fd6779e6.js +0 -1
- package/__mf/js/async/2749.71c38fe0.js +0 -2
- package/__mf/js/async/2842.9ea83634.js +0 -1
- package/__mf/js/async/3059.fe1cdfc3.js +0 -1
- package/__mf/js/async/392.c6e57bd8.js +0 -2
- package/__mf/js/async/3981.15a0f189.js +0 -3
- package/__mf/js/async/3998.3a757c00.js +0 -2
- package/__mf/js/async/4121.5468ac01.js +0 -2
- package/__mf/js/async/4225.744952e9.js +0 -10
- package/__mf/js/async/4248.9b99209c.js +0 -1
- package/__mf/js/async/5019.51d94aab.js +0 -1
- package/__mf/js/async/5071.6ac86637.js +0 -1
- package/__mf/js/async/5405.004a286a.js +0 -2
- package/__mf/js/async/5405.004a286a.js.LICENSE.txt +0 -37
- package/__mf/js/async/5440.7765ad14.js +0 -2
- package/__mf/js/async/5481.b7b48b8f.js +0 -2
- package/__mf/js/async/5587.12959dbf.js +0 -1
- package/__mf/js/async/5706.55b9ef2f.js +0 -1
- package/__mf/js/async/6274.0634d636.js +0 -2
- package/__mf/js/async/6408.2bc7e8f4.js +0 -7
- package/__mf/js/async/6408.2bc7e8f4.js.LICENSE.txt +0 -39
- package/__mf/js/async/6410.63a88be6.js +0 -1
- package/__mf/js/async/6592.24e266ac.js +0 -1
- package/__mf/js/async/6854.21ddded3.js +0 -1
- package/__mf/js/async/6864.66bc6315.js +0 -2
- package/__mf/js/async/7177.dfbac40a.js +0 -1
- package/__mf/js/async/7192.339adba2.js +0 -1
- package/__mf/js/async/7793.43841fdc.js +0 -1
- package/__mf/js/async/7817.5e96b0dd.js +0 -2
- package/__mf/js/async/7968.d586d9f8.js +0 -1
- package/__mf/js/async/7978.895bbb5f.js +0 -1
- package/__mf/js/async/7984.4808a362.js +0 -22
- package/__mf/js/async/8356.053c21d0.js +0 -1
- package/__mf/js/async/8470.cb89de3b.js +0 -2
- package/__mf/js/async/873.4df0ea19.js +0 -1
- package/__mf/js/async/8787.c3298397.js +0 -2
- package/__mf/js/async/9235.3e1de7b9.js +0 -1
- package/__mf/js/async/941.a44f722e.js +0 -2
- package/__mf/js/async/9588.c379dd44.js +0 -1
- package/__mf/js/async/9836.fd9de3af.js +0 -1
- package/__mf/js/async/9877.8b83de3c.js +0 -38
- package/__mf/js/async/9944.4d41cb7b.js +0 -1
- package/__mf/js/async/__federation_expose_VictoriaLogsDatasource.87d7c015.js +0 -2
- package/__mf/js/async/__federation_expose_VictoriaLogsFieldNamesVariable.51d0e04a.js +0 -1
- package/__mf/js/async/__federation_expose_VictoriaLogsFieldValuesVariable.f025329d.js +0 -1
- package/__mf/js/async/__federation_expose_VictoriaLogsLogQuery.e5f5470b.js +0 -1
- package/__mf/js/async/__federation_expose_VictoriaLogsTimeSeriesQuery.cad2ff0d.js +0 -1
- package/lib/cjs/bootstrap.js +0 -26
- package/lib/cjs/components/index.js +0 -23
- package/lib/cjs/components/logsql-editor.js +0 -110
- package/lib/cjs/components/logsql-extension.js +0 -55
- package/lib/cjs/components/logsql-highlight.js +0 -40
- package/lib/cjs/datasources/index.js +0 -30
- package/lib/cjs/datasources/victorialogs-datasource/VictoriaLogsDatasource.js +0 -61
- package/lib/cjs/datasources/victorialogs-datasource/VictoriaLogsDatasourceEditor.js +0 -95
- package/lib/cjs/datasources/victorialogs-datasource/index.js +0 -32
- package/lib/cjs/datasources/victorialogs-datasource/types.js +0 -16
- package/lib/cjs/env.d.js +0 -14
- package/lib/cjs/getPluginModule.js +0 -39
- package/lib/cjs/index-federation.js +0 -55
- package/lib/cjs/index.js +0 -39
- package/lib/cjs/model/client.js +0 -156
- package/lib/cjs/model/index.js +0 -32
- package/lib/cjs/model/selectors.js +0 -47
- package/lib/cjs/model/types.js +0 -16
- package/lib/cjs/queries/constants.js +0 -34
- package/lib/cjs/queries/index.js +0 -31
- package/lib/cjs/queries/victorialogs-log-query/VictoriaLogsLogQuery.js +0 -63
- package/lib/cjs/queries/victorialogs-log-query/VictoriaLogsLogQueryEditor.js +0 -114
- package/lib/cjs/queries/victorialogs-log-query/index.js +0 -33
- package/lib/cjs/queries/victorialogs-log-query/query.js +0 -73
- package/lib/cjs/queries/victorialogs-log-query/types.js +0 -16
- package/lib/cjs/queries/victorialogs-time-series-query/VictoriaLogsTimeSeriesQuery.js +0 -43
- package/lib/cjs/queries/victorialogs-time-series-query/VictoriaLogsTimeSeriesQueryEditor.js +0 -112
- package/lib/cjs/queries/victorialogs-time-series-query/index.js +0 -33
- package/lib/cjs/queries/victorialogs-time-series-query/query.js +0 -126
- package/lib/cjs/queries/victorialogs-time-series-query/types.js +0 -16
- package/lib/cjs/setup-tests.js +0 -19
- package/lib/cjs/variables/index.js +0 -31
- package/lib/cjs/variables/types.js +0 -16
- package/lib/cjs/variables/utils.js +0 -97
- package/lib/cjs/variables/victorialogs-field-names/VictoriaLogsFieldNamesVariable.js +0 -57
- package/lib/cjs/variables/victorialogs-field-names/VictoriaLogsFieldNamesVariableEditor.js +0 -80
- package/lib/cjs/variables/victorialogs-field-names/index.js +0 -30
- package/lib/cjs/variables/victorialogs-field-values/VictoriaLogsFieldValuesVariable.js +0 -61
- package/lib/cjs/variables/victorialogs-field-values/VictoriaLogsFieldValuesVariableEditor.js +0 -113
- package/lib/cjs/variables/victorialogs-field-values/index.js +0 -30
- /package/__mf/css/async/{6408.85c2cbf6.css → 7155.85c2cbf6.css} +0 -0
- /package/__mf/js/async/{7984.4808a362.js.LICENSE.txt → 1522.e41aa623.js.LICENSE.txt} +0 -0
- /package/__mf/js/async/{198.fbb67f8a.js.LICENSE.txt → 198.4b388f96.js.LICENSE.txt} +0 -0
- /package/__mf/js/async/{2749.71c38fe0.js.LICENSE.txt → 2786.4ba35a40.js.LICENSE.txt} +0 -0
- /package/__mf/js/async/{392.c6e57bd8.js.LICENSE.txt → 392.8532b8b9.js.LICENSE.txt} +0 -0
- /package/__mf/js/async/{4121.5468ac01.js.LICENSE.txt → 4121.43679b06.js.LICENSE.txt} +0 -0
- /package/__mf/js/async/{3998.3a757c00.js.LICENSE.txt → 4960.813e0b59.js.LICENSE.txt} +0 -0
- /package/__mf/js/async/{5440.7765ad14.js.LICENSE.txt → 5440.e2ea1262.js.LICENSE.txt} +0 -0
- /package/__mf/js/async/{6274.0634d636.js.LICENSE.txt → 6274.efc9c64a.js.LICENSE.txt} +0 -0
- /package/__mf/js/async/{6864.66bc6315.js.LICENSE.txt → 7817.620f3116.js.LICENSE.txt} +0 -0
- /package/__mf/js/async/{5481.b7b48b8f.js.LICENSE.txt → 7862.e6de7017.js.LICENSE.txt} +0 -0
- /package/__mf/js/async/{8470.cb89de3b.js.LICENSE.txt → 8470.6cf8f7b1.js.LICENSE.txt} +0 -0
- /package/__mf/js/async/{7817.5e96b0dd.js.LICENSE.txt → 941.73cfe62f.js.LICENSE.txt} +0 -0
- /package/__mf/js/async/{4225.744952e9.js.LICENSE.txt → 9440.37da95ff.js.LICENSE.txt} +0 -0
- /package/__mf/js/async/{8787.c3298397.js.LICENSE.txt → __federation_expose_VictoriaLogsDatasource.db12b897.js.LICENSE.txt} +0 -0
- /package/__mf/js/async/{941.a44f722e.js.LICENSE.txt → __federation_expose_VictoriaLogsFieldNamesVariable.59ed2274.js.LICENSE.txt} +0 -0
- /package/__mf/js/async/{__federation_expose_VictoriaLogsDatasource.87d7c015.js.LICENSE.txt → __federation_expose_VictoriaLogsFieldValuesVariable.fcbe16ef.js.LICENSE.txt} +0 -0
|
@@ -0,0 +1,102 @@
|
|
|
1
|
+
/*!
|
|
2
|
+
* Copyright (c) 2017 Benjamin Van Ryseghem<benjamin@vanryseghem.com>
|
|
3
|
+
*
|
|
4
|
+
* Permission is hereby granted, free of charge, to any person obtaining a copy
|
|
5
|
+
* of this software and associated documentation files (the "Software"), to deal
|
|
6
|
+
* in the Software without restriction, including without limitation the rights
|
|
7
|
+
* to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
|
8
|
+
* copies of the Software, and to permit persons to whom the Software is
|
|
9
|
+
* furnished to do so, subject to the following conditions:
|
|
10
|
+
*
|
|
11
|
+
* The above copyright notice and this permission notice shall be included in
|
|
12
|
+
* all copies or substantial portions of the Software.
|
|
13
|
+
*
|
|
14
|
+
* THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
|
15
|
+
* IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
|
16
|
+
* FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
|
17
|
+
* AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
|
18
|
+
* LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
|
19
|
+
* OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
|
20
|
+
* SOFTWARE.
|
|
21
|
+
*/
|
|
22
|
+
|
|
23
|
+
/*!
|
|
24
|
+
* ZRender, a high performance 2d drawing library.
|
|
25
|
+
*
|
|
26
|
+
* Copyright (c) 2013, Baidu Inc.
|
|
27
|
+
* All rights reserved.
|
|
28
|
+
*
|
|
29
|
+
* LICENSE
|
|
30
|
+
* https://github.com/ecomfe/zrender/blob/master/LICENSE.txt
|
|
31
|
+
*/
|
|
32
|
+
|
|
33
|
+
/*!
|
|
34
|
+
* decimal.js v10.6.0
|
|
35
|
+
* An arbitrary-precision Decimal type for JavaScript.
|
|
36
|
+
* https://github.com/MikeMcl/decimal.js
|
|
37
|
+
* Copyright (c) 2025 Michael Mclaughlin <M8ch88l@gmail.com>
|
|
38
|
+
* MIT Licence
|
|
39
|
+
*/
|
|
40
|
+
|
|
41
|
+
/*! *****************************************************************************
|
|
42
|
+
Copyright (c) Microsoft Corporation.
|
|
43
|
+
|
|
44
|
+
Permission to use, copy, modify, and/or distribute this software for any
|
|
45
|
+
purpose with or without fee is hereby granted.
|
|
46
|
+
|
|
47
|
+
THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES WITH
|
|
48
|
+
REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY
|
|
49
|
+
AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY SPECIAL, DIRECT,
|
|
50
|
+
INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM
|
|
51
|
+
LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR
|
|
52
|
+
OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
|
|
53
|
+
PERFORMANCE OF THIS SOFTWARE.
|
|
54
|
+
***************************************************************************** */
|
|
55
|
+
|
|
56
|
+
/**
|
|
57
|
+
* match-sorter-utils
|
|
58
|
+
*
|
|
59
|
+
* Copyright (c) TanStack
|
|
60
|
+
*
|
|
61
|
+
* This source code is licensed under the MIT license found in the
|
|
62
|
+
* LICENSE.md file in the root directory of this source tree.
|
|
63
|
+
*
|
|
64
|
+
* @license MIT
|
|
65
|
+
*/
|
|
66
|
+
|
|
67
|
+
/**
|
|
68
|
+
* react-table
|
|
69
|
+
*
|
|
70
|
+
* Copyright (c) TanStack
|
|
71
|
+
*
|
|
72
|
+
* This source code is licensed under the MIT license found in the
|
|
73
|
+
* LICENSE.md file in the root directory of this source tree.
|
|
74
|
+
*
|
|
75
|
+
* @license MIT
|
|
76
|
+
*/
|
|
77
|
+
|
|
78
|
+
/**
|
|
79
|
+
* table-core
|
|
80
|
+
*
|
|
81
|
+
* Copyright (c) TanStack
|
|
82
|
+
*
|
|
83
|
+
* This source code is licensed under the MIT license found in the
|
|
84
|
+
* LICENSE.md file in the root directory of this source tree.
|
|
85
|
+
*
|
|
86
|
+
* @license MIT
|
|
87
|
+
*/
|
|
88
|
+
|
|
89
|
+
/**
|
|
90
|
+
* @license Fraction.js v4.3.7 31/08/2023
|
|
91
|
+
* https://www.xarg.org/2014/03/rational-numbers-in-javascript/
|
|
92
|
+
*
|
|
93
|
+
* Copyright (c) 2023, Robert Eisele (robert@raw.org)
|
|
94
|
+
* Dual licensed under the MIT or GPL Version 2 licenses.
|
|
95
|
+
**/
|
|
96
|
+
|
|
97
|
+
/**
|
|
98
|
+
* @name match-sorter
|
|
99
|
+
* @license MIT license.
|
|
100
|
+
* @copyright (c) 2099 Kent C. Dodds
|
|
101
|
+
* @author Kent C. Dodds <me@kentcdodds.com> (https://kentcdodds.com)
|
|
102
|
+
*/
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
"use strict";(self.chunk_VictoriaLogs_0_5_0_beta_1=self.chunk_VictoriaLogs_0_5_0_beta_1||[]).push([["7192"],{89227(e,t,n){n.r(t),n.d(t,{subSeconds:()=>rv,quartersToMonths:()=>nJ,isThisWeek:()=>tV,isTuesday:()=>t6,millisecondsToHours:()=>nd,getUnixTime:()=>tf,eachQuarterOfInterval:()=>eD,setDay:()=>n6.l,intlFormatDistance:()=>tp,isSameHour:()=>tU.l,isSaturday:()=>o,differenceInSeconds:()=>eo,isSameQuarter:()=>tP,hoursToMinutes:()=>ty,secondsToMilliseconds:()=>nV,startOfWeekYear:()=>ru.b,getDay:()=>e3,startOfDay:()=>ro.o,startOfYesterday:()=>rh,endOfHour:()=>eY,formatDistanceToNow:()=>eG,endOfQuarter:()=>e$,max:()=>F,constructNow:()=>H,formatRelative:()=>e0,subMilliseconds:()=>ry,isThursday:()=>t1,addMilliseconds:()=>y.A,yearsToMonths:()=>rY,isSameISOWeek:()=>tq,isToday:()=>t2,formatDistanceToNowStrict:()=>eP,isTomorrow:()=>t3,getOverlappingDaysInIntervals:()=>ts,differenceInCalendarMonths:()=>P,addHours:()=>d.L,differenceInCalendarQuarters:()=>Z,eachWeekOfInterval:()=>ey,formatRFC3339:()=>eL,lastDayOfDecade:()=>t8,minutesToSeconds:()=>nD,getMinutes:()=>tu.O,previousFriday:()=>n_,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:()=>nX,nextTuesday:()=>nF,startOfMonth:()=>ew.w,isYesterday:()=>t7,eachHourOfInterval:()=>eh,minutesToHours:()=>nM,eachMinuteOfInterval:()=>eg,weeksToDays:()=>rN,yearsToDays:()=>rF,min:()=>Y,subDays:()=>t9,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:()=>nA,interval:()=>tw,isLeapYear:()=>e5,setYear:()=>rs.i,nextWednesday:()=>nY,endOfMinute:()=>eb,parsers:()=>t$.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:()=>nL,nextFriday:()=>nv,set:()=>n2,yearsToQuarters:()=>rk,eachWeekendOfInterval:()=>eO,areIntervalsOverlapping:()=>T,getMonth:()=>ti.t,isThisISOWeek:()=>tJ,setISODay:()=>n7.a,setDefaultOptions:()=>n5,closestTo:()=>x,isThisSecond:()=>tK,setISOWeekYear:()=>m,millisecondsToSeconds:()=>ng,lightFormat:()=>nf,compareDesc:()=>$,previousWednesday:()=>nj,startOfHour:()=>rf.Q,closestIndexTo:()=>I,endOfSecond:()=>eH,daysToWeeks:()=>W,differenceInCalendarWeeks:()=>j,isDate:()=>tF.$,isThisMinute:()=>tA,isFirstDayOfMonth:()=>tI,isThisQuarter:()=>tB,formatRFC7231:()=>eV,roundToNearestMinutes:()=>nB,setHours:()=>n9.a,subMinutes:()=>rO,longFormatters:()=>eE.m,endOfMonth:()=>ea.p,getISOWeekYear:()=>h.p,isBefore:()=>tN.Y,lastDayOfISOWeek:()=>nt,parseJSON:()=>nQ,startOfMinute:()=>tR,setQuarter:()=>rn,compareAsc:()=>b,startOfTomorrow:()=>rd,eachWeekendOfMonth:()=>ev,subMonths:()=>rg,endOfISOWeekYear:()=>ex,formatters:()=>eE._J,endOfWeek:()=>ek.$,differenceInDays:()=>A,differenceInCalendarYears:()=>J,setMonth:()=>n1.Z,isSameMonth:()=>tG.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:()=>tX,isLastDayOfMonth:()=>eu,subBusinessDays:()=>rm,isWithinInterval:()=>t5.v,startOfYear:()=>ep.D,formatDistance:()=>eR,formatISODuration:()=>eA,eachMonthOfInterval:()=>eM,nextMonday:()=>nS,addYears:()=>p.e,intervalToDuration:()=>tv,getDaysInYear:()=>e9,formatDate:()=>eE.Yq,monthsToQuarters:()=>ny,parse:()=>t$.qg,nextSaturday:()=>np,isSameMinute:()=>t_,lastDayOfQuarter:()=>nr,format:()=>eE.GP,isFuture:()=>tb,addISOWeekYears:()=>D,endOfDecade:()=>eF,minutesToMilliseconds:()=>nm,setMinutes:()=>rt.g,getQuarter:()=>X,formatISO9075:()=>eJ,nextThursday:()=>nN,endOfYear:()=>eS.Q,startOfToday:()=>rc,clamp:()=>k,setWeek:()=>ra.Z,getISODay:()=>tt.g,addDays:()=>r.f,formatDistanceStrict:()=>e_,startOfISOWeek:()=>_.b,hoursToMilliseconds:()=>tD,startOfWeek:()=>z.k,getWeek:()=>tc.N,differenceInMonths:()=>ei,isSameYear:()=>tz.s,isMatch:()=>tH,isThisYear:()=>t0,addMinutes:()=>O.z,nextSunday:()=>nT,startOfQuarter:()=>em,previousSaturday:()=>nP,lastDayOfISOWeekYear:()=>nn,add:()=>s,getDaysInMonth:()=>e4.P,isThisMonth:()=>tL,previousMonday:()=>nG,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:()=>nz,endOfToday:()=>eW,differenceInMinutes:()=>en,fromUnixTime:()=>e1,startOfDecade:()=>rl,differenceInCalendarISOWeeks:()=>G,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 b(e,t){let n=(0,i.a)(e)-(0,i.a)(t);return n<0?-1:n>0?1:n}function $(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),_=n(29350);function G(e,t,n){let[r,a]=(0,N.x)(n?.in,e,t),u=(0,_.b)(r),i=(0,_.b)(a);return Math.round((u-(0,Q.G)(u)-(i-(0,Q.G)(i)))/R.my)}function P(e,t,n){let[r,a]=(0,N.x)(n?.in,e,t);return 12*(r.getFullYear()-a.getFullYear())+(r.getMonth()-a.getMonth())}function X(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())+(X(r)-X(a))}var z=n(53819);function j(e,t,n){let[r,a]=(0,N.x)(n?.in,e,t),u=(0,z.k)(r,n),i=(0,z.k)(a,n);return Math.round((u-(0,Q.G)(u)-(i-(0,Q.G)(i)))/R.my)}function J(e,t,n){let[r,a]=(0,N.x)(n?.in,e,t);return r.getFullYear()-a.getFullYear()}function A(e,t,n){let[r,a]=(0,N.x)(n?.in,e,t),u=L(r,a),i=Math.abs((0,g.m)(r,a));r.setDate(r.getDate()-u*i);let s=Number(L(r,a)===-u),o=u*(i-s);return 0===o?0:o}function L(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 B(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 B(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=b(r,a),i=Math.abs(q(r,a,n)),s=Number(b(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 B(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=b(a,u),s=Math.abs(P(a,u));if(s<1)return 0;1===a.getMonth()&&a.getDate()>27&&a.setDate(30),a.setMonth(a.getMonth()-i*s);let o=b(a,u)===-i;eu(r)&&1===s&&1===b(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 B(n?.roundingMethod)(r)}function eo(e,t,n){let r=et(e,t)/1e3;return B(n?.roundingMethod)(r)}function el(e,t,n){let r=A(e,t,n)/7;return B(n?.roundingMethod)(r)}function ef(e,t,n){let[r,a]=(0,N.x)(n?.in,e,t),u=b(r,a),i=Math.abs(J(r,a));r.setFullYear(1584),a.setFullYear(1584);let s=b(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,z.k)(r,t):(0,z.k)(n,t),s=a?(0,z.k)(n,t):(0,z.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,_.b)(r,t);return a.setMilliseconds(a.getMilliseconds()-1),a}function eb(e,t){let n=(0,i.a)(e,t?.in);return n.setSeconds(59,999),n}function e$(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=b(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 e_(e,t,n){let r,a=(0,eQ.q)(),u=n?.locale??a.locale??eq.c,i=b(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=B(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 eG(e,t){return eR(e,H(e),t)}function eP(e,t){return e_(e,H(e),t)}let eX=["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??eX,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 ez=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,ez.F)(n.getDate(),2),t=(0,ez.F)(n.getMonth()+1,2),r=(0,ez.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,ez.F)(Math.trunc(t/60),2),r=(0,ez.F)(t%60,2);s=`${e<0?"+":"-"}${n}:${r}`}else s="Z";let t=(0,ez.F)(n.getHours(),2),a=(0,ez.F)(n.getMinutes(),2),i=(0,ez.F)(n.getSeconds(),2),o=""===u?"":"T",l=[t,a,i].join("extended"===r?":":"");u=`${u}${o}${l}${s}`}return u}function eJ(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,ez.F)(n.getDate(),2),t=(0,ez.F)(n.getMonth()+1,2),r=(0,ez.F)(n.getFullYear(),4);u=`${r}${s}${t}${s}${e}`}if("date"!==a){let e=(0,ez.F)(n.getHours(),2),t=(0,ez.F)(n.getMinutes(),2),r=(0,ez.F)(n.getSeconds(),2),a=""===u?"":" ";u=`${u}${a}${e}${o}${t}${o}${r}`}return u}function eA(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 eL(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,ez.F)(n.getDate(),2),u=(0,ez.F)(n.getMonth()+1,2),s=n.getFullYear(),o=(0,ez.F)(n.getHours(),2),l=(0,ez.F)(n.getMinutes(),2),f=(0,ez.F)(n.getSeconds(),2),c="";if(r>0){let e=Math.trunc(n.getMilliseconds()*Math.pow(10,r-3));c="."+(0,ez.F)(e,r)}let d="",h=n.getTimezoneOffset();if(0!==h){let e=Math.abs(h),t=(0,ez.F)(Math.trunc(e/60),2),n=(0,ez.F)(e%60,2);d=`${h<0?"+":"-"}${t}:${n}`}else d="Z";return`${s}-${u}-${a}T${o}:${l}:${f}${c}${d}`}let eB=["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=eB[t.getUTCDay()],r=(0,ez.F)(t.getUTCDate(),2),a=eK[t.getUTCMonth()],u=t.getUTCFullYear(),s=(0,ez.F)(t.getUTCHours(),2),o=(0,ez.F)(t.getUTCMinutes(),2),l=(0,ez.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 e5(e,t){let n=(0,i.a)(e,t?.in).getFullYear();return n%400==0||n%4==0&&n%100!=0}function e9(e,t){let n=(0,i.a)(e,t?.in);return Number.isNaN(+n)?NaN:e5(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=A(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=P(u,i):"quarter"===r?a=Z(u,i):"year"===r&&(a=J(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=P(u,i),r="month"):Math.abs(e)<R.Mf&&4>Z(u,i)?(a=Z(u,i),r="quarter"):(a=J(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 tb(e){return+(0,i.a)(e)>Date.now()}var t$=n(12282);function tH(e,t,n){return(0,U.f)((0,t$.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,z.k)(r,n)==+(0,z.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 t_(e,t){return+tR(e)==+tR(t)}var tG=n(39270);function tP(e,t,n){let[r,a]=(0,N.x)(n?.in,e,t);return+em(r)==+em(a)}function tX(e,t){let n=(0,i.a)(e,t?.in);return n.setMilliseconds(0),n}function tZ(e,t){return+tX(e)==+tX(t)}var tz=n(67619);function tj(e,t){return(0,tU.l)((0,i.a)(e,t?.in),H(t?.in||e))}function tJ(e,t){return tq((0,u.w)(t?.in||e,e),H(t?.in||e))}function tA(e){return t_(e,H(e))}function tL(e,t){return(0,tG.t)((0,u.w)(t?.in||e,e),H(t?.in||e))}function tB(e,t){return tP((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,tz.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 t5=n(682);function t9(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),t9(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,_.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=nb.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(n$);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,nb=/([Z+-].*)$/,n$=/^-?(?:(\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),t9(e,r,n)}function n_(e,t){return nR(e,5,t)}function nG(e,t){return nR(e,1,t)}function nP(e,t){return nR(e,6,t)}function nX(e,t){return nR(e,0,t)}function nZ(e,t){return nR(e,4,t)}function nz(e,t){return nR(e,2,t)}function nj(e,t){return nR(e,3,t)}function nJ(e){return Math.trunc(3*e)}function nA(e){return Math.trunc(e/4)}function nL(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=B(t?.roundingMethod??"round")(l/n)*n;return r.setHours(f,0,0,0),r}function nB(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=B(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 n5(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 n9=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=t9(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,101 @@
|
|
|
1
|
+
"use strict";(self.chunk_VictoriaLogs_0_5_0_beta_1=self.chunk_VictoriaLogs_0_5_0_beta_1||[]).push([["7740"],{31271(e,t,r){r.d(t,{A:()=>H});var o,n,a=r(70451),i=r(11750),l=r(81023),s=r(59238),c=r(81227),p=r(48865),u=r(59078),d=r(11502),f=r(47095),h=r(47601),m=r(63095),g=r(35931),v=r(8323),b=r(52131),y=r(17834),x=r(94886),A=r(77308),$=r(23434),w=r(72052),k=r(29009),O=r(46733);function C(e){return(0,O.Ay)("MuiAutocomplete",e)}let S=(0,k.A)("MuiAutocomplete",["root","expanded","fullWidth","focused","focusVisible","tag","tagSizeSmall","tagSizeMedium","hasPopupIcon","hasClearIcon","inputRoot","input","inputFocused","endAdornment","clearIndicator","popupIndicator","popupIndicatorOpen","popper","popperDisablePortal","paper","listbox","loading","noOptions","option","groupLabel","groupUl"]);var R=r(24726),I=r(73397),M=r(62540);let P=(0,A.A)("div",{name:"MuiAutocomplete",slot:"Root",overridesResolver:(e,t)=>{let{ownerState:r}=e,{fullWidth:o,hasClearIcon:n,hasPopupIcon:a,inputFocused:i,size:l}=r;return[{[`& .${S.tag}`]:t.tag},{[`& .${S.tag}`]:t[`tagSize${(0,R.A)(l)}`]},{[`& .${S.inputRoot}`]:t.inputRoot},{[`& .${S.input}`]:t.input},{[`& .${S.input}`]:i&&t.inputFocused},t.root,o&&t.fullWidth,a&&t.hasPopupIcon,n&&t.hasClearIcon]}})({[`&.${S.focused} .${S.clearIndicator}`]:{visibility:"visible"},"@media (pointer: fine)":{[`&:hover .${S.clearIndicator}`]:{visibility:"visible"}},[`& .${S.tag}`]:{margin:3,maxWidth:"calc(100% - 6px)"},[`& .${S.inputRoot}`]:{[`.${S.hasPopupIcon}&, .${S.hasClearIcon}&`]:{paddingRight:30},[`.${S.hasPopupIcon}.${S.hasClearIcon}&`]:{paddingRight:56},[`& .${S.input}`]:{width:0,minWidth:30}},[`& .${m.A.root}`]:{paddingBottom:1,"& .MuiInput-input":{padding:"4px 4px 4px 0px"}},[`& .${m.A.root}.${g.A.sizeSmall}`]:{[`& .${m.A.input}`]:{padding:"2px 4px 3px 0"}},[`& .${v.A.root}`]:{padding:9,[`.${S.hasPopupIcon}&, .${S.hasClearIcon}&`]:{paddingRight:39},[`.${S.hasPopupIcon}.${S.hasClearIcon}&`]:{paddingRight:65},[`& .${S.input}`]:{padding:"7.5px 4px 7.5px 5px"},[`& .${S.endAdornment}`]:{right:9}},[`& .${v.A.root}.${g.A.sizeSmall}`]:{paddingTop:6,paddingBottom:6,paddingLeft:6,[`& .${S.input}`]:{padding:"2.5px 4px 2.5px 8px"}},[`& .${b.A.root}`]:{paddingTop:19,paddingLeft:8,[`.${S.hasPopupIcon}&, .${S.hasClearIcon}&`]:{paddingRight:39},[`.${S.hasPopupIcon}.${S.hasClearIcon}&`]:{paddingRight:65},[`& .${b.A.input}`]:{padding:"7px 4px"},[`& .${S.endAdornment}`]:{right:9}},[`& .${b.A.root}.${g.A.sizeSmall}`]:{paddingBottom:1,[`& .${b.A.input}`]:{padding:"2.5px 4px"}},[`& .${g.A.hiddenLabel}`]:{paddingTop:8},[`& .${b.A.root}.${g.A.hiddenLabel}`]:{paddingTop:0,paddingBottom:0,[`& .${S.input}`]:{paddingTop:16,paddingBottom:17}},[`& .${b.A.root}.${g.A.hiddenLabel}.${g.A.sizeSmall}`]:{[`& .${S.input}`]:{paddingTop:8,paddingBottom:9}},[`& .${S.input}`]:{flexGrow:1,textOverflow:"ellipsis",opacity:0},variants:[{props:{fullWidth:!0},style:{width:"100%"}},{props:{size:"small"},style:{[`& .${S.tag}`]:{margin:2,maxWidth:"calc(100% - 4px)"}}},{props:{inputFocused:!0},style:{[`& .${S.input}`]:{opacity:1}}},{props:{multiple:!0},style:{[`& .${S.inputRoot}`]:{flexWrap:"wrap"}}}]}),j=(0,A.A)("div",{name:"MuiAutocomplete",slot:"EndAdornment",overridesResolver:(e,t)=>t.endAdornment})({position:"absolute",right:0,top:"50%",transform:"translate(0, -50%)"}),E=(0,A.A)(f.A,{name:"MuiAutocomplete",slot:"ClearIndicator",overridesResolver:(e,t)=>t.clearIndicator})({marginRight:-2,padding:4,visibility:"hidden"}),L=(0,A.A)(f.A,{name:"MuiAutocomplete",slot:"PopupIndicator",overridesResolver:(e,t)=>{let{ownerState:r}=e;return[t.popupIndicator,r.popupOpen&&t.popupIndicatorOpen]}})({padding:2,marginRight:-2,variants:[{props:{popupOpen:!0},style:{transform:"rotate(180deg)"}}]}),D=(0,A.A)(p.A,{name:"MuiAutocomplete",slot:"Popper",overridesResolver:(e,t)=>{let{ownerState:r}=e;return[{[`& .${S.option}`]:t.option},t.popper,r.disablePortal&&t.popperDisablePortal]}})((0,$.A)(({theme:e})=>({zIndex:(e.vars||e).zIndex.modal,variants:[{props:{disablePortal:!0},style:{position:"absolute"}}]}))),T=(0,A.A)(d.A,{name:"MuiAutocomplete",slot:"Paper",overridesResolver:(e,t)=>t.paper})((0,$.A)(({theme:e})=>({...e.typography.body1,overflow:"auto"}))),z=(0,A.A)("div",{name:"MuiAutocomplete",slot:"Loading",overridesResolver:(e,t)=>t.loading})((0,$.A)(({theme:e})=>({color:(e.vars||e).palette.text.secondary,padding:"14px 16px"}))),N=(0,A.A)("div",{name:"MuiAutocomplete",slot:"NoOptions",overridesResolver:(e,t)=>t.noOptions})((0,$.A)(({theme:e})=>({color:(e.vars||e).palette.text.secondary,padding:"14px 16px"}))),B=(0,A.A)("ul",{name:"MuiAutocomplete",slot:"Listbox",overridesResolver:(e,t)=>t.listbox})((0,$.A)(({theme:e})=>({listStyle:"none",margin:0,padding:"8px 0",maxHeight:"40vh",overflow:"auto",position:"relative",[`& .${S.option}`]:{minHeight:48,display:"flex",overflow:"hidden",justifyContent:"flex-start",alignItems:"center",cursor:"pointer",paddingTop:6,boxSizing:"border-box",outline:"0",WebkitTapHighlightColor:"transparent",paddingBottom:6,paddingLeft:16,paddingRight:16,[e.breakpoints.up("sm")]:{minHeight:"auto"},[`&.${S.focused}`]:{backgroundColor:(e.vars||e).palette.action.hover,"@media (hover: none)":{backgroundColor:"transparent"}},'&[aria-disabled="true"]':{opacity:(e.vars||e).palette.action.disabledOpacity,pointerEvents:"none"},[`&.${S.focusVisible}`]:{backgroundColor:(e.vars||e).palette.action.focus},'&[aria-selected="true"]':{backgroundColor:e.vars?`rgba(${e.vars.palette.primary.mainChannel} / ${e.vars.palette.action.selectedOpacity})`:(0,s.X4)(e.palette.primary.main,e.palette.action.selectedOpacity),[`&.${S.focused}`]:{backgroundColor:e.vars?`rgba(${e.vars.palette.primary.mainChannel} / calc(${e.vars.palette.action.selectedOpacity} + ${e.vars.palette.action.hoverOpacity}))`:(0,s.X4)(e.palette.primary.main,e.palette.action.selectedOpacity+e.palette.action.hoverOpacity),"@media (hover: none)":{backgroundColor:(e.vars||e).palette.action.selected}},[`&.${S.focusVisible}`]:{backgroundColor:e.vars?`rgba(${e.vars.palette.primary.mainChannel} / calc(${e.vars.palette.action.selectedOpacity} + ${e.vars.palette.action.focusOpacity}))`:(0,s.X4)(e.palette.primary.main,e.palette.action.selectedOpacity+e.palette.action.focusOpacity)}}}}))),V=(0,A.A)(u.A,{name:"MuiAutocomplete",slot:"GroupLabel",overridesResolver:(e,t)=>t.groupLabel})((0,$.A)(({theme:e})=>({backgroundColor:(e.vars||e).palette.background.paper,top:-8}))),W=(0,A.A)("ul",{name:"MuiAutocomplete",slot:"GroupUl",overridesResolver:(e,t)=>t.groupUl})({padding:0,[`& .${S.option}`]:{paddingLeft:24}}),H=a.forwardRef(function(e,t){let r,s=(0,w.b)({props:e,name:"MuiAutocomplete"}),{autoComplete:u=!1,autoHighlight:f=!1,autoSelect:m=!1,blurOnSelect:g=!1,ChipProps:v,className:b,clearIcon:A=o||(o=(0,M.jsx)(y.A,{fontSize:"small"})),clearOnBlur:$=!s.freeSolo,clearOnEscape:k=!1,clearText:O="Clear",closeText:S="Close",componentsProps:H,defaultValue:F=s.multiple?[]:null,disableClearable:X=!1,disableCloseOnSelect:q=!1,disabled:U=!1,disabledItemsFocusable:_=!1,disableListWrap:K=!1,disablePortal:G=!1,filterOptions:Y,filterSelectedOptions:Z=!1,forcePopupIcon:J="auto",freeSolo:Q=!1,fullWidth:ee=!1,getLimitTagsText:et=e=>`+${e}`,getOptionDisabled:er,getOptionKey:eo,getOptionLabel:en,isOptionEqualToValue:ea,groupBy:ei,handleHomeEndKeys:el=!s.freeSolo,id:es,includeInputInList:ec=!1,inputValue:ep,limitTags:eu=-1,ListboxComponent:ed,ListboxProps:ef,loading:eh=!1,loadingText:em="Loading…",multiple:eg=!1,noOptionsText:ev="No options",onChange:eb,onClose:ey,onHighlightChange:ex,onInputChange:eA,onOpen:e$,open:ew,openOnFocus:ek=!1,openText:eO="Open",options:eC,PaperComponent:eS,PopperComponent:eR,popupIcon:eI=n||(n=(0,M.jsx)(x.A,{})),readOnly:eM=!1,renderGroup:eP,renderInput:ej,renderOption:eE,renderTags:eL,selectOnFocus:eD=!s.freeSolo,size:eT="medium",slots:ez={},slotProps:eN={},value:eB,...eV}=s,{getRootProps:eW,getInputProps:eH,getInputLabelProps:eF,getPopupIndicatorProps:eX,getClearProps:eq,getTagProps:eU,getListboxProps:e_,getOptionProps:eK,value:eG,dirty:eY,expanded:eZ,id:eJ,popupOpen:eQ,focused:e0,focusedTag:e1,anchorEl:e2,setAnchorEl:e4,inputValue:e3,groupedOptions:e5}=(0,c.A)({...s,componentName:"Autocomplete"}),e7=!X&&!U&&eY&&!eM,e9=(!Q||!0===J)&&!1!==J,{onMouseDown:e6}=eH(),{ref:e8,...te}=e_(),tt=en||(e=>e.label??e),tr={...s,disablePortal:G,expanded:eZ,focused:e0,fullWidth:ee,getOptionLabel:tt,hasClearIcon:e7,hasPopupIcon:e9,inputFocused:-1===e1,popupOpen:eQ,size:eT},to=(e=>{let{classes:t,disablePortal:r,expanded:o,focused:n,fullWidth:a,hasClearIcon:i,hasPopupIcon:s,inputFocused:c,popupOpen:p,size:u}=e,d={root:["root",o&&"expanded",n&&"focused",a&&"fullWidth",i&&"hasClearIcon",s&&"hasPopupIcon"],inputRoot:["inputRoot"],input:["input",c&&"inputFocused"],tag:["tag",`tagSize${(0,R.A)(u)}`],endAdornment:["endAdornment"],clearIndicator:["clearIndicator"],popupIndicator:["popupIndicator",p&&"popupIndicatorOpen"],popper:["popper",r&&"popperDisablePortal"],paper:["paper"],listbox:["listbox"],loading:["loading"],noOptions:["noOptions"],option:["option"],groupLabel:["groupLabel"],groupUl:["groupUl"]};return(0,l.A)(d,C,t)})(tr),tn={slots:{paper:eS,popper:eR,...ez},slotProps:{chip:v,listbox:ef,...H,...eN}},[ta,ti]=(0,I.A)("listbox",{elementType:B,externalForwardedProps:tn,ownerState:tr,className:to.listbox,additionalProps:te,ref:e8}),[tl,ts]=(0,I.A)("paper",{elementType:d.A,externalForwardedProps:tn,ownerState:tr,className:to.paper}),[tc,tp]=(0,I.A)("popper",{elementType:p.A,externalForwardedProps:tn,ownerState:tr,className:to.popper,additionalProps:{disablePortal:G,style:{width:e2?e2.clientWidth:null},role:"presentation",anchorEl:e2,open:eQ}});if(eg&&eG.length>0){let e=e=>({className:to.tag,disabled:U,...eU(e)});r=eL?eL(eG,e,tr):eG.map((t,r)=>{let{key:o,...n}=e({index:r});return(0,M.jsx)(h.A,{label:tt(t),size:eT,...n,...tn.slotProps.chip},o)})}if(eu>-1&&Array.isArray(r)){let e=r.length-eu;!e0&&e>0&&(r=r.splice(0,eu)).push((0,M.jsx)("span",{className:to.tag,children:et(e)},r.length))}let tu=eP||(e=>(0,M.jsxs)("li",{children:[(0,M.jsx)(V,{className:to.groupLabel,ownerState:tr,component:"div",children:e.group}),(0,M.jsx)(W,{className:to.groupUl,ownerState:tr,children:e.children})]},e.key)),td=eE||((e,t)=>{let{key:r,...o}=e;return(0,M.jsx)("li",{...o,children:tt(t)},r)}),tf=(e,t)=>{let r=eK({option:e,index:t});return td({...r,className:to.option},e,{selected:r["aria-selected"],index:t,inputValue:e3},tr)},th=tn.slotProps.clearIndicator,tm=tn.slotProps.popupIndicator;return(0,M.jsxs)(a.Fragment,{children:[(0,M.jsx)(P,{ref:t,className:(0,i.A)(to.root,b),ownerState:tr,...eW(eV),children:ej({id:eJ,disabled:U,fullWidth:!0,size:"small"===eT?"small":void 0,InputLabelProps:eF(),InputProps:{ref:e4,className:to.inputRoot,startAdornment:r,onMouseDown:e=>{e.target===e.currentTarget&&e6(e)},...(e7||e9)&&{endAdornment:(0,M.jsxs)(j,{className:to.endAdornment,ownerState:tr,children:[e7?(0,M.jsx)(E,{...eq(),"aria-label":O,title:O,ownerState:tr,...th,className:(0,i.A)(to.clearIndicator,th?.className),children:A}):null,e9?(0,M.jsx)(L,{...eX(),disabled:U,"aria-label":eQ?S:eO,title:eQ?S:eO,ownerState:tr,...tm,className:(0,i.A)(to.popupIndicator,tm?.className),children:eI}):null]})}},inputProps:{className:to.input,disabled:U,readOnly:eM,...eH()}})}),e2?(0,M.jsx)(D,{as:tc,...tp,children:(0,M.jsxs)(T,{as:tl,...ts,children:[eh&&0===e5.length?(0,M.jsx)(z,{className:to.loading,ownerState:tr,children:em}):null,0!==e5.length||Q||eh?null:(0,M.jsx)(N,{className:to.noOptions,ownerState:tr,role:"presentation",onMouseDown:e=>{e.preventDefault()},children:ev}),e5.length>0?(0,M.jsx)(ta,{as:ed,...ti,children:e5.map((e,t)=>ei?tu({key:e.key,group:e.group,children:e.options.map((t,r)=>tf(t,e.index+r))}):tf(e,t))}):null]})}):null]})})},1337(e,t,r){r.d(t,{A:()=>M});var o=r(70451),n=r(11750),a=r(81023),i=r(93399),l=r(77308),s=r(72052),c=r(29424),p=r(32398),u=r(48731);class d{static create(){return new d}static use(){let e=(0,u.A)(d.create).current,[t,r]=o.useState(!1);return e.shouldMount=t,e.setShouldMount=r,o.useEffect(e.mountEffect,[t]),e}constructor(){this.ref={current:null},this.mounted=null,this.didMount=!1,this.shouldMount=!1,this.setShouldMount=null}mount(){let e,t,r;return this.mounted||(this.mounted=((r=new Promise((r,o)=>{e=r,t=o})).resolve=e,r.reject=t,r),this.shouldMount=!0,this.setShouldMount(this.shouldMount)),this.mounted}mountEffect=()=>{this.shouldMount&&!this.didMount&&null!==this.ref.current&&(this.didMount=!0,this.mounted.resolve())};start(...e){this.mount().then(()=>this.ref.current?.start(...e))}stop(...e){this.mount().then(()=>this.ref.current?.stop(...e))}pulsate(...e){this.mount().then(()=>this.ref.current?.pulsate(...e))}}var f=r(44394),h=r(3725),m=r(69402),g=r(62540),v=r(29009);let b=(0,v.A)("MuiTouchRipple",["root","ripple","rippleVisible","ripplePulsate","child","childLeaving","childPulsate"]),y=(0,m.keyframes)`
|
|
2
|
+
0% {
|
|
3
|
+
transform: scale(0);
|
|
4
|
+
opacity: 0.1;
|
|
5
|
+
}
|
|
6
|
+
|
|
7
|
+
100% {
|
|
8
|
+
transform: scale(1);
|
|
9
|
+
opacity: 0.3;
|
|
10
|
+
}
|
|
11
|
+
`,x=(0,m.keyframes)`
|
|
12
|
+
0% {
|
|
13
|
+
opacity: 1;
|
|
14
|
+
}
|
|
15
|
+
|
|
16
|
+
100% {
|
|
17
|
+
opacity: 0;
|
|
18
|
+
}
|
|
19
|
+
`,A=(0,m.keyframes)`
|
|
20
|
+
0% {
|
|
21
|
+
transform: scale(1);
|
|
22
|
+
}
|
|
23
|
+
|
|
24
|
+
50% {
|
|
25
|
+
transform: scale(0.92);
|
|
26
|
+
}
|
|
27
|
+
|
|
28
|
+
100% {
|
|
29
|
+
transform: scale(1);
|
|
30
|
+
}
|
|
31
|
+
`,$=(0,l.A)("span",{name:"MuiTouchRipple",slot:"Root"})({overflow:"hidden",pointerEvents:"none",position:"absolute",zIndex:0,top:0,right:0,bottom:0,left:0,borderRadius:"inherit"}),w=(0,l.A)(function(e){let{className:t,classes:r,pulsate:a=!1,rippleX:i,rippleY:l,rippleSize:s,in:c,onExited:p,timeout:u}=e,[d,f]=o.useState(!1),h=(0,n.A)(t,r.ripple,r.rippleVisible,a&&r.ripplePulsate),m=(0,n.A)(r.child,d&&r.childLeaving,a&&r.childPulsate);return c||d||f(!0),o.useEffect(()=>{if(!c&&null!=p){let e=setTimeout(p,u);return()=>{clearTimeout(e)}}},[p,c,u]),(0,g.jsx)("span",{className:h,style:{width:s,height:s,top:-(s/2)+l,left:-(s/2)+i},children:(0,g.jsx)("span",{className:m})})},{name:"MuiTouchRipple",slot:"Ripple"})`
|
|
32
|
+
opacity: 0;
|
|
33
|
+
position: absolute;
|
|
34
|
+
|
|
35
|
+
&.${b.rippleVisible} {
|
|
36
|
+
opacity: 0.3;
|
|
37
|
+
transform: scale(1);
|
|
38
|
+
animation-name: ${y};
|
|
39
|
+
animation-duration: ${550}ms;
|
|
40
|
+
animation-timing-function: ${({theme:e})=>e.transitions.easing.easeInOut};
|
|
41
|
+
}
|
|
42
|
+
|
|
43
|
+
&.${b.ripplePulsate} {
|
|
44
|
+
animation-duration: ${({theme:e})=>e.transitions.duration.shorter}ms;
|
|
45
|
+
}
|
|
46
|
+
|
|
47
|
+
& .${b.child} {
|
|
48
|
+
opacity: 1;
|
|
49
|
+
display: block;
|
|
50
|
+
width: 100%;
|
|
51
|
+
height: 100%;
|
|
52
|
+
border-radius: 50%;
|
|
53
|
+
background-color: currentColor;
|
|
54
|
+
}
|
|
55
|
+
|
|
56
|
+
& .${b.childLeaving} {
|
|
57
|
+
opacity: 0;
|
|
58
|
+
animation-name: ${x};
|
|
59
|
+
animation-duration: ${550}ms;
|
|
60
|
+
animation-timing-function: ${({theme:e})=>e.transitions.easing.easeInOut};
|
|
61
|
+
}
|
|
62
|
+
|
|
63
|
+
& .${b.childPulsate} {
|
|
64
|
+
position: absolute;
|
|
65
|
+
/* @noflip */
|
|
66
|
+
left: 0px;
|
|
67
|
+
top: 0;
|
|
68
|
+
animation-name: ${A};
|
|
69
|
+
animation-duration: 2500ms;
|
|
70
|
+
animation-timing-function: ${({theme:e})=>e.transitions.easing.easeInOut};
|
|
71
|
+
animation-iteration-count: infinite;
|
|
72
|
+
animation-delay: 200ms;
|
|
73
|
+
}
|
|
74
|
+
`,k=o.forwardRef(function(e,t){let{center:r=!1,classes:a={},className:i,...l}=(0,s.b)({props:e,name:"MuiTouchRipple"}),[c,p]=o.useState([]),u=o.useRef(0),d=o.useRef(null);o.useEffect(()=>{d.current&&(d.current(),d.current=null)},[c]);let m=o.useRef(!1),v=(0,h.A)(),y=o.useRef(null),x=o.useRef(null),A=o.useCallback(e=>{let{pulsate:t,rippleX:r,rippleY:o,rippleSize:i,cb:l}=e;p(e=>[...e,(0,g.jsx)(w,{classes:{ripple:(0,n.A)(a.ripple,b.ripple),rippleVisible:(0,n.A)(a.rippleVisible,b.rippleVisible),ripplePulsate:(0,n.A)(a.ripplePulsate,b.ripplePulsate),child:(0,n.A)(a.child,b.child),childLeaving:(0,n.A)(a.childLeaving,b.childLeaving),childPulsate:(0,n.A)(a.childPulsate,b.childPulsate)},timeout:550,pulsate:t,rippleX:r,rippleY:o,rippleSize:i},u.current)]),u.current+=1,d.current=l},[a]),k=o.useCallback((e={},t={},o=()=>{})=>{let n,a,i,{pulsate:l=!1,center:s=r||t.pulsate,fakeElement:c=!1}=t;if(e?.type==="mousedown"&&m.current){m.current=!1;return}e?.type==="touchstart"&&(m.current=!0);let p=c?null:x.current,u=p?p.getBoundingClientRect():{width:0,height:0,left:0,top:0};if(!s&&void 0!==e&&(0!==e.clientX||0!==e.clientY)&&(e.clientX||e.touches)){let{clientX:t,clientY:r}=e.touches&&e.touches.length>0?e.touches[0]:e;n=Math.round(t-u.left),a=Math.round(r-u.top)}else n=Math.round(u.width/2),a=Math.round(u.height/2);s?(i=Math.sqrt((2*u.width**2+u.height**2)/3))%2==0&&(i+=1):i=Math.sqrt((2*Math.max(Math.abs((p?p.clientWidth:0)-n),n)+2)**2+(2*Math.max(Math.abs((p?p.clientHeight:0)-a),a)+2)**2),e?.touches?null===y.current&&(y.current=()=>{A({pulsate:l,rippleX:n,rippleY:a,rippleSize:i,cb:o})},v.start(80,()=>{y.current&&(y.current(),y.current=null)})):A({pulsate:l,rippleX:n,rippleY:a,rippleSize:i,cb:o})},[r,A,v]),O=o.useCallback(()=>{k({},{pulsate:!0})},[k]),C=o.useCallback((e,t)=>{if(v.clear(),e?.type==="touchend"&&y.current){y.current(),y.current=null,v.start(0,()=>{C(e,t)});return}y.current=null,p(e=>e.length>0?e.slice(1):e),d.current=t},[v]);return o.useImperativeHandle(t,()=>({pulsate:O,start:k,stop:C}),[O,k,C]),(0,g.jsx)($,{className:(0,n.A)(b.root,a.root,i),ref:x,...l,children:(0,g.jsx)(f.A,{component:null,exit:!0,children:c})})});var O=r(46733);function C(e){return(0,O.Ay)("MuiButtonBase",e)}let S=(0,v.A)("MuiButtonBase",["root","disabled","focusVisible"]),R=(0,l.A)("button",{name:"MuiButtonBase",slot:"Root",overridesResolver:(e,t)=>t.root})({display:"inline-flex",alignItems:"center",justifyContent:"center",position:"relative",boxSizing:"border-box",WebkitTapHighlightColor:"transparent",backgroundColor:"transparent",outline:0,border:0,margin:0,borderRadius:0,padding:0,cursor:"pointer",userSelect:"none",verticalAlign:"middle",MozAppearance:"none",WebkitAppearance:"none",textDecoration:"none",color:"inherit","&::-moz-focus-inner":{borderStyle:"none"},[`&.${S.disabled}`]:{pointerEvents:"none",cursor:"default"},"@media print":{colorAdjust:"exact"}});function I(e,t,r,o=!1){return(0,p.A)(n=>(r&&r(n),o||e[t](n),!0))}let M=o.forwardRef(function(e,t){let r=(0,s.b)({props:e,name:"MuiButtonBase"}),{action:l,centerRipple:u=!1,children:f,className:h,component:m="button",disabled:v=!1,disableRipple:b=!1,disableTouchRipple:y=!1,focusRipple:x=!1,focusVisibleClassName:A,LinkComponent:$="a",onBlur:w,onClick:O,onContextMenu:S,onDragLeave:M,onFocus:P,onFocusVisible:j,onKeyDown:E,onKeyUp:L,onMouseDown:D,onMouseLeave:T,onMouseUp:z,onTouchEnd:N,onTouchMove:B,onTouchStart:V,tabIndex:W=0,TouchRippleProps:H,touchRippleRef:F,type:X,...q}=r,U=o.useRef(null),_=d.use(),K=(0,c.A)(_.ref,F),[G,Y]=o.useState(!1);v&&G&&Y(!1),o.useImperativeHandle(l,()=>({focusVisible:()=>{Y(!0),U.current.focus()}}),[]);let Z=_.shouldMount&&!b&&!v;o.useEffect(()=>{G&&x&&!b&&_.pulsate()},[b,x,G,_]);let J=I(_,"start",D,y),Q=I(_,"stop",S,y),ee=I(_,"stop",M,y),et=I(_,"stop",z,y),er=I(_,"stop",e=>{G&&e.preventDefault(),T&&T(e)},y),eo=I(_,"start",V,y),en=I(_,"stop",N,y),ea=I(_,"stop",B,y),ei=I(_,"stop",e=>{(0,i.A)(e.target)||Y(!1),w&&w(e)},!1),el=(0,p.A)(e=>{U.current||(U.current=e.currentTarget),(0,i.A)(e.target)&&(Y(!0),j&&j(e)),P&&P(e)}),es=()=>{let e=U.current;return m&&"button"!==m&&!("A"===e.tagName&&e.href)},ec=(0,p.A)(e=>{x&&!e.repeat&&G&&" "===e.key&&_.stop(e,()=>{_.start(e)}),e.target===e.currentTarget&&es()&&" "===e.key&&e.preventDefault(),E&&E(e),e.target===e.currentTarget&&es()&&"Enter"===e.key&&!v&&(e.preventDefault(),O&&O(e))}),ep=(0,p.A)(e=>{x&&" "===e.key&&G&&!e.defaultPrevented&&_.stop(e,()=>{_.pulsate(e)}),L&&L(e),O&&e.target===e.currentTarget&&es()&&" "===e.key&&!e.defaultPrevented&&O(e)}),eu=m;"button"===eu&&(q.href||q.to)&&(eu=$);let ed={};"button"===eu?(ed.type=void 0===X?"button":X,ed.disabled=v):(q.href||q.to||(ed.role="button"),v&&(ed["aria-disabled"]=v));let ef=(0,c.A)(t,U),eh={...r,centerRipple:u,component:m,disabled:v,disableRipple:b,disableTouchRipple:y,focusRipple:x,tabIndex:W,focusVisible:G},em=(e=>{let{disabled:t,focusVisible:r,focusVisibleClassName:o,classes:n}=e,i=(0,a.A)({root:["root",t&&"disabled",r&&"focusVisible"]},C,n);return r&&o&&(i.root+=` ${o}`),i})(eh);return(0,g.jsxs)(R,{as:eu,className:(0,n.A)(em.root,h),ownerState:eh,onBlur:ei,onClick:O,onContextMenu:Q,onFocus:el,onKeyDown:ec,onKeyUp:ep,onMouseDown:J,onMouseLeave:er,onMouseUp:et,onDragLeave:ee,onTouchEnd:en,onTouchMove:ea,onTouchStart:eo,ref:ef,tabIndex:v?-1:W,type:X,...ed,...q,children:[f,Z?(0,g.jsx)(k,{ref:K,center:u,...H}):null]})})},47601(e,t,r){r.d(t,{A:()=>k});var o=r(70451),n=r(11750),a=r(81023),i=r(59238),l=r(22402),s=r(62540);let c=(0,l.A)((0,s.jsx)("path",{d:"M12 2C6.47 2 2 6.47 2 12s4.47 10 10 10 10-4.47 10-10S17.53 2 12 2zm5 13.59L15.59 17 12 13.41 8.41 17 7 15.59 10.59 12 7 8.41 8.41 7 12 10.59 15.59 7 17 8.41 13.41 12 17 15.59z"}),"Cancel");var p=r(29424),u=r(24726),d=r(1337),f=r(77308),h=r(23434),m=r(26952),g=r(72052),v=r(29009),b=r(46733);function y(e){return(0,b.Ay)("MuiChip",e)}let x=(0,v.A)("MuiChip",["root","sizeSmall","sizeMedium","colorDefault","colorError","colorInfo","colorPrimary","colorSecondary","colorSuccess","colorWarning","disabled","clickable","clickableColorPrimary","clickableColorSecondary","deletable","deletableColorPrimary","deletableColorSecondary","outlined","filled","outlinedPrimary","outlinedSecondary","filledPrimary","filledSecondary","avatar","avatarSmall","avatarMedium","avatarColorPrimary","avatarColorSecondary","icon","iconSmall","iconMedium","iconColorPrimary","iconColorSecondary","label","labelSmall","labelMedium","deleteIcon","deleteIconSmall","deleteIconMedium","deleteIconColorPrimary","deleteIconColorSecondary","deleteIconOutlinedColorPrimary","deleteIconOutlinedColorSecondary","deleteIconFilledColorPrimary","deleteIconFilledColorSecondary","focusVisible"]),A=(0,f.A)("div",{name:"MuiChip",slot:"Root",overridesResolver:(e,t)=>{let{ownerState:r}=e,{color:o,iconColor:n,clickable:a,onDelete:i,size:l,variant:s}=r;return[{[`& .${x.avatar}`]:t.avatar},{[`& .${x.avatar}`]:t[`avatar${(0,u.A)(l)}`]},{[`& .${x.avatar}`]:t[`avatarColor${(0,u.A)(o)}`]},{[`& .${x.icon}`]:t.icon},{[`& .${x.icon}`]:t[`icon${(0,u.A)(l)}`]},{[`& .${x.icon}`]:t[`iconColor${(0,u.A)(n)}`]},{[`& .${x.deleteIcon}`]:t.deleteIcon},{[`& .${x.deleteIcon}`]:t[`deleteIcon${(0,u.A)(l)}`]},{[`& .${x.deleteIcon}`]:t[`deleteIconColor${(0,u.A)(o)}`]},{[`& .${x.deleteIcon}`]:t[`deleteIcon${(0,u.A)(s)}Color${(0,u.A)(o)}`]},t.root,t[`size${(0,u.A)(l)}`],t[`color${(0,u.A)(o)}`],a&&t.clickable,a&&"default"!==o&&t[`clickableColor${(0,u.A)(o)})`],i&&t.deletable,i&&"default"!==o&&t[`deletableColor${(0,u.A)(o)}`],t[s],t[`${s}${(0,u.A)(o)}`]]}})((0,h.A)(({theme:e})=>{let t="light"===e.palette.mode?e.palette.grey[700]:e.palette.grey[300];return{maxWidth:"100%",fontFamily:e.typography.fontFamily,fontSize:e.typography.pxToRem(13),display:"inline-flex",alignItems:"center",justifyContent:"center",height:32,color:(e.vars||e).palette.text.primary,backgroundColor:(e.vars||e).palette.action.selected,borderRadius:16,whiteSpace:"nowrap",transition:e.transitions.create(["background-color","box-shadow"]),cursor:"unset",outline:0,textDecoration:"none",border:0,padding:0,verticalAlign:"middle",boxSizing:"border-box",[`&.${x.disabled}`]:{opacity:(e.vars||e).palette.action.disabledOpacity,pointerEvents:"none"},[`& .${x.avatar}`]:{marginLeft:5,marginRight:-6,width:24,height:24,color:e.vars?e.vars.palette.Chip.defaultAvatarColor:t,fontSize:e.typography.pxToRem(12)},[`& .${x.avatarColorPrimary}`]:{color:(e.vars||e).palette.primary.contrastText,backgroundColor:(e.vars||e).palette.primary.dark},[`& .${x.avatarColorSecondary}`]:{color:(e.vars||e).palette.secondary.contrastText,backgroundColor:(e.vars||e).palette.secondary.dark},[`& .${x.avatarSmall}`]:{marginLeft:4,marginRight:-4,width:18,height:18,fontSize:e.typography.pxToRem(10)},[`& .${x.icon}`]:{marginLeft:5,marginRight:-6},[`& .${x.deleteIcon}`]:{WebkitTapHighlightColor:"transparent",color:e.vars?`rgba(${e.vars.palette.text.primaryChannel} / 0.26)`:(0,i.X4)(e.palette.text.primary,.26),fontSize:22,cursor:"pointer",margin:"0 5px 0 -6px","&:hover":{color:e.vars?`rgba(${e.vars.palette.text.primaryChannel} / 0.4)`:(0,i.X4)(e.palette.text.primary,.4)}},variants:[{props:{size:"small"},style:{height:24,[`& .${x.icon}`]:{fontSize:18,marginLeft:4,marginRight:-4},[`& .${x.deleteIcon}`]:{fontSize:16,marginRight:4,marginLeft:-4}}},...Object.entries(e.palette).filter((0,m.A)(["contrastText"])).map(([t])=>({props:{color:t},style:{backgroundColor:(e.vars||e).palette[t].main,color:(e.vars||e).palette[t].contrastText,[`& .${x.deleteIcon}`]:{color:e.vars?`rgba(${e.vars.palette[t].contrastTextChannel} / 0.7)`:(0,i.X4)(e.palette[t].contrastText,.7),"&:hover, &:active":{color:(e.vars||e).palette[t].contrastText}}}})),{props:e=>e.iconColor===e.color,style:{[`& .${x.icon}`]:{color:e.vars?e.vars.palette.Chip.defaultIconColor:t}}},{props:e=>e.iconColor===e.color&&"default"!==e.color,style:{[`& .${x.icon}`]:{color:"inherit"}}},{props:{onDelete:!0},style:{[`&.${x.focusVisible}`]:{backgroundColor:e.vars?`rgba(${e.vars.palette.action.selectedChannel} / calc(${e.vars.palette.action.selectedOpacity} + ${e.vars.palette.action.focusOpacity}))`:(0,i.X4)(e.palette.action.selected,e.palette.action.selectedOpacity+e.palette.action.focusOpacity)}}},...Object.entries(e.palette).filter((0,m.A)(["dark"])).map(([t])=>({props:{color:t,onDelete:!0},style:{[`&.${x.focusVisible}`]:{background:(e.vars||e).palette[t].dark}}})),{props:{clickable:!0},style:{userSelect:"none",WebkitTapHighlightColor:"transparent",cursor:"pointer","&:hover":{backgroundColor:e.vars?`rgba(${e.vars.palette.action.selectedChannel} / calc(${e.vars.palette.action.selectedOpacity} + ${e.vars.palette.action.hoverOpacity}))`:(0,i.X4)(e.palette.action.selected,e.palette.action.selectedOpacity+e.palette.action.hoverOpacity)},[`&.${x.focusVisible}`]:{backgroundColor:e.vars?`rgba(${e.vars.palette.action.selectedChannel} / calc(${e.vars.palette.action.selectedOpacity} + ${e.vars.palette.action.focusOpacity}))`:(0,i.X4)(e.palette.action.selected,e.palette.action.selectedOpacity+e.palette.action.focusOpacity)},"&:active":{boxShadow:(e.vars||e).shadows[1]}}},...Object.entries(e.palette).filter((0,m.A)(["dark"])).map(([t])=>({props:{color:t,clickable:!0},style:{[`&:hover, &.${x.focusVisible}`]:{backgroundColor:(e.vars||e).palette[t].dark}}})),{props:{variant:"outlined"},style:{backgroundColor:"transparent",border:e.vars?`1px solid ${e.vars.palette.Chip.defaultBorder}`:`1px solid ${"light"===e.palette.mode?e.palette.grey[400]:e.palette.grey[700]}`,[`&.${x.clickable}:hover`]:{backgroundColor:(e.vars||e).palette.action.hover},[`&.${x.focusVisible}`]:{backgroundColor:(e.vars||e).palette.action.focus},[`& .${x.avatar}`]:{marginLeft:4},[`& .${x.avatarSmall}`]:{marginLeft:2},[`& .${x.icon}`]:{marginLeft:4},[`& .${x.iconSmall}`]:{marginLeft:2},[`& .${x.deleteIcon}`]:{marginRight:5},[`& .${x.deleteIconSmall}`]:{marginRight:3}}},...Object.entries(e.palette).filter((0,m.A)()).map(([t])=>({props:{variant:"outlined",color:t},style:{color:(e.vars||e).palette[t].main,border:`1px solid ${e.vars?`rgba(${e.vars.palette[t].mainChannel} / 0.7)`:(0,i.X4)(e.palette[t].main,.7)}`,[`&.${x.clickable}:hover`]:{backgroundColor:e.vars?`rgba(${e.vars.palette[t].mainChannel} / ${e.vars.palette.action.hoverOpacity})`:(0,i.X4)(e.palette[t].main,e.palette.action.hoverOpacity)},[`&.${x.focusVisible}`]:{backgroundColor:e.vars?`rgba(${e.vars.palette[t].mainChannel} / ${e.vars.palette.action.focusOpacity})`:(0,i.X4)(e.palette[t].main,e.palette.action.focusOpacity)},[`& .${x.deleteIcon}`]:{color:e.vars?`rgba(${e.vars.palette[t].mainChannel} / 0.7)`:(0,i.X4)(e.palette[t].main,.7),"&:hover, &:active":{color:(e.vars||e).palette[t].main}}}}))]}})),$=(0,f.A)("span",{name:"MuiChip",slot:"Label",overridesResolver:(e,t)=>{let{ownerState:r}=e,{size:o}=r;return[t.label,t[`label${(0,u.A)(o)}`]]}})({overflow:"hidden",textOverflow:"ellipsis",paddingLeft:12,paddingRight:12,whiteSpace:"nowrap",variants:[{props:{variant:"outlined"},style:{paddingLeft:11,paddingRight:11}},{props:{size:"small"},style:{paddingLeft:8,paddingRight:8}},{props:{size:"small",variant:"outlined"},style:{paddingLeft:7,paddingRight:7}}]});function w(e){return"Backspace"===e.key||"Delete"===e.key}let k=o.forwardRef(function(e,t){let r=(0,g.b)({props:e,name:"MuiChip"}),{avatar:i,className:l,clickable:f,color:h="default",component:m,deleteIcon:v,disabled:b=!1,icon:x,label:k,onClick:O,onDelete:C,onKeyDown:S,onKeyUp:R,size:I="medium",variant:M="filled",tabIndex:P,skipFocusWhenDisabled:j=!1,...E}=r,L=o.useRef(null),D=(0,p.A)(L,t),T=e=>{e.stopPropagation(),C&&C(e)},z=!1!==f&&!!O||f,N=z||C?d.A:m||"div",B={...r,component:N,disabled:b,size:I,color:h,iconColor:o.isValidElement(x)&&x.props.color||h,onDelete:!!C,clickable:z,variant:M},V=(e=>{let{classes:t,disabled:r,size:o,color:n,iconColor:i,onDelete:l,clickable:s,variant:c}=e,p={root:["root",c,r&&"disabled",`size${(0,u.A)(o)}`,`color${(0,u.A)(n)}`,s&&"clickable",s&&`clickableColor${(0,u.A)(n)}`,l&&"deletable",l&&`deletableColor${(0,u.A)(n)}`,`${c}${(0,u.A)(n)}`],label:["label",`label${(0,u.A)(o)}`],avatar:["avatar",`avatar${(0,u.A)(o)}`,`avatarColor${(0,u.A)(n)}`],icon:["icon",`icon${(0,u.A)(o)}`,`iconColor${(0,u.A)(i)}`],deleteIcon:["deleteIcon",`deleteIcon${(0,u.A)(o)}`,`deleteIconColor${(0,u.A)(n)}`,`deleteIcon${(0,u.A)(c)}Color${(0,u.A)(n)}`]};return(0,a.A)(p,y,t)})(B),W=N===d.A?{component:m||"div",focusVisibleClassName:V.focusVisible,...C&&{disableRipple:!0}}:{},H=null;C&&(H=v&&o.isValidElement(v)?o.cloneElement(v,{className:(0,n.A)(v.props.className,V.deleteIcon),onClick:T}):(0,s.jsx)(c,{className:(0,n.A)(V.deleteIcon),onClick:T}));let F=null;i&&o.isValidElement(i)&&(F=o.cloneElement(i,{className:(0,n.A)(V.avatar,i.props.className)}));let X=null;return x&&o.isValidElement(x)&&(X=o.cloneElement(x,{className:(0,n.A)(V.icon,x.props.className)})),(0,s.jsxs)(A,{as:N,className:(0,n.A)(V.root,l),disabled:!!z&&!!b||void 0,onClick:O,onKeyDown:e=>{e.currentTarget===e.target&&w(e)&&e.preventDefault(),S&&S(e)},onKeyUp:e=>{e.currentTarget===e.target&&C&&w(e)&&C(e),R&&R(e)},ref:D,tabIndex:j&&b?-1:P,ownerState:B,...W,...E,children:[F||X,(0,s.jsx)($,{className:(0,n.A)(V.label),ownerState:B,children:k}),H]})})},25742(e,t,r){r.d(t,{A:()=>w});var o=r(70451),n=r(11750),a=r(81023),i=r(69402),l=r(77308),s=r(23434),c=r(72052),p=r(24726),u=r(26952),d=r(29009),f=r(46733);function h(e){return(0,f.Ay)("MuiCircularProgress",e)}(0,d.A)("MuiCircularProgress",["root","determinate","indeterminate","colorPrimary","colorSecondary","svg","circle","circleDeterminate","circleIndeterminate","circleDisableShrink"]);var m=r(62540);let g=(0,i.keyframes)`
|
|
75
|
+
0% {
|
|
76
|
+
transform: rotate(0deg);
|
|
77
|
+
}
|
|
78
|
+
|
|
79
|
+
100% {
|
|
80
|
+
transform: rotate(360deg);
|
|
81
|
+
}
|
|
82
|
+
`,v=(0,i.keyframes)`
|
|
83
|
+
0% {
|
|
84
|
+
stroke-dasharray: 1px, 200px;
|
|
85
|
+
stroke-dashoffset: 0;
|
|
86
|
+
}
|
|
87
|
+
|
|
88
|
+
50% {
|
|
89
|
+
stroke-dasharray: 100px, 200px;
|
|
90
|
+
stroke-dashoffset: -15px;
|
|
91
|
+
}
|
|
92
|
+
|
|
93
|
+
100% {
|
|
94
|
+
stroke-dasharray: 1px, 200px;
|
|
95
|
+
stroke-dashoffset: -126px;
|
|
96
|
+
}
|
|
97
|
+
`,b="string"!=typeof g?(0,i.css)`
|
|
98
|
+
animation: ${g} 1.4s linear infinite;
|
|
99
|
+
`:null,y="string"!=typeof v?(0,i.css)`
|
|
100
|
+
animation: ${v} 1.4s ease-in-out infinite;
|
|
101
|
+
`:null,x=(0,l.A)("span",{name:"MuiCircularProgress",slot:"Root",overridesResolver:(e,t)=>{let{ownerState:r}=e;return[t.root,t[r.variant],t[`color${(0,p.A)(r.color)}`]]}})((0,s.A)(({theme:e})=>({display:"inline-block",variants:[{props:{variant:"determinate"},style:{transition:e.transitions.create("transform")}},{props:{variant:"indeterminate"},style:b||{animation:`${g} 1.4s linear infinite`}},...Object.entries(e.palette).filter((0,u.A)()).map(([t])=>({props:{color:t},style:{color:(e.vars||e).palette[t].main}}))]}))),A=(0,l.A)("svg",{name:"MuiCircularProgress",slot:"Svg",overridesResolver:(e,t)=>t.svg})({display:"block"}),$=(0,l.A)("circle",{name:"MuiCircularProgress",slot:"Circle",overridesResolver:(e,t)=>{let{ownerState:r}=e;return[t.circle,t[`circle${(0,p.A)(r.variant)}`],r.disableShrink&&t.circleDisableShrink]}})((0,s.A)(({theme:e})=>({stroke:"currentColor",variants:[{props:{variant:"determinate"},style:{transition:e.transitions.create("stroke-dashoffset")}},{props:{variant:"indeterminate"},style:{strokeDasharray:"80px, 200px",strokeDashoffset:0}},{props:({ownerState:e})=>"indeterminate"===e.variant&&!e.disableShrink,style:y||{animation:`${v} 1.4s ease-in-out infinite`}}]}))),w=o.forwardRef(function(e,t){let r=(0,c.b)({props:e,name:"MuiCircularProgress"}),{className:o,color:i="primary",disableShrink:l=!1,size:s=40,style:u,thickness:d=3.6,value:f=0,variant:g="indeterminate",...v}=r,b={...r,color:i,disableShrink:l,size:s,thickness:d,value:f,variant:g},y=(e=>{let{classes:t,variant:r,color:o,disableShrink:n}=e,i={root:["root",r,`color${(0,p.A)(o)}`],svg:["svg"],circle:["circle",`circle${(0,p.A)(r)}`,n&&"circleDisableShrink"]};return(0,a.A)(i,h,t)})(b),w={},k={},O={};if("determinate"===g){let e=2*Math.PI*((44-d)/2);w.strokeDasharray=e.toFixed(3),O["aria-valuenow"]=Math.round(f),w.strokeDashoffset=`${((100-f)/100*e).toFixed(3)}px`,k.transform="rotate(-90deg)"}return(0,m.jsx)(x,{className:(0,n.A)(y.root,o),style:{width:s,height:s,...k,...u},ownerState:b,ref:t,role:"progressbar",...O,...v,children:(0,m.jsx)(A,{className:y.svg,ownerState:b,viewBox:"22 22 44 44",children:(0,m.jsx)($,{className:y.circle,style:w,ownerState:b,cx:44,cy:44,r:(44-d)/2,fill:"none",strokeWidth:d})})})})},47095(e,t,r){r.d(t,{A:()=>$});var o=r(70451),n=r(11750),a=r(81023),i=r(63392),l=r(59238),s=r(77308),c=r(23434),p=r(26952),u=r(72052),d=r(1337),f=r(25742),h=r(24726),m=r(29009),g=r(46733);function v(e){return(0,g.Ay)("MuiIconButton",e)}let b=(0,m.A)("MuiIconButton",["root","disabled","colorInherit","colorPrimary","colorSecondary","colorError","colorInfo","colorSuccess","colorWarning","edgeStart","edgeEnd","sizeSmall","sizeMedium","sizeLarge","loading","loadingIndicator","loadingWrapper"]);var y=r(62540);let x=(0,s.A)(d.A,{name:"MuiIconButton",slot:"Root",overridesResolver:(e,t)=>{let{ownerState:r}=e;return[t.root,r.loading&&t.loading,"default"!==r.color&&t[`color${(0,h.A)(r.color)}`],r.edge&&t[`edge${(0,h.A)(r.edge)}`],t[`size${(0,h.A)(r.size)}`]]}})((0,c.A)(({theme:e})=>({textAlign:"center",flex:"0 0 auto",fontSize:e.typography.pxToRem(24),padding:8,borderRadius:"50%",color:(e.vars||e).palette.action.active,transition:e.transitions.create("background-color",{duration:e.transitions.duration.shortest}),variants:[{props:e=>!e.disableRipple,style:{"--IconButton-hoverBg":e.vars?`rgba(${e.vars.palette.action.activeChannel} / ${e.vars.palette.action.hoverOpacity})`:(0,l.X4)(e.palette.action.active,e.palette.action.hoverOpacity),"&:hover":{backgroundColor:"var(--IconButton-hoverBg)","@media (hover: none)":{backgroundColor:"transparent"}}}},{props:{edge:"start"},style:{marginLeft:-12}},{props:{edge:"start",size:"small"},style:{marginLeft:-3}},{props:{edge:"end"},style:{marginRight:-12}},{props:{edge:"end",size:"small"},style:{marginRight:-3}}]})),(0,c.A)(({theme:e})=>({variants:[{props:{color:"inherit"},style:{color:"inherit"}},...Object.entries(e.palette).filter((0,p.A)()).map(([t])=>({props:{color:t},style:{color:(e.vars||e).palette[t].main}})),...Object.entries(e.palette).filter((0,p.A)()).map(([t])=>({props:{color:t},style:{"--IconButton-hoverBg":e.vars?`rgba(${(e.vars||e).palette[t].mainChannel} / ${e.vars.palette.action.hoverOpacity})`:(0,l.X4)((e.vars||e).palette[t].main,e.palette.action.hoverOpacity)}})),{props:{size:"small"},style:{padding:5,fontSize:e.typography.pxToRem(18)}},{props:{size:"large"},style:{padding:12,fontSize:e.typography.pxToRem(28)}}],[`&.${b.disabled}`]:{backgroundColor:"transparent",color:(e.vars||e).palette.action.disabled},[`&.${b.loading}`]:{color:"transparent"}}))),A=(0,s.A)("span",{name:"MuiIconButton",slot:"LoadingIndicator",overridesResolver:(e,t)=>t.loadingIndicator})(({theme:e})=>({display:"none",position:"absolute",visibility:"visible",top:"50%",left:"50%",transform:"translate(-50%, -50%)",color:(e.vars||e).palette.action.disabled,variants:[{props:{loading:!0},style:{display:"flex"}}]})),$=o.forwardRef(function(e,t){let r=(0,u.b)({props:e,name:"MuiIconButton"}),{edge:o=!1,children:l,className:s,color:c="default",disabled:p=!1,disableFocusRipple:d=!1,size:m="medium",id:g,loading:b=null,loadingIndicator:$,...w}=r,k=(0,i.A)(g),O=$??(0,y.jsx)(f.A,{"aria-labelledby":k,color:"inherit",size:16}),C={...r,edge:o,color:c,disabled:p,disableFocusRipple:d,loading:b,loadingIndicator:O,size:m},S=(e=>{let{classes:t,disabled:r,color:o,edge:n,size:i,loading:l}=e,s={root:["root",l&&"loading",r&&"disabled","default"!==o&&`color${(0,h.A)(o)}`,n&&`edge${(0,h.A)(n)}`,`size${(0,h.A)(i)}`],loadingIndicator:["loadingIndicator"],loadingWrapper:["loadingWrapper"]};return(0,a.A)(s,v,t)})(C);return(0,y.jsxs)(x,{id:b?k:g,className:(0,n.A)(S.root,s),centerRipple:!0,focusRipple:!d,disabled:p||b,ref:t,...w,ownerState:C,children:["boolean"==typeof b&&(0,y.jsx)("span",{className:S.loadingWrapper,style:{display:"contents"},children:(0,y.jsx)(A,{className:S.loadingIndicator,ownerState:C,children:b&&O})}),l]})})},59078(e,t,r){r.d(t,{A:()=>g});var o=r(70451),n=r(11750),a=r(81023),i=r(77308),l=r(23434),s=r(72052),c=r(24726),p=r(29009),u=r(46733);function d(e){return(0,u.Ay)("MuiListSubheader",e)}(0,p.A)("MuiListSubheader",["root","colorPrimary","colorInherit","gutters","inset","sticky"]);var f=r(62540);let h=(0,i.A)("li",{name:"MuiListSubheader",slot:"Root",overridesResolver:(e,t)=>{let{ownerState:r}=e;return[t.root,"default"!==r.color&&t[`color${(0,c.A)(r.color)}`],!r.disableGutters&&t.gutters,r.inset&&t.inset,!r.disableSticky&&t.sticky]}})((0,l.A)(({theme:e})=>({boxSizing:"border-box",lineHeight:"48px",listStyle:"none",color:(e.vars||e).palette.text.secondary,fontFamily:e.typography.fontFamily,fontWeight:e.typography.fontWeightMedium,fontSize:e.typography.pxToRem(14),variants:[{props:{color:"primary"},style:{color:(e.vars||e).palette.primary.main}},{props:{color:"inherit"},style:{color:"inherit"}},{props:({ownerState:e})=>!e.disableGutters,style:{paddingLeft:16,paddingRight:16}},{props:({ownerState:e})=>e.inset,style:{paddingLeft:72}},{props:({ownerState:e})=>!e.disableSticky,style:{position:"sticky",top:0,zIndex:1,backgroundColor:(e.vars||e).palette.background.paper}}]}))),m=o.forwardRef(function(e,t){let r=(0,s.b)({props:e,name:"MuiListSubheader"}),{className:o,color:i="default",component:l="li",disableGutters:p=!1,disableSticky:u=!1,inset:m=!1,...g}=r,v={...r,color:i,component:l,disableGutters:p,disableSticky:u,inset:m},b=(e=>{let{classes:t,color:r,disableGutters:o,inset:n,disableSticky:i}=e,l={root:["root","default"!==r&&`color${(0,c.A)(r)}`,!o&&"gutters",n&&"inset",!i&&"sticky"]};return(0,a.A)(l,d,t)})(v);return(0,f.jsx)(h,{as:l,className:(0,n.A)(b.root,o),ref:t,ownerState:v,...g})});m&&(m.muiSkipListHighlight=!0);let g=m},48865(e,t,r){r.d(t,{A:()=>eI});var o,n,a,i,l,s=r(35216),c=r(70451),p=r(95591),u=r(31789),d=r(10713);function f(e){if(null==e)return window;if("[object Window]"!==e.toString()){var t=e.ownerDocument;return t&&t.defaultView||window}return e}function h(e){var t=f(e).Element;return e instanceof t||e instanceof Element}function m(e){var t=f(e).HTMLElement;return e instanceof t||e instanceof HTMLElement}function g(e){if("u"<typeof ShadowRoot)return!1;var t=f(e).ShadowRoot;return e instanceof t||e instanceof ShadowRoot}var v=Math.max,b=Math.min,y=Math.round;function x(){var e=navigator.userAgentData;return null!=e&&e.brands&&Array.isArray(e.brands)?e.brands.map(function(e){return e.brand+"/"+e.version}).join(" "):navigator.userAgent}function A(){return!/^((?!chrome|android).)*safari/i.test(x())}function $(e,t,r){void 0===t&&(t=!1),void 0===r&&(r=!1);var o=e.getBoundingClientRect(),n=1,a=1;t&&m(e)&&(n=e.offsetWidth>0&&y(o.width)/e.offsetWidth||1,a=e.offsetHeight>0&&y(o.height)/e.offsetHeight||1);var i=(h(e)?f(e):window).visualViewport,l=!A()&&r,s=(o.left+(l&&i?i.offsetLeft:0))/n,c=(o.top+(l&&i?i.offsetTop:0))/a,p=o.width/n,u=o.height/a;return{width:p,height:u,top:c,right:s+p,bottom:c+u,left:s,x:s,y:c}}function w(e){var t=f(e);return{scrollLeft:t.pageXOffset,scrollTop:t.pageYOffset}}function k(e){return e?(e.nodeName||"").toLowerCase():null}function O(e){return((h(e)?e.ownerDocument:e.document)||window.document).documentElement}function C(e){return $(O(e)).left+w(e).scrollLeft}function S(e){return f(e).getComputedStyle(e)}function R(e){var t=S(e),r=t.overflow,o=t.overflowX,n=t.overflowY;return/auto|scroll|overlay|hidden/.test(r+n+o)}function I(e){var t=$(e),r=e.offsetWidth,o=e.offsetHeight;return 1>=Math.abs(t.width-r)&&(r=t.width),1>=Math.abs(t.height-o)&&(o=t.height),{x:e.offsetLeft,y:e.offsetTop,width:r,height:o}}function M(e){return"html"===k(e)?e:e.assignedSlot||e.parentNode||(g(e)?e.host:null)||O(e)}function P(e,t){void 0===t&&(t=[]);var r,o=function e(t){return["html","body","#document"].indexOf(k(t))>=0?t.ownerDocument.body:m(t)&&R(t)?t:e(M(t))}(e),n=o===(null==(r=e.ownerDocument)?void 0:r.body),a=f(o),i=n?[a].concat(a.visualViewport||[],R(o)?o:[]):o,l=t.concat(i);return n?l:l.concat(P(M(i)))}function j(e){return m(e)&&"fixed"!==S(e).position?e.offsetParent:null}function E(e){for(var t=f(e),r=j(e);r&&["table","td","th"].indexOf(k(r))>=0&&"static"===S(r).position;)r=j(r);return r&&("html"===k(r)||"body"===k(r)&&"static"===S(r).position)?t:r||function(e){var t=/firefox/i.test(x());if(/Trident/i.test(x())&&m(e)&&"fixed"===S(e).position)return null;var r=M(e);for(g(r)&&(r=r.host);m(r)&&0>["html","body"].indexOf(k(r));){var o=S(r);if("none"!==o.transform||"none"!==o.perspective||"paint"===o.contain||-1!==["transform","perspective"].indexOf(o.willChange)||t&&"filter"===o.willChange||t&&o.filter&&"none"!==o.filter)return r;r=r.parentNode}return null}(e)||t}var L="bottom",D="right",T="left",z="auto",N=["top",L,D,T],B="start",V="viewport",W="popper",H=N.reduce(function(e,t){return e.concat([t+"-"+B,t+"-end"])},[]),F=[].concat(N,[z]).reduce(function(e,t){return e.concat([t,t+"-"+B,t+"-end"])},[]),X=["beforeRead","read","afterRead","beforeMain","main","afterMain","beforeWrite","write","afterWrite"],q={placement:"bottom",modifiers:[],strategy:"absolute"};function U(){for(var e=arguments.length,t=Array(e),r=0;r<e;r++)t[r]=arguments[r];return!t.some(function(e){return!(e&&"function"==typeof e.getBoundingClientRect)})}var _={passive:!0};function K(e){return e.split("-")[0]}function G(e){return e.split("-")[1]}function Y(e){return["top","bottom"].indexOf(e)>=0?"x":"y"}function Z(e){var t,r=e.reference,o=e.element,n=e.placement,a=n?K(n):null,i=n?G(n):null,l=r.x+r.width/2-o.width/2,s=r.y+r.height/2-o.height/2;switch(a){case"top":t={x:l,y:r.y-o.height};break;case L:t={x:l,y:r.y+r.height};break;case D:t={x:r.x+r.width,y:s};break;case T:t={x:r.x-o.width,y:s};break;default:t={x:r.x,y:r.y}}var c=a?Y(a):null;if(null!=c){var p="y"===c?"height":"width";switch(i){case B:t[c]=t[c]-(r[p]/2-o[p]/2);break;case"end":t[c]=t[c]+(r[p]/2-o[p]/2)}}return t}var J={top:"auto",right:"auto",bottom:"auto",left:"auto"};function Q(e){var t,r,o,n,a,i,l,s=e.popper,c=e.popperRect,p=e.placement,u=e.variation,d=e.offsets,h=e.position,m=e.gpuAcceleration,g=e.adaptive,v=e.roundOffsets,b=e.isFixed,x=d.x,A=void 0===x?0:x,$=d.y,w=void 0===$?0:$,k="function"==typeof v?v({x:A,y:w}):{x:A,y:w};A=k.x,w=k.y;var C=d.hasOwnProperty("x"),R=d.hasOwnProperty("y"),I=T,M="top",P=window;if(g){var j=E(s),z="clientHeight",N="clientWidth";j===f(s)&&"static"!==S(j=O(s)).position&&"absolute"===h&&(z="scrollHeight",N="scrollWidth"),("top"===p||(p===T||p===D)&&"end"===u)&&(M=L,w-=(b&&j===P&&P.visualViewport?P.visualViewport.height:j[z])-c.height,w*=m?1:-1),(p===T||("top"===p||p===L)&&"end"===u)&&(I=D,A-=(b&&j===P&&P.visualViewport?P.visualViewport.width:j[N])-c.width,A*=m?1:-1)}var B=Object.assign({position:h},g&&J),V=!0===v?(t={x:A,y:w},r=f(s),o=t.x,n=t.y,{x:y(o*(a=r.devicePixelRatio||1))/a||0,y:y(n*a)/a||0}):{x:A,y:w};return(A=V.x,w=V.y,m)?Object.assign({},B,((l={})[M]=R?"0":"",l[I]=C?"0":"",l.transform=1>=(P.devicePixelRatio||1)?"translate("+A+"px, "+w+"px)":"translate3d("+A+"px, "+w+"px, 0)",l)):Object.assign({},B,((i={})[M]=R?w+"px":"",i[I]=C?A+"px":"",i.transform="",i))}var ee={left:"right",right:"left",bottom:"top",top:"bottom"};function et(e){return e.replace(/left|right|bottom|top/g,function(e){return ee[e]})}var er={start:"end",end:"start"};function eo(e){return e.replace(/start|end/g,function(e){return er[e]})}function en(e,t){var r=t.getRootNode&&t.getRootNode();if(e.contains(t))return!0;if(r&&g(r)){var o=t;do{if(o&&e.isSameNode(o))return!0;o=o.parentNode||o.host}while(o)}return!1}function ea(e){return Object.assign({},e,{left:e.x,top:e.y,right:e.x+e.width,bottom:e.y+e.height})}function ei(e,t,r){var o,n,a,i,l,s,c,p,u,d;return t===V?ea(function(e,t){var r=f(e),o=O(e),n=r.visualViewport,a=o.clientWidth,i=o.clientHeight,l=0,s=0;if(n){a=n.width,i=n.height;var c=A();(c||!c&&"fixed"===t)&&(l=n.offsetLeft,s=n.offsetTop)}return{width:a,height:i,x:l+C(e),y:s}}(e,r)):h(t)?((o=$(t,!1,"fixed"===r)).top=o.top+t.clientTop,o.left=o.left+t.clientLeft,o.bottom=o.top+t.clientHeight,o.right=o.left+t.clientWidth,o.width=t.clientWidth,o.height=t.clientHeight,o.x=o.left,o.y=o.top,o):ea((n=O(e),i=O(n),l=w(n),s=null==(a=n.ownerDocument)?void 0:a.body,c=v(i.scrollWidth,i.clientWidth,s?s.scrollWidth:0,s?s.clientWidth:0),p=v(i.scrollHeight,i.clientHeight,s?s.scrollHeight:0,s?s.clientHeight:0),u=-l.scrollLeft+C(n),d=-l.scrollTop,"rtl"===S(s||i).direction&&(u+=v(i.clientWidth,s?s.clientWidth:0)-c),{width:c,height:p,x:u,y:d}))}function el(){return{top:0,right:0,bottom:0,left:0}}function es(e){return Object.assign({},el(),e)}function ec(e,t){return t.reduce(function(t,r){return t[r]=e,t},{})}function ep(e,t){void 0===t&&(t={});var r,o,n,a,i,l,s,c,p=t,u=p.placement,d=void 0===u?e.placement:u,f=p.strategy,g=void 0===f?e.strategy:f,y=p.boundary,x=p.rootBoundary,A=p.elementContext,w=void 0===A?W:A,C=p.altBoundary,R=p.padding,I=void 0===R?0:R,j=es("number"!=typeof I?I:ec(I,N)),T=e.rects.popper,z=e.elements[void 0!==C&&C?w===W?"reference":W:w],B=(r=h(z)?z:z.contextElement||O(e.elements.popper),o=void 0===y?"clippingParents":y,n=void 0===x?V:x,s=(l=[].concat("clippingParents"===o?(a=P(M(r)),!h(i=["absolute","fixed"].indexOf(S(r).position)>=0&&m(r)?E(r):r)?[]:a.filter(function(e){return h(e)&&en(e,i)&&"body"!==k(e)})):[].concat(o),[n]))[0],(c=l.reduce(function(e,t){var o=ei(r,t,g);return e.top=v(o.top,e.top),e.right=b(o.right,e.right),e.bottom=b(o.bottom,e.bottom),e.left=v(o.left,e.left),e},ei(r,s,g))).width=c.right-c.left,c.height=c.bottom-c.top,c.x=c.left,c.y=c.top,c),H=$(e.elements.reference),F=Z({reference:H,element:T,strategy:"absolute",placement:d}),X=ea(Object.assign({},T,F)),q=w===W?X:H,U={top:B.top-q.top+j.top,bottom:q.bottom-B.bottom+j.bottom,left:B.left-q.left+j.left,right:q.right-B.right+j.right},_=e.modifiersData.offset;if(w===W&&_){var K=_[d];Object.keys(U).forEach(function(e){var t=[D,L].indexOf(e)>=0?1:-1,r=["top",L].indexOf(e)>=0?"y":"x";U[e]+=K[r]*t})}return U}function eu(e,t,r){return v(e,b(t,r))}function ed(e,t,r){return void 0===r&&(r={x:0,y:0}),{top:e.top-t.height-r.y,right:e.right-t.width+r.x,bottom:e.bottom-t.height+r.y,left:e.left-t.width-r.x}}function ef(e){return["top",D,L,T].some(function(t){return e[t]>=0})}var eh=(a=void 0===(n=(o={defaultModifiers:[{name:"eventListeners",enabled:!0,phase:"write",fn:function(){},effect:function(e){var t=e.state,r=e.instance,o=e.options,n=o.scroll,a=void 0===n||n,i=o.resize,l=void 0===i||i,s=f(t.elements.popper),c=[].concat(t.scrollParents.reference,t.scrollParents.popper);return a&&c.forEach(function(e){e.addEventListener("scroll",r.update,_)}),l&&s.addEventListener("resize",r.update,_),function(){a&&c.forEach(function(e){e.removeEventListener("scroll",r.update,_)}),l&&s.removeEventListener("resize",r.update,_)}},data:{}},{name:"popperOffsets",enabled:!0,phase:"read",fn:function(e){var t=e.state,r=e.name;t.modifiersData[r]=Z({reference:t.rects.reference,element:t.rects.popper,strategy:"absolute",placement:t.placement})},data:{}},{name:"computeStyles",enabled:!0,phase:"beforeWrite",fn:function(e){var t=e.state,r=e.options,o=r.gpuAcceleration,n=r.adaptive,a=r.roundOffsets,i=void 0===a||a,l={placement:K(t.placement),variation:G(t.placement),popper:t.elements.popper,popperRect:t.rects.popper,gpuAcceleration:void 0===o||o,isFixed:"fixed"===t.options.strategy};null!=t.modifiersData.popperOffsets&&(t.styles.popper=Object.assign({},t.styles.popper,Q(Object.assign({},l,{offsets:t.modifiersData.popperOffsets,position:t.options.strategy,adaptive:void 0===n||n,roundOffsets:i})))),null!=t.modifiersData.arrow&&(t.styles.arrow=Object.assign({},t.styles.arrow,Q(Object.assign({},l,{offsets:t.modifiersData.arrow,position:"absolute",adaptive:!1,roundOffsets:i})))),t.attributes.popper=Object.assign({},t.attributes.popper,{"data-popper-placement":t.placement})},data:{}},{name:"applyStyles",enabled:!0,phase:"write",fn:function(e){var t=e.state;Object.keys(t.elements).forEach(function(e){var r=t.styles[e]||{},o=t.attributes[e]||{},n=t.elements[e];m(n)&&k(n)&&(Object.assign(n.style,r),Object.keys(o).forEach(function(e){var t=o[e];!1===t?n.removeAttribute(e):n.setAttribute(e,!0===t?"":t)}))})},effect:function(e){var t=e.state,r={popper:{position:t.options.strategy,left:"0",top:"0",margin:"0"},arrow:{position:"absolute"},reference:{}};return Object.assign(t.elements.popper.style,r.popper),t.styles=r,t.elements.arrow&&Object.assign(t.elements.arrow.style,r.arrow),function(){Object.keys(t.elements).forEach(function(e){var o=t.elements[e],n=t.attributes[e]||{},a=Object.keys(t.styles.hasOwnProperty(e)?t.styles[e]:r[e]).reduce(function(e,t){return e[t]="",e},{});m(o)&&k(o)&&(Object.assign(o.style,a),Object.keys(n).forEach(function(e){o.removeAttribute(e)}))})}},requires:["computeStyles"]},{name:"offset",enabled:!0,phase:"main",requires:["popperOffsets"],fn:function(e){var t=e.state,r=e.options,o=e.name,n=r.offset,a=void 0===n?[0,0]:n,i=F.reduce(function(e,r){var o,n,i,l,s,c;return e[r]=(o=t.rects,i=[T,"top"].indexOf(n=K(r))>=0?-1:1,s=(l="function"==typeof a?a(Object.assign({},o,{placement:r})):a)[0],c=l[1],s=s||0,c=(c||0)*i,[T,D].indexOf(n)>=0?{x:c,y:s}:{x:s,y:c}),e},{}),l=i[t.placement],s=l.x,c=l.y;null!=t.modifiersData.popperOffsets&&(t.modifiersData.popperOffsets.x+=s,t.modifiersData.popperOffsets.y+=c),t.modifiersData[o]=i}},{name:"flip",enabled:!0,phase:"main",fn:function(e){var t=e.state,r=e.options,o=e.name;if(!t.modifiersData[o]._skip){for(var n=r.mainAxis,a=void 0===n||n,i=r.altAxis,l=void 0===i||i,s=r.fallbackPlacements,c=r.padding,p=r.boundary,u=r.rootBoundary,d=r.altBoundary,f=r.flipVariations,h=void 0===f||f,m=r.allowedAutoPlacements,g=t.options.placement,v=K(g)===g,b=s||(v||!h?[et(g)]:function(e){if(K(e)===z)return[];var t=et(e);return[eo(e),t,eo(t)]}(g)),y=[g].concat(b).reduce(function(e,r){var o,n,a,i,l,s,d,f,g,v,b,y;return e.concat(K(r)===z?(n=(o={placement:r,boundary:p,rootBoundary:u,padding:c,flipVariations:h,allowedAutoPlacements:m}).placement,a=o.boundary,i=o.rootBoundary,l=o.padding,s=o.flipVariations,f=void 0===(d=o.allowedAutoPlacements)?F:d,0===(b=(v=(g=G(n))?s?H:H.filter(function(e){return G(e)===g}):N).filter(function(e){return f.indexOf(e)>=0})).length&&(b=v),Object.keys(y=b.reduce(function(e,r){return e[r]=ep(t,{placement:r,boundary:a,rootBoundary:i,padding:l})[K(r)],e},{})).sort(function(e,t){return y[e]-y[t]})):r)},[]),x=t.rects.reference,A=t.rects.popper,$=new Map,w=!0,k=y[0],O=0;O<y.length;O++){var C=y[O],S=K(C),R=G(C)===B,I=["top",L].indexOf(S)>=0,M=I?"width":"height",P=ep(t,{placement:C,boundary:p,rootBoundary:u,altBoundary:d,padding:c}),j=I?R?D:T:R?L:"top";x[M]>A[M]&&(j=et(j));var E=et(j),V=[];if(a&&V.push(P[S]<=0),l&&V.push(P[j]<=0,P[E]<=0),V.every(function(e){return e})){k=C,w=!1;break}$.set(C,V)}if(w)for(var W=h?3:1,X=function(e){var t=y.find(function(t){var r=$.get(t);if(r)return r.slice(0,e).every(function(e){return e})});if(t)return k=t,"break"},q=W;q>0&&"break"!==X(q);q--);t.placement!==k&&(t.modifiersData[o]._skip=!0,t.placement=k,t.reset=!0)}},requiresIfExists:["offset"],data:{_skip:!1}},{name:"preventOverflow",enabled:!0,phase:"main",fn:function(e){var t=e.state,r=e.options,o=e.name,n=r.mainAxis,a=r.altAxis,i=r.boundary,l=r.rootBoundary,s=r.altBoundary,c=r.padding,p=r.tether,u=void 0===p||p,d=r.tetherOffset,f=void 0===d?0:d,h=ep(t,{boundary:i,rootBoundary:l,padding:c,altBoundary:s}),m=K(t.placement),g=G(t.placement),y=!g,x=Y(m),A="x"===x?"y":"x",$=t.modifiersData.popperOffsets,w=t.rects.reference,k=t.rects.popper,O="function"==typeof f?f(Object.assign({},t.rects,{placement:t.placement})):f,C="number"==typeof O?{mainAxis:O,altAxis:O}:Object.assign({mainAxis:0,altAxis:0},O),S=t.modifiersData.offset?t.modifiersData.offset[t.placement]:null,R={x:0,y:0};if($){if(void 0===n||n){var M,P="y"===x?"top":T,j="y"===x?L:D,z="y"===x?"height":"width",N=$[x],V=N+h[P],W=N-h[j],H=u?-k[z]/2:0,F=g===B?w[z]:k[z],X=g===B?-k[z]:-w[z],q=t.elements.arrow,U=u&&q?I(q):{width:0,height:0},_=t.modifiersData["arrow#persistent"]?t.modifiersData["arrow#persistent"].padding:el(),Z=_[P],J=_[j],Q=eu(0,w[z],U[z]),ee=y?w[z]/2-H-Q-Z-C.mainAxis:F-Q-Z-C.mainAxis,et=y?-w[z]/2+H+Q+J+C.mainAxis:X+Q+J+C.mainAxis,er=t.elements.arrow&&E(t.elements.arrow),eo=er?"y"===x?er.clientTop||0:er.clientLeft||0:0,en=null!=(M=null==S?void 0:S[x])?M:0,ea=eu(u?b(V,N+ee-en-eo):V,N,u?v(W,N+et-en):W);$[x]=ea,R[x]=ea-N}if(void 0!==a&&a){var ei,es,ec="x"===x?"top":T,ed="x"===x?L:D,ef=$[A],eh="y"===A?"height":"width",em=ef+h[ec],eg=ef-h[ed],ev=-1!==["top",T].indexOf(m),eb=null!=(es=null==S?void 0:S[A])?es:0,ey=ev?em:ef-w[eh]-k[eh]-eb+C.altAxis,ex=ev?ef+w[eh]+k[eh]-eb-C.altAxis:eg,eA=u&&ev?(ei=eu(ey,ef,ex))>ex?ex:ei:eu(u?ey:em,ef,u?ex:eg);$[A]=eA,R[A]=eA-ef}t.modifiersData[o]=R}},requiresIfExists:["offset"]},{name:"arrow",enabled:!0,phase:"main",fn:function(e){var t,r=e.state,o=e.name,n=e.options,a=r.elements.arrow,i=r.modifiersData.popperOffsets,l=K(r.placement),s=Y(l),c=[T,D].indexOf(l)>=0?"height":"width";if(a&&i){var p,u=(p=n.padding,es("number"!=typeof(p="function"==typeof p?p(Object.assign({},r.rects,{placement:r.placement})):p)?p:ec(p,N))),d=I(a),f="y"===s?"top":T,h="y"===s?L:D,m=r.rects.reference[c]+r.rects.reference[s]-i[s]-r.rects.popper[c],g=i[s]-r.rects.reference[s],v=E(a),b=v?"y"===s?v.clientHeight||0:v.clientWidth||0:0,y=u[f],x=b-d[c]-u[h],A=b/2-d[c]/2+(m/2-g/2),$=eu(y,A,x);r.modifiersData[o]=((t={})[s]=$,t.centerOffset=$-A,t)}},effect:function(e){var t=e.state,r=e.options.element,o=void 0===r?"[data-popper-arrow]":r;null==o||("string"!=typeof o||(o=t.elements.popper.querySelector(o)))&&en(t.elements.popper,o)&&(t.elements.arrow=o)},requires:["popperOffsets"],requiresIfExists:["preventOverflow"]},{name:"hide",enabled:!0,phase:"main",requiresIfExists:["preventOverflow"],fn:function(e){var t=e.state,r=e.name,o=t.rects.reference,n=t.rects.popper,a=t.modifiersData.preventOverflow,i=ep(t,{elementContext:"reference"}),l=ep(t,{altBoundary:!0}),s=ed(i,o),c=ed(l,n,a),p=ef(s),u=ef(c);t.modifiersData[r]={referenceClippingOffsets:s,popperEscapeOffsets:c,isReferenceHidden:p,hasPopperEscaped:u},t.attributes.popper=Object.assign({},t.attributes.popper,{"data-popper-reference-hidden":p,"data-popper-escaped":u})}}]}).defaultModifiers)?[]:n,l=void 0===(i=o.defaultOptions)?q:i,function(e,t,r){void 0===r&&(r=l);var o,n,i={placement:"bottom",orderedModifiers:[],options:Object.assign({},q,l),modifiersData:{},elements:{reference:e,popper:t},attributes:{},styles:{}},s=[],c=!1,p={state:i,setOptions:function(r){var o,n,c,d,f,m,g="function"==typeof r?r(i.options):r;u(),i.options=Object.assign({},l,i.options,g),i.scrollParents={reference:h(e)?P(e):e.contextElement?P(e.contextElement):[],popper:P(t)};var v=(n=Object.keys(o=[].concat(a,i.options.modifiers).reduce(function(e,t){var r=e[t.name];return e[t.name]=r?Object.assign({},r,t,{options:Object.assign({},r.options,t.options),data:Object.assign({},r.data,t.data)}):t,e},{})).map(function(e){return o[e]}),c=new Map,d=new Set,f=[],n.forEach(function(e){c.set(e.name,e)}),n.forEach(function(e){d.has(e.name)||function e(t){d.add(t.name),[].concat(t.requires||[],t.requiresIfExists||[]).forEach(function(t){if(!d.has(t)){var r=c.get(t);r&&e(r)}}),f.push(t)}(e)}),m=f,X.reduce(function(e,t){return e.concat(m.filter(function(e){return e.phase===t}))},[]));return i.orderedModifiers=v.filter(function(e){return e.enabled}),i.orderedModifiers.forEach(function(e){var t=e.name,r=e.options,o=e.effect;if("function"==typeof o){var n=o({state:i,name:t,instance:p,options:void 0===r?{}:r});s.push(n||function(){})}}),p.update()},forceUpdate:function(){if(!c){var e=i.elements,t=e.reference,r=e.popper;if(U(t,r)){i.rects={reference:(o=E(r),n="fixed"===i.options.strategy,a=m(o),d=m(o)&&(s=y((l=o.getBoundingClientRect()).width)/o.offsetWidth||1,u=y(l.height)/o.offsetHeight||1,1!==s||1!==u),h=O(o),g=$(t,d,n),v={scrollLeft:0,scrollTop:0},b={x:0,y:0},(a||!a&&!n)&&(("body"!==k(o)||R(h))&&(v=function(e){return e!==f(e)&&m(e)?{scrollLeft:e.scrollLeft,scrollTop:e.scrollTop}:w(e)}(o)),m(o)?(b=$(o,!0),b.x+=o.clientLeft,b.y+=o.clientTop):h&&(b.x=C(h))),{x:g.left+v.scrollLeft-b.x,y:g.top+v.scrollTop-b.y,width:g.width,height:g.height}),popper:I(r)},i.reset=!1,i.placement=i.options.placement,i.orderedModifiers.forEach(function(e){return i.modifiersData[e.name]=Object.assign({},e.data)});for(var o,n,a,l,s,u,d,h,g,v,b,x=0;x<i.orderedModifiers.length;x++){if(!0===i.reset){i.reset=!1,x=-1;continue}var A=i.orderedModifiers[x],S=A.fn,M=A.options,P=void 0===M?{}:M,j=A.name;"function"==typeof S&&(i=S({state:i,options:P,name:j,instance:p})||i)}}}},update:(o=function(){return new Promise(function(e){p.forceUpdate(),e(i)})},function(){return n||(n=new Promise(function(e){Promise.resolve().then(function(){n=void 0,e(o())})})),n}),destroy:function(){u(),c=!0}};if(!U(e,t))return p;function u(){s.forEach(function(e){return e()}),s=[]}return p.setOptions(r).then(function(e){!c&&r.onFirstUpdate&&r.onFirstUpdate(e)}),p}),em=r(81023),eg=r(77893),ev=r(36961),eb=r(29009),ey=r(46733);function ex(e){return(0,ey.Ay)("MuiPopper",e)}(0,eb.A)("MuiPopper",["root"]);var eA=r(62540);function e$(e){return"function"==typeof e?e():e}let ew={},ek=c.forwardRef(function(e,t){let{anchorEl:r,children:o,direction:n,disablePortal:a,modifiers:i,open:l,placement:s,popperOptions:d,popperRef:f,slotProps:h={},slots:m={},TransitionProps:g,ownerState:v,...b}=e,y=c.useRef(null),x=(0,p.A)(y,t),A=c.useRef(null),$=(0,p.A)(A,f),w=c.useRef($);(0,u.A)(()=>{w.current=$},[$]),c.useImperativeHandle(f,()=>A.current,[]);let k=function(e,t){if("ltr"===t)return e;switch(e){case"bottom-end":return"bottom-start";case"bottom-start":return"bottom-end";case"top-end":return"top-start";case"top-start":return"top-end";default:return e}}(s,n),[O,C]=c.useState(k),[S,R]=c.useState(e$(r));c.useEffect(()=>{A.current&&A.current.forceUpdate()}),c.useEffect(()=>{r&&R(e$(r))},[r]),(0,u.A)(()=>{if(!S||!l)return;let e=[{name:"preventOverflow",options:{altBoundary:a}},{name:"flip",options:{altBoundary:a}},{name:"onUpdate",enabled:!0,phase:"afterWrite",fn:({state:e})=>{C(e.placement)}}];null!=i&&(e=e.concat(i)),d&&null!=d.modifiers&&(e=e.concat(d.modifiers));let t=eh(S,y.current,{placement:k,...d,modifiers:e});return w.current(t),()=>{t.destroy(),w.current(null)}},[S,a,i,l,d,k]);let I={placement:O};null!==g&&(I.TransitionProps=g);let M=(e=>{let{classes:t}=e;return(0,em.A)({root:["root"]},ex,t)})(e),P=m.root??"div",j=(0,eg.A)({elementType:P,externalSlotProps:h.root,externalForwardedProps:b,additionalProps:{role:"tooltip",ref:x},ownerState:e,className:M.root});return(0,eA.jsx)(P,{...j,children:"function"==typeof o?o(I):o})}),eO=c.forwardRef(function(e,t){let r,{anchorEl:o,children:n,container:a,direction:i="ltr",disablePortal:l=!1,keepMounted:s=!1,modifiers:p,open:u,placement:f="bottom",popperOptions:h=ew,popperRef:m,style:g,transition:v=!1,slotProps:b={},slots:y={},...x}=e,[A,$]=c.useState(!0);if(!s&&!u&&(!v||A))return null;if(a)r=a;else if(o){let e=e$(o);r=e&&void 0!==e.nodeType?(0,d.A)(e).body:(0,d.A)(null).body}let w=!u&&s&&(!v||A)?"none":void 0,k=v?{in:u,onEnter:()=>{$(!1)},onExited:()=>{$(!0)}}:void 0;return(0,eA.jsx)(ev.A,{disablePortal:l,container:r,children:(0,eA.jsx)(ek,{anchorEl:o,direction:i,disablePortal:l,modifiers:p,ref:t,open:v?!A:u,placement:f,popperOptions:h,popperRef:m,slotProps:b,slots:y,...x,style:{position:"fixed",top:0,left:0,display:w,...g},TransitionProps:k,children:n})})});var eC=r(77308),eS=r(72052);let eR=(0,eC.A)(eO,{name:"MuiPopper",slot:"Root",overridesResolver:(e,t)=>t.root})({}),eI=c.forwardRef(function(e,t){let r=(0,s.I)(),{anchorEl:o,component:n,components:a,componentsProps:i,container:l,disablePortal:c,keepMounted:p,modifiers:u,open:d,placement:f,popperOptions:h,popperRef:m,transition:g,slots:v,slotProps:b,...y}=(0,eS.b)({props:e,name:"MuiPopper"}),x=v?.root??a?.Root,A={anchorEl:o,container:l,disablePortal:c,keepMounted:p,modifiers:u,open:d,placement:f,popperOptions:h,popperRef:m,transition:g,...y};return(0,eA.jsx)(eR,{as:n,direction:r?"rtl":"ltr",slots:{root:x},slotProps:b??i,...A,ref:t})})},17834(e,t,r){r.d(t,{A:()=>a}),r(70451);var o=r(22402),n=r(62540);let a=(0,o.A)((0,n.jsx)("path",{d:"M19 6.41L17.59 5 12 10.59 6.41 5 5 6.41 10.59 12 5 17.59 6.41 19 12 13.41 17.59 19 19 17.59 13.41 12z"}),"Close")},81227(e,t,r){r.d(t,{A:()=>h,Z:()=>c});var o=r(70451),n=r(54553),a=r(89369),i=r(83183),l=r(71849);function s(e){return e.normalize("NFD").replace(/[\u0300-\u036f]/g,"")}function c(e={}){let{ignoreAccents:t=!0,ignoreCase:r=!0,limit:o,matchFrom:n="any",stringify:a,trim:i=!1}=e;return(e,{inputValue:l,getOptionLabel:c})=>{let p=i?l.trim():l;r&&(p=p.toLowerCase()),t&&(p=s(p));let u=p?e.filter(e=>{let o=(a||c)(e);return r&&(o=o.toLowerCase()),t&&(o=s(o)),"start"===n?o.startsWith(p):o.includes(p)}):e;return"number"==typeof o?u.slice(0,o):u}}let p=c(),u=e=>null!==e.current&&e.current.parentElement?.contains(document.activeElement),d=[];function f(e,t,r){if(t||null==e)return"";let o=r(e);return"string"==typeof o?o:""}let h=function(e){var t;let r,{unstable_isActiveElementInListbox:s=u,unstable_classNamePrefix:c="Mui",autoComplete:h=!1,autoHighlight:m=!1,autoSelect:g=!1,blurOnSelect:v=!1,clearOnBlur:b=!e.freeSolo,clearOnEscape:y=!1,componentName:x="useAutocomplete",defaultValue:A=e.multiple?d:null,disableClearable:$=!1,disableCloseOnSelect:w=!1,disabled:k,disabledItemsFocusable:O=!1,disableListWrap:C=!1,filterOptions:S=p,filterSelectedOptions:R=!1,freeSolo:I=!1,getOptionDisabled:M,getOptionKey:P,getOptionLabel:j=e=>e.label??e,groupBy:E,handleHomeEndKeys:L=!e.freeSolo,id:D,includeInputInList:T=!1,inputValue:z,isOptionEqualToValue:N=(e,t)=>e===t,multiple:B=!1,onChange:V,onClose:W,onHighlightChange:H,onInputChange:F,onOpen:X,open:q,openOnFocus:U=!1,options:_,readOnly:K=!1,selectOnFocus:G=!e.freeSolo,value:Y}=e,Z=(0,n.A)(D),J=j;J=e=>{let t=j(e);return"string"!=typeof t?String(t):t};let Q=o.useRef(!1),ee=o.useRef(!0),et=o.useRef(null),er=o.useRef(null),[eo,en]=o.useState(null),[ea,ei]=o.useState(-1),el=m?0:-1,es=o.useRef(el),ec=o.useRef(f(A??Y,B,J)).current,[ep,eu]=(0,a.A)({controlled:Y,default:A,name:x}),[ed,ef]=(0,a.A)({controlled:z,default:ec,name:x,state:"inputValue"}),[eh,em]=o.useState(!1),eg=o.useCallback((e,t,r)=>{if(!(B?ep.length<t.length:null!==t)&&!b)return;let o=f(t,B,J);ed!==o&&(ef(o),F&&F(e,o,r))},[J,ed,B,F,ef,b,ep]),[ev,eb]=(0,a.A)({controlled:q,default:!1,name:x,state:"open"}),[ey,ex]=o.useState(!0),eA=!B&&null!=ep&&ed===J(ep),e$=ev&&!K,ew=e$?S(_.filter(e=>!(R&&(B?ep:[ep]).some(t=>null!==t&&N(e,t)))),{inputValue:eA&&ey?"":ed,getOptionLabel:J}):[],ek=(t={filteredOptions:ew,value:ep,inputValue:ed},r=o.useRef({}),o.useEffect(()=>{r.current=t}),r.current);o.useEffect(()=>{let e=ep!==ek.value;eh&&!e||(!I||e)&&eg(null,ep,"reset")},[ep,eg,eh,ek.value,I]);let eO=ev&&ew.length>0&&!K,eC=(0,i.A)(e=>{-1===e?et.current.focus():eo.querySelector(`[data-tag-index="${e}"]`).focus()});o.useEffect(()=>{B&&ea>ep.length-1&&(ei(-1),eC(-1))},[ep,B,ea,eC]);let eS=(0,i.A)(({event:e,index:t,reason:r})=>{if(es.current=t,-1===t?et.current.removeAttribute("aria-activedescendant"):et.current.setAttribute("aria-activedescendant",`${Z}-option-${t}`),H&&["mouse","keyboard","touch"].includes(r)&&H(e,-1===t?null:ew[t],r),!er.current)return;let o=er.current.querySelector(`[role="option"].${c}-focused`);o&&(o.classList.remove(`${c}-focused`),o.classList.remove(`${c}-focusVisible`));let n=er.current;if("listbox"!==er.current.getAttribute("role")&&(n=er.current.parentElement.querySelector('[role="listbox"]')),!n)return;if(-1===t){n.scrollTop=0;return}let a=er.current.querySelector(`[data-option-index="${t}"]`);if(a&&(a.classList.add(`${c}-focused`),"keyboard"===r&&a.classList.add(`${c}-focusVisible`),n.scrollHeight>n.clientHeight&&"mouse"!==r&&"touch"!==r)){let e=n.clientHeight+n.scrollTop,t=a.offsetTop+a.offsetHeight;t>e?n.scrollTop=t-n.clientHeight:a.offsetTop-a.offsetHeight*(1.3*!!E)<n.scrollTop&&(n.scrollTop=a.offsetTop-a.offsetHeight*(1.3*!!E))}}),eR=(0,i.A)(({event:e,diff:t,direction:r="next",reason:o})=>{if(!e$)return;let n=function(e,t){if(!er.current||e<0||e>=ew.length)return -1;let r=e;for(;;){let o=er.current.querySelector(`[data-option-index="${r}"]`),n=!O&&(!o||o.disabled||"true"===o.getAttribute("aria-disabled"));if(o&&o.hasAttribute("tabindex")&&!n)return r;if((r="next"===t?(r+1)%ew.length:(r-1+ew.length)%ew.length)===e)return -1}}((()=>{let e=ew.length-1;if("reset"===t)return el;if("start"===t)return 0;if("end"===t)return e;let r=es.current+t;return r<0?-1===r&&T?-1:C&&-1!==es.current||Math.abs(t)>1?0:e:r>e?r===e+1&&T?-1:C||Math.abs(t)>1?e:0:r})(),r);if(eS({index:n,reason:o,event:e}),h&&"reset"!==t)if(-1===n)et.current.value=ed;else{let e=J(ew[n]);et.current.value=e,0===e.toLowerCase().indexOf(ed.toLowerCase())&&ed.length>0&&et.current.setSelectionRange(ed.length,e.length)}}),eI=o.useCallback(()=>{if(!e$)return;let e=(()=>{var e;if(-1!==es.current&&ek.filteredOptions&&ek.filteredOptions.length!==ew.length&&ek.inputValue===ed&&(B?ep.length===ek.value.length&&ek.value.every((e,t)=>J(ep[t])===J(e)):(e=ek.value,(e?J(e):"")===(ep?J(ep):"")))){let e=ek.filteredOptions[es.current];if(e)return ew.findIndex(t=>J(t)===J(e))}return -1})();if(-1!==e){es.current=e;return}let t=B?ep[0]:ep;if(0===ew.length||null==t)return void eR({diff:"reset"});if(er.current){if(null!=t){let e=ew[es.current];if(B&&e&&-1!==ep.findIndex(t=>N(e,t)))return;let r=ew.findIndex(e=>N(e,t));-1===r?eR({diff:"reset"}):eS({index:r});return}if(es.current>=ew.length-1)return void eS({index:ew.length-1});eS({index:es.current})}},[ew.length,!B&&ep,R,eR,eS,e$,ed,B]),eM=(0,i.A)(e=>{(0,l.A)(er,e),e&&eI()});o.useEffect(()=>{eI()},[eI]);let eP=e=>{!ev&&(eb(!0),ex(!0),X&&X(e))},ej=(e,t)=>{ev&&(eb(!1),W&&W(e,t))},eE=(e,t,r,o)=>{if(B){if(ep.length===t.length&&ep.every((e,r)=>e===t[r]))return}else if(ep===t)return;V&&V(e,t,r,o),eu(t)},eL=o.useRef(!1),eD=(e,t,r="selectOption",o="options")=>{let n=r,a=t;if(B){let e=(a=Array.isArray(ep)?ep.slice():[]).findIndex(e=>N(t,e));-1===e?a.push(t):"freeSolo"!==o&&(a.splice(e,1),n="removeOption")}eg(e,a,n),eE(e,a,n,{option:t}),w||e&&(e.ctrlKey||e.metaKey)||ej(e,n),(!0===v||"touch"===v&&eL.current||"mouse"===v&&!eL.current)&&et.current.blur()},eT=(e,t)=>{if(!B)return;""===ed&&ej(e,"toggleInput");let r=ea;-1===ea?""===ed&&"previous"===t&&(r=ep.length-1):((r+="next"===t?1:-1)<0&&(r=0),r===ep.length&&(r=-1)),ei(r=function(e,t){if(-1===e)return -1;let r=e;for(;;){if("next"===t&&r===ep.length||"previous"===t&&-1===r)return -1;let e=eo.querySelector(`[data-tag-index="${r}"]`);if(e&&e.hasAttribute("tabindex")&&!e.disabled&&"true"!==e.getAttribute("aria-disabled"))return r;r+="next"===t?1:-1}}(r,t)),eC(r)},ez=e=>{Q.current=!0,ef(""),F&&F(e,"","clear"),eE(e,B?[]:null,"clear")},eN=e=>{em(!0),U&&!Q.current&&eP(e)},eB=e=>{s(er)?et.current.focus():(em(!1),ee.current=!0,Q.current=!1,g&&-1!==es.current&&e$?eD(e,ew[es.current],"blur"):g&&I&&""!==ed?eD(e,ed,"blur","freeSolo"):b&&eg(e,ep,"blur"),ej(e,"blur"))},eV=e=>{let t=e.target.value;ed!==t&&(ef(t),ex(!1),F&&F(e,t,"input")),""===t?$||B||eE(e,null,"clear"):eP(e)},eW=e=>{let t=Number(e.currentTarget.getAttribute("data-option-index"));es.current!==t&&eS({event:e,index:t,reason:"mouse"})},eH=e=>{eS({event:e,index:Number(e.currentTarget.getAttribute("data-option-index")),reason:"touch"}),eL.current=!0},eF=e=>{let t=Number(e.currentTarget.getAttribute("data-option-index"));eD(e,ew[t],"selectOption"),eL.current=!1},eX=e=>{ev?ej(e,"toggleInput"):eP(e)},eq=e=>{e.currentTarget.contains(e.target)&&e.target.getAttribute("id")!==Z&&e.preventDefault()},eU=e=>{e.currentTarget.contains(e.target)&&(et.current.focus(),G&&ee.current&&et.current.selectionEnd-et.current.selectionStart==0&&et.current.select(),ee.current=!1)},e_=e=>{k||""!==ed&&ev||eX(e)},eK=I&&ed.length>0;eK=eK||(B?ep.length>0:null!==ep);let eG=ew;return E&&(eG=ew.reduce((e,t,r)=>{let o=E(t);return e.length>0&&e[e.length-1].group===o?e[e.length-1].options.push(t):e.push({key:r,index:r,group:o,options:[t]}),e},[])),k&&eh&&eB(),{getRootProps:(e={})=>({...e,onKeyDown:t=>{if(e.onKeyDown&&e.onKeyDown(t),!t.defaultMuiPrevented&&(-1===ea||["ArrowLeft","ArrowRight"].includes(t.key)||(ei(-1),eC(-1)),229!==t.which))switch(t.key){case"Home":e$&&L&&(t.preventDefault(),eR({diff:"start",direction:"next",reason:"keyboard",event:t}));break;case"End":e$&&L&&(t.preventDefault(),eR({diff:"end",direction:"previous",reason:"keyboard",event:t}));break;case"PageUp":t.preventDefault(),eR({diff:-5,direction:"previous",reason:"keyboard",event:t}),eP(t);break;case"PageDown":t.preventDefault(),eR({diff:5,direction:"next",reason:"keyboard",event:t}),eP(t);break;case"ArrowDown":t.preventDefault(),eR({diff:1,direction:"next",reason:"keyboard",event:t}),eP(t);break;case"ArrowUp":t.preventDefault(),eR({diff:-1,direction:"previous",reason:"keyboard",event:t}),eP(t);break;case"ArrowLeft":eT(t,"previous");break;case"ArrowRight":eT(t,"next");break;case"Enter":if(-1!==es.current&&e$){let e=ew[es.current],r=!!M&&M(e);if(t.preventDefault(),r)return;eD(t,e,"selectOption"),h&&et.current.setSelectionRange(et.current.value.length,et.current.value.length)}else I&&""!==ed&&!1===eA&&(B&&t.preventDefault(),eD(t,ed,"createOption","freeSolo"));break;case"Escape":e$?(t.preventDefault(),t.stopPropagation(),ej(t,"escape")):y&&(""!==ed||B&&ep.length>0)&&(t.preventDefault(),t.stopPropagation(),ez(t));break;case"Backspace":if(B&&!K&&""===ed&&ep.length>0){let e=-1===ea?ep.length-1:ea,r=ep.slice();r.splice(e,1),eE(t,r,"removeOption",{option:ep[e]})}break;case"Delete":if(B&&!K&&""===ed&&ep.length>0&&-1!==ea){let e=ep.slice();e.splice(ea,1),eE(t,e,"removeOption",{option:ep[ea]})}}},onMouseDown:eq,onClick:eU}),getInputLabelProps:()=>({id:`${Z}-label`,htmlFor:Z}),getInputProps:()=>({id:Z,value:ed,onBlur:eB,onFocus:eN,onChange:eV,onMouseDown:e_,"aria-activedescendant":e$?"":null,"aria-autocomplete":h?"both":"list","aria-controls":eO?`${Z}-listbox`:void 0,"aria-expanded":eO,autoComplete:"off",ref:et,autoCapitalize:"none",spellCheck:"false",role:"combobox",disabled:k}),getClearProps:()=>({tabIndex:-1,type:"button",onClick:ez}),getPopupIndicatorProps:()=>({tabIndex:-1,type:"button",onClick:eX}),getTagProps:({index:e})=>({key:e,"data-tag-index":e,tabIndex:-1,...!K&&{onDelete:t=>{let r=ep.slice();r.splice(e,1),eE(t,r,"removeOption",{option:ep[e]})}}}),getListboxProps:()=>({role:"listbox",id:`${Z}-listbox`,"aria-labelledby":`${Z}-label`,ref:eM,onMouseDown:e=>{e.preventDefault()}}),getOptionProps:({index:e,option:t})=>{let r=(B?ep:[ep]).some(e=>null!=e&&N(t,e)),o=!!M&&M(t);return{key:P?.(t)??J(t),tabIndex:-1,role:"option",id:`${Z}-option-${e}`,onMouseMove:eW,onClick:eF,onTouchStart:eH,"data-option-index":e,"aria-disabled":o,"aria-selected":r}},id:Z,inputValue:ed,value:ep,dirty:eK,expanded:e$&&eo,popupOpen:e$,focused:eh||-1!==ea,anchorEl:eo,setAnchorEl:en,focusedTag:ea,groupedOptions:eG}}},32398(e,t,r){r.d(t,{A:()=>o});let o=r(83183).A},63392(e,t,r){r.d(t,{A:()=>o});let o=r(54553).A},93399(e,t,r){r.d(t,{A:()=>o});function o(e){try{return e.matches(":focus-visible")}catch(e){}return!1}},44394(e,t,r){r.d(t,{A:()=>f});var o=r(49257),n=r(68102),a=r(7490),i=r(70451),l=r.n(i),s=r(33477);function c(e,t){var r=Object.create(null);return e&&i.Children.map(e,function(e){return e}).forEach(function(e){r[e.key]=t&&(0,i.isValidElement)(e)?t(e):e}),r}function p(e,t,r){return null!=r[t]?r[t]:e.props[t]}var u=Object.values||function(e){return Object.keys(e).map(function(t){return e[t]})},d=function(e){function t(t,r){var o=e.call(this,t,r)||this,n=o.handleExited.bind(function(e){if(void 0===e)throw ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(o));return o.state={contextValue:{isMounting:!0},handleExited:n,firstRender:!0},o}(0,a.A)(t,e);var r=t.prototype;return r.componentDidMount=function(){this.mounted=!0,this.setState({contextValue:{isMounting:!1}})},r.componentWillUnmount=function(){this.mounted=!1},t.getDerivedStateFromProps=function(e,t){var r,o,n=t.children,a=t.handleExited;return{children:t.firstRender?c(e.children,function(t){return(0,i.cloneElement)(t,{onExited:a.bind(null,t),in:!0,appear:p(t,"appear",e),enter:p(t,"enter",e),exit:p(t,"exit",e)})}):(Object.keys(o=function(e,t){function r(r){return r in t?t[r]:e[r]}e=e||{},t=t||{};var o,n=Object.create(null),a=[];for(var i in e)i in t?a.length&&(n[i]=a,a=[]):a.push(i);var l={};for(var s in t){if(n[s])for(o=0;o<n[s].length;o++){var c=n[s][o];l[n[s][o]]=r(c)}l[s]=r(s)}for(o=0;o<a.length;o++)l[a[o]]=r(a[o]);return l}(n,r=c(e.children))).forEach(function(t){var l=o[t];if((0,i.isValidElement)(l)){var s=t in n,c=t in r,u=n[t],d=(0,i.isValidElement)(u)&&!u.props.in;c&&(!s||d)?o[t]=(0,i.cloneElement)(l,{onExited:a.bind(null,l),in:!0,exit:p(l,"exit",e),enter:p(l,"enter",e)}):c||!s||d?c&&s&&(0,i.isValidElement)(u)&&(o[t]=(0,i.cloneElement)(l,{onExited:a.bind(null,l),in:u.props.in,exit:p(l,"exit",e),enter:p(l,"enter",e)})):o[t]=(0,i.cloneElement)(l,{in:!1})}}),o),firstRender:!1}},r.handleExited=function(e,t){var r=c(this.props.children);e.key in r||(e.props.onExited&&e.props.onExited(t),this.mounted&&this.setState(function(t){var r=(0,n.A)({},t.children);return delete r[e.key],{children:r}}))},r.render=function(){var e=this.props,t=e.component,r=e.childFactory,n=(0,o.A)(e,["component","childFactory"]),a=this.state.contextValue,i=u(this.state.children).map(r);return(delete n.appear,delete n.enter,delete n.exit,null===t)?l().createElement(s.A.Provider,{value:a},i):l().createElement(s.A.Provider,{value:a},l().createElement(t,n,i))},t}(l().Component);d.propTypes={},d.defaultProps={component:"div",childFactory:function(e){return e}};let f=d}}]);
|
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
/*! For license information please see 7817.620f3116.js.LICENSE.txt */
|
|
2
|
+
"use strict";(self.chunk_VictoriaLogs_0_5_0_beta_1=self.chunk_VictoriaLogs_0_5_0_beta_1||[]).push([["7817"],{2192(r,e,t){var n=t(70451),o=Symbol.for("react.element"),_=Symbol.for("react.fragment"),a=Object.prototype.hasOwnProperty,s=n.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.ReactCurrentOwner,f={key:!0,ref:!0,__self:!0,__source:!0};function l(r,e,t){var n,_={},l=null,i=null;for(n in void 0!==t&&(l=""+t),void 0!==e.key&&(l=""+e.key),void 0!==e.ref&&(i=e.ref),e)a.call(e,n)&&!f.hasOwnProperty(n)&&(_[n]=e[n]);if(r&&r.defaultProps)for(n in e=r.defaultProps)void 0===_[n]&&(_[n]=e[n]);return{$$typeof:o,type:r,key:l,ref:i,props:_,_owner:s.current}}e.Fragment=_,e.jsx=l,e.jsxs=l},62540(r,e,t){r.exports=t(2192)},68102(r,e,t){t.d(e,{A:()=>n});function n(){return(n=Object.assign?Object.assign.bind():function(r){for(var e=1;e<arguments.length;e++){var t=arguments[e];for(var n in t)({}).hasOwnProperty.call(t,n)&&(r[n]=t[n])}return r}).apply(null,arguments)}}}]);
|
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
/*! For license information please see 7862.e6de7017.js.LICENSE.txt */
|
|
2
|
+
"use strict";(self.chunk_VictoriaLogs_0_5_0_beta_1=self.chunk_VictoriaLogs_0_5_0_beta_1||[]).push([["7862"],{32473(t,e,s){var r=s(70451),i="function"==typeof Object.is?Object.is:function(t,e){return t===e&&(0!==t||1/t==1/e)||t!=t&&e!=e},n=r.useState,u=r.useEffect,a=r.useLayoutEffect,o=r.useDebugValue;function l(t){var e=t.getSnapshot;t=t.value;try{var s=e();return!i(t,s)}catch(t){return!0}}var h="u"<typeof window||void 0===window.document||void 0===window.document.createElement?function(t,e){return e()}:function(t,e){var s=e(),r=n({inst:{value:s,getSnapshot:e}}),i=r[0].inst,h=r[1];return a(function(){i.value=s,i.getSnapshot=e,l(i)&&h({inst:i})},[t,s,e]),u(function(){return l(i)&&h({inst:i}),t(function(){l(i)&&h({inst:i})})},[t]),o(s),s};e.useSyncExternalStore=void 0!==r.useSyncExternalStore?r.useSyncExternalStore:h},43676(t,e,s){t.exports=s(32473)},76693(t,e,s){let r,i,n,u,a,o;s.r(e),s.d(e,{isError:()=>x,useQueryErrorResetBoundary:()=>tQ,IsRestoringProvider:()=>tC,dehydrate:()=>th,isServer:()=>h,parseFilterArgs:()=>m,parseMutationFilterArgs:()=>b,queryOptions:()=>tj,infiniteQueryOptions:()=>tH,useSuspenseQuery:()=>tK,QueriesObserver:()=>tn,defaultContext:()=>tp,QueryClient:()=>$,Query:()=>G,Hydrate:()=>tB,useInfiniteQuery:()=>tJ,useIsMutating:()=>tG,CancelledError:()=>L,usePrefetchQuery:()=>tX,useQueryClient:()=>tm,isCancelledError:()=>j,matchQuery:()=>g,MutationCache:()=>J,MutationObserver:()=>ta,defaultShouldDehydrateQuery:()=>tl,mutationOptions:()=>tz,notifyManager:()=>B,QueryCache:()=>z,useQueries:()=>tI,parseQueryArgs:()=>y,replaceEqualDeep:()=>Q,defaultShouldDehydrateMutation:()=>to,hydrate:()=>tc,useHydrate:()=>t_,useQuery:()=>tT,onlineManager:()=>T,InfiniteQueryObserver:()=>tu,QueryClientProvider:()=>tb,hashQueryKey:()=>R,QueryObserver:()=>tt,useIsRestoring:()=>tO,useSuspenseInfiniteQuery:()=>tk,useSuspenseQueries:()=>tL,parseMutationArgs:()=>v,focusManager:()=>I,useIsFetching:()=>tN,useMutation:()=>tV,usePrefetchInfiniteQuery:()=>tY,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="u"<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:r,fetchStatus:i,predicate:n,queryKey:u,stale:a}=t;if(M(u))if(r){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===i||i===e.state.fetchStatus)&&(!n||!!n(e))}function O(t,e){let{exact:s,fetching:r,predicate:i,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 r||"loading"===e.state.status===r)&&(!i||!!i(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,s=0){if(t===e)return t;if(s>500)return e;let r=q(t)&&q(e);if(r||w(t)&&w(e)){let i=r?t.length:Object.keys(t).length,n=r?e:Object.keys(e),u=n.length,a=r?[]:{},o=0;for(let i=0;i<u;i++){let u=r?i:n[i];a[u]=Q(t[u],e[u],s+1),a[u]===t[u]&&o++}return i===u&&o===i?t:a}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 x(t){return t instanceof Error}function F(t){return new Promise(e=>{setTimeout(e,t)})}function D(t){F(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:"u"<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:"u"<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,r,i=!1,n=0,u=!1,a=new Promise((t,e)=>{s=t,r=e}),o=()=>!I.isFocused()||"always"!==t.networkMode&&!T.isOnline(),l=r=>{u||(u=!0,null==t.onSuccess||t.onSuccess(r),null==e||e(),s(r))},h=s=>{u||(u=!0,null==t.onError||t.onError(s),null==e||e(),r(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,r;if(u)return;let a=null!=(s=t.retry)?s:3,l=null!=(r=t.retryDelay)?r:K,f="function"==typeof l?l(n,e):l,p=!0===a||"number"==typeof a&&n<a||"function"==typeof a&&a(n,e);i||!p?h(e):(n++,null==t.onFail||t.onFail(n,e),F(f).then(()=>{if(o())return c()}).then(()=>{i?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:()=>{i=!0},continueRetry:()=>{i=!1}}}let _=console,B=(r=[],i=0,n=t=>{t()},u=t=>{t()},a=t=>{i?r.push(t):D(()=>{n(t)})},o=()=>{let t=r;r=[],t.length&&D(()=>{u(()=>{t.forEach(t=>{n(t)})})})},{batch:t=>{let e;i++;try{e=t()}finally{--i||o()}return e},batchCalls:t=>(...e)=>{a(()=>{t(...e)})},schedule:a,setNotifyFunction:t=>{n=t},setBatchNotifyFunction:t=>{u=t}});class N{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 G extends N{constructor(t){super(),this.abortSignalConsumed=!1,this.defaultOptions=t.defaultOptions,this.setOptions(t.options),this.observers=[],this.cache=t.cache,this.logger=t.logger||_,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,r=s?"function"==typeof t.initialDataUpdatedAt?t.initialDataUpdatedAt():t.initialDataUpdatedAt:0;return{data:e,dataUpdateCount:0,dataUpdatedAt:s?null!=r?r: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,r,i,n;if("idle"!==this.state.fetchStatus){if(this.state.dataUpdatedAt&&null!=e&&e.cancelRefetch)this.cancel({silent:!0});else if(this.promise)return null==(i=this.retryer)||i.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==(r=h.fetchOptions)?void 0:r.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,r,i;null==(e=(s=this.cache.config).onError)||e.call(s,t,this),null==(r=(i=this.cache.config).onSettled)||r.call(i,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,r,i;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==(r=(i=this.cache.config).onSettled)||r.call(i,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,r;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!=(r=t.dataUpdatedAt)?r:Date.now(),error:null,isInvalidated:!1,status:"success",...!t.manual&&{fetchStatus:"idle",fetchFailureCount:0,fetchFailureReason:null}};case"error":let i=t.error;if(j(i)&&i.revert&&this.revertState)return{...this.revertState,fetchStatus:"idle"};return{...e,error:i,errorUpdateCount:e.errorUpdateCount+1,errorUpdatedAt:Date.now(),fetchFailureCount:e.fetchFailureCount+1,fetchFailureReason:i,fetchStatus:"idle",status:"error"};case"invalidate":return{...e,isInvalidated:!0};case"setState":return{...e,...t.state}}};this.state=e(this.state),B.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 r;let i=e.queryKey,n=null!=(r=e.queryHash)?r:C(i,e),u=this.get(n);return u||(u=new G({cache:this,logger:t.getLogger(),queryKey:i,queryHash:n,options:t.defaultQueryOptions(e),state:s,defaultOptions:t.getQueryDefaults(i)}),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(){B.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){B.batch(()=>{this.listeners.forEach(({listener:e})=>{e(t)})})}onFocus(){B.batch(()=>{this.queries.forEach(t=>{t.onFocus()})})}onOnline(){B.batch(()=>{this.queries.forEach(t=>{t.onOnline()})})}}class V extends N{constructor(t){super(),this.defaultOptions=t.defaultOptions,this.mutationId=t.mutationId,this.mutationCache=t.mutationCache,this.logger=t.logger||_,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,r,i,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=(r=this.options).onSuccess)?void 0:s.call(r,d,this.state.variables,this.state.context)),await (null==(i=(n=this.mutationCache.config).onSettled)?void 0:i.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),B.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 r=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(r),r}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(){B.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){B.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 B.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,r,i,n,u;let a,o=null==(e=t.fetchOptions)||null==(s=e.meta)?void 0:s.refetchPage,l=null==(r=t.fetchOptions)||null==(i=r.meta)?void 0:i.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,r)=>(y=r?[e,...y]:[...y,e],r?[s,...t]:[...t,s]),g=(e,s,r,i)=>{if(v)return Promise.reject("Cancelled");if(void 0===r&&!s&&e.length)return Promise.resolve(e);let n={queryKey:t.queryKey,pageParam:r,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,r,t,i))};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(r=>{if(!o||!f[s]||o(f[s],s,f)){let i=e?p[s]:Y(t.options,r);return g(r,e,i)}return Promise.resolve(b(r,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||_,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 r=y(t,e,s),i=this.getQueryData(r.queryKey);return i?Promise.resolve(i):this.fetchQuery(r)}getQueriesData(t){return this.getQueryCache().findAll(t).map(({queryKey:t,state:e})=>[t,e.data])}setQueryData(t,e,s){let r=this.queryCache.find(t),i=null==r?void 0:r.state.data,n="function"==typeof e?e(i):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 B.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),r=this.queryCache;B.batch(()=>{r.findAll(s).forEach(t=>{r.remove(t)})})}resetQueries(t,e,s){let[r,i]=m(t,e,s),n=this.queryCache,u={type:"active",...r};return B.batch(()=>(n.findAll(r).forEach(t=>{t.reset()}),this.refetchQueries(u,i)))}cancelQueries(t,e,s){let[r,i={}]=m(t,e,s);return void 0===i.revert&&(i.revert=!0),Promise.all(B.batch(()=>this.queryCache.findAll(r).map(t=>t.cancel(i)))).then(c).catch(c)}invalidateQueries(t,e,s){let[r,i]=m(t,e,s);return B.batch(()=>{var t,e;if(this.queryCache.findAll(r).forEach(t=>{t.invalidate()}),"none"===r.refetchType)return Promise.resolve();let s={...r,type:null!=(t=null!=(e=r.refetchType)?e:r.type)?t:"active"};return this.refetchQueries(s,i)})}refetchQueries(t,e,s){let[r,i]=m(t,e,s),n=Promise.all(B.batch(()=>this.queryCache.findAll(r).filter(t=>!t.isDisabled()).map(t=>{var e;return t.fetch(void 0,{...i,cancelRefetch:null==(e=null==i?void 0:i.cancelRefetch)||e,meta:{refetchPage:r.refetchPage}})}))).then(c);return null!=i&&i.throwOnError||(n=n.catch(c)),n}fetchQuery(t,e,s){let r=y(t,e,s),i=this.defaultQueryOptions(r);void 0===i.retry&&(i.retry=!1);let n=this.queryCache.build(this,i);return n.isStaleByTime(i.staleTime)?n.fetch(i):Promise.resolve(n.state.data)}prefetchQuery(t,e,s){return this.fetchQuery(t,e,s).then(c).catch(c)}fetchInfiniteQuery(t,e,s){let r=y(t,e,s);return r.behavior=X(),this.fetchQuery(r)}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,r=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 i=this.hasListeners();i&&tr(this.currentQuery,r,this.options,s)&&this.executeFetch(),this.updateResult(e),i&&(this.currentQuery!==r||this.options.enabled!==s.enabled||this.options.staleTime!==s.staleTime)&&this.updateStaleTimeout();let n=this.computeRefetchInterval();i&&(this.currentQuery!==r||this.options.enabled!==s.enabled||n!==this.currentRefetchInterval)&&this.updateRefetchInterval(n)}getOptimisticResult(t){var e,s,r;let i=this.client.getQueryCache().build(this.client,t),n=this.createResult(i,t);return e=this,s=n,(r=t).keepPreviousData||(void 0!==r.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,r=this.currentQuery,i=this.options,n=this.currentResult,u=this.currentResultState,a=this.currentResultOptions,o=t!==r,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&&tr(t,r,e,i);(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:ti(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 r={cache:!0},i=()=>{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 r=new Set(null!=s?s:this.trackedProps);return this.options.useErrorBoundary&&r.add("error"),Object.keys(this.currentResult).some(t=>this.currentResult[t]!==e[t]&&r.has(t))};(null==t?void 0:t.listeners)!==!1&&i()&&(r.listeners=!0),this.notify({...r,...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){B.batch(()=>{var e,s,r,i,n,u,a,o;t.onSuccess?(null==(e=(s=this.options).onSuccess)||e.call(s,this.currentResult.data),null==(r=(i=this.options).onSettled)||r.call(i,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 r="function"==typeof s?s(t):s;return"always"===r||!1!==r&&ti(t,e)}return!1}function tr(t,e,s,r){return!1!==s.enabled&&(t!==e||!1===r.enabled)&&(!s.suspense||"error"!==t.state.status)&&ti(t,s)}function ti(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,B.batch(()=>{let t=this.observers,s=this.findMatchingObservers(this.queries);s.forEach(t=>t.observer.setOptions(t.defaultedQueryOptions,e));let r=s.map(t=>t.observer),i=Object.fromEntries(r.map(t=>[t.options.queryHash,t])),n=r.map(t=>t.getCurrentResult()),u=r.some((e,s)=>e!==t[s]);t.length===r.length&&!u||(this.observers=r,this.observersMap=i,this.result=n,this.hasListeners()&&(f(t,r).forEach(t=>{t.destroy()}),f(r,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])),r=t.map(t=>this.client.defaultQueryOptions(t)),i=r.flatMap(t=>{let e=s.get(t.queryHash);return null!=e?[{defaultedQueryOptions:t,observer:e}]:[]}),n=new Set(i.map(t=>t.defaultedQueryOptions.queryHash)),u=r.filter(t=>!n.has(t.queryHash)),a=new Set(i.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 i.concat(h).sort((t,e)=>r.indexOf(t.defaultedQueryOptions)-r.indexOf(e.defaultedQueryOptions))}onUpdate(t,e){let s=this.observers.indexOf(t);if(-1!==s){var r;let t;this.result=(r=this.result,(t=r.slice(0))[s]=e,t),this.notify()}}notify(){B.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,r,i,n,u,a;let{state:o}=t,l=super.createResult(t,e),{isFetching:h,isRefetching:c}=l,d=h&&(null==(s=o.fetchMeta)||null==(r=s.fetchMore)?void 0:r.direction)==="forward",f=h&&(null==(i=o.fetchMeta)||null==(n=i.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){B.batch(()=>{if(this.mutateOptions&&this.hasListeners()){var e,s,r,i,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==(r=(i=this.mutateOptions).onSettled)||r.call(i,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=[],r=[];if(!1!==e.dehydrateMutations){let r=e.shouldDehydrateMutation||to;t.getMutationCache().getAll().forEach(t=>{r(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)&&r.push({state:t.state,queryKey:t.queryKey,queryHash:t.queryHash})})}return{mutations:s,queries:r}}function tc(t,e,s){if("object"!=typeof e||null===e)return;let r=t.getMutationCache(),i=t.getQueryCache(),n=e.mutations||[],u=e.queries||[];n.forEach(e=>{var i;r.build(t,{...null==s||null==(i=s.defaultOptions)?void 0:i.mutations,mutationKey:e.mutationKey},e.state)}),u.forEach(({queryKey:e,state:r,queryHash:n})=>{var u;let a=i.get(n);if(a){if(a.state.dataUpdatedAt<r.dataUpdatedAt){let{fetchStatus:t,...e}=r;a.setState(e)}return}i.build(t,{...null==s||null==(u=s.defaultOptions)?void 0:u.queries,queryKey:e,queryHash:n},{...r,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&&"u">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:r=!1})=>{td.useEffect(()=>(t.mount(),()=>{t.unmount()}),[t]);let i=tv(s,r);return td.createElement(ty.Provider,{value:!s&&r},td.createElement(i.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:r})=>t.isError&&!e.isReset()&&!t.isFetching&&tq(s,[t.error,r]),tx=t=>{t.suspense&&("number"!=typeof t.staleTime&&(t.staleTime=1e3),"number"==typeof t.cacheTime&&(t.cacheTime=Math.max(t.cacheTime,1e3)))},tF=(t,e)=>t.isLoading&&t.isFetching&&!e,tD=(t,e,s)=>(null==t?void 0:t.suspense)&&tF(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}),r=tO(),i=tQ(),n=td.useMemo(()=>t.map(t=>{let e=s.defaultQueryOptions(t);return e._optimisticResults=r?"isRestoring":"optimistic",e}),[t,s,r]);n.forEach(t=>{tx(t),tw(t,i)}),tP(i);let[u]=td.useState(()=>new tn(s,n)),a=u.getOptimisticResult(n);tf(td.useCallback(t=>r?()=>void 0:u.subscribe(B.batchCalls(t)),[u,r]),()=>u.getCurrentResult(),()=>u.getCurrentResult()),td.useEffect(()=>{u.setQueries(n,{listeners:!1})},[n,u]);let o=a.some((t,e)=>tD(n[e],t,r))?a.flatMap((t,e)=>{let s=n[e],a=u.getObservers()[e];if(s&&a)if(tD(s,t,r))return tA(s,a,i);else tF(t,r)&&tA(s,a,i);return[]}):[];if(o.length>0)throw Promise.all(o);let l=u.getQueries(),h=a.find((t,e)=>{var s,r;return tM({result:t,errorResetBoundary:i,useErrorBoundary:null!=(s=null==(r=n[e])?void 0:r.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}),r=tO(),i=tQ(),n=s.defaultQueryOptions(t);n._optimisticResults=r?"isRestoring":"optimistic",n.onError&&(n.onError=B.batchCalls(n.onError)),n.onSuccess&&(n.onSuccess=B.batchCalls(n.onSuccess)),n.onSettled&&(n.onSettled=B.batchCalls(n.onSettled)),tx(n),tw(n,i),tP(i);let[u]=td.useState(()=>new e(s,n)),a=u.getOptimisticResult(n);if(tf(td.useCallback(t=>{let e=r?()=>void 0:u.subscribe(B.batchCalls(t));return u.updateResult(),e},[u,r]),()=>u.getCurrentResult(),()=>u.getCurrentResult()),td.useEffect(()=>{u.setOptions(n,{listeners:!1})},[n,u]),tD(n,a,r))throw tA(n,u,i);if(tM({result:a,errorResetBoundary:i,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",onSuccess:void 0,onError:void 0,onSettled:void 0},tt)}function tk(t){return tU({...t,enabled:!0,suspense:!0,useErrorBoundary:!0,networkMode:"always"},tu)}function tL({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 tj(t){return t}function tH(t){return t}function t_(t,e={}){let s=tm({context:e.context}),r=td.useRef(e);r.current=e,td.useMemo(()=>{t&&tc(s,t,r.current)},[s,t])}let tB=({children:t,options:e,state:s})=>(t_(s,e),t);function tN(t,e,s){let[r,i={}]=m(t,e,s),n=tm({context:i.context}),u=n.getQueryCache();return tf(td.useCallback(t=>u.subscribe(B.batchCalls(t)),[u]),()=>n.isFetching(r),()=>n.isFetching(r))}function tG(t,e,s){let[r,i={}]=b(t,e,s),n=tm({context:i.context}),u=n.getMutationCache();return tf(td.useCallback(t=>u.subscribe(B.batchCalls(t)),[u]),()=>n.isMutating(r),()=>n.isMutating(r))}function tz(t){return t}function tV(t,e,s){let r=v(t,e,s),i=tm({context:r.context}),[n]=td.useState(()=>new ta(i,r));td.useEffect(()=>{n.setOptions(r)},[n,r]);let u=tf(td.useCallback(t=>n.subscribe(B.batchCalls(t)),[n]),()=>n.getCurrentResult(),()=>n.getCurrentResult()),a=td.useCallback((t,e)=>{n.mutate(t,e).catch(tW)},[n]);if(u.error&&tq(n.options.useErrorBoundary,[u.error]))throw u.error;return{...u,mutate:a,mutateAsync:u.mutate}}function tW(){}function tJ(t,e,s){return tU(y(t,e,s),tu)}function tX(t){let e=tm();e.getQueryState(t.queryKey)||e.prefetchQuery(t)}function tY(t){let e=tm();e.getQueryState(t.queryKey)||e.prefetchInfiniteQuery(t)}}}]);
|