@amoa/casting 0.1.5 → 0.1.7
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 +10 -9
- package/dist/export/index.js.map +1 -0
- package/dist/form/buttons/index.js +3 -2
- package/dist/form/buttons/index.js.map +1 -0
- package/dist/form/buttons/index.module.css.js +1 -0
- package/dist/form/buttons/index.module.css.js.map +1 -0
- package/dist/form/caption/index.js +3 -2
- package/dist/form/caption/index.js.map +1 -0
- package/dist/form/caption/index.module.css.js +1 -0
- package/dist/form/caption/index.module.css.js.map +1 -0
- package/dist/form/description/index.js +3 -2
- package/dist/form/description/index.js.map +1 -0
- package/dist/form/description/index.module.css.js +1 -0
- package/dist/form/description/index.module.css.js.map +1 -0
- package/dist/form/email/index.js +4 -3
- package/dist/form/email/index.js.map +1 -0
- package/dist/form/index.js +5 -4
- package/dist/form/index.js.map +1 -0
- package/dist/form/index.module.css.js +1 -0
- package/dist/form/index.module.css.js.map +1 -0
- package/dist/form/inputs/index.js +3 -2
- package/dist/form/inputs/index.js.map +1 -0
- package/dist/form/inputs/index.module.css.js +1 -0
- package/dist/form/inputs/index.module.css.js.map +1 -0
- package/dist/form/password/index.js +4 -3
- package/dist/form/password/index.js.map +1 -0
- package/dist/index.css +1 -1708
- package/dist/waiter/index.js +12 -13
- package/dist/waiter/index.js.map +1 -0
- package/dist/waiter/index.module.css.js +1 -0
- package/dist/waiter/index.module.css.js.map +1 -0
- package/package.json +4 -3
- 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 -115
- package/dist/packages/ingots/src/address/index.module.css.js +0 -3
- 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 -3
- package/dist/packages/ingots/src/button/index.js +0 -56
- package/dist/packages/ingots/src/button/index.module.css.js +0 -3
- package/dist/packages/ingots/src/checkbox/index.js +0 -47
- package/dist/packages/ingots/src/checkbox/index.module.css.js +0 -3
- package/dist/packages/ingots/src/date/erase/index.js +0 -22
- package/dist/packages/ingots/src/date/erase/index.module.css.js +0 -3
- package/dist/packages/ingots/src/date/input/index.js +0 -113
- package/dist/packages/ingots/src/date/input/index.module.css.js +0 -3
- 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 -3
- 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 -3
- 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 -3
- package/dist/packages/ingots/src/date/picker/index.js +0 -154
- package/dist/packages/ingots/src/date/picker/index.module.css.js +0 -3
- 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 -3
- 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 -3
- 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 -3
- package/dist/packages/ingots/src/file/index.js +0 -34
- package/dist/packages/ingots/src/file/index.module.css.js +0 -3
- package/dist/packages/ingots/src/file/input/index.js +0 -261
- package/dist/packages/ingots/src/file/input/index.module.css.js +0 -3
- 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 -3
- 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 -3
- package/dist/packages/ingots/src/select/card/index.js +0 -33
- package/dist/packages/ingots/src/select/card/index.module.css.js +0 -3
- package/dist/packages/ingots/src/select/category/index.js +0 -13
- package/dist/packages/ingots/src/select/category/index.module.css.js +0 -3
- 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 -3
- package/dist/packages/ingots/src/select/option/index.js +0 -35
- package/dist/packages/ingots/src/select/option/index.module.css.js +0 -3
- package/dist/packages/ingots/src/select/options/index.js +0 -59
- package/dist/packages/ingots/src/select/options/index.module.css.js +0 -3
- 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 -3
- package/dist/packages/ingots/src/text/index.js +0 -92
- package/dist/packages/ingots/src/text/index.module.css.js +0 -3
- package/dist/packages/ingots/src/textarea/index.js +0 -62
- package/dist/packages/ingots/src/textarea/index.module.css.js +0 -3
- package/dist/packages/ingots/src/toggle/index.js +0 -43
- package/dist/packages/ingots/src/toggle/index.module.css.js +0 -3
- 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
package/dist/_virtual/utils.js
DELETED
|
@@ -1,37 +0,0 @@
|
|
|
1
|
-
var development = {
|
|
2
|
-
app: "http://localhost:3000",
|
|
3
|
-
summary: "http://localhost:3001",
|
|
4
|
-
mondeviscopro: "http://localhost:3002",
|
|
5
|
-
hub: "http://localhost:3003",
|
|
6
|
-
api: "http://localhost:9000",
|
|
7
|
-
amoapro: "https://app.amoa.fr/",
|
|
8
|
-
ban: "https://data.geopf.fr/geocodage/",
|
|
9
|
-
cdn: "https://cdn.amoa.fr"
|
|
10
|
-
};
|
|
11
|
-
var integration = {
|
|
12
|
-
app: "https://app-integration.mondeviscopro.fr",
|
|
13
|
-
summary: "https://recapitulatif-integration.mondeviscopro.fr",
|
|
14
|
-
mondeviscopro: "https://integration.mondeviscopro.fr",
|
|
15
|
-
hub: "https://hub-integration.amoa.fr",
|
|
16
|
-
api: "https://api-integration.amoa.fr",
|
|
17
|
-
amoapro: "https://app.amoa.fr/",
|
|
18
|
-
ban: "https://data.geopf.fr/geocodage/",
|
|
19
|
-
cdn: "https://cdn.amoa.fr"
|
|
20
|
-
};
|
|
21
|
-
var production = {
|
|
22
|
-
app: "https://app.mondeviscopro.fr",
|
|
23
|
-
summary: "https://recapitulatif.mondeviscopro.fr",
|
|
24
|
-
mondeviscopro: "https://mondeviscopro.fr",
|
|
25
|
-
hub: "https://hub.amoa.fr",
|
|
26
|
-
api: "https://api.amoa.fr",
|
|
27
|
-
amoapro: "https://app.amoa.fr/",
|
|
28
|
-
ban: "https://data.geopf.fr/geocodage/",
|
|
29
|
-
cdn: "https://cdn.amoa.fr"
|
|
30
|
-
};
|
|
31
|
-
var config = {
|
|
32
|
-
development: development,
|
|
33
|
-
integration: integration,
|
|
34
|
-
production: production
|
|
35
|
-
};
|
|
36
|
-
|
|
37
|
-
export { config as default, development, integration, production };
|
|
@@ -1,16 +0,0 @@
|
|
|
1
|
-
import { __exports as _interop_require_default } from '../../../../_virtual/_interop_require_default.js';
|
|
2
|
-
|
|
3
|
-
var hasRequired_interop_require_default;
|
|
4
|
-
|
|
5
|
-
function require_interop_require_default () {
|
|
6
|
-
if (hasRequired_interop_require_default) return _interop_require_default;
|
|
7
|
-
hasRequired_interop_require_default = 1;
|
|
8
|
-
|
|
9
|
-
function _interop_require_default$1(obj) {
|
|
10
|
-
return obj && obj.__esModule ? obj : { default: obj };
|
|
11
|
-
}
|
|
12
|
-
_interop_require_default._ = _interop_require_default$1;
|
|
13
|
-
return _interop_require_default;
|
|
14
|
-
}
|
|
15
|
-
|
|
16
|
-
export { require_interop_require_default as __require };
|
|
@@ -1,48 +0,0 @@
|
|
|
1
|
-
import { __exports as _interop_require_wildcard } from '../../../../_virtual/_interop_require_wildcard.js';
|
|
2
|
-
|
|
3
|
-
var hasRequired_interop_require_wildcard;
|
|
4
|
-
|
|
5
|
-
function require_interop_require_wildcard () {
|
|
6
|
-
if (hasRequired_interop_require_wildcard) return _interop_require_wildcard;
|
|
7
|
-
hasRequired_interop_require_wildcard = 1;
|
|
8
|
-
|
|
9
|
-
function _getRequireWildcardCache(nodeInterop) {
|
|
10
|
-
if (typeof WeakMap !== "function") return null;
|
|
11
|
-
|
|
12
|
-
var cacheBabelInterop = new WeakMap();
|
|
13
|
-
var cacheNodeInterop = new WeakMap();
|
|
14
|
-
|
|
15
|
-
return (_getRequireWildcardCache = function(nodeInterop) {
|
|
16
|
-
return nodeInterop ? cacheNodeInterop : cacheBabelInterop;
|
|
17
|
-
})(nodeInterop);
|
|
18
|
-
}
|
|
19
|
-
function _interop_require_wildcard$1(obj, nodeInterop) {
|
|
20
|
-
if (!nodeInterop && obj && obj.__esModule) return obj;
|
|
21
|
-
if (obj === null || typeof obj !== "object" && typeof obj !== "function") return { default: obj };
|
|
22
|
-
|
|
23
|
-
var cache = _getRequireWildcardCache(nodeInterop);
|
|
24
|
-
|
|
25
|
-
if (cache && cache.has(obj)) return cache.get(obj);
|
|
26
|
-
|
|
27
|
-
var newObj = { __proto__: null };
|
|
28
|
-
var hasPropertyDescriptor = Object.defineProperty && Object.getOwnPropertyDescriptor;
|
|
29
|
-
|
|
30
|
-
for (var key in obj) {
|
|
31
|
-
if (key !== "default" && Object.prototype.hasOwnProperty.call(obj, key)) {
|
|
32
|
-
var desc = hasPropertyDescriptor ? Object.getOwnPropertyDescriptor(obj, key) : null;
|
|
33
|
-
if (desc && (desc.get || desc.set)) Object.defineProperty(newObj, key, desc);
|
|
34
|
-
else newObj[key] = obj[key];
|
|
35
|
-
}
|
|
36
|
-
}
|
|
37
|
-
|
|
38
|
-
newObj.default = obj;
|
|
39
|
-
|
|
40
|
-
if (cache) cache.set(obj, newObj);
|
|
41
|
-
|
|
42
|
-
return newObj;
|
|
43
|
-
}
|
|
44
|
-
_interop_require_wildcard._ = _interop_require_wildcard$1;
|
|
45
|
-
return _interop_require_wildcard;
|
|
46
|
-
}
|
|
47
|
-
|
|
48
|
-
export { require_interop_require_wildcard as __require };
|
|
@@ -1,38 +0,0 @@
|
|
|
1
|
-
import { __module as addBasePath } from '../../../../_virtual/add-base-path.js';
|
|
2
|
-
import { __require as requireAddPathPrefix } from '../shared/lib/router/utils/add-path-prefix.js';
|
|
3
|
-
import { __require as requireNormalizeTrailingSlash } from './normalize-trailing-slash.js';
|
|
4
|
-
|
|
5
|
-
var hasRequiredAddBasePath;
|
|
6
|
-
|
|
7
|
-
function requireAddBasePath () {
|
|
8
|
-
if (hasRequiredAddBasePath) return addBasePath.exports;
|
|
9
|
-
hasRequiredAddBasePath = 1;
|
|
10
|
-
(function (module, exports$1) {
|
|
11
|
-
|
|
12
|
-
Object.defineProperty(exports$1, "__esModule", {
|
|
13
|
-
value: true
|
|
14
|
-
});
|
|
15
|
-
Object.defineProperty(exports$1, "addBasePath", {
|
|
16
|
-
enumerable: true,
|
|
17
|
-
get: function () {
|
|
18
|
-
return addBasePath;
|
|
19
|
-
}
|
|
20
|
-
});
|
|
21
|
-
const _addpathprefix = requireAddPathPrefix();
|
|
22
|
-
const _normalizetrailingslash = requireNormalizeTrailingSlash();
|
|
23
|
-
const basePath = process.env.__NEXT_ROUTER_BASEPATH || '';
|
|
24
|
-
function addBasePath(path, required) {
|
|
25
|
-
return (0, _normalizetrailingslash.normalizePathTrailingSlash)(process.env.__NEXT_MANUAL_CLIENT_BASE_PATH && !required ? path : (0, _addpathprefix.addPathPrefix)(path, basePath));
|
|
26
|
-
}
|
|
27
|
-
if ((typeof exports$1.default === 'function' || typeof exports$1.default === 'object' && exports$1.default !== null) && typeof exports$1.default.__esModule === 'undefined') {
|
|
28
|
-
Object.defineProperty(exports$1.default, '__esModule', {
|
|
29
|
-
value: true
|
|
30
|
-
});
|
|
31
|
-
Object.assign(exports$1.default, exports$1);
|
|
32
|
-
module.exports = exports$1.default;
|
|
33
|
-
}
|
|
34
|
-
} (addBasePath, addBasePath.exports));
|
|
35
|
-
return addBasePath.exports;
|
|
36
|
-
}
|
|
37
|
-
|
|
38
|
-
export { requireAddBasePath as __require };
|
|
@@ -1,39 +0,0 @@
|
|
|
1
|
-
import { __module as addLocale } from '../../../../_virtual/add-locale.js';
|
|
2
|
-
import { __require as requireNormalizeTrailingSlash } from './normalize-trailing-slash.js';
|
|
3
|
-
import { __require as requireAddLocale$1 } from '../shared/lib/router/utils/add-locale.js';
|
|
4
|
-
|
|
5
|
-
var hasRequiredAddLocale;
|
|
6
|
-
|
|
7
|
-
function requireAddLocale () {
|
|
8
|
-
if (hasRequiredAddLocale) return addLocale.exports;
|
|
9
|
-
hasRequiredAddLocale = 1;
|
|
10
|
-
(function (module, exports$1) {
|
|
11
|
-
|
|
12
|
-
Object.defineProperty(exports$1, "__esModule", {
|
|
13
|
-
value: true
|
|
14
|
-
});
|
|
15
|
-
Object.defineProperty(exports$1, "addLocale", {
|
|
16
|
-
enumerable: true,
|
|
17
|
-
get: function () {
|
|
18
|
-
return addLocale;
|
|
19
|
-
}
|
|
20
|
-
});
|
|
21
|
-
const _normalizetrailingslash = requireNormalizeTrailingSlash();
|
|
22
|
-
const addLocale = (path, ...args) => {
|
|
23
|
-
if (process.env.__NEXT_I18N_SUPPORT) {
|
|
24
|
-
return (0, _normalizetrailingslash.normalizePathTrailingSlash)(requireAddLocale$1().addLocale(path, ...args));
|
|
25
|
-
}
|
|
26
|
-
return path;
|
|
27
|
-
};
|
|
28
|
-
if ((typeof exports$1.default === 'function' || typeof exports$1.default === 'object' && exports$1.default !== null) && typeof exports$1.default.__esModule === 'undefined') {
|
|
29
|
-
Object.defineProperty(exports$1.default, '__esModule', {
|
|
30
|
-
value: true
|
|
31
|
-
});
|
|
32
|
-
Object.assign(exports$1.default, exports$1);
|
|
33
|
-
module.exports = exports$1.default;
|
|
34
|
-
}
|
|
35
|
-
} (addLocale, addLocale.exports));
|
|
36
|
-
return addLocale.exports;
|
|
37
|
-
}
|
|
38
|
-
|
|
39
|
-
export { requireAddLocale as __require };
|
|
@@ -1,112 +0,0 @@
|
|
|
1
|
-
import { __module as appRouterHeaders } from '../../../../../_virtual/app-router-headers.js';
|
|
2
|
-
|
|
3
|
-
var hasRequiredAppRouterHeaders;
|
|
4
|
-
|
|
5
|
-
function requireAppRouterHeaders () {
|
|
6
|
-
if (hasRequiredAppRouterHeaders) return appRouterHeaders.exports;
|
|
7
|
-
hasRequiredAppRouterHeaders = 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
|
-
ACTION_HEADER: function () {
|
|
21
|
-
return ACTION_HEADER;
|
|
22
|
-
},
|
|
23
|
-
FLIGHT_HEADERS: function () {
|
|
24
|
-
return FLIGHT_HEADERS;
|
|
25
|
-
},
|
|
26
|
-
NEXT_ACTION_NOT_FOUND_HEADER: function () {
|
|
27
|
-
return NEXT_ACTION_NOT_FOUND_HEADER;
|
|
28
|
-
},
|
|
29
|
-
NEXT_ACTION_REVALIDATED_HEADER: function () {
|
|
30
|
-
return NEXT_ACTION_REVALIDATED_HEADER;
|
|
31
|
-
},
|
|
32
|
-
NEXT_DID_POSTPONE_HEADER: function () {
|
|
33
|
-
return NEXT_DID_POSTPONE_HEADER;
|
|
34
|
-
},
|
|
35
|
-
NEXT_HMR_REFRESH_HASH_COOKIE: function () {
|
|
36
|
-
return NEXT_HMR_REFRESH_HASH_COOKIE;
|
|
37
|
-
},
|
|
38
|
-
NEXT_HMR_REFRESH_HEADER: function () {
|
|
39
|
-
return NEXT_HMR_REFRESH_HEADER;
|
|
40
|
-
},
|
|
41
|
-
NEXT_HTML_REQUEST_ID_HEADER: function () {
|
|
42
|
-
return NEXT_HTML_REQUEST_ID_HEADER;
|
|
43
|
-
},
|
|
44
|
-
NEXT_IS_PRERENDER_HEADER: function () {
|
|
45
|
-
return NEXT_IS_PRERENDER_HEADER;
|
|
46
|
-
},
|
|
47
|
-
NEXT_REQUEST_ID_HEADER: function () {
|
|
48
|
-
return NEXT_REQUEST_ID_HEADER;
|
|
49
|
-
},
|
|
50
|
-
NEXT_REWRITTEN_PATH_HEADER: function () {
|
|
51
|
-
return NEXT_REWRITTEN_PATH_HEADER;
|
|
52
|
-
},
|
|
53
|
-
NEXT_REWRITTEN_QUERY_HEADER: function () {
|
|
54
|
-
return NEXT_REWRITTEN_QUERY_HEADER;
|
|
55
|
-
},
|
|
56
|
-
NEXT_ROUTER_PREFETCH_HEADER: function () {
|
|
57
|
-
return NEXT_ROUTER_PREFETCH_HEADER;
|
|
58
|
-
},
|
|
59
|
-
NEXT_ROUTER_SEGMENT_PREFETCH_HEADER: function () {
|
|
60
|
-
return NEXT_ROUTER_SEGMENT_PREFETCH_HEADER;
|
|
61
|
-
},
|
|
62
|
-
NEXT_ROUTER_STALE_TIME_HEADER: function () {
|
|
63
|
-
return NEXT_ROUTER_STALE_TIME_HEADER;
|
|
64
|
-
},
|
|
65
|
-
NEXT_ROUTER_STATE_TREE_HEADER: function () {
|
|
66
|
-
return NEXT_ROUTER_STATE_TREE_HEADER;
|
|
67
|
-
},
|
|
68
|
-
NEXT_RSC_UNION_QUERY: function () {
|
|
69
|
-
return NEXT_RSC_UNION_QUERY;
|
|
70
|
-
},
|
|
71
|
-
NEXT_URL: function () {
|
|
72
|
-
return NEXT_URL;
|
|
73
|
-
},
|
|
74
|
-
RSC_CONTENT_TYPE_HEADER: function () {
|
|
75
|
-
return RSC_CONTENT_TYPE_HEADER;
|
|
76
|
-
},
|
|
77
|
-
RSC_HEADER: function () {
|
|
78
|
-
return RSC_HEADER;
|
|
79
|
-
}
|
|
80
|
-
});
|
|
81
|
-
const RSC_HEADER = 'rsc';
|
|
82
|
-
const ACTION_HEADER = 'next-action';
|
|
83
|
-
const NEXT_ROUTER_STATE_TREE_HEADER = 'next-router-state-tree';
|
|
84
|
-
const NEXT_ROUTER_PREFETCH_HEADER = 'next-router-prefetch';
|
|
85
|
-
const NEXT_ROUTER_SEGMENT_PREFETCH_HEADER = 'next-router-segment-prefetch';
|
|
86
|
-
const NEXT_HMR_REFRESH_HEADER = 'next-hmr-refresh';
|
|
87
|
-
const NEXT_HMR_REFRESH_HASH_COOKIE = '__next_hmr_refresh_hash__';
|
|
88
|
-
const NEXT_URL = 'next-url';
|
|
89
|
-
const RSC_CONTENT_TYPE_HEADER = 'text/x-component';
|
|
90
|
-
const FLIGHT_HEADERS = [RSC_HEADER, NEXT_ROUTER_STATE_TREE_HEADER, NEXT_ROUTER_PREFETCH_HEADER, NEXT_HMR_REFRESH_HEADER, NEXT_ROUTER_SEGMENT_PREFETCH_HEADER];
|
|
91
|
-
const NEXT_RSC_UNION_QUERY = '_rsc';
|
|
92
|
-
const NEXT_ROUTER_STALE_TIME_HEADER = 'x-nextjs-stale-time';
|
|
93
|
-
const NEXT_DID_POSTPONE_HEADER = 'x-nextjs-postponed';
|
|
94
|
-
const NEXT_REWRITTEN_PATH_HEADER = 'x-nextjs-rewritten-path';
|
|
95
|
-
const NEXT_REWRITTEN_QUERY_HEADER = 'x-nextjs-rewritten-query';
|
|
96
|
-
const NEXT_IS_PRERENDER_HEADER = 'x-nextjs-prerender';
|
|
97
|
-
const NEXT_ACTION_NOT_FOUND_HEADER = 'x-nextjs-action-not-found';
|
|
98
|
-
const NEXT_REQUEST_ID_HEADER = 'x-nextjs-request-id';
|
|
99
|
-
const NEXT_HTML_REQUEST_ID_HEADER = 'x-nextjs-html-request-id';
|
|
100
|
-
const NEXT_ACTION_REVALIDATED_HEADER = 'x-action-revalidated';
|
|
101
|
-
if ((typeof exports$1.default === 'function' || typeof exports$1.default === 'object' && exports$1.default !== null) && typeof exports$1.default.__esModule === 'undefined') {
|
|
102
|
-
Object.defineProperty(exports$1.default, '__esModule', {
|
|
103
|
-
value: true
|
|
104
|
-
});
|
|
105
|
-
Object.assign(exports$1.default, exports$1);
|
|
106
|
-
module.exports = exports$1.default;
|
|
107
|
-
}
|
|
108
|
-
} (appRouterHeaders, appRouterHeaders.exports));
|
|
109
|
-
return appRouterHeaders.exports;
|
|
110
|
-
}
|
|
111
|
-
|
|
112
|
-
export { requireAppRouterHeaders as __require };
|
|
@@ -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 };
|