@lssm/lib.design-system 1.11.1 → 1.41.0

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.
Files changed (299) hide show
  1. package/README.md +6 -1
  2. package/dist/_virtual/rolldown_runtime.js +9 -4
  3. package/dist/components/agent/ApprovalQueue.js +1 -1
  4. package/dist/components/atoms/Button.js +4 -5
  5. package/dist/components/atoms/ButtonLink.js +2 -2
  6. package/dist/components/atoms/Cta.js +4 -5
  7. package/dist/components/atoms/EmptyState.js +4 -4
  8. package/dist/components/atoms/ErrorState.js +1 -2
  9. package/dist/components/atoms/Input.js +5 -6
  10. package/dist/components/atoms/Link.js +1 -2
  11. package/dist/components/atoms/Link.web.js +4 -2
  12. package/dist/components/atoms/LoaderCircular.js +1 -2
  13. package/dist/components/atoms/Stepper.js +4 -4
  14. package/dist/components/atoms/Textarea.js +8 -9
  15. package/dist/components/data-view/DataViewRenderer.js +2 -2
  16. package/dist/components/forms/ActionForm.js +18 -0
  17. package/dist/components/forms/FormOneByOneLayout.js +3 -3
  18. package/dist/components/forms/FormStepsLayout.js +3 -3
  19. package/dist/components/forms/ZodForm.js +1 -1
  20. package/dist/components/legal/atoms/LegalCallout.js +1 -1
  21. package/dist/components/legal/atoms/LegalHeading.js +1 -1
  22. package/dist/components/legal/atoms/LegalList.js +1 -1
  23. package/dist/components/legal/atoms/LegalSection.js +1 -1
  24. package/dist/components/legal/atoms/LegalText.js +1 -1
  25. package/dist/components/legal/molecules/ContactFields.js +8 -8
  26. package/dist/components/legal/molecules/LegalTOC.js +1 -1
  27. package/dist/components/legal/organisms/ContactForm.js +3 -3
  28. package/dist/components/legal/organisms/GDPRDataRequest.js +2 -2
  29. package/dist/components/legal/templates/ContactTemplate.js +3 -3
  30. package/dist/components/marketing/MarketingCard.js +20 -0
  31. package/dist/components/marketing/MarketingCardsSection.js +28 -0
  32. package/dist/components/marketing/MarketingComparisonSection.js +52 -0
  33. package/dist/components/marketing/MarketingIconCard.js +73 -0
  34. package/dist/components/marketing/MarketingSection.js +61 -0
  35. package/dist/components/marketing/MarketingStepCard.js +36 -0
  36. package/dist/components/molecules/AiLinkButton.js +4 -4
  37. package/dist/components/molecules/Breadcrumbs.js +2 -2
  38. package/dist/components/molecules/CommandPalette.js +3 -3
  39. package/dist/components/molecules/CommandSearchTrigger.js +3 -3
  40. package/dist/components/molecules/FiltersToolbar.js +5 -5
  41. package/dist/components/molecules/HoverPreview.js +2 -2
  42. package/dist/components/molecules/LangSwitchDropdown.js +2 -2
  43. package/dist/components/molecules/LoaderBlock.js +1 -2
  44. package/dist/components/molecules/OverviewCard.js +5 -4
  45. package/dist/components/molecules/SkeletonBlock/index.web.js +1 -2
  46. package/dist/components/molecules/SkeletonCircle/index.web.js +1 -2
  47. package/dist/components/molecules/SkeletonList/index.web.js +4 -5
  48. package/dist/components/organisms/AcademyLayout.js +2 -2
  49. package/dist/components/organisms/AppLayout.js +2 -2
  50. package/dist/components/organisms/EmptySearchResult.js +5 -5
  51. package/dist/components/organisms/FAQSection.js +2 -2
  52. package/dist/components/organisms/Footer.js +2 -4
  53. package/dist/components/organisms/MarketingHeader.js +5 -5
  54. package/dist/components/organisms/MarketingHeaderMobile.js +2 -2
  55. package/dist/components/organisms/MarketingLayout.js +1 -0
  56. package/dist/components/templates/lists/ListPageTemplate/index.web.js +2 -2
  57. package/dist/hooks/useListUrlState.js +7 -7
  58. package/dist/index.js +9 -1
  59. package/dist/lib/keyboard.js +1 -172
  60. package/dist/node_modules/@swc/helpers/cjs/_interop_require_default.js +14 -0
  61. package/dist/node_modules/@swc/helpers/cjs/_interop_require_wildcard.js +35 -0
  62. package/dist/node_modules/next/dist/client/add-base-path.js +30 -0
  63. package/dist/node_modules/next/dist/client/add-locale.js +29 -0
  64. package/dist/node_modules/next/dist/client/detect-domain-locale.js +26 -0
  65. package/dist/node_modules/next/dist/client/get-domain-locale.js +41 -0
  66. package/dist/node_modules/next/dist/client/has-base-path.js +28 -0
  67. package/dist/node_modules/next/dist/client/link.js +311 -0
  68. package/dist/node_modules/next/dist/client/normalize-locale-path.js +30 -0
  69. package/dist/node_modules/next/dist/client/normalize-trailing-slash.js +34 -0
  70. package/dist/node_modules/next/dist/client/request-idle-callback.js +44 -0
  71. package/dist/node_modules/next/dist/client/resolve-href.js +86 -0
  72. package/dist/node_modules/next/dist/client/use-intersection.js +104 -0
  73. package/dist/node_modules/next/dist/client/use-merged-ref.js +56 -0
  74. package/dist/node_modules/next/dist/compiled/path-to-regexp/index.js +372 -0
  75. package/dist/node_modules/next/dist/lib/constants.js +316 -0
  76. package/dist/node_modules/next/dist/lib/route-pattern-normalizer.js +69 -0
  77. package/dist/node_modules/next/dist/shared/lib/escape-regexp.js +23 -0
  78. package/dist/node_modules/next/dist/shared/lib/i18n/detect-domain-locale.js +22 -0
  79. package/dist/node_modules/next/dist/shared/lib/i18n/normalize-locale-path.js +42 -0
  80. package/dist/node_modules/next/dist/shared/lib/invariant-error.js +23 -0
  81. package/dist/node_modules/next/dist/shared/lib/page-path/ensure-leading-slash.js +23 -0
  82. package/dist/node_modules/next/dist/shared/lib/router/utils/add-locale.js +30 -0
  83. package/dist/node_modules/next/dist/shared/lib/router/utils/add-path-prefix.js +24 -0
  84. package/dist/node_modules/next/dist/shared/lib/router/utils/app-paths.js +41 -0
  85. package/dist/node_modules/next/dist/shared/lib/router/utils/format-url.js +78 -0
  86. package/dist/node_modules/next/dist/shared/lib/router/utils/get-dynamic-param.js +151 -0
  87. package/dist/node_modules/next/dist/shared/lib/router/utils/get-segment-param.js +77 -0
  88. package/dist/node_modules/next/dist/shared/lib/router/utils/index.js +32 -0
  89. package/dist/node_modules/next/dist/shared/lib/router/utils/interception-routes.js +92 -0
  90. package/dist/node_modules/next/dist/shared/lib/router/utils/interpolate-as.js +41 -0
  91. package/dist/node_modules/next/dist/shared/lib/router/utils/is-dynamic.js +26 -0
  92. package/dist/node_modules/next/dist/shared/lib/router/utils/is-local-url.js +31 -0
  93. package/dist/node_modules/next/dist/shared/lib/router/utils/omit.js +24 -0
  94. package/dist/node_modules/next/dist/shared/lib/router/utils/parse-loader-tree.js +33 -0
  95. package/dist/node_modules/next/dist/shared/lib/router/utils/parse-path.js +36 -0
  96. package/dist/node_modules/next/dist/shared/lib/router/utils/path-has-prefix.js +24 -0
  97. package/dist/node_modules/next/dist/shared/lib/router/utils/querystring.js +56 -0
  98. package/dist/node_modules/next/dist/shared/lib/router/utils/remove-trailing-slash.js +26 -0
  99. package/dist/node_modules/next/dist/shared/lib/router/utils/route-match-utils.js +94 -0
  100. package/dist/node_modules/next/dist/shared/lib/router/utils/route-matcher.js +46 -0
  101. package/dist/node_modules/next/dist/shared/lib/router/utils/route-regex.js +203 -0
  102. package/dist/node_modules/next/dist/shared/lib/router/utils/sorted-routes.js +167 -0
  103. package/dist/node_modules/next/dist/shared/lib/router-context.shared-runtime.js +20 -0
  104. package/dist/node_modules/next/dist/shared/lib/segment.js +80 -0
  105. package/dist/node_modules/next/dist/shared/lib/utils/error-once.js +25 -0
  106. package/dist/node_modules/next/dist/shared/lib/utils.js +172 -0
  107. package/dist/node_modules/next/link.js +12 -0
  108. package/dist/platform/useColorScheme.js +3 -3
  109. package/dist/platform/useReducedMotion.js +3 -3
  110. package/dist/platform/useResponsive.js +4 -4
  111. package/dist/renderers/form-contract.js +1 -1
  112. package/package.json +13 -304
  113. package/dist/components/agent/AgentMonitor.d.ts +0 -28
  114. package/dist/components/agent/ApprovalQueue.d.ts +0 -25
  115. package/dist/components/atoms/ActionButtons.d.ts +0 -25
  116. package/dist/components/atoms/Button.d.ts +0 -39
  117. package/dist/components/atoms/Button.mobile.d.ts +0 -21
  118. package/dist/components/atoms/Button.mobile.js +0 -34
  119. package/dist/components/atoms/ButtonLink.d.ts +0 -21
  120. package/dist/components/atoms/ButtonLink.mobile.d.ts +0 -19
  121. package/dist/components/atoms/ButtonLink.mobile.js +0 -41
  122. package/dist/components/atoms/Cta.d.ts +0 -20
  123. package/dist/components/atoms/Cta.mobile.d.ts +0 -14
  124. package/dist/components/atoms/Cta.mobile.js +0 -38
  125. package/dist/components/atoms/DataChips.d.ts +0 -37
  126. package/dist/components/atoms/EmptyState.d.ts +0 -7
  127. package/dist/components/atoms/ErrorState.d.ts +0 -28
  128. package/dist/components/atoms/ErrorState.mobile.d.ts +0 -28
  129. package/dist/components/atoms/ErrorState.mobile.js +0 -41
  130. package/dist/components/atoms/Input.d.ts +0 -39
  131. package/dist/components/atoms/Input.mobile.d.ts +0 -37
  132. package/dist/components/atoms/Input.mobile.js +0 -27
  133. package/dist/components/atoms/Link.d.ts +0 -11
  134. package/dist/components/atoms/Link.native.d.ts +0 -1
  135. package/dist/components/atoms/Link.native.js +0 -0
  136. package/dist/components/atoms/Link.web.d.ts +0 -23
  137. package/dist/components/atoms/LoaderCircular.d.ts +0 -22
  138. package/dist/components/atoms/LoaderCircular.mobile.d.ts +0 -17
  139. package/dist/components/atoms/LoaderCircular.mobile.js +0 -26
  140. package/dist/components/atoms/NavBrand.d.ts +0 -18
  141. package/dist/components/atoms/Stepper.d.ts +0 -7
  142. package/dist/components/atoms/Textarea.d.ts +0 -41
  143. package/dist/components/atoms/Textarea.mobile.d.ts +0 -37
  144. package/dist/components/atoms/Textarea.mobile.js +0 -27
  145. package/dist/components/data-view/DataViewDetail.d.ts +0 -21
  146. package/dist/components/data-view/DataViewList.d.ts +0 -23
  147. package/dist/components/data-view/DataViewRenderer.d.ts +0 -47
  148. package/dist/components/data-view/DataViewTable.d.ts +0 -25
  149. package/dist/components/data-view/utils.d.ts +0 -5
  150. package/dist/components/forms/FormCardLayout.d.ts +0 -22
  151. package/dist/components/forms/FormDialog.d.ts +0 -24
  152. package/dist/components/forms/FormLayout.d.ts +0 -29
  153. package/dist/components/forms/FormOneByOneLayout.d.ts +0 -25
  154. package/dist/components/forms/FormStepsLayout.d.ts +0 -26
  155. package/dist/components/forms/ZodForm.d.ts +0 -21
  156. package/dist/components/legal/atoms/DefinitionList.d.ts +0 -16
  157. package/dist/components/legal/atoms/KeyValueList.d.ts +0 -16
  158. package/dist/components/legal/atoms/LegalCallout.d.ts +0 -17
  159. package/dist/components/legal/atoms/LegalHeading.d.ts +0 -24
  160. package/dist/components/legal/atoms/LegalList.d.ts +0 -20
  161. package/dist/components/legal/atoms/LegalSection.d.ts +0 -21
  162. package/dist/components/legal/atoms/LegalText.d.ts +0 -24
  163. package/dist/components/legal/molecules/Consent.d.ts +0 -35
  164. package/dist/components/legal/molecules/ContactFields.d.ts +0 -24
  165. package/dist/components/legal/molecules/LegalMeta.d.ts +0 -14
  166. package/dist/components/legal/molecules/LegalTOC.d.ts +0 -30
  167. package/dist/components/legal/organisms/ContactForm.d.ts +0 -29
  168. package/dist/components/legal/organisms/GDPRDataRequest.d.ts +0 -18
  169. package/dist/components/legal/organisms/GDPRRights.d.ts +0 -13
  170. package/dist/components/legal/organisms/LegalPageLayout.d.ts +0 -23
  171. package/dist/components/legal/templates/ContactTemplate.d.ts +0 -23
  172. package/dist/components/legal/templates/CookiesTemplate.d.ts +0 -32
  173. package/dist/components/legal/templates/PrivacyTemplate.d.ts +0 -32
  174. package/dist/components/legal/templates/SalesTermsTemplate.d.ts +0 -27
  175. package/dist/components/legal/templates/TermsTemplate.d.ts +0 -27
  176. package/dist/components/molecules/AiLinkButton.d.ts +0 -15
  177. package/dist/components/molecules/Breadcrumbs.d.ts +0 -15
  178. package/dist/components/molecules/CommandPalette.d.ts +0 -26
  179. package/dist/components/molecules/CommandSearchTrigger.d.ts +0 -18
  180. package/dist/components/molecules/DropdownMenu.d.ts +0 -1
  181. package/dist/components/molecules/DropdownMenu.js +0 -0
  182. package/dist/components/molecules/EntityCard.d.ts +0 -37
  183. package/dist/components/molecules/FiltersToolbar.d.ts +0 -35
  184. package/dist/components/molecules/FiltersToolbar.mobile.d.ts +0 -18
  185. package/dist/components/molecules/FiltersToolbar.mobile.js +0 -48
  186. package/dist/components/molecules/HoverPreview.d.ts +0 -20
  187. package/dist/components/molecules/LangSwitch.d.ts +0 -22
  188. package/dist/components/molecules/LangSwitchDropdown.d.ts +0 -21
  189. package/dist/components/molecules/LoaderBlock.d.ts +0 -18
  190. package/dist/components/molecules/LoaderBlock.mobile.d.ts +0 -18
  191. package/dist/components/molecules/LoaderBlock.mobile.js +0 -25
  192. package/dist/components/molecules/MobileNavMenu.d.ts +0 -13
  193. package/dist/components/molecules/NavItemCard.d.ts +0 -14
  194. package/dist/components/molecules/NavMain.d.ts +0 -13
  195. package/dist/components/molecules/NavUser.d.ts +0 -17
  196. package/dist/components/molecules/OverviewCard.d.ts +0 -20
  197. package/dist/components/molecules/SkeletonBlock/index.d.ts +0 -3
  198. package/dist/components/molecules/SkeletonBlock/index.js +0 -3
  199. package/dist/components/molecules/SkeletonBlock/index.mobile.d.ts +0 -12
  200. package/dist/components/molecules/SkeletonBlock/index.mobile.js +0 -18
  201. package/dist/components/molecules/SkeletonBlock/index.web.d.ts +0 -12
  202. package/dist/components/molecules/SkeletonBlock/types.d.ts +0 -9
  203. package/dist/components/molecules/SkeletonBlock/types.js +0 -0
  204. package/dist/components/molecules/SkeletonCircle/index.d.ts +0 -3
  205. package/dist/components/molecules/SkeletonCircle/index.js +0 -3
  206. package/dist/components/molecules/SkeletonCircle/index.mobile.d.ts +0 -11
  207. package/dist/components/molecules/SkeletonCircle/index.mobile.js +0 -23
  208. package/dist/components/molecules/SkeletonCircle/index.web.d.ts +0 -11
  209. package/dist/components/molecules/SkeletonCircle/types.d.ts +0 -8
  210. package/dist/components/molecules/SkeletonCircle/types.js +0 -0
  211. package/dist/components/molecules/SkeletonList/index.d.ts +0 -3
  212. package/dist/components/molecules/SkeletonList/index.js +0 -3
  213. package/dist/components/molecules/SkeletonList/index.mobile.d.ts +0 -10
  214. package/dist/components/molecules/SkeletonList/index.mobile.js +0 -22
  215. package/dist/components/molecules/SkeletonList/index.web.d.ts +0 -10
  216. package/dist/components/molecules/SkeletonList/types.d.ts +0 -7
  217. package/dist/components/molecules/SkeletonList/types.js +0 -0
  218. package/dist/components/molecules/StatCard.d.ts +0 -36
  219. package/dist/components/molecules/StatusChip.d.ts +0 -26
  220. package/dist/components/molecules/hover-previews/Doc.d.ts +0 -27
  221. package/dist/components/molecules/hover-previews/Media.d.ts +0 -20
  222. package/dist/components/molecules/hover-previews/Simple.d.ts +0 -25
  223. package/dist/components/molecules/hover-previews/Stats.d.ts +0 -22
  224. package/dist/components/molecules/hover-previews/User.d.ts +0 -25
  225. package/dist/components/native/BottomTabs.mobile.d.ts +0 -20
  226. package/dist/components/native/BottomTabs.mobile.js +0 -27
  227. package/dist/components/native/FlatListScreen.mobile.d.ts +0 -43
  228. package/dist/components/native/FlatListScreen.mobile.js +0 -63
  229. package/dist/components/native/SheetMenu.mobile.d.ts +0 -17
  230. package/dist/components/native/SheetMenu.mobile.js +0 -21
  231. package/dist/components/organisms/AcademyLayout.d.ts +0 -29
  232. package/dist/components/organisms/AppHeader.d.ts +0 -18
  233. package/dist/components/organisms/AppHeader.mobile.d.ts +0 -21
  234. package/dist/components/organisms/AppHeader.mobile.js +0 -52
  235. package/dist/components/organisms/AppLayout.d.ts +0 -28
  236. package/dist/components/organisms/AppSidebar.d.ts +0 -23
  237. package/dist/components/organisms/AppSidebar.mobile.d.ts +0 -1
  238. package/dist/components/organisms/AppSidebar.mobile.js +0 -0
  239. package/dist/components/organisms/EmptyDataList.d.ts +0 -20
  240. package/dist/components/organisms/EmptyDataList.mobile.d.ts +0 -20
  241. package/dist/components/organisms/EmptyDataList.mobile.js +0 -27
  242. package/dist/components/organisms/EmptyDataList.types.d.ts +0 -19
  243. package/dist/components/organisms/EmptyDataList.types.js +0 -1
  244. package/dist/components/organisms/EmptySearchResult.d.ts +0 -24
  245. package/dist/components/organisms/FAQSection.d.ts +0 -31
  246. package/dist/components/organisms/FeatureCarousel.d.ts +0 -18
  247. package/dist/components/organisms/FeaturesSection.d.ts +0 -19
  248. package/dist/components/organisms/Footer.d.ts +0 -25
  249. package/dist/components/organisms/GridLayout.d.ts +0 -25
  250. package/dist/components/organisms/GridLayout.js +0 -28
  251. package/dist/components/organisms/Header.d.ts +0 -37
  252. package/dist/components/organisms/Header.mobile.d.ts +0 -24
  253. package/dist/components/organisms/Header.mobile.js +0 -18
  254. package/dist/components/organisms/HeroResponsive.d.ts +0 -14
  255. package/dist/components/organisms/HeroSection.d.ts +0 -29
  256. package/dist/components/organisms/ListCardPage.d.ts +0 -36
  257. package/dist/components/organisms/ListGridPage.d.ts +0 -36
  258. package/dist/components/organisms/ListPageResponsive.d.ts +0 -7
  259. package/dist/components/organisms/ListTablePage.d.ts +0 -33
  260. package/dist/components/organisms/MarketingHeader.d.ts +0 -36
  261. package/dist/components/organisms/MarketingHeaderDesktop.d.ts +0 -15
  262. package/dist/components/organisms/MarketingHeaderMobile.d.ts +0 -12
  263. package/dist/components/organisms/MarketingLayout.d.ts +0 -18
  264. package/dist/components/organisms/PageHeaderResponsive.d.ts +0 -8
  265. package/dist/components/organisms/PageHeaderResponsive.mobile.d.ts +0 -22
  266. package/dist/components/organisms/PageHeaderResponsive.mobile.js +0 -32
  267. package/dist/components/organisms/PricingCarousel.d.ts +0 -24
  268. package/dist/components/organisms/PricingSection.d.ts +0 -18
  269. package/dist/components/organisms/TestimonialCarousel.d.ts +0 -19
  270. package/dist/components/templates/lists/ListPageTemplate/index.d.ts +0 -3
  271. package/dist/components/templates/lists/ListPageTemplate/index.js +0 -3
  272. package/dist/components/templates/lists/ListPageTemplate/index.mobile.d.ts +0 -21
  273. package/dist/components/templates/lists/ListPageTemplate/index.mobile.js +0 -32
  274. package/dist/components/templates/lists/ListPageTemplate/index.web.d.ts +0 -22
  275. package/dist/components/templates/lists/ListPageTemplate/types.d.ts +0 -25
  276. package/dist/components/templates/lists/ListPageTemplate/types.js +0 -1
  277. package/dist/hooks/useListUrlState.d.ts +0 -30
  278. package/dist/index.d.ts +0 -108
  279. package/dist/lib/keyboard.d.ts +0 -14
  280. package/dist/lib/utils.d.ts +0 -6
  281. package/dist/platform/useColorScheme.d.ts +0 -5
  282. package/dist/platform/useColorScheme.mobile.d.ts +0 -5
  283. package/dist/platform/useColorScheme.mobile.js +0 -20
  284. package/dist/platform/useReducedMotion.d.ts +0 -4
  285. package/dist/platform/useReducedMotion.mobile.d.ts +0 -4
  286. package/dist/platform/useReducedMotion.mobile.js +0 -28
  287. package/dist/platform/useResponsive.d.ts +0 -23
  288. package/dist/platform/useResponsive.mobile.d.ts +0 -23
  289. package/dist/platform/useResponsive.mobile.js +0 -42
  290. package/dist/platform/withPlatformUI.d.ts +0 -28
  291. package/dist/renderers/form-contract.d.ts +0 -11
  292. package/dist/renderers/index.d.ts +0 -2
  293. package/dist/renderers/index.js +0 -3
  294. package/dist/theme/tokenBridge.d.ts +0 -19
  295. package/dist/theme/tokens.d.ts +0 -50
  296. package/dist/theme/variants.d.ts +0 -21
  297. package/dist/types/nativewind-env.d.ts +0 -1
  298. package/dist/types/navigation.d.ts +0 -44
  299. package/dist/types/navigation.js +0 -1
@@ -0,0 +1,372 @@
1
+ import { __commonJSMin } from "../../../../../_virtual/rolldown_runtime.js";
2
+
3
+ //#region ../../../node_modules/next/dist/compiled/path-to-regexp/index.js
4
+ var require_path_to_regexp = /* @__PURE__ */ __commonJSMin(((exports, module) => {
5
+ (() => {
6
+ "use strict";
7
+ if (typeof __nccwpck_require__ !== "undefined") __nccwpck_require__.ab = __dirname + "/";
8
+ var e = {};
9
+ (() => {
10
+ var n = e;
11
+ Object.defineProperty(n, "__esModule", { value: true });
12
+ n.pathToRegexp = n.tokensToRegexp = n.regexpToFunction = n.match = n.tokensToFunction = n.compile = n.parse = void 0;
13
+ function lexer(e$1) {
14
+ var n$1 = [];
15
+ var r = 0;
16
+ while (r < e$1.length) {
17
+ var t = e$1[r];
18
+ if (t === "*" || t === "+" || t === "?") {
19
+ n$1.push({
20
+ type: "MODIFIER",
21
+ index: r,
22
+ value: e$1[r++]
23
+ });
24
+ continue;
25
+ }
26
+ if (t === "\\") {
27
+ n$1.push({
28
+ type: "ESCAPED_CHAR",
29
+ index: r++,
30
+ value: e$1[r++]
31
+ });
32
+ continue;
33
+ }
34
+ if (t === "{") {
35
+ n$1.push({
36
+ type: "OPEN",
37
+ index: r,
38
+ value: e$1[r++]
39
+ });
40
+ continue;
41
+ }
42
+ if (t === "}") {
43
+ n$1.push({
44
+ type: "CLOSE",
45
+ index: r,
46
+ value: e$1[r++]
47
+ });
48
+ continue;
49
+ }
50
+ if (t === ":") {
51
+ var a = "";
52
+ var i = r + 1;
53
+ while (i < e$1.length) {
54
+ var o = e$1.charCodeAt(i);
55
+ if (o >= 48 && o <= 57 || o >= 65 && o <= 90 || o >= 97 && o <= 122 || o === 95) {
56
+ a += e$1[i++];
57
+ continue;
58
+ }
59
+ break;
60
+ }
61
+ if (!a) throw new TypeError("Missing parameter name at ".concat(r));
62
+ n$1.push({
63
+ type: "NAME",
64
+ index: r,
65
+ value: a
66
+ });
67
+ r = i;
68
+ continue;
69
+ }
70
+ if (t === "(") {
71
+ var c = 1;
72
+ var f = "";
73
+ var i = r + 1;
74
+ if (e$1[i] === "?") throw new TypeError("Pattern cannot start with \"?\" at ".concat(i));
75
+ while (i < e$1.length) {
76
+ if (e$1[i] === "\\") {
77
+ f += e$1[i++] + e$1[i++];
78
+ continue;
79
+ }
80
+ if (e$1[i] === ")") {
81
+ c--;
82
+ if (c === 0) {
83
+ i++;
84
+ break;
85
+ }
86
+ } else if (e$1[i] === "(") {
87
+ c++;
88
+ if (e$1[i + 1] !== "?") throw new TypeError("Capturing groups are not allowed at ".concat(i));
89
+ }
90
+ f += e$1[i++];
91
+ }
92
+ if (c) throw new TypeError("Unbalanced pattern at ".concat(r));
93
+ if (!f) throw new TypeError("Missing pattern at ".concat(r));
94
+ n$1.push({
95
+ type: "PATTERN",
96
+ index: r,
97
+ value: f
98
+ });
99
+ r = i;
100
+ continue;
101
+ }
102
+ n$1.push({
103
+ type: "CHAR",
104
+ index: r,
105
+ value: e$1[r++]
106
+ });
107
+ }
108
+ n$1.push({
109
+ type: "END",
110
+ index: r,
111
+ value: ""
112
+ });
113
+ return n$1;
114
+ }
115
+ function parse(e$1, n$1) {
116
+ if (n$1 === void 0) n$1 = {};
117
+ var r = lexer(e$1);
118
+ var t = n$1.prefixes, a = t === void 0 ? "./" : t, i = n$1.delimiter, o = i === void 0 ? "/#?" : i;
119
+ var c = [];
120
+ var f = 0;
121
+ var u = 0;
122
+ var p = "";
123
+ var tryConsume = function(e$2) {
124
+ if (u < r.length && r[u].type === e$2) return r[u++].value;
125
+ };
126
+ var mustConsume = function(e$2) {
127
+ var n$2 = tryConsume(e$2);
128
+ if (n$2 !== void 0) return n$2;
129
+ var t$1 = r[u], a$1 = t$1.type, i$1 = t$1.index;
130
+ throw new TypeError("Unexpected ".concat(a$1, " at ").concat(i$1, ", expected ").concat(e$2));
131
+ };
132
+ var consumeText = function() {
133
+ var e$2 = "";
134
+ var n$2;
135
+ while (n$2 = tryConsume("CHAR") || tryConsume("ESCAPED_CHAR")) e$2 += n$2;
136
+ return e$2;
137
+ };
138
+ var isSafe = function(e$2) {
139
+ for (var n$2 = 0, r$1 = o; n$2 < r$1.length; n$2++) {
140
+ var t$1 = r$1[n$2];
141
+ if (e$2.indexOf(t$1) > -1) return true;
142
+ }
143
+ return false;
144
+ };
145
+ var safePattern = function(e$2) {
146
+ var n$2 = c[c.length - 1];
147
+ var r$1 = e$2 || (n$2 && typeof n$2 === "string" ? n$2 : "");
148
+ if (n$2 && !r$1) throw new TypeError("Must have text between two parameters, missing text after \"".concat(n$2.name, "\""));
149
+ if (!r$1 || isSafe(r$1)) return "[^".concat(escapeString(o), "]+?");
150
+ return "(?:(?!".concat(escapeString(r$1), ")[^").concat(escapeString(o), "])+?");
151
+ };
152
+ while (u < r.length) {
153
+ var v = tryConsume("CHAR");
154
+ var s = tryConsume("NAME");
155
+ var d = tryConsume("PATTERN");
156
+ if (s || d) {
157
+ var g = v || "";
158
+ if (a.indexOf(g) === -1) {
159
+ p += g;
160
+ g = "";
161
+ }
162
+ if (p) {
163
+ c.push(p);
164
+ p = "";
165
+ }
166
+ c.push({
167
+ name: s || f++,
168
+ prefix: g,
169
+ suffix: "",
170
+ pattern: d || safePattern(g),
171
+ modifier: tryConsume("MODIFIER") || ""
172
+ });
173
+ continue;
174
+ }
175
+ var x = v || tryConsume("ESCAPED_CHAR");
176
+ if (x) {
177
+ p += x;
178
+ continue;
179
+ }
180
+ if (p) {
181
+ c.push(p);
182
+ p = "";
183
+ }
184
+ if (tryConsume("OPEN")) {
185
+ var g = consumeText();
186
+ var l = tryConsume("NAME") || "";
187
+ var m = tryConsume("PATTERN") || "";
188
+ var T = consumeText();
189
+ mustConsume("CLOSE");
190
+ c.push({
191
+ name: l || (m ? f++ : ""),
192
+ pattern: l && !m ? safePattern(g) : m,
193
+ prefix: g,
194
+ suffix: T,
195
+ modifier: tryConsume("MODIFIER") || ""
196
+ });
197
+ continue;
198
+ }
199
+ mustConsume("END");
200
+ }
201
+ return c;
202
+ }
203
+ n.parse = parse;
204
+ function compile(e$1, n$1) {
205
+ return tokensToFunction(parse(e$1, n$1), n$1);
206
+ }
207
+ n.compile = compile;
208
+ function tokensToFunction(e$1, n$1) {
209
+ if (n$1 === void 0) n$1 = {};
210
+ var r = flags(n$1);
211
+ var t = n$1.encode, a = t === void 0 ? function(e$2) {
212
+ return e$2;
213
+ } : t, i = n$1.validate, o = i === void 0 ? true : i;
214
+ var c = e$1.map((function(e$2) {
215
+ if (typeof e$2 === "object") return new RegExp("^(?:".concat(e$2.pattern, ")$"), r);
216
+ }));
217
+ return function(n$2) {
218
+ var r$1 = "";
219
+ for (var t$1 = 0; t$1 < e$1.length; t$1++) {
220
+ var i$1 = e$1[t$1];
221
+ if (typeof i$1 === "string") {
222
+ r$1 += i$1;
223
+ continue;
224
+ }
225
+ var f = n$2 ? n$2[i$1.name] : void 0;
226
+ var u = i$1.modifier === "?" || i$1.modifier === "*";
227
+ var p = i$1.modifier === "*" || i$1.modifier === "+";
228
+ if (Array.isArray(f)) {
229
+ if (!p) throw new TypeError("Expected \"".concat(i$1.name, "\" to not repeat, but got an array"));
230
+ if (f.length === 0) {
231
+ if (u) continue;
232
+ throw new TypeError("Expected \"".concat(i$1.name, "\" to not be empty"));
233
+ }
234
+ for (var v = 0; v < f.length; v++) {
235
+ var s = a(f[v], i$1);
236
+ if (o && !c[t$1].test(s)) throw new TypeError("Expected all \"".concat(i$1.name, "\" to match \"").concat(i$1.pattern, "\", but got \"").concat(s, "\""));
237
+ r$1 += i$1.prefix + s + i$1.suffix;
238
+ }
239
+ continue;
240
+ }
241
+ if (typeof f === "string" || typeof f === "number") {
242
+ var s = a(String(f), i$1);
243
+ if (o && !c[t$1].test(s)) throw new TypeError("Expected \"".concat(i$1.name, "\" to match \"").concat(i$1.pattern, "\", but got \"").concat(s, "\""));
244
+ r$1 += i$1.prefix + s + i$1.suffix;
245
+ continue;
246
+ }
247
+ if (u) continue;
248
+ var d = p ? "an array" : "a string";
249
+ throw new TypeError("Expected \"".concat(i$1.name, "\" to be ").concat(d));
250
+ }
251
+ return r$1;
252
+ };
253
+ }
254
+ n.tokensToFunction = tokensToFunction;
255
+ function match(e$1, n$1) {
256
+ var r = [];
257
+ return regexpToFunction(pathToRegexp(e$1, r, n$1), r, n$1);
258
+ }
259
+ n.match = match;
260
+ function regexpToFunction(e$1, n$1, r) {
261
+ if (r === void 0) r = {};
262
+ var t = r.decode, a = t === void 0 ? function(e$2) {
263
+ return e$2;
264
+ } : t;
265
+ return function(r$1) {
266
+ var t$1 = e$1.exec(r$1);
267
+ if (!t$1) return false;
268
+ var i = t$1[0], o = t$1.index;
269
+ var c = Object.create(null);
270
+ var _loop_1 = function(e$2) {
271
+ if (t$1[e$2] === void 0) return "continue";
272
+ var r$2 = n$1[e$2 - 1];
273
+ if (r$2.modifier === "*" || r$2.modifier === "+") c[r$2.name] = t$1[e$2].split(r$2.prefix + r$2.suffix).map((function(e$3) {
274
+ return a(e$3, r$2);
275
+ }));
276
+ else c[r$2.name] = a(t$1[e$2], r$2);
277
+ };
278
+ for (var f = 1; f < t$1.length; f++) _loop_1(f);
279
+ return {
280
+ path: i,
281
+ index: o,
282
+ params: c
283
+ };
284
+ };
285
+ }
286
+ n.regexpToFunction = regexpToFunction;
287
+ function escapeString(e$1) {
288
+ return e$1.replace(/([.+*?=^!:${}()[\]|/\\])/g, "\\$1");
289
+ }
290
+ function flags(e$1) {
291
+ return e$1 && e$1.sensitive ? "" : "i";
292
+ }
293
+ function regexpToRegexp(e$1, n$1) {
294
+ if (!n$1) return e$1;
295
+ var r = /\((?:\?<(.*?)>)?(?!\?)/g;
296
+ var t = 0;
297
+ var a = r.exec(e$1.source);
298
+ while (a) {
299
+ n$1.push({
300
+ name: a[1] || t++,
301
+ prefix: "",
302
+ suffix: "",
303
+ modifier: "",
304
+ pattern: ""
305
+ });
306
+ a = r.exec(e$1.source);
307
+ }
308
+ return e$1;
309
+ }
310
+ function arrayToRegexp(e$1, n$1, r) {
311
+ var t = e$1.map((function(e$2) {
312
+ return pathToRegexp(e$2, n$1, r).source;
313
+ }));
314
+ return new RegExp("(?:".concat(t.join("|"), ")"), flags(r));
315
+ }
316
+ function stringToRegexp(e$1, n$1, r) {
317
+ return tokensToRegexp(parse(e$1, r), n$1, r);
318
+ }
319
+ function tokensToRegexp(e$1, n$1, r) {
320
+ if (r === void 0) r = {};
321
+ var t = r.strict, a = t === void 0 ? false : t, i = r.start, o = i === void 0 ? true : i, c = r.end, f = c === void 0 ? true : c, u = r.encode, p = u === void 0 ? function(e$2) {
322
+ return e$2;
323
+ } : u, v = r.delimiter, s = v === void 0 ? "/#?" : v, d = r.endsWith, g = d === void 0 ? "" : d;
324
+ var x = "[".concat(escapeString(g), "]|$");
325
+ var h = "[".concat(escapeString(s), "]");
326
+ var l = o ? "^" : "";
327
+ for (var m = 0, T = e$1; m < T.length; m++) {
328
+ var E = T[m];
329
+ if (typeof E === "string") l += escapeString(p(E));
330
+ else {
331
+ var w = escapeString(p(E.prefix));
332
+ var y = escapeString(p(E.suffix));
333
+ if (E.pattern) {
334
+ if (n$1) n$1.push(E);
335
+ if (w || y) if (E.modifier === "+" || E.modifier === "*") {
336
+ var R = E.modifier === "*" ? "?" : "";
337
+ l += "(?:".concat(w, "((?:").concat(E.pattern, ")(?:").concat(y).concat(w, "(?:").concat(E.pattern, "))*)").concat(y, ")").concat(R);
338
+ } else l += "(?:".concat(w, "(").concat(E.pattern, ")").concat(y, ")").concat(E.modifier);
339
+ else {
340
+ if (E.modifier === "+" || E.modifier === "*") throw new TypeError("Can not repeat \"".concat(E.name, "\" without a prefix and suffix"));
341
+ l += "(".concat(E.pattern, ")").concat(E.modifier);
342
+ }
343
+ } else l += "(?:".concat(w).concat(y, ")").concat(E.modifier);
344
+ }
345
+ }
346
+ if (f) {
347
+ if (!a) l += "".concat(h, "?");
348
+ l += !r.endsWith ? "$" : "(?=".concat(x, ")");
349
+ } else {
350
+ var A = e$1[e$1.length - 1];
351
+ var _ = typeof A === "string" ? h.indexOf(A[A.length - 1]) > -1 : A === void 0;
352
+ if (!a) l += "(?:".concat(h, "(?=").concat(x, "))?");
353
+ if (!_) l += "(?=".concat(h, "|").concat(x, ")");
354
+ }
355
+ return new RegExp(l, flags(r));
356
+ }
357
+ n.tokensToRegexp = tokensToRegexp;
358
+ function pathToRegexp(e$1, n$1, r) {
359
+ if (e$1 instanceof RegExp) return regexpToRegexp(e$1, n$1);
360
+ if (Array.isArray(e$1)) return arrayToRegexp(e$1, n$1, r);
361
+ return stringToRegexp(e$1, n$1, r);
362
+ }
363
+ n.pathToRegexp = pathToRegexp;
364
+ })();
365
+ module.exports = e;
366
+ })();
367
+ }));
368
+
369
+ //#endregion
370
+ export default require_path_to_regexp();
371
+
372
+ export { require_path_to_regexp };
@@ -0,0 +1,316 @@
1
+ import { __commonJSMin } from "../../../../_virtual/rolldown_runtime.js";
2
+
3
+ //#region ../../../node_modules/next/dist/lib/constants.js
4
+ var require_constants = /* @__PURE__ */ __commonJSMin(((exports) => {
5
+ Object.defineProperty(exports, "__esModule", { value: true });
6
+ function _export(target, all) {
7
+ for (var name in all) Object.defineProperty(target, name, {
8
+ enumerable: true,
9
+ get: all[name]
10
+ });
11
+ }
12
+ _export(exports, {
13
+ ACTION_SUFFIX: function() {
14
+ return ACTION_SUFFIX;
15
+ },
16
+ APP_DIR_ALIAS: function() {
17
+ return APP_DIR_ALIAS;
18
+ },
19
+ CACHE_ONE_YEAR: function() {
20
+ return CACHE_ONE_YEAR;
21
+ },
22
+ DOT_NEXT_ALIAS: function() {
23
+ return DOT_NEXT_ALIAS;
24
+ },
25
+ ESLINT_DEFAULT_DIRS: function() {
26
+ return ESLINT_DEFAULT_DIRS;
27
+ },
28
+ GSP_NO_RETURNED_VALUE: function() {
29
+ return GSP_NO_RETURNED_VALUE;
30
+ },
31
+ GSSP_COMPONENT_MEMBER_ERROR: function() {
32
+ return GSSP_COMPONENT_MEMBER_ERROR;
33
+ },
34
+ GSSP_NO_RETURNED_VALUE: function() {
35
+ return GSSP_NO_RETURNED_VALUE;
36
+ },
37
+ HTML_CONTENT_TYPE_HEADER: function() {
38
+ return HTML_CONTENT_TYPE_HEADER;
39
+ },
40
+ INFINITE_CACHE: function() {
41
+ return INFINITE_CACHE;
42
+ },
43
+ INSTRUMENTATION_HOOK_FILENAME: function() {
44
+ return INSTRUMENTATION_HOOK_FILENAME;
45
+ },
46
+ JSON_CONTENT_TYPE_HEADER: function() {
47
+ return JSON_CONTENT_TYPE_HEADER;
48
+ },
49
+ MATCHED_PATH_HEADER: function() {
50
+ return MATCHED_PATH_HEADER;
51
+ },
52
+ MIDDLEWARE_FILENAME: function() {
53
+ return MIDDLEWARE_FILENAME;
54
+ },
55
+ MIDDLEWARE_LOCATION_REGEXP: function() {
56
+ return MIDDLEWARE_LOCATION_REGEXP;
57
+ },
58
+ NEXT_BODY_SUFFIX: function() {
59
+ return NEXT_BODY_SUFFIX;
60
+ },
61
+ NEXT_CACHE_IMPLICIT_TAG_ID: function() {
62
+ return NEXT_CACHE_IMPLICIT_TAG_ID;
63
+ },
64
+ NEXT_CACHE_REVALIDATED_TAGS_HEADER: function() {
65
+ return NEXT_CACHE_REVALIDATED_TAGS_HEADER;
66
+ },
67
+ NEXT_CACHE_REVALIDATE_TAG_TOKEN_HEADER: function() {
68
+ return NEXT_CACHE_REVALIDATE_TAG_TOKEN_HEADER;
69
+ },
70
+ NEXT_CACHE_SOFT_TAG_MAX_LENGTH: function() {
71
+ return NEXT_CACHE_SOFT_TAG_MAX_LENGTH;
72
+ },
73
+ NEXT_CACHE_TAGS_HEADER: function() {
74
+ return NEXT_CACHE_TAGS_HEADER;
75
+ },
76
+ NEXT_CACHE_TAG_MAX_ITEMS: function() {
77
+ return NEXT_CACHE_TAG_MAX_ITEMS;
78
+ },
79
+ NEXT_CACHE_TAG_MAX_LENGTH: function() {
80
+ return NEXT_CACHE_TAG_MAX_LENGTH;
81
+ },
82
+ NEXT_DATA_SUFFIX: function() {
83
+ return NEXT_DATA_SUFFIX;
84
+ },
85
+ NEXT_INTERCEPTION_MARKER_PREFIX: function() {
86
+ return NEXT_INTERCEPTION_MARKER_PREFIX;
87
+ },
88
+ NEXT_META_SUFFIX: function() {
89
+ return NEXT_META_SUFFIX;
90
+ },
91
+ NEXT_QUERY_PARAM_PREFIX: function() {
92
+ return NEXT_QUERY_PARAM_PREFIX;
93
+ },
94
+ NEXT_RESUME_HEADER: function() {
95
+ return NEXT_RESUME_HEADER;
96
+ },
97
+ NON_STANDARD_NODE_ENV: function() {
98
+ return NON_STANDARD_NODE_ENV;
99
+ },
100
+ PAGES_DIR_ALIAS: function() {
101
+ return PAGES_DIR_ALIAS;
102
+ },
103
+ PRERENDER_REVALIDATE_HEADER: function() {
104
+ return PRERENDER_REVALIDATE_HEADER;
105
+ },
106
+ PRERENDER_REVALIDATE_ONLY_GENERATED_HEADER: function() {
107
+ return PRERENDER_REVALIDATE_ONLY_GENERATED_HEADER;
108
+ },
109
+ PROXY_FILENAME: function() {
110
+ return PROXY_FILENAME;
111
+ },
112
+ PROXY_LOCATION_REGEXP: function() {
113
+ return PROXY_LOCATION_REGEXP;
114
+ },
115
+ PUBLIC_DIR_MIDDLEWARE_CONFLICT: function() {
116
+ return PUBLIC_DIR_MIDDLEWARE_CONFLICT;
117
+ },
118
+ ROOT_DIR_ALIAS: function() {
119
+ return ROOT_DIR_ALIAS;
120
+ },
121
+ RSC_ACTION_CLIENT_WRAPPER_ALIAS: function() {
122
+ return RSC_ACTION_CLIENT_WRAPPER_ALIAS;
123
+ },
124
+ RSC_ACTION_ENCRYPTION_ALIAS: function() {
125
+ return RSC_ACTION_ENCRYPTION_ALIAS;
126
+ },
127
+ RSC_ACTION_PROXY_ALIAS: function() {
128
+ return RSC_ACTION_PROXY_ALIAS;
129
+ },
130
+ RSC_ACTION_VALIDATE_ALIAS: function() {
131
+ return RSC_ACTION_VALIDATE_ALIAS;
132
+ },
133
+ RSC_CACHE_WRAPPER_ALIAS: function() {
134
+ return RSC_CACHE_WRAPPER_ALIAS;
135
+ },
136
+ RSC_DYNAMIC_IMPORT_WRAPPER_ALIAS: function() {
137
+ return RSC_DYNAMIC_IMPORT_WRAPPER_ALIAS;
138
+ },
139
+ RSC_MOD_REF_PROXY_ALIAS: function() {
140
+ return RSC_MOD_REF_PROXY_ALIAS;
141
+ },
142
+ RSC_PREFETCH_SUFFIX: function() {
143
+ return RSC_PREFETCH_SUFFIX;
144
+ },
145
+ RSC_SEGMENTS_DIR_SUFFIX: function() {
146
+ return RSC_SEGMENTS_DIR_SUFFIX;
147
+ },
148
+ RSC_SEGMENT_SUFFIX: function() {
149
+ return RSC_SEGMENT_SUFFIX;
150
+ },
151
+ RSC_SUFFIX: function() {
152
+ return RSC_SUFFIX;
153
+ },
154
+ SERVER_PROPS_EXPORT_ERROR: function() {
155
+ return SERVER_PROPS_EXPORT_ERROR;
156
+ },
157
+ SERVER_PROPS_GET_INIT_PROPS_CONFLICT: function() {
158
+ return SERVER_PROPS_GET_INIT_PROPS_CONFLICT;
159
+ },
160
+ SERVER_PROPS_SSG_CONFLICT: function() {
161
+ return SERVER_PROPS_SSG_CONFLICT;
162
+ },
163
+ SERVER_RUNTIME: function() {
164
+ return SERVER_RUNTIME;
165
+ },
166
+ SSG_FALLBACK_EXPORT_ERROR: function() {
167
+ return SSG_FALLBACK_EXPORT_ERROR;
168
+ },
169
+ SSG_GET_INITIAL_PROPS_CONFLICT: function() {
170
+ return SSG_GET_INITIAL_PROPS_CONFLICT;
171
+ },
172
+ STATIC_STATUS_PAGE_GET_INITIAL_PROPS_ERROR: function() {
173
+ return STATIC_STATUS_PAGE_GET_INITIAL_PROPS_ERROR;
174
+ },
175
+ TEXT_PLAIN_CONTENT_TYPE_HEADER: function() {
176
+ return TEXT_PLAIN_CONTENT_TYPE_HEADER;
177
+ },
178
+ UNSTABLE_REVALIDATE_RENAME_ERROR: function() {
179
+ return UNSTABLE_REVALIDATE_RENAME_ERROR;
180
+ },
181
+ WEBPACK_LAYERS: function() {
182
+ return WEBPACK_LAYERS;
183
+ },
184
+ WEBPACK_RESOURCE_QUERIES: function() {
185
+ return WEBPACK_RESOURCE_QUERIES;
186
+ },
187
+ WEB_SOCKET_MAX_RECONNECTIONS: function() {
188
+ return WEB_SOCKET_MAX_RECONNECTIONS;
189
+ }
190
+ });
191
+ const TEXT_PLAIN_CONTENT_TYPE_HEADER = "text/plain";
192
+ const HTML_CONTENT_TYPE_HEADER = "text/html; charset=utf-8";
193
+ const JSON_CONTENT_TYPE_HEADER = "application/json; charset=utf-8";
194
+ const NEXT_QUERY_PARAM_PREFIX = "nxtP";
195
+ const NEXT_INTERCEPTION_MARKER_PREFIX = "nxtI";
196
+ const MATCHED_PATH_HEADER = "x-matched-path";
197
+ const PRERENDER_REVALIDATE_HEADER = "x-prerender-revalidate";
198
+ const PRERENDER_REVALIDATE_ONLY_GENERATED_HEADER = "x-prerender-revalidate-if-generated";
199
+ const RSC_PREFETCH_SUFFIX = ".prefetch.rsc";
200
+ const RSC_SEGMENTS_DIR_SUFFIX = ".segments";
201
+ const RSC_SEGMENT_SUFFIX = ".segment.rsc";
202
+ const RSC_SUFFIX = ".rsc";
203
+ const ACTION_SUFFIX = ".action";
204
+ const NEXT_DATA_SUFFIX = ".json";
205
+ const NEXT_META_SUFFIX = ".meta";
206
+ const NEXT_BODY_SUFFIX = ".body";
207
+ const NEXT_CACHE_TAGS_HEADER = "x-next-cache-tags";
208
+ const NEXT_CACHE_REVALIDATED_TAGS_HEADER = "x-next-revalidated-tags";
209
+ const NEXT_CACHE_REVALIDATE_TAG_TOKEN_HEADER = "x-next-revalidate-tag-token";
210
+ const NEXT_RESUME_HEADER = "next-resume";
211
+ const NEXT_CACHE_TAG_MAX_ITEMS = 128;
212
+ const NEXT_CACHE_TAG_MAX_LENGTH = 256;
213
+ const NEXT_CACHE_SOFT_TAG_MAX_LENGTH = 1024;
214
+ const NEXT_CACHE_IMPLICIT_TAG_ID = "_N_T_";
215
+ const CACHE_ONE_YEAR = 31536e3;
216
+ const INFINITE_CACHE = 4294967294;
217
+ const MIDDLEWARE_FILENAME = "middleware";
218
+ const MIDDLEWARE_LOCATION_REGEXP = `(?:src/)?${MIDDLEWARE_FILENAME}`;
219
+ const PROXY_FILENAME = "proxy";
220
+ const PROXY_LOCATION_REGEXP = `(?:src/)?${PROXY_FILENAME}`;
221
+ const INSTRUMENTATION_HOOK_FILENAME = "instrumentation";
222
+ const PAGES_DIR_ALIAS = "private-next-pages";
223
+ const DOT_NEXT_ALIAS = "private-dot-next";
224
+ const ROOT_DIR_ALIAS = "private-next-root-dir";
225
+ const APP_DIR_ALIAS = "private-next-app-dir";
226
+ const RSC_MOD_REF_PROXY_ALIAS = "private-next-rsc-mod-ref-proxy";
227
+ const RSC_ACTION_VALIDATE_ALIAS = "private-next-rsc-action-validate";
228
+ const RSC_ACTION_PROXY_ALIAS = "private-next-rsc-server-reference";
229
+ const RSC_CACHE_WRAPPER_ALIAS = "private-next-rsc-cache-wrapper";
230
+ const RSC_DYNAMIC_IMPORT_WRAPPER_ALIAS = "private-next-rsc-track-dynamic-import";
231
+ const RSC_ACTION_ENCRYPTION_ALIAS = "private-next-rsc-action-encryption";
232
+ const RSC_ACTION_CLIENT_WRAPPER_ALIAS = "private-next-rsc-action-client-wrapper";
233
+ const PUBLIC_DIR_MIDDLEWARE_CONFLICT = `You can not have a '_next' folder inside of your public folder. This conflicts with the internal '/_next' route. https://nextjs.org/docs/messages/public-next-folder-conflict`;
234
+ const SSG_GET_INITIAL_PROPS_CONFLICT = `You can not use getInitialProps with getStaticProps. To use SSG, please remove your getInitialProps`;
235
+ const SERVER_PROPS_GET_INIT_PROPS_CONFLICT = `You can not use getInitialProps with getServerSideProps. Please remove getInitialProps.`;
236
+ const SERVER_PROPS_SSG_CONFLICT = `You can not use getStaticProps or getStaticPaths with getServerSideProps. To use SSG, please remove getServerSideProps`;
237
+ const STATIC_STATUS_PAGE_GET_INITIAL_PROPS_ERROR = `can not have getInitialProps/getServerSideProps, https://nextjs.org/docs/messages/404-get-initial-props`;
238
+ const SERVER_PROPS_EXPORT_ERROR = `pages with \`getServerSideProps\` can not be exported. See more info here: https://nextjs.org/docs/messages/gssp-export`;
239
+ const GSP_NO_RETURNED_VALUE = "Your `getStaticProps` function did not return an object. Did you forget to add a `return`?";
240
+ const GSSP_NO_RETURNED_VALUE = "Your `getServerSideProps` function did not return an object. Did you forget to add a `return`?";
241
+ const UNSTABLE_REVALIDATE_RENAME_ERROR = "The `unstable_revalidate` property is available for general use.\nPlease use `revalidate` instead.";
242
+ const GSSP_COMPONENT_MEMBER_ERROR = `can not be attached to a page's component and must be exported from the page. See more info here: https://nextjs.org/docs/messages/gssp-component-member`;
243
+ const NON_STANDARD_NODE_ENV = `You are using a non-standard "NODE_ENV" value in your environment. This creates inconsistencies in the project and is strongly advised against. Read more: https://nextjs.org/docs/messages/non-standard-node-env`;
244
+ const SSG_FALLBACK_EXPORT_ERROR = `Pages with \`fallback\` enabled in \`getStaticPaths\` can not be exported. See more info here: https://nextjs.org/docs/messages/ssg-fallback-true-export`;
245
+ const ESLINT_DEFAULT_DIRS = [
246
+ "app",
247
+ "pages",
248
+ "components",
249
+ "lib",
250
+ "src"
251
+ ];
252
+ const SERVER_RUNTIME = {
253
+ edge: "edge",
254
+ experimentalEdge: "experimental-edge",
255
+ nodejs: "nodejs"
256
+ };
257
+ const WEB_SOCKET_MAX_RECONNECTIONS = 12;
258
+ /**
259
+ * The names of the webpack layers. These layers are the primitives for the
260
+ * webpack chunks.
261
+ */ const WEBPACK_LAYERS_NAMES = {
262
+ shared: "shared",
263
+ reactServerComponents: "rsc",
264
+ serverSideRendering: "ssr",
265
+ actionBrowser: "action-browser",
266
+ apiNode: "api-node",
267
+ apiEdge: "api-edge",
268
+ middleware: "middleware",
269
+ instrument: "instrument",
270
+ edgeAsset: "edge-asset",
271
+ appPagesBrowser: "app-pages-browser",
272
+ pagesDirBrowser: "pages-dir-browser",
273
+ pagesDirEdge: "pages-dir-edge",
274
+ pagesDirNode: "pages-dir-node"
275
+ };
276
+ const WEBPACK_LAYERS = {
277
+ ...WEBPACK_LAYERS_NAMES,
278
+ GROUP: {
279
+ builtinReact: [WEBPACK_LAYERS_NAMES.reactServerComponents, WEBPACK_LAYERS_NAMES.actionBrowser],
280
+ serverOnly: [
281
+ WEBPACK_LAYERS_NAMES.reactServerComponents,
282
+ WEBPACK_LAYERS_NAMES.actionBrowser,
283
+ WEBPACK_LAYERS_NAMES.instrument,
284
+ WEBPACK_LAYERS_NAMES.middleware
285
+ ],
286
+ neutralTarget: [WEBPACK_LAYERS_NAMES.apiNode, WEBPACK_LAYERS_NAMES.apiEdge],
287
+ clientOnly: [WEBPACK_LAYERS_NAMES.serverSideRendering, WEBPACK_LAYERS_NAMES.appPagesBrowser],
288
+ bundled: [
289
+ WEBPACK_LAYERS_NAMES.reactServerComponents,
290
+ WEBPACK_LAYERS_NAMES.actionBrowser,
291
+ WEBPACK_LAYERS_NAMES.serverSideRendering,
292
+ WEBPACK_LAYERS_NAMES.appPagesBrowser,
293
+ WEBPACK_LAYERS_NAMES.shared,
294
+ WEBPACK_LAYERS_NAMES.instrument,
295
+ WEBPACK_LAYERS_NAMES.middleware
296
+ ],
297
+ appPages: [
298
+ WEBPACK_LAYERS_NAMES.reactServerComponents,
299
+ WEBPACK_LAYERS_NAMES.serverSideRendering,
300
+ WEBPACK_LAYERS_NAMES.appPagesBrowser,
301
+ WEBPACK_LAYERS_NAMES.actionBrowser
302
+ ]
303
+ }
304
+ };
305
+ const WEBPACK_RESOURCE_QUERIES = {
306
+ edgeSSREntry: "__next_edge_ssr_entry__",
307
+ metadata: "__next_metadata__",
308
+ metadataRoute: "__next_metadata_route__",
309
+ metadataImageMeta: "__next_metadata_image_meta__"
310
+ };
311
+ }));
312
+
313
+ //#endregion
314
+ export default require_constants();
315
+
316
+ export { require_constants };