@faststore/core 2.0.135-alpha.0 → 2.0.138-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 +3 -5
  2. package/CHANGELOG.md +10 -0
  3. package/cms/faststore/content-types.json +0 -5
  4. package/package.json +3 -3
  5. package/src/components/ui/ImageGallery/ImageGallery.tsx +1 -1
  6. package/src/pages/index.tsx +7 -6
  7. package/.next/BUILD_ID +0 -1
  8. package/.next/build-manifest.json +0 -132
  9. package/.next/cache/.tsbuildinfo +0 -1
  10. package/.next/cache/config.json +0 -7
  11. package/.next/cache/eslint/.cache_1gneedd +0 -1
  12. package/.next/cache/next-server.js.nft.json +0 -1
  13. package/.next/cache/webpack/client-production/0.pack +0 -0
  14. package/.next/cache/webpack/client-production/index.pack +0 -0
  15. package/.next/cache/webpack/server-production/0.pack +0 -0
  16. package/.next/cache/webpack/server-production/index.pack +0 -0
  17. package/.next/export-marker.json +0 -1
  18. package/.next/images-manifest.json +0 -1
  19. package/.next/next-server.js.nft.json +0 -1
  20. package/.next/package.json +0 -1
  21. package/.next/prerender-manifest.json +0 -1
  22. package/.next/react-loadable-manifest.json +0 -48
  23. package/.next/required-server-files.json +0 -1
  24. package/.next/routes-manifest.json +0 -1
  25. package/.next/server/chunks/104.js +0 -703
  26. package/.next/server/chunks/120.js +0 -437
  27. package/.next/server/chunks/123.js +0 -58
  28. package/.next/server/chunks/143.js +0 -106
  29. package/.next/server/chunks/183.js +0 -80
  30. package/.next/server/chunks/247.js +0 -61
  31. package/.next/server/chunks/256.js +0 -1786
  32. package/.next/server/chunks/280.js +0 -324
  33. package/.next/server/chunks/287.js +0 -58
  34. package/.next/server/chunks/312.js +0 -670
  35. package/.next/server/chunks/336.js +0 -821
  36. package/.next/server/chunks/350.js +0 -142
  37. package/.next/server/chunks/368.js +0 -253
  38. package/.next/server/chunks/401.js +0 -7241
  39. package/.next/server/chunks/431.js +0 -7241
  40. package/.next/server/chunks/502.js +0 -600
  41. package/.next/server/chunks/557.js +0 -132
  42. package/.next/server/chunks/576.js +0 -80
  43. package/.next/server/chunks/597.js +0 -169
  44. package/.next/server/chunks/608.js +0 -644
  45. package/.next/server/chunks/644.js +0 -235
  46. package/.next/server/chunks/664.js +0 -3401
  47. package/.next/server/chunks/676.js +0 -32
  48. package/.next/server/chunks/701.js +0 -87
  49. package/.next/server/chunks/74.js +0 -2520
  50. package/.next/server/chunks/746.js +0 -225
  51. package/.next/server/chunks/82.js +0 -371
  52. package/.next/server/chunks/854.js +0 -72
  53. package/.next/server/chunks/859.js +0 -959
  54. package/.next/server/chunks/886.js +0 -120
  55. package/.next/server/chunks/98.js +0 -124
  56. package/.next/server/chunks/font-manifest.json +0 -1
  57. package/.next/server/font-manifest.json +0 -1
  58. package/.next/server/middleware-build-manifest.js +0 -1
  59. package/.next/server/middleware-manifest.json +0 -6
  60. package/.next/server/middleware-react-loadable-manifest.js +0 -1
  61. package/.next/server/pages/404.js +0 -393
  62. package/.next/server/pages/404.js.nft.json +0 -1
  63. package/.next/server/pages/500.js +0 -395
  64. package/.next/server/pages/500.js.nft.json +0 -1
  65. package/.next/server/pages/[...slug].js +0 -708
  66. package/.next/server/pages/[...slug].js.nft.json +0 -1
  67. package/.next/server/pages/[slug]/p.js +0 -2388
  68. package/.next/server/pages/[slug]/p.js.nft.json +0 -1
  69. package/.next/server/pages/_app.js +0 -368
  70. package/.next/server/pages/_app.js.nft.json +0 -1
  71. package/.next/server/pages/_document.js +0 -304
  72. package/.next/server/pages/_document.js.nft.json +0 -1
  73. package/.next/server/pages/_error.js +0 -164
  74. package/.next/server/pages/_error.js.nft.json +0 -1
  75. package/.next/server/pages/account.js +0 -370
  76. package/.next/server/pages/account.js.nft.json +0 -1
  77. package/.next/server/pages/api/graphql.js +0 -315
  78. package/.next/server/pages/api/graphql.js.nft.json +0 -1
  79. package/.next/server/pages/api/preview.js +0 -118
  80. package/.next/server/pages/api/preview.js.nft.json +0 -1
  81. package/.next/server/pages/checkout.js +0 -370
  82. package/.next/server/pages/checkout.js.nft.json +0 -1
  83. package/.next/server/pages/en-US/404.html +0 -81
  84. package/.next/server/pages/en-US/404.json +0 -1
  85. package/.next/server/pages/en-US/500.html +0 -81
  86. package/.next/server/pages/en-US/500.json +0 -1
  87. package/.next/server/pages/en-US/account.html +0 -81
  88. package/.next/server/pages/en-US/account.json +0 -1
  89. package/.next/server/pages/en-US/checkout.html +0 -81
  90. package/.next/server/pages/en-US/checkout.json +0 -1
  91. package/.next/server/pages/en-US/login.html +0 -81
  92. package/.next/server/pages/en-US/login.json +0 -1
  93. package/.next/server/pages/en-US/s.html +0 -81
  94. package/.next/server/pages/en-US/s.json +0 -1
  95. package/.next/server/pages/en-US.html +0 -81
  96. package/.next/server/pages/en-US.json +0 -1
  97. package/.next/server/pages/index.js +0 -967
  98. package/.next/server/pages/index.js.nft.json +0 -1
  99. package/.next/server/pages/login.js +0 -375
  100. package/.next/server/pages/login.js.nft.json +0 -1
  101. package/.next/server/pages/s.js +0 -438
  102. package/.next/server/pages/s.js.nft.json +0 -1
  103. package/.next/server/pages-manifest.json +0 -16
  104. package/.next/server/webpack-api-runtime.js +0 -229
  105. package/.next/server/webpack-runtime.js +0 -229
  106. package/.next/static/RfATetV4YfvX5h6l_dzKd/_buildManifest.js +0 -1
  107. package/.next/static/RfATetV4YfvX5h6l_dzKd/_ssgManifest.js +0 -1
  108. package/.next/static/chunks/143.dd8a556e6957baa1.js +0 -1
  109. package/.next/static/chunks/170.c17ce564bb568265.js +0 -1
  110. package/.next/static/chunks/202-80a2f2380b08e20d.js +0 -1
  111. package/.next/static/chunks/226.b57e10ad9932f88c.js +0 -1
  112. package/.next/static/chunks/336.0846f48eccce57e4.js +0 -1
  113. package/.next/static/chunks/366-4a0572a47e2225d9.js +0 -1
  114. package/.next/static/chunks/391-47b923ef44945418.js +0 -1
  115. package/.next/static/chunks/495.8ffebac98e9475dc.js +0 -1
  116. package/.next/static/chunks/502.7fd4f230c33d8eca.js +0 -1
  117. package/.next/static/chunks/545-1d3d08edfd2ee4c6.js +0 -1
  118. package/.next/static/chunks/597.c5cf3fbeae5ceb63.js +0 -1
  119. package/.next/static/chunks/651.7142f31ce1e052b3.js +0 -1
  120. package/.next/static/chunks/706-cbadf253bebb094f.js +0 -1
  121. package/.next/static/chunks/741.52f7fb873418346f.js +0 -1
  122. package/.next/static/chunks/98.97381d2021f86cd9.js +0 -1
  123. package/.next/static/chunks/framework-dfd14d7ce6600b03.js +0 -1
  124. package/.next/static/chunks/main-fd466221927468fd.js +0 -1
  125. package/.next/static/chunks/pages/404-eb7e8c41c852c36d.js +0 -1
  126. package/.next/static/chunks/pages/500-7dc597fd3f74e419.js +0 -1
  127. package/.next/static/chunks/pages/[...slug]-a0cf0c079a55bf65.js +0 -1
  128. package/.next/static/chunks/pages/[slug]/p-d740b4fba658ca99.js +0 -1
  129. package/.next/static/chunks/pages/_app-3e4e7e579cb0681a.js +0 -1
  130. package/.next/static/chunks/pages/_error-a7a0c1d9bfbb4f38.js +0 -1
  131. package/.next/static/chunks/pages/account-7f4c51b747b4edd0.js +0 -1
  132. package/.next/static/chunks/pages/checkout-cb8871ab88a1471f.js +0 -1
  133. package/.next/static/chunks/pages/index-efc87faefbfc1c42.js +0 -1
  134. package/.next/static/chunks/pages/login-9490b01a047906c0.js +0 -1
  135. package/.next/static/chunks/pages/s-9fdb82cf9875f2ed.js +0 -1
  136. package/.next/static/chunks/polyfills-c67a75d1b6f99dc8.js +0 -1
  137. package/.next/static/chunks/webpack-ce3960dc6e16b370.js +0 -1
  138. package/.next/static/css/161ccac1909562f3.css +0 -1
  139. package/.next/static/css/48af598df5fe042d.css +0 -1
  140. package/.next/static/css/587c27bbda64e700.css +0 -1
  141. package/.next/static/css/5bd04b22f4d69d95.css +0 -1
  142. package/.next/static/css/73426e282e7b3685.css +0 -1
  143. package/.next/static/css/9c478df3dd8312bc.css +0 -1
  144. package/.next/static/css/9cd06a344b528d1d.css +0 -1
  145. package/.next/static/css/bc39c02d387d74b8.css +0 -1
  146. package/.next/static/css/c4e7bbc97da4a4ee.css +0 -1
  147. package/.next/static/css/e02cdad8fc000339.css +0 -1
  148. package/.next/static/media/brandless-neutral.76ddf63a.png +0 -0
  149. package/.next/trace +0 -68
  150. package/public/~partytown/debug/partytown-atomics.js +0 -556
  151. package/public/~partytown/debug/partytown-media.js +0 -374
  152. package/public/~partytown/debug/partytown-sandbox-sw.js +0 -543
  153. package/public/~partytown/debug/partytown-sw.js +0 -59
  154. package/public/~partytown/debug/partytown-ww-atomics.js +0 -1789
  155. package/public/~partytown/debug/partytown-ww-sw.js +0 -1781
  156. package/public/~partytown/debug/partytown.js +0 -72
  157. package/public/~partytown/partytown-atomics.js +0 -2
  158. package/public/~partytown/partytown-media.js +0 -2
  159. package/public/~partytown/partytown-sw.js +0 -2
  160. package/public/~partytown/partytown.js +0 -2
@@ -1,120 +0,0 @@
1
- "use strict";
2
- exports.id = 886;
3
- exports.ids = [886];
4
- exports.modules = {
5
-
6
- /***/ 395:
7
- /***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {
8
-
9
- /* harmony export */ __webpack_require__.d(__webpack_exports__, {
10
- /* harmony export */ "Z": () => (__WEBPACK_DEFAULT_EXPORT__),
11
- /* harmony export */ "l": () => (/* binding */ useUI)
12
- /* harmony export */ });
13
- /* harmony import */ var react__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(6689);
14
- /* harmony import */ var react__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(react__WEBPACK_IMPORTED_MODULE_0__);
15
-
16
- const reducer = (state, action) => {
17
- const { type } = action;
18
- switch (type) {
19
- case 'open': {
20
- const { payload } = action;
21
- document.body.classList.add('no-scroll');
22
- return {
23
- ...state,
24
- [payload]: true,
25
- };
26
- }
27
- case 'close': {
28
- const { payload } = action;
29
- document.body.classList.remove('no-scroll');
30
- return {
31
- ...state,
32
- [payload]: false,
33
- };
34
- }
35
- case 'pushToast': {
36
- return {
37
- ...state,
38
- toasts: [...state.toasts, action.payload],
39
- };
40
- }
41
- case 'popToast': {
42
- return {
43
- ...state,
44
- toasts: state.toasts.slice(1),
45
- };
46
- }
47
- default:
48
- throw new Error(`Action ${type} not implemented`);
49
- }
50
- };
51
- const initializer = () => ({
52
- cart: false,
53
- modal: false,
54
- navbar: false,
55
- filter: false,
56
- toasts: [],
57
- });
58
- const UIContext = (0,react__WEBPACK_IMPORTED_MODULE_0__.createContext)(undefined);
59
- function UIProvider({ children }) {
60
- const [ui, dispatch] = (0,react__WEBPACK_IMPORTED_MODULE_0__.useReducer)(reducer, undefined, initializer);
61
- const callbacks = (0,react__WEBPACK_IMPORTED_MODULE_0__.useMemo)(() => ({
62
- openFilter: () => dispatch({ type: 'open', payload: 'filter' }),
63
- closeFilter: () => dispatch({ type: 'close', payload: 'filter' }),
64
- openNavbar: () => dispatch({ type: 'open', payload: 'navbar' }),
65
- closeNavbar: () => dispatch({ type: 'close', payload: 'navbar' }),
66
- openCart: () => dispatch({ type: 'open', payload: 'cart' }),
67
- closeCart: () => dispatch({ type: 'close', payload: 'cart' }),
68
- openModal: () => dispatch({ type: 'open', payload: 'modal' }),
69
- closeModal: () => dispatch({ type: 'close', payload: 'modal' }),
70
- pushToast: (toast) => dispatch({ type: 'pushToast', payload: toast }),
71
- popToast: () => dispatch({ type: 'popToast' }),
72
- }), []);
73
- const value = (0,react__WEBPACK_IMPORTED_MODULE_0__.useMemo)(() => ({
74
- ...ui,
75
- ...callbacks,
76
- }), [callbacks, ui]);
77
- return react__WEBPACK_IMPORTED_MODULE_0___default().createElement(UIContext.Provider, { value: value }, children);
78
- }
79
- function useUI() {
80
- const context = (0,react__WEBPACK_IMPORTED_MODULE_0__.useContext)(UIContext);
81
- if (context === undefined) {
82
- throw new Error('Missing UI context on React tree');
83
- }
84
- return context;
85
- }
86
- /* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = (UIProvider);
87
- //# sourceMappingURL=UIProvider.js.map
88
-
89
- /***/ }),
90
-
91
- /***/ 4950:
92
- /***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {
93
-
94
- /* harmony export */ __webpack_require__.d(__webpack_exports__, {
95
- /* harmony export */ "Wg": () => (/* binding */ unwrap),
96
- /* harmony export */ "re": () => (/* binding */ wrap),
97
- /* harmony export */ "vi": () => (/* binding */ ANALYTICS_EVENT_TYPE)
98
- /* harmony export */ });
99
- /* unused harmony export STORE_EVENT_PREFIX */
100
- const STORE_EVENT_PREFIX = 'store:';
101
- const ANALYTICS_EVENT_TYPE = 'AnalyticsEvent';
102
- const wrap = (event) => ({
103
- name: ANALYTICS_EVENT_TYPE,
104
- params: {
105
- ...event,
106
- name: `${STORE_EVENT_PREFIX}${event.name}`,
107
- },
108
- });
109
- const unwrap = (event) => {
110
- return {
111
- ...event.params,
112
- name: event.params.name.slice(STORE_EVENT_PREFIX.length, event.params.name.length),
113
- };
114
- };
115
- //# sourceMappingURL=wrap.js.map
116
-
117
- /***/ })
118
-
119
- };
120
- ;
@@ -1,124 +0,0 @@
1
- "use strict";
2
- exports.id = 98;
3
- exports.ids = [98,143];
4
- exports.modules = {
5
-
6
- /***/ 3664:
7
- /***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {
8
-
9
- __webpack_require__.r(__webpack_exports__);
10
- /* harmony export */ __webpack_require__.d(__webpack_exports__, {
11
- /* harmony export */ "default": () => (/* binding */ sendEvent)
12
- /* harmony export */ });
13
- /* harmony import */ var _search__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(9143);
14
-
15
- function sendEvent(event) {
16
- // VTEX RC
17
- window?.sendrc?.(event.name, event.params); // VTEX Intelligent Search
18
-
19
- (0,_search__WEBPACK_IMPORTED_MODULE_0__["default"])(event);
20
- }
21
-
22
- /***/ }),
23
-
24
- /***/ 9143:
25
- /***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {
26
-
27
- __webpack_require__.r(__webpack_exports__);
28
- /* harmony export */ __webpack_require__.d(__webpack_exports__, {
29
- /* harmony export */ "default": () => (__WEBPACK_DEFAULT_EXPORT__)
30
- /* harmony export */ });
31
- /* harmony import */ var _faststore_config__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(7183);
32
- /* harmony import */ var _faststore_config__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(_faststore_config__WEBPACK_IMPORTED_MODULE_0__);
33
- 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; }
34
-
35
- 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; }
36
-
37
- 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; }
38
-
39
- /**
40
- * More info at: https://www.notion.so/vtexhandbook/Event-API-Documentation-48eee26730cf4d7f80f8fd7262231f84
41
- */
42
-
43
- const THIRTY_MINUTES_S = 30 * 60;
44
- const ONE_YEAR_S = 365 * 24 * 3600;
45
-
46
- const randomUUID = () => typeof crypto.randomUUID === 'function' ? crypto.randomUUID() : (Math.random() * 1e6).toFixed(0);
47
-
48
- const createStorage = (key, expiresSecond) => {
49
- const timelapsed = past => (Date.now() - past) / 1e3;
50
-
51
- return () => {
52
- const item = JSON.parse(localStorage.getItem(key) ?? 'null');
53
- const isExpired = !item || timelapsed(item.createdAt) > expiresSecond;
54
- const payload = isExpired ? randomUUID() : item.payload;
55
-
56
- if (isExpired) {
57
- const data = {
58
- payload,
59
- createdAt: Date.now()
60
- };
61
- localStorage.setItem(key, JSON.stringify(data));
62
- }
63
-
64
- return payload;
65
- };
66
- };
67
-
68
- const user = {
69
- anonymous: createStorage('vtex.search.anonymous', ONE_YEAR_S),
70
- session: createStorage('vtex.search.session', THIRTY_MINUTES_S)
71
- };
72
-
73
- const sendEvent = options => fetch(`https://sp.vtex.com/event-api/v1/${(_faststore_config__WEBPACK_IMPORTED_MODULE_0___default().api.storeId)}/event`, {
74
- method: 'POST',
75
- body: JSON.stringify(_objectSpread(_objectSpread({}, options), {}, {
76
- userAgent: navigator.userAgent,
77
- anonymous: user.anonymous(),
78
- session: user.session()
79
- })),
80
- headers: {
81
- 'content-type': 'application/json'
82
- }
83
- });
84
-
85
- const isFullTextSearch = url => typeof url.searchParams.get('q') === 'string' && /^\/s(\/)?$/g.test(url.pathname);
86
-
87
- const handleEvent = event => {
88
- if (event.name !== 'search_select_item') {
89
- return;
90
- }
91
-
92
- const url = new URL(event.params.url);
93
-
94
- if (!isFullTextSearch(url)) {
95
- return;
96
- }
97
-
98
- for (const item of event.params.items ?? []) {
99
- const productId = item.item_id ?? item.item_variant;
100
- const position = item.index;
101
-
102
- if (productId && position) {
103
- sendEvent({
104
- type: 'search.click',
105
- productId,
106
- position,
107
- url: url.href,
108
- text: url.searchParams.get('q') ?? '<empty>'
109
- });
110
- }
111
- }
112
- };
113
-
114
- setInterval(() => sendEvent({
115
- type: 'session.ping'
116
- }), 60 * 1e3
117
- /* One minute */
118
- );
119
- /* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = (handleEvent);
120
-
121
- /***/ })
122
-
123
- };
124
- ;
@@ -1 +0,0 @@
1
- []
@@ -1 +0,0 @@
1
- []
@@ -1 +0,0 @@
1
- self.__BUILD_MANIFEST={polyfillFiles:["static/chunks/polyfills-c67a75d1b6f99dc8.js"],devFiles:[],ampDevFiles:[],lowPriorityFiles:["static/RfATetV4YfvX5h6l_dzKd/_buildManifest.js","static/RfATetV4YfvX5h6l_dzKd/_ssgManifest.js"],rootMainFiles:[],pages:{"/":["static/chunks/webpack-ce3960dc6e16b370.js","static/chunks/framework-dfd14d7ce6600b03.js","static/chunks/main-fd466221927468fd.js","static/chunks/391-47b923ef44945418.js","static/chunks/545-1d3d08edfd2ee4c6.js","static/css/9c478df3dd8312bc.css","static/chunks/202-80a2f2380b08e20d.js","static/css/5bd04b22f4d69d95.css","static/chunks/366-4a0572a47e2225d9.js","static/css/9cd06a344b528d1d.css","static/chunks/pages/index-efc87faefbfc1c42.js"],"/404":["static/chunks/webpack-ce3960dc6e16b370.js","static/chunks/framework-dfd14d7ce6600b03.js","static/chunks/main-fd466221927468fd.js","static/chunks/391-47b923ef44945418.js","static/chunks/545-1d3d08edfd2ee4c6.js","static/css/9c478df3dd8312bc.css","static/chunks/202-80a2f2380b08e20d.js","static/css/e02cdad8fc000339.css","static/chunks/pages/404-eb7e8c41c852c36d.js"],"/500":["static/chunks/webpack-ce3960dc6e16b370.js","static/chunks/framework-dfd14d7ce6600b03.js","static/chunks/main-fd466221927468fd.js","static/chunks/391-47b923ef44945418.js","static/chunks/545-1d3d08edfd2ee4c6.js","static/css/9c478df3dd8312bc.css","static/chunks/202-80a2f2380b08e20d.js","static/css/e02cdad8fc000339.css","static/chunks/pages/500-7dc597fd3f74e419.js"],"/[...slug]":["static/chunks/webpack-ce3960dc6e16b370.js","static/chunks/framework-dfd14d7ce6600b03.js","static/chunks/main-fd466221927468fd.js","static/chunks/391-47b923ef44945418.js","static/chunks/545-1d3d08edfd2ee4c6.js","static/css/9c478df3dd8312bc.css","static/chunks/202-80a2f2380b08e20d.js","static/css/73426e282e7b3685.css","static/chunks/706-cbadf253bebb094f.js","static/css/161ccac1909562f3.css","static/chunks/pages/[...slug]-a0cf0c079a55bf65.js"],"/[slug]/p":["static/chunks/webpack-ce3960dc6e16b370.js","static/chunks/framework-dfd14d7ce6600b03.js","static/chunks/main-fd466221927468fd.js","static/chunks/391-47b923ef44945418.js","static/chunks/545-1d3d08edfd2ee4c6.js","static/css/9c478df3dd8312bc.css","static/chunks/202-80a2f2380b08e20d.js","static/css/5bd04b22f4d69d95.css","static/chunks/366-4a0572a47e2225d9.js","static/css/bc39c02d387d74b8.css","static/chunks/pages/[slug]/p-d740b4fba658ca99.js"],"/_app":["static/chunks/webpack-ce3960dc6e16b370.js","static/chunks/framework-dfd14d7ce6600b03.js","static/chunks/main-fd466221927468fd.js","static/css/587c27bbda64e700.css","static/chunks/pages/_app-3e4e7e579cb0681a.js"],"/_error":["static/chunks/webpack-ce3960dc6e16b370.js","static/chunks/framework-dfd14d7ce6600b03.js","static/chunks/main-fd466221927468fd.js","static/chunks/pages/_error-a7a0c1d9bfbb4f38.js"],"/account":["static/chunks/webpack-ce3960dc6e16b370.js","static/chunks/framework-dfd14d7ce6600b03.js","static/chunks/main-fd466221927468fd.js","static/chunks/391-47b923ef44945418.js","static/chunks/545-1d3d08edfd2ee4c6.js","static/css/9c478df3dd8312bc.css","static/chunks/202-80a2f2380b08e20d.js","static/chunks/pages/account-7f4c51b747b4edd0.js"],"/checkout":["static/chunks/webpack-ce3960dc6e16b370.js","static/chunks/framework-dfd14d7ce6600b03.js","static/chunks/main-fd466221927468fd.js","static/chunks/391-47b923ef44945418.js","static/chunks/545-1d3d08edfd2ee4c6.js","static/css/9c478df3dd8312bc.css","static/chunks/202-80a2f2380b08e20d.js","static/chunks/pages/checkout-cb8871ab88a1471f.js"],"/login":["static/chunks/webpack-ce3960dc6e16b370.js","static/chunks/framework-dfd14d7ce6600b03.js","static/chunks/main-fd466221927468fd.js","static/chunks/391-47b923ef44945418.js","static/chunks/545-1d3d08edfd2ee4c6.js","static/css/9c478df3dd8312bc.css","static/chunks/202-80a2f2380b08e20d.js","static/css/e02cdad8fc000339.css","static/chunks/pages/login-9490b01a047906c0.js"],"/s":["static/chunks/webpack-ce3960dc6e16b370.js","static/chunks/framework-dfd14d7ce6600b03.js","static/chunks/main-fd466221927468fd.js","static/chunks/391-47b923ef44945418.js","static/chunks/545-1d3d08edfd2ee4c6.js","static/css/9c478df3dd8312bc.css","static/chunks/202-80a2f2380b08e20d.js","static/css/73426e282e7b3685.css","static/chunks/706-cbadf253bebb094f.js","static/chunks/pages/s-9fdb82cf9875f2ed.js"]},ampFirstPages:[]};
@@ -1,6 +0,0 @@
1
- {
2
- "sortedMiddleware": [],
3
- "middleware": {},
4
- "functions": {},
5
- "version": 2
6
- }
@@ -1 +0,0 @@
1
- self.__REACT_LOADABLE_MANIFEST={"../../node_modules/next/dist/client/index.js -> ../pages/_app":{id:2741,files:["static/chunks/741.52f7fb873418346f.js"]},"../../node_modules/next/dist/client/index.js -> ../pages/_error":{id:9651,files:["static/chunks/651.7142f31ce1e052b3.js"]},"../Layout.tsx -> src/components/cart/CartSidebar":{id:2502,files:["static/chunks/391-47b923ef44945418.js","static/chunks/336.0846f48eccce57e4.js","static/css/c4e7bbc97da4a4ee.css","static/chunks/502.7fd4f230c33d8eca.js"]},"../Layout.tsx -> src/components/region/RegionModal":{id:1597,files:["static/chunks/226.b57e10ad9932f88c.js","static/chunks/336.0846f48eccce57e4.js","static/css/48af598df5fe042d.css","static/chunks/597.c5cf3fbeae5ceb63.js"]},"../components/search/Filter/Filter.tsx -> ./FilterSlider":{id:4256,files:[]},"../components/search/SearchInput/SearchInput.tsx -> src/components/search/SearchDropdown":{id:495,files:["static/chunks/495.8ffebac98e9475dc.js"]},"../components/sections/ProductGallery/ProductGallery.tsx -> ./ProductGalleryPage":{id:9170,files:["static/chunks/170.c17ce564bb568265.js"]}};
@@ -1,393 +0,0 @@
1
- "use strict";
2
- (() => {
3
- var exports = {};
4
- exports.id = 197;
5
- exports.ids = [197];
6
- exports.modules = {
7
-
8
- /***/ 9206:
9
- /***/ ((module, __webpack_exports__, __webpack_require__) => {
10
-
11
- __webpack_require__.a(module, async (__webpack_handle_async_dependencies__, __webpack_async_result__) => { try {
12
- __webpack_require__.r(__webpack_exports__);
13
- /* harmony export */ __webpack_require__.d(__webpack_exports__, {
14
- /* harmony export */ "default": () => (__WEBPACK_DEFAULT_EXPORT__),
15
- /* harmony export */ "getStaticProps": () => (/* binding */ getStaticProps)
16
- /* harmony export */ });
17
- /* harmony import */ var next_seo__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(6641);
18
- /* harmony import */ var next_seo__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(next_seo__WEBPACK_IMPORTED_MODULE_0__);
19
- /* harmony import */ var next_router__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(1853);
20
- /* harmony import */ var next_router__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(next_router__WEBPACK_IMPORTED_MODULE_1__);
21
- /* harmony import */ var src_components_cms_GlobalSections__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(4074);
22
- /* harmony import */ var _faststore_ui__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(5045);
23
- /* harmony import */ var src_components_sections_EmptyState__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(3701);
24
- /* harmony import */ var react_jsx_runtime__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(997);
25
- /* harmony import */ var react_jsx_runtime__WEBPACK_IMPORTED_MODULE_4___default = /*#__PURE__*/__webpack_require__.n(react_jsx_runtime__WEBPACK_IMPORTED_MODULE_4__);
26
- var __webpack_async_dependencies__ = __webpack_handle_async_dependencies__([src_components_cms_GlobalSections__WEBPACK_IMPORTED_MODULE_2__]);
27
- src_components_cms_GlobalSections__WEBPACK_IMPORTED_MODULE_2__ = (__webpack_async_dependencies__.then ? (await __webpack_async_dependencies__)() : __webpack_async_dependencies__)[0];
28
- 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; }
29
-
30
- 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; }
31
-
32
- 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; }
33
-
34
-
35
-
36
-
37
-
38
-
39
-
40
-
41
-
42
- const useErrorState = () => {
43
- const router = (0,next_router__WEBPACK_IMPORTED_MODULE_1__.useRouter)();
44
- const {
45
- from
46
- } = router.query;
47
- const {
48
- pathname
49
- } = router;
50
- return {
51
- fromUrl: from ?? pathname
52
- };
53
- };
54
-
55
- function Page({
56
- globalSections
57
- }) {
58
- const {
59
- fromUrl
60
- } = useErrorState();
61
- return /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_4__.jsxs)(src_components_cms_GlobalSections__WEBPACK_IMPORTED_MODULE_2__/* ["default"] */ .ZP, _objectSpread(_objectSpread({}, globalSections), {}, {
62
- children: [/*#__PURE__*/react_jsx_runtime__WEBPACK_IMPORTED_MODULE_4__.jsx(next_seo__WEBPACK_IMPORTED_MODULE_0__.NextSeo, {
63
- noindex: true,
64
- nofollow: true
65
- }), /*#__PURE__*/react_jsx_runtime__WEBPACK_IMPORTED_MODULE_4__.jsx(src_components_sections_EmptyState__WEBPACK_IMPORTED_MODULE_3__/* ["default"] */ .Z, {
66
- title: "Not Found: 404",
67
- titleIcon: /*#__PURE__*/react_jsx_runtime__WEBPACK_IMPORTED_MODULE_4__.jsx(_faststore_ui__WEBPACK_IMPORTED_MODULE_5__/* ["default"] */ .Z, {
68
- name: "CircleWavyWarning",
69
- width: 56,
70
- height: 56,
71
- weight: "thin"
72
- }),
73
- children: /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_4__.jsxs)("p", {
74
- children: ["This app could not find url ", fromUrl]
75
- })
76
- })]
77
- }));
78
- }
79
-
80
- const getStaticProps = async ({
81
- previewData
82
- }) => {
83
- const globalSections = await (0,src_components_cms_GlobalSections__WEBPACK_IMPORTED_MODULE_2__/* .getGlobalSectionsData */ .Tc)(previewData);
84
- return {
85
- props: {
86
- globalSections
87
- }
88
- };
89
- };
90
- /* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = (Page);
91
- __webpack_async_result__();
92
- } catch(e) { __webpack_async_result__(e); } });
93
-
94
- /***/ }),
95
-
96
- /***/ 5490:
97
- /***/ ((module) => {
98
-
99
- module.exports = require("@faststore/graphql-utils");
100
-
101
- /***/ }),
102
-
103
- /***/ 6676:
104
- /***/ ((module) => {
105
-
106
- module.exports = require("@vtex/client-cms");
107
-
108
- /***/ }),
109
-
110
- /***/ 3430:
111
- /***/ ((module) => {
112
-
113
- module.exports = require("idb-keyval");
114
-
115
- /***/ }),
116
-
117
- /***/ 6641:
118
- /***/ ((module) => {
119
-
120
- module.exports = require("next-seo");
121
-
122
- /***/ }),
123
-
124
- /***/ 3280:
125
- /***/ ((module) => {
126
-
127
- module.exports = require("next/dist/shared/lib/app-router-context.js");
128
-
129
- /***/ }),
130
-
131
- /***/ 2796:
132
- /***/ ((module) => {
133
-
134
- module.exports = require("next/dist/shared/lib/head-manager-context.js");
135
-
136
- /***/ }),
137
-
138
- /***/ 4957:
139
- /***/ ((module) => {
140
-
141
- module.exports = require("next/dist/shared/lib/head.js");
142
-
143
- /***/ }),
144
-
145
- /***/ 3539:
146
- /***/ ((module) => {
147
-
148
- module.exports = require("next/dist/shared/lib/i18n/detect-domain-locale.js");
149
-
150
- /***/ }),
151
-
152
- /***/ 4014:
153
- /***/ ((module) => {
154
-
155
- module.exports = require("next/dist/shared/lib/i18n/normalize-locale-path.js");
156
-
157
- /***/ }),
158
-
159
- /***/ 4486:
160
- /***/ ((module) => {
161
-
162
- module.exports = require("next/dist/shared/lib/image-blur-svg.js");
163
-
164
- /***/ }),
165
-
166
- /***/ 744:
167
- /***/ ((module) => {
168
-
169
- module.exports = require("next/dist/shared/lib/image-config-context.js");
170
-
171
- /***/ }),
172
-
173
- /***/ 5843:
174
- /***/ ((module) => {
175
-
176
- module.exports = require("next/dist/shared/lib/image-config.js");
177
-
178
- /***/ }),
179
-
180
- /***/ 8524:
181
- /***/ ((module) => {
182
-
183
- module.exports = require("next/dist/shared/lib/is-plain-object.js");
184
-
185
- /***/ }),
186
-
187
- /***/ 8020:
188
- /***/ ((module) => {
189
-
190
- module.exports = require("next/dist/shared/lib/mitt.js");
191
-
192
- /***/ }),
193
-
194
- /***/ 4406:
195
- /***/ ((module) => {
196
-
197
- module.exports = require("next/dist/shared/lib/page-path/denormalize-page-path.js");
198
-
199
- /***/ }),
200
-
201
- /***/ 4964:
202
- /***/ ((module) => {
203
-
204
- module.exports = require("next/dist/shared/lib/router-context.js");
205
-
206
- /***/ }),
207
-
208
- /***/ 3431:
209
- /***/ ((module) => {
210
-
211
- module.exports = require("next/dist/shared/lib/router/utils/add-locale.js");
212
-
213
- /***/ }),
214
-
215
- /***/ 1751:
216
- /***/ ((module) => {
217
-
218
- module.exports = require("next/dist/shared/lib/router/utils/add-path-prefix.js");
219
-
220
- /***/ }),
221
-
222
- /***/ 6220:
223
- /***/ ((module) => {
224
-
225
- module.exports = require("next/dist/shared/lib/router/utils/compare-states.js");
226
-
227
- /***/ }),
228
-
229
- /***/ 299:
230
- /***/ ((module) => {
231
-
232
- module.exports = require("next/dist/shared/lib/router/utils/format-next-pathname-info.js");
233
-
234
- /***/ }),
235
-
236
- /***/ 3938:
237
- /***/ ((module) => {
238
-
239
- module.exports = require("next/dist/shared/lib/router/utils/format-url.js");
240
-
241
- /***/ }),
242
-
243
- /***/ 9565:
244
- /***/ ((module) => {
245
-
246
- module.exports = require("next/dist/shared/lib/router/utils/get-asset-path-from-route.js");
247
-
248
- /***/ }),
249
-
250
- /***/ 5789:
251
- /***/ ((module) => {
252
-
253
- module.exports = require("next/dist/shared/lib/router/utils/get-next-pathname-info.js");
254
-
255
- /***/ }),
256
-
257
- /***/ 1897:
258
- /***/ ((module) => {
259
-
260
- module.exports = require("next/dist/shared/lib/router/utils/is-bot.js");
261
-
262
- /***/ }),
263
-
264
- /***/ 1428:
265
- /***/ ((module) => {
266
-
267
- module.exports = require("next/dist/shared/lib/router/utils/is-dynamic.js");
268
-
269
- /***/ }),
270
-
271
- /***/ 8854:
272
- /***/ ((module) => {
273
-
274
- module.exports = require("next/dist/shared/lib/router/utils/parse-path.js");
275
-
276
- /***/ }),
277
-
278
- /***/ 1292:
279
- /***/ ((module) => {
280
-
281
- module.exports = require("next/dist/shared/lib/router/utils/parse-relative-url.js");
282
-
283
- /***/ }),
284
-
285
- /***/ 4567:
286
- /***/ ((module) => {
287
-
288
- module.exports = require("next/dist/shared/lib/router/utils/path-has-prefix.js");
289
-
290
- /***/ }),
291
-
292
- /***/ 979:
293
- /***/ ((module) => {
294
-
295
- module.exports = require("next/dist/shared/lib/router/utils/querystring.js");
296
-
297
- /***/ }),
298
-
299
- /***/ 3297:
300
- /***/ ((module) => {
301
-
302
- module.exports = require("next/dist/shared/lib/router/utils/remove-trailing-slash.js");
303
-
304
- /***/ }),
305
-
306
- /***/ 6052:
307
- /***/ ((module) => {
308
-
309
- module.exports = require("next/dist/shared/lib/router/utils/resolve-rewrites.js");
310
-
311
- /***/ }),
312
-
313
- /***/ 4226:
314
- /***/ ((module) => {
315
-
316
- module.exports = require("next/dist/shared/lib/router/utils/route-matcher.js");
317
-
318
- /***/ }),
319
-
320
- /***/ 5052:
321
- /***/ ((module) => {
322
-
323
- module.exports = require("next/dist/shared/lib/router/utils/route-regex.js");
324
-
325
- /***/ }),
326
-
327
- /***/ 9232:
328
- /***/ ((module) => {
329
-
330
- module.exports = require("next/dist/shared/lib/utils.js");
331
-
332
- /***/ }),
333
-
334
- /***/ 1853:
335
- /***/ ((module) => {
336
-
337
- module.exports = require("next/router");
338
-
339
- /***/ }),
340
-
341
- /***/ 6689:
342
- /***/ ((module) => {
343
-
344
- module.exports = require("react");
345
-
346
- /***/ }),
347
-
348
- /***/ 6405:
349
- /***/ ((module) => {
350
-
351
- module.exports = require("react-dom");
352
-
353
- /***/ }),
354
-
355
- /***/ 997:
356
- /***/ ((module) => {
357
-
358
- module.exports = require("react/jsx-runtime");
359
-
360
- /***/ }),
361
-
362
- /***/ 3823:
363
- /***/ ((module) => {
364
-
365
- module.exports = require("tabbable");
366
-
367
- /***/ }),
368
-
369
- /***/ 7564:
370
- /***/ ((module) => {
371
-
372
- module.exports = import("chalk");;
373
-
374
- /***/ }),
375
-
376
- /***/ 5941:
377
- /***/ ((module) => {
378
-
379
- module.exports = import("swr");;
380
-
381
- /***/ })
382
-
383
- };
384
- ;
385
-
386
- // load runtime
387
- var __webpack_require__ = require("../webpack-runtime.js");
388
- __webpack_require__.C(exports);
389
- var __webpack_exec__ = (moduleId) => (__webpack_require__(__webpack_require__.s = moduleId))
390
- var __webpack_exports__ = __webpack_require__.X(0, [608,676,664,336,183,644,886,74,701], () => (__webpack_exec__(9206)));
391
- module.exports = __webpack_exports__;
392
-
393
- })();