@amoa/casting 0.1.4 → 0.1.6
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/export/index.js +9 -9
- package/dist/form/buttons/index.js +2 -2
- package/dist/form/buttons/index.module.css.js +0 -4
- package/dist/form/caption/index.js +2 -2
- package/dist/form/caption/index.module.css.js +0 -4
- package/dist/form/description/index.js +2 -2
- package/dist/form/description/index.module.css.js +0 -4
- package/dist/form/email/index.js +3 -3
- package/dist/form/index.js +4 -4
- package/dist/form/index.module.css.js +0 -4
- package/dist/form/inputs/index.js +2 -2
- package/dist/form/inputs/index.module.css.js +0 -4
- package/dist/form/password/index.js +3 -3
- package/dist/index.css +94 -0
- package/dist/waiter/index.js +11 -13
- package/dist/waiter/index.module.css.js +0 -4
- package/package.json +5 -4
- package/dist/_virtual/_commonjsHelpers.js +0 -5
- package/dist/_virtual/_interop_require_default.js +0 -3
- package/dist/_virtual/_interop_require_wildcard.js +0 -3
- package/dist/_virtual/action-async-storage-instance.js +0 -3
- package/dist/_virtual/action-async-storage.external.js +0 -3
- package/dist/_virtual/add-base-path.js +0 -3
- package/dist/_virtual/add-locale.js +0 -3
- package/dist/_virtual/add-locale2.js +0 -3
- package/dist/_virtual/add-path-prefix.js +0 -3
- package/dist/_virtual/app-paths.js +0 -3
- package/dist/_virtual/app-router-context.shared-runtime.js +0 -3
- package/dist/_virtual/app-router-headers.js +0 -3
- package/dist/_virtual/app.js +0 -3
- package/dist/_virtual/async-local-storage.js +0 -3
- package/dist/_virtual/bailout-to-csr.js +0 -3
- package/dist/_virtual/boundary-constants.js +0 -3
- package/dist/_virtual/constants.js +0 -3
- package/dist/_virtual/deployment-id.js +0 -3
- package/dist/_virtual/detect-domain-locale.js +0 -3
- package/dist/_virtual/detect-domain-locale2.js +0 -3
- package/dist/_virtual/dynamic-rendering-utils.js +0 -3
- package/dist/_virtual/dynamic-rendering.js +0 -3
- package/dist/_virtual/ensure-leading-slash.js +0 -3
- package/dist/_virtual/error-once.js +0 -3
- package/dist/_virtual/escape-regexp.js +0 -3
- package/dist/_virtual/find-closest-quality.js +0 -3
- package/dist/_virtual/forbidden.js +0 -3
- package/dist/_virtual/format-url.js +0 -3
- package/dist/_virtual/get-domain-locale.js +0 -3
- package/dist/_virtual/get-dynamic-param.js +0 -3
- package/dist/_virtual/get-img-props.js +0 -3
- package/dist/_virtual/get-segment-param.js +0 -3
- package/dist/_virtual/has-base-path.js +0 -3
- package/dist/_virtual/head-manager-context.shared-runtime.js +0 -3
- package/dist/_virtual/head.js +0 -3
- package/dist/_virtual/hooks-client-context.shared-runtime.js +0 -3
- package/dist/_virtual/hooks-server-context.js +0 -3
- package/dist/_virtual/http-access-fallback.js +0 -3
- package/dist/_virtual/image-blur-svg.js +0 -3
- package/dist/_virtual/image-component.js +0 -3
- package/dist/_virtual/image-config-context.shared-runtime.js +0 -3
- package/dist/_virtual/image-config.js +0 -3
- package/dist/_virtual/image-external.js +0 -3
- package/dist/_virtual/image-loader.js +0 -3
- package/dist/_virtual/image.js +0 -7
- package/dist/_virtual/index.js +0 -3
- package/dist/_virtual/index2.js +0 -3
- package/dist/_virtual/index3.js +0 -3
- package/dist/_virtual/interception-prefix-from-param-type.js +0 -3
- package/dist/_virtual/interception-routes.js +0 -3
- package/dist/_virtual/interpolate-as.js +0 -3
- package/dist/_virtual/invariant-error.js +0 -3
- package/dist/_virtual/is-dynamic.js +0 -3
- package/dist/_virtual/is-local-url.js +0 -3
- package/dist/_virtual/is-next-router-error.js +0 -3
- package/dist/_virtual/is-postpone.js +0 -3
- package/dist/_virtual/jsx-runtime.js +0 -5
- package/dist/_virtual/jsx-runtime2.js +0 -3
- package/dist/_virtual/link.js +0 -7
- package/dist/_virtual/link2.js +0 -3
- package/dist/_virtual/match-local-pattern.js +0 -3
- package/dist/_virtual/match-remote-pattern.js +0 -3
- package/dist/_virtual/navigation.js +0 -3
- package/dist/_virtual/navigation.react-server.js +0 -3
- package/dist/_virtual/navigation2.js +0 -3
- package/dist/_virtual/normalize-locale-path.js +0 -3
- package/dist/_virtual/normalize-locale-path2.js +0 -3
- package/dist/_virtual/normalize-trailing-slash.js +0 -3
- package/dist/_virtual/not-found.js +0 -3
- package/dist/_virtual/omit.js +0 -3
- package/dist/_virtual/parse-loader-tree.js +0 -3
- package/dist/_virtual/parse-path.js +0 -3
- package/dist/_virtual/path-has-prefix.js +0 -3
- package/dist/_virtual/querystring.js +0 -3
- package/dist/_virtual/react-jsx-runtime.development.js +0 -3
- package/dist/_virtual/react-jsx-runtime.production.js +0 -3
- package/dist/_virtual/readonly-url-search-params.js +0 -3
- package/dist/_virtual/redirect-error.js +0 -3
- package/dist/_virtual/redirect-status-code.js +0 -3
- package/dist/_virtual/redirect.js +0 -3
- package/dist/_virtual/remove-trailing-slash.js +0 -3
- package/dist/_virtual/request-idle-callback.js +0 -3
- package/dist/_virtual/resolve-href.js +0 -3
- package/dist/_virtual/resolve-param-value.js +0 -3
- package/dist/_virtual/route-match-utils.js +0 -3
- package/dist/_virtual/route-matcher.js +0 -3
- package/dist/_virtual/route-pattern-normalizer.js +0 -3
- package/dist/_virtual/route-regex.js +0 -3
- package/dist/_virtual/router-context.shared-runtime.js +0 -3
- package/dist/_virtual/scheduler.js +0 -3
- package/dist/_virtual/segment.js +0 -3
- package/dist/_virtual/server-inserted-html.shared-runtime.js +0 -3
- package/dist/_virtual/side-effect.js +0 -3
- package/dist/_virtual/sorted-routes.js +0 -3
- package/dist/_virtual/static-generation-bailout.js +0 -3
- package/dist/_virtual/unauthorized.js +0 -3
- package/dist/_virtual/unrecognized-action-error.js +0 -3
- package/dist/_virtual/unstable-rethrow.browser.js +0 -3
- package/dist/_virtual/unstable-rethrow.js +0 -3
- package/dist/_virtual/unstable-rethrow.server.js +0 -3
- package/dist/_virtual/use-intersection.js +0 -3
- package/dist/_virtual/use-merged-ref.js +0 -3
- package/dist/_virtual/utils.js +0 -3
- package/dist/_virtual/warn-once.js +0 -3
- package/dist/_virtual/work-async-storage-instance.js +0 -3
- package/dist/_virtual/work-async-storage.external.js +0 -3
- package/dist/_virtual/work-unit-async-storage-instance.js +0 -3
- package/dist/_virtual/work-unit-async-storage.external.js +0 -3
- package/dist/config/config.json.js +0 -37
- package/dist/node_modules/@swc/helpers/cjs/_interop_require_default.js +0 -16
- package/dist/node_modules/@swc/helpers/cjs/_interop_require_wildcard.js +0 -48
- package/dist/node_modules/next/dist/client/add-base-path.js +0 -38
- package/dist/node_modules/next/dist/client/add-locale.js +0 -39
- package/dist/node_modules/next/dist/client/components/app-router-headers.js +0 -112
- package/dist/node_modules/next/dist/client/components/forbidden.js +0 -62
- package/dist/node_modules/next/dist/client/components/hooks-server-context.js +0 -50
- package/dist/node_modules/next/dist/client/components/http-access-fallback/http-access-fallback.js +0 -77
- package/dist/node_modules/next/dist/client/components/is-next-router-error.js +0 -37
- package/dist/node_modules/next/dist/client/components/navigation.js +0 -198
- package/dist/node_modules/next/dist/client/components/navigation.react-server.js +0 -80
- package/dist/node_modules/next/dist/client/components/not-found.js +0 -56
- package/dist/node_modules/next/dist/client/components/readonly-url-search-params.js +0 -58
- package/dist/node_modules/next/dist/client/components/redirect-error.js +0 -60
- package/dist/node_modules/next/dist/client/components/redirect-status-code.js +0 -36
- package/dist/node_modules/next/dist/client/components/redirect.js +0 -98
- package/dist/node_modules/next/dist/client/components/static-generation-bailout.js +0 -50
- package/dist/node_modules/next/dist/client/components/unauthorized.js +0 -63
- package/dist/node_modules/next/dist/client/components/unrecognized-action-error.js +0 -47
- package/dist/node_modules/next/dist/client/components/unstable-rethrow.browser.js +0 -42
- package/dist/node_modules/next/dist/client/components/unstable-rethrow.js +0 -41
- package/dist/node_modules/next/dist/client/components/unstable-rethrow.server.js +0 -50
- package/dist/node_modules/next/dist/client/detect-domain-locale.js +0 -36
- package/dist/node_modules/next/dist/client/get-domain-locale.js +0 -51
- package/dist/node_modules/next/dist/client/has-base-path.js +0 -36
- package/dist/node_modules/next/dist/client/image-component.js +0 -343
- package/dist/node_modules/next/dist/client/link.js +0 -466
- package/dist/node_modules/next/dist/client/normalize-locale-path.js +0 -40
- package/dist/node_modules/next/dist/client/normalize-trailing-slash.js +0 -54
- package/dist/node_modules/next/dist/client/request-idle-callback.js +0 -52
- package/dist/node_modules/next/dist/client/resolve-href.js +0 -124
- package/dist/node_modules/next/dist/client/use-intersection.js +0 -126
- package/dist/node_modules/next/dist/client/use-merged-ref.js +0 -79
- package/dist/node_modules/next/dist/compiled/path-to-regexp/index.js +0 -439
- package/dist/node_modules/next/dist/compiled/picomatch/index.js +0 -1662
- package/dist/node_modules/next/dist/lib/constants.js +0 -339
- package/dist/node_modules/next/dist/lib/framework/boundary-constants.js +0 -41
- package/dist/node_modules/next/dist/lib/route-pattern-normalizer.js +0 -114
- package/dist/node_modules/next/dist/lib/scheduler.js +0 -69
- package/dist/node_modules/next/dist/server/app-render/action-async-storage-instance.js +0 -26
- package/dist/node_modules/next/dist/server/app-render/action-async-storage.external.js +0 -25
- package/dist/node_modules/next/dist/server/app-render/async-local-storage.js +0 -83
- package/dist/node_modules/next/dist/server/app-render/dynamic-rendering.js +0 -804
- package/dist/node_modules/next/dist/server/app-render/work-async-storage-instance.js +0 -26
- package/dist/node_modules/next/dist/server/app-render/work-async-storage.external.js +0 -25
- package/dist/node_modules/next/dist/server/app-render/work-unit-async-storage-instance.js +0 -26
- package/dist/node_modules/next/dist/server/app-render/work-unit-async-storage.external.js +0 -221
- package/dist/node_modules/next/dist/server/dynamic-rendering-utils.js +0 -90
- package/dist/node_modules/next/dist/server/lib/router-utils/is-postpone.js +0 -27
- package/dist/node_modules/next/dist/shared/lib/app-router-context.shared-runtime.js +0 -56
- package/dist/node_modules/next/dist/shared/lib/deployment-id.js +0 -41
- package/dist/node_modules/next/dist/shared/lib/escape-regexp.js +0 -32
- package/dist/node_modules/next/dist/shared/lib/find-closest-quality.js +0 -30
- package/dist/node_modules/next/dist/shared/lib/get-img-props.js +0 -617
- package/dist/node_modules/next/dist/shared/lib/head-manager-context.shared-runtime.js +0 -31
- package/dist/node_modules/next/dist/shared/lib/head.js +0 -177
- package/dist/node_modules/next/dist/shared/lib/hooks-client-context.shared-runtime.js +0 -65
- package/dist/node_modules/next/dist/shared/lib/i18n/detect-domain-locale.js +0 -36
- package/dist/node_modules/next/dist/shared/lib/i18n/normalize-locale-path.js +0 -66
- package/dist/node_modules/next/dist/shared/lib/image-blur-svg.js +0 -42
- package/dist/node_modules/next/dist/shared/lib/image-config-context.shared-runtime.js +0 -33
- package/dist/node_modules/next/dist/shared/lib/image-config.js +0 -56
- package/dist/node_modules/next/dist/shared/lib/image-external.js +0 -60
- package/dist/node_modules/next/dist/shared/lib/image-loader.js +0 -119
- package/dist/node_modules/next/dist/shared/lib/invariant-error.js +0 -29
- package/dist/node_modules/next/dist/shared/lib/lazy-dynamic/bailout-to-csr.js +0 -43
- package/dist/node_modules/next/dist/shared/lib/match-local-pattern.js +0 -54
- package/dist/node_modules/next/dist/shared/lib/match-remote-pattern.js +0 -71
- package/dist/node_modules/next/dist/shared/lib/page-path/ensure-leading-slash.js +0 -31
- package/dist/node_modules/next/dist/shared/lib/router/routes/app.js +0 -130
- package/dist/node_modules/next/dist/shared/lib/router/utils/add-locale.js +0 -41
- package/dist/node_modules/next/dist/shared/lib/router/utils/add-path-prefix.js +0 -36
- package/dist/node_modules/next/dist/shared/lib/router/utils/app-paths.js +0 -61
- package/dist/node_modules/next/dist/shared/lib/router/utils/format-url.js +0 -88
- package/dist/node_modules/next/dist/shared/lib/router/utils/get-dynamic-param.js +0 -176
- package/dist/node_modules/next/dist/shared/lib/router/utils/get-segment-param.js +0 -89
- package/dist/node_modules/next/dist/shared/lib/router/utils/index.js +0 -38
- package/dist/node_modules/next/dist/shared/lib/router/utils/interception-prefix-from-param-type.js +0 -44
- package/dist/node_modules/next/dist/shared/lib/router/utils/interception-routes.js +0 -109
- package/dist/node_modules/next/dist/shared/lib/router/utils/interpolate-as.js +0 -71
- package/dist/node_modules/next/dist/shared/lib/router/utils/is-dynamic.js +0 -38
- package/dist/node_modules/next/dist/shared/lib/router/utils/is-local-url.js +0 -39
- package/dist/node_modules/next/dist/shared/lib/router/utils/omit.js +0 -32
- package/dist/node_modules/next/dist/shared/lib/router/utils/parse-loader-tree.js +0 -46
- package/dist/node_modules/next/dist/shared/lib/router/utils/parse-path.js +0 -46
- package/dist/node_modules/next/dist/shared/lib/router/utils/path-has-prefix.js +0 -34
- package/dist/node_modules/next/dist/shared/lib/router/utils/querystring.js +0 -82
- package/dist/node_modules/next/dist/shared/lib/router/utils/remove-trailing-slash.js +0 -34
- package/dist/node_modules/next/dist/shared/lib/router/utils/resolve-param-value.js +0 -128
- package/dist/node_modules/next/dist/shared/lib/router/utils/route-match-utils.js +0 -122
- package/dist/node_modules/next/dist/shared/lib/router/utils/route-matcher.js +0 -61
- package/dist/node_modules/next/dist/shared/lib/router/utils/route-regex.js +0 -312
- package/dist/node_modules/next/dist/shared/lib/router/utils/sorted-routes.js +0 -246
- package/dist/node_modules/next/dist/shared/lib/router-context.shared-runtime.js +0 -31
- package/dist/node_modules/next/dist/shared/lib/segment.js +0 -102
- package/dist/node_modules/next/dist/shared/lib/server-inserted-html.shared-runtime.js +0 -44
- package/dist/node_modules/next/dist/shared/lib/side-effect.js +0 -78
- package/dist/node_modules/next/dist/shared/lib/utils/error-once.js +0 -33
- package/dist/node_modules/next/dist/shared/lib/utils/warn-once.js +0 -33
- package/dist/node_modules/next/dist/shared/lib/utils.js +0 -192
- package/dist/node_modules/next/image.js +0 -13
- package/dist/node_modules/next/link.js +0 -13
- package/dist/node_modules/next/navigation.js +0 -13
- package/dist/node_modules/react/cjs/react-jsx-runtime.development.js +0 -240
- package/dist/node_modules/react/cjs/react-jsx-runtime.production.js +0 -44
- package/dist/node_modules/react/jsx-runtime.js +0 -19
- package/dist/node_modules/style-inject/dist/style-inject.es.js +0 -26
- package/dist/packages/carving/src/carving.js +0 -34
- package/dist/packages/carving/src/condo.js +0 -17
- package/dist/packages/carving/src/logos/amoa.js +0 -17
- package/dist/packages/forge/src/classes.js +0 -17
- package/dist/packages/forge/src/dates/date.js +0 -8
- package/dist/packages/forge/src/dates/day.js +0 -7
- package/dist/packages/forge/src/dates/index.js +0 -31
- package/dist/packages/forge/src/dates/month.js +0 -35
- package/dist/packages/forge/src/dates/year.js +0 -16
- package/dist/packages/forge/src/fetcher/index.js +0 -37
- package/dist/packages/forge/src/fetcher/querystring.js +0 -9
- package/dist/packages/forge/src/files.js +0 -17
- package/dist/packages/forge/src/numbers/index.js +0 -5
- package/dist/packages/forge/src/strings/characters.js +0 -3
- package/dist/packages/forge/src/strings/diacritics.js +0 -261
- package/dist/packages/forge/src/strings/index.js +0 -24
- package/dist/packages/hooks/src/use-debounce.js +0 -19
- package/dist/packages/hooks/src/use-tooltip.js +0 -27
- package/dist/packages/ingots/src/address/api/form.js +0 -12
- package/dist/packages/ingots/src/address/config.json.js +0 -16
- package/dist/packages/ingots/src/address/index.js +0 -117
- package/dist/packages/ingots/src/address/index.module.css.js +0 -7
- package/dist/packages/ingots/src/address/service.js +0 -41
- package/dist/packages/ingots/src/backdrop/index.js +0 -18
- package/dist/packages/ingots/src/backdrop/index.module.css.js +0 -7
- package/dist/packages/ingots/src/button/index.js +0 -56
- package/dist/packages/ingots/src/button/index.module.css.js +0 -7
- package/dist/packages/ingots/src/checkbox/index.js +0 -47
- package/dist/packages/ingots/src/checkbox/index.module.css.js +0 -7
- package/dist/packages/ingots/src/date/erase/index.js +0 -22
- package/dist/packages/ingots/src/date/erase/index.module.css.js +0 -7
- package/dist/packages/ingots/src/date/input/index.js +0 -113
- package/dist/packages/ingots/src/date/input/index.module.css.js +0 -7
- package/dist/packages/ingots/src/date/picker/day/index.js +0 -35
- package/dist/packages/ingots/src/date/picker/day/index.module.css.js +0 -7
- package/dist/packages/ingots/src/date/picker/days/index.js +0 -59
- package/dist/packages/ingots/src/date/picker/days/index.module.css.js +0 -7
- package/dist/packages/ingots/src/date/picker/handle/index.js +0 -40
- package/dist/packages/ingots/src/date/picker/handle/index.module.css.js +0 -7
- package/dist/packages/ingots/src/date/picker/index.js +0 -154
- package/dist/packages/ingots/src/date/picker/index.module.css.js +0 -7
- package/dist/packages/ingots/src/date/picker/menu/index.js +0 -32
- package/dist/packages/ingots/src/date/picker/menu/index.module.css.js +0 -7
- package/dist/packages/ingots/src/date/picker/menu/item.js +0 -30
- package/dist/packages/ingots/src/date/picker/menu/item.module.css.js +0 -7
- package/dist/packages/ingots/src/file/api/index.js +0 -14
- package/dist/packages/ingots/src/file/card/index.js +0 -65
- package/dist/packages/ingots/src/file/card/index.module.css.js +0 -7
- package/dist/packages/ingots/src/file/index.js +0 -34
- package/dist/packages/ingots/src/file/index.module.css.js +0 -7
- package/dist/packages/ingots/src/file/input/index.js +0 -261
- package/dist/packages/ingots/src/file/input/index.module.css.js +0 -7
- package/dist/packages/ingots/src/input/index.js +0 -75
- package/dist/packages/ingots/src/input/src/validation/index.js +0 -3
- package/dist/packages/ingots/src/loader/index.js +0 -23
- package/dist/packages/ingots/src/loader/index.module.css.js +0 -7
- package/dist/packages/ingots/src/loader/variants/spinner/index.js +0 -31
- package/dist/packages/ingots/src/loader/variants/spinner/index.module.css.js +0 -7
- package/dist/packages/ingots/src/select/card/index.js +0 -33
- package/dist/packages/ingots/src/select/card/index.module.css.js +0 -7
- package/dist/packages/ingots/src/select/category/index.js +0 -13
- package/dist/packages/ingots/src/select/category/index.module.css.js +0 -7
- package/dist/packages/ingots/src/select/content/index.js +0 -46
- package/dist/packages/ingots/src/select/index.js +0 -155
- package/dist/packages/ingots/src/select/index.module.css.js +0 -7
- package/dist/packages/ingots/src/select/option/index.js +0 -35
- package/dist/packages/ingots/src/select/option/index.module.css.js +0 -7
- package/dist/packages/ingots/src/select/options/index.js +0 -59
- package/dist/packages/ingots/src/select/options/index.module.css.js +0 -7
- package/dist/packages/ingots/src/snackbar/context.js +0 -9
- package/dist/packages/ingots/src/tag/index.js +0 -16
- package/dist/packages/ingots/src/tag/index.module.css.js +0 -7
- package/dist/packages/ingots/src/text/index.js +0 -92
- package/dist/packages/ingots/src/text/index.module.css.js +0 -7
- package/dist/packages/ingots/src/textarea/index.js +0 -62
- package/dist/packages/ingots/src/textarea/index.module.css.js +0 -7
- package/dist/packages/ingots/src/toggle/index.js +0 -43
- package/dist/packages/ingots/src/toggle/index.module.css.js +0 -7
- package/dist/packages/runes/src/icon.js +0 -16
- package/dist/packages/runes/src/paths/alert.js +0 -18
- package/dist/packages/runes/src/paths/arrow/path.js +0 -18
- package/dist/packages/runes/src/paths/calendar.js +0 -18
- package/dist/packages/runes/src/paths/check/fill.js +0 -18
- package/dist/packages/runes/src/paths/check/regular.js +0 -18
- package/dist/packages/runes/src/paths/chevron/down.js +0 -18
- package/dist/packages/runes/src/paths/chevron/left.js +0 -18
- package/dist/packages/runes/src/paths/chevron/right.js +0 -18
- package/dist/packages/runes/src/paths/click.js +0 -18
- package/dist/packages/runes/src/paths/cross/regular.js +0 -16
- package/dist/packages/runes/src/paths/download.js +0 -18
- package/dist/packages/runes/src/paths/file.js +0 -18
- package/dist/packages/runes/src/paths/link.js +0 -23
- package/dist/packages/wares/src/authentication/index.js +0 -11
|
@@ -1,62 +0,0 @@
|
|
|
1
|
-
import { __module as forbidden } from '../../../../../_virtual/forbidden.js';
|
|
2
|
-
import { __require as requireHttpAccessFallback } from './http-access-fallback/http-access-fallback.js';
|
|
3
|
-
|
|
4
|
-
var hasRequiredForbidden;
|
|
5
|
-
|
|
6
|
-
function requireForbidden () {
|
|
7
|
-
if (hasRequiredForbidden) return forbidden.exports;
|
|
8
|
-
hasRequiredForbidden = 1;
|
|
9
|
-
(function (module, exports$1) {
|
|
10
|
-
|
|
11
|
-
Object.defineProperty(exports$1, "__esModule", {
|
|
12
|
-
value: true
|
|
13
|
-
});
|
|
14
|
-
Object.defineProperty(exports$1, "forbidden", {
|
|
15
|
-
enumerable: true,
|
|
16
|
-
get: function () {
|
|
17
|
-
return forbidden;
|
|
18
|
-
}
|
|
19
|
-
});
|
|
20
|
-
const _httpaccessfallback = requireHttpAccessFallback();
|
|
21
|
-
// TODO: Add `forbidden` docs
|
|
22
|
-
/**
|
|
23
|
-
* @experimental
|
|
24
|
-
* This function allows you to render the [forbidden.js file](https://nextjs.org/docs/app/api-reference/file-conventions/forbidden)
|
|
25
|
-
* within a route segment as well as inject a tag.
|
|
26
|
-
*
|
|
27
|
-
* `forbidden()` can be used in
|
|
28
|
-
* [Server Components](https://nextjs.org/docs/app/building-your-application/rendering/server-components),
|
|
29
|
-
* [Route Handlers](https://nextjs.org/docs/app/building-your-application/routing/route-handlers), and
|
|
30
|
-
* [Server Actions](https://nextjs.org/docs/app/building-your-application/data-fetching/server-actions-and-mutations).
|
|
31
|
-
*
|
|
32
|
-
* Read more: [Next.js Docs: `forbidden`](https://nextjs.org/docs/app/api-reference/functions/forbidden)
|
|
33
|
-
*/
|
|
34
|
-
const DIGEST = `${_httpaccessfallback.HTTP_ERROR_FALLBACK_ERROR_CODE};403`;
|
|
35
|
-
function forbidden() {
|
|
36
|
-
if (!process.env.__NEXT_EXPERIMENTAL_AUTH_INTERRUPTS) {
|
|
37
|
-
throw Object.defineProperty(new Error(`\`forbidden()\` is experimental and only allowed to be enabled when \`experimental.authInterrupts\` is enabled.`), "__NEXT_ERROR_CODE", {
|
|
38
|
-
value: "E488",
|
|
39
|
-
enumerable: false,
|
|
40
|
-
configurable: true
|
|
41
|
-
});
|
|
42
|
-
}
|
|
43
|
-
const error = Object.defineProperty(new Error(DIGEST), "__NEXT_ERROR_CODE", {
|
|
44
|
-
value: "E394",
|
|
45
|
-
enumerable: false,
|
|
46
|
-
configurable: true
|
|
47
|
-
});
|
|
48
|
-
error.digest = DIGEST;
|
|
49
|
-
throw error;
|
|
50
|
-
}
|
|
51
|
-
if ((typeof exports$1.default === 'function' || typeof exports$1.default === 'object' && exports$1.default !== null) && typeof exports$1.default.__esModule === 'undefined') {
|
|
52
|
-
Object.defineProperty(exports$1.default, '__esModule', {
|
|
53
|
-
value: true
|
|
54
|
-
});
|
|
55
|
-
Object.assign(exports$1.default, exports$1);
|
|
56
|
-
module.exports = exports$1.default;
|
|
57
|
-
}
|
|
58
|
-
} (forbidden, forbidden.exports));
|
|
59
|
-
return forbidden.exports;
|
|
60
|
-
}
|
|
61
|
-
|
|
62
|
-
export { requireForbidden as __require };
|
|
@@ -1,50 +0,0 @@
|
|
|
1
|
-
import { __module as hooksServerContext } from '../../../../../_virtual/hooks-server-context.js';
|
|
2
|
-
|
|
3
|
-
var hasRequiredHooksServerContext;
|
|
4
|
-
|
|
5
|
-
function requireHooksServerContext () {
|
|
6
|
-
if (hasRequiredHooksServerContext) return hooksServerContext.exports;
|
|
7
|
-
hasRequiredHooksServerContext = 1;
|
|
8
|
-
(function (module, exports$1) {
|
|
9
|
-
|
|
10
|
-
Object.defineProperty(exports$1, "__esModule", {
|
|
11
|
-
value: true
|
|
12
|
-
});
|
|
13
|
-
function _export(target, all) {
|
|
14
|
-
for (var name in all) Object.defineProperty(target, name, {
|
|
15
|
-
enumerable: true,
|
|
16
|
-
get: all[name]
|
|
17
|
-
});
|
|
18
|
-
}
|
|
19
|
-
_export(exports$1, {
|
|
20
|
-
DynamicServerError: function () {
|
|
21
|
-
return DynamicServerError;
|
|
22
|
-
},
|
|
23
|
-
isDynamicServerError: function () {
|
|
24
|
-
return isDynamicServerError;
|
|
25
|
-
}
|
|
26
|
-
});
|
|
27
|
-
const DYNAMIC_ERROR_CODE = 'DYNAMIC_SERVER_USAGE';
|
|
28
|
-
class DynamicServerError extends Error {
|
|
29
|
-
constructor(description) {
|
|
30
|
-
super(`Dynamic server usage: ${description}`), this.description = description, this.digest = DYNAMIC_ERROR_CODE;
|
|
31
|
-
}
|
|
32
|
-
}
|
|
33
|
-
function isDynamicServerError(err) {
|
|
34
|
-
if (typeof err !== 'object' || err === null || !('digest' in err) || typeof err.digest !== 'string') {
|
|
35
|
-
return false;
|
|
36
|
-
}
|
|
37
|
-
return err.digest === DYNAMIC_ERROR_CODE;
|
|
38
|
-
}
|
|
39
|
-
if ((typeof exports$1.default === 'function' || typeof exports$1.default === 'object' && exports$1.default !== null) && typeof exports$1.default.__esModule === 'undefined') {
|
|
40
|
-
Object.defineProperty(exports$1.default, '__esModule', {
|
|
41
|
-
value: true
|
|
42
|
-
});
|
|
43
|
-
Object.assign(exports$1.default, exports$1);
|
|
44
|
-
module.exports = exports$1.default;
|
|
45
|
-
}
|
|
46
|
-
} (hooksServerContext, hooksServerContext.exports));
|
|
47
|
-
return hooksServerContext.exports;
|
|
48
|
-
}
|
|
49
|
-
|
|
50
|
-
export { requireHooksServerContext as __require };
|
package/dist/node_modules/next/dist/client/components/http-access-fallback/http-access-fallback.js
DELETED
|
@@ -1,77 +0,0 @@
|
|
|
1
|
-
import { __module as httpAccessFallback } from '../../../../../../_virtual/http-access-fallback.js';
|
|
2
|
-
|
|
3
|
-
var hasRequiredHttpAccessFallback;
|
|
4
|
-
|
|
5
|
-
function requireHttpAccessFallback () {
|
|
6
|
-
if (hasRequiredHttpAccessFallback) return httpAccessFallback.exports;
|
|
7
|
-
hasRequiredHttpAccessFallback = 1;
|
|
8
|
-
(function (module, exports$1) {
|
|
9
|
-
|
|
10
|
-
Object.defineProperty(exports$1, "__esModule", {
|
|
11
|
-
value: true
|
|
12
|
-
});
|
|
13
|
-
function _export(target, all) {
|
|
14
|
-
for (var name in all) Object.defineProperty(target, name, {
|
|
15
|
-
enumerable: true,
|
|
16
|
-
get: all[name]
|
|
17
|
-
});
|
|
18
|
-
}
|
|
19
|
-
_export(exports$1, {
|
|
20
|
-
HTTPAccessErrorStatus: function () {
|
|
21
|
-
return HTTPAccessErrorStatus;
|
|
22
|
-
},
|
|
23
|
-
HTTP_ERROR_FALLBACK_ERROR_CODE: function () {
|
|
24
|
-
return HTTP_ERROR_FALLBACK_ERROR_CODE;
|
|
25
|
-
},
|
|
26
|
-
getAccessFallbackErrorTypeByStatus: function () {
|
|
27
|
-
return getAccessFallbackErrorTypeByStatus;
|
|
28
|
-
},
|
|
29
|
-
getAccessFallbackHTTPStatus: function () {
|
|
30
|
-
return getAccessFallbackHTTPStatus;
|
|
31
|
-
},
|
|
32
|
-
isHTTPAccessFallbackError: function () {
|
|
33
|
-
return isHTTPAccessFallbackError;
|
|
34
|
-
}
|
|
35
|
-
});
|
|
36
|
-
const HTTPAccessErrorStatus = {
|
|
37
|
-
NOT_FOUND: 404,
|
|
38
|
-
FORBIDDEN: 403,
|
|
39
|
-
UNAUTHORIZED: 401
|
|
40
|
-
};
|
|
41
|
-
const ALLOWED_CODES = new Set(Object.values(HTTPAccessErrorStatus));
|
|
42
|
-
const HTTP_ERROR_FALLBACK_ERROR_CODE = 'NEXT_HTTP_ERROR_FALLBACK';
|
|
43
|
-
function isHTTPAccessFallbackError(error) {
|
|
44
|
-
if (typeof error !== 'object' || error === null || !('digest' in error) || typeof error.digest !== 'string') {
|
|
45
|
-
return false;
|
|
46
|
-
}
|
|
47
|
-
const [prefix, httpStatus] = error.digest.split(';');
|
|
48
|
-
return prefix === HTTP_ERROR_FALLBACK_ERROR_CODE && ALLOWED_CODES.has(Number(httpStatus));
|
|
49
|
-
}
|
|
50
|
-
function getAccessFallbackHTTPStatus(error) {
|
|
51
|
-
const httpStatus = error.digest.split(';')[1];
|
|
52
|
-
return Number(httpStatus);
|
|
53
|
-
}
|
|
54
|
-
function getAccessFallbackErrorTypeByStatus(status) {
|
|
55
|
-
switch (status) {
|
|
56
|
-
case 401:
|
|
57
|
-
return 'unauthorized';
|
|
58
|
-
case 403:
|
|
59
|
-
return 'forbidden';
|
|
60
|
-
case 404:
|
|
61
|
-
return 'not-found';
|
|
62
|
-
default:
|
|
63
|
-
return;
|
|
64
|
-
}
|
|
65
|
-
}
|
|
66
|
-
if ((typeof exports$1.default === 'function' || typeof exports$1.default === 'object' && exports$1.default !== null) && typeof exports$1.default.__esModule === 'undefined') {
|
|
67
|
-
Object.defineProperty(exports$1.default, '__esModule', {
|
|
68
|
-
value: true
|
|
69
|
-
});
|
|
70
|
-
Object.assign(exports$1.default, exports$1);
|
|
71
|
-
module.exports = exports$1.default;
|
|
72
|
-
}
|
|
73
|
-
} (httpAccessFallback, httpAccessFallback.exports));
|
|
74
|
-
return httpAccessFallback.exports;
|
|
75
|
-
}
|
|
76
|
-
|
|
77
|
-
export { requireHttpAccessFallback as __require };
|
|
@@ -1,37 +0,0 @@
|
|
|
1
|
-
import { __module as isNextRouterError } from '../../../../../_virtual/is-next-router-error.js';
|
|
2
|
-
import { __require as requireHttpAccessFallback } from './http-access-fallback/http-access-fallback.js';
|
|
3
|
-
import { __require as requireRedirectError } from './redirect-error.js';
|
|
4
|
-
|
|
5
|
-
var hasRequiredIsNextRouterError;
|
|
6
|
-
|
|
7
|
-
function requireIsNextRouterError () {
|
|
8
|
-
if (hasRequiredIsNextRouterError) return isNextRouterError.exports;
|
|
9
|
-
hasRequiredIsNextRouterError = 1;
|
|
10
|
-
(function (module, exports$1) {
|
|
11
|
-
|
|
12
|
-
Object.defineProperty(exports$1, "__esModule", {
|
|
13
|
-
value: true
|
|
14
|
-
});
|
|
15
|
-
Object.defineProperty(exports$1, "isNextRouterError", {
|
|
16
|
-
enumerable: true,
|
|
17
|
-
get: function () {
|
|
18
|
-
return isNextRouterError;
|
|
19
|
-
}
|
|
20
|
-
});
|
|
21
|
-
const _httpaccessfallback = requireHttpAccessFallback();
|
|
22
|
-
const _redirecterror = requireRedirectError();
|
|
23
|
-
function isNextRouterError(error) {
|
|
24
|
-
return (0, _redirecterror.isRedirectError)(error) || (0, _httpaccessfallback.isHTTPAccessFallbackError)(error);
|
|
25
|
-
}
|
|
26
|
-
if ((typeof exports$1.default === 'function' || typeof exports$1.default === 'object' && exports$1.default !== null) && typeof exports$1.default.__esModule === 'undefined') {
|
|
27
|
-
Object.defineProperty(exports$1.default, '__esModule', {
|
|
28
|
-
value: true
|
|
29
|
-
});
|
|
30
|
-
Object.assign(exports$1.default, exports$1);
|
|
31
|
-
module.exports = exports$1.default;
|
|
32
|
-
}
|
|
33
|
-
} (isNextRouterError, isNextRouterError.exports));
|
|
34
|
-
return isNextRouterError.exports;
|
|
35
|
-
}
|
|
36
|
-
|
|
37
|
-
export { requireIsNextRouterError as __require };
|
|
@@ -1,198 +0,0 @@
|
|
|
1
|
-
import { __module as navigation } from '../../../../../_virtual/navigation2.js';
|
|
2
|
-
import { __require as require_interop_require_wildcard } from '../../../../@swc/helpers/cjs/_interop_require_wildcard.js';
|
|
3
|
-
import React__default from 'react';
|
|
4
|
-
import { __require as requireAppRouterContext_sharedRuntime } from '../../shared/lib/app-router-context.shared-runtime.js';
|
|
5
|
-
import { __require as requireHooksClientContext_sharedRuntime } from '../../shared/lib/hooks-client-context.shared-runtime.js';
|
|
6
|
-
import { __require as requireSegment } from '../../shared/lib/segment.js';
|
|
7
|
-
import { __require as requireServerInsertedHtml_sharedRuntime } from '../../shared/lib/server-inserted-html.shared-runtime.js';
|
|
8
|
-
import { __require as requireUnrecognizedActionError } from './unrecognized-action-error.js';
|
|
9
|
-
import { __require as requireNavigation_reactServer } from './navigation.react-server.js';
|
|
10
|
-
import { __require as requireDynamicRendering } from '../../server/app-render/dynamic-rendering.js';
|
|
11
|
-
|
|
12
|
-
var hasRequiredNavigation;
|
|
13
|
-
|
|
14
|
-
function requireNavigation () {
|
|
15
|
-
if (hasRequiredNavigation) return navigation.exports;
|
|
16
|
-
hasRequiredNavigation = 1;
|
|
17
|
-
(function (module, exports$1) {
|
|
18
|
-
|
|
19
|
-
Object.defineProperty(exports$1, "__esModule", {
|
|
20
|
-
value: true
|
|
21
|
-
});
|
|
22
|
-
function _export(target, all) {
|
|
23
|
-
for (var name in all) Object.defineProperty(target, name, {
|
|
24
|
-
enumerable: true,
|
|
25
|
-
get: all[name]
|
|
26
|
-
});
|
|
27
|
-
}
|
|
28
|
-
_export(exports$1, {
|
|
29
|
-
// We need the same class that was used to instantiate the context value
|
|
30
|
-
// Otherwise instanceof checks will fail in usercode
|
|
31
|
-
ReadonlyURLSearchParams: function () {
|
|
32
|
-
return _hooksclientcontextsharedruntime.ReadonlyURLSearchParams;
|
|
33
|
-
},
|
|
34
|
-
RedirectType: function () {
|
|
35
|
-
return _navigationreactserver.RedirectType;
|
|
36
|
-
},
|
|
37
|
-
ServerInsertedHTMLContext: function () {
|
|
38
|
-
return _serverinsertedhtmlsharedruntime.ServerInsertedHTMLContext;
|
|
39
|
-
},
|
|
40
|
-
forbidden: function () {
|
|
41
|
-
return _navigationreactserver.forbidden;
|
|
42
|
-
},
|
|
43
|
-
notFound: function () {
|
|
44
|
-
return _navigationreactserver.notFound;
|
|
45
|
-
},
|
|
46
|
-
permanentRedirect: function () {
|
|
47
|
-
return _navigationreactserver.permanentRedirect;
|
|
48
|
-
},
|
|
49
|
-
redirect: function () {
|
|
50
|
-
return _navigationreactserver.redirect;
|
|
51
|
-
},
|
|
52
|
-
unauthorized: function () {
|
|
53
|
-
return _navigationreactserver.unauthorized;
|
|
54
|
-
},
|
|
55
|
-
unstable_isUnrecognizedActionError: function () {
|
|
56
|
-
return _unrecognizedactionerror.unstable_isUnrecognizedActionError;
|
|
57
|
-
},
|
|
58
|
-
unstable_rethrow: function () {
|
|
59
|
-
return _navigationreactserver.unstable_rethrow;
|
|
60
|
-
},
|
|
61
|
-
useParams: function () {
|
|
62
|
-
return useParams;
|
|
63
|
-
},
|
|
64
|
-
usePathname: function () {
|
|
65
|
-
return usePathname;
|
|
66
|
-
},
|
|
67
|
-
useRouter: function () {
|
|
68
|
-
return useRouter;
|
|
69
|
-
},
|
|
70
|
-
useSearchParams: function () {
|
|
71
|
-
return useSearchParams;
|
|
72
|
-
},
|
|
73
|
-
useSelectedLayoutSegment: function () {
|
|
74
|
-
return useSelectedLayoutSegment;
|
|
75
|
-
},
|
|
76
|
-
useSelectedLayoutSegments: function () {
|
|
77
|
-
return useSelectedLayoutSegments;
|
|
78
|
-
},
|
|
79
|
-
useServerInsertedHTML: function () {
|
|
80
|
-
return _serverinsertedhtmlsharedruntime.useServerInsertedHTML;
|
|
81
|
-
}
|
|
82
|
-
});
|
|
83
|
-
const _interop_require_wildcard = /*@__PURE__*/ require_interop_require_wildcard();
|
|
84
|
-
const _react = /*#__PURE__*/_interop_require_wildcard._(React__default);
|
|
85
|
-
const _approutercontextsharedruntime = requireAppRouterContext_sharedRuntime();
|
|
86
|
-
const _hooksclientcontextsharedruntime = requireHooksClientContext_sharedRuntime();
|
|
87
|
-
const _segment = requireSegment();
|
|
88
|
-
const _serverinsertedhtmlsharedruntime = requireServerInsertedHtml_sharedRuntime();
|
|
89
|
-
const _unrecognizedactionerror = requireUnrecognizedActionError();
|
|
90
|
-
const _navigationreactserver = requireNavigation_reactServer();
|
|
91
|
-
const useDynamicRouteParams = typeof window === 'undefined' ? requireDynamicRendering().useDynamicRouteParams : undefined;
|
|
92
|
-
const useDynamicSearchParams = typeof window === 'undefined' ? requireDynamicRendering().useDynamicSearchParams : undefined;
|
|
93
|
-
function useSearchParams() {
|
|
94
|
-
useDynamicSearchParams?.('useSearchParams()');
|
|
95
|
-
const searchParams = (0, _react.useContext)(_hooksclientcontextsharedruntime.SearchParamsContext);
|
|
96
|
-
// In the case where this is `null`, the compat types added in
|
|
97
|
-
// `next-env.d.ts` will add a new overload that changes the return type to
|
|
98
|
-
// include `null`.
|
|
99
|
-
const readonlySearchParams = (0, _react.useMemo)(() => {
|
|
100
|
-
if (!searchParams) {
|
|
101
|
-
// When the router is not ready in pages, we won't have the search params
|
|
102
|
-
// available.
|
|
103
|
-
return null;
|
|
104
|
-
}
|
|
105
|
-
return new _hooksclientcontextsharedruntime.ReadonlyURLSearchParams(searchParams);
|
|
106
|
-
}, [searchParams]);
|
|
107
|
-
// Instrument with Suspense DevTools (dev-only)
|
|
108
|
-
if (process.env.NODE_ENV !== 'production' && 'use' in _react.default) {
|
|
109
|
-
const navigationPromises = (0, _react.use)(_hooksclientcontextsharedruntime.NavigationPromisesContext);
|
|
110
|
-
if (navigationPromises) {
|
|
111
|
-
return (0, _react.use)(navigationPromises.searchParams);
|
|
112
|
-
}
|
|
113
|
-
}
|
|
114
|
-
return readonlySearchParams;
|
|
115
|
-
}
|
|
116
|
-
function usePathname() {
|
|
117
|
-
useDynamicRouteParams?.('usePathname()');
|
|
118
|
-
// In the case where this is `null`, the compat types added in `next-env.d.ts`
|
|
119
|
-
// will add a new overload that changes the return type to include `null`.
|
|
120
|
-
const pathname = (0, _react.useContext)(_hooksclientcontextsharedruntime.PathnameContext);
|
|
121
|
-
// Instrument with Suspense DevTools (dev-only)
|
|
122
|
-
if (process.env.NODE_ENV !== 'production' && 'use' in _react.default) {
|
|
123
|
-
const navigationPromises = (0, _react.use)(_hooksclientcontextsharedruntime.NavigationPromisesContext);
|
|
124
|
-
if (navigationPromises) {
|
|
125
|
-
return (0, _react.use)(navigationPromises.pathname);
|
|
126
|
-
}
|
|
127
|
-
}
|
|
128
|
-
return pathname;
|
|
129
|
-
}
|
|
130
|
-
function useRouter() {
|
|
131
|
-
const router = (0, _react.useContext)(_approutercontextsharedruntime.AppRouterContext);
|
|
132
|
-
if (router === null) {
|
|
133
|
-
throw Object.defineProperty(new Error('invariant expected app router to be mounted'), "__NEXT_ERROR_CODE", {
|
|
134
|
-
value: "E238",
|
|
135
|
-
enumerable: false,
|
|
136
|
-
configurable: true
|
|
137
|
-
});
|
|
138
|
-
}
|
|
139
|
-
return router;
|
|
140
|
-
}
|
|
141
|
-
function useParams() {
|
|
142
|
-
useDynamicRouteParams?.('useParams()');
|
|
143
|
-
const params = (0, _react.useContext)(_hooksclientcontextsharedruntime.PathParamsContext);
|
|
144
|
-
// Instrument with Suspense DevTools (dev-only)
|
|
145
|
-
if (process.env.NODE_ENV !== 'production' && 'use' in _react.default) {
|
|
146
|
-
const navigationPromises = (0, _react.use)(_hooksclientcontextsharedruntime.NavigationPromisesContext);
|
|
147
|
-
if (navigationPromises) {
|
|
148
|
-
return (0, _react.use)(navigationPromises.params);
|
|
149
|
-
}
|
|
150
|
-
}
|
|
151
|
-
return params;
|
|
152
|
-
}
|
|
153
|
-
function useSelectedLayoutSegments(parallelRouteKey = 'children') {
|
|
154
|
-
useDynamicRouteParams?.('useSelectedLayoutSegments()');
|
|
155
|
-
const context = (0, _react.useContext)(_approutercontextsharedruntime.LayoutRouterContext);
|
|
156
|
-
// @ts-expect-error This only happens in `pages`. Type is overwritten in navigation.d.ts
|
|
157
|
-
if (!context) return null;
|
|
158
|
-
// Instrument with Suspense DevTools (dev-only)
|
|
159
|
-
if (process.env.NODE_ENV !== 'production' && 'use' in _react.default) {
|
|
160
|
-
const navigationPromises = (0, _react.use)(_hooksclientcontextsharedruntime.NavigationPromisesContext);
|
|
161
|
-
if (navigationPromises) {
|
|
162
|
-
const promise = navigationPromises.selectedLayoutSegmentsPromises?.get(parallelRouteKey);
|
|
163
|
-
if (promise) {
|
|
164
|
-
// We should always have a promise here, but if we don't, it's not worth erroring over.
|
|
165
|
-
// We just won't be able to instrument it, but can still provide the value.
|
|
166
|
-
return (0, _react.use)(promise);
|
|
167
|
-
}
|
|
168
|
-
}
|
|
169
|
-
}
|
|
170
|
-
return (0, _segment.getSelectedLayoutSegmentPath)(context.parentTree, parallelRouteKey);
|
|
171
|
-
}
|
|
172
|
-
function useSelectedLayoutSegment(parallelRouteKey = 'children') {
|
|
173
|
-
useDynamicRouteParams?.('useSelectedLayoutSegment()');
|
|
174
|
-
const navigationPromises = (0, _react.useContext)(_hooksclientcontextsharedruntime.NavigationPromisesContext);
|
|
175
|
-
const selectedLayoutSegments = useSelectedLayoutSegments(parallelRouteKey);
|
|
176
|
-
// Instrument with Suspense DevTools (dev-only)
|
|
177
|
-
if (process.env.NODE_ENV !== 'production' && navigationPromises && 'use' in _react.default) {
|
|
178
|
-
const promise = navigationPromises.selectedLayoutSegmentPromises?.get(parallelRouteKey);
|
|
179
|
-
if (promise) {
|
|
180
|
-
// We should always have a promise here, but if we don't, it's not worth erroring over.
|
|
181
|
-
// We just won't be able to instrument it, but can still provide the value.
|
|
182
|
-
return (0, _react.use)(promise);
|
|
183
|
-
}
|
|
184
|
-
}
|
|
185
|
-
return (0, _segment.computeSelectedLayoutSegment)(selectedLayoutSegments, parallelRouteKey);
|
|
186
|
-
}
|
|
187
|
-
if ((typeof exports$1.default === 'function' || typeof exports$1.default === 'object' && exports$1.default !== null) && typeof exports$1.default.__esModule === 'undefined') {
|
|
188
|
-
Object.defineProperty(exports$1.default, '__esModule', {
|
|
189
|
-
value: true
|
|
190
|
-
});
|
|
191
|
-
Object.assign(exports$1.default, exports$1);
|
|
192
|
-
module.exports = exports$1.default;
|
|
193
|
-
}
|
|
194
|
-
} (navigation, navigation.exports));
|
|
195
|
-
return navigation.exports;
|
|
196
|
-
}
|
|
197
|
-
|
|
198
|
-
export { requireNavigation as __require };
|
|
@@ -1,80 +0,0 @@
|
|
|
1
|
-
import { __module as navigation_reactServer } from '../../../../../_virtual/navigation.react-server.js';
|
|
2
|
-
import { __require as requireReadonlyUrlSearchParams } from './readonly-url-search-params.js';
|
|
3
|
-
import { __require as requireRedirect } from './redirect.js';
|
|
4
|
-
import { __require as requireRedirectError } from './redirect-error.js';
|
|
5
|
-
import { __require as requireNotFound } from './not-found.js';
|
|
6
|
-
import { __require as requireForbidden } from './forbidden.js';
|
|
7
|
-
import { __require as requireUnauthorized } from './unauthorized.js';
|
|
8
|
-
import { __require as requireUnstableRethrow } from './unstable-rethrow.js';
|
|
9
|
-
|
|
10
|
-
var hasRequiredNavigation_reactServer;
|
|
11
|
-
|
|
12
|
-
function requireNavigation_reactServer () {
|
|
13
|
-
if (hasRequiredNavigation_reactServer) return navigation_reactServer.exports;
|
|
14
|
-
hasRequiredNavigation_reactServer = 1;
|
|
15
|
-
(function (module, exports$1) {
|
|
16
|
-
|
|
17
|
-
Object.defineProperty(exports$1, "__esModule", {
|
|
18
|
-
value: true
|
|
19
|
-
});
|
|
20
|
-
function _export(target, all) {
|
|
21
|
-
for (var name in all) Object.defineProperty(target, name, {
|
|
22
|
-
enumerable: true,
|
|
23
|
-
get: all[name]
|
|
24
|
-
});
|
|
25
|
-
}
|
|
26
|
-
_export(exports$1, {
|
|
27
|
-
ReadonlyURLSearchParams: function () {
|
|
28
|
-
return _readonlyurlsearchparams.ReadonlyURLSearchParams;
|
|
29
|
-
},
|
|
30
|
-
RedirectType: function () {
|
|
31
|
-
return _redirecterror.RedirectType;
|
|
32
|
-
},
|
|
33
|
-
forbidden: function () {
|
|
34
|
-
return _forbidden.forbidden;
|
|
35
|
-
},
|
|
36
|
-
notFound: function () {
|
|
37
|
-
return _notfound.notFound;
|
|
38
|
-
},
|
|
39
|
-
permanentRedirect: function () {
|
|
40
|
-
return _redirect.permanentRedirect;
|
|
41
|
-
},
|
|
42
|
-
redirect: function () {
|
|
43
|
-
return _redirect.redirect;
|
|
44
|
-
},
|
|
45
|
-
unauthorized: function () {
|
|
46
|
-
return _unauthorized.unauthorized;
|
|
47
|
-
},
|
|
48
|
-
unstable_isUnrecognizedActionError: function () {
|
|
49
|
-
return unstable_isUnrecognizedActionError;
|
|
50
|
-
},
|
|
51
|
-
unstable_rethrow: function () {
|
|
52
|
-
return _unstablerethrow.unstable_rethrow;
|
|
53
|
-
}
|
|
54
|
-
});
|
|
55
|
-
const _readonlyurlsearchparams = requireReadonlyUrlSearchParams();
|
|
56
|
-
const _redirect = requireRedirect();
|
|
57
|
-
const _redirecterror = requireRedirectError();
|
|
58
|
-
const _notfound = requireNotFound();
|
|
59
|
-
const _forbidden = requireForbidden();
|
|
60
|
-
const _unauthorized = requireUnauthorized();
|
|
61
|
-
const _unstablerethrow = requireUnstableRethrow();
|
|
62
|
-
function unstable_isUnrecognizedActionError() {
|
|
63
|
-
throw Object.defineProperty(new Error('`unstable_isUnrecognizedActionError` can only be used on the client.'), "__NEXT_ERROR_CODE", {
|
|
64
|
-
value: "E776",
|
|
65
|
-
enumerable: false,
|
|
66
|
-
configurable: true
|
|
67
|
-
});
|
|
68
|
-
}
|
|
69
|
-
if ((typeof exports$1.default === 'function' || typeof exports$1.default === 'object' && exports$1.default !== null) && typeof exports$1.default.__esModule === 'undefined') {
|
|
70
|
-
Object.defineProperty(exports$1.default, '__esModule', {
|
|
71
|
-
value: true
|
|
72
|
-
});
|
|
73
|
-
Object.assign(exports$1.default, exports$1);
|
|
74
|
-
module.exports = exports$1.default;
|
|
75
|
-
}
|
|
76
|
-
} (navigation_reactServer, navigation_reactServer.exports));
|
|
77
|
-
return navigation_reactServer.exports;
|
|
78
|
-
}
|
|
79
|
-
|
|
80
|
-
export { requireNavigation_reactServer as __require };
|
|
@@ -1,56 +0,0 @@
|
|
|
1
|
-
import { __module as notFound } from '../../../../../_virtual/not-found.js';
|
|
2
|
-
import { __require as requireHttpAccessFallback } from './http-access-fallback/http-access-fallback.js';
|
|
3
|
-
|
|
4
|
-
var hasRequiredNotFound;
|
|
5
|
-
|
|
6
|
-
function requireNotFound () {
|
|
7
|
-
if (hasRequiredNotFound) return notFound.exports;
|
|
8
|
-
hasRequiredNotFound = 1;
|
|
9
|
-
(function (module, exports$1) {
|
|
10
|
-
|
|
11
|
-
Object.defineProperty(exports$1, "__esModule", {
|
|
12
|
-
value: true
|
|
13
|
-
});
|
|
14
|
-
Object.defineProperty(exports$1, "notFound", {
|
|
15
|
-
enumerable: true,
|
|
16
|
-
get: function () {
|
|
17
|
-
return notFound;
|
|
18
|
-
}
|
|
19
|
-
});
|
|
20
|
-
const _httpaccessfallback = requireHttpAccessFallback();
|
|
21
|
-
/**
|
|
22
|
-
* This function allows you to render the [not-found.js file](https://nextjs.org/docs/app/api-reference/file-conventions/not-found)
|
|
23
|
-
* within a route segment as well as inject a tag.
|
|
24
|
-
*
|
|
25
|
-
* `notFound()` can be used in
|
|
26
|
-
* [Server Components](https://nextjs.org/docs/app/building-your-application/rendering/server-components),
|
|
27
|
-
* [Route Handlers](https://nextjs.org/docs/app/building-your-application/routing/route-handlers), and
|
|
28
|
-
* [Server Actions](https://nextjs.org/docs/app/building-your-application/data-fetching/server-actions-and-mutations).
|
|
29
|
-
*
|
|
30
|
-
* - In a Server Component, this will insert a `<meta name="robots" content="noindex" />` meta tag and set the status code to 404.
|
|
31
|
-
* - In a Route Handler or Server Action, it will serve a 404 to the caller.
|
|
32
|
-
*
|
|
33
|
-
* Read more: [Next.js Docs: `notFound`](https://nextjs.org/docs/app/api-reference/functions/not-found)
|
|
34
|
-
*/
|
|
35
|
-
const DIGEST = `${_httpaccessfallback.HTTP_ERROR_FALLBACK_ERROR_CODE};404`;
|
|
36
|
-
function notFound() {
|
|
37
|
-
const error = Object.defineProperty(new Error(DIGEST), "__NEXT_ERROR_CODE", {
|
|
38
|
-
value: "E394",
|
|
39
|
-
enumerable: false,
|
|
40
|
-
configurable: true
|
|
41
|
-
});
|
|
42
|
-
error.digest = DIGEST;
|
|
43
|
-
throw error;
|
|
44
|
-
}
|
|
45
|
-
if ((typeof exports$1.default === 'function' || typeof exports$1.default === 'object' && exports$1.default !== null) && typeof exports$1.default.__esModule === 'undefined') {
|
|
46
|
-
Object.defineProperty(exports$1.default, '__esModule', {
|
|
47
|
-
value: true
|
|
48
|
-
});
|
|
49
|
-
Object.assign(exports$1.default, exports$1);
|
|
50
|
-
module.exports = exports$1.default;
|
|
51
|
-
}
|
|
52
|
-
} (notFound, notFound.exports));
|
|
53
|
-
return notFound.exports;
|
|
54
|
-
}
|
|
55
|
-
|
|
56
|
-
export { requireNotFound as __require };
|
|
@@ -1,58 +0,0 @@
|
|
|
1
|
-
import { __module as readonlyUrlSearchParams } from '../../../../../_virtual/readonly-url-search-params.js';
|
|
2
|
-
|
|
3
|
-
/**
|
|
4
|
-
* ReadonlyURLSearchParams implementation shared between client and server.
|
|
5
|
-
* This file is intentionally not marked as 'use client' or 'use server'
|
|
6
|
-
* so it can be imported by both environments.
|
|
7
|
-
*/
|
|
8
|
-
|
|
9
|
-
var hasRequiredReadonlyUrlSearchParams;
|
|
10
|
-
|
|
11
|
-
function requireReadonlyUrlSearchParams () {
|
|
12
|
-
if (hasRequiredReadonlyUrlSearchParams) return readonlyUrlSearchParams.exports;
|
|
13
|
-
hasRequiredReadonlyUrlSearchParams = 1;
|
|
14
|
-
(function (module, exports$1) {
|
|
15
|
-
|
|
16
|
-
Object.defineProperty(exports$1, "__esModule", {
|
|
17
|
-
value: true
|
|
18
|
-
});
|
|
19
|
-
Object.defineProperty(exports$1, "ReadonlyURLSearchParams", {
|
|
20
|
-
enumerable: true,
|
|
21
|
-
get: function () {
|
|
22
|
-
return ReadonlyURLSearchParams;
|
|
23
|
-
}
|
|
24
|
-
});
|
|
25
|
-
class ReadonlyURLSearchParamsError extends Error {
|
|
26
|
-
constructor() {
|
|
27
|
-
super('Method unavailable on `ReadonlyURLSearchParams`. Read more: https://nextjs.org/docs/app/api-reference/functions/use-search-params#updating-searchparams');
|
|
28
|
-
}
|
|
29
|
-
}
|
|
30
|
-
class ReadonlyURLSearchParams extends URLSearchParams {
|
|
31
|
-
/** @deprecated Method unavailable on `ReadonlyURLSearchParams`. Read more: https://nextjs.org/docs/app/api-reference/functions/use-search-params#updating-searchparams */append() {
|
|
32
|
-
throw new ReadonlyURLSearchParamsError();
|
|
33
|
-
}
|
|
34
|
-
/** @deprecated Method unavailable on `ReadonlyURLSearchParams`. Read more: https://nextjs.org/docs/app/api-reference/functions/use-search-params#updating-searchparams */
|
|
35
|
-
delete() {
|
|
36
|
-
throw new ReadonlyURLSearchParamsError();
|
|
37
|
-
}
|
|
38
|
-
/** @deprecated Method unavailable on `ReadonlyURLSearchParams`. Read more: https://nextjs.org/docs/app/api-reference/functions/use-search-params#updating-searchparams */
|
|
39
|
-
set() {
|
|
40
|
-
throw new ReadonlyURLSearchParamsError();
|
|
41
|
-
}
|
|
42
|
-
/** @deprecated Method unavailable on `ReadonlyURLSearchParams`. Read more: https://nextjs.org/docs/app/api-reference/functions/use-search-params#updating-searchparams */
|
|
43
|
-
sort() {
|
|
44
|
-
throw new ReadonlyURLSearchParamsError();
|
|
45
|
-
}
|
|
46
|
-
}
|
|
47
|
-
if ((typeof exports$1.default === 'function' || typeof exports$1.default === 'object' && exports$1.default !== null) && typeof exports$1.default.__esModule === 'undefined') {
|
|
48
|
-
Object.defineProperty(exports$1.default, '__esModule', {
|
|
49
|
-
value: true
|
|
50
|
-
});
|
|
51
|
-
Object.assign(exports$1.default, exports$1);
|
|
52
|
-
module.exports = exports$1.default;
|
|
53
|
-
}
|
|
54
|
-
} (readonlyUrlSearchParams, readonlyUrlSearchParams.exports));
|
|
55
|
-
return readonlyUrlSearchParams.exports;
|
|
56
|
-
}
|
|
57
|
-
|
|
58
|
-
export { requireReadonlyUrlSearchParams as __require };
|