@faststore/core 2.0.75-alpha.0 → 2.0.76-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 (148) hide show
  1. package/.turbo/turbo-build.log +1 -1
  2. package/CHANGELOG.md +6 -0
  3. package/package.json +2 -2
  4. package/src/components/cart/CartSidebar/CartSidebar.tsx +5 -1
  5. package/.next/BUILD_ID +0 -1
  6. package/.next/build-manifest.json +0 -103
  7. package/.next/cache/.tsbuildinfo +0 -1
  8. package/.next/cache/config.json +0 -7
  9. package/.next/cache/eslint/.cache_1gneedd +0 -1
  10. package/.next/cache/next-server.js.nft.json +0 -1
  11. package/.next/cache/webpack/client-production/0.pack +0 -0
  12. package/.next/cache/webpack/client-production/index.pack +0 -0
  13. package/.next/cache/webpack/server-production/0.pack +0 -0
  14. package/.next/cache/webpack/server-production/index.pack +0 -0
  15. package/.next/export-marker.json +0 -1
  16. package/.next/images-manifest.json +0 -1
  17. package/.next/next-server.js.nft.json +0 -1
  18. package/.next/package.json +0 -1
  19. package/.next/prerender-manifest.json +0 -1
  20. package/.next/react-loadable-manifest.json +0 -49
  21. package/.next/required-server-files.json +0 -1
  22. package/.next/routes-manifest.json +0 -1
  23. package/.next/server/chunks/104.js +0 -196
  24. package/.next/server/chunks/143.js +0 -106
  25. package/.next/server/chunks/154.js +0 -201
  26. package/.next/server/chunks/183.js +0 -72
  27. package/.next/server/chunks/247.js +0 -61
  28. package/.next/server/chunks/264.js +0 -67
  29. package/.next/server/chunks/280.js +0 -417
  30. package/.next/server/chunks/287.js +0 -79
  31. package/.next/server/chunks/307.js +0 -109
  32. package/.next/server/chunks/312.js +0 -714
  33. package/.next/server/chunks/317.js +0 -126
  34. package/.next/server/chunks/350.js +0 -120
  35. package/.next/server/chunks/371.js +0 -1467
  36. package/.next/server/chunks/377.js +0 -82
  37. package/.next/server/chunks/394.js +0 -3801
  38. package/.next/server/chunks/439.js +0 -175
  39. package/.next/server/chunks/444.js +0 -464
  40. package/.next/server/chunks/465.js +0 -91
  41. package/.next/server/chunks/576.js +0 -72
  42. package/.next/server/chunks/650.js +0 -216
  43. package/.next/server/chunks/664.js +0 -124
  44. package/.next/server/chunks/676.js +0 -32
  45. package/.next/server/chunks/732.js +0 -51
  46. package/.next/server/chunks/746.js +0 -237
  47. package/.next/server/chunks/849.js +0 -665
  48. package/.next/server/chunks/854.js +0 -72
  49. package/.next/server/chunks/859.js +0 -959
  50. package/.next/server/chunks/872.js +0 -378
  51. package/.next/server/chunks/881.js +0 -320
  52. package/.next/server/chunks/898.js +0 -240
  53. package/.next/server/chunks/914.js +0 -96
  54. package/.next/server/chunks/953.js +0 -673
  55. package/.next/server/chunks/98.js +0 -266
  56. package/.next/server/chunks/992.js +0 -562
  57. package/.next/server/chunks/font-manifest.json +0 -1
  58. package/.next/server/font-manifest.json +0 -1
  59. package/.next/server/middleware-build-manifest.js +0 -1
  60. package/.next/server/middleware-manifest.json +0 -6
  61. package/.next/server/middleware-react-loadable-manifest.js +0 -1
  62. package/.next/server/pages/404.js.nft.json +0 -1
  63. package/.next/server/pages/500.js.nft.json +0 -1
  64. package/.next/server/pages/[...slug].js +0 -609
  65. package/.next/server/pages/[...slug].js.nft.json +0 -1
  66. package/.next/server/pages/[slug]/p.js +0 -2560
  67. package/.next/server/pages/[slug]/p.js.nft.json +0 -1
  68. package/.next/server/pages/_app.js +0 -2058
  69. package/.next/server/pages/_app.js.nft.json +0 -1
  70. package/.next/server/pages/_document.js +0 -304
  71. package/.next/server/pages/_document.js.nft.json +0 -1
  72. package/.next/server/pages/_error.js +0 -164
  73. package/.next/server/pages/_error.js.nft.json +0 -1
  74. package/.next/server/pages/account.js.nft.json +0 -1
  75. package/.next/server/pages/api/graphql.js +0 -259
  76. package/.next/server/pages/api/graphql.js.nft.json +0 -1
  77. package/.next/server/pages/api/preview.js +0 -118
  78. package/.next/server/pages/api/preview.js.nft.json +0 -1
  79. package/.next/server/pages/checkout.js.nft.json +0 -1
  80. package/.next/server/pages/en-US/404.html +0 -81
  81. package/.next/server/pages/en-US/500.html +0 -81
  82. package/.next/server/pages/en-US/account.html +0 -81
  83. package/.next/server/pages/en-US/checkout.html +0 -81
  84. package/.next/server/pages/en-US/login.html +0 -81
  85. package/.next/server/pages/en-US/s.html +0 -81
  86. package/.next/server/pages/en-US.html +0 -81
  87. package/.next/server/pages/en-US.json +0 -1
  88. package/.next/server/pages/index.js +0 -407
  89. package/.next/server/pages/index.js.nft.json +0 -1
  90. package/.next/server/pages/login.js.nft.json +0 -1
  91. package/.next/server/pages/s.js.nft.json +0 -1
  92. package/.next/server/pages-manifest.json +0 -16
  93. package/.next/server/webpack-api-runtime.js +0 -229
  94. package/.next/server/webpack-runtime.js +0 -229
  95. package/.next/static/chunks/143.dd8a556e6957baa1.js +0 -1
  96. package/.next/static/chunks/153-a20e3f2da180607e.js +0 -1
  97. package/.next/static/chunks/260-994385416f68673d.js +0 -1
  98. package/.next/static/chunks/307.10facde65af3066a.js +0 -1
  99. package/.next/static/chunks/337-4b719ca7a86d8d8c.js +0 -1
  100. package/.next/static/chunks/351-a4e28d64f48c5269.js +0 -1
  101. package/.next/static/chunks/588.591fb3bf1a136c66.js +0 -1
  102. package/.next/static/chunks/650.807852d1c36bfe44.js +0 -1
  103. package/.next/static/chunks/651.7142f31ce1e052b3.js +0 -1
  104. package/.next/static/chunks/686.36adeba271636edd.js +0 -1
  105. package/.next/static/chunks/741.52f7fb873418346f.js +0 -1
  106. package/.next/static/chunks/817-728f854c2948afc0.js +0 -1
  107. package/.next/static/chunks/909.ea3532bde0943808.js +0 -1
  108. package/.next/static/chunks/953.77a48c854f628dcf.js +0 -1
  109. package/.next/static/chunks/98.97381d2021f86cd9.js +0 -1
  110. package/.next/static/chunks/framework-dfd14d7ce6600b03.js +0 -1
  111. package/.next/static/chunks/main-9746772201fe3ac1.js +0 -1
  112. package/.next/static/chunks/pages/404-ba608a2a9f0c420a.js +0 -1
  113. package/.next/static/chunks/pages/500-910883c20541d9ce.js +0 -1
  114. package/.next/static/chunks/pages/[...slug]-9443b18a60d89746.js +0 -1
  115. package/.next/static/chunks/pages/[slug]/p-cb8ef12f6449cf26.js +0 -1
  116. package/.next/static/chunks/pages/_app-9cc7312632f19e94.js +0 -1
  117. package/.next/static/chunks/pages/_error-a7a0c1d9bfbb4f38.js +0 -1
  118. package/.next/static/chunks/pages/account-f19102933e6fd84c.js +0 -1
  119. package/.next/static/chunks/pages/checkout-f8cb7cb22225ef9d.js +0 -1
  120. package/.next/static/chunks/pages/index-6717326cc207d674.js +0 -1
  121. package/.next/static/chunks/pages/login-0b9ea80d9fa0f91b.js +0 -1
  122. package/.next/static/chunks/pages/s-86fe1e3303388123.js +0 -1
  123. package/.next/static/chunks/polyfills-c67a75d1b6f99dc8.js +0 -1
  124. package/.next/static/chunks/webpack-fc7c18f8a868734c.js +0 -1
  125. package/.next/static/css/14ebc84fc6d6c80c.css +0 -1
  126. package/.next/static/css/430b8cafbf7c23c1.css +0 -1
  127. package/.next/static/css/43d61b402f41569b.css +0 -1
  128. package/.next/static/css/4d7e7f156483493d.css +0 -1
  129. package/.next/static/css/6507cb48401e73a4.css +0 -1
  130. package/.next/static/css/9dd1d1084d254c66.css +0 -1
  131. package/.next/static/css/b2f16bd4b93e0aca.css +0 -1
  132. package/.next/static/css/bd743407c8049677.css +0 -1
  133. package/.next/static/css/e63697a078fd522e.css +0 -1
  134. package/.next/static/media/brandless-neutral.76ddf63a.png +0 -0
  135. package/.next/static/xmQIY_XtSwwYX1xvtcDOJ/_buildManifest.js +0 -1
  136. package/.next/static/xmQIY_XtSwwYX1xvtcDOJ/_ssgManifest.js +0 -1
  137. package/.next/trace +0 -64
  138. package/public/~partytown/debug/partytown-atomics.js +0 -556
  139. package/public/~partytown/debug/partytown-media.js +0 -374
  140. package/public/~partytown/debug/partytown-sandbox-sw.js +0 -543
  141. package/public/~partytown/debug/partytown-sw.js +0 -59
  142. package/public/~partytown/debug/partytown-ww-atomics.js +0 -1789
  143. package/public/~partytown/debug/partytown-ww-sw.js +0 -1781
  144. package/public/~partytown/debug/partytown.js +0 -72
  145. package/public/~partytown/partytown-atomics.js +0 -2
  146. package/public/~partytown/partytown-media.js +0 -2
  147. package/public/~partytown/partytown-sw.js +0 -2
  148. package/public/~partytown/partytown.js +0 -2
@@ -1,2058 +0,0 @@
1
- (() => {
2
- var exports = {};
3
- exports.id = 888;
4
- exports.ids = [888];
5
- exports.modules = {
6
-
7
- /***/ 6970:
8
- /***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {
9
-
10
- "use strict";
11
- /* harmony export */ __webpack_require__.d(__webpack_exports__, {
12
- /* harmony export */ "Z": () => (__WEBPACK_DEFAULT_EXPORT__)
13
- /* harmony export */ });
14
- /* harmony import */ var react__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(6689);
15
- /* harmony import */ var react__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(react__WEBPACK_IMPORTED_MODULE_0__);
16
- /* harmony import */ var ___WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(5045);
17
- /* harmony import */ var ___WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(7865);
18
- /* harmony import */ var ___WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(4842);
19
- /* harmony import */ var _assets__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(2543);
20
-
21
-
22
-
23
-
24
- const Alert = (0,react__WEBPACK_IMPORTED_MODULE_0__.forwardRef)(function Alert({ testId = 'fs-alert', children, icon, dismissible, link, onClose, ...otherProps }, ref) {
25
- const handleClose = (0,react__WEBPACK_IMPORTED_MODULE_0__.useCallback)((event) => {
26
- if (event.defaultPrevented) {
27
- return;
28
- }
29
- onClose?.(event);
30
- }, [onClose]);
31
- return (react__WEBPACK_IMPORTED_MODULE_0___default().createElement("div", { ref: ref, role: "alert", "data-fs-alert": true, "data-testid": testId, "data-fs-alert-dismissible": dismissible, ...otherProps },
32
- icon && react__WEBPACK_IMPORTED_MODULE_0___default().createElement(___WEBPACK_IMPORTED_MODULE_1__/* ["default"] */ .Z, { component: icon }),
33
- react__WEBPACK_IMPORTED_MODULE_0___default().createElement("p", { "data-fs-alert-content": true }, children),
34
- link && react__WEBPACK_IMPORTED_MODULE_0___default().createElement(___WEBPACK_IMPORTED_MODULE_2__/* ["default"] */ .Z, { "data-fs-alert-link": true, variant: "inline", ...link }),
35
- dismissible && (react__WEBPACK_IMPORTED_MODULE_0___default().createElement(___WEBPACK_IMPORTED_MODULE_3__/* ["default"] */ .Z, { "data-fs-alert-button": true, "aria-label": "Close", onClick: handleClose },
36
- react__WEBPACK_IMPORTED_MODULE_0___default().createElement("span", null,
37
- react__WEBPACK_IMPORTED_MODULE_0___default().createElement(___WEBPACK_IMPORTED_MODULE_1__/* ["default"] */ .Z, { component: react__WEBPACK_IMPORTED_MODULE_0___default().createElement(_assets__WEBPACK_IMPORTED_MODULE_4__/* ["default"] */ .Z, null) }))))));
38
- });
39
- /* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = (Alert);
40
- //# sourceMappingURL=Alert.js.map
41
-
42
- /***/ }),
43
-
44
- /***/ 6371:
45
- /***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {
46
-
47
- "use strict";
48
- // ESM COMPAT FLAG
49
- __webpack_require__.r(__webpack_exports__);
50
-
51
- // EXPORTS
52
- __webpack_require__.d(__webpack_exports__, {
53
- "default": () => (/* binding */ _app)
54
- });
55
-
56
- ;// CONCATENATED MODULE: external "nextjs-progressbar"
57
- const external_nextjs_progressbar_namespaceObject = require("nextjs-progressbar");
58
- var external_nextjs_progressbar_default = /*#__PURE__*/__webpack_require__.n(external_nextjs_progressbar_namespaceObject);
59
- // EXTERNAL MODULE: external "react"
60
- var external_react_ = __webpack_require__(6689);
61
- var external_react_default = /*#__PURE__*/__webpack_require__.n(external_react_);
62
- // EXTERNAL MODULE: ../components/dist/molecules/Alert/Alert.js
63
- var Alert = __webpack_require__(6970);
64
- // EXTERNAL MODULE: ./src/sdk/tests/mark.tsx
65
- var mark = __webpack_require__(2541);
66
- // EXTERNAL MODULE: external "react/jsx-runtime"
67
- var jsx_runtime_ = __webpack_require__(997);
68
- ;// CONCATENATED MODULE: ./src/components/common/Alert/Alert.tsx
69
- const _excluded = ["content", "children"];
70
-
71
- 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; }
72
-
73
- 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; }
74
-
75
- 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; }
76
-
77
- function _objectWithoutProperties(source, excluded) { if (source == null) return {}; var target = _objectWithoutPropertiesLoose(source, excluded); var key, i; if (Object.getOwnPropertySymbols) { var sourceSymbolKeys = Object.getOwnPropertySymbols(source); for (i = 0; i < sourceSymbolKeys.length; i++) { key = sourceSymbolKeys[i]; if (excluded.indexOf(key) >= 0) continue; if (!Object.prototype.propertyIsEnumerable.call(source, key)) continue; target[key] = source[key]; } } return target; }
78
-
79
- function _objectWithoutPropertiesLoose(source, excluded) { if (source == null) return {}; var target = {}; var sourceKeys = Object.keys(source); var key, i; for (i = 0; i < sourceKeys.length; i++) { key = sourceKeys[i]; if (excluded.indexOf(key) >= 0) continue; target[key] = source[key]; } return target; }
80
-
81
-
82
-
83
-
84
-
85
-
86
- function Alert_Alert(args) {
87
- const {
88
- 0: displayAlert,
89
- 1: setDisplayAlert
90
- } = (0,external_react_.useState)(true);
91
- const onAlertClose = (0,external_react_.useCallback)(() => setDisplayAlert(false), [setDisplayAlert]);
92
-
93
- if (displayAlert === false) {
94
- return null;
95
- }
96
-
97
- const {
98
- content,
99
- children
100
- } = args,
101
- otherProps = _objectWithoutProperties(args, _excluded);
102
-
103
- return /*#__PURE__*/jsx_runtime_.jsx(Alert/* default */.Z, _objectSpread(_objectSpread({
104
- onClose: onAlertClose
105
- }, otherProps), {}, {
106
- children: content ?? children
107
- }));
108
- }
109
-
110
- Alert_Alert.displayName = 'Alert';
111
- /* harmony default export */ const common_Alert_Alert = ((0,mark/* mark */.B)(Alert_Alert));
112
- ;// CONCATENATED MODULE: ./src/components/common/Alert/index.ts
113
-
114
- // EXTERNAL MODULE: ../components/dist/atoms/List/List.js
115
- var List = __webpack_require__(1329);
116
- // EXTERNAL MODULE: ../components/dist/atoms/SROnly/SROnly.js
117
- var SROnly = __webpack_require__(2691);
118
- ;// CONCATENATED MODULE: ../components/dist/organisms/PaymentMethods/PaymentMethods.js
119
-
120
-
121
- const PaymentMethods = (0,external_react_.forwardRef)(function PaymentMethods({ testId = 'fs-payment-methods', title, 'aria-label': ariaLabel = 'Payment Methods', flagList, ...otherProps }, ref) {
122
- return (external_react_default().createElement("div", { ref: ref, "data-fs-payment-methods": true, "data-testid": testId, ...otherProps },
123
- !!title && external_react_default().createElement("div", { "data-fs-payment-methods-title": true }, title),
124
- external_react_default().createElement(List/* default */.Z, { "data-fs-payment-methods-flags": true, "aria-label": title ? undefined : ariaLabel }, flagList.map((item, index) => (external_react_default().createElement("li", { "data-fs-payment-methods-flag": true, key: `fs-payment-method-${index}-${item.text}` },
125
- item.image,
126
- item.text && external_react_default().createElement(SROnly/* default */.Z, { text: item.text })))))));
127
- });
128
- /* harmony default export */ const PaymentMethods_PaymentMethods = (PaymentMethods);
129
- //# sourceMappingURL=PaymentMethods.js.map
130
- // EXTERNAL MODULE: ./src/components/ui/Logo/logo.module.scss
131
- var logo_module = __webpack_require__(4374);
132
- var logo_module_default = /*#__PURE__*/__webpack_require__.n(logo_module);
133
- ;// CONCATENATED MODULE: ./src/components/ui/Logo/Logo.tsx
134
-
135
-
136
-
137
- function Logo() {
138
- return /*#__PURE__*/jsx_runtime_.jsx("span", {
139
- className: (logo_module_default()).fsLogo,
140
- "data-fs-logo": true,
141
- role: "img",
142
- "aria-label": "BaseStore logo"
143
- });
144
- }
145
-
146
- /* harmony default export */ const Logo_Logo = (Logo);
147
- ;// CONCATENATED MODULE: ./src/components/ui/Logo/index.ts
148
-
149
- // EXTERNAL MODULE: ./src/components/sections/Incentives/Incentives.tsx + 1 modules
150
- var Incentives = __webpack_require__(2914);
151
- ;// CONCATENATED MODULE: ./src/components/sections/Incentives/incentivesMock.ts
152
- const incentivesMockHeader = [{
153
- icon: 'Truck',
154
- title: 'Buy online',
155
- firstLineText: 'Get Free Shipping'
156
- }, {
157
- icon: 'Calendar',
158
- title: 'Free return',
159
- firstLineText: '30 days to return'
160
- }, {
161
- icon: 'Gift',
162
- title: 'Gift cards',
163
- firstLineText: '$20 / $30 / $50'
164
- }, {
165
- icon: 'Storefront',
166
- title: 'Physical Stores',
167
- firstLineText: '+40 Stores in Brazil'
168
- }, {
169
- icon: 'ShieldCheck',
170
- title: 'Buy online',
171
- firstLineText: 'Get Free Shipping'
172
- }];
173
- const incentivesMockFooter = [{
174
- icon: 'ShieldCheck',
175
- firstLineText: 'Trusted',
176
- secondLineText: 'by Safecon'
177
- }, {
178
- icon: 'Medal',
179
- firstLineText: 'Quality',
180
- secondLineText: 'Products'
181
- }, {
182
- icon: 'CircleWavyCheck',
183
- firstLineText: '3-year',
184
- secondLineText: 'Guarantee'
185
- }, {
186
- icon: 'Storefront',
187
- firstLineText: 'Pickup',
188
- secondLineText: 'Options'
189
- }, {
190
- icon: 'Truck',
191
- firstLineText: 'Free',
192
- secondLineText: 'Shippping'
193
- }];
194
- ;// CONCATENATED MODULE: ./src/components/sections/Incentives/IncentivesFooter.tsx
195
-
196
-
197
-
198
-
199
- function IncentivesFooter() {
200
- return /*#__PURE__*/jsx_runtime_.jsx(Incentives/* default */.Z, {
201
- incentives: incentivesMockFooter
202
- });
203
- }
204
-
205
- /* harmony default export */ const Incentives_IncentivesFooter = (IncentivesFooter);
206
- // EXTERNAL MODULE: ./src/components/ui/Icon/index.ts + 1 modules
207
- var Icon = __webpack_require__(2478);
208
- // EXTERNAL MODULE: ./src/components/ui/Link/index.ts + 1 modules
209
- var Link = __webpack_require__(1093);
210
- // EXTERNAL MODULE: ./src/components/common/Footer/footer.module.scss
211
- var footer_module = __webpack_require__(1893);
212
- var footer_module_default = /*#__PURE__*/__webpack_require__.n(footer_module);
213
- // EXTERNAL MODULE: ../components/dist/molecules/Accordion/Accordion.js
214
- var Accordion = __webpack_require__(9739);
215
- // EXTERNAL MODULE: ../components/dist/molecules/Accordion/AccordionItem.js
216
- var AccordionItem = __webpack_require__(5705);
217
- // EXTERNAL MODULE: ../components/dist/molecules/Accordion/AccordionButton.js + 2 modules
218
- var AccordionButton = __webpack_require__(7831);
219
- // EXTERNAL MODULE: ../components/dist/molecules/Accordion/AccordionPanel.js
220
- var AccordionPanel = __webpack_require__(331);
221
- ;// CONCATENATED MODULE: ./src/components/common/Footer/FooterLinks.tsx
222
-
223
-
224
-
225
-
226
-
227
-
228
- const links = [{
229
- title: 'Our company',
230
- items: [{
231
- href: '/',
232
- name: 'About Us'
233
- }, {
234
- href: '/',
235
- name: 'Our Blog'
236
- }, {
237
- href: '/',
238
- name: 'Stores'
239
- }, {
240
- href: '/',
241
- name: 'Work With Us'
242
- }]
243
- }, {
244
- title: 'Orders & Purchases',
245
- items: [{
246
- href: '/',
247
- name: 'Check Order Status'
248
- }, {
249
- href: '/',
250
- name: 'Returns and Exchanges'
251
- }, {
252
- href: '/',
253
- name: 'Product Recall'
254
- }, {
255
- href: '/',
256
- name: 'Gift Cards'
257
- }]
258
- }, {
259
- title: 'Support & Services',
260
- items: [{
261
- href: '/',
262
- name: 'Support Center'
263
- }, {
264
- href: '/',
265
- name: 'Schedule a Service'
266
- }, {
267
- href: '/',
268
- name: 'Contact Us'
269
- }]
270
- }, {
271
- title: 'Partnerships',
272
- items: [{
273
- href: '/',
274
- name: 'Affiliate Program'
275
- }, {
276
- href: '/',
277
- name: 'Advertise with US'
278
- }, {
279
- href: '/',
280
- name: 'Market Place'
281
- }]
282
- }];
283
-
284
- function LinksList({
285
- items
286
- }) {
287
- return /*#__PURE__*/jsx_runtime_.jsx(List/* default */.Z, {
288
- children: items.map(item => /*#__PURE__*/jsx_runtime_.jsx("li", {
289
- children: /*#__PURE__*/jsx_runtime_.jsx(Link/* default */.Z, {
290
- variant: "display",
291
- size: "small",
292
- href: item.href,
293
- children: item.name
294
- })
295
- }, item.name))
296
- });
297
- }
298
-
299
- function FooterLinks() {
300
- const {
301
- 0: indicesExpanded,
302
- 1: setIndicesExpanded
303
- } = (0,external_react_.useState)(new Set([]));
304
-
305
- const onChange = index => {
306
- if (indicesExpanded.has(index)) {
307
- indicesExpanded.delete(index);
308
- setIndicesExpanded(new Set(indicesExpanded));
309
- } else {
310
- setIndicesExpanded(new Set(indicesExpanded.add(index)));
311
- }
312
- };
313
-
314
- return /*#__PURE__*/(0,jsx_runtime_.jsxs)("section", {
315
- className: (footer_module_default()).fsFooter,
316
- "data-fs-footer-links": true,
317
- children: [/*#__PURE__*/jsx_runtime_.jsx("div", {
318
- className: "display-mobile",
319
- children: /*#__PURE__*/jsx_runtime_.jsx(Accordion/* default */.Z, {
320
- indices: indicesExpanded,
321
- onChange: onChange,
322
- children: links.map(section => /*#__PURE__*/(0,jsx_runtime_.jsxs)(AccordionItem/* default */.Z, {
323
- children: [/*#__PURE__*/jsx_runtime_.jsx(AccordionButton/* default */.Z, {
324
- children: section.title
325
- }), /*#__PURE__*/jsx_runtime_.jsx(AccordionPanel/* default */.Z, {
326
- children: /*#__PURE__*/jsx_runtime_.jsx(LinksList, {
327
- items: section.items
328
- })
329
- })]
330
- }, section.title))
331
- })
332
- }), /*#__PURE__*/jsx_runtime_.jsx("div", {
333
- className: "hidden-mobile",
334
- children: /*#__PURE__*/jsx_runtime_.jsx("nav", {
335
- "data-fs-footer-links-columns": true,
336
- children: links.map(section => /*#__PURE__*/(0,jsx_runtime_.jsxs)("div", {
337
- children: [/*#__PURE__*/jsx_runtime_.jsx("p", {
338
- "data-fs-footer-title": true,
339
- children: section.title
340
- }), /*#__PURE__*/jsx_runtime_.jsx(LinksList, {
341
- items: section.items
342
- })]
343
- }, section.title))
344
- })
345
- })]
346
- });
347
- }
348
-
349
- /* harmony default export */ const Footer_FooterLinks = (FooterLinks);
350
- ;// CONCATENATED MODULE: ../components/dist/assets/PaymentFlags/Visa.js
351
-
352
- const Visa = () => (external_react_default().createElement("svg", { xmlns: "http://www.w3.org/2000/svg", fill: "none", viewBox: "0 0 34 24" },
353
- external_react_default().createElement("path", { d: "M0 3C0 1.34315 1.34315 0 3 0H31C32.6569 0 34 1.34315 34 3V21C34 22.6569 32.6569 24 31 24H3C1.34315 24 0 22.6569 0 21V3Z", fill: "white" }),
354
- external_react_default().createElement("rect", { x: "0.5", y: "0.5", width: "33", height: "23", stroke: "#fff" }),
355
- external_react_default().createElement("path", { fillRule: "evenodd", clipRule: "evenodd", d: "M10.7503 15.8582H8.69056L7.146 9.79237C7.07269 9.51334 6.91703 9.26666 6.68806 9.1504C6.11664 8.85823 5.48696 8.6257 4.80005 8.50843V8.27489H8.11813C8.57607 8.27489 8.91953 8.6257 8.97677 9.03313L9.77817 13.4086L11.8369 8.27489H13.8394L10.7503 15.8582ZM14.9843 15.8582H13.039L14.6408 8.27489H16.5861L14.9843 15.8582ZM19.1028 10.3757C19.16 9.96728 19.5035 9.73374 19.9042 9.73374C20.5338 9.6751 21.2197 9.79238 21.7922 10.0835L22.1356 8.45081C21.5632 8.21727 20.9335 8.1 20.3621 8.1C18.4741 8.1 17.1003 9.15041 17.1003 10.6082C17.1003 11.7173 18.0734 12.2996 18.7603 12.6504C19.5035 13.0002 19.7897 13.2337 19.7324 13.5835C19.7324 14.1082 19.16 14.3418 18.5886 14.3418C17.9017 14.3418 17.2147 14.1669 16.5861 13.8747L16.2426 15.5085C16.9295 15.7996 17.6727 15.9169 18.3596 15.9169C20.4766 15.9745 21.7922 14.9251 21.7922 13.35C21.7922 11.3665 19.1028 11.2502 19.1028 10.3757ZM28.6 15.8582L27.0555 8.27489H25.3965C25.053 8.27489 24.7095 8.50843 24.5951 8.85823L21.7349 15.8582H23.7374L24.1371 14.7502H26.5976L26.8265 15.8582H28.6ZM25.6827 10.3171L26.2541 13.1751H24.6523L25.6827 10.3171Z", fill: "#172B85" })));
356
- /* harmony default export */ const PaymentFlags_Visa = (Visa);
357
- //# sourceMappingURL=Visa.js.map
358
- ;// CONCATENATED MODULE: ../components/dist/assets/PaymentFlags/Diners.js
359
-
360
- const Diners = () => (external_react_default().createElement("svg", { xmlns: "http://www.w3.org/2000/svg", fill: "none", viewBox: "0 0 34 24" },
361
- external_react_default().createElement("path", { d: "M0 3C0 1.34315 1.34315 0 3 0H31C32.6569 0 34 1.34315 34 3V21C34 22.6569 32.6569 24 31 24H3C1.34315 24 0 22.6569 0 21V3Z", fill: "white" }),
362
- external_react_default().createElement("rect", { x: "0.5", y: "0.5", width: "33", height: "23", stroke: "#fff" }),
363
- ' ',
364
- external_react_default().createElement("path", { fillRule: "evenodd", clipRule: "evenodd", d: "M15.8385 19.3H18.4346C22.487 19.3 25.7163 16.085 25.8429 12.1135V12.0504C25.7796 8.0159 22.487 4.73784 18.4346 4.80088H15.5219C11.6594 4.92696 8.6201 8.20502 8.74674 12.1135C8.74674 16.0219 11.9127 19.2369 15.8385 19.3ZM10.0131 12.0504C10.0131 8.77235 12.7359 6.06165 16.0284 6.06165C19.321 6.06165 22.0438 8.77235 22.0438 12.0504C22.0438 15.3285 19.321 18.0392 16.0284 18.0392C12.7359 18.0392 10.0131 15.3285 10.0131 12.0504ZM16.9782 16.0849V8.07892C19.1944 8.64627 20.5874 10.8527 20.0176 13.059C19.6376 14.572 18.4979 15.7067 16.9782 16.0849ZM12.1027 11.0418C11.5328 13.2482 12.8625 15.5176 15.0787 16.0849V8.07892C13.6223 8.45716 12.4826 9.59187 12.1027 11.0418Z", fill: "#0079BE" })));
365
- /* harmony default export */ const PaymentFlags_Diners = (Diners);
366
- //# sourceMappingURL=Diners.js.map
367
- ;// CONCATENATED MODULE: ../components/dist/assets/PaymentFlags/Mastercard.js
368
-
369
- const Mastercard = () => (external_react_default().createElement("svg", { xmlns: "http://www.w3.org/2000/svg", fill: "none", viewBox: "0 0 34 24" },
370
- external_react_default().createElement("path", { d: "M0 3C0 1.34315 1.34315 0 3 0H31C32.6569 0 34 1.34315 34 3V21C34 22.6569 32.6569 24 31 24H3C1.34315 24 0 22.6569 0 21V3Z", fill: "white" }),
371
- external_react_default().createElement("rect", { x: "0.5", y: "0.5", width: "33", height: "23", stroke: "#fff" }),
372
- external_react_default().createElement("path", { fillRule: "evenodd", clipRule: "evenodd", d: "M17.179 16.8294C15.9949 17.8275 14.459 18.43 12.7807 18.43C9.03582 18.43 6 15.4303 6 11.73C6 8.02966 9.03582 5.02997 12.7807 5.02997C14.459 5.02997 15.9949 5.63247 17.179 6.63051C18.363 5.63247 19.8989 5.02997 21.5773 5.02997C25.3221 5.02997 28.358 8.02966 28.358 11.73C28.358 15.4303 25.3221 18.43 21.5773 18.43C19.8989 18.43 18.363 17.8275 17.179 16.8294Z", fill: "#ED0006" }),
373
- external_react_default().createElement("path", { fillRule: "evenodd", clipRule: "evenodd", d: "M17.179 16.8294C18.6369 15.6005 19.5614 13.7719 19.5614 11.73C19.5614 9.68801 18.6369 7.85941 17.179 6.63051C18.363 5.63247 19.8989 5.02997 21.5772 5.02997C25.3221 5.02997 28.3579 8.02966 28.3579 11.73C28.3579 15.4303 25.3221 18.43 21.5772 18.43C19.8989 18.43 18.363 17.8275 17.179 16.8294Z", fill: "#F9A000" }),
374
- external_react_default().createElement("path", { fillRule: "evenodd", clipRule: "evenodd", d: "M17.179 16.8294C18.6369 15.6005 19.5614 13.7719 19.5614 11.73C19.5614 9.68804 18.6369 7.85945 17.179 6.63054C15.7211 7.85945 14.7966 9.68804 14.7966 11.73C14.7966 13.7719 15.7211 15.6005 17.179 16.8294Z", fill: "#FF5E00" })));
375
- /* harmony default export */ const PaymentFlags_Mastercard = (Mastercard);
376
- //# sourceMappingURL=Mastercard.js.map
377
- ;// CONCATENATED MODULE: ../components/dist/assets/PaymentFlags/EloCard.js
378
-
379
- const EloCard = () => (external_react_default().createElement("svg", { xmlns: "http://www.w3.org/2000/svg", fill: "none", viewBox: "0 0 34 24" },
380
- external_react_default().createElement("path", { d: "M0 3C0 1.34315 1.34315 0 3 0H31C32.6569 0 34 1.34315 34 3V21C34 22.6569 32.6569 24 31 24H3C1.34315 24 0 22.6569 0 21V3Z", fill: "white" }),
381
- external_react_default().createElement("rect", { x: "0.5", y: "0.5", width: "33", height: "23", stroke: "#fff" }),
382
- ' ',
383
- external_react_default().createElement("path", { d: "M7.82418 9.49573C8.11187 9.40141 8.41964 9.35019 8.73987 9.35019C10.1374 9.35019 11.3032 10.3241 11.5706 11.6178L13.5511 11.2216C13.0966 9.0229 11.1155 7.3678 8.73987 7.3678C8.19597 7.3678 7.67243 7.45472 7.18372 7.61484L7.82418 9.49573Z", fill: "#FECA2F" }),
384
- external_react_default().createElement("path", { d: "M5.46727 15.8677L6.65306 14.3366C6.12376 13.8012 5.78968 13.0196 5.78968 12.1484C5.78968 11.2778 6.12344 10.4962 6.6526 9.96121L5.46618 8.4303C4.56678 9.33989 4 10.6685 4 12.1484C4 13.629 4.56761 14.9581 5.46727 15.8677Z", fill: "#1BA7DE" }),
385
- external_react_default().createElement("path", { d: "M11.5712 12.6802C11.3029 13.9737 10.1379 14.9464 8.74154 14.9464C8.42118 14.9464 8.11281 14.895 7.82509 14.8004L7.18372 16.6822C7.67319 16.8432 8.19689 16.9302 8.74154 16.9302C11.115 16.9302 13.0948 15.2762 13.5511 13.0783L11.5712 12.6802Z", fill: "#EC412A" }),
386
- external_react_default().createElement("path", { fillRule: "evenodd", clipRule: "evenodd", d: "M23.0795 8.4303V13.8716L24.0559 14.263L23.594 15.3362L22.6284 14.948C22.4112 14.857 22.2643 14.7183 22.1527 14.5616C22.0455 14.4013 21.966 14.1822 21.966 13.8865V8.4303H23.0795ZM15.6738 12.4744C15.6981 10.9184 17.0232 9.67627 18.6312 9.70011C19.9959 9.7208 21.1267 10.6452 21.4237 11.8746L16.1453 14.0562C15.8387 13.6029 15.6644 13.0576 15.6738 12.4744ZM16.8816 12.6926C16.8743 12.6273 16.8692 12.5603 16.8711 12.4928C16.8863 11.576 17.6664 10.8445 18.6138 10.8597C19.1295 10.8663 19.5873 11.0947 19.8969 11.4481L16.8816 12.6926ZM19.7857 13.7028C19.4676 14.002 19.0362 14.1843 18.5599 14.1778C18.2334 14.1725 17.9309 14.078 17.6737 13.9205L17.036 14.903C17.4727 15.1699 17.9876 15.3278 18.5427 15.3361C19.3508 15.3478 20.0873 15.0408 20.6228 14.534L19.7857 13.7028ZM27.1434 10.8596C26.9532 10.8596 26.7704 10.8894 26.5996 10.9448L26.2197 9.84383C26.5097 9.75019 26.8202 9.69933 27.1434 9.69933C28.5537 9.69933 29.7302 10.6681 30 11.9549L28.8238 12.1868C28.6653 11.4294 27.9732 10.8596 27.1434 10.8596ZM25.2123 14.629L26.007 13.76C25.6521 13.4561 25.4286 13.0123 25.4286 12.5176C25.4286 12.0235 25.6521 11.5799 26.0067 11.2763L25.2114 10.4072C24.6084 10.9236 24.2286 11.678 24.2286 12.5176C24.2286 13.3583 24.6087 14.1125 25.2123 14.629ZM27.1433 14.1763C27.9724 14.1763 28.6644 13.607 28.8238 12.8507L29.9996 13.0836C29.7285 14.369 28.5524 15.3364 27.1433 15.3364C26.8199 15.3364 26.5089 15.2854 26.2182 15.1913L26.599 14.0908C26.7701 14.146 26.953 14.1763 27.1433 14.1763Z", fill: "black" })));
387
- /* harmony default export */ const PaymentFlags_EloCard = (EloCard);
388
- //# sourceMappingURL=EloCard.js.map
389
- ;// CONCATENATED MODULE: ../components/dist/assets/PaymentFlags/PayPal.js
390
-
391
- const PayPal = () => (external_react_default().createElement("svg", { xmlns: "http://www.w3.org/2000/svg", fill: "none", viewBox: "0 0 34 24" },
392
- external_react_default().createElement("path", { d: "M0 3C0 1.34315 1.34315 0 3 0H31C32.6569 0 34 1.34315 34 3V21C34 22.6569 32.6569 24 31 24H3C1.34315 24 0 22.6569 0 21V3Z", fill: "white" }),
393
- external_react_default().createElement("rect", { x: "0.5", y: "0.5", width: "33", height: "23", stroke: "#fff" }),
394
- external_react_default().createElement("path", { fillRule: "evenodd", clipRule: "evenodd", d: "M14.6142 18.4483L14.8349 16.9992L14.3432 16.9873H11.9953L13.627 6.29368C13.6321 6.2613 13.6485 6.23124 13.6725 6.20986C13.6967 6.18847 13.7274 6.17674 13.7596 6.17674H17.7185C19.033 6.17674 19.94 6.45938 20.4135 7.01732C20.6355 7.27906 20.7769 7.55265 20.8453 7.85362C20.9171 8.16949 20.9183 8.54683 20.8483 9.00714L20.8432 9.04062V9.3356L21.0652 9.46561C21.2521 9.56813 21.4008 9.68544 21.5147 9.81973C21.7046 10.0436 21.8274 10.3281 21.8793 10.6652C21.933 11.012 21.9153 11.4248 21.8274 11.892C21.7261 12.4294 21.5624 12.8976 21.3412 13.2805C21.1378 13.6334 20.8787 13.9262 20.5709 14.153C20.2772 14.3686 19.9282 14.5322 19.5335 14.6369C19.1511 14.7398 18.7151 14.7917 18.2368 14.7917H17.9287C17.7085 14.7917 17.4945 14.8737 17.3265 15.0207C17.158 15.1708 17.0467 15.3758 17.0125 15.6L16.9892 15.7305L16.5992 18.2848L16.5816 18.3785C16.5768 18.4082 16.5688 18.423 16.557 18.433C16.5465 18.4422 16.5313 18.4483 16.5166 18.4483H14.6142Z", fill: "#28356A" }),
395
- external_react_default().createElement("path", { fillRule: "evenodd", clipRule: "evenodd", d: "M21.2756 9.07468C21.2639 9.15276 21.2503 9.23255 21.2352 9.31454C20.7131 12.0852 18.9269 13.0423 16.6456 13.0423H15.4841C15.2051 13.0423 14.9699 13.2517 14.9265 13.5361L14.1634 18.5394C14.1351 18.7262 14.2744 18.8945 14.4567 18.8945H16.5169C16.7608 18.8945 16.968 18.7113 17.0064 18.4626L17.0267 18.3545L17.4146 15.8103L17.4395 15.6707C17.4774 15.4212 17.6852 15.2379 17.9291 15.2379H18.2372C20.2331 15.2379 21.7957 14.4004 22.2524 11.9766C22.4431 10.9641 22.3444 10.1186 21.8396 9.52399C21.6868 9.34473 21.4973 9.19589 21.2756 9.07468Z", fill: "#298FC2" }),
396
- external_react_default().createElement("path", { fillRule: "evenodd", clipRule: "evenodd", d: "M20.7293 8.84963C20.6495 8.82556 20.5672 8.80381 20.4828 8.78413C20.3979 8.76495 20.311 8.74797 20.2215 8.73306C19.9083 8.68076 19.5651 8.65595 19.1975 8.65595H16.0945C16.018 8.65595 15.9454 8.67379 15.8805 8.70605C15.7373 8.77717 15.6311 8.9172 15.6053 9.08864L14.9451 13.4102L14.9262 13.5362C14.9696 13.2517 15.2047 13.0424 15.4838 13.0424H16.6453C18.9266 13.0424 20.7128 12.0847 21.2349 9.31458C21.2505 9.23259 21.2636 9.1528 21.2753 9.07471C21.1433 9.00225 21.0002 8.9403 20.8462 8.88751C20.8081 8.87444 20.7689 8.86185 20.7293 8.84963Z", fill: "#22284F" }),
397
- external_react_default().createElement("path", { fillRule: "evenodd", clipRule: "evenodd", d: "M15.6054 9.08865C15.6312 8.91721 15.7375 8.77718 15.8807 8.70655C15.9461 8.67417 16.0182 8.65633 16.0947 8.65633H19.1977C19.5653 8.65633 19.9085 8.68126 20.2216 8.73356C20.3111 8.74834 20.398 8.76545 20.4829 8.78463C20.5673 8.80418 20.6496 8.82606 20.7294 8.85001C20.769 8.86223 20.8083 8.87493 20.8467 8.88752C21.0007 8.94031 21.1439 9.00275 21.276 9.07472C21.4313 8.05085 21.2747 7.35373 20.7391 6.72248C20.1486 6.02743 19.0829 5.73001 17.7192 5.73001H13.7601C13.4815 5.73001 13.2439 5.93933 13.2009 6.22429L11.5519 17.0279C11.5194 17.2416 11.6789 17.4344 11.8874 17.4344H14.3316L15.6054 9.08865Z", fill: "#28356A" })));
398
- /* harmony default export */ const PaymentFlags_PayPal = (PayPal);
399
- //# sourceMappingURL=PayPal.js.map
400
- ;// CONCATENATED MODULE: ../components/dist/assets/PaymentFlags/Stripe.js
401
-
402
- const Stripe = () => (external_react_default().createElement("svg", { id: "Stripe", xmlns: "http://www.w3.org/2000/svg", fill: "none", viewBox: "0 0 34 24" },
403
- external_react_default().createElement("path", { d: "M0 3C0 1.34315 1.34315 0 3 0H31C32.6569 0 34 1.34315 34 3V21C34 22.6569 32.6569 24 31 24H3C1.34315 24 0 22.6569 0 21V3Z", fill: "white" }),
404
- external_react_default().createElement("rect", { x: "0.5", y: "0.5", width: "33", height: "23", stroke: "#fff" }),
405
- external_react_default().createElement("path", { fillRule: "evenodd", clipRule: "evenodd", d: "M18.2682 8.14192L16.541 8.52349V7.08202L18.2682 6.70752V8.14192ZM21.8599 8.94038C21.1856 8.94038 20.7521 9.26542 20.5113 9.49153L20.4218 9.05344H18.908V17.2924L20.6282 16.9179L20.6351 14.9183C20.8828 15.102 21.2475 15.3634 21.853 15.3634C23.0847 15.3634 24.2063 14.3459 24.2063 12.106C24.1995 10.0568 23.0641 8.94038 21.8599 8.94038ZM21.4471 13.8089C21.0411 13.8089 20.8002 13.6605 20.6351 13.4768L20.6282 10.8553C20.8071 10.6504 21.0548 10.509 21.4471 10.509C22.0732 10.509 22.5067 11.2298 22.5067 12.1554C22.5067 13.1023 22.0801 13.8089 21.4471 13.8089ZM29.6286 12.1766C29.6286 10.3677 28.7754 8.94038 27.1446 8.94038C25.5069 8.94038 24.5161 10.3677 24.5161 12.1625C24.5161 14.2894 25.6858 15.3634 27.3648 15.3634C28.1836 15.3634 28.8029 15.1726 29.2708 14.9041V13.4909C28.8029 13.7312 28.2662 13.8795 27.585 13.8795C26.9175 13.8795 26.3257 13.6393 26.2501 12.8055H29.6148C29.6148 12.7666 29.6173 12.6782 29.6202 12.5763L29.6202 12.5761C29.624 12.4377 29.6286 12.2743 29.6286 12.1766ZM26.2294 11.5054C26.2294 10.7069 26.7042 10.3748 27.1377 10.3748C27.5574 10.3748 28.0047 10.7069 28.0047 11.5054H26.2294ZM16.5409 9.06052H18.2681V15.2433H16.5409V9.06052ZM14.58 9.06051L14.6901 9.5834C15.0961 8.82026 15.9012 8.97572 16.1214 9.06051V10.6857C15.908 10.608 15.22 10.509 14.814 11.0531V15.2433H13.0937V9.06051H14.58ZM11.2495 7.52717L9.57056 7.8946L9.56368 13.5545C9.56368 14.6003 10.3275 15.3705 11.3459 15.3705C11.9101 15.3705 12.323 15.2645 12.55 15.1373V13.7029C12.3298 13.7947 11.2426 14.1198 11.2426 13.074V10.5656H12.55V9.0605H11.2426L11.2495 7.52717ZM7.18295 10.4737C6.81826 10.4737 6.59807 10.5797 6.59807 10.8553C6.59807 11.1562 6.97702 11.2885 7.44715 11.4527C8.21358 11.7204 9.22234 12.0728 9.2266 13.3779C9.2266 14.6427 8.24262 15.3705 6.81138 15.3705C6.21961 15.3705 5.5728 15.2504 4.93287 14.9677V13.286C5.51087 13.611 6.24026 13.8513 6.81138 13.8513C7.19671 13.8513 7.47195 13.7453 7.47195 13.4203C7.47195 13.087 7.06116 12.9346 6.56522 12.7507C5.80994 12.4706 4.85718 12.1173 4.85718 10.9401C4.85718 9.6894 5.78611 8.9404 7.18295 8.9404C7.75407 8.9404 8.31831 9.03225 8.88944 9.26543V10.926C8.36648 10.6362 7.70591 10.4737 7.18295 10.4737Z", fill: "#6461FC" })));
406
- /* harmony default export */ const PaymentFlags_Stripe = (Stripe);
407
- //# sourceMappingURL=Stripe.js.map
408
- ;// CONCATENATED MODULE: ../components/dist/assets/PaymentFlags/GooglePay.js
409
-
410
- const GooglePay = () => (external_react_default().createElement("svg", { id: "GooglePay", xmlns: "http://www.w3.org/2000/svg", fill: "none", viewBox: "0 0 34 24" },
411
- external_react_default().createElement("path", { d: "M0 3C0 1.34315 1.34315 0 3 0H31C32.6569 0 34 1.34315 34 3V21C34 22.6569 32.6569 24 31 24H3C1.34315 24 0 22.6569 0 21V3Z", fill: "white" }),
412
- external_react_default().createElement("rect", { x: "0.5", y: "0.5", width: "33", height: "23", stroke: "#fff" }),
413
- external_react_default().createElement("path", { fillRule: "evenodd", clipRule: "evenodd", d: "M16.0579 15.528V12.5933H17.5725C18.1931 12.5933 18.717 12.3854 19.1441 11.9752L19.2466 11.8712C20.0266 11.022 19.9754 9.69913 19.1441 8.91347C18.7284 8.49754 18.159 8.27224 17.5725 8.28379H15.1411V15.528H16.0579ZM16.058 11.7036V9.17337H17.5956C17.9259 9.17337 18.2391 9.30047 18.4726 9.53154C18.9681 10.0168 18.9795 10.8256 18.5011 11.3281C18.2676 11.5766 17.9373 11.7152 17.5956 11.7036H16.058ZM23.5228 10.9585C23.1299 10.5945 22.5947 10.4097 21.9171 10.4097C21.0459 10.4097 20.3911 10.7332 19.9583 11.3744L20.7669 11.8885C21.063 11.4495 21.4673 11.23 21.9797 11.23C22.3043 11.23 22.6175 11.3513 22.8623 11.5708C23.1015 11.7788 23.2381 12.0792 23.2381 12.3969V12.6106C22.8851 12.4142 22.441 12.3102 21.8943 12.3102C21.2566 12.3102 20.7441 12.4604 20.3626 12.7666C19.9811 13.0728 19.7875 13.4772 19.7875 13.9913C19.7761 14.4592 19.9754 14.9041 20.3285 15.2045C20.6872 15.528 21.1427 15.6897 21.6779 15.6897C22.31 15.6897 22.8111 15.4067 23.1926 14.8405H23.2324V15.528H24.1093V12.472C24.1093 11.8308 23.9157 11.3224 23.5228 10.9585ZM21.0347 14.6152C20.8467 14.4766 20.7328 14.2513 20.7328 14.0087C20.7328 13.7372 20.8581 13.5119 21.103 13.3328C21.3536 13.1537 21.6668 13.0613 22.037 13.0613C22.5495 13.0555 22.9482 13.171 23.2329 13.4021C23.2329 13.7949 23.0792 14.1358 22.7773 14.4246C22.504 14.7019 22.1338 14.8579 21.7465 14.8579C21.4903 14.8636 21.2397 14.777 21.0347 14.6152ZM26.0795 17.7058L29.1429 10.5714H28.1464L26.7286 14.13H26.7115L25.2595 10.5714H24.2631L26.2731 15.2102L25.1343 17.7058H26.0795Z", fill: "#3C4043" }),
414
- external_react_default().createElement("path", { d: "M12.893 11.9579C12.893 11.6748 12.8702 11.3918 12.8247 11.1145H8.95837V12.7147H11.1734C11.0823 13.2288 10.7862 13.691 10.3534 13.9798V15.0196H11.6745C12.4488 14.2975 12.893 13.2288 12.893 11.9579Z", fill: "#4285F4" }),
415
- external_react_default().createElement("path", { d: "M8.95854 16.0248C10.0632 16.0248 10.997 15.6551 11.6746 15.0196L10.3536 13.9798C9.98347 14.234 9.51086 14.3784 8.95854 14.3784C7.88805 14.3784 6.98269 13.6448 6.65813 12.6627H5.29724V13.7372C5.99192 15.141 7.40975 16.0248 8.95854 16.0248Z", fill: "#34A853" }),
416
- external_react_default().createElement("path", { d: "M6.65822 12.6627C6.48737 12.1486 6.48737 11.5882 6.65822 11.0683V9.99956H5.29712C4.71053 11.1723 4.71053 12.5587 5.29712 13.7314L6.65822 12.6627Z", fill: "#FBBC04" }),
417
- external_react_default().createElement("path", { d: "M8.95854 9.35253C9.54503 9.34098 10.1087 9.56628 10.5301 9.97644L11.7031 8.7864C10.9572 8.08162 9.97778 7.69457 8.95854 7.70612C7.40975 7.70612 5.99192 8.59576 5.29724 9.99954L6.65813 11.074C6.98269 10.0862 7.88805 9.35253 8.95854 9.35253Z", fill: "#EA4335" })));
418
- /* harmony default export */ const PaymentFlags_GooglePay = (GooglePay);
419
- //# sourceMappingURL=GooglePay.js.map
420
- ;// CONCATENATED MODULE: ../components/dist/assets/PaymentFlags/ApplePay.js
421
-
422
- const ApplePay = () => (external_react_default().createElement("svg", { xmlns: "http://www.w3.org/2000/svg", fill: "none", viewBox: "0 0 34 24" },
423
- external_react_default().createElement("path", { d: "M0 3C0 1.34315 1.34315 0 3 0H31C32.6569 0 34 1.34315 34 3V21C34 22.6569 32.6569 24 31 24H3C1.34315 24 0 22.6569 0 21V3Z", fill: "white" }),
424
- external_react_default().createElement("rect", { x: "0.5", y: "0.5", width: "33", height: "23", stroke: "#fff" }),
425
- external_react_default().createElement("path", { fillRule: "evenodd", clipRule: "evenodd", d: "M9.44921 8.34316C9.16382 8.69506 8.70721 8.97261 8.2506 8.93296C8.19353 8.45715 8.41707 7.95161 8.67867 7.63936C8.96406 7.27755 9.46348 7.01983 9.86777 7C9.91533 7.49563 9.72983 7.98135 9.44921 8.34316ZM9.86297 9.02712C9.46071 9.003 9.09366 9.15319 8.79718 9.2745C8.60639 9.35256 8.44483 9.41867 8.32191 9.41867C8.18397 9.41867 8.01574 9.34903 7.82685 9.27084L7.82685 9.27084C7.57935 9.16838 7.29638 9.05124 6.99964 9.05686C6.31948 9.06677 5.68688 9.46823 5.33967 10.1076C4.62621 11.3863 5.15417 13.2796 5.84384 14.3205C6.18155 14.8359 6.58584 15.4009 7.11855 15.3811C7.35291 15.3719 7.5215 15.2973 7.69597 15.2202C7.89683 15.1314 8.10549 15.0391 8.43131 15.0391C8.74582 15.0391 8.94536 15.129 9.1369 15.2152C9.31903 15.2973 9.49393 15.376 9.75358 15.3712C10.3053 15.3613 10.6525 14.8557 10.9902 14.3403C11.3547 13.7871 11.5148 13.2471 11.5391 13.1652L11.542 13.1557C11.5414 13.1551 11.5369 13.153 11.5289 13.1492C11.4071 13.0911 10.476 12.6469 10.467 11.4557C10.4581 10.4559 11.2056 9.94935 11.3233 9.86961L11.3233 9.8696C11.3304 9.86476 11.3353 9.86149 11.3374 9.85978C10.8618 9.12625 10.1198 9.04695 9.86297 9.02712ZM13.6824 15.3167V7.5898H16.4649C17.9013 7.5898 18.9049 8.62071 18.9049 10.1274C18.9049 11.6341 17.8822 12.675 16.4268 12.675H14.8334V15.3167H13.6824ZM14.8333 8.60088H16.1603C17.1592 8.60088 17.7299 9.15599 17.7299 10.1324C17.7299 11.1088 17.1592 11.6688 16.1556 11.6688H14.8333V8.60088ZM22.7053 14.3898C22.4009 14.9945 21.7302 15.3761 21.0072 15.3761C19.9371 15.3761 19.1903 14.712 19.1903 13.7108C19.1903 12.7196 19.9133 12.1496 21.2498 12.0653L22.6862 11.9761V11.5499C22.6862 10.9204 22.2915 10.5784 21.5875 10.5784C21.0072 10.5784 20.5839 10.8907 20.4983 11.3665H19.4614C19.4947 10.3653 20.3984 9.63675 21.6208 9.63675C22.9383 9.63675 23.7945 10.3554 23.7945 11.4706V15.3167H22.729V14.3898H22.7053ZM21.3163 14.4592C20.7027 14.4592 20.3127 14.1519 20.3127 13.6811C20.3127 13.1954 20.6885 12.9129 21.4067 12.8683L22.6861 12.784V13.2202C22.6861 13.9438 22.0964 14.4592 21.3163 14.4592ZM27.3284 15.619C26.867 16.9721 26.3391 17.4181 25.2166 17.4181C25.131 17.4181 24.8456 17.4082 24.779 17.3884V16.4616C24.8503 16.4715 25.0263 16.4814 25.1167 16.4814C25.6256 16.4814 25.911 16.2584 26.087 15.6785L26.1916 15.3365L24.2415 9.7111H25.4449L26.8004 14.2759H26.8242L28.1798 9.7111H29.3499L27.3284 15.619Z", fill: "black" })));
426
- /* harmony default export */ const PaymentFlags_ApplePay = (ApplePay);
427
- //# sourceMappingURL=ApplePay.js.map
428
- ;// CONCATENATED MODULE: ./src/components/common/Footer/FooterFlags.tsx
429
-
430
-
431
- const FooterFlags = [{
432
- image: /*#__PURE__*/jsx_runtime_.jsx(PaymentFlags_Visa, {}),
433
- text: 'Visa'
434
- }, {
435
- image: /*#__PURE__*/jsx_runtime_.jsx(PaymentFlags_Diners, {}),
436
- text: 'Diners Club'
437
- }, {
438
- image: /*#__PURE__*/jsx_runtime_.jsx(PaymentFlags_Mastercard, {}),
439
- text: 'Mastercard'
440
- }, {
441
- image: /*#__PURE__*/jsx_runtime_.jsx(PaymentFlags_EloCard, {}),
442
- text: 'Elo Card'
443
- }, {
444
- image: /*#__PURE__*/jsx_runtime_.jsx(PaymentFlags_PayPal, {}),
445
- text: 'PayPal'
446
- }, {
447
- image: /*#__PURE__*/jsx_runtime_.jsx(PaymentFlags_Stripe, {}),
448
- text: 'Stripe'
449
- }, {
450
- image: /*#__PURE__*/jsx_runtime_.jsx(PaymentFlags_GooglePay, {}),
451
- text: 'GooglePay'
452
- }, {
453
- image: /*#__PURE__*/jsx_runtime_.jsx(PaymentFlags_ApplePay, {}),
454
- text: 'ApplePay'
455
- }];
456
- /* harmony default export */ const Footer_FooterFlags = (FooterFlags);
457
- ;// CONCATENATED MODULE: ./src/components/common/Footer/Footer.tsx
458
-
459
-
460
-
461
-
462
-
463
-
464
-
465
-
466
-
467
-
468
-
469
- function Footer({
470
- sectionIncentives = true,
471
- sectionSocial = true,
472
- sectionPaymentMethods = true
473
- }) {
474
- return /*#__PURE__*/(0,jsx_runtime_.jsxs)("footer", {
475
- "data-fs-footer": true,
476
- "data-fs-footer-incentives": sectionIncentives,
477
- "data-fs-footer-social": sectionSocial,
478
- "data-fs-footer-payment-methods": sectionPaymentMethods,
479
- className: `${(footer_module_default()).fsFooter} layout__content-full`,
480
- children: [sectionIncentives && /*#__PURE__*/jsx_runtime_.jsx(Incentives_IncentivesFooter, {}), /*#__PURE__*/(0,jsx_runtime_.jsxs)("div", {
481
- "data-fs-footer-nav": true,
482
- className: "layout__content",
483
- children: [/*#__PURE__*/jsx_runtime_.jsx(Footer_FooterLinks, {}), sectionSocial && /*#__PURE__*/(0,jsx_runtime_.jsxs)("section", {
484
- "data-fs-footer-social": true,
485
- children: [/*#__PURE__*/jsx_runtime_.jsx("p", {
486
- "data-fs-footer-title": true,
487
- children: "Follow us"
488
- }), /*#__PURE__*/(0,jsx_runtime_.jsxs)(List/* default */.Z, {
489
- children: [/*#__PURE__*/jsx_runtime_.jsx("li", {
490
- children: /*#__PURE__*/jsx_runtime_.jsx(Link/* default */.Z, {
491
- variant: "display",
492
- size: "small",
493
- href: "https://www.facebook.com/",
494
- title: "Facebook",
495
- target: "_blank",
496
- rel: "noopener noreferrer",
497
- children: /*#__PURE__*/jsx_runtime_.jsx(Icon/* default */.Z, {
498
- width: "24px",
499
- height: "24px",
500
- name: "Facebook"
501
- })
502
- })
503
- }), /*#__PURE__*/jsx_runtime_.jsx("li", {
504
- children: /*#__PURE__*/jsx_runtime_.jsx(Link/* default */.Z, {
505
- variant: "display",
506
- size: "small",
507
- href: "https://www.instagram.com/",
508
- title: "Instagram",
509
- target: "_blank",
510
- rel: "noopener noreferrer",
511
- children: /*#__PURE__*/jsx_runtime_.jsx(Icon/* default */.Z, {
512
- width: "24px",
513
- height: "24px",
514
- name: "Instagram"
515
- })
516
- })
517
- }), /*#__PURE__*/jsx_runtime_.jsx("li", {
518
- children: /*#__PURE__*/jsx_runtime_.jsx(Link/* default */.Z, {
519
- variant: "display",
520
- size: "small",
521
- href: "https://www.pinterest.com/",
522
- title: "Pinterest",
523
- target: "_blank",
524
- rel: "noopener noreferrer",
525
- children: /*#__PURE__*/jsx_runtime_.jsx(Icon/* default */.Z, {
526
- width: "24px",
527
- height: "24px",
528
- name: "Pinterest"
529
- })
530
- })
531
- }), /*#__PURE__*/jsx_runtime_.jsx("li", {
532
- children: /*#__PURE__*/jsx_runtime_.jsx(Link/* default */.Z, {
533
- variant: "display",
534
- size: "small",
535
- href: "https://twitter.com/",
536
- title: "Twitter",
537
- target: "_blank",
538
- rel: "noopener noreferrer",
539
- children: /*#__PURE__*/jsx_runtime_.jsx(Icon/* default */.Z, {
540
- width: "24px",
541
- height: "24px",
542
- name: "Twitter"
543
- })
544
- })
545
- })]
546
- })]
547
- })]
548
- }), /*#__PURE__*/(0,jsx_runtime_.jsxs)("div", {
549
- "data-fs-footer-note": true,
550
- className: "layout__content",
551
- children: [/*#__PURE__*/jsx_runtime_.jsx(Logo_Logo, {}), sectionPaymentMethods && /*#__PURE__*/jsx_runtime_.jsx(PaymentMethods_PaymentMethods, {
552
- title: /*#__PURE__*/jsx_runtime_.jsx("p", {
553
- children: "Payment Methods"
554
- }),
555
- flagList: Footer_FooterFlags
556
- }), /*#__PURE__*/(0,jsx_runtime_.jsxs)("div", {
557
- "data-fs-footer-copyright": true,
558
- className: "text__legend",
559
- children: [/*#__PURE__*/jsx_runtime_.jsx("p", {
560
- children: "This website uses VTEX technology"
561
- }), /*#__PURE__*/jsx_runtime_.jsx("p", {
562
- children: "In-store price may vary. Prices and offers are subject to change. 2021 Store name. All rights reserved. Store is a trademark of Store and its affiliated companies."
563
- }), /*#__PURE__*/jsx_runtime_.jsx("address", {
564
- children: "Mount St, 000, New York / NY - 00000."
565
- })]
566
- })]
567
- })]
568
- });
569
- }
570
- Footer.displayName = 'Footer';
571
- /* harmony default export */ const Footer_Footer = ((0,mark/* mark */.B)(Footer));
572
- ;// CONCATENATED MODULE: ./src/components/common/Footer/index.ts
573
-
574
-
575
-
576
- // EXTERNAL MODULE: ../components/dist/molecules/IconButton/IconButton.js
577
- var IconButton = __webpack_require__(2765);
578
- // EXTERNAL MODULE: ../components/dist/atoms/Badge/Badge.js
579
- var Badge = __webpack_require__(44);
580
- // EXTERNAL MODULE: ../components/dist/hooks/UIProvider.js
581
- var UIProvider = __webpack_require__(395);
582
- // EXTERNAL MODULE: ./src/sdk/cart/index.ts
583
- var cart = __webpack_require__(7566);
584
- ;// CONCATENATED MODULE: ./src/sdk/cart/useCartToggleButton.ts
585
-
586
-
587
-
588
- const useCartToggleButton = () => {
589
- const {
590
- totalItems
591
- } = (0,cart/* useCart */.jD)();
592
- const {
593
- cart: displayCart,
594
- openCart,
595
- closeCart
596
- } = (0,UIProvider/* useUI */.l)();
597
- const onClick = (0,external_react_.useCallback)(() => {
598
- if (displayCart) {
599
- closeCart();
600
- } else {
601
- openCart();
602
- }
603
- }, [closeCart, displayCart, openCart]);
604
- return {
605
- onClick,
606
- 'data-testid': 'cart-toggle',
607
- 'data-items': totalItems
608
- };
609
- };
610
- ;// CONCATENATED MODULE: ./src/components/cart/CartToggle/CartToggle.tsx
611
- function CartToggle_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; }
612
-
613
- function CartToggle_objectSpread(target) { for (var i = 1; i < arguments.length; i++) { var source = null != arguments[i] ? arguments[i] : {}; i % 2 ? CartToggle_ownKeys(Object(source), !0).forEach(function (key) { CartToggle_defineProperty(target, key, source[key]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(target, Object.getOwnPropertyDescriptors(source)) : CartToggle_ownKeys(Object(source)).forEach(function (key) { Object.defineProperty(target, key, Object.getOwnPropertyDescriptor(source, key)); }); } return target; }
614
-
615
- function CartToggle_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; }
616
-
617
-
618
-
619
-
620
-
621
-
622
- function CartToggle() {
623
- const btnProps = useCartToggleButton();
624
- const totalItems = btnProps['data-items'];
625
- return /*#__PURE__*/jsx_runtime_.jsx(IconButton/* default */.Z, CartToggle_objectSpread(CartToggle_objectSpread({
626
- "data-fs-cart-toggle": true,
627
- "aria-label": `Cart with ${totalItems} items`,
628
- icon: /*#__PURE__*/jsx_runtime_.jsx(Icon/* default */.Z, {
629
- name: "ShoppingCart",
630
- width: 32,
631
- height: 32
632
- })
633
- }, btnProps), {}, {
634
- children: /*#__PURE__*/jsx_runtime_.jsx(Badge/* default */.Z, {
635
- counter: true,
636
- children: totalItems
637
- })
638
- }));
639
- }
640
-
641
- /* harmony default export */ const CartToggle_CartToggle = (CartToggle);
642
- ;// CONCATENATED MODULE: ./src/components/cart/CartToggle/index.ts
643
-
644
- // EXTERNAL MODULE: external "next/router"
645
- var router_ = __webpack_require__(1853);
646
- // EXTERNAL MODULE: ./node_modules/@faststore/sdk/dist/analytics/sendAnalyticsEvent.js
647
- var sendAnalyticsEvent = __webpack_require__(8460);
648
- // EXTERNAL MODULE: ../components/dist/atoms/Input/Input.js
649
- var Input = __webpack_require__(875);
650
- // EXTERNAL MODULE: ../components/dist/atoms/Button/Button.js + 1 modules
651
- var Button = __webpack_require__(4842);
652
- // EXTERNAL MODULE: ../components/dist/atoms/Icon/Icon.js
653
- var Icon_Icon = __webpack_require__(5045);
654
- // EXTERNAL MODULE: ../ui/dist/components/molecules/Form/Form.js
655
- var Form = __webpack_require__(3906);
656
- ;// CONCATENATED MODULE: ../ui/dist/components/molecules/SearchInput/SearchInput.js
657
-
658
-
659
-
660
- const SearchIcon = () => (external_react_default().createElement("svg", { xmlns: "http://www.w3.org/2000/svg", width: "1em", height: "1em", viewBox: "0 0 24 24", fill: "none", stroke: "currentColor", strokeWidth: "2", strokeLinecap: "round", strokeLinejoin: "round" },
661
- external_react_default().createElement("circle", { cx: "11", cy: "11", r: "8" }),
662
- external_react_default().createElement("line", { x1: "21", y1: "21", x2: "16.65", y2: "16.65" })));
663
- const SearchInput = (0,external_react_.forwardRef)(function SearchInput({ onSubmit, icon, 'aria-label': ariaLabel = 'search', testId = 'store-search-input', ...otherProps }, ref) {
664
- const inputRef = (0,external_react_.useRef)(null);
665
- const formRef = (0,external_react_.useRef)(null);
666
- const handleSubmit = (event) => {
667
- event.preventDefault();
668
- if (inputRef.current?.value !== '') {
669
- onSubmit(inputRef.current.value);
670
- }
671
- };
672
- (0,external_react_.useImperativeHandle)(ref, () => ({
673
- inputRef: inputRef.current,
674
- formRef: formRef.current,
675
- }));
676
- return (external_react_default().createElement(Form/* default */.Z, { ref: formRef, "data-fs-search-input-form": true, "data-testid": testId, onSubmit: handleSubmit, role: "search" },
677
- external_react_default().createElement(Input/* default */.Z, { ref: inputRef, "aria-label": ariaLabel, ...otherProps }),
678
- external_react_default().createElement(Button/* default */.Z, { type: "submit", "aria-label": "Submit Search" },
679
- external_react_default().createElement(Icon_Icon/* default */.Z, { component: icon ?? external_react_default().createElement(SearchIcon, null) }))));
680
- });
681
- /* harmony default export */ const SearchInput_SearchInput = (SearchInput);
682
- //# sourceMappingURL=SearchInput.js.map
683
- // EXTERNAL MODULE: ./src/sdk/search/useSearchHistory.ts
684
- var useSearchHistory = __webpack_require__(5098);
685
- // EXTERNAL MODULE: ./src/sdk/search/useSearchInput.tsx
686
- var useSearchInput = __webpack_require__(3588);
687
- ;// CONCATENATED MODULE: ./src/sdk/ui/useOnClickOutside.ts
688
-
689
- function useOnClickOutside(ref, handler) {
690
- (0,external_react_.useEffect)(() => {
691
- const listener = event => {
692
- if (!ref.current || ref.current.contains(event.target)) {
693
- return;
694
- }
695
-
696
- handler(event);
697
- };
698
-
699
- document.addEventListener('mousedown', listener);
700
- document.addEventListener('touchstart', listener);
701
- return () => {
702
- document.removeEventListener('mousedown', listener);
703
- document.removeEventListener('touchstart', listener);
704
- };
705
- },
706
- /**
707
- * Add ref and handler to effect dependencies.
708
- * It's worth noting that because passed in handler is a new
709
- * function on every render that will cause this effect
710
- * callback/cleanup to run every render. It's not a big deal
711
- * but to optimize you can wrap handler in useCallback before
712
- * passing it into this hook.
713
- */
714
- [ref, handler]);
715
- }
716
- // EXTERNAL MODULE: ./src/components/search/SearchInput/search-input.module.scss
717
- var search_input_module = __webpack_require__(7098);
718
- var search_input_module_default = /*#__PURE__*/__webpack_require__.n(search_input_module);
719
- // EXTERNAL MODULE: ./src/components/search/search.module.scss
720
- var search_module = __webpack_require__(4850);
721
- var search_module_default = /*#__PURE__*/__webpack_require__.n(search_module);
722
- ;// CONCATENATED MODULE: ./src/components/search/SearchInput/SearchInput.tsx
723
- const SearchInput_excluded = ["onSearchClick", "buttonTestId", "containerStyle"];
724
-
725
- function SearchInput_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; }
726
-
727
- function SearchInput_objectSpread(target) { for (var i = 1; i < arguments.length; i++) { var source = null != arguments[i] ? arguments[i] : {}; i % 2 ? SearchInput_ownKeys(Object(source), !0).forEach(function (key) { SearchInput_defineProperty(target, key, source[key]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(target, Object.getOwnPropertyDescriptors(source)) : SearchInput_ownKeys(Object(source)).forEach(function (key) { Object.defineProperty(target, key, Object.getOwnPropertyDescriptor(source, key)); }); } return target; }
728
-
729
- function SearchInput_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; }
730
-
731
- function SearchInput_objectWithoutProperties(source, excluded) { if (source == null) return {}; var target = SearchInput_objectWithoutPropertiesLoose(source, excluded); var key, i; if (Object.getOwnPropertySymbols) { var sourceSymbolKeys = Object.getOwnPropertySymbols(source); for (i = 0; i < sourceSymbolKeys.length; i++) { key = sourceSymbolKeys[i]; if (excluded.indexOf(key) >= 0) continue; if (!Object.prototype.propertyIsEnumerable.call(source, key)) continue; target[key] = source[key]; } } return target; }
732
-
733
- function SearchInput_objectWithoutPropertiesLoose(source, excluded) { if (source == null) return {}; var target = {}; var sourceKeys = Object.keys(source); var key, i; for (i = 0; i < sourceKeys.length; i++) { key = sourceKeys[i]; if (excluded.indexOf(key) >= 0) continue; target[key] = source[key]; } return target; }
734
-
735
-
736
-
737
-
738
-
739
-
740
-
741
-
742
-
743
-
744
-
745
-
746
-
747
- const SearchDropdown = /*#__PURE__*/(0,external_react_.lazy)(() => Promise.all(/* import() */[__webpack_require__.e(154), __webpack_require__.e(247), __webpack_require__.e(732), __webpack_require__.e(854), __webpack_require__.e(312)]).then(__webpack_require__.bind(__webpack_require__, 4312)));
748
-
749
- const sendAnalytics = async term => {
750
- (0,sendAnalyticsEvent/* sendAnalyticsEvent */._)({
751
- name: 'search',
752
- params: {
753
- search_term: term
754
- }
755
- });
756
- };
757
-
758
- const SearchInput_SearchInput_SearchInput = /*#__PURE__*/(0,external_react_.forwardRef)(function SearchInput(_ref, ref) {
759
- let {
760
- onSearchClick,
761
- buttonTestId = 'store-search-button',
762
- containerStyle
763
- } = _ref,
764
- otherProps = SearchInput_objectWithoutProperties(_ref, SearchInput_excluded);
765
-
766
- const {
767
- 0: searchQuery,
768
- 1: setSearchQuery
769
- } = (0,external_react_.useState)('');
770
- const searchQueryDeferred = (0,external_react_.useDeferredValue)(searchQuery);
771
- const {
772
- 0: searchDropdownVisible,
773
- 1: setSearchDropdownVisible
774
- } = (0,external_react_.useState)(false);
775
- const searchRef = (0,external_react_.useRef)(null);
776
- const {
777
- addToSearchHistory
778
- } = (0,useSearchHistory/* default */.Z)();
779
- const router = (0,router_.useRouter)();
780
- (0,external_react_.useImperativeHandle)(ref, () => ({
781
- resetSearchInput: () => setSearchQuery('')
782
- }));
783
-
784
- const onSearchInputSelection = (term, path) => {
785
- addToSearchHistory({
786
- term,
787
- path
788
- });
789
- sendAnalytics(term);
790
- setSearchDropdownVisible(false);
791
- setSearchQuery(term);
792
- };
793
-
794
- useOnClickOutside(searchRef, () => setSearchDropdownVisible(false));
795
- return /*#__PURE__*/jsx_runtime_.jsx("div", {
796
- ref: searchRef,
797
- "data-fs-search-input-wrapper": true,
798
- className: (search_input_module_default()).fsSearchInput,
799
- "data-fs-search-input-dropdown-visible": searchDropdownVisible,
800
- style: containerStyle,
801
- children: /*#__PURE__*/(0,jsx_runtime_.jsxs)(useSearchInput/* SearchInputProvider */.wX, {
802
- onSearchInputSelection: onSearchInputSelection,
803
- children: [/*#__PURE__*/jsx_runtime_.jsx(SearchInput_SearchInput, SearchInput_objectSpread({
804
- "data-fs-search-input": true,
805
- ref: ref,
806
- icon: /*#__PURE__*/jsx_runtime_.jsx(Icon/* default */.Z, {
807
- name: "MagnifyingGlass",
808
- onClick: onSearchClick,
809
- "data-testid": buttonTestId
810
- }),
811
- placeholder: "Search everything at the store",
812
- onChange: e => setSearchQuery(e.target.value),
813
- onSubmit: term => {
814
- const path = (0,useSearchInput/* formatSearchPath */.uc)(term);
815
- onSearchInputSelection(term, path);
816
- router.push(path);
817
- },
818
- onFocus: () => setSearchDropdownVisible(true),
819
- value: searchQuery
820
- }, otherProps)), searchDropdownVisible && /*#__PURE__*/jsx_runtime_.jsx(external_react_.Suspense, {
821
- fallback: null,
822
- children: /*#__PURE__*/jsx_runtime_.jsx("div", {
823
- "data-fs-search-input-dropdown-wrapper": true,
824
- className: (search_module_default()).fsSearch,
825
- children: /*#__PURE__*/jsx_runtime_.jsx(SearchDropdown, {
826
- term: searchQueryDeferred
827
- })
828
- })
829
- })]
830
- })
831
- });
832
- });
833
- /* harmony default export */ const search_SearchInput_SearchInput = (SearchInput_SearchInput_SearchInput);
834
- ;// CONCATENATED MODULE: ./src/components/search/SearchInput/index.ts
835
-
836
- // EXTERNAL MODULE: ../components/dist/molecules/LinkButton/LinkButton.js
837
- var LinkButton = __webpack_require__(7703);
838
- // EXTERNAL MODULE: ./src/components/ui/Button/button.module.scss
839
- var button_module = __webpack_require__(4635);
840
- var button_module_default = /*#__PURE__*/__webpack_require__.n(button_module);
841
- // EXTERNAL MODULE: ./src/sdk/session/index.ts
842
- var session = __webpack_require__(5971);
843
- ;// CONCATENATED MODULE: ./src/components/ui/Button/ButtonSignIn/ButtonSignIn.tsx
844
-
845
-
846
-
847
-
848
-
849
-
850
- const ButtonSignIn = () => {
851
- const {
852
- person
853
- } = (0,session/* useSession */.kP)();
854
- return /*#__PURE__*/jsx_runtime_.jsx(LinkButton/* default */.Z, {
855
- "data-fs-button-signin-link": true,
856
- href: person?.id ? '/account' : '/login',
857
- className: `${(button_module_default()).fsButton} text__title-mini`,
858
- variant: "tertiary",
859
- icon: /*#__PURE__*/jsx_runtime_.jsx(Icon/* default */.Z, {
860
- name: "User",
861
- width: 18,
862
- height: 18,
863
- weight: "bold"
864
- }),
865
- iconPosition: "left",
866
- children: /*#__PURE__*/jsx_runtime_.jsx("span", {
867
- children: person?.id ? 'My Account' : 'Sign In'
868
- })
869
- });
870
- };
871
-
872
- /* harmony default export */ const ButtonSignIn_ButtonSignIn = (ButtonSignIn);
873
- ;// CONCATENATED MODULE: ./src/components/ui/Button/ButtonSignIn/index.ts
874
-
875
- ;// CONCATENATED MODULE: ./src/components/ui/Button/ButtonSignIn/ButtonSignInFallback/ButtonSignInFallback.tsx
876
-
877
-
878
-
879
-
880
- function ButtonSignInFallback() {
881
- return /*#__PURE__*/jsx_runtime_.jsx(LinkButton/* default */.Z, {
882
- "data-fs-button-signin-link": true,
883
- href: "/login",
884
- className: "text__title-mini",
885
- variant: "tertiary",
886
- icon: /*#__PURE__*/jsx_runtime_.jsx(Icon/* default */.Z, {
887
- name: "User",
888
- width: 18,
889
- height: 18,
890
- weight: "bold"
891
- }),
892
- iconPosition: "left",
893
- children: /*#__PURE__*/jsx_runtime_.jsx("span", {
894
- children: 'Sign In'
895
- })
896
- });
897
- }
898
-
899
- /* harmony default export */ const ButtonSignInFallback_ButtonSignInFallback = (ButtonSignInFallback);
900
- ;// CONCATENATED MODULE: ./src/components/ui/Button/ButtonSignIn/ButtonSignInFallback/index.ts
901
-
902
- ;// CONCATENATED MODULE: ./src/components/ui/Button/index.ts
903
-
904
-
905
- ;// CONCATENATED MODULE: ./src/sdk/ui/useScrollDirection.ts
906
-
907
- function useScrollDirection() {
908
- const {
909
- 0: scrollDirection,
910
- 1: setScrollDirection
911
- } = (0,external_react_.useState)('');
912
- const {
913
- 0: isPending,
914
- 1: startTransition
915
- } = (0,external_react_.useTransition)();
916
- (0,external_react_.useEffect)(() => {
917
- let lastScrollY = window.scrollY;
918
-
919
- const updateScrollDirection = () => {
920
- const {
921
- scrollY
922
- } = window;
923
- const direction = scrollY > lastScrollY ? 'down' : 'up';
924
-
925
- if (!isPending && direction !== scrollDirection && (scrollY - lastScrollY > 10 || scrollY - lastScrollY < -10)) {
926
- startTransition(() => setScrollDirection(direction));
927
- }
928
-
929
- lastScrollY = scrollY > 0 ? scrollY : 0;
930
- };
931
-
932
- window.addEventListener('scroll', updateScrollDirection);
933
- return () => window.removeEventListener('scroll', updateScrollDirection);
934
- }, [isPending, scrollDirection]);
935
- return scrollDirection;
936
- }
937
- // EXTERNAL MODULE: ./src/components/common/Navbar/navbar.module.scss
938
- var navbar_module = __webpack_require__(3460);
939
- var navbar_module_default = /*#__PURE__*/__webpack_require__.n(navbar_module);
940
- // EXTERNAL MODULE: ../components/dist/organisms/SlideOver/SlideOver.js
941
- var SlideOver = __webpack_require__(1021);
942
- // EXTERNAL MODULE: ../components/dist/organisms/SlideOver/SlideOverHeader.js
943
- var SlideOverHeader = __webpack_require__(9648);
944
- // EXTERNAL MODULE: ../components/dist/hooks/useFadeEffect.js
945
- var useFadeEffect = __webpack_require__(6074);
946
- // EXTERNAL MODULE: ./src/components/common/Navbar/navbar-slider.module.scss
947
- var navbar_slider_module = __webpack_require__(4325);
948
- var navbar_slider_module_default = /*#__PURE__*/__webpack_require__.n(navbar_slider_module);
949
- ;// CONCATENATED MODULE: ./src/components/regionalization/RegionalizationButton/RegionalizationButton.tsx
950
-
951
-
952
-
953
-
954
-
955
-
956
- function RegionButton() {
957
- const {
958
- openModal
959
- } = (0,UIProvider/* useUI */.l)();
960
- const {
961
- postalCode
962
- } = (0,session/* useSession */.kP)();
963
- return /*#__PURE__*/jsx_runtime_.jsx(Button/* default */.Z, {
964
- "data-fs-regionalization-button": true,
965
- variant: "tertiary",
966
- size: "small",
967
- icon: /*#__PURE__*/jsx_runtime_.jsx(Icon/* default */.Z, {
968
- name: "MapPin",
969
- width: 24,
970
- height: 24
971
- }),
972
- iconPosition: "left",
973
- onClick: openModal,
974
- children: /*#__PURE__*/jsx_runtime_.jsx("span", {
975
- children: postalCode ?? 'Set your location'
976
- })
977
- });
978
- }
979
-
980
- /* harmony default export */ const RegionalizationButton = (RegionButton);
981
- ;// CONCATENATED MODULE: ./src/components/regionalization/RegionalizationButton/index.ts
982
-
983
- // EXTERNAL MODULE: ./src/components/common/Navbar/navlinks.module.scss
984
- var navlinks_module = __webpack_require__(844);
985
- var navlinks_module_default = /*#__PURE__*/__webpack_require__.n(navlinks_module);
986
- ;// CONCATENATED MODULE: ./src/components/common/Navbar/NavLinks.tsx
987
-
988
-
989
-
990
-
991
-
992
-
993
-
994
- const collections = [{
995
- name: 'Office',
996
- href: '/office'
997
- }, {
998
- name: 'Home Appliances',
999
- href: '/kitchen---home-appliances'
1000
- }, {
1001
- name: 'Computer and Software',
1002
- href: '/computer---software'
1003
- }, {
1004
- name: 'Technology',
1005
- href: '/technology'
1006
- }];
1007
-
1008
- function NavLinks({
1009
- onClickLink,
1010
- classes = ''
1011
- }) {
1012
- return /*#__PURE__*/jsx_runtime_.jsx("nav", {
1013
- className: `${(navlinks_module_default()).fsNavlinks} ${classes}`,
1014
- children: /*#__PURE__*/(0,jsx_runtime_.jsxs)("div", {
1015
- className: "layout__content",
1016
- children: [/*#__PURE__*/jsx_runtime_.jsx(RegionalizationButton, {}), /*#__PURE__*/jsx_runtime_.jsx(List/* default */.Z, {
1017
- "data-fs-navlinks-list": true,
1018
- children: collections.map(({
1019
- href,
1020
- name
1021
- }) => /*#__PURE__*/jsx_runtime_.jsx("li", {
1022
- "data-fs-navlinks-list-item": true,
1023
- children: /*#__PURE__*/jsx_runtime_.jsx(Link/* default */.Z, {
1024
- "data-fs-navlinks-link": true,
1025
- variant: "display",
1026
- href: href,
1027
- onClick: onClickLink,
1028
- children: name
1029
- })
1030
- }, name))
1031
- })]
1032
- })
1033
- });
1034
- }
1035
-
1036
- /* harmony default export */ const Navbar_NavLinks = ((0,mark/* mark */.B)(NavLinks));
1037
- ;// CONCATENATED MODULE: ./src/components/common/Navbar/NavbarSlider.tsx
1038
-
1039
-
1040
-
1041
-
1042
-
1043
-
1044
-
1045
-
1046
-
1047
-
1048
-
1049
-
1050
-
1051
- function NavbarSlider() {
1052
- const {
1053
- closeNavbar
1054
- } = (0,UIProvider/* useUI */.l)();
1055
- const {
1056
- fade,
1057
- fadeOut
1058
- } = (0,useFadeEffect/* useFadeEffect */.b)();
1059
- return /*#__PURE__*/(0,jsx_runtime_.jsxs)(SlideOver/* default */.Z, {
1060
- isOpen: true,
1061
- fade: fade,
1062
- onDismiss: fadeOut,
1063
- size: "full",
1064
- direction: "leftSide",
1065
- className: (navbar_slider_module_default()).fsNavbarSlider,
1066
- onTransitionEnd: () => fade === 'out' && closeNavbar(),
1067
- children: [/*#__PURE__*/jsx_runtime_.jsx(SlideOverHeader/* default */.Z, {
1068
- "data-fs-navbar-slider-header": true,
1069
- onClose: fadeOut,
1070
- children: /*#__PURE__*/jsx_runtime_.jsx(Link/* default */.Z, {
1071
- href: "/",
1072
- onClick: fadeOut,
1073
- "aria-label": "Go to FastStore home",
1074
- title: "Go to FastStore home",
1075
- "data-fs-navbar-slider-logo": true,
1076
- children: /*#__PURE__*/jsx_runtime_.jsx(Logo_Logo, {})
1077
- })
1078
- }), /*#__PURE__*/jsx_runtime_.jsx("div", {
1079
- "data-fs-navbar-slider-content": true,
1080
- children: /*#__PURE__*/jsx_runtime_.jsx(Navbar_NavLinks, {
1081
- onClickLink: fadeOut
1082
- })
1083
- }), /*#__PURE__*/jsx_runtime_.jsx("footer", {
1084
- "data-fs-navbar-slider-footer": true,
1085
- children: /*#__PURE__*/jsx_runtime_.jsx(external_react_.Suspense, {
1086
- fallback: /*#__PURE__*/jsx_runtime_.jsx(ButtonSignInFallback_ButtonSignInFallback, {}),
1087
- children: /*#__PURE__*/jsx_runtime_.jsx(ButtonSignIn_ButtonSignIn, {})
1088
- })
1089
- })]
1090
- });
1091
- }
1092
-
1093
- /* harmony default export */ const Navbar_NavbarSlider = ((0,mark/* mark */.B)(NavbarSlider));
1094
- ;// CONCATENATED MODULE: ./src/components/common/Navbar/Navbar.tsx
1095
-
1096
-
1097
-
1098
-
1099
-
1100
-
1101
-
1102
-
1103
-
1104
-
1105
-
1106
-
1107
-
1108
-
1109
-
1110
-
1111
-
1112
-
1113
- function Navbar() {
1114
- const scrollDirection = useScrollDirection();
1115
- const {
1116
- openNavbar,
1117
- navbar: displayNavbar
1118
- } = (0,UIProvider/* useUI */.l)();
1119
- const searchMobileRef = (0,external_react_.useRef)(null);
1120
- const {
1121
- 0: searchExpanded,
1122
- 1: setSearchExpanded
1123
- } = (0,external_react_.useState)(false);
1124
-
1125
- const handlerExpandSearch = () => {
1126
- setSearchExpanded(true);
1127
- searchMobileRef.current?.inputRef?.focus();
1128
- };
1129
-
1130
- return /*#__PURE__*/(0,jsx_runtime_.jsxs)("header", {
1131
- "data-fs-navbar": true,
1132
- "data-fs-navbar-scroll": scrollDirection,
1133
- className: `${(navbar_module_default()).fsNavbar} layout__content-full`,
1134
- children: [/*#__PURE__*/jsx_runtime_.jsx("section", {
1135
- "data-fs-navbar-header": true,
1136
- children: /*#__PURE__*/(0,jsx_runtime_.jsxs)("div", {
1137
- className: "layout__content",
1138
- "data-fs-navbar-row": true,
1139
- children: [!searchExpanded && /*#__PURE__*/(0,jsx_runtime_.jsxs)(jsx_runtime_.Fragment, {
1140
- children: [/*#__PURE__*/jsx_runtime_.jsx(IconButton/* default */.Z, {
1141
- "data-fs-navbar-button-menu": true,
1142
- "aria-label": "Open Menu",
1143
- icon: /*#__PURE__*/jsx_runtime_.jsx(Icon/* default */.Z, {
1144
- name: "List",
1145
- width: 32,
1146
- height: 32
1147
- }),
1148
- onClick: openNavbar
1149
- }), /*#__PURE__*/jsx_runtime_.jsx(Link/* default */.Z, {
1150
- href: "/",
1151
- "aria-label": "Go to Faststore home",
1152
- title: "Go to Faststore home",
1153
- "data-fs-navbar-logo": true,
1154
- children: /*#__PURE__*/jsx_runtime_.jsx(Logo_Logo, {})
1155
- })]
1156
- }), /*#__PURE__*/jsx_runtime_.jsx(search_SearchInput_SearchInput, {}), /*#__PURE__*/(0,jsx_runtime_.jsxs)("div", {
1157
- "data-fs-navbar-buttons": true,
1158
- "data-fs-navbar-search-expanded": searchExpanded,
1159
- children: [searchExpanded && /*#__PURE__*/jsx_runtime_.jsx(IconButton/* default */.Z, {
1160
- "data-fs-button-collapse": true,
1161
- "aria-label": "Collapse search bar",
1162
- icon: /*#__PURE__*/jsx_runtime_.jsx(Icon/* default */.Z, {
1163
- name: "CaretLeft",
1164
- width: 32,
1165
- height: 32
1166
- }),
1167
- onClick: () => {
1168
- setSearchExpanded(false);
1169
- searchMobileRef.current?.resetSearchInput();
1170
- }
1171
- }), /*#__PURE__*/jsx_runtime_.jsx(search_SearchInput_SearchInput, {
1172
- placeholder: "",
1173
- ref: searchMobileRef,
1174
- testId: "store-input-mobile",
1175
- buttonTestId: "store-input-mobile-button",
1176
- onSearchClick: handlerExpandSearch
1177
- }), /*#__PURE__*/jsx_runtime_.jsx(external_react_.Suspense, {
1178
- fallback: /*#__PURE__*/jsx_runtime_.jsx(ButtonSignInFallback_ButtonSignInFallback, {}),
1179
- children: /*#__PURE__*/jsx_runtime_.jsx(ButtonSignIn_ButtonSignIn, {})
1180
- }), /*#__PURE__*/jsx_runtime_.jsx(CartToggle_CartToggle, {})]
1181
- })]
1182
- })
1183
- }), /*#__PURE__*/jsx_runtime_.jsx(Navbar_NavLinks, {
1184
- classes: "hidden-mobile"
1185
- }), displayNavbar && /*#__PURE__*/jsx_runtime_.jsx(Navbar_NavbarSlider, {})]
1186
- });
1187
- }
1188
-
1189
- Navbar.displayName = 'Navbar';
1190
- /* harmony default export */ const Navbar_Navbar = ((0,mark/* mark */.B)(Navbar));
1191
- ;// CONCATENATED MODULE: ./src/components/common/Navbar/index.ts
1192
-
1193
-
1194
-
1195
- ;// CONCATENATED MODULE: ./src/components/common/Toast/Toast.tsx
1196
-
1197
-
1198
-
1199
-
1200
-
1201
- const UIToast = /*#__PURE__*/(0,external_react_.lazy)(() => __webpack_require__.e(/* import() */ 307).then(__webpack_require__.bind(__webpack_require__, 6307)));
1202
-
1203
- function Toast() {
1204
- const {
1205
- toasts,
1206
- pushToast
1207
- } = (0,UIProvider/* useUI */.l)();
1208
- const {
1209
- messages
1210
- } = (0,cart/* useCart */.jD)();
1211
- /**
1212
- * Send cart notifications to toast in case the cart
1213
- * returns warnings
1214
- */
1215
-
1216
- (0,external_react_.useEffect)(() => {
1217
- if (!messages) {
1218
- return;
1219
- }
1220
-
1221
- messages.forEach(message => pushToast({
1222
- message: message.text,
1223
- status: message.status
1224
- }));
1225
- }, [messages, pushToast]);
1226
- return /*#__PURE__*/jsx_runtime_.jsx(jsx_runtime_.Fragment, {
1227
- children: toasts.length > 0 && /*#__PURE__*/jsx_runtime_.jsx(external_react_.Suspense, {
1228
- fallback: null,
1229
- children: /*#__PURE__*/jsx_runtime_.jsx(UIToast, {})
1230
- })
1231
- });
1232
- }
1233
-
1234
- /* harmony default export */ const Toast_Toast = (Toast);
1235
- ;// CONCATENATED MODULE: ./src/components/common/Toast/index.ts
1236
-
1237
- // EXTERNAL MODULE: ./src/components/regionalization/RegionalizationBar/regionalization-bar.module.scss
1238
- var regionalization_bar_module = __webpack_require__(3707);
1239
- var regionalization_bar_module_default = /*#__PURE__*/__webpack_require__.n(regionalization_bar_module);
1240
- ;// CONCATENATED MODULE: ./src/components/regionalization/RegionalizationBar/RegionalizationBar.tsx
1241
- const RegionalizationBar_excluded = ["classes"];
1242
-
1243
- function RegionalizationBar_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; }
1244
-
1245
- function RegionalizationBar_objectSpread(target) { for (var i = 1; i < arguments.length; i++) { var source = null != arguments[i] ? arguments[i] : {}; i % 2 ? RegionalizationBar_ownKeys(Object(source), !0).forEach(function (key) { RegionalizationBar_defineProperty(target, key, source[key]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(target, Object.getOwnPropertyDescriptors(source)) : RegionalizationBar_ownKeys(Object(source)).forEach(function (key) { Object.defineProperty(target, key, Object.getOwnPropertyDescriptor(source, key)); }); } return target; }
1246
-
1247
- function RegionalizationBar_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; }
1248
-
1249
- function RegionalizationBar_objectWithoutProperties(source, excluded) { if (source == null) return {}; var target = RegionalizationBar_objectWithoutPropertiesLoose(source, excluded); var key, i; if (Object.getOwnPropertySymbols) { var sourceSymbolKeys = Object.getOwnPropertySymbols(source); for (i = 0; i < sourceSymbolKeys.length; i++) { key = sourceSymbolKeys[i]; if (excluded.indexOf(key) >= 0) continue; if (!Object.prototype.propertyIsEnumerable.call(source, key)) continue; target[key] = source[key]; } } return target; }
1250
-
1251
- function RegionalizationBar_objectWithoutPropertiesLoose(source, excluded) { if (source == null) return {}; var target = {}; var sourceKeys = Object.keys(source); var key, i; for (i = 0; i < sourceKeys.length; i++) { key = sourceKeys[i]; if (excluded.indexOf(key) >= 0) continue; target[key] = source[key]; } return target; }
1252
-
1253
-
1254
-
1255
-
1256
-
1257
-
1258
-
1259
-
1260
-
1261
-
1262
- function RegionBar(_ref) {
1263
- let {
1264
- classes
1265
- } = _ref,
1266
- otherProps = RegionalizationBar_objectWithoutProperties(_ref, RegionalizationBar_excluded);
1267
-
1268
- const {
1269
- openModal
1270
- } = (0,UIProvider/* useUI */.l)();
1271
- const {
1272
- postalCode
1273
- } = (0,session/* useSession */.kP)();
1274
- return /*#__PURE__*/jsx_runtime_.jsx("div", RegionalizationBar_objectSpread(RegionalizationBar_objectSpread({
1275
- "data-fs-regionalization-bar": true,
1276
- className: `${classes} ${(regionalization_bar_module_default()).fsRegionalizationBar}`
1277
- }, otherProps), {}, {
1278
- children: /*#__PURE__*/(0,jsx_runtime_.jsxs)(Button/* default */.Z, {
1279
- onClick: openModal,
1280
- children: [/*#__PURE__*/jsx_runtime_.jsx(Icon/* default */.Z, {
1281
- name: "MapPin",
1282
- width: 24,
1283
- height: 24
1284
- }), postalCode ? /*#__PURE__*/(0,jsx_runtime_.jsxs)(jsx_runtime_.Fragment, {
1285
- children: [/*#__PURE__*/jsx_runtime_.jsx("span", {
1286
- "data-fs-regionalization-bar-postal-code": true,
1287
- children: postalCode
1288
- }), /*#__PURE__*/jsx_runtime_.jsx("span", {
1289
- "data-fs-regionalization-bar-cta": true,
1290
- children: "Edit"
1291
- })]
1292
- }) : /*#__PURE__*/jsx_runtime_.jsx("span", {
1293
- "data-fs-regionalization-bar-message": true,
1294
- children: "Set your location"
1295
- }), /*#__PURE__*/jsx_runtime_.jsx(Icon/* default */.Z, {
1296
- name: "CaretRight",
1297
- width: 24,
1298
- height: 24
1299
- })]
1300
- })
1301
- }));
1302
- }
1303
-
1304
- /* harmony default export */ const RegionalizationBar = (RegionBar);
1305
- ;// CONCATENATED MODULE: ./src/components/regionalization/RegionalizationBar/index.ts
1306
-
1307
- ;// CONCATENATED MODULE: ./src/Layout.tsx
1308
-
1309
-
1310
-
1311
-
1312
-
1313
-
1314
-
1315
-
1316
-
1317
-
1318
-
1319
- const CartSidebar = /*#__PURE__*/(0,external_react_.lazy)(() => Promise.all(/* import() */[__webpack_require__.e(154), __webpack_require__.e(247), __webpack_require__.e(377), __webpack_require__.e(953)]).then(__webpack_require__.bind(__webpack_require__, 953)));
1320
- const RegionModal = /*#__PURE__*/(0,external_react_.lazy)(() => Promise.all(/* import() */[__webpack_require__.e(287), __webpack_require__.e(650)]).then(__webpack_require__.bind(__webpack_require__, 650)));
1321
-
1322
- function Layout({
1323
- children
1324
- }) {
1325
- const {
1326
- cart: displayCart,
1327
- modal: displayModal
1328
- } = (0,UIProvider/* useUI */.l)();
1329
- return /*#__PURE__*/(0,jsx_runtime_.jsxs)(jsx_runtime_.Fragment, {
1330
- children: [/*#__PURE__*/(0,jsx_runtime_.jsxs)(common_Alert_Alert, {
1331
- icon: /*#__PURE__*/jsx_runtime_.jsx(Icon/* default */.Z, {
1332
- name: "Bell"
1333
- }),
1334
- link: {
1335
- children: 'Buy now',
1336
- href: '/office',
1337
- target: '_self'
1338
- },
1339
- dismissible: true,
1340
- children: ["Get 10% off today:\xA0", /*#__PURE__*/jsx_runtime_.jsx("span", {
1341
- children: "NEW10"
1342
- })]
1343
- }), /*#__PURE__*/jsx_runtime_.jsx(Navbar_Navbar, {}), /*#__PURE__*/jsx_runtime_.jsx(Toast_Toast, {}), /*#__PURE__*/(0,jsx_runtime_.jsxs)("main", {
1344
- children: [/*#__PURE__*/jsx_runtime_.jsx(RegionalizationBar, {
1345
- classes: "display-mobile"
1346
- }), children]
1347
- }), /*#__PURE__*/jsx_runtime_.jsx(Footer_Footer, {}), displayCart && /*#__PURE__*/jsx_runtime_.jsx(external_react_.Suspense, {
1348
- fallback: null,
1349
- children: /*#__PURE__*/jsx_runtime_.jsx(CartSidebar, {})
1350
- }), displayModal && /*#__PURE__*/jsx_runtime_.jsx(external_react_.Suspense, {
1351
- fallback: null,
1352
- children: /*#__PURE__*/jsx_runtime_.jsx(RegionModal, {})
1353
- })]
1354
- });
1355
- }
1356
-
1357
- /* harmony default export */ const src_Layout = (Layout);
1358
- // EXTERNAL MODULE: ./node_modules/@faststore/sdk/dist/analytics/useAnalyticsEvent.js
1359
- var useAnalyticsEvent = __webpack_require__(6751);
1360
- // EXTERNAL MODULE: ./faststore.config.js
1361
- var faststore_config = __webpack_require__(7183);
1362
- var faststore_config_default = /*#__PURE__*/__webpack_require__.n(faststore_config);
1363
- ;// CONCATENATED MODULE: ./src/sdk/analytics/index.tsx
1364
-
1365
-
1366
-
1367
- if (false) {}
1368
-
1369
- const AnalyticsHandler = () => {
1370
- (0,useAnalyticsEvent/* useAnalyticsEvent */.W)(event => {
1371
- // Cleans the ecommerce object before pushing a new one
1372
- // This prevents the new data from getting merged with the previous one
1373
- // which could lead do inaccurate and old data being sent with events
1374
- //
1375
- // source: https://developers.google.com/tag-manager/ecommerce-ga4?hl=pt-br#clearing_the_ecommerce_object
1376
- window.dataLayer.push({
1377
- ecommerce: null
1378
- });
1379
- window.dataLayer.push({
1380
- event: event.name,
1381
- ecommerce: event.params
1382
- });
1383
- __webpack_require__(3982)(`./${(faststore_config_default()).platform}`).then(({
1384
- default: sendEvent
1385
- }) => {
1386
- sendEvent(event);
1387
- });
1388
- });
1389
- return null;
1390
- };
1391
- /* harmony default export */ const analytics = (AnalyticsHandler);
1392
- ;// CONCATENATED MODULE: ./src/sdk/error/ErrorBoundary/ErrorBoundary.tsx
1393
- function ErrorBoundary_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; }
1394
-
1395
-
1396
-
1397
- const getReloads = () => Number(window.sessionStorage.getItem('store:reloads') ?? '0');
1398
-
1399
- const setReloads = reloads => window.sessionStorage.setItem('store:reloads', `${reloads}`);
1400
-
1401
- const canRecover = () => getReloads() < 2;
1402
-
1403
- const isFrameworkLevelError = error => error?.name === 'ChunkLoadError';
1404
-
1405
- if (false) {}
1406
-
1407
- class ErrorBoundary extends external_react_.Component {
1408
- constructor(...args) {
1409
- super(...args);
1410
-
1411
- ErrorBoundary_defineProperty(this, "state", {
1412
- hasError: false,
1413
- error: null
1414
- });
1415
- }
1416
-
1417
- static getDerivedStateFromError(error) {
1418
- return {
1419
- hasError: true,
1420
- error
1421
- };
1422
- } // We can't accurately type the error here, since it could vary depending on
1423
- // what caused it. This is not standardized.
1424
-
1425
-
1426
- componentDidCatch(error, errorInfo) {
1427
- console.error(`React Error: ${error.message} ${errorInfo.componentStack}`);
1428
- const errorId = 'unknown'; // prevent infinite loop
1429
-
1430
- if (window.location.pathname.startsWith('/404') || window.location.pathname.startsWith('/500')) {
1431
- return;
1432
- }
1433
-
1434
- const from = encodeURIComponent(window.location.pathname);
1435
- const is404 = error?.extensions?.exception?.status === 404;
1436
-
1437
- if (isFrameworkLevelError(error) && canRecover()) {
1438
- setReloads(getReloads() + 1);
1439
- window.location.reload();
1440
- } else if (is404) {
1441
- window.location.href = `/404?from=${from}`;
1442
- } else {
1443
- window.location.href = `/500?from=${from}&errorId=${errorId}`;
1444
- }
1445
- }
1446
-
1447
- render() {
1448
- if (this.state.hasError && true) {
1449
- return null;
1450
- }
1451
-
1452
- return this.props.children;
1453
- }
1454
-
1455
- }
1456
-
1457
- /* harmony default export */ const ErrorBoundary_ErrorBoundary = (ErrorBoundary);
1458
- ;// CONCATENATED MODULE: ./src/sdk/error/ErrorBoundary/index.ts
1459
-
1460
- ;// CONCATENATED MODULE: ./src/pages/_app.tsx
1461
- function _app_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; }
1462
-
1463
- function _app_objectSpread(target) { for (var i = 1; i < arguments.length; i++) { var source = null != arguments[i] ? arguments[i] : {}; i % 2 ? _app_ownKeys(Object(source), !0).forEach(function (key) { _app_defineProperty(target, key, source[key]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(target, Object.getOwnPropertyDescriptors(source)) : _app_ownKeys(Object(source)).forEach(function (key) { Object.defineProperty(target, key, Object.getOwnPropertyDescriptor(source, key)); }); } return target; }
1464
-
1465
- function _app_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; }
1466
-
1467
- // FastStore UI's base styles
1468
-
1469
-
1470
-
1471
-
1472
-
1473
-
1474
-
1475
-
1476
-
1477
-
1478
-
1479
- function App({
1480
- Component,
1481
- pageProps
1482
- }) {
1483
- return /*#__PURE__*/(0,jsx_runtime_.jsxs)(ErrorBoundary_ErrorBoundary, {
1484
- children: [/*#__PURE__*/jsx_runtime_.jsx((external_nextjs_progressbar_default()), {
1485
- color: "var(--fs-color-primary-bkg);",
1486
- showOnShallow: false,
1487
- options: {
1488
- showSpinner: false
1489
- }
1490
- }), /*#__PURE__*/jsx_runtime_.jsx(analytics, {}), /*#__PURE__*/jsx_runtime_.jsx(UIProvider/* default */.Z, {
1491
- children: /*#__PURE__*/jsx_runtime_.jsx(src_Layout, {
1492
- children: /*#__PURE__*/jsx_runtime_.jsx(Component, _app_objectSpread({}, pageProps))
1493
- })
1494
- })]
1495
- });
1496
- }
1497
-
1498
- /* harmony default export */ const _app = (App);
1499
-
1500
- /***/ }),
1501
-
1502
- /***/ 5098:
1503
- /***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {
1504
-
1505
- "use strict";
1506
- /* harmony export */ __webpack_require__.d(__webpack_exports__, {
1507
- /* harmony export */ "Z": () => (/* binding */ useSearchHistory)
1508
- /* harmony export */ });
1509
- /* unused harmony export searchHistoryStore */
1510
- /* harmony import */ var _faststore_sdk__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(7244);
1511
- /* harmony import */ var _useStore__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(3818);
1512
-
1513
-
1514
- const searchHistoryStore = (0,_faststore_sdk__WEBPACK_IMPORTED_MODULE_1__/* .createStore */ .M)([], `fs::searchHistory`);
1515
- const MAX_HISTORY_SIZE = 4;
1516
- function useSearchHistory(maxHistorySize = MAX_HISTORY_SIZE) {
1517
- const searchHistory = (0,_useStore__WEBPACK_IMPORTED_MODULE_0__/* .useStore */ .o)(searchHistoryStore);
1518
-
1519
- function addToSearchHistory(newHistory) {
1520
- const set = new Set();
1521
- const newHistoryArray = [newHistory, ...searchHistory].slice(0, maxHistorySize).filter(item => !set.has(item.term) && set.add(item.term), set);
1522
- searchHistoryStore.set(newHistoryArray);
1523
- }
1524
-
1525
- function clearSearchHistory() {
1526
- searchHistoryStore.set([]);
1527
- }
1528
-
1529
- return {
1530
- searchHistory,
1531
- addToSearchHistory,
1532
- clearSearchHistory
1533
- };
1534
- }
1535
-
1536
- /***/ }),
1537
-
1538
- /***/ 3588:
1539
- /***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {
1540
-
1541
- "use strict";
1542
- /* harmony export */ __webpack_require__.d(__webpack_exports__, {
1543
- /* harmony export */ "ZP": () => (__WEBPACK_DEFAULT_EXPORT__),
1544
- /* harmony export */ "uc": () => (/* binding */ formatSearchPath),
1545
- /* harmony export */ "wX": () => (/* binding */ SearchInputProvider)
1546
- /* harmony export */ });
1547
- /* harmony import */ var _faststore_sdk__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(3364);
1548
- /* harmony import */ var _faststore_sdk__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(3264);
1549
- /* harmony import */ var react__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(6689);
1550
- /* harmony import */ var react__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(react__WEBPACK_IMPORTED_MODULE_0__);
1551
- /* harmony import */ var react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(997);
1552
- /* harmony import */ var react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__);
1553
-
1554
-
1555
-
1556
- const formatSearchPath = term => {
1557
- const {
1558
- pathname,
1559
- search
1560
- } = (0,_faststore_sdk__WEBPACK_IMPORTED_MODULE_2__/* ["default"] */ .Z)((0,_faststore_sdk__WEBPACK_IMPORTED_MODULE_3__/* .initialize */ .j)({
1561
- term,
1562
- base: '/s'
1563
- }));
1564
- return `${pathname}${search}`;
1565
- };
1566
- const SearchInputContext = /*#__PURE__*/(0,react__WEBPACK_IMPORTED_MODULE_0__.createContext)(null);
1567
- function SearchInputProvider({
1568
- onSearchInputSelection,
1569
- children
1570
- }) {
1571
- return /*#__PURE__*/react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsx(SearchInputContext.Provider, {
1572
- value: {
1573
- onSearchInputSelection
1574
- },
1575
- children: children
1576
- });
1577
- }
1578
-
1579
- const useSearchInput = () => {
1580
- const context = (0,react__WEBPACK_IMPORTED_MODULE_0__.useContext)(SearchInputContext);
1581
-
1582
- if (!context) {
1583
- throw new Error('Do not use outside the SearchInputContext context.');
1584
- }
1585
-
1586
- return context;
1587
- };
1588
-
1589
- /* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = (useSearchInput);
1590
-
1591
- /***/ }),
1592
-
1593
- /***/ 1893:
1594
- /***/ ((module) => {
1595
-
1596
- // Exports
1597
- module.exports = {
1598
- "fs-footer": "footer_fs-footer__ivJqk",
1599
- "fsFooter": "footer_fs-footer__ivJqk"
1600
- };
1601
-
1602
-
1603
- /***/ }),
1604
-
1605
- /***/ 4325:
1606
- /***/ ((module) => {
1607
-
1608
- // Exports
1609
- module.exports = {
1610
- "fs-navbar-slider": "navbar-slider_fs-navbar-slider__bAYHh",
1611
- "fsNavbarSlider": "navbar-slider_fs-navbar-slider__bAYHh"
1612
- };
1613
-
1614
-
1615
- /***/ }),
1616
-
1617
- /***/ 3460:
1618
- /***/ ((module) => {
1619
-
1620
- // Exports
1621
- module.exports = {
1622
- "fs-navbar": "navbar_fs-navbar__JA7gD",
1623
- "fsNavbar": "navbar_fs-navbar__JA7gD"
1624
- };
1625
-
1626
-
1627
- /***/ }),
1628
-
1629
- /***/ 844:
1630
- /***/ ((module) => {
1631
-
1632
- // Exports
1633
- module.exports = {
1634
- "fs-navlinks": "navlinks_fs-navlinks__nbR4q",
1635
- "fsNavlinks": "navlinks_fs-navlinks__nbR4q"
1636
- };
1637
-
1638
-
1639
- /***/ }),
1640
-
1641
- /***/ 3707:
1642
- /***/ ((module) => {
1643
-
1644
- // Exports
1645
- module.exports = {
1646
- "fs-regionalization-bar": "regionalization-bar_fs-regionalization-bar__VW9YM",
1647
- "fsRegionalizationBar": "regionalization-bar_fs-regionalization-bar__VW9YM"
1648
- };
1649
-
1650
-
1651
- /***/ }),
1652
-
1653
- /***/ 7098:
1654
- /***/ ((module) => {
1655
-
1656
- // Exports
1657
- module.exports = {
1658
- "fs-search-input": "search-input_fs-search-input__qJpVA",
1659
- "fsSearchInput": "search-input_fs-search-input__qJpVA"
1660
- };
1661
-
1662
-
1663
- /***/ }),
1664
-
1665
- /***/ 4850:
1666
- /***/ ((module) => {
1667
-
1668
- // Exports
1669
- module.exports = {
1670
- "fs-search": "search_fs-search__DRhxy",
1671
- "fsSearch": "search_fs-search__DRhxy"
1672
- };
1673
-
1674
-
1675
- /***/ }),
1676
-
1677
- /***/ 4635:
1678
- /***/ ((module) => {
1679
-
1680
- // Exports
1681
- module.exports = {
1682
- "fs-button": "button_fs-button__inf6p",
1683
- "fsButton": "button_fs-button__inf6p"
1684
- };
1685
-
1686
-
1687
- /***/ }),
1688
-
1689
- /***/ 4374:
1690
- /***/ ((module) => {
1691
-
1692
- // Exports
1693
- module.exports = {
1694
- "fs-logo": "logo_fs-logo__4mmCZ",
1695
- "fsLogo": "logo_fs-logo__4mmCZ"
1696
- };
1697
-
1698
-
1699
- /***/ }),
1700
-
1701
- /***/ 3982:
1702
- /***/ ((module, __unused_webpack_exports, __webpack_require__) => {
1703
-
1704
- var map = {
1705
- "./vtex": [
1706
- 3664,
1707
- 664
1708
- ],
1709
- "./vtex/": [
1710
- 3664,
1711
- 664
1712
- ],
1713
- "./vtex/index": [
1714
- 3664,
1715
- 664
1716
- ],
1717
- "./vtex/index.ts": [
1718
- 3664,
1719
- 664
1720
- ],
1721
- "./vtex/search": [
1722
- 9143,
1723
- 143
1724
- ],
1725
- "./vtex/search.ts": [
1726
- 9143,
1727
- 143
1728
- ]
1729
- };
1730
- function webpackAsyncContext(req) {
1731
- if(!__webpack_require__.o(map, req)) {
1732
- return Promise.resolve().then(() => {
1733
- var e = new Error("Cannot find module '" + req + "'");
1734
- e.code = 'MODULE_NOT_FOUND';
1735
- throw e;
1736
- });
1737
- }
1738
-
1739
- var ids = map[req], id = ids[0];
1740
- return __webpack_require__.e(ids[1]).then(() => {
1741
- return __webpack_require__(id);
1742
- });
1743
- }
1744
- webpackAsyncContext.keys = () => (Object.keys(map));
1745
- webpackAsyncContext.id = 3982;
1746
- module.exports = webpackAsyncContext;
1747
-
1748
- /***/ }),
1749
-
1750
- /***/ 3906:
1751
- /***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {
1752
-
1753
- "use strict";
1754
- /* harmony export */ __webpack_require__.d(__webpack_exports__, {
1755
- /* harmony export */ "Z": () => (__WEBPACK_DEFAULT_EXPORT__)
1756
- /* harmony export */ });
1757
- /* harmony import */ var react__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(6689);
1758
- /* harmony import */ var react__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(react__WEBPACK_IMPORTED_MODULE_0__);
1759
-
1760
- const Form = (0,react__WEBPACK_IMPORTED_MODULE_0__.forwardRef)(function Form({ testId = 'store-form', children, ...otherProps }, ref) {
1761
- return (react__WEBPACK_IMPORTED_MODULE_0___default().createElement("form", { ref: ref, "data-fs-form": true, "data-testid": testId, ...otherProps }, children));
1762
- });
1763
- /* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = (Form);
1764
- //# sourceMappingURL=Form.js.map
1765
-
1766
- /***/ }),
1767
-
1768
- /***/ 5490:
1769
- /***/ ((module) => {
1770
-
1771
- "use strict";
1772
- module.exports = require("@faststore/graphql-utils");
1773
-
1774
- /***/ }),
1775
-
1776
- /***/ 3430:
1777
- /***/ ((module) => {
1778
-
1779
- "use strict";
1780
- module.exports = require("idb-keyval");
1781
-
1782
- /***/ }),
1783
-
1784
- /***/ 3280:
1785
- /***/ ((module) => {
1786
-
1787
- "use strict";
1788
- module.exports = require("next/dist/shared/lib/app-router-context.js");
1789
-
1790
- /***/ }),
1791
-
1792
- /***/ 2796:
1793
- /***/ ((module) => {
1794
-
1795
- "use strict";
1796
- module.exports = require("next/dist/shared/lib/head-manager-context.js");
1797
-
1798
- /***/ }),
1799
-
1800
- /***/ 3539:
1801
- /***/ ((module) => {
1802
-
1803
- "use strict";
1804
- module.exports = require("next/dist/shared/lib/i18n/detect-domain-locale.js");
1805
-
1806
- /***/ }),
1807
-
1808
- /***/ 4014:
1809
- /***/ ((module) => {
1810
-
1811
- "use strict";
1812
- module.exports = require("next/dist/shared/lib/i18n/normalize-locale-path.js");
1813
-
1814
- /***/ }),
1815
-
1816
- /***/ 8524:
1817
- /***/ ((module) => {
1818
-
1819
- "use strict";
1820
- module.exports = require("next/dist/shared/lib/is-plain-object.js");
1821
-
1822
- /***/ }),
1823
-
1824
- /***/ 8020:
1825
- /***/ ((module) => {
1826
-
1827
- "use strict";
1828
- module.exports = require("next/dist/shared/lib/mitt.js");
1829
-
1830
- /***/ }),
1831
-
1832
- /***/ 4406:
1833
- /***/ ((module) => {
1834
-
1835
- "use strict";
1836
- module.exports = require("next/dist/shared/lib/page-path/denormalize-page-path.js");
1837
-
1838
- /***/ }),
1839
-
1840
- /***/ 4964:
1841
- /***/ ((module) => {
1842
-
1843
- "use strict";
1844
- module.exports = require("next/dist/shared/lib/router-context.js");
1845
-
1846
- /***/ }),
1847
-
1848
- /***/ 3431:
1849
- /***/ ((module) => {
1850
-
1851
- "use strict";
1852
- module.exports = require("next/dist/shared/lib/router/utils/add-locale.js");
1853
-
1854
- /***/ }),
1855
-
1856
- /***/ 1751:
1857
- /***/ ((module) => {
1858
-
1859
- "use strict";
1860
- module.exports = require("next/dist/shared/lib/router/utils/add-path-prefix.js");
1861
-
1862
- /***/ }),
1863
-
1864
- /***/ 6220:
1865
- /***/ ((module) => {
1866
-
1867
- "use strict";
1868
- module.exports = require("next/dist/shared/lib/router/utils/compare-states.js");
1869
-
1870
- /***/ }),
1871
-
1872
- /***/ 299:
1873
- /***/ ((module) => {
1874
-
1875
- "use strict";
1876
- module.exports = require("next/dist/shared/lib/router/utils/format-next-pathname-info.js");
1877
-
1878
- /***/ }),
1879
-
1880
- /***/ 3938:
1881
- /***/ ((module) => {
1882
-
1883
- "use strict";
1884
- module.exports = require("next/dist/shared/lib/router/utils/format-url.js");
1885
-
1886
- /***/ }),
1887
-
1888
- /***/ 9565:
1889
- /***/ ((module) => {
1890
-
1891
- "use strict";
1892
- module.exports = require("next/dist/shared/lib/router/utils/get-asset-path-from-route.js");
1893
-
1894
- /***/ }),
1895
-
1896
- /***/ 5789:
1897
- /***/ ((module) => {
1898
-
1899
- "use strict";
1900
- module.exports = require("next/dist/shared/lib/router/utils/get-next-pathname-info.js");
1901
-
1902
- /***/ }),
1903
-
1904
- /***/ 1897:
1905
- /***/ ((module) => {
1906
-
1907
- "use strict";
1908
- module.exports = require("next/dist/shared/lib/router/utils/is-bot.js");
1909
-
1910
- /***/ }),
1911
-
1912
- /***/ 1428:
1913
- /***/ ((module) => {
1914
-
1915
- "use strict";
1916
- module.exports = require("next/dist/shared/lib/router/utils/is-dynamic.js");
1917
-
1918
- /***/ }),
1919
-
1920
- /***/ 8854:
1921
- /***/ ((module) => {
1922
-
1923
- "use strict";
1924
- module.exports = require("next/dist/shared/lib/router/utils/parse-path.js");
1925
-
1926
- /***/ }),
1927
-
1928
- /***/ 1292:
1929
- /***/ ((module) => {
1930
-
1931
- "use strict";
1932
- module.exports = require("next/dist/shared/lib/router/utils/parse-relative-url.js");
1933
-
1934
- /***/ }),
1935
-
1936
- /***/ 4567:
1937
- /***/ ((module) => {
1938
-
1939
- "use strict";
1940
- module.exports = require("next/dist/shared/lib/router/utils/path-has-prefix.js");
1941
-
1942
- /***/ }),
1943
-
1944
- /***/ 979:
1945
- /***/ ((module) => {
1946
-
1947
- "use strict";
1948
- module.exports = require("next/dist/shared/lib/router/utils/querystring.js");
1949
-
1950
- /***/ }),
1951
-
1952
- /***/ 3297:
1953
- /***/ ((module) => {
1954
-
1955
- "use strict";
1956
- module.exports = require("next/dist/shared/lib/router/utils/remove-trailing-slash.js");
1957
-
1958
- /***/ }),
1959
-
1960
- /***/ 6052:
1961
- /***/ ((module) => {
1962
-
1963
- "use strict";
1964
- module.exports = require("next/dist/shared/lib/router/utils/resolve-rewrites.js");
1965
-
1966
- /***/ }),
1967
-
1968
- /***/ 4226:
1969
- /***/ ((module) => {
1970
-
1971
- "use strict";
1972
- module.exports = require("next/dist/shared/lib/router/utils/route-matcher.js");
1973
-
1974
- /***/ }),
1975
-
1976
- /***/ 5052:
1977
- /***/ ((module) => {
1978
-
1979
- "use strict";
1980
- module.exports = require("next/dist/shared/lib/router/utils/route-regex.js");
1981
-
1982
- /***/ }),
1983
-
1984
- /***/ 9232:
1985
- /***/ ((module) => {
1986
-
1987
- "use strict";
1988
- module.exports = require("next/dist/shared/lib/utils.js");
1989
-
1990
- /***/ }),
1991
-
1992
- /***/ 968:
1993
- /***/ ((module) => {
1994
-
1995
- "use strict";
1996
- module.exports = require("next/head");
1997
-
1998
- /***/ }),
1999
-
2000
- /***/ 1853:
2001
- /***/ ((module) => {
2002
-
2003
- "use strict";
2004
- module.exports = require("next/router");
2005
-
2006
- /***/ }),
2007
-
2008
- /***/ 6689:
2009
- /***/ ((module) => {
2010
-
2011
- "use strict";
2012
- module.exports = require("react");
2013
-
2014
- /***/ }),
2015
-
2016
- /***/ 6405:
2017
- /***/ ((module) => {
2018
-
2019
- "use strict";
2020
- module.exports = require("react-dom");
2021
-
2022
- /***/ }),
2023
-
2024
- /***/ 997:
2025
- /***/ ((module) => {
2026
-
2027
- "use strict";
2028
- module.exports = require("react/jsx-runtime");
2029
-
2030
- /***/ }),
2031
-
2032
- /***/ 3823:
2033
- /***/ ((module) => {
2034
-
2035
- "use strict";
2036
- module.exports = require("tabbable");
2037
-
2038
- /***/ }),
2039
-
2040
- /***/ 5941:
2041
- /***/ ((module) => {
2042
-
2043
- "use strict";
2044
- module.exports = import("swr");;
2045
-
2046
- /***/ })
2047
-
2048
- };
2049
- ;
2050
-
2051
- // load runtime
2052
- var __webpack_require__ = require("../webpack-runtime.js");
2053
- __webpack_require__.C(exports);
2054
- var __webpack_exec__ = (moduleId) => (__webpack_require__(__webpack_require__.s = moduleId))
2055
- var __webpack_exports__ = __webpack_require__.X(0, [676,394,264,465,183,849,439,98,914], () => (__webpack_exec__(6371)));
2056
- module.exports = __webpack_exports__;
2057
-
2058
- })();