@blockscout/ui-toolkit 0.0.1-alpha.0 → 0.0.1-alpha.2
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/README.md +8 -0
- package/dist/chakra/accordion.d.ts +1 -1
- package/dist/chakra/drawer.d.ts +1 -1
- package/dist/chakra/popover.d.ts +1 -2
- package/dist/index.d.ts +2 -0
- package/dist/index.js +9284 -0
- package/dist/package/src/index.d.ts +7 -11
- package/dist/theme/foundations/semanticTokens.ts +1 -5
- package/dist/theme/recipes/alert.recipe.d.ts +6 -46
- package/dist/theme/recipes/alert.recipe.ts +45 -48
- package/dist/theme/recipes/badge.recipe.d.ts +11 -44
- package/dist/theme/recipes/badge.recipe.ts +11 -45
- package/dist/theme/recipes/button.recipe.d.ts +17 -20
- package/dist/theme/recipes/button.recipe.ts +42 -27
- package/dist/theme/recipes/close-button.recipe.d.ts +0 -3
- package/dist/theme/recipes/close-button.recipe.ts +0 -3
- package/dist/theme/recipes/dialog.recipe.d.ts +1 -1
- package/dist/theme/recipes/drawer.recipe.d.ts +1 -1
- package/dist/theme/recipes/index.d.ts +47 -147
- package/dist/theme/recipes/link.recipe.d.ts +1 -9
- package/dist/theme/recipes/link.recipe.ts +1 -9
- package/dist/theme/recipes/list.recipe.d.ts +1 -1
- package/dist/theme/recipes/menu.recipe.d.ts +1 -1
- package/dist/theme/recipes/popover.recipe.ts +4 -3
- package/dist/theme/recipes/select.recipe.d.ts +1 -1
- package/dist/theme/recipes/skeleton.recipe.d.ts +5 -6
- package/dist/theme/recipes/skeleton.recipe.ts +10 -9
- package/dist/theme/recipes/table.recipe.d.ts +1 -1
- package/dist/theme/recipes/tag.recipe.d.ts +0 -12
- package/dist/theme/recipes/tag.recipe.ts +0 -13
- package/dist/theme/recipes/toast.recipe.d.ts +1 -1
- package/package.json +14 -26
- package/dist/_virtual/Button.js +0 -4
- package/dist/_virtual/Element.js +0 -4
- package/dist/_virtual/Link2.js +0 -4
- package/dist/_virtual/_commonjsHelpers.js +0 -8
- package/dist/_virtual/_interop_require_default.js +0 -4
- package/dist/_virtual/_interop_require_wildcard.js +0 -4
- package/dist/_virtual/add-base-path.js +0 -4
- package/dist/_virtual/add-locale.js +0 -4
- package/dist/_virtual/add-locale2.js +0 -4
- package/dist/_virtual/add-path-prefix.js +0 -4
- package/dist/_virtual/animate-scroll.js +0 -4
- package/dist/_virtual/app-paths.js +0 -4
- package/dist/_virtual/cancel-events.js +0 -4
- package/dist/_virtual/constants.js +0 -4
- package/dist/_virtual/detect-domain-locale.js +0 -4
- package/dist/_virtual/detect-domain-locale2.js +0 -4
- package/dist/_virtual/ensure-leading-slash.js +0 -4
- package/dist/_virtual/escape-regexp.js +0 -4
- package/dist/_virtual/format-url.js +0 -4
- package/dist/_virtual/get-domain-locale.js +0 -4
- package/dist/_virtual/has-base-path.js +0 -4
- package/dist/_virtual/index.js +0 -5
- package/dist/_virtual/index2.js +0 -4
- package/dist/_virtual/index3.js +0 -4
- package/dist/_virtual/index4.js +0 -4
- package/dist/_virtual/index5.js +0 -4
- package/dist/_virtual/interception-routes.js +0 -4
- package/dist/_virtual/interpolate-as.js +0 -4
- package/dist/_virtual/is-dynamic.js +0 -4
- package/dist/_virtual/is-local-url.js +0 -4
- package/dist/_virtual/jsx-runtime.js +0 -5
- package/dist/_virtual/jsx-runtime2.js +0 -4
- package/dist/_virtual/link.js +0 -7
- package/dist/_virtual/link3.js +0 -4
- package/dist/_virtual/normalize-locale-path.js +0 -4
- package/dist/_virtual/normalize-locale-path2.js +0 -4
- package/dist/_virtual/normalize-trailing-slash.js +0 -4
- package/dist/_virtual/omit.js +0 -4
- package/dist/_virtual/parse-path.js +0 -4
- package/dist/_virtual/passive-event-listeners.js +0 -4
- package/dist/_virtual/path-has-prefix.js +0 -4
- package/dist/_virtual/querystring.js +0 -4
- package/dist/_virtual/react-is.development.js +0 -4
- package/dist/_virtual/react-is.production.min.js +0 -4
- package/dist/_virtual/react-jsx-runtime.development.js +0 -4
- package/dist/_virtual/react-jsx-runtime.production.min.js +0 -4
- package/dist/_virtual/remove-trailing-slash.js +0 -4
- package/dist/_virtual/request-idle-callback.js +0 -4
- package/dist/_virtual/resolve-href.js +0 -4
- package/dist/_virtual/route-matcher.js +0 -4
- package/dist/_virtual/route-regex.js +0 -4
- package/dist/_virtual/router-context.shared-runtime.js +0 -4
- package/dist/_virtual/scroll-element.js +0 -4
- package/dist/_virtual/scroll-events.js +0 -4
- package/dist/_virtual/scroll-hash.js +0 -4
- package/dist/_virtual/scroll-link.js +0 -4
- package/dist/_virtual/scroll-spy.js +0 -4
- package/dist/_virtual/scroller.js +0 -4
- package/dist/_virtual/segment.js +0 -4
- package/dist/_virtual/smooth.js +0 -4
- package/dist/_virtual/sorted-routes.js +0 -4
- package/dist/_virtual/use-intersection.js +0 -4
- package/dist/_virtual/use-merged-ref.js +0 -4
- package/dist/_virtual/utils.js +0 -4
- package/dist/_virtual/utils2.js +0 -4
- package/dist/chakra/accordion.js +0 -61
- package/dist/chakra/alert.js +0 -45
- package/dist/chakra/avatar.js +0 -36
- package/dist/chakra/badge.js +0 -18
- package/dist/chakra/button.js +0 -65
- package/dist/chakra/checkbox.js +0 -33
- package/dist/chakra/close-button.js +0 -13
- package/dist/chakra/collapsible.js +0 -58
- package/dist/chakra/color-mode.js +0 -35
- package/dist/chakra/dialog.js +0 -47
- package/dist/chakra/drawer.js +0 -39
- package/dist/chakra/field.js +0 -65
- package/dist/chakra/heading.js +0 -12
- package/dist/chakra/icon-button.js +0 -44
- package/dist/chakra/image.js +0 -30
- package/dist/chakra/input-group.js +0 -47
- package/dist/chakra/input.js +0 -5
- package/dist/chakra/link.js +0 -68
- package/dist/chakra/menu.js +0 -63
- package/dist/chakra/pin-input.js +0 -15
- package/dist/chakra/popover.js +0 -69
- package/dist/chakra/progress-circle.js +0 -17
- package/dist/chakra/provider.js +0 -10
- package/dist/chakra/radio.js +0 -17
- package/dist/chakra/rating.js +0 -21
- package/dist/chakra/select.js +0 -185
- package/dist/chakra/skeleton.js +0 -40
- package/dist/chakra/slider.js +0 -39
- package/dist/chakra/switch.js +0 -19
- package/dist/chakra/table.js +0 -66
- package/dist/chakra/tabs.js +0 -29
- package/dist/chakra/tag.js +0 -51
- package/dist/chakra/textarea.js +0 -5
- package/dist/chakra/toaster.js +0 -31
- package/dist/chakra/tooltip.js +0 -85
- package/dist/chakra.d.ts +0 -1
- package/dist/chakra.js +0 -155
- package/dist/components/ButtonBackTo.js +0 -22
- package/dist/components/Filter/FilterInput.js +0 -48
- package/dist/components/TruncatedTextTooltip.js +0 -49
- package/dist/components.d.ts +0 -2
- package/dist/components.js +0 -1
- package/dist/configs/app/api.js +0 -23
- package/dist/configs/app/app.js +0 -19
- package/dist/configs/app/chain.js +0 -30
- package/dist/configs/app/features/account.js +0 -13
- package/dist/configs/app/features/addressMetadata.js +0 -15
- package/dist/configs/app/features/addressProfileAPI.js +0 -25
- package/dist/configs/app/features/addressVerification.js +0 -17
- package/dist/configs/app/features/adsBanner.js +0 -50
- package/dist/configs/app/features/adsText.js +0 -16
- package/dist/configs/app/features/advancedFilter.js +0 -11
- package/dist/configs/app/features/beaconChain.js +0 -15
- package/dist/configs/app/features/blockchainInteraction.js +0 -15
- package/dist/configs/app/features/bridgedTokens.js +0 -16
- package/dist/configs/app/features/celo.js +0 -13
- package/dist/configs/app/features/csvExport.js +0 -14
- package/dist/configs/app/features/dataAvailability.js +0 -11
- package/dist/configs/app/features/deFiDropdown.js +0 -12
- package/dist/configs/app/features/easterEggBadge.js +0 -12
- package/dist/configs/app/features/externalTxs.js +0 -14
- package/dist/configs/app/features/faultProofSystem.js +0 -12
- package/dist/configs/app/features/gasTracker.js +0 -17
- package/dist/configs/app/features/getGasButton.js +0 -17
- package/dist/configs/app/features/googleAnalytics.js +0 -12
- package/dist/configs/app/features/graphqlApiDocs.js +0 -12
- package/dist/configs/app/features/growthBook.js +0 -12
- package/dist/configs/app/features/index.js +0 -92
- package/dist/configs/app/features/marketplace.js +0 -46
- package/dist/configs/app/features/metasuites.js +0 -11
- package/dist/configs/app/features/mixpanel.js +0 -12
- package/dist/configs/app/features/mudFramework.js +0 -12
- package/dist/configs/app/features/multichainButton.js +0 -18
- package/dist/configs/app/features/nameService.js +0 -15
- package/dist/configs/app/features/pools.js +0 -15
- package/dist/configs/app/features/publicTagsSubmission.js +0 -17
- package/dist/configs/app/features/restApiDocs.js +0 -12
- package/dist/configs/app/features/rewards.js +0 -17
- package/dist/configs/app/features/rollbar.js +0 -20
- package/dist/configs/app/features/rollup.js +0 -37
- package/dist/configs/app/features/safe.js +0 -23
- package/dist/configs/app/features/saveOnGas.js +0 -13
- package/dist/configs/app/features/sol2uml.js +0 -16
- package/dist/configs/app/features/stats.js +0 -16
- package/dist/configs/app/features/suave.js +0 -11
- package/dist/configs/app/features/txInterpretation.js +0 -16
- package/dist/configs/app/features/userOps.js +0 -11
- package/dist/configs/app/features/validators.js +0 -16
- package/dist/configs/app/features/verifiedTokens.js +0 -15
- package/dist/configs/app/features/web3Wallet.js +0 -24
- package/dist/configs/app/features/xStarScore.js +0 -12
- package/dist/configs/app/index.js +0 -19
- package/dist/configs/app/meta.js +0 -16
- package/dist/configs/app/services.js +0 -9
- package/dist/configs/app/ui/views/address.js +0 -36
- package/dist/configs/app/ui/views/block.js +0 -11
- package/dist/configs/app/ui/views/index.js +0 -12
- package/dist/configs/app/ui/views/nft.js +0 -10
- package/dist/configs/app/ui/views/token.js +0 -7
- package/dist/configs/app/ui/views/tx.js +0 -15
- package/dist/configs/app/ui.js +0 -128
- package/dist/configs/app/utils.js +0 -45
- package/dist/hooks/useClipboard.js +0 -27
- package/dist/hooks/useDisclosure.js +0 -17
- package/dist/hooks/useViewportSize.js +0 -17
- package/dist/hooks.d.ts +0 -1
- package/dist/hooks.js +0 -8
- package/dist/icons/arrows/east-mini.svg.js +0 -4
- package/dist/icons/arrows/east.svg.js +0 -4
- package/dist/icons/check.svg.js +0 -4
- package/dist/icons/close.svg.js +0 -4
- package/dist/icons/info_filled.svg.js +0 -4
- package/dist/icons/link_external.svg.js +0 -4
- package/dist/icons/star_filled.svg.js +0 -4
- package/dist/icons/star_outline.svg.js +0 -4
- package/dist/lib/consts.js +0 -10
- package/dist/lib/hooks/useFirstMountState.js +0 -8
- package/dist/lib/hooks/useIsMobile.js +0 -7
- package/dist/lib/hooks/useUpdateEffect.js +0 -12
- package/dist/lib/html-entities.js +0 -5
- package/dist/lib/isBrowser.js +0 -6
- package/dist/lib/regexp.js +0 -4
- package/dist/lib/settings/colorTheme.js +0 -33
- package/dist/lib/stripTrailingSlash.js +0 -4
- package/dist/node_modules/@swc/helpers/cjs/_interop_require_default.js +0 -13
- package/dist/node_modules/@swc/helpers/cjs/_interop_require_wildcard.js +0 -30
- package/dist/node_modules/@uidotdev/usehooks/index.js +0 -51
- package/dist/node_modules/bignumber.js/bignumber.js +0 -627
- package/dist/node_modules/es-toolkit/dist/function/debounce.js +0 -30
- package/dist/node_modules/es-toolkit/dist/function/throttle.js +0 -11
- package/dist/node_modules/lodash.throttle/index.js +0 -95
- package/dist/node_modules/next/dist/client/add-base-path.js +0 -24
- package/dist/node_modules/next/dist/client/add-locale.js +0 -25
- package/dist/node_modules/next/dist/client/detect-domain-locale.js +0 -25
- package/dist/node_modules/next/dist/client/get-domain-locale.js +0 -33
- package/dist/node_modules/next/dist/client/has-base-path.js +0 -23
- package/dist/node_modules/next/dist/client/link.js +0 -249
- package/dist/node_modules/next/dist/client/normalize-locale-path.js +0 -23
- package/dist/node_modules/next/dist/client/normalize-trailing-slash.js +0 -26
- package/dist/node_modules/next/dist/client/request-idle-callback.js +0 -40
- package/dist/node_modules/next/dist/client/resolve-href.js +0 -67
- package/dist/node_modules/next/dist/client/use-intersection.js +0 -85
- package/dist/node_modules/next/dist/client/use-merged-ref.js +0 -44
- package/dist/node_modules/next/dist/lib/constants.js +0 -285
- package/dist/node_modules/next/dist/shared/lib/escape-regexp.js +0 -21
- package/dist/node_modules/next/dist/shared/lib/i18n/detect-domain-locale.js +0 -28
- package/dist/node_modules/next/dist/shared/lib/i18n/normalize-locale-path.js +0 -37
- package/dist/node_modules/next/dist/shared/lib/page-path/ensure-leading-slash.js +0 -20
- package/dist/node_modules/next/dist/shared/lib/router/utils/add-locale.js +0 -25
- package/dist/node_modules/next/dist/shared/lib/router/utils/add-path-prefix.js +0 -25
- package/dist/node_modules/next/dist/shared/lib/router/utils/app-paths.js +0 -39
- package/dist/node_modules/next/dist/shared/lib/router/utils/format-url.js +0 -57
- package/dist/node_modules/next/dist/shared/lib/router/utils/index.js +0 -32
- package/dist/node_modules/next/dist/shared/lib/router/utils/interception-routes.js +0 -90
- package/dist/node_modules/next/dist/shared/lib/router/utils/interpolate-as.js +0 -49
- package/dist/node_modules/next/dist/shared/lib/router/utils/is-dynamic.js +0 -22
- package/dist/node_modules/next/dist/shared/lib/router/utils/is-local-url.js +0 -29
- package/dist/node_modules/next/dist/shared/lib/router/utils/omit.js +0 -23
- package/dist/node_modules/next/dist/shared/lib/router/utils/parse-path.js +0 -29
- package/dist/node_modules/next/dist/shared/lib/router/utils/path-has-prefix.js +0 -25
- package/dist/node_modules/next/dist/shared/lib/router/utils/querystring.js +0 -64
- package/dist/node_modules/next/dist/shared/lib/router/utils/remove-trailing-slash.js +0 -20
- package/dist/node_modules/next/dist/shared/lib/router/utils/route-matcher.js +0 -42
- package/dist/node_modules/next/dist/shared/lib/router/utils/route-regex.js +0 -167
- package/dist/node_modules/next/dist/shared/lib/router/utils/sorted-routes.js +0 -154
- package/dist/node_modules/next/dist/shared/lib/router-context.shared-runtime.js +0 -21
- package/dist/node_modules/next/dist/shared/lib/segment.js +0 -49
- package/dist/node_modules/next/dist/shared/lib/utils.js +0 -166
- package/dist/node_modules/next/link.js +0 -8
- package/dist/node_modules/next-themes/dist/index.js +0 -85
- package/dist/node_modules/object-assign/index.js +0 -54
- package/dist/node_modules/prop-types/checkPropTypes.js +0 -54
- package/dist/node_modules/prop-types/factoryWithThrowingShims.js +0 -52
- package/dist/node_modules/prop-types/factoryWithTypeCheckers.js +0 -329
- package/dist/node_modules/prop-types/index.js +0 -17
- package/dist/node_modules/prop-types/lib/ReactPropTypesSecret.js +0 -10
- package/dist/node_modules/prop-types/lib/has.js +0 -7
- package/dist/node_modules/react-icons/lib/iconBase.js +0 -108
- package/dist/node_modules/react-icons/lib/iconContext.js +0 -12
- package/dist/node_modules/react-icons/lu/index.js +0 -12
- package/dist/node_modules/react-is/cjs/react-is.development.js +0 -95
- package/dist/node_modules/react-is/cjs/react-is.production.min.js +0 -78
- package/dist/node_modules/react-is/index.js +0 -10
- package/dist/node_modules/react-scroll/modules/components/Button.js +0 -58
- package/dist/node_modules/react-scroll/modules/components/Element.js +0 -72
- package/dist/node_modules/react-scroll/modules/components/Link.js +0 -49
- package/dist/node_modules/react-scroll/modules/index.js +0 -26
- package/dist/node_modules/react-scroll/modules/mixins/Helpers.js +0 -192
- package/dist/node_modules/react-scroll/modules/mixins/animate-scroll.js +0 -132
- package/dist/node_modules/react-scroll/modules/mixins/cancel-events.js +0 -20
- package/dist/node_modules/react-scroll/modules/mixins/passive-event-listeners.js +0 -27
- package/dist/node_modules/react-scroll/modules/mixins/scroll-element.js +0 -98
- package/dist/node_modules/react-scroll/modules/mixins/scroll-events.js +0 -23
- package/dist/node_modules/react-scroll/modules/mixins/scroll-hash.js +0 -61
- package/dist/node_modules/react-scroll/modules/mixins/scroll-link.js +0 -171
- package/dist/node_modules/react-scroll/modules/mixins/scroll-spy.js +0 -79
- package/dist/node_modules/react-scroll/modules/mixins/scroller.js +0 -62
- package/dist/node_modules/react-scroll/modules/mixins/smooth.js +0 -72
- package/dist/node_modules/react-scroll/modules/mixins/utils.js +0 -55
- package/dist/package/node_modules/react/cjs/react-jsx-runtime.development.js +0 -604
- package/dist/package/node_modules/react/cjs/react-jsx-runtime.production.min.js +0 -28
- package/dist/package/node_modules/react/jsx-runtime.js +0 -10
- package/dist/theme/foundations/animations.js +0 -15
- package/dist/theme/foundations/borders.js +0 -12
- package/dist/theme/foundations/breakpoints.js +0 -11
- package/dist/theme/foundations/colors.js +0 -163
- package/dist/theme/foundations/durations.js +0 -12
- package/dist/theme/foundations/semanticTokens.js +0 -474
- package/dist/theme/foundations/shadows.js +0 -16
- package/dist/theme/foundations/typography.js +0 -92
- package/dist/theme/foundations/zIndex.js +0 -24
- package/dist/theme/globalCss.js +0 -51
- package/dist/theme/globals/address-entity.js +0 -34
- package/dist/theme/globals/recaptcha.js +0 -21
- package/dist/theme/globals/scrollbar.js +0 -33
- package/dist/theme/index.d.ts +0 -1
- package/dist/theme/index.ts +0 -1
- package/dist/theme/recipes/accordion.recipe.js +0 -143
- package/dist/theme/recipes/alert.recipe.js +0 -134
- package/dist/theme/recipes/badge.recipe.js +0 -119
- package/dist/theme/recipes/button.recipe.js +0 -272
- package/dist/theme/recipes/checkbox.recipe.js +0 -53
- package/dist/theme/recipes/checkmark.recipe.js +0 -73
- package/dist/theme/recipes/close-button.recipe.js +0 -39
- package/dist/theme/recipes/dialog.recipe.js +0 -210
- package/dist/theme/recipes/drawer.recipe.js +0 -168
- package/dist/theme/recipes/field.recipe.js +0 -174
- package/dist/theme/recipes/index.js +0 -69
- package/dist/theme/recipes/input.recipe.js +0 -116
- package/dist/theme/recipes/link.recipe.js +0 -88
- package/dist/theme/recipes/list.recipe.js +0 -65
- package/dist/theme/recipes/menu.recipe.js +0 -104
- package/dist/theme/recipes/pin-input.recipe.js +0 -34
- package/dist/theme/recipes/popover.recipe.js +0 -72
- package/dist/theme/recipes/progress-circle.recipe.js +0 -74
- package/dist/theme/recipes/radio-group.recipe.js +0 -69
- package/dist/theme/recipes/radiomark.recipe.js +0 -87
- package/dist/theme/recipes/rating-group.recipe.js +0 -84
- package/dist/theme/recipes/select.recipe.js +0 -275
- package/dist/theme/recipes/skeleton.recipe.js +0 -54
- package/dist/theme/recipes/spinner.recipe.js +0 -33
- package/dist/theme/recipes/stat.recipe.js +0 -101
- package/dist/theme/recipes/switch.recipe.js +0 -125
- package/dist/theme/recipes/table.recipe.js +0 -83
- package/dist/theme/recipes/tabs.recipe.js +0 -216
- package/dist/theme/recipes/tag.recipe.js +0 -157
- package/dist/theme/recipes/textarea.recipe.js +0 -86
- package/dist/theme/recipes/toast.recipe.js +0 -98
- package/dist/theme/recipes/tooltip.recipe.js +0 -87
- package/dist/theme/theme.js +0 -40
- package/dist/theme/utils/entries.js +0 -11
- package/dist/theme.d.ts +0 -2
- package/dist/theme.js +0 -4
- package/dist/types/client/adProviders.js +0 -12
- package/dist/types/client/contract.js +0 -13
- package/dist/types/client/gasTracker.js +0 -7
- package/dist/types/client/navigation.js +0 -4
- package/dist/types/client/rollup.js +0 -11
- package/dist/types/client/txInterpretation.js +0 -8
- package/dist/types/client/validators.js +0 -8
- package/dist/types/client/wallets.js +0 -8
- package/dist/types/homepage.js +0 -15
- package/dist/types/views/address.js +0 -14
- package/dist/types/views/block.js +0 -12
- package/dist/types/views/tx.js +0 -16
- package/dist/ui/shared/forms/validators/url.js +0 -12
- package/dist/utils/getComponentDisplayName.js +0 -7
- package/dist/utils/index.d.ts +0 -1
- package/dist/utils.d.ts +0 -2
- package/dist/utils.js +0 -4
|
@@ -1,154 +0,0 @@
|
|
|
1
|
-
import { __exports as f } from "../../../../../../../_virtual/sorted-routes.js";
|
|
2
|
-
var _;
|
|
3
|
-
function g() {
|
|
4
|
-
return _ ? f : (_ = 1, function(m) {
|
|
5
|
-
Object.defineProperty(m, "__esModule", {
|
|
6
|
-
value: !0
|
|
7
|
-
});
|
|
8
|
-
function E(o, t) {
|
|
9
|
-
for (var n in t) Object.defineProperty(o, n, {
|
|
10
|
-
enumerable: !0,
|
|
11
|
-
get: t[n]
|
|
12
|
-
});
|
|
13
|
-
}
|
|
14
|
-
E(m, {
|
|
15
|
-
getSortedRouteObjects: function() {
|
|
16
|
-
return R;
|
|
17
|
-
},
|
|
18
|
-
getSortedRoutes: function() {
|
|
19
|
-
return d;
|
|
20
|
-
}
|
|
21
|
-
});
|
|
22
|
-
class l {
|
|
23
|
-
insert(t) {
|
|
24
|
-
this._insert(t.split("/").filter(Boolean), [], !1);
|
|
25
|
-
}
|
|
26
|
-
smoosh() {
|
|
27
|
-
return this._smoosh();
|
|
28
|
-
}
|
|
29
|
-
_smoosh(t) {
|
|
30
|
-
t === void 0 && (t = "/");
|
|
31
|
-
const n = [
|
|
32
|
-
...this.children.keys()
|
|
33
|
-
].sort();
|
|
34
|
-
this.slugName !== null && n.splice(n.indexOf("[]"), 1), this.restSlugName !== null && n.splice(n.indexOf("[...]"), 1), this.optionalRestSlugName !== null && n.splice(n.indexOf("[[...]]"), 1);
|
|
35
|
-
const s = n.map((r) => this.children.get(r)._smoosh("" + t + r + "/")).reduce((r, e) => [
|
|
36
|
-
...r,
|
|
37
|
-
...e
|
|
38
|
-
], []);
|
|
39
|
-
if (this.slugName !== null && s.push(...this.children.get("[]")._smoosh(t + "[" + this.slugName + "]/")), !this.placeholder) {
|
|
40
|
-
const r = t === "/" ? "/" : t.slice(0, -1);
|
|
41
|
-
if (this.optionalRestSlugName != null)
|
|
42
|
-
throw Object.defineProperty(new Error('You cannot define a route with the same specificity as a optional catch-all route ("' + r + '" and "' + r + "[[..." + this.optionalRestSlugName + ']]").'), "__NEXT_ERROR_CODE", {
|
|
43
|
-
value: "E458",
|
|
44
|
-
enumerable: !1,
|
|
45
|
-
configurable: !0
|
|
46
|
-
});
|
|
47
|
-
s.unshift(r);
|
|
48
|
-
}
|
|
49
|
-
return this.restSlugName !== null && s.push(...this.children.get("[...]")._smoosh(t + "[..." + this.restSlugName + "]/")), this.optionalRestSlugName !== null && s.push(...this.children.get("[[...]]")._smoosh(t + "[[..." + this.optionalRestSlugName + "]]/")), s;
|
|
50
|
-
}
|
|
51
|
-
_insert(t, n, s) {
|
|
52
|
-
if (t.length === 0) {
|
|
53
|
-
this.placeholder = !1;
|
|
54
|
-
return;
|
|
55
|
-
}
|
|
56
|
-
if (s)
|
|
57
|
-
throw Object.defineProperty(new Error("Catch-all must be the last part of the URL."), "__NEXT_ERROR_CODE", {
|
|
58
|
-
value: "E392",
|
|
59
|
-
enumerable: !1,
|
|
60
|
-
configurable: !0
|
|
61
|
-
});
|
|
62
|
-
let r = t[0];
|
|
63
|
-
if (r.startsWith("[") && r.endsWith("]")) {
|
|
64
|
-
let u = function(h, i) {
|
|
65
|
-
if (h !== null && h !== i)
|
|
66
|
-
throw Object.defineProperty(new Error("You cannot use different slug names for the same dynamic path ('" + h + "' !== '" + i + "')."), "__NEXT_ERROR_CODE", {
|
|
67
|
-
value: "E337",
|
|
68
|
-
enumerable: !1,
|
|
69
|
-
configurable: !0
|
|
70
|
-
});
|
|
71
|
-
n.forEach((c) => {
|
|
72
|
-
if (c === i)
|
|
73
|
-
throw Object.defineProperty(new Error('You cannot have the same slug name "' + i + '" repeat within a single dynamic path'), "__NEXT_ERROR_CODE", {
|
|
74
|
-
value: "E247",
|
|
75
|
-
enumerable: !1,
|
|
76
|
-
configurable: !0
|
|
77
|
-
});
|
|
78
|
-
if (c.replace(/\W/g, "") === r.replace(/\W/g, ""))
|
|
79
|
-
throw Object.defineProperty(new Error('You cannot have the slug names "' + c + '" and "' + i + '" differ only by non-word symbols within a single dynamic path'), "__NEXT_ERROR_CODE", {
|
|
80
|
-
value: "E499",
|
|
81
|
-
enumerable: !1,
|
|
82
|
-
configurable: !0
|
|
83
|
-
});
|
|
84
|
-
}), n.push(i);
|
|
85
|
-
}, e = r.slice(1, -1), a = !1;
|
|
86
|
-
if (e.startsWith("[") && e.endsWith("]") && (e = e.slice(1, -1), a = !0), e.startsWith("…"))
|
|
87
|
-
throw Object.defineProperty(new Error("Detected a three-dot character ('…') at ('" + e + "'). Did you mean ('...')?"), "__NEXT_ERROR_CODE", {
|
|
88
|
-
value: "E147",
|
|
89
|
-
enumerable: !1,
|
|
90
|
-
configurable: !0
|
|
91
|
-
});
|
|
92
|
-
if (e.startsWith("...") && (e = e.substring(3), s = !0), e.startsWith("[") || e.endsWith("]"))
|
|
93
|
-
throw Object.defineProperty(new Error("Segment names may not start or end with extra brackets ('" + e + "')."), "__NEXT_ERROR_CODE", {
|
|
94
|
-
value: "E421",
|
|
95
|
-
enumerable: !1,
|
|
96
|
-
configurable: !0
|
|
97
|
-
});
|
|
98
|
-
if (e.startsWith("."))
|
|
99
|
-
throw Object.defineProperty(new Error("Segment names may not start with erroneous periods ('" + e + "')."), "__NEXT_ERROR_CODE", {
|
|
100
|
-
value: "E288",
|
|
101
|
-
enumerable: !1,
|
|
102
|
-
configurable: !0
|
|
103
|
-
});
|
|
104
|
-
if (s)
|
|
105
|
-
if (a) {
|
|
106
|
-
if (this.restSlugName != null)
|
|
107
|
-
throw Object.defineProperty(new Error('You cannot use both an required and optional catch-all route at the same level ("[...' + this.restSlugName + ']" and "' + t[0] + '" ).'), "__NEXT_ERROR_CODE", {
|
|
108
|
-
value: "E299",
|
|
109
|
-
enumerable: !1,
|
|
110
|
-
configurable: !0
|
|
111
|
-
});
|
|
112
|
-
u(this.optionalRestSlugName, e), this.optionalRestSlugName = e, r = "[[...]]";
|
|
113
|
-
} else {
|
|
114
|
-
if (this.optionalRestSlugName != null)
|
|
115
|
-
throw Object.defineProperty(new Error('You cannot use both an optional and required catch-all route at the same level ("[[...' + this.optionalRestSlugName + ']]" and "' + t[0] + '").'), "__NEXT_ERROR_CODE", {
|
|
116
|
-
value: "E300",
|
|
117
|
-
enumerable: !1,
|
|
118
|
-
configurable: !0
|
|
119
|
-
});
|
|
120
|
-
u(this.restSlugName, e), this.restSlugName = e, r = "[...]";
|
|
121
|
-
}
|
|
122
|
-
else {
|
|
123
|
-
if (a)
|
|
124
|
-
throw Object.defineProperty(new Error('Optional route parameters are not yet supported ("' + t[0] + '").'), "__NEXT_ERROR_CODE", {
|
|
125
|
-
value: "E435",
|
|
126
|
-
enumerable: !1,
|
|
127
|
-
configurable: !0
|
|
128
|
-
});
|
|
129
|
-
u(this.slugName, e), this.slugName = e, r = "[]";
|
|
130
|
-
}
|
|
131
|
-
}
|
|
132
|
-
this.children.has(r) || this.children.set(r, new l()), this.children.get(r)._insert(t.slice(1), n, s);
|
|
133
|
-
}
|
|
134
|
-
constructor() {
|
|
135
|
-
this.placeholder = !0, this.children = /* @__PURE__ */ new Map(), this.slugName = null, this.restSlugName = null, this.optionalRestSlugName = null;
|
|
136
|
-
}
|
|
137
|
-
}
|
|
138
|
-
function d(o) {
|
|
139
|
-
const t = new l();
|
|
140
|
-
return o.forEach((n) => t.insert(n)), t.smoosh();
|
|
141
|
-
}
|
|
142
|
-
function R(o, t) {
|
|
143
|
-
const n = {}, s = [];
|
|
144
|
-
for (let e = 0; e < o.length; e++) {
|
|
145
|
-
const a = t(o[e]);
|
|
146
|
-
n[a] = e, s[e] = a;
|
|
147
|
-
}
|
|
148
|
-
return d(s).map((e) => o[n[e]]);
|
|
149
|
-
}
|
|
150
|
-
}(f), f);
|
|
151
|
-
}
|
|
152
|
-
export {
|
|
153
|
-
g as __require
|
|
154
|
-
};
|
|
@@ -1,21 +0,0 @@
|
|
|
1
|
-
import { __exports as e } from "../../../../../_virtual/router-context.shared-runtime.js";
|
|
2
|
-
import { __require as u } from "../../../../@swc/helpers/cjs/_interop_require_default.js";
|
|
3
|
-
import n from "react";
|
|
4
|
-
var o;
|
|
5
|
-
function d() {
|
|
6
|
-
return o ? e : (o = 1, function(t) {
|
|
7
|
-
Object.defineProperty(t, "__esModule", {
|
|
8
|
-
value: !0
|
|
9
|
-
}), Object.defineProperty(t, "RouterContext", {
|
|
10
|
-
enumerable: !0,
|
|
11
|
-
get: function() {
|
|
12
|
-
return r;
|
|
13
|
-
}
|
|
14
|
-
});
|
|
15
|
-
const r = (/* @__PURE__ */ (/* @__PURE__ */ u())._(n)).default.createContext(null);
|
|
16
|
-
process.env.NODE_ENV !== "production" && (r.displayName = "RouterContext");
|
|
17
|
-
}(e), e);
|
|
18
|
-
}
|
|
19
|
-
export {
|
|
20
|
-
d as __require
|
|
21
|
-
};
|
|
@@ -1,49 +0,0 @@
|
|
|
1
|
-
import { __exports as u } from "../../../../../_virtual/segment.js";
|
|
2
|
-
var _;
|
|
3
|
-
function g() {
|
|
4
|
-
return _ ? u : (_ = 1, function(i) {
|
|
5
|
-
Object.defineProperty(i, "__esModule", {
|
|
6
|
-
value: !0
|
|
7
|
-
});
|
|
8
|
-
function a(e, n) {
|
|
9
|
-
for (var t in n) Object.defineProperty(e, t, {
|
|
10
|
-
enumerable: !0,
|
|
11
|
-
get: n[t]
|
|
12
|
-
});
|
|
13
|
-
}
|
|
14
|
-
a(i, {
|
|
15
|
-
DEFAULT_SEGMENT_KEY: function() {
|
|
16
|
-
return E;
|
|
17
|
-
},
|
|
18
|
-
PAGE_SEGMENT_KEY: function() {
|
|
19
|
-
return r;
|
|
20
|
-
},
|
|
21
|
-
addSearchParamsIfPageSegment: function() {
|
|
22
|
-
return s;
|
|
23
|
-
},
|
|
24
|
-
isGroupSegment: function() {
|
|
25
|
-
return c;
|
|
26
|
-
},
|
|
27
|
-
isParallelRouteSegment: function() {
|
|
28
|
-
return f;
|
|
29
|
-
}
|
|
30
|
-
});
|
|
31
|
-
function c(e) {
|
|
32
|
-
return e[0] === "(" && e.endsWith(")");
|
|
33
|
-
}
|
|
34
|
-
function f(e) {
|
|
35
|
-
return e.startsWith("@") && e !== "@children";
|
|
36
|
-
}
|
|
37
|
-
function s(e, n) {
|
|
38
|
-
if (e.includes(r)) {
|
|
39
|
-
const o = JSON.stringify(n);
|
|
40
|
-
return o !== "{}" ? r + "?" + o : r;
|
|
41
|
-
}
|
|
42
|
-
return e;
|
|
43
|
-
}
|
|
44
|
-
const r = "__PAGE__", E = "__DEFAULT__";
|
|
45
|
-
}(u), u);
|
|
46
|
-
}
|
|
47
|
-
export {
|
|
48
|
-
g as __require
|
|
49
|
-
};
|
|
@@ -1,166 +0,0 @@
|
|
|
1
|
-
import { __exports as a } from "../../../../../_virtual/utils2.js";
|
|
2
|
-
var g;
|
|
3
|
-
function T() {
|
|
4
|
-
return g ? a : (g = 1, function(u) {
|
|
5
|
-
Object.defineProperty(u, "__esModule", {
|
|
6
|
-
value: !0
|
|
7
|
-
});
|
|
8
|
-
function m(e, r) {
|
|
9
|
-
for (var t in r) Object.defineProperty(e, t, {
|
|
10
|
-
enumerable: !0,
|
|
11
|
-
get: r[t]
|
|
12
|
-
});
|
|
13
|
-
}
|
|
14
|
-
m(u, {
|
|
15
|
-
DecodeError: function() {
|
|
16
|
-
return b;
|
|
17
|
-
},
|
|
18
|
-
MiddlewareNotFoundError: function() {
|
|
19
|
-
return _;
|
|
20
|
-
},
|
|
21
|
-
MissingStaticPage: function() {
|
|
22
|
-
return R;
|
|
23
|
-
},
|
|
24
|
-
NormalizeError: function() {
|
|
25
|
-
return w;
|
|
26
|
-
},
|
|
27
|
-
PageNotFoundError: function() {
|
|
28
|
-
return S;
|
|
29
|
-
},
|
|
30
|
-
SP: function() {
|
|
31
|
-
return d;
|
|
32
|
-
},
|
|
33
|
-
ST: function() {
|
|
34
|
-
return O;
|
|
35
|
-
},
|
|
36
|
-
WEB_VITALS: function() {
|
|
37
|
-
return p;
|
|
38
|
-
},
|
|
39
|
-
execOnce: function() {
|
|
40
|
-
return E;
|
|
41
|
-
},
|
|
42
|
-
getDisplayName: function() {
|
|
43
|
-
return s;
|
|
44
|
-
},
|
|
45
|
-
getLocationOrigin: function() {
|
|
46
|
-
return c;
|
|
47
|
-
},
|
|
48
|
-
getURL: function() {
|
|
49
|
-
return P;
|
|
50
|
-
},
|
|
51
|
-
isAbsoluteUrl: function() {
|
|
52
|
-
return N;
|
|
53
|
-
},
|
|
54
|
-
isResSent: function() {
|
|
55
|
-
return f;
|
|
56
|
-
},
|
|
57
|
-
loadGetInitialProps: function() {
|
|
58
|
-
return l;
|
|
59
|
-
},
|
|
60
|
-
normalizeRepeatedSlashes: function() {
|
|
61
|
-
return y;
|
|
62
|
-
},
|
|
63
|
-
stringifyError: function() {
|
|
64
|
-
return v;
|
|
65
|
-
}
|
|
66
|
-
});
|
|
67
|
-
const p = [
|
|
68
|
-
"CLS",
|
|
69
|
-
"FCP",
|
|
70
|
-
"FID",
|
|
71
|
-
"INP",
|
|
72
|
-
"LCP",
|
|
73
|
-
"TTFB"
|
|
74
|
-
];
|
|
75
|
-
function E(e) {
|
|
76
|
-
let r = !1, t;
|
|
77
|
-
return function() {
|
|
78
|
-
for (var i = arguments.length, n = new Array(i), o = 0; o < i; o++)
|
|
79
|
-
n[o] = arguments[o];
|
|
80
|
-
return r || (r = !0, t = e(...n)), t;
|
|
81
|
-
};
|
|
82
|
-
}
|
|
83
|
-
const h = /^[a-zA-Z][a-zA-Z\d+\-.]*?:/, N = (e) => h.test(e);
|
|
84
|
-
function c() {
|
|
85
|
-
const { protocol: e, hostname: r, port: t } = window.location;
|
|
86
|
-
return e + "//" + r + (t ? ":" + t : "");
|
|
87
|
-
}
|
|
88
|
-
function P() {
|
|
89
|
-
const { href: e } = window.location, r = c();
|
|
90
|
-
return e.substring(r.length);
|
|
91
|
-
}
|
|
92
|
-
function s(e) {
|
|
93
|
-
return typeof e == "string" ? e : e.displayName || e.name || "Unknown";
|
|
94
|
-
}
|
|
95
|
-
function f(e) {
|
|
96
|
-
return e.finished || e.headersSent;
|
|
97
|
-
}
|
|
98
|
-
function y(e) {
|
|
99
|
-
const r = e.split("?");
|
|
100
|
-
return r[0].replace(/\\/g, "/").replace(/\/\/+/g, "/") + (r[1] ? "?" + r.slice(1).join("?") : "");
|
|
101
|
-
}
|
|
102
|
-
async function l(e, r) {
|
|
103
|
-
if (process.env.NODE_ENV !== "production") {
|
|
104
|
-
var t;
|
|
105
|
-
if ((t = e.prototype) != null && t.getInitialProps) {
|
|
106
|
-
const o = '"' + s(e) + '.getInitialProps()" is defined as an instance method - visit https://nextjs.org/docs/messages/get-initial-props-as-an-instance-method for more information.';
|
|
107
|
-
throw Object.defineProperty(new Error(o), "__NEXT_ERROR_CODE", {
|
|
108
|
-
value: "E394",
|
|
109
|
-
enumerable: !1,
|
|
110
|
-
configurable: !0
|
|
111
|
-
});
|
|
112
|
-
}
|
|
113
|
-
}
|
|
114
|
-
const i = r.res || r.ctx && r.ctx.res;
|
|
115
|
-
if (!e.getInitialProps)
|
|
116
|
-
return r.ctx && r.Component ? {
|
|
117
|
-
pageProps: await l(r.Component, r.ctx)
|
|
118
|
-
} : {};
|
|
119
|
-
const n = await e.getInitialProps(r);
|
|
120
|
-
if (i && f(i))
|
|
121
|
-
return n;
|
|
122
|
-
if (!n) {
|
|
123
|
-
const o = '"' + s(e) + '.getInitialProps()" should resolve to an object. But found "' + n + '" instead.';
|
|
124
|
-
throw Object.defineProperty(new Error(o), "__NEXT_ERROR_CODE", {
|
|
125
|
-
value: "E394",
|
|
126
|
-
enumerable: !1,
|
|
127
|
-
configurable: !0
|
|
128
|
-
});
|
|
129
|
-
}
|
|
130
|
-
return process.env.NODE_ENV !== "production" && Object.keys(n).length === 0 && !r.ctx && console.warn("" + s(e) + " returned an empty object from `getInitialProps`. This de-optimizes and prevents automatic static optimization. https://nextjs.org/docs/messages/empty-object-getInitialProps"), n;
|
|
131
|
-
}
|
|
132
|
-
const d = typeof performance < "u", O = d && [
|
|
133
|
-
"mark",
|
|
134
|
-
"measure",
|
|
135
|
-
"getEntriesByName"
|
|
136
|
-
].every((e) => typeof performance[e] == "function");
|
|
137
|
-
class b extends Error {
|
|
138
|
-
}
|
|
139
|
-
class w extends Error {
|
|
140
|
-
}
|
|
141
|
-
class S extends Error {
|
|
142
|
-
constructor(r) {
|
|
143
|
-
super(), this.code = "ENOENT", this.name = "PageNotFoundError", this.message = "Cannot find module for page: " + r;
|
|
144
|
-
}
|
|
145
|
-
}
|
|
146
|
-
class R extends Error {
|
|
147
|
-
constructor(r, t) {
|
|
148
|
-
super(), this.message = "Failed to load static file for page: " + r + " " + t;
|
|
149
|
-
}
|
|
150
|
-
}
|
|
151
|
-
class _ extends Error {
|
|
152
|
-
constructor() {
|
|
153
|
-
super(), this.code = "ENOENT", this.message = "Cannot find the middleware module";
|
|
154
|
-
}
|
|
155
|
-
}
|
|
156
|
-
function v(e) {
|
|
157
|
-
return JSON.stringify({
|
|
158
|
-
message: e.message,
|
|
159
|
-
stack: e.stack
|
|
160
|
-
});
|
|
161
|
-
}
|
|
162
|
-
}(a), a);
|
|
163
|
-
}
|
|
164
|
-
export {
|
|
165
|
-
T as __require
|
|
166
|
-
};
|
|
@@ -1,85 +0,0 @@
|
|
|
1
|
-
import * as t from "react";
|
|
2
|
-
var N = (e, s, a, d, m, c, u, h) => {
|
|
3
|
-
let l = document.documentElement, v = ["light", "dark"];
|
|
4
|
-
function f(o) {
|
|
5
|
-
(Array.isArray(e) ? e : [e]).forEach((y) => {
|
|
6
|
-
let S = y === "class", k = S && c ? m.map((b) => c[b] || b) : m;
|
|
7
|
-
S ? (l.classList.remove(...k), l.classList.add(o)) : l.setAttribute(y, o);
|
|
8
|
-
}), C(o);
|
|
9
|
-
}
|
|
10
|
-
function C(o) {
|
|
11
|
-
h && v.includes(o) && (l.style.colorScheme = o);
|
|
12
|
-
}
|
|
13
|
-
function i() {
|
|
14
|
-
return window.matchMedia("(prefers-color-scheme: dark)").matches ? "dark" : "light";
|
|
15
|
-
}
|
|
16
|
-
if (d) f(d);
|
|
17
|
-
else try {
|
|
18
|
-
let o = localStorage.getItem(s) || a, y = u && o === "system" ? i() : o;
|
|
19
|
-
f(y);
|
|
20
|
-
} catch {
|
|
21
|
-
}
|
|
22
|
-
}, M = ["light", "dark"], O = "(prefers-color-scheme: dark)", V = typeof window > "u", L = t.createContext(void 0), W = { setTheme: (e) => {
|
|
23
|
-
}, themes: [] }, $ = () => {
|
|
24
|
-
var e;
|
|
25
|
-
return (e = t.useContext(L)) != null ? e : W;
|
|
26
|
-
}, j = (e) => t.useContext(L) ? t.createElement(t.Fragment, null, e.children) : t.createElement(z, { ...e }), _ = ["light", "dark"], z = ({ forcedTheme: e, disableTransitionOnChange: s = !1, enableSystem: a = !0, enableColorScheme: d = !0, storageKey: m = "theme", themes: c = _, defaultTheme: u = a ? "system" : "light", attribute: h = "data-theme", value: l, children: v, nonce: f, scriptProps: C }) => {
|
|
27
|
-
let [i, o] = t.useState(() => P(m, u)), [y, S] = t.useState(() => P(m)), k = l ? Object.values(l) : c, b = t.useCallback((r) => {
|
|
28
|
-
let n = r;
|
|
29
|
-
if (!n) return;
|
|
30
|
-
r === "system" && a && (n = I());
|
|
31
|
-
let g = l ? l[n] : n, A = s ? R(f) : null, w = document.documentElement, x = (p) => {
|
|
32
|
-
p === "class" ? (w.classList.remove(...k), g && w.classList.add(g)) : p.startsWith("data-") && (g ? w.setAttribute(p, g) : w.removeAttribute(p));
|
|
33
|
-
};
|
|
34
|
-
if (Array.isArray(h) ? h.forEach(x) : x(h), d) {
|
|
35
|
-
let p = M.includes(u) ? u : null, K = M.includes(n) ? n : p;
|
|
36
|
-
w.style.colorScheme = K;
|
|
37
|
-
}
|
|
38
|
-
A == null || A();
|
|
39
|
-
}, [f]), T = t.useCallback((r) => {
|
|
40
|
-
let n = typeof r == "function" ? r(i) : r;
|
|
41
|
-
o(n);
|
|
42
|
-
try {
|
|
43
|
-
localStorage.setItem(m, n);
|
|
44
|
-
} catch {
|
|
45
|
-
}
|
|
46
|
-
}, [i]), E = t.useCallback((r) => {
|
|
47
|
-
let n = I(r);
|
|
48
|
-
S(n), i === "system" && a && !e && b("system");
|
|
49
|
-
}, [i, e]);
|
|
50
|
-
t.useEffect(() => {
|
|
51
|
-
let r = window.matchMedia(O);
|
|
52
|
-
return r.addListener(E), E(r), () => r.removeListener(E);
|
|
53
|
-
}, [E]), t.useEffect(() => {
|
|
54
|
-
let r = (n) => {
|
|
55
|
-
n.key === m && (n.newValue ? o(n.newValue) : T(u));
|
|
56
|
-
};
|
|
57
|
-
return window.addEventListener("storage", r), () => window.removeEventListener("storage", r);
|
|
58
|
-
}, [T]), t.useEffect(() => {
|
|
59
|
-
b(e ?? i);
|
|
60
|
-
}, [e, i]);
|
|
61
|
-
let H = t.useMemo(() => ({ theme: i, setTheme: T, forcedTheme: e, resolvedTheme: i === "system" ? y : i, themes: a ? [...c, "system"] : c, systemTheme: a ? y : void 0 }), [i, T, e, y, a, c]);
|
|
62
|
-
return t.createElement(L.Provider, { value: H }, t.createElement(J, { forcedTheme: e, storageKey: m, attribute: h, enableSystem: a, enableColorScheme: d, defaultTheme: u, value: l, themes: c, nonce: f, scriptProps: C }), v);
|
|
63
|
-
}, J = t.memo(({ forcedTheme: e, storageKey: s, attribute: a, enableSystem: d, enableColorScheme: m, defaultTheme: c, value: u, themes: h, nonce: l, scriptProps: v }) => {
|
|
64
|
-
let f = JSON.stringify([a, s, c, e, h, u, d, m]).slice(1, -1);
|
|
65
|
-
return t.createElement("script", { ...v, suppressHydrationWarning: !0, nonce: typeof window > "u" ? l : "", dangerouslySetInnerHTML: { __html: `(${N.toString()})(${f})` } });
|
|
66
|
-
}), P = (e, s) => {
|
|
67
|
-
if (V) return;
|
|
68
|
-
let a;
|
|
69
|
-
try {
|
|
70
|
-
a = localStorage.getItem(e) || void 0;
|
|
71
|
-
} catch {
|
|
72
|
-
}
|
|
73
|
-
return a || s;
|
|
74
|
-
}, R = (e) => {
|
|
75
|
-
let s = document.createElement("style");
|
|
76
|
-
return e && s.setAttribute("nonce", e), s.appendChild(document.createTextNode("*,*::before,*::after{-webkit-transition:none!important;-moz-transition:none!important;-o-transition:none!important;-ms-transition:none!important;transition:none!important}")), document.head.appendChild(s), () => {
|
|
77
|
-
window.getComputedStyle(document.body), setTimeout(() => {
|
|
78
|
-
document.head.removeChild(s);
|
|
79
|
-
}, 1);
|
|
80
|
-
};
|
|
81
|
-
}, I = (e) => (e || (e = window.matchMedia(O)), e.matches ? "dark" : "light");
|
|
82
|
-
export {
|
|
83
|
-
j as ThemeProvider,
|
|
84
|
-
$ as useTheme
|
|
85
|
-
};
|
|
@@ -1,54 +0,0 @@
|
|
|
1
|
-
/*
|
|
2
|
-
object-assign
|
|
3
|
-
(c) Sindre Sorhus
|
|
4
|
-
@license MIT
|
|
5
|
-
*/
|
|
6
|
-
var f, i;
|
|
7
|
-
function p() {
|
|
8
|
-
if (i) return f;
|
|
9
|
-
i = 1;
|
|
10
|
-
var u = Object.getOwnPropertySymbols, b = Object.prototype.hasOwnProperty, l = Object.prototype.propertyIsEnumerable;
|
|
11
|
-
function O(n) {
|
|
12
|
-
if (n == null)
|
|
13
|
-
throw new TypeError("Object.assign cannot be called with null or undefined");
|
|
14
|
-
return Object(n);
|
|
15
|
-
}
|
|
16
|
-
function j() {
|
|
17
|
-
try {
|
|
18
|
-
if (!Object.assign)
|
|
19
|
-
return !1;
|
|
20
|
-
var n = new String("abc");
|
|
21
|
-
if (n[5] = "de", Object.getOwnPropertyNames(n)[0] === "5")
|
|
22
|
-
return !1;
|
|
23
|
-
for (var s = {}, r = 0; r < 10; r++)
|
|
24
|
-
s["_" + String.fromCharCode(r)] = r;
|
|
25
|
-
var a = Object.getOwnPropertyNames(s).map(function(e) {
|
|
26
|
-
return s[e];
|
|
27
|
-
});
|
|
28
|
-
if (a.join("") !== "0123456789")
|
|
29
|
-
return !1;
|
|
30
|
-
var t = {};
|
|
31
|
-
return "abcdefghijklmnopqrst".split("").forEach(function(e) {
|
|
32
|
-
t[e] = e;
|
|
33
|
-
}), Object.keys(Object.assign({}, t)).join("") === "abcdefghijklmnopqrst";
|
|
34
|
-
} catch {
|
|
35
|
-
return !1;
|
|
36
|
-
}
|
|
37
|
-
}
|
|
38
|
-
return f = j() ? Object.assign : function(n, s) {
|
|
39
|
-
for (var r, a = O(n), t, e = 1; e < arguments.length; e++) {
|
|
40
|
-
r = Object(arguments[e]);
|
|
41
|
-
for (var c in r)
|
|
42
|
-
b.call(r, c) && (a[c] = r[c]);
|
|
43
|
-
if (u) {
|
|
44
|
-
t = u(r);
|
|
45
|
-
for (var o = 0; o < t.length; o++)
|
|
46
|
-
l.call(r, t[o]) && (a[t[o]] = r[t[o]]);
|
|
47
|
-
}
|
|
48
|
-
}
|
|
49
|
-
return a;
|
|
50
|
-
}, f;
|
|
51
|
-
}
|
|
52
|
-
export {
|
|
53
|
-
p as __require
|
|
54
|
-
};
|
|
@@ -1,54 +0,0 @@
|
|
|
1
|
-
import { __require as E } from "./lib/ReactPropTypesSecret.js";
|
|
2
|
-
import { __require as _ } from "./lib/has.js";
|
|
3
|
-
var f, v;
|
|
4
|
-
function P() {
|
|
5
|
-
if (v) return f;
|
|
6
|
-
v = 1;
|
|
7
|
-
var o = function() {
|
|
8
|
-
};
|
|
9
|
-
if (process.env.NODE_ENV !== "production") {
|
|
10
|
-
var y = /* @__PURE__ */ E(), t = {}, d = /* @__PURE__ */ _();
|
|
11
|
-
o = function(n) {
|
|
12
|
-
var a = "Warning: " + n;
|
|
13
|
-
typeof console < "u" && console.error(a);
|
|
14
|
-
try {
|
|
15
|
-
throw new Error(a);
|
|
16
|
-
} catch {
|
|
17
|
-
}
|
|
18
|
-
};
|
|
19
|
-
}
|
|
20
|
-
function u(n, a, i, s, c) {
|
|
21
|
-
if (process.env.NODE_ENV !== "production") {
|
|
22
|
-
for (var e in n)
|
|
23
|
-
if (d(n, e)) {
|
|
24
|
-
var r;
|
|
25
|
-
try {
|
|
26
|
-
if (typeof n[e] != "function") {
|
|
27
|
-
var h = Error(
|
|
28
|
-
(s || "React class") + ": " + i + " type `" + e + "` is invalid; it must be a function, usually from the `prop-types` package, but received `" + typeof n[e] + "`.This often happens because of typos such as `PropTypes.function` instead of `PropTypes.func`."
|
|
29
|
-
);
|
|
30
|
-
throw h.name = "Invariant Violation", h;
|
|
31
|
-
}
|
|
32
|
-
r = n[e](a, e, s, i, null, y);
|
|
33
|
-
} catch (l) {
|
|
34
|
-
r = l;
|
|
35
|
-
}
|
|
36
|
-
if (r && !(r instanceof Error) && o(
|
|
37
|
-
(s || "React class") + ": type specification of " + i + " `" + e + "` is invalid; the type checker function must return `null` or an `Error` but returned a " + typeof r + ". You may have forgotten to pass an argument to the type checker creator (arrayOf, instanceOf, objectOf, oneOf, oneOfType, and shape all require an argument)."
|
|
38
|
-
), r instanceof Error && !(r.message in t)) {
|
|
39
|
-
t[r.message] = !0;
|
|
40
|
-
var p = c ? c() : "";
|
|
41
|
-
o(
|
|
42
|
-
"Failed " + i + " type: " + r.message + (p ?? "")
|
|
43
|
-
);
|
|
44
|
-
}
|
|
45
|
-
}
|
|
46
|
-
}
|
|
47
|
-
}
|
|
48
|
-
return u.resetWarningCache = function() {
|
|
49
|
-
process.env.NODE_ENV !== "production" && (t = {});
|
|
50
|
-
}, f = u, f;
|
|
51
|
-
}
|
|
52
|
-
export {
|
|
53
|
-
P as __require
|
|
54
|
-
};
|
|
@@ -1,52 +0,0 @@
|
|
|
1
|
-
import { __require as u } from "./lib/ReactPropTypesSecret.js";
|
|
2
|
-
var o, p;
|
|
3
|
-
function g() {
|
|
4
|
-
if (p) return o;
|
|
5
|
-
p = 1;
|
|
6
|
-
var c = /* @__PURE__ */ u();
|
|
7
|
-
function n() {
|
|
8
|
-
}
|
|
9
|
-
function i() {
|
|
10
|
-
}
|
|
11
|
-
return i.resetWarningCache = n, o = function() {
|
|
12
|
-
function e(h, y, m, f, l, s) {
|
|
13
|
-
if (s !== c) {
|
|
14
|
-
var a = new Error(
|
|
15
|
-
"Calling PropTypes validators directly is not supported by the `prop-types` package. Use PropTypes.checkPropTypes() to call them. Read more at http://fb.me/use-check-prop-types"
|
|
16
|
-
);
|
|
17
|
-
throw a.name = "Invariant Violation", a;
|
|
18
|
-
}
|
|
19
|
-
}
|
|
20
|
-
e.isRequired = e;
|
|
21
|
-
function r() {
|
|
22
|
-
return e;
|
|
23
|
-
}
|
|
24
|
-
var t = {
|
|
25
|
-
array: e,
|
|
26
|
-
bigint: e,
|
|
27
|
-
bool: e,
|
|
28
|
-
func: e,
|
|
29
|
-
number: e,
|
|
30
|
-
object: e,
|
|
31
|
-
string: e,
|
|
32
|
-
symbol: e,
|
|
33
|
-
any: e,
|
|
34
|
-
arrayOf: r,
|
|
35
|
-
element: e,
|
|
36
|
-
elementType: e,
|
|
37
|
-
instanceOf: r,
|
|
38
|
-
node: e,
|
|
39
|
-
objectOf: r,
|
|
40
|
-
oneOf: r,
|
|
41
|
-
oneOfType: r,
|
|
42
|
-
shape: r,
|
|
43
|
-
exact: r,
|
|
44
|
-
checkPropTypes: i,
|
|
45
|
-
resetWarningCache: n
|
|
46
|
-
};
|
|
47
|
-
return t.PropTypes = t, t;
|
|
48
|
-
}, o;
|
|
49
|
-
}
|
|
50
|
-
export {
|
|
51
|
-
g as __require
|
|
52
|
-
};
|