cloudcommerce 0.0.72 → 0.0.73
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.
- package/CHANGELOG.md +9 -0
- package/package.json +1 -1
- package/packages/api/package.json +1 -1
- package/packages/apps/correios/package.json +1 -1
- package/packages/apps/custom-shipping/package.json +1 -1
- package/packages/apps/discounts/package.json +1 -1
- package/packages/apps/frenet/package.json +1 -1
- package/packages/apps/tiny-erp/package.json +1 -1
- package/packages/cli/package.json +1 -1
- package/packages/config/package.json +1 -1
- package/packages/events/package.json +1 -1
- package/packages/firebase/package.json +1 -1
- package/packages/modules/package.json +1 -1
- package/packages/passport/package.json +1 -1
- package/packages/ssr/lib/firebase/serve-storefront.js +13 -32
- package/packages/ssr/lib/firebase/serve-storefront.js.map +1 -1
- package/packages/ssr/package.json +1 -1
- package/packages/ssr/src/firebase/serve-storefront.ts +13 -37
- package/packages/storefront/dist/client/assets/{404-500-_...d4aa8aff.css → _...d4aa8aff.css} +0 -0
- package/packages/storefront/dist/client/assets/{404-500-index.d9230d24.css → fallback-index.d9230d24.css} +0 -0
- package/packages/storefront/dist/client/assets/{404.b3ead908.css → fallback.9745a8aa.css} +1 -1
- package/packages/storefront/dist/server/entry.mjs +146 -174
- package/packages/storefront/package.json +1 -1
- package/packages/storefront/src/lib/ssr-context.ts +54 -30
- package/packages/storefront/src/lib/views/{404.astro → fallback.astro} +1 -1
- package/packages/storefront/src/pages/[...slug].astro +7 -2
- package/packages/storefront/src/pages/{404.astro → fallback.astro} +2 -2
- package/packages/storefront/src/pages/index.astro +7 -2
- package/packages/types/package.json +1 -1
- package/packages/storefront/dist/client/assets/500.d5d7700b.css +0 -1
- package/packages/storefront/src/lib/views/500.astro +0 -79
- package/packages/storefront/src/pages/500.astro +0 -13
|
@@ -2,11 +2,11 @@ import * as adapter from '@astrojs/node/server.js';
|
|
|
2
2
|
import { defineComponent, h, createSSRApp } from 'vue';
|
|
3
3
|
import { renderToString as renderToString$1 } from 'vue/server-renderer';
|
|
4
4
|
import { escape } from 'html-escaper';
|
|
5
|
-
/* empty css *//* empty css
|
|
5
|
+
/* empty css *//* empty css */import { fileURLToPath } from 'url';
|
|
6
6
|
import fs from 'fs';
|
|
7
7
|
import { resolve } from 'path';
|
|
8
8
|
import Deepmerge from '@fastify/deepmerge';
|
|
9
|
-
/* empty css
|
|
9
|
+
/* empty css *//* empty css *//* empty css */import 'mime';
|
|
10
10
|
import 'kleur/colors';
|
|
11
11
|
import 'string-width';
|
|
12
12
|
import 'path-browserify';
|
|
@@ -1430,7 +1430,7 @@ api.del = del;
|
|
|
1430
1430
|
api.delete = del;
|
|
1431
1431
|
// # sourceMappingURL=api.js.map
|
|
1432
1432
|
|
|
1433
|
-
const $$module1$
|
|
1433
|
+
const $$module1$4 = /*#__PURE__*/Object.freeze(/*#__PURE__*/Object.defineProperty({
|
|
1434
1434
|
__proto__: null,
|
|
1435
1435
|
default: api,
|
|
1436
1436
|
setMiddleware,
|
|
@@ -1539,54 +1539,77 @@ const getConfig = _getConfig;
|
|
|
1539
1539
|
if (!globalThis.api_prefetch_endpoints) {
|
|
1540
1540
|
globalThis.api_prefetch_endpoints = ["categories"];
|
|
1541
1541
|
}
|
|
1542
|
+
const setResponseCache = (Astro, maxAge, sMaxAge) => {
|
|
1543
|
+
const headerName = Object.assign({"BASE_URL":"/","MODE":"production","DEV":false,"PROD":true}, { SSR: true }).PROD ? "Cache-Control" : "X-Cache-Control";
|
|
1544
|
+
let cacheControl = `public, max-age=${maxAge}`;
|
|
1545
|
+
if (sMaxAge) {
|
|
1546
|
+
cacheControl += `, s-maxage=${sMaxAge}, stale-while-revalidate=86400`;
|
|
1547
|
+
}
|
|
1548
|
+
Astro.response.headers.set(headerName, cacheControl);
|
|
1549
|
+
};
|
|
1542
1550
|
const loadPageContext = async (Astro, {
|
|
1543
1551
|
cmsCollection,
|
|
1544
1552
|
apiPrefetchEndpoints = globalThis.api_prefetch_endpoints
|
|
1545
1553
|
} = {}) => {
|
|
1554
|
+
const urlPath = Astro.url.pathname;
|
|
1546
1555
|
const { slug } = Astro.params;
|
|
1547
1556
|
const config = getConfig();
|
|
1548
1557
|
let cmsContent;
|
|
1549
1558
|
let apiResource;
|
|
1550
1559
|
let apiDoc;
|
|
1551
1560
|
const apiState = {};
|
|
1561
|
+
const apiOptions = {
|
|
1562
|
+
fetch,
|
|
1563
|
+
isNoAuth: true
|
|
1564
|
+
};
|
|
1565
|
+
const apiFetchings = [
|
|
1566
|
+
null,
|
|
1567
|
+
...apiPrefetchEndpoints.map((endpoint) => api.get(endpoint, apiOptions))
|
|
1568
|
+
];
|
|
1552
1569
|
if (slug) {
|
|
1553
1570
|
if (cmsCollection) {
|
|
1554
1571
|
cmsContent = config.cms(`${cmsCollection}/${slug}`);
|
|
1555
1572
|
} else {
|
|
1556
|
-
|
|
1557
|
-
|
|
1558
|
-
|
|
1559
|
-
|
|
1560
|
-
|
|
1561
|
-
|
|
1562
|
-
|
|
1563
|
-
|
|
1564
|
-
|
|
1565
|
-
|
|
1566
|
-
|
|
1567
|
-
|
|
1568
|
-
|
|
1569
|
-
|
|
1570
|
-
|
|
1571
|
-
|
|
1572
|
-
|
|
1573
|
-
|
|
1574
|
-
|
|
1575
|
-
if (error.statusCode === 404) {
|
|
1576
|
-
toUrl = "/404";
|
|
1577
|
-
Astro.response.headers.set("Cache-Control", "public, max-age=120");
|
|
1578
|
-
} else {
|
|
1579
|
-
console.error(error);
|
|
1580
|
-
toUrl = "/500";
|
|
1581
|
-
Astro.response.headers.set("X-SSR-Error", error.stack);
|
|
1582
|
-
}
|
|
1583
|
-
const err = new Error(`Load page context failed: ${error.message}`);
|
|
1584
|
-
err.originalError = error;
|
|
1585
|
-
err.redirectUrl = `${toUrl}?url=${encodeURIComponent(Astro.url.pathname)}`;
|
|
1573
|
+
apiFetchings[0] = api.get(`slugs/${slug}`, apiOptions);
|
|
1574
|
+
}
|
|
1575
|
+
}
|
|
1576
|
+
try {
|
|
1577
|
+
const [slugResponse, ...prefetchResponses] = await Promise.all(apiFetchings);
|
|
1578
|
+
if (slugResponse) {
|
|
1579
|
+
apiResource = slugResponse.data.resource;
|
|
1580
|
+
apiDoc = slugResponse.data.doc;
|
|
1581
|
+
apiState[`${apiResource}/${apiDoc._id}`] = apiDoc;
|
|
1582
|
+
}
|
|
1583
|
+
prefetchResponses.forEach(({ config: { endpoint }, data }) => {
|
|
1584
|
+
apiState[endpoint] = data;
|
|
1585
|
+
});
|
|
1586
|
+
} catch (err) {
|
|
1587
|
+
const error = err;
|
|
1588
|
+
const status = error.statusCode || 500;
|
|
1589
|
+
if (status === 404) {
|
|
1590
|
+
if (urlPath.endsWith("/")) {
|
|
1591
|
+
err.redirectUrl = urlPath.slice(0, -1);
|
|
1586
1592
|
err.astroResponse = Astro.redirect(err.redirectUrl);
|
|
1587
1593
|
throw err;
|
|
1588
1594
|
}
|
|
1595
|
+
setResponseCache(Astro, 120, 300);
|
|
1596
|
+
} else {
|
|
1597
|
+
console.error(error);
|
|
1598
|
+
setResponseCache(Astro, 30);
|
|
1599
|
+
Astro.response.headers.set("X-SSR-Error", error.message);
|
|
1589
1600
|
}
|
|
1601
|
+
Astro.response.status = status;
|
|
1602
|
+
err.responseHTML = `<html><head>
|
|
1603
|
+
<meta http-equiv="refresh" content="0;
|
|
1604
|
+
url=/fallback?status=${status}&url=${encodeURIComponent(urlPath)}"/>
|
|
1605
|
+
</head>
|
|
1606
|
+
<body></body></html>`;
|
|
1607
|
+
throw err;
|
|
1608
|
+
}
|
|
1609
|
+
if (urlPath === "/fallback") {
|
|
1610
|
+
setResponseCache(Astro, 3600, 86400);
|
|
1611
|
+
} else {
|
|
1612
|
+
setResponseCache(Astro, 120, 600);
|
|
1590
1613
|
}
|
|
1591
1614
|
return {
|
|
1592
1615
|
...config,
|
|
@@ -1604,10 +1627,10 @@ const $$module2$2 = /*#__PURE__*/Object.freeze(/*#__PURE__*/Object.definePropert
|
|
|
1604
1627
|
loadPageContext
|
|
1605
1628
|
}, Symbol.toStringTag, { value: 'Module' }));
|
|
1606
1629
|
|
|
1607
|
-
const $$metadata$
|
|
1608
|
-
const $$Astro$
|
|
1630
|
+
const $$metadata$a = createMetadata("/@fs/home/leo/code/ecomplus/cloud-commerce/packages/storefront/src/lib/layouts/meta/Head.astro", { modules: [], hydratedComponents: [], clientOnlyComponents: [], hydrationDirectives: /* @__PURE__ */ new Set([]), hoisted: [] });
|
|
1631
|
+
const $$Astro$a = createAstro("/@fs/home/leo/code/ecomplus/cloud-commerce/packages/storefront/src/lib/layouts/meta/Head.astro", "https://storefront-demo.e-com.plus/", "file:///home/leo/code/ecomplus/cloud-commerce/packages/storefront/");
|
|
1609
1632
|
const $$Head = createComponent(async ($$result, $$props, $$slots) => {
|
|
1610
|
-
const Astro2 = $$result.createAstro($$Astro$
|
|
1633
|
+
const Astro2 = $$result.createAstro($$Astro$a, $$props, $$slots);
|
|
1611
1634
|
Astro2.self = $$Head;
|
|
1612
1635
|
return renderTemplate`<meta charset="UTF-8">
|
|
1613
1636
|
<meta name="viewport" content="width=device-width">
|
|
@@ -1615,25 +1638,25 @@ const $$Head = createComponent(async ($$result, $$props, $$slots) => {
|
|
|
1615
1638
|
`;
|
|
1616
1639
|
});
|
|
1617
1640
|
|
|
1618
|
-
const $$file$
|
|
1619
|
-
const $$url$
|
|
1641
|
+
const $$file$a = "/home/leo/code/ecomplus/cloud-commerce/packages/storefront/src/lib/layouts/meta/Head.astro";
|
|
1642
|
+
const $$url$a = undefined;
|
|
1620
1643
|
|
|
1621
1644
|
const $$module2$1 = /*#__PURE__*/Object.freeze(/*#__PURE__*/Object.defineProperty({
|
|
1622
1645
|
__proto__: null,
|
|
1623
|
-
$$metadata: $$metadata$
|
|
1646
|
+
$$metadata: $$metadata$a,
|
|
1624
1647
|
default: $$Head,
|
|
1625
|
-
file: $$file$
|
|
1626
|
-
url: $$url$
|
|
1648
|
+
file: $$file$a,
|
|
1649
|
+
url: $$url$a
|
|
1627
1650
|
}, Symbol.toStringTag, { value: 'Module' }));
|
|
1628
1651
|
|
|
1629
1652
|
var __freeze = Object.freeze;
|
|
1630
1653
|
var __defProp = Object.defineProperty;
|
|
1631
1654
|
var __template = (cooked, raw) => __freeze(__defProp(cooked, "raw", { value: __freeze(raw || cooked.slice()) }));
|
|
1632
1655
|
var _a;
|
|
1633
|
-
const $$metadata$
|
|
1634
|
-
const $$Astro$
|
|
1656
|
+
const $$metadata$9 = createMetadata("/@fs/home/leo/code/ecomplus/cloud-commerce/packages/storefront/src/lib/layouts/meta/Json.astro", { modules: [{ module: $$module2$2, specifier: "../../ssr-context", assert: {} }], hydratedComponents: [], clientOnlyComponents: [], hydrationDirectives: /* @__PURE__ */ new Set([]), hoisted: [] });
|
|
1657
|
+
const $$Astro$9 = createAstro("/@fs/home/leo/code/ecomplus/cloud-commerce/packages/storefront/src/lib/layouts/meta/Json.astro", "https://storefront-demo.e-com.plus/", "file:///home/leo/code/ecomplus/cloud-commerce/packages/storefront/");
|
|
1635
1658
|
const $$Json = createComponent(async ($$result, $$props, $$slots) => {
|
|
1636
|
-
const Astro2 = $$result.createAstro($$Astro$
|
|
1659
|
+
const Astro2 = $$result.createAstro($$Astro$9, $$props, $$slots);
|
|
1637
1660
|
Astro2.self = $$Json;
|
|
1638
1661
|
const {
|
|
1639
1662
|
storeId,
|
|
@@ -1663,21 +1686,21 @@ window._settings = ${JSON.stringify({
|
|
|
1663
1686
|
return renderTemplate(_a || (_a = __template(["<script>", '<\/script>\n<script type="application/ld+json">', "<\/script>\n"])), markHTMLString(inlineClientJS), markHTMLString(inlineJSONLd));
|
|
1664
1687
|
});
|
|
1665
1688
|
|
|
1666
|
-
const $$file$
|
|
1667
|
-
const $$url$
|
|
1689
|
+
const $$file$9 = "/home/leo/code/ecomplus/cloud-commerce/packages/storefront/src/lib/layouts/meta/Json.astro";
|
|
1690
|
+
const $$url$9 = undefined;
|
|
1668
1691
|
|
|
1669
1692
|
const $$module3 = /*#__PURE__*/Object.freeze(/*#__PURE__*/Object.defineProperty({
|
|
1670
1693
|
__proto__: null,
|
|
1671
|
-
$$metadata: $$metadata$
|
|
1694
|
+
$$metadata: $$metadata$9,
|
|
1672
1695
|
default: $$Json,
|
|
1673
|
-
file: $$file$
|
|
1674
|
-
url: $$url$
|
|
1696
|
+
file: $$file$9,
|
|
1697
|
+
url: $$url$9
|
|
1675
1698
|
}, Symbol.toStringTag, { value: 'Module' }));
|
|
1676
1699
|
|
|
1677
|
-
const $$metadata$
|
|
1678
|
-
const $$Astro$
|
|
1700
|
+
const $$metadata$8 = createMetadata("/@fs/home/leo/code/ecomplus/cloud-commerce/packages/storefront/src/lib/layouts/Layout.astro", { modules: [{ module: $$module2$2, specifier: "../ssr-context", assert: {} }, { module: $$module2$1, specifier: "./meta/Head.astro", assert: {} }, { module: $$module3, specifier: "./meta/Json.astro", assert: {} }], hydratedComponents: [], clientOnlyComponents: [], hydrationDirectives: /* @__PURE__ */ new Set([]), hoisted: [] });
|
|
1701
|
+
const $$Astro$8 = createAstro("/@fs/home/leo/code/ecomplus/cloud-commerce/packages/storefront/src/lib/layouts/Layout.astro", "https://storefront-demo.e-com.plus/", "file:///home/leo/code/ecomplus/cloud-commerce/packages/storefront/");
|
|
1679
1702
|
const $$Layout = createComponent(async ($$result, $$props, $$slots) => {
|
|
1680
|
-
const Astro2 = $$result.createAstro($$Astro$
|
|
1703
|
+
const Astro2 = $$result.createAstro($$Astro$8, $$props, $$slots);
|
|
1681
1704
|
Astro2.self = $$Layout;
|
|
1682
1705
|
const { lang } = getConfig();
|
|
1683
1706
|
const { title } = Astro2.props;
|
|
@@ -1696,21 +1719,21 @@ ${renderHead($$result)}</head>
|
|
|
1696
1719
|
</body></html>`;
|
|
1697
1720
|
});
|
|
1698
1721
|
|
|
1699
|
-
const $$file$
|
|
1700
|
-
const $$url$
|
|
1722
|
+
const $$file$8 = "/home/leo/code/ecomplus/cloud-commerce/packages/storefront/src/lib/layouts/Layout.astro";
|
|
1723
|
+
const $$url$8 = undefined;
|
|
1701
1724
|
|
|
1702
|
-
const $$module1$
|
|
1725
|
+
const $$module1$3 = /*#__PURE__*/Object.freeze(/*#__PURE__*/Object.defineProperty({
|
|
1703
1726
|
__proto__: null,
|
|
1704
|
-
$$metadata: $$metadata$
|
|
1727
|
+
$$metadata: $$metadata$8,
|
|
1705
1728
|
default: $$Layout,
|
|
1706
|
-
file: $$file$
|
|
1707
|
-
url: $$url$
|
|
1729
|
+
file: $$file$8,
|
|
1730
|
+
url: $$url$8
|
|
1708
1731
|
}, Symbol.toStringTag, { value: 'Module' }));
|
|
1709
1732
|
|
|
1710
|
-
const $$metadata$
|
|
1711
|
-
const $$Astro$
|
|
1733
|
+
const $$metadata$7 = createMetadata("/@fs/home/leo/code/ecomplus/cloud-commerce/packages/storefront/src/lib/components/Card.astro", { modules: [], hydratedComponents: [], clientOnlyComponents: [], hydrationDirectives: /* @__PURE__ */ new Set([]), hoisted: [] });
|
|
1734
|
+
const $$Astro$7 = createAstro("/@fs/home/leo/code/ecomplus/cloud-commerce/packages/storefront/src/lib/components/Card.astro", "https://storefront-demo.e-com.plus/", "file:///home/leo/code/ecomplus/cloud-commerce/packages/storefront/");
|
|
1712
1735
|
const $$Card = createComponent(async ($$result, $$props, $$slots) => {
|
|
1713
|
-
const Astro2 = $$result.createAstro($$Astro$
|
|
1736
|
+
const Astro2 = $$result.createAstro($$Astro$7, $$props, $$slots);
|
|
1714
1737
|
Astro2.self = $$Card;
|
|
1715
1738
|
const { href, title, body } = Astro2.props;
|
|
1716
1739
|
const STYLES = [];
|
|
@@ -1730,21 +1753,21 @@ const $$Card = createComponent(async ($$result, $$props, $$slots) => {
|
|
|
1730
1753
|
`;
|
|
1731
1754
|
});
|
|
1732
1755
|
|
|
1733
|
-
const $$file$
|
|
1734
|
-
const $$url$
|
|
1756
|
+
const $$file$7 = "/home/leo/code/ecomplus/cloud-commerce/packages/storefront/src/lib/components/Card.astro";
|
|
1757
|
+
const $$url$7 = undefined;
|
|
1735
1758
|
|
|
1736
1759
|
const $$module2 = /*#__PURE__*/Object.freeze(/*#__PURE__*/Object.defineProperty({
|
|
1737
1760
|
__proto__: null,
|
|
1738
|
-
$$metadata: $$metadata$
|
|
1761
|
+
$$metadata: $$metadata$7,
|
|
1739
1762
|
default: $$Card,
|
|
1740
|
-
file: $$file$
|
|
1741
|
-
url: $$url$
|
|
1763
|
+
file: $$file$7,
|
|
1764
|
+
url: $$url$7
|
|
1742
1765
|
}, Symbol.toStringTag, { value: 'Module' }));
|
|
1743
1766
|
|
|
1744
|
-
const $$metadata$
|
|
1745
|
-
const $$Astro$
|
|
1767
|
+
const $$metadata$6 = createMetadata("/@fs/home/leo/code/ecomplus/cloud-commerce/packages/storefront/src/lib/views/index.astro", { modules: [{ module: $$module1$4, specifier: "@cloudcommerce/api", assert: {} }, { module: $$module1$3, specifier: "../layouts/Layout.astro", assert: {} }, { module: $$module2, specifier: "../components/Card.astro", assert: {} }], hydratedComponents: [], clientOnlyComponents: [], hydrationDirectives: /* @__PURE__ */ new Set([]), hoisted: [] });
|
|
1768
|
+
const $$Astro$6 = createAstro("/@fs/home/leo/code/ecomplus/cloud-commerce/packages/storefront/src/lib/views/index.astro", "https://storefront-demo.e-com.plus/", "file:///home/leo/code/ecomplus/cloud-commerce/packages/storefront/");
|
|
1746
1769
|
const $$Index$2 = createComponent(async ($$result, $$props, $$slots) => {
|
|
1747
|
-
const Astro2 = $$result.createAstro($$Astro$
|
|
1770
|
+
const Astro2 = $$result.createAstro($$Astro$6, $$props, $$slots);
|
|
1748
1771
|
Astro2.self = $$Index$2;
|
|
1749
1772
|
const products = (await api.get("products")).data.result;
|
|
1750
1773
|
const STYLES = [];
|
|
@@ -1772,160 +1795,104 @@ const $$Index$2 = createComponent(async ($$result, $$props, $$slots) => {
|
|
|
1772
1795
|
`;
|
|
1773
1796
|
});
|
|
1774
1797
|
|
|
1775
|
-
const $$file$
|
|
1776
|
-
const $$url$8 = undefined;
|
|
1777
|
-
|
|
1778
|
-
const $$module1$3 = /*#__PURE__*/Object.freeze(/*#__PURE__*/Object.defineProperty({
|
|
1779
|
-
__proto__: null,
|
|
1780
|
-
$$metadata: $$metadata$8,
|
|
1781
|
-
default: $$Index$2,
|
|
1782
|
-
file: $$file$8,
|
|
1783
|
-
url: $$url$8
|
|
1784
|
-
}, Symbol.toStringTag, { value: 'Module' }));
|
|
1785
|
-
|
|
1786
|
-
const $$metadata$7 = createMetadata("/@fs/home/leo/code/ecomplus/cloud-commerce/packages/storefront/src/pages/index.astro", { modules: [{ module: $$module1$3, specifier: "../lib/views/index.astro", assert: {} }, { module: $$module2$2, specifier: "../lib/ssr-context", assert: {} }], hydratedComponents: [], clientOnlyComponents: [], hydrationDirectives: /* @__PURE__ */ new Set([]), hoisted: [] });
|
|
1787
|
-
const $$Astro$7 = createAstro("/@fs/home/leo/code/ecomplus/cloud-commerce/packages/storefront/src/pages/index.astro", "https://storefront-demo.e-com.plus/", "file:///home/leo/code/ecomplus/cloud-commerce/packages/storefront/");
|
|
1788
|
-
const $$Index$1 = createComponent(async ($$result, $$props, $$slots) => {
|
|
1789
|
-
const Astro2 = $$result.createAstro($$Astro$7, $$props, $$slots);
|
|
1790
|
-
Astro2.self = $$Index$1;
|
|
1791
|
-
let pageContext;
|
|
1792
|
-
try {
|
|
1793
|
-
pageContext = await loadPageContext(Astro2);
|
|
1794
|
-
} catch (err) {
|
|
1795
|
-
return err.astroResponse;
|
|
1796
|
-
}
|
|
1797
|
-
return renderTemplate`${renderComponent($$result, "ViewHome", $$Index$2, { "pageContext": pageContext })}`;
|
|
1798
|
-
});
|
|
1799
|
-
|
|
1800
|
-
const $$file$7 = "/home/leo/code/ecomplus/cloud-commerce/packages/storefront/src/pages/index.astro";
|
|
1801
|
-
const $$url$7 = "";
|
|
1802
|
-
|
|
1803
|
-
const _page0 = /*#__PURE__*/Object.freeze(/*#__PURE__*/Object.defineProperty({
|
|
1804
|
-
__proto__: null,
|
|
1805
|
-
$$metadata: $$metadata$7,
|
|
1806
|
-
default: $$Index$1,
|
|
1807
|
-
file: $$file$7,
|
|
1808
|
-
url: $$url$7
|
|
1809
|
-
}, Symbol.toStringTag, { value: 'Module' }));
|
|
1810
|
-
|
|
1811
|
-
const $$metadata$6 = createMetadata("/@fs/home/leo/code/ecomplus/cloud-commerce/packages/storefront/src/lib/views/404.astro", { modules: [{ module: $$module1$4, specifier: "../layouts/Layout.astro", assert: {} }, { module: $$module2, specifier: "../components/Card.astro", assert: {} }], hydratedComponents: [], clientOnlyComponents: [], hydrationDirectives: /* @__PURE__ */ new Set([]), hoisted: [] });
|
|
1812
|
-
const $$Astro$6 = createAstro("/@fs/home/leo/code/ecomplus/cloud-commerce/packages/storefront/src/lib/views/404.astro", "https://storefront-demo.e-com.plus/", "file:///home/leo/code/ecomplus/cloud-commerce/packages/storefront/");
|
|
1813
|
-
const $$404$1 = createComponent(async ($$result, $$props, $$slots) => {
|
|
1814
|
-
const Astro2 = $$result.createAstro($$Astro$6, $$props, $$slots);
|
|
1815
|
-
Astro2.self = $$404$1;
|
|
1816
|
-
const STYLES = [];
|
|
1817
|
-
for (const STYLE of STYLES)
|
|
1818
|
-
$$result.styles.add(STYLE);
|
|
1819
|
-
return renderTemplate`${renderComponent($$result, "Layout", $$Layout, { "title": "Welcome to Astro.", "class": "astro-DJT3DWAO" }, { "default": () => renderTemplate`${maybeRenderHead($$result)}<main class="astro-DJT3DWAO">
|
|
1820
|
-
<h1 class="astro-DJT3DWAO">404</h1>
|
|
1821
|
-
<p class="instructions astro-DJT3DWAO">
|
|
1822
|
-
Check out the <code class="astro-DJT3DWAO">src/pages</code> directory to get started.<br class="astro-DJT3DWAO">
|
|
1823
|
-
<strong class="astro-DJT3DWAO">Code Challenge:</strong> Tweak the "Welcome to Astro" message above.
|
|
1824
|
-
</p>
|
|
1825
|
-
<ul role="list" class="link-card-grid astro-DJT3DWAO">
|
|
1826
|
-
${renderComponent($$result, "Card", $$Card, { "href": "https://docs.astro.build/", "title": "Documentation", "body": "Learn how Astro works and explore the official API docs.", "class": "astro-DJT3DWAO" })}
|
|
1827
|
-
${renderComponent($$result, "Card", $$Card, { "href": "https://astro.build/integrations/", "title": "Integrations", "body": "Supercharge your project with new frameworks and libraries.", "class": "astro-DJT3DWAO" })}
|
|
1828
|
-
${renderComponent($$result, "Card", $$Card, { "href": "https://astro.build/themes/", "title": "Themes", "body": "Explore a galaxy of community-built starter themes.", "class": "astro-DJT3DWAO" })}
|
|
1829
|
-
${renderComponent($$result, "Card", $$Card, { "href": "https://astro.build/chat/", "title": "Chat", "body": "Come say hi to our amazing Discord community. \u2764\uFE0F", "class": "astro-DJT3DWAO" })}
|
|
1830
|
-
</ul>
|
|
1831
|
-
</main>` })}
|
|
1832
|
-
|
|
1833
|
-
`;
|
|
1834
|
-
});
|
|
1835
|
-
|
|
1836
|
-
const $$file$6 = "/home/leo/code/ecomplus/cloud-commerce/packages/storefront/src/lib/views/404.astro";
|
|
1798
|
+
const $$file$6 = "/home/leo/code/ecomplus/cloud-commerce/packages/storefront/src/lib/views/index.astro";
|
|
1837
1799
|
const $$url$6 = undefined;
|
|
1838
1800
|
|
|
1839
1801
|
const $$module1$2 = /*#__PURE__*/Object.freeze(/*#__PURE__*/Object.defineProperty({
|
|
1840
1802
|
__proto__: null,
|
|
1841
1803
|
$$metadata: $$metadata$6,
|
|
1842
|
-
default: $$
|
|
1804
|
+
default: $$Index$2,
|
|
1843
1805
|
file: $$file$6,
|
|
1844
1806
|
url: $$url$6
|
|
1845
1807
|
}, Symbol.toStringTag, { value: 'Module' }));
|
|
1846
1808
|
|
|
1847
|
-
const $$metadata$5 = createMetadata("/@fs/home/leo/code/ecomplus/cloud-commerce/packages/storefront/src/pages/
|
|
1848
|
-
const $$Astro$5 = createAstro("/@fs/home/leo/code/ecomplus/cloud-commerce/packages/storefront/src/pages/
|
|
1849
|
-
const $$
|
|
1809
|
+
const $$metadata$5 = createMetadata("/@fs/home/leo/code/ecomplus/cloud-commerce/packages/storefront/src/pages/index.astro", { modules: [{ module: $$module1$2, specifier: "../lib/views/index.astro", assert: {} }, { module: $$module2$2, specifier: "../lib/ssr-context", assert: {} }], hydratedComponents: [], clientOnlyComponents: [], hydrationDirectives: /* @__PURE__ */ new Set([]), hoisted: [] });
|
|
1810
|
+
const $$Astro$5 = createAstro("/@fs/home/leo/code/ecomplus/cloud-commerce/packages/storefront/src/pages/index.astro", "https://storefront-demo.e-com.plus/", "file:///home/leo/code/ecomplus/cloud-commerce/packages/storefront/");
|
|
1811
|
+
const $$Index$1 = createComponent(async ($$result, $$props, $$slots) => {
|
|
1850
1812
|
const Astro2 = $$result.createAstro($$Astro$5, $$props, $$slots);
|
|
1851
|
-
Astro2.self = $$
|
|
1813
|
+
Astro2.self = $$Index$1;
|
|
1852
1814
|
let pageContext;
|
|
1815
|
+
let loadError;
|
|
1853
1816
|
try {
|
|
1854
1817
|
pageContext = await loadPageContext(Astro2);
|
|
1855
1818
|
} catch (err) {
|
|
1856
|
-
|
|
1819
|
+
if (err.astroResponse) {
|
|
1820
|
+
return err.astroResponse;
|
|
1821
|
+
}
|
|
1822
|
+
loadError = err;
|
|
1857
1823
|
}
|
|
1858
|
-
return renderTemplate`${renderComponent($$result, "
|
|
1824
|
+
return renderTemplate`${pageContext && renderTemplate`${renderComponent($$result, "ViewHome", $$Index$2, { "pageContext": pageContext })}`}
|
|
1825
|
+
${loadError && renderTemplate`${renderComponent($$result, "Fragment", Fragment, {}, { "default": () => renderTemplate`${markHTMLString(loadError.responseHTML)}` })}`}`;
|
|
1859
1826
|
});
|
|
1860
1827
|
|
|
1861
|
-
const $$file$5 = "/home/leo/code/ecomplus/cloud-commerce/packages/storefront/src/pages/
|
|
1862
|
-
const $$url$5 = "
|
|
1828
|
+
const $$file$5 = "/home/leo/code/ecomplus/cloud-commerce/packages/storefront/src/pages/index.astro";
|
|
1829
|
+
const $$url$5 = "";
|
|
1863
1830
|
|
|
1864
|
-
const
|
|
1831
|
+
const _page0 = /*#__PURE__*/Object.freeze(/*#__PURE__*/Object.defineProperty({
|
|
1865
1832
|
__proto__: null,
|
|
1866
1833
|
$$metadata: $$metadata$5,
|
|
1867
|
-
default: $$
|
|
1834
|
+
default: $$Index$1,
|
|
1868
1835
|
file: $$file$5,
|
|
1869
1836
|
url: $$url$5
|
|
1870
1837
|
}, Symbol.toStringTag, { value: 'Module' }));
|
|
1871
1838
|
|
|
1872
|
-
const $$metadata$4 = createMetadata("/@fs/home/leo/code/ecomplus/cloud-commerce/packages/storefront/src/lib/views/
|
|
1873
|
-
const $$Astro$4 = createAstro("/@fs/home/leo/code/ecomplus/cloud-commerce/packages/storefront/src/lib/views/
|
|
1874
|
-
const $$
|
|
1839
|
+
const $$metadata$4 = createMetadata("/@fs/home/leo/code/ecomplus/cloud-commerce/packages/storefront/src/lib/views/fallback.astro", { modules: [{ module: $$module1$3, specifier: "../layouts/Layout.astro", assert: {} }, { module: $$module2, specifier: "../components/Card.astro", assert: {} }], hydratedComponents: [], clientOnlyComponents: [], hydrationDirectives: /* @__PURE__ */ new Set([]), hoisted: [] });
|
|
1840
|
+
const $$Astro$4 = createAstro("/@fs/home/leo/code/ecomplus/cloud-commerce/packages/storefront/src/lib/views/fallback.astro", "https://storefront-demo.e-com.plus/", "file:///home/leo/code/ecomplus/cloud-commerce/packages/storefront/");
|
|
1841
|
+
const $$Fallback$1 = createComponent(async ($$result, $$props, $$slots) => {
|
|
1875
1842
|
const Astro2 = $$result.createAstro($$Astro$4, $$props, $$slots);
|
|
1876
|
-
Astro2.self = $$
|
|
1843
|
+
Astro2.self = $$Fallback$1;
|
|
1877
1844
|
const STYLES = [];
|
|
1878
1845
|
for (const STYLE of STYLES)
|
|
1879
1846
|
$$result.styles.add(STYLE);
|
|
1880
|
-
return renderTemplate`${renderComponent($$result, "Layout", $$Layout, { "title": "Welcome to Astro.", "class": "astro-
|
|
1881
|
-
<h1 class="astro-
|
|
1882
|
-
<p class="instructions astro-
|
|
1883
|
-
Check out the <code class="astro-
|
|
1884
|
-
<strong class="astro-
|
|
1847
|
+
return renderTemplate`${renderComponent($$result, "Layout", $$Layout, { "title": "Welcome to Astro.", "class": "astro-HIITKN5F" }, { "default": () => renderTemplate`${maybeRenderHead($$result)}<main class="astro-HIITKN5F">
|
|
1848
|
+
<h1 class="astro-HIITKN5F">Error :/</h1>
|
|
1849
|
+
<p class="instructions astro-HIITKN5F">
|
|
1850
|
+
Check out the <code class="astro-HIITKN5F">src/pages</code> directory to get started.<br class="astro-HIITKN5F">
|
|
1851
|
+
<strong class="astro-HIITKN5F">Code Challenge:</strong> Tweak the "Welcome to Astro" message above.
|
|
1885
1852
|
</p>
|
|
1886
|
-
<ul role="list" class="link-card-grid astro-
|
|
1887
|
-
${renderComponent($$result, "Card", $$Card, { "href": "https://docs.astro.build/", "title": "Documentation", "body": "Learn how Astro works and explore the official API docs.", "class": "astro-
|
|
1888
|
-
${renderComponent($$result, "Card", $$Card, { "href": "https://astro.build/integrations/", "title": "Integrations", "body": "Supercharge your project with new frameworks and libraries.", "class": "astro-
|
|
1889
|
-
${renderComponent($$result, "Card", $$Card, { "href": "https://astro.build/themes/", "title": "Themes", "body": "Explore a galaxy of community-built starter themes.", "class": "astro-
|
|
1890
|
-
${renderComponent($$result, "Card", $$Card, { "href": "https://astro.build/chat/", "title": "Chat", "body": "Come say hi to our amazing Discord community. \u2764\uFE0F", "class": "astro-
|
|
1853
|
+
<ul role="list" class="link-card-grid astro-HIITKN5F">
|
|
1854
|
+
${renderComponent($$result, "Card", $$Card, { "href": "https://docs.astro.build/", "title": "Documentation", "body": "Learn how Astro works and explore the official API docs.", "class": "astro-HIITKN5F" })}
|
|
1855
|
+
${renderComponent($$result, "Card", $$Card, { "href": "https://astro.build/integrations/", "title": "Integrations", "body": "Supercharge your project with new frameworks and libraries.", "class": "astro-HIITKN5F" })}
|
|
1856
|
+
${renderComponent($$result, "Card", $$Card, { "href": "https://astro.build/themes/", "title": "Themes", "body": "Explore a galaxy of community-built starter themes.", "class": "astro-HIITKN5F" })}
|
|
1857
|
+
${renderComponent($$result, "Card", $$Card, { "href": "https://astro.build/chat/", "title": "Chat", "body": "Come say hi to our amazing Discord community. \u2764\uFE0F", "class": "astro-HIITKN5F" })}
|
|
1891
1858
|
</ul>
|
|
1892
1859
|
</main>` })}
|
|
1893
1860
|
|
|
1894
1861
|
`;
|
|
1895
1862
|
});
|
|
1896
1863
|
|
|
1897
|
-
const $$file$4 = "/home/leo/code/ecomplus/cloud-commerce/packages/storefront/src/lib/views/
|
|
1864
|
+
const $$file$4 = "/home/leo/code/ecomplus/cloud-commerce/packages/storefront/src/lib/views/fallback.astro";
|
|
1898
1865
|
const $$url$4 = undefined;
|
|
1899
1866
|
|
|
1900
1867
|
const $$module1$1 = /*#__PURE__*/Object.freeze(/*#__PURE__*/Object.defineProperty({
|
|
1901
1868
|
__proto__: null,
|
|
1902
1869
|
$$metadata: $$metadata$4,
|
|
1903
|
-
default: $$
|
|
1870
|
+
default: $$Fallback$1,
|
|
1904
1871
|
file: $$file$4,
|
|
1905
1872
|
url: $$url$4
|
|
1906
1873
|
}, Symbol.toStringTag, { value: 'Module' }));
|
|
1907
1874
|
|
|
1908
|
-
const $$metadata$3 = createMetadata("/@fs/home/leo/code/ecomplus/cloud-commerce/packages/storefront/src/pages/
|
|
1909
|
-
const $$Astro$3 = createAstro("/@fs/home/leo/code/ecomplus/cloud-commerce/packages/storefront/src/pages/
|
|
1910
|
-
const $$
|
|
1875
|
+
const $$metadata$3 = createMetadata("/@fs/home/leo/code/ecomplus/cloud-commerce/packages/storefront/src/pages/fallback.astro", { modules: [{ module: $$module1$1, specifier: "../lib/views/fallback.astro", assert: {} }, { module: $$module2$2, specifier: "../lib/ssr-context", assert: {} }], hydratedComponents: [], clientOnlyComponents: [], hydrationDirectives: /* @__PURE__ */ new Set([]), hoisted: [] });
|
|
1876
|
+
const $$Astro$3 = createAstro("/@fs/home/leo/code/ecomplus/cloud-commerce/packages/storefront/src/pages/fallback.astro", "https://storefront-demo.e-com.plus/", "file:///home/leo/code/ecomplus/cloud-commerce/packages/storefront/");
|
|
1877
|
+
const $$Fallback = createComponent(async ($$result, $$props, $$slots) => {
|
|
1911
1878
|
const Astro2 = $$result.createAstro($$Astro$3, $$props, $$slots);
|
|
1912
|
-
Astro2.self = $$
|
|
1879
|
+
Astro2.self = $$Fallback;
|
|
1913
1880
|
let pageContext;
|
|
1914
1881
|
try {
|
|
1915
1882
|
pageContext = await loadPageContext(Astro2);
|
|
1916
1883
|
} catch (err) {
|
|
1917
1884
|
return err.astroResponse;
|
|
1918
1885
|
}
|
|
1919
|
-
return renderTemplate`${renderComponent($$result, "
|
|
1886
|
+
return renderTemplate`${renderComponent($$result, "ViewFallback", $$Fallback$1, { "pageContext": pageContext })}`;
|
|
1920
1887
|
});
|
|
1921
1888
|
|
|
1922
|
-
const $$file$3 = "/home/leo/code/ecomplus/cloud-commerce/packages/storefront/src/pages/
|
|
1923
|
-
const $$url$3 = "/
|
|
1889
|
+
const $$file$3 = "/home/leo/code/ecomplus/cloud-commerce/packages/storefront/src/pages/fallback.astro";
|
|
1890
|
+
const $$url$3 = "/fallback";
|
|
1924
1891
|
|
|
1925
|
-
const
|
|
1892
|
+
const _page1 = /*#__PURE__*/Object.freeze(/*#__PURE__*/Object.defineProperty({
|
|
1926
1893
|
__proto__: null,
|
|
1927
1894
|
$$metadata: $$metadata$3,
|
|
1928
|
-
default: $$
|
|
1895
|
+
default: $$Fallback,
|
|
1929
1896
|
file: $$file$3,
|
|
1930
1897
|
url: $$url$3
|
|
1931
1898
|
}, Symbol.toStringTag, { value: 'Module' }));
|
|
@@ -1941,7 +1908,7 @@ const $$Index = createComponent(async ($$result, $$props, $$slots) => {
|
|
|
1941
1908
|
const $$file$2 = "/home/leo/code/ecomplus/cloud-commerce/packages/storefront/src/pages/app/index.astro";
|
|
1942
1909
|
const $$url$2 = "/app";
|
|
1943
1910
|
|
|
1944
|
-
const
|
|
1911
|
+
const _page2 = /*#__PURE__*/Object.freeze(/*#__PURE__*/Object.defineProperty({
|
|
1945
1912
|
__proto__: null,
|
|
1946
1913
|
$$metadata: $$metadata$2,
|
|
1947
1914
|
default: $$Index,
|
|
@@ -1949,7 +1916,7 @@ const _page3 = /*#__PURE__*/Object.freeze(/*#__PURE__*/Object.defineProperty({
|
|
|
1949
1916
|
url: $$url$2
|
|
1950
1917
|
}, Symbol.toStringTag, { value: 'Module' }));
|
|
1951
1918
|
|
|
1952
|
-
const $$metadata$1 = createMetadata("/@fs/home/leo/code/ecomplus/cloud-commerce/packages/storefront/src/lib/views/[...slug].astro", { modules: [{ module: $$module1$
|
|
1919
|
+
const $$metadata$1 = createMetadata("/@fs/home/leo/code/ecomplus/cloud-commerce/packages/storefront/src/lib/views/[...slug].astro", { modules: [{ module: $$module1$3, specifier: "../layouts/Layout.astro", assert: {} }], hydratedComponents: [], clientOnlyComponents: [], hydrationDirectives: /* @__PURE__ */ new Set([]), hoisted: [] });
|
|
1953
1920
|
const $$Astro$1 = createAstro("/@fs/home/leo/code/ecomplus/cloud-commerce/packages/storefront/src/lib/views/[...slug].astro", "https://storefront-demo.e-com.plus/", "file:///home/leo/code/ecomplus/cloud-commerce/packages/storefront/");
|
|
1954
1921
|
const $$$1 = createComponent(async ($$result, $$props, $$slots) => {
|
|
1955
1922
|
const Astro2 = $$result.createAstro($$Astro$1, $$props, $$slots);
|
|
@@ -1989,18 +1956,23 @@ const $$ = createComponent(async ($$result, $$props, $$slots) => {
|
|
|
1989
1956
|
const Astro2 = $$result.createAstro($$Astro, $$props, $$slots);
|
|
1990
1957
|
Astro2.self = $$;
|
|
1991
1958
|
let pageContext;
|
|
1959
|
+
let loadError;
|
|
1992
1960
|
try {
|
|
1993
1961
|
pageContext = await loadPageContext(Astro2);
|
|
1994
1962
|
} catch (err) {
|
|
1995
|
-
|
|
1963
|
+
if (err.astroResponse) {
|
|
1964
|
+
return err.astroResponse;
|
|
1965
|
+
}
|
|
1966
|
+
loadError = err;
|
|
1996
1967
|
}
|
|
1997
|
-
return renderTemplate`${renderComponent($$result, "ViewWildcard", $$$1, { "pageContext": pageContext })}
|
|
1968
|
+
return renderTemplate`${pageContext && renderTemplate`${renderComponent($$result, "ViewWildcard", $$$1, { "pageContext": pageContext })}`}
|
|
1969
|
+
${loadError && renderTemplate`${renderComponent($$result, "Fragment", Fragment, {}, { "default": () => renderTemplate`${markHTMLString(loadError.responseHTML)}` })}`}`;
|
|
1998
1970
|
});
|
|
1999
1971
|
|
|
2000
1972
|
const $$file = "/home/leo/code/ecomplus/cloud-commerce/packages/storefront/src/pages/[...slug].astro";
|
|
2001
1973
|
const $$url = "/[...slug]";
|
|
2002
1974
|
|
|
2003
|
-
const
|
|
1975
|
+
const _page3 = /*#__PURE__*/Object.freeze(/*#__PURE__*/Object.defineProperty({
|
|
2004
1976
|
__proto__: null,
|
|
2005
1977
|
$$metadata,
|
|
2006
1978
|
default: $$,
|
|
@@ -2008,7 +1980,7 @@ const _page4 = /*#__PURE__*/Object.freeze(/*#__PURE__*/Object.defineProperty({
|
|
|
2008
1980
|
url: $$url
|
|
2009
1981
|
}, Symbol.toStringTag, { value: 'Module' }));
|
|
2010
1982
|
|
|
2011
|
-
const pageMap = new Map([['src/pages/index.astro', _page0],['src/pages/
|
|
1983
|
+
const pageMap = new Map([['src/pages/index.astro', _page0],['src/pages/fallback.astro', _page1],['src/pages/app/index.astro', _page2],['src/pages/[...slug].astro', _page3],]);
|
|
2012
1984
|
const renderers = [Object.assign({"name":"astro:jsx","serverEntrypoint":"astro/jsx/server.js","jsxImportSource":"astro"}, { ssr: server_default }),Object.assign({"name":"@astrojs/vue","clientEntrypoint":"@astrojs/vue/client.js","serverEntrypoint":"@astrojs/vue/server.js"}, { ssr: _renderer1 }),];
|
|
2013
1985
|
|
|
2014
1986
|
if (typeof process !== "undefined") {
|
|
@@ -2080,7 +2052,7 @@ function deserializeManifest(serializedManifest) {
|
|
|
2080
2052
|
};
|
|
2081
2053
|
}
|
|
2082
2054
|
|
|
2083
|
-
const _manifest = Object.assign(deserializeManifest({"adapterName":"@astrojs/node","routes":[{"file":"","links":["assets/404-500-_...d4aa8aff.css","assets/404-500-index.d9230d24.css","assets/index.9745690c.css"],"scripts":[{"type":"external","value":"page.3aa82516.js"},{"stage":"head-inline","children":"!(function(w,p,f,c){c=w[p]=Object.assign(w[p]||{},{\"lib\":\"/~partytown/\",\"debug\":false});c[f]=(c[f]||[])})(window,'partytown','forward');/* Partytown 0.4.5 - MIT builder.io */\n!function(t,e,n,i,r,o,a,d,s,c,p,l){function u(){l||(l=1,\"/\"==(a=(o.lib||\"/~partytown/\")+(o.debug?\"debug/\":\"\"))[0]&&(s=e.querySelectorAll('script[type=\"text/partytown\"]'),i!=t?i.dispatchEvent(new CustomEvent(\"pt1\",{detail:t})):(d=setTimeout(w,1e4),e.addEventListener(\"pt0\",f),r?h(1):n.serviceWorker?n.serviceWorker.register(a+(o.swPath||\"partytown-sw.js\"),{scope:a}).then((function(t){t.active?h():t.installing&&t.installing.addEventListener(\"statechange\",(function(t){\"activated\"==t.target.state&&h()}))}),console.error):w())))}function h(t){c=e.createElement(t?\"script\":\"iframe\"),t||(c.setAttribute(\"style\",\"display:block;width:0;height:0;border:0;visibility:hidden\"),c.setAttribute(\"aria-hidden\",!0)),c.src=a+\"partytown-\"+(t?\"atomics.js?v=0.4.5\":\"sandbox-sw.html?\"+Date.now()),e.body.appendChild(c)}function w(t,n){for(f(),t=0;t<s.length;t++)(n=e.createElement(\"script\")).innerHTML=s[t].innerHTML,e.head.appendChild(n);c&&c.parentNode.removeChild(c)}function f(){clearTimeout(d)}o=t.partytown||{},i==t&&(o.forward||[]).map((function(e){p=t,e.split(\".\").map((function(e,n,i){p=p[i[n]]=n+1<i.length?\"push\"==i[n+1]?[]:p[i[n]]||{}:function(){(t._ptf=t._ptf||[]).push(i,arguments)}}))})),\"complete\"==e.readyState?u():(t.addEventListener(\"DOMContentLoaded\",u),t.addEventListener(\"load\",u))}(window,document,navigator,top,window.crossOriginIsolated);"}],"routeData":{"route":"/","type":"page","pattern":"^\\/$","segments":[],"params":[],"component":"src/pages/index.astro","pathname":"/","_meta":{"trailingSlash":"ignore"}}},{"file":"","links":["assets/404-500-_...d4aa8aff.css","assets/404-500-index.d9230d24.css","assets/404.b3ead908.css"],"scripts":[{"type":"external","value":"page.3aa82516.js"},{"stage":"head-inline","children":"!(function(w,p,f,c){c=w[p]=Object.assign(w[p]||{},{\"lib\":\"/~partytown/\",\"debug\":false});c[f]=(c[f]||[])})(window,'partytown','forward');/* Partytown 0.4.5 - MIT builder.io */\n!function(t,e,n,i,r,o,a,d,s,c,p,l){function u(){l||(l=1,\"/\"==(a=(o.lib||\"/~partytown/\")+(o.debug?\"debug/\":\"\"))[0]&&(s=e.querySelectorAll('script[type=\"text/partytown\"]'),i!=t?i.dispatchEvent(new CustomEvent(\"pt1\",{detail:t})):(d=setTimeout(w,1e4),e.addEventListener(\"pt0\",f),r?h(1):n.serviceWorker?n.serviceWorker.register(a+(o.swPath||\"partytown-sw.js\"),{scope:a}).then((function(t){t.active?h():t.installing&&t.installing.addEventListener(\"statechange\",(function(t){\"activated\"==t.target.state&&h()}))}),console.error):w())))}function h(t){c=e.createElement(t?\"script\":\"iframe\"),t||(c.setAttribute(\"style\",\"display:block;width:0;height:0;border:0;visibility:hidden\"),c.setAttribute(\"aria-hidden\",!0)),c.src=a+\"partytown-\"+(t?\"atomics.js?v=0.4.5\":\"sandbox-sw.html?\"+Date.now()),e.body.appendChild(c)}function w(t,n){for(f(),t=0;t<s.length;t++)(n=e.createElement(\"script\")).innerHTML=s[t].innerHTML,e.head.appendChild(n);c&&c.parentNode.removeChild(c)}function f(){clearTimeout(d)}o=t.partytown||{},i==t&&(o.forward||[]).map((function(e){p=t,e.split(\".\").map((function(e,n,i){p=p[i[n]]=n+1<i.length?\"push\"==i[n+1]?[]:p[i[n]]||{}:function(){(t._ptf=t._ptf||[]).push(i,arguments)}}))})),\"complete\"==e.readyState?u():(t.addEventListener(\"DOMContentLoaded\",u),t.addEventListener(\"load\",u))}(window,document,navigator,top,window.crossOriginIsolated);"}],"routeData":{"route":"/404","type":"page","pattern":"^\\/404\\/?$","segments":[[{"content":"404","dynamic":false,"spread":false}]],"params":[],"component":"src/pages/404.astro","pathname":"/404","_meta":{"trailingSlash":"ignore"}}},{"file":"","links":["assets/404-500-_...d4aa8aff.css","assets/404-500-index.d9230d24.css","assets/500.d5d7700b.css"],"scripts":[{"type":"external","value":"page.3aa82516.js"},{"stage":"head-inline","children":"!(function(w,p,f,c){c=w[p]=Object.assign(w[p]||{},{\"lib\":\"/~partytown/\",\"debug\":false});c[f]=(c[f]||[])})(window,'partytown','forward');/* Partytown 0.4.5 - MIT builder.io */\n!function(t,e,n,i,r,o,a,d,s,c,p,l){function u(){l||(l=1,\"/\"==(a=(o.lib||\"/~partytown/\")+(o.debug?\"debug/\":\"\"))[0]&&(s=e.querySelectorAll('script[type=\"text/partytown\"]'),i!=t?i.dispatchEvent(new CustomEvent(\"pt1\",{detail:t})):(d=setTimeout(w,1e4),e.addEventListener(\"pt0\",f),r?h(1):n.serviceWorker?n.serviceWorker.register(a+(o.swPath||\"partytown-sw.js\"),{scope:a}).then((function(t){t.active?h():t.installing&&t.installing.addEventListener(\"statechange\",(function(t){\"activated\"==t.target.state&&h()}))}),console.error):w())))}function h(t){c=e.createElement(t?\"script\":\"iframe\"),t||(c.setAttribute(\"style\",\"display:block;width:0;height:0;border:0;visibility:hidden\"),c.setAttribute(\"aria-hidden\",!0)),c.src=a+\"partytown-\"+(t?\"atomics.js?v=0.4.5\":\"sandbox-sw.html?\"+Date.now()),e.body.appendChild(c)}function w(t,n){for(f(),t=0;t<s.length;t++)(n=e.createElement(\"script\")).innerHTML=s[t].innerHTML,e.head.appendChild(n);c&&c.parentNode.removeChild(c)}function f(){clearTimeout(d)}o=t.partytown||{},i==t&&(o.forward||[]).map((function(e){p=t,e.split(\".\").map((function(e,n,i){p=p[i[n]]=n+1<i.length?\"push\"==i[n+1]?[]:p[i[n]]||{}:function(){(t._ptf=t._ptf||[]).push(i,arguments)}}))})),\"complete\"==e.readyState?u():(t.addEventListener(\"DOMContentLoaded\",u),t.addEventListener(\"load\",u))}(window,document,navigator,top,window.crossOriginIsolated);"}],"routeData":{"route":"/500","type":"page","pattern":"^\\/500\\/?$","segments":[[{"content":"500","dynamic":false,"spread":false}]],"params":[],"component":"src/pages/500.astro","pathname":"/500","_meta":{"trailingSlash":"ignore"}}},{"file":"","links":[],"scripts":[{"type":"external","value":"page.3aa82516.js"},{"stage":"head-inline","children":"!(function(w,p,f,c){c=w[p]=Object.assign(w[p]||{},{\"lib\":\"/~partytown/\",\"debug\":false});c[f]=(c[f]||[])})(window,'partytown','forward');/* Partytown 0.4.5 - MIT builder.io */\n!function(t,e,n,i,r,o,a,d,s,c,p,l){function u(){l||(l=1,\"/\"==(a=(o.lib||\"/~partytown/\")+(o.debug?\"debug/\":\"\"))[0]&&(s=e.querySelectorAll('script[type=\"text/partytown\"]'),i!=t?i.dispatchEvent(new CustomEvent(\"pt1\",{detail:t})):(d=setTimeout(w,1e4),e.addEventListener(\"pt0\",f),r?h(1):n.serviceWorker?n.serviceWorker.register(a+(o.swPath||\"partytown-sw.js\"),{scope:a}).then((function(t){t.active?h():t.installing&&t.installing.addEventListener(\"statechange\",(function(t){\"activated\"==t.target.state&&h()}))}),console.error):w())))}function h(t){c=e.createElement(t?\"script\":\"iframe\"),t||(c.setAttribute(\"style\",\"display:block;width:0;height:0;border:0;visibility:hidden\"),c.setAttribute(\"aria-hidden\",!0)),c.src=a+\"partytown-\"+(t?\"atomics.js?v=0.4.5\":\"sandbox-sw.html?\"+Date.now()),e.body.appendChild(c)}function w(t,n){for(f(),t=0;t<s.length;t++)(n=e.createElement(\"script\")).innerHTML=s[t].innerHTML,e.head.appendChild(n);c&&c.parentNode.removeChild(c)}function f(){clearTimeout(d)}o=t.partytown||{},i==t&&(o.forward||[]).map((function(e){p=t,e.split(\".\").map((function(e,n,i){p=p[i[n]]=n+1<i.length?\"push\"==i[n+1]?[]:p[i[n]]||{}:function(){(t._ptf=t._ptf||[]).push(i,arguments)}}))})),\"complete\"==e.readyState?u():(t.addEventListener(\"DOMContentLoaded\",u),t.addEventListener(\"load\",u))}(window,document,navigator,top,window.crossOriginIsolated);"}],"routeData":{"route":"/app","type":"page","pattern":"^\\/app\\/?$","segments":[[{"content":"app","dynamic":false,"spread":false}]],"params":[],"component":"src/pages/app/index.astro","pathname":"/app","_meta":{"trailingSlash":"ignore"}}},{"file":"","links":["assets/404-500-_...d4aa8aff.css","assets/_...c08e0a75.css"],"scripts":[{"type":"external","value":"page.3aa82516.js"},{"stage":"head-inline","children":"!(function(w,p,f,c){c=w[p]=Object.assign(w[p]||{},{\"lib\":\"/~partytown/\",\"debug\":false});c[f]=(c[f]||[])})(window,'partytown','forward');/* Partytown 0.4.5 - MIT builder.io */\n!function(t,e,n,i,r,o,a,d,s,c,p,l){function u(){l||(l=1,\"/\"==(a=(o.lib||\"/~partytown/\")+(o.debug?\"debug/\":\"\"))[0]&&(s=e.querySelectorAll('script[type=\"text/partytown\"]'),i!=t?i.dispatchEvent(new CustomEvent(\"pt1\",{detail:t})):(d=setTimeout(w,1e4),e.addEventListener(\"pt0\",f),r?h(1):n.serviceWorker?n.serviceWorker.register(a+(o.swPath||\"partytown-sw.js\"),{scope:a}).then((function(t){t.active?h():t.installing&&t.installing.addEventListener(\"statechange\",(function(t){\"activated\"==t.target.state&&h()}))}),console.error):w())))}function h(t){c=e.createElement(t?\"script\":\"iframe\"),t||(c.setAttribute(\"style\",\"display:block;width:0;height:0;border:0;visibility:hidden\"),c.setAttribute(\"aria-hidden\",!0)),c.src=a+\"partytown-\"+(t?\"atomics.js?v=0.4.5\":\"sandbox-sw.html?\"+Date.now()),e.body.appendChild(c)}function w(t,n){for(f(),t=0;t<s.length;t++)(n=e.createElement(\"script\")).innerHTML=s[t].innerHTML,e.head.appendChild(n);c&&c.parentNode.removeChild(c)}function f(){clearTimeout(d)}o=t.partytown||{},i==t&&(o.forward||[]).map((function(e){p=t,e.split(\".\").map((function(e,n,i){p=p[i[n]]=n+1<i.length?\"push\"==i[n+1]?[]:p[i[n]]||{}:function(){(t._ptf=t._ptf||[]).push(i,arguments)}}))})),\"complete\"==e.readyState?u():(t.addEventListener(\"DOMContentLoaded\",u),t.addEventListener(\"load\",u))}(window,document,navigator,top,window.crossOriginIsolated);"}],"routeData":{"route":"/[...slug]","type":"page","pattern":"^(?:\\/(.*?))?\\/?$","segments":[[{"content":"...slug","dynamic":true,"spread":true}]],"params":["...slug"],"component":"src/pages/[...slug].astro","_meta":{"trailingSlash":"ignore"}}}],"site":"https://storefront-demo.e-com.plus/","base":"/","markdown":{"drafts":false,"syntaxHighlight":"shiki","shikiConfig":{"langs":[],"theme":"github-dark","wrap":false},"remarkPlugins":[],"rehypePlugins":[],"remarkRehype":{},"extendDefaultPlugins":false,"isAstroFlavoredMd":false},"pageMap":null,"renderers":[],"entryModules":{"\u0000@astrojs-ssr-virtual-entry":"entry.mjs","@astrojs/vue/client.js":"client.6d48c590.js","astro:scripts/page.js":"page.3aa82516.js","astro:scripts/before-hydration.js":"data:text/javascript;charset=utf-8,//[no before-hydration script]"},"assets":["/assets/404.b3ead908.css","/assets/500.d5d7700b.css","/assets/404-500-_...d4aa8aff.css","/assets/404-500-index.d9230d24.css","/assets/_...c08e0a75.css","/assets/index.9745690c.css","/client.6d48c590.js","/favicon.ico","/page.3aa82516.js","/page.3aa82516.js","/~partytown/partytown-atomics.js","/~partytown/partytown-media.js","/~partytown/partytown-sw.js","/~partytown/partytown.js"]}), {
|
|
2055
|
+
const _manifest = Object.assign(deserializeManifest({"adapterName":"@astrojs/node","routes":[{"file":"","links":["assets/_...d4aa8aff.css","assets/fallback-index.d9230d24.css","assets/index.9745690c.css"],"scripts":[{"type":"external","value":"page.3aa82516.js"},{"stage":"head-inline","children":"!(function(w,p,f,c){c=w[p]=Object.assign(w[p]||{},{\"lib\":\"/~partytown/\",\"debug\":false});c[f]=(c[f]||[])})(window,'partytown','forward');/* Partytown 0.4.5 - MIT builder.io */\n!function(t,e,n,i,r,o,a,d,s,c,p,l){function u(){l||(l=1,\"/\"==(a=(o.lib||\"/~partytown/\")+(o.debug?\"debug/\":\"\"))[0]&&(s=e.querySelectorAll('script[type=\"text/partytown\"]'),i!=t?i.dispatchEvent(new CustomEvent(\"pt1\",{detail:t})):(d=setTimeout(w,1e4),e.addEventListener(\"pt0\",f),r?h(1):n.serviceWorker?n.serviceWorker.register(a+(o.swPath||\"partytown-sw.js\"),{scope:a}).then((function(t){t.active?h():t.installing&&t.installing.addEventListener(\"statechange\",(function(t){\"activated\"==t.target.state&&h()}))}),console.error):w())))}function h(t){c=e.createElement(t?\"script\":\"iframe\"),t||(c.setAttribute(\"style\",\"display:block;width:0;height:0;border:0;visibility:hidden\"),c.setAttribute(\"aria-hidden\",!0)),c.src=a+\"partytown-\"+(t?\"atomics.js?v=0.4.5\":\"sandbox-sw.html?\"+Date.now()),e.body.appendChild(c)}function w(t,n){for(f(),t=0;t<s.length;t++)(n=e.createElement(\"script\")).innerHTML=s[t].innerHTML,e.head.appendChild(n);c&&c.parentNode.removeChild(c)}function f(){clearTimeout(d)}o=t.partytown||{},i==t&&(o.forward||[]).map((function(e){p=t,e.split(\".\").map((function(e,n,i){p=p[i[n]]=n+1<i.length?\"push\"==i[n+1]?[]:p[i[n]]||{}:function(){(t._ptf=t._ptf||[]).push(i,arguments)}}))})),\"complete\"==e.readyState?u():(t.addEventListener(\"DOMContentLoaded\",u),t.addEventListener(\"load\",u))}(window,document,navigator,top,window.crossOriginIsolated);"}],"routeData":{"route":"/","type":"page","pattern":"^\\/$","segments":[],"params":[],"component":"src/pages/index.astro","pathname":"/","_meta":{"trailingSlash":"ignore"}}},{"file":"","links":["assets/_...d4aa8aff.css","assets/fallback-index.d9230d24.css","assets/fallback.9745a8aa.css"],"scripts":[{"type":"external","value":"page.3aa82516.js"},{"stage":"head-inline","children":"!(function(w,p,f,c){c=w[p]=Object.assign(w[p]||{},{\"lib\":\"/~partytown/\",\"debug\":false});c[f]=(c[f]||[])})(window,'partytown','forward');/* Partytown 0.4.5 - MIT builder.io */\n!function(t,e,n,i,r,o,a,d,s,c,p,l){function u(){l||(l=1,\"/\"==(a=(o.lib||\"/~partytown/\")+(o.debug?\"debug/\":\"\"))[0]&&(s=e.querySelectorAll('script[type=\"text/partytown\"]'),i!=t?i.dispatchEvent(new CustomEvent(\"pt1\",{detail:t})):(d=setTimeout(w,1e4),e.addEventListener(\"pt0\",f),r?h(1):n.serviceWorker?n.serviceWorker.register(a+(o.swPath||\"partytown-sw.js\"),{scope:a}).then((function(t){t.active?h():t.installing&&t.installing.addEventListener(\"statechange\",(function(t){\"activated\"==t.target.state&&h()}))}),console.error):w())))}function h(t){c=e.createElement(t?\"script\":\"iframe\"),t||(c.setAttribute(\"style\",\"display:block;width:0;height:0;border:0;visibility:hidden\"),c.setAttribute(\"aria-hidden\",!0)),c.src=a+\"partytown-\"+(t?\"atomics.js?v=0.4.5\":\"sandbox-sw.html?\"+Date.now()),e.body.appendChild(c)}function w(t,n){for(f(),t=0;t<s.length;t++)(n=e.createElement(\"script\")).innerHTML=s[t].innerHTML,e.head.appendChild(n);c&&c.parentNode.removeChild(c)}function f(){clearTimeout(d)}o=t.partytown||{},i==t&&(o.forward||[]).map((function(e){p=t,e.split(\".\").map((function(e,n,i){p=p[i[n]]=n+1<i.length?\"push\"==i[n+1]?[]:p[i[n]]||{}:function(){(t._ptf=t._ptf||[]).push(i,arguments)}}))})),\"complete\"==e.readyState?u():(t.addEventListener(\"DOMContentLoaded\",u),t.addEventListener(\"load\",u))}(window,document,navigator,top,window.crossOriginIsolated);"}],"routeData":{"route":"/fallback","type":"page","pattern":"^\\/fallback\\/?$","segments":[[{"content":"fallback","dynamic":false,"spread":false}]],"params":[],"component":"src/pages/fallback.astro","pathname":"/fallback","_meta":{"trailingSlash":"ignore"}}},{"file":"","links":[],"scripts":[{"type":"external","value":"page.3aa82516.js"},{"stage":"head-inline","children":"!(function(w,p,f,c){c=w[p]=Object.assign(w[p]||{},{\"lib\":\"/~partytown/\",\"debug\":false});c[f]=(c[f]||[])})(window,'partytown','forward');/* Partytown 0.4.5 - MIT builder.io */\n!function(t,e,n,i,r,o,a,d,s,c,p,l){function u(){l||(l=1,\"/\"==(a=(o.lib||\"/~partytown/\")+(o.debug?\"debug/\":\"\"))[0]&&(s=e.querySelectorAll('script[type=\"text/partytown\"]'),i!=t?i.dispatchEvent(new CustomEvent(\"pt1\",{detail:t})):(d=setTimeout(w,1e4),e.addEventListener(\"pt0\",f),r?h(1):n.serviceWorker?n.serviceWorker.register(a+(o.swPath||\"partytown-sw.js\"),{scope:a}).then((function(t){t.active?h():t.installing&&t.installing.addEventListener(\"statechange\",(function(t){\"activated\"==t.target.state&&h()}))}),console.error):w())))}function h(t){c=e.createElement(t?\"script\":\"iframe\"),t||(c.setAttribute(\"style\",\"display:block;width:0;height:0;border:0;visibility:hidden\"),c.setAttribute(\"aria-hidden\",!0)),c.src=a+\"partytown-\"+(t?\"atomics.js?v=0.4.5\":\"sandbox-sw.html?\"+Date.now()),e.body.appendChild(c)}function w(t,n){for(f(),t=0;t<s.length;t++)(n=e.createElement(\"script\")).innerHTML=s[t].innerHTML,e.head.appendChild(n);c&&c.parentNode.removeChild(c)}function f(){clearTimeout(d)}o=t.partytown||{},i==t&&(o.forward||[]).map((function(e){p=t,e.split(\".\").map((function(e,n,i){p=p[i[n]]=n+1<i.length?\"push\"==i[n+1]?[]:p[i[n]]||{}:function(){(t._ptf=t._ptf||[]).push(i,arguments)}}))})),\"complete\"==e.readyState?u():(t.addEventListener(\"DOMContentLoaded\",u),t.addEventListener(\"load\",u))}(window,document,navigator,top,window.crossOriginIsolated);"}],"routeData":{"route":"/app","type":"page","pattern":"^\\/app\\/?$","segments":[[{"content":"app","dynamic":false,"spread":false}]],"params":[],"component":"src/pages/app/index.astro","pathname":"/app","_meta":{"trailingSlash":"ignore"}}},{"file":"","links":["assets/_...d4aa8aff.css","assets/_...c08e0a75.css"],"scripts":[{"type":"external","value":"page.3aa82516.js"},{"stage":"head-inline","children":"!(function(w,p,f,c){c=w[p]=Object.assign(w[p]||{},{\"lib\":\"/~partytown/\",\"debug\":false});c[f]=(c[f]||[])})(window,'partytown','forward');/* Partytown 0.4.5 - MIT builder.io */\n!function(t,e,n,i,r,o,a,d,s,c,p,l){function u(){l||(l=1,\"/\"==(a=(o.lib||\"/~partytown/\")+(o.debug?\"debug/\":\"\"))[0]&&(s=e.querySelectorAll('script[type=\"text/partytown\"]'),i!=t?i.dispatchEvent(new CustomEvent(\"pt1\",{detail:t})):(d=setTimeout(w,1e4),e.addEventListener(\"pt0\",f),r?h(1):n.serviceWorker?n.serviceWorker.register(a+(o.swPath||\"partytown-sw.js\"),{scope:a}).then((function(t){t.active?h():t.installing&&t.installing.addEventListener(\"statechange\",(function(t){\"activated\"==t.target.state&&h()}))}),console.error):w())))}function h(t){c=e.createElement(t?\"script\":\"iframe\"),t||(c.setAttribute(\"style\",\"display:block;width:0;height:0;border:0;visibility:hidden\"),c.setAttribute(\"aria-hidden\",!0)),c.src=a+\"partytown-\"+(t?\"atomics.js?v=0.4.5\":\"sandbox-sw.html?\"+Date.now()),e.body.appendChild(c)}function w(t,n){for(f(),t=0;t<s.length;t++)(n=e.createElement(\"script\")).innerHTML=s[t].innerHTML,e.head.appendChild(n);c&&c.parentNode.removeChild(c)}function f(){clearTimeout(d)}o=t.partytown||{},i==t&&(o.forward||[]).map((function(e){p=t,e.split(\".\").map((function(e,n,i){p=p[i[n]]=n+1<i.length?\"push\"==i[n+1]?[]:p[i[n]]||{}:function(){(t._ptf=t._ptf||[]).push(i,arguments)}}))})),\"complete\"==e.readyState?u():(t.addEventListener(\"DOMContentLoaded\",u),t.addEventListener(\"load\",u))}(window,document,navigator,top,window.crossOriginIsolated);"}],"routeData":{"route":"/[...slug]","type":"page","pattern":"^(?:\\/(.*?))?\\/?$","segments":[[{"content":"...slug","dynamic":true,"spread":true}]],"params":["...slug"],"component":"src/pages/[...slug].astro","_meta":{"trailingSlash":"ignore"}}}],"site":"https://storefront-demo.e-com.plus/","base":"/","markdown":{"drafts":false,"syntaxHighlight":"shiki","shikiConfig":{"langs":[],"theme":"github-dark","wrap":false},"remarkPlugins":[],"rehypePlugins":[],"remarkRehype":{},"extendDefaultPlugins":false,"isAstroFlavoredMd":false},"pageMap":null,"renderers":[],"entryModules":{"\u0000@astrojs-ssr-virtual-entry":"entry.mjs","@astrojs/vue/client.js":"client.6d48c590.js","astro:scripts/page.js":"page.3aa82516.js","astro:scripts/before-hydration.js":"data:text/javascript;charset=utf-8,//[no before-hydration script]"},"assets":["/assets/_...c08e0a75.css","/assets/_...d4aa8aff.css","/assets/fallback.9745a8aa.css","/assets/fallback-index.d9230d24.css","/assets/index.9745690c.css","/client.6d48c590.js","/favicon.ico","/page.3aa82516.js","/page.3aa82516.js","/~partytown/partytown-atomics.js","/~partytown/partytown-media.js","/~partytown/partytown-sw.js","/~partytown/partytown.js"]}), {
|
|
2084
2056
|
pageMap: pageMap,
|
|
2085
2057
|
renderers: renderers
|
|
2086
2058
|
});
|