@amoa/casting 0.1.3 → 0.1.5
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/_virtual/_commonjsHelpers.js +5 -0
- package/dist/_virtual/_interop_require_default.js +3 -0
- package/dist/_virtual/_interop_require_wildcard.js +3 -0
- package/dist/_virtual/action-async-storage-instance.js +3 -0
- package/dist/_virtual/action-async-storage.external.js +3 -0
- package/dist/_virtual/add-base-path.js +3 -0
- package/dist/_virtual/add-locale.js +3 -0
- package/dist/_virtual/add-locale2.js +3 -0
- package/dist/_virtual/add-path-prefix.js +3 -0
- package/dist/_virtual/app-paths.js +3 -0
- package/dist/_virtual/app-router-context.shared-runtime.js +3 -0
- package/dist/_virtual/app-router-headers.js +3 -0
- package/dist/_virtual/app.js +3 -0
- package/dist/_virtual/async-local-storage.js +3 -0
- package/dist/_virtual/bailout-to-csr.js +3 -0
- package/dist/_virtual/boundary-constants.js +3 -0
- package/dist/_virtual/constants.js +3 -0
- package/dist/_virtual/deployment-id.js +3 -0
- package/dist/_virtual/detect-domain-locale.js +3 -0
- package/dist/_virtual/detect-domain-locale2.js +3 -0
- package/dist/_virtual/dynamic-rendering-utils.js +3 -0
- package/dist/_virtual/dynamic-rendering.js +3 -0
- package/dist/_virtual/ensure-leading-slash.js +3 -0
- package/dist/_virtual/error-once.js +3 -0
- package/dist/_virtual/escape-regexp.js +3 -0
- package/dist/_virtual/find-closest-quality.js +3 -0
- package/dist/_virtual/forbidden.js +3 -0
- package/dist/_virtual/format-url.js +3 -0
- package/dist/_virtual/get-domain-locale.js +3 -0
- package/dist/_virtual/get-dynamic-param.js +3 -0
- package/dist/_virtual/get-img-props.js +3 -0
- package/dist/_virtual/get-segment-param.js +3 -0
- package/dist/_virtual/has-base-path.js +3 -0
- package/dist/_virtual/head-manager-context.shared-runtime.js +3 -0
- package/dist/_virtual/head.js +3 -0
- package/dist/_virtual/hooks-client-context.shared-runtime.js +3 -0
- package/dist/_virtual/hooks-server-context.js +3 -0
- package/dist/_virtual/http-access-fallback.js +3 -0
- package/dist/_virtual/image-blur-svg.js +3 -0
- package/dist/_virtual/image-component.js +3 -0
- package/dist/_virtual/image-config-context.shared-runtime.js +3 -0
- package/dist/_virtual/image-config.js +3 -0
- package/dist/_virtual/image-external.js +3 -0
- package/dist/_virtual/image-loader.js +3 -0
- package/dist/_virtual/image.js +7 -0
- package/dist/_virtual/index.js +3 -0
- package/dist/_virtual/index2.js +3 -0
- package/dist/_virtual/index3.js +3 -0
- package/dist/_virtual/interception-prefix-from-param-type.js +3 -0
- package/dist/_virtual/interception-routes.js +3 -0
- package/dist/_virtual/interpolate-as.js +3 -0
- package/dist/_virtual/invariant-error.js +3 -0
- package/dist/_virtual/is-dynamic.js +3 -0
- package/dist/_virtual/is-local-url.js +3 -0
- package/dist/_virtual/is-next-router-error.js +3 -0
- package/dist/_virtual/is-postpone.js +3 -0
- package/dist/_virtual/jsx-runtime.js +5 -0
- package/dist/_virtual/jsx-runtime2.js +3 -0
- package/dist/_virtual/link.js +7 -0
- package/dist/_virtual/link2.js +3 -0
- package/dist/_virtual/match-local-pattern.js +3 -0
- package/dist/_virtual/match-remote-pattern.js +3 -0
- package/dist/_virtual/navigation.js +3 -0
- package/dist/_virtual/navigation.react-server.js +3 -0
- package/dist/_virtual/navigation2.js +3 -0
- package/dist/_virtual/normalize-locale-path.js +3 -0
- package/dist/_virtual/normalize-locale-path2.js +3 -0
- package/dist/_virtual/normalize-trailing-slash.js +3 -0
- package/dist/_virtual/not-found.js +3 -0
- package/dist/_virtual/omit.js +3 -0
- package/dist/_virtual/parse-loader-tree.js +3 -0
- package/dist/_virtual/parse-path.js +3 -0
- package/dist/_virtual/path-has-prefix.js +3 -0
- package/dist/_virtual/querystring.js +3 -0
- package/dist/_virtual/react-jsx-runtime.development.js +3 -0
- package/dist/_virtual/react-jsx-runtime.production.js +3 -0
- package/dist/_virtual/readonly-url-search-params.js +3 -0
- package/dist/_virtual/redirect-error.js +3 -0
- package/dist/_virtual/redirect-status-code.js +3 -0
- package/dist/_virtual/redirect.js +3 -0
- package/dist/_virtual/remove-trailing-slash.js +3 -0
- package/dist/_virtual/request-idle-callback.js +3 -0
- package/dist/_virtual/resolve-href.js +3 -0
- package/dist/_virtual/resolve-param-value.js +3 -0
- package/dist/_virtual/route-match-utils.js +3 -0
- package/dist/_virtual/route-matcher.js +3 -0
- package/dist/_virtual/route-pattern-normalizer.js +3 -0
- package/dist/_virtual/route-regex.js +3 -0
- package/dist/_virtual/router-context.shared-runtime.js +3 -0
- package/dist/_virtual/scheduler.js +3 -0
- package/dist/_virtual/segment.js +3 -0
- package/dist/_virtual/server-inserted-html.shared-runtime.js +3 -0
- package/dist/_virtual/side-effect.js +3 -0
- package/dist/_virtual/sorted-routes.js +3 -0
- package/dist/_virtual/static-generation-bailout.js +3 -0
- package/dist/_virtual/unauthorized.js +3 -0
- package/dist/_virtual/unrecognized-action-error.js +3 -0
- package/dist/_virtual/unstable-rethrow.browser.js +3 -0
- package/dist/_virtual/unstable-rethrow.js +3 -0
- package/dist/_virtual/unstable-rethrow.server.js +3 -0
- package/dist/_virtual/use-intersection.js +3 -0
- package/dist/_virtual/use-merged-ref.js +3 -0
- package/dist/_virtual/utils.js +3 -0
- package/dist/_virtual/warn-once.js +3 -0
- package/dist/_virtual/work-async-storage-instance.js +3 -0
- package/dist/_virtual/work-async-storage.external.js +3 -0
- package/dist/_virtual/work-unit-async-storage-instance.js +3 -0
- package/dist/_virtual/work-unit-async-storage.external.js +3 -0
- package/dist/config/config.json.js +37 -0
- package/dist/export/index.js +46 -2
- package/dist/form/buttons/index.js +13 -2
- package/dist/form/buttons/index.module.css.js +3 -0
- package/dist/form/caption/index.js +13 -2
- package/dist/form/caption/index.module.css.js +3 -0
- package/dist/form/description/index.js +13 -2
- package/dist/form/description/index.module.css.js +3 -0
- package/dist/form/email/index.js +24 -2
- package/dist/form/index.js +17 -2
- package/dist/form/index.module.css.js +3 -0
- package/dist/form/inputs/index.js +13 -2
- package/dist/form/inputs/index.module.css.js +3 -0
- package/dist/form/password/index.js +24 -2
- package/dist/index.css +1708 -0
- package/dist/node_modules/@swc/helpers/cjs/_interop_require_default.js +16 -0
- package/dist/node_modules/@swc/helpers/cjs/_interop_require_wildcard.js +48 -0
- package/dist/node_modules/next/dist/client/add-base-path.js +38 -0
- package/dist/node_modules/next/dist/client/add-locale.js +39 -0
- package/dist/node_modules/next/dist/client/components/app-router-headers.js +112 -0
- package/dist/node_modules/next/dist/client/components/forbidden.js +62 -0
- package/dist/node_modules/next/dist/client/components/hooks-server-context.js +50 -0
- package/dist/node_modules/next/dist/client/components/http-access-fallback/http-access-fallback.js +77 -0
- package/dist/node_modules/next/dist/client/components/is-next-router-error.js +37 -0
- package/dist/node_modules/next/dist/client/components/navigation.js +198 -0
- package/dist/node_modules/next/dist/client/components/navigation.react-server.js +80 -0
- package/dist/node_modules/next/dist/client/components/not-found.js +56 -0
- package/dist/node_modules/next/dist/client/components/readonly-url-search-params.js +58 -0
- package/dist/node_modules/next/dist/client/components/redirect-error.js +60 -0
- package/dist/node_modules/next/dist/client/components/redirect-status-code.js +36 -0
- package/dist/node_modules/next/dist/client/components/redirect.js +98 -0
- package/dist/node_modules/next/dist/client/components/static-generation-bailout.js +50 -0
- package/dist/node_modules/next/dist/client/components/unauthorized.js +63 -0
- package/dist/node_modules/next/dist/client/components/unrecognized-action-error.js +47 -0
- package/dist/node_modules/next/dist/client/components/unstable-rethrow.browser.js +42 -0
- package/dist/node_modules/next/dist/client/components/unstable-rethrow.js +41 -0
- package/dist/node_modules/next/dist/client/components/unstable-rethrow.server.js +50 -0
- package/dist/node_modules/next/dist/client/detect-domain-locale.js +36 -0
- package/dist/node_modules/next/dist/client/get-domain-locale.js +51 -0
- package/dist/node_modules/next/dist/client/has-base-path.js +36 -0
- package/dist/node_modules/next/dist/client/image-component.js +343 -0
- package/dist/node_modules/next/dist/client/link.js +466 -0
- package/dist/node_modules/next/dist/client/normalize-locale-path.js +40 -0
- package/dist/node_modules/next/dist/client/normalize-trailing-slash.js +54 -0
- package/dist/node_modules/next/dist/client/request-idle-callback.js +52 -0
- package/dist/node_modules/next/dist/client/resolve-href.js +124 -0
- package/dist/node_modules/next/dist/client/use-intersection.js +126 -0
- package/dist/node_modules/next/dist/client/use-merged-ref.js +79 -0
- package/dist/node_modules/next/dist/compiled/path-to-regexp/index.js +439 -0
- package/dist/node_modules/next/dist/compiled/picomatch/index.js +1662 -0
- package/dist/node_modules/next/dist/lib/constants.js +339 -0
- package/dist/node_modules/next/dist/lib/framework/boundary-constants.js +41 -0
- package/dist/node_modules/next/dist/lib/route-pattern-normalizer.js +114 -0
- package/dist/node_modules/next/dist/lib/scheduler.js +69 -0
- package/dist/node_modules/next/dist/server/app-render/action-async-storage-instance.js +26 -0
- package/dist/node_modules/next/dist/server/app-render/action-async-storage.external.js +25 -0
- package/dist/node_modules/next/dist/server/app-render/async-local-storage.js +83 -0
- package/dist/node_modules/next/dist/server/app-render/dynamic-rendering.js +804 -0
- package/dist/node_modules/next/dist/server/app-render/work-async-storage-instance.js +26 -0
- package/dist/node_modules/next/dist/server/app-render/work-async-storage.external.js +25 -0
- package/dist/node_modules/next/dist/server/app-render/work-unit-async-storage-instance.js +26 -0
- package/dist/node_modules/next/dist/server/app-render/work-unit-async-storage.external.js +221 -0
- package/dist/node_modules/next/dist/server/dynamic-rendering-utils.js +90 -0
- package/dist/node_modules/next/dist/server/lib/router-utils/is-postpone.js +27 -0
- package/dist/node_modules/next/dist/shared/lib/app-router-context.shared-runtime.js +56 -0
- package/dist/node_modules/next/dist/shared/lib/deployment-id.js +41 -0
- package/dist/node_modules/next/dist/shared/lib/escape-regexp.js +32 -0
- package/dist/node_modules/next/dist/shared/lib/find-closest-quality.js +30 -0
- package/dist/node_modules/next/dist/shared/lib/get-img-props.js +617 -0
- package/dist/node_modules/next/dist/shared/lib/head-manager-context.shared-runtime.js +31 -0
- package/dist/node_modules/next/dist/shared/lib/head.js +177 -0
- package/dist/node_modules/next/dist/shared/lib/hooks-client-context.shared-runtime.js +65 -0
- package/dist/node_modules/next/dist/shared/lib/i18n/detect-domain-locale.js +36 -0
- package/dist/node_modules/next/dist/shared/lib/i18n/normalize-locale-path.js +66 -0
- package/dist/node_modules/next/dist/shared/lib/image-blur-svg.js +42 -0
- package/dist/node_modules/next/dist/shared/lib/image-config-context.shared-runtime.js +33 -0
- package/dist/node_modules/next/dist/shared/lib/image-config.js +56 -0
- package/dist/node_modules/next/dist/shared/lib/image-external.js +60 -0
- package/dist/node_modules/next/dist/shared/lib/image-loader.js +119 -0
- package/dist/node_modules/next/dist/shared/lib/invariant-error.js +29 -0
- package/dist/node_modules/next/dist/shared/lib/lazy-dynamic/bailout-to-csr.js +43 -0
- package/dist/node_modules/next/dist/shared/lib/match-local-pattern.js +54 -0
- package/dist/node_modules/next/dist/shared/lib/match-remote-pattern.js +71 -0
- package/dist/node_modules/next/dist/shared/lib/page-path/ensure-leading-slash.js +31 -0
- package/dist/node_modules/next/dist/shared/lib/router/routes/app.js +130 -0
- package/dist/node_modules/next/dist/shared/lib/router/utils/add-locale.js +41 -0
- package/dist/node_modules/next/dist/shared/lib/router/utils/add-path-prefix.js +36 -0
- package/dist/node_modules/next/dist/shared/lib/router/utils/app-paths.js +61 -0
- package/dist/node_modules/next/dist/shared/lib/router/utils/format-url.js +88 -0
- package/dist/node_modules/next/dist/shared/lib/router/utils/get-dynamic-param.js +176 -0
- package/dist/node_modules/next/dist/shared/lib/router/utils/get-segment-param.js +89 -0
- package/dist/node_modules/next/dist/shared/lib/router/utils/index.js +38 -0
- package/dist/node_modules/next/dist/shared/lib/router/utils/interception-prefix-from-param-type.js +44 -0
- package/dist/node_modules/next/dist/shared/lib/router/utils/interception-routes.js +109 -0
- package/dist/node_modules/next/dist/shared/lib/router/utils/interpolate-as.js +71 -0
- package/dist/node_modules/next/dist/shared/lib/router/utils/is-dynamic.js +38 -0
- package/dist/node_modules/next/dist/shared/lib/router/utils/is-local-url.js +39 -0
- package/dist/node_modules/next/dist/shared/lib/router/utils/omit.js +32 -0
- package/dist/node_modules/next/dist/shared/lib/router/utils/parse-loader-tree.js +46 -0
- package/dist/node_modules/next/dist/shared/lib/router/utils/parse-path.js +46 -0
- package/dist/node_modules/next/dist/shared/lib/router/utils/path-has-prefix.js +34 -0
- package/dist/node_modules/next/dist/shared/lib/router/utils/querystring.js +82 -0
- package/dist/node_modules/next/dist/shared/lib/router/utils/remove-trailing-slash.js +34 -0
- package/dist/node_modules/next/dist/shared/lib/router/utils/resolve-param-value.js +128 -0
- package/dist/node_modules/next/dist/shared/lib/router/utils/route-match-utils.js +122 -0
- package/dist/node_modules/next/dist/shared/lib/router/utils/route-matcher.js +61 -0
- package/dist/node_modules/next/dist/shared/lib/router/utils/route-regex.js +312 -0
- package/dist/node_modules/next/dist/shared/lib/router/utils/sorted-routes.js +246 -0
- package/dist/node_modules/next/dist/shared/lib/router-context.shared-runtime.js +31 -0
- package/dist/node_modules/next/dist/shared/lib/segment.js +102 -0
- package/dist/node_modules/next/dist/shared/lib/server-inserted-html.shared-runtime.js +44 -0
- package/dist/node_modules/next/dist/shared/lib/side-effect.js +78 -0
- package/dist/node_modules/next/dist/shared/lib/utils/error-once.js +33 -0
- package/dist/node_modules/next/dist/shared/lib/utils/warn-once.js +33 -0
- package/dist/node_modules/next/dist/shared/lib/utils.js +192 -0
- package/dist/node_modules/next/image.js +13 -0
- package/dist/node_modules/next/link.js +13 -0
- package/dist/node_modules/next/navigation.js +13 -0
- package/dist/node_modules/react/cjs/react-jsx-runtime.development.js +240 -0
- package/dist/node_modules/react/cjs/react-jsx-runtime.production.js +44 -0
- package/dist/node_modules/react/jsx-runtime.js +19 -0
- package/dist/node_modules/style-inject/dist/style-inject.es.js +26 -0
- package/dist/packages/carving/src/carving.js +34 -0
- package/dist/packages/carving/src/condo.js +17 -0
- package/dist/packages/carving/src/logos/amoa.js +17 -0
- package/dist/packages/forge/src/classes.js +17 -0
- package/dist/packages/forge/src/dates/date.js +8 -0
- package/dist/packages/forge/src/dates/day.js +7 -0
- package/dist/packages/forge/src/dates/index.js +31 -0
- package/dist/packages/forge/src/dates/month.js +35 -0
- package/dist/packages/forge/src/dates/year.js +16 -0
- package/dist/packages/forge/src/fetcher/index.js +37 -0
- package/dist/packages/forge/src/fetcher/querystring.js +9 -0
- package/dist/packages/forge/src/files.js +17 -0
- package/dist/packages/forge/src/numbers/index.js +5 -0
- package/dist/packages/forge/src/strings/characters.js +3 -0
- package/dist/packages/forge/src/strings/diacritics.js +261 -0
- package/dist/packages/forge/src/strings/index.js +24 -0
- package/dist/packages/hooks/src/use-debounce.js +19 -0
- package/dist/packages/hooks/src/use-tooltip.js +27 -0
- package/dist/packages/ingots/src/address/api/form.js +12 -0
- package/dist/packages/ingots/src/address/config.json.js +16 -0
- package/dist/packages/ingots/src/address/index.js +115 -0
- package/dist/packages/ingots/src/address/index.module.css.js +3 -0
- package/dist/packages/ingots/src/address/service.js +41 -0
- package/dist/packages/ingots/src/backdrop/index.js +18 -0
- package/dist/packages/ingots/src/backdrop/index.module.css.js +3 -0
- package/dist/packages/ingots/src/button/index.js +56 -0
- package/dist/packages/ingots/src/button/index.module.css.js +3 -0
- package/dist/packages/ingots/src/checkbox/index.js +47 -0
- package/dist/packages/ingots/src/checkbox/index.module.css.js +3 -0
- package/dist/packages/ingots/src/date/erase/index.js +22 -0
- package/dist/packages/ingots/src/date/erase/index.module.css.js +3 -0
- package/dist/packages/ingots/src/date/input/index.js +113 -0
- package/dist/packages/ingots/src/date/input/index.module.css.js +3 -0
- package/dist/packages/ingots/src/date/picker/day/index.js +35 -0
- package/dist/packages/ingots/src/date/picker/day/index.module.css.js +3 -0
- package/dist/packages/ingots/src/date/picker/days/index.js +59 -0
- package/dist/packages/ingots/src/date/picker/days/index.module.css.js +3 -0
- package/dist/packages/ingots/src/date/picker/handle/index.js +40 -0
- package/dist/packages/ingots/src/date/picker/handle/index.module.css.js +3 -0
- package/dist/packages/ingots/src/date/picker/index.js +154 -0
- package/dist/packages/ingots/src/date/picker/index.module.css.js +3 -0
- package/dist/packages/ingots/src/date/picker/menu/index.js +32 -0
- package/dist/packages/ingots/src/date/picker/menu/index.module.css.js +3 -0
- package/dist/packages/ingots/src/date/picker/menu/item.js +30 -0
- package/dist/packages/ingots/src/date/picker/menu/item.module.css.js +3 -0
- package/dist/packages/ingots/src/file/api/index.js +14 -0
- package/dist/packages/ingots/src/file/card/index.js +65 -0
- package/dist/packages/ingots/src/file/card/index.module.css.js +3 -0
- package/dist/packages/ingots/src/file/index.js +34 -0
- package/dist/packages/ingots/src/file/index.module.css.js +3 -0
- package/dist/packages/ingots/src/file/input/index.js +261 -0
- package/dist/packages/ingots/src/file/input/index.module.css.js +3 -0
- package/dist/packages/ingots/src/input/index.js +75 -0
- package/dist/packages/ingots/src/input/src/validation/index.js +3 -0
- package/dist/packages/ingots/src/loader/index.js +23 -0
- package/dist/packages/ingots/src/loader/index.module.css.js +3 -0
- package/dist/packages/ingots/src/loader/variants/spinner/index.js +31 -0
- package/dist/packages/ingots/src/loader/variants/spinner/index.module.css.js +3 -0
- package/dist/packages/ingots/src/select/card/index.js +33 -0
- package/dist/packages/ingots/src/select/card/index.module.css.js +3 -0
- package/dist/packages/ingots/src/select/category/index.js +13 -0
- package/dist/packages/ingots/src/select/category/index.module.css.js +3 -0
- package/dist/packages/ingots/src/select/content/index.js +46 -0
- package/dist/packages/ingots/src/select/index.js +155 -0
- package/dist/packages/ingots/src/select/index.module.css.js +3 -0
- package/dist/packages/ingots/src/select/option/index.js +35 -0
- package/dist/packages/ingots/src/select/option/index.module.css.js +3 -0
- package/dist/packages/ingots/src/select/options/index.js +59 -0
- package/dist/packages/ingots/src/select/options/index.module.css.js +3 -0
- package/dist/packages/ingots/src/snackbar/context.js +9 -0
- package/dist/packages/ingots/src/tag/index.js +16 -0
- package/dist/packages/ingots/src/tag/index.module.css.js +3 -0
- package/dist/packages/ingots/src/text/index.js +92 -0
- package/dist/packages/ingots/src/text/index.module.css.js +3 -0
- package/dist/packages/ingots/src/textarea/index.js +62 -0
- package/dist/packages/ingots/src/textarea/index.module.css.js +3 -0
- package/dist/packages/ingots/src/toggle/index.js +43 -0
- package/dist/packages/ingots/src/toggle/index.module.css.js +3 -0
- package/dist/packages/runes/src/icon.js +16 -0
- package/dist/packages/runes/src/paths/alert.js +18 -0
- package/dist/packages/runes/src/paths/arrow/path.js +18 -0
- package/dist/packages/runes/src/paths/calendar.js +18 -0
- package/dist/packages/runes/src/paths/check/fill.js +18 -0
- package/dist/packages/runes/src/paths/check/regular.js +18 -0
- package/dist/packages/runes/src/paths/chevron/down.js +18 -0
- package/dist/packages/runes/src/paths/chevron/left.js +18 -0
- package/dist/packages/runes/src/paths/chevron/right.js +18 -0
- package/dist/packages/runes/src/paths/click.js +18 -0
- package/dist/packages/runes/src/paths/cross/regular.js +16 -0
- package/dist/packages/runes/src/paths/download.js +18 -0
- package/dist/packages/runes/src/paths/file.js +18 -0
- package/dist/packages/runes/src/paths/link.js +23 -0
- package/dist/packages/wares/src/authentication/index.js +11 -0
- package/dist/waiter/index.js +41 -2
- package/dist/waiter/index.module.css.js +3 -0
- package/package.json +7 -7
- package/dist/export/index.js.LICENSE.txt +0 -9
- package/dist/export.js +0 -2
- package/dist/export.js.LICENSE.txt +0 -9
- package/dist/form/buttons/index.js.LICENSE.txt +0 -9
- package/dist/form/caption/index.js.LICENSE.txt +0 -9
- package/dist/form/description/index.js.LICENSE.txt +0 -9
- package/dist/form/email/index.js.LICENSE.txt +0 -9
- package/dist/form/index.js.LICENSE.txt +0 -9
- package/dist/form/inputs/index.js.LICENSE.txt +0 -9
- package/dist/form/password/index.js.LICENSE.txt +0 -9
- package/dist/form.js +0 -2
- package/dist/form.js.LICENSE.txt +0 -9
- package/dist/waiter/index.js.LICENSE.txt +0 -9
- package/dist/waiter.js +0 -2
- package/dist/waiter.js.LICENSE.txt +0 -9
|
@@ -0,0 +1,80 @@
|
|
|
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 };
|
|
@@ -0,0 +1,56 @@
|
|
|
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 };
|
|
@@ -0,0 +1,58 @@
|
|
|
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 };
|
|
@@ -0,0 +1,60 @@
|
|
|
1
|
+
import { __module as redirectError } from '../../../../../_virtual/redirect-error.js';
|
|
2
|
+
import { __require as requireRedirectStatusCode } from './redirect-status-code.js';
|
|
3
|
+
|
|
4
|
+
var hasRequiredRedirectError;
|
|
5
|
+
|
|
6
|
+
function requireRedirectError () {
|
|
7
|
+
if (hasRequiredRedirectError) return redirectError.exports;
|
|
8
|
+
hasRequiredRedirectError = 1;
|
|
9
|
+
(function (module, exports$1) {
|
|
10
|
+
|
|
11
|
+
Object.defineProperty(exports$1, "__esModule", {
|
|
12
|
+
value: true
|
|
13
|
+
});
|
|
14
|
+
function _export(target, all) {
|
|
15
|
+
for (var name in all) Object.defineProperty(target, name, {
|
|
16
|
+
enumerable: true,
|
|
17
|
+
get: all[name]
|
|
18
|
+
});
|
|
19
|
+
}
|
|
20
|
+
_export(exports$1, {
|
|
21
|
+
REDIRECT_ERROR_CODE: function () {
|
|
22
|
+
return REDIRECT_ERROR_CODE;
|
|
23
|
+
},
|
|
24
|
+
RedirectType: function () {
|
|
25
|
+
return RedirectType;
|
|
26
|
+
},
|
|
27
|
+
isRedirectError: function () {
|
|
28
|
+
return isRedirectError;
|
|
29
|
+
}
|
|
30
|
+
});
|
|
31
|
+
const _redirectstatuscode = requireRedirectStatusCode();
|
|
32
|
+
const REDIRECT_ERROR_CODE = 'NEXT_REDIRECT';
|
|
33
|
+
var RedirectType = /*#__PURE__*/function (RedirectType) {
|
|
34
|
+
RedirectType["push"] = "push";
|
|
35
|
+
RedirectType["replace"] = "replace";
|
|
36
|
+
return RedirectType;
|
|
37
|
+
}({});
|
|
38
|
+
function isRedirectError(error) {
|
|
39
|
+
if (typeof error !== 'object' || error === null || !('digest' in error) || typeof error.digest !== 'string') {
|
|
40
|
+
return false;
|
|
41
|
+
}
|
|
42
|
+
const digest = error.digest.split(';');
|
|
43
|
+
const [errorCode, type] = digest;
|
|
44
|
+
const destination = digest.slice(2, -2).join(';');
|
|
45
|
+
const status = digest.at(-2);
|
|
46
|
+
const statusCode = Number(status);
|
|
47
|
+
return errorCode === REDIRECT_ERROR_CODE && (type === 'replace' || type === 'push') && typeof destination === 'string' && !isNaN(statusCode) && statusCode in _redirectstatuscode.RedirectStatusCode;
|
|
48
|
+
}
|
|
49
|
+
if ((typeof exports$1.default === 'function' || typeof exports$1.default === 'object' && exports$1.default !== null) && typeof exports$1.default.__esModule === 'undefined') {
|
|
50
|
+
Object.defineProperty(exports$1.default, '__esModule', {
|
|
51
|
+
value: true
|
|
52
|
+
});
|
|
53
|
+
Object.assign(exports$1.default, exports$1);
|
|
54
|
+
module.exports = exports$1.default;
|
|
55
|
+
}
|
|
56
|
+
} (redirectError, redirectError.exports));
|
|
57
|
+
return redirectError.exports;
|
|
58
|
+
}
|
|
59
|
+
|
|
60
|
+
export { requireRedirectError as __require };
|
|
@@ -0,0 +1,36 @@
|
|
|
1
|
+
import { __module as redirectStatusCode } from '../../../../../_virtual/redirect-status-code.js';
|
|
2
|
+
|
|
3
|
+
var hasRequiredRedirectStatusCode;
|
|
4
|
+
|
|
5
|
+
function requireRedirectStatusCode () {
|
|
6
|
+
if (hasRequiredRedirectStatusCode) return redirectStatusCode.exports;
|
|
7
|
+
hasRequiredRedirectStatusCode = 1;
|
|
8
|
+
(function (module, exports$1) {
|
|
9
|
+
|
|
10
|
+
Object.defineProperty(exports$1, "__esModule", {
|
|
11
|
+
value: true
|
|
12
|
+
});
|
|
13
|
+
Object.defineProperty(exports$1, "RedirectStatusCode", {
|
|
14
|
+
enumerable: true,
|
|
15
|
+
get: function () {
|
|
16
|
+
return RedirectStatusCode;
|
|
17
|
+
}
|
|
18
|
+
});
|
|
19
|
+
var RedirectStatusCode = /*#__PURE__*/function (RedirectStatusCode) {
|
|
20
|
+
RedirectStatusCode[RedirectStatusCode["SeeOther"] = 303] = "SeeOther";
|
|
21
|
+
RedirectStatusCode[RedirectStatusCode["TemporaryRedirect"] = 307] = "TemporaryRedirect";
|
|
22
|
+
RedirectStatusCode[RedirectStatusCode["PermanentRedirect"] = 308] = "PermanentRedirect";
|
|
23
|
+
return RedirectStatusCode;
|
|
24
|
+
}({});
|
|
25
|
+
if ((typeof exports$1.default === 'function' || typeof exports$1.default === 'object' && exports$1.default !== null) && typeof exports$1.default.__esModule === 'undefined') {
|
|
26
|
+
Object.defineProperty(exports$1.default, '__esModule', {
|
|
27
|
+
value: true
|
|
28
|
+
});
|
|
29
|
+
Object.assign(exports$1.default, exports$1);
|
|
30
|
+
module.exports = exports$1.default;
|
|
31
|
+
}
|
|
32
|
+
} (redirectStatusCode, redirectStatusCode.exports));
|
|
33
|
+
return redirectStatusCode.exports;
|
|
34
|
+
}
|
|
35
|
+
|
|
36
|
+
export { requireRedirectStatusCode as __require };
|
|
@@ -0,0 +1,98 @@
|
|
|
1
|
+
import { __module as redirect } from '../../../../../_virtual/redirect.js';
|
|
2
|
+
import { __require as requireRedirectStatusCode } from './redirect-status-code.js';
|
|
3
|
+
import { __require as requireRedirectError } from './redirect-error.js';
|
|
4
|
+
import { __require as requireActionAsyncStorage_external } from '../../server/app-render/action-async-storage.external.js';
|
|
5
|
+
|
|
6
|
+
var hasRequiredRedirect;
|
|
7
|
+
|
|
8
|
+
function requireRedirect () {
|
|
9
|
+
if (hasRequiredRedirect) return redirect.exports;
|
|
10
|
+
hasRequiredRedirect = 1;
|
|
11
|
+
(function (module, exports$1) {
|
|
12
|
+
|
|
13
|
+
Object.defineProperty(exports$1, "__esModule", {
|
|
14
|
+
value: true
|
|
15
|
+
});
|
|
16
|
+
function _export(target, all) {
|
|
17
|
+
for (var name in all) Object.defineProperty(target, name, {
|
|
18
|
+
enumerable: true,
|
|
19
|
+
get: all[name]
|
|
20
|
+
});
|
|
21
|
+
}
|
|
22
|
+
_export(exports$1, {
|
|
23
|
+
getRedirectError: function () {
|
|
24
|
+
return getRedirectError;
|
|
25
|
+
},
|
|
26
|
+
getRedirectStatusCodeFromError: function () {
|
|
27
|
+
return getRedirectStatusCodeFromError;
|
|
28
|
+
},
|
|
29
|
+
getRedirectTypeFromError: function () {
|
|
30
|
+
return getRedirectTypeFromError;
|
|
31
|
+
},
|
|
32
|
+
getURLFromRedirectError: function () {
|
|
33
|
+
return getURLFromRedirectError;
|
|
34
|
+
},
|
|
35
|
+
permanentRedirect: function () {
|
|
36
|
+
return permanentRedirect;
|
|
37
|
+
},
|
|
38
|
+
redirect: function () {
|
|
39
|
+
return redirect;
|
|
40
|
+
}
|
|
41
|
+
});
|
|
42
|
+
const _redirectstatuscode = requireRedirectStatusCode();
|
|
43
|
+
const _redirecterror = requireRedirectError();
|
|
44
|
+
const actionAsyncStorage = typeof window === 'undefined' ? requireActionAsyncStorage_external().actionAsyncStorage : undefined;
|
|
45
|
+
function getRedirectError(url, type, statusCode = _redirectstatuscode.RedirectStatusCode.TemporaryRedirect) {
|
|
46
|
+
const error = Object.defineProperty(new Error(_redirecterror.REDIRECT_ERROR_CODE), "__NEXT_ERROR_CODE", {
|
|
47
|
+
value: "E394",
|
|
48
|
+
enumerable: false,
|
|
49
|
+
configurable: true
|
|
50
|
+
});
|
|
51
|
+
error.digest = `${_redirecterror.REDIRECT_ERROR_CODE};${type};${url};${statusCode};`;
|
|
52
|
+
return error;
|
|
53
|
+
}
|
|
54
|
+
function redirect(/** The URL to redirect to */url, type) {
|
|
55
|
+
type ??= actionAsyncStorage?.getStore()?.isAction ? _redirecterror.RedirectType.push : _redirecterror.RedirectType.replace;
|
|
56
|
+
throw getRedirectError(url, type, _redirectstatuscode.RedirectStatusCode.TemporaryRedirect);
|
|
57
|
+
}
|
|
58
|
+
function permanentRedirect(/** The URL to redirect to */url, type = _redirecterror.RedirectType.replace) {
|
|
59
|
+
throw getRedirectError(url, type, _redirectstatuscode.RedirectStatusCode.PermanentRedirect);
|
|
60
|
+
}
|
|
61
|
+
function getURLFromRedirectError(error) {
|
|
62
|
+
if (!(0, _redirecterror.isRedirectError)(error)) return null;
|
|
63
|
+
// Slices off the beginning of the digest that contains the code and the
|
|
64
|
+
// separating ';'.
|
|
65
|
+
return error.digest.split(';').slice(2, -2).join(';');
|
|
66
|
+
}
|
|
67
|
+
function getRedirectTypeFromError(error) {
|
|
68
|
+
if (!(0, _redirecterror.isRedirectError)(error)) {
|
|
69
|
+
throw Object.defineProperty(new Error('Not a redirect error'), "__NEXT_ERROR_CODE", {
|
|
70
|
+
value: "E260",
|
|
71
|
+
enumerable: false,
|
|
72
|
+
configurable: true
|
|
73
|
+
});
|
|
74
|
+
}
|
|
75
|
+
return error.digest.split(';', 2)[1];
|
|
76
|
+
}
|
|
77
|
+
function getRedirectStatusCodeFromError(error) {
|
|
78
|
+
if (!(0, _redirecterror.isRedirectError)(error)) {
|
|
79
|
+
throw Object.defineProperty(new Error('Not a redirect error'), "__NEXT_ERROR_CODE", {
|
|
80
|
+
value: "E260",
|
|
81
|
+
enumerable: false,
|
|
82
|
+
configurable: true
|
|
83
|
+
});
|
|
84
|
+
}
|
|
85
|
+
return Number(error.digest.split(';').at(-2));
|
|
86
|
+
}
|
|
87
|
+
if ((typeof exports$1.default === 'function' || typeof exports$1.default === 'object' && exports$1.default !== null) && typeof exports$1.default.__esModule === 'undefined') {
|
|
88
|
+
Object.defineProperty(exports$1.default, '__esModule', {
|
|
89
|
+
value: true
|
|
90
|
+
});
|
|
91
|
+
Object.assign(exports$1.default, exports$1);
|
|
92
|
+
module.exports = exports$1.default;
|
|
93
|
+
}
|
|
94
|
+
} (redirect, redirect.exports));
|
|
95
|
+
return redirect.exports;
|
|
96
|
+
}
|
|
97
|
+
|
|
98
|
+
export { requireRedirect as __require };
|
|
@@ -0,0 +1,50 @@
|
|
|
1
|
+
import { __module as staticGenerationBailout } from '../../../../../_virtual/static-generation-bailout.js';
|
|
2
|
+
|
|
3
|
+
var hasRequiredStaticGenerationBailout;
|
|
4
|
+
|
|
5
|
+
function requireStaticGenerationBailout () {
|
|
6
|
+
if (hasRequiredStaticGenerationBailout) return staticGenerationBailout.exports;
|
|
7
|
+
hasRequiredStaticGenerationBailout = 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
|
+
StaticGenBailoutError: function () {
|
|
21
|
+
return StaticGenBailoutError;
|
|
22
|
+
},
|
|
23
|
+
isStaticGenBailoutError: function () {
|
|
24
|
+
return isStaticGenBailoutError;
|
|
25
|
+
}
|
|
26
|
+
});
|
|
27
|
+
const NEXT_STATIC_GEN_BAILOUT = 'NEXT_STATIC_GEN_BAILOUT';
|
|
28
|
+
class StaticGenBailoutError extends Error {
|
|
29
|
+
constructor(...args) {
|
|
30
|
+
super(...args), this.code = NEXT_STATIC_GEN_BAILOUT;
|
|
31
|
+
}
|
|
32
|
+
}
|
|
33
|
+
function isStaticGenBailoutError(error) {
|
|
34
|
+
if (typeof error !== 'object' || error === null || !('code' in error)) {
|
|
35
|
+
return false;
|
|
36
|
+
}
|
|
37
|
+
return error.code === NEXT_STATIC_GEN_BAILOUT;
|
|
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
|
+
} (staticGenerationBailout, staticGenerationBailout.exports));
|
|
47
|
+
return staticGenerationBailout.exports;
|
|
48
|
+
}
|
|
49
|
+
|
|
50
|
+
export { requireStaticGenerationBailout as __require };
|
|
@@ -0,0 +1,63 @@
|
|
|
1
|
+
import { __module as unauthorized } from '../../../../../_virtual/unauthorized.js';
|
|
2
|
+
import { __require as requireHttpAccessFallback } from './http-access-fallback/http-access-fallback.js';
|
|
3
|
+
|
|
4
|
+
var hasRequiredUnauthorized;
|
|
5
|
+
|
|
6
|
+
function requireUnauthorized () {
|
|
7
|
+
if (hasRequiredUnauthorized) return unauthorized.exports;
|
|
8
|
+
hasRequiredUnauthorized = 1;
|
|
9
|
+
(function (module, exports$1) {
|
|
10
|
+
|
|
11
|
+
Object.defineProperty(exports$1, "__esModule", {
|
|
12
|
+
value: true
|
|
13
|
+
});
|
|
14
|
+
Object.defineProperty(exports$1, "unauthorized", {
|
|
15
|
+
enumerable: true,
|
|
16
|
+
get: function () {
|
|
17
|
+
return unauthorized;
|
|
18
|
+
}
|
|
19
|
+
});
|
|
20
|
+
const _httpaccessfallback = requireHttpAccessFallback();
|
|
21
|
+
// TODO: Add `unauthorized` docs
|
|
22
|
+
/**
|
|
23
|
+
* @experimental
|
|
24
|
+
* This function allows you to render the [unauthorized.js file](https://nextjs.org/docs/app/api-reference/file-conventions/unauthorized)
|
|
25
|
+
* within a route segment as well as inject a tag.
|
|
26
|
+
*
|
|
27
|
+
* `unauthorized()` 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
|
+
*
|
|
33
|
+
* Read more: [Next.js Docs: `unauthorized`](https://nextjs.org/docs/app/api-reference/functions/unauthorized)
|
|
34
|
+
*/
|
|
35
|
+
const DIGEST = `${_httpaccessfallback.HTTP_ERROR_FALLBACK_ERROR_CODE};401`;
|
|
36
|
+
function unauthorized() {
|
|
37
|
+
if (!process.env.__NEXT_EXPERIMENTAL_AUTH_INTERRUPTS) {
|
|
38
|
+
throw Object.defineProperty(new Error(`\`unauthorized()\` is experimental and only allowed to be used when \`experimental.authInterrupts\` is enabled.`), "__NEXT_ERROR_CODE", {
|
|
39
|
+
value: "E411",
|
|
40
|
+
enumerable: false,
|
|
41
|
+
configurable: true
|
|
42
|
+
});
|
|
43
|
+
}
|
|
44
|
+
const error = Object.defineProperty(new Error(DIGEST), "__NEXT_ERROR_CODE", {
|
|
45
|
+
value: "E394",
|
|
46
|
+
enumerable: false,
|
|
47
|
+
configurable: true
|
|
48
|
+
});
|
|
49
|
+
error.digest = DIGEST;
|
|
50
|
+
throw error;
|
|
51
|
+
}
|
|
52
|
+
if ((typeof exports$1.default === 'function' || typeof exports$1.default === 'object' && exports$1.default !== null) && typeof exports$1.default.__esModule === 'undefined') {
|
|
53
|
+
Object.defineProperty(exports$1.default, '__esModule', {
|
|
54
|
+
value: true
|
|
55
|
+
});
|
|
56
|
+
Object.assign(exports$1.default, exports$1);
|
|
57
|
+
module.exports = exports$1.default;
|
|
58
|
+
}
|
|
59
|
+
} (unauthorized, unauthorized.exports));
|
|
60
|
+
return unauthorized.exports;
|
|
61
|
+
}
|
|
62
|
+
|
|
63
|
+
export { requireUnauthorized as __require };
|
|
@@ -0,0 +1,47 @@
|
|
|
1
|
+
import { __module as unrecognizedActionError } from '../../../../../_virtual/unrecognized-action-error.js';
|
|
2
|
+
|
|
3
|
+
var hasRequiredUnrecognizedActionError;
|
|
4
|
+
|
|
5
|
+
function requireUnrecognizedActionError () {
|
|
6
|
+
if (hasRequiredUnrecognizedActionError) return unrecognizedActionError.exports;
|
|
7
|
+
hasRequiredUnrecognizedActionError = 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
|
+
UnrecognizedActionError: function () {
|
|
21
|
+
return UnrecognizedActionError;
|
|
22
|
+
},
|
|
23
|
+
unstable_isUnrecognizedActionError: function () {
|
|
24
|
+
return unstable_isUnrecognizedActionError;
|
|
25
|
+
}
|
|
26
|
+
});
|
|
27
|
+
class UnrecognizedActionError extends Error {
|
|
28
|
+
constructor(...args) {
|
|
29
|
+
super(...args);
|
|
30
|
+
this.name = 'UnrecognizedActionError';
|
|
31
|
+
}
|
|
32
|
+
}
|
|
33
|
+
function unstable_isUnrecognizedActionError(error) {
|
|
34
|
+
return !!(error && typeof error === 'object' && error instanceof UnrecognizedActionError);
|
|
35
|
+
}
|
|
36
|
+
if ((typeof exports$1.default === 'function' || typeof exports$1.default === 'object' && exports$1.default !== null) && typeof exports$1.default.__esModule === 'undefined') {
|
|
37
|
+
Object.defineProperty(exports$1.default, '__esModule', {
|
|
38
|
+
value: true
|
|
39
|
+
});
|
|
40
|
+
Object.assign(exports$1.default, exports$1);
|
|
41
|
+
module.exports = exports$1.default;
|
|
42
|
+
}
|
|
43
|
+
} (unrecognizedActionError, unrecognizedActionError.exports));
|
|
44
|
+
return unrecognizedActionError.exports;
|
|
45
|
+
}
|
|
46
|
+
|
|
47
|
+
export { requireUnrecognizedActionError as __require };
|
|
@@ -0,0 +1,42 @@
|
|
|
1
|
+
import { __module as unstableRethrow_browser } from '../../../../../_virtual/unstable-rethrow.browser.js';
|
|
2
|
+
import { __require as requireBailoutToCsr } from '../../shared/lib/lazy-dynamic/bailout-to-csr.js';
|
|
3
|
+
import { __require as requireIsNextRouterError } from './is-next-router-error.js';
|
|
4
|
+
|
|
5
|
+
var hasRequiredUnstableRethrow_browser;
|
|
6
|
+
|
|
7
|
+
function requireUnstableRethrow_browser () {
|
|
8
|
+
if (hasRequiredUnstableRethrow_browser) return unstableRethrow_browser.exports;
|
|
9
|
+
hasRequiredUnstableRethrow_browser = 1;
|
|
10
|
+
(function (module, exports$1) {
|
|
11
|
+
|
|
12
|
+
Object.defineProperty(exports$1, "__esModule", {
|
|
13
|
+
value: true
|
|
14
|
+
});
|
|
15
|
+
Object.defineProperty(exports$1, "unstable_rethrow", {
|
|
16
|
+
enumerable: true,
|
|
17
|
+
get: function () {
|
|
18
|
+
return unstable_rethrow;
|
|
19
|
+
}
|
|
20
|
+
});
|
|
21
|
+
const _bailouttocsr = requireBailoutToCsr();
|
|
22
|
+
const _isnextroutererror = requireIsNextRouterError();
|
|
23
|
+
function unstable_rethrow(error) {
|
|
24
|
+
if ((0, _isnextroutererror.isNextRouterError)(error) || (0, _bailouttocsr.isBailoutToCSRError)(error)) {
|
|
25
|
+
throw error;
|
|
26
|
+
}
|
|
27
|
+
if (error instanceof Error && 'cause' in error) {
|
|
28
|
+
unstable_rethrow(error.cause);
|
|
29
|
+
}
|
|
30
|
+
}
|
|
31
|
+
if ((typeof exports$1.default === 'function' || typeof exports$1.default === 'object' && exports$1.default !== null) && typeof exports$1.default.__esModule === 'undefined') {
|
|
32
|
+
Object.defineProperty(exports$1.default, '__esModule', {
|
|
33
|
+
value: true
|
|
34
|
+
});
|
|
35
|
+
Object.assign(exports$1.default, exports$1);
|
|
36
|
+
module.exports = exports$1.default;
|
|
37
|
+
}
|
|
38
|
+
} (unstableRethrow_browser, unstableRethrow_browser.exports));
|
|
39
|
+
return unstableRethrow_browser.exports;
|
|
40
|
+
}
|
|
41
|
+
|
|
42
|
+
export { requireUnstableRethrow_browser as __require };
|
|
@@ -0,0 +1,41 @@
|
|
|
1
|
+
import { __module as unstableRethrow } from '../../../../../_virtual/unstable-rethrow.js';
|
|
2
|
+
import { __require as requireUnstableRethrow_server } from './unstable-rethrow.server.js';
|
|
3
|
+
import { __require as requireUnstableRethrow_browser } from './unstable-rethrow.browser.js';
|
|
4
|
+
|
|
5
|
+
/**
|
|
6
|
+
* This function should be used to rethrow internal Next.js errors so that they can be handled by the framework.
|
|
7
|
+
* When wrapping an API that uses errors to interrupt control flow, you should use this function before you do any error handling.
|
|
8
|
+
* This function will rethrow the error if it is a Next.js error so it can be handled, otherwise it will do nothing.
|
|
9
|
+
*
|
|
10
|
+
* Read more: [Next.js Docs: `unstable_rethrow`](https://nextjs.org/docs/app/api-reference/functions/unstable_rethrow)
|
|
11
|
+
*/
|
|
12
|
+
|
|
13
|
+
var hasRequiredUnstableRethrow;
|
|
14
|
+
|
|
15
|
+
function requireUnstableRethrow () {
|
|
16
|
+
if (hasRequiredUnstableRethrow) return unstableRethrow.exports;
|
|
17
|
+
hasRequiredUnstableRethrow = 1;
|
|
18
|
+
(function (module, exports$1) {
|
|
19
|
+
|
|
20
|
+
Object.defineProperty(exports$1, "__esModule", {
|
|
21
|
+
value: true
|
|
22
|
+
});
|
|
23
|
+
Object.defineProperty(exports$1, "unstable_rethrow", {
|
|
24
|
+
enumerable: true,
|
|
25
|
+
get: function () {
|
|
26
|
+
return unstable_rethrow;
|
|
27
|
+
}
|
|
28
|
+
});
|
|
29
|
+
const unstable_rethrow = typeof window === 'undefined' ? requireUnstableRethrow_server().unstable_rethrow : requireUnstableRethrow_browser().unstable_rethrow;
|
|
30
|
+
if ((typeof exports$1.default === 'function' || typeof exports$1.default === 'object' && exports$1.default !== null) && typeof exports$1.default.__esModule === 'undefined') {
|
|
31
|
+
Object.defineProperty(exports$1.default, '__esModule', {
|
|
32
|
+
value: true
|
|
33
|
+
});
|
|
34
|
+
Object.assign(exports$1.default, exports$1);
|
|
35
|
+
module.exports = exports$1.default;
|
|
36
|
+
}
|
|
37
|
+
} (unstableRethrow, unstableRethrow.exports));
|
|
38
|
+
return unstableRethrow.exports;
|
|
39
|
+
}
|
|
40
|
+
|
|
41
|
+
export { requireUnstableRethrow as __require };
|