lkd-web-kit 0.0.8 → 0.0.10
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.cjs +1 -0
- package/dist/_virtual/_commonjsHelpers.js +6 -1
- package/dist/_virtual/_interop_require_default.cjs +1 -0
- package/dist/_virtual/_interop_require_default.js +4 -1
- package/dist/_virtual/_interop_require_wildcard.cjs +1 -0
- package/dist/_virtual/_interop_require_wildcard.js +4 -1
- package/dist/_virtual/action-async-storage-instance.cjs +1 -0
- package/dist/_virtual/action-async-storage-instance.js +4 -1
- package/dist/_virtual/action-async-storage.external.cjs +1 -0
- package/dist/_virtual/action-async-storage.external.js +4 -1
- package/dist/_virtual/add-base-path.cjs +1 -0
- package/dist/_virtual/add-base-path.js +4 -1
- package/dist/_virtual/add-locale.cjs +1 -0
- package/dist/_virtual/add-locale.js +4 -1
- package/dist/_virtual/add-locale2.cjs +1 -0
- package/dist/_virtual/add-locale2.js +4 -1
- package/dist/_virtual/add-path-prefix.cjs +1 -0
- package/dist/_virtual/add-path-prefix.js +4 -1
- package/dist/_virtual/app-paths.cjs +1 -0
- package/dist/_virtual/app-paths.js +4 -1
- package/dist/_virtual/app-router-context.shared-runtime.cjs +1 -0
- package/dist/_virtual/app-router-context.shared-runtime.js +4 -1
- package/dist/_virtual/app-router-headers.cjs +1 -0
- package/dist/_virtual/app-router-headers.js +4 -1
- package/dist/_virtual/async-local-storage.cjs +1 -0
- package/dist/_virtual/async-local-storage.js +4 -1
- package/dist/_virtual/bailout-to-client-rendering.cjs +1 -0
- package/dist/_virtual/bailout-to-client-rendering.js +4 -1
- package/dist/_virtual/bailout-to-csr.cjs +1 -0
- package/dist/_virtual/bailout-to-csr.js +4 -1
- package/dist/_virtual/constants.cjs +1 -0
- package/dist/_virtual/constants.js +4 -1
- package/dist/_virtual/detect-domain-locale.cjs +1 -0
- package/dist/_virtual/detect-domain-locale.js +4 -1
- package/dist/_virtual/detect-domain-locale2.cjs +1 -0
- package/dist/_virtual/detect-domain-locale2.js +4 -1
- package/dist/_virtual/dynamic-rendering-utils.cjs +1 -0
- package/dist/_virtual/dynamic-rendering-utils.js +4 -1
- package/dist/_virtual/dynamic-rendering.cjs +1 -0
- package/dist/_virtual/dynamic-rendering.js +4 -1
- package/dist/_virtual/ensure-leading-slash.cjs +1 -0
- package/dist/_virtual/ensure-leading-slash.js +4 -1
- package/dist/_virtual/error-once.cjs +1 -0
- package/dist/_virtual/error-once.js +4 -1
- package/dist/_virtual/escape-regexp.cjs +1 -0
- package/dist/_virtual/escape-regexp.js +4 -1
- package/dist/_virtual/forbidden.cjs +1 -0
- package/dist/_virtual/forbidden.js +4 -1
- package/dist/_virtual/format-url.cjs +1 -0
- package/dist/_virtual/format-url.js +4 -1
- package/dist/_virtual/get-domain-locale.cjs +1 -0
- package/dist/_virtual/get-domain-locale.js +4 -1
- package/dist/_virtual/get-segment-value.cjs +1 -0
- package/dist/_virtual/get-segment-value.js +4 -1
- package/dist/_virtual/has-base-path.cjs +1 -0
- package/dist/_virtual/has-base-path.js +4 -1
- package/dist/_virtual/hooks-client-context.shared-runtime.cjs +1 -0
- package/dist/_virtual/hooks-client-context.shared-runtime.js +4 -1
- package/dist/_virtual/hooks-server-context.cjs +1 -0
- package/dist/_virtual/hooks-server-context.js +4 -1
- package/dist/_virtual/http-access-fallback.cjs +1 -0
- package/dist/_virtual/http-access-fallback.js +4 -1
- package/dist/_virtual/index.cjs +1 -0
- package/dist/_virtual/index.js +4 -1
- package/dist/_virtual/interception-routes.cjs +1 -0
- package/dist/_virtual/interception-routes.js +4 -1
- package/dist/_virtual/interpolate-as.cjs +1 -0
- package/dist/_virtual/interpolate-as.js +4 -1
- package/dist/_virtual/is-dynamic.cjs +1 -0
- package/dist/_virtual/is-dynamic.js +4 -1
- package/dist/_virtual/is-local-url.cjs +1 -0
- package/dist/_virtual/is-local-url.js +4 -1
- package/dist/_virtual/is-next-router-error.cjs +1 -0
- package/dist/_virtual/is-next-router-error.js +4 -1
- package/dist/_virtual/is-postpone.cjs +1 -0
- package/dist/_virtual/is-postpone.js +4 -1
- package/dist/_virtual/link.cjs +1 -0
- package/dist/_virtual/link.js +7 -1
- package/dist/_virtual/link2.cjs +1 -0
- package/dist/_virtual/link2.js +4 -1
- package/dist/_virtual/metadata-constants.cjs +1 -0
- package/dist/_virtual/metadata-constants.js +4 -1
- package/dist/_virtual/navigation.cjs +1 -0
- package/dist/_virtual/navigation.js +5 -1
- package/dist/_virtual/navigation.react-server.cjs +1 -0
- package/dist/_virtual/navigation.react-server.js +4 -1
- package/dist/_virtual/navigation2.cjs +1 -0
- package/dist/_virtual/navigation2.js +4 -1
- package/dist/_virtual/normalize-locale-path.cjs +1 -0
- package/dist/_virtual/normalize-locale-path.js +4 -1
- package/dist/_virtual/normalize-locale-path2.cjs +1 -0
- package/dist/_virtual/normalize-locale-path2.js +4 -1
- package/dist/_virtual/normalize-trailing-slash.cjs +1 -0
- package/dist/_virtual/normalize-trailing-slash.js +4 -1
- package/dist/_virtual/not-found.cjs +1 -0
- package/dist/_virtual/not-found.js +4 -1
- package/dist/_virtual/omit.cjs +1 -0
- package/dist/_virtual/omit.js +4 -1
- package/dist/_virtual/parse-path.cjs +1 -0
- package/dist/_virtual/parse-path.js +4 -1
- package/dist/_virtual/path-has-prefix.cjs +1 -0
- package/dist/_virtual/path-has-prefix.js +4 -1
- package/dist/_virtual/querystring.cjs +1 -0
- package/dist/_virtual/querystring.js +4 -1
- package/dist/_virtual/redirect-error.cjs +1 -0
- package/dist/_virtual/redirect-error.js +4 -1
- package/dist/_virtual/redirect-status-code.cjs +1 -0
- package/dist/_virtual/redirect-status-code.js +4 -1
- package/dist/_virtual/redirect.cjs +1 -0
- package/dist/_virtual/redirect.js +4 -1
- package/dist/_virtual/remove-trailing-slash.cjs +1 -0
- package/dist/_virtual/remove-trailing-slash.js +4 -1
- package/dist/_virtual/request-idle-callback.cjs +1 -0
- package/dist/_virtual/request-idle-callback.js +4 -1
- package/dist/_virtual/resolve-href.cjs +1 -0
- package/dist/_virtual/resolve-href.js +4 -1
- package/dist/_virtual/route-matcher.cjs +1 -0
- package/dist/_virtual/route-matcher.js +4 -1
- package/dist/_virtual/route-regex.cjs +1 -0
- package/dist/_virtual/route-regex.js +4 -1
- package/dist/_virtual/router-context.shared-runtime.cjs +1 -0
- package/dist/_virtual/router-context.shared-runtime.js +4 -1
- package/dist/_virtual/scheduler.cjs +1 -0
- package/dist/_virtual/scheduler.js +4 -1
- package/dist/_virtual/segment.cjs +1 -0
- package/dist/_virtual/segment.js +4 -1
- package/dist/_virtual/server-inserted-html.shared-runtime.cjs +1 -0
- package/dist/_virtual/server-inserted-html.shared-runtime.js +4 -1
- package/dist/_virtual/sorted-routes.cjs +1 -0
- package/dist/_virtual/sorted-routes.js +4 -1
- package/dist/_virtual/static-generation-bailout.cjs +1 -0
- package/dist/_virtual/static-generation-bailout.js +4 -1
- package/dist/_virtual/unauthorized.cjs +1 -0
- package/dist/_virtual/unauthorized.js +4 -1
- package/dist/_virtual/unstable-rethrow.browser.cjs +1 -0
- package/dist/_virtual/unstable-rethrow.browser.js +4 -1
- package/dist/_virtual/unstable-rethrow.cjs +1 -0
- package/dist/_virtual/unstable-rethrow.js +4 -1
- package/dist/_virtual/unstable-rethrow.server.cjs +1 -0
- package/dist/_virtual/unstable-rethrow.server.js +4 -1
- package/dist/_virtual/use-intersection.cjs +1 -0
- package/dist/_virtual/use-intersection.js +4 -1
- package/dist/_virtual/use-merged-ref.cjs +1 -0
- package/dist/_virtual/use-merged-ref.js +4 -1
- package/dist/_virtual/utils.cjs +1 -0
- package/dist/_virtual/utils.js +4 -1
- package/dist/_virtual/work-async-storage-instance.cjs +1 -0
- package/dist/_virtual/work-async-storage-instance.js +4 -1
- package/dist/_virtual/work-async-storage.external.cjs +1 -0
- package/dist/_virtual/work-async-storage.external.js +4 -1
- package/dist/_virtual/work-unit-async-storage-instance.cjs +1 -0
- package/dist/_virtual/work-unit-async-storage-instance.js +4 -1
- package/dist/_virtual/work-unit-async-storage.external.cjs +1 -0
- package/dist/_virtual/work-unit-async-storage.external.js +4 -1
- package/dist/components/EmptyState/index.cjs +1 -0
- package/dist/components/EmptyState/index.js +36 -1
- package/dist/components/Icon.cjs +1 -0
- package/dist/components/Icon.js +54 -1
- package/dist/components/InfinityLoader/index.cjs +1 -0
- package/dist/components/InfinityLoader/index.js +6 -1
- package/dist/components/NavItems.cjs +1 -0
- package/dist/components/NavItems.js +36 -1
- package/dist/components/SelectInfinity/index.cjs +1 -0
- package/dist/components/SelectInfinity/index.js +106 -1
- package/dist/consts/http-status.cjs +1 -0
- package/dist/consts/http-status.js +4 -1
- package/dist/consts/revalidate.cjs +1 -0
- package/dist/consts/revalidate.js +4 -1
- package/dist/contexts/NavigationHistoryContext/index.cjs +1 -0
- package/dist/contexts/NavigationHistoryContext/index.js +47 -1
- package/dist/contexts/PageDataContext/index.cjs +1 -0
- package/dist/contexts/PageDataContext/index.js +15 -1
- package/dist/form/Form.cjs +1 -0
- package/dist/form/Form.js +21 -1
- package/dist/form/FormButtonSubmit.cjs +1 -0
- package/dist/form/FormButtonSubmit.js +18 -1
- package/dist/form/utils/nullableInput.cjs +1 -0
- package/dist/form/utils/nullableInput.js +9 -1
- package/dist/form/utils/zodValidator.cjs +1 -0
- package/dist/form/utils/zodValidator.js +9 -1
- package/dist/hocs/withForm.cjs +1 -0
- package/dist/hocs/withForm.js +47 -1
- package/dist/hocs/withModalManager.cjs +1 -0
- package/dist/hocs/withModalManager.js +28 -1
- package/dist/hooks/useFetchNextPageOnScroll.cjs +1 -0
- package/dist/hooks/useFetchNextPageOnScroll.js +17 -1
- package/dist/hooks/useOnScrollProgress.cjs +1 -0
- package/dist/hooks/useOnScrollProgress.js +18 -1
- package/dist/index.cjs +1 -0
- package/dist/index.js +60 -1
- package/dist/mantine/breakpointsWithPx.cjs +1 -0
- package/dist/mantine/breakpointsWithPx.js +11 -1
- package/dist/mantine/toTailwindColors.cjs +1 -0
- package/dist/mantine/toTailwindColors.js +10 -1
- package/dist/node_modules/@swc/helpers/cjs/_interop_require_default.cjs +1 -0
- package/dist/node_modules/@swc/helpers/cjs/_interop_require_default.js +13 -1
- package/dist/node_modules/@swc/helpers/cjs/_interop_require_wildcard.cjs +1 -0
- package/dist/node_modules/@swc/helpers/cjs/_interop_require_wildcard.js +30 -1
- package/dist/node_modules/next/dist/client/add-base-path.cjs +1 -0
- package/dist/node_modules/next/dist/client/add-base-path.js +24 -1
- package/dist/node_modules/next/dist/client/add-locale.cjs +1 -0
- package/dist/node_modules/next/dist/client/add-locale.js +25 -1
- package/dist/node_modules/next/dist/client/components/app-router-headers.cjs +1 -0
- package/dist/node_modules/next/dist/client/components/app-router-headers.js +76 -1
- package/dist/node_modules/next/dist/client/components/bailout-to-client-rendering.cjs +1 -0
- package/dist/node_modules/next/dist/client/components/bailout-to-client-rendering.js +30 -1
- package/dist/node_modules/next/dist/client/components/forbidden.cjs +1 -0
- package/dist/node_modules/next/dist/client/components/forbidden.js +34 -1
- package/dist/node_modules/next/dist/client/components/hooks-server-context.cjs +1 -0
- package/dist/node_modules/next/dist/client/components/hooks-server-context.js +36 -1
- package/dist/node_modules/next/dist/client/components/http-access-fallback/http-access-fallback.cjs +1 -0
- package/dist/node_modules/next/dist/client/components/http-access-fallback/http-access-fallback.js +63 -1
- package/dist/node_modules/next/dist/client/components/is-next-router-error.cjs +1 -0
- package/dist/node_modules/next/dist/client/components/is-next-router-error.js +24 -1
- package/dist/node_modules/next/dist/client/components/navigation.cjs +1 -0
- package/dist/node_modules/next/dist/client/components/navigation.js +133 -1
- package/dist/node_modules/next/dist/client/components/navigation.react-server.cjs +1 -0
- package/dist/node_modules/next/dist/client/components/navigation.react-server.js +75 -1
- package/dist/node_modules/next/dist/client/components/not-found.cjs +1 -0
- package/dist/node_modules/next/dist/client/components/not-found.js +28 -1
- package/dist/node_modules/next/dist/client/components/redirect-error.cjs +1 -0
- package/dist/node_modules/next/dist/client/components/redirect-error.js +41 -1
- package/dist/node_modules/next/dist/client/components/redirect-status-code.cjs +1 -0
- package/dist/node_modules/next/dist/client/components/redirect-status-code.js +21 -1
- package/dist/node_modules/next/dist/client/components/redirect.cjs +1 -0
- package/dist/node_modules/next/dist/client/components/redirect.js +80 -1
- package/dist/node_modules/next/dist/client/components/router-reducer/reducers/get-segment-value.cjs +1 -0
- package/dist/node_modules/next/dist/client/components/router-reducer/reducers/get-segment-value.js +21 -1
- package/dist/node_modules/next/dist/client/components/static-generation-bailout.cjs +1 -0
- package/dist/node_modules/next/dist/client/components/static-generation-bailout.js +36 -1
- package/dist/node_modules/next/dist/client/components/unauthorized.cjs +1 -0
- package/dist/node_modules/next/dist/client/components/unauthorized.js +34 -1
- package/dist/node_modules/next/dist/client/components/unstable-rethrow.browser.cjs +1 -0
- package/dist/node_modules/next/dist/client/components/unstable-rethrow.browser.js +26 -1
- package/dist/node_modules/next/dist/client/components/unstable-rethrow.cjs +1 -0
- package/dist/node_modules/next/dist/client/components/unstable-rethrow.js +21 -1
- package/dist/node_modules/next/dist/client/components/unstable-rethrow.server.cjs +1 -0
- package/dist/node_modules/next/dist/client/components/unstable-rethrow.server.js +30 -1
- package/dist/node_modules/next/dist/client/detect-domain-locale.cjs +1 -0
- package/dist/node_modules/next/dist/client/detect-domain-locale.js +25 -1
- package/dist/node_modules/next/dist/client/get-domain-locale.cjs +1 -0
- package/dist/node_modules/next/dist/client/get-domain-locale.js +33 -1
- package/dist/node_modules/next/dist/client/has-base-path.cjs +1 -0
- package/dist/node_modules/next/dist/client/has-base-path.js +23 -1
- package/dist/node_modules/next/dist/client/link.cjs +8 -0
- package/dist/node_modules/next/dist/client/link.js +277 -5
- package/dist/node_modules/next/dist/client/normalize-locale-path.cjs +1 -0
- package/dist/node_modules/next/dist/client/normalize-locale-path.js +23 -1
- package/dist/node_modules/next/dist/client/normalize-trailing-slash.cjs +1 -0
- package/dist/node_modules/next/dist/client/normalize-trailing-slash.js +26 -1
- package/dist/node_modules/next/dist/client/request-idle-callback.cjs +1 -0
- package/dist/node_modules/next/dist/client/request-idle-callback.js +40 -1
- package/dist/node_modules/next/dist/client/resolve-href.cjs +1 -0
- package/dist/node_modules/next/dist/client/resolve-href.js +67 -1
- package/dist/node_modules/next/dist/client/use-intersection.cjs +1 -0
- package/dist/node_modules/next/dist/client/use-intersection.js +85 -1
- package/dist/node_modules/next/dist/client/use-merged-ref.cjs +1 -0
- package/dist/node_modules/next/dist/client/use-merged-ref.js +44 -1
- package/dist/node_modules/next/dist/lib/constants.cjs +1 -0
- package/dist/node_modules/next/dist/lib/constants.js +285 -1
- package/dist/node_modules/next/dist/lib/metadata/metadata-constants.cjs +1 -0
- package/dist/node_modules/next/dist/lib/metadata/metadata-constants.js +30 -1
- package/dist/node_modules/next/dist/lib/scheduler.cjs +1 -0
- package/dist/node_modules/next/dist/lib/scheduler.js +45 -1
- package/dist/node_modules/next/dist/server/app-render/action-async-storage-instance.cjs +1 -0
- package/dist/node_modules/next/dist/server/app-render/action-async-storage-instance.js +19 -1
- package/dist/node_modules/next/dist/server/app-render/action-async-storage.external.cjs +1 -0
- package/dist/node_modules/next/dist/server/app-render/action-async-storage.external.js +19 -1
- package/dist/node_modules/next/dist/server/app-render/async-local-storage.cjs +1 -0
- package/dist/node_modules/next/dist/server/app-render/async-local-storage.js +65 -1
- package/dist/node_modules/next/dist/server/app-render/dynamic-rendering.cjs +4 -0
- package/dist/node_modules/next/dist/server/app-render/dynamic-rendering.js +346 -4
- package/dist/node_modules/next/dist/server/app-render/work-async-storage-instance.cjs +1 -0
- package/dist/node_modules/next/dist/server/app-render/work-async-storage-instance.js +19 -1
- package/dist/node_modules/next/dist/server/app-render/work-async-storage.external.cjs +1 -0
- package/dist/node_modules/next/dist/server/app-render/work-async-storage.external.js +19 -1
- package/dist/node_modules/next/dist/server/app-render/work-unit-async-storage-instance.cjs +1 -0
- package/dist/node_modules/next/dist/server/app-render/work-unit-async-storage-instance.js +19 -1
- package/dist/node_modules/next/dist/server/app-render/work-unit-async-storage.external.cjs +1 -0
- package/dist/node_modules/next/dist/server/app-render/work-unit-async-storage.external.js +102 -1
- package/dist/node_modules/next/dist/server/dynamic-rendering-utils.cjs +1 -0
- package/dist/node_modules/next/dist/server/dynamic-rendering-utils.js +62 -1
- package/dist/node_modules/next/dist/server/lib/router-utils/is-postpone.cjs +1 -0
- package/dist/node_modules/next/dist/server/lib/router-utils/is-postpone.js +21 -1
- package/dist/node_modules/next/dist/shared/lib/app-router-context.shared-runtime.cjs +1 -0
- package/dist/node_modules/next/dist/shared/lib/app-router-context.shared-runtime.js +41 -1
- package/dist/node_modules/next/dist/shared/lib/escape-regexp.cjs +1 -0
- package/dist/node_modules/next/dist/shared/lib/escape-regexp.js +21 -1
- package/dist/node_modules/next/dist/shared/lib/hooks-client-context.shared-runtime.cjs +1 -0
- package/dist/node_modules/next/dist/shared/lib/hooks-client-context.shared-runtime.js +33 -1
- package/dist/node_modules/next/dist/shared/lib/i18n/detect-domain-locale.cjs +1 -0
- package/dist/node_modules/next/dist/shared/lib/i18n/detect-domain-locale.js +28 -1
- package/dist/node_modules/next/dist/shared/lib/i18n/normalize-locale-path.cjs +1 -0
- package/dist/node_modules/next/dist/shared/lib/i18n/normalize-locale-path.js +37 -1
- package/dist/node_modules/next/dist/shared/lib/lazy-dynamic/bailout-to-csr.cjs +1 -0
- package/dist/node_modules/next/dist/shared/lib/lazy-dynamic/bailout-to-csr.js +35 -1
- package/dist/node_modules/next/dist/shared/lib/page-path/ensure-leading-slash.cjs +1 -0
- package/dist/node_modules/next/dist/shared/lib/page-path/ensure-leading-slash.js +20 -1
- package/dist/node_modules/next/dist/shared/lib/router/utils/add-locale.cjs +1 -0
- package/dist/node_modules/next/dist/shared/lib/router/utils/add-locale.js +25 -1
- package/dist/node_modules/next/dist/shared/lib/router/utils/add-path-prefix.cjs +1 -0
- package/dist/node_modules/next/dist/shared/lib/router/utils/add-path-prefix.js +25 -1
- package/dist/node_modules/next/dist/shared/lib/router/utils/app-paths.cjs +1 -0
- package/dist/node_modules/next/dist/shared/lib/router/utils/app-paths.js +39 -1
- package/dist/node_modules/next/dist/shared/lib/router/utils/format-url.cjs +1 -0
- package/dist/node_modules/next/dist/shared/lib/router/utils/format-url.js +57 -1
- package/dist/node_modules/next/dist/shared/lib/router/utils/index.cjs +1 -0
- package/dist/node_modules/next/dist/shared/lib/router/utils/index.js +32 -1
- package/dist/node_modules/next/dist/shared/lib/router/utils/interception-routes.cjs +1 -0
- package/dist/node_modules/next/dist/shared/lib/router/utils/interception-routes.js +90 -1
- package/dist/node_modules/next/dist/shared/lib/router/utils/interpolate-as.cjs +1 -0
- package/dist/node_modules/next/dist/shared/lib/router/utils/interpolate-as.js +49 -1
- package/dist/node_modules/next/dist/shared/lib/router/utils/is-dynamic.cjs +1 -0
- package/dist/node_modules/next/dist/shared/lib/router/utils/is-dynamic.js +22 -1
- package/dist/node_modules/next/dist/shared/lib/router/utils/is-local-url.cjs +1 -0
- package/dist/node_modules/next/dist/shared/lib/router/utils/is-local-url.js +29 -1
- package/dist/node_modules/next/dist/shared/lib/router/utils/omit.cjs +1 -0
- package/dist/node_modules/next/dist/shared/lib/router/utils/omit.js +23 -1
- package/dist/node_modules/next/dist/shared/lib/router/utils/parse-path.cjs +1 -0
- package/dist/node_modules/next/dist/shared/lib/router/utils/parse-path.js +29 -1
- package/dist/node_modules/next/dist/shared/lib/router/utils/path-has-prefix.cjs +1 -0
- package/dist/node_modules/next/dist/shared/lib/router/utils/path-has-prefix.js +25 -1
- package/dist/node_modules/next/dist/shared/lib/router/utils/querystring.cjs +1 -0
- package/dist/node_modules/next/dist/shared/lib/router/utils/querystring.js +64 -1
- package/dist/node_modules/next/dist/shared/lib/router/utils/remove-trailing-slash.cjs +1 -0
- package/dist/node_modules/next/dist/shared/lib/router/utils/remove-trailing-slash.js +20 -1
- package/dist/node_modules/next/dist/shared/lib/router/utils/route-matcher.cjs +1 -0
- package/dist/node_modules/next/dist/shared/lib/router/utils/route-matcher.js +42 -1
- package/dist/node_modules/next/dist/shared/lib/router/utils/route-regex.cjs +1 -0
- package/dist/node_modules/next/dist/shared/lib/router/utils/route-regex.js +167 -1
- package/dist/node_modules/next/dist/shared/lib/router/utils/sorted-routes.cjs +1 -0
- package/dist/node_modules/next/dist/shared/lib/router/utils/sorted-routes.js +154 -1
- package/dist/node_modules/next/dist/shared/lib/router-context.shared-runtime.cjs +1 -0
- package/dist/node_modules/next/dist/shared/lib/router-context.shared-runtime.js +21 -1
- package/dist/node_modules/next/dist/shared/lib/segment.cjs +1 -0
- package/dist/node_modules/next/dist/shared/lib/segment.js +49 -1
- package/dist/node_modules/next/dist/shared/lib/server-inserted-html.shared-runtime.cjs +1 -0
- package/dist/node_modules/next/dist/shared/lib/server-inserted-html.shared-runtime.js +34 -1
- package/dist/node_modules/next/dist/shared/lib/utils/error-once.cjs +1 -0
- package/dist/node_modules/next/dist/shared/lib/utils/error-once.js +25 -1
- package/dist/node_modules/next/dist/shared/lib/utils.cjs +1 -0
- package/dist/node_modules/next/dist/shared/lib/utils.js +166 -1
- package/dist/node_modules/next/link.cjs +1 -0
- package/dist/node_modules/next/link.js +8 -1
- package/dist/node_modules/next/navigation.cjs +1 -0
- package/dist/node_modules/next/navigation.js +8 -1
- package/dist/utils/array/groupBy.cjs +1 -0
- package/dist/utils/array/groupBy.js +34 -1
- package/dist/utils/array/shuffleArray.cjs +1 -0
- package/dist/utils/array/shuffleArray.js +13 -1
- package/dist/utils/formatBytes.cjs +1 -0
- package/dist/utils/formatBytes.js +8 -1
- package/dist/utils/isInfinityEmpty.cjs +1 -0
- package/dist/utils/isInfinityEmpty.js +4 -1
- package/dist/utils/ky/addBodyJsonHook.cjs +1 -0
- package/dist/utils/ky/addBodyJsonHook.js +5 -1
- package/dist/utils/ky/parseJson.cjs +1 -0
- package/dist/utils/ky/parseJson.js +6 -1
- package/dist/utils/newHref.cjs +1 -0
- package/dist/utils/newHref.js +20 -1
- package/package.json +3 -3
|
@@ -1 +1,154 @@
|
|
|
1
|
-
|
|
1
|
+
import { __exports as f } from "../../../../../../../_virtual/sorted-routes.js";
|
|
2
|
+
var _;
|
|
3
|
+
function g() {
|
|
4
|
+
return _ ? f : (_ = 1, function(m) {
|
|
5
|
+
Object.defineProperty(m, "__esModule", {
|
|
6
|
+
value: !0
|
|
7
|
+
});
|
|
8
|
+
function E(o, t) {
|
|
9
|
+
for (var n in t) Object.defineProperty(o, n, {
|
|
10
|
+
enumerable: !0,
|
|
11
|
+
get: t[n]
|
|
12
|
+
});
|
|
13
|
+
}
|
|
14
|
+
E(m, {
|
|
15
|
+
getSortedRouteObjects: function() {
|
|
16
|
+
return R;
|
|
17
|
+
},
|
|
18
|
+
getSortedRoutes: function() {
|
|
19
|
+
return d;
|
|
20
|
+
}
|
|
21
|
+
});
|
|
22
|
+
class l {
|
|
23
|
+
insert(t) {
|
|
24
|
+
this._insert(t.split("/").filter(Boolean), [], !1);
|
|
25
|
+
}
|
|
26
|
+
smoosh() {
|
|
27
|
+
return this._smoosh();
|
|
28
|
+
}
|
|
29
|
+
_smoosh(t) {
|
|
30
|
+
t === void 0 && (t = "/");
|
|
31
|
+
const n = [
|
|
32
|
+
...this.children.keys()
|
|
33
|
+
].sort();
|
|
34
|
+
this.slugName !== null && n.splice(n.indexOf("[]"), 1), this.restSlugName !== null && n.splice(n.indexOf("[...]"), 1), this.optionalRestSlugName !== null && n.splice(n.indexOf("[[...]]"), 1);
|
|
35
|
+
const s = n.map((r) => this.children.get(r)._smoosh("" + t + r + "/")).reduce((r, e) => [
|
|
36
|
+
...r,
|
|
37
|
+
...e
|
|
38
|
+
], []);
|
|
39
|
+
if (this.slugName !== null && s.push(...this.children.get("[]")._smoosh(t + "[" + this.slugName + "]/")), !this.placeholder) {
|
|
40
|
+
const r = t === "/" ? "/" : t.slice(0, -1);
|
|
41
|
+
if (this.optionalRestSlugName != null)
|
|
42
|
+
throw Object.defineProperty(new Error('You cannot define a route with the same specificity as a optional catch-all route ("' + r + '" and "' + r + "[[..." + this.optionalRestSlugName + ']]").'), "__NEXT_ERROR_CODE", {
|
|
43
|
+
value: "E458",
|
|
44
|
+
enumerable: !1,
|
|
45
|
+
configurable: !0
|
|
46
|
+
});
|
|
47
|
+
s.unshift(r);
|
|
48
|
+
}
|
|
49
|
+
return this.restSlugName !== null && s.push(...this.children.get("[...]")._smoosh(t + "[..." + this.restSlugName + "]/")), this.optionalRestSlugName !== null && s.push(...this.children.get("[[...]]")._smoosh(t + "[[..." + this.optionalRestSlugName + "]]/")), s;
|
|
50
|
+
}
|
|
51
|
+
_insert(t, n, s) {
|
|
52
|
+
if (t.length === 0) {
|
|
53
|
+
this.placeholder = !1;
|
|
54
|
+
return;
|
|
55
|
+
}
|
|
56
|
+
if (s)
|
|
57
|
+
throw Object.defineProperty(new Error("Catch-all must be the last part of the URL."), "__NEXT_ERROR_CODE", {
|
|
58
|
+
value: "E392",
|
|
59
|
+
enumerable: !1,
|
|
60
|
+
configurable: !0
|
|
61
|
+
});
|
|
62
|
+
let r = t[0];
|
|
63
|
+
if (r.startsWith("[") && r.endsWith("]")) {
|
|
64
|
+
let u = function(h, i) {
|
|
65
|
+
if (h !== null && h !== i)
|
|
66
|
+
throw Object.defineProperty(new Error("You cannot use different slug names for the same dynamic path ('" + h + "' !== '" + i + "')."), "__NEXT_ERROR_CODE", {
|
|
67
|
+
value: "E337",
|
|
68
|
+
enumerable: !1,
|
|
69
|
+
configurable: !0
|
|
70
|
+
});
|
|
71
|
+
n.forEach((c) => {
|
|
72
|
+
if (c === i)
|
|
73
|
+
throw Object.defineProperty(new Error('You cannot have the same slug name "' + i + '" repeat within a single dynamic path'), "__NEXT_ERROR_CODE", {
|
|
74
|
+
value: "E247",
|
|
75
|
+
enumerable: !1,
|
|
76
|
+
configurable: !0
|
|
77
|
+
});
|
|
78
|
+
if (c.replace(/\W/g, "") === r.replace(/\W/g, ""))
|
|
79
|
+
throw Object.defineProperty(new Error('You cannot have the slug names "' + c + '" and "' + i + '" differ only by non-word symbols within a single dynamic path'), "__NEXT_ERROR_CODE", {
|
|
80
|
+
value: "E499",
|
|
81
|
+
enumerable: !1,
|
|
82
|
+
configurable: !0
|
|
83
|
+
});
|
|
84
|
+
}), n.push(i);
|
|
85
|
+
}, e = r.slice(1, -1), a = !1;
|
|
86
|
+
if (e.startsWith("[") && e.endsWith("]") && (e = e.slice(1, -1), a = !0), e.startsWith("…"))
|
|
87
|
+
throw Object.defineProperty(new Error("Detected a three-dot character ('…') at ('" + e + "'). Did you mean ('...')?"), "__NEXT_ERROR_CODE", {
|
|
88
|
+
value: "E147",
|
|
89
|
+
enumerable: !1,
|
|
90
|
+
configurable: !0
|
|
91
|
+
});
|
|
92
|
+
if (e.startsWith("...") && (e = e.substring(3), s = !0), e.startsWith("[") || e.endsWith("]"))
|
|
93
|
+
throw Object.defineProperty(new Error("Segment names may not start or end with extra brackets ('" + e + "')."), "__NEXT_ERROR_CODE", {
|
|
94
|
+
value: "E421",
|
|
95
|
+
enumerable: !1,
|
|
96
|
+
configurable: !0
|
|
97
|
+
});
|
|
98
|
+
if (e.startsWith("."))
|
|
99
|
+
throw Object.defineProperty(new Error("Segment names may not start with erroneous periods ('" + e + "')."), "__NEXT_ERROR_CODE", {
|
|
100
|
+
value: "E288",
|
|
101
|
+
enumerable: !1,
|
|
102
|
+
configurable: !0
|
|
103
|
+
});
|
|
104
|
+
if (s)
|
|
105
|
+
if (a) {
|
|
106
|
+
if (this.restSlugName != null)
|
|
107
|
+
throw Object.defineProperty(new Error('You cannot use both an required and optional catch-all route at the same level ("[...' + this.restSlugName + ']" and "' + t[0] + '" ).'), "__NEXT_ERROR_CODE", {
|
|
108
|
+
value: "E299",
|
|
109
|
+
enumerable: !1,
|
|
110
|
+
configurable: !0
|
|
111
|
+
});
|
|
112
|
+
u(this.optionalRestSlugName, e), this.optionalRestSlugName = e, r = "[[...]]";
|
|
113
|
+
} else {
|
|
114
|
+
if (this.optionalRestSlugName != null)
|
|
115
|
+
throw Object.defineProperty(new Error('You cannot use both an optional and required catch-all route at the same level ("[[...' + this.optionalRestSlugName + ']]" and "' + t[0] + '").'), "__NEXT_ERROR_CODE", {
|
|
116
|
+
value: "E300",
|
|
117
|
+
enumerable: !1,
|
|
118
|
+
configurable: !0
|
|
119
|
+
});
|
|
120
|
+
u(this.restSlugName, e), this.restSlugName = e, r = "[...]";
|
|
121
|
+
}
|
|
122
|
+
else {
|
|
123
|
+
if (a)
|
|
124
|
+
throw Object.defineProperty(new Error('Optional route parameters are not yet supported ("' + t[0] + '").'), "__NEXT_ERROR_CODE", {
|
|
125
|
+
value: "E435",
|
|
126
|
+
enumerable: !1,
|
|
127
|
+
configurable: !0
|
|
128
|
+
});
|
|
129
|
+
u(this.slugName, e), this.slugName = e, r = "[]";
|
|
130
|
+
}
|
|
131
|
+
}
|
|
132
|
+
this.children.has(r) || this.children.set(r, new l()), this.children.get(r)._insert(t.slice(1), n, s);
|
|
133
|
+
}
|
|
134
|
+
constructor() {
|
|
135
|
+
this.placeholder = !0, this.children = /* @__PURE__ */ new Map(), this.slugName = null, this.restSlugName = null, this.optionalRestSlugName = null;
|
|
136
|
+
}
|
|
137
|
+
}
|
|
138
|
+
function d(o) {
|
|
139
|
+
const t = new l();
|
|
140
|
+
return o.forEach((n) => t.insert(n)), t.smoosh();
|
|
141
|
+
}
|
|
142
|
+
function R(o, t) {
|
|
143
|
+
const n = {}, s = [];
|
|
144
|
+
for (let e = 0; e < o.length; e++) {
|
|
145
|
+
const a = t(o[e]);
|
|
146
|
+
n[a] = e, s[e] = a;
|
|
147
|
+
}
|
|
148
|
+
return d(s).map((e) => o[n[e]]);
|
|
149
|
+
}
|
|
150
|
+
}(f), f);
|
|
151
|
+
}
|
|
152
|
+
export {
|
|
153
|
+
g as __require
|
|
154
|
+
};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("../../../../../_virtual/router-context.shared-runtime.cjs"),o=require("../../../../@swc/helpers/cjs/_interop_require_default.cjs"),n=require("react");var u;function i(){return u||(u=1,function(t){Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"RouterContext",{enumerable:!0,get:function(){return r}});const r=o.__require()._(n).default.createContext(null);process.env.NODE_ENV!=="production"&&(r.displayName="RouterContext")}(e.__exports)),e.__exports}exports.__require=i;
|
|
@@ -1 +1,21 @@
|
|
|
1
|
-
|
|
1
|
+
import { __exports as e } from "../../../../../_virtual/router-context.shared-runtime.js";
|
|
2
|
+
import { __require as u } from "../../../../@swc/helpers/cjs/_interop_require_default.js";
|
|
3
|
+
import n from "react";
|
|
4
|
+
var o;
|
|
5
|
+
function c() {
|
|
6
|
+
return o ? e : (o = 1, function(r) {
|
|
7
|
+
Object.defineProperty(r, "__esModule", {
|
|
8
|
+
value: !0
|
|
9
|
+
}), Object.defineProperty(r, "RouterContext", {
|
|
10
|
+
enumerable: !0,
|
|
11
|
+
get: function() {
|
|
12
|
+
return t;
|
|
13
|
+
}
|
|
14
|
+
});
|
|
15
|
+
const t = (/* @__PURE__ */ (/* @__PURE__ */ u())._(n)).default.createContext(null);
|
|
16
|
+
process.env.NODE_ENV !== "production" && (t.displayName = "RouterContext");
|
|
17
|
+
}(e), e);
|
|
18
|
+
}
|
|
19
|
+
export {
|
|
20
|
+
c as __require
|
|
21
|
+
};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const u=require("../../../../../_virtual/segment.cjs");var _;function E(){return _||(_=1,function(i){Object.defineProperty(i,"__esModule",{value:!0});function c(e,t){for(var n in t)Object.defineProperty(e,n,{enumerable:!0,get:t[n]})}c(i,{DEFAULT_SEGMENT_KEY:function(){return S},PAGE_SEGMENT_KEY:function(){return r},addSearchParamsIfPageSegment:function(){return f},isGroupSegment:function(){return s},isParallelRouteSegment:function(){return a}});function s(e){return e[0]==="("&&e.endsWith(")")}function a(e){return e.startsWith("@")&&e!=="@children"}function f(e,t){if(e.includes(r)){const o=JSON.stringify(t);return o!=="{}"?r+"?"+o:r}return e}const r="__PAGE__",S="__DEFAULT__"}(u.__exports)),u.__exports}exports.__require=E;
|
|
@@ -1 +1,49 @@
|
|
|
1
|
-
|
|
1
|
+
import { __exports as u } from "../../../../../_virtual/segment.js";
|
|
2
|
+
var _;
|
|
3
|
+
function g() {
|
|
4
|
+
return _ ? u : (_ = 1, function(i) {
|
|
5
|
+
Object.defineProperty(i, "__esModule", {
|
|
6
|
+
value: !0
|
|
7
|
+
});
|
|
8
|
+
function a(e, n) {
|
|
9
|
+
for (var t in n) Object.defineProperty(e, t, {
|
|
10
|
+
enumerable: !0,
|
|
11
|
+
get: n[t]
|
|
12
|
+
});
|
|
13
|
+
}
|
|
14
|
+
a(i, {
|
|
15
|
+
DEFAULT_SEGMENT_KEY: function() {
|
|
16
|
+
return E;
|
|
17
|
+
},
|
|
18
|
+
PAGE_SEGMENT_KEY: function() {
|
|
19
|
+
return r;
|
|
20
|
+
},
|
|
21
|
+
addSearchParamsIfPageSegment: function() {
|
|
22
|
+
return s;
|
|
23
|
+
},
|
|
24
|
+
isGroupSegment: function() {
|
|
25
|
+
return c;
|
|
26
|
+
},
|
|
27
|
+
isParallelRouteSegment: function() {
|
|
28
|
+
return f;
|
|
29
|
+
}
|
|
30
|
+
});
|
|
31
|
+
function c(e) {
|
|
32
|
+
return e[0] === "(" && e.endsWith(")");
|
|
33
|
+
}
|
|
34
|
+
function f(e) {
|
|
35
|
+
return e.startsWith("@") && e !== "@children";
|
|
36
|
+
}
|
|
37
|
+
function s(e, n) {
|
|
38
|
+
if (e.includes(r)) {
|
|
39
|
+
const o = JSON.stringify(n);
|
|
40
|
+
return o !== "{}" ? r + "?" + o : r;
|
|
41
|
+
}
|
|
42
|
+
return e;
|
|
43
|
+
}
|
|
44
|
+
const r = "__PAGE__", E = "__DEFAULT__";
|
|
45
|
+
}(u), u);
|
|
46
|
+
}
|
|
47
|
+
export {
|
|
48
|
+
g as __require
|
|
49
|
+
};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const t=require("../../../../../_virtual/server-inserted-html.shared-runtime.cjs"),c=require("../../../../@swc/helpers/cjs/_interop_require_wildcard.cjs"),a=require("react");var s;function l(){return s||(s=1,function(n){"use client";Object.defineProperty(n,"__esModule",{value:!0});function _(r,e){for(var o in e)Object.defineProperty(r,o,{enumerable:!0,get:e[o]})}_(n,{ServerInsertedHTMLContext:function(){return i},useServerInsertedHTML:function(){return d}});const u=c.__require()._(a),i=u.default.createContext(null);function d(r){const e=(0,u.useContext)(i);e&&e(r)}}(t.__exports)),t.__exports}exports.__require=l;
|
|
@@ -1 +1,34 @@
|
|
|
1
|
-
|
|
1
|
+
import { __exports as t } from "../../../../../_virtual/server-inserted-html.shared-runtime.js";
|
|
2
|
+
import { __require as c } from "../../../../@swc/helpers/cjs/_interop_require_wildcard.js";
|
|
3
|
+
import a from "react";
|
|
4
|
+
var s;
|
|
5
|
+
function p() {
|
|
6
|
+
return s ? t : (s = 1, function(n) {
|
|
7
|
+
"use client";
|
|
8
|
+
Object.defineProperty(n, "__esModule", {
|
|
9
|
+
value: !0
|
|
10
|
+
});
|
|
11
|
+
function d(r, e) {
|
|
12
|
+
for (var o in e) Object.defineProperty(r, o, {
|
|
13
|
+
enumerable: !0,
|
|
14
|
+
get: e[o]
|
|
15
|
+
});
|
|
16
|
+
}
|
|
17
|
+
d(n, {
|
|
18
|
+
ServerInsertedHTMLContext: function() {
|
|
19
|
+
return u;
|
|
20
|
+
},
|
|
21
|
+
useServerInsertedHTML: function() {
|
|
22
|
+
return _;
|
|
23
|
+
}
|
|
24
|
+
});
|
|
25
|
+
const i = /* @__PURE__ */ (/* @__PURE__ */ c())._(a), u = /* @__PURE__ */ i.default.createContext(null);
|
|
26
|
+
function _(r) {
|
|
27
|
+
const e = (0, i.useContext)(u);
|
|
28
|
+
e && e(r);
|
|
29
|
+
}
|
|
30
|
+
}(t), t);
|
|
31
|
+
}
|
|
32
|
+
export {
|
|
33
|
+
p as __require
|
|
34
|
+
};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const o=require("../../../../../../_virtual/error-once.cjs");var u;function c(){return u||(u=1,function(t){Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"errorOnce",{enumerable:!0,get:function(){return n}});let n=e=>{};if(process.env.NODE_ENV!=="production"){const e=new Set;n=r=>{e.has(r)||console.error(r),e.add(r)}}}(o.__exports)),o.__exports}exports.__require=c;
|
|
@@ -1 +1,25 @@
|
|
|
1
|
-
|
|
1
|
+
import { __exports as n } from "../../../../../../_virtual/error-once.js";
|
|
2
|
+
var u;
|
|
3
|
+
function i() {
|
|
4
|
+
return u ? n : (u = 1, function(o) {
|
|
5
|
+
Object.defineProperty(o, "__esModule", {
|
|
6
|
+
value: !0
|
|
7
|
+
}), Object.defineProperty(o, "errorOnce", {
|
|
8
|
+
enumerable: !0,
|
|
9
|
+
get: function() {
|
|
10
|
+
return t;
|
|
11
|
+
}
|
|
12
|
+
});
|
|
13
|
+
let t = (r) => {
|
|
14
|
+
};
|
|
15
|
+
if (process.env.NODE_ENV !== "production") {
|
|
16
|
+
const r = /* @__PURE__ */ new Set();
|
|
17
|
+
t = (e) => {
|
|
18
|
+
r.has(e) || console.error(e), r.add(e);
|
|
19
|
+
};
|
|
20
|
+
}
|
|
21
|
+
}(n), n);
|
|
22
|
+
}
|
|
23
|
+
export {
|
|
24
|
+
i as __require
|
|
25
|
+
};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const u=require("../../../../../_virtual/utils.cjs");var g;function I(){return g||(g=1,function(a){Object.defineProperty(a,"__esModule",{value:!0});function m(e,r){for(var t in r)Object.defineProperty(e,t,{enumerable:!0,get:r[t]})}m(a,{DecodeError:function(){return _},MiddlewareNotFoundError:function(){return v},MissingStaticPage:function(){return w},NormalizeError:function(){return b},PageNotFoundError:function(){return S},SP:function(){return d},ST:function(){return O},WEB_VITALS:function(){return p},execOnce:function(){return E},getDisplayName:function(){return s},getLocationOrigin:function(){return c},getURL:function(){return N},isAbsoluteUrl:function(){return h},isResSent:function(){return l},loadGetInitialProps:function(){return f},normalizeRepeatedSlashes:function(){return y},stringifyError:function(){return R}});const p=["CLS","FCP","FID","INP","LCP","TTFB"];function E(e){let r=!1,t;return function(){for(var i=arguments.length,n=new Array(i),o=0;o<i;o++)n[o]=arguments[o];return r||(r=!0,t=e(...n)),t}}const P=/^[a-zA-Z][a-zA-Z\d+\-.]*?:/,h=e=>P.test(e);function c(){const{protocol:e,hostname:r,port:t}=window.location;return e+"//"+r+(t?":"+t:"")}function N(){const{href:e}=window.location,r=c();return e.substring(r.length)}function s(e){return typeof e=="string"?e:e.displayName||e.name||"Unknown"}function l(e){return e.finished||e.headersSent}function y(e){const r=e.split("?");return r[0].replace(/\\/g,"/").replace(/\/\/+/g,"/")+(r[1]?"?"+r.slice(1).join("?"):"")}async function f(e,r){if(process.env.NODE_ENV!=="production"){var t;if((t=e.prototype)!=null&&t.getInitialProps){const o='"'+s(e)+'.getInitialProps()" is defined as an instance method - visit https://nextjs.org/docs/messages/get-initial-props-as-an-instance-method for more information.';throw Object.defineProperty(new Error(o),"__NEXT_ERROR_CODE",{value:"E394",enumerable:!1,configurable:!0})}}const i=r.res||r.ctx&&r.ctx.res;if(!e.getInitialProps)return r.ctx&&r.Component?{pageProps:await f(r.Component,r.ctx)}:{};const n=await e.getInitialProps(r);if(i&&l(i))return n;if(!n){const o='"'+s(e)+'.getInitialProps()" should resolve to an object. But found "'+n+'" instead.';throw Object.defineProperty(new Error(o),"__NEXT_ERROR_CODE",{value:"E394",enumerable:!1,configurable:!0})}return process.env.NODE_ENV!=="production"&&Object.keys(n).length===0&&!r.ctx&&console.warn(""+s(e)+" returned an empty object from `getInitialProps`. This de-optimizes and prevents automatic static optimization. https://nextjs.org/docs/messages/empty-object-getInitialProps"),n}const d=typeof performance<"u",O=d&&["mark","measure","getEntriesByName"].every(e=>typeof performance[e]=="function");class _ extends Error{}class b extends Error{}class S extends Error{constructor(r){super(),this.code="ENOENT",this.name="PageNotFoundError",this.message="Cannot find module for page: "+r}}class w extends Error{constructor(r,t){super(),this.message="Failed to load static file for page: "+r+" "+t}}class v extends Error{constructor(){super(),this.code="ENOENT",this.message="Cannot find the middleware module"}}function R(e){return JSON.stringify({message:e.message,stack:e.stack})}}(u.__exports)),u.__exports}exports.__require=I;
|
|
@@ -1 +1,166 @@
|
|
|
1
|
-
|
|
1
|
+
import { __exports as a } from "../../../../../_virtual/utils.js";
|
|
2
|
+
var g;
|
|
3
|
+
function T() {
|
|
4
|
+
return g ? a : (g = 1, function(u) {
|
|
5
|
+
Object.defineProperty(u, "__esModule", {
|
|
6
|
+
value: !0
|
|
7
|
+
});
|
|
8
|
+
function m(e, r) {
|
|
9
|
+
for (var t in r) Object.defineProperty(e, t, {
|
|
10
|
+
enumerable: !0,
|
|
11
|
+
get: r[t]
|
|
12
|
+
});
|
|
13
|
+
}
|
|
14
|
+
m(u, {
|
|
15
|
+
DecodeError: function() {
|
|
16
|
+
return b;
|
|
17
|
+
},
|
|
18
|
+
MiddlewareNotFoundError: function() {
|
|
19
|
+
return _;
|
|
20
|
+
},
|
|
21
|
+
MissingStaticPage: function() {
|
|
22
|
+
return R;
|
|
23
|
+
},
|
|
24
|
+
NormalizeError: function() {
|
|
25
|
+
return w;
|
|
26
|
+
},
|
|
27
|
+
PageNotFoundError: function() {
|
|
28
|
+
return S;
|
|
29
|
+
},
|
|
30
|
+
SP: function() {
|
|
31
|
+
return d;
|
|
32
|
+
},
|
|
33
|
+
ST: function() {
|
|
34
|
+
return O;
|
|
35
|
+
},
|
|
36
|
+
WEB_VITALS: function() {
|
|
37
|
+
return p;
|
|
38
|
+
},
|
|
39
|
+
execOnce: function() {
|
|
40
|
+
return E;
|
|
41
|
+
},
|
|
42
|
+
getDisplayName: function() {
|
|
43
|
+
return s;
|
|
44
|
+
},
|
|
45
|
+
getLocationOrigin: function() {
|
|
46
|
+
return c;
|
|
47
|
+
},
|
|
48
|
+
getURL: function() {
|
|
49
|
+
return P;
|
|
50
|
+
},
|
|
51
|
+
isAbsoluteUrl: function() {
|
|
52
|
+
return N;
|
|
53
|
+
},
|
|
54
|
+
isResSent: function() {
|
|
55
|
+
return f;
|
|
56
|
+
},
|
|
57
|
+
loadGetInitialProps: function() {
|
|
58
|
+
return l;
|
|
59
|
+
},
|
|
60
|
+
normalizeRepeatedSlashes: function() {
|
|
61
|
+
return y;
|
|
62
|
+
},
|
|
63
|
+
stringifyError: function() {
|
|
64
|
+
return v;
|
|
65
|
+
}
|
|
66
|
+
});
|
|
67
|
+
const p = [
|
|
68
|
+
"CLS",
|
|
69
|
+
"FCP",
|
|
70
|
+
"FID",
|
|
71
|
+
"INP",
|
|
72
|
+
"LCP",
|
|
73
|
+
"TTFB"
|
|
74
|
+
];
|
|
75
|
+
function E(e) {
|
|
76
|
+
let r = !1, t;
|
|
77
|
+
return function() {
|
|
78
|
+
for (var i = arguments.length, n = new Array(i), o = 0; o < i; o++)
|
|
79
|
+
n[o] = arguments[o];
|
|
80
|
+
return r || (r = !0, t = e(...n)), t;
|
|
81
|
+
};
|
|
82
|
+
}
|
|
83
|
+
const h = /^[a-zA-Z][a-zA-Z\d+\-.]*?:/, N = (e) => h.test(e);
|
|
84
|
+
function c() {
|
|
85
|
+
const { protocol: e, hostname: r, port: t } = window.location;
|
|
86
|
+
return e + "//" + r + (t ? ":" + t : "");
|
|
87
|
+
}
|
|
88
|
+
function P() {
|
|
89
|
+
const { href: e } = window.location, r = c();
|
|
90
|
+
return e.substring(r.length);
|
|
91
|
+
}
|
|
92
|
+
function s(e) {
|
|
93
|
+
return typeof e == "string" ? e : e.displayName || e.name || "Unknown";
|
|
94
|
+
}
|
|
95
|
+
function f(e) {
|
|
96
|
+
return e.finished || e.headersSent;
|
|
97
|
+
}
|
|
98
|
+
function y(e) {
|
|
99
|
+
const r = e.split("?");
|
|
100
|
+
return r[0].replace(/\\/g, "/").replace(/\/\/+/g, "/") + (r[1] ? "?" + r.slice(1).join("?") : "");
|
|
101
|
+
}
|
|
102
|
+
async function l(e, r) {
|
|
103
|
+
if (process.env.NODE_ENV !== "production") {
|
|
104
|
+
var t;
|
|
105
|
+
if ((t = e.prototype) != null && t.getInitialProps) {
|
|
106
|
+
const o = '"' + s(e) + '.getInitialProps()" is defined as an instance method - visit https://nextjs.org/docs/messages/get-initial-props-as-an-instance-method for more information.';
|
|
107
|
+
throw Object.defineProperty(new Error(o), "__NEXT_ERROR_CODE", {
|
|
108
|
+
value: "E394",
|
|
109
|
+
enumerable: !1,
|
|
110
|
+
configurable: !0
|
|
111
|
+
});
|
|
112
|
+
}
|
|
113
|
+
}
|
|
114
|
+
const i = r.res || r.ctx && r.ctx.res;
|
|
115
|
+
if (!e.getInitialProps)
|
|
116
|
+
return r.ctx && r.Component ? {
|
|
117
|
+
pageProps: await l(r.Component, r.ctx)
|
|
118
|
+
} : {};
|
|
119
|
+
const n = await e.getInitialProps(r);
|
|
120
|
+
if (i && f(i))
|
|
121
|
+
return n;
|
|
122
|
+
if (!n) {
|
|
123
|
+
const o = '"' + s(e) + '.getInitialProps()" should resolve to an object. But found "' + n + '" instead.';
|
|
124
|
+
throw Object.defineProperty(new Error(o), "__NEXT_ERROR_CODE", {
|
|
125
|
+
value: "E394",
|
|
126
|
+
enumerable: !1,
|
|
127
|
+
configurable: !0
|
|
128
|
+
});
|
|
129
|
+
}
|
|
130
|
+
return process.env.NODE_ENV !== "production" && Object.keys(n).length === 0 && !r.ctx && console.warn("" + s(e) + " returned an empty object from `getInitialProps`. This de-optimizes and prevents automatic static optimization. https://nextjs.org/docs/messages/empty-object-getInitialProps"), n;
|
|
131
|
+
}
|
|
132
|
+
const d = typeof performance < "u", O = d && [
|
|
133
|
+
"mark",
|
|
134
|
+
"measure",
|
|
135
|
+
"getEntriesByName"
|
|
136
|
+
].every((e) => typeof performance[e] == "function");
|
|
137
|
+
class b extends Error {
|
|
138
|
+
}
|
|
139
|
+
class w extends Error {
|
|
140
|
+
}
|
|
141
|
+
class S extends Error {
|
|
142
|
+
constructor(r) {
|
|
143
|
+
super(), this.code = "ENOENT", this.name = "PageNotFoundError", this.message = "Cannot find module for page: " + r;
|
|
144
|
+
}
|
|
145
|
+
}
|
|
146
|
+
class R extends Error {
|
|
147
|
+
constructor(r, t) {
|
|
148
|
+
super(), this.message = "Failed to load static file for page: " + r + " " + t;
|
|
149
|
+
}
|
|
150
|
+
}
|
|
151
|
+
class _ extends Error {
|
|
152
|
+
constructor() {
|
|
153
|
+
super(), this.code = "ENOENT", this.message = "Cannot find the middleware module";
|
|
154
|
+
}
|
|
155
|
+
}
|
|
156
|
+
function v(e) {
|
|
157
|
+
return JSON.stringify({
|
|
158
|
+
message: e.message,
|
|
159
|
+
stack: e.stack
|
|
160
|
+
});
|
|
161
|
+
}
|
|
162
|
+
}(a), a);
|
|
163
|
+
}
|
|
164
|
+
export {
|
|
165
|
+
T as __require
|
|
166
|
+
};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const i=require("./dist/client/link.cjs");var e,r;function n(){return r||(r=1,e=i.__require()),e}exports.__require=n;
|
|
@@ -1 +1,8 @@
|
|
|
1
|
-
|
|
1
|
+
import { __require as i } from "./dist/client/link.js";
|
|
2
|
+
var r, e;
|
|
3
|
+
function u() {
|
|
4
|
+
return e || (e = 1, r = i()), r;
|
|
5
|
+
}
|
|
6
|
+
export {
|
|
7
|
+
u as __require
|
|
8
|
+
};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const i=require("./dist/client/components/navigation.cjs");var e,r;function t(){return r||(r=1,e=i.__require()),e}exports.__require=t;
|
|
@@ -1 +1,8 @@
|
|
|
1
|
-
|
|
1
|
+
import { __require as a } from "./dist/client/components/navigation.js";
|
|
2
|
+
var r, i;
|
|
3
|
+
function n() {
|
|
4
|
+
return i || (i = 1, r = a()), r;
|
|
5
|
+
}
|
|
6
|
+
export {
|
|
7
|
+
n as __require
|
|
8
|
+
};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});function i(o,t,u){return u?o.reduce((n,r)=>{const e=t(r);return e===void 0||(n[e]=u(r)),n},{}):o.reduce((n,r)=>{const e=t(r);return e===void 0||(n[e]=r),n},{})}const f=(o,t)=>{const u={};return o?.forEach(n=>{const r=t(n);if(r!==null){if(Array.isArray(r)){r.forEach(e=>{u[e]||(u[e]=[]),u[e]?.push(n)});return}u[r]||(u[r]=[]),u[r]?.push(n)}}),u};exports.groupBy=f;exports.indexBy=i;
|
|
@@ -1 +1,34 @@
|
|
|
1
|
-
|
|
1
|
+
function t(e, f, u) {
|
|
2
|
+
return u ? e.reduce(
|
|
3
|
+
(n, r) => {
|
|
4
|
+
const o = f(r);
|
|
5
|
+
return o === void 0 || (n[o] = u(r)), n;
|
|
6
|
+
},
|
|
7
|
+
{}
|
|
8
|
+
) : e.reduce(
|
|
9
|
+
(n, r) => {
|
|
10
|
+
const o = f(r);
|
|
11
|
+
return o === void 0 || (n[o] = r), n;
|
|
12
|
+
},
|
|
13
|
+
{}
|
|
14
|
+
);
|
|
15
|
+
}
|
|
16
|
+
const s = (e, f) => {
|
|
17
|
+
const u = {};
|
|
18
|
+
return e?.forEach((n) => {
|
|
19
|
+
const r = f(n);
|
|
20
|
+
if (r !== null) {
|
|
21
|
+
if (Array.isArray(r)) {
|
|
22
|
+
r.forEach((o) => {
|
|
23
|
+
u[o] || (u[o] = []), u[o]?.push(n);
|
|
24
|
+
});
|
|
25
|
+
return;
|
|
26
|
+
}
|
|
27
|
+
u[r] || (u[r] = []), u[r]?.push(n);
|
|
28
|
+
}
|
|
29
|
+
}), u;
|
|
30
|
+
};
|
|
31
|
+
export {
|
|
32
|
+
s as groupBy,
|
|
33
|
+
t as indexBy
|
|
34
|
+
};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const l=n=>{const e=[...n];let r=e.length,t;for(;r>0;)t=Math.floor(Math.random()*r),r--,[e[r],e[t]]=[e[t],e[r]];return e};exports.shuffleArray=l;
|
|
@@ -1 +1,13 @@
|
|
|
1
|
-
|
|
1
|
+
const o = (t) => {
|
|
2
|
+
const r = [...t];
|
|
3
|
+
let e = r.length, n;
|
|
4
|
+
for (; e > 0; )
|
|
5
|
+
n = Math.floor(Math.random() * e), e--, [r[e], r[n]] = [
|
|
6
|
+
r[n],
|
|
7
|
+
r[e]
|
|
8
|
+
];
|
|
9
|
+
return r;
|
|
10
|
+
};
|
|
11
|
+
export {
|
|
12
|
+
o as shuffleArray
|
|
13
|
+
};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});function a(t,o=2){if(!+t)return"0 Bytes";const e=1024,n=o<0?0:o,s=["Bytes","KB","MB"],r=Math.floor(Math.log(t)/Math.log(e));return`${parseFloat((t/Math.pow(e,r)).toFixed(n))} ${s[r]}`}exports.formatBytes=a;
|
|
@@ -1 +1,8 @@
|
|
|
1
|
-
|
|
1
|
+
function e(t, o = 2) {
|
|
2
|
+
if (!+t) return "0 Bytes";
|
|
3
|
+
const n = 1024, s = o < 0 ? 0 : o, a = ["Bytes", "KB", "MB"], r = Math.floor(Math.log(t) / Math.log(n));
|
|
4
|
+
return `${parseFloat((t / Math.pow(n, r)).toFixed(s))} ${a[r]}`;
|
|
5
|
+
}
|
|
6
|
+
export {
|
|
7
|
+
e as formatBytes
|
|
8
|
+
};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=t=>t?.pages[0].data.length===0;exports.isInfinityEmpty=e;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const s=require("./parseJson.cjs"),e=async o=>(o.response.bodyJson=await s.parseJSON(o.response),o);exports.addBodyJsonHook=e;
|
|
@@ -1 +1,5 @@
|
|
|
1
|
-
|
|
1
|
+
import { parseJSON as s } from "./parseJson.js";
|
|
2
|
+
const a = async (o) => (o.response.bodyJson = await s(o.response), o);
|
|
3
|
+
export {
|
|
4
|
+
a as addBodyJsonHook
|
|
5
|
+
};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const t=async r=>r.text().then(function(e){return e?JSON.parse(e):{}});exports.parseJSON=t;
|
|
@@ -1 +1,6 @@
|
|
|
1
|
-
|
|
1
|
+
const e = async (r) => r.text().then(function(n) {
|
|
2
|
+
return n ? JSON.parse(n) : {};
|
|
3
|
+
});
|
|
4
|
+
export {
|
|
5
|
+
e as parseJSON
|
|
6
|
+
};
|