@faststore/core 2.0.118-alpha.0 → 2.0.121-alpha.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 (164) hide show
  1. package/.turbo/turbo-build.log +37 -25
  2. package/@generated/graphql/index.ts +22 -2
  3. package/@generated/graphql/persisted.json +1 -1
  4. package/CHANGELOG.md +10 -0
  5. package/cms/faststore/content-types.json +6 -0
  6. package/cms/faststore/sections.json +8 -0
  7. package/faststore.config.js +1 -0
  8. package/package.json +3 -3
  9. package/src/Layout.tsx +2 -24
  10. package/src/components/cms/GlobalSections.tsx +81 -0
  11. package/src/components/cms/RenderSections.tsx +39 -0
  12. package/src/components/common/Alert/Alert.tsx +7 -5
  13. package/src/components/common/Alert/index.ts +1 -0
  14. package/src/components/sections/Alert/Alert.tsx +28 -0
  15. package/src/pages/404.tsx +25 -3
  16. package/src/pages/500.tsx +25 -3
  17. package/src/pages/[...slug].tsx +85 -66
  18. package/src/pages/[slug]/p.tsx +16 -6
  19. package/src/pages/account.tsx +25 -3
  20. package/src/pages/checkout.tsx +25 -3
  21. package/src/pages/index.tsx +20 -10
  22. package/src/pages/login.tsx +25 -3
  23. package/src/pages/s.tsx +63 -39
  24. package/src/sdk/session/index.ts +4 -0
  25. package/.next/BUILD_ID +0 -1
  26. package/.next/build-manifest.json +0 -99
  27. package/.next/cache/.tsbuildinfo +0 -1
  28. package/.next/cache/config.json +0 -7
  29. package/.next/cache/eslint/.cache_1gneedd +0 -1
  30. package/.next/cache/next-server.js.nft.json +0 -1
  31. package/.next/cache/webpack/client-production/0.pack +0 -0
  32. package/.next/cache/webpack/client-production/index.pack +0 -0
  33. package/.next/cache/webpack/server-production/0.pack +0 -0
  34. package/.next/cache/webpack/server-production/index.pack +0 -0
  35. package/.next/export-marker.json +0 -1
  36. package/.next/images-manifest.json +0 -1
  37. package/.next/next-server.js.nft.json +0 -1
  38. package/.next/package.json +0 -1
  39. package/.next/prerender-manifest.json +0 -1
  40. package/.next/react-loadable-manifest.json +0 -42
  41. package/.next/required-server-files.json +0 -1
  42. package/.next/routes-manifest.json +0 -1
  43. package/.next/server/chunks/120.js +0 -435
  44. package/.next/server/chunks/123.js +0 -58
  45. package/.next/server/chunks/1394.js +0 -3801
  46. package/.next/server/chunks/1597.js +0 -151
  47. package/.next/server/chunks/1608.js +0 -515
  48. package/.next/server/chunks/2154.js +0 -206
  49. package/.next/server/chunks/247.js +0 -61
  50. package/.next/server/chunks/2502.js +0 -584
  51. package/.next/server/chunks/2914.js +0 -95
  52. package/.next/server/chunks/2922.js +0 -7293
  53. package/.next/server/chunks/3264.js +0 -67
  54. package/.next/server/chunks/3431.js +0 -7241
  55. package/.next/server/chunks/350.js +0 -142
  56. package/.next/server/chunks/3746.js +0 -250
  57. package/.next/server/chunks/3898.js +0 -240
  58. package/.next/server/chunks/4312.js +0 -674
  59. package/.next/server/chunks/4371.js +0 -1424
  60. package/.next/server/chunks/5098.js +0 -124
  61. package/.next/server/chunks/5335.js +0 -544
  62. package/.next/server/chunks/5576.js +0 -79
  63. package/.next/server/chunks/6280.js +0 -322
  64. package/.next/server/chunks/6465.js +0 -91
  65. package/.next/server/chunks/676.js +0 -32
  66. package/.next/server/chunks/6859.js +0 -959
  67. package/.next/server/chunks/6881.js +0 -320
  68. package/.next/server/chunks/6898.js +0 -149
  69. package/.next/server/chunks/7104.js +0 -235
  70. package/.next/server/chunks/7181.js +0 -664
  71. package/.next/server/chunks/7183.js +0 -79
  72. package/.next/server/chunks/8098.js +0 -246
  73. package/.next/server/chunks/810.js +0 -432
  74. package/.next/server/chunks/8287.js +0 -58
  75. package/.next/server/chunks/9143.js +0 -106
  76. package/.next/server/chunks/9557.js +0 -119
  77. package/.next/server/chunks/9854.js +0 -72
  78. package/.next/server/chunks/font-manifest.json +0 -1
  79. package/.next/server/font-manifest.json +0 -1
  80. package/.next/server/middleware-build-manifest.js +0 -1
  81. package/.next/server/middleware-manifest.json +0 -6
  82. package/.next/server/middleware-react-loadable-manifest.js +0 -1
  83. package/.next/server/pages/404.js.nft.json +0 -1
  84. package/.next/server/pages/500.js.nft.json +0 -1
  85. package/.next/server/pages/[...slug].js +0 -666
  86. package/.next/server/pages/[...slug].js.nft.json +0 -1
  87. package/.next/server/pages/[slug]/p.js +0 -2327
  88. package/.next/server/pages/[slug]/p.js.nft.json +0 -1
  89. package/.next/server/pages/_app.js +0 -2454
  90. package/.next/server/pages/_app.js.nft.json +0 -1
  91. package/.next/server/pages/_document.js +0 -304
  92. package/.next/server/pages/_document.js.nft.json +0 -1
  93. package/.next/server/pages/_error.js +0 -164
  94. package/.next/server/pages/_error.js.nft.json +0 -1
  95. package/.next/server/pages/account.js.nft.json +0 -1
  96. package/.next/server/pages/api/graphql.js +0 -315
  97. package/.next/server/pages/api/graphql.js.nft.json +0 -1
  98. package/.next/server/pages/api/preview.js +0 -118
  99. package/.next/server/pages/api/preview.js.nft.json +0 -1
  100. package/.next/server/pages/checkout.js.nft.json +0 -1
  101. package/.next/server/pages/en-US/404.html +0 -81
  102. package/.next/server/pages/en-US/500.html +0 -81
  103. package/.next/server/pages/en-US/account.html +0 -81
  104. package/.next/server/pages/en-US/checkout.html +0 -81
  105. package/.next/server/pages/en-US/login.html +0 -81
  106. package/.next/server/pages/en-US/s.html +0 -81
  107. package/.next/server/pages/en-US.html +0 -81
  108. package/.next/server/pages/en-US.json +0 -1
  109. package/.next/server/pages/index.js +0 -475
  110. package/.next/server/pages/index.js.nft.json +0 -1
  111. package/.next/server/pages/login.js.nft.json +0 -1
  112. package/.next/server/pages/s.js.nft.json +0 -1
  113. package/.next/server/pages-manifest.json +0 -16
  114. package/.next/server/webpack-api-runtime.js +0 -229
  115. package/.next/server/webpack-runtime.js +0 -229
  116. package/.next/static/chunks/143.dd8a556e6957baa1.js +0 -1
  117. package/.next/static/chunks/170.79b2f8527e327bca.js +0 -1
  118. package/.next/static/chunks/264-5b07911df63b8601.js +0 -1
  119. package/.next/static/chunks/351-a4e28d64f48c5269.js +0 -1
  120. package/.next/static/chunks/54.e6562383f8a1dfe7.js +0 -1
  121. package/.next/static/chunks/597.fc79494903e8bb84.js +0 -1
  122. package/.next/static/chunks/608.59e69b83f35d9c44.js +0 -1
  123. package/.next/static/chunks/651.7142f31ce1e052b3.js +0 -1
  124. package/.next/static/chunks/741.52f7fb873418346f.js +0 -1
  125. package/.next/static/chunks/781-e1b538e051ff4c3e.js +0 -1
  126. package/.next/static/chunks/98.97381d2021f86cd9.js +0 -1
  127. package/.next/static/chunks/996.98e590872c51f815.js +0 -1
  128. package/.next/static/chunks/framework-dfd14d7ce6600b03.js +0 -1
  129. package/.next/static/chunks/main-9746772201fe3ac1.js +0 -1
  130. package/.next/static/chunks/pages/404-3637ef83b3359df7.js +0 -1
  131. package/.next/static/chunks/pages/500-910883c20541d9ce.js +0 -1
  132. package/.next/static/chunks/pages/[...slug]-29d3b81ee0953846.js +0 -1
  133. package/.next/static/chunks/pages/[slug]/p-9b24055cb30ee7a8.js +0 -1
  134. package/.next/static/chunks/pages/_app-4aeb21d72aeea9b7.js +0 -1
  135. package/.next/static/chunks/pages/_error-a7a0c1d9bfbb4f38.js +0 -1
  136. package/.next/static/chunks/pages/account-b8fc5222ffe89b60.js +0 -1
  137. package/.next/static/chunks/pages/checkout-f8cb7cb22225ef9d.js +0 -1
  138. package/.next/static/chunks/pages/index-d48285f48d2a66ea.js +0 -1
  139. package/.next/static/chunks/pages/login-45cc84352bac2408.js +0 -1
  140. package/.next/static/chunks/pages/s-ba2868e14fedb65b.js +0 -1
  141. package/.next/static/chunks/polyfills-c67a75d1b6f99dc8.js +0 -1
  142. package/.next/static/chunks/webpack-f725b61675603493.js +0 -1
  143. package/.next/static/css/1f987650dd4e39d0.css +0 -1
  144. package/.next/static/css/3a57acf6e411f24d.css +0 -1
  145. package/.next/static/css/4abccf9803c3c356.css +0 -1
  146. package/.next/static/css/502746c995f64cce.css +0 -1
  147. package/.next/static/css/6507cb48401e73a4.css +0 -1
  148. package/.next/static/css/6f4d3e91f1d161a8.css +0 -1
  149. package/.next/static/media/brandless-neutral.76ddf63a.png +0 -0
  150. package/.next/static/vmkgl19jDr5XASw3dFJg7/_buildManifest.js +0 -1
  151. package/.next/static/vmkgl19jDr5XASw3dFJg7/_ssgManifest.js +0 -1
  152. package/.next/trace +0 -64
  153. package/public/~partytown/debug/partytown-atomics.js +0 -556
  154. package/public/~partytown/debug/partytown-media.js +0 -374
  155. package/public/~partytown/debug/partytown-sandbox-sw.js +0 -543
  156. package/public/~partytown/debug/partytown-sw.js +0 -59
  157. package/public/~partytown/debug/partytown-ww-atomics.js +0 -1789
  158. package/public/~partytown/debug/partytown-ww-sw.js +0 -1781
  159. package/public/~partytown/debug/partytown.js +0 -72
  160. package/public/~partytown/partytown-atomics.js +0 -2
  161. package/public/~partytown/partytown-media.js +0 -2
  162. package/public/~partytown/partytown-sw.js +0 -2
  163. package/public/~partytown/partytown.js +0 -2
  164. package/src/components/cms/RenderPageSections.tsx +0 -37
@@ -1,666 +0,0 @@
1
- (() => {
2
- var exports = {};
3
- exports.id = 330;
4
- exports.ids = [330];
5
- exports.modules = {
6
-
7
- /***/ 8570:
8
- /***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {
9
-
10
- "use strict";
11
-
12
- // EXPORTS
13
- __webpack_require__.d(__webpack_exports__, {
14
- "Z": () => (/* reexport */ ScrollToTopButton_ScrollToTopButton)
15
- });
16
-
17
- // EXTERNAL MODULE: ../components/dist/atoms/Icon/Icon.js
18
- var Icon = __webpack_require__(5045);
19
- // EXTERNAL MODULE: ../components/dist/atoms/Button/Button.js
20
- var Button = __webpack_require__(7578);
21
- // EXTERNAL MODULE: ./src/components/sections/Section/index.ts + 1 modules
22
- var Section = __webpack_require__(8879);
23
- // EXTERNAL MODULE: ./src/components/sections/ScrollToTopButton/scroll-to-top-button.module.scss
24
- var scroll_to_top_button_module = __webpack_require__(9856);
25
- var scroll_to_top_button_module_default = /*#__PURE__*/__webpack_require__.n(scroll_to_top_button_module);
26
- // EXTERNAL MODULE: external "react/jsx-runtime"
27
- var jsx_runtime_ = __webpack_require__(997);
28
- ;// CONCATENATED MODULE: ./src/components/sections/ScrollToTopButton/ScrollToTopButton.tsx
29
-
30
-
31
-
32
-
33
-
34
- function ScrollToTopButton({
35
- text = 'Scroll to top',
36
- icon = /*#__PURE__*/jsx_runtime_.jsx(Icon/* default */.Z, {
37
- name: "CaretUp",
38
- width: 16,
39
- height: 16,
40
- weight: "bold"
41
- }),
42
- iconPosition = 'left'
43
- }) {
44
- return /*#__PURE__*/jsx_runtime_.jsx(Section/* default */.Z, {
45
- className: (scroll_to_top_button_module_default()).fsScrollToTopButton,
46
- children: /*#__PURE__*/jsx_runtime_.jsx(Button/* default */.Z, {
47
- variant: "secondary",
48
- icon: icon,
49
- iconPosition: iconPosition,
50
- onClick: () => window.scrollTo(0, 0),
51
- children: text
52
- })
53
- });
54
- }
55
-
56
- /* harmony default export */ const ScrollToTopButton_ScrollToTopButton = (ScrollToTopButton);
57
- ;// CONCATENATED MODULE: ./src/components/sections/ScrollToTopButton/index.ts
58
-
59
-
60
- /***/ }),
61
-
62
- /***/ 1875:
63
- /***/ ((module, __webpack_exports__, __webpack_require__) => {
64
-
65
- "use strict";
66
- __webpack_require__.a(module, async (__webpack_handle_async_dependencies__, __webpack_async_result__) => { try {
67
- __webpack_require__.r(__webpack_exports__);
68
- /* harmony export */ __webpack_require__.d(__webpack_exports__, {
69
- /* harmony export */ "default": () => (__WEBPACK_DEFAULT_EXPORT__),
70
- /* harmony export */ "getStaticPaths": () => (/* binding */ getStaticPaths),
71
- /* harmony export */ "getStaticProps": () => (/* binding */ getStaticProps)
72
- /* harmony export */ });
73
- /* harmony import */ var _faststore_api__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(4826);
74
- /* harmony import */ var _faststore_sdk__WEBPACK_IMPORTED_MODULE_14__ = __webpack_require__(2888);
75
- /* harmony import */ var _faststore_sdk__WEBPACK_IMPORTED_MODULE_15__ = __webpack_require__(3364);
76
- /* harmony import */ var _faststore_sdk__WEBPACK_IMPORTED_MODULE_16__ = __webpack_require__(6321);
77
- /* harmony import */ var next_seo__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(6641);
78
- /* harmony import */ var next_seo__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(next_seo__WEBPACK_IMPORTED_MODULE_1__);
79
- /* harmony import */ var next_router__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(1853);
80
- /* harmony import */ var next_router__WEBPACK_IMPORTED_MODULE_2___default = /*#__PURE__*/__webpack_require__.n(next_router__WEBPACK_IMPORTED_MODULE_2__);
81
- /* harmony import */ var react__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(6689);
82
- /* harmony import */ var react__WEBPACK_IMPORTED_MODULE_3___default = /*#__PURE__*/__webpack_require__.n(react__WEBPACK_IMPORTED_MODULE_3__);
83
- /* harmony import */ var src_components_sections_Breadcrumb__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(3769);
84
- /* harmony import */ var src_components_sections_Hero__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(9557);
85
- /* harmony import */ var src_components_sections_ProductGallery__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(2618);
86
- /* harmony import */ var src_components_sections_ProductShelf__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(7104);
87
- /* harmony import */ var src_components_sections_ScrollToTopButton__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(8570);
88
- /* harmony import */ var src_constants__WEBPACK_IMPORTED_MODULE_17__ = __webpack_require__(8459);
89
- /* harmony import */ var src_sdk_search_state__WEBPACK_IMPORTED_MODULE_9__ = __webpack_require__(1523);
90
- /* harmony import */ var src_sdk_tests_mark__WEBPACK_IMPORTED_MODULE_10__ = __webpack_require__(2541);
91
- /* harmony import */ var src_server__WEBPACK_IMPORTED_MODULE_11__ = __webpack_require__(9685);
92
- /* harmony import */ var _faststore_config__WEBPACK_IMPORTED_MODULE_12__ = __webpack_require__(7183);
93
- /* harmony import */ var _faststore_config__WEBPACK_IMPORTED_MODULE_12___default = /*#__PURE__*/__webpack_require__.n(_faststore_config__WEBPACK_IMPORTED_MODULE_12__);
94
- /* harmony import */ var react_jsx_runtime__WEBPACK_IMPORTED_MODULE_13__ = __webpack_require__(997);
95
- /* harmony import */ var react_jsx_runtime__WEBPACK_IMPORTED_MODULE_13___default = /*#__PURE__*/__webpack_require__.n(react_jsx_runtime__WEBPACK_IMPORTED_MODULE_13__);
96
- var __webpack_async_dependencies__ = __webpack_handle_async_dependencies__([src_components_sections_ProductGallery__WEBPACK_IMPORTED_MODULE_6__, src_components_sections_ProductShelf__WEBPACK_IMPORTED_MODULE_7__, src_server__WEBPACK_IMPORTED_MODULE_11__]);
97
- ([src_components_sections_ProductGallery__WEBPACK_IMPORTED_MODULE_6__, src_components_sections_ProductShelf__WEBPACK_IMPORTED_MODULE_7__, src_server__WEBPACK_IMPORTED_MODULE_11__] = __webpack_async_dependencies__.then ? (await __webpack_async_dependencies__)() : __webpack_async_dependencies__);
98
- function ownKeys(object, enumerableOnly) { var keys = Object.keys(object); if (Object.getOwnPropertySymbols) { var symbols = Object.getOwnPropertySymbols(object); enumerableOnly && (symbols = symbols.filter(function (sym) { return Object.getOwnPropertyDescriptor(object, sym).enumerable; })), keys.push.apply(keys, symbols); } return keys; }
99
-
100
- function _objectSpread(target) { for (var i = 1; i < arguments.length; i++) { var source = null != arguments[i] ? arguments[i] : {}; i % 2 ? ownKeys(Object(source), !0).forEach(function (key) { _defineProperty(target, key, source[key]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(target, Object.getOwnPropertyDescriptors(source)) : ownKeys(Object(source)).forEach(function (key) { Object.defineProperty(target, key, Object.getOwnPropertyDescriptor(source, key)); }); } return target; }
101
-
102
- function _defineProperty(obj, key, value) { if (key in obj) { Object.defineProperty(obj, key, { value: value, enumerable: true, configurable: true, writable: true }); } else { obj[key] = value; } return obj; }
103
-
104
-
105
-
106
-
107
-
108
-
109
-
110
-
111
-
112
-
113
-
114
-
115
-
116
-
117
-
118
-
119
-
120
-
121
-
122
- const useSearchParams = ({
123
- collection
124
- }) => {
125
- const selectedFacets = collection?.meta.selectedFacets;
126
- const {
127
- asPath
128
- } = (0,next_router__WEBPACK_IMPORTED_MODULE_2__.useRouter)();
129
- const hrefState = (0,react__WEBPACK_IMPORTED_MODULE_3__.useMemo)(() => {
130
- const newState = (0,_faststore_sdk__WEBPACK_IMPORTED_MODULE_14__/* .parse */ .Q)(new URL(asPath, 'http://localhost')); // In case we are in an incomplete url
131
-
132
- if (newState.selectedFacets.length === 0) {
133
- newState.selectedFacets = selectedFacets;
134
- }
135
-
136
- return (0,_faststore_sdk__WEBPACK_IMPORTED_MODULE_15__/* ["default"] */ .Z)(newState).href;
137
- }, [asPath, selectedFacets]);
138
- return (0,react__WEBPACK_IMPORTED_MODULE_3__.useMemo)(() => (0,_faststore_sdk__WEBPACK_IMPORTED_MODULE_14__/* .parse */ .Q)(new URL(hrefState)), [hrefState]);
139
- };
140
-
141
- function Page(props) {
142
- const {
143
- collection
144
- } = props;
145
- const router = (0,next_router__WEBPACK_IMPORTED_MODULE_2__.useRouter)();
146
- const applySearchState = (0,src_sdk_search_state__WEBPACK_IMPORTED_MODULE_9__/* .useApplySearchState */ .j)();
147
- const searchParams = useSearchParams(props);
148
- const {
149
- page
150
- } = searchParams;
151
- const title = collection?.seo.title ?? (_faststore_config__WEBPACK_IMPORTED_MODULE_12___default().seo.title);
152
- const description = collection?.seo.description ?? (_faststore_config__WEBPACK_IMPORTED_MODULE_12___default().seo.title);
153
- const pageQuery = page !== 0 ? `?page=${page}` : '';
154
- const [pathname] = router.asPath.split('?');
155
- const canonical = `${(_faststore_config__WEBPACK_IMPORTED_MODULE_12___default().storeUrl)}${pathname}${pageQuery}`;
156
- return /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_13__.jsxs)(_faststore_sdk__WEBPACK_IMPORTED_MODULE_16__/* .Provider */ .z, _objectSpread(_objectSpread({
157
- onChange: applySearchState,
158
- itemsPerPage: src_constants__WEBPACK_IMPORTED_MODULE_17__/* .ITEMS_PER_PAGE */ .g
159
- }, searchParams), {}, {
160
- children: [/*#__PURE__*/react_jsx_runtime__WEBPACK_IMPORTED_MODULE_13__.jsx(next_seo__WEBPACK_IMPORTED_MODULE_1__.NextSeo, {
161
- title: title,
162
- description: description,
163
- titleTemplate: (_faststore_config__WEBPACK_IMPORTED_MODULE_12___default().seo.titleTemplate),
164
- canonical: canonical,
165
- openGraph: {
166
- type: 'website',
167
- title,
168
- description
169
- }
170
- }), /*#__PURE__*/react_jsx_runtime__WEBPACK_IMPORTED_MODULE_13__.jsx(next_seo__WEBPACK_IMPORTED_MODULE_1__.BreadcrumbJsonLd, {
171
- itemListElements: collection?.breadcrumbList.itemListElement ?? []
172
- }), /*#__PURE__*/react_jsx_runtime__WEBPACK_IMPORTED_MODULE_13__.jsx(src_components_sections_Breadcrumb__WEBPACK_IMPORTED_MODULE_4__/* ["default"] */ .Z, {
173
- breadcrumbList: collection?.breadcrumbList.itemListElement,
174
- name: title
175
- }), /*#__PURE__*/react_jsx_runtime__WEBPACK_IMPORTED_MODULE_13__.jsx(src_components_sections_Hero__WEBPACK_IMPORTED_MODULE_5__/* ["default"] */ .Z, {
176
- variant: "secondary",
177
- title: title,
178
- subtitle: `All the amazing ${title} from the brands we partner with.`,
179
- image: {
180
- src: 'https://storeframework.vtexassets.com/arquivos/ids/190897/Photo.jpg',
181
- alt: 'Quest 2 Controller on a table'
182
- }
183
- }), /*#__PURE__*/react_jsx_runtime__WEBPACK_IMPORTED_MODULE_13__.jsx(src_components_sections_ProductGallery__WEBPACK_IMPORTED_MODULE_6__/* ["default"] */ .Z, {
184
- title: title
185
- }), /*#__PURE__*/react_jsx_runtime__WEBPACK_IMPORTED_MODULE_13__.jsx(src_components_sections_ProductShelf__WEBPACK_IMPORTED_MODULE_7__/* ["default"] */ .Z, {
186
- first: src_constants__WEBPACK_IMPORTED_MODULE_17__/* .ITEMS_PER_SECTION */ .K,
187
- sort: "score_desc",
188
- title: "You might also like",
189
- withDivisor: true
190
- }), /*#__PURE__*/react_jsx_runtime__WEBPACK_IMPORTED_MODULE_13__.jsx(src_components_sections_ScrollToTopButton__WEBPACK_IMPORTED_MODULE_8__/* ["default"] */ .Z, {})]
191
- }));
192
- }
193
-
194
- const query = "ServerCollectionPageQuery";
195
- const getStaticProps = async ({
196
- params
197
- }) => {
198
- const {
199
- data,
200
- errors = []
201
- } = await (0,src_server__WEBPACK_IMPORTED_MODULE_11__/* .execute */ .h)({
202
- variables: {
203
- slug: params?.slug.join('/') ?? ''
204
- },
205
- operationName: query
206
- });
207
- const notFound = errors.find(_faststore_api__WEBPACK_IMPORTED_MODULE_0__.isNotFoundError);
208
-
209
- if (notFound) {
210
- return {
211
- notFound: true
212
- };
213
- }
214
-
215
- if (errors.length > 0) {
216
- throw errors[0];
217
- }
218
-
219
- return {
220
- props: data
221
- };
222
- };
223
- const getStaticPaths = async () => {
224
- return {
225
- paths: [],
226
- fallback: 'blocking'
227
- };
228
- };
229
- Page.displayName = 'Page';
230
- /* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = ((0,src_sdk_tests_mark__WEBPACK_IMPORTED_MODULE_10__/* .mark */ .B)(Page));
231
- __webpack_async_result__();
232
- } catch(e) { __webpack_async_result__(e); } });
233
-
234
- /***/ }),
235
-
236
- /***/ 9856:
237
- /***/ ((module) => {
238
-
239
- // Exports
240
- module.exports = {
241
- "fs-scroll-to-top-button": "scroll-to-top-button_fs-scroll-to-top-button__KrFt7",
242
- "fsScrollToTopButton": "scroll-to-top-button_fs-scroll-to-top-button__KrFt7"
243
- };
244
-
245
-
246
- /***/ }),
247
-
248
- /***/ 5490:
249
- /***/ ((module) => {
250
-
251
- "use strict";
252
- module.exports = require("@faststore/graphql-utils");
253
-
254
- /***/ }),
255
-
256
- /***/ 2404:
257
- /***/ ((module) => {
258
-
259
- "use strict";
260
- module.exports = require("fast-deep-equal");
261
-
262
- /***/ }),
263
-
264
- /***/ 7343:
265
- /***/ ((module) => {
266
-
267
- "use strict";
268
- module.exports = require("graphql");
269
-
270
- /***/ }),
271
-
272
- /***/ 6548:
273
- /***/ ((module) => {
274
-
275
- "use strict";
276
- module.exports = require("graphql/language");
277
-
278
- /***/ }),
279
-
280
- /***/ 3430:
281
- /***/ ((module) => {
282
-
283
- "use strict";
284
- module.exports = require("idb-keyval");
285
-
286
- /***/ }),
287
-
288
- /***/ 7881:
289
- /***/ ((module) => {
290
-
291
- "use strict";
292
- module.exports = require("isomorphic-unfetch");
293
-
294
- /***/ }),
295
-
296
- /***/ 6641:
297
- /***/ ((module) => {
298
-
299
- "use strict";
300
- module.exports = require("next-seo");
301
-
302
- /***/ }),
303
-
304
- /***/ 3280:
305
- /***/ ((module) => {
306
-
307
- "use strict";
308
- module.exports = require("next/dist/shared/lib/app-router-context.js");
309
-
310
- /***/ }),
311
-
312
- /***/ 2796:
313
- /***/ ((module) => {
314
-
315
- "use strict";
316
- module.exports = require("next/dist/shared/lib/head-manager-context.js");
317
-
318
- /***/ }),
319
-
320
- /***/ 5429:
321
- /***/ ((module) => {
322
-
323
- "use strict";
324
- module.exports = require("next/dist/shared/lib/head.js");
325
-
326
- /***/ }),
327
-
328
- /***/ 3539:
329
- /***/ ((module) => {
330
-
331
- "use strict";
332
- module.exports = require("next/dist/shared/lib/i18n/detect-domain-locale.js");
333
-
334
- /***/ }),
335
-
336
- /***/ 4014:
337
- /***/ ((module) => {
338
-
339
- "use strict";
340
- module.exports = require("next/dist/shared/lib/i18n/normalize-locale-path.js");
341
-
342
- /***/ }),
343
-
344
- /***/ 4486:
345
- /***/ ((module) => {
346
-
347
- "use strict";
348
- module.exports = require("next/dist/shared/lib/image-blur-svg.js");
349
-
350
- /***/ }),
351
-
352
- /***/ 744:
353
- /***/ ((module) => {
354
-
355
- "use strict";
356
- module.exports = require("next/dist/shared/lib/image-config-context.js");
357
-
358
- /***/ }),
359
-
360
- /***/ 5843:
361
- /***/ ((module) => {
362
-
363
- "use strict";
364
- module.exports = require("next/dist/shared/lib/image-config.js");
365
-
366
- /***/ }),
367
-
368
- /***/ 8524:
369
- /***/ ((module) => {
370
-
371
- "use strict";
372
- module.exports = require("next/dist/shared/lib/is-plain-object.js");
373
-
374
- /***/ }),
375
-
376
- /***/ 8020:
377
- /***/ ((module) => {
378
-
379
- "use strict";
380
- module.exports = require("next/dist/shared/lib/mitt.js");
381
-
382
- /***/ }),
383
-
384
- /***/ 4406:
385
- /***/ ((module) => {
386
-
387
- "use strict";
388
- module.exports = require("next/dist/shared/lib/page-path/denormalize-page-path.js");
389
-
390
- /***/ }),
391
-
392
- /***/ 4964:
393
- /***/ ((module) => {
394
-
395
- "use strict";
396
- module.exports = require("next/dist/shared/lib/router-context.js");
397
-
398
- /***/ }),
399
-
400
- /***/ 3431:
401
- /***/ ((module) => {
402
-
403
- "use strict";
404
- module.exports = require("next/dist/shared/lib/router/utils/add-locale.js");
405
-
406
- /***/ }),
407
-
408
- /***/ 1751:
409
- /***/ ((module) => {
410
-
411
- "use strict";
412
- module.exports = require("next/dist/shared/lib/router/utils/add-path-prefix.js");
413
-
414
- /***/ }),
415
-
416
- /***/ 6220:
417
- /***/ ((module) => {
418
-
419
- "use strict";
420
- module.exports = require("next/dist/shared/lib/router/utils/compare-states.js");
421
-
422
- /***/ }),
423
-
424
- /***/ 299:
425
- /***/ ((module) => {
426
-
427
- "use strict";
428
- module.exports = require("next/dist/shared/lib/router/utils/format-next-pathname-info.js");
429
-
430
- /***/ }),
431
-
432
- /***/ 3938:
433
- /***/ ((module) => {
434
-
435
- "use strict";
436
- module.exports = require("next/dist/shared/lib/router/utils/format-url.js");
437
-
438
- /***/ }),
439
-
440
- /***/ 9565:
441
- /***/ ((module) => {
442
-
443
- "use strict";
444
- module.exports = require("next/dist/shared/lib/router/utils/get-asset-path-from-route.js");
445
-
446
- /***/ }),
447
-
448
- /***/ 5789:
449
- /***/ ((module) => {
450
-
451
- "use strict";
452
- module.exports = require("next/dist/shared/lib/router/utils/get-next-pathname-info.js");
453
-
454
- /***/ }),
455
-
456
- /***/ 1897:
457
- /***/ ((module) => {
458
-
459
- "use strict";
460
- module.exports = require("next/dist/shared/lib/router/utils/is-bot.js");
461
-
462
- /***/ }),
463
-
464
- /***/ 1428:
465
- /***/ ((module) => {
466
-
467
- "use strict";
468
- module.exports = require("next/dist/shared/lib/router/utils/is-dynamic.js");
469
-
470
- /***/ }),
471
-
472
- /***/ 8854:
473
- /***/ ((module) => {
474
-
475
- "use strict";
476
- module.exports = require("next/dist/shared/lib/router/utils/parse-path.js");
477
-
478
- /***/ }),
479
-
480
- /***/ 1292:
481
- /***/ ((module) => {
482
-
483
- "use strict";
484
- module.exports = require("next/dist/shared/lib/router/utils/parse-relative-url.js");
485
-
486
- /***/ }),
487
-
488
- /***/ 4567:
489
- /***/ ((module) => {
490
-
491
- "use strict";
492
- module.exports = require("next/dist/shared/lib/router/utils/path-has-prefix.js");
493
-
494
- /***/ }),
495
-
496
- /***/ 979:
497
- /***/ ((module) => {
498
-
499
- "use strict";
500
- module.exports = require("next/dist/shared/lib/router/utils/querystring.js");
501
-
502
- /***/ }),
503
-
504
- /***/ 3297:
505
- /***/ ((module) => {
506
-
507
- "use strict";
508
- module.exports = require("next/dist/shared/lib/router/utils/remove-trailing-slash.js");
509
-
510
- /***/ }),
511
-
512
- /***/ 6052:
513
- /***/ ((module) => {
514
-
515
- "use strict";
516
- module.exports = require("next/dist/shared/lib/router/utils/resolve-rewrites.js");
517
-
518
- /***/ }),
519
-
520
- /***/ 4226:
521
- /***/ ((module) => {
522
-
523
- "use strict";
524
- module.exports = require("next/dist/shared/lib/router/utils/route-matcher.js");
525
-
526
- /***/ }),
527
-
528
- /***/ 5052:
529
- /***/ ((module) => {
530
-
531
- "use strict";
532
- module.exports = require("next/dist/shared/lib/router/utils/route-regex.js");
533
-
534
- /***/ }),
535
-
536
- /***/ 9232:
537
- /***/ ((module) => {
538
-
539
- "use strict";
540
- module.exports = require("next/dist/shared/lib/utils.js");
541
-
542
- /***/ }),
543
-
544
- /***/ 1853:
545
- /***/ ((module) => {
546
-
547
- "use strict";
548
- module.exports = require("next/router");
549
-
550
- /***/ }),
551
-
552
- /***/ 5471:
553
- /***/ ((module) => {
554
-
555
- "use strict";
556
- module.exports = require("p-limit");
557
-
558
- /***/ }),
559
-
560
- /***/ 6689:
561
- /***/ ((module) => {
562
-
563
- "use strict";
564
- module.exports = require("react");
565
-
566
- /***/ }),
567
-
568
- /***/ 6405:
569
- /***/ ((module) => {
570
-
571
- "use strict";
572
- module.exports = require("react-dom");
573
-
574
- /***/ }),
575
-
576
- /***/ 9785:
577
- /***/ ((module) => {
578
-
579
- "use strict";
580
- module.exports = require("react-intersection-observer");
581
-
582
- /***/ }),
583
-
584
- /***/ 997:
585
- /***/ ((module) => {
586
-
587
- "use strict";
588
- module.exports = require("react/jsx-runtime");
589
-
590
- /***/ }),
591
-
592
- /***/ 3823:
593
- /***/ ((module) => {
594
-
595
- "use strict";
596
- module.exports = require("tabbable");
597
-
598
- /***/ }),
599
-
600
- /***/ 752:
601
- /***/ ((module) => {
602
-
603
- "use strict";
604
- module.exports = require("tslib");
605
-
606
- /***/ }),
607
-
608
- /***/ 9664:
609
- /***/ ((module) => {
610
-
611
- "use strict";
612
- module.exports = import("@envelop/core");;
613
-
614
- /***/ }),
615
-
616
- /***/ 7886:
617
- /***/ ((module) => {
618
-
619
- "use strict";
620
- module.exports = import("@envelop/graphql-jit");;
621
-
622
- /***/ }),
623
-
624
- /***/ 4656:
625
- /***/ ((module) => {
626
-
627
- "use strict";
628
- module.exports = import("@envelop/parser-cache");;
629
-
630
- /***/ }),
631
-
632
- /***/ 6093:
633
- /***/ ((module) => {
634
-
635
- "use strict";
636
- module.exports = import("@envelop/validation-cache");;
637
-
638
- /***/ }),
639
-
640
- /***/ 5941:
641
- /***/ ((module) => {
642
-
643
- "use strict";
644
- module.exports = import("swr");;
645
-
646
- /***/ }),
647
-
648
- /***/ 6113:
649
- /***/ ((module) => {
650
-
651
- "use strict";
652
- module.exports = require("crypto");
653
-
654
- /***/ })
655
-
656
- };
657
- ;
658
-
659
- // load runtime
660
- var __webpack_require__ = require("../webpack-runtime.js");
661
- __webpack_require__.C(exports);
662
- var __webpack_exec__ = (moduleId) => (__webpack_require__(__webpack_require__.s = moduleId))
663
- var __webpack_exports__ = __webpack_require__.X(0, [1608,676,1394,3264,2922,3898,7183,2154,247,7181,8287,9854,6280,6881,6898,120,8098,7104,350,4371,9557], () => (__webpack_exec__(1875)));
664
- module.exports = __webpack_exports__;
665
-
666
- })();
@@ -1 +0,0 @@
1
- {"version":1,"files":["../webpack-runtime.js","../chunks/1608.js","../chunks/676.js","../chunks/1394.js","../chunks/3264.js","../chunks/2922.js","../chunks/3898.js","../chunks/7183.js","../chunks/2154.js","../chunks/247.js","../chunks/7181.js","../chunks/8287.js","../chunks/9854.js","../chunks/6280.js","../chunks/6881.js","../chunks/6898.js","../chunks/120.js","../chunks/8098.js","../chunks/7104.js","../chunks/350.js","../chunks/4371.js","../chunks/9557.js","../chunks/810.js","../chunks/3746.js","../../package.json","../../../node_modules/@faststore/graphql-utils/package.json","../../../node_modules/next/dist/shared/lib/head.js","../../../node_modules/next/dist/shared/lib/is-plain-object.js","../../../node_modules/next/dist/shared/lib/app-router-context.js","../../../node_modules/next/dist/shared/lib/head-manager-context.js","../../../node_modules/next/dist/shared/lib/image-blur-svg.js","../../../node_modules/next/dist/shared/lib/image-config-context.js","../../../node_modules/next/dist/shared/lib/image-config.js","../../../node_modules/next/dist/shared/lib/mitt.js","../../../node_modules/next/dist/shared/lib/router-context.js","../../../node_modules/next/dist/shared/lib/utils.js","../../../node_modules/next/dist/shared/lib/i18n/detect-domain-locale.js","../../../node_modules/next/dist/shared/lib/i18n/normalize-locale-path.js","../../../node_modules/next/dist/shared/lib/page-path/denormalize-page-path.js","../../../node_modules/next/dist/shared/lib/router/utils/add-locale.js","../../../node_modules/next/dist/shared/lib/router/utils/add-path-prefix.js","../../../node_modules/next/dist/shared/lib/router/utils/compare-states.js","../../../node_modules/next/dist/shared/lib/router/utils/format-next-pathname-info.js","../../../node_modules/next/dist/shared/lib/router/utils/format-url.js","../../../node_modules/next/dist/shared/lib/router/utils/get-asset-path-from-route.js","../../../node_modules/next/dist/shared/lib/router/utils/get-next-pathname-info.js","../../../node_modules/next/dist/shared/lib/router/utils/is-bot.js","../../../node_modules/next/dist/shared/lib/router/utils/is-dynamic.js","../../../node_modules/next/dist/shared/lib/router/utils/parse-path.js","../../../node_modules/next/dist/shared/lib/router/utils/parse-relative-url.js","../../../node_modules/next/dist/shared/lib/router/utils/path-has-prefix.js","../../../node_modules/next/dist/shared/lib/router/utils/querystring.js","../../../node_modules/next/dist/shared/lib/router/utils/remove-trailing-slash.js","../../../node_modules/next/dist/shared/lib/router/utils/resolve-rewrites.js","../../../node_modules/next/dist/shared/lib/router/utils/route-matcher.js","../../../node_modules/next/dist/shared/lib/router/utils/route-regex.js","../../../node_modules/@faststore/graphql-utils/dist/index.js","../../../node_modules/next/router.js","../../../node_modules/next/package.json","../../../node_modules/next/dist/client/remove-base-path.js","../../../node_modules/next/dist/client/router.js","../../../node_modules/next/dist/client/has-base-path.js","../../../node_modules/next/dist/shared/lib/side-effect.js","../../../node_modules/next/dist/shared/lib/amp-context.js","../../../node_modules/next/dist/shared/lib/amp-mode.js","../../../node_modules/next/dist/shared/lib/page-path/normalize-path-sep.js","../../../node_modules/next/dist/shared/lib/router/utils/add-path-suffix.js","../../../node_modules/next/dist/shared/lib/router/utils/remove-path-prefix.js","../../../node_modules/next/dist/shared/lib/router/utils/path-match.js","../../../node_modules/next/dist/shared/lib/router/utils/prepare-destination.js","../../../node_modules/next/dist/shared/lib/escape-regexp.js","../../../node_modules/next/dist/shared/lib/router/router.js","../../../node_modules/next/dist/lib/is-error.js","../../../node_modules/next/dist/shared/lib/router/utils/index.js","../../../node_modules/next/dist/client/normalize-trailing-slash.js","../../../node_modules/next/dist/client/route-loader.js","../../../node_modules/next/dist/client/script.js","../../../node_modules/next/dist/client/detect-domain-locale.js","../../../node_modules/next/dist/client/add-locale.js","../../../node_modules/next/dist/client/remove-locale.js","../../../node_modules/next/dist/client/add-base-path.js","../../../node_modules/next/dist/client/trusted-types.js","../../../node_modules/next/dist/client/request-idle-callback.js","../../../node_modules/next/dist/client/head-manager.js","../../../node_modules/@swc/helpers/lib/_extends.js","../../../node_modules/@swc/helpers/package.json","../../../node_modules/@swc/helpers/lib/_interop_require_default.js","../../../node_modules/@swc/helpers/lib/_interop_require_wildcard.js","../../../node_modules/@swc/helpers/lib/_async_to_generator.js","../../../node_modules/next/dist/client/with-router.js","../../../node_modules/next/dist/shared/lib/router/utils/parse-url.js","../../../node_modules/@swc/helpers/lib/_object_without_properties_loose.js","../../../node_modules/next/dist/shared/lib/router/utils/sorted-routes.js","../../../node_modules/next/dist/compiled/path-to-regexp/index.js","../../../node_modules/next/dist/compiled/react-is/package.json","../../../node_modules/next/dist/compiled/react-is/index.js","../../../node_modules/next/dist/compiled/react-is/cjs/react-is.production.min.js","../../../node_modules/next/dist/compiled/react-is/cjs/react-is.development.js","../../../@generated/graphql/persisted.json","../../../src/components/sections/ProductGallery/ProductGalleryPage.tsx","../../../package.json"]}