cloudcommerce 0.1.5 → 0.1.7
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 +30 -0
- package/ecomplus-stores/monocard/functions/core/package.json +1 -1
- package/ecomplus-stores/monocard/functions/events/package.json +2 -2
- package/ecomplus-stores/monocard/functions/modules/package.json +2 -2
- package/ecomplus-stores/monocard/functions/passport/package.json +2 -2
- package/ecomplus-stores/monocard/functions/ssr/package.json +7 -7
- package/ecomplus-stores/monocard/package.json +1 -1
- package/ecomplus-stores/tia-sonia/functions/core/package.json +1 -1
- package/ecomplus-stores/tia-sonia/functions/events/package.json +2 -2
- package/ecomplus-stores/tia-sonia/functions/modules/package.json +2 -2
- package/ecomplus-stores/tia-sonia/functions/passport/package.json +2 -2
- package/ecomplus-stores/tia-sonia/functions/ssr/package.json +7 -7
- package/ecomplus-stores/tia-sonia/functions/ssr/public/img/uploads/{acai-com-granola.jpg → hero-acai-granola.jpg} +0 -0
- package/ecomplus-stores/tia-sonia/functions/ssr/public/img/uploads/{cafe-com-tapioca-e-aveia.jpg → hero-cafe-tapioca-aveia.jpg} +0 -0
- package/ecomplus-stores/tia-sonia/functions/ssr/public/img/uploads/hero-piquenique-snack-cookies.jpg +0 -0
- package/ecomplus-stores/tia-sonia/functions/ssr/src/assets/prices.css +3 -0
- package/ecomplus-stores/tia-sonia/functions/ssr/src/components/CategoriesSlider.vue +19 -0
- package/ecomplus-stores/tia-sonia/functions/ssr/src/components/HeroBanner.vue +112 -0
- package/ecomplus-stores/tia-sonia/functions/ssr/src/components/PitchBar.vue +48 -16
- package/ecomplus-stores/tia-sonia/functions/ssr/src/components/TheHeader.vue +39 -19
- package/ecomplus-stores/tia-sonia/functions/ssr/src/components/header/HeaderNav.vue +4 -0
- package/ecomplus-stores/tia-sonia/functions/ssr/src/layouts/Base.astro +5 -3
- package/ecomplus-stores/tia-sonia/functions/ssr/src/layouts/Pages.astro +2 -0
- package/ecomplus-stores/tia-sonia/functions/ssr/src/main/Home.astro +55 -17
- package/ecomplus-stores/tia-sonia/functions/ssr/src/scripts/head-scripts.ts +15 -0
- package/ecomplus-stores/tia-sonia/functions/ssr/src/scripts/modules-info-preset.ts +27 -0
- package/ecomplus-stores/tia-sonia/package.json +1 -1
- package/package.json +7 -7
- package/packages/api/package.json +1 -1
- package/packages/apps/correios/package.json +2 -2
- package/packages/apps/custom-payment/package.json +1 -1
- package/packages/apps/custom-shipping/package.json +1 -1
- package/packages/apps/discounts/package.json +1 -1
- package/packages/apps/emails/package.json +1 -1
- package/packages/apps/fb-conversions/CHANGELOG.md +1 -0
- package/packages/apps/fb-conversions/README.md +1 -0
- package/packages/apps/fb-conversions/lib/fb-conversions-events.js +145 -0
- package/packages/apps/fb-conversions/lib/fb-conversions-events.js.map +1 -0
- package/packages/apps/fb-conversions/lib/index.js +2 -0
- package/packages/apps/fb-conversions/lib/index.js.map +1 -0
- package/packages/apps/fb-conversions/package.json +33 -0
- package/packages/apps/fb-conversions/src/fb-conversions-events.ts +178 -0
- package/packages/apps/fb-conversions/src/index.ts +1 -0
- package/packages/apps/fb-conversions/tsconfig.json +3 -0
- package/packages/apps/frenet/package.json +3 -3
- package/packages/apps/galaxpay/package.json +2 -2
- package/packages/apps/infinitepay/package.json +2 -2
- package/packages/apps/jadlog/package.json +2 -2
- package/packages/apps/loyalty-points/package.json +1 -1
- package/packages/apps/mercadopago/package.json +2 -2
- package/packages/apps/pagarme/package.json +2 -2
- package/packages/apps/pix/package.json +2 -2
- package/packages/apps/tiny-erp/package.json +2 -2
- package/packages/cli/package.json +1 -1
- package/packages/config/package.json +1 -1
- package/packages/emails/package.json +2 -2
- package/packages/events/lib/firebase.js +2 -0
- package/packages/events/lib/firebase.js.map +1 -1
- package/packages/events/package.json +2 -1
- package/packages/events/src/firebase.ts +2 -0
- package/packages/firebase/lib/config.d.ts +4 -0
- package/packages/firebase/lib/config.js +7 -0
- package/packages/firebase/lib/config.js.map +1 -1
- package/packages/firebase/package.json +1 -1
- package/packages/firebase/src/config.ts +7 -0
- package/packages/i18n/package.json +1 -1
- package/packages/modules/package.json +2 -2
- package/packages/passport/package.json +1 -1
- package/packages/ssr/package.json +4 -2
- package/packages/storefront/astro.config.mjs +3 -1
- package/packages/storefront/client.d.ts +1 -0
- package/packages/storefront/dist/client/HeaderButtons.6f668467.js +1 -0
- package/packages/storefront/dist/client/Prices.2ada125b.js +1 -0
- package/packages/storefront/dist/client/ProductCard.e5bdea60.js +1 -0
- package/packages/storefront/dist/client/assets/{_...slug_.15bda576.css → _...slug_.81b9a00c.css} +1 -1
- package/packages/storefront/dist/client/chunks/{HeaderButtons.1abd5bf4.js → HeaderButtons.cfa275db.js} +1 -1
- package/packages/storefront/dist/client/chunks/{LoginForm.7e7d6137.js → LoginForm.1ba3ad0d.js} +1 -1
- package/packages/storefront/dist/client/chunks/Prices.vue_vue_type_script_setup_true_lang.9a6ab0d6.js +1 -0
- package/packages/storefront/dist/client/chunks/{_plugin-vue_export-helper.fc452b02.js → _plugin-vue_export-helper.0d33cd48.js} +1 -1
- package/packages/storefront/dist/client/chunks/{runtime-core.esm-bundler.b4556b35.js → runtime-core.esm-bundler.45ba83fa.js} +1 -1
- package/packages/storefront/dist/client/{client.2a3e5a58.js → client.4d2b3a73.js} +1 -1
- package/packages/storefront/dist/client/sw.js +1 -1
- package/packages/storefront/dist/server/entry.mjs +274 -376
- package/packages/storefront/package.json +6 -7
- package/packages/storefront/src/lib/components/Prices.vue +113 -98
- package/packages/storefront/src/lib/composables/use-prices.ts +19 -12
- package/packages/storefront/src/lib/ssr/image.ts +3 -2
- package/packages/storefront/src/lib/state/modules-info.ts +10 -4
- package/packages/types/package.json +1 -1
- package/ecomplus-stores/monocard/functions/ssr/.nvmrc +0 -1
- package/ecomplus-stores/tia-sonia/functions/ssr/.nvmrc +0 -1
- package/ecomplus-stores/tia-sonia/functions/ssr/src/scripts/InlineScripts.astro +0 -10
- package/packages/storefront/.nvmrc +0 -1
- package/packages/storefront/dist/client/HeaderButtons.300c19e5.js +0 -1
- package/packages/storefront/dist/client/Prices.6c44a513.js +0 -1
- package/packages/storefront/dist/client/ProductCard.69bba7fc.js +0 -1
- package/packages/storefront/dist/client/chunks/Prices.vue_vue_type_script_setup_true_lang.e4525076.js +0 -1
- package/packages/storefront/dist/server/chunks/avif/avif_node_dec.wasm +0 -0
- package/packages/storefront/dist/server/chunks/avif/avif_node_enc.wasm +0 -0
- package/packages/storefront/dist/server/chunks/image-pool.abfa6f7b.mjs +0 -10794
- package/packages/storefront/dist/server/chunks/mozjpeg/mozjpeg_node_dec.wasm +0 -0
- package/packages/storefront/dist/server/chunks/mozjpeg/mozjpeg_node_enc.wasm +0 -0
- package/packages/storefront/dist/server/chunks/png/squoosh_oxipng_bg.wasm +0 -0
- package/packages/storefront/dist/server/chunks/png/squoosh_png_bg.wasm +0 -0
- package/packages/storefront/dist/server/chunks/resize/squoosh_resize_bg.wasm +0 -0
- package/packages/storefront/dist/server/chunks/rotate/rotate.wasm +0 -0
- package/packages/storefront/dist/server/chunks/webp/webp_node_dec.wasm +0 -0
- package/packages/storefront/dist/server/chunks/webp/webp_node_enc.wasm +0 -0
|
@@ -7,7 +7,7 @@ import fs from 'fs';
|
|
|
7
7
|
import mime from 'mime';
|
|
8
8
|
import { serialize as serialize$1, parse } from 'cookie';
|
|
9
9
|
import { escape } from 'html-escaper';
|
|
10
|
-
import { bold, yellow, dim, cyan, red, reset
|
|
10
|
+
import { bold, yellow, dim, cyan, red, reset } from 'kleur/colors';
|
|
11
11
|
import 'string-width';
|
|
12
12
|
import npath from 'path-browserify';
|
|
13
13
|
import { Readable } from 'stream';
|
|
@@ -19,14 +19,15 @@ import send from 'send';
|
|
|
19
19
|
import { defineComponent, computed, unref, useSSRContext, h as h$2, createSSRApp, mergeProps, createVNode as createVNode$1, resolveDynamicComponent, withCtx, createTextVNode, toDisplayString, toRefs, ref, watch, toRef, defineAsyncComponent, renderSlot as renderSlot$1, openBlock, createBlock, Fragment as Fragment$1, createCommentVNode, renderList, reactive, resolveComponent } from 'vue';
|
|
20
20
|
import { ssrRenderSlotInner, renderToString as renderToString$1, ssrRenderAttrs, ssrRenderSlot, ssrRenderVNode, ssrInterpolate, ssrRenderList, ssrRenderAttr, ssrRenderComponent, ssrRenderClass, ssrIncludeBooleanAttr } from 'vue/server-renderer';
|
|
21
21
|
import { i18n, formatMoney, img, price, onPromotion } from '@ecomplus/utils';
|
|
22
|
-
/* empty css */import
|
|
23
|
-
import fs$1 from 'node:fs/promises';
|
|
24
|
-
import { fileURLToPath as fileURLToPath$1 } from 'node:url';
|
|
22
|
+
/* empty css */import sharp$1 from 'sharp';
|
|
25
23
|
import api from '@cloudcommerce/api';
|
|
26
24
|
import config from '@cloudcommerce/config';
|
|
25
|
+
import sizeOf from 'image-size';
|
|
27
26
|
import 'http-cache-semantics';
|
|
27
|
+
import 'node:fs/promises';
|
|
28
28
|
import 'node:os';
|
|
29
29
|
import 'node:path';
|
|
30
|
+
import 'node:url';
|
|
30
31
|
import 'magic-string';
|
|
31
32
|
import 'slash';
|
|
32
33
|
/* empty css *//* empty css */import { compile } from 'path-to-regexp';
|
|
@@ -7434,7 +7435,7 @@ function createComponent(arg1, moduleId) {
|
|
|
7434
7435
|
}
|
|
7435
7436
|
}
|
|
7436
7437
|
|
|
7437
|
-
const ASTRO_VERSION = "1.
|
|
7438
|
+
const ASTRO_VERSION = "1.8.0";
|
|
7438
7439
|
|
|
7439
7440
|
function createDeprecatedFetchContentFn() {
|
|
7440
7441
|
return () => {
|
|
@@ -8019,6 +8020,16 @@ Expected \`true\` value but got \`${suffix}\`.`;
|
|
|
8019
8020
|
message: (legacyConfigKey) => `Legacy configuration detected: \`${legacyConfigKey}\`.`,
|
|
8020
8021
|
hint: "Please update your configuration to the new format.\nSee https://astro.build/config for more information."
|
|
8021
8022
|
},
|
|
8023
|
+
UnknownCLIError: {
|
|
8024
|
+
title: "Unknown CLI Error.",
|
|
8025
|
+
code: 8e3
|
|
8026
|
+
},
|
|
8027
|
+
GenerateContentTypesError: {
|
|
8028
|
+
title: "Failed to generate content types.",
|
|
8029
|
+
code: 8001,
|
|
8030
|
+
message: "`astro sync` command failed to generate content collection types.",
|
|
8031
|
+
hint: "Check your `src/content/config.*` file for typos."
|
|
8032
|
+
},
|
|
8022
8033
|
UnknownError: {
|
|
8023
8034
|
title: "Unknown Error.",
|
|
8024
8035
|
code: 99999
|
|
@@ -9434,19 +9445,19 @@ function spreadAttributes(values, _name, { class: scopedClassName } = {}) {
|
|
|
9434
9445
|
return markHTMLString(output);
|
|
9435
9446
|
}
|
|
9436
9447
|
|
|
9437
|
-
const dateTimeFormat
|
|
9448
|
+
const dateTimeFormat = new Intl.DateTimeFormat([], {
|
|
9438
9449
|
hour: "2-digit",
|
|
9439
9450
|
minute: "2-digit",
|
|
9440
9451
|
second: "2-digit"
|
|
9441
9452
|
});
|
|
9442
|
-
const levels
|
|
9453
|
+
const levels = {
|
|
9443
9454
|
debug: 20,
|
|
9444
9455
|
info: 30,
|
|
9445
9456
|
warn: 40,
|
|
9446
9457
|
error: 50,
|
|
9447
9458
|
silent: 90
|
|
9448
9459
|
};
|
|
9449
|
-
function log
|
|
9460
|
+
function log(opts, level, type, message) {
|
|
9450
9461
|
const logLevel = opts.level;
|
|
9451
9462
|
const dest = opts.dest;
|
|
9452
9463
|
const event = {
|
|
@@ -9454,16 +9465,16 @@ function log$1(opts, level, type, message) {
|
|
|
9454
9465
|
level,
|
|
9455
9466
|
message
|
|
9456
9467
|
};
|
|
9457
|
-
if (levels
|
|
9468
|
+
if (levels[logLevel] > levels[level]) {
|
|
9458
9469
|
return;
|
|
9459
9470
|
}
|
|
9460
9471
|
dest.write(event);
|
|
9461
9472
|
}
|
|
9462
9473
|
function warn(opts, type, message) {
|
|
9463
|
-
return log
|
|
9474
|
+
return log(opts, "warn", type, message);
|
|
9464
9475
|
}
|
|
9465
|
-
function error
|
|
9466
|
-
return log
|
|
9476
|
+
function error(opts, type, message) {
|
|
9477
|
+
return log(opts, "error", type, message);
|
|
9467
9478
|
}
|
|
9468
9479
|
function debug(...args) {
|
|
9469
9480
|
if ("_astroGlobalDebug" in globalThis) {
|
|
@@ -10138,14 +10149,14 @@ let lastMessageCount = 1;
|
|
|
10138
10149
|
const consoleLogDestination = {
|
|
10139
10150
|
write(event) {
|
|
10140
10151
|
let dest = console.error;
|
|
10141
|
-
if (levels
|
|
10152
|
+
if (levels[event.level] < levels["error"]) {
|
|
10142
10153
|
dest = console.log;
|
|
10143
10154
|
}
|
|
10144
10155
|
function getPrefix() {
|
|
10145
10156
|
let prefix = "";
|
|
10146
10157
|
let type = event.type;
|
|
10147
10158
|
if (type) {
|
|
10148
|
-
prefix += dim(dateTimeFormat
|
|
10159
|
+
prefix += dim(dateTimeFormat.format(new Date()) + " ");
|
|
10149
10160
|
if (event.level === "info") {
|
|
10150
10161
|
type = bold(cyan(`[${type}]`));
|
|
10151
10162
|
} else if (event.level === "warn") {
|
|
@@ -10442,7 +10453,7 @@ renderPage_fn = async function(request, routeData, mod, status = 200) {
|
|
|
10442
10453
|
const response = await renderPage(mod, ctx, __privateGet(this, _env));
|
|
10443
10454
|
return response;
|
|
10444
10455
|
} catch (err) {
|
|
10445
|
-
error
|
|
10456
|
+
error(__privateGet(this, _logging), "ssr", err.stack || err.message || String(err));
|
|
10446
10457
|
return new Response(null, {
|
|
10447
10458
|
status: 500,
|
|
10448
10459
|
statusText: "Internal server error"
|
|
@@ -11063,70 +11074,12 @@ var server_default = {
|
|
|
11063
11074
|
renderToStaticMarkup
|
|
11064
11075
|
};
|
|
11065
11076
|
|
|
11066
|
-
const PREFIX = "@astrojs/image";
|
|
11067
|
-
const dateTimeFormat = new Intl.DateTimeFormat([], {
|
|
11068
|
-
hour: "2-digit",
|
|
11069
|
-
minute: "2-digit",
|
|
11070
|
-
second: "2-digit"
|
|
11071
|
-
});
|
|
11072
|
-
const levels = {
|
|
11073
|
-
debug: 20,
|
|
11074
|
-
info: 30,
|
|
11075
|
-
warn: 40,
|
|
11076
|
-
error: 50,
|
|
11077
|
-
silent: 90
|
|
11078
|
-
};
|
|
11079
|
-
function getPrefix(level, timestamp) {
|
|
11080
|
-
let prefix = "";
|
|
11081
|
-
if (timestamp) {
|
|
11082
|
-
prefix += dim(dateTimeFormat.format(new Date()) + " ");
|
|
11083
|
-
}
|
|
11084
|
-
switch (level) {
|
|
11085
|
-
case "debug":
|
|
11086
|
-
prefix += bold(green(`[${PREFIX}] `));
|
|
11087
|
-
break;
|
|
11088
|
-
case "info":
|
|
11089
|
-
prefix += bold(cyan(`[${PREFIX}] `));
|
|
11090
|
-
break;
|
|
11091
|
-
case "warn":
|
|
11092
|
-
prefix += bold(yellow(`[${PREFIX}] `));
|
|
11093
|
-
break;
|
|
11094
|
-
case "error":
|
|
11095
|
-
prefix += bold(red(`[${PREFIX}] `));
|
|
11096
|
-
break;
|
|
11097
|
-
}
|
|
11098
|
-
return prefix;
|
|
11099
|
-
}
|
|
11100
|
-
const log = (_level, dest) => ({ message, level, prefix = true, timestamp = true }) => {
|
|
11101
|
-
if (levels[_level] >= levels[level]) {
|
|
11102
|
-
dest(`${prefix ? getPrefix(level, timestamp) : ""}${message}`);
|
|
11103
|
-
}
|
|
11104
|
-
};
|
|
11105
|
-
const error = log("error", console.error);
|
|
11106
|
-
|
|
11107
|
-
async function metadata(src, data) {
|
|
11108
|
-
const file = data || await fs$1.readFile(src);
|
|
11109
|
-
const { width, height, type, orientation } = await sizeOf(file);
|
|
11110
|
-
const isPortrait = (orientation || 0) >= 5;
|
|
11111
|
-
if (!width || !height || !type) {
|
|
11112
|
-
return void 0;
|
|
11113
|
-
}
|
|
11114
|
-
return {
|
|
11115
|
-
src: fileURLToPath$1(src),
|
|
11116
|
-
width: isPortrait ? height : width,
|
|
11117
|
-
height: isPortrait ? width : height,
|
|
11118
|
-
format: type,
|
|
11119
|
-
orientation
|
|
11120
|
-
};
|
|
11121
|
-
}
|
|
11122
|
-
|
|
11123
|
-
function isRemoteImage$1(src) {
|
|
11124
|
-
return /^(https?:)?\/\//.test(src);
|
|
11125
|
-
}
|
|
11126
|
-
|
|
11127
11077
|
function isOutputFormat(value) {
|
|
11128
11078
|
return ["avif", "jpeg", "jpg", "png", "webp"].includes(value);
|
|
11129
11079
|
}
|
|
11080
|
+
function isOutputFormatSupportsAlpha(value) {
|
|
11081
|
+
return ["avif", "png", "webp"].includes(value);
|
|
11082
|
+
}
|
|
11130
11083
|
function isAspectRatioString(value) {
|
|
11131
11084
|
return /^\d*:\d*$/.test(value);
|
|
11132
11085
|
}
|
|
@@ -11223,101 +11176,40 @@ class BaseSSRService {
|
|
|
11223
11176
|
}
|
|
11224
11177
|
}
|
|
11225
11178
|
|
|
11226
|
-
|
|
11227
|
-
class SquooshService extends BaseSSRService {
|
|
11228
|
-
async processAvif(image, transform) {
|
|
11229
|
-
const encodeOptions = transform.quality ? { avif: { quality: transform.quality } } : { avif: {} };
|
|
11230
|
-
await image.encode(encodeOptions);
|
|
11231
|
-
const data = await image.encodedWith.avif;
|
|
11232
|
-
return {
|
|
11233
|
-
data: data.binary,
|
|
11234
|
-
format: "avif"
|
|
11235
|
-
};
|
|
11236
|
-
}
|
|
11237
|
-
async processJpeg(image, transform) {
|
|
11238
|
-
const encodeOptions = transform.quality ? { mozjpeg: { quality: transform.quality } } : { mozjpeg: {} };
|
|
11239
|
-
await image.encode(encodeOptions);
|
|
11240
|
-
const data = await image.encodedWith.mozjpeg;
|
|
11241
|
-
return {
|
|
11242
|
-
data: data.binary,
|
|
11243
|
-
format: "jpeg"
|
|
11244
|
-
};
|
|
11245
|
-
}
|
|
11246
|
-
async processPng(image, transform) {
|
|
11247
|
-
await image.encode({ oxipng: {} });
|
|
11248
|
-
const data = await image.encodedWith.oxipng;
|
|
11249
|
-
return {
|
|
11250
|
-
data: data.binary,
|
|
11251
|
-
format: "png"
|
|
11252
|
-
};
|
|
11253
|
-
}
|
|
11254
|
-
async processWebp(image, transform) {
|
|
11255
|
-
const encodeOptions = transform.quality ? { webp: { quality: transform.quality } } : { webp: {} };
|
|
11256
|
-
await image.encode(encodeOptions);
|
|
11257
|
-
const data = await image.encodedWith.webp;
|
|
11258
|
-
return {
|
|
11259
|
-
data: data.binary,
|
|
11260
|
-
format: "webp"
|
|
11261
|
-
};
|
|
11262
|
-
}
|
|
11263
|
-
async autorotate(transform, inputBuffer) {
|
|
11264
|
-
try {
|
|
11265
|
-
const meta = await metadata(transform.src, inputBuffer);
|
|
11266
|
-
switch (meta == null ? void 0 : meta.orientation) {
|
|
11267
|
-
case 3:
|
|
11268
|
-
case 4:
|
|
11269
|
-
return { type: "rotate", numRotations: 2 };
|
|
11270
|
-
case 5:
|
|
11271
|
-
case 6:
|
|
11272
|
-
return { type: "rotate", numRotations: 1 };
|
|
11273
|
-
case 7:
|
|
11274
|
-
case 8:
|
|
11275
|
-
return { type: "rotate", numRotations: 3 };
|
|
11276
|
-
}
|
|
11277
|
-
} catch {
|
|
11278
|
-
}
|
|
11279
|
-
}
|
|
11179
|
+
class SharpService extends BaseSSRService {
|
|
11280
11180
|
async transform(inputBuffer, transform) {
|
|
11281
|
-
const
|
|
11282
|
-
|
|
11283
|
-
const autorotate = await this.autorotate(transform, inputBuffer);
|
|
11284
|
-
if (autorotate) {
|
|
11285
|
-
operations.push(autorotate);
|
|
11286
|
-
}
|
|
11287
|
-
} else if (transform.src.startsWith("//")) {
|
|
11288
|
-
transform.src = `https:${transform.src}`;
|
|
11289
|
-
}
|
|
11181
|
+
const sharpImage = sharp$1(inputBuffer, { failOnError: false, pages: -1 });
|
|
11182
|
+
sharpImage.rotate();
|
|
11290
11183
|
if (transform.width || transform.height) {
|
|
11291
11184
|
const width = transform.width && Math.round(transform.width);
|
|
11292
11185
|
const height = transform.height && Math.round(transform.height);
|
|
11293
|
-
|
|
11294
|
-
type: "resize",
|
|
11186
|
+
sharpImage.resize({
|
|
11295
11187
|
width,
|
|
11296
|
-
height
|
|
11188
|
+
height,
|
|
11189
|
+
fit: transform.fit,
|
|
11190
|
+
position: transform.position,
|
|
11191
|
+
background: transform.background
|
|
11297
11192
|
});
|
|
11298
11193
|
}
|
|
11299
|
-
if (
|
|
11300
|
-
|
|
11301
|
-
|
|
11302
|
-
|
|
11303
|
-
|
|
11304
|
-
});
|
|
11305
|
-
throw new Error(`Unknown image output: "${transform.format}" used for ${transform.src}`);
|
|
11194
|
+
if (transform.format) {
|
|
11195
|
+
sharpImage.toFormat(transform.format, { quality: transform.quality });
|
|
11196
|
+
if (transform.background && !isOutputFormatSupportsAlpha(transform.format)) {
|
|
11197
|
+
sharpImage.flatten({ background: transform.background });
|
|
11198
|
+
}
|
|
11306
11199
|
}
|
|
11307
|
-
const {
|
|
11308
|
-
const data = await processBuffer(inputBuffer, operations, transform.format, transform.quality);
|
|
11200
|
+
const { data, info } = await sharpImage.toBuffer({ resolveWithObject: true });
|
|
11309
11201
|
return {
|
|
11310
|
-
data
|
|
11311
|
-
format:
|
|
11202
|
+
data,
|
|
11203
|
+
format: info.format
|
|
11312
11204
|
};
|
|
11313
11205
|
}
|
|
11314
11206
|
}
|
|
11315
|
-
const service = new
|
|
11316
|
-
var
|
|
11207
|
+
const service = new SharpService();
|
|
11208
|
+
var sharp_default = service;
|
|
11317
11209
|
|
|
11318
|
-
const
|
|
11210
|
+
const sharp = /*#__PURE__*/Object.freeze(/*#__PURE__*/Object.defineProperty({
|
|
11319
11211
|
__proto__: null,
|
|
11320
|
-
default:
|
|
11212
|
+
default: sharp_default
|
|
11321
11213
|
}, Symbol.toStringTag, { value: 'Module' }));
|
|
11322
11214
|
|
|
11323
11215
|
const fnv1a52 = (str) => {
|
|
@@ -11345,7 +11237,7 @@ const etag = (payload, weak = false) => {
|
|
|
11345
11237
|
return prefix + fnv1a52(payload).toString(36) + payload.length.toString(36) + '"';
|
|
11346
11238
|
};
|
|
11347
11239
|
|
|
11348
|
-
function isRemoteImage(src) {
|
|
11240
|
+
function isRemoteImage$1(src) {
|
|
11349
11241
|
return /^(https?:)?\/\//.test(src);
|
|
11350
11242
|
}
|
|
11351
11243
|
|
|
@@ -11364,14 +11256,14 @@ async function loadRemoteImage(src) {
|
|
|
11364
11256
|
const get = async ({ request }) => {
|
|
11365
11257
|
try {
|
|
11366
11258
|
const url = new URL(request.url);
|
|
11367
|
-
const transform =
|
|
11259
|
+
const transform = sharp_default.parseTransform(url.searchParams);
|
|
11368
11260
|
let inputBuffer = void 0;
|
|
11369
|
-
const sourceUrl = isRemoteImage(transform.src) ? new URL(transform.src) : new URL(transform.src, url.origin);
|
|
11261
|
+
const sourceUrl = isRemoteImage$1(transform.src) ? new URL(transform.src) : new URL(transform.src, url.origin);
|
|
11370
11262
|
inputBuffer = await loadRemoteImage(sourceUrl);
|
|
11371
11263
|
if (!inputBuffer) {
|
|
11372
11264
|
return new Response("Not Found", { status: 404 });
|
|
11373
11265
|
}
|
|
11374
|
-
const { data, format } = await
|
|
11266
|
+
const { data, format } = await sharp_default.transform(inputBuffer, transform);
|
|
11375
11267
|
return new Response(data, {
|
|
11376
11268
|
status: 200,
|
|
11377
11269
|
headers: {
|
|
@@ -11557,6 +11449,10 @@ const loadPageContext = async (Astro, {
|
|
|
11557
11449
|
};
|
|
11558
11450
|
};
|
|
11559
11451
|
|
|
11452
|
+
function isRemoteImage(src) {
|
|
11453
|
+
return /^(https?:)?\/\//.test(src);
|
|
11454
|
+
}
|
|
11455
|
+
|
|
11560
11456
|
function resolveSize(transform) {
|
|
11561
11457
|
if (transform.width && transform.height) {
|
|
11562
11458
|
return transform;
|
|
@@ -11624,7 +11520,7 @@ async function getImage$1(transform) {
|
|
|
11624
11520
|
}
|
|
11625
11521
|
let loader = (_a = globalThis.astroImage) == null ? void 0 : _a.loader;
|
|
11626
11522
|
if (!loader) {
|
|
11627
|
-
const { default: mod } = await Promise.resolve().then(() =>
|
|
11523
|
+
const { default: mod } = await Promise.resolve().then(() => sharp).catch(() => {
|
|
11628
11524
|
throw new Error(
|
|
11629
11525
|
"[@astrojs/image] Builtin image loader not found. (Did you remember to add the integration to your Astro config?)"
|
|
11630
11526
|
);
|
|
@@ -11636,7 +11532,7 @@ async function getImage$1(transform) {
|
|
|
11636
11532
|
const resolved = await resolveTransform(transform);
|
|
11637
11533
|
const attributes = await loader.getImageAttributes(resolved);
|
|
11638
11534
|
const isDev = (_b = (Object.assign({"BASE_URL":"/","MODE":"production","DEV":false,"PROD":true},{SSR:true,}))) == null ? void 0 : _b.DEV;
|
|
11639
|
-
const isLocalImage = !isRemoteImage
|
|
11535
|
+
const isLocalImage = !isRemoteImage(resolved.src);
|
|
11640
11536
|
const _loader = isDev && isLocalImage ? globalThis.astroImage.defaultLoader : loader;
|
|
11641
11537
|
if (!_loader) {
|
|
11642
11538
|
throw new Error("@astrojs/image: loader not found!");
|
|
@@ -11689,7 +11585,7 @@ const getImage = async (options) => {
|
|
|
11689
11585
|
options.aspectRatio = height ? width / height : 1;
|
|
11690
11586
|
}
|
|
11691
11587
|
}
|
|
11692
|
-
const imgAttrs = await getImage$1(options);
|
|
11588
|
+
const imgAttrs = await getImage$1({ alt: "", ...options });
|
|
11693
11589
|
imgAttrs.src += imgAttrs.src.includes("?") ? "&" : "?";
|
|
11694
11590
|
imgAttrs.src += `V=${({}).DEPLOY_RAND || "_"}`;
|
|
11695
11591
|
if (typeof imgAttrs.width === "number") {
|
|
@@ -12564,7 +12460,7 @@ const usePrices = (props) => {
|
|
|
12564
12460
|
});
|
|
12565
12461
|
const installmentValue = computed(() => {
|
|
12566
12462
|
if (installmentsNumber.value >= 2) {
|
|
12567
|
-
if (monthlyInterest.value) {
|
|
12463
|
+
if (!monthlyInterest.value) {
|
|
12568
12464
|
return salePrice.value / installmentsNumber.value;
|
|
12569
12465
|
}
|
|
12570
12466
|
const interest = monthlyInterest.value / 100;
|
|
@@ -12580,7 +12476,14 @@ const usePrices = (props) => {
|
|
|
12580
12476
|
return {};
|
|
12581
12477
|
});
|
|
12582
12478
|
const discountLabel = computed(() => {
|
|
12583
|
-
|
|
12479
|
+
const { label } = discountObject.value;
|
|
12480
|
+
if (label) {
|
|
12481
|
+
if (label.includes(" ")) {
|
|
12482
|
+
return label;
|
|
12483
|
+
}
|
|
12484
|
+
return `via ${label}`;
|
|
12485
|
+
}
|
|
12486
|
+
return "";
|
|
12584
12487
|
});
|
|
12585
12488
|
const priceWithDiscount = computed(() => {
|
|
12586
12489
|
return getPriceWithDiscount(salePrice.value, discountObject.value);
|
|
@@ -12593,7 +12496,7 @@ const usePrices = (props) => {
|
|
|
12593
12496
|
if (pointsPrograms) {
|
|
12594
12497
|
const programIds = Object.keys(pointsPrograms);
|
|
12595
12498
|
for (let i = 0; i < programIds.length; i++) {
|
|
12596
|
-
const program = pointsPrograms[i];
|
|
12499
|
+
const program = pointsPrograms[programIds[i]];
|
|
12597
12500
|
if (program && program.earn_percentage > 0) {
|
|
12598
12501
|
return program;
|
|
12599
12502
|
}
|
|
@@ -12610,11 +12513,11 @@ const usePrices = (props) => {
|
|
|
12610
12513
|
const earnPointsPercentage = computed(() => {
|
|
12611
12514
|
return pointsProgramObject.value.earn_percentage || 0;
|
|
12612
12515
|
});
|
|
12613
|
-
const
|
|
12614
|
-
return earnPointsPercentage.value
|
|
12516
|
+
const cashbackPercentage = computed(() => {
|
|
12517
|
+
return earnPointsPercentage.value * pointsProgramObject.value.ratio;
|
|
12615
12518
|
});
|
|
12616
|
-
const
|
|
12617
|
-
return
|
|
12519
|
+
const cashbackValue = computed(() => {
|
|
12520
|
+
return cashbackPercentage.value >= 1 ? salePrice.value * (cashbackPercentage.value / 100) : 0;
|
|
12618
12521
|
});
|
|
12619
12522
|
return {
|
|
12620
12523
|
hasVariedPrices,
|
|
@@ -12631,8 +12534,8 @@ const usePrices = (props) => {
|
|
|
12631
12534
|
pointsMinPrice,
|
|
12632
12535
|
pointsProgramName,
|
|
12633
12536
|
earnPointsPercentage,
|
|
12634
|
-
|
|
12635
|
-
|
|
12537
|
+
cashbackPercentage,
|
|
12538
|
+
cashbackValue
|
|
12636
12539
|
};
|
|
12637
12540
|
};
|
|
12638
12541
|
|
|
@@ -12670,8 +12573,8 @@ const _sfc_main$1 = /* @__PURE__ */ defineComponent({
|
|
|
12670
12573
|
hasVariedPrices,
|
|
12671
12574
|
salePrice,
|
|
12672
12575
|
comparePrice,
|
|
12673
|
-
|
|
12674
|
-
|
|
12576
|
+
cashbackPercentage,
|
|
12577
|
+
cashbackValue,
|
|
12675
12578
|
installmentsNumber,
|
|
12676
12579
|
monthlyInterest,
|
|
12677
12580
|
installmentValue,
|
|
@@ -12679,222 +12582,217 @@ const _sfc_main$1 = /* @__PURE__ */ defineComponent({
|
|
|
12679
12582
|
discountLabel
|
|
12680
12583
|
} = prices;
|
|
12681
12584
|
const componentVariant = useComponentVariant(props);
|
|
12682
|
-
const isFade = ref(false);
|
|
12683
|
-
setTimeout(() => {
|
|
12684
|
-
isFade.value = true;
|
|
12685
|
-
setTimeout(() => {
|
|
12686
|
-
isFade.value = false;
|
|
12687
|
-
}, 5e3);
|
|
12688
|
-
}, 5e3);
|
|
12689
12585
|
return (_ctx, _push, _parent, _attrs) => {
|
|
12690
12586
|
const _component_Fade = resolveComponent("Fade");
|
|
12691
|
-
|
|
12692
|
-
|
|
12693
|
-
|
|
12694
|
-
|
|
12695
|
-
|
|
12696
|
-
|
|
12697
|
-
|
|
12698
|
-
|
|
12699
|
-
|
|
12700
|
-
|
|
12701
|
-
}
|
|
12702
|
-
}, _push, _parent);
|
|
12703
|
-
ssrRenderSlot(_ctx.$slots, "compare-value", unref(prices), () => {
|
|
12704
|
-
_push(`<s>${ssrInterpolate(_ctx.$money(unref(comparePrice)))}</s>`);
|
|
12705
|
-
}, _push, _parent);
|
|
12706
|
-
ssrRenderSlot(_ctx.$slots, "compare-post", {}, () => {
|
|
12707
|
-
if (__props.isLiteral) {
|
|
12708
|
-
_push(`<small>${ssrInterpolate(` ${"Por"}`)}</small>`);
|
|
12709
|
-
} else {
|
|
12710
|
-
_push(`<!---->`);
|
|
12711
|
-
}
|
|
12712
|
-
}, _push, _parent);
|
|
12713
|
-
_push(`</span>`);
|
|
12714
|
-
}, _push, _parent);
|
|
12715
|
-
} else {
|
|
12716
|
-
_push(`<!---->`);
|
|
12717
|
-
}
|
|
12718
|
-
ssrRenderSlot(_ctx.$slots, "sale", unref(prices), () => {
|
|
12719
|
-
_push(`<strong${ssrRenderAttr("data-sf-prices-sale", unref(salePrice))} class="inline-block text-base-800">`);
|
|
12720
|
-
ssrRenderSlot(_ctx.$slots, "sale-pre", {}, () => {
|
|
12721
|
-
if (unref(hasVariedPrices)) {
|
|
12722
|
-
_push(`<small>${ssrInterpolate(`${"A partir de"} `)}</small>`);
|
|
12587
|
+
_push(`<div${ssrRenderAttrs(mergeProps({
|
|
12588
|
+
"data-sf-prices": unref(componentVariant),
|
|
12589
|
+
class: "text-base-600"
|
|
12590
|
+
}, _attrs))}>`);
|
|
12591
|
+
if (unref(comparePrice)) {
|
|
12592
|
+
ssrRenderSlot(_ctx.$slots, "compare", { salePrice: unref(salePrice), comparePrice: unref(comparePrice) }, () => {
|
|
12593
|
+
_push(`<span${ssrRenderAttr("data-sf-prices-compare", unref(comparePrice))} class="text-base-500 mr-1">`);
|
|
12594
|
+
ssrRenderSlot(_ctx.$slots, "compare-pre", {}, () => {
|
|
12595
|
+
if (__props.isLiteral) {
|
|
12596
|
+
_push(`<small>${ssrInterpolate(`${"De"} `)}</small>`);
|
|
12723
12597
|
} else {
|
|
12724
12598
|
_push(`<!---->`);
|
|
12725
12599
|
}
|
|
12726
12600
|
}, _push, _parent);
|
|
12727
|
-
ssrRenderSlot(_ctx.$slots, "
|
|
12728
|
-
_push(
|
|
12601
|
+
ssrRenderSlot(_ctx.$slots, "compare-value", { salePrice: unref(salePrice), comparePrice: unref(comparePrice) }, () => {
|
|
12602
|
+
_push(`<s>${ssrInterpolate(_ctx.$money(unref(comparePrice)))}</s>`);
|
|
12603
|
+
}, _push, _parent);
|
|
12604
|
+
ssrRenderSlot(_ctx.$slots, "compare-post", {}, () => {
|
|
12605
|
+
if (__props.isLiteral) {
|
|
12606
|
+
_push(`<small>${ssrInterpolate(` ${"Por"}`)}</small>`);
|
|
12607
|
+
} else {
|
|
12608
|
+
_push(`<!---->`);
|
|
12609
|
+
}
|
|
12729
12610
|
}, _push, _parent);
|
|
12730
|
-
|
|
12731
|
-
_push(`</strong>`);
|
|
12611
|
+
_push(`</span>`);
|
|
12732
12612
|
}, _push, _parent);
|
|
12733
|
-
|
|
12734
|
-
|
|
12735
|
-
|
|
12736
|
-
|
|
12737
|
-
|
|
12738
|
-
|
|
12739
|
-
|
|
12740
|
-
|
|
12741
|
-
|
|
12742
|
-
|
|
12743
|
-
|
|
12744
|
-
|
|
12745
|
-
|
|
12746
|
-
|
|
12747
|
-
|
|
12748
|
-
|
|
12749
|
-
|
|
12750
|
-
|
|
12751
|
-
|
|
12752
|
-
|
|
12613
|
+
} else {
|
|
12614
|
+
_push(`<!---->`);
|
|
12615
|
+
}
|
|
12616
|
+
ssrRenderSlot(_ctx.$slots, "sale", { salePrice: unref(salePrice) }, () => {
|
|
12617
|
+
_push(`<strong${ssrRenderAttr("data-sf-prices-sale", unref(salePrice))} class="inline-block text-base-800">`);
|
|
12618
|
+
ssrRenderSlot(_ctx.$slots, "sale-pre", {}, () => {
|
|
12619
|
+
if (unref(hasVariedPrices)) {
|
|
12620
|
+
_push(`<small>${ssrInterpolate(`${"A partir de"} `)}</small>`);
|
|
12621
|
+
} else {
|
|
12622
|
+
_push(`<!---->`);
|
|
12623
|
+
}
|
|
12624
|
+
}, _push, _parent);
|
|
12625
|
+
ssrRenderSlot(_ctx.$slots, "sale-value", { salePrice: unref(salePrice) }, () => {
|
|
12626
|
+
_push(`${ssrInterpolate(_ctx.$money(unref(salePrice)))}`);
|
|
12627
|
+
}, _push, _parent);
|
|
12628
|
+
ssrRenderSlot(_ctx.$slots, "sale-post", {}, null, _push, _parent);
|
|
12629
|
+
_push(`</strong>`);
|
|
12630
|
+
}, _push, _parent);
|
|
12631
|
+
if (unref(cashbackValue)) {
|
|
12632
|
+
ssrRenderSlot(_ctx.$slots, "cashback", { salePrice: unref(salePrice), cashbackValue: unref(cashbackValue), cashbackPercentage: unref(cashbackPercentage) }, () => {
|
|
12633
|
+
_push(ssrRenderComponent(_component_Fade, { slide: "down" }, {
|
|
12634
|
+
default: withCtx((_, _push2, _parent2, _scopeId) => {
|
|
12635
|
+
if (_push2) {
|
|
12636
|
+
if (__props.hasCashback) {
|
|
12637
|
+
_push2(`<div${ssrRenderAttr("data-sf-prices-cashback", unref(cashbackValue))} class="relative z-10"${_scopeId}><span${ssrRenderAttr("data-tooltip", "Receba $1 de volta".replace("$1", _ctx.$percentage(unref(cashbackPercentage))))}${_scopeId}>`);
|
|
12638
|
+
ssrRenderSlot(_ctx.$slots, "cashback-pre", {}, () => {
|
|
12639
|
+
_push2(`<i class="i-cashback mr-1"${_scopeId}></i>`);
|
|
12640
|
+
}, _push2, _parent2, _scopeId);
|
|
12641
|
+
ssrRenderSlot(_ctx.$slots, "cashback-value", { salePrice: unref(salePrice), cashbackValue: unref(cashbackValue), cashbackPercentage: unref(cashbackPercentage) }, () => {
|
|
12642
|
+
_push2(`<span class="font-medium"${_scopeId}>${ssrInterpolate(_ctx.$money(unref(cashbackValue)))}</span>`);
|
|
12643
|
+
}, _push2, _parent2, _scopeId);
|
|
12644
|
+
ssrRenderSlot(_ctx.$slots, "cashback-post", {}, () => {
|
|
12645
|
+
_push2(`<small${_scopeId}> cashback</small>`);
|
|
12646
|
+
}, _push2, _parent2, _scopeId);
|
|
12647
|
+
_push2(`</span></div>`);
|
|
12753
12648
|
} else {
|
|
12754
|
-
|
|
12755
|
-
__props.hasCashback ? (openBlock(), createBlock("div", {
|
|
12756
|
-
key: 0,
|
|
12757
|
-
"data-sf-prices-cashback": unref(pointsCashback)
|
|
12758
|
-
}, [
|
|
12759
|
-
createVNode$1("span", {
|
|
12760
|
-
"data-tooltip": "Receba $1 de volta".replace("$1", _ctx.$percentage(unref(earnPointsPercentage)))
|
|
12761
|
-
}, [
|
|
12762
|
-
renderSlot$1(_ctx.$slots, "cashback-pre", {}, () => [
|
|
12763
|
-
createVNode$1("i", { class: "i-cashback mr-1" })
|
|
12764
|
-
]),
|
|
12765
|
-
renderSlot$1(_ctx.$slots, "cashback-value", unref(prices), () => [
|
|
12766
|
-
createVNode$1("span", { class: "font-medium" }, toDisplayString(_ctx.$money(unref(pointsCashback))), 1)
|
|
12767
|
-
]),
|
|
12768
|
-
renderSlot$1(_ctx.$slots, "cashback-post", {}, () => [
|
|
12769
|
-
createVNode$1("small", null, " cashback")
|
|
12770
|
-
])
|
|
12771
|
-
], 8, ["data-tooltip"])
|
|
12772
|
-
], 8, ["data-sf-prices-cashback"])) : createCommentVNode("", true)
|
|
12773
|
-
];
|
|
12649
|
+
_push2(`<!---->`);
|
|
12774
12650
|
}
|
|
12775
|
-
}
|
|
12776
|
-
|
|
12777
|
-
|
|
12778
|
-
|
|
12779
|
-
|
|
12780
|
-
|
|
12781
|
-
|
|
12782
|
-
|
|
12783
|
-
|
|
12784
|
-
_push(ssrRenderComponent(_component_Fade, { slide: "down" }, {
|
|
12785
|
-
default: withCtx((_, _push2, _parent2, _scopeId) => {
|
|
12786
|
-
if (_push2) {
|
|
12787
|
-
if (__props.hasPriceOptions) {
|
|
12788
|
-
_push2(`<div${ssrRenderAttr("data-sf-prices-installment", unref(installmentValue))}${_scopeId}>`);
|
|
12789
|
-
ssrRenderSlot(_ctx.$slots, "installment-pre", {}, () => {
|
|
12790
|
-
if (__props.isLiteral) {
|
|
12791
|
-
_push2(`<small${_scopeId}>${ssrInterpolate(`${"At\xE9"} `)}</small>`);
|
|
12792
|
-
} else {
|
|
12793
|
-
_push2(`<!---->`);
|
|
12794
|
-
}
|
|
12795
|
-
}, _push2, _parent2, _scopeId);
|
|
12796
|
-
ssrRenderSlot(_ctx.$slots, "installment-value", unref(prices), () => {
|
|
12797
|
-
_push2(`${ssrInterpolate(unref(installmentsNumber))}x `);
|
|
12798
|
-
if (__props.isLiteral) {
|
|
12799
|
-
_push2(`<small${_scopeId}>${ssrInterpolate(` ${"De"} `)}</small>`);
|
|
12800
|
-
} else {
|
|
12801
|
-
_push2(`<!---->`);
|
|
12802
|
-
}
|
|
12803
|
-
_push2(`<span${_scopeId}>${ssrInterpolate(_ctx.$money(unref(installmentValue)))}</span>`);
|
|
12804
|
-
}, _push2, _parent2, _scopeId);
|
|
12805
|
-
ssrRenderSlot(_ctx.$slots, "installment-post", {}, () => {
|
|
12806
|
-
if (!unref(monthlyInterest) && __props.isLiteral) {
|
|
12807
|
-
_push2(`<small${_scopeId}>${ssrInterpolate("Sem juros")}</small>`);
|
|
12808
|
-
} else {
|
|
12809
|
-
_push2(`<!---->`);
|
|
12810
|
-
}
|
|
12811
|
-
}, _push2, _parent2, _scopeId);
|
|
12812
|
-
_push2(`</div>`);
|
|
12813
|
-
} else {
|
|
12814
|
-
_push2(`<!---->`);
|
|
12815
|
-
}
|
|
12816
|
-
} else {
|
|
12817
|
-
return [
|
|
12818
|
-
__props.hasPriceOptions ? (openBlock(), createBlock("div", {
|
|
12819
|
-
key: 0,
|
|
12820
|
-
"data-sf-prices-installment": unref(installmentValue)
|
|
12651
|
+
} else {
|
|
12652
|
+
return [
|
|
12653
|
+
__props.hasCashback ? (openBlock(), createBlock("div", {
|
|
12654
|
+
key: 0,
|
|
12655
|
+
"data-sf-prices-cashback": unref(cashbackValue),
|
|
12656
|
+
class: "relative z-10"
|
|
12657
|
+
}, [
|
|
12658
|
+
createVNode$1("span", {
|
|
12659
|
+
"data-tooltip": "Receba $1 de volta".replace("$1", _ctx.$percentage(unref(cashbackPercentage)))
|
|
12821
12660
|
}, [
|
|
12822
|
-
renderSlot$1(_ctx.$slots, "
|
|
12823
|
-
|
|
12661
|
+
renderSlot$1(_ctx.$slots, "cashback-pre", {}, () => [
|
|
12662
|
+
createVNode$1("i", { class: "i-cashback mr-1" })
|
|
12824
12663
|
]),
|
|
12825
|
-
renderSlot$1(_ctx.$slots, "
|
|
12826
|
-
|
|
12827
|
-
__props.isLiteral ? (openBlock(), createBlock("small", { key: 0 }, toDisplayString(` ${"De"} `))) : createCommentVNode("", true),
|
|
12828
|
-
createVNode$1("span", null, toDisplayString(_ctx.$money(unref(installmentValue))), 1)
|
|
12664
|
+
renderSlot$1(_ctx.$slots, "cashback-value", { salePrice: unref(salePrice), cashbackValue: unref(cashbackValue), cashbackPercentage: unref(cashbackPercentage) }, () => [
|
|
12665
|
+
createVNode$1("span", { class: "font-medium" }, toDisplayString(_ctx.$money(unref(cashbackValue))), 1)
|
|
12829
12666
|
]),
|
|
12830
|
-
renderSlot$1(_ctx.$slots, "
|
|
12831
|
-
|
|
12667
|
+
renderSlot$1(_ctx.$slots, "cashback-post", {}, () => [
|
|
12668
|
+
createVNode$1("small", null, " cashback")
|
|
12832
12669
|
])
|
|
12833
|
-
], 8, ["data-
|
|
12834
|
-
]
|
|
12670
|
+
], 8, ["data-tooltip"])
|
|
12671
|
+
], 8, ["data-sf-prices-cashback"])) : createCommentVNode("", true)
|
|
12672
|
+
];
|
|
12673
|
+
}
|
|
12674
|
+
}),
|
|
12675
|
+
_: 3
|
|
12676
|
+
}, _parent));
|
|
12677
|
+
}, _push, _parent);
|
|
12678
|
+
} else {
|
|
12679
|
+
_push(`<!---->`);
|
|
12680
|
+
}
|
|
12681
|
+
if (unref(installmentValue)) {
|
|
12682
|
+
ssrRenderSlot(_ctx.$slots, "installment", { salePrice: unref(salePrice), installmentValue: unref(installmentValue), installmentsNumber: unref(installmentsNumber), monthlyInterest: unref(monthlyInterest) }, () => {
|
|
12683
|
+
_push(ssrRenderComponent(_component_Fade, { slide: "down" }, {
|
|
12684
|
+
default: withCtx((_, _push2, _parent2, _scopeId) => {
|
|
12685
|
+
if (_push2) {
|
|
12686
|
+
if (__props.hasPriceOptions) {
|
|
12687
|
+
_push2(`<div${ssrRenderAttr("data-sf-prices-installment", unref(installmentValue))}${_scopeId}>`);
|
|
12688
|
+
ssrRenderSlot(_ctx.$slots, "installment-pre", {}, () => {
|
|
12689
|
+
if (__props.isLiteral) {
|
|
12690
|
+
_push2(`<small${_scopeId}>${ssrInterpolate(`${"At\xE9"} `)}</small>`);
|
|
12691
|
+
} else {
|
|
12692
|
+
_push2(`<!---->`);
|
|
12693
|
+
}
|
|
12694
|
+
}, _push2, _parent2, _scopeId);
|
|
12695
|
+
ssrRenderSlot(_ctx.$slots, "installment-value", { salePrice: unref(salePrice), installmentValue: unref(installmentValue), installmentsNumber: unref(installmentsNumber), monthlyInterest: unref(monthlyInterest) }, () => {
|
|
12696
|
+
_push2(`${ssrInterpolate(unref(installmentsNumber))}x `);
|
|
12697
|
+
if (__props.isLiteral) {
|
|
12698
|
+
_push2(`<small${_scopeId}>${ssrInterpolate(` ${"De"} `)}</small>`);
|
|
12699
|
+
} else {
|
|
12700
|
+
_push2(`<!---->`);
|
|
12701
|
+
}
|
|
12702
|
+
_push2(`<span${_scopeId}>${ssrInterpolate(_ctx.$money(unref(installmentValue)))}</span>`);
|
|
12703
|
+
}, _push2, _parent2, _scopeId);
|
|
12704
|
+
ssrRenderSlot(_ctx.$slots, "installment-post", {}, () => {
|
|
12705
|
+
if (!unref(monthlyInterest) && __props.isLiteral) {
|
|
12706
|
+
_push2(`<small${_scopeId}>${ssrInterpolate("Sem juros")}</small>`);
|
|
12707
|
+
} else {
|
|
12708
|
+
_push2(`<!---->`);
|
|
12709
|
+
}
|
|
12710
|
+
}, _push2, _parent2, _scopeId);
|
|
12711
|
+
_push2(`</div>`);
|
|
12712
|
+
} else {
|
|
12713
|
+
_push2(`<!---->`);
|
|
12835
12714
|
}
|
|
12836
|
-
}
|
|
12837
|
-
|
|
12838
|
-
|
|
12839
|
-
|
|
12840
|
-
|
|
12841
|
-
|
|
12842
|
-
|
|
12843
|
-
|
|
12844
|
-
|
|
12845
|
-
|
|
12846
|
-
|
|
12847
|
-
|
|
12848
|
-
|
|
12849
|
-
|
|
12850
|
-
|
|
12851
|
-
|
|
12852
|
-
|
|
12853
|
-
|
|
12854
|
-
|
|
12855
|
-
|
|
12856
|
-
|
|
12857
|
-
|
|
12858
|
-
|
|
12859
|
-
|
|
12860
|
-
|
|
12861
|
-
|
|
12862
|
-
|
|
12863
|
-
|
|
12864
|
-
|
|
12865
|
-
|
|
12866
|
-
|
|
12867
|
-
|
|
12868
|
-
|
|
12869
|
-
|
|
12870
|
-
}
|
|
12715
|
+
} else {
|
|
12716
|
+
return [
|
|
12717
|
+
__props.hasPriceOptions ? (openBlock(), createBlock("div", {
|
|
12718
|
+
key: 0,
|
|
12719
|
+
"data-sf-prices-installment": unref(installmentValue)
|
|
12720
|
+
}, [
|
|
12721
|
+
renderSlot$1(_ctx.$slots, "installment-pre", {}, () => [
|
|
12722
|
+
__props.isLiteral ? (openBlock(), createBlock("small", { key: 0 }, toDisplayString(`${"At\xE9"} `))) : createCommentVNode("", true)
|
|
12723
|
+
]),
|
|
12724
|
+
renderSlot$1(_ctx.$slots, "installment-value", { salePrice: unref(salePrice), installmentValue: unref(installmentValue), installmentsNumber: unref(installmentsNumber), monthlyInterest: unref(monthlyInterest) }, () => [
|
|
12725
|
+
createTextVNode(toDisplayString(unref(installmentsNumber)) + "x ", 1),
|
|
12726
|
+
__props.isLiteral ? (openBlock(), createBlock("small", { key: 0 }, toDisplayString(` ${"De"} `))) : createCommentVNode("", true),
|
|
12727
|
+
createVNode$1("span", null, toDisplayString(_ctx.$money(unref(installmentValue))), 1)
|
|
12728
|
+
]),
|
|
12729
|
+
renderSlot$1(_ctx.$slots, "installment-post", {}, () => [
|
|
12730
|
+
!unref(monthlyInterest) && __props.isLiteral ? (openBlock(), createBlock("small", { key: 0 }, toDisplayString("Sem juros"))) : createCommentVNode("", true)
|
|
12731
|
+
])
|
|
12732
|
+
], 8, ["data-sf-prices-installment"])) : createCommentVNode("", true)
|
|
12733
|
+
];
|
|
12734
|
+
}
|
|
12735
|
+
}),
|
|
12736
|
+
_: 3
|
|
12737
|
+
}, _parent));
|
|
12738
|
+
}, _push, _parent);
|
|
12739
|
+
} else {
|
|
12740
|
+
_push(`<!---->`);
|
|
12741
|
+
}
|
|
12742
|
+
if (unref(priceWithDiscount) < unref(salePrice)) {
|
|
12743
|
+
ssrRenderSlot(_ctx.$slots, "discount", { salePrice: unref(salePrice), priceWithDiscount: unref(priceWithDiscount), discountLabel: unref(discountLabel) }, () => {
|
|
12744
|
+
_push(ssrRenderComponent(_component_Fade, { slide: "down" }, {
|
|
12745
|
+
default: withCtx((_, _push2, _parent2, _scopeId) => {
|
|
12746
|
+
if (_push2) {
|
|
12747
|
+
if (__props.hasPriceOptions) {
|
|
12748
|
+
_push2(`<div${ssrRenderAttr("data-sf-prices-discount", unref(priceWithDiscount))}${_scopeId}>`);
|
|
12749
|
+
ssrRenderSlot(_ctx.$slots, "discount-pre", {}, () => {
|
|
12750
|
+
if (!unref(discountLabel)) {
|
|
12751
|
+
_push2(`<small${_scopeId}>${ssrInterpolate(`${"A partir de"} `)}</small>`);
|
|
12752
|
+
} else {
|
|
12753
|
+
_push2(`<!---->`);
|
|
12754
|
+
}
|
|
12755
|
+
}, _push2, _parent2, _scopeId);
|
|
12756
|
+
ssrRenderSlot(_ctx.$slots, "discount-value", { salePrice: unref(salePrice), priceWithDiscount: unref(priceWithDiscount), discountLabel: unref(discountLabel) }, () => {
|
|
12757
|
+
_push2(`<span${_scopeId}>${ssrInterpolate(_ctx.$money(unref(priceWithDiscount)))}</span>`);
|
|
12758
|
+
}, _push2, _parent2, _scopeId);
|
|
12759
|
+
ssrRenderSlot(_ctx.$slots, "discount-post", {}, () => {
|
|
12760
|
+
if (unref(discountLabel)) {
|
|
12761
|
+
_push2(`<small${_scopeId}>${ssrInterpolate(` ${unref(discountLabel)}`)}</small>`);
|
|
12762
|
+
} else {
|
|
12763
|
+
_push2(`<!---->`);
|
|
12764
|
+
}
|
|
12765
|
+
}, _push2, _parent2, _scopeId);
|
|
12766
|
+
_push2(`</div>`);
|
|
12871
12767
|
} else {
|
|
12872
|
-
|
|
12873
|
-
__props.hasPriceOptions ? (openBlock(), createBlock("div", {
|
|
12874
|
-
key: 0,
|
|
12875
|
-
"data-sf-prices-discount": unref(priceWithDiscount)
|
|
12876
|
-
}, [
|
|
12877
|
-
renderSlot$1(_ctx.$slots, "discount-pre", {}, () => [
|
|
12878
|
-
!unref(discountLabel) ? (openBlock(), createBlock("small", { key: 0 }, toDisplayString(`${"A partir de"} `))) : createCommentVNode("", true)
|
|
12879
|
-
]),
|
|
12880
|
-
renderSlot$1(_ctx.$slots, "discount-value", unref(prices), () => [
|
|
12881
|
-
createVNode$1("span", null, toDisplayString(_ctx.$money(unref(priceWithDiscount))), 1)
|
|
12882
|
-
]),
|
|
12883
|
-
renderSlot$1(_ctx.$slots, "discount-post", {}, () => [
|
|
12884
|
-
unref(discountLabel) ? (openBlock(), createBlock("small", { key: 0 }, toDisplayString(` ${unref(discountLabel)}`), 1)) : createCommentVNode("", true)
|
|
12885
|
-
])
|
|
12886
|
-
], 8, ["data-sf-prices-discount"])) : createCommentVNode("", true)
|
|
12887
|
-
];
|
|
12768
|
+
_push2(`<!---->`);
|
|
12888
12769
|
}
|
|
12889
|
-
}
|
|
12890
|
-
|
|
12891
|
-
|
|
12892
|
-
|
|
12893
|
-
|
|
12894
|
-
|
|
12895
|
-
|
|
12896
|
-
|
|
12897
|
-
|
|
12770
|
+
} else {
|
|
12771
|
+
return [
|
|
12772
|
+
__props.hasPriceOptions ? (openBlock(), createBlock("div", {
|
|
12773
|
+
key: 0,
|
|
12774
|
+
"data-sf-prices-discount": unref(priceWithDiscount)
|
|
12775
|
+
}, [
|
|
12776
|
+
renderSlot$1(_ctx.$slots, "discount-pre", {}, () => [
|
|
12777
|
+
!unref(discountLabel) ? (openBlock(), createBlock("small", { key: 0 }, toDisplayString(`${"A partir de"} `))) : createCommentVNode("", true)
|
|
12778
|
+
]),
|
|
12779
|
+
renderSlot$1(_ctx.$slots, "discount-value", { salePrice: unref(salePrice), priceWithDiscount: unref(priceWithDiscount), discountLabel: unref(discountLabel) }, () => [
|
|
12780
|
+
createVNode$1("span", null, toDisplayString(_ctx.$money(unref(priceWithDiscount))), 1)
|
|
12781
|
+
]),
|
|
12782
|
+
renderSlot$1(_ctx.$slots, "discount-post", {}, () => [
|
|
12783
|
+
unref(discountLabel) ? (openBlock(), createBlock("small", { key: 0 }, toDisplayString(` ${unref(discountLabel)}`), 1)) : createCommentVNode("", true)
|
|
12784
|
+
])
|
|
12785
|
+
], 8, ["data-sf-prices-discount"])) : createCommentVNode("", true)
|
|
12786
|
+
];
|
|
12787
|
+
}
|
|
12788
|
+
}),
|
|
12789
|
+
_: 3
|
|
12790
|
+
}, _parent));
|
|
12791
|
+
}, _push, _parent);
|
|
12792
|
+
} else {
|
|
12793
|
+
_push(`<!---->`);
|
|
12794
|
+
}
|
|
12795
|
+
_push(`</div>`);
|
|
12898
12796
|
};
|
|
12899
12797
|
}
|
|
12900
12798
|
});
|
|
@@ -13236,10 +13134,10 @@ const _page5 = /*#__PURE__*/Object.freeze(/*#__PURE__*/Object.defineProperty({
|
|
|
13236
13134
|
url: $$url
|
|
13237
13135
|
}, Symbol.toStringTag, { value: 'Module' }));
|
|
13238
13136
|
|
|
13239
|
-
const pageMap = new Map([[
|
|
13137
|
+
const pageMap = new Map([["../../node_modules/.pnpm/@astrojs+image@0.12.1_sharp@0.31.3/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/app/account.astro", _page4],["src/pages/[...slug].astro", _page5],]);
|
|
13240
13138
|
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 }),];
|
|
13241
13139
|
|
|
13242
|
-
const _manifest = Object.assign(deserializeManifest({"adapterName":"@astrojs/node","routes":[{"file":"","links":[],"scripts":[{"type":"external","value":"page.5a6f3db5.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.7.3 - 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.7.3\":\"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.12.1/node_modules/@astrojs/image/dist/endpoint.js","pathname":"/_image","_meta":{"trailingSlash":"ignore"}}},{"file":"","links":["assets/_...slug_.15bda576.css","assets/index.e6a09532.css"],"scripts":[{"type":"external","value":"hoisted.f6ee2883.js"},{"type":"external","value":"page.5a6f3db5.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.7.3 - 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.7.3\":\"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/_...slug_.15bda576.css"],"scripts":[{"type":"external","value":"hoisted.f6ee2883.js"},{"type":"external","value":"page.5a6f3db5.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.7.3 - 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.7.3\":\"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.5a6f3db5.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.7.3 - 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.7.3\":\"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":[],"scripts":[{"type":"external","value":"page.5a6f3db5.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.7.3 - 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.7.3\":\"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/account","type":"page","pattern":"^\\/app\\/account\\/?$","segments":[[{"content":"app","dynamic":false,"spread":false}],[{"content":"account","dynamic":false,"spread":false}]],"params":[],"component":"src/pages/app/account.astro","pathname":"/app/account","_meta":{"trailingSlash":"ignore"}}},{"file":"","links":["assets/_...slug_.15bda576.css"],"scripts":[{"type":"external","value":"hoisted.f6ee2883.js"},{"type":"external","value":"page.5a6f3db5.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.7.3 - 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.7.3\":\"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://ecom2-002.web.app/","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","/home/leo/code/ecomplus/cloud-commerce/packages/storefront/node_modules/@astrojs/image/dist/vendor/squoosh/image-pool.js":"chunks/image-pool.abfa6f7b.mjs","@@sf/components/Prices.vue":"Prices.6c44a513.js","@@sf/components/ProductCard.vue":"ProductCard.69bba7fc.js","@astrojs/vue/client.js":"client.2a3e5a58.js","/astro/hoisted.js?q=0":"hoisted.f6ee2883.js","astro:scripts/page.js":"page.5a6f3db5.js","@@components/header/HeaderButtons.vue":"HeaderButtons.300c19e5.js","/home/leo/code/ecomplus/cloud-commerce/packages/storefront/src/lib/components/LoginForm.vue":"chunks/LoginForm.7e7d6137.js","/home/leo/code/ecomplus/cloud-commerce/node_modules/workbox-window/build/workbox-window.prod.es5.mjs":"chunks/workbox-window.prod.es5.10f2e5ac.js","astro:scripts/before-hydration.js":""},"assets":["/assets/index.e6a09532.css","/assets/server.4d9646d8.css","/assets/_...slug_.15bda576.css","/manifest.webmanifest","/registerSW.js","/HeaderButtons.300c19e5.js","/Prices.6c44a513.js","/ProductCard.69bba7fc.js","/client.2a3e5a58.js","/hoisted.f6ee2883.js","/page.5a6f3db5.js","/robots.txt","/sw.js","/workbox-abdc68aa.js","/admin/config.json","/assets/cms-preview.css","/assets/cms.css","/assets/cvv.png","/assets/img-placeholder.png","/assets/payments.png","/assets/ssl-safe.png","/chunks/HeaderButtons.1abd5bf4.js","/chunks/LoginForm.7e7d6137.js","/chunks/Prices.vue_vue_type_script_setup_true_lang.e4525076.js","/chunks/_plugin-vue_export-helper.fc452b02.js","/chunks/ecom-utils.b0a26608.js","/chunks/preload-helper.1de719f8.js","/chunks/price.ecf7fed4.js","/chunks/runtime-core.esm-bundler.b4556b35.js","/chunks/session-utm.2de8b604.js","/chunks/workbox-window.prod.es5.10f2e5ac.js","/img/icon.png","/img/large-icon.png","/img/uploads/banner1.png","/img/uploads/banner2.png","/img/uploads/banner2.webp","/img/uploads/favicon.png","/img/uploads/headless.png","/img/uploads/headphone.png","/img/uploads/headphone.webp","/img/uploads/icon.png","/img/uploads/large-icon.png","/img/uploads/logo.png","/img/uploads/logo.webp","/img/uploads/og-image.png","/img/uploads/passion.png","/img/uploads/passion.webp","/img/uploads/pwa-reliable.png","/img/uploads/rect8589.png","/img/uploads/rect859.png","/img/uploads/rect89.png","/img/uploads/rect89.webp","/img/uploads/ssl-safe.png","/assets/icons/bootstrap-icons/font/storefront-icons.woff2","/assets/icons/feather-icons/font/storefront-icons.woff2","/assets/icons/font-awesome/font/storefront-icons.woff2","/assets/icons/line-awesome/font/storefront-icons.woff2","/assets/icons/tabler-icons/font/storefront-icons.woff2","/page.5a6f3db5.js","/~partytown/partytown-atomics.js","/~partytown/partytown-media.js","/~partytown/partytown-sw.js","/~partytown/partytown.js"]}), {
|
|
13140
|
+
const _manifest = Object.assign(deserializeManifest({"adapterName":"@astrojs/node","routes":[{"file":"","links":[],"scripts":[{"type":"external","value":"page.5a6f3db5.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.7.3 - 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.7.3\":\"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.12.1_sharp@0.31.3/node_modules/@astrojs/image/dist/endpoint.js","pathname":"/_image","_meta":{"trailingSlash":"ignore"}}},{"file":"","links":["assets/_...slug_.81b9a00c.css","assets/index.e6a09532.css"],"scripts":[{"type":"external","value":"hoisted.f6ee2883.js"},{"type":"external","value":"page.5a6f3db5.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.7.3 - 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.7.3\":\"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/_...slug_.81b9a00c.css"],"scripts":[{"type":"external","value":"hoisted.f6ee2883.js"},{"type":"external","value":"page.5a6f3db5.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.7.3 - 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.7.3\":\"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.5a6f3db5.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.7.3 - 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.7.3\":\"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":[],"scripts":[{"type":"external","value":"page.5a6f3db5.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.7.3 - 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.7.3\":\"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/account","type":"page","pattern":"^\\/app\\/account\\/?$","segments":[[{"content":"app","dynamic":false,"spread":false}],[{"content":"account","dynamic":false,"spread":false}]],"params":[],"component":"src/pages/app/account.astro","pathname":"/app/account","_meta":{"trailingSlash":"ignore"}}},{"file":"","links":["assets/_...slug_.81b9a00c.css"],"scripts":[{"type":"external","value":"hoisted.f6ee2883.js"},{"type":"external","value":"page.5a6f3db5.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.7.3 - 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.7.3\":\"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://ecom2-002.web.app/","base":"/","markdown":{"drafts":false,"syntaxHighlight":"shiki","shikiConfig":{"langs":[],"theme":"github-dark","wrap":false},"remarkPlugins":[],"rehypePlugins":[],"remarkRehype":{},"extendDefaultPlugins":false,"isAstroFlavoredMd":false,"isExperimentalContentCollections":false,"contentDir":"file:///home/leo/code/ecomplus/cloud-commerce/packages/storefront/src/content/"},"pageMap":null,"renderers":[],"entryModules":{"\u0000@astrojs-ssr-virtual-entry":"entry.mjs","@@sf/components/Prices.vue":"Prices.2ada125b.js","@@sf/components/ProductCard.vue":"ProductCard.e5bdea60.js","@astrojs/vue/client.js":"client.4d2b3a73.js","/astro/hoisted.js?q=0":"hoisted.f6ee2883.js","astro:scripts/page.js":"page.5a6f3db5.js","@@components/header/HeaderButtons.vue":"HeaderButtons.6f668467.js","/home/leo/code/ecomplus/cloud-commerce/packages/storefront/src/lib/components/LoginForm.vue":"chunks/LoginForm.1ba3ad0d.js","/home/leo/code/ecomplus/cloud-commerce/node_modules/workbox-window/build/workbox-window.prod.es5.mjs":"chunks/workbox-window.prod.es5.10f2e5ac.js","astro:scripts/before-hydration.js":""},"assets":["/assets/index.e6a09532.css","/assets/server.4d9646d8.css","/assets/_...slug_.81b9a00c.css","/manifest.webmanifest","/registerSW.js","/HeaderButtons.6f668467.js","/Prices.2ada125b.js","/ProductCard.e5bdea60.js","/client.4d2b3a73.js","/hoisted.f6ee2883.js","/page.5a6f3db5.js","/robots.txt","/sw.js","/workbox-abdc68aa.js","/admin/config.json","/assets/cms-preview.css","/assets/cms.css","/assets/cvv.png","/assets/img-placeholder.png","/assets/payments.png","/assets/ssl-safe.png","/chunks/HeaderButtons.cfa275db.js","/chunks/LoginForm.1ba3ad0d.js","/chunks/Prices.vue_vue_type_script_setup_true_lang.9a6ab0d6.js","/chunks/_plugin-vue_export-helper.0d33cd48.js","/chunks/ecom-utils.b0a26608.js","/chunks/preload-helper.1de719f8.js","/chunks/price.ecf7fed4.js","/chunks/runtime-core.esm-bundler.45ba83fa.js","/chunks/session-utm.2de8b604.js","/chunks/workbox-window.prod.es5.10f2e5ac.js","/img/icon.png","/img/large-icon.png","/img/uploads/banner1.png","/img/uploads/banner2.png","/img/uploads/banner2.webp","/img/uploads/favicon.png","/img/uploads/headless.png","/img/uploads/headphone.png","/img/uploads/headphone.webp","/img/uploads/icon.png","/img/uploads/large-icon.png","/img/uploads/logo.png","/img/uploads/logo.webp","/img/uploads/og-image.png","/img/uploads/passion.png","/img/uploads/passion.webp","/img/uploads/pwa-reliable.png","/img/uploads/rect8589.png","/img/uploads/rect859.png","/img/uploads/rect89.png","/img/uploads/rect89.webp","/img/uploads/ssl-safe.png","/assets/icons/bootstrap-icons/font/storefront-icons.woff2","/assets/icons/feather-icons/font/storefront-icons.woff2","/assets/icons/font-awesome/font/storefront-icons.woff2","/assets/icons/line-awesome/font/storefront-icons.woff2","/assets/icons/tabler-icons/font/storefront-icons.woff2","/page.5a6f3db5.js","/~partytown/partytown-atomics.js","/~partytown/partytown-media.js","/~partytown/partytown-sw.js","/~partytown/partytown.js"]}), {
|
|
13243
13141
|
pageMap: pageMap,
|
|
13244
13142
|
renderers: renderers
|
|
13245
13143
|
});
|