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