zudoku 0.37.1 → 0.39.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/app/main.js +2 -0
- package/dist/app/main.js.map +1 -1
- package/dist/app/tailwind.js +14 -0
- package/dist/app/tailwind.js.map +1 -1
- package/dist/config/validators/common.d.ts +287 -18
- package/dist/config/validators/common.js +2 -0
- package/dist/config/validators/common.js.map +1 -1
- package/dist/config/validators/validate.d.ts +107 -7
- package/dist/lib/authentication/authentication.d.ts +1 -0
- package/dist/lib/authentication/providers/clerk.js +19 -0
- package/dist/lib/authentication/providers/clerk.js.map +1 -1
- package/dist/lib/authentication/providers/openid.d.ts +1 -0
- package/dist/lib/authentication/providers/openid.js +5 -0
- package/dist/lib/authentication/providers/openid.js.map +1 -1
- package/dist/lib/authentication/providers/supabase.js +5 -0
- package/dist/lib/authentication/providers/supabase.js.map +1 -1
- package/dist/lib/authentication/state.d.ts +0 -26
- package/dist/lib/authentication/state.js +1 -16
- package/dist/lib/authentication/state.js.map +1 -1
- package/dist/lib/components/Heading.d.ts +1 -1
- package/dist/lib/components/Layout.js +5 -10
- package/dist/lib/components/Layout.js.map +1 -1
- package/dist/lib/components/Main.js +3 -1
- package/dist/lib/components/Main.js.map +1 -1
- package/dist/lib/components/Pagination.d.ts +10 -0
- package/dist/lib/components/Pagination.js +10 -0
- package/dist/lib/components/Pagination.js.map +1 -0
- package/dist/lib/components/TopNavigation.js +18 -2
- package/dist/lib/components/TopNavigation.js.map +1 -1
- package/dist/lib/components/navigation/SidebarItem.d.ts +1 -0
- package/dist/lib/components/navigation/SidebarItem.js +7 -3
- package/dist/lib/components/navigation/SidebarItem.js.map +1 -1
- package/dist/lib/{plugins/markdown → components/navigation}/Toc.js +5 -7
- package/dist/lib/components/navigation/Toc.js.map +1 -0
- package/dist/lib/core/ZudokuContext.d.ts +7 -0
- package/dist/lib/core/ZudokuContext.js +8 -3
- package/dist/lib/core/ZudokuContext.js.map +1 -1
- package/dist/lib/core/plugins.d.ts +1 -1
- package/dist/lib/oas/graphql/index.d.ts +2 -1
- package/dist/lib/oas/graphql/index.js +74 -14
- package/dist/lib/oas/graphql/index.js.map +1 -1
- package/dist/lib/oas/parser/dereference/index.js +2 -0
- package/dist/lib/oas/parser/dereference/index.js.map +1 -1
- package/dist/lib/oas/parser/index.d.ts +5 -3
- package/dist/lib/oas/parser/index.js +0 -22
- package/dist/lib/oas/parser/index.js.map +1 -1
- package/dist/lib/plugins/api-catalog/index.js +19 -17
- package/dist/lib/plugins/api-catalog/index.js.map +1 -1
- package/dist/lib/plugins/markdown/MdxPage.js +3 -9
- package/dist/lib/plugins/markdown/MdxPage.js.map +1 -1
- package/dist/lib/plugins/openapi/ColorizedParam.js +1 -1
- package/dist/lib/plugins/openapi/ColorizedParam.js.map +1 -1
- package/dist/lib/plugins/openapi/Endpoint.js +1 -1
- package/dist/lib/plugins/openapi/Endpoint.js.map +1 -1
- package/dist/lib/plugins/openapi/OperationList.d.ts +1 -1
- package/dist/lib/plugins/openapi/OperationList.js +29 -9
- package/dist/lib/plugins/openapi/OperationList.js.map +1 -1
- package/dist/lib/plugins/openapi/OperationListItem.js +1 -1
- package/dist/lib/plugins/openapi/OperationListItem.js.map +1 -1
- package/dist/lib/plugins/openapi/ParameterListItem.js +2 -1
- package/dist/lib/plugins/openapi/ParameterListItem.js.map +1 -1
- package/dist/lib/plugins/openapi/SchemaList.d.ts +1 -0
- package/dist/lib/plugins/openapi/SchemaList.js +52 -0
- package/dist/lib/plugins/openapi/SchemaList.js.map +1 -0
- package/dist/lib/plugins/openapi/Sidecar.js +29 -5
- package/dist/lib/plugins/openapi/Sidecar.js.map +1 -1
- package/dist/lib/plugins/openapi/client/GraphQLClient.d.ts +1 -1
- package/dist/lib/plugins/openapi/client/GraphQLClient.js +1 -1
- package/dist/lib/plugins/openapi/client/GraphQLClient.js.map +1 -1
- package/dist/lib/plugins/openapi/client/useCreateQuery.d.ts +6 -2
- package/dist/lib/plugins/openapi/client/useCreateQuery.js +5 -5
- package/dist/lib/plugins/openapi/client/useCreateQuery.js.map +1 -1
- package/dist/lib/plugins/openapi/components/EnumValues.js +1 -1
- package/dist/lib/plugins/openapi/components/EnumValues.js.map +1 -1
- package/dist/lib/plugins/openapi/graphql/gql.d.ts +6 -2
- package/dist/lib/plugins/openapi/graphql/gql.js +3 -2
- package/dist/lib/plugins/openapi/graphql/gql.js.map +1 -1
- package/dist/lib/plugins/openapi/graphql/graphql.d.ts +67 -11
- package/dist/lib/plugins/openapi/graphql/graphql.js +34 -5
- package/dist/lib/plugins/openapi/graphql/graphql.js.map +1 -1
- package/dist/lib/plugins/openapi/index.js +12 -0
- package/dist/lib/plugins/openapi/index.js.map +1 -1
- package/dist/lib/plugins/openapi/interfaces.d.ts +26 -0
- package/dist/lib/plugins/openapi/playground/Playground.js +1 -1
- package/dist/lib/plugins/openapi/playground/Playground.js.map +1 -1
- package/dist/lib/plugins/openapi/playground/result-panel/ResultPanel.js +2 -2
- package/dist/lib/plugins/openapi/playground/result-panel/ResultPanel.js.map +1 -1
- package/dist/lib/plugins/openapi/schema/LogicalGroup/LogicalGroup.d.ts +1 -2
- package/dist/lib/plugins/openapi/schema/LogicalGroup/LogicalGroup.js +2 -2
- package/dist/lib/plugins/openapi/schema/LogicalGroup/LogicalGroup.js.map +1 -1
- package/dist/lib/plugins/openapi/schema/LogicalGroup/LogicalGroupItem.d.ts +0 -1
- package/dist/lib/plugins/openapi/schema/LogicalGroup/LogicalGroupItem.js +1 -1
- package/dist/lib/plugins/openapi/schema/LogicalGroup/LogicalGroupItem.js.map +1 -1
- package/dist/lib/plugins/openapi/schema/SchemaExampleAndDefault.d.ts +4 -0
- package/dist/lib/plugins/openapi/schema/SchemaExampleAndDefault.js +12 -0
- package/dist/lib/plugins/openapi/schema/SchemaExampleAndDefault.js.map +1 -0
- package/dist/lib/plugins/openapi/schema/SchemaPropertyItem.d.ts +2 -4
- package/dist/lib/plugins/openapi/schema/SchemaPropertyItem.js +12 -9
- package/dist/lib/plugins/openapi/schema/SchemaPropertyItem.js.map +1 -1
- package/dist/lib/plugins/openapi/schema/SchemaView.d.ts +1 -2
- package/dist/lib/plugins/openapi/schema/SchemaView.js +30 -52
- package/dist/lib/plugins/openapi/schema/SchemaView.js.map +1 -1
- package/dist/lib/plugins/openapi/schema/utils.d.ts +1 -0
- package/dist/lib/plugins/openapi/schema/utils.js +3 -1
- package/dist/lib/plugins/openapi/schema/utils.js.map +1 -1
- package/dist/lib/plugins/openapi/state.d.ts +25 -0
- package/dist/lib/plugins/openapi/state.js +18 -0
- package/dist/lib/plugins/openapi/state.js.map +1 -0
- package/dist/lib/plugins/openapi/util/getRoutes.js +9 -3
- package/dist/lib/plugins/openapi/util/getRoutes.js.map +1 -1
- package/dist/lib/plugins/search-pagefind/PagefindSearch.js +13 -4
- package/dist/lib/plugins/search-pagefind/PagefindSearch.js.map +1 -1
- package/dist/lib/plugins/search-pagefind/ResultList.js +19 -12
- package/dist/lib/plugins/search-pagefind/ResultList.js.map +1 -1
- package/dist/lib/plugins/search-pagefind/get-results.d.ts +8 -1
- package/dist/lib/plugins/search-pagefind/get-results.js +9 -4
- package/dist/lib/plugins/search-pagefind/get-results.js.map +1 -1
- package/dist/lib/util/traverse.d.ts +2 -8
- package/dist/lib/util/traverse.js.map +1 -1
- package/dist/lib/util/types.d.ts +7 -0
- package/dist/lib/util/types.js +2 -0
- package/dist/lib/util/types.js.map +1 -0
- package/dist/lib/util/useOnScreen.d.ts +3 -2
- package/dist/lib/util/useOnScreen.js +3 -3
- package/dist/lib/util/useOnScreen.js.map +1 -1
- package/dist/lib/util/useScrollToAnchor.js +18 -12
- package/dist/lib/util/useScrollToAnchor.js.map +1 -1
- package/dist/vite/api/schema-codegen.js +2 -2
- package/dist/vite/api/schema-codegen.js.map +1 -1
- package/dist/vite/api/schema-codegen.test.js +5 -0
- package/dist/vite/api/schema-codegen.test.js.map +1 -1
- package/dist/vite/plugin-api.js +12 -8
- package/dist/vite/plugin-api.js.map +1 -1
- package/lib/{AuthenticationPlugin-Cij2tPWa.js → AuthenticationPlugin-foqdvvkf.js} +3 -3
- package/lib/{AuthenticationPlugin-Cij2tPWa.js.map → AuthenticationPlugin-foqdvvkf.js.map} +1 -1
- package/lib/{Callout-B2vsR09t.js → Callout-D5frCCJ0.js} +2 -2
- package/lib/{Callout-B2vsR09t.js.map → Callout-D5frCCJ0.js.map} +1 -1
- package/lib/{Dialog-sbgekbjb.js → Dialog-Dv6WG8RN.js} +5 -5
- package/lib/{Dialog-sbgekbjb.js.map → Dialog-Dv6WG8RN.js.map} +1 -1
- package/lib/{Markdown-DT5Rrq8_.js → Markdown-aF5FdsNi.js} +1945 -1937
- package/lib/{Markdown-DT5Rrq8_.js.map → Markdown-aF5FdsNi.js.map} +1 -1
- package/lib/MdxPage-ZW1StNhp.js +83 -0
- package/lib/MdxPage-ZW1StNhp.js.map +1 -0
- package/lib/{OasProvider-DdEBf2qS.js → OasProvider-Cld9RAMQ.js} +4 -4
- package/lib/{OasProvider-DdEBf2qS.js.map → OasProvider-Cld9RAMQ.js.map} +1 -1
- package/lib/OperationList-D-OfzJm6.js +5065 -0
- package/lib/OperationList-D-OfzJm6.js.map +1 -0
- package/lib/Pagination-CYB3nVYx.js +46 -0
- package/lib/Pagination-CYB3nVYx.js.map +1 -0
- package/lib/SchemaList-Ci1WxRh0.js +148 -0
- package/lib/SchemaList-Ci1WxRh0.js.map +1 -0
- package/lib/SchemaView-Brn-YxHY.js +345 -0
- package/lib/SchemaView-Brn-YxHY.js.map +1 -0
- package/lib/{Select-z1Lwl0-J.js → Select-DVFRKf1R.js} +8 -8
- package/lib/{Select-z1Lwl0-J.js.map → Select-DVFRKf1R.js.map} +1 -1
- package/lib/{SlotletProvider-D8OBnr77.js → SlotletProvider-DXvc0aY6.js} +4 -4
- package/lib/{SlotletProvider-D8OBnr77.js.map → SlotletProvider-DXvc0aY6.js.map} +1 -1
- package/lib/Toc-YBsgI72s.js +92 -0
- package/lib/Toc-YBsgI72s.js.map +1 -0
- package/lib/{chunk-HA7DTUK3-ZGg2W6yV.js → chunk-HA7DTUK3-C4gP41vD.js} +5 -5
- package/lib/{chunk-HA7DTUK3-ZGg2W6yV.js.map → chunk-HA7DTUK3-C4gP41vD.js.map} +1 -1
- package/lib/{createServer-DjgKDpGV.js → createServer-mMau3eV_.js} +1732 -1664
- package/lib/{createServer-DjgKDpGV.js.map → createServer-mMau3eV_.js.map} +1 -1
- package/lib/hook-CqpVYDqN.js +1483 -0
- package/lib/hook-CqpVYDqN.js.map +1 -0
- package/lib/index-Bt7MKhZq.js +2514 -0
- package/lib/index-Bt7MKhZq.js.map +1 -0
- package/lib/{index-DdQSV2RF.js → index-CjPMxpOV.js} +809 -750
- package/lib/index-CjPMxpOV.js.map +1 -0
- package/lib/{mutation-_Z5C2wFZ.js → mutation-8LjrN7uz.js} +2 -2
- package/lib/{mutation-_Z5C2wFZ.js.map → mutation-8LjrN7uz.js.map} +1 -1
- package/lib/post-processors/traverse.js.map +1 -1
- package/lib/ui/Command.js +1 -1
- package/lib/{useExposedProps-BslIn-FE.js → useExposedProps-B9qXJedG.js} +2 -2
- package/lib/{useExposedProps-BslIn-FE.js.map → useExposedProps-B9qXJedG.js.map} +1 -1
- package/lib/zudoku.auth-auth0.js +1 -1
- package/lib/zudoku.auth-clerk.js +59 -41
- package/lib/zudoku.auth-clerk.js.map +1 -1
- package/lib/zudoku.auth-openid.js +76 -73
- package/lib/zudoku.auth-openid.js.map +1 -1
- package/lib/zudoku.components.js +31 -1440
- package/lib/zudoku.components.js.map +1 -1
- package/lib/zudoku.hooks.js +1 -1
- package/lib/zudoku.plugin-api-catalog.js +81 -79
- package/lib/zudoku.plugin-api-catalog.js.map +1 -1
- package/lib/zudoku.plugin-api-keys.js +15 -16
- package/lib/zudoku.plugin-api-keys.js.map +1 -1
- package/lib/zudoku.plugin-custom-pages.js +2 -2
- package/lib/zudoku.plugin-markdown.js +1 -1
- package/lib/zudoku.plugin-openapi.js +5 -6
- package/lib/zudoku.plugin-openapi.js.map +1 -1
- package/lib/zudoku.plugin-redirect.js +1 -1
- package/lib/zudoku.plugin-search-pagefind.js +133 -98
- package/lib/zudoku.plugin-search-pagefind.js.map +1 -1
- package/lib/zudoku.plugins.js.map +1 -1
- package/package.json +4 -3
- package/src/app/main.tsx +2 -0
- package/src/app/tailwind.ts +14 -0
- package/src/lib/authentication/authentication.ts +2 -0
- package/src/lib/authentication/providers/clerk.tsx +20 -0
- package/src/lib/authentication/providers/openid.tsx +6 -0
- package/src/lib/authentication/providers/supabase.tsx +6 -0
- package/src/lib/authentication/state.ts +1 -35
- package/src/lib/components/Layout.tsx +17 -17
- package/src/lib/components/Main.tsx +3 -1
- package/src/lib/components/Pagination.tsx +47 -0
- package/src/lib/components/TopNavigation.tsx +29 -2
- package/src/lib/components/navigation/SidebarItem.tsx +10 -4
- package/src/lib/{plugins/markdown → components/navigation}/Toc.tsx +5 -14
- package/src/lib/core/ZudokuContext.ts +13 -6
- package/src/lib/core/plugins.ts +1 -1
- package/src/lib/oas/graphql/index.ts +118 -45
- package/src/lib/oas/parser/dereference/index.ts +2 -0
- package/src/lib/oas/parser/index.ts +7 -29
- package/src/lib/plugins/api-catalog/index.tsx +40 -35
- package/src/lib/plugins/markdown/MdxPage.tsx +6 -43
- package/src/lib/plugins/openapi/ColorizedParam.tsx +1 -1
- package/src/lib/plugins/openapi/Endpoint.tsx +1 -1
- package/src/lib/plugins/openapi/OperationList.tsx +37 -16
- package/src/lib/plugins/openapi/OperationListItem.tsx +7 -2
- package/src/lib/plugins/openapi/ParameterListItem.tsx +2 -0
- package/src/lib/plugins/openapi/SchemaList.tsx +151 -0
- package/src/lib/plugins/openapi/Sidecar.tsx +36 -7
- package/src/lib/plugins/openapi/client/GraphQLClient.tsx +1 -1
- package/src/lib/plugins/openapi/client/useCreateQuery.ts +12 -5
- package/src/lib/plugins/openapi/components/EnumValues.tsx +1 -1
- package/src/lib/plugins/openapi/graphql/gql.ts +15 -6
- package/src/lib/plugins/openapi/graphql/graphql.ts +104 -15
- package/src/lib/plugins/openapi/index.tsx +13 -0
- package/src/lib/plugins/openapi/interfaces.ts +29 -0
- package/src/lib/plugins/openapi/playground/Playground.tsx +1 -1
- package/src/lib/plugins/openapi/playground/result-panel/ResultPanel.tsx +2 -1
- package/src/lib/plugins/openapi/schema/LogicalGroup/LogicalGroup.tsx +1 -8
- package/src/lib/plugins/openapi/schema/LogicalGroup/LogicalGroupItem.tsx +1 -2
- package/src/lib/plugins/openapi/schema/SchemaExampleAndDefault.tsx +36 -0
- package/src/lib/plugins/openapi/schema/SchemaPropertyItem.tsx +20 -21
- package/src/lib/plugins/openapi/schema/SchemaView.tsx +69 -141
- package/src/lib/plugins/openapi/schema/utils.ts +7 -1
- package/src/lib/plugins/openapi/state.ts +36 -0
- package/src/lib/plugins/openapi/util/getRoutes.tsx +9 -6
- package/src/lib/plugins/search-pagefind/PagefindSearch.tsx +26 -4
- package/src/lib/plugins/search-pagefind/ResultList.tsx +59 -47
- package/src/lib/plugins/search-pagefind/get-results.tsx +31 -10
- package/src/lib/util/traverse.ts +2 -6
- package/src/lib/util/types.ts +7 -0
- package/src/lib/util/useOnScreen.ts +6 -4
- package/src/lib/util/useScrollToAnchor.ts +20 -12
- package/dist/lib/plugins/markdown/Toc.js.map +0 -1
- package/lib/MdxPage-D2rD1vC4.js +0 -200
- package/lib/MdxPage-D2rD1vC4.js.map +0 -1
- package/lib/OperationList-DT4-gm_S.js +0 -5363
- package/lib/OperationList-DT4-gm_S.js.map +0 -1
- package/lib/hook-DzQC8PzJ.js +0 -355
- package/lib/hook-DzQC8PzJ.js.map +0 -1
- package/lib/index-DdQSV2RF.js.map +0 -1
- package/lib/index.esm-CltAN0Tf.js +0 -711
- package/lib/index.esm-CltAN0Tf.js.map +0 -1
- package/lib/joinUrl-BjDooT-T.js +0 -1154
- package/lib/joinUrl-BjDooT-T.js.map +0 -1
- /package/dist/lib/{plugins/markdown → components/navigation}/Toc.d.ts +0 -0
|
@@ -0,0 +1,2514 @@
|
|
|
1
|
+
var $r = Object.defineProperty;
|
|
2
|
+
var it = (t) => {
|
|
3
|
+
throw TypeError(t);
|
|
4
|
+
};
|
|
5
|
+
var Ir = (t, e, r) => e in t ? $r(t, e, { enumerable: !0, configurable: !0, writable: !0, value: r }) : t[e] = r;
|
|
6
|
+
var A = (t, e, r) => Ir(t, typeof e != "symbol" ? e + "" : e, r), ot = (t, e, r) => e.has(t) || it("Cannot " + r);
|
|
7
|
+
var p = (t, e, r) => (ot(t, e, "read from private field"), r ? r.call(t) : e.get(t)), D = (t, e, r) => e.has(t) ? it("Cannot add the same private member more than once") : e instanceof WeakSet ? e.add(t) : e.set(t, r), M = (t, e, r, n) => (ot(t, e, "write to private field"), n ? n.call(t, r) : e.set(t, r), r);
|
|
8
|
+
var ye = (t, e, r, n) => ({
|
|
9
|
+
set _(s) {
|
|
10
|
+
M(t, e, s, r);
|
|
11
|
+
},
|
|
12
|
+
get _() {
|
|
13
|
+
return p(t, e, n);
|
|
14
|
+
}
|
|
15
|
+
});
|
|
16
|
+
import * as V from "react";
|
|
17
|
+
import _, { Component as Se, createContext as Ve, StrictMode as Ft, useRef as ee, useEffect as Q, useState as te, useCallback as J, Suspense as Ze, memo as Ht, createElement as ct, useMemo as Me, useContext as qr } from "react";
|
|
18
|
+
import { g as Ge } from "./_commonjsHelpers-BkfeUUK-.js";
|
|
19
|
+
import { z as Lt, J as Fr } from "./index-DwT-v3zK.js";
|
|
20
|
+
import { a as Hr, u as ge, m as Lr, O as We, R as Qr, S as zr, f as Pe, g as Ur, L as Xe } from "./chunk-HA7DTUK3-C4gP41vD.js";
|
|
21
|
+
import { S as Qt, v as zt, Q as Br, n as N, w as lt, x as ut, y as K, z as Kr, A as Yr, B as Vr, C as Zr, D as dt, E as ft, F as Gr, h as ht, G as mt, H as Wr, g as Ut, l as fe, e as z, m as Xr, I as Bt, J as Kt, K as Jr, f as ae, u as en, j as tn, d as rn, Z as nn, L as sn, M as an } from "./hook-CqpVYDqN.js";
|
|
22
|
+
import { j as a } from "./jsx-runtime-CYK1ROHF.js";
|
|
23
|
+
import { D as on, a as cn, f as ln, b as un, c as dn } from "./Dialog-Dv6WG8RN.js";
|
|
24
|
+
import { Z as fn } from "./invariant-Caa8-XvF.js";
|
|
25
|
+
import { u as hn, o as mn } from "./objectEntries-BS7aAgOm.js";
|
|
26
|
+
import { E as Yt, S as q, a as pn, R as gn } from "./SlotletProvider-DXvc0aY6.js";
|
|
27
|
+
import { Button as vn } from "./ui/Button.js";
|
|
28
|
+
import { Callout as yn } from "./ui/Callout.js";
|
|
29
|
+
import { M as xn } from "./mutation-8LjrN7uz.js";
|
|
30
|
+
import * as bn from "react-dom";
|
|
31
|
+
import { C as Je } from "./ClientOnly-E7hGysn1.js";
|
|
32
|
+
import { s as Tn, a as pt, b as wn, H as En, P as jn, c as Cn, V as Sn, M as Pn } from "./Markdown-aF5FdsNi.js";
|
|
33
|
+
import { B as Le } from "./Button-Fp19CMUr.js";
|
|
34
|
+
import { c as L } from "./cn-qaFjX9_3.js";
|
|
35
|
+
import { isSearchPlugin as An, isProfileMenuPlugin as On, isNavigationPlugin as Mn, isEventConsumerPlugin as Dn, needsInitialization as Nn, isApiIdentityPlugin as Rn, isMdxProviderPlugin as kn, hasHead as _n } from "./zudoku.plugins.js";
|
|
36
|
+
import { DropdownMenu as $n, DropdownMenuTrigger as In, DropdownMenuContent as qn, DropdownMenuLabel as Fn, DropdownMenuSeparator as De, DropdownMenuSub as Hn, DropdownMenuSubTrigger as Ln, DropdownMenuPortal as Qn, DropdownMenuSubContent as zn, DropdownMenuItem as Un } from "./ui/DropdownMenu.js";
|
|
37
|
+
import { CircleXIcon as Bn, SearchIcon as Kn, SunIcon as Yn, MoonIcon as Vn, MenuIcon as Zn, PanelLeftIcon as Gn } from "lucide-react";
|
|
38
|
+
import { VisuallyHidden as Vt } from "@radix-ui/react-visually-hidden";
|
|
39
|
+
import { D as Wn, a as Xn, b as Zt, c as Gt, d as U } from "./Drawer-kDAfOq_2.js";
|
|
40
|
+
import { a as Jn } from "./index-CPNSgwSb.js";
|
|
41
|
+
import { S as Wt } from "./Spinner-CE68iCm0.js";
|
|
42
|
+
import { C as es } from "./CategoryHeading-DpB47wvk.js";
|
|
43
|
+
const Qe = {}, Xt = _.createContext(Qe);
|
|
44
|
+
function Jt(t) {
|
|
45
|
+
const e = _.useContext(Xt);
|
|
46
|
+
return _.useMemo(
|
|
47
|
+
function() {
|
|
48
|
+
return typeof t == "function" ? t(e) : { ...e, ...t };
|
|
49
|
+
},
|
|
50
|
+
[e, t]
|
|
51
|
+
);
|
|
52
|
+
}
|
|
53
|
+
function ts(t) {
|
|
54
|
+
let e;
|
|
55
|
+
return t.disableParentContext ? e = typeof t.components == "function" ? t.components(Qe) : t.components || Qe : e = Jt(t.components), _.createElement(
|
|
56
|
+
Xt.Provider,
|
|
57
|
+
{ value: e },
|
|
58
|
+
t.children
|
|
59
|
+
);
|
|
60
|
+
}
|
|
61
|
+
var Ne, gt;
|
|
62
|
+
function rs() {
|
|
63
|
+
if (gt) return Ne;
|
|
64
|
+
gt = 1;
|
|
65
|
+
var t = typeof Element < "u", e = typeof Map == "function", r = typeof Set == "function", n = typeof ArrayBuffer == "function" && !!ArrayBuffer.isView;
|
|
66
|
+
function s(i, o) {
|
|
67
|
+
if (i === o) return !0;
|
|
68
|
+
if (i && o && typeof i == "object" && typeof o == "object") {
|
|
69
|
+
if (i.constructor !== o.constructor) return !1;
|
|
70
|
+
var l, u, c;
|
|
71
|
+
if (Array.isArray(i)) {
|
|
72
|
+
if (l = i.length, l != o.length) return !1;
|
|
73
|
+
for (u = l; u-- !== 0; )
|
|
74
|
+
if (!s(i[u], o[u])) return !1;
|
|
75
|
+
return !0;
|
|
76
|
+
}
|
|
77
|
+
var f;
|
|
78
|
+
if (e && i instanceof Map && o instanceof Map) {
|
|
79
|
+
if (i.size !== o.size) return !1;
|
|
80
|
+
for (f = i.entries(); !(u = f.next()).done; )
|
|
81
|
+
if (!o.has(u.value[0])) return !1;
|
|
82
|
+
for (f = i.entries(); !(u = f.next()).done; )
|
|
83
|
+
if (!s(u.value[1], o.get(u.value[0]))) return !1;
|
|
84
|
+
return !0;
|
|
85
|
+
}
|
|
86
|
+
if (r && i instanceof Set && o instanceof Set) {
|
|
87
|
+
if (i.size !== o.size) return !1;
|
|
88
|
+
for (f = i.entries(); !(u = f.next()).done; )
|
|
89
|
+
if (!o.has(u.value[0])) return !1;
|
|
90
|
+
return !0;
|
|
91
|
+
}
|
|
92
|
+
if (n && ArrayBuffer.isView(i) && ArrayBuffer.isView(o)) {
|
|
93
|
+
if (l = i.length, l != o.length) return !1;
|
|
94
|
+
for (u = l; u-- !== 0; )
|
|
95
|
+
if (i[u] !== o[u]) return !1;
|
|
96
|
+
return !0;
|
|
97
|
+
}
|
|
98
|
+
if (i.constructor === RegExp) return i.source === o.source && i.flags === o.flags;
|
|
99
|
+
if (i.valueOf !== Object.prototype.valueOf && typeof i.valueOf == "function" && typeof o.valueOf == "function") return i.valueOf() === o.valueOf();
|
|
100
|
+
if (i.toString !== Object.prototype.toString && typeof i.toString == "function" && typeof o.toString == "function") return i.toString() === o.toString();
|
|
101
|
+
if (c = Object.keys(i), l = c.length, l !== Object.keys(o).length) return !1;
|
|
102
|
+
for (u = l; u-- !== 0; )
|
|
103
|
+
if (!Object.prototype.hasOwnProperty.call(o, c[u])) return !1;
|
|
104
|
+
if (t && i instanceof Element) return !1;
|
|
105
|
+
for (u = l; u-- !== 0; )
|
|
106
|
+
if (!((c[u] === "_owner" || c[u] === "__v" || c[u] === "__o") && i.$$typeof) && !s(i[c[u]], o[c[u]]))
|
|
107
|
+
return !1;
|
|
108
|
+
return !0;
|
|
109
|
+
}
|
|
110
|
+
return i !== i && o !== o;
|
|
111
|
+
}
|
|
112
|
+
return Ne = function(o, l) {
|
|
113
|
+
try {
|
|
114
|
+
return s(o, l);
|
|
115
|
+
} catch (u) {
|
|
116
|
+
if ((u.message || "").match(/stack|recursion/i))
|
|
117
|
+
return console.warn("react-fast-compare cannot handle circular refs"), !1;
|
|
118
|
+
throw u;
|
|
119
|
+
}
|
|
120
|
+
}, Ne;
|
|
121
|
+
}
|
|
122
|
+
var ns = rs();
|
|
123
|
+
const ss = /* @__PURE__ */ Ge(ns);
|
|
124
|
+
var Re, vt;
|
|
125
|
+
function as() {
|
|
126
|
+
if (vt) return Re;
|
|
127
|
+
vt = 1;
|
|
128
|
+
var t = function(e, r, n, s, i, o, l, u) {
|
|
129
|
+
if (process.env.NODE_ENV !== "production" && r === void 0)
|
|
130
|
+
throw new Error("invariant requires an error message argument");
|
|
131
|
+
if (!e) {
|
|
132
|
+
var c;
|
|
133
|
+
if (r === void 0)
|
|
134
|
+
c = new Error(
|
|
135
|
+
"Minified exception occurred; use the non-minified dev environment for the full error message and additional helpful warnings."
|
|
136
|
+
);
|
|
137
|
+
else {
|
|
138
|
+
var f = [n, s, i, o, l, u], h = 0;
|
|
139
|
+
c = new Error(
|
|
140
|
+
r.replace(/%s/g, function() {
|
|
141
|
+
return f[h++];
|
|
142
|
+
})
|
|
143
|
+
), c.name = "Invariant Violation";
|
|
144
|
+
}
|
|
145
|
+
throw c.framesToPop = 1, c;
|
|
146
|
+
}
|
|
147
|
+
};
|
|
148
|
+
return Re = t, Re;
|
|
149
|
+
}
|
|
150
|
+
var is = as();
|
|
151
|
+
const yt = /* @__PURE__ */ Ge(is);
|
|
152
|
+
var ke, xt;
|
|
153
|
+
function os() {
|
|
154
|
+
return xt || (xt = 1, ke = function(e, r, n, s) {
|
|
155
|
+
var i = n ? n.call(s, e, r) : void 0;
|
|
156
|
+
if (i !== void 0)
|
|
157
|
+
return !!i;
|
|
158
|
+
if (e === r)
|
|
159
|
+
return !0;
|
|
160
|
+
if (typeof e != "object" || !e || typeof r != "object" || !r)
|
|
161
|
+
return !1;
|
|
162
|
+
var o = Object.keys(e), l = Object.keys(r);
|
|
163
|
+
if (o.length !== l.length)
|
|
164
|
+
return !1;
|
|
165
|
+
for (var u = Object.prototype.hasOwnProperty.bind(r), c = 0; c < o.length; c++) {
|
|
166
|
+
var f = o[c];
|
|
167
|
+
if (!u(f))
|
|
168
|
+
return !1;
|
|
169
|
+
var h = e[f], g = r[f];
|
|
170
|
+
if (i = n ? n.call(s, h, g, f) : void 0, i === !1 || i === void 0 && h !== g)
|
|
171
|
+
return !1;
|
|
172
|
+
}
|
|
173
|
+
return !0;
|
|
174
|
+
}), ke;
|
|
175
|
+
}
|
|
176
|
+
var cs = os();
|
|
177
|
+
const ls = /* @__PURE__ */ Ge(cs);
|
|
178
|
+
var er = /* @__PURE__ */ ((t) => (t.BASE = "base", t.BODY = "body", t.HEAD = "head", t.HTML = "html", t.LINK = "link", t.META = "meta", t.NOSCRIPT = "noscript", t.SCRIPT = "script", t.STYLE = "style", t.TITLE = "title", t.FRAGMENT = "Symbol(react.fragment)", t))(er || {}), _e = {
|
|
179
|
+
link: { rel: ["amphtml", "canonical", "alternate"] },
|
|
180
|
+
script: { type: ["application/ld+json"] },
|
|
181
|
+
meta: {
|
|
182
|
+
charset: "",
|
|
183
|
+
name: ["generator", "robots", "description"],
|
|
184
|
+
property: [
|
|
185
|
+
"og:type",
|
|
186
|
+
"og:title",
|
|
187
|
+
"og:url",
|
|
188
|
+
"og:image",
|
|
189
|
+
"og:image:alt",
|
|
190
|
+
"og:description",
|
|
191
|
+
"twitter:url",
|
|
192
|
+
"twitter:title",
|
|
193
|
+
"twitter:description",
|
|
194
|
+
"twitter:image",
|
|
195
|
+
"twitter:image:alt",
|
|
196
|
+
"twitter:card",
|
|
197
|
+
"twitter:site"
|
|
198
|
+
]
|
|
199
|
+
}
|
|
200
|
+
}, bt = Object.values(er), et = {
|
|
201
|
+
accesskey: "accessKey",
|
|
202
|
+
charset: "charSet",
|
|
203
|
+
class: "className",
|
|
204
|
+
contenteditable: "contentEditable",
|
|
205
|
+
contextmenu: "contextMenu",
|
|
206
|
+
"http-equiv": "httpEquiv",
|
|
207
|
+
itemprop: "itemProp",
|
|
208
|
+
tabindex: "tabIndex"
|
|
209
|
+
}, us = Object.entries(et).reduce(
|
|
210
|
+
(t, [e, r]) => (t[r] = e, t),
|
|
211
|
+
{}
|
|
212
|
+
), F = "data-rh", ie = {
|
|
213
|
+
DEFAULT_TITLE: "defaultTitle",
|
|
214
|
+
DEFER: "defer",
|
|
215
|
+
ENCODE_SPECIAL_CHARACTERS: "encodeSpecialCharacters",
|
|
216
|
+
ON_CHANGE_CLIENT_STATE: "onChangeClientState",
|
|
217
|
+
TITLE_TEMPLATE: "titleTemplate",
|
|
218
|
+
PRIORITIZE_SEO_TAGS: "prioritizeSeoTags"
|
|
219
|
+
}, oe = (t, e) => {
|
|
220
|
+
for (let r = t.length - 1; r >= 0; r -= 1) {
|
|
221
|
+
const n = t[r];
|
|
222
|
+
if (Object.prototype.hasOwnProperty.call(n, e))
|
|
223
|
+
return n[e];
|
|
224
|
+
}
|
|
225
|
+
return null;
|
|
226
|
+
}, ds = (t) => {
|
|
227
|
+
let e = oe(
|
|
228
|
+
t,
|
|
229
|
+
"title"
|
|
230
|
+
/* TITLE */
|
|
231
|
+
);
|
|
232
|
+
const r = oe(t, ie.TITLE_TEMPLATE);
|
|
233
|
+
if (Array.isArray(e) && (e = e.join("")), r && e)
|
|
234
|
+
return r.replace(/%s/g, () => e);
|
|
235
|
+
const n = oe(t, ie.DEFAULT_TITLE);
|
|
236
|
+
return e || n || void 0;
|
|
237
|
+
}, fs = (t) => oe(t, ie.ON_CHANGE_CLIENT_STATE) || (() => {
|
|
238
|
+
}), $e = (t, e) => e.filter((r) => typeof r[t] < "u").map((r) => r[t]).reduce((r, n) => ({ ...r, ...n }), {}), hs = (t, e) => e.filter((r) => typeof r.base < "u").map((r) => r.base).reverse().reduce((r, n) => {
|
|
239
|
+
if (!r.length) {
|
|
240
|
+
const s = Object.keys(n);
|
|
241
|
+
for (let i = 0; i < s.length; i += 1) {
|
|
242
|
+
const l = s[i].toLowerCase();
|
|
243
|
+
if (t.indexOf(l) !== -1 && n[l])
|
|
244
|
+
return r.concat(n);
|
|
245
|
+
}
|
|
246
|
+
}
|
|
247
|
+
return r;
|
|
248
|
+
}, []), ms = (t) => console && typeof console.warn == "function" && console.warn(t), he = (t, e, r) => {
|
|
249
|
+
const n = {};
|
|
250
|
+
return r.filter((s) => Array.isArray(s[t]) ? !0 : (typeof s[t] < "u" && ms(
|
|
251
|
+
`Helmet: ${t} should be of type "Array". Instead found type "${typeof s[t]}"`
|
|
252
|
+
), !1)).map((s) => s[t]).reverse().reduce((s, i) => {
|
|
253
|
+
const o = {};
|
|
254
|
+
i.filter((u) => {
|
|
255
|
+
let c;
|
|
256
|
+
const f = Object.keys(u);
|
|
257
|
+
for (let g = 0; g < f.length; g += 1) {
|
|
258
|
+
const v = f[g], y = v.toLowerCase();
|
|
259
|
+
e.indexOf(y) !== -1 && !(c === "rel" && u[c].toLowerCase() === "canonical") && !(y === "rel" && u[y].toLowerCase() === "stylesheet") && (c = y), e.indexOf(v) !== -1 && (v === "innerHTML" || v === "cssText" || v === "itemprop") && (c = v);
|
|
260
|
+
}
|
|
261
|
+
if (!c || !u[c])
|
|
262
|
+
return !1;
|
|
263
|
+
const h = u[c].toLowerCase();
|
|
264
|
+
return n[c] || (n[c] = {}), o[c] || (o[c] = {}), n[c][h] ? !1 : (o[c][h] = !0, !0);
|
|
265
|
+
}).reverse().forEach((u) => s.push(u));
|
|
266
|
+
const l = Object.keys(o);
|
|
267
|
+
for (let u = 0; u < l.length; u += 1) {
|
|
268
|
+
const c = l[u], f = {
|
|
269
|
+
...n[c],
|
|
270
|
+
...o[c]
|
|
271
|
+
};
|
|
272
|
+
n[c] = f;
|
|
273
|
+
}
|
|
274
|
+
return s;
|
|
275
|
+
}, []).reverse();
|
|
276
|
+
}, ps = (t, e) => {
|
|
277
|
+
if (Array.isArray(t) && t.length) {
|
|
278
|
+
for (let r = 0; r < t.length; r += 1)
|
|
279
|
+
if (t[r][e])
|
|
280
|
+
return !0;
|
|
281
|
+
}
|
|
282
|
+
return !1;
|
|
283
|
+
}, gs = (t) => ({
|
|
284
|
+
baseTag: hs([
|
|
285
|
+
"href"
|
|
286
|
+
/* HREF */
|
|
287
|
+
], t),
|
|
288
|
+
bodyAttributes: $e("bodyAttributes", t),
|
|
289
|
+
defer: oe(t, ie.DEFER),
|
|
290
|
+
encode: oe(t, ie.ENCODE_SPECIAL_CHARACTERS),
|
|
291
|
+
htmlAttributes: $e("htmlAttributes", t),
|
|
292
|
+
linkTags: he(
|
|
293
|
+
"link",
|
|
294
|
+
[
|
|
295
|
+
"rel",
|
|
296
|
+
"href"
|
|
297
|
+
/* HREF */
|
|
298
|
+
],
|
|
299
|
+
t
|
|
300
|
+
),
|
|
301
|
+
metaTags: he(
|
|
302
|
+
"meta",
|
|
303
|
+
[
|
|
304
|
+
"name",
|
|
305
|
+
"charset",
|
|
306
|
+
"http-equiv",
|
|
307
|
+
"property",
|
|
308
|
+
"itemprop"
|
|
309
|
+
/* ITEM_PROP */
|
|
310
|
+
],
|
|
311
|
+
t
|
|
312
|
+
),
|
|
313
|
+
noscriptTags: he("noscript", [
|
|
314
|
+
"innerHTML"
|
|
315
|
+
/* INNER_HTML */
|
|
316
|
+
], t),
|
|
317
|
+
onChangeClientState: fs(t),
|
|
318
|
+
scriptTags: he(
|
|
319
|
+
"script",
|
|
320
|
+
[
|
|
321
|
+
"src",
|
|
322
|
+
"innerHTML"
|
|
323
|
+
/* INNER_HTML */
|
|
324
|
+
],
|
|
325
|
+
t
|
|
326
|
+
),
|
|
327
|
+
styleTags: he("style", [
|
|
328
|
+
"cssText"
|
|
329
|
+
/* CSS_TEXT */
|
|
330
|
+
], t),
|
|
331
|
+
title: ds(t),
|
|
332
|
+
titleAttributes: $e("titleAttributes", t),
|
|
333
|
+
prioritizeSeoTags: ps(t, ie.PRIORITIZE_SEO_TAGS)
|
|
334
|
+
}), tr = (t) => Array.isArray(t) ? t.join("") : t, vs = (t, e) => {
|
|
335
|
+
const r = Object.keys(t);
|
|
336
|
+
for (let n = 0; n < r.length; n += 1)
|
|
337
|
+
if (e[r[n]] && e[r[n]].includes(t[r[n]]))
|
|
338
|
+
return !0;
|
|
339
|
+
return !1;
|
|
340
|
+
}, Ie = (t, e) => Array.isArray(t) ? t.reduce(
|
|
341
|
+
(r, n) => (vs(n, e) ? r.priority.push(n) : r.default.push(n), r),
|
|
342
|
+
{ priority: [], default: [] }
|
|
343
|
+
) : { default: t, priority: [] }, Tt = (t, e) => ({
|
|
344
|
+
...t,
|
|
345
|
+
[e]: void 0
|
|
346
|
+
}), ys = [
|
|
347
|
+
"noscript",
|
|
348
|
+
"script",
|
|
349
|
+
"style"
|
|
350
|
+
/* STYLE */
|
|
351
|
+
], ze = (t, e = !0) => e === !1 ? String(t) : String(t).replace(/&/g, "&").replace(/</g, "<").replace(/>/g, ">").replace(/"/g, """).replace(/'/g, "'"), rr = (t) => Object.keys(t).reduce((e, r) => {
|
|
352
|
+
const n = typeof t[r] < "u" ? `${r}="${t[r]}"` : `${r}`;
|
|
353
|
+
return e ? `${e} ${n}` : n;
|
|
354
|
+
}, ""), xs = (t, e, r, n) => {
|
|
355
|
+
const s = rr(r), i = tr(e);
|
|
356
|
+
return s ? `<${t} ${F}="true" ${s}>${ze(
|
|
357
|
+
i,
|
|
358
|
+
n
|
|
359
|
+
)}</${t}>` : `<${t} ${F}="true">${ze(
|
|
360
|
+
i,
|
|
361
|
+
n
|
|
362
|
+
)}</${t}>`;
|
|
363
|
+
}, bs = (t, e, r = !0) => e.reduce((n, s) => {
|
|
364
|
+
const i = s, o = Object.keys(i).filter(
|
|
365
|
+
(c) => !(c === "innerHTML" || c === "cssText")
|
|
366
|
+
).reduce((c, f) => {
|
|
367
|
+
const h = typeof i[f] > "u" ? f : `${f}="${ze(i[f], r)}"`;
|
|
368
|
+
return c ? `${c} ${h}` : h;
|
|
369
|
+
}, ""), l = i.innerHTML || i.cssText || "", u = ys.indexOf(t) === -1;
|
|
370
|
+
return `${n}<${t} ${F}="true" ${o}${u ? "/>" : `>${l}</${t}>`}`;
|
|
371
|
+
}, ""), nr = (t, e = {}) => Object.keys(t).reduce((r, n) => {
|
|
372
|
+
const s = et[n];
|
|
373
|
+
return r[s || n] = t[n], r;
|
|
374
|
+
}, e), Ts = (t, e, r) => {
|
|
375
|
+
const n = {
|
|
376
|
+
key: e,
|
|
377
|
+
[F]: !0
|
|
378
|
+
}, s = nr(r, n);
|
|
379
|
+
return [_.createElement("title", s, e)];
|
|
380
|
+
}, Ee = (t, e) => e.map((r, n) => {
|
|
381
|
+
const s = {
|
|
382
|
+
key: n,
|
|
383
|
+
[F]: !0
|
|
384
|
+
};
|
|
385
|
+
return Object.keys(r).forEach((i) => {
|
|
386
|
+
const l = et[i] || i;
|
|
387
|
+
if (l === "innerHTML" || l === "cssText") {
|
|
388
|
+
const u = r.innerHTML || r.cssText;
|
|
389
|
+
s.dangerouslySetInnerHTML = { __html: u };
|
|
390
|
+
} else
|
|
391
|
+
s[l] = r[i];
|
|
392
|
+
}), _.createElement(t, s);
|
|
393
|
+
}), k = (t, e, r = !0) => {
|
|
394
|
+
switch (t) {
|
|
395
|
+
case "title":
|
|
396
|
+
return {
|
|
397
|
+
toComponent: () => Ts(t, e.title, e.titleAttributes),
|
|
398
|
+
toString: () => xs(t, e.title, e.titleAttributes, r)
|
|
399
|
+
};
|
|
400
|
+
case "bodyAttributes":
|
|
401
|
+
case "htmlAttributes":
|
|
402
|
+
return {
|
|
403
|
+
toComponent: () => nr(e),
|
|
404
|
+
toString: () => rr(e)
|
|
405
|
+
};
|
|
406
|
+
default:
|
|
407
|
+
return {
|
|
408
|
+
toComponent: () => Ee(t, e),
|
|
409
|
+
toString: () => bs(t, e, r)
|
|
410
|
+
};
|
|
411
|
+
}
|
|
412
|
+
}, ws = ({ metaTags: t, linkTags: e, scriptTags: r, encode: n }) => {
|
|
413
|
+
const s = Ie(t, _e.meta), i = Ie(e, _e.link), o = Ie(r, _e.script);
|
|
414
|
+
return {
|
|
415
|
+
priorityMethods: {
|
|
416
|
+
toComponent: () => [
|
|
417
|
+
...Ee("meta", s.priority),
|
|
418
|
+
...Ee("link", i.priority),
|
|
419
|
+
...Ee("script", o.priority)
|
|
420
|
+
],
|
|
421
|
+
toString: () => (
|
|
422
|
+
// generate all the tags as strings and concatenate them
|
|
423
|
+
`${k("meta", s.priority, n)} ${k(
|
|
424
|
+
"link",
|
|
425
|
+
i.priority,
|
|
426
|
+
n
|
|
427
|
+
)} ${k("script", o.priority, n)}`
|
|
428
|
+
)
|
|
429
|
+
},
|
|
430
|
+
metaTags: s.default,
|
|
431
|
+
linkTags: i.default,
|
|
432
|
+
scriptTags: o.default
|
|
433
|
+
};
|
|
434
|
+
}, Es = (t) => {
|
|
435
|
+
const {
|
|
436
|
+
baseTag: e,
|
|
437
|
+
bodyAttributes: r,
|
|
438
|
+
encode: n = !0,
|
|
439
|
+
htmlAttributes: s,
|
|
440
|
+
noscriptTags: i,
|
|
441
|
+
styleTags: o,
|
|
442
|
+
title: l = "",
|
|
443
|
+
titleAttributes: u,
|
|
444
|
+
prioritizeSeoTags: c
|
|
445
|
+
} = t;
|
|
446
|
+
let { linkTags: f, metaTags: h, scriptTags: g } = t, v = {
|
|
447
|
+
toComponent: () => {
|
|
448
|
+
},
|
|
449
|
+
toString: () => ""
|
|
450
|
+
};
|
|
451
|
+
return c && ({ priorityMethods: v, linkTags: f, metaTags: h, scriptTags: g } = ws(t)), {
|
|
452
|
+
priority: v,
|
|
453
|
+
base: k("base", e, n),
|
|
454
|
+
bodyAttributes: k("bodyAttributes", r, n),
|
|
455
|
+
htmlAttributes: k("htmlAttributes", s, n),
|
|
456
|
+
link: k("link", f, n),
|
|
457
|
+
meta: k("meta", h, n),
|
|
458
|
+
noscript: k("noscript", i, n),
|
|
459
|
+
script: k("script", g, n),
|
|
460
|
+
style: k("style", o, n),
|
|
461
|
+
title: k("title", { title: l, titleAttributes: u }, n)
|
|
462
|
+
};
|
|
463
|
+
}, Ue = Es, xe = [], sr = !!(typeof window < "u" && window.document && window.document.createElement), Be = class {
|
|
464
|
+
constructor(t, e) {
|
|
465
|
+
A(this, "instances", []);
|
|
466
|
+
A(this, "canUseDOM", sr);
|
|
467
|
+
A(this, "context");
|
|
468
|
+
A(this, "value", {
|
|
469
|
+
setHelmet: (t) => {
|
|
470
|
+
this.context.helmet = t;
|
|
471
|
+
},
|
|
472
|
+
helmetInstances: {
|
|
473
|
+
get: () => this.canUseDOM ? xe : this.instances,
|
|
474
|
+
add: (t) => {
|
|
475
|
+
(this.canUseDOM ? xe : this.instances).push(t);
|
|
476
|
+
},
|
|
477
|
+
remove: (t) => {
|
|
478
|
+
const e = (this.canUseDOM ? xe : this.instances).indexOf(t);
|
|
479
|
+
(this.canUseDOM ? xe : this.instances).splice(e, 1);
|
|
480
|
+
}
|
|
481
|
+
}
|
|
482
|
+
});
|
|
483
|
+
this.context = t, this.canUseDOM = e || !1, e || (t.helmet = Ue({
|
|
484
|
+
baseTag: [],
|
|
485
|
+
bodyAttributes: {},
|
|
486
|
+
htmlAttributes: {},
|
|
487
|
+
linkTags: [],
|
|
488
|
+
metaTags: [],
|
|
489
|
+
noscriptTags: [],
|
|
490
|
+
scriptTags: [],
|
|
491
|
+
styleTags: [],
|
|
492
|
+
title: "",
|
|
493
|
+
titleAttributes: {}
|
|
494
|
+
}));
|
|
495
|
+
}
|
|
496
|
+
}, js = {}, ar = _.createContext(js), ne, tt = (ne = class extends Se {
|
|
497
|
+
constructor(r) {
|
|
498
|
+
super(r);
|
|
499
|
+
A(this, "helmetData");
|
|
500
|
+
this.helmetData = new Be(this.props.context || {}, ne.canUseDOM);
|
|
501
|
+
}
|
|
502
|
+
render() {
|
|
503
|
+
return /* @__PURE__ */ _.createElement(ar.Provider, { value: this.helmetData.value }, this.props.children);
|
|
504
|
+
}
|
|
505
|
+
}, A(ne, "canUseDOM", sr), ne), se = (t, e) => {
|
|
506
|
+
const r = document.head || document.querySelector(
|
|
507
|
+
"head"
|
|
508
|
+
/* HEAD */
|
|
509
|
+
), n = r.querySelectorAll(`${t}[${F}]`), s = [].slice.call(n), i = [];
|
|
510
|
+
let o;
|
|
511
|
+
return e && e.length && e.forEach((l) => {
|
|
512
|
+
const u = document.createElement(t);
|
|
513
|
+
for (const c in l)
|
|
514
|
+
if (Object.prototype.hasOwnProperty.call(l, c))
|
|
515
|
+
if (c === "innerHTML")
|
|
516
|
+
u.innerHTML = l.innerHTML;
|
|
517
|
+
else if (c === "cssText")
|
|
518
|
+
u.styleSheet ? u.styleSheet.cssText = l.cssText : u.appendChild(document.createTextNode(l.cssText));
|
|
519
|
+
else {
|
|
520
|
+
const f = c, h = typeof l[f] > "u" ? "" : l[f];
|
|
521
|
+
u.setAttribute(c, h);
|
|
522
|
+
}
|
|
523
|
+
u.setAttribute(F, "true"), s.some((c, f) => (o = f, u.isEqualNode(c))) ? s.splice(o, 1) : i.push(u);
|
|
524
|
+
}), s.forEach((l) => {
|
|
525
|
+
var u;
|
|
526
|
+
return (u = l.parentNode) == null ? void 0 : u.removeChild(l);
|
|
527
|
+
}), i.forEach((l) => r.appendChild(l)), {
|
|
528
|
+
oldTags: s,
|
|
529
|
+
newTags: i
|
|
530
|
+
};
|
|
531
|
+
}, Ke = (t, e) => {
|
|
532
|
+
const r = document.getElementsByTagName(t)[0];
|
|
533
|
+
if (!r)
|
|
534
|
+
return;
|
|
535
|
+
const n = r.getAttribute(F), s = n ? n.split(",") : [], i = [...s], o = Object.keys(e);
|
|
536
|
+
for (const l of o) {
|
|
537
|
+
const u = e[l] || "";
|
|
538
|
+
r.getAttribute(l) !== u && r.setAttribute(l, u), s.indexOf(l) === -1 && s.push(l);
|
|
539
|
+
const c = i.indexOf(l);
|
|
540
|
+
c !== -1 && i.splice(c, 1);
|
|
541
|
+
}
|
|
542
|
+
for (let l = i.length - 1; l >= 0; l -= 1)
|
|
543
|
+
r.removeAttribute(i[l]);
|
|
544
|
+
s.length === i.length ? r.removeAttribute(F) : r.getAttribute(F) !== o.join(",") && r.setAttribute(F, o.join(","));
|
|
545
|
+
}, Cs = (t, e) => {
|
|
546
|
+
typeof t < "u" && document.title !== t && (document.title = tr(t)), Ke("title", e);
|
|
547
|
+
}, wt = (t, e) => {
|
|
548
|
+
const {
|
|
549
|
+
baseTag: r,
|
|
550
|
+
bodyAttributes: n,
|
|
551
|
+
htmlAttributes: s,
|
|
552
|
+
linkTags: i,
|
|
553
|
+
metaTags: o,
|
|
554
|
+
noscriptTags: l,
|
|
555
|
+
onChangeClientState: u,
|
|
556
|
+
scriptTags: c,
|
|
557
|
+
styleTags: f,
|
|
558
|
+
title: h,
|
|
559
|
+
titleAttributes: g
|
|
560
|
+
} = t;
|
|
561
|
+
Ke("body", n), Ke("html", s), Cs(h, g);
|
|
562
|
+
const v = {
|
|
563
|
+
baseTag: se("base", r),
|
|
564
|
+
linkTags: se("link", i),
|
|
565
|
+
metaTags: se("meta", o),
|
|
566
|
+
noscriptTags: se("noscript", l),
|
|
567
|
+
scriptTags: se("script", c),
|
|
568
|
+
styleTags: se("style", f)
|
|
569
|
+
}, y = {}, x = {};
|
|
570
|
+
Object.keys(v).forEach((T) => {
|
|
571
|
+
const { newTags: S, oldTags: P } = v[T];
|
|
572
|
+
S.length && (y[T] = S), P.length && (x[T] = v[T].oldTags);
|
|
573
|
+
}), e && e(), u(t, y, x);
|
|
574
|
+
}, me = null, Ss = (t) => {
|
|
575
|
+
me && cancelAnimationFrame(me), t.defer ? me = requestAnimationFrame(() => {
|
|
576
|
+
wt(t, () => {
|
|
577
|
+
me = null;
|
|
578
|
+
});
|
|
579
|
+
}) : (wt(t), me = null);
|
|
580
|
+
}, Ps = Ss, Et = class extends Se {
|
|
581
|
+
constructor() {
|
|
582
|
+
super(...arguments);
|
|
583
|
+
A(this, "rendered", !1);
|
|
584
|
+
}
|
|
585
|
+
shouldComponentUpdate(e) {
|
|
586
|
+
return !ls(e, this.props);
|
|
587
|
+
}
|
|
588
|
+
componentDidUpdate() {
|
|
589
|
+
this.emitChange();
|
|
590
|
+
}
|
|
591
|
+
componentWillUnmount() {
|
|
592
|
+
const { helmetInstances: e } = this.props.context;
|
|
593
|
+
e.remove(this), this.emitChange();
|
|
594
|
+
}
|
|
595
|
+
emitChange() {
|
|
596
|
+
const { helmetInstances: e, setHelmet: r } = this.props.context;
|
|
597
|
+
let n = null;
|
|
598
|
+
const s = gs(
|
|
599
|
+
e.get().map((i) => {
|
|
600
|
+
const o = { ...i.props };
|
|
601
|
+
return delete o.context, o;
|
|
602
|
+
})
|
|
603
|
+
);
|
|
604
|
+
tt.canUseDOM ? Ps(s) : Ue && (n = Ue(s)), r(n);
|
|
605
|
+
}
|
|
606
|
+
// componentWillMount will be deprecated
|
|
607
|
+
// for SSR, initialize on first render
|
|
608
|
+
// constructor is also unsafe in StrictMode
|
|
609
|
+
init() {
|
|
610
|
+
if (this.rendered)
|
|
611
|
+
return;
|
|
612
|
+
this.rendered = !0;
|
|
613
|
+
const { helmetInstances: e } = this.props.context;
|
|
614
|
+
e.add(this), this.emitChange();
|
|
615
|
+
}
|
|
616
|
+
render() {
|
|
617
|
+
return this.init(), null;
|
|
618
|
+
}
|
|
619
|
+
}, He, rt = (He = class extends Se {
|
|
620
|
+
shouldComponentUpdate(t) {
|
|
621
|
+
return !ss(Tt(this.props, "helmetData"), Tt(t, "helmetData"));
|
|
622
|
+
}
|
|
623
|
+
mapNestedChildrenToProps(t, e) {
|
|
624
|
+
if (!e)
|
|
625
|
+
return null;
|
|
626
|
+
switch (t.type) {
|
|
627
|
+
case "script":
|
|
628
|
+
case "noscript":
|
|
629
|
+
return {
|
|
630
|
+
innerHTML: e
|
|
631
|
+
};
|
|
632
|
+
case "style":
|
|
633
|
+
return {
|
|
634
|
+
cssText: e
|
|
635
|
+
};
|
|
636
|
+
default:
|
|
637
|
+
throw new Error(
|
|
638
|
+
`<${t.type} /> elements are self-closing and can not contain children. Refer to our API for more information.`
|
|
639
|
+
);
|
|
640
|
+
}
|
|
641
|
+
}
|
|
642
|
+
flattenArrayTypeChildren(t, e, r, n) {
|
|
643
|
+
return {
|
|
644
|
+
...e,
|
|
645
|
+
[t.type]: [
|
|
646
|
+
...e[t.type] || [],
|
|
647
|
+
{
|
|
648
|
+
...r,
|
|
649
|
+
...this.mapNestedChildrenToProps(t, n)
|
|
650
|
+
}
|
|
651
|
+
]
|
|
652
|
+
};
|
|
653
|
+
}
|
|
654
|
+
mapObjectTypeChildren(t, e, r, n) {
|
|
655
|
+
switch (t.type) {
|
|
656
|
+
case "title":
|
|
657
|
+
return {
|
|
658
|
+
...e,
|
|
659
|
+
[t.type]: n,
|
|
660
|
+
titleAttributes: { ...r }
|
|
661
|
+
};
|
|
662
|
+
case "body":
|
|
663
|
+
return {
|
|
664
|
+
...e,
|
|
665
|
+
bodyAttributes: { ...r }
|
|
666
|
+
};
|
|
667
|
+
case "html":
|
|
668
|
+
return {
|
|
669
|
+
...e,
|
|
670
|
+
htmlAttributes: { ...r }
|
|
671
|
+
};
|
|
672
|
+
default:
|
|
673
|
+
return {
|
|
674
|
+
...e,
|
|
675
|
+
[t.type]: { ...r }
|
|
676
|
+
};
|
|
677
|
+
}
|
|
678
|
+
}
|
|
679
|
+
mapArrayTypeChildrenToProps(t, e) {
|
|
680
|
+
let r = { ...e };
|
|
681
|
+
return Object.keys(t).forEach((n) => {
|
|
682
|
+
r = {
|
|
683
|
+
...r,
|
|
684
|
+
[n]: t[n]
|
|
685
|
+
};
|
|
686
|
+
}), r;
|
|
687
|
+
}
|
|
688
|
+
warnOnInvalidChildren(t, e) {
|
|
689
|
+
return yt(
|
|
690
|
+
bt.some((r) => t.type === r),
|
|
691
|
+
typeof t.type == "function" ? "You may be attempting to nest <Helmet> components within each other, which is not allowed. Refer to our API for more information." : `Only elements types ${bt.join(
|
|
692
|
+
", "
|
|
693
|
+
)} are allowed. Helmet does not support rendering <${t.type}> elements. Refer to our API for more information.`
|
|
694
|
+
), yt(
|
|
695
|
+
!e || typeof e == "string" || Array.isArray(e) && !e.some((r) => typeof r != "string"),
|
|
696
|
+
`Helmet expects a string as a child of <${t.type}>. Did you forget to wrap your children in braces? ( <${t.type}>{\`\`}</${t.type}> ) Refer to our API for more information.`
|
|
697
|
+
), !0;
|
|
698
|
+
}
|
|
699
|
+
mapChildrenToProps(t, e) {
|
|
700
|
+
let r = {};
|
|
701
|
+
return _.Children.forEach(t, (n) => {
|
|
702
|
+
if (!n || !n.props)
|
|
703
|
+
return;
|
|
704
|
+
const { children: s, ...i } = n.props, o = Object.keys(i).reduce((u, c) => (u[us[c] || c] = i[c], u), {});
|
|
705
|
+
let { type: l } = n;
|
|
706
|
+
switch (typeof l == "symbol" ? l = l.toString() : this.warnOnInvalidChildren(n, s), l) {
|
|
707
|
+
case "Symbol(react.fragment)":
|
|
708
|
+
e = this.mapChildrenToProps(s, e);
|
|
709
|
+
break;
|
|
710
|
+
case "link":
|
|
711
|
+
case "meta":
|
|
712
|
+
case "noscript":
|
|
713
|
+
case "script":
|
|
714
|
+
case "style":
|
|
715
|
+
r = this.flattenArrayTypeChildren(
|
|
716
|
+
n,
|
|
717
|
+
r,
|
|
718
|
+
o,
|
|
719
|
+
s
|
|
720
|
+
);
|
|
721
|
+
break;
|
|
722
|
+
default:
|
|
723
|
+
e = this.mapObjectTypeChildren(n, e, o, s);
|
|
724
|
+
break;
|
|
725
|
+
}
|
|
726
|
+
}), this.mapArrayTypeChildrenToProps(r, e);
|
|
727
|
+
}
|
|
728
|
+
render() {
|
|
729
|
+
const { children: t, ...e } = this.props;
|
|
730
|
+
let r = { ...e }, { helmetData: n } = e;
|
|
731
|
+
if (t && (r = this.mapChildrenToProps(t, r)), n && !(n instanceof Be)) {
|
|
732
|
+
const s = n;
|
|
733
|
+
n = new Be(s.context, !0), delete r.helmetData;
|
|
734
|
+
}
|
|
735
|
+
return n ? /* @__PURE__ */ _.createElement(Et, { ...r, context: n.value }) : /* @__PURE__ */ _.createElement(ar.Consumer, null, (s) => /* @__PURE__ */ _.createElement(Et, { ...r, context: s }));
|
|
736
|
+
}
|
|
737
|
+
}, A(He, "defaultProps", {
|
|
738
|
+
defer: !0,
|
|
739
|
+
encodeSpecialCharacters: !0,
|
|
740
|
+
prioritizeSeoTags: !1
|
|
741
|
+
}), He), H, $t, As = ($t = class extends Qt {
|
|
742
|
+
constructor(e = {}) {
|
|
743
|
+
super();
|
|
744
|
+
D(this, H);
|
|
745
|
+
this.config = e, M(this, H, /* @__PURE__ */ new Map());
|
|
746
|
+
}
|
|
747
|
+
build(e, r, n) {
|
|
748
|
+
const s = r.queryKey, i = r.queryHash ?? zt(s, r);
|
|
749
|
+
let o = this.get(i);
|
|
750
|
+
return o || (o = new Br({
|
|
751
|
+
client: e,
|
|
752
|
+
queryKey: s,
|
|
753
|
+
queryHash: i,
|
|
754
|
+
options: e.defaultQueryOptions(r),
|
|
755
|
+
state: n,
|
|
756
|
+
defaultOptions: e.getQueryDefaults(s)
|
|
757
|
+
}), this.add(o)), o;
|
|
758
|
+
}
|
|
759
|
+
add(e) {
|
|
760
|
+
p(this, H).has(e.queryHash) || (p(this, H).set(e.queryHash, e), this.notify({
|
|
761
|
+
type: "added",
|
|
762
|
+
query: e
|
|
763
|
+
}));
|
|
764
|
+
}
|
|
765
|
+
remove(e) {
|
|
766
|
+
const r = p(this, H).get(e.queryHash);
|
|
767
|
+
r && (e.destroy(), r === e && p(this, H).delete(e.queryHash), this.notify({ type: "removed", query: e }));
|
|
768
|
+
}
|
|
769
|
+
clear() {
|
|
770
|
+
N.batch(() => {
|
|
771
|
+
this.getAll().forEach((e) => {
|
|
772
|
+
this.remove(e);
|
|
773
|
+
});
|
|
774
|
+
});
|
|
775
|
+
}
|
|
776
|
+
get(e) {
|
|
777
|
+
return p(this, H).get(e);
|
|
778
|
+
}
|
|
779
|
+
getAll() {
|
|
780
|
+
return [...p(this, H).values()];
|
|
781
|
+
}
|
|
782
|
+
find(e) {
|
|
783
|
+
const r = { exact: !0, ...e };
|
|
784
|
+
return this.getAll().find(
|
|
785
|
+
(n) => lt(r, n)
|
|
786
|
+
);
|
|
787
|
+
}
|
|
788
|
+
findAll(e = {}) {
|
|
789
|
+
const r = this.getAll();
|
|
790
|
+
return Object.keys(e).length > 0 ? r.filter((n) => lt(e, n)) : r;
|
|
791
|
+
}
|
|
792
|
+
notify(e) {
|
|
793
|
+
N.batch(() => {
|
|
794
|
+
this.listeners.forEach((r) => {
|
|
795
|
+
r(e);
|
|
796
|
+
});
|
|
797
|
+
});
|
|
798
|
+
}
|
|
799
|
+
onFocus() {
|
|
800
|
+
N.batch(() => {
|
|
801
|
+
this.getAll().forEach((e) => {
|
|
802
|
+
e.onFocus();
|
|
803
|
+
});
|
|
804
|
+
});
|
|
805
|
+
}
|
|
806
|
+
onOnline() {
|
|
807
|
+
N.batch(() => {
|
|
808
|
+
this.getAll().forEach((e) => {
|
|
809
|
+
e.onOnline();
|
|
810
|
+
});
|
|
811
|
+
});
|
|
812
|
+
}
|
|
813
|
+
}, H = new WeakMap(), $t), Y, I, pe, It, Os = (It = class extends Qt {
|
|
814
|
+
constructor(e = {}) {
|
|
815
|
+
super();
|
|
816
|
+
D(this, Y);
|
|
817
|
+
D(this, I);
|
|
818
|
+
D(this, pe);
|
|
819
|
+
this.config = e, M(this, Y, /* @__PURE__ */ new Set()), M(this, I, /* @__PURE__ */ new Map()), M(this, pe, 0);
|
|
820
|
+
}
|
|
821
|
+
build(e, r, n) {
|
|
822
|
+
const s = new xn({
|
|
823
|
+
mutationCache: this,
|
|
824
|
+
mutationId: ++ye(this, pe)._,
|
|
825
|
+
options: e.defaultMutationOptions(r),
|
|
826
|
+
state: n
|
|
827
|
+
});
|
|
828
|
+
return this.add(s), s;
|
|
829
|
+
}
|
|
830
|
+
add(e) {
|
|
831
|
+
p(this, Y).add(e);
|
|
832
|
+
const r = be(e);
|
|
833
|
+
if (typeof r == "string") {
|
|
834
|
+
const n = p(this, I).get(r);
|
|
835
|
+
n ? n.push(e) : p(this, I).set(r, [e]);
|
|
836
|
+
}
|
|
837
|
+
this.notify({ type: "added", mutation: e });
|
|
838
|
+
}
|
|
839
|
+
remove(e) {
|
|
840
|
+
if (p(this, Y).delete(e)) {
|
|
841
|
+
const r = be(e);
|
|
842
|
+
if (typeof r == "string") {
|
|
843
|
+
const n = p(this, I).get(r);
|
|
844
|
+
if (n)
|
|
845
|
+
if (n.length > 1) {
|
|
846
|
+
const s = n.indexOf(e);
|
|
847
|
+
s !== -1 && n.splice(s, 1);
|
|
848
|
+
} else n[0] === e && p(this, I).delete(r);
|
|
849
|
+
}
|
|
850
|
+
}
|
|
851
|
+
this.notify({ type: "removed", mutation: e });
|
|
852
|
+
}
|
|
853
|
+
canRun(e) {
|
|
854
|
+
const r = be(e);
|
|
855
|
+
if (typeof r == "string") {
|
|
856
|
+
const n = p(this, I).get(r), s = n == null ? void 0 : n.find(
|
|
857
|
+
(i) => i.state.status === "pending"
|
|
858
|
+
);
|
|
859
|
+
return !s || s === e;
|
|
860
|
+
} else
|
|
861
|
+
return !0;
|
|
862
|
+
}
|
|
863
|
+
runNext(e) {
|
|
864
|
+
var n;
|
|
865
|
+
const r = be(e);
|
|
866
|
+
if (typeof r == "string") {
|
|
867
|
+
const s = (n = p(this, I).get(r)) == null ? void 0 : n.find((i) => i !== e && i.state.isPaused);
|
|
868
|
+
return (s == null ? void 0 : s.continue()) ?? Promise.resolve();
|
|
869
|
+
} else
|
|
870
|
+
return Promise.resolve();
|
|
871
|
+
}
|
|
872
|
+
clear() {
|
|
873
|
+
N.batch(() => {
|
|
874
|
+
p(this, Y).forEach((e) => {
|
|
875
|
+
this.notify({ type: "removed", mutation: e });
|
|
876
|
+
}), p(this, Y).clear(), p(this, I).clear();
|
|
877
|
+
});
|
|
878
|
+
}
|
|
879
|
+
getAll() {
|
|
880
|
+
return Array.from(p(this, Y));
|
|
881
|
+
}
|
|
882
|
+
find(e) {
|
|
883
|
+
const r = { exact: !0, ...e };
|
|
884
|
+
return this.getAll().find(
|
|
885
|
+
(n) => ut(r, n)
|
|
886
|
+
);
|
|
887
|
+
}
|
|
888
|
+
findAll(e = {}) {
|
|
889
|
+
return this.getAll().filter((r) => ut(e, r));
|
|
890
|
+
}
|
|
891
|
+
notify(e) {
|
|
892
|
+
N.batch(() => {
|
|
893
|
+
this.listeners.forEach((r) => {
|
|
894
|
+
r(e);
|
|
895
|
+
});
|
|
896
|
+
});
|
|
897
|
+
}
|
|
898
|
+
resumePausedMutations() {
|
|
899
|
+
const e = this.getAll().filter((r) => r.state.isPaused);
|
|
900
|
+
return N.batch(
|
|
901
|
+
() => Promise.all(
|
|
902
|
+
e.map((r) => r.continue().catch(K))
|
|
903
|
+
)
|
|
904
|
+
);
|
|
905
|
+
}
|
|
906
|
+
}, Y = new WeakMap(), I = new WeakMap(), pe = new WeakMap(), It);
|
|
907
|
+
function be(t) {
|
|
908
|
+
var e;
|
|
909
|
+
return (e = t.options.scope) == null ? void 0 : e.id;
|
|
910
|
+
}
|
|
911
|
+
function jt(t) {
|
|
912
|
+
return {
|
|
913
|
+
onFetch: (e, r) => {
|
|
914
|
+
var f, h, g, v, y;
|
|
915
|
+
const n = e.options, s = (g = (h = (f = e.fetchOptions) == null ? void 0 : f.meta) == null ? void 0 : h.fetchMore) == null ? void 0 : g.direction, i = ((v = e.state.data) == null ? void 0 : v.pages) || [], o = ((y = e.state.data) == null ? void 0 : y.pageParams) || [];
|
|
916
|
+
let l = { pages: [], pageParams: [] }, u = 0;
|
|
917
|
+
const c = async () => {
|
|
918
|
+
let x = !1;
|
|
919
|
+
const T = (b) => {
|
|
920
|
+
Object.defineProperty(b, "signal", {
|
|
921
|
+
enumerable: !0,
|
|
922
|
+
get: () => (e.signal.aborted ? x = !0 : e.signal.addEventListener("abort", () => {
|
|
923
|
+
x = !0;
|
|
924
|
+
}), e.signal)
|
|
925
|
+
});
|
|
926
|
+
}, S = Kr(e.options, e.fetchOptions), P = async (b, w, d) => {
|
|
927
|
+
if (x)
|
|
928
|
+
return Promise.reject();
|
|
929
|
+
if (w == null && b.pages.length)
|
|
930
|
+
return Promise.resolve(b);
|
|
931
|
+
const C = {
|
|
932
|
+
client: e.client,
|
|
933
|
+
queryKey: e.queryKey,
|
|
934
|
+
pageParam: w,
|
|
935
|
+
direction: d ? "backward" : "forward",
|
|
936
|
+
meta: e.options.meta
|
|
937
|
+
};
|
|
938
|
+
T(C);
|
|
939
|
+
const R = await S(
|
|
940
|
+
C
|
|
941
|
+
), { maxPages: $ } = e.options, B = d ? Yr : Vr;
|
|
942
|
+
return {
|
|
943
|
+
pages: B(b.pages, R, $),
|
|
944
|
+
pageParams: B(b.pageParams, w, $)
|
|
945
|
+
};
|
|
946
|
+
};
|
|
947
|
+
if (s && i.length) {
|
|
948
|
+
const b = s === "backward", w = b ? Ms : Ct, d = {
|
|
949
|
+
pages: i,
|
|
950
|
+
pageParams: o
|
|
951
|
+
}, C = w(n, d);
|
|
952
|
+
l = await P(d, C, b);
|
|
953
|
+
} else {
|
|
954
|
+
const b = t ?? i.length;
|
|
955
|
+
do {
|
|
956
|
+
const w = u === 0 ? o[0] ?? n.initialPageParam : Ct(n, l);
|
|
957
|
+
if (u > 0 && w == null)
|
|
958
|
+
break;
|
|
959
|
+
l = await P(l, w), u++;
|
|
960
|
+
} while (u < b);
|
|
961
|
+
}
|
|
962
|
+
return l;
|
|
963
|
+
};
|
|
964
|
+
e.options.persister ? e.fetchFn = () => {
|
|
965
|
+
var x, T;
|
|
966
|
+
return (T = (x = e.options).persister) == null ? void 0 : T.call(
|
|
967
|
+
x,
|
|
968
|
+
c,
|
|
969
|
+
{
|
|
970
|
+
client: e.client,
|
|
971
|
+
queryKey: e.queryKey,
|
|
972
|
+
meta: e.options.meta,
|
|
973
|
+
signal: e.signal
|
|
974
|
+
},
|
|
975
|
+
r
|
|
976
|
+
);
|
|
977
|
+
} : e.fetchFn = c;
|
|
978
|
+
}
|
|
979
|
+
};
|
|
980
|
+
}
|
|
981
|
+
function Ct(t, { pages: e, pageParams: r }) {
|
|
982
|
+
const n = e.length - 1;
|
|
983
|
+
return e.length > 0 ? t.getNextPageParam(
|
|
984
|
+
e[n],
|
|
985
|
+
e,
|
|
986
|
+
r[n],
|
|
987
|
+
r
|
|
988
|
+
) : void 0;
|
|
989
|
+
}
|
|
990
|
+
function Ms(t, { pages: e, pageParams: r }) {
|
|
991
|
+
var n;
|
|
992
|
+
return e.length > 0 ? (n = t.getPreviousPageParam) == null ? void 0 : n.call(t, e[0], e, r[0], r) : void 0;
|
|
993
|
+
}
|
|
994
|
+
var O, G, W, ce, le, X, ue, de, qt, Ds = (qt = class {
|
|
995
|
+
constructor(t = {}) {
|
|
996
|
+
D(this, O);
|
|
997
|
+
D(this, G);
|
|
998
|
+
D(this, W);
|
|
999
|
+
D(this, ce);
|
|
1000
|
+
D(this, le);
|
|
1001
|
+
D(this, X);
|
|
1002
|
+
D(this, ue);
|
|
1003
|
+
D(this, de);
|
|
1004
|
+
M(this, O, t.queryCache || new As()), M(this, G, t.mutationCache || new Os()), M(this, W, t.defaultOptions || {}), M(this, ce, /* @__PURE__ */ new Map()), M(this, le, /* @__PURE__ */ new Map()), M(this, X, 0);
|
|
1005
|
+
}
|
|
1006
|
+
mount() {
|
|
1007
|
+
ye(this, X)._++, p(this, X) === 1 && (M(this, ue, Zr.subscribe(async (t) => {
|
|
1008
|
+
t && (await this.resumePausedMutations(), p(this, O).onFocus());
|
|
1009
|
+
})), M(this, de, dt.subscribe(async (t) => {
|
|
1010
|
+
t && (await this.resumePausedMutations(), p(this, O).onOnline());
|
|
1011
|
+
})));
|
|
1012
|
+
}
|
|
1013
|
+
unmount() {
|
|
1014
|
+
var t, e;
|
|
1015
|
+
ye(this, X)._--, p(this, X) === 0 && ((t = p(this, ue)) == null || t.call(this), M(this, ue, void 0), (e = p(this, de)) == null || e.call(this), M(this, de, void 0));
|
|
1016
|
+
}
|
|
1017
|
+
isFetching(t) {
|
|
1018
|
+
return p(this, O).findAll({ ...t, fetchStatus: "fetching" }).length;
|
|
1019
|
+
}
|
|
1020
|
+
isMutating(t) {
|
|
1021
|
+
return p(this, G).findAll({ ...t, status: "pending" }).length;
|
|
1022
|
+
}
|
|
1023
|
+
getQueryData(t) {
|
|
1024
|
+
var r;
|
|
1025
|
+
const e = this.defaultQueryOptions({ queryKey: t });
|
|
1026
|
+
return (r = p(this, O).get(e.queryHash)) == null ? void 0 : r.state.data;
|
|
1027
|
+
}
|
|
1028
|
+
ensureQueryData(t) {
|
|
1029
|
+
const e = this.defaultQueryOptions(t), r = p(this, O).build(this, e), n = r.state.data;
|
|
1030
|
+
return n === void 0 ? this.fetchQuery(t) : (t.revalidateIfStale && r.isStaleByTime(ft(e.staleTime, r)) && this.prefetchQuery(e), Promise.resolve(n));
|
|
1031
|
+
}
|
|
1032
|
+
getQueriesData(t) {
|
|
1033
|
+
return p(this, O).findAll(t).map(({ queryKey: e, state: r }) => {
|
|
1034
|
+
const n = r.data;
|
|
1035
|
+
return [e, n];
|
|
1036
|
+
});
|
|
1037
|
+
}
|
|
1038
|
+
setQueryData(t, e, r) {
|
|
1039
|
+
const n = this.defaultQueryOptions({ queryKey: t }), s = p(this, O).get(
|
|
1040
|
+
n.queryHash
|
|
1041
|
+
), i = s == null ? void 0 : s.state.data, o = Gr(e, i);
|
|
1042
|
+
if (o !== void 0)
|
|
1043
|
+
return p(this, O).build(this, n).setData(o, { ...r, manual: !0 });
|
|
1044
|
+
}
|
|
1045
|
+
setQueriesData(t, e, r) {
|
|
1046
|
+
return N.batch(
|
|
1047
|
+
() => p(this, O).findAll(t).map(({ queryKey: n }) => [
|
|
1048
|
+
n,
|
|
1049
|
+
this.setQueryData(n, e, r)
|
|
1050
|
+
])
|
|
1051
|
+
);
|
|
1052
|
+
}
|
|
1053
|
+
getQueryState(t) {
|
|
1054
|
+
var r;
|
|
1055
|
+
const e = this.defaultQueryOptions({ queryKey: t });
|
|
1056
|
+
return (r = p(this, O).get(
|
|
1057
|
+
e.queryHash
|
|
1058
|
+
)) == null ? void 0 : r.state;
|
|
1059
|
+
}
|
|
1060
|
+
removeQueries(t) {
|
|
1061
|
+
const e = p(this, O);
|
|
1062
|
+
N.batch(() => {
|
|
1063
|
+
e.findAll(t).forEach((r) => {
|
|
1064
|
+
e.remove(r);
|
|
1065
|
+
});
|
|
1066
|
+
});
|
|
1067
|
+
}
|
|
1068
|
+
resetQueries(t, e) {
|
|
1069
|
+
const r = p(this, O), n = {
|
|
1070
|
+
type: "active",
|
|
1071
|
+
...t
|
|
1072
|
+
};
|
|
1073
|
+
return N.batch(() => (r.findAll(t).forEach((s) => {
|
|
1074
|
+
s.reset();
|
|
1075
|
+
}), this.refetchQueries(n, e)));
|
|
1076
|
+
}
|
|
1077
|
+
cancelQueries(t, e = {}) {
|
|
1078
|
+
const r = { revert: !0, ...e }, n = N.batch(
|
|
1079
|
+
() => p(this, O).findAll(t).map((s) => s.cancel(r))
|
|
1080
|
+
);
|
|
1081
|
+
return Promise.all(n).then(K).catch(K);
|
|
1082
|
+
}
|
|
1083
|
+
invalidateQueries(t, e = {}) {
|
|
1084
|
+
return N.batch(() => {
|
|
1085
|
+
if (p(this, O).findAll(t).forEach((n) => {
|
|
1086
|
+
n.invalidate();
|
|
1087
|
+
}), (t == null ? void 0 : t.refetchType) === "none")
|
|
1088
|
+
return Promise.resolve();
|
|
1089
|
+
const r = {
|
|
1090
|
+
...t,
|
|
1091
|
+
type: (t == null ? void 0 : t.refetchType) ?? (t == null ? void 0 : t.type) ?? "active"
|
|
1092
|
+
};
|
|
1093
|
+
return this.refetchQueries(r, e);
|
|
1094
|
+
});
|
|
1095
|
+
}
|
|
1096
|
+
refetchQueries(t, e = {}) {
|
|
1097
|
+
const r = {
|
|
1098
|
+
...e,
|
|
1099
|
+
cancelRefetch: e.cancelRefetch ?? !0
|
|
1100
|
+
}, n = N.batch(
|
|
1101
|
+
() => p(this, O).findAll(t).filter((s) => !s.isDisabled()).map((s) => {
|
|
1102
|
+
let i = s.fetch(void 0, r);
|
|
1103
|
+
return r.throwOnError || (i = i.catch(K)), s.state.fetchStatus === "paused" ? Promise.resolve() : i;
|
|
1104
|
+
})
|
|
1105
|
+
);
|
|
1106
|
+
return Promise.all(n).then(K);
|
|
1107
|
+
}
|
|
1108
|
+
fetchQuery(t) {
|
|
1109
|
+
const e = this.defaultQueryOptions(t);
|
|
1110
|
+
e.retry === void 0 && (e.retry = !1);
|
|
1111
|
+
const r = p(this, O).build(this, e);
|
|
1112
|
+
return r.isStaleByTime(
|
|
1113
|
+
ft(e.staleTime, r)
|
|
1114
|
+
) ? r.fetch(e) : Promise.resolve(r.state.data);
|
|
1115
|
+
}
|
|
1116
|
+
prefetchQuery(t) {
|
|
1117
|
+
return this.fetchQuery(t).then(K).catch(K);
|
|
1118
|
+
}
|
|
1119
|
+
fetchInfiniteQuery(t) {
|
|
1120
|
+
return t.behavior = jt(t.pages), this.fetchQuery(t);
|
|
1121
|
+
}
|
|
1122
|
+
prefetchInfiniteQuery(t) {
|
|
1123
|
+
return this.fetchInfiniteQuery(t).then(K).catch(K);
|
|
1124
|
+
}
|
|
1125
|
+
ensureInfiniteQueryData(t) {
|
|
1126
|
+
return t.behavior = jt(t.pages), this.ensureQueryData(t);
|
|
1127
|
+
}
|
|
1128
|
+
resumePausedMutations() {
|
|
1129
|
+
return dt.isOnline() ? p(this, G).resumePausedMutations() : Promise.resolve();
|
|
1130
|
+
}
|
|
1131
|
+
getQueryCache() {
|
|
1132
|
+
return p(this, O);
|
|
1133
|
+
}
|
|
1134
|
+
getMutationCache() {
|
|
1135
|
+
return p(this, G);
|
|
1136
|
+
}
|
|
1137
|
+
getDefaultOptions() {
|
|
1138
|
+
return p(this, W);
|
|
1139
|
+
}
|
|
1140
|
+
setDefaultOptions(t) {
|
|
1141
|
+
M(this, W, t);
|
|
1142
|
+
}
|
|
1143
|
+
setQueryDefaults(t, e) {
|
|
1144
|
+
p(this, ce).set(ht(t), {
|
|
1145
|
+
queryKey: t,
|
|
1146
|
+
defaultOptions: e
|
|
1147
|
+
});
|
|
1148
|
+
}
|
|
1149
|
+
getQueryDefaults(t) {
|
|
1150
|
+
const e = [...p(this, ce).values()], r = {};
|
|
1151
|
+
return e.forEach((n) => {
|
|
1152
|
+
mt(t, n.queryKey) && Object.assign(r, n.defaultOptions);
|
|
1153
|
+
}), r;
|
|
1154
|
+
}
|
|
1155
|
+
setMutationDefaults(t, e) {
|
|
1156
|
+
p(this, le).set(ht(t), {
|
|
1157
|
+
mutationKey: t,
|
|
1158
|
+
defaultOptions: e
|
|
1159
|
+
});
|
|
1160
|
+
}
|
|
1161
|
+
getMutationDefaults(t) {
|
|
1162
|
+
const e = [...p(this, le).values()];
|
|
1163
|
+
let r = {};
|
|
1164
|
+
return e.forEach((n) => {
|
|
1165
|
+
mt(t, n.mutationKey) && (r = { ...r, ...n.defaultOptions });
|
|
1166
|
+
}), r;
|
|
1167
|
+
}
|
|
1168
|
+
defaultQueryOptions(t) {
|
|
1169
|
+
if (t._defaulted)
|
|
1170
|
+
return t;
|
|
1171
|
+
const e = {
|
|
1172
|
+
...p(this, W).queries,
|
|
1173
|
+
...this.getQueryDefaults(t.queryKey),
|
|
1174
|
+
...t,
|
|
1175
|
+
_defaulted: !0
|
|
1176
|
+
};
|
|
1177
|
+
return e.queryHash || (e.queryHash = zt(
|
|
1178
|
+
e.queryKey,
|
|
1179
|
+
e
|
|
1180
|
+
)), e.refetchOnReconnect === void 0 && (e.refetchOnReconnect = e.networkMode !== "always"), e.throwOnError === void 0 && (e.throwOnError = !!e.suspense), !e.networkMode && e.persister && (e.networkMode = "offlineFirst"), e.queryFn === Wr && (e.enabled = !1), e;
|
|
1181
|
+
}
|
|
1182
|
+
defaultMutationOptions(t) {
|
|
1183
|
+
return t != null && t._defaulted ? t : {
|
|
1184
|
+
...p(this, W).mutations,
|
|
1185
|
+
...(t == null ? void 0 : t.mutationKey) && this.getMutationDefaults(t.mutationKey),
|
|
1186
|
+
...t,
|
|
1187
|
+
_defaulted: !0
|
|
1188
|
+
};
|
|
1189
|
+
}
|
|
1190
|
+
clear() {
|
|
1191
|
+
p(this, O).clear(), p(this, G).clear();
|
|
1192
|
+
}
|
|
1193
|
+
}, O = new WeakMap(), G = new WeakMap(), W = new WeakMap(), ce = new WeakMap(), le = new WeakMap(), X = new WeakMap(), ue = new WeakMap(), de = new WeakMap(), qt);
|
|
1194
|
+
function Ns(t) {
|
|
1195
|
+
return t;
|
|
1196
|
+
}
|
|
1197
|
+
function St(t, e, r) {
|
|
1198
|
+
var u, c;
|
|
1199
|
+
if (typeof e != "object" || e === null)
|
|
1200
|
+
return;
|
|
1201
|
+
const n = t.getMutationCache(), s = t.getQueryCache(), i = ((u = r == null ? void 0 : r.defaultOptions) == null ? void 0 : u.deserializeData) ?? ((c = t.getDefaultOptions().hydrate) == null ? void 0 : c.deserializeData) ?? Ns, o = e.mutations || [], l = e.queries || [];
|
|
1202
|
+
o.forEach(({ state: f, ...h }) => {
|
|
1203
|
+
var g, v;
|
|
1204
|
+
n.build(
|
|
1205
|
+
t,
|
|
1206
|
+
{
|
|
1207
|
+
...(g = t.getDefaultOptions().hydrate) == null ? void 0 : g.mutations,
|
|
1208
|
+
...(v = r == null ? void 0 : r.defaultOptions) == null ? void 0 : v.mutations,
|
|
1209
|
+
...h
|
|
1210
|
+
},
|
|
1211
|
+
f
|
|
1212
|
+
);
|
|
1213
|
+
}), l.forEach(({ queryKey: f, state: h, queryHash: g, meta: v, promise: y }) => {
|
|
1214
|
+
var S, P;
|
|
1215
|
+
let x = s.get(g);
|
|
1216
|
+
const T = h.data === void 0 ? h.data : i(h.data);
|
|
1217
|
+
if (x) {
|
|
1218
|
+
if (x.state.dataUpdatedAt < h.dataUpdatedAt) {
|
|
1219
|
+
const { fetchStatus: b, ...w } = h;
|
|
1220
|
+
x.setState({
|
|
1221
|
+
...w,
|
|
1222
|
+
data: T
|
|
1223
|
+
});
|
|
1224
|
+
}
|
|
1225
|
+
} else
|
|
1226
|
+
x = s.build(
|
|
1227
|
+
t,
|
|
1228
|
+
{
|
|
1229
|
+
...(S = t.getDefaultOptions().hydrate) == null ? void 0 : S.queries,
|
|
1230
|
+
...(P = r == null ? void 0 : r.defaultOptions) == null ? void 0 : P.queries,
|
|
1231
|
+
queryKey: f,
|
|
1232
|
+
queryHash: g,
|
|
1233
|
+
meta: v
|
|
1234
|
+
},
|
|
1235
|
+
// Reset fetch status to idle to avoid
|
|
1236
|
+
// query being stuck in fetching state upon hydration
|
|
1237
|
+
{
|
|
1238
|
+
...h,
|
|
1239
|
+
data: T,
|
|
1240
|
+
fetchStatus: "idle"
|
|
1241
|
+
}
|
|
1242
|
+
);
|
|
1243
|
+
if (y) {
|
|
1244
|
+
const b = Promise.resolve(y).then(i);
|
|
1245
|
+
x.fetch(void 0, { initialPromise: b });
|
|
1246
|
+
}
|
|
1247
|
+
});
|
|
1248
|
+
}
|
|
1249
|
+
var Pt = (t, e) => typeof t == "object" && t !== null && e in t, Rs = ({
|
|
1250
|
+
children: t,
|
|
1251
|
+
options: e = {},
|
|
1252
|
+
state: r,
|
|
1253
|
+
queryClient: n
|
|
1254
|
+
}) => {
|
|
1255
|
+
const s = Ut(n), [i, o] = V.useState(), l = V.useRef(e);
|
|
1256
|
+
return l.current = e, V.useMemo(() => {
|
|
1257
|
+
if (r) {
|
|
1258
|
+
if (typeof r != "object")
|
|
1259
|
+
return;
|
|
1260
|
+
const u = s.getQueryCache(), c = r.queries || [], f = [], h = [];
|
|
1261
|
+
for (const g of c) {
|
|
1262
|
+
const v = u.get(g.queryHash);
|
|
1263
|
+
if (!v)
|
|
1264
|
+
f.push(g);
|
|
1265
|
+
else {
|
|
1266
|
+
const y = g.state.dataUpdatedAt > v.state.dataUpdatedAt || // RSC special serialized then-able chunks
|
|
1267
|
+
Pt(g.promise, "status") && Pt(v.promise, "status") && g.promise.status !== v.promise.status, x = i == null ? void 0 : i.find(
|
|
1268
|
+
(T) => T.queryHash === g.queryHash
|
|
1269
|
+
);
|
|
1270
|
+
y && (!x || g.state.dataUpdatedAt > x.state.dataUpdatedAt) && h.push(g);
|
|
1271
|
+
}
|
|
1272
|
+
}
|
|
1273
|
+
f.length > 0 && St(s, { queries: f }, l.current), h.length > 0 && o(
|
|
1274
|
+
(g) => g ? [...g, ...h] : h
|
|
1275
|
+
);
|
|
1276
|
+
}
|
|
1277
|
+
}, [s, i, r]), V.useEffect(() => {
|
|
1278
|
+
i && (St(s, { queries: i }, l.current), o(void 0));
|
|
1279
|
+
}, [s, i]), t;
|
|
1280
|
+
};
|
|
1281
|
+
const ks = () => {
|
|
1282
|
+
const t = fe(), e = z(), r = Hr(), n = ge(), s = hn(n.pathname), { protectedRoutes: i = [] } = e.options, o = i.some(
|
|
1283
|
+
(l) => Lr({ path: l, end: !0 }, n.pathname)
|
|
1284
|
+
);
|
|
1285
|
+
if (Xr({
|
|
1286
|
+
queryKey: ["login-redirect"],
|
|
1287
|
+
queryFn: async () => {
|
|
1288
|
+
var l;
|
|
1289
|
+
return await new Promise((u) => setTimeout(u, 1200)), await ((l = e.authentication) == null ? void 0 : l.signIn({
|
|
1290
|
+
redirectTo: s.current
|
|
1291
|
+
})), !0;
|
|
1292
|
+
},
|
|
1293
|
+
enabled: typeof window < "u" && o && !t.isPending && !t.isAuthenticated
|
|
1294
|
+
}), o && !t.isAuthenticated)
|
|
1295
|
+
return /* @__PURE__ */ a.jsx(
|
|
1296
|
+
on,
|
|
1297
|
+
{
|
|
1298
|
+
open: !0,
|
|
1299
|
+
onOpenChange: (l) => {
|
|
1300
|
+
l || r(-1);
|
|
1301
|
+
},
|
|
1302
|
+
children: /* @__PURE__ */ a.jsxs(cn, { children: [
|
|
1303
|
+
/* @__PURE__ */ a.jsx(ln, { children: /* @__PURE__ */ a.jsx(un, { children: "Logging you in..." }) }),
|
|
1304
|
+
/* @__PURE__ */ a.jsx(dn, { children: "Please wait while we log you in." })
|
|
1305
|
+
] })
|
|
1306
|
+
}
|
|
1307
|
+
);
|
|
1308
|
+
if (o && !t.isAuthEnabled)
|
|
1309
|
+
throw new fn("Authentication is not enabled", {
|
|
1310
|
+
title: "Authentication is not enabled",
|
|
1311
|
+
developerHint: "To use protectedRoutes you need authentication to be enabled"
|
|
1312
|
+
});
|
|
1313
|
+
return /* @__PURE__ */ a.jsx(We, {});
|
|
1314
|
+
};
|
|
1315
|
+
function _s({ error: t }) {
|
|
1316
|
+
return /* @__PURE__ */ a.jsx(Yt, { error: t });
|
|
1317
|
+
}
|
|
1318
|
+
/**
|
|
1319
|
+
* react-router v7.2.0
|
|
1320
|
+
*
|
|
1321
|
+
* Copyright (c) Remix Software Inc.
|
|
1322
|
+
*
|
|
1323
|
+
* This source code is licensed under the MIT license found in the
|
|
1324
|
+
* LICENSE.md file in the root directory of this source tree.
|
|
1325
|
+
*
|
|
1326
|
+
* @license MIT
|
|
1327
|
+
*/
|
|
1328
|
+
function $s(t) {
|
|
1329
|
+
return /* @__PURE__ */ V.createElement(Qr, { flushSync: bn.flushSync, ...t });
|
|
1330
|
+
}
|
|
1331
|
+
const Ye = Ve({ stagger: !1 }), Is = new Ds({
|
|
1332
|
+
defaultOptions: {
|
|
1333
|
+
queries: {
|
|
1334
|
+
staleTime: 1e3 * 60 * 5
|
|
1335
|
+
}
|
|
1336
|
+
}
|
|
1337
|
+
}), qs = ({
|
|
1338
|
+
router: t,
|
|
1339
|
+
hydrate: e = !1
|
|
1340
|
+
}) => /* @__PURE__ */ a.jsx(Ft, { children: /* @__PURE__ */ a.jsx(Bt, { client: Is, children: /* @__PURE__ */ a.jsx(Rs, { state: e ? window.DATA : void 0, children: /* @__PURE__ */ a.jsx(tt, { children: /* @__PURE__ */ a.jsx(Ye.Provider, { value: { stagger: !e }, children: /* @__PURE__ */ a.jsx($s, { router: t }) }) }) }) }) }), Fs = ({
|
|
1341
|
+
router: t,
|
|
1342
|
+
context: e,
|
|
1343
|
+
queryClient: r,
|
|
1344
|
+
helmetContext: n
|
|
1345
|
+
}) => /* @__PURE__ */ a.jsx(Ft, { children: /* @__PURE__ */ a.jsx(Bt, { client: r, children: /* @__PURE__ */ a.jsx(tt, { context: n, children: /* @__PURE__ */ a.jsx(zr, { router: t, context: e }) }) }) }), Hs = () => {
|
|
1346
|
+
const t = ge(), e = ee(t.pathname);
|
|
1347
|
+
Q(() => {
|
|
1348
|
+
const r = e.current !== t.pathname, n = t.hash !== "";
|
|
1349
|
+
r && !n && window.scrollTo(0, 0), e.current = t.pathname;
|
|
1350
|
+
}, [t.pathname, t.hash]);
|
|
1351
|
+
};
|
|
1352
|
+
function Ls({
|
|
1353
|
+
className: t,
|
|
1354
|
+
...e
|
|
1355
|
+
}) {
|
|
1356
|
+
return /* @__PURE__ */ a.jsx(
|
|
1357
|
+
"div",
|
|
1358
|
+
{
|
|
1359
|
+
className: L("animate-pulse rounded-md bg-muted", t),
|
|
1360
|
+
...e
|
|
1361
|
+
}
|
|
1362
|
+
);
|
|
1363
|
+
}
|
|
1364
|
+
const At = {
|
|
1365
|
+
info: "bg-blue-500",
|
|
1366
|
+
note: "bg-gray-500",
|
|
1367
|
+
tip: "bg-green-600",
|
|
1368
|
+
caution: "bg-orange-500",
|
|
1369
|
+
danger: "bg-rose-500"
|
|
1370
|
+
}, Qs = () => {
|
|
1371
|
+
const { page: t } = z(), [e, r] = te(!0);
|
|
1372
|
+
if (!(t != null && t.banner) || !e)
|
|
1373
|
+
return /* @__PURE__ */ a.jsx("style", { children: ":root { --banner-height: 0px; }" });
|
|
1374
|
+
const n = t.banner.color && t.banner.color in At ? At[t.banner.color] : t.banner.color ? void 0 : "bg-primary", s = n ? {} : { backgroundColor: t.banner.color };
|
|
1375
|
+
return /* @__PURE__ */ a.jsxs(
|
|
1376
|
+
"div",
|
|
1377
|
+
{
|
|
1378
|
+
className: L(
|
|
1379
|
+
"relative text-primary-foreground text-sm font-medium px-4 py-2 flex gap-2 items-center",
|
|
1380
|
+
n
|
|
1381
|
+
),
|
|
1382
|
+
"data-pagefind-ignore": "all",
|
|
1383
|
+
style: s,
|
|
1384
|
+
children: [
|
|
1385
|
+
/* @__PURE__ */ a.jsx("div", { className: "w-full", children: t.banner.message }),
|
|
1386
|
+
t.banner.dismissible && /* @__PURE__ */ a.jsx(
|
|
1387
|
+
"button",
|
|
1388
|
+
{
|
|
1389
|
+
type: "button",
|
|
1390
|
+
className: "md:absolute md:right-4 -m-1.5 p-1.5 hover:bg-accent-foreground/10 rounded-md",
|
|
1391
|
+
onClick: () => r(!1),
|
|
1392
|
+
children: /* @__PURE__ */ a.jsx(Bn, { size: 16 })
|
|
1393
|
+
}
|
|
1394
|
+
)
|
|
1395
|
+
]
|
|
1396
|
+
}
|
|
1397
|
+
);
|
|
1398
|
+
}, ir = ({ className: t }) => {
|
|
1399
|
+
const e = z(), [r, n] = te(!1), s = J(() => n(!1), []);
|
|
1400
|
+
Q(() => {
|
|
1401
|
+
if (r)
|
|
1402
|
+
return;
|
|
1403
|
+
function o(l) {
|
|
1404
|
+
l.key === "k" && (l.metaKey || l.ctrlKey) && (l.preventDefault(), n(!0));
|
|
1405
|
+
}
|
|
1406
|
+
return window.addEventListener("keydown", o), () => {
|
|
1407
|
+
window.removeEventListener("keydown", o);
|
|
1408
|
+
};
|
|
1409
|
+
}, [r, n]);
|
|
1410
|
+
const i = e.plugins.find(An);
|
|
1411
|
+
return i ? /* @__PURE__ */ a.jsxs("div", { className: t, children: [
|
|
1412
|
+
/* @__PURE__ */ a.jsxs(
|
|
1413
|
+
"button",
|
|
1414
|
+
{
|
|
1415
|
+
type: "button",
|
|
1416
|
+
onClick: () => n(!0),
|
|
1417
|
+
className: "flex items-center border border-input hover:bg-accent hover:text-accent-foreground p-4 relative h-8 justify-start rounded-lg bg-background text-sm text-muted-foreground shadow-none w-full sm:w-72",
|
|
1418
|
+
children: [
|
|
1419
|
+
/* @__PURE__ */ a.jsxs("div", { className: "flex items-center gap-2 flex-grow", children: [
|
|
1420
|
+
/* @__PURE__ */ a.jsx(Kn, { size: 14 }),
|
|
1421
|
+
"Search"
|
|
1422
|
+
] }),
|
|
1423
|
+
/* @__PURE__ */ a.jsx("kbd", { className: "absolute right-[0.3rem] top-[0.3rem] hidden h-5 select-none items-center gap-1 rounded border bg-muted px-1.5 font-mono text-[11px] font-medium opacity-100 sm:flex", children: "⌘K" })
|
|
1424
|
+
]
|
|
1425
|
+
}
|
|
1426
|
+
),
|
|
1427
|
+
/* @__PURE__ */ a.jsx(Ze, { fallback: null, children: i.renderSearch({
|
|
1428
|
+
isOpen: r,
|
|
1429
|
+
onClose: s
|
|
1430
|
+
}) })
|
|
1431
|
+
] }) : null;
|
|
1432
|
+
}, or = () => {
|
|
1433
|
+
const { resolvedTheme: t, setTheme: e } = Lt();
|
|
1434
|
+
return /* @__PURE__ */ a.jsx(Je, { fallback: /* @__PURE__ */ a.jsx(Le, { variant: "ghost", size: "icon" }), children: /* @__PURE__ */ a.jsxs(
|
|
1435
|
+
"button",
|
|
1436
|
+
{
|
|
1437
|
+
type: "button",
|
|
1438
|
+
className: "flex rounded-full border p-0.5 gap-0.5 group",
|
|
1439
|
+
onClick: () => e(t === "dark" ? "light" : "dark"),
|
|
1440
|
+
"aria-label": t === "dark" ? "Switch to light mode" : "Switch to dark mode",
|
|
1441
|
+
children: [
|
|
1442
|
+
/* @__PURE__ */ a.jsx(
|
|
1443
|
+
"div",
|
|
1444
|
+
{
|
|
1445
|
+
className: L(
|
|
1446
|
+
"border border-transparent rounded-full p-0.5 [&>svg>circle]:transition-colors [&>svg>path]:transition-transform transition-all [&>svg>path]:duration-200 [&>svg>circle]:duration-500 [&>svg>circle]:fill-transparent",
|
|
1447
|
+
t === "light" && "border-border bg-muted",
|
|
1448
|
+
t === "dark" && "group-hover:[&>svg>path]:scale-110 group-hover:[&>svg>path]:-translate-x-[1px] group-hover:[&>svg>path]:-translate-y-[1px] group-hover:rotate-[15deg] "
|
|
1449
|
+
),
|
|
1450
|
+
children: /* @__PURE__ */ a.jsx(Yn, { size: 16 })
|
|
1451
|
+
}
|
|
1452
|
+
),
|
|
1453
|
+
/* @__PURE__ */ a.jsx(
|
|
1454
|
+
"div",
|
|
1455
|
+
{
|
|
1456
|
+
className: L(
|
|
1457
|
+
"border border-transparent rounded-full p-0.5 transition-transform transform-gpu duration-500",
|
|
1458
|
+
t === "dark" && "border-border bg-muted [&>svg>path]:fill-white [&>svg>path]:stroke-transparent",
|
|
1459
|
+
t === "light" && "group-hover:rotate-[-10deg] [&>svg>path]:stroke-currentColor"
|
|
1460
|
+
),
|
|
1461
|
+
children: /* @__PURE__ */ a.jsx(Vn, { size: 16 })
|
|
1462
|
+
}
|
|
1463
|
+
)
|
|
1464
|
+
]
|
|
1465
|
+
}
|
|
1466
|
+
) });
|
|
1467
|
+
};
|
|
1468
|
+
function Ce() {
|
|
1469
|
+
return Ce = Object.assign ? Object.assign.bind() : function(t) {
|
|
1470
|
+
for (var e = 1; e < arguments.length; e++) {
|
|
1471
|
+
var r = arguments[e];
|
|
1472
|
+
for (var n in r) ({}).hasOwnProperty.call(r, n) && (t[n] = r[n]);
|
|
1473
|
+
}
|
|
1474
|
+
return t;
|
|
1475
|
+
}, Ce.apply(null, arguments);
|
|
1476
|
+
}
|
|
1477
|
+
var Te = { exports: {} }, E = {};
|
|
1478
|
+
/** @license React v16.13.1
|
|
1479
|
+
* react-is.production.min.js
|
|
1480
|
+
*
|
|
1481
|
+
* Copyright (c) Facebook, Inc. and its affiliates.
|
|
1482
|
+
*
|
|
1483
|
+
* This source code is licensed under the MIT license found in the
|
|
1484
|
+
* LICENSE file in the root directory of this source tree.
|
|
1485
|
+
*/
|
|
1486
|
+
var Ot;
|
|
1487
|
+
function zs() {
|
|
1488
|
+
if (Ot) return E;
|
|
1489
|
+
Ot = 1;
|
|
1490
|
+
var t = typeof Symbol == "function" && Symbol.for, e = t ? Symbol.for("react.element") : 60103, r = t ? Symbol.for("react.portal") : 60106, n = t ? Symbol.for("react.fragment") : 60107, s = t ? Symbol.for("react.strict_mode") : 60108, i = t ? Symbol.for("react.profiler") : 60114, o = t ? Symbol.for("react.provider") : 60109, l = t ? Symbol.for("react.context") : 60110, u = t ? Symbol.for("react.async_mode") : 60111, c = t ? Symbol.for("react.concurrent_mode") : 60111, f = t ? Symbol.for("react.forward_ref") : 60112, h = t ? Symbol.for("react.suspense") : 60113, g = t ? Symbol.for("react.suspense_list") : 60120, v = t ? Symbol.for("react.memo") : 60115, y = t ? Symbol.for("react.lazy") : 60116, x = t ? Symbol.for("react.block") : 60121, T = t ? Symbol.for("react.fundamental") : 60117, S = t ? Symbol.for("react.responder") : 60118, P = t ? Symbol.for("react.scope") : 60119;
|
|
1491
|
+
function b(d) {
|
|
1492
|
+
if (typeof d == "object" && d !== null) {
|
|
1493
|
+
var C = d.$$typeof;
|
|
1494
|
+
switch (C) {
|
|
1495
|
+
case e:
|
|
1496
|
+
switch (d = d.type, d) {
|
|
1497
|
+
case u:
|
|
1498
|
+
case c:
|
|
1499
|
+
case n:
|
|
1500
|
+
case i:
|
|
1501
|
+
case s:
|
|
1502
|
+
case h:
|
|
1503
|
+
return d;
|
|
1504
|
+
default:
|
|
1505
|
+
switch (d = d && d.$$typeof, d) {
|
|
1506
|
+
case l:
|
|
1507
|
+
case f:
|
|
1508
|
+
case y:
|
|
1509
|
+
case v:
|
|
1510
|
+
case o:
|
|
1511
|
+
return d;
|
|
1512
|
+
default:
|
|
1513
|
+
return C;
|
|
1514
|
+
}
|
|
1515
|
+
}
|
|
1516
|
+
case r:
|
|
1517
|
+
return C;
|
|
1518
|
+
}
|
|
1519
|
+
}
|
|
1520
|
+
}
|
|
1521
|
+
function w(d) {
|
|
1522
|
+
return b(d) === c;
|
|
1523
|
+
}
|
|
1524
|
+
return E.AsyncMode = u, E.ConcurrentMode = c, E.ContextConsumer = l, E.ContextProvider = o, E.Element = e, E.ForwardRef = f, E.Fragment = n, E.Lazy = y, E.Memo = v, E.Portal = r, E.Profiler = i, E.StrictMode = s, E.Suspense = h, E.isAsyncMode = function(d) {
|
|
1525
|
+
return w(d) || b(d) === u;
|
|
1526
|
+
}, E.isConcurrentMode = w, E.isContextConsumer = function(d) {
|
|
1527
|
+
return b(d) === l;
|
|
1528
|
+
}, E.isContextProvider = function(d) {
|
|
1529
|
+
return b(d) === o;
|
|
1530
|
+
}, E.isElement = function(d) {
|
|
1531
|
+
return typeof d == "object" && d !== null && d.$$typeof === e;
|
|
1532
|
+
}, E.isForwardRef = function(d) {
|
|
1533
|
+
return b(d) === f;
|
|
1534
|
+
}, E.isFragment = function(d) {
|
|
1535
|
+
return b(d) === n;
|
|
1536
|
+
}, E.isLazy = function(d) {
|
|
1537
|
+
return b(d) === y;
|
|
1538
|
+
}, E.isMemo = function(d) {
|
|
1539
|
+
return b(d) === v;
|
|
1540
|
+
}, E.isPortal = function(d) {
|
|
1541
|
+
return b(d) === r;
|
|
1542
|
+
}, E.isProfiler = function(d) {
|
|
1543
|
+
return b(d) === i;
|
|
1544
|
+
}, E.isStrictMode = function(d) {
|
|
1545
|
+
return b(d) === s;
|
|
1546
|
+
}, E.isSuspense = function(d) {
|
|
1547
|
+
return b(d) === h;
|
|
1548
|
+
}, E.isValidElementType = function(d) {
|
|
1549
|
+
return typeof d == "string" || typeof d == "function" || d === n || d === c || d === i || d === s || d === h || d === g || typeof d == "object" && d !== null && (d.$$typeof === y || d.$$typeof === v || d.$$typeof === o || d.$$typeof === l || d.$$typeof === f || d.$$typeof === T || d.$$typeof === S || d.$$typeof === P || d.$$typeof === x);
|
|
1550
|
+
}, E.typeOf = b, E;
|
|
1551
|
+
}
|
|
1552
|
+
var j = {};
|
|
1553
|
+
/** @license React v16.13.1
|
|
1554
|
+
* react-is.development.js
|
|
1555
|
+
*
|
|
1556
|
+
* Copyright (c) Facebook, Inc. and its affiliates.
|
|
1557
|
+
*
|
|
1558
|
+
* This source code is licensed under the MIT license found in the
|
|
1559
|
+
* LICENSE file in the root directory of this source tree.
|
|
1560
|
+
*/
|
|
1561
|
+
var Mt;
|
|
1562
|
+
function Us() {
|
|
1563
|
+
return Mt || (Mt = 1, process.env.NODE_ENV !== "production" && function() {
|
|
1564
|
+
var t = typeof Symbol == "function" && Symbol.for, e = t ? Symbol.for("react.element") : 60103, r = t ? Symbol.for("react.portal") : 60106, n = t ? Symbol.for("react.fragment") : 60107, s = t ? Symbol.for("react.strict_mode") : 60108, i = t ? Symbol.for("react.profiler") : 60114, o = t ? Symbol.for("react.provider") : 60109, l = t ? Symbol.for("react.context") : 60110, u = t ? Symbol.for("react.async_mode") : 60111, c = t ? Symbol.for("react.concurrent_mode") : 60111, f = t ? Symbol.for("react.forward_ref") : 60112, h = t ? Symbol.for("react.suspense") : 60113, g = t ? Symbol.for("react.suspense_list") : 60120, v = t ? Symbol.for("react.memo") : 60115, y = t ? Symbol.for("react.lazy") : 60116, x = t ? Symbol.for("react.block") : 60121, T = t ? Symbol.for("react.fundamental") : 60117, S = t ? Symbol.for("react.responder") : 60118, P = t ? Symbol.for("react.scope") : 60119;
|
|
1565
|
+
function b(m) {
|
|
1566
|
+
return typeof m == "string" || typeof m == "function" || // Note: its typeof might be other than 'symbol' or 'number' if it's a polyfill.
|
|
1567
|
+
m === n || m === c || m === i || m === s || m === h || m === g || typeof m == "object" && m !== null && (m.$$typeof === y || m.$$typeof === v || m.$$typeof === o || m.$$typeof === l || m.$$typeof === f || m.$$typeof === T || m.$$typeof === S || m.$$typeof === P || m.$$typeof === x);
|
|
1568
|
+
}
|
|
1569
|
+
function w(m) {
|
|
1570
|
+
if (typeof m == "object" && m !== null) {
|
|
1571
|
+
var Oe = m.$$typeof;
|
|
1572
|
+
switch (Oe) {
|
|
1573
|
+
case e:
|
|
1574
|
+
var ve = m.type;
|
|
1575
|
+
switch (ve) {
|
|
1576
|
+
case u:
|
|
1577
|
+
case c:
|
|
1578
|
+
case n:
|
|
1579
|
+
case i:
|
|
1580
|
+
case s:
|
|
1581
|
+
case h:
|
|
1582
|
+
return ve;
|
|
1583
|
+
default:
|
|
1584
|
+
var at = ve && ve.$$typeof;
|
|
1585
|
+
switch (at) {
|
|
1586
|
+
case l:
|
|
1587
|
+
case f:
|
|
1588
|
+
case y:
|
|
1589
|
+
case v:
|
|
1590
|
+
case o:
|
|
1591
|
+
return at;
|
|
1592
|
+
default:
|
|
1593
|
+
return Oe;
|
|
1594
|
+
}
|
|
1595
|
+
}
|
|
1596
|
+
case r:
|
|
1597
|
+
return Oe;
|
|
1598
|
+
}
|
|
1599
|
+
}
|
|
1600
|
+
}
|
|
1601
|
+
var d = u, C = c, R = l, $ = o, B = e, Z = f, Ae = n, re = y, xr = v, br = r, Tr = i, wr = s, Er = h, nt = !1;
|
|
1602
|
+
function jr(m) {
|
|
1603
|
+
return nt || (nt = !0, console.warn("The ReactIs.isAsyncMode() alias has been deprecated, and will be removed in React 17+. Update your code to use ReactIs.isConcurrentMode() instead. It has the exact same API.")), st(m) || w(m) === u;
|
|
1604
|
+
}
|
|
1605
|
+
function st(m) {
|
|
1606
|
+
return w(m) === c;
|
|
1607
|
+
}
|
|
1608
|
+
function Cr(m) {
|
|
1609
|
+
return w(m) === l;
|
|
1610
|
+
}
|
|
1611
|
+
function Sr(m) {
|
|
1612
|
+
return w(m) === o;
|
|
1613
|
+
}
|
|
1614
|
+
function Pr(m) {
|
|
1615
|
+
return typeof m == "object" && m !== null && m.$$typeof === e;
|
|
1616
|
+
}
|
|
1617
|
+
function Ar(m) {
|
|
1618
|
+
return w(m) === f;
|
|
1619
|
+
}
|
|
1620
|
+
function Or(m) {
|
|
1621
|
+
return w(m) === n;
|
|
1622
|
+
}
|
|
1623
|
+
function Mr(m) {
|
|
1624
|
+
return w(m) === y;
|
|
1625
|
+
}
|
|
1626
|
+
function Dr(m) {
|
|
1627
|
+
return w(m) === v;
|
|
1628
|
+
}
|
|
1629
|
+
function Nr(m) {
|
|
1630
|
+
return w(m) === r;
|
|
1631
|
+
}
|
|
1632
|
+
function Rr(m) {
|
|
1633
|
+
return w(m) === i;
|
|
1634
|
+
}
|
|
1635
|
+
function kr(m) {
|
|
1636
|
+
return w(m) === s;
|
|
1637
|
+
}
|
|
1638
|
+
function _r(m) {
|
|
1639
|
+
return w(m) === h;
|
|
1640
|
+
}
|
|
1641
|
+
j.AsyncMode = d, j.ConcurrentMode = C, j.ContextConsumer = R, j.ContextProvider = $, j.Element = B, j.ForwardRef = Z, j.Fragment = Ae, j.Lazy = re, j.Memo = xr, j.Portal = br, j.Profiler = Tr, j.StrictMode = wr, j.Suspense = Er, j.isAsyncMode = jr, j.isConcurrentMode = st, j.isContextConsumer = Cr, j.isContextProvider = Sr, j.isElement = Pr, j.isForwardRef = Ar, j.isFragment = Or, j.isLazy = Mr, j.isMemo = Dr, j.isPortal = Nr, j.isProfiler = Rr, j.isStrictMode = kr, j.isSuspense = _r, j.isValidElementType = b, j.typeOf = w;
|
|
1642
|
+
}()), j;
|
|
1643
|
+
}
|
|
1644
|
+
var Dt;
|
|
1645
|
+
function Bs() {
|
|
1646
|
+
return Dt || (Dt = 1, process.env.NODE_ENV === "production" ? Te.exports = zs() : Te.exports = Us()), Te.exports;
|
|
1647
|
+
}
|
|
1648
|
+
var qe, Nt;
|
|
1649
|
+
function Ks() {
|
|
1650
|
+
if (Nt) return qe;
|
|
1651
|
+
Nt = 1;
|
|
1652
|
+
var t = Bs(), e = {
|
|
1653
|
+
childContextTypes: !0,
|
|
1654
|
+
contextType: !0,
|
|
1655
|
+
contextTypes: !0,
|
|
1656
|
+
defaultProps: !0,
|
|
1657
|
+
displayName: !0,
|
|
1658
|
+
getDefaultProps: !0,
|
|
1659
|
+
getDerivedStateFromError: !0,
|
|
1660
|
+
getDerivedStateFromProps: !0,
|
|
1661
|
+
mixins: !0,
|
|
1662
|
+
propTypes: !0,
|
|
1663
|
+
type: !0
|
|
1664
|
+
}, r = {
|
|
1665
|
+
name: !0,
|
|
1666
|
+
length: !0,
|
|
1667
|
+
prototype: !0,
|
|
1668
|
+
caller: !0,
|
|
1669
|
+
callee: !0,
|
|
1670
|
+
arguments: !0,
|
|
1671
|
+
arity: !0
|
|
1672
|
+
}, n = {
|
|
1673
|
+
$$typeof: !0,
|
|
1674
|
+
render: !0,
|
|
1675
|
+
defaultProps: !0,
|
|
1676
|
+
displayName: !0,
|
|
1677
|
+
propTypes: !0
|
|
1678
|
+
}, s = {
|
|
1679
|
+
$$typeof: !0,
|
|
1680
|
+
compare: !0,
|
|
1681
|
+
defaultProps: !0,
|
|
1682
|
+
displayName: !0,
|
|
1683
|
+
propTypes: !0,
|
|
1684
|
+
type: !0
|
|
1685
|
+
}, i = {};
|
|
1686
|
+
i[t.ForwardRef] = n, i[t.Memo] = s;
|
|
1687
|
+
function o(y) {
|
|
1688
|
+
return t.isMemo(y) ? s : i[y.$$typeof] || e;
|
|
1689
|
+
}
|
|
1690
|
+
var l = Object.defineProperty, u = Object.getOwnPropertyNames, c = Object.getOwnPropertySymbols, f = Object.getOwnPropertyDescriptor, h = Object.getPrototypeOf, g = Object.prototype;
|
|
1691
|
+
function v(y, x, T) {
|
|
1692
|
+
if (typeof x != "string") {
|
|
1693
|
+
if (g) {
|
|
1694
|
+
var S = h(x);
|
|
1695
|
+
S && S !== g && v(y, S, T);
|
|
1696
|
+
}
|
|
1697
|
+
var P = u(x);
|
|
1698
|
+
c && (P = P.concat(c(x)));
|
|
1699
|
+
for (var b = o(y), w = o(x), d = 0; d < P.length; ++d) {
|
|
1700
|
+
var C = P[d];
|
|
1701
|
+
if (!r[C] && !(T && T[C]) && !(w && w[C]) && !(b && b[C])) {
|
|
1702
|
+
var R = f(x, C);
|
|
1703
|
+
try {
|
|
1704
|
+
l(y, C, R);
|
|
1705
|
+
} catch {
|
|
1706
|
+
}
|
|
1707
|
+
}
|
|
1708
|
+
}
|
|
1709
|
+
}
|
|
1710
|
+
return y;
|
|
1711
|
+
}
|
|
1712
|
+
return qe = v, qe;
|
|
1713
|
+
}
|
|
1714
|
+
Ks();
|
|
1715
|
+
var cr = function(e, r, n) {
|
|
1716
|
+
return e = e <= n ? e : n, e = e >= r ? e : r, e;
|
|
1717
|
+
}, Ys = function() {
|
|
1718
|
+
var e = !1, r = [], n = function() {
|
|
1719
|
+
e = !0;
|
|
1720
|
+
var l = r.shift();
|
|
1721
|
+
if (l)
|
|
1722
|
+
return l(n);
|
|
1723
|
+
e = !1;
|
|
1724
|
+
}, s = function() {
|
|
1725
|
+
e = !1, r = [];
|
|
1726
|
+
}, i = function(l) {
|
|
1727
|
+
r.push(l), !e && r.length === 1 && n();
|
|
1728
|
+
};
|
|
1729
|
+
return {
|
|
1730
|
+
clear: s,
|
|
1731
|
+
enqueue: i
|
|
1732
|
+
};
|
|
1733
|
+
}, Vs = function() {
|
|
1734
|
+
var e, r = function() {
|
|
1735
|
+
e && window.cancelAnimationFrame(e);
|
|
1736
|
+
}, n = function(i, o) {
|
|
1737
|
+
var l, u, c = function(h) {
|
|
1738
|
+
if (u = u || h, l = h - u, l > o) {
|
|
1739
|
+
i();
|
|
1740
|
+
return;
|
|
1741
|
+
}
|
|
1742
|
+
e = window.requestAnimationFrame(c);
|
|
1743
|
+
};
|
|
1744
|
+
e = window.requestAnimationFrame(c);
|
|
1745
|
+
};
|
|
1746
|
+
return {
|
|
1747
|
+
cancel: r,
|
|
1748
|
+
schedule: n
|
|
1749
|
+
};
|
|
1750
|
+
}, Zs = function(e) {
|
|
1751
|
+
var r = 0;
|
|
1752
|
+
return e >= 0 && e < 0.2 ? r = 0.1 : e >= 0.2 && e < 0.5 ? r = 0.04 : e >= 0.5 && e < 0.8 ? r = 0.02 : e >= 0.8 && e < 0.99 && (r = 5e-3), cr(e + r, 0, 0.994);
|
|
1753
|
+
}, Rt = function(e) {
|
|
1754
|
+
Q(e, []);
|
|
1755
|
+
}, Gs = function(e) {
|
|
1756
|
+
return ++e % 1e6;
|
|
1757
|
+
}, Ws = function() {
|
|
1758
|
+
var e = te(0), r = e[1];
|
|
1759
|
+
return J(function() {
|
|
1760
|
+
return r(Gs);
|
|
1761
|
+
}, []);
|
|
1762
|
+
}, Xs = function(e) {
|
|
1763
|
+
e === void 0 && (e = {});
|
|
1764
|
+
var r = Ws(), n = ee(Ce({}, e)), s = J(function() {
|
|
1765
|
+
return n.current;
|
|
1766
|
+
}, []), i = J(function(o) {
|
|
1767
|
+
o && (Object.assign(n.current, o), r());
|
|
1768
|
+
}, []);
|
|
1769
|
+
return [s, i];
|
|
1770
|
+
}, Js = function() {
|
|
1771
|
+
var e = ee(!0);
|
|
1772
|
+
return e.current ? (e.current = !1, !0) : e.current;
|
|
1773
|
+
}, kt = function(e, r) {
|
|
1774
|
+
var n = Js();
|
|
1775
|
+
Q(function() {
|
|
1776
|
+
if (!n)
|
|
1777
|
+
return e();
|
|
1778
|
+
}, r);
|
|
1779
|
+
}, lr = function() {
|
|
1780
|
+
}, _t = {
|
|
1781
|
+
isFinished: !0,
|
|
1782
|
+
progress: 0,
|
|
1783
|
+
sideEffect: lr
|
|
1784
|
+
}, ea = function(e) {
|
|
1785
|
+
var r = e === void 0 ? {} : e, n = r.animationDuration, s = n === void 0 ? 200 : n, i = r.incrementDuration, o = i === void 0 ? 800 : i, l = r.isAnimating, u = l === void 0 ? !1 : l, c = r.minimum, f = c === void 0 ? 0.08 : c, h = Xs(_t), g = h[0], v = h[1], y = ee(null), x = ee(null);
|
|
1786
|
+
Rt(function() {
|
|
1787
|
+
y.current = Ys(), x.current = Vs();
|
|
1788
|
+
});
|
|
1789
|
+
var T = J(function() {
|
|
1790
|
+
var C, R;
|
|
1791
|
+
(C = x.current) == null || C.cancel(), (R = y.current) == null || R.clear();
|
|
1792
|
+
}, []), S = J(function(C) {
|
|
1793
|
+
var R;
|
|
1794
|
+
if (C = cr(C, f, 1), C === 1) {
|
|
1795
|
+
var $, B;
|
|
1796
|
+
T(), ($ = y.current) == null || $.enqueue(function(Z) {
|
|
1797
|
+
v({
|
|
1798
|
+
progress: C,
|
|
1799
|
+
sideEffect: function() {
|
|
1800
|
+
var re;
|
|
1801
|
+
return (re = x.current) == null ? void 0 : re.schedule(Z, s);
|
|
1802
|
+
}
|
|
1803
|
+
});
|
|
1804
|
+
}), (B = y.current) == null || B.enqueue(function() {
|
|
1805
|
+
v({
|
|
1806
|
+
isFinished: !0,
|
|
1807
|
+
sideEffect: T
|
|
1808
|
+
});
|
|
1809
|
+
});
|
|
1810
|
+
return;
|
|
1811
|
+
}
|
|
1812
|
+
(R = y.current) == null || R.enqueue(function(Z) {
|
|
1813
|
+
v({
|
|
1814
|
+
isFinished: !1,
|
|
1815
|
+
progress: C,
|
|
1816
|
+
sideEffect: function() {
|
|
1817
|
+
var re;
|
|
1818
|
+
return (re = x.current) == null ? void 0 : re.schedule(Z, s);
|
|
1819
|
+
}
|
|
1820
|
+
});
|
|
1821
|
+
});
|
|
1822
|
+
}, [s, T, f, y, v, x]), P = J(function() {
|
|
1823
|
+
S(Zs(g().progress));
|
|
1824
|
+
}, [g, S]), b = J(function() {
|
|
1825
|
+
var C = function() {
|
|
1826
|
+
var $;
|
|
1827
|
+
P(), ($ = y.current) == null || $.enqueue(function(B) {
|
|
1828
|
+
var Z;
|
|
1829
|
+
(Z = x.current) == null || Z.schedule(function() {
|
|
1830
|
+
C(), B();
|
|
1831
|
+
}, o);
|
|
1832
|
+
});
|
|
1833
|
+
};
|
|
1834
|
+
C();
|
|
1835
|
+
}, [o, y, x, P]), w = ee(lr), d = g().sideEffect;
|
|
1836
|
+
return Q(function() {
|
|
1837
|
+
w.current = P;
|
|
1838
|
+
}), Rt(function() {
|
|
1839
|
+
return u && b(), T;
|
|
1840
|
+
}), kt(function() {
|
|
1841
|
+
g().sideEffect();
|
|
1842
|
+
}, [g, d]), kt(function() {
|
|
1843
|
+
u ? v(Ce({}, _t, {
|
|
1844
|
+
sideEffect: b
|
|
1845
|
+
})) : S(1);
|
|
1846
|
+
}, [u, S, v, b]), {
|
|
1847
|
+
animationDuration: s,
|
|
1848
|
+
isFinished: g().isFinished,
|
|
1849
|
+
progress: g().progress
|
|
1850
|
+
};
|
|
1851
|
+
};
|
|
1852
|
+
const ur = (t) => (e) => e.display === "hide" ? !1 : e.display === "auth" && t || e.display === "anon" && !t || !e.display || e.display === "always", ta = () => {
|
|
1853
|
+
const e = Pe().state === "loading", [r, n] = te(!1);
|
|
1854
|
+
Q(() => {
|
|
1855
|
+
const o = setTimeout(() => n(e), 100);
|
|
1856
|
+
return () => clearTimeout(o);
|
|
1857
|
+
}, [e]);
|
|
1858
|
+
const { isFinished: s, progress: i } = ea({ isAnimating: r });
|
|
1859
|
+
return /* @__PURE__ */ a.jsx(
|
|
1860
|
+
"div",
|
|
1861
|
+
{
|
|
1862
|
+
className: "absolute w-0 left-0 right-0 bottom-[-1px] h-[2px] bg-primary transition-all duration-300 ease-in-out",
|
|
1863
|
+
style: {
|
|
1864
|
+
opacity: s ? 0 : 1,
|
|
1865
|
+
width: s ? 0 : `${i * 100}%`
|
|
1866
|
+
}
|
|
1867
|
+
}
|
|
1868
|
+
);
|
|
1869
|
+
}, ra = () => {
|
|
1870
|
+
const { topNavigation: t } = z(), { isAuthenticated: e } = fe(), r = t.filter(ur(e));
|
|
1871
|
+
return r.length === 0 ? /* @__PURE__ */ a.jsx("style", { children: ":root { --top-nav-height: 0px; }" }) : /* @__PURE__ */ a.jsx(Ze, { children: /* @__PURE__ */ a.jsxs("div", { className: "items-center justify-between px-8 h-[--top-nav-height] hidden lg:flex text-sm relative", children: [
|
|
1872
|
+
/* @__PURE__ */ a.jsx("nav", { className: "text-sm", children: /* @__PURE__ */ a.jsx("ul", { className: "flex flex-row items-center gap-8", children: r.map((n) => /* @__PURE__ */ a.jsx("li", { children: /* @__PURE__ */ a.jsx(dr, { ...n }) }, n.id)) }) }),
|
|
1873
|
+
/* @__PURE__ */ a.jsx(q, { name: "top-navigation-side" }),
|
|
1874
|
+
/* @__PURE__ */ a.jsx(ta, {})
|
|
1875
|
+
] }) });
|
|
1876
|
+
}, dr = ({
|
|
1877
|
+
id: t,
|
|
1878
|
+
label: e,
|
|
1879
|
+
default: r
|
|
1880
|
+
}) => {
|
|
1881
|
+
var c;
|
|
1882
|
+
const { sidebars: n } = z(), s = n[t], i = Kt(), o = !!Pe().location, l = ((c = i.topNavItem) == null ? void 0 : c.id) === t && !o, u = r ?? (s ? Jr(s, (f) => {
|
|
1883
|
+
if (f.type === "doc") return ae(f.id);
|
|
1884
|
+
}) : ae(t)) ?? ae(t);
|
|
1885
|
+
return (
|
|
1886
|
+
// We don't use isActive here because it has to be inside the sidebar,
|
|
1887
|
+
// the top nav id doesn't necessarily start with the sidebar id
|
|
1888
|
+
/* @__PURE__ */ a.jsx(
|
|
1889
|
+
Ur,
|
|
1890
|
+
{
|
|
1891
|
+
className: ({ isPending: f }) => Jn(
|
|
1892
|
+
"block lg:py-3.5 font-medium -mb-px",
|
|
1893
|
+
l || f ? "border-primary text-foreground" : "border-transparent text-foreground/75 hover:text-foreground hover:border-accent-foreground/25"
|
|
1894
|
+
),
|
|
1895
|
+
to: u,
|
|
1896
|
+
children: e
|
|
1897
|
+
}
|
|
1898
|
+
)
|
|
1899
|
+
);
|
|
1900
|
+
}, na = () => {
|
|
1901
|
+
const { topNavigation: t } = z(), { isAuthenticated: e } = fe(), [r, n] = te(!1);
|
|
1902
|
+
return /* @__PURE__ */ a.jsxs(
|
|
1903
|
+
Wn,
|
|
1904
|
+
{
|
|
1905
|
+
direction: "right",
|
|
1906
|
+
open: r,
|
|
1907
|
+
onOpenChange: (s) => n(s),
|
|
1908
|
+
children: [
|
|
1909
|
+
/* @__PURE__ */ a.jsx("div", { className: "flex lg:hidden justify-self-end", children: /* @__PURE__ */ a.jsx(Xn, { className: "lg:hidden", children: /* @__PURE__ */ a.jsx(Zn, { size: 22 }) }) }),
|
|
1910
|
+
/* @__PURE__ */ a.jsx(
|
|
1911
|
+
Zt,
|
|
1912
|
+
{
|
|
1913
|
+
className: "lg:hidden h-[100dvh] right-0 left-auto w-[320px] rounded-none",
|
|
1914
|
+
"aria-describedby": void 0,
|
|
1915
|
+
children: /* @__PURE__ */ a.jsxs("div", { className: "p-4 overflow-y-auto overscroll-none", children: [
|
|
1916
|
+
/* @__PURE__ */ a.jsx(Vt, { children: /* @__PURE__ */ a.jsx(Gt, { children: "Navigation" }) }),
|
|
1917
|
+
/* @__PURE__ */ a.jsx(ir, { className: "flex p-4" }),
|
|
1918
|
+
/* @__PURE__ */ a.jsxs("ul", { className: "flex flex-col items-center gap-4 p-4", children: [
|
|
1919
|
+
/* @__PURE__ */ a.jsx("li", { children: /* @__PURE__ */ a.jsx(or, {}) }),
|
|
1920
|
+
t.filter(ur(e)).map((s) => /* @__PURE__ */ a.jsx("li", { children: /* @__PURE__ */ a.jsx("button", { type: "button", onClick: () => n(!1), children: /* @__PURE__ */ a.jsx(dr, { ...s }) }) }, s.label))
|
|
1921
|
+
] })
|
|
1922
|
+
] })
|
|
1923
|
+
}
|
|
1924
|
+
)
|
|
1925
|
+
]
|
|
1926
|
+
}
|
|
1927
|
+
);
|
|
1928
|
+
}, je = ({ item: t }) => t.children ? /* @__PURE__ */ a.jsxs(Hn, { children: [
|
|
1929
|
+
/* @__PURE__ */ a.jsx(Ln, { children: t.label }),
|
|
1930
|
+
/* @__PURE__ */ a.jsx(Qn, { children: /* @__PURE__ */ a.jsx(zn, { children: t.children.map((e, r) => (
|
|
1931
|
+
// eslint-disable-next-line react/no-array-index-key
|
|
1932
|
+
/* @__PURE__ */ a.jsx(je, { item: e }, r)
|
|
1933
|
+
)) }) })
|
|
1934
|
+
] }, t.label) : /* @__PURE__ */ a.jsx(Xe, { to: t.path ?? "", children: /* @__PURE__ */ a.jsxs(Un, { className: "flex gap-2", children: [
|
|
1935
|
+
t.icon && /* @__PURE__ */ a.jsx(t.icon, { size: 16, strokeWidth: 1, absoluteStrokeWidth: !0 }),
|
|
1936
|
+
t.label
|
|
1937
|
+
] }, t.label) }), fr = Ht(function() {
|
|
1938
|
+
const e = fe(), { isAuthenticated: r, profile: n, isAuthEnabled: s } = fe(), i = z(), { page: o, plugins: l } = i, u = l.filter((c) => On(c)).flatMap((c) => c.getProfileMenuItems(i)).sort((c) => c.weight ?? 0);
|
|
1939
|
+
return /* @__PURE__ */ a.jsxs("header", { className: "sticky lg:top-0 z-10 bg-background/80 backdrop-blur w-full", children: [
|
|
1940
|
+
/* @__PURE__ */ a.jsx(Qs, {}),
|
|
1941
|
+
/* @__PURE__ */ a.jsx("div", { className: "border-b", children: /* @__PURE__ */ a.jsxs("div", { className: "max-w-screen-2xl 2xl:border-x mx-auto flex relative items-center justify-between px-4 lg:px-8 h-[--top-header-height]", children: [
|
|
1942
|
+
/* @__PURE__ */ a.jsx("div", { className: "flex", children: /* @__PURE__ */ a.jsx(Xe, { to: "/", children: /* @__PURE__ */ a.jsxs("div", { className: "flex items-center gap-3.5", children: [
|
|
1943
|
+
(o == null ? void 0 : o.logo) && /* @__PURE__ */ a.jsxs(a.Fragment, { children: [
|
|
1944
|
+
/* @__PURE__ */ a.jsx(
|
|
1945
|
+
"img",
|
|
1946
|
+
{
|
|
1947
|
+
src: /https?:\/\//.test(o.logo.src.light) ? o.logo.src.light : ae(
|
|
1948
|
+
"/",
|
|
1949
|
+
o.logo.src.light
|
|
1950
|
+
),
|
|
1951
|
+
alt: o.logo.alt ?? o.pageTitle,
|
|
1952
|
+
style: { width: o.logo.width },
|
|
1953
|
+
className: "h-10 dark:hidden",
|
|
1954
|
+
loading: "lazy"
|
|
1955
|
+
}
|
|
1956
|
+
),
|
|
1957
|
+
/* @__PURE__ */ a.jsx(
|
|
1958
|
+
"img",
|
|
1959
|
+
{
|
|
1960
|
+
src: /https?:\/\//.test(o.logo.src.dark) ? o.logo.src.dark : ae(
|
|
1961
|
+
"/",
|
|
1962
|
+
o.logo.src.dark
|
|
1963
|
+
),
|
|
1964
|
+
alt: o.logo.alt ?? o.pageTitle,
|
|
1965
|
+
style: { width: o.logo.width },
|
|
1966
|
+
className: "h-10 hidden dark:block",
|
|
1967
|
+
loading: "lazy"
|
|
1968
|
+
}
|
|
1969
|
+
)
|
|
1970
|
+
] }),
|
|
1971
|
+
/* @__PURE__ */ a.jsx("span", { className: "font-bold text-2xl text-foreground/85 tracking-wide", children: o == null ? void 0 : o.pageTitle })
|
|
1972
|
+
] }) }) }),
|
|
1973
|
+
/* @__PURE__ */ a.jsx("div", { className: "absolute inset-x-0 justify-center items-center hidden lg:flex w-full pointer-events-none", children: /* @__PURE__ */ a.jsx(ir, { className: "pointer-events-auto" }) }),
|
|
1974
|
+
/* @__PURE__ */ a.jsxs("div", { className: "flex items-center gap-8", children: [
|
|
1975
|
+
/* @__PURE__ */ a.jsx(na, {}),
|
|
1976
|
+
/* @__PURE__ */ a.jsxs("div", { className: "hidden lg:flex items-center justify-self-end text-sm gap-2", children: [
|
|
1977
|
+
/* @__PURE__ */ a.jsx(q, { name: "head-navigation-start" }),
|
|
1978
|
+
s && /* @__PURE__ */ a.jsx(
|
|
1979
|
+
Je,
|
|
1980
|
+
{
|
|
1981
|
+
fallback: /* @__PURE__ */ a.jsx(Ls, { className: "rounded h-5 w-24 mr-4" }),
|
|
1982
|
+
children: r ? Object.values(u).length > 0 && /* @__PURE__ */ a.jsxs($n, { modal: !1, children: [
|
|
1983
|
+
/* @__PURE__ */ a.jsx(In, { asChild: !0, children: /* @__PURE__ */ a.jsx(Le, { variant: "ghost", children: n != null && n.name ? `${n.name}` : "My Account" }) }),
|
|
1984
|
+
/* @__PURE__ */ a.jsxs(qn, { className: "w-56", children: [
|
|
1985
|
+
/* @__PURE__ */ a.jsxs(Fn, { children: [
|
|
1986
|
+
n != null && n.name ? `${n.name}` : "My Account",
|
|
1987
|
+
(n == null ? void 0 : n.email) && /* @__PURE__ */ a.jsx("div", { className: "font-normal text-muted-foreground", children: n.email })
|
|
1988
|
+
] }),
|
|
1989
|
+
u.filter((c) => c.category === "top").length > 0 && /* @__PURE__ */ a.jsx(De, {}),
|
|
1990
|
+
u.filter((c) => c.category === "top").map((c) => /* @__PURE__ */ a.jsx(je, { item: c }, c.label)),
|
|
1991
|
+
u.filter(
|
|
1992
|
+
(c) => !c.category || c.category === "middle"
|
|
1993
|
+
).length > 0 && /* @__PURE__ */ a.jsx(De, {}),
|
|
1994
|
+
u.filter(
|
|
1995
|
+
(c) => !c.category || c.category === "middle"
|
|
1996
|
+
).map((c) => /* @__PURE__ */ a.jsx(je, { item: c }, c.label)),
|
|
1997
|
+
u.filter((c) => c.category === "bottom").length > 0 && /* @__PURE__ */ a.jsx(De, {}),
|
|
1998
|
+
u.filter((c) => c.category === "bottom").map((c) => /* @__PURE__ */ a.jsx(je, { item: c }, c.label))
|
|
1999
|
+
] })
|
|
2000
|
+
] }) : /* @__PURE__ */ a.jsx(Le, { variant: "ghost", onClick: () => e.login(), children: "Login" })
|
|
2001
|
+
}
|
|
2002
|
+
),
|
|
2003
|
+
/* @__PURE__ */ a.jsx(q, { name: "head-navigation-end" }),
|
|
2004
|
+
/* @__PURE__ */ a.jsx(or, {})
|
|
2005
|
+
] })
|
|
2006
|
+
] })
|
|
2007
|
+
] }) }),
|
|
2008
|
+
/* @__PURE__ */ a.jsx("div", { className: "border-b hidden lg:block", children: /* @__PURE__ */ a.jsxs("div", { className: "max-w-screen-2xl mx-auto 2xl:border-x", children: [
|
|
2009
|
+
/* @__PURE__ */ a.jsx(q, { name: "top-navigation-before" }),
|
|
2010
|
+
/* @__PURE__ */ a.jsx(ra, {}),
|
|
2011
|
+
/* @__PURE__ */ a.jsx(q, { name: "top-navigation-after" })
|
|
2012
|
+
] }) })
|
|
2013
|
+
] });
|
|
2014
|
+
}), hr = ({
|
|
2015
|
+
shouldScaleBackground: t = !0,
|
|
2016
|
+
...e
|
|
2017
|
+
}) => /* @__PURE__ */ a.jsx(
|
|
2018
|
+
U.Root,
|
|
2019
|
+
{
|
|
2020
|
+
shouldScaleBackground: t,
|
|
2021
|
+
...e
|
|
2022
|
+
}
|
|
2023
|
+
);
|
|
2024
|
+
hr.displayName = "Drawer";
|
|
2025
|
+
const sa = U.Trigger, aa = U.Portal, mr = V.forwardRef(({ className: t, ...e }, r) => /* @__PURE__ */ a.jsx(
|
|
2026
|
+
U.Overlay,
|
|
2027
|
+
{
|
|
2028
|
+
ref: r,
|
|
2029
|
+
className: L("fixed inset-0 z-50 bg-black/80", t),
|
|
2030
|
+
...e
|
|
2031
|
+
}
|
|
2032
|
+
));
|
|
2033
|
+
mr.displayName = U.Overlay.displayName;
|
|
2034
|
+
const ia = V.forwardRef(
|
|
2035
|
+
({ className: t, children: e, hideBar: r = !0, ...n }, s) => /* @__PURE__ */ a.jsxs(aa, { children: [
|
|
2036
|
+
/* @__PURE__ */ a.jsx(mr, {}),
|
|
2037
|
+
/* @__PURE__ */ a.jsxs(
|
|
2038
|
+
U.Content,
|
|
2039
|
+
{
|
|
2040
|
+
ref: s,
|
|
2041
|
+
className: L(
|
|
2042
|
+
"fixed inset-x-0 bottom-0 z-50 mt-24 flex h-auto flex-col rounded-t-[10px] border bg-background",
|
|
2043
|
+
t
|
|
2044
|
+
),
|
|
2045
|
+
...n,
|
|
2046
|
+
children: [
|
|
2047
|
+
!r && /* @__PURE__ */ a.jsx("div", { className: "mx-auto mt-4 h-2 w-[100px] rounded-full bg-muted" }),
|
|
2048
|
+
e
|
|
2049
|
+
]
|
|
2050
|
+
}
|
|
2051
|
+
)
|
|
2052
|
+
] })
|
|
2053
|
+
);
|
|
2054
|
+
ia.displayName = "DrawerContent";
|
|
2055
|
+
const oa = V.forwardRef(({ className: t, ...e }, r) => /* @__PURE__ */ a.jsx(
|
|
2056
|
+
U.Title,
|
|
2057
|
+
{
|
|
2058
|
+
ref: r,
|
|
2059
|
+
className: L(
|
|
2060
|
+
"text-lg font-semibold leading-none tracking-tight",
|
|
2061
|
+
t
|
|
2062
|
+
),
|
|
2063
|
+
...e
|
|
2064
|
+
}
|
|
2065
|
+
));
|
|
2066
|
+
oa.displayName = U.Title.displayName;
|
|
2067
|
+
const ca = V.forwardRef(({ className: t, ...e }, r) => /* @__PURE__ */ a.jsx(
|
|
2068
|
+
U.Description,
|
|
2069
|
+
{
|
|
2070
|
+
ref: r,
|
|
2071
|
+
className: L("text-sm text-muted-foreground", t),
|
|
2072
|
+
...e
|
|
2073
|
+
}
|
|
2074
|
+
));
|
|
2075
|
+
ca.displayName = U.Description.displayName;
|
|
2076
|
+
const pr = ({
|
|
2077
|
+
children: t,
|
|
2078
|
+
className: e,
|
|
2079
|
+
ref: r
|
|
2080
|
+
}) => /* @__PURE__ */ a.jsx(
|
|
2081
|
+
"nav",
|
|
2082
|
+
{
|
|
2083
|
+
className: L(
|
|
2084
|
+
"hidden lg:flex h-full scrollbar flex-col overflow-y-auto shrink-0 text-sm border-r pr-6",
|
|
2085
|
+
"sticky top-[--header-height] h-[calc(100vh-var(--header-height))]",
|
|
2086
|
+
"-mx-[--padding-nav-item] max-w-[--side-nav-width] pb-6 pt-[--padding-content-top] scroll-pt-2 gap-2",
|
|
2087
|
+
e
|
|
2088
|
+
),
|
|
2089
|
+
ref: r,
|
|
2090
|
+
children: t
|
|
2091
|
+
}
|
|
2092
|
+
);
|
|
2093
|
+
pr.displayName = "SidebarWrapper";
|
|
2094
|
+
const la = ({
|
|
2095
|
+
onRequestClose: t,
|
|
2096
|
+
sidebar: e
|
|
2097
|
+
}) => {
|
|
2098
|
+
const r = ee(null);
|
|
2099
|
+
return Q(() => {
|
|
2100
|
+
var s;
|
|
2101
|
+
const n = (s = r.current) == null ? void 0 : s.querySelector('[aria-current="page"]');
|
|
2102
|
+
Tn(n ?? null);
|
|
2103
|
+
}, []), /* @__PURE__ */ a.jsxs(a.Fragment, { children: [
|
|
2104
|
+
/* @__PURE__ */ a.jsxs(pr, { ref: r, children: [
|
|
2105
|
+
/* @__PURE__ */ a.jsx(q, { name: "zudoku-before-navigation" }),
|
|
2106
|
+
e.map((n) => /* @__PURE__ */ a.jsx(pt, { item: n }, n.label)),
|
|
2107
|
+
/* @__PURE__ */ a.jsx(q, { name: "zudoku-after-navigation" })
|
|
2108
|
+
] }),
|
|
2109
|
+
/* @__PURE__ */ a.jsx(
|
|
2110
|
+
Zt,
|
|
2111
|
+
{
|
|
2112
|
+
className: "lg:hidden h-[100dvh] left-0 w-[320px] rounded-none",
|
|
2113
|
+
"aria-describedby": void 0,
|
|
2114
|
+
children: /* @__PURE__ */ a.jsxs("div", { className: "p-4 overflow-y-auto overscroll-none", children: [
|
|
2115
|
+
/* @__PURE__ */ a.jsx(Vt, { children: /* @__PURE__ */ a.jsx(Gt, { children: "Sidebar" }) }),
|
|
2116
|
+
e.map((n) => /* @__PURE__ */ a.jsx(
|
|
2117
|
+
pt,
|
|
2118
|
+
{
|
|
2119
|
+
item: n,
|
|
2120
|
+
onRequestClose: t
|
|
2121
|
+
},
|
|
2122
|
+
n.label
|
|
2123
|
+
))
|
|
2124
|
+
] })
|
|
2125
|
+
}
|
|
2126
|
+
)
|
|
2127
|
+
] });
|
|
2128
|
+
}, ua = ({ children: t }) => {
|
|
2129
|
+
const [e, r] = te(!1), { sidebar: n } = Kt(), s = n.length > 0, i = Pe().state === "loading";
|
|
2130
|
+
return /* @__PURE__ */ a.jsxs(
|
|
2131
|
+
hr,
|
|
2132
|
+
{
|
|
2133
|
+
direction: "left",
|
|
2134
|
+
open: e,
|
|
2135
|
+
onOpenChange: (o) => r(o),
|
|
2136
|
+
children: [
|
|
2137
|
+
s && /* @__PURE__ */ a.jsx(
|
|
2138
|
+
la,
|
|
2139
|
+
{
|
|
2140
|
+
onRequestClose: () => r(!1),
|
|
2141
|
+
sidebar: n
|
|
2142
|
+
}
|
|
2143
|
+
),
|
|
2144
|
+
s && /* @__PURE__ */ a.jsx("div", { className: "lg:hidden -mx-4 px-4 py-2 sticky bg-background/80 backdrop-blur z-10 top-0 left-0 right-0 border-b", children: /* @__PURE__ */ a.jsxs(sa, { className: "flex items-center gap-2", children: [
|
|
2145
|
+
/* @__PURE__ */ a.jsx(Gn, { size: 16, strokeWidth: 1.5 }),
|
|
2146
|
+
/* @__PURE__ */ a.jsx("span", { className: "text-sm", children: "Menu" })
|
|
2147
|
+
] }) }),
|
|
2148
|
+
/* @__PURE__ */ a.jsxs(
|
|
2149
|
+
"main",
|
|
2150
|
+
{
|
|
2151
|
+
"data-pagefind-body": !0,
|
|
2152
|
+
className: L(
|
|
2153
|
+
s ? "lg:pl-12" : "col-span-full",
|
|
2154
|
+
i && "animate-pulse"
|
|
2155
|
+
),
|
|
2156
|
+
children: [
|
|
2157
|
+
/* @__PURE__ */ a.jsx(q, { name: "zudoku-before-content" }),
|
|
2158
|
+
t,
|
|
2159
|
+
/* @__PURE__ */ a.jsx(q, { name: "zudoku-after-content" })
|
|
2160
|
+
]
|
|
2161
|
+
}
|
|
2162
|
+
)
|
|
2163
|
+
]
|
|
2164
|
+
}
|
|
2165
|
+
);
|
|
2166
|
+
}, da = () => /* @__PURE__ */ a.jsx("main", { className: "col-span-full row-span-full grid place-items-center", children: /* @__PURE__ */ a.jsx(Wt, {}) }), fa = ({ children: t }) => {
|
|
2167
|
+
const { meta: e, authentication: r, options: n } = z(), s = ge();
|
|
2168
|
+
return wn(), Hs(), Q(() => {
|
|
2169
|
+
var i;
|
|
2170
|
+
(i = r == null ? void 0 : r.onPageLoad) == null || i.call(r);
|
|
2171
|
+
}, [r]), /* @__PURE__ */ a.jsxs(a.Fragment, { children: [
|
|
2172
|
+
!1,
|
|
2173
|
+
/* @__PURE__ */ a.jsxs(rt, { titleTemplate: e == null ? void 0 : e.title, children: [
|
|
2174
|
+
n.canonicalUrlOrigin && /* @__PURE__ */ a.jsx(
|
|
2175
|
+
"link",
|
|
2176
|
+
{
|
|
2177
|
+
rel: "canonical",
|
|
2178
|
+
href: ae(
|
|
2179
|
+
n.canonicalUrlOrigin,
|
|
2180
|
+
n.basePath,
|
|
2181
|
+
s.pathname
|
|
2182
|
+
)
|
|
2183
|
+
}
|
|
2184
|
+
),
|
|
2185
|
+
(e == null ? void 0 : e.description) && /* @__PURE__ */ a.jsx("meta", { name: "description", content: e.description }),
|
|
2186
|
+
(e == null ? void 0 : e.favicon) && /* @__PURE__ */ a.jsx("link", { rel: "icon", href: e.favicon })
|
|
2187
|
+
] }),
|
|
2188
|
+
/* @__PURE__ */ a.jsx(q, { name: "layout-before-head" }),
|
|
2189
|
+
/* @__PURE__ */ a.jsx(fr, {}),
|
|
2190
|
+
/* @__PURE__ */ a.jsx(q, { name: "layout-after-head" }),
|
|
2191
|
+
/* @__PURE__ */ a.jsx("div", { className: "grid grid-cols-1 grid-rows-[min-content_1fr] lg:grid-cols-[var(--side-nav-width)_1fr] max-w-screen-2xl w-full lg:mx-auto px-4 lg:px-8 2xl:border-x", children: /* @__PURE__ */ a.jsx(Ze, { fallback: /* @__PURE__ */ a.jsx(da, {}), children: /* @__PURE__ */ a.jsx(ua, { children: t ?? /* @__PURE__ */ a.jsx(We, {}) }) }) })
|
|
2192
|
+
] });
|
|
2193
|
+
}, ha = ({
|
|
2194
|
+
title: t = "An error occurred",
|
|
2195
|
+
message: e,
|
|
2196
|
+
category: r
|
|
2197
|
+
}) => /* @__PURE__ */ a.jsxs("div", { className: jn + " h-full pt-[--padding-content-top]", children: [
|
|
2198
|
+
r && /* @__PURE__ */ a.jsx(es, { children: r }),
|
|
2199
|
+
t && /* @__PURE__ */ a.jsx(En, { level: 1, className: "flex gap-3.5 items-center", children: t }),
|
|
2200
|
+
/* @__PURE__ */ a.jsx("p", { children: e })
|
|
2201
|
+
] }), ma = (t) => {
|
|
2202
|
+
switch (t) {
|
|
2203
|
+
case 400:
|
|
2204
|
+
return {
|
|
2205
|
+
title: "Bad Request",
|
|
2206
|
+
message: "The request could not be understood by the server due to malformed syntax."
|
|
2207
|
+
};
|
|
2208
|
+
case 403:
|
|
2209
|
+
return {
|
|
2210
|
+
title: "Forbidden",
|
|
2211
|
+
message: "You don't have permission to access this resource."
|
|
2212
|
+
};
|
|
2213
|
+
case 404:
|
|
2214
|
+
return {
|
|
2215
|
+
title: "Not Found",
|
|
2216
|
+
message: "The requested resource could not be found."
|
|
2217
|
+
};
|
|
2218
|
+
case 405:
|
|
2219
|
+
return {
|
|
2220
|
+
title: "Method Not Allowed",
|
|
2221
|
+
message: "The request method is not supported for the requested resource."
|
|
2222
|
+
};
|
|
2223
|
+
case 414:
|
|
2224
|
+
return {
|
|
2225
|
+
title: "Request URI Too Large",
|
|
2226
|
+
message: "The request URI is too large."
|
|
2227
|
+
};
|
|
2228
|
+
case 416:
|
|
2229
|
+
return {
|
|
2230
|
+
title: "Range Not Satisfiable",
|
|
2231
|
+
message: "The server cannot satisfy the request range."
|
|
2232
|
+
};
|
|
2233
|
+
case 500:
|
|
2234
|
+
return {
|
|
2235
|
+
title: "Internal Server Error",
|
|
2236
|
+
message: "An unexpected error occurred while processing your request."
|
|
2237
|
+
};
|
|
2238
|
+
case 501:
|
|
2239
|
+
return {
|
|
2240
|
+
title: "Not Implemented",
|
|
2241
|
+
message: "The server does not support the functionality required to fulfill the request."
|
|
2242
|
+
};
|
|
2243
|
+
case 502:
|
|
2244
|
+
return {
|
|
2245
|
+
title: "Bad Gateway",
|
|
2246
|
+
message: "The server received an invalid response from the upstream server."
|
|
2247
|
+
};
|
|
2248
|
+
case 503:
|
|
2249
|
+
return {
|
|
2250
|
+
title: "Service Unavailable",
|
|
2251
|
+
message: "The server is temporarily unable to handle the request."
|
|
2252
|
+
};
|
|
2253
|
+
case 504:
|
|
2254
|
+
return {
|
|
2255
|
+
title: "Gateway Timeout",
|
|
2256
|
+
message: "The server did not receive a timely response from the upstream server."
|
|
2257
|
+
};
|
|
2258
|
+
default:
|
|
2259
|
+
return {
|
|
2260
|
+
title: "An error occurred",
|
|
2261
|
+
message: "Something went wrong while processing your request."
|
|
2262
|
+
};
|
|
2263
|
+
}
|
|
2264
|
+
}, pa = ({ statusCode: t, message: e }) => {
|
|
2265
|
+
const r = ma(t);
|
|
2266
|
+
return /* @__PURE__ */ a.jsx(
|
|
2267
|
+
ha,
|
|
2268
|
+
{
|
|
2269
|
+
title: r.title,
|
|
2270
|
+
message: e ?? r.message,
|
|
2271
|
+
category: t
|
|
2272
|
+
}
|
|
2273
|
+
);
|
|
2274
|
+
}, ga = Ve(null), Fe = {
|
|
2275
|
+
didCatch: !1,
|
|
2276
|
+
error: null
|
|
2277
|
+
};
|
|
2278
|
+
class va extends Se {
|
|
2279
|
+
constructor(e) {
|
|
2280
|
+
super(e), this.resetErrorBoundary = this.resetErrorBoundary.bind(this), this.state = Fe;
|
|
2281
|
+
}
|
|
2282
|
+
static getDerivedStateFromError(e) {
|
|
2283
|
+
return {
|
|
2284
|
+
didCatch: !0,
|
|
2285
|
+
error: e
|
|
2286
|
+
};
|
|
2287
|
+
}
|
|
2288
|
+
resetErrorBoundary() {
|
|
2289
|
+
const {
|
|
2290
|
+
error: e
|
|
2291
|
+
} = this.state;
|
|
2292
|
+
if (e !== null) {
|
|
2293
|
+
for (var r, n, s = arguments.length, i = new Array(s), o = 0; o < s; o++)
|
|
2294
|
+
i[o] = arguments[o];
|
|
2295
|
+
(r = (n = this.props).onReset) === null || r === void 0 || r.call(n, {
|
|
2296
|
+
args: i,
|
|
2297
|
+
reason: "imperative-api"
|
|
2298
|
+
}), this.setState(Fe);
|
|
2299
|
+
}
|
|
2300
|
+
}
|
|
2301
|
+
componentDidCatch(e, r) {
|
|
2302
|
+
var n, s;
|
|
2303
|
+
(n = (s = this.props).onError) === null || n === void 0 || n.call(s, e, r);
|
|
2304
|
+
}
|
|
2305
|
+
componentDidUpdate(e, r) {
|
|
2306
|
+
const {
|
|
2307
|
+
didCatch: n
|
|
2308
|
+
} = this.state, {
|
|
2309
|
+
resetKeys: s
|
|
2310
|
+
} = this.props;
|
|
2311
|
+
if (n && r.error !== null && ya(e.resetKeys, s)) {
|
|
2312
|
+
var i, o;
|
|
2313
|
+
(i = (o = this.props).onReset) === null || i === void 0 || i.call(o, {
|
|
2314
|
+
next: s,
|
|
2315
|
+
prev: e.resetKeys,
|
|
2316
|
+
reason: "keys"
|
|
2317
|
+
}), this.setState(Fe);
|
|
2318
|
+
}
|
|
2319
|
+
}
|
|
2320
|
+
render() {
|
|
2321
|
+
const {
|
|
2322
|
+
children: e,
|
|
2323
|
+
fallbackRender: r,
|
|
2324
|
+
FallbackComponent: n,
|
|
2325
|
+
fallback: s
|
|
2326
|
+
} = this.props, {
|
|
2327
|
+
didCatch: i,
|
|
2328
|
+
error: o
|
|
2329
|
+
} = this.state;
|
|
2330
|
+
let l = e;
|
|
2331
|
+
if (i) {
|
|
2332
|
+
const u = {
|
|
2333
|
+
error: o,
|
|
2334
|
+
resetErrorBoundary: this.resetErrorBoundary
|
|
2335
|
+
};
|
|
2336
|
+
if (typeof r == "function")
|
|
2337
|
+
l = r(u);
|
|
2338
|
+
else if (n)
|
|
2339
|
+
l = ct(n, u);
|
|
2340
|
+
else if (s !== void 0)
|
|
2341
|
+
l = s;
|
|
2342
|
+
else
|
|
2343
|
+
throw o;
|
|
2344
|
+
}
|
|
2345
|
+
return ct(ga.Provider, {
|
|
2346
|
+
value: {
|
|
2347
|
+
didCatch: i,
|
|
2348
|
+
error: o,
|
|
2349
|
+
resetErrorBoundary: this.resetErrorBoundary
|
|
2350
|
+
}
|
|
2351
|
+
}, l);
|
|
2352
|
+
}
|
|
2353
|
+
}
|
|
2354
|
+
function ya() {
|
|
2355
|
+
let t = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : [], e = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : [];
|
|
2356
|
+
return t.length !== e.length || t.some((r, n) => !Object.is(r, e[n]));
|
|
2357
|
+
}
|
|
2358
|
+
let xa = () => ({
|
|
2359
|
+
emit(t, ...e) {
|
|
2360
|
+
for (let r = this.events[t] || [], n = 0, s = r.length; n < s; n++)
|
|
2361
|
+
r[n](...e);
|
|
2362
|
+
},
|
|
2363
|
+
events: {},
|
|
2364
|
+
on(t, e) {
|
|
2365
|
+
var r;
|
|
2366
|
+
return ((r = this.events)[t] || (r[t] = [])).push(e), () => {
|
|
2367
|
+
var n;
|
|
2368
|
+
this.events[t] = (n = this.events[t]) == null ? void 0 : n.filter((s) => e !== s);
|
|
2369
|
+
};
|
|
2370
|
+
}
|
|
2371
|
+
});
|
|
2372
|
+
class ba {
|
|
2373
|
+
constructor(e, r) {
|
|
2374
|
+
A(this, "plugins");
|
|
2375
|
+
A(this, "sidebars");
|
|
2376
|
+
A(this, "topNavigation");
|
|
2377
|
+
A(this, "meta");
|
|
2378
|
+
A(this, "page");
|
|
2379
|
+
A(this, "authentication");
|
|
2380
|
+
A(this, "navigationPlugins");
|
|
2381
|
+
A(this, "emitter", xa());
|
|
2382
|
+
A(this, "initialize", async () => {
|
|
2383
|
+
await Promise.all(
|
|
2384
|
+
this.plugins.filter(Nn).map((e) => {
|
|
2385
|
+
var r;
|
|
2386
|
+
return (r = e.initialize) == null ? void 0 : r.call(e, this);
|
|
2387
|
+
})
|
|
2388
|
+
);
|
|
2389
|
+
});
|
|
2390
|
+
A(this, "getApiIdentities", async () => (await Promise.all(
|
|
2391
|
+
this.plugins.filter(Rn).map((r) => r.getIdentities(this))
|
|
2392
|
+
)).flat());
|
|
2393
|
+
A(this, "emitEvent", (e, ...r) => this.emitter.emit(e, ...r));
|
|
2394
|
+
A(this, "getPluginSidebar", async (e) => (await Promise.all(
|
|
2395
|
+
this.navigationPlugins.map(
|
|
2396
|
+
(n) => {
|
|
2397
|
+
var s;
|
|
2398
|
+
return (s = n.getSidebar) == null ? void 0 : s.call(n, tn(e), this);
|
|
2399
|
+
}
|
|
2400
|
+
)
|
|
2401
|
+
)).flatMap((n) => n ?? []));
|
|
2402
|
+
A(this, "signRequest", async (e) => {
|
|
2403
|
+
if (!this.authentication)
|
|
2404
|
+
throw new Error("No authentication provider configured");
|
|
2405
|
+
return await this.authentication.signRequest(e);
|
|
2406
|
+
});
|
|
2407
|
+
this.options = e, this.queryClient = r, this.plugins = e.plugins ?? [], this.topNavigation = e.topNavigation ?? [], this.sidebars = e.sidebars ?? {}, this.navigationPlugins = this.plugins.filter(Mn), this.authentication = e.authentication, this.meta = e.metadata, this.page = e.page, this.plugins.forEach((n) => {
|
|
2408
|
+
Dn(n) && mn(n.events).forEach(([s, i]) => {
|
|
2409
|
+
this.emitter.on(s, i);
|
|
2410
|
+
});
|
|
2411
|
+
}), en.subscribe((n, s) => {
|
|
2412
|
+
this.emitEvent("auth", {
|
|
2413
|
+
prev: s,
|
|
2414
|
+
next: n
|
|
2415
|
+
});
|
|
2416
|
+
});
|
|
2417
|
+
}
|
|
2418
|
+
addEventListener(e, r) {
|
|
2419
|
+
return this.emitter.on(e, r);
|
|
2420
|
+
}
|
|
2421
|
+
}
|
|
2422
|
+
function Ta({ error: t, resetErrorBoundary: e }) {
|
|
2423
|
+
return /* @__PURE__ */ a.jsx(Yt, { error: t });
|
|
2424
|
+
}
|
|
2425
|
+
const we = globalThis;
|
|
2426
|
+
(!we.requestIdleCallback || !we.cancelIdleCallback) && (we.requestIdleCallback = (t) => setTimeout(t, 1), we.cancelIdleCallback = clearTimeout);
|
|
2427
|
+
const gr = {
|
|
2428
|
+
Header: fr
|
|
2429
|
+
}, wa = Ve(gr), Ea = wa.Provider, ja = () => {
|
|
2430
|
+
const t = ge(), e = z(), r = ee(void 0);
|
|
2431
|
+
return Q(() => {
|
|
2432
|
+
e.emitEvent("location", {
|
|
2433
|
+
from: r.current,
|
|
2434
|
+
to: t
|
|
2435
|
+
}), r.current = t;
|
|
2436
|
+
}, [e, t]), null;
|
|
2437
|
+
}, Ca = ({
|
|
2438
|
+
children: t,
|
|
2439
|
+
context: e
|
|
2440
|
+
}) => (rn({
|
|
2441
|
+
queryFn: async () => (await e.initialize(), !0),
|
|
2442
|
+
queryKey: ["zudoku-initialize"]
|
|
2443
|
+
}), /* @__PURE__ */ a.jsx(nn.Provider, { value: e, children: t })), vr = Ht(
|
|
2444
|
+
({ children: t, ...e }) => {
|
|
2445
|
+
var v, y;
|
|
2446
|
+
const r = Me(
|
|
2447
|
+
() => ({ ...gr, ...e.overrides }),
|
|
2448
|
+
[e.overrides]
|
|
2449
|
+
), n = ge(), s = Me(() => {
|
|
2450
|
+
var T;
|
|
2451
|
+
return {
|
|
2452
|
+
...(e.plugins ?? []).filter(kn).flatMap(
|
|
2453
|
+
(S) => S.getMdxComponents ? [S.getMdxComponents()] : []
|
|
2454
|
+
).reduce(
|
|
2455
|
+
(S, P) => ({ ...S, ...P }),
|
|
2456
|
+
{}
|
|
2457
|
+
),
|
|
2458
|
+
...Cn,
|
|
2459
|
+
...(T = e.mdx) == null ? void 0 : T.components
|
|
2460
|
+
};
|
|
2461
|
+
}, [(v = e.mdx) == null ? void 0 : v.components, e.plugins]), { stagger: i } = qr(Ye), [o, l] = te(!1), u = Me(
|
|
2462
|
+
() => o ? { stagger: !0 } : { stagger: i },
|
|
2463
|
+
[i, o]
|
|
2464
|
+
), c = Pe(), f = Ut();
|
|
2465
|
+
Q(() => {
|
|
2466
|
+
o || l(!0);
|
|
2467
|
+
}, [o, c.location]);
|
|
2468
|
+
const [h] = te(
|
|
2469
|
+
() => new ba(e, f)
|
|
2470
|
+
), g = (y = e.plugins) == null ? void 0 : y.flatMap(
|
|
2471
|
+
(x) => {
|
|
2472
|
+
var T;
|
|
2473
|
+
return _n(x) ? ((T = x.getHead) == null ? void 0 : T.call(x, { location: n })) ?? [] : [];
|
|
2474
|
+
}
|
|
2475
|
+
).map((x, T) => /* @__PURE__ */ a.jsx(rt, { children: x }, T));
|
|
2476
|
+
return /* @__PURE__ */ a.jsxs(a.Fragment, { children: [
|
|
2477
|
+
g,
|
|
2478
|
+
/* @__PURE__ */ a.jsx(Ye.Provider, { value: u, children: /* @__PURE__ */ a.jsxs(Ca, { context: h, children: [
|
|
2479
|
+
/* @__PURE__ */ a.jsx(ja, {}),
|
|
2480
|
+
/* @__PURE__ */ a.jsx(ts, { components: s, children: /* @__PURE__ */ a.jsx(Fr, { attribute: "class", disableTransitionOnChange: !0, children: /* @__PURE__ */ a.jsx(Ea, { value: r, children: /* @__PURE__ */ a.jsx(pn, { slotlets: e.slotlets, children: /* @__PURE__ */ a.jsx(Sn, { children: t ?? /* @__PURE__ */ a.jsx(We, {}) }) }) }) }) })
|
|
2481
|
+
] }) })
|
|
2482
|
+
] });
|
|
2483
|
+
}
|
|
2484
|
+
);
|
|
2485
|
+
vr.displayName = "ZudokoInner";
|
|
2486
|
+
const yr = (t) => /* @__PURE__ */ a.jsx(va, { FallbackComponent: Ta, children: /* @__PURE__ */ a.jsx(vr, { ...t }) });
|
|
2487
|
+
yr.displayName = "Zudoku";
|
|
2488
|
+
const Xa = Jt, Ja = fa, ei = gn, ti = _s, ri = qs, ni = Fs, si = ks, ai = rt, ii = z, oi = fe, ci = sn, li = an, ui = yr, di = pa, fi = yn, hi = Pn, mi = Wt, pi = Je, gi = vn, vi = Xe, yi = Lt;
|
|
2489
|
+
export {
|
|
2490
|
+
gi as B,
|
|
2491
|
+
li as C,
|
|
2492
|
+
rt as H,
|
|
2493
|
+
vi as L,
|
|
2494
|
+
hi as M,
|
|
2495
|
+
ei as R,
|
|
2496
|
+
ti as S,
|
|
2497
|
+
ui as Z,
|
|
2498
|
+
oi as a,
|
|
2499
|
+
ii as b,
|
|
2500
|
+
Xa as c,
|
|
2501
|
+
Ja as d,
|
|
2502
|
+
ri as e,
|
|
2503
|
+
ni as f,
|
|
2504
|
+
si as g,
|
|
2505
|
+
ai as h,
|
|
2506
|
+
ci as i,
|
|
2507
|
+
di as j,
|
|
2508
|
+
fi as k,
|
|
2509
|
+
mi as l,
|
|
2510
|
+
pi as m,
|
|
2511
|
+
yi as n,
|
|
2512
|
+
Jt as u
|
|
2513
|
+
};
|
|
2514
|
+
//# sourceMappingURL=index-Bt7MKhZq.js.map
|