cloudcommerce 2.10.7 → 2.11.2

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 (90) hide show
  1. package/.github/workflows/test-apps.yml +2 -2
  2. package/CHANGELOG.md +19 -0
  3. package/action.yml +2 -2
  4. package/ecomplus-stores/barradoce/functions/many/package.json +3 -3
  5. package/ecomplus-stores/barradoce/functions/ssr/content/extra-pages/promocoes.md +1 -1
  6. package/ecomplus-stores/barradoce/functions/ssr/package.json +6 -6
  7. package/ecomplus-stores/barradoce/functions/ssr/public/robots.txt +1 -0
  8. package/ecomplus-stores/barradoce/functions/ssr/src/state/midd-search-engine.ts +9 -1
  9. package/ecomplus-stores/barradoce/functions/ssr/tsconfig.json +6 -2
  10. package/ecomplus-stores/barradoce/functions/with-apps/package.json +3 -3
  11. package/ecomplus-stores/barradoce/package.json +2 -2
  12. package/package.json +2 -2
  13. package/packages/api/lib/api.d.ts +8 -1
  14. package/packages/api/lib/api.js +12 -3
  15. package/packages/api/lib/api.js.map +1 -1
  16. package/packages/api/package.json +1 -1
  17. package/packages/api/src/api.ts +20 -5
  18. package/packages/apps/affiliate-program/package.json +1 -1
  19. package/packages/apps/correios/package.json +1 -1
  20. package/packages/apps/custom-payment/package.json +1 -1
  21. package/packages/apps/custom-shipping/package.json +1 -1
  22. package/packages/apps/datafrete/package.json +1 -1
  23. package/packages/apps/discounts/package.json +1 -1
  24. package/packages/apps/emails/package.json +1 -1
  25. package/packages/apps/fb-conversions/package.json +1 -1
  26. package/packages/apps/flash-courier/package.json +1 -1
  27. package/packages/apps/frenet/package.json +1 -1
  28. package/packages/apps/galaxpay/package.json +1 -1
  29. package/packages/apps/google-analytics/package.json +1 -1
  30. package/packages/apps/jadlog/package.json +1 -1
  31. package/packages/apps/loyalty-points/package.json +1 -1
  32. package/packages/apps/mandae/package.json +1 -1
  33. package/packages/apps/melhor-envio/package.json +1 -1
  34. package/packages/apps/mercadopago/package.json +1 -1
  35. package/packages/apps/pagarme/package.json +1 -1
  36. package/packages/apps/pagarme-v5/package.json +1 -1
  37. package/packages/apps/paghiper/package.json +1 -1
  38. package/packages/apps/pix/package.json +1 -1
  39. package/packages/apps/tiny-erp/package.json +1 -1
  40. package/packages/apps/webhooks/package.json +1 -1
  41. package/packages/cli/package.json +1 -1
  42. package/packages/config/package.json +1 -1
  43. package/packages/emails/package.json +1 -1
  44. package/packages/eslint/package.json +1 -1
  45. package/packages/events/package.json +1 -1
  46. package/packages/feeds/package.json +1 -1
  47. package/packages/firebase/package.json +1 -1
  48. package/packages/i18n/package.json +1 -1
  49. package/packages/modules/package.json +1 -1
  50. package/packages/passport/package.json +1 -1
  51. package/packages/ssr/lib/lib/serve-storefront.js +3 -1
  52. package/packages/ssr/lib/lib/serve-storefront.js.map +1 -1
  53. package/packages/ssr/package.json +2 -2
  54. package/packages/ssr/src/lib/serve-storefront.ts +3 -1
  55. package/packages/storefront/dist/client/_astro/ProductDetails.BpZtnS8j.js +1 -7
  56. package/packages/storefront/dist/client/_astro/hoisted.-C0vLMXT.js +8 -0
  57. package/packages/storefront/dist/server/_astro-internal_middleware.mjs +2 -2
  58. package/packages/storefront/dist/server/chunks/{404_jTV5wvby.mjs → 404_BcY_5eJJ.mjs} +1 -1
  59. package/packages/storefront/dist/server/chunks/{CartSidebar_CV9qwGNE.mjs → CartSidebar_tmly-0ip.mjs} +2 -2
  60. package/packages/storefront/dist/server/chunks/{SearchModal_Cw1ECnXI.mjs → SearchModal_CGNQss2j.mjs} +2 -2
  61. package/packages/storefront/dist/server/chunks/{_.._k1NruPDv.mjs → _.._Bt6Uzpk2.mjs} +1 -1
  62. package/packages/storefront/dist/server/chunks/{_astro-internal_middleware_DIG56BhA.mjs → _astro-internal_middleware_CqUpziyW.mjs} +1 -1
  63. package/packages/storefront/dist/server/chunks/{_page__BKNX3RH7.mjs → _page__Dz-iZHMh.mjs} +1 -1
  64. package/packages/storefront/dist/server/chunks/{account_BZOa6Kmc.mjs → account_tfs9KFTy.mjs} +1 -1
  65. package/packages/storefront/dist/server/chunks/astro/{assets-service_MW85B416.mjs → assets-service_DSoC_W52.mjs} +2 -1
  66. package/packages/storefront/dist/server/chunks/{astro_8KdHu_Gf.mjs → astro_Cu3MZ9xv.mjs} +72 -33
  67. package/packages/storefront/dist/server/chunks/{index_D1o9pXka.mjs → index_BKS_40rA.mjs} +1 -1
  68. package/packages/storefront/dist/server/chunks/{index_CZ6FSUEb.mjs → index_CGzMgZTN.mjs} +1 -1
  69. package/packages/storefront/dist/server/chunks/{node_Khrf-0bH.mjs → node_lZaNT3E1.mjs} +1 -1
  70. package/packages/storefront/dist/server/chunks/pages/{404_BPSxJtl3.mjs → 404_CMwuVMu1.mjs} +9 -10
  71. package/packages/storefront/dist/server/chunks/pages/{__ByRpsTnC.mjs → __Dz53F-0T.mjs} +2 -2
  72. package/packages/storefront/dist/server/chunks/pages/{_page__BasreLue.mjs → _page__C1x19nYF.mjs} +3 -3
  73. package/packages/storefront/dist/server/chunks/pages/{account_MZBvNAyZ.mjs → account_B5Z6wDBy.mjs} +2 -2
  74. package/packages/storefront/dist/server/chunks/pages/{index_CV2ET14h.mjs → index_CqvjdvSg.mjs} +3 -3
  75. package/packages/storefront/dist/server/chunks/pages/{node_1tKTIKG-.mjs → node_mvX6Tssv.mjs} +4 -111
  76. package/packages/storefront/dist/server/chunks/pages/{~fallback_BVYzgZ5p.mjs → ~fallback_D2ugBVgc.mjs} +2 -2
  77. package/packages/storefront/dist/server/chunks/{~fallback_xH9bJF7E.mjs → ~fallback_CrFe__-f.mjs} +1 -1
  78. package/packages/storefront/dist/server/entry.mjs +15 -14
  79. package/packages/storefront/dist/server/{manifest_S9lE9v48.mjs → manifest_D4v8KX-D.mjs} +2 -2
  80. package/packages/storefront/dist/server/middleware.mjs +2 -2
  81. package/packages/storefront/dist/server/renderers.mjs +1 -1
  82. package/packages/storefront/package.json +3 -3
  83. package/packages/storefront/server.d.ts +2 -4
  84. package/packages/storefront/src/lib/$storefront.d.ts +4 -0
  85. package/packages/storefront/src/lib/ssr-context.ts +3 -3
  86. package/packages/storefront/tsconfig.base.json +16 -0
  87. package/packages/storefront/tsconfig.json +5 -13
  88. package/packages/test-base/package.json +1 -1
  89. package/packages/types/package.json +1 -1
  90. package/packages/storefront/dist/client/_astro/hoisted.CSjieYcR.js +0 -8
@@ -1,6 +1,6 @@
1
1
  import { img, imgSizes, i18n, formatMoney, price, randomObjectId, nickname } from '@ecomplus/utils';
2
2
  import '@astrojs/internal-helpers/path';
3
- import { A as AstroError, c as ExpectedImageOptions, E as ExpectedImage, F as FailedToFetchRemoteImageDimensions, d as InvalidImageService, e as createAstro, f as createComponent, g as ImageMissingAlt, r as renderTemplate, m as maybeRenderHead, h as addAttribute, s as spreadAttributes, u as unescapeHTML, i as renderSlotToString, j as renderAllHeadContent, k as renderSlot$1, l as renderComponent, n as Fragment } from '../astro_8KdHu_Gf.mjs';
3
+ import { A as AstroError, c as ExpectedImageOptions, E as ExpectedImage, F as FailedToFetchRemoteImageDimensions, d as InvalidImageService, e as createAstro, f as createComponent, g as ImageMissingAlt, r as renderTemplate, m as maybeRenderHead, h as addAttribute, s as spreadAttributes, u as unescapeHTML, i as renderSlotToString, j as renderAllHeadContent, k as renderSlot$1, l as renderComponent, n as Fragment } from '../astro_Cu3MZ9xv.mjs';
4
4
  import 'kleur/colors';
5
5
  import { EventEmitter } from 'node:events';
6
6
  import api from '@cloudcommerce/api';
@@ -12,8 +12,8 @@ import config from '@cloudcommerce/config';
12
12
  import 'clsx';
13
13
  import { renderSync, parse as parse$1, walkSync, ELEMENT_NODE } from 'ultrahtml';
14
14
  /* empty css */
15
- import mime from 'mime/lite';
16
- import { r as resolveSrc, i as isRemoteImage, a as isESMImportedImage, b as isLocalService, D as DEFAULT_HASH_PROPS } from '../astro/assets-service_MW85B416.mjs';
15
+ import mime from 'mime/lite.js';
16
+ import { r as resolveSrc, i as isRemoteImage, a as isESMImportedImage, b as isLocalService, D as DEFAULT_HASH_PROPS } from '../astro/assets-service_DSoC_W52.mjs';
17
17
  import imageSize from 'image-size';
18
18
  import { useSSRContext, defineComponent, computed, ref, onMounted, watch, createVNode, resolveDynamicComponent, mergeProps, withCtx, renderSlot, inject, toRef, onBeforeUnmount, provide, reactive, shallowRef, resolveComponent, withDirectives, vShow, openBlock, createBlock, createCommentVNode, Fragment as Fragment$1, renderList, mergeModels, useModel, nextTick, withModifiers, Teleport, createTextVNode, toDisplayString, defineAsyncComponent, vModelText, Suspense, createSlots } from 'vue';
19
19
  import { ssrRenderSlotInner, ssrRenderVNode, ssrRenderSlot, ssrRenderAttrs, ssrRenderClass, ssrRenderList, ssrRenderComponent, ssrRenderStyle, ssrIncludeBooleanAttr, ssrRenderAttr, ssrRenderTeleport, ssrInterpolate, ssrRenderSuspense } from 'vue/server-renderer';
@@ -1346,7 +1346,6 @@ const units = {
1346
1346
  px: 1
1347
1347
  };
1348
1348
  const unitsReg = new RegExp(
1349
- // eslint-disable-next-line regexp/prefer-d
1350
1349
  `^([0-9.]+(?:e\\d+)?)(${Object.keys(units).join("|")})?$`
1351
1350
  );
1352
1351
  function parseLength(len) {
@@ -1638,7 +1637,7 @@ async function getConfiguredImageService() {
1638
1637
  if (!globalThis?.astroAsset?.imageService) {
1639
1638
  const { default: service } = await import(
1640
1639
  // @ts-expect-error
1641
- '../astro/assets-service_MW85B416.mjs'
1640
+ '../astro/assets-service_DSoC_W52.mjs'
1642
1641
  ).then(n => n.s).catch((e) => {
1643
1642
  const error = new AstroError(InvalidImageService);
1644
1643
  error.cause = e;
@@ -2005,11 +2004,11 @@ if (!globalThis.$apiPrefetchEndpoints) {
2005
2004
  }
2006
2005
  const sessions = {};
2007
2006
  global.__sfSessions = sessions;
2008
- if (!globalThis.$storefront) {
2009
- globalThis.$storefront = new Proxy({
2007
+ const $str = "$storefront";
2008
+ if (!globalThis[$str]) {
2009
+ globalThis[$str] = new Proxy({
2010
2010
  settings: {},
2011
2011
  data: {},
2012
- // @ts-expect-error: URL is retrived from `target.getSession().url`
2013
2012
  url: void 0,
2014
2013
  getSession(sid) {
2015
2014
  if (!sid) {
@@ -5637,8 +5636,8 @@ const _sfc_main$3 = /* @__PURE__ */ defineComponent({
5637
5636
  },
5638
5637
  setup(__props, { expose: __expose }) {
5639
5638
  __expose();
5640
- const SearchModal = defineAsyncComponent(() => import('../SearchModal_Cw1ECnXI.mjs'));
5641
- const CartSidebar = defineAsyncComponent(() => import('../CartSidebar_CV9qwGNE.mjs'));
5639
+ const SearchModal = defineAsyncComponent(() => import('../SearchModal_CGNQss2j.mjs'));
5640
+ const CartSidebar = defineAsyncComponent(() => import('../CartSidebar_tmly-0ip.mjs'));
5642
5641
  const props = __props;
5643
5642
  const header = ref(null);
5644
5643
  const searchInput = ref(null);
@@ -1,7 +1,7 @@
1
- import { e as createAstro, f as createComponent, r as renderTemplate, u as unescapeHTML, l as renderComponent, n as Fragment$1, m as maybeRenderHead, h as addAttribute } from '../astro_8KdHu_Gf.mjs';
1
+ import { e as createAstro, f as createComponent, r as renderTemplate, u as unescapeHTML, l as renderComponent, n as Fragment$1, m as maybeRenderHead, h as addAttribute } from '../astro_Cu3MZ9xv.mjs';
2
2
  import 'kleur/colors';
3
3
  import api from '@cloudcommerce/api';
4
- import { _ as _export_sfc, u as useSharedData, a as useSectionPreview, i as i19relatedProducts, b as useStorage, c as i19brands, d as i19categories, e as i19upTo, f as i19aboveOf, s as scrollToEl, g as i19relevance, h as i19sales, j as i19lowestPrice, k as i19highestPrice, l as i19discount, m as i19releases, n as i19name, o as isScreenLg, $ as $$Picture, p as parseShippingPhrase, q as slugify, r as availableExtraDiscount, t as installmentsOption, v as discountOption, w as loyaltyPointsPrograms, x as addProductToCart, y as isMobile, z as useId, A as fetchModule, B as i19workingDays, C as i19days, D as i19untilTomorrow, E as i19pickUpToday, F as i19receiveToday, G as i19free, H as i19freeShipping, I as Drawer, J as getConfig, K as loadRouteContext, L as $$Base, M as $$BaseHead, N as $$PageHeader, O as $$PageFooter } from './404_BPSxJtl3.mjs';
4
+ import { _ as _export_sfc, u as useSharedData, a as useSectionPreview, i as i19relatedProducts, b as useStorage, c as i19brands, d as i19categories, e as i19upTo, f as i19aboveOf, s as scrollToEl, g as i19relevance, h as i19sales, j as i19lowestPrice, k as i19highestPrice, l as i19discount, m as i19releases, n as i19name, o as isScreenLg, $ as $$Picture, p as parseShippingPhrase, q as slugify, r as availableExtraDiscount, t as installmentsOption, v as discountOption, w as loyaltyPointsPrograms, x as addProductToCart, y as isMobile, z as useId, A as fetchModule, B as i19workingDays, C as i19days, D as i19untilTomorrow, E as i19pickUpToday, F as i19receiveToday, G as i19free, H as i19freeShipping, I as Drawer, J as getConfig, K as loadRouteContext, L as $$Base, M as $$BaseHead, N as $$PageHeader, O as $$PageFooter } from './404_CMwuVMu1.mjs';
5
5
  import 'clsx';
6
6
  import { computed, ref, watch, toRef, useSSRContext, defineComponent, mergeModels, useModel, resolveComponent, mergeProps, withCtx, createVNode, toDisplayString, createTextVNode, shallowReactive, reactive, renderSlot, resolveDynamicComponent, onMounted, withDirectives, vShow, openBlock, createBlock, Fragment, renderList, withAsyncContext, createCommentVNode, withModifiers, createSlots, inject, provide, vModelRadio } from 'vue';
7
7
  import { inStock, gridTitle, formatMoney, categoriesList, name, price, img, onPromotion, imgSizes, variationsGrids, specTextValue, specValueByText } from '@ecomplus/utils';
@@ -1,9 +1,9 @@
1
- import { e as createAstro, f as createComponent, r as renderTemplate, h as addAttribute, l as renderComponent, n as Fragment, m as maybeRenderHead, u as unescapeHTML } from '../astro_8KdHu_Gf.mjs';
1
+ import { e as createAstro, f as createComponent, r as renderTemplate, h as addAttribute, l as renderComponent, n as Fragment, m as maybeRenderHead, u as unescapeHTML } from '../astro_Cu3MZ9xv.mjs';
2
2
  import 'kleur/colors';
3
- import { J as getConfig, _ as _export_sfc, K as loadRouteContext, L as $$Base, M as $$BaseHead, N as $$PageHeader, O as $$PageFooter } from './404_BPSxJtl3.mjs';
3
+ import { J as getConfig, _ as _export_sfc, K as loadRouteContext, L as $$Base, M as $$BaseHead, N as $$PageHeader, O as $$PageFooter } from './404_CMwuVMu1.mjs';
4
4
  import { formatDate } from '@ecomplus/utils';
5
5
  import { useSSRContext, defineComponent, computed, resolveComponent, mergeProps } from 'vue';
6
- import { P as Pagination } from './__ByRpsTnC.mjs';
6
+ import { P as Pagination } from './__Dz53F-0T.mjs';
7
7
  import { ssrRenderAttrs, ssrRenderAttr, ssrRenderComponent, ssrInterpolate, ssrRenderList } from 'vue/server-renderer';
8
8
 
9
9
  const POSTS_PER_PAGE = 13;
@@ -1,6 +1,6 @@
1
- import { e as createAstro, f as createComponent, r as renderTemplate, h as addAttribute, l as renderComponent, n as Fragment, m as maybeRenderHead } from '../astro_8KdHu_Gf.mjs';
1
+ import { e as createAstro, f as createComponent, r as renderTemplate, h as addAttribute, l as renderComponent, n as Fragment, m as maybeRenderHead } from '../astro_Cu3MZ9xv.mjs';
2
2
  import 'kleur/colors';
3
- import { K as loadRouteContext, M as $$BaseHead, P as i19myAccount, $ as $$Picture, L as $$Base } from './404_BPSxJtl3.mjs';
3
+ import { K as loadRouteContext, M as $$BaseHead, P as i19myAccount, $ as $$Picture, L as $$Base } from './404_CMwuVMu1.mjs';
4
4
 
5
5
  const $$Astro = createAstro("https://demo.ecomplus.app");
6
6
  const $$Account = createComponent(async ($$result, $$props, $$slots) => {
@@ -1,10 +1,10 @@
1
- import { e as createAstro, f as createComponent, r as renderTemplate, h as addAttribute, l as renderComponent, n as Fragment, u as unescapeHTML } from '../astro_8KdHu_Gf.mjs';
1
+ import { e as createAstro, f as createComponent, r as renderTemplate, h as addAttribute, l as renderComponent, n as Fragment, u as unescapeHTML } from '../astro_Cu3MZ9xv.mjs';
2
2
  import 'kleur/colors';
3
- import { K as loadRouteContext, M as $$BaseHead, L as $$Base, Q as FooterStamps, _ as _export_sfc, R as i19shoppingCart, $ as $$Picture } from './404_BPSxJtl3.mjs';
3
+ import { K as loadRouteContext, M as $$BaseHead, L as $$Base, Q as FooterStamps, _ as _export_sfc, R as i19shoppingCart, $ as $$Picture } from './404_CMwuVMu1.mjs';
4
4
  import { useSSRContext, defineComponent, resolveComponent, mergeProps, withCtx, renderSlot, createTextVNode, toDisplayString, createVNode } from 'vue';
5
5
  import { ssrRenderAttrs, ssrRenderComponent, ssrRenderSlot, ssrInterpolate, ssrRenderList } from 'vue/server-renderer';
6
6
 
7
- const cmsCustomCss = "body{[class*=FieldLabel]{font-size:13px;text-transform:none;font-weight:500;width:calc(100% - 30px);~input,~textarea{padding:12px 14px;border-width:1px}~[class*=ColorSwatch]~input{padding:16px 70px}~div[class*=\"83wr9v\"]{padding:14px}~div:not(:has([class*=TopBarContainer])){&:has([class$=-control]){border-width:1px;[class$=-control]{padding-left:4px}}&:has([class*=ImageWrapper]){border-width:1px}}}[class*=\"1qu85o2-FieldLabel\"]{background:none}[class*=TopBarContainer]{[class*=ExpandButtonContainer]{display:none}}[class*=ControlContainer]:has([class*=TopBarContainer]){>[class*=FieldLabel]{display:none}>div{border-radius:5px}}[class*=listControlItem]{[class*=ControlContainer]:first-of-type{margin-top:12px}[class*=DragIconContainer] [class*=IconWrapper]{width:26px;height:26px}}[class*=StyledListItemTopBar]{background-color:#dfdfe399;~div{border-color:#dfdfe399;border-width:1px}}[class*=NestedObjectLabel]{background-color:#dfdfe333}[class*=ControlContainer]{[class*=ImageWrapper]{width:100%;margin:0 0 12px}[class*=FileWidgetButton]{display:inline-block;margin:0 12px 0 0}[class*=FileWidgetButton-button]:not(:first-of-type){display:none}}.Pane.Pane1{max-width:600px}}";
7
+ const cmsCustomCss = "body{[class*=FieldLabel]{font-size:13px;text-transform:none;font-weight:500;width:calc(100% - 30px);>span{display:none}&[class*=\"1qu85o2\"]{background:none;&:has(span){color:#4b5563}&:not(:has(span)){color:#1f2937;font-weight:600}}~input,~textarea{padding:12px 14px;border-width:1px}~[class*=ColorSwatch]~input{padding:16px 70px}~div[class*=\"83wr9v\"]{padding:14px}~div:not(:has([class*=TopBarContainer])){&:has([class$=-control]){border-width:1px;[class$=-control]{padding-left:4px}}&:has([class*=ImageWrapper]){border-width:1px}}}[class*=TopBarContainer]{[class*=ExpandButtonContainer]{display:none}}[class*=ControlContainer]:has([class*=TopBarContainer]){>[class*=FieldLabel]{display:none}>div{border-radius:5px}}[class*=listControlItem]{[class*=ControlContainer]:first-of-type{margin-top:12px}[class*=DragIconContainer] [class*=IconWrapper]{width:26px;height:26px}}[class*=StyledListItemTopBar]{background-color:#dfdfe399;~div{border-color:#dfdfe399;border-width:1px}}[class*=NestedObjectLabel]{background-color:#dfdfe333}[class*=ControlContainer]{[class*=ImageWrapper]{width:100%;margin:0 0 12px}[class*=FileWidgetButton]{display:inline-block;margin:0 12px 0 0}[class*=FileWidgetButton-button]:not(:first-of-type){display:none}}.Pane.Pane1{max-width:600px}}";
8
8
 
9
9
  const $$Astro$1 = createAstro("https://demo.ecomplus.app");
10
10
  const $$Index$1 = createComponent(async ($$result, $$props, $$slots) => {
@@ -2,115 +2,9 @@ import { isAbsolute } from 'node:path';
2
2
  import { fileURLToPath } from 'node:url';
3
3
  import { isRemotePath } from '@astrojs/internal-helpers/path';
4
4
  import { readFile } from 'fs/promises';
5
- import { A as AstroError, I as InvalidImageService, c as isRemoteAllowed } from '../astro/assets-service_MW85B416.mjs';
6
- import { S as imageConfig, T as assetsDir, U as outDir } from './404_BPSxJtl3.mjs';
7
-
8
- function getDefaultExportFromCjs (x) {
9
- return x && x.__esModule && Object.prototype.hasOwnProperty.call(x, 'default') ? x['default'] : x;
10
- }
11
-
12
- /**
13
- * @param typeMap [Object] Map of MIME type -> Array[extensions]
14
- * @param ...
15
- */
16
- function Mime$1() {
17
- this._types = Object.create(null);
18
- this._extensions = Object.create(null);
19
-
20
- for (let i = 0; i < arguments.length; i++) {
21
- this.define(arguments[i]);
22
- }
23
-
24
- this.define = this.define.bind(this);
25
- this.getType = this.getType.bind(this);
26
- this.getExtension = this.getExtension.bind(this);
27
- }
28
-
29
- /**
30
- * Define mimetype -> extension mappings. Each key is a mime-type that maps
31
- * to an array of extensions associated with the type. The first extension is
32
- * used as the default extension for the type.
33
- *
34
- * e.g. mime.define({'audio/ogg', ['oga', 'ogg', 'spx']});
35
- *
36
- * If a type declares an extension that has already been defined, an error will
37
- * be thrown. To suppress this error and force the extension to be associated
38
- * with the new type, pass `force`=true. Alternatively, you may prefix the
39
- * extension with "*" to map the type to extension, without mapping the
40
- * extension to the type.
41
- *
42
- * e.g. mime.define({'audio/wav', ['wav']}, {'audio/x-wav', ['*wav']});
43
- *
44
- *
45
- * @param map (Object) type definitions
46
- * @param force (Boolean) if true, force overriding of existing definitions
47
- */
48
- Mime$1.prototype.define = function(typeMap, force) {
49
- for (let type in typeMap) {
50
- let extensions = typeMap[type].map(function(t) {
51
- return t.toLowerCase();
52
- });
53
- type = type.toLowerCase();
54
-
55
- for (let i = 0; i < extensions.length; i++) {
56
- const ext = extensions[i];
57
-
58
- // '*' prefix = not the preferred type for this extension. So fixup the
59
- // extension, and skip it.
60
- if (ext[0] === '*') {
61
- continue;
62
- }
63
-
64
- if (!force && (ext in this._types)) {
65
- throw new Error(
66
- 'Attempt to change mapping for "' + ext +
67
- '" extension from "' + this._types[ext] + '" to "' + type +
68
- '". Pass `force=true` to allow this, otherwise remove "' + ext +
69
- '" from the list of extensions for "' + type + '".'
70
- );
71
- }
72
-
73
- this._types[ext] = type;
74
- }
75
-
76
- // Use first extension as default
77
- if (force || !this._extensions[type]) {
78
- const ext = extensions[0];
79
- this._extensions[type] = (ext[0] !== '*') ? ext : ext.substr(1);
80
- }
81
- }
82
- };
83
-
84
- /**
85
- * Lookup a mime type based on extension
86
- */
87
- Mime$1.prototype.getType = function(path) {
88
- path = String(path);
89
- let last = path.replace(/^.*[/\\]/, '').toLowerCase();
90
- let ext = last.replace(/^.*\./, '').toLowerCase();
91
-
92
- let hasPath = last.length < path.length;
93
- let hasDot = ext.length < last.length - 1;
94
-
95
- return (hasDot || !hasPath) && this._types[ext] || null;
96
- };
97
-
98
- /**
99
- * Return file extension associated with a mime type
100
- */
101
- Mime$1.prototype.getExtension = function(type) {
102
- type = /^\s*([^;\s]*)/.test(type) && RegExp.$1;
103
- return type && this._extensions[type.toLowerCase()] || null;
104
- };
105
-
106
- var Mime_1 = Mime$1;
107
-
108
- var standard = {"application/andrew-inset":["ez"],"application/applixware":["aw"],"application/atom+xml":["atom"],"application/atomcat+xml":["atomcat"],"application/atomdeleted+xml":["atomdeleted"],"application/atomsvc+xml":["atomsvc"],"application/atsc-dwd+xml":["dwd"],"application/atsc-held+xml":["held"],"application/atsc-rsat+xml":["rsat"],"application/bdoc":["bdoc"],"application/calendar+xml":["xcs"],"application/ccxml+xml":["ccxml"],"application/cdfx+xml":["cdfx"],"application/cdmi-capability":["cdmia"],"application/cdmi-container":["cdmic"],"application/cdmi-domain":["cdmid"],"application/cdmi-object":["cdmio"],"application/cdmi-queue":["cdmiq"],"application/cu-seeme":["cu"],"application/dash+xml":["mpd"],"application/davmount+xml":["davmount"],"application/docbook+xml":["dbk"],"application/dssc+der":["dssc"],"application/dssc+xml":["xdssc"],"application/ecmascript":["es","ecma"],"application/emma+xml":["emma"],"application/emotionml+xml":["emotionml"],"application/epub+zip":["epub"],"application/exi":["exi"],"application/express":["exp"],"application/fdt+xml":["fdt"],"application/font-tdpfr":["pfr"],"application/geo+json":["geojson"],"application/gml+xml":["gml"],"application/gpx+xml":["gpx"],"application/gxf":["gxf"],"application/gzip":["gz"],"application/hjson":["hjson"],"application/hyperstudio":["stk"],"application/inkml+xml":["ink","inkml"],"application/ipfix":["ipfix"],"application/its+xml":["its"],"application/java-archive":["jar","war","ear"],"application/java-serialized-object":["ser"],"application/java-vm":["class"],"application/javascript":["js","mjs"],"application/json":["json","map"],"application/json5":["json5"],"application/jsonml+json":["jsonml"],"application/ld+json":["jsonld"],"application/lgr+xml":["lgr"],"application/lost+xml":["lostxml"],"application/mac-binhex40":["hqx"],"application/mac-compactpro":["cpt"],"application/mads+xml":["mads"],"application/manifest+json":["webmanifest"],"application/marc":["mrc"],"application/marcxml+xml":["mrcx"],"application/mathematica":["ma","nb","mb"],"application/mathml+xml":["mathml"],"application/mbox":["mbox"],"application/mediaservercontrol+xml":["mscml"],"application/metalink+xml":["metalink"],"application/metalink4+xml":["meta4"],"application/mets+xml":["mets"],"application/mmt-aei+xml":["maei"],"application/mmt-usd+xml":["musd"],"application/mods+xml":["mods"],"application/mp21":["m21","mp21"],"application/mp4":["mp4s","m4p"],"application/msword":["doc","dot"],"application/mxf":["mxf"],"application/n-quads":["nq"],"application/n-triples":["nt"],"application/node":["cjs"],"application/octet-stream":["bin","dms","lrf","mar","so","dist","distz","pkg","bpk","dump","elc","deploy","exe","dll","deb","dmg","iso","img","msi","msp","msm","buffer"],"application/oda":["oda"],"application/oebps-package+xml":["opf"],"application/ogg":["ogx"],"application/omdoc+xml":["omdoc"],"application/onenote":["onetoc","onetoc2","onetmp","onepkg"],"application/oxps":["oxps"],"application/p2p-overlay+xml":["relo"],"application/patch-ops-error+xml":["xer"],"application/pdf":["pdf"],"application/pgp-encrypted":["pgp"],"application/pgp-signature":["asc","sig"],"application/pics-rules":["prf"],"application/pkcs10":["p10"],"application/pkcs7-mime":["p7m","p7c"],"application/pkcs7-signature":["p7s"],"application/pkcs8":["p8"],"application/pkix-attr-cert":["ac"],"application/pkix-cert":["cer"],"application/pkix-crl":["crl"],"application/pkix-pkipath":["pkipath"],"application/pkixcmp":["pki"],"application/pls+xml":["pls"],"application/postscript":["ai","eps","ps"],"application/provenance+xml":["provx"],"application/pskc+xml":["pskcxml"],"application/raml+yaml":["raml"],"application/rdf+xml":["rdf","owl"],"application/reginfo+xml":["rif"],"application/relax-ng-compact-syntax":["rnc"],"application/resource-lists+xml":["rl"],"application/resource-lists-diff+xml":["rld"],"application/rls-services+xml":["rs"],"application/route-apd+xml":["rapd"],"application/route-s-tsid+xml":["sls"],"application/route-usd+xml":["rusd"],"application/rpki-ghostbusters":["gbr"],"application/rpki-manifest":["mft"],"application/rpki-roa":["roa"],"application/rsd+xml":["rsd"],"application/rss+xml":["rss"],"application/rtf":["rtf"],"application/sbml+xml":["sbml"],"application/scvp-cv-request":["scq"],"application/scvp-cv-response":["scs"],"application/scvp-vp-request":["spq"],"application/scvp-vp-response":["spp"],"application/sdp":["sdp"],"application/senml+xml":["senmlx"],"application/sensml+xml":["sensmlx"],"application/set-payment-initiation":["setpay"],"application/set-registration-initiation":["setreg"],"application/shf+xml":["shf"],"application/sieve":["siv","sieve"],"application/smil+xml":["smi","smil"],"application/sparql-query":["rq"],"application/sparql-results+xml":["srx"],"application/srgs":["gram"],"application/srgs+xml":["grxml"],"application/sru+xml":["sru"],"application/ssdl+xml":["ssdl"],"application/ssml+xml":["ssml"],"application/swid+xml":["swidtag"],"application/tei+xml":["tei","teicorpus"],"application/thraud+xml":["tfi"],"application/timestamped-data":["tsd"],"application/toml":["toml"],"application/trig":["trig"],"application/ttml+xml":["ttml"],"application/ubjson":["ubj"],"application/urc-ressheet+xml":["rsheet"],"application/urc-targetdesc+xml":["td"],"application/voicexml+xml":["vxml"],"application/wasm":["wasm"],"application/widget":["wgt"],"application/winhlp":["hlp"],"application/wsdl+xml":["wsdl"],"application/wspolicy+xml":["wspolicy"],"application/xaml+xml":["xaml"],"application/xcap-att+xml":["xav"],"application/xcap-caps+xml":["xca"],"application/xcap-diff+xml":["xdf"],"application/xcap-el+xml":["xel"],"application/xcap-ns+xml":["xns"],"application/xenc+xml":["xenc"],"application/xhtml+xml":["xhtml","xht"],"application/xliff+xml":["xlf"],"application/xml":["xml","xsl","xsd","rng"],"application/xml-dtd":["dtd"],"application/xop+xml":["xop"],"application/xproc+xml":["xpl"],"application/xslt+xml":["*xsl","xslt"],"application/xspf+xml":["xspf"],"application/xv+xml":["mxml","xhvml","xvml","xvm"],"application/yang":["yang"],"application/yin+xml":["yin"],"application/zip":["zip"],"audio/3gpp":["*3gpp"],"audio/adpcm":["adp"],"audio/amr":["amr"],"audio/basic":["au","snd"],"audio/midi":["mid","midi","kar","rmi"],"audio/mobile-xmf":["mxmf"],"audio/mp3":["*mp3"],"audio/mp4":["m4a","mp4a"],"audio/mpeg":["mpga","mp2","mp2a","mp3","m2a","m3a"],"audio/ogg":["oga","ogg","spx","opus"],"audio/s3m":["s3m"],"audio/silk":["sil"],"audio/wav":["wav"],"audio/wave":["*wav"],"audio/webm":["weba"],"audio/xm":["xm"],"font/collection":["ttc"],"font/otf":["otf"],"font/ttf":["ttf"],"font/woff":["woff"],"font/woff2":["woff2"],"image/aces":["exr"],"image/apng":["apng"],"image/avif":["avif"],"image/bmp":["bmp"],"image/cgm":["cgm"],"image/dicom-rle":["drle"],"image/emf":["emf"],"image/fits":["fits"],"image/g3fax":["g3"],"image/gif":["gif"],"image/heic":["heic"],"image/heic-sequence":["heics"],"image/heif":["heif"],"image/heif-sequence":["heifs"],"image/hej2k":["hej2"],"image/hsj2":["hsj2"],"image/ief":["ief"],"image/jls":["jls"],"image/jp2":["jp2","jpg2"],"image/jpeg":["jpeg","jpg","jpe"],"image/jph":["jph"],"image/jphc":["jhc"],"image/jpm":["jpm"],"image/jpx":["jpx","jpf"],"image/jxr":["jxr"],"image/jxra":["jxra"],"image/jxrs":["jxrs"],"image/jxs":["jxs"],"image/jxsc":["jxsc"],"image/jxsi":["jxsi"],"image/jxss":["jxss"],"image/ktx":["ktx"],"image/ktx2":["ktx2"],"image/png":["png"],"image/sgi":["sgi"],"image/svg+xml":["svg","svgz"],"image/t38":["t38"],"image/tiff":["tif","tiff"],"image/tiff-fx":["tfx"],"image/webp":["webp"],"image/wmf":["wmf"],"message/disposition-notification":["disposition-notification"],"message/global":["u8msg"],"message/global-delivery-status":["u8dsn"],"message/global-disposition-notification":["u8mdn"],"message/global-headers":["u8hdr"],"message/rfc822":["eml","mime"],"model/3mf":["3mf"],"model/gltf+json":["gltf"],"model/gltf-binary":["glb"],"model/iges":["igs","iges"],"model/mesh":["msh","mesh","silo"],"model/mtl":["mtl"],"model/obj":["obj"],"model/step+xml":["stpx"],"model/step+zip":["stpz"],"model/step-xml+zip":["stpxz"],"model/stl":["stl"],"model/vrml":["wrl","vrml"],"model/x3d+binary":["*x3db","x3dbz"],"model/x3d+fastinfoset":["x3db"],"model/x3d+vrml":["*x3dv","x3dvz"],"model/x3d+xml":["x3d","x3dz"],"model/x3d-vrml":["x3dv"],"text/cache-manifest":["appcache","manifest"],"text/calendar":["ics","ifb"],"text/coffeescript":["coffee","litcoffee"],"text/css":["css"],"text/csv":["csv"],"text/html":["html","htm","shtml"],"text/jade":["jade"],"text/jsx":["jsx"],"text/less":["less"],"text/markdown":["markdown","md"],"text/mathml":["mml"],"text/mdx":["mdx"],"text/n3":["n3"],"text/plain":["txt","text","conf","def","list","log","in","ini"],"text/richtext":["rtx"],"text/rtf":["*rtf"],"text/sgml":["sgml","sgm"],"text/shex":["shex"],"text/slim":["slim","slm"],"text/spdx":["spdx"],"text/stylus":["stylus","styl"],"text/tab-separated-values":["tsv"],"text/troff":["t","tr","roff","man","me","ms"],"text/turtle":["ttl"],"text/uri-list":["uri","uris","urls"],"text/vcard":["vcard"],"text/vtt":["vtt"],"text/xml":["*xml"],"text/yaml":["yaml","yml"],"video/3gpp":["3gp","3gpp"],"video/3gpp2":["3g2"],"video/h261":["h261"],"video/h263":["h263"],"video/h264":["h264"],"video/iso.segment":["m4s"],"video/jpeg":["jpgv"],"video/jpm":["*jpm","jpgm"],"video/mj2":["mj2","mjp2"],"video/mp2t":["ts"],"video/mp4":["mp4","mp4v","mpg4"],"video/mpeg":["mpeg","mpg","mpe","m1v","m2v"],"video/ogg":["ogv"],"video/quicktime":["qt","mov"],"video/webm":["webm"]};
109
-
110
- let Mime = Mime_1;
111
- var lite = new Mime(standard);
112
-
113
- const mime = /*@__PURE__*/getDefaultExportFromCjs(lite);
5
+ import mime from 'mime/lite.js';
6
+ import { A as AstroError, I as InvalidImageService, c as isRemoteAllowed } from '../astro/assets-service_DSoC_W52.mjs';
7
+ import { S as imageConfig, T as assetsDir, U as outDir } from './404_CMwuVMu1.mjs';
114
8
 
115
9
  const decoder = new TextDecoder();
116
10
  const toUTF8String = (input, start = 0, end = input.length) => decoder.decode(input.slice(start, end));
@@ -636,7 +530,6 @@ const units = {
636
530
  px: 1
637
531
  };
638
532
  const unitsReg = new RegExp(
639
- // eslint-disable-next-line regexp/prefer-d
640
533
  `^([0-9.]+(?:e\\d+)?)(${Object.keys(units).join("|")})?$`
641
534
  );
642
535
  function parseLength(len) {
@@ -857,7 +750,7 @@ async function getConfiguredImageService() {
857
750
  if (!globalThis?.astroAsset?.imageService) {
858
751
  const { default: service } = await import(
859
752
  // @ts-expect-error
860
- '../astro/assets-service_MW85B416.mjs'
753
+ '../astro/assets-service_DSoC_W52.mjs'
861
754
  ).then(n => n.s).catch((e) => {
862
755
  const error = new AstroError(InvalidImageService);
863
756
  error.cause = e;
@@ -1,6 +1,6 @@
1
- import { e as createAstro, f as createComponent, r as renderTemplate, h as addAttribute, l as renderComponent, n as Fragment } from '../astro_8KdHu_Gf.mjs';
1
+ import { e as createAstro, f as createComponent, r as renderTemplate, h as addAttribute, l as renderComponent, n as Fragment } from '../astro_Cu3MZ9xv.mjs';
2
2
  import 'kleur/colors';
3
- import { K as loadRouteContext, M as $$BaseHead, V as i19error, N as $$PageHeader, W as $$Fallback, O as $$PageFooter, L as $$Base } from './404_BPSxJtl3.mjs';
3
+ import { K as loadRouteContext, M as $$BaseHead, V as i19error, N as $$PageHeader, W as $$Fallback, O as $$PageFooter, L as $$Base } from './404_CMwuVMu1.mjs';
4
4
 
5
5
  const $$Astro = createAstro("https://demo.ecomplus.app");
6
6
  const $$fallback = createComponent(async ($$result, $$props, $$slots) => {
@@ -1,5 +1,5 @@
1
1
  export { renderers } from '../renderers.mjs';
2
2
 
3
- const page = () => import('./pages/~fallback_BVYzgZ5p.mjs');
3
+ const page = () => import('./pages/~fallback_D2ugBVgc.mjs');
4
4
 
5
5
  export { page };
@@ -1,10 +1,10 @@
1
1
  import { renderers } from './renderers.mjs';
2
- import { l as levels, g as getEventPrefix, L as Logger, A as AstroIntegrationLogger, manifest } from './manifest_S9lE9v48.mjs';
2
+ import { l as levels, g as getEventPrefix, L as Logger, A as AstroIntegrationLogger, manifest } from './manifest_D4v8KX-D.mjs';
3
3
  import { appendForwardSlash as appendForwardSlash$1, joinPaths, trimSlashes, fileExtension, slash, prependForwardSlash as prependForwardSlash$1, removeTrailingForwardSlash, collapseDuplicateSlashes } from '@astrojs/internal-helpers/path';
4
- import { A as AstroError, R as ResponseSentError, o as MiddlewareNoDataOrNextCalled, p as MiddlewareNotAResponse, q as ROUTE_TYPE_HEADER, t as REROUTE_DIRECTIVE_HEADER, G as GetStaticPathsRequired, v as InvalidGetStaticPathsReturn, w as InvalidGetStaticPathsEntry, x as GetStaticPathsExpectedParams, y as GetStaticPathsInvalidRouteParam, P as PageNumberParamNotFound, D as DEFAULT_404_COMPONENT, N as NoMatchingStaticPathFound, z as PrerenderDynamicEndpointPathCollide, B as ReservedSlotName, i as renderSlotToString, C as renderJSX, H as chunkToString, J as LocalsNotAnObject, K as clientLocalsSymbol, O as clientAddressSymbol$1, Q as ClientAddressNotAvailable, S as StaticClientAddressNotAvailable, T as ASTRO_VERSION, V as responseSentSymbol$1, W as AstroResponseHeadersReassigned, X as renderPage, Y as renderEndpoint, Z as REROUTABLE_STATUS_CODES } from './chunks/astro_8KdHu_Gf.mjs';
4
+ import { A as AstroError, R as ResponseSentError, o as MiddlewareNoDataOrNextCalled, p as MiddlewareNotAResponse, q as ROUTE_TYPE_HEADER, t as REROUTE_DIRECTIVE_HEADER, G as GetStaticPathsRequired, v as InvalidGetStaticPathsReturn, w as InvalidGetStaticPathsEntry, x as GetStaticPathsExpectedParams, y as GetStaticPathsInvalidRouteParam, P as PageNumberParamNotFound, D as DEFAULT_404_COMPONENT, N as NoMatchingStaticPathFound, z as PrerenderDynamicEndpointPathCollide, B as ReservedSlotName, i as renderSlotToString, C as renderJSX, H as chunkToString, J as LocalsNotAnObject, K as clientLocalsSymbol, O as clientAddressSymbol$1, Q as ClientAddressNotAvailable, S as StaticClientAddressNotAvailable, T as ASTRO_VERSION, V as responseSentSymbol$1, W as AstroResponseHeadersReassigned, X as renderPage, Y as renderEndpoint, Z as REROUTABLE_STATUS_CODES } from './chunks/astro_Cu3MZ9xv.mjs';
5
5
  import { serialize, parse } from 'cookie';
6
6
  import 'clsx';
7
- import { s as sequence, o as onRequest } from './chunks/_astro-internal_middleware_DIG56BhA.mjs';
7
+ import { s as sequence, o as onRequest } from './chunks/_astro-internal_middleware_CqUpziyW.mjs';
8
8
  import 'kleur/colors';
9
9
  import { AsyncLocalStorage } from 'node:async_hooks';
10
10
  import https$1 from 'https';
@@ -1858,8 +1858,9 @@ class NodeApp extends App {
1858
1858
  */
1859
1859
  static createRequest(req, { skipBody = false } = {}) {
1860
1860
  const protocol = req.headers["x-forwarded-proto"] ?? ("encrypted" in req.socket && req.socket.encrypted ? "https" : "http");
1861
- const hostname = req.headers.host || req.headers[":authority"];
1862
- const url = `${protocol}://${hostname}${req.url}`;
1861
+ const hostname = req.headers["x-forwarded-host"] ?? req.headers.host ?? req.headers[":authority"];
1862
+ const port = req.headers["x-forwarded-port"];
1863
+ const url = `${protocol}://${hostname}${port ? `:${port}` : ""}${req.url}`;
1863
1864
  const options = {
1864
1865
  method: req.method || "GET",
1865
1866
  headers: makeRequestHeaders(req)
@@ -2257,16 +2258,16 @@ const serverEntrypointModule = /*#__PURE__*/Object.freeze(/*#__PURE__*/Object.de
2257
2258
  start
2258
2259
  }, Symbol.toStringTag, { value: 'Module' }));
2259
2260
 
2260
- const _page0 = () => import('./chunks/node_Khrf-0bH.mjs');
2261
- const _page1 = () => import('./chunks/~fallback_xH9bJF7E.mjs');
2262
- const _page2 = () => import('./chunks/404_jTV5wvby.mjs');
2263
- const _page3 = () => import('./chunks/index_D1o9pXka.mjs');
2264
- const _page4 = () => import('./chunks/account_BZOa6Kmc.mjs');
2265
- const _page5 = () => import('./chunks/index_CZ6FSUEb.mjs');
2266
- const _page6 = () => import('./chunks/_page__BKNX3RH7.mjs');
2267
- const _page7 = () => import('./chunks/_.._k1NruPDv.mjs');
2261
+ const _page0 = () => import('./chunks/node_lZaNT3E1.mjs');
2262
+ const _page1 = () => import('./chunks/~fallback_CrFe__-f.mjs');
2263
+ const _page2 = () => import('./chunks/404_BcY_5eJJ.mjs');
2264
+ const _page3 = () => import('./chunks/index_BKS_40rA.mjs');
2265
+ const _page4 = () => import('./chunks/account_tfs9KFTy.mjs');
2266
+ const _page5 = () => import('./chunks/index_CGzMgZTN.mjs');
2267
+ const _page6 = () => import('./chunks/_page__Dz-iZHMh.mjs');
2268
+ const _page7 = () => import('./chunks/_.._Bt6Uzpk2.mjs');
2268
2269
  const pageMap = new Map([
2269
- ["../../node_modules/.pnpm/astro@4.5.12_@types+node@18.19.28_typescript@5.4.3/node_modules/astro/dist/assets/endpoint/node.js", _page0],
2270
+ ["../../node_modules/.pnpm/astro@4.5.15_@types+node@18.19.28_typescript@5.4.3/node_modules/astro/dist/assets/endpoint/node.js", _page0],
2270
2271
  ["src/pages/~fallback.astro", _page1],
2271
2272
  ["src/pages/404.astro", _page2],
2272
2273
  ["src/pages/admin/index.astro", _page3],
@@ -2,7 +2,7 @@ import '@astrojs/internal-helpers/path';
2
2
  import 'cookie';
3
3
  import { bold, red, yellow, dim, blue } from 'kleur/colors';
4
4
  import 'string-width';
5
- import './chunks/astro_8KdHu_Gf.mjs';
5
+ import './chunks/astro_Cu3MZ9xv.mjs';
6
6
  import 'clsx';
7
7
  import { compile } from 'path-to-regexp';
8
8
 
@@ -201,6 +201,6 @@ function deserializeManifest(serializedManifest) {
201
201
  };
202
202
  }
203
203
 
204
- const manifest = deserializeManifest({"adapterName":"@astrojs/node","routes":[{"file":"","links":[],"scripts":[{"type":"external","value":"/_astro/page.FdSlRisw.js"}],"styles":[],"routeData":{"type":"endpoint","isIndex":false,"route":"/_image","pattern":"^\\/_image$","segments":[[{"content":"_image","dynamic":false,"spread":false}]],"params":[],"component":"../../node_modules/.pnpm/astro@4.5.12_@types+node@18.19.28_typescript@5.4.3/node_modules/astro/dist/assets/endpoint/node.js","pathname":"/_image","prerender":false,"fallbackRoutes":[],"_meta":{"trailingSlash":"ignore"}}},{"file":"","links":[],"scripts":[{"type":"external","value":"/_astro/hoisted.BeKMioW4.js"},{"type":"external","value":"/_astro/page.FdSlRisw.js"}],"styles":[{"type":"external","src":"/_astro/_slug_.HhgCFKHv.css"}],"routeData":{"route":"/~fallback","isIndex":false,"type":"page","pattern":"^\\/~fallback\\/?$","segments":[[{"content":"~fallback","dynamic":false,"spread":false}]],"params":[],"component":"src/pages/~fallback.astro","pathname":"/~fallback","prerender":false,"fallbackRoutes":[],"_meta":{"trailingSlash":"ignore"}}},{"file":"","links":[],"scripts":[{"type":"external","value":"/_astro/hoisted.BeKMioW4.js"},{"type":"external","value":"/_astro/page.FdSlRisw.js"}],"styles":[{"type":"external","src":"/_astro/_slug_.HhgCFKHv.css"}],"routeData":{"route":"/404","isIndex":false,"type":"page","pattern":"^\\/404\\/?$","segments":[[{"content":"404","dynamic":false,"spread":false}]],"params":[],"component":"src/pages/404.astro","pathname":"/404","prerender":false,"fallbackRoutes":[],"_meta":{"trailingSlash":"ignore"}}},{"file":"","links":[],"scripts":[{"type":"external","value":"/_astro/hoisted.CSjieYcR.js"},{"type":"external","value":"/_astro/page.FdSlRisw.js"}],"styles":[{"type":"external","src":"/_astro/_slug_.HhgCFKHv.css"}],"routeData":{"route":"/admin","isIndex":true,"type":"page","pattern":"^\\/admin\\/?$","segments":[[{"content":"admin","dynamic":false,"spread":false}]],"params":[],"component":"src/pages/admin/index.astro","pathname":"/admin","prerender":false,"fallbackRoutes":[],"_meta":{"trailingSlash":"ignore"}}},{"file":"","links":[],"scripts":[{"type":"external","value":"/_astro/hoisted.BeKMioW4.js"},{"type":"external","value":"/_astro/page.FdSlRisw.js"}],"styles":[{"type":"external","src":"/_astro/_slug_.HhgCFKHv.css"}],"routeData":{"route":"/app/account","isIndex":false,"type":"page","pattern":"^\\/app\\/account\\/?$","segments":[[{"content":"app","dynamic":false,"spread":false}],[{"content":"account","dynamic":false,"spread":false}]],"params":[],"component":"src/pages/app/account.astro","pathname":"/app/account","prerender":false,"fallbackRoutes":[],"_meta":{"trailingSlash":"ignore"}}},{"file":"","links":[],"scripts":[{"type":"external","value":"/_astro/hoisted.Bf1gCkSN.js"},{"type":"external","value":"/_astro/page.FdSlRisw.js"}],"styles":[{"type":"external","src":"/_astro/_slug_.HhgCFKHv.css"}],"routeData":{"route":"/app","isIndex":true,"type":"page","pattern":"^\\/app\\/?$","segments":[[{"content":"app","dynamic":false,"spread":false}]],"params":[],"component":"src/pages/app/index.astro","pathname":"/app","prerender":false,"fallbackRoutes":[],"_meta":{"trailingSlash":"ignore"}}},{"file":"","links":[],"scripts":[{"type":"external","value":"/_astro/hoisted.BeKMioW4.js"},{"type":"external","value":"/_astro/page.FdSlRisw.js"}],"styles":[{"type":"external","src":"/_astro/_slug_.HhgCFKHv.css"}],"routeData":{"route":"/blog/[page]","isIndex":false,"type":"page","pattern":"^\\/blog\\/([^/]+?)\\/?$","segments":[[{"content":"blog","dynamic":false,"spread":false}],[{"content":"page","dynamic":true,"spread":false}]],"params":["page"],"component":"src/pages/blog/[page].astro","prerender":false,"fallbackRoutes":[],"_meta":{"trailingSlash":"ignore"}}},{"file":"","links":[],"scripts":[{"type":"external","value":"/_astro/hoisted.BeKMioW4.js"},{"type":"external","value":"/_astro/page.FdSlRisw.js"}],"styles":[{"type":"external","src":"/_astro/_slug_.HhgCFKHv.css"}],"routeData":{"route":"/[...slug]","isIndex":false,"type":"page","pattern":"^(?:\\/(.*?))?\\/?$","segments":[[{"content":"...slug","dynamic":true,"spread":true}]],"params":["...slug"],"component":"src/pages/[...slug].astro","prerender":false,"fallbackRoutes":[],"_meta":{"trailingSlash":"ignore"}}}],"site":"https://demo.ecomplus.app","base":"/","trailingSlash":"ignore","compressHTML":false,"componentMetadata":[],"renderers":[],"clientDirectives":[["idle","(()=>{var i=t=>{let e=async()=>{await(await t())()};\"requestIdleCallback\"in window?window.requestIdleCallback(e):setTimeout(e,200)};(self.Astro||(self.Astro={})).idle=i;window.dispatchEvent(new Event(\"astro:idle\"));})();"],["load","(()=>{var e=async t=>{await(await t())()};(self.Astro||(self.Astro={})).load=e;window.dispatchEvent(new Event(\"astro:load\"));})();"],["media","(()=>{var s=(i,t)=>{let a=async()=>{await(await i())()};if(t.value){let e=matchMedia(t.value);e.matches?a():e.addEventListener(\"change\",a,{once:!0})}};(self.Astro||(self.Astro={})).media=s;window.dispatchEvent(new Event(\"astro:media\"));})();"],["only","(()=>{var e=async t=>{await(await t())()};(self.Astro||(self.Astro={})).only=e;window.dispatchEvent(new Event(\"astro:only\"));})();"],["visible","(()=>{var l=(s,i,o)=>{let r=async()=>{await(await s())()},t=typeof i.value==\"object\"?i.value:void 0,c={rootMargin:t==null?void 0:t.rootMargin},n=new IntersectionObserver(e=>{for(let a of e)if(a.isIntersecting){n.disconnect(),r();break}},c);for(let e of o.children)n.observe(e)};(self.Astro||(self.Astro={})).visible=l;window.dispatchEvent(new Event(\"astro:visible\"));})();"],["sf","(()=>{var v=i=>new Promise(n=>{let r={},t=new IntersectionObserver(o=>{for(let c of o)if(c.isIntersecting){t.disconnect(),n();break}},r);for(let o of i.children)t.observe(o)}),l=new Promise(i=>{let n=new AbortController;[\"keydown\",\"mousemove\",\"pointerdown\",\"touchstart\",\"scroll\"].forEach(r=>{document.addEventListener(r,()=>{i(),n.abort(),window.dispatchEvent(new Event(\"firstInteraction\"))},{once:!0,passive:!0,signal:n.signal})})});window.$firstInteraction=l;var w=(i,n,r)=>{let t=(Array.isArray(n.value)?n.value:[n.value]).reduce((e,s)=>(typeof s==\"string\"&&s.split(\",\").forEach(u=>{e.push(u)}),e),[]),o=!t.length||t.includes(\"lazy\"),c=!o&&t.includes(\"eager\"),d=async()=>{t.includes(\"interaction\")&&await l,await(await i())()},a=async()=>{for(let e=0;e<t.length;e++)if(typeof t[e]==\"string\"&&t[e].startsWith(\"data:\")){let s=t[e].substring(5);if(!window.$storefront?.data?.[s]){window.addEventListener(`storefront:data:${s}`,a,{once:!0});return}}if(o&&await v(r),o||t.includes(\"idle\")){if(typeof window.requestIdleCallback==\"function\"){window.requestIdleCallback(d);return}setTimeout(d,100);return}d()};if(c){a();return}let f=window.$storefront?.apiContext?.doc._id||null;if(window._firstLoadContextId===f&&window._emitedContextId===f){a();return}window.addEventListener(\"storefront:apiContext\",a,{once:!0})};(self.Astro||(self.Astro={})).sf=w;window.dispatchEvent(new Event(\"astro:sf\"));})();\n"]],"entryModules":{"\u0000astro-internal:middleware":"_astro-internal_middleware.mjs","\u0000@astrojs-ssr-virtual-entry":"entry.mjs","\u0000@astro-renderers":"renderers.mjs","/src/pages/blog/[page].astro":"chunks/pages/_page__BasreLue.mjs","/src/pages/app/account.astro":"chunks/pages/account_MZBvNAyZ.mjs","/../../node_modules/.pnpm/astro@4.5.12_@types+node@18.19.28_typescript@5.4.3/node_modules/astro/dist/assets/endpoint/node.js":"chunks/pages/node_1tKTIKG-.mjs","/src/pages/~fallback.astro":"chunks/pages/~fallback_BVYzgZ5p.mjs","\u0000@astrojs-manifest":"manifest_S9lE9v48.mjs","\u0000@astro-page:../../node_modules/.pnpm/astro@4.5.12_@types+node@18.19.28_typescript@5.4.3/node_modules/astro/dist/assets/endpoint/node@_@js":"chunks/node_Khrf-0bH.mjs","\u0000@astro-page:src/pages/~fallback@_@astro":"chunks/~fallback_xH9bJF7E.mjs","\u0000@astro-page:src/pages/404@_@astro":"chunks/404_jTV5wvby.mjs","\u0000@astro-page:src/pages/admin/index@_@astro":"chunks/index_D1o9pXka.mjs","\u0000@astro-page:src/pages/app/account@_@astro":"chunks/account_BZOa6Kmc.mjs","\u0000@astro-page:src/pages/app/index@_@astro":"chunks/index_CZ6FSUEb.mjs","\u0000@astro-page:src/pages/blog/[page]@_@astro":"chunks/_page__BKNX3RH7.mjs","\u0000@astro-page:src/pages/[...slug]@_@astro":"chunks/_.._k1NruPDv.mjs","/home/leo/code/ecomplus/cloud-commerce/packages/storefront/src/components/SearchModal.vue":"_astro/SearchModal.DWNSfxML.js","/home/leo/code/ecomplus/cloud-commerce/packages/storefront/src/components/CartSidebar.vue":"_astro/CartSidebar.DAvJKL2c.js","/home/leo/code/ecomplus/cloud-commerce/node_modules/photoswipe/dist/photoswipe.css?inline":"_astro/photoswipe.CNpEZKfy.js","astro:scripts/page.js":"_astro/page.FdSlRisw.js","/astro/hoisted.js?q=1":"_astro/hoisted.Bf1gCkSN.js","~/components/PitchBar.vue":"_astro/PitchBar.CEGsee2q.js","/home/leo/code/ecomplus/cloud-commerce/packages/storefront/src/lib/scripts/firebase-app.ts":"_astro/firebase-app.CmI1zl7o.js","/astro/hoisted.js?q=2":"_astro/hoisted.BeKMioW4.js","~/components/HeroSlider.vue":"_astro/HeroSlider.DyjSOy4Q.js","~/components/AccountPage.vue":"_astro/AccountPage.Cf0WE6GF.js","~/components/ProductDetails.vue":"_astro/ProductDetails.BpZtnS8j.js","~/components/ProductShelf.vue":"_astro/ProductShelf.C0TU_sRb.js","/home/leo/code/ecomplus/cloud-commerce/node_modules/photoswipe/dist/photoswipe-lightbox.esm.js":"_astro/photoswipe-lightbox.esm.BbYxSZIB.js","/astro/hoisted.js?q=0":"_astro/hoisted.CSjieYcR.js","~/components/ShopHeader.vue":"_astro/ShopHeader.D7qqQxFD.js","@astrojs/vue/client.js":"_astro/client.D_V8TfA5.js","~/components/SearchShowcase.vue":"_astro/SearchShowcase.CUkbXIRk.js","/home/leo/code/ecomplus/cloud-commerce/node_modules/photoswipe/dist/photoswipe.esm.js":"_astro/photoswipe.esm.C0FT-EY-.js","astro:scripts/before-hydration.js":""},"inlinedScripts":[],"assets":["/_astro/_slug_.HhgCFKHv.css","/robots.txt","/_astro/AccountPage.Cf0WE6GF.js","/_astro/CartSidebar.DAvJKL2c.js","/_astro/HeroSlider.DyjSOy4Q.js","/_astro/PitchBar.CEGsee2q.js","/_astro/Prices.9RhV7hCY.js","/_astro/ProductDetails.BpZtnS8j.js","/_astro/ProductShelf.C0TU_sRb.js","/_astro/SearchModal.DWNSfxML.js","/_astro/SearchShowcase.CUkbXIRk.js","/_astro/ShippingCalculator.DZSCK4xv.js","/_astro/ShopHeader.D7qqQxFD.js","/_astro/_commonjsHelpers.Cpj98o6Y.js","/_astro/_plugin-vue_export-helper.6K9uDcVo.js","/_astro/afetch.DPLba2tr.js","/_astro/client.D_V8TfA5.js","/_astro/customer-session.Cctko5_9.js","/_astro/firebase-app.CmI1zl7o.js","/_astro/format-money.D19_eJVX.js","/_astro/grid-title.CZdq2sDS.js","/_astro/hoisted.BeKMioW4.js","/_astro/hoisted.Bf1gCkSN.js","/_astro/hoisted.CSjieYcR.js","/_astro/i18n.DPcLqMFO.js","/_astro/img-sizes.rFK7so02.js","/_astro/img.Be85e5da.js","/_astro/index-a8cf6c8f.k99a-gIB.js","/_astro/index.BCNoXz_Z.js","/_astro/index.BgtOIB20.js","/_astro/index.DlxZwqDP.js","/_astro/modules-info.BswYf_-7.js","/_astro/name.Dll7Wwmg.js","/_astro/page.FdSlRisw.js","/_astro/photoswipe-lightbox.esm.BbYxSZIB.js","/_astro/photoswipe.CNpEZKfy.js","/_astro/photoswipe.esm.C0FT-EY-.js","/_astro/price.CHiL6Z1J.js","/_astro/sf-utils.C9ygvYIB.js","/_astro/shopping-cart.Cqc6p5UR.js","/_astro/use-analytics.bP3a5cR0.js","/_astro/use-cms-preview.BxKK4a1X.js","/_astro/use-product-card.Cj9Q-Y1A.js","/_astro/use-text-value.DT0v9Yj_.js","/img/icon.png","/img/large-icon.png","/img/uploads/banner2.webp","/img/uploads/ecom-icon.png","/img/uploads/headphone.webp","/img/uploads/logo.png","/img/uploads/og-image.png","/img/uploads/passion.webp","/img/uploads/rect8589.png","/img/uploads/rect859.png","/img/uploads/rect89.webp","/_astro/page.FdSlRisw.js"],"buildFormat":"directory"});
204
+ const manifest = deserializeManifest({"adapterName":"@astrojs/node","routes":[{"file":"","links":[],"scripts":[{"type":"external","value":"/_astro/page.FdSlRisw.js"}],"styles":[],"routeData":{"type":"endpoint","isIndex":false,"route":"/_image","pattern":"^\\/_image$","segments":[[{"content":"_image","dynamic":false,"spread":false}]],"params":[],"component":"../../node_modules/.pnpm/astro@4.5.15_@types+node@18.19.28_typescript@5.4.3/node_modules/astro/dist/assets/endpoint/node.js","pathname":"/_image","prerender":false,"fallbackRoutes":[],"_meta":{"trailingSlash":"ignore"}}},{"file":"","links":[],"scripts":[{"type":"external","value":"/_astro/hoisted.BeKMioW4.js"},{"type":"external","value":"/_astro/page.FdSlRisw.js"}],"styles":[{"type":"external","src":"/_astro/_slug_.HhgCFKHv.css"}],"routeData":{"route":"/~fallback","isIndex":false,"type":"page","pattern":"^\\/~fallback\\/?$","segments":[[{"content":"~fallback","dynamic":false,"spread":false}]],"params":[],"component":"src/pages/~fallback.astro","pathname":"/~fallback","prerender":false,"fallbackRoutes":[],"_meta":{"trailingSlash":"ignore"}}},{"file":"","links":[],"scripts":[{"type":"external","value":"/_astro/hoisted.BeKMioW4.js"},{"type":"external","value":"/_astro/page.FdSlRisw.js"}],"styles":[{"type":"external","src":"/_astro/_slug_.HhgCFKHv.css"}],"routeData":{"route":"/404","isIndex":false,"type":"page","pattern":"^\\/404\\/?$","segments":[[{"content":"404","dynamic":false,"spread":false}]],"params":[],"component":"src/pages/404.astro","pathname":"/404","prerender":false,"fallbackRoutes":[],"_meta":{"trailingSlash":"ignore"}}},{"file":"","links":[],"scripts":[{"type":"external","value":"/_astro/hoisted.-C0vLMXT.js"},{"type":"external","value":"/_astro/page.FdSlRisw.js"}],"styles":[{"type":"external","src":"/_astro/_slug_.HhgCFKHv.css"}],"routeData":{"route":"/admin","isIndex":true,"type":"page","pattern":"^\\/admin\\/?$","segments":[[{"content":"admin","dynamic":false,"spread":false}]],"params":[],"component":"src/pages/admin/index.astro","pathname":"/admin","prerender":false,"fallbackRoutes":[],"_meta":{"trailingSlash":"ignore"}}},{"file":"","links":[],"scripts":[{"type":"external","value":"/_astro/hoisted.BeKMioW4.js"},{"type":"external","value":"/_astro/page.FdSlRisw.js"}],"styles":[{"type":"external","src":"/_astro/_slug_.HhgCFKHv.css"}],"routeData":{"route":"/app/account","isIndex":false,"type":"page","pattern":"^\\/app\\/account\\/?$","segments":[[{"content":"app","dynamic":false,"spread":false}],[{"content":"account","dynamic":false,"spread":false}]],"params":[],"component":"src/pages/app/account.astro","pathname":"/app/account","prerender":false,"fallbackRoutes":[],"_meta":{"trailingSlash":"ignore"}}},{"file":"","links":[],"scripts":[{"type":"external","value":"/_astro/hoisted.Bf1gCkSN.js"},{"type":"external","value":"/_astro/page.FdSlRisw.js"}],"styles":[{"type":"external","src":"/_astro/_slug_.HhgCFKHv.css"}],"routeData":{"route":"/app","isIndex":true,"type":"page","pattern":"^\\/app\\/?$","segments":[[{"content":"app","dynamic":false,"spread":false}]],"params":[],"component":"src/pages/app/index.astro","pathname":"/app","prerender":false,"fallbackRoutes":[],"_meta":{"trailingSlash":"ignore"}}},{"file":"","links":[],"scripts":[{"type":"external","value":"/_astro/hoisted.BeKMioW4.js"},{"type":"external","value":"/_astro/page.FdSlRisw.js"}],"styles":[{"type":"external","src":"/_astro/_slug_.HhgCFKHv.css"}],"routeData":{"route":"/blog/[page]","isIndex":false,"type":"page","pattern":"^\\/blog\\/([^/]+?)\\/?$","segments":[[{"content":"blog","dynamic":false,"spread":false}],[{"content":"page","dynamic":true,"spread":false}]],"params":["page"],"component":"src/pages/blog/[page].astro","prerender":false,"fallbackRoutes":[],"_meta":{"trailingSlash":"ignore"}}},{"file":"","links":[],"scripts":[{"type":"external","value":"/_astro/hoisted.BeKMioW4.js"},{"type":"external","value":"/_astro/page.FdSlRisw.js"}],"styles":[{"type":"external","src":"/_astro/_slug_.HhgCFKHv.css"}],"routeData":{"route":"/[...slug]","isIndex":false,"type":"page","pattern":"^(?:\\/(.*?))?\\/?$","segments":[[{"content":"...slug","dynamic":true,"spread":true}]],"params":["...slug"],"component":"src/pages/[...slug].astro","prerender":false,"fallbackRoutes":[],"_meta":{"trailingSlash":"ignore"}}}],"site":"https://demo.ecomplus.app","base":"/","trailingSlash":"ignore","compressHTML":false,"componentMetadata":[],"renderers":[],"clientDirectives":[["idle","(()=>{var i=t=>{let e=async()=>{await(await t())()};\"requestIdleCallback\"in window?window.requestIdleCallback(e):setTimeout(e,200)};(self.Astro||(self.Astro={})).idle=i;window.dispatchEvent(new Event(\"astro:idle\"));})();"],["load","(()=>{var e=async t=>{await(await t())()};(self.Astro||(self.Astro={})).load=e;window.dispatchEvent(new Event(\"astro:load\"));})();"],["media","(()=>{var s=(i,t)=>{let a=async()=>{await(await i())()};if(t.value){let e=matchMedia(t.value);e.matches?a():e.addEventListener(\"change\",a,{once:!0})}};(self.Astro||(self.Astro={})).media=s;window.dispatchEvent(new Event(\"astro:media\"));})();"],["only","(()=>{var e=async t=>{await(await t())()};(self.Astro||(self.Astro={})).only=e;window.dispatchEvent(new Event(\"astro:only\"));})();"],["visible","(()=>{var l=(s,i,o)=>{let r=async()=>{await(await s())()},t=typeof i.value==\"object\"?i.value:void 0,c={rootMargin:t==null?void 0:t.rootMargin},n=new IntersectionObserver(e=>{for(let a of e)if(a.isIntersecting){n.disconnect(),r();break}},c);for(let e of o.children)n.observe(e)};(self.Astro||(self.Astro={})).visible=l;window.dispatchEvent(new Event(\"astro:visible\"));})();"],["sf","(()=>{var v=i=>new Promise(n=>{let r={},t=new IntersectionObserver(o=>{for(let c of o)if(c.isIntersecting){t.disconnect(),n();break}},r);for(let o of i.children)t.observe(o)}),l=new Promise(i=>{let n=new AbortController;[\"keydown\",\"mousemove\",\"pointerdown\",\"touchstart\",\"scroll\"].forEach(r=>{document.addEventListener(r,()=>{i(),n.abort(),window.dispatchEvent(new Event(\"firstInteraction\"))},{once:!0,passive:!0,signal:n.signal})})});window.$firstInteraction=l;var w=(i,n,r)=>{let t=(Array.isArray(n.value)?n.value:[n.value]).reduce((e,s)=>(typeof s==\"string\"&&s.split(\",\").forEach(u=>{e.push(u)}),e),[]),o=!t.length||t.includes(\"lazy\"),c=!o&&t.includes(\"eager\"),d=async()=>{t.includes(\"interaction\")&&await l,await(await i())()},a=async()=>{for(let e=0;e<t.length;e++)if(typeof t[e]==\"string\"&&t[e].startsWith(\"data:\")){let s=t[e].substring(5);if(!window.$storefront?.data?.[s]){window.addEventListener(`storefront:data:${s}`,a,{once:!0});return}}if(o&&await v(r),o||t.includes(\"idle\")){if(typeof window.requestIdleCallback==\"function\"){window.requestIdleCallback(d);return}setTimeout(d,100);return}d()};if(c){a();return}let f=window.$storefront?.apiContext?.doc._id||null;if(window._firstLoadContextId===f&&window._emitedContextId===f){a();return}window.addEventListener(\"storefront:apiContext\",a,{once:!0})};(self.Astro||(self.Astro={})).sf=w;window.dispatchEvent(new Event(\"astro:sf\"));})();\n"]],"entryModules":{"\u0000astro-internal:middleware":"_astro-internal_middleware.mjs","\u0000@astrojs-ssr-virtual-entry":"entry.mjs","\u0000@astro-renderers":"renderers.mjs","/src/pages/blog/[page].astro":"chunks/pages/_page__C1x19nYF.mjs","/src/pages/app/account.astro":"chunks/pages/account_B5Z6wDBy.mjs","/../../node_modules/.pnpm/astro@4.5.15_@types+node@18.19.28_typescript@5.4.3/node_modules/astro/dist/assets/endpoint/node.js":"chunks/pages/node_mvX6Tssv.mjs","/src/pages/~fallback.astro":"chunks/pages/~fallback_D2ugBVgc.mjs","\u0000@astrojs-manifest":"manifest_D4v8KX-D.mjs","\u0000@astro-page:../../node_modules/.pnpm/astro@4.5.15_@types+node@18.19.28_typescript@5.4.3/node_modules/astro/dist/assets/endpoint/node@_@js":"chunks/node_lZaNT3E1.mjs","\u0000@astro-page:src/pages/~fallback@_@astro":"chunks/~fallback_CrFe__-f.mjs","\u0000@astro-page:src/pages/404@_@astro":"chunks/404_BcY_5eJJ.mjs","\u0000@astro-page:src/pages/admin/index@_@astro":"chunks/index_BKS_40rA.mjs","\u0000@astro-page:src/pages/app/account@_@astro":"chunks/account_tfs9KFTy.mjs","\u0000@astro-page:src/pages/app/index@_@astro":"chunks/index_CGzMgZTN.mjs","\u0000@astro-page:src/pages/blog/[page]@_@astro":"chunks/_page__Dz-iZHMh.mjs","\u0000@astro-page:src/pages/[...slug]@_@astro":"chunks/_.._Bt6Uzpk2.mjs","/home/leo/code/ecomplus/cloud-commerce/packages/storefront/src/components/SearchModal.vue":"_astro/SearchModal.DWNSfxML.js","/home/leo/code/ecomplus/cloud-commerce/packages/storefront/src/components/CartSidebar.vue":"_astro/CartSidebar.DAvJKL2c.js","/home/leo/code/ecomplus/cloud-commerce/node_modules/photoswipe/dist/photoswipe.css?inline":"_astro/photoswipe.CNpEZKfy.js","astro:scripts/page.js":"_astro/page.FdSlRisw.js","~/components/HeroSlider.vue":"_astro/HeroSlider.DyjSOy4Q.js","/astro/hoisted.js?q=1":"_astro/hoisted.Bf1gCkSN.js","~/components/PitchBar.vue":"_astro/PitchBar.CEGsee2q.js","~/components/AccountPage.vue":"_astro/AccountPage.Cf0WE6GF.js","~/components/ProductDetails.vue":"_astro/ProductDetails.BpZtnS8j.js","/home/leo/code/ecomplus/cloud-commerce/packages/storefront/src/lib/scripts/firebase-app.ts":"_astro/firebase-app.CmI1zl7o.js","/astro/hoisted.js?q=0":"_astro/hoisted.-C0vLMXT.js","/home/leo/code/ecomplus/cloud-commerce/node_modules/photoswipe/dist/photoswipe-lightbox.esm.js":"_astro/photoswipe-lightbox.esm.BbYxSZIB.js","/home/leo/code/ecomplus/cloud-commerce/node_modules/photoswipe/dist/photoswipe.esm.js":"_astro/photoswipe.esm.C0FT-EY-.js","/astro/hoisted.js?q=2":"_astro/hoisted.BeKMioW4.js","~/components/ProductShelf.vue":"_astro/ProductShelf.C0TU_sRb.js","@astrojs/vue/client.js":"_astro/client.D_V8TfA5.js","~/components/ShopHeader.vue":"_astro/ShopHeader.D7qqQxFD.js","~/components/SearchShowcase.vue":"_astro/SearchShowcase.CUkbXIRk.js","astro:scripts/before-hydration.js":""},"inlinedScripts":[],"assets":["/_astro/_slug_.HhgCFKHv.css","/robots.txt","/_astro/AccountPage.Cf0WE6GF.js","/_astro/CartSidebar.DAvJKL2c.js","/_astro/HeroSlider.DyjSOy4Q.js","/_astro/PitchBar.CEGsee2q.js","/_astro/Prices.9RhV7hCY.js","/_astro/ProductDetails.BpZtnS8j.js","/_astro/ProductShelf.C0TU_sRb.js","/_astro/SearchModal.DWNSfxML.js","/_astro/SearchShowcase.CUkbXIRk.js","/_astro/ShippingCalculator.DZSCK4xv.js","/_astro/ShopHeader.D7qqQxFD.js","/_astro/_commonjsHelpers.Cpj98o6Y.js","/_astro/_plugin-vue_export-helper.6K9uDcVo.js","/_astro/afetch.DPLba2tr.js","/_astro/client.D_V8TfA5.js","/_astro/customer-session.Cctko5_9.js","/_astro/firebase-app.CmI1zl7o.js","/_astro/format-money.D19_eJVX.js","/_astro/grid-title.CZdq2sDS.js","/_astro/hoisted.-C0vLMXT.js","/_astro/hoisted.BeKMioW4.js","/_astro/hoisted.Bf1gCkSN.js","/_astro/i18n.DPcLqMFO.js","/_astro/img-sizes.rFK7so02.js","/_astro/img.Be85e5da.js","/_astro/index-a8cf6c8f.k99a-gIB.js","/_astro/index.BCNoXz_Z.js","/_astro/index.BgtOIB20.js","/_astro/index.DlxZwqDP.js","/_astro/modules-info.BswYf_-7.js","/_astro/name.Dll7Wwmg.js","/_astro/page.FdSlRisw.js","/_astro/photoswipe-lightbox.esm.BbYxSZIB.js","/_astro/photoswipe.CNpEZKfy.js","/_astro/photoswipe.esm.C0FT-EY-.js","/_astro/price.CHiL6Z1J.js","/_astro/sf-utils.C9ygvYIB.js","/_astro/shopping-cart.Cqc6p5UR.js","/_astro/use-analytics.bP3a5cR0.js","/_astro/use-cms-preview.BxKK4a1X.js","/_astro/use-product-card.Cj9Q-Y1A.js","/_astro/use-text-value.DT0v9Yj_.js","/img/icon.png","/img/large-icon.png","/img/uploads/banner2.webp","/img/uploads/ecom-icon.png","/img/uploads/headphone.webp","/img/uploads/logo.png","/img/uploads/og-image.png","/img/uploads/passion.webp","/img/uploads/rect8589.png","/img/uploads/rect859.png","/img/uploads/rect89.webp","/_astro/page.FdSlRisw.js"],"buildFormat":"directory"});
205
205
 
206
206
  export { AstroIntegrationLogger as A, Logger as L, getEventPrefix as g, levels as l, manifest };
@@ -1,4 +1,4 @@
1
1
  import '@astrojs/internal-helpers/path';
2
2
  import 'cookie';
3
- export { o as onRequest } from './chunks/_astro-internal_middleware_DIG56BhA.mjs';
4
- import './chunks/pages/404_BPSxJtl3.mjs';
3
+ export { o as onRequest } from './chunks/_astro-internal_middleware_CqUpziyW.mjs';
4
+ import './chunks/pages/404_CMwuVMu1.mjs';
@@ -1,6 +1,6 @@
1
1
  import { defineComponent, h, createSSRApp } from 'vue';
2
2
  import { renderToString } from 'vue/server-renderer';
3
- import { X as mod, Y as createApp } from './chunks/pages/404_BPSxJtl3.mjs';
3
+ import { X as mod, Y as createApp } from './chunks/pages/404_CMwuVMu1.mjs';
4
4
 
5
5
  /**
6
6
  * Astro passes `children` as a string of HTML, so we need
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@cloudcommerce/storefront",
3
3
  "type": "module",
4
- "version": "2.10.7",
4
+ "version": "2.11.2",
5
5
  "description": "E-Com Plus Cloud Commerce storefront with Astro",
6
6
  "bin": {
7
7
  "storefront": "./scripts/build-prod.sh"
@@ -15,7 +15,7 @@
15
15
  "/scripts/**/*.{sh,mjs}",
16
16
  "/src",
17
17
  "/*.config.cjs",
18
- "/tsconfig.json",
18
+ "/tsconfig*.json",
19
19
  "/example.env"
20
20
  ],
21
21
  "repository": {
@@ -53,7 +53,7 @@
53
53
  "@iconify-json/logos": "^1.1.42",
54
54
  "@types/gtag.js": "^0.0.19",
55
55
  "@vueuse/core": "10.9.0",
56
- "astro": "4.5.15",
56
+ "astro": "4.5.10",
57
57
  "astro-capo": "^0.0.1",
58
58
  "chroma-js": "^2.4.2",
59
59
  "dotenv": "^16.4.5",
@@ -2,7 +2,7 @@
2
2
  /// <reference types="./config/astro/index.d.ts" />
3
3
 
4
4
  import type { RouteContext } from '@@sf/ssr-context';
5
- import type { $Storefront } from '@@sf/$storefront';
5
+ import type { Server$Storefront } from '@@sf/$storefront';
6
6
 
7
7
  declare global {
8
8
  namespace App {
@@ -12,9 +12,7 @@ declare global {
12
12
  }
13
13
  }
14
14
 
15
- var $storefront: $Storefront & {
16
- onLoad: (callback: (...args: any[]) => void) => void,
17
- };
15
+ var $storefront: Server$Storefront;
18
16
  var $storefrontSlimDocRegex: undefined | RegExp;
19
17
  // @TODO
20
18
  var $storefrontCmsHandler: undefined | any;
@@ -40,3 +40,7 @@ export type $Storefront = {
40
40
  grids?: Array<Partial<Grids>>,
41
41
  },
42
42
  };
43
+
44
+ export type Server$Storefront = $Storefront & {
45
+ onLoad: (callback: (...args: any[]) => void) => void,
46
+ };
@@ -4,7 +4,7 @@ import type { BaseConfig } from '@cloudcommerce/config';
4
4
  import type { ApiError, ApiEndpoint } from '@cloudcommerce/api';
5
5
  import type { ResourceId, CategoriesList, BrandsList } from '@cloudcommerce/api/types';
6
6
  import type { ContentGetter, SettingsContent, PageContent } from '@@sf/content';
7
- import type { StorefrontApiContext } from '@@sf/$storefront';
7
+ import type { StorefrontApiContext, Server$Storefront } from '@@sf/$storefront';
8
8
  import { EventEmitter } from 'node:events';
9
9
  import api from '@cloudcommerce/api';
10
10
  import { asyncLocalStorage as _als } from '../../config/astro/node-middleware.mjs';
@@ -51,10 +51,10 @@ const sessions: Record<string, {
51
51
  // Internal global just to early clear session objects from memory
52
52
  global.__sfSessions = sessions;
53
53
  if (!globalThis.$storefront) {
54
+ // @ts-expect-error: URL is retrived from `target.getSession().url`
54
55
  globalThis.$storefront = new Proxy({
55
56
  settings: {},
56
57
  data: {},
57
- // @ts-expect-error: URL is retrived from `target.getSession().url`
58
58
  url: undefined,
59
59
  getSession(sid?: string) {
60
60
  if (!sid) {
@@ -69,7 +69,7 @@ if (!globalThis.$storefront) {
69
69
  onLoad(callback: () => void) {
70
70
  emitter.once('load', callback);
71
71
  },
72
- }, {
72
+ } as Server$Storefront, {
73
73
  get(target, prop) {
74
74
  if (prop === 'apiContext') {
75
75
  return target.getSession().apiContext;
@@ -0,0 +1,16 @@
1
+ {
2
+ "$schema": "https://json.schemastore.org/tsconfig",
3
+ "extends": "astro/tsconfigs/strict",
4
+ "compilerOptions": {
5
+ "noImplicitAny": false,
6
+ "allowJs": false,
7
+ "jsx": "preserve",
8
+ "baseUrl": ".",
9
+ "paths": {
10
+ "@@i18n": ["./node_modules/@cloudcommerce/i18n/src/pt_br.ts"],
11
+ "@@sf/*": ["./src/lib/*"],
12
+ "~/*": ["./src/*"],
13
+ "content/*": ["./content/*"],
14
+ }
15
+ }
16
+ }
@@ -1,15 +1,7 @@
1
1
  {
2
- "extends": "astro/tsconfigs/strict",
3
- "compilerOptions": {
4
- "noImplicitAny": false,
5
- "allowJs": false,
6
- "jsx": "preserve",
7
- "baseUrl": ".",
8
- "paths": {
9
- "@@i18n": ["./node_modules/@cloudcommerce/i18n/src/pt_br.ts"],
10
- "@@sf/*": ["./src/lib/*"],
11
- "~/*": ["./src/*"],
12
- "content/*": ["./content/*"],
13
- }
14
- }
2
+ "extends": "./tsconfig.base.json",
3
+ "include": [
4
+ "src",
5
+ "content",
6
+ ],
15
7
  }