@faststore/core 3.0.20 → 3.0.21

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 (232) hide show
  1. package/.next/BUILD_ID +1 -1
  2. package/.next/build-manifest.json +90 -89
  3. package/.next/cache/.tsbuildinfo +1 -1
  4. package/.next/cache/eslint/.cache_abdhua +1 -0
  5. package/.next/cache/next-server.js.nft.json +1 -0
  6. package/.next/cache/webpack/client-development/0.pack +0 -0
  7. package/.next/cache/webpack/client-development/1.pack +0 -0
  8. package/.next/cache/webpack/client-development/2.pack +0 -0
  9. package/.next/cache/webpack/client-development/index.pack +0 -0
  10. package/.next/cache/webpack/client-development/index.pack.old +0 -0
  11. package/.next/cache/webpack/client-production/0.pack +0 -0
  12. package/.next/cache/webpack/client-production/1.pack +0 -0
  13. package/.next/cache/webpack/client-production/2.pack +0 -0
  14. package/.next/cache/webpack/client-production/index.pack +0 -0
  15. package/.next/cache/webpack/client-production/index.pack.old +0 -0
  16. package/.next/cache/webpack/server-development/0.pack +0 -0
  17. package/.next/cache/webpack/server-development/1.pack +0 -0
  18. package/.next/cache/webpack/server-development/2.pack +0 -0
  19. package/.next/cache/webpack/server-development/3.pack +0 -0
  20. package/.next/cache/webpack/server-development/4.pack +0 -0
  21. package/.next/cache/webpack/server-development/index.pack +0 -0
  22. package/.next/cache/webpack/server-development/index.pack.old +0 -0
  23. package/.next/cache/webpack/server-production/0.pack +0 -0
  24. package/.next/cache/webpack/server-production/1.pack +0 -0
  25. package/.next/cache/webpack/server-production/2.pack +0 -0
  26. package/.next/cache/webpack/server-production/index.pack +0 -0
  27. package/.next/cache/webpack/server-production/index.pack.old +0 -0
  28. package/.next/images-manifest.json +1 -1
  29. package/.next/next-server.js.nft.json +1 -1
  30. package/.next/prerender-manifest.json +1 -1
  31. package/.next/react-loadable-manifest.json +18 -18
  32. package/.next/required-server-files.json +1 -1
  33. package/.next/routes-manifest.json +1 -1
  34. package/.next/server/chunks/117.js +430 -0
  35. package/.next/server/chunks/177.js +125 -0
  36. package/.next/server/chunks/183.js +122 -0
  37. package/.next/server/chunks/184.js +61 -0
  38. package/.next/server/chunks/289.js +240 -0
  39. package/.next/server/chunks/312.js +678 -0
  40. package/.next/server/chunks/350.js +2834 -0
  41. package/.next/server/chunks/386.js +200 -0
  42. package/.next/server/chunks/390.js +550 -0
  43. package/.next/server/chunks/398.js +611 -0
  44. package/.next/server/chunks/404.js +434 -1
  45. package/.next/server/chunks/53.js +61 -0
  46. package/.next/server/chunks/57.js +434 -1
  47. package/.next/server/chunks/574.js +145 -0
  48. package/.next/server/chunks/576.js +122 -0
  49. package/.next/server/chunks/585.js +640 -0
  50. package/.next/server/chunks/676.js +32 -0
  51. package/.next/server/chunks/693.js +58 -1
  52. package/.next/server/chunks/732.js +1881 -0
  53. package/.next/server/chunks/74.js +4066 -0
  54. package/.next/server/chunks/779.js +58 -1
  55. package/.next/server/chunks/825.js +4074 -0
  56. package/.next/server/chunks/854.js +72 -0
  57. package/.next/server/chunks/859.js +957 -4
  58. package/.next/server/chunks/863.js +111 -0
  59. package/.next/server/chunks/979.js +1305 -0
  60. package/.next/server/chunks/98.js +163 -0
  61. package/.next/server/chunks/988.js +211 -0
  62. package/.next/server/middleware-build-manifest.js +1 -1
  63. package/.next/server/middleware-react-loadable-manifest.js +1 -1
  64. package/.next/server/pages/404.js +391 -1
  65. package/.next/server/pages/404.js.nft.json +1 -1
  66. package/.next/server/pages/500.js +395 -1
  67. package/.next/server/pages/500.js.nft.json +1 -1
  68. package/.next/server/pages/[...slug].js +1076 -1
  69. package/.next/server/pages/[...slug].js.nft.json +1 -1
  70. package/.next/server/pages/[slug]/p.js +2265 -1
  71. package/.next/server/pages/[slug]/p.js.nft.json +1 -1
  72. package/.next/server/pages/_app.js +301 -1
  73. package/.next/server/pages/_app.js.nft.json +1 -1
  74. package/.next/server/pages/_document.js +363 -1
  75. package/.next/server/pages/_document.js.nft.json +1 -1
  76. package/.next/server/pages/_error.js +164 -1
  77. package/.next/server/pages/_error.js.nft.json +1 -1
  78. package/.next/server/pages/account.js +370 -1
  79. package/.next/server/pages/account.js.nft.json +1 -1
  80. package/.next/server/pages/api/graphql.js +2999 -1
  81. package/.next/server/pages/api/graphql.js.nft.json +1 -1
  82. package/.next/server/pages/api/health/live.js +31 -1
  83. package/.next/server/pages/api/health/live.js.nft.json +1 -1
  84. package/.next/server/pages/api/health/ready.js +31 -1
  85. package/.next/server/pages/api/health/ready.js.nft.json +1 -1
  86. package/.next/server/pages/api/preview.js +137 -1
  87. package/.next/server/pages/api/preview.js.nft.json +1 -1
  88. package/.next/server/pages/checkout.js +370 -1
  89. package/.next/server/pages/checkout.js.nft.json +1 -1
  90. package/.next/server/pages/en-US/404.html +2 -2
  91. package/.next/server/pages/en-US/404.json +1 -1
  92. package/.next/server/pages/en-US/500.html +2 -2
  93. package/.next/server/pages/en-US/500.json +1 -1
  94. package/.next/server/pages/en-US/account.html +2 -2
  95. package/.next/server/pages/en-US/account.json +1 -1
  96. package/.next/server/pages/en-US/checkout.html +2 -2
  97. package/.next/server/pages/en-US/checkout.json +1 -1
  98. package/.next/server/pages/en-US/login.html +2 -2
  99. package/.next/server/pages/en-US/login.json +1 -1
  100. package/.next/server/pages/en-US/s.html +2 -2
  101. package/.next/server/pages/en-US/s.json +1 -1
  102. package/.next/server/pages/en-US.html +5 -5
  103. package/.next/server/pages/en-US.json +1 -1
  104. package/.next/server/pages/index.js +439 -1
  105. package/.next/server/pages/index.js.nft.json +1 -1
  106. package/.next/server/pages/login.js +382 -1
  107. package/.next/server/pages/login.js.nft.json +1 -1
  108. package/.next/server/pages/s.js +554 -1
  109. package/.next/server/pages/s.js.nft.json +1 -1
  110. package/.next/server/pages-manifest.json +18 -1
  111. package/.next/server/webpack-api-runtime.js +229 -1
  112. package/.next/server/webpack-runtime.js +229 -1
  113. package/.next/static/HI-kc1kjNIbFyFsZCeDEA/_buildManifest.js +1 -0
  114. package/.next/static/chunks/223-cb77217cce52d45c.js +1 -0
  115. package/.next/static/chunks/251.1c79f06f2a2814b1.js +1 -0
  116. package/.next/static/chunks/386.d01e0db26c523f0f.js +1 -0
  117. package/.next/static/chunks/400-d4daabcd57b2ea80.js +1 -0
  118. package/.next/static/chunks/469-7259b855711d4ad3.js +1 -0
  119. package/.next/static/chunks/574.70612be06fd1365f.js +1 -0
  120. package/.next/static/chunks/585.4c5d40fc6a72a611.js +1 -0
  121. package/.next/static/chunks/651.7142f31ce1e052b3.js +1 -0
  122. package/.next/static/chunks/741.52f7fb873418346f.js +1 -0
  123. package/.next/static/chunks/783-fbcb7a3216c40744.js +1 -0
  124. package/.next/static/chunks/800.ee4f8b9622001e8c.js +1 -0
  125. package/.next/static/chunks/98.40c7e17d9de4eb8f.js +1 -0
  126. package/.next/static/chunks/988.afda042dd9ba11d1.js +1 -0
  127. package/.next/static/chunks/framework-dfd14d7ce6600b03.js +1 -0
  128. package/.next/static/chunks/main-e4e873ee741162eb.js +1 -0
  129. package/.next/static/chunks/pages/404-2240f0b22db2d370.js +1 -0
  130. package/.next/static/chunks/pages/500-c0580e3299329874.js +1 -0
  131. package/.next/static/chunks/pages/[...slug]-3eed3497c887fae5.js +1 -0
  132. package/.next/static/chunks/pages/[slug]/p-e1df08570f34a0d8.js +1 -0
  133. package/.next/static/chunks/pages/_app-30b9666307e4b3b1.js +1 -0
  134. package/.next/static/chunks/pages/_error-319451dea77827a6.js +1 -0
  135. package/.next/static/chunks/pages/account-b35bcbef719765f3.js +1 -0
  136. package/.next/static/chunks/pages/checkout-55bd56ade4408cbe.js +1 -0
  137. package/.next/static/chunks/pages/index-2506749e45c335bf.js +1 -0
  138. package/.next/static/chunks/pages/login-3f94bff1503b4fdc.js +1 -0
  139. package/.next/static/chunks/pages/s-2374cff2e39ed624.js +1 -0
  140. package/.next/static/chunks/webpack-af94306e71c4459d.js +1 -0
  141. package/.next/static/css/29868543c76bc6fd.css +1 -0
  142. package/.next/static/css/527e334fa69cf40a.css +1 -0
  143. package/.next/static/css/{b9d9ba1b04f3160d.css → 6a7fdc5a21fbead5.css} +1 -1
  144. package/.next/static/css/723835bce380750d.css +1 -0
  145. package/.next/static/css/{d586715f4f707df4.css → a2eefb25a4608343.css} +1 -1
  146. package/.next/static/css/{e32410b31c666cb2.css → cb7d1fcea42fab9c.css} +1 -1
  147. package/.next/static/css/d7bbfbd552f407e9.css +1 -0
  148. package/.next/static/css/{2980acad3f8e1028.css → df588bb98c0b0ca6.css} +1 -1
  149. package/.next/static/css/dfbdb0f27fd64782.css +1 -0
  150. package/.next/static/css/e84fc497732ea596.css +1 -0
  151. package/.next/trace +80 -91
  152. package/.turbo/turbo-build.log +1 -1
  153. package/.turbo/turbo-dev.log +45 -0
  154. package/@generated/gql.ts +4 -4
  155. package/@generated/graphql.ts +54 -12
  156. package/package.json +3 -3
  157. package/src/components/product/ProductCard/ProductCard.tsx +7 -0
  158. package/src/components/sections/ProductDetails/ProductDetails.tsx +7 -0
  159. package/.next/cache/config.json +0 -7
  160. package/.next/cache/eslint/.cache_1gneedd +0 -1
  161. package/.next/next-minimal-server.js.nft.json +0 -1
  162. package/.next/prerender-manifest.js +0 -1
  163. package/.next/server/chunks/119.js +0 -1
  164. package/.next/server/chunks/12.js +0 -1
  165. package/.next/server/chunks/187.js +0 -1
  166. package/.next/server/chunks/202.js +0 -1
  167. package/.next/server/chunks/24.js +0 -1
  168. package/.next/server/chunks/242.js +0 -1
  169. package/.next/server/chunks/247.js +0 -1
  170. package/.next/server/chunks/344.js +0 -1
  171. package/.next/server/chunks/414.js +0 -1
  172. package/.next/server/chunks/484.js +0 -1
  173. package/.next/server/chunks/493.js +0 -1
  174. package/.next/server/chunks/498.js +0 -1
  175. package/.next/server/chunks/540.js +0 -1
  176. package/.next/server/chunks/624.js +0 -1
  177. package/.next/server/chunks/640.js +0 -6
  178. package/.next/server/chunks/646.js +0 -280
  179. package/.next/server/chunks/659.js +0 -9
  180. package/.next/server/chunks/679.js +0 -1
  181. package/.next/server/chunks/694.js +0 -1
  182. package/.next/server/chunks/82.js +0 -8
  183. package/.next/server/chunks/857.js +0 -1
  184. package/.next/server/chunks/881.js +0 -1
  185. package/.next/server/chunks/917.js +0 -1
  186. package/.next/server/chunks/936.js +0 -1
  187. package/.next/server/chunks/96.js +0 -1
  188. package/.next/server/chunks/997.js +0 -1
  189. package/.next/server/functions-config-manifest.json +0 -1
  190. package/.next/server/next-font-manifest.js +0 -1
  191. package/.next/server/next-font-manifest.json +0 -1
  192. package/.next/static/chunks/104-4f83b1d87ad36358.js +0 -1
  193. package/.next/static/chunks/161-b39fe2f79ff7bc85.js +0 -1
  194. package/.next/static/chunks/202.c7d8a71173edecfb.js +0 -1
  195. package/.next/static/chunks/217.01bc0ad07edd6f1b.js +0 -1
  196. package/.next/static/chunks/247.6f1391104a867395.js +0 -1
  197. package/.next/static/chunks/484.b82b73b1d8c37e02.js +0 -1
  198. package/.next/static/chunks/540.6c62d2536d42a1e0.js +0 -1
  199. package/.next/static/chunks/575-853fb8b1ba4ce8c4.js +0 -14
  200. package/.next/static/chunks/624.d3de62b4562a33f3.js +0 -1
  201. package/.next/static/chunks/629-c74f247bd29420a5.js +0 -1
  202. package/.next/static/chunks/65.da22595d53beae76.js +0 -1
  203. package/.next/static/chunks/758.b53ee01b506973e0.js +0 -1
  204. package/.next/static/chunks/857.d2299cfe995af21d.js +0 -1
  205. package/.next/static/chunks/framework-8e279965036b6169.js +0 -33
  206. package/.next/static/chunks/main-6f63f6746cc029db.js +0 -1
  207. package/.next/static/chunks/pages/404-1334d11ab8467b3d.js +0 -1
  208. package/.next/static/chunks/pages/500-449c5bd51f98423f.js +0 -1
  209. package/.next/static/chunks/pages/[...slug]-bcaf61b01157d8cb.js +0 -1
  210. package/.next/static/chunks/pages/[slug]/p-5fb8fe2c80ec1608.js +0 -1
  211. package/.next/static/chunks/pages/_app-ad8623e78bc5b766.js +0 -68
  212. package/.next/static/chunks/pages/_error-fbf331a03642b495.js +0 -1
  213. package/.next/static/chunks/pages/account-dbc5c028225cd1ac.js +0 -1
  214. package/.next/static/chunks/pages/checkout-29ae2c37eaf172e1.js +0 -1
  215. package/.next/static/chunks/pages/index-cd109119d65df8e3.js +0 -1
  216. package/.next/static/chunks/pages/login-c4d2c856008df5ac.js +0 -1
  217. package/.next/static/chunks/pages/s-26e475975386c51a.js +0 -1
  218. package/.next/static/chunks/webpack-b4a2fdf4ef127bb7.js +0 -1
  219. package/.next/static/css/0d45c82d8887a269.css +0 -1
  220. package/.next/static/css/211c7542af66d8b4.css +0 -1
  221. package/.next/static/css/4c4d90eb8cb1d2b7.css +0 -1
  222. package/.next/static/css/821a5219786be653.css +0 -1
  223. package/.next/static/css/96e3fddf695d6aa9.css +0 -1
  224. package/.next/static/css/cff9aafa16fccc9c.css +0 -1
  225. package/.next/static/rG9HjHHbItuqOEnXtbNZ5/_buildManifest.js +0 -1
  226. package/.turbo/turbo-lint.log +0 -2
  227. package/.turbo/turbo-test.log +0 -23
  228. package/@generated/graphql/persisted.json +0 -13
  229. package/@generated/graphql/schema.graphql +0 -1053
  230. package/@generated/persisted-documents.json +0 -13
  231. package/@generated/schema.graphql +0 -1055
  232. /package/.next/static/{rG9HjHHbItuqOEnXtbNZ5 → HI-kc1kjNIbFyFsZCeDEA}/_ssgManifest.js +0 -0
@@ -1 +1,363 @@
1
- "use strict";(()=>{var e={};e.id=660,e.ids=[660],e.modules={6330:e=>{e.exports=require("deepmerge")},2785:e=>{e.exports=require("next/dist/compiled/next-server/pages.runtime.prod.js")},1423:e=>{e.exports=require("path")},6689:e=>{e.exports=require("react")},997:e=>{e.exports=require("react/jsx-runtime")},4037:e=>{e.exports=import("@builder.io/partytown/react")}};var r=require("../webpack-runtime.js");r.C(e);var __webpack_exec__=e=>r(r.s=e),t=r.X(0,[859,997,82],()=>__webpack_exec__(2082));module.exports=t})();
1
+ "use strict";
2
+ (() => {
3
+ var exports = {};
4
+ exports.id = 660;
5
+ exports.ids = [660];
6
+ exports.modules = {
7
+
8
+ /***/ 3714:
9
+ /***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {
10
+
11
+ /* harmony export */ __webpack_require__.d(__webpack_exports__, {
12
+ /* harmony export */ "Z": () => (__WEBPACK_DEFAULT_EXPORT__),
13
+ /* harmony export */ "v": () => (/* binding */ GTM_DEBUG_QUERY_STRING)
14
+ /* harmony export */ });
15
+ /* harmony import */ var react_jsx_runtime__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(997);
16
+ /* harmony import */ var react_jsx_runtime__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(react_jsx_runtime__WEBPACK_IMPORTED_MODULE_0__);
17
+
18
+
19
+
20
+
21
+ 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; }
22
+
23
+ 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; }
24
+
25
+ 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; }
26
+
27
+ const GTM_DEBUG_QUERY_STRING = 'gtm_debug';
28
+
29
+ const useSnippet = opts => `${opts.partytownScript ? '!' : ''}window.location.search.includes('${GTM_DEBUG_QUERY_STRING}=')&&
30
+ (function(w,d,s,l,i){w[l]=w[l]||[];w[l].push({'gtm.start':
31
+ new Date().getTime(),event:'gtm.js'});var f=d.getElementsByTagName(s)[0],
32
+ j=d.createElement(s),dl=l!='dataLayer'?'&l='+l:'';j.async=true;j.src=
33
+ 'https://www.googletagmanager.com/gtm.js?id='+i+dl;f.parentNode.insertBefore(j,f);
34
+ })(window,document,'script',${JSON.stringify(opts.dataLayerName ?? 'dataLayer')},${JSON.stringify(opts.containerId)});`;
35
+ /**
36
+ * Google Tag Manager script adapted to be executed only when necessary.
37
+ *
38
+ * The first script adds the GTM script to partytown. It is meant for when regular users
39
+ * are browsing the website, so that loading and executing it doesn't affect performance
40
+ *
41
+ * The second script is meant for GTM debugging. Since debugging GTM inside partytown still doesn't work,
42
+ * it is only executed when the url includes the gtm_debug query string.
43
+ *
44
+ * Since the query string isn't accessible during SSR, the decision of which script should be executed
45
+ * is bundled with the script, and that's why we need to include both. The script isn't GTM itself, but
46
+ * the code who will, after being executed, add the GTM script to the page.
47
+ *
48
+ * https://developers.google.com/tag-manager/quickstart
49
+ */
50
+
51
+
52
+ function GoogleTagManager(props) {
53
+ return /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_0__.jsxs)(react_jsx_runtime__WEBPACK_IMPORTED_MODULE_0__.Fragment, {
54
+ children: [/*#__PURE__*/react_jsx_runtime__WEBPACK_IMPORTED_MODULE_0__.jsx("script", {
55
+ type: "text/partytown",
56
+ dangerouslySetInnerHTML: {
57
+ __html: useSnippet(_objectSpread(_objectSpread({}, props), {}, {
58
+ partytownScript: true
59
+ }))
60
+ }
61
+ }, "gtm.partytown"), /*#__PURE__*/react_jsx_runtime__WEBPACK_IMPORTED_MODULE_0__.jsx("script", {
62
+ type: "text/javascript",
63
+ dangerouslySetInnerHTML: {
64
+ __html: useSnippet(_objectSpread(_objectSpread({}, props), {}, {
65
+ partytownScript: false
66
+ }))
67
+ }
68
+ }, "gtm")]
69
+ });
70
+ }
71
+
72
+ /* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = (GoogleTagManager);
73
+
74
+ /***/ }),
75
+
76
+ /***/ 1696:
77
+ /***/ ((module, __webpack_exports__, __webpack_require__) => {
78
+
79
+ __webpack_require__.a(module, async (__webpack_handle_async_dependencies__, __webpack_async_result__) => { try {
80
+ /* harmony export */ __webpack_require__.d(__webpack_exports__, {
81
+ /* harmony export */ "Z": () => (__WEBPACK_DEFAULT_EXPORT__)
82
+ /* harmony export */ });
83
+ /* harmony import */ var _builder_io_partytown_react__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(4037);
84
+ /* harmony import */ var src_customizations_src_GlobalOverrides__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(4127);
85
+ /* harmony import */ var _faststore_config__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(7183);
86
+ /* harmony import */ var _faststore_config__WEBPACK_IMPORTED_MODULE_2___default = /*#__PURE__*/__webpack_require__.n(_faststore_config__WEBPACK_IMPORTED_MODULE_2__);
87
+ /* harmony import */ var _GoogleTagManager__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(3714);
88
+ /* harmony import */ var _vtex__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(4393);
89
+ /* harmony import */ var react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(997);
90
+ /* harmony import */ var react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__);
91
+ var __webpack_async_dependencies__ = __webpack_handle_async_dependencies__([_builder_io_partytown_react__WEBPACK_IMPORTED_MODULE_0__]);
92
+ _builder_io_partytown_react__WEBPACK_IMPORTED_MODULE_0__ = (__webpack_async_dependencies__.then ? (await __webpack_async_dependencies__)() : __webpack_async_dependencies__)[0];
93
+
94
+
95
+
96
+
97
+
98
+
99
+
100
+
101
+ const gtmContainerId = (_faststore_config__WEBPACK_IMPORTED_MODULE_2___default().analytics)?.gtmContainerId;
102
+ const includeGTM = typeof gtmContainerId === 'string';
103
+ const includeVTEX = (_faststore_config__WEBPACK_IMPORTED_MODULE_2___default().platform) === 'vtex';
104
+
105
+ if (false) {}
106
+
107
+ function ThirdPartyScripts() {
108
+ const forwards = [];
109
+ if (includeVTEX) forwards.push('sendrc', 'vtexaf');
110
+ return /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsxs)(react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.Fragment, {
111
+ children: [/*#__PURE__*/react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsx("script", {
112
+ dangerouslySetInnerHTML: {
113
+ __html: `var partytown={forward:[...${JSON.stringify(forwards)},!window.location.search.includes('${_GoogleTagManager__WEBPACK_IMPORTED_MODULE_3__/* .GTM_DEBUG_QUERY_STRING */ .v}=')&&${includeGTM}?'dataLayer.push':null].filter(Boolean)}`
114
+ }
115
+ }), includeGTM && /*#__PURE__*/react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsx(_GoogleTagManager__WEBPACK_IMPORTED_MODULE_3__/* ["default"] */ .Z, {
116
+ containerId: gtmContainerId
117
+ }), includeVTEX && /*#__PURE__*/react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsx(_vtex__WEBPACK_IMPORTED_MODULE_4__/* ["default"] */ .Z, {}), /*#__PURE__*/react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsx(src_customizations_src_GlobalOverrides__WEBPACK_IMPORTED_MODULE_5__/* ["default"].ThirdPartyScripts */ .Z.ThirdPartyScripts, {}), /*#__PURE__*/react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsx(_builder_io_partytown_react__WEBPACK_IMPORTED_MODULE_0__.Partytown, {}, "partytown")]
118
+ });
119
+ }
120
+
121
+ /* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = (ThirdPartyScripts);
122
+ __webpack_async_result__();
123
+ } catch(e) { __webpack_async_result__(e); } });
124
+
125
+ /***/ }),
126
+
127
+ /***/ 4393:
128
+ /***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {
129
+
130
+ /* harmony export */ __webpack_require__.d(__webpack_exports__, {
131
+ /* harmony export */ "Z": () => (__WEBPACK_DEFAULT_EXPORT__)
132
+ /* harmony export */ });
133
+ /* harmony import */ var react_jsx_runtime__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(997);
134
+ /* harmony import */ var react_jsx_runtime__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(react_jsx_runtime__WEBPACK_IMPORTED_MODULE_0__);
135
+
136
+
137
+
138
+
139
+ function VTEX() {
140
+ return /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_0__.jsxs)(react_jsx_runtime__WEBPACK_IMPORTED_MODULE_0__.Fragment, {
141
+ children: [/*#__PURE__*/react_jsx_runtime__WEBPACK_IMPORTED_MODULE_0__.jsx("script", {
142
+ type: "text/partytown",
143
+ dangerouslySetInnerHTML: {
144
+ __html: `
145
+ window.sendrc=function(en,ed){window.NavigationCapture&&window.NavigationCapture.sendEvent(en,ed)};
146
+ `
147
+ }
148
+ }, "vtexrc.js-init"), /*#__PURE__*/react_jsx_runtime__WEBPACK_IMPORTED_MODULE_0__.jsx("script", {
149
+ type: "text/partytown",
150
+ async: true,
151
+ src: "https://io.vtex.com.br/rc/rc.js"
152
+ }, "vtexrc.js-script"), /*#__PURE__*/react_jsx_runtime__WEBPACK_IMPORTED_MODULE_0__.jsx("script", {
153
+ type: "text/partytown",
154
+ dangerouslySetInnerHTML: {
155
+ __html: `f=window.vtexaf=window.vtexaf||function(){(f.q=f.q||[]).push(arguments)};f.l=+new Date`
156
+ }
157
+ }, "vtex-af.js-init"), /*#__PURE__*/react_jsx_runtime__WEBPACK_IMPORTED_MODULE_0__.jsx("script", {
158
+ type: "text/partytown",
159
+ async: true,
160
+ src: "https://activity-flow.vtex.com/af/af.js"
161
+ }, "vtex-af.js-script")]
162
+ });
163
+ }
164
+
165
+ /* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = (VTEX);
166
+
167
+ /***/ }),
168
+
169
+ /***/ 4127:
170
+ /***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {
171
+
172
+
173
+ // EXPORTS
174
+ __webpack_require__.d(__webpack_exports__, {
175
+ "Q": () => (/* binding */ GlobalOverrides_WebFonts),
176
+ "Z": () => (/* binding */ GlobalOverrides)
177
+ });
178
+
179
+ // EXTERNAL MODULE: external "react/jsx-runtime"
180
+ var jsx_runtime_ = __webpack_require__(997);
181
+ ;// CONCATENATED MODULE: ./src/fonts/WebFonts.tsx
182
+
183
+
184
+
185
+ /* eslint-disable @next/next/no-page-custom-font */
186
+ function WebFonts() {
187
+ return /*#__PURE__*/jsx_runtime_.jsx(jsx_runtime_.Fragment, {});
188
+ }
189
+
190
+ /* harmony default export */ const fonts_WebFonts = (WebFonts);
191
+ ;// CONCATENATED MODULE: ./src/customizations/src/fonts/WebFonts.tsx
192
+ /* WebFonts from core are default,
193
+ * can be override by src/fonts/WebFonts from starter.store along with --fs-text-face-body token
194
+ */
195
+
196
+ /* harmony default export */ const src_fonts_WebFonts = (fonts_WebFonts);
197
+ ;// CONCATENATED MODULE: ./src/customizations/src/components/overrides/WebFonts.tsx
198
+
199
+ const overrides = {
200
+ components: {
201
+ WebFonts: src_fonts_WebFonts
202
+ }
203
+ };
204
+ /* harmony default export */ const overrides_WebFonts = (overrides);
205
+ ;// CONCATENATED MODULE: ./src/customizations/src/scripts/ThirdPartyScripts.tsx
206
+
207
+
208
+
209
+ /**
210
+ * Place holder function to return component to mount it on the header
211
+ * @returns react component */
212
+ const ThirdPartyScripts = () => {
213
+ return /*#__PURE__*/jsx_runtime_.jsx(jsx_runtime_.Fragment, {});
214
+ };
215
+
216
+ /* harmony default export */ const scripts_ThirdPartyScripts = (ThirdPartyScripts);
217
+ ;// CONCATENATED MODULE: ./src/customizations/src/components/overrides/ThirdPartyScripts.tsx
218
+
219
+ const ThirdPartyScripts_overrides = {
220
+ components: {
221
+ ThirdPartyScripts: scripts_ThirdPartyScripts
222
+ }
223
+ };
224
+ /* harmony default export */ const overrides_ThirdPartyScripts = (ThirdPartyScripts_overrides);
225
+ ;// CONCATENATED MODULE: ./src/customizations/src/GlobalOverrides.tsx
226
+ 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; }
227
+
228
+ 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; }
229
+
230
+ 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; }
231
+
232
+
233
+
234
+
235
+
236
+ const Components = _objectSpread(_objectSpread({
237
+ WebFonts: fonts_WebFonts
238
+ }, overrides_WebFonts.components), overrides_ThirdPartyScripts.components);
239
+
240
+ const GlobalOverrides_WebFonts = Components.WebFonts;
241
+ /* harmony default export */ const GlobalOverrides = (Components);
242
+
243
+ /***/ }),
244
+
245
+ /***/ 9820:
246
+ /***/ ((module, __webpack_exports__, __webpack_require__) => {
247
+
248
+ __webpack_require__.a(module, async (__webpack_handle_async_dependencies__, __webpack_async_result__) => { try {
249
+ __webpack_require__.r(__webpack_exports__);
250
+ /* harmony export */ __webpack_require__.d(__webpack_exports__, {
251
+ /* harmony export */ "default": () => (__WEBPACK_DEFAULT_EXPORT__)
252
+ /* harmony export */ });
253
+ /* harmony import */ var next_document__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(6859);
254
+ /* harmony import */ var src_components_ThirdPartyScripts__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(1696);
255
+ /* harmony import */ var src_customizations_src_GlobalOverrides__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(4127);
256
+ /* harmony import */ var react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(997);
257
+ /* harmony import */ var react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__);
258
+ var __webpack_async_dependencies__ = __webpack_handle_async_dependencies__([src_components_ThirdPartyScripts__WEBPACK_IMPORTED_MODULE_2__]);
259
+ src_components_ThirdPartyScripts__WEBPACK_IMPORTED_MODULE_2__ = (__webpack_async_dependencies__.then ? (await __webpack_async_dependencies__)() : __webpack_async_dependencies__)[0];
260
+
261
+
262
+
263
+
264
+
265
+
266
+ function Document() {
267
+ return /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsxs)(next_document__WEBPACK_IMPORTED_MODULE_0__.Html, {
268
+ children: [/*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsxs)(next_document__WEBPACK_IMPORTED_MODULE_0__.Head, {
269
+ children: [!process.env.DISABLE_3P_SCRIPTS && /*#__PURE__*/react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsx(src_components_ThirdPartyScripts__WEBPACK_IMPORTED_MODULE_2__/* ["default"] */ .Z, {}), /*#__PURE__*/react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsx(src_customizations_src_GlobalOverrides__WEBPACK_IMPORTED_MODULE_3__/* .WebFonts */ .Q, {})]
270
+ }), /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsxs)("body", {
271
+ className: "theme",
272
+ children: [/*#__PURE__*/react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsx(next_document__WEBPACK_IMPORTED_MODULE_0__.Main, {}), /*#__PURE__*/react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsx(next_document__WEBPACK_IMPORTED_MODULE_0__.NextScript, {})]
273
+ })]
274
+ });
275
+ }
276
+
277
+ /* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = (Document);
278
+ __webpack_async_result__();
279
+ } catch(e) { __webpack_async_result__(e); } });
280
+
281
+ /***/ }),
282
+
283
+ /***/ 6330:
284
+ /***/ ((module) => {
285
+
286
+ module.exports = require("deepmerge");
287
+
288
+ /***/ }),
289
+
290
+ /***/ 4140:
291
+ /***/ ((module) => {
292
+
293
+ module.exports = require("next/dist/server/get-page-files.js");
294
+
295
+ /***/ }),
296
+
297
+ /***/ 9716:
298
+ /***/ ((module) => {
299
+
300
+ module.exports = require("next/dist/server/htmlescape.js");
301
+
302
+ /***/ }),
303
+
304
+ /***/ 6368:
305
+ /***/ ((module) => {
306
+
307
+ module.exports = require("next/dist/server/utils.js");
308
+
309
+ /***/ }),
310
+
311
+ /***/ 6724:
312
+ /***/ ((module) => {
313
+
314
+ module.exports = require("next/dist/shared/lib/constants.js");
315
+
316
+ /***/ }),
317
+
318
+ /***/ 8743:
319
+ /***/ ((module) => {
320
+
321
+ module.exports = require("next/dist/shared/lib/html-context.js");
322
+
323
+ /***/ }),
324
+
325
+ /***/ 8524:
326
+ /***/ ((module) => {
327
+
328
+ module.exports = require("next/dist/shared/lib/is-plain-object.js");
329
+
330
+ /***/ }),
331
+
332
+ /***/ 6689:
333
+ /***/ ((module) => {
334
+
335
+ module.exports = require("react");
336
+
337
+ /***/ }),
338
+
339
+ /***/ 997:
340
+ /***/ ((module) => {
341
+
342
+ module.exports = require("react/jsx-runtime");
343
+
344
+ /***/ }),
345
+
346
+ /***/ 4037:
347
+ /***/ ((module) => {
348
+
349
+ module.exports = import("@builder.io/partytown/react");;
350
+
351
+ /***/ })
352
+
353
+ };
354
+ ;
355
+
356
+ // load runtime
357
+ var __webpack_require__ = require("../webpack-runtime.js");
358
+ __webpack_require__.C(exports);
359
+ var __webpack_exec__ = (moduleId) => (__webpack_require__(__webpack_require__.s = moduleId))
360
+ var __webpack_exports__ = __webpack_require__.X(0, [676,859,183], () => (__webpack_exec__(9820)));
361
+ module.exports = __webpack_exports__;
362
+
363
+ })();
@@ -1 +1 @@
1
- {"version":1,"files":["../../../node_modules/deepmerge/dist/cjs.js","../../../node_modules/deepmerge/package.json","../../../node_modules/next/dist/compiled/@ampproject/toolbox-optimizer/index.js","../../../node_modules/next/dist/compiled/@edge-runtime/ponyfill/index.js","../../../node_modules/next/dist/compiled/@edge-runtime/ponyfill/package.json","../../../node_modules/next/dist/compiled/@edge-runtime/primitives/abort-controller.js.text.js","../../../node_modules/next/dist/compiled/@edge-runtime/primitives/blob.js.text.js","../../../node_modules/next/dist/compiled/@edge-runtime/primitives/console.js.text.js","../../../node_modules/next/dist/compiled/@edge-runtime/primitives/crypto.js.text.js","../../../node_modules/next/dist/compiled/@edge-runtime/primitives/encoding.js.text.js","../../../node_modules/next/dist/compiled/@edge-runtime/primitives/events.js.text.js","../../../node_modules/next/dist/compiled/@edge-runtime/primitives/fetch.js.text.js","../../../node_modules/next/dist/compiled/@edge-runtime/primitives/index.js","../../../node_modules/next/dist/compiled/@edge-runtime/primitives/load.js","../../../node_modules/next/dist/compiled/@edge-runtime/primitives/package.json","../../../node_modules/next/dist/compiled/@edge-runtime/primitives/structured-clone.js.text.js","../../../node_modules/next/dist/compiled/@edge-runtime/primitives/timers.js.text.js","../../../node_modules/next/dist/compiled/@edge-runtime/primitives/url.js.text.js","../../../node_modules/next/dist/compiled/@next/react-dev-overlay/dist/middleware.js","../../../node_modules/next/dist/compiled/@opentelemetry/api/index.js","../../../node_modules/next/dist/compiled/@opentelemetry/api/package.json","../../../node_modules/next/dist/compiled/acorn/acorn.js","../../../node_modules/next/dist/compiled/acorn/package.json","../../../node_modules/next/dist/compiled/browserslist/index.js","../../../node_modules/next/dist/compiled/browserslist/package.json","../../../node_modules/next/dist/compiled/cssnano-simple/index.js","../../../node_modules/next/dist/compiled/data-uri-to-buffer/index.js","../../../node_modules/next/dist/compiled/data-uri-to-buffer/package.json","../../../node_modules/next/dist/compiled/jsonwebtoken/index.js","../../../node_modules/next/dist/compiled/jsonwebtoken/package.json","../../../node_modules/next/dist/compiled/lru-cache/index.js","../../../node_modules/next/dist/compiled/lru-cache/package.json","../../../node_modules/next/dist/compiled/next-server/pages.runtime.prod.js","../../../node_modules/next/dist/compiled/node-fetch/index.js","../../../node_modules/next/dist/compiled/node-fetch/package.json","../../../node_modules/next/dist/compiled/node-html-parser/index.js","../../../node_modules/next/dist/compiled/node-html-parser/package.json","../../../node_modules/next/dist/compiled/postcss-plugin-stub-for-cssnano-simple/index.js","../../../node_modules/next/dist/compiled/postcss-safe-parser/package.json","../../../node_modules/next/dist/compiled/postcss-safe-parser/safe-parse.js","../../../node_modules/next/dist/compiled/postcss-value-parser/index.js","../../../node_modules/next/dist/compiled/postcss-value-parser/package.json","../../../node_modules/next/dist/compiled/semver/index.js","../../../node_modules/next/dist/compiled/semver/package.json","../../../node_modules/next/dist/compiled/shell-quote/index.js","../../../node_modules/next/dist/compiled/shell-quote/package.json","../../../node_modules/next/dist/compiled/stacktrace-parser/package.json","../../../node_modules/next/dist/compiled/stacktrace-parser/stack-trace-parser.cjs.js","../../../node_modules/next/dist/compiled/terser/bundle.min.js","../../../node_modules/next/dist/compiled/terser/package.json","../../../node_modules/next/dist/server/capsize-font-metrics.json","../../../node_modules/next/dist/server/lib/trace/constants.js","../../../node_modules/next/dist/server/lib/trace/tracer.js","../../../node_modules/next/package.json","../../../package.json","../../../src/pages/_document.tsx","../../package.json","../chunks/119.js","../chunks/12.js","../chunks/187.js","../chunks/202.js","../chunks/24.js","../chunks/242.js","../chunks/247.js","../chunks/344.js","../chunks/404.js","../chunks/414.js","../chunks/484.js","../chunks/493.js","../chunks/498.js","../chunks/540.js","../chunks/57.js","../chunks/624.js","../chunks/640.js","../chunks/646.js","../chunks/659.js","../chunks/679.js","../chunks/693.js","../chunks/694.js","../chunks/779.js","../chunks/82.js","../chunks/857.js","../chunks/859.js","../chunks/881.js","../chunks/917.js","../chunks/936.js","../chunks/96.js","../chunks/997.js","../chunks/font-manifest.json","../webpack-runtime.js"]}
1
+ {"version":1,"files":["../webpack-runtime.js","../chunks/676.js","../chunks/859.js","../chunks/183.js","../../package.json","../../../node_modules/deepmerge/package.json","../../../node_modules/next/dist/server/get-page-files.js","../../../node_modules/next/dist/server/htmlescape.js","../../../node_modules/next/dist/server/utils.js","../../../node_modules/next/dist/shared/lib/is-plain-object.js","../../../node_modules/next/dist/shared/lib/utils.js","../../../node_modules/next/dist/shared/lib/constants.js","../../../node_modules/next/dist/shared/lib/html-context.js","../../../node_modules/next/dist/shared/lib/page-path/denormalize-page-path.js","../../../node_modules/next/dist/shared/lib/router/utils/is-dynamic.js","../../../node_modules/deepmerge/dist/cjs.js","../../../node_modules/next/package.json","../../../node_modules/next/dist/shared/lib/page-path/normalize-page-path.js","../../../node_modules/next/dist/shared/lib/page-path/normalize-path-sep.js","../../../node_modules/next/dist/shared/lib/router/utils/index.js","../../../node_modules/@swc/helpers/package.json","../../../node_modules/@swc/helpers/lib/_async_to_generator.js","../../../node_modules/next/dist/shared/lib/page-path/ensure-leading-slash.js","../../../node_modules/next/dist/shared/lib/router/utils/sorted-routes.js","../../../package.json"]}
@@ -1 +1,164 @@
1
- "use strict";(()=>{var e={};e.id=820,e.ids=[820,888,660],e.modules={693:(e,t,r)=>{r.a(e,async(e,a)=>{try{r.r(t),r.d(t,{config:()=>S,default:()=>c,getServerSideProps:()=>_,getStaticPaths:()=>g,getStaticProps:()=>d,reportWebVitals:()=>P,routeModule:()=>f,unstable_getServerProps:()=>v,unstable_getServerSideProps:()=>h,unstable_getStaticParams:()=>m,unstable_getStaticPaths:()=>x,unstable_getStaticProps:()=>b});var s=r(7093),i=r(5244),o=r(1323),l=r(2082),p=r(8187),u=r(8857),n=e([l]);l=(n.then?(await n)():n)[0];let c=(0,o.l)(u,"default"),d=(0,o.l)(u,"getStaticProps"),g=(0,o.l)(u,"getStaticPaths"),_=(0,o.l)(u,"getServerSideProps"),S=(0,o.l)(u,"config"),P=(0,o.l)(u,"reportWebVitals"),b=(0,o.l)(u,"unstable_getStaticProps"),x=(0,o.l)(u,"unstable_getStaticPaths"),m=(0,o.l)(u,"unstable_getStaticParams"),v=(0,o.l)(u,"unstable_getServerProps"),h=(0,o.l)(u,"unstable_getServerSideProps"),f=new s.PagesRouteModule({definition:{kind:i.x.PAGES,page:"/_error",pathname:"/_error",bundlePath:"",filename:""},components:{App:p.default,Document:l.default},userland:u});a()}catch(e){a(e)}})},6330:e=>{e.exports=require("deepmerge")},6641:e=>{e.exports=require("next-seo")},2785:e=>{e.exports=require("next/dist/compiled/next-server/pages.runtime.prod.js")},8890:e=>{e.exports=require("nextjs-progressbar")},1423:e=>{e.exports=require("path")},6689:e=>{e.exports=require("react")},997:e=>{e.exports=require("react/jsx-runtime")},4037:e=>{e.exports=import("@builder.io/partytown/react")}};var t=require("../webpack-runtime.js");t.C(e);var __webpack_exec__=e=>t(t.s=e),r=t.X(0,[859,12,857,997,187,82],()=>__webpack_exec__(693));module.exports=r})();
1
+ "use strict";
2
+ (() => {
3
+ var exports = {};
4
+ exports.id = 820;
5
+ exports.ids = [820];
6
+ exports.modules = {
7
+
8
+ /***/ 2648:
9
+ /***/ ((__unused_webpack_module, exports) => {
10
+
11
+ var __webpack_unused_export__;
12
+
13
+ __webpack_unused_export__ = ({
14
+ value: true
15
+ });
16
+ exports.Z = _interopRequireDefault;
17
+ function _interopRequireDefault(obj) {
18
+ return obj && obj.__esModule ? obj : {
19
+ default: obj
20
+ };
21
+ }
22
+
23
+
24
+ /***/ }),
25
+
26
+ /***/ 9651:
27
+ /***/ ((__unused_webpack_module, exports, __webpack_require__) => {
28
+
29
+
30
+
31
+ Object.defineProperty(exports, "__esModule", ({
32
+ value: true
33
+ }));
34
+ exports["default"] = void 0;
35
+
36
+ var _interop_require_default = (__webpack_require__(2648)/* ["default"] */ .Z);
37
+
38
+ var _react = _interop_require_default(__webpack_require__(6689));
39
+
40
+ var _head = _interop_require_default(__webpack_require__(4957));
41
+
42
+ const statusCodes = {
43
+ 400: 'Bad Request',
44
+ 404: 'This page could not be found',
45
+ 405: 'Method Not Allowed',
46
+ 500: 'Internal Server Error'
47
+ };
48
+
49
+ function _getInitialProps({
50
+ res,
51
+ err
52
+ }) {
53
+ const statusCode = res && res.statusCode ? res.statusCode : err ? err.statusCode : 404;
54
+ return {
55
+ statusCode
56
+ };
57
+ }
58
+
59
+ const styles = {
60
+ error: {
61
+ fontFamily: '-apple-system, BlinkMacSystemFont, Roboto, "Segoe UI", "Fira Sans", Avenir, "Helvetica Neue", "Lucida Grande", sans-serif',
62
+ height: '100vh',
63
+ textAlign: 'center',
64
+ display: 'flex',
65
+ flexDirection: 'column',
66
+ alignItems: 'center',
67
+ justifyContent: 'center'
68
+ },
69
+ desc: {
70
+ display: 'inline-block',
71
+ textAlign: 'left',
72
+ lineHeight: '49px',
73
+ height: '49px',
74
+ verticalAlign: 'middle'
75
+ },
76
+ h1: {
77
+ display: 'inline-block',
78
+ margin: 0,
79
+ marginRight: '20px',
80
+ padding: '0 23px 0 0',
81
+ fontSize: '24px',
82
+ fontWeight: 500,
83
+ verticalAlign: 'top',
84
+ lineHeight: '49px'
85
+ },
86
+ h2: {
87
+ fontSize: '14px',
88
+ fontWeight: 'normal',
89
+ lineHeight: '49px',
90
+ margin: 0,
91
+ padding: 0
92
+ }
93
+ };
94
+
95
+ var _Component;
96
+
97
+ class Error extends (_Component = _react.default.Component) {
98
+ render() {
99
+ const {
100
+ statusCode,
101
+ withDarkMode = true
102
+ } = this.props;
103
+ const title = this.props.title || statusCodes[statusCode] || 'An unexpected error has occurred';
104
+ return /*#__PURE__*/_react.default.createElement("div", {
105
+ style: styles.error
106
+ }, /*#__PURE__*/_react.default.createElement(_head.default, null, /*#__PURE__*/_react.default.createElement("title", null, statusCode ? `${statusCode}: ${title}` : 'Application error: a client-side exception has occurred')), /*#__PURE__*/_react.default.createElement("div", null, /*#__PURE__*/_react.default.createElement("style", {
107
+ dangerouslySetInnerHTML: {
108
+ __html: `
109
+ body { margin: 0; color: #000; background: #fff; }
110
+ .next-error-h1 {
111
+ border-right: 1px solid rgba(0, 0, 0, .3);
112
+ }
113
+
114
+ ${withDarkMode ? `@media (prefers-color-scheme: dark) {
115
+ body { color: #fff; background: #000; }
116
+ .next-error-h1 {
117
+ border-right: 1px solid rgba(255, 255, 255, .3);
118
+ }
119
+ }` : ''}`
120
+ }
121
+ }), statusCode ? /*#__PURE__*/_react.default.createElement("h1", {
122
+ className: "next-error-h1",
123
+ style: styles.h1
124
+ }, statusCode) : null, /*#__PURE__*/_react.default.createElement("div", {
125
+ style: styles.desc
126
+ }, /*#__PURE__*/_react.default.createElement("h2", {
127
+ style: styles.h2
128
+ }, this.props.title || statusCode ? title : /*#__PURE__*/_react.default.createElement(_react.default.Fragment, null, "Application error: a client-side exception has occurred (see the browser console for more information)"), "."))));
129
+ }
130
+
131
+ }
132
+
133
+ Error.displayName = 'ErrorPage';
134
+ Error.getInitialProps = _getInitialProps;
135
+ Error.origGetInitialProps = _getInitialProps;
136
+ exports["default"] = Error;
137
+
138
+ /***/ }),
139
+
140
+ /***/ 4957:
141
+ /***/ ((module) => {
142
+
143
+ module.exports = require("next/dist/shared/lib/head.js");
144
+
145
+ /***/ }),
146
+
147
+ /***/ 6689:
148
+ /***/ ((module) => {
149
+
150
+ module.exports = require("react");
151
+
152
+ /***/ })
153
+
154
+ };
155
+ ;
156
+
157
+ // load runtime
158
+ var __webpack_require__ = require("../webpack-runtime.js");
159
+ __webpack_require__.C(exports);
160
+ var __webpack_exec__ = (moduleId) => (__webpack_require__(__webpack_require__.s = moduleId))
161
+ var __webpack_exports__ = (__webpack_exec__(9651));
162
+ module.exports = __webpack_exports__;
163
+
164
+ })();
@@ -1 +1 @@
1
- {"version":1,"files":["../../../node_modules/deepmerge/dist/cjs.js","../../../node_modules/deepmerge/package.json","../../../node_modules/next/dist/build/deployment-id.js","../../../node_modules/next/dist/client/add-base-path.js","../../../node_modules/next/dist/client/add-locale.js","../../../node_modules/next/dist/client/components/app-router-headers.js","../../../node_modules/next/dist/client/detect-domain-locale.js","../../../node_modules/next/dist/client/has-base-path.js","../../../node_modules/next/dist/client/head-manager.js","../../../node_modules/next/dist/client/normalize-trailing-slash.js","../../../node_modules/next/dist/client/remove-base-path.js","../../../node_modules/next/dist/client/remove-locale.js","../../../node_modules/next/dist/client/request-idle-callback.js","../../../node_modules/next/dist/client/resolve-href.js","../../../node_modules/next/dist/client/route-loader.js","../../../node_modules/next/dist/client/router.js","../../../node_modules/next/dist/client/script.js","../../../node_modules/next/dist/client/trusted-types.js","../../../node_modules/next/dist/client/with-router.js","../../../node_modules/next/dist/compiled/@ampproject/toolbox-optimizer/index.js","../../../node_modules/next/dist/compiled/@edge-runtime/ponyfill/index.js","../../../node_modules/next/dist/compiled/@edge-runtime/ponyfill/package.json","../../../node_modules/next/dist/compiled/@edge-runtime/primitives/abort-controller.js.text.js","../../../node_modules/next/dist/compiled/@edge-runtime/primitives/blob.js.text.js","../../../node_modules/next/dist/compiled/@edge-runtime/primitives/console.js.text.js","../../../node_modules/next/dist/compiled/@edge-runtime/primitives/crypto.js.text.js","../../../node_modules/next/dist/compiled/@edge-runtime/primitives/encoding.js.text.js","../../../node_modules/next/dist/compiled/@edge-runtime/primitives/events.js.text.js","../../../node_modules/next/dist/compiled/@edge-runtime/primitives/fetch.js.text.js","../../../node_modules/next/dist/compiled/@edge-runtime/primitives/index.js","../../../node_modules/next/dist/compiled/@edge-runtime/primitives/load.js","../../../node_modules/next/dist/compiled/@edge-runtime/primitives/package.json","../../../node_modules/next/dist/compiled/@edge-runtime/primitives/structured-clone.js.text.js","../../../node_modules/next/dist/compiled/@edge-runtime/primitives/timers.js.text.js","../../../node_modules/next/dist/compiled/@edge-runtime/primitives/url.js.text.js","../../../node_modules/next/dist/compiled/@next/react-dev-overlay/dist/middleware.js","../../../node_modules/next/dist/compiled/@opentelemetry/api/index.js","../../../node_modules/next/dist/compiled/@opentelemetry/api/package.json","../../../node_modules/next/dist/compiled/acorn/acorn.js","../../../node_modules/next/dist/compiled/acorn/package.json","../../../node_modules/next/dist/compiled/browserslist/index.js","../../../node_modules/next/dist/compiled/browserslist/package.json","../../../node_modules/next/dist/compiled/cookie/index.js","../../../node_modules/next/dist/compiled/cookie/package.json","../../../node_modules/next/dist/compiled/cssnano-simple/index.js","../../../node_modules/next/dist/compiled/data-uri-to-buffer/index.js","../../../node_modules/next/dist/compiled/data-uri-to-buffer/package.json","../../../node_modules/next/dist/compiled/gzip-size/index.js","../../../node_modules/next/dist/compiled/gzip-size/package.json","../../../node_modules/next/dist/compiled/jsonwebtoken/index.js","../../../node_modules/next/dist/compiled/jsonwebtoken/package.json","../../../node_modules/next/dist/compiled/lru-cache/index.js","../../../node_modules/next/dist/compiled/lru-cache/package.json","../../../node_modules/next/dist/compiled/next-server/pages.runtime.prod.js","../../../node_modules/next/dist/compiled/node-fetch/index.js","../../../node_modules/next/dist/compiled/node-fetch/package.json","../../../node_modules/next/dist/compiled/node-html-parser/index.js","../../../node_modules/next/dist/compiled/node-html-parser/package.json","../../../node_modules/next/dist/compiled/path-to-regexp/index.js","../../../node_modules/next/dist/compiled/postcss-plugin-stub-for-cssnano-simple/index.js","../../../node_modules/next/dist/compiled/postcss-safe-parser/package.json","../../../node_modules/next/dist/compiled/postcss-safe-parser/safe-parse.js","../../../node_modules/next/dist/compiled/postcss-value-parser/index.js","../../../node_modules/next/dist/compiled/postcss-value-parser/package.json","../../../node_modules/next/dist/compiled/react-is/cjs/react-is.development.js","../../../node_modules/next/dist/compiled/react-is/cjs/react-is.production.min.js","../../../node_modules/next/dist/compiled/react-is/index.js","../../../node_modules/next/dist/compiled/react-is/package.json","../../../node_modules/next/dist/compiled/semver/index.js","../../../node_modules/next/dist/compiled/semver/package.json","../../../node_modules/next/dist/compiled/shell-quote/index.js","../../../node_modules/next/dist/compiled/shell-quote/package.json","../../../node_modules/next/dist/compiled/stacktrace-parser/package.json","../../../node_modules/next/dist/compiled/stacktrace-parser/stack-trace-parser.cjs.js","../../../node_modules/next/dist/compiled/terser/bundle.min.js","../../../node_modules/next/dist/compiled/terser/package.json","../../../node_modules/next/dist/lib/is-api-route.js","../../../node_modules/next/dist/lib/is-error.js","../../../node_modules/next/dist/server/api-utils/get-cookie-parser.js","../../../node_modules/next/dist/server/capsize-font-metrics.json","../../../node_modules/next/dist/server/future/helpers/interception-routes.js","../../../node_modules/next/dist/server/lib/trace/constants.js","../../../node_modules/next/dist/server/lib/trace/tracer.js","../../../node_modules/next/dist/shared/lib/bloom-filter.js","../../../node_modules/next/dist/shared/lib/escape-regexp.js","../../../node_modules/next/dist/shared/lib/head-manager-context.shared-runtime.js","../../../node_modules/next/dist/shared/lib/i18n/detect-domain-locale.js","../../../node_modules/next/dist/shared/lib/i18n/normalize-locale-path.js","../../../node_modules/next/dist/shared/lib/is-plain-object.js","../../../node_modules/next/dist/shared/lib/mitt.js","../../../node_modules/next/dist/shared/lib/page-path/denormalize-page-path.js","../../../node_modules/next/dist/shared/lib/page-path/ensure-leading-slash.js","../../../node_modules/next/dist/shared/lib/page-path/normalize-path-sep.js","../../../node_modules/next/dist/shared/lib/router-context.shared-runtime.js","../../../node_modules/next/dist/shared/lib/router/router.js","../../../node_modules/next/dist/shared/lib/router/utils/add-locale.js","../../../node_modules/next/dist/shared/lib/router/utils/add-path-prefix.js","../../../node_modules/next/dist/shared/lib/router/utils/add-path-suffix.js","../../../node_modules/next/dist/shared/lib/router/utils/app-paths.js","../../../node_modules/next/dist/shared/lib/router/utils/compare-states.js","../../../node_modules/next/dist/shared/lib/router/utils/format-next-pathname-info.js","../../../node_modules/next/dist/shared/lib/router/utils/format-url.js","../../../node_modules/next/dist/shared/lib/router/utils/get-asset-path-from-route.js","../../../node_modules/next/dist/shared/lib/router/utils/get-next-pathname-info.js","../../../node_modules/next/dist/shared/lib/router/utils/handle-smooth-scroll.js","../../../node_modules/next/dist/shared/lib/router/utils/index.js","../../../node_modules/next/dist/shared/lib/router/utils/interpolate-as.js","../../../node_modules/next/dist/shared/lib/router/utils/is-bot.js","../../../node_modules/next/dist/shared/lib/router/utils/is-dynamic.js","../../../node_modules/next/dist/shared/lib/router/utils/is-local-url.js","../../../node_modules/next/dist/shared/lib/router/utils/omit.js","../../../node_modules/next/dist/shared/lib/router/utils/parse-path.js","../../../node_modules/next/dist/shared/lib/router/utils/parse-relative-url.js","../../../node_modules/next/dist/shared/lib/router/utils/parse-url.js","../../../node_modules/next/dist/shared/lib/router/utils/path-has-prefix.js","../../../node_modules/next/dist/shared/lib/router/utils/path-match.js","../../../node_modules/next/dist/shared/lib/router/utils/prepare-destination.js","../../../node_modules/next/dist/shared/lib/router/utils/querystring.js","../../../node_modules/next/dist/shared/lib/router/utils/remove-path-prefix.js","../../../node_modules/next/dist/shared/lib/router/utils/remove-trailing-slash.js","../../../node_modules/next/dist/shared/lib/router/utils/resolve-rewrites.js","../../../node_modules/next/dist/shared/lib/router/utils/route-matcher.js","../../../node_modules/next/dist/shared/lib/router/utils/route-regex.js","../../../node_modules/next/dist/shared/lib/router/utils/sorted-routes.js","../../../node_modules/next/dist/shared/lib/segment.js","../../../node_modules/next/dist/shared/lib/utils.js","../../../node_modules/next/package.json","../../../node_modules/next/router.js","../../../node_modules/nextjs-progressbar/dist/index.js","../../../node_modules/nextjs-progressbar/package.json","../../package.json","../chunks/119.js","../chunks/12.js","../chunks/187.js","../chunks/202.js","../chunks/24.js","../chunks/242.js","../chunks/247.js","../chunks/344.js","../chunks/404.js","../chunks/414.js","../chunks/484.js","../chunks/493.js","../chunks/498.js","../chunks/540.js","../chunks/57.js","../chunks/624.js","../chunks/640.js","../chunks/646.js","../chunks/659.js","../chunks/679.js","../chunks/693.js","../chunks/694.js","../chunks/779.js","../chunks/82.js","../chunks/857.js","../chunks/859.js","../chunks/881.js","../chunks/917.js","../chunks/936.js","../chunks/96.js","../chunks/997.js","../chunks/font-manifest.json","../webpack-runtime.js"]}
1
+ {"version":1,"files":["../webpack-runtime.js","../../package.json","../../../node_modules/next/dist/shared/lib/head.js","../../../node_modules/next/dist/shared/lib/head-manager-context.js","../../../node_modules/next/dist/shared/lib/utils.js","../../../node_modules/next/package.json","../../../node_modules/next/dist/shared/lib/amp-context.js","../../../node_modules/next/dist/shared/lib/side-effect.js","../../../node_modules/next/dist/shared/lib/amp-mode.js","../../../node_modules/@swc/helpers/lib/_interop_require_default.js","../../../node_modules/@swc/helpers/package.json","../../../node_modules/@swc/helpers/lib/_extends.js","../../../node_modules/@swc/helpers/lib/_interop_require_wildcard.js","../../../node_modules/@swc/helpers/lib/_async_to_generator.js","../../../package.json"]}