lkd-web-kit 0.7.15 → 0.7.17
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/components/EmptyState/index.cjs +5 -5
- package/dist/components/Icon.cjs +2 -2
- package/dist/components/InfinityLoadMoreButton/index.cjs +2 -2
- package/dist/components/InfinitySelect/index.cjs +9 -10
- package/dist/components/InfinitySelect/index.js +0 -1
- package/dist/components/MyCheckboxGroup/index.cjs +2 -2
- package/dist/components/MyDateInput/index.cjs +3 -3
- package/dist/components/MyDatePickerInput/CalendarIcon.cjs +7 -7
- package/dist/components/MyDatePickerInput/index.cjs +3 -3
- package/dist/components/MyDateTimePicker/index.cjs +3 -3
- package/dist/components/MyMonthPickerInput/index.cjs +3 -3
- package/dist/components/MyMultiSelect/index.cjs +2 -2
- package/dist/components/MyNotifications/index.cjs +2 -2
- package/dist/components/MyNumberInput/index.cjs +2 -2
- package/dist/components/MyRadioGroup/index.cjs +2 -2
- package/dist/components/MySelect/index.cjs +2 -2
- package/dist/components/MyTextInput/index.cjs +2 -2
- package/dist/components/MyTextarea/index.cjs +2 -2
- package/dist/components/MyTimeInput/index.cjs +2 -2
- package/dist/components/NavItems.cjs +4 -4
- package/dist/contexts/NavigationHistoryContext/hook.cjs +5 -6
- package/dist/contexts/NavigationHistoryContext/hook.js +2 -3
- package/dist/contexts/NavigationHistoryContext/index.cjs +3 -3
- package/dist/contexts/PageDataContext/index.cjs +2 -2
- package/dist/form/Form.cjs +2 -2
- package/dist/form/FormSubmitButton.cjs +2 -2
- package/dist/form/base/FormCheckbox.cjs +2 -2
- package/dist/form/base/FormCheckboxGroup.cjs +2 -2
- package/dist/form/base/FormDateInput.cjs +2 -2
- package/dist/form/base/FormDatePickerInput.cjs +2 -2
- package/dist/form/base/FormDateTimePicker.cjs +2 -2
- package/dist/form/base/FormMonthPickerInput.cjs +2 -2
- package/dist/form/base/FormMultiSelect.cjs +2 -2
- package/dist/form/base/FormNumberInput.cjs +2 -2
- package/dist/form/base/FormRadioGroup.cjs +2 -2
- package/dist/form/base/FormSelect.cjs +2 -2
- package/dist/form/base/FormSelectInfinity.cjs +2 -2
- package/dist/form/base/FormTextInput.cjs +2 -2
- package/dist/form/base/FormTextarea.cjs +2 -2
- package/dist/form/base/FormTimeInput.cjs +2 -2
- package/dist/hocs/withController.cjs +3 -3
- package/dist/hocs/withModalManager.cjs +2 -2
- package/dist/node_modules/@tanstack/react-virtual/dist/esm/index.cjs +2 -2
- package/package.json +1 -1
- package/dist/_virtual/___vite-browser-external.cjs +0 -12
- package/dist/_virtual/___vite-browser-external.js +0 -6
- package/dist/_virtual/__vite-browser-external.cjs +0 -5
- package/dist/_virtual/__vite-browser-external.js +0 -3
- package/dist/_virtual/_commonjsHelpers.cjs +0 -34
- package/dist/_virtual/_commonjsHelpers.js +0 -30
- package/dist/_virtual/_interop_require_default.cjs +0 -7
- package/dist/_virtual/_interop_require_default.js +0 -3
- package/dist/_virtual/_interop_require_wildcard.cjs +0 -7
- package/dist/_virtual/_interop_require_wildcard.js +0 -3
- package/dist/_virtual/add-base-path.cjs +0 -7
- package/dist/_virtual/add-base-path.js +0 -3
- package/dist/_virtual/add-locale.cjs +0 -7
- package/dist/_virtual/add-locale.js +0 -3
- package/dist/_virtual/add-locale2.cjs +0 -7
- package/dist/_virtual/add-locale2.js +0 -3
- package/dist/_virtual/add-path-prefix.cjs +0 -7
- package/dist/_virtual/add-path-prefix.js +0 -3
- package/dist/_virtual/add-path-suffix.cjs +0 -7
- package/dist/_virtual/add-path-suffix.js +0 -3
- package/dist/_virtual/app-paths.cjs +0 -7
- package/dist/_virtual/app-paths.js +0 -3
- package/dist/_virtual/bloom-filter.cjs +0 -7
- package/dist/_virtual/bloom-filter.js +0 -3
- package/dist/_virtual/compare-states.cjs +0 -7
- package/dist/_virtual/compare-states.js +0 -3
- package/dist/_virtual/constants.cjs +0 -7
- package/dist/_virtual/constants.js +0 -3
- package/dist/_virtual/denormalize-page-path.cjs +0 -7
- package/dist/_virtual/denormalize-page-path.js +0 -3
- package/dist/_virtual/deployment-id.cjs +0 -7
- package/dist/_virtual/deployment-id.js +0 -3
- package/dist/_virtual/detect-domain-locale.cjs +0 -7
- package/dist/_virtual/detect-domain-locale.js +0 -3
- package/dist/_virtual/detect-domain-locale2.cjs +0 -7
- package/dist/_virtual/detect-domain-locale2.js +0 -3
- package/dist/_virtual/disable-smooth-scroll.cjs +0 -7
- package/dist/_virtual/disable-smooth-scroll.js +0 -3
- package/dist/_virtual/encode-uri-path.cjs +0 -7
- package/dist/_virtual/encode-uri-path.js +0 -3
- package/dist/_virtual/ensure-leading-slash.cjs +0 -7
- package/dist/_virtual/ensure-leading-slash.js +0 -3
- package/dist/_virtual/escape-regexp.cjs +0 -7
- package/dist/_virtual/escape-regexp.js +0 -3
- package/dist/_virtual/format-next-pathname-info.cjs +0 -7
- package/dist/_virtual/format-next-pathname-info.js +0 -3
- package/dist/_virtual/format-url.cjs +0 -7
- package/dist/_virtual/format-url.js +0 -3
- package/dist/_virtual/get-asset-path-from-route.cjs +0 -7
- package/dist/_virtual/get-asset-path-from-route.js +0 -3
- package/dist/_virtual/get-cookie-parser.cjs +0 -7
- package/dist/_virtual/get-cookie-parser.js +0 -3
- package/dist/_virtual/get-dynamic-param.cjs +0 -7
- package/dist/_virtual/get-dynamic-param.js +0 -3
- package/dist/_virtual/get-next-pathname-info.cjs +0 -7
- package/dist/_virtual/get-next-pathname-info.js +0 -3
- package/dist/_virtual/get-segment-param.cjs +0 -7
- package/dist/_virtual/get-segment-param.js +0 -3
- package/dist/_virtual/has-base-path.cjs +0 -7
- package/dist/_virtual/has-base-path.js +0 -3
- package/dist/_virtual/head-manager-context.shared-runtime.cjs +0 -7
- package/dist/_virtual/head-manager-context.shared-runtime.js +0 -3
- package/dist/_virtual/html-bots.cjs +0 -7
- package/dist/_virtual/html-bots.js +0 -3
- package/dist/_virtual/index.cjs +0 -7
- package/dist/_virtual/index.js +0 -3
- package/dist/_virtual/index2.cjs +0 -7
- package/dist/_virtual/index2.js +0 -3
- package/dist/_virtual/index3.cjs +0 -7
- package/dist/_virtual/index3.js +0 -3
- package/dist/_virtual/index4.cjs +0 -7
- package/dist/_virtual/index4.js +0 -3
- package/dist/_virtual/index5.cjs +0 -7
- package/dist/_virtual/index5.js +0 -3
- package/dist/_virtual/interception-routes.cjs +0 -7
- package/dist/_virtual/interception-routes.js +0 -3
- package/dist/_virtual/interpolate-as.cjs +0 -7
- package/dist/_virtual/interpolate-as.js +0 -3
- package/dist/_virtual/invariant-error.cjs +0 -7
- package/dist/_virtual/invariant-error.js +0 -3
- package/dist/_virtual/is-api-route.cjs +0 -7
- package/dist/_virtual/is-api-route.js +0 -3
- package/dist/_virtual/is-bot.cjs +0 -7
- package/dist/_virtual/is-bot.js +0 -3
- package/dist/_virtual/is-dynamic.cjs +0 -7
- package/dist/_virtual/is-dynamic.js +0 -3
- package/dist/_virtual/is-error.cjs +0 -7
- package/dist/_virtual/is-error.js +0 -3
- package/dist/_virtual/is-local-url.cjs +0 -7
- package/dist/_virtual/is-local-url.js +0 -3
- package/dist/_virtual/is-plain-object.cjs +0 -7
- package/dist/_virtual/is-plain-object.js +0 -3
- package/dist/_virtual/mitt.cjs +0 -7
- package/dist/_virtual/mitt.js +0 -3
- package/dist/_virtual/normalize-locale-path.cjs +0 -7
- package/dist/_virtual/normalize-locale-path.js +0 -3
- package/dist/_virtual/normalize-path-sep.cjs +0 -7
- package/dist/_virtual/normalize-path-sep.js +0 -3
- package/dist/_virtual/normalize-trailing-slash.cjs +0 -7
- package/dist/_virtual/normalize-trailing-slash.js +0 -3
- package/dist/_virtual/omit.cjs +0 -7
- package/dist/_virtual/omit.js +0 -3
- package/dist/_virtual/parse-loader-tree.cjs +0 -7
- package/dist/_virtual/parse-loader-tree.js +0 -3
- package/dist/_virtual/parse-path.cjs +0 -7
- package/dist/_virtual/parse-path.js +0 -3
- package/dist/_virtual/parse-relative-url.cjs +0 -7
- package/dist/_virtual/parse-relative-url.js +0 -3
- package/dist/_virtual/parse-url.cjs +0 -7
- package/dist/_virtual/parse-url.js +0 -3
- package/dist/_virtual/path-has-prefix.cjs +0 -7
- package/dist/_virtual/path-has-prefix.js +0 -3
- package/dist/_virtual/path-match.cjs +0 -7
- package/dist/_virtual/path-match.js +0 -3
- package/dist/_virtual/prepare-destination.cjs +0 -7
- package/dist/_virtual/prepare-destination.js +0 -3
- package/dist/_virtual/querystring.cjs +0 -7
- package/dist/_virtual/querystring.js +0 -3
- package/dist/_virtual/react-is.development.cjs +0 -7
- package/dist/_virtual/react-is.development.js +0 -3
- package/dist/_virtual/react-is.production.cjs +0 -7
- package/dist/_virtual/react-is.production.js +0 -3
- package/dist/_virtual/remove-base-path.cjs +0 -7
- package/dist/_virtual/remove-base-path.js +0 -3
- package/dist/_virtual/remove-locale.cjs +0 -7
- package/dist/_virtual/remove-locale.js +0 -3
- package/dist/_virtual/remove-path-prefix.cjs +0 -7
- package/dist/_virtual/remove-path-prefix.js +0 -3
- package/dist/_virtual/remove-trailing-slash.cjs +0 -7
- package/dist/_virtual/remove-trailing-slash.js +0 -3
- package/dist/_virtual/request-idle-callback.cjs +0 -7
- package/dist/_virtual/request-idle-callback.js +0 -3
- package/dist/_virtual/resolve-href.cjs +0 -7
- package/dist/_virtual/resolve-href.js +0 -3
- package/dist/_virtual/resolve-rewrites.cjs +0 -7
- package/dist/_virtual/resolve-rewrites.js +0 -3
- package/dist/_virtual/route-loader.cjs +0 -7
- package/dist/_virtual/route-loader.js +0 -3
- package/dist/_virtual/route-match-utils.cjs +0 -7
- package/dist/_virtual/route-match-utils.js +0 -3
- package/dist/_virtual/route-matcher.cjs +0 -7
- package/dist/_virtual/route-matcher.js +0 -3
- package/dist/_virtual/route-pattern-normalizer.cjs +0 -7
- package/dist/_virtual/route-pattern-normalizer.js +0 -3
- package/dist/_virtual/route-regex.cjs +0 -7
- package/dist/_virtual/route-regex.js +0 -3
- package/dist/_virtual/router-context.shared-runtime.cjs +0 -7
- package/dist/_virtual/router-context.shared-runtime.js +0 -3
- package/dist/_virtual/router.cjs +0 -9
- package/dist/_virtual/router.js +0 -5
- package/dist/_virtual/router2.cjs +0 -7
- package/dist/_virtual/router2.js +0 -3
- package/dist/_virtual/router3.cjs +0 -7
- package/dist/_virtual/router3.js +0 -3
- package/dist/_virtual/script.cjs +0 -7
- package/dist/_virtual/script.js +0 -3
- package/dist/_virtual/segment.cjs +0 -7
- package/dist/_virtual/segment.js +0 -3
- package/dist/_virtual/set-attributes-from-props.cjs +0 -7
- package/dist/_virtual/set-attributes-from-props.js +0 -3
- package/dist/_virtual/sorted-routes.cjs +0 -7
- package/dist/_virtual/sorted-routes.js +0 -3
- package/dist/_virtual/trusted-types.cjs +0 -7
- package/dist/_virtual/trusted-types.js +0 -3
- package/dist/_virtual/utils.cjs +0 -7
- package/dist/_virtual/utils.js +0 -3
- package/dist/_virtual/warn-once.cjs +0 -7
- package/dist/_virtual/warn-once.js +0 -3
- package/dist/_virtual/with-router.cjs +0 -7
- package/dist/_virtual/with-router.js +0 -3
- package/dist/node_modules/@swc/helpers/cjs/_interop_require_default.cjs +0 -20
- package/dist/node_modules/@swc/helpers/cjs/_interop_require_default.js +0 -16
- package/dist/node_modules/@swc/helpers/cjs/_interop_require_wildcard.cjs +0 -52
- package/dist/node_modules/@swc/helpers/cjs/_interop_require_wildcard.js +0 -48
- package/dist/node_modules/next/dist/build/deployment-id.cjs +0 -34
- package/dist/node_modules/next/dist/build/deployment-id.js +0 -30
- package/dist/node_modules/next/dist/client/add-base-path.cjs +0 -42
- package/dist/node_modules/next/dist/client/add-base-path.js +0 -38
- package/dist/node_modules/next/dist/client/add-locale.cjs +0 -43
- package/dist/node_modules/next/dist/client/add-locale.js +0 -39
- package/dist/node_modules/next/dist/client/detect-domain-locale.cjs +0 -40
- package/dist/node_modules/next/dist/client/detect-domain-locale.js +0 -36
- package/dist/node_modules/next/dist/client/has-base-path.cjs +0 -40
- package/dist/node_modules/next/dist/client/has-base-path.js +0 -36
- package/dist/node_modules/next/dist/client/normalize-trailing-slash.cjs +0 -54
- package/dist/node_modules/next/dist/client/normalize-trailing-slash.js +0 -50
- package/dist/node_modules/next/dist/client/remove-base-path.cjs +0 -49
- package/dist/node_modules/next/dist/client/remove-base-path.js +0 -45
- package/dist/node_modules/next/dist/client/remove-locale.cjs +0 -45
- package/dist/node_modules/next/dist/client/remove-locale.js +0 -41
- package/dist/node_modules/next/dist/client/request-idle-callback.cjs +0 -56
- package/dist/node_modules/next/dist/client/request-idle-callback.js +0 -52
- package/dist/node_modules/next/dist/client/resolve-href.cjs +0 -132
- package/dist/node_modules/next/dist/client/resolve-href.js +0 -128
- package/dist/node_modules/next/dist/client/route-loader.cjs +0 -363
- package/dist/node_modules/next/dist/client/route-loader.js +0 -359
- package/dist/node_modules/next/dist/client/router.cjs +0 -201
- package/dist/node_modules/next/dist/client/router.js +0 -197
- package/dist/node_modules/next/dist/client/script.cjs +0 -366
- package/dist/node_modules/next/dist/client/script.js +0 -362
- package/dist/node_modules/next/dist/client/set-attributes-from-props.cjs +0 -81
- package/dist/node_modules/next/dist/client/set-attributes-from-props.js +0 -77
- package/dist/node_modules/next/dist/client/trusted-types.cjs +0 -56
- package/dist/node_modules/next/dist/client/trusted-types.js +0 -52
- package/dist/node_modules/next/dist/client/with-router.cjs +0 -54
- package/dist/node_modules/next/dist/client/with-router.js +0 -50
- package/dist/node_modules/next/dist/compiled/cookie/index.cjs +0 -22
- package/dist/node_modules/next/dist/compiled/cookie/index.js +0 -18
- package/dist/node_modules/next/dist/compiled/gzip-size/index.cjs +0 -17
- package/dist/node_modules/next/dist/compiled/gzip-size/index.js +0 -13
- package/dist/node_modules/next/dist/compiled/path-to-regexp/index.cjs +0 -16
- package/dist/node_modules/next/dist/compiled/path-to-regexp/index.js +0 -12
- package/dist/node_modules/next/dist/compiled/react-is/cjs/react-is.development.cjs +0 -147
- package/dist/node_modules/next/dist/compiled/react-is/cjs/react-is.development.js +0 -143
- package/dist/node_modules/next/dist/compiled/react-is/cjs/react-is.production.cjs +0 -144
- package/dist/node_modules/next/dist/compiled/react-is/cjs/react-is.production.js +0 -140
- package/dist/node_modules/next/dist/compiled/react-is/index.cjs +0 -23
- package/dist/node_modules/next/dist/compiled/react-is/index.js +0 -19
- package/dist/node_modules/next/dist/lib/constants.cjs +0 -365
- package/dist/node_modules/next/dist/lib/constants.js +0 -361
- package/dist/node_modules/next/dist/lib/is-api-route.cjs +0 -31
- package/dist/node_modules/next/dist/lib/is-api-route.js +0 -27
- package/dist/node_modules/next/dist/lib/is-error.cjs +0 -91
- package/dist/node_modules/next/dist/lib/is-error.js +0 -87
- package/dist/node_modules/next/dist/lib/route-pattern-normalizer.cjs +0 -115
- package/dist/node_modules/next/dist/lib/route-pattern-normalizer.js +0 -111
- package/dist/node_modules/next/dist/server/api-utils/get-cookie-parser.cjs +0 -39
- package/dist/node_modules/next/dist/server/api-utils/get-cookie-parser.js +0 -35
- package/dist/node_modules/next/dist/shared/lib/bloom-filter.cjs +0 -101
- package/dist/node_modules/next/dist/shared/lib/bloom-filter.js +0 -97
- package/dist/node_modules/next/dist/shared/lib/encode-uri-path.cjs +0 -31
- package/dist/node_modules/next/dist/shared/lib/encode-uri-path.js +0 -27
- package/dist/node_modules/next/dist/shared/lib/escape-regexp.cjs +0 -37
- package/dist/node_modules/next/dist/shared/lib/escape-regexp.js +0 -33
- package/dist/node_modules/next/dist/shared/lib/head-manager-context.shared-runtime.cjs +0 -36
- package/dist/node_modules/next/dist/shared/lib/head-manager-context.shared-runtime.js +0 -32
- package/dist/node_modules/next/dist/shared/lib/i18n/detect-domain-locale.cjs +0 -41
- package/dist/node_modules/next/dist/shared/lib/i18n/detect-domain-locale.js +0 -37
- package/dist/node_modules/next/dist/shared/lib/i18n/normalize-locale-path.cjs +0 -70
- package/dist/node_modules/next/dist/shared/lib/i18n/normalize-locale-path.js +0 -66
- package/dist/node_modules/next/dist/shared/lib/invariant-error.cjs +0 -34
- package/dist/node_modules/next/dist/shared/lib/invariant-error.js +0 -30
- package/dist/node_modules/next/dist/shared/lib/is-plain-object.cjs +0 -54
- package/dist/node_modules/next/dist/shared/lib/is-plain-object.js +0 -50
- package/dist/node_modules/next/dist/shared/lib/mitt.cjs +0 -58
- package/dist/node_modules/next/dist/shared/lib/mitt.js +0 -54
- package/dist/node_modules/next/dist/shared/lib/page-path/denormalize-page-path.cjs +0 -36
- package/dist/node_modules/next/dist/shared/lib/page-path/denormalize-page-path.js +0 -32
- package/dist/node_modules/next/dist/shared/lib/page-path/ensure-leading-slash.cjs +0 -36
- package/dist/node_modules/next/dist/shared/lib/page-path/ensure-leading-slash.js +0 -32
- package/dist/node_modules/next/dist/shared/lib/page-path/normalize-path-sep.cjs +0 -37
- package/dist/node_modules/next/dist/shared/lib/page-path/normalize-path-sep.js +0 -33
- package/dist/node_modules/next/dist/shared/lib/router/router.cjs +0 -1814
- package/dist/node_modules/next/dist/shared/lib/router/router.js +0 -1810
- package/dist/node_modules/next/dist/shared/lib/router/utils/add-locale.cjs +0 -46
- package/dist/node_modules/next/dist/shared/lib/router/utils/add-locale.js +0 -42
- package/dist/node_modules/next/dist/shared/lib/router/utils/add-path-prefix.cjs +0 -37
- package/dist/node_modules/next/dist/shared/lib/router/utils/add-path-prefix.js +0 -33
- package/dist/node_modules/next/dist/shared/lib/router/utils/add-path-suffix.cjs +0 -37
- package/dist/node_modules/next/dist/shared/lib/router/utils/add-path-suffix.js +0 -33
- package/dist/node_modules/next/dist/shared/lib/router/utils/app-paths.cjs +0 -65
- 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/compare-states.cjs +0 -50
- package/dist/node_modules/next/dist/shared/lib/router/utils/compare-states.js +0 -46
- package/dist/node_modules/next/dist/shared/lib/router/utils/disable-smooth-scroll.cjs +0 -60
- package/dist/node_modules/next/dist/shared/lib/router/utils/disable-smooth-scroll.js +0 -56
- package/dist/node_modules/next/dist/shared/lib/router/utils/format-next-pathname-info.cjs +0 -47
- package/dist/node_modules/next/dist/shared/lib/router/utils/format-next-pathname-info.js +0 -43
- package/dist/node_modules/next/dist/shared/lib/router/utils/format-url.cjs +0 -103
- package/dist/node_modules/next/dist/shared/lib/router/utils/format-url.js +0 -99
- package/dist/node_modules/next/dist/shared/lib/router/utils/get-asset-path-from-route.cjs +0 -32
- package/dist/node_modules/next/dist/shared/lib/router/utils/get-asset-path-from-route.js +0 -28
- package/dist/node_modules/next/dist/shared/lib/router/utils/get-dynamic-param.cjs +0 -208
- package/dist/node_modules/next/dist/shared/lib/router/utils/get-dynamic-param.js +0 -204
- package/dist/node_modules/next/dist/shared/lib/router/utils/get-next-pathname-info.cjs +0 -71
- package/dist/node_modules/next/dist/shared/lib/router/utils/get-next-pathname-info.js +0 -67
- package/dist/node_modules/next/dist/shared/lib/router/utils/get-segment-param.cjs +0 -94
- package/dist/node_modules/next/dist/shared/lib/router/utils/get-segment-param.js +0 -90
- package/dist/node_modules/next/dist/shared/lib/router/utils/html-bots.cjs +0 -29
- package/dist/node_modules/next/dist/shared/lib/router/utils/html-bots.js +0 -25
- package/dist/node_modules/next/dist/shared/lib/router/utils/index.cjs +0 -43
- package/dist/node_modules/next/dist/shared/lib/router/utils/index.js +0 -39
- package/dist/node_modules/next/dist/shared/lib/router/utils/interception-routes.cjs +0 -119
- package/dist/node_modules/next/dist/shared/lib/router/utils/interception-routes.js +0 -115
- package/dist/node_modules/next/dist/shared/lib/router/utils/interpolate-as.cjs +0 -71
- package/dist/node_modules/next/dist/shared/lib/router/utils/interpolate-as.js +0 -67
- package/dist/node_modules/next/dist/shared/lib/router/utils/is-bot.cjs +0 -68
- package/dist/node_modules/next/dist/shared/lib/router/utils/is-bot.js +0 -64
- package/dist/node_modules/next/dist/shared/lib/router/utils/is-dynamic.cjs +0 -43
- package/dist/node_modules/next/dist/shared/lib/router/utils/is-dynamic.js +0 -39
- package/dist/node_modules/next/dist/shared/lib/router/utils/is-local-url.cjs +0 -44
- package/dist/node_modules/next/dist/shared/lib/router/utils/is-local-url.js +0 -40
- package/dist/node_modules/next/dist/shared/lib/router/utils/omit.cjs +0 -37
- package/dist/node_modules/next/dist/shared/lib/router/utils/omit.js +0 -33
- package/dist/node_modules/next/dist/shared/lib/router/utils/parse-loader-tree.cjs +0 -46
- package/dist/node_modules/next/dist/shared/lib/router/utils/parse-loader-tree.js +0 -42
- package/dist/node_modules/next/dist/shared/lib/router/utils/parse-path.cjs +0 -51
- package/dist/node_modules/next/dist/shared/lib/router/utils/parse-path.js +0 -47
- package/dist/node_modules/next/dist/shared/lib/router/utils/parse-relative-url.cjs +0 -54
- package/dist/node_modules/next/dist/shared/lib/router/utils/parse-relative-url.js +0 -50
- package/dist/node_modules/next/dist/shared/lib/router/utils/parse-url.cjs +0 -50
- package/dist/node_modules/next/dist/shared/lib/router/utils/parse-url.js +0 -46
- package/dist/node_modules/next/dist/shared/lib/router/utils/path-has-prefix.cjs +0 -37
- package/dist/node_modules/next/dist/shared/lib/router/utils/path-has-prefix.js +0 -33
- package/dist/node_modules/next/dist/shared/lib/router/utils/path-match.cjs +0 -66
- package/dist/node_modules/next/dist/shared/lib/router/utils/path-match.js +0 -62
- package/dist/node_modules/next/dist/shared/lib/router/utils/prepare-destination.cjs +0 -303
- package/dist/node_modules/next/dist/shared/lib/router/utils/prepare-destination.js +0 -299
- package/dist/node_modules/next/dist/shared/lib/router/utils/querystring.cjs +0 -90
- package/dist/node_modules/next/dist/shared/lib/router/utils/querystring.js +0 -86
- package/dist/node_modules/next/dist/shared/lib/router/utils/remove-path-prefix.cjs +0 -56
- package/dist/node_modules/next/dist/shared/lib/router/utils/remove-path-prefix.js +0 -52
- package/dist/node_modules/next/dist/shared/lib/router/utils/remove-trailing-slash.cjs +0 -39
- package/dist/node_modules/next/dist/shared/lib/router/utils/remove-trailing-slash.js +0 -35
- package/dist/node_modules/next/dist/shared/lib/router/utils/resolve-rewrites.cjs +0 -140
- package/dist/node_modules/next/dist/shared/lib/router/utils/resolve-rewrites.js +0 -136
- package/dist/node_modules/next/dist/shared/lib/router/utils/route-match-utils.cjs +0 -127
- package/dist/node_modules/next/dist/shared/lib/router/utils/route-match-utils.js +0 -123
- package/dist/node_modules/next/dist/shared/lib/router/utils/route-matcher.cjs +0 -63
- package/dist/node_modules/next/dist/shared/lib/router/utils/route-matcher.js +0 -59
- package/dist/node_modules/next/dist/shared/lib/router/utils/route-regex.cjs +0 -272
- package/dist/node_modules/next/dist/shared/lib/router/utils/route-regex.js +0 -268
- package/dist/node_modules/next/dist/shared/lib/router/utils/sorted-routes.cjs +0 -256
- package/dist/node_modules/next/dist/shared/lib/router/utils/sorted-routes.js +0 -252
- package/dist/node_modules/next/dist/shared/lib/router-context.shared-runtime.cjs +0 -36
- package/dist/node_modules/next/dist/shared/lib/router-context.shared-runtime.js +0 -32
- package/dist/node_modules/next/dist/shared/lib/segment.cjs +0 -103
- package/dist/node_modules/next/dist/shared/lib/segment.js +0 -99
- package/dist/node_modules/next/dist/shared/lib/utils/warn-once.cjs +0 -38
- package/dist/node_modules/next/dist/shared/lib/utils/warn-once.js +0 -34
- package/dist/node_modules/next/dist/shared/lib/utils.cjs +0 -204
- package/dist/node_modules/next/dist/shared/lib/utils.js +0 -200
- package/dist/node_modules/next/router.cjs +0 -17
- package/dist/node_modules/next/router.js +0 -13
|
@@ -1,71 +0,0 @@
|
|
|
1
|
-
'use strict';
|
|
2
|
-
|
|
3
|
-
Object.defineProperty(exports, Symbol.toStringTag, { value: 'Module' });
|
|
4
|
-
|
|
5
|
-
const getNextPathnameInfo = require('../../../../../../../_virtual/get-next-pathname-info.cjs');
|
|
6
|
-
const normalizeLocalePath = require('../../i18n/normalize-locale-path.cjs');
|
|
7
|
-
const removePathPrefix = require('./remove-path-prefix.cjs');
|
|
8
|
-
const pathHasPrefix = require('./path-has-prefix.cjs');
|
|
9
|
-
|
|
10
|
-
var hasRequiredGetNextPathnameInfo;
|
|
11
|
-
|
|
12
|
-
function requireGetNextPathnameInfo () {
|
|
13
|
-
if (hasRequiredGetNextPathnameInfo) return getNextPathnameInfo.__exports;
|
|
14
|
-
hasRequiredGetNextPathnameInfo = 1;
|
|
15
|
-
(function (exports) {
|
|
16
|
-
Object.defineProperty(exports, "__esModule", {
|
|
17
|
-
value: true
|
|
18
|
-
});
|
|
19
|
-
Object.defineProperty(exports, "getNextPathnameInfo", {
|
|
20
|
-
enumerable: true,
|
|
21
|
-
get: function() {
|
|
22
|
-
return getNextPathnameInfo;
|
|
23
|
-
}
|
|
24
|
-
});
|
|
25
|
-
const _normalizelocalepath = normalizeLocalePath.__require();
|
|
26
|
-
const _removepathprefix = removePathPrefix.__require();
|
|
27
|
-
const _pathhasprefix = pathHasPrefix.__require();
|
|
28
|
-
function getNextPathnameInfo(pathname, options) {
|
|
29
|
-
const { basePath, i18n, trailingSlash } = options.nextConfig ?? {};
|
|
30
|
-
const info = {
|
|
31
|
-
pathname,
|
|
32
|
-
trailingSlash: pathname !== '/' ? pathname.endsWith('/') : trailingSlash
|
|
33
|
-
};
|
|
34
|
-
if (basePath && (0, _pathhasprefix.pathHasPrefix)(info.pathname, basePath)) {
|
|
35
|
-
info.pathname = (0, _removepathprefix.removePathPrefix)(info.pathname, basePath);
|
|
36
|
-
info.basePath = basePath;
|
|
37
|
-
}
|
|
38
|
-
let pathnameNoDataPrefix = info.pathname;
|
|
39
|
-
if (info.pathname.startsWith('/_next/data/') && info.pathname.endsWith('.json')) {
|
|
40
|
-
const paths = info.pathname.replace(/^\/_next\/data\//, '').replace(/\.json$/, '').split('/');
|
|
41
|
-
const buildId = paths[0];
|
|
42
|
-
info.buildId = buildId;
|
|
43
|
-
pathnameNoDataPrefix = paths[1] !== 'index' ? `/${paths.slice(1).join('/')}` : '/';
|
|
44
|
-
// update pathname with normalized if enabled although
|
|
45
|
-
// we use normalized to populate locale info still
|
|
46
|
-
if (options.parseData === true) {
|
|
47
|
-
info.pathname = pathnameNoDataPrefix;
|
|
48
|
-
}
|
|
49
|
-
}
|
|
50
|
-
// If provided, use the locale route normalizer to detect the locale instead
|
|
51
|
-
// of the function below.
|
|
52
|
-
if (i18n) {
|
|
53
|
-
let result = options.i18nProvider ? options.i18nProvider.analyze(info.pathname) : (0, _normalizelocalepath.normalizeLocalePath)(info.pathname, i18n.locales);
|
|
54
|
-
info.locale = result.detectedLocale;
|
|
55
|
-
info.pathname = result.pathname ?? info.pathname;
|
|
56
|
-
if (!result.detectedLocale && info.buildId) {
|
|
57
|
-
result = options.i18nProvider ? options.i18nProvider.analyze(pathnameNoDataPrefix) : (0, _normalizelocalepath.normalizeLocalePath)(pathnameNoDataPrefix, i18n.locales);
|
|
58
|
-
if (result.detectedLocale) {
|
|
59
|
-
info.locale = result.detectedLocale;
|
|
60
|
-
}
|
|
61
|
-
}
|
|
62
|
-
}
|
|
63
|
-
return info;
|
|
64
|
-
}
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
} (getNextPathnameInfo.__exports));
|
|
68
|
-
return getNextPathnameInfo.__exports;
|
|
69
|
-
}
|
|
70
|
-
|
|
71
|
-
exports.__require = requireGetNextPathnameInfo;
|
|
@@ -1,67 +0,0 @@
|
|
|
1
|
-
import { __exports as getNextPathnameInfo } from '../../../../../../../_virtual/get-next-pathname-info.js';
|
|
2
|
-
import { __require as requireNormalizeLocalePath } from '../../i18n/normalize-locale-path.js';
|
|
3
|
-
import { __require as requireRemovePathPrefix } from './remove-path-prefix.js';
|
|
4
|
-
import { __require as requirePathHasPrefix } from './path-has-prefix.js';
|
|
5
|
-
|
|
6
|
-
var hasRequiredGetNextPathnameInfo;
|
|
7
|
-
|
|
8
|
-
function requireGetNextPathnameInfo () {
|
|
9
|
-
if (hasRequiredGetNextPathnameInfo) return getNextPathnameInfo;
|
|
10
|
-
hasRequiredGetNextPathnameInfo = 1;
|
|
11
|
-
(function (exports) {
|
|
12
|
-
Object.defineProperty(exports, "__esModule", {
|
|
13
|
-
value: true
|
|
14
|
-
});
|
|
15
|
-
Object.defineProperty(exports, "getNextPathnameInfo", {
|
|
16
|
-
enumerable: true,
|
|
17
|
-
get: function() {
|
|
18
|
-
return getNextPathnameInfo;
|
|
19
|
-
}
|
|
20
|
-
});
|
|
21
|
-
const _normalizelocalepath = requireNormalizeLocalePath();
|
|
22
|
-
const _removepathprefix = requireRemovePathPrefix();
|
|
23
|
-
const _pathhasprefix = requirePathHasPrefix();
|
|
24
|
-
function getNextPathnameInfo(pathname, options) {
|
|
25
|
-
const { basePath, i18n, trailingSlash } = options.nextConfig ?? {};
|
|
26
|
-
const info = {
|
|
27
|
-
pathname,
|
|
28
|
-
trailingSlash: pathname !== '/' ? pathname.endsWith('/') : trailingSlash
|
|
29
|
-
};
|
|
30
|
-
if (basePath && (0, _pathhasprefix.pathHasPrefix)(info.pathname, basePath)) {
|
|
31
|
-
info.pathname = (0, _removepathprefix.removePathPrefix)(info.pathname, basePath);
|
|
32
|
-
info.basePath = basePath;
|
|
33
|
-
}
|
|
34
|
-
let pathnameNoDataPrefix = info.pathname;
|
|
35
|
-
if (info.pathname.startsWith('/_next/data/') && info.pathname.endsWith('.json')) {
|
|
36
|
-
const paths = info.pathname.replace(/^\/_next\/data\//, '').replace(/\.json$/, '').split('/');
|
|
37
|
-
const buildId = paths[0];
|
|
38
|
-
info.buildId = buildId;
|
|
39
|
-
pathnameNoDataPrefix = paths[1] !== 'index' ? `/${paths.slice(1).join('/')}` : '/';
|
|
40
|
-
// update pathname with normalized if enabled although
|
|
41
|
-
// we use normalized to populate locale info still
|
|
42
|
-
if (options.parseData === true) {
|
|
43
|
-
info.pathname = pathnameNoDataPrefix;
|
|
44
|
-
}
|
|
45
|
-
}
|
|
46
|
-
// If provided, use the locale route normalizer to detect the locale instead
|
|
47
|
-
// of the function below.
|
|
48
|
-
if (i18n) {
|
|
49
|
-
let result = options.i18nProvider ? options.i18nProvider.analyze(info.pathname) : (0, _normalizelocalepath.normalizeLocalePath)(info.pathname, i18n.locales);
|
|
50
|
-
info.locale = result.detectedLocale;
|
|
51
|
-
info.pathname = result.pathname ?? info.pathname;
|
|
52
|
-
if (!result.detectedLocale && info.buildId) {
|
|
53
|
-
result = options.i18nProvider ? options.i18nProvider.analyze(pathnameNoDataPrefix) : (0, _normalizelocalepath.normalizeLocalePath)(pathnameNoDataPrefix, i18n.locales);
|
|
54
|
-
if (result.detectedLocale) {
|
|
55
|
-
info.locale = result.detectedLocale;
|
|
56
|
-
}
|
|
57
|
-
}
|
|
58
|
-
}
|
|
59
|
-
return info;
|
|
60
|
-
}
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
} (getNextPathnameInfo));
|
|
64
|
-
return getNextPathnameInfo;
|
|
65
|
-
}
|
|
66
|
-
|
|
67
|
-
export { requireGetNextPathnameInfo as __require };
|
|
@@ -1,94 +0,0 @@
|
|
|
1
|
-
'use strict';
|
|
2
|
-
|
|
3
|
-
Object.defineProperty(exports, Symbol.toStringTag, { value: 'Module' });
|
|
4
|
-
|
|
5
|
-
const getSegmentParam = require('../../../../../../../_virtual/get-segment-param.cjs');
|
|
6
|
-
const interceptionRoutes = require('./interception-routes.cjs');
|
|
7
|
-
|
|
8
|
-
var hasRequiredGetSegmentParam;
|
|
9
|
-
|
|
10
|
-
function requireGetSegmentParam () {
|
|
11
|
-
if (hasRequiredGetSegmentParam) return getSegmentParam.__exports;
|
|
12
|
-
hasRequiredGetSegmentParam = 1;
|
|
13
|
-
(function (exports) {
|
|
14
|
-
Object.defineProperty(exports, "__esModule", {
|
|
15
|
-
value: true
|
|
16
|
-
});
|
|
17
|
-
function _export(target, all) {
|
|
18
|
-
for(var name in all)Object.defineProperty(target, name, {
|
|
19
|
-
enumerable: true,
|
|
20
|
-
get: all[name]
|
|
21
|
-
});
|
|
22
|
-
}
|
|
23
|
-
_export(exports, {
|
|
24
|
-
getParamProperties: function() {
|
|
25
|
-
return getParamProperties;
|
|
26
|
-
},
|
|
27
|
-
getSegmentParam: function() {
|
|
28
|
-
return getSegmentParam;
|
|
29
|
-
},
|
|
30
|
-
isCatchAll: function() {
|
|
31
|
-
return isCatchAll;
|
|
32
|
-
}
|
|
33
|
-
});
|
|
34
|
-
const _interceptionroutes = interceptionRoutes.__require();
|
|
35
|
-
function getSegmentParam(segment) {
|
|
36
|
-
const interceptionMarker = _interceptionroutes.INTERCEPTION_ROUTE_MARKERS.find((marker)=>segment.startsWith(marker));
|
|
37
|
-
// if an interception marker is part of the path segment, we need to jump ahead
|
|
38
|
-
// to the relevant portion for param parsing
|
|
39
|
-
if (interceptionMarker) {
|
|
40
|
-
segment = segment.slice(interceptionMarker.length);
|
|
41
|
-
}
|
|
42
|
-
if (segment.startsWith('[[...') && segment.endsWith(']]')) {
|
|
43
|
-
return {
|
|
44
|
-
// TODO-APP: Optional catchall does not currently work with parallel routes,
|
|
45
|
-
// so for now aren't handling a potential interception marker.
|
|
46
|
-
type: 'optional-catchall',
|
|
47
|
-
param: segment.slice(5, -2)
|
|
48
|
-
};
|
|
49
|
-
}
|
|
50
|
-
if (segment.startsWith('[...') && segment.endsWith(']')) {
|
|
51
|
-
return {
|
|
52
|
-
type: interceptionMarker ? `catchall-intercepted-${interceptionMarker}` : 'catchall',
|
|
53
|
-
param: segment.slice(4, -1)
|
|
54
|
-
};
|
|
55
|
-
}
|
|
56
|
-
if (segment.startsWith('[') && segment.endsWith(']')) {
|
|
57
|
-
return {
|
|
58
|
-
type: interceptionMarker ? `dynamic-intercepted-${interceptionMarker}` : 'dynamic',
|
|
59
|
-
param: segment.slice(1, -1)
|
|
60
|
-
};
|
|
61
|
-
}
|
|
62
|
-
return null;
|
|
63
|
-
}
|
|
64
|
-
function isCatchAll(type) {
|
|
65
|
-
return type === 'catchall' || type === 'catchall-intercepted-(..)(..)' || type === 'catchall-intercepted-(.)' || type === 'catchall-intercepted-(..)' || type === 'catchall-intercepted-(...)' || type === 'optional-catchall';
|
|
66
|
-
}
|
|
67
|
-
function getParamProperties(paramType) {
|
|
68
|
-
let repeat = false;
|
|
69
|
-
let optional = false;
|
|
70
|
-
switch(paramType){
|
|
71
|
-
case 'catchall':
|
|
72
|
-
case 'catchall-intercepted-(..)(..)':
|
|
73
|
-
case 'catchall-intercepted-(.)':
|
|
74
|
-
case 'catchall-intercepted-(..)':
|
|
75
|
-
case 'catchall-intercepted-(...)':
|
|
76
|
-
repeat = true;
|
|
77
|
-
break;
|
|
78
|
-
case 'optional-catchall':
|
|
79
|
-
repeat = true;
|
|
80
|
-
optional = true;
|
|
81
|
-
break;
|
|
82
|
-
}
|
|
83
|
-
return {
|
|
84
|
-
repeat,
|
|
85
|
-
optional
|
|
86
|
-
};
|
|
87
|
-
}
|
|
88
|
-
|
|
89
|
-
|
|
90
|
-
} (getSegmentParam.__exports));
|
|
91
|
-
return getSegmentParam.__exports;
|
|
92
|
-
}
|
|
93
|
-
|
|
94
|
-
exports.__require = requireGetSegmentParam;
|
|
@@ -1,90 +0,0 @@
|
|
|
1
|
-
import { __exports as getSegmentParam } from '../../../../../../../_virtual/get-segment-param.js';
|
|
2
|
-
import { __require as requireInterceptionRoutes } from './interception-routes.js';
|
|
3
|
-
|
|
4
|
-
var hasRequiredGetSegmentParam;
|
|
5
|
-
|
|
6
|
-
function requireGetSegmentParam () {
|
|
7
|
-
if (hasRequiredGetSegmentParam) return getSegmentParam;
|
|
8
|
-
hasRequiredGetSegmentParam = 1;
|
|
9
|
-
(function (exports) {
|
|
10
|
-
Object.defineProperty(exports, "__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, {
|
|
20
|
-
getParamProperties: function() {
|
|
21
|
-
return getParamProperties;
|
|
22
|
-
},
|
|
23
|
-
getSegmentParam: function() {
|
|
24
|
-
return getSegmentParam;
|
|
25
|
-
},
|
|
26
|
-
isCatchAll: function() {
|
|
27
|
-
return isCatchAll;
|
|
28
|
-
}
|
|
29
|
-
});
|
|
30
|
-
const _interceptionroutes = requireInterceptionRoutes();
|
|
31
|
-
function getSegmentParam(segment) {
|
|
32
|
-
const interceptionMarker = _interceptionroutes.INTERCEPTION_ROUTE_MARKERS.find((marker)=>segment.startsWith(marker));
|
|
33
|
-
// if an interception marker is part of the path segment, we need to jump ahead
|
|
34
|
-
// to the relevant portion for param parsing
|
|
35
|
-
if (interceptionMarker) {
|
|
36
|
-
segment = segment.slice(interceptionMarker.length);
|
|
37
|
-
}
|
|
38
|
-
if (segment.startsWith('[[...') && segment.endsWith(']]')) {
|
|
39
|
-
return {
|
|
40
|
-
// TODO-APP: Optional catchall does not currently work with parallel routes,
|
|
41
|
-
// so for now aren't handling a potential interception marker.
|
|
42
|
-
type: 'optional-catchall',
|
|
43
|
-
param: segment.slice(5, -2)
|
|
44
|
-
};
|
|
45
|
-
}
|
|
46
|
-
if (segment.startsWith('[...') && segment.endsWith(']')) {
|
|
47
|
-
return {
|
|
48
|
-
type: interceptionMarker ? `catchall-intercepted-${interceptionMarker}` : 'catchall',
|
|
49
|
-
param: segment.slice(4, -1)
|
|
50
|
-
};
|
|
51
|
-
}
|
|
52
|
-
if (segment.startsWith('[') && segment.endsWith(']')) {
|
|
53
|
-
return {
|
|
54
|
-
type: interceptionMarker ? `dynamic-intercepted-${interceptionMarker}` : 'dynamic',
|
|
55
|
-
param: segment.slice(1, -1)
|
|
56
|
-
};
|
|
57
|
-
}
|
|
58
|
-
return null;
|
|
59
|
-
}
|
|
60
|
-
function isCatchAll(type) {
|
|
61
|
-
return type === 'catchall' || type === 'catchall-intercepted-(..)(..)' || type === 'catchall-intercepted-(.)' || type === 'catchall-intercepted-(..)' || type === 'catchall-intercepted-(...)' || type === 'optional-catchall';
|
|
62
|
-
}
|
|
63
|
-
function getParamProperties(paramType) {
|
|
64
|
-
let repeat = false;
|
|
65
|
-
let optional = false;
|
|
66
|
-
switch(paramType){
|
|
67
|
-
case 'catchall':
|
|
68
|
-
case 'catchall-intercepted-(..)(..)':
|
|
69
|
-
case 'catchall-intercepted-(.)':
|
|
70
|
-
case 'catchall-intercepted-(..)':
|
|
71
|
-
case 'catchall-intercepted-(...)':
|
|
72
|
-
repeat = true;
|
|
73
|
-
break;
|
|
74
|
-
case 'optional-catchall':
|
|
75
|
-
repeat = true;
|
|
76
|
-
optional = true;
|
|
77
|
-
break;
|
|
78
|
-
}
|
|
79
|
-
return {
|
|
80
|
-
repeat,
|
|
81
|
-
optional
|
|
82
|
-
};
|
|
83
|
-
}
|
|
84
|
-
|
|
85
|
-
|
|
86
|
-
} (getSegmentParam));
|
|
87
|
-
return getSegmentParam;
|
|
88
|
-
}
|
|
89
|
-
|
|
90
|
-
export { requireGetSegmentParam as __require };
|
|
@@ -1,29 +0,0 @@
|
|
|
1
|
-
'use strict';
|
|
2
|
-
|
|
3
|
-
Object.defineProperty(exports, Symbol.toStringTag, { value: 'Module' });
|
|
4
|
-
|
|
5
|
-
const htmlBots = require('../../../../../../../_virtual/html-bots.cjs');
|
|
6
|
-
|
|
7
|
-
var hasRequiredHtmlBots;
|
|
8
|
-
|
|
9
|
-
function requireHtmlBots () {
|
|
10
|
-
if (hasRequiredHtmlBots) return htmlBots.__exports;
|
|
11
|
-
hasRequiredHtmlBots = 1;
|
|
12
|
-
(function (exports) {
|
|
13
|
-
Object.defineProperty(exports, "__esModule", {
|
|
14
|
-
value: true
|
|
15
|
-
});
|
|
16
|
-
Object.defineProperty(exports, "HTML_LIMITED_BOT_UA_RE", {
|
|
17
|
-
enumerable: true,
|
|
18
|
-
get: function() {
|
|
19
|
-
return HTML_LIMITED_BOT_UA_RE;
|
|
20
|
-
}
|
|
21
|
-
});
|
|
22
|
-
const HTML_LIMITED_BOT_UA_RE = /[\w-]+-Google|Google-[\w-]+|Chrome-Lighthouse|Slurp|DuckDuckBot|baiduspider|yandex|sogou|bitlybot|tumblr|vkShare|quora link preview|redditbot|ia_archiver|Bingbot|BingPreview|applebot|facebookexternalhit|facebookcatalog|Twitterbot|LinkedInBot|Slackbot|Discordbot|WhatsApp|SkypeUriPreview|Yeti|googleweblight/i;
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
} (htmlBots.__exports));
|
|
26
|
-
return htmlBots.__exports;
|
|
27
|
-
}
|
|
28
|
-
|
|
29
|
-
exports.__require = requireHtmlBots;
|
|
@@ -1,25 +0,0 @@
|
|
|
1
|
-
import { __exports as htmlBots } from '../../../../../../../_virtual/html-bots.js';
|
|
2
|
-
|
|
3
|
-
var hasRequiredHtmlBots;
|
|
4
|
-
|
|
5
|
-
function requireHtmlBots () {
|
|
6
|
-
if (hasRequiredHtmlBots) return htmlBots;
|
|
7
|
-
hasRequiredHtmlBots = 1;
|
|
8
|
-
(function (exports) {
|
|
9
|
-
Object.defineProperty(exports, "__esModule", {
|
|
10
|
-
value: true
|
|
11
|
-
});
|
|
12
|
-
Object.defineProperty(exports, "HTML_LIMITED_BOT_UA_RE", {
|
|
13
|
-
enumerable: true,
|
|
14
|
-
get: function() {
|
|
15
|
-
return HTML_LIMITED_BOT_UA_RE;
|
|
16
|
-
}
|
|
17
|
-
});
|
|
18
|
-
const HTML_LIMITED_BOT_UA_RE = /[\w-]+-Google|Google-[\w-]+|Chrome-Lighthouse|Slurp|DuckDuckBot|baiduspider|yandex|sogou|bitlybot|tumblr|vkShare|quora link preview|redditbot|ia_archiver|Bingbot|BingPreview|applebot|facebookexternalhit|facebookcatalog|Twitterbot|LinkedInBot|Slackbot|Discordbot|WhatsApp|SkypeUriPreview|Yeti|googleweblight/i;
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
} (htmlBots));
|
|
22
|
-
return htmlBots;
|
|
23
|
-
}
|
|
24
|
-
|
|
25
|
-
export { requireHtmlBots as __require };
|
|
@@ -1,43 +0,0 @@
|
|
|
1
|
-
'use strict';
|
|
2
|
-
|
|
3
|
-
Object.defineProperty(exports, Symbol.toStringTag, { value: 'Module' });
|
|
4
|
-
|
|
5
|
-
const index = require('../../../../../../../_virtual/index2.cjs');
|
|
6
|
-
const sortedRoutes = require('./sorted-routes.cjs');
|
|
7
|
-
const isDynamic = require('./is-dynamic.cjs');
|
|
8
|
-
|
|
9
|
-
var hasRequiredUtils;
|
|
10
|
-
|
|
11
|
-
function requireUtils () {
|
|
12
|
-
if (hasRequiredUtils) return index.__exports;
|
|
13
|
-
hasRequiredUtils = 1;
|
|
14
|
-
(function (exports) {
|
|
15
|
-
Object.defineProperty(exports, "__esModule", {
|
|
16
|
-
value: true
|
|
17
|
-
});
|
|
18
|
-
function _export(target, all) {
|
|
19
|
-
for(var name in all)Object.defineProperty(target, name, {
|
|
20
|
-
enumerable: true,
|
|
21
|
-
get: all[name]
|
|
22
|
-
});
|
|
23
|
-
}
|
|
24
|
-
_export(exports, {
|
|
25
|
-
getSortedRouteObjects: function() {
|
|
26
|
-
return _sortedroutes.getSortedRouteObjects;
|
|
27
|
-
},
|
|
28
|
-
getSortedRoutes: function() {
|
|
29
|
-
return _sortedroutes.getSortedRoutes;
|
|
30
|
-
},
|
|
31
|
-
isDynamicRoute: function() {
|
|
32
|
-
return _isdynamic.isDynamicRoute;
|
|
33
|
-
}
|
|
34
|
-
});
|
|
35
|
-
const _sortedroutes = sortedRoutes.__require();
|
|
36
|
-
const _isdynamic = isDynamic.__require();
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
} (index.__exports));
|
|
40
|
-
return index.__exports;
|
|
41
|
-
}
|
|
42
|
-
|
|
43
|
-
exports.__require = requireUtils;
|
|
@@ -1,39 +0,0 @@
|
|
|
1
|
-
import { __exports as utils } from '../../../../../../../_virtual/index2.js';
|
|
2
|
-
import { __require as requireSortedRoutes } from './sorted-routes.js';
|
|
3
|
-
import { __require as requireIsDynamic } from './is-dynamic.js';
|
|
4
|
-
|
|
5
|
-
var hasRequiredUtils;
|
|
6
|
-
|
|
7
|
-
function requireUtils () {
|
|
8
|
-
if (hasRequiredUtils) return utils;
|
|
9
|
-
hasRequiredUtils = 1;
|
|
10
|
-
(function (exports) {
|
|
11
|
-
Object.defineProperty(exports, "__esModule", {
|
|
12
|
-
value: true
|
|
13
|
-
});
|
|
14
|
-
function _export(target, all) {
|
|
15
|
-
for(var name in all)Object.defineProperty(target, name, {
|
|
16
|
-
enumerable: true,
|
|
17
|
-
get: all[name]
|
|
18
|
-
});
|
|
19
|
-
}
|
|
20
|
-
_export(exports, {
|
|
21
|
-
getSortedRouteObjects: function() {
|
|
22
|
-
return _sortedroutes.getSortedRouteObjects;
|
|
23
|
-
},
|
|
24
|
-
getSortedRoutes: function() {
|
|
25
|
-
return _sortedroutes.getSortedRoutes;
|
|
26
|
-
},
|
|
27
|
-
isDynamicRoute: function() {
|
|
28
|
-
return _isdynamic.isDynamicRoute;
|
|
29
|
-
}
|
|
30
|
-
});
|
|
31
|
-
const _sortedroutes = requireSortedRoutes();
|
|
32
|
-
const _isdynamic = requireIsDynamic();
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
} (utils));
|
|
36
|
-
return utils;
|
|
37
|
-
}
|
|
38
|
-
|
|
39
|
-
export { requireUtils as __require };
|
|
@@ -1,119 +0,0 @@
|
|
|
1
|
-
'use strict';
|
|
2
|
-
|
|
3
|
-
Object.defineProperty(exports, Symbol.toStringTag, { value: 'Module' });
|
|
4
|
-
|
|
5
|
-
const interceptionRoutes = require('../../../../../../../_virtual/interception-routes.cjs');
|
|
6
|
-
const appPaths = require('./app-paths.cjs');
|
|
7
|
-
|
|
8
|
-
var hasRequiredInterceptionRoutes;
|
|
9
|
-
|
|
10
|
-
function requireInterceptionRoutes () {
|
|
11
|
-
if (hasRequiredInterceptionRoutes) return interceptionRoutes.__exports;
|
|
12
|
-
hasRequiredInterceptionRoutes = 1;
|
|
13
|
-
(function (exports) {
|
|
14
|
-
Object.defineProperty(exports, "__esModule", {
|
|
15
|
-
value: true
|
|
16
|
-
});
|
|
17
|
-
function _export(target, all) {
|
|
18
|
-
for(var name in all)Object.defineProperty(target, name, {
|
|
19
|
-
enumerable: true,
|
|
20
|
-
get: all[name]
|
|
21
|
-
});
|
|
22
|
-
}
|
|
23
|
-
_export(exports, {
|
|
24
|
-
INTERCEPTION_ROUTE_MARKERS: function() {
|
|
25
|
-
return INTERCEPTION_ROUTE_MARKERS;
|
|
26
|
-
},
|
|
27
|
-
extractInterceptionRouteInformation: function() {
|
|
28
|
-
return extractInterceptionRouteInformation;
|
|
29
|
-
},
|
|
30
|
-
isInterceptionRouteAppPath: function() {
|
|
31
|
-
return isInterceptionRouteAppPath;
|
|
32
|
-
}
|
|
33
|
-
});
|
|
34
|
-
const _apppaths = appPaths.__require();
|
|
35
|
-
const INTERCEPTION_ROUTE_MARKERS = [
|
|
36
|
-
'(..)(..)',
|
|
37
|
-
'(.)',
|
|
38
|
-
'(..)',
|
|
39
|
-
'(...)'
|
|
40
|
-
];
|
|
41
|
-
function isInterceptionRouteAppPath(path) {
|
|
42
|
-
// TODO-APP: add more serious validation
|
|
43
|
-
return path.split('/').find((segment)=>INTERCEPTION_ROUTE_MARKERS.find((m)=>segment.startsWith(m))) !== undefined;
|
|
44
|
-
}
|
|
45
|
-
function extractInterceptionRouteInformation(path) {
|
|
46
|
-
let interceptingRoute;
|
|
47
|
-
let marker;
|
|
48
|
-
let interceptedRoute;
|
|
49
|
-
for (const segment of path.split('/')){
|
|
50
|
-
marker = INTERCEPTION_ROUTE_MARKERS.find((m)=>segment.startsWith(m));
|
|
51
|
-
if (marker) {
|
|
52
|
-
[interceptingRoute, interceptedRoute] = path.split(marker, 2);
|
|
53
|
-
break;
|
|
54
|
-
}
|
|
55
|
-
}
|
|
56
|
-
if (!interceptingRoute || !marker || !interceptedRoute) {
|
|
57
|
-
throw Object.defineProperty(new Error(`Invalid interception route: ${path}. Must be in the format /<intercepting route>/(..|...|..)(..)/<intercepted route>`), "__NEXT_ERROR_CODE", {
|
|
58
|
-
value: "E269",
|
|
59
|
-
enumerable: false,
|
|
60
|
-
configurable: true
|
|
61
|
-
});
|
|
62
|
-
}
|
|
63
|
-
interceptingRoute = (0, _apppaths.normalizeAppPath)(interceptingRoute) // normalize the path, e.g. /(blog)/feed -> /feed
|
|
64
|
-
;
|
|
65
|
-
switch(marker){
|
|
66
|
-
case '(.)':
|
|
67
|
-
// (.) indicates that we should match with sibling routes, so we just need to append the intercepted route to the intercepting route
|
|
68
|
-
if (interceptingRoute === '/') {
|
|
69
|
-
interceptedRoute = `/${interceptedRoute}`;
|
|
70
|
-
} else {
|
|
71
|
-
interceptedRoute = interceptingRoute + '/' + interceptedRoute;
|
|
72
|
-
}
|
|
73
|
-
break;
|
|
74
|
-
case '(..)':
|
|
75
|
-
// (..) indicates that we should match at one level up, so we need to remove the last segment of the intercepting route
|
|
76
|
-
if (interceptingRoute === '/') {
|
|
77
|
-
throw Object.defineProperty(new Error(`Invalid interception route: ${path}. Cannot use (..) marker at the root level, use (.) instead.`), "__NEXT_ERROR_CODE", {
|
|
78
|
-
value: "E207",
|
|
79
|
-
enumerable: false,
|
|
80
|
-
configurable: true
|
|
81
|
-
});
|
|
82
|
-
}
|
|
83
|
-
interceptedRoute = interceptingRoute.split('/').slice(0, -1).concat(interceptedRoute).join('/');
|
|
84
|
-
break;
|
|
85
|
-
case '(...)':
|
|
86
|
-
// (...) will match the route segment in the root directory, so we need to use the root directory to prepend the intercepted route
|
|
87
|
-
interceptedRoute = '/' + interceptedRoute;
|
|
88
|
-
break;
|
|
89
|
-
case '(..)(..)':
|
|
90
|
-
// (..)(..) indicates that we should match at two levels up, so we need to remove the last two segments of the intercepting route
|
|
91
|
-
const splitInterceptingRoute = interceptingRoute.split('/');
|
|
92
|
-
if (splitInterceptingRoute.length <= 2) {
|
|
93
|
-
throw Object.defineProperty(new Error(`Invalid interception route: ${path}. Cannot use (..)(..) marker at the root level or one level up.`), "__NEXT_ERROR_CODE", {
|
|
94
|
-
value: "E486",
|
|
95
|
-
enumerable: false,
|
|
96
|
-
configurable: true
|
|
97
|
-
});
|
|
98
|
-
}
|
|
99
|
-
interceptedRoute = splitInterceptingRoute.slice(0, -2).concat(interceptedRoute).join('/');
|
|
100
|
-
break;
|
|
101
|
-
default:
|
|
102
|
-
throw Object.defineProperty(new Error('Invariant: unexpected marker'), "__NEXT_ERROR_CODE", {
|
|
103
|
-
value: "E112",
|
|
104
|
-
enumerable: false,
|
|
105
|
-
configurable: true
|
|
106
|
-
});
|
|
107
|
-
}
|
|
108
|
-
return {
|
|
109
|
-
interceptingRoute,
|
|
110
|
-
interceptedRoute
|
|
111
|
-
};
|
|
112
|
-
}
|
|
113
|
-
|
|
114
|
-
|
|
115
|
-
} (interceptionRoutes.__exports));
|
|
116
|
-
return interceptionRoutes.__exports;
|
|
117
|
-
}
|
|
118
|
-
|
|
119
|
-
exports.__require = requireInterceptionRoutes;
|