cloudcommerce 0.0.73 → 0.0.74
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 +13 -0
- package/package.json +8 -8
- 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/config/firebase.json +47 -0
- 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 +2 -1
- package/packages/modules/schemas/@checkout.cjs +28 -28
- package/packages/modules/schemas/apply_discount.cjs +2 -2
- package/packages/modules/schemas/calculate_shipping.cjs +4 -4
- package/packages/modules/schemas/create_transaction.cjs +30 -30
- package/packages/modules/schemas/list_payments.cjs +6 -6
- package/packages/modules/src/firebase/ajv.ts +2 -1
- package/packages/modules/src/firebase/handle-module.ts +5 -1
- package/packages/modules/src/firebase/serve-modules-api.ts +5 -3
- package/packages/passport/lib/firebase/handle-passport.js +96 -92
- package/packages/passport/lib/firebase/serve-passport-api.js +35 -34
- package/packages/passport/lib/firebase.js +5 -7
- package/packages/passport/lib/index.js +2 -1
- package/packages/passport/package.json +1 -1
- package/packages/ssr/lib/firebase/serve-storefront.js +33 -33
- package/packages/ssr/lib/firebase.js +2 -4
- package/packages/ssr/lib/index.js +1 -2
- package/packages/ssr/package.json +1 -1
- package/packages/storefront/astro.config.mjs +2 -0
- package/packages/storefront/dist/client/LoginModal.d6b935cf.js +1 -0
- package/packages/storefront/dist/client/assets/{_...c08e0a75.css → _...27b7eb4d.css} +1 -1
- package/packages/storefront/dist/client/assets/_...b3f65c5c.css +1 -0
- package/packages/storefront/dist/client/assets/fallback-index.90217cf0.css +1 -0
- package/packages/storefront/dist/client/assets/{fallback.9745a8aa.css → fallback.9cd2ed3f.css} +1 -1
- package/packages/storefront/dist/client/assets/{index.9745690c.css → index.c5a9ea80.css} +1 -1
- package/packages/storefront/dist/client/chunks/index.esm.69f70489.js +1726 -0
- package/packages/storefront/dist/client/chunks/index.esm2017.1194d1a1.js +457 -0
- package/packages/storefront/dist/client/chunks/runtime-core.esm-bundler.a7337834.js +1 -0
- package/packages/storefront/dist/client/client.80b904f3.js +1 -0
- package/packages/storefront/dist/client/hoisted.24787260.js +376 -0
- package/packages/storefront/dist/server/entry.mjs +342 -69
- package/packages/storefront/package.json +11 -9
- package/packages/storefront/src/assets/firebaseui.css +648 -0
- package/packages/storefront/src/lib/components/LoginModal.vue +42 -9
- package/packages/storefront/src/lib/layouts/Layout.astro +24 -0
- package/packages/types/package.json +1 -1
- package/packages/apps/tiny-erp/lib/event-to-tiny.js +0 -115
- package/packages/apps/tiny-erp/lib/event-to-tiny.js.map +0 -1
- package/packages/apps/tiny-erp/lib/index.js +0 -2
- package/packages/apps/tiny-erp/lib/index.js.map +0 -1
- package/packages/apps/tiny-erp/lib/integration/after-tiny-queue.js +0 -79
- package/packages/apps/tiny-erp/lib/integration/after-tiny-queue.js.map +0 -1
- package/packages/apps/tiny-erp/lib/integration/export-order-to-tiny.js +0 -84
- package/packages/apps/tiny-erp/lib/integration/export-order-to-tiny.js.map +0 -1
- package/packages/apps/tiny-erp/lib/integration/export-product-to-tiny.js +0 -58
- package/packages/apps/tiny-erp/lib/integration/export-product-to-tiny.js.map +0 -1
- package/packages/apps/tiny-erp/lib/integration/helpers/format-tiny-date.js +0 -7
- package/packages/apps/tiny-erp/lib/integration/helpers/format-tiny-date.js.map +0 -1
- package/packages/apps/tiny-erp/lib/integration/import-order-from-tiny.js +0 -92
- package/packages/apps/tiny-erp/lib/integration/import-order-from-tiny.js.map +0 -1
- package/packages/apps/tiny-erp/lib/integration/import-product-from-tiny.js +0 -158
- package/packages/apps/tiny-erp/lib/integration/import-product-from-tiny.js.map +0 -1
- package/packages/apps/tiny-erp/lib/integration/parsers/order-from-tiny.js +0 -46
- package/packages/apps/tiny-erp/lib/integration/parsers/order-from-tiny.js.map +0 -1
- package/packages/apps/tiny-erp/lib/integration/parsers/order-to-tiny.js +0 -193
- package/packages/apps/tiny-erp/lib/integration/parsers/order-to-tiny.js.map +0 -1
- package/packages/apps/tiny-erp/lib/integration/parsers/product-from-tiny.js +0 -199
- package/packages/apps/tiny-erp/lib/integration/parsers/product-from-tiny.js.map +0 -1
- package/packages/apps/tiny-erp/lib/integration/parsers/product-to-tiny.js +0 -129
- package/packages/apps/tiny-erp/lib/integration/parsers/product-to-tiny.js.map +0 -1
- package/packages/apps/tiny-erp/lib/integration/parsers/status-from-tiny.js +0 -34
- package/packages/apps/tiny-erp/lib/integration/parsers/status-from-tiny.js.map +0 -1
- package/packages/apps/tiny-erp/lib/integration/parsers/status-to-tiny.js +0 -39
- package/packages/apps/tiny-erp/lib/integration/parsers/status-to-tiny.js.map +0 -1
- package/packages/apps/tiny-erp/lib/integration/post-tiny-erp.js +0 -47
- package/packages/apps/tiny-erp/lib/integration/post-tiny-erp.js.map +0 -1
- package/packages/apps/tiny-erp/lib/tiny-erp.js +0 -18
- package/packages/apps/tiny-erp/lib/tiny-erp.js.map +0 -1
- package/packages/apps/tiny-erp/lib/tiny-webhook.js +0 -92
- package/packages/apps/tiny-erp/lib/tiny-webhook.js.map +0 -1
- package/packages/modules/lib/firebase/ajv.js +0 -33
- package/packages/modules/lib/firebase/ajv.js.map +0 -1
- package/packages/modules/lib/firebase/call-app-module.js +0 -135
- package/packages/modules/lib/firebase/call-app-module.js.map +0 -1
- package/packages/modules/lib/firebase/checkout.js +0 -1
- package/packages/modules/lib/firebase/checkout.js.map +0 -1
- package/packages/modules/lib/firebase/handle-module.js +0 -165
- package/packages/modules/lib/firebase/handle-module.js.map +0 -1
- package/packages/modules/lib/firebase/proxy-apps.js +0 -1
- package/packages/modules/lib/firebase/proxy-apps.js.map +0 -1
- package/packages/modules/lib/firebase/serve-modules-api.js +0 -57
- package/packages/modules/lib/firebase/serve-modules-api.js.map +0 -1
- package/packages/modules/lib/firebase.js +0 -13
- package/packages/modules/lib/firebase.js.map +0 -1
- package/packages/modules/lib/index.js +0 -25
- package/packages/modules/lib/index.js.map +0 -1
- package/packages/storefront/dist/client/assets/_...d4aa8aff.css +0 -1
- package/packages/storefront/dist/client/assets/fallback-index.d9230d24.css +0 -1
- package/packages/storefront/dist/client/client.6d48c590.js +0 -1
|
@@ -1,13 +1,14 @@
|
|
|
1
1
|
import * as adapter from '@astrojs/node/server.js';
|
|
2
|
-
import { defineComponent, h, createSSRApp } from 'vue';
|
|
3
|
-
import { renderToString as renderToString$1 } from 'vue/server-renderer';
|
|
2
|
+
import { defineComponent, h, createSSRApp, ref, useSSRContext } from 'vue';
|
|
3
|
+
import { renderToString as renderToString$1, ssrInterpolate, ssrRenderSlot } from 'vue/server-renderer';
|
|
4
4
|
import { escape } from 'html-escaper';
|
|
5
|
+
import mime from 'mime';
|
|
6
|
+
import sharp from 'sharp';
|
|
5
7
|
/* empty css *//* empty css */import { fileURLToPath } from 'url';
|
|
6
8
|
import fs from 'fs';
|
|
7
9
|
import { resolve } from 'path';
|
|
8
10
|
import Deepmerge from '@fastify/deepmerge';
|
|
9
|
-
/* empty css *//* empty css *//* empty css */import '
|
|
10
|
-
import 'kleur/colors';
|
|
11
|
+
/* empty css *//* empty css *//* empty css */import 'kleur/colors';
|
|
11
12
|
import 'string-width';
|
|
12
13
|
import 'path-browserify';
|
|
13
14
|
import { compile } from 'path-to-regexp';
|
|
@@ -30,7 +31,7 @@ const StaticHtml = defineComponent({
|
|
|
30
31
|
});
|
|
31
32
|
|
|
32
33
|
function check$1(Component) {
|
|
33
|
-
return !!Component['ssrRender'];
|
|
34
|
+
return !!Component['ssrRender'] || !!Component['__ssrInlineRender'];
|
|
34
35
|
}
|
|
35
36
|
|
|
36
37
|
async function renderToStaticMarkup$1(Component, props, slotted) {
|
|
@@ -48,7 +49,7 @@ const _renderer1 = {
|
|
|
48
49
|
renderToStaticMarkup: renderToStaticMarkup$1,
|
|
49
50
|
};
|
|
50
51
|
|
|
51
|
-
const ASTRO_VERSION = "1.
|
|
52
|
+
const ASTRO_VERSION = "1.2.2";
|
|
52
53
|
function createDeprecatedFetchContentFn() {
|
|
53
54
|
return () => {
|
|
54
55
|
throw new Error("Deprecated: Astro.fetchContent() has been replaced with Astro.glob().");
|
|
@@ -169,17 +170,35 @@ const PROP_TYPE = {
|
|
|
169
170
|
BigInt: 6,
|
|
170
171
|
URL: 7
|
|
171
172
|
};
|
|
172
|
-
function serializeArray(value) {
|
|
173
|
-
|
|
173
|
+
function serializeArray(value, metadata = {}, parents = /* @__PURE__ */ new WeakSet()) {
|
|
174
|
+
if (parents.has(value)) {
|
|
175
|
+
throw new Error(`Cyclic reference detected while serializing props for <${metadata.displayName} client:${metadata.hydrate}>!
|
|
176
|
+
|
|
177
|
+
Cyclic references cannot be safely serialized for client-side usage. Please remove the cyclic reference.`);
|
|
178
|
+
}
|
|
179
|
+
parents.add(value);
|
|
180
|
+
const serialized = value.map((v) => {
|
|
181
|
+
return convertToSerializedForm(v, metadata, parents);
|
|
182
|
+
});
|
|
183
|
+
parents.delete(value);
|
|
184
|
+
return serialized;
|
|
174
185
|
}
|
|
175
|
-
function serializeObject(value) {
|
|
176
|
-
|
|
186
|
+
function serializeObject(value, metadata = {}, parents = /* @__PURE__ */ new WeakSet()) {
|
|
187
|
+
if (parents.has(value)) {
|
|
188
|
+
throw new Error(`Cyclic reference detected while serializing props for <${metadata.displayName} client:${metadata.hydrate}>!
|
|
189
|
+
|
|
190
|
+
Cyclic references cannot be safely serialized for client-side usage. Please remove the cyclic reference.`);
|
|
191
|
+
}
|
|
192
|
+
parents.add(value);
|
|
193
|
+
const serialized = Object.fromEntries(
|
|
177
194
|
Object.entries(value).map(([k, v]) => {
|
|
178
|
-
return [k, convertToSerializedForm(v)];
|
|
195
|
+
return [k, convertToSerializedForm(v, metadata, parents)];
|
|
179
196
|
})
|
|
180
197
|
);
|
|
198
|
+
parents.delete(value);
|
|
199
|
+
return serialized;
|
|
181
200
|
}
|
|
182
|
-
function convertToSerializedForm(value) {
|
|
201
|
+
function convertToSerializedForm(value, metadata = {}, parents = /* @__PURE__ */ new WeakSet()) {
|
|
183
202
|
const tag = Object.prototype.toString.call(value);
|
|
184
203
|
switch (tag) {
|
|
185
204
|
case "[object Date]": {
|
|
@@ -189,10 +208,16 @@ function convertToSerializedForm(value) {
|
|
|
189
208
|
return [PROP_TYPE.RegExp, value.source];
|
|
190
209
|
}
|
|
191
210
|
case "[object Map]": {
|
|
192
|
-
return [
|
|
211
|
+
return [
|
|
212
|
+
PROP_TYPE.Map,
|
|
213
|
+
JSON.stringify(serializeArray(Array.from(value), metadata, parents))
|
|
214
|
+
];
|
|
193
215
|
}
|
|
194
216
|
case "[object Set]": {
|
|
195
|
-
return [
|
|
217
|
+
return [
|
|
218
|
+
PROP_TYPE.Set,
|
|
219
|
+
JSON.stringify(serializeArray(Array.from(value), metadata, parents))
|
|
220
|
+
];
|
|
196
221
|
}
|
|
197
222
|
case "[object BigInt]": {
|
|
198
223
|
return [PROP_TYPE.BigInt, value.toString()];
|
|
@@ -201,19 +226,20 @@ function convertToSerializedForm(value) {
|
|
|
201
226
|
return [PROP_TYPE.URL, value.toString()];
|
|
202
227
|
}
|
|
203
228
|
case "[object Array]": {
|
|
204
|
-
return [PROP_TYPE.JSON, JSON.stringify(serializeArray(value))];
|
|
229
|
+
return [PROP_TYPE.JSON, JSON.stringify(serializeArray(value, metadata, parents))];
|
|
205
230
|
}
|
|
206
231
|
default: {
|
|
207
232
|
if (value !== null && typeof value === "object") {
|
|
208
|
-
return [PROP_TYPE.Value, serializeObject(value)];
|
|
233
|
+
return [PROP_TYPE.Value, serializeObject(value, metadata, parents)];
|
|
209
234
|
} else {
|
|
210
235
|
return [PROP_TYPE.Value, value];
|
|
211
236
|
}
|
|
212
237
|
}
|
|
213
238
|
}
|
|
214
239
|
}
|
|
215
|
-
function serializeProps(props) {
|
|
216
|
-
|
|
240
|
+
function serializeProps(props, metadata) {
|
|
241
|
+
const serialized = JSON.stringify(serializeObject(props, metadata));
|
|
242
|
+
return serialized;
|
|
217
243
|
}
|
|
218
244
|
|
|
219
245
|
function serializeListValue(value) {
|
|
@@ -323,11 +349,11 @@ async function generateHydrateScript(scriptOptions, metadata) {
|
|
|
323
349
|
island.props[key] = value;
|
|
324
350
|
}
|
|
325
351
|
}
|
|
326
|
-
island.props["component-url"] = await result.resolve(componentUrl);
|
|
352
|
+
island.props["component-url"] = await result.resolve(decodeURI(componentUrl));
|
|
327
353
|
if (renderer.clientEntrypoint) {
|
|
328
354
|
island.props["component-export"] = componentExport.value;
|
|
329
|
-
island.props["renderer-url"] = await result.resolve(renderer.clientEntrypoint);
|
|
330
|
-
island.props["props"] = escapeHTML(serializeProps(props));
|
|
355
|
+
island.props["renderer-url"] = await result.resolve(decodeURI(renderer.clientEntrypoint));
|
|
356
|
+
island.props["props"] = escapeHTML(serializeProps(props, metadata));
|
|
331
357
|
}
|
|
332
358
|
island.props["ssr"] = "";
|
|
333
359
|
island.props["client"] = hydrate;
|
|
@@ -917,7 +943,8 @@ If you're still stuck, please open an issue on GitHub or join us at https://astr
|
|
|
917
943
|
`<!--${metadata.componentExport.value}:${metadata.componentUrl}-->
|
|
918
944
|
${html}
|
|
919
945
|
${serializeProps(
|
|
920
|
-
props
|
|
946
|
+
props,
|
|
947
|
+
metadata
|
|
921
948
|
)}`
|
|
922
949
|
);
|
|
923
950
|
const island = await generateHydrateScript(
|
|
@@ -1266,6 +1293,186 @@ var server_default = {
|
|
|
1266
1293
|
renderToStaticMarkup
|
|
1267
1294
|
};
|
|
1268
1295
|
|
|
1296
|
+
function isOutputFormat(value) {
|
|
1297
|
+
return ["avif", "jpeg", "png", "webp"].includes(value);
|
|
1298
|
+
}
|
|
1299
|
+
function isAspectRatioString(value) {
|
|
1300
|
+
return /^\d*:\d*$/.test(value);
|
|
1301
|
+
}
|
|
1302
|
+
|
|
1303
|
+
class SharpService {
|
|
1304
|
+
async getImageAttributes(transform) {
|
|
1305
|
+
const { width, height, src, format, quality, aspectRatio, fit, position, background, ...rest } = transform;
|
|
1306
|
+
return {
|
|
1307
|
+
...rest,
|
|
1308
|
+
width,
|
|
1309
|
+
height
|
|
1310
|
+
};
|
|
1311
|
+
}
|
|
1312
|
+
serializeTransform(transform) {
|
|
1313
|
+
const searchParams = new URLSearchParams();
|
|
1314
|
+
if (transform.quality) {
|
|
1315
|
+
searchParams.append("q", transform.quality.toString());
|
|
1316
|
+
}
|
|
1317
|
+
if (transform.format) {
|
|
1318
|
+
searchParams.append("f", transform.format);
|
|
1319
|
+
}
|
|
1320
|
+
if (transform.width) {
|
|
1321
|
+
searchParams.append("w", transform.width.toString());
|
|
1322
|
+
}
|
|
1323
|
+
if (transform.height) {
|
|
1324
|
+
searchParams.append("h", transform.height.toString());
|
|
1325
|
+
}
|
|
1326
|
+
if (transform.aspectRatio) {
|
|
1327
|
+
searchParams.append("ar", transform.aspectRatio.toString());
|
|
1328
|
+
}
|
|
1329
|
+
if (transform.fit) {
|
|
1330
|
+
searchParams.append("fit", transform.fit);
|
|
1331
|
+
}
|
|
1332
|
+
if (transform.background) {
|
|
1333
|
+
searchParams.append("bg", transform.background);
|
|
1334
|
+
}
|
|
1335
|
+
if (transform.position) {
|
|
1336
|
+
searchParams.append("p", encodeURI(transform.position));
|
|
1337
|
+
}
|
|
1338
|
+
return { searchParams };
|
|
1339
|
+
}
|
|
1340
|
+
parseTransform(searchParams) {
|
|
1341
|
+
let transform = { src: searchParams.get("href") };
|
|
1342
|
+
if (searchParams.has("q")) {
|
|
1343
|
+
transform.quality = parseInt(searchParams.get("q"));
|
|
1344
|
+
}
|
|
1345
|
+
if (searchParams.has("f")) {
|
|
1346
|
+
const format = searchParams.get("f");
|
|
1347
|
+
if (isOutputFormat(format)) {
|
|
1348
|
+
transform.format = format;
|
|
1349
|
+
}
|
|
1350
|
+
}
|
|
1351
|
+
if (searchParams.has("w")) {
|
|
1352
|
+
transform.width = parseInt(searchParams.get("w"));
|
|
1353
|
+
}
|
|
1354
|
+
if (searchParams.has("h")) {
|
|
1355
|
+
transform.height = parseInt(searchParams.get("h"));
|
|
1356
|
+
}
|
|
1357
|
+
if (searchParams.has("ar")) {
|
|
1358
|
+
const ratio = searchParams.get("ar");
|
|
1359
|
+
if (isAspectRatioString(ratio)) {
|
|
1360
|
+
transform.aspectRatio = ratio;
|
|
1361
|
+
} else {
|
|
1362
|
+
transform.aspectRatio = parseFloat(ratio);
|
|
1363
|
+
}
|
|
1364
|
+
}
|
|
1365
|
+
if (searchParams.has("fit")) {
|
|
1366
|
+
transform.fit = searchParams.get("fit");
|
|
1367
|
+
}
|
|
1368
|
+
if (searchParams.has("p")) {
|
|
1369
|
+
transform.position = decodeURI(searchParams.get("p"));
|
|
1370
|
+
}
|
|
1371
|
+
if (searchParams.has("bg")) {
|
|
1372
|
+
transform.background = searchParams.get("bg");
|
|
1373
|
+
}
|
|
1374
|
+
return transform;
|
|
1375
|
+
}
|
|
1376
|
+
async transform(inputBuffer, transform) {
|
|
1377
|
+
const sharpImage = sharp(inputBuffer, { failOnError: false, pages: -1 });
|
|
1378
|
+
sharpImage.rotate();
|
|
1379
|
+
if (transform.width || transform.height) {
|
|
1380
|
+
const width = transform.width && Math.round(transform.width);
|
|
1381
|
+
const height = transform.height && Math.round(transform.height);
|
|
1382
|
+
sharpImage.resize({
|
|
1383
|
+
width,
|
|
1384
|
+
height,
|
|
1385
|
+
fit: transform.fit,
|
|
1386
|
+
position: transform.position,
|
|
1387
|
+
background: transform.background
|
|
1388
|
+
});
|
|
1389
|
+
}
|
|
1390
|
+
if (transform.background) {
|
|
1391
|
+
sharpImage.flatten({ background: transform.background });
|
|
1392
|
+
}
|
|
1393
|
+
if (transform.format) {
|
|
1394
|
+
sharpImage.toFormat(transform.format, { quality: transform.quality });
|
|
1395
|
+
}
|
|
1396
|
+
const { data, info } = await sharpImage.toBuffer({ resolveWithObject: true });
|
|
1397
|
+
return {
|
|
1398
|
+
data,
|
|
1399
|
+
format: info.format
|
|
1400
|
+
};
|
|
1401
|
+
}
|
|
1402
|
+
}
|
|
1403
|
+
const service = new SharpService();
|
|
1404
|
+
var sharp_default = service;
|
|
1405
|
+
|
|
1406
|
+
const fnv1a52 = (str) => {
|
|
1407
|
+
const len = str.length;
|
|
1408
|
+
let i = 0, t0 = 0, v0 = 8997, t1 = 0, v1 = 33826, t2 = 0, v2 = 40164, t3 = 0, v3 = 52210;
|
|
1409
|
+
while (i < len) {
|
|
1410
|
+
v0 ^= str.charCodeAt(i++);
|
|
1411
|
+
t0 = v0 * 435;
|
|
1412
|
+
t1 = v1 * 435;
|
|
1413
|
+
t2 = v2 * 435;
|
|
1414
|
+
t3 = v3 * 435;
|
|
1415
|
+
t2 += v0 << 8;
|
|
1416
|
+
t3 += v1 << 8;
|
|
1417
|
+
t1 += t0 >>> 16;
|
|
1418
|
+
v0 = t0 & 65535;
|
|
1419
|
+
t2 += t1 >>> 16;
|
|
1420
|
+
v1 = t1 & 65535;
|
|
1421
|
+
v3 = t3 + (t2 >>> 16) & 65535;
|
|
1422
|
+
v2 = t2 & 65535;
|
|
1423
|
+
}
|
|
1424
|
+
return (v3 & 15) * 281474976710656 + v2 * 4294967296 + v1 * 65536 + (v0 ^ v3 >> 4);
|
|
1425
|
+
};
|
|
1426
|
+
const etag = (payload, weak = false) => {
|
|
1427
|
+
const prefix = weak ? 'W/"' : '"';
|
|
1428
|
+
return prefix + fnv1a52(payload).toString(36) + payload.length.toString(36) + '"';
|
|
1429
|
+
};
|
|
1430
|
+
|
|
1431
|
+
function isRemoteImage(src) {
|
|
1432
|
+
return /^http(s?):\/\//.test(src);
|
|
1433
|
+
}
|
|
1434
|
+
|
|
1435
|
+
async function loadRemoteImage(src) {
|
|
1436
|
+
try {
|
|
1437
|
+
const res = await fetch(src);
|
|
1438
|
+
if (!res.ok) {
|
|
1439
|
+
return void 0;
|
|
1440
|
+
}
|
|
1441
|
+
return Buffer.from(await res.arrayBuffer());
|
|
1442
|
+
} catch {
|
|
1443
|
+
return void 0;
|
|
1444
|
+
}
|
|
1445
|
+
}
|
|
1446
|
+
const get$1 = async ({ request }) => {
|
|
1447
|
+
try {
|
|
1448
|
+
const url = new URL(request.url);
|
|
1449
|
+
const transform = sharp_default.parseTransform(url.searchParams);
|
|
1450
|
+
let inputBuffer = void 0;
|
|
1451
|
+
const sourceUrl = isRemoteImage(transform.src) ? new URL(transform.src) : new URL(transform.src, url.origin);
|
|
1452
|
+
inputBuffer = await loadRemoteImage(sourceUrl);
|
|
1453
|
+
if (!inputBuffer) {
|
|
1454
|
+
return new Response("Not Found", { status: 404 });
|
|
1455
|
+
}
|
|
1456
|
+
const { data, format } = await sharp_default.transform(inputBuffer, transform);
|
|
1457
|
+
return new Response(data, {
|
|
1458
|
+
status: 200,
|
|
1459
|
+
headers: {
|
|
1460
|
+
"Content-Type": mime.getType(format) || "",
|
|
1461
|
+
"Cache-Control": "public, max-age=31536000",
|
|
1462
|
+
ETag: etag(data.toString()),
|
|
1463
|
+
Date: new Date().toUTCString()
|
|
1464
|
+
}
|
|
1465
|
+
});
|
|
1466
|
+
} catch (err) {
|
|
1467
|
+
return new Response(`Server Error: ${err}`, { status: 500 });
|
|
1468
|
+
}
|
|
1469
|
+
};
|
|
1470
|
+
|
|
1471
|
+
const _page0 = /*#__PURE__*/Object.freeze(/*#__PURE__*/Object.defineProperty({
|
|
1472
|
+
__proto__: null,
|
|
1473
|
+
get: get$1
|
|
1474
|
+
}, Symbol.toStringTag, { value: 'Module' }));
|
|
1475
|
+
|
|
1269
1476
|
// @ts-ignore
|
|
1270
1477
|
const _env$1 = (Object.assign({"BASE_URL":"/","MODE":"production","DEV":false,"PROD":true},{LANG:process.env.LANG,ECOM_STORE_ID:process.env.ECOM_STORE_ID,BASE_URL:'/',}))
|
|
1271
1478
|
|| (typeof process === 'object' && process?.env)
|
|
@@ -1697,7 +1904,69 @@ const $$module3 = /*#__PURE__*/Object.freeze(/*#__PURE__*/Object.defineProperty(
|
|
|
1697
1904
|
url: $$url$9
|
|
1698
1905
|
}, Symbol.toStringTag, { value: 'Module' }));
|
|
1699
1906
|
|
|
1700
|
-
const
|
|
1907
|
+
const _sfc_main = {
|
|
1908
|
+
setup() {
|
|
1909
|
+
const count = ref(0);
|
|
1910
|
+
const add = () => {
|
|
1911
|
+
count.value += 1;
|
|
1912
|
+
};
|
|
1913
|
+
const subtract = () => {
|
|
1914
|
+
count.value -= 1;
|
|
1915
|
+
};
|
|
1916
|
+
return {
|
|
1917
|
+
count,
|
|
1918
|
+
add,
|
|
1919
|
+
subtract
|
|
1920
|
+
};
|
|
1921
|
+
}
|
|
1922
|
+
};
|
|
1923
|
+
|
|
1924
|
+
const _export_sfc = (sfc, props) => {
|
|
1925
|
+
const target = sfc.__vccOpts || sfc;
|
|
1926
|
+
for (const [key, val] of props) {
|
|
1927
|
+
target[key] = val;
|
|
1928
|
+
}
|
|
1929
|
+
return target;
|
|
1930
|
+
};
|
|
1931
|
+
|
|
1932
|
+
function _sfc_ssrRender(_ctx, _push, _parent, _attrs, $props, $setup, $data, $options) {
|
|
1933
|
+
_push(`<!--[--><div class="counter"><button>-</button><pre>${ssrInterpolate($setup.count)}</pre><button>+</button></div><div class="counter-message">`);
|
|
1934
|
+
ssrRenderSlot(_ctx.$slots, "default", {}, null, _push, _parent);
|
|
1935
|
+
_push(`</div><div id="firebaseui-auth-container"></div><!--]-->`);
|
|
1936
|
+
}
|
|
1937
|
+
const _sfc_setup = _sfc_main.setup;
|
|
1938
|
+
_sfc_main.setup = (props, ctx) => {
|
|
1939
|
+
const ssrContext = useSSRContext();
|
|
1940
|
+
(ssrContext.modules || (ssrContext.modules = /* @__PURE__ */ new Set())).add("src/lib/components/LoginModal.vue");
|
|
1941
|
+
return _sfc_setup ? _sfc_setup(props, ctx) : void 0;
|
|
1942
|
+
};
|
|
1943
|
+
const LoginModal = /* @__PURE__ */ _export_sfc(_sfc_main, [["ssrRender", _sfc_ssrRender]]);
|
|
1944
|
+
|
|
1945
|
+
const $$module4 = /*#__PURE__*/Object.freeze(/*#__PURE__*/Object.defineProperty({
|
|
1946
|
+
__proto__: null,
|
|
1947
|
+
default: LoginModal
|
|
1948
|
+
}, Symbol.toStringTag, { value: 'Module' }));
|
|
1949
|
+
|
|
1950
|
+
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: {} }, { module: $$module4, specifier: "../components/LoginModal.vue", assert: {} }], hydratedComponents: [LoginModal], clientOnlyComponents: [], hydrationDirectives: /* @__PURE__ */ new Set(["idle"]), hoisted: [{ type: "inline", value: `
|
|
1951
|
+
// Import Firebase in compat version for Auth UI
|
|
1952
|
+
// https://github.com/firebase/firebaseui-web#starting-the-sign-in-flow
|
|
1953
|
+
import firebase from "firebase/compat/app";
|
|
1954
|
+
import { getAnalytics } from "firebase/analytics";
|
|
1955
|
+
// @ts-ignore
|
|
1956
|
+
const firebaseConfig = window.firebaseConfig || {
|
|
1957
|
+
apiKey: "AIzaSyCrVzemDgpyp9i6ni7Yc5ZuEVfXYwl-4J0",
|
|
1958
|
+
authDomain: "ecom2-002.firebaseapp.com",
|
|
1959
|
+
projectId: "ecom2-002",
|
|
1960
|
+
storageBucket: "ecom2-002.appspot.com",
|
|
1961
|
+
messagingSenderId: "402807248219",
|
|
1962
|
+
appId: "1:402807248219:web:cf7d57759751e74776367e",
|
|
1963
|
+
measurementId: "G-SC592CE0GB"
|
|
1964
|
+
};
|
|
1965
|
+
// @ts-ignore
|
|
1966
|
+
window.firebase = firebase;
|
|
1967
|
+
const app = firebase.initializeApp(firebaseConfig);
|
|
1968
|
+
const analytics = getAnalytics(app);
|
|
1969
|
+
` }] });
|
|
1701
1970
|
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/");
|
|
1702
1971
|
const $$Layout = createComponent(async ($$result, $$props, $$slots) => {
|
|
1703
1972
|
const Astro2 = $$result.createAstro($$Astro$8, $$props, $$slots);
|
|
@@ -1707,16 +1976,20 @@ const $$Layout = createComponent(async ($$result, $$props, $$slots) => {
|
|
|
1707
1976
|
const STYLES = [];
|
|
1708
1977
|
for (const STYLE of STYLES)
|
|
1709
1978
|
$$result.styles.add(STYLE);
|
|
1710
|
-
return renderTemplate`<html${addAttribute(lang.replace("_", "-"), "lang")} class="astro-
|
|
1979
|
+
return renderTemplate`<html${addAttribute(lang.replace("_", "-"), "lang")} class="astro-6MFH5UJ4">
|
|
1711
1980
|
<head>
|
|
1712
|
-
${renderComponent($$result, "MetaHead", $$Head, { "class": "astro-
|
|
1981
|
+
${renderComponent($$result, "MetaHead", $$Head, { "class": "astro-6MFH5UJ4" })}
|
|
1713
1982
|
<title>${title}</title>
|
|
1714
1983
|
${renderHead($$result)}</head>
|
|
1715
|
-
<body class="astro-
|
|
1984
|
+
<body class="astro-6MFH5UJ4">
|
|
1985
|
+
${renderComponent($$result, "LoginModal", LoginModal, { "client:idle": true, "client:component-hydration": "idle", "client:component-path": "/@fs/home/leo/code/ecomplus/cloud-commerce/packages/storefront/src/lib/components/LoginModal.vue", "client:component-export": "default", "class": "astro-6MFH5UJ4" })}
|
|
1716
1986
|
${renderSlot($$result, $$slots["default"])}
|
|
1717
|
-
${renderComponent($$result, "MetaJson", $$Json, { "class": "astro-
|
|
1987
|
+
${renderComponent($$result, "MetaJson", $$Json, { "class": "astro-6MFH5UJ4" })}
|
|
1988
|
+
${renderSlot($$result, $$slots["firebase-init"])}
|
|
1989
|
+
</body>
|
|
1990
|
+
</html>
|
|
1718
1991
|
|
|
1719
|
-
|
|
1992
|
+
`;
|
|
1720
1993
|
});
|
|
1721
1994
|
|
|
1722
1995
|
const $$file$8 = "/home/leo/code/ecomplus/cloud-commerce/packages/storefront/src/lib/layouts/Layout.astro";
|
|
@@ -1739,13 +2012,13 @@ const $$Card = createComponent(async ($$result, $$props, $$slots) => {
|
|
|
1739
2012
|
const STYLES = [];
|
|
1740
2013
|
for (const STYLE of STYLES)
|
|
1741
2014
|
$$result.styles.add(STYLE);
|
|
1742
|
-
return renderTemplate`${maybeRenderHead($$result)}<li class="link-card astro-
|
|
1743
|
-
<a${addAttribute(href, "href")} class="astro-
|
|
1744
|
-
<h2 class="astro-
|
|
2015
|
+
return renderTemplate`${maybeRenderHead($$result)}<li class="link-card astro-ZCG72YVN">
|
|
2016
|
+
<a${addAttribute(href, "href")} class="astro-ZCG72YVN">
|
|
2017
|
+
<h2 class="astro-ZCG72YVN">
|
|
1745
2018
|
${title}
|
|
1746
|
-
<span class="astro-
|
|
2019
|
+
<span class="astro-ZCG72YVN">→</span>
|
|
1747
2020
|
</h2>
|
|
1748
|
-
<p class="astro-
|
|
2021
|
+
<p class="astro-ZCG72YVN">
|
|
1749
2022
|
${body}
|
|
1750
2023
|
</p>
|
|
1751
2024
|
</a>
|
|
@@ -1773,21 +2046,21 @@ const $$Index$2 = createComponent(async ($$result, $$props, $$slots) => {
|
|
|
1773
2046
|
const STYLES = [];
|
|
1774
2047
|
for (const STYLE of STYLES)
|
|
1775
2048
|
$$result.styles.add(STYLE);
|
|
1776
|
-
return renderTemplate`${renderComponent($$result, "Layout", $$Layout, { "title": "Welcome to Astro.", "class": "astro-
|
|
1777
|
-
<h1 class="astro-
|
|
1778
|
-
<p class="instructions astro-
|
|
1779
|
-
Check out the <code class="astro-
|
|
1780
|
-
<strong class="astro-
|
|
2049
|
+
return renderTemplate`${renderComponent($$result, "Layout", $$Layout, { "title": "Welcome to Astro.", "class": "astro-EBY2X3Y6" }, { "default": () => renderTemplate`${maybeRenderHead($$result)}<main class="astro-EBY2X3Y6">
|
|
2050
|
+
<h1 class="astro-EBY2X3Y6">Welcome to <span class="text-gradient astro-EBY2X3Y6">Astro</span></h1>
|
|
2051
|
+
<p class="instructions astro-EBY2X3Y6">
|
|
2052
|
+
Check out the <code class="astro-EBY2X3Y6">src/pages</code> directory to get started.<br class="astro-EBY2X3Y6">
|
|
2053
|
+
<strong class="astro-EBY2X3Y6">Code Challenge:</strong> Tweak the "Welcome to Astro" message above.
|
|
1781
2054
|
</p>
|
|
1782
|
-
<ul role="list" class="link-card-grid astro-
|
|
1783
|
-
${renderComponent($$result, "Card", $$Card, { "href": "https://docs.astro.build/", "title": "Documentation", "body": "Learn how Astro works and explore the official API docs.", "class": "astro-
|
|
1784
|
-
${renderComponent($$result, "Card", $$Card, { "href": "https://astro.build/integrations/", "title": "Integrations", "body": "Supercharge your project with new frameworks and libraries.", "class": "astro-
|
|
1785
|
-
${renderComponent($$result, "Card", $$Card, { "href": "https://astro.build/themes/", "title": "Themes", "body": "Explore a galaxy of community-built starter themes.", "class": "astro-
|
|
1786
|
-
${renderComponent($$result, "Card", $$Card, { "href": "https://astro.build/chat/", "title": "Chat", "body": "Come say hi to our amazing Discord community. \u2764\uFE0F", "class": "astro-
|
|
2055
|
+
<ul role="list" class="link-card-grid astro-EBY2X3Y6">
|
|
2056
|
+
${renderComponent($$result, "Card", $$Card, { "href": "https://docs.astro.build/", "title": "Documentation", "body": "Learn how Astro works and explore the official API docs.", "class": "astro-EBY2X3Y6" })}
|
|
2057
|
+
${renderComponent($$result, "Card", $$Card, { "href": "https://astro.build/integrations/", "title": "Integrations", "body": "Supercharge your project with new frameworks and libraries.", "class": "astro-EBY2X3Y6" })}
|
|
2058
|
+
${renderComponent($$result, "Card", $$Card, { "href": "https://astro.build/themes/", "title": "Themes", "body": "Explore a galaxy of community-built starter themes.", "class": "astro-EBY2X3Y6" })}
|
|
2059
|
+
${renderComponent($$result, "Card", $$Card, { "href": "https://astro.build/chat/", "title": "Chat", "body": "Come say hi to our amazing Discord community. \u2764\uFE0F", "class": "astro-EBY2X3Y6" })}
|
|
1787
2060
|
</ul>
|
|
1788
|
-
<ul role="list" class="mt-3 fs-20 astro-
|
|
1789
|
-
${products.map((product) => renderTemplate`<li class="astro-
|
|
1790
|
-
<a${addAttribute(`/${product.slug}`, "href")} class="astro-
|
|
2061
|
+
<ul role="list" class="mt-3 fs-20 astro-EBY2X3Y6">
|
|
2062
|
+
${products.map((product) => renderTemplate`<li class="astro-EBY2X3Y6">
|
|
2063
|
+
<a${addAttribute(`/${product.slug}`, "href")} class="astro-EBY2X3Y6">${product.sku}</a>
|
|
1791
2064
|
</li>`)}
|
|
1792
2065
|
</ul>
|
|
1793
2066
|
</main>` })}
|
|
@@ -1828,7 +2101,7 @@ ${loadError && renderTemplate`${renderComponent($$result, "Fragment", Fragment,
|
|
|
1828
2101
|
const $$file$5 = "/home/leo/code/ecomplus/cloud-commerce/packages/storefront/src/pages/index.astro";
|
|
1829
2102
|
const $$url$5 = "";
|
|
1830
2103
|
|
|
1831
|
-
const
|
|
2104
|
+
const _page1 = /*#__PURE__*/Object.freeze(/*#__PURE__*/Object.defineProperty({
|
|
1832
2105
|
__proto__: null,
|
|
1833
2106
|
$$metadata: $$metadata$5,
|
|
1834
2107
|
default: $$Index$1,
|
|
@@ -1844,17 +2117,17 @@ const $$Fallback$1 = createComponent(async ($$result, $$props, $$slots) => {
|
|
|
1844
2117
|
const STYLES = [];
|
|
1845
2118
|
for (const STYLE of STYLES)
|
|
1846
2119
|
$$result.styles.add(STYLE);
|
|
1847
|
-
return renderTemplate`${renderComponent($$result, "Layout", $$Layout, { "title": "Welcome to Astro.", "class": "astro-
|
|
1848
|
-
<h1 class="astro-
|
|
1849
|
-
<p class="instructions astro-
|
|
1850
|
-
Check out the <code class="astro-
|
|
1851
|
-
<strong class="astro-
|
|
2120
|
+
return renderTemplate`${renderComponent($$result, "Layout", $$Layout, { "title": "Welcome to Astro.", "class": "astro-BZIQPEHV" }, { "default": () => renderTemplate`${maybeRenderHead($$result)}<main class="astro-BZIQPEHV">
|
|
2121
|
+
<h1 class="astro-BZIQPEHV">Error :/</h1>
|
|
2122
|
+
<p class="instructions astro-BZIQPEHV">
|
|
2123
|
+
Check out the <code class="astro-BZIQPEHV">src/pages</code> directory to get started.<br class="astro-BZIQPEHV">
|
|
2124
|
+
<strong class="astro-BZIQPEHV">Code Challenge:</strong> Tweak the "Welcome to Astro" message above.
|
|
1852
2125
|
</p>
|
|
1853
|
-
<ul role="list" class="link-card-grid astro-
|
|
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-
|
|
1855
|
-
${renderComponent($$result, "Card", $$Card, { "href": "https://astro.build/integrations/", "title": "Integrations", "body": "Supercharge your project with new frameworks and libraries.", "class": "astro-
|
|
1856
|
-
${renderComponent($$result, "Card", $$Card, { "href": "https://astro.build/themes/", "title": "Themes", "body": "Explore a galaxy of community-built starter themes.", "class": "astro-
|
|
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-
|
|
2126
|
+
<ul role="list" class="link-card-grid astro-BZIQPEHV">
|
|
2127
|
+
${renderComponent($$result, "Card", $$Card, { "href": "https://docs.astro.build/", "title": "Documentation", "body": "Learn how Astro works and explore the official API docs.", "class": "astro-BZIQPEHV" })}
|
|
2128
|
+
${renderComponent($$result, "Card", $$Card, { "href": "https://astro.build/integrations/", "title": "Integrations", "body": "Supercharge your project with new frameworks and libraries.", "class": "astro-BZIQPEHV" })}
|
|
2129
|
+
${renderComponent($$result, "Card", $$Card, { "href": "https://astro.build/themes/", "title": "Themes", "body": "Explore a galaxy of community-built starter themes.", "class": "astro-BZIQPEHV" })}
|
|
2130
|
+
${renderComponent($$result, "Card", $$Card, { "href": "https://astro.build/chat/", "title": "Chat", "body": "Come say hi to our amazing Discord community. \u2764\uFE0F", "class": "astro-BZIQPEHV" })}
|
|
1858
2131
|
</ul>
|
|
1859
2132
|
</main>` })}
|
|
1860
2133
|
|
|
@@ -1889,7 +2162,7 @@ const $$Fallback = createComponent(async ($$result, $$props, $$slots) => {
|
|
|
1889
2162
|
const $$file$3 = "/home/leo/code/ecomplus/cloud-commerce/packages/storefront/src/pages/fallback.astro";
|
|
1890
2163
|
const $$url$3 = "/fallback";
|
|
1891
2164
|
|
|
1892
|
-
const
|
|
2165
|
+
const _page2 = /*#__PURE__*/Object.freeze(/*#__PURE__*/Object.defineProperty({
|
|
1893
2166
|
__proto__: null,
|
|
1894
2167
|
$$metadata: $$metadata$3,
|
|
1895
2168
|
default: $$Fallback,
|
|
@@ -1908,7 +2181,7 @@ const $$Index = createComponent(async ($$result, $$props, $$slots) => {
|
|
|
1908
2181
|
const $$file$2 = "/home/leo/code/ecomplus/cloud-commerce/packages/storefront/src/pages/app/index.astro";
|
|
1909
2182
|
const $$url$2 = "/app";
|
|
1910
2183
|
|
|
1911
|
-
const
|
|
2184
|
+
const _page3 = /*#__PURE__*/Object.freeze(/*#__PURE__*/Object.defineProperty({
|
|
1912
2185
|
__proto__: null,
|
|
1913
2186
|
$$metadata: $$metadata$2,
|
|
1914
2187
|
default: $$Index,
|
|
@@ -1926,13 +2199,13 @@ const $$$1 = createComponent(async ($$result, $$props, $$slots) => {
|
|
|
1926
2199
|
const STYLES = [];
|
|
1927
2200
|
for (const STYLE of STYLES)
|
|
1928
2201
|
$$result.styles.add(STYLE);
|
|
1929
|
-
return renderTemplate`${renderComponent($$result, "Layout", $$Layout, { "title": apiDoc.name, "class": "astro-
|
|
1930
|
-
<h1 class="astro-
|
|
1931
|
-
<hr class="astro-
|
|
1932
|
-
<div class="mt-3 astro-
|
|
1933
|
-
<mark class="astro-
|
|
1934
|
-
<p class="astro-
|
|
1935
|
-
<em class="astro-
|
|
2202
|
+
return renderTemplate`${renderComponent($$result, "Layout", $$Layout, { "title": apiDoc.name, "class": "astro-P5QKJ2WB" }, { "default": () => renderTemplate`${maybeRenderHead($$result)}<main class="astro-P5QKJ2WB">
|
|
2203
|
+
<h1 class="astro-P5QKJ2WB">Hello <span class="text-gradient astro-P5QKJ2WB">${apiDoc.name}</span></h1>
|
|
2204
|
+
<hr class="astro-P5QKJ2WB">
|
|
2205
|
+
<div class="mt-3 astro-P5QKJ2WB">
|
|
2206
|
+
<mark class="astro-P5QKJ2WB">${apiDoc._id}</mark> from <i class="astro-P5QKJ2WB">${apiResource}</i>
|
|
2207
|
+
<p class="astro-P5QKJ2WB">${Math.random()}</p>
|
|
2208
|
+
<em class="astro-P5QKJ2WB">Lorem ipsum dolor sit amet</em>
|
|
1936
2209
|
</div>
|
|
1937
2210
|
</main>` })}
|
|
1938
2211
|
|
|
@@ -1972,7 +2245,7 @@ ${loadError && renderTemplate`${renderComponent($$result, "Fragment", Fragment,
|
|
|
1972
2245
|
const $$file = "/home/leo/code/ecomplus/cloud-commerce/packages/storefront/src/pages/[...slug].astro";
|
|
1973
2246
|
const $$url = "/[...slug]";
|
|
1974
2247
|
|
|
1975
|
-
const
|
|
2248
|
+
const _page4 = /*#__PURE__*/Object.freeze(/*#__PURE__*/Object.defineProperty({
|
|
1976
2249
|
__proto__: null,
|
|
1977
2250
|
$$metadata,
|
|
1978
2251
|
default: $$,
|
|
@@ -1980,7 +2253,7 @@ const _page3 = /*#__PURE__*/Object.freeze(/*#__PURE__*/Object.defineProperty({
|
|
|
1980
2253
|
url: $$url
|
|
1981
2254
|
}, Symbol.toStringTag, { value: 'Module' }));
|
|
1982
2255
|
|
|
1983
|
-
const pageMap = new Map([['src/pages/index.astro',
|
|
2256
|
+
const pageMap = new Map([['../../node_modules/.pnpm/@astrojs+image@0.7.0/node_modules/@astrojs/image/dist/endpoint.js', _page0],['src/pages/index.astro', _page1],['src/pages/fallback.astro', _page2],['src/pages/app/index.astro', _page3],['src/pages/[...slug].astro', _page4],]);
|
|
1984
2257
|
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 }),];
|
|
1985
2258
|
|
|
1986
2259
|
if (typeof process !== "undefined") {
|
|
@@ -2052,7 +2325,7 @@ function deserializeManifest(serializedManifest) {
|
|
|
2052
2325
|
};
|
|
2053
2326
|
}
|
|
2054
2327
|
|
|
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"]}), {
|
|
2328
|
+
const _manifest = Object.assign(deserializeManifest({"adapterName":"@astrojs/node","routes":[{"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":{"type":"endpoint","route":"/_image","pattern":"^\\/_image$","segments":[[{"content":"_image","dynamic":false,"spread":false}]],"params":[],"component":"../../node_modules/.pnpm/@astrojs+image@0.7.0/node_modules/@astrojs/image/dist/endpoint.js","pathname":"/_image","_meta":{"trailingSlash":"ignore"}}},{"file":"","links":["assets/_...b3f65c5c.css","assets/fallback-index.90217cf0.css","assets/index.c5a9ea80.css"],"scripts":[{"type":"external","value":"hoisted.24787260.js"},{"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/_...b3f65c5c.css","assets/fallback-index.90217cf0.css","assets/fallback.9cd2ed3f.css"],"scripts":[{"type":"external","value":"hoisted.24787260.js"},{"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/_...b3f65c5c.css","assets/_...27b7eb4d.css"],"scripts":[{"type":"external","value":"hoisted.24787260.js"},{"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","/@fs/home/leo/code/ecomplus/cloud-commerce/packages/storefront/src/lib/components/LoginModal.vue":"LoginModal.d6b935cf.js","@astrojs/vue/client.js":"client.80b904f3.js","/astro/hoisted.js?q=0":"hoisted.24787260.js","astro:scripts/page.js":"page.3aa82516.js","/home/leo/code/ecomplus/cloud-commerce/packages/storefront/src/assets/firebaseui.css?used":"chunks/firebaseui.f82af21f.js","/home/leo/code/ecomplus/cloud-commerce/node_modules/.pnpm/firebase@9.9.4/node_modules/firebase/compat/auth/dist/index.esm.js":"chunks/index.esm.69f70489.js","astro:scripts/before-hydration.js":"data:text/javascript;charset=utf-8,//[no before-hydration script]"},"assets":["/assets/_...27b7eb4d.css","/assets/_...b3f65c5c.css","/assets/fallback.9cd2ed3f.css","/assets/fallback-index.90217cf0.css","/assets/index.c5a9ea80.css","/LoginModal.d6b935cf.js","/client.80b904f3.js","/favicon.ico","/hoisted.24787260.js","/page.3aa82516.js","/chunks/index.esm.69f70489.js","/chunks/index.esm2017.1194d1a1.js","/chunks/runtime-core.esm-bundler.a7337834.js","/page.3aa82516.js","/~partytown/partytown-atomics.js","/~partytown/partytown-media.js","/~partytown/partytown-sw.js","/~partytown/partytown.js"]}), {
|
|
2056
2329
|
pageMap: pageMap,
|
|
2057
2330
|
renderers: renderers
|
|
2058
2331
|
});
|