@depict-ai/utilishared 2.1.2 → 2.1.4
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/ES10/index.cjs +18 -17
- package/ES10/index.d.ts +3 -6
- package/ES10/index.js +18 -17
- package/latest/index.cjs +18 -18
- package/latest/index.d.ts +3 -6
- package/latest/index.js +18 -18
- package/package.json +2 -2
- package/server/ES10/index.cjs +18 -17
- package/server/ES10/index.d.ts +3 -6
- package/server/ES10/index.js +18 -17
- package/server/latest/index.cjs +18 -18
- package/server/latest/index.d.ts +3 -6
- package/server/latest/index.js +18 -18
package/server/ES10/index.cjs
CHANGED
|
@@ -275,7 +275,7 @@ $parcel$export(module.exports, "version", () => $ce0ab19b284b64fa$export$83d89fb
|
|
|
275
275
|
$parcel$export(module.exports, "add_to_version_info", () => $045fb30107c9eecc$export$2cefb7e61fcbae00);
|
|
276
276
|
$parcel$export(module.exports, "sync_el_content_with_accessor", () => $84d13ab567309a50$export$c3f56a35e076f139);
|
|
277
277
|
$parcel$export(module.exports, "use_href_accessor", () => $59b7011b96010a8e$export$e35115e6d0715f77);
|
|
278
|
-
const $ce0ab19b284b64fa$export$83d89fbfd8236492 = "2.1.
|
|
278
|
+
const $ce0ab19b284b64fa$export$83d89fbfd8236492 = "2.1.4";
|
|
279
279
|
const $9e9538f4aff6f83c$export$55fe61489d2c7417 = /*@__PURE__*/((_globalThis$document, _globalThis$document$, _globalThis$document$2, _globalThis$localStor, _globalThis$localStor2) => process.env.STRIP_DEBUG === "true" ? false : process.env.DEBUG === "true" || process.env.NODE_ENV === "development" || process.env.BUILD_TARGET !== "node" && ((globalThis === null || globalThis === void 0 ? void 0 : (_globalThis$document = globalThis.document) === null || _globalThis$document === void 0 ? void 0 : (_globalThis$document$ = _globalThis$document.currentScript) === null || _globalThis$document$ === void 0 ? void 0 : (_globalThis$document$2 = _globalThis$document$.dataset) === null || _globalThis$document$2 === void 0 ? void 0 : _globalThis$document$2.debug) === "true" || (globalThis === null || globalThis === void 0 ? void 0 : (_globalThis$localStor = globalThis.localStorage) === null || _globalThis$localStor === void 0 ? void 0 : (_globalThis$localStor2 = _globalThis$localStor.getItem) === null || _globalThis$localStor2 === void 0 ? void 0 : _globalThis$localStor2.call(_globalThis$localStor, "debug")) === "true"))();
|
|
280
280
|
const $7f95f77417d06249$var$browser_prefix_styling = "color: #fff;";
|
|
281
281
|
let $7f95f77417d06249$var$browser_prefix = "[Depict]";
|
|
@@ -3452,6 +3452,7 @@ function $a1dd43178e1da976$export$39d526a1194b6499(anything, depth) {
|
|
|
3452
3452
|
const $1a15d4d13e0d0cf9$export$5c069c93d2b7493f = delay => new Promise(resolve => setTimeout(resolve, delay));
|
|
3453
3453
|
async function $8f0b9bb45dd059c3$export$bcd70d5ed1cf6313(url, options) {
|
|
3454
3454
|
let max_retries = arguments.length > 2 && arguments[2] !== undefined ? arguments[2] : 10;
|
|
3455
|
+
let useFetch = arguments.length > 3 && arguments[3] !== undefined ? arguments[3] : fetch;
|
|
3455
3456
|
const ONE_MINUTE = 60000;
|
|
3456
3457
|
const max_backoff_ms = ONE_MINUTE;
|
|
3457
3458
|
const {
|
|
@@ -3466,7 +3467,7 @@ async function $8f0b9bb45dd059c3$export$bcd70d5ed1cf6313(url, options) {
|
|
|
3466
3467
|
let has_succeeded = false;
|
|
3467
3468
|
let result = false;
|
|
3468
3469
|
while (max_retries && !has_succeeded) try {
|
|
3469
|
-
const response = await
|
|
3470
|
+
const response = await useFetch(url, options);
|
|
3470
3471
|
const {
|
|
3471
3472
|
status: status,
|
|
3472
3473
|
ok: ok
|
|
@@ -5400,8 +5401,8 @@ $ebe64dbcfb106f16$export$2e2bcd8739ae039 = async options => {
|
|
|
5400
5401
|
};
|
|
5401
5402
|
|
|
5402
5403
|
// @ts-ignore
|
|
5403
|
-
var $
|
|
5404
|
-
$
|
|
5404
|
+
var $22c667835a3196a9$exports = {};
|
|
5405
|
+
$22c667835a3196a9$exports = ".depict .rec_outer.noautospacing {\n width: 6cm;\n max-width: 46vw;\n margin-left: 1%;\n margin-right: 1%;\n}\n\n.depict .rec_outer.noautospacing:nth-child(1) {\n margin-left: 0;\n}\n\n.depict .rec_outer.noautospacing:nth-last-child(1) {\n margin-right: 0;\n}\n\n.depict-slider .slider_snap {\n scroll-snap-type: x mandatory;\n}\n\n.depict-slider {\n width: 100%;\n position: relative;\n}\n\n.depict-slider .sliding::-webkit-scrollbar {\n display: none;\n}\n\n.depict-slider .sliding {\n scroll-behavior: smooth;\n -ms-overflow-style: none;\n scrollbar-width: none;\n flex-flow: row;\n margin-top: -1%;\n margin-bottom: -2%;\n padding-top: 1%;\n padding-bottom: 2%;\n display: flex;\n overflow-x: scroll;\n}\n\n.depict-slider .sliding > * {\n box-sizing: border-box;\n flex: none;\n}\n\n.depict-slider button.right {\n right: 0;\n}\n\n.depict-slider button.left, .depict-slider button.right {\n z-index: 2;\n touch-action: manipulation;\n width: 1cm;\n height: 1cm;\n cursor: pointer;\n background: #fff;\n border: none;\n padding: .5%;\n transition-duration: .2s;\n position: absolute;\n top: 50%;\n transform: translateY(-50%);\n}\n\n.depict-slider button.left.hidden, .depict-slider button.right.hidden {\n opacity: 0;\n cursor: default;\n}\n\n.depict-slider button.left {\n left: 0;\n transform: translateY(-50%)rotate(180deg);\n}\n\n.depict-slider button.left img, .depict-slider button.right img {\n width: 100%;\n height: 100%;\n}\n\n.depict-slider .rec_outer {\n margin-top: 0 !important;\n}\n\n";
|
|
5405
5406
|
const $3f49f9b73bfc2a38$var$default_image_src = "data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0iMS4wIiBlbmNvZGluZz0idXRmLTgiPz4NCjwhLS0gR2VuZXJhdG9yOiBBZG9iZSBJbGx1c3RyYXRvciAyMy4wLjYsIFNWRyBFeHBvcnQgUGx1Zy1JbiAuIFNWRyBWZXJzaW9uOiA2LjAwIEJ1aWxkIDApICAtLT4NCjxzdmcgdmVyc2lvbj0iMS4xIiBpZD0iTGF5ZXJfMSIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIiB4bWxuczp4bGluaz0iaHR0cDovL3d3dy53My5vcmcvMTk5OS94bGluayIgeD0iMHB4IiB5PSIwcHgiDQoJIHZpZXdCb3g9IjAgMCAxNiAxNiIgc3R5bGU9ImVuYWJsZS1iYWNrZ3JvdW5kOm5ldyAwIDAgMTYgMTY7IiB4bWw6c3BhY2U9InByZXNlcnZlIj4NCjxwb2x5Z29uIHBvaW50cz0iOSwyLjYgOC4zLDMuNCAxMi40LDcuNSAxLjYsNy41IDEuNiw4LjUgMTIuNCw4LjUgOC4zLDEyLjYgOSwxMy40IDE0LjQsOCAiLz4NCjwvc3ZnPg0K";
|
|
5406
5407
|
class $3f49f9b73bfc2a38$export$4d41c6499d53639c extends (0, $817cb0cb4b98187e$export$68babfc5be0de5da) {
|
|
5407
5408
|
constructor(static_options, override_lazyfier_options) {
|
|
@@ -5433,7 +5434,7 @@ class $3f49f9b73bfc2a38$export$4d41c6499d53639c extends (0, $817cb0cb4b98187e$ex
|
|
|
5433
5434
|
function $3f49f9b73bfc2a38$export$f1b8b9fd75ddcab1(slider) {
|
|
5434
5435
|
const style_elem = document.createElement("style");
|
|
5435
5436
|
style_elem.type = "text/css";
|
|
5436
|
-
style_elem.append((0, /*@__PURE__*/$parcel$interopDefault($
|
|
5437
|
+
style_elem.append((0, /*@__PURE__*/$parcel$interopDefault($22c667835a3196a9$exports)));
|
|
5437
5438
|
slider.container.appendChild(style_elem);
|
|
5438
5439
|
}
|
|
5439
5440
|
async function $bbf8331c74194de9$export$cd12721587f4f16d(t, rendering_options, options_for_us, slider_options, override_lazyfier_options) {
|
|
@@ -6102,8 +6103,8 @@ async function $79e67f88d50f1879$export$b0a773486c1c2312(t, recommendation_rende
|
|
|
6102
6103
|
}
|
|
6103
6104
|
|
|
6104
6105
|
// @ts-ignore
|
|
6105
|
-
var $
|
|
6106
|
-
$
|
|
6106
|
+
var $a395aeaeccd7ae3d$exports = {};
|
|
6107
|
+
$a395aeaeccd7ae3d$exports = ".depict-slider {\n width: 100%;\n position: relative;\n}\n\n.depict-slider .sliding {\n scroll-behavior: smooth;\n -ms-overflow-style: none;\n scrollbar-width: none;\n flex-flow: row;\n display: flex;\n overflow-x: scroll;\n}\n\n.depict-slider .sliding::-webkit-scrollbar {\n display: none;\n}\n\n.depict-slider .sliding > * {\n box-sizing: border-box;\n flex: none;\n}\n\n";
|
|
6107
6108
|
let $87dd73b8c244f3d2$var$slider_styling_was_inserted = false;
|
|
6108
6109
|
async function $87dd73b8c244f3d2$export$82cfdc85a4d15688(t, recommendation_renderer_options, _ref) {
|
|
6109
6110
|
let {
|
|
@@ -6127,7 +6128,7 @@ async function $87dd73b8c244f3d2$export$82cfdc85a4d15688(t, recommendation_rende
|
|
|
6127
6128
|
if (!elements) return rendering_result;
|
|
6128
6129
|
if (!$87dd73b8c244f3d2$var$slider_styling_was_inserted) {
|
|
6129
6130
|
$87dd73b8c244f3d2$var$slider_styling_was_inserted = true;
|
|
6130
|
-
$e45474c7d6e21cfa$export$59ba1eb2c083f0cd((0, /*@__PURE__*/$parcel$interopDefault($
|
|
6131
|
+
$e45474c7d6e21cfa$export$59ba1eb2c083f0cd((0, /*@__PURE__*/$parcel$interopDefault($a395aeaeccd7ae3d$exports)));
|
|
6131
6132
|
}
|
|
6132
6133
|
insertion_point.replaceWith(slider.container);
|
|
6133
6134
|
slider.insert_here.append(...elements);
|
|
@@ -8220,8 +8221,8 @@ async function $468dbae10b24d59f$export$c068ad5361be7646(_ref) {
|
|
|
8220
8221
|
on_close_(exit_oos_iterator);
|
|
8221
8222
|
}));
|
|
8222
8223
|
}
|
|
8223
|
-
var $
|
|
8224
|
-
$
|
|
8224
|
+
var $46b697935d651c75$exports = {};
|
|
8225
|
+
$46b697935d651c75$exports = ".depict-placeholder {\n will-change: mask, -webkit-mask;\n mask-position-x: 125%;\n mask-position-y: center;\n background: #ddd;\n animation: 1.5s linear infinite depict-placeholder;\n display: inline-block;\n position: relative;\n overflow: hidden;\n -webkit-mask: linear-gradient(-60deg, #000 30%, #0005, #000 70%) 125% / 300% 100%;\n -webkit-mask-image: ;\n mask-image: ;\n -webkit-mask-size: ;\n mask-size: ;\n}\n\n@keyframes depict-placeholder {\n 0% {\n mask-position-x: 125%;\n -webkit-mask-position-x: 125%;\n }\n\n 10% {\n mask-position-x: 125%;\n -webkit-mask-position-x: 125%;\n }\n\n 90% {\n mask-position-x: -25%;\n -webkit-mask-position-x: -25%;\n }\n\n 100% {\n mask-position-x: -25%;\n -webkit-mask-position-x: -25%;\n }\n}\n\n";
|
|
8225
8226
|
let $ba9b4cd7e24de87e$var$inserted = false;
|
|
8226
8227
|
const $ba9b4cd7e24de87e$export$84712d0562a614b8 = _ref => {
|
|
8227
8228
|
let {
|
|
@@ -8233,7 +8234,7 @@ const $ba9b4cd7e24de87e$export$84712d0562a614b8 = _ref => {
|
|
|
8233
8234
|
} = _ref;
|
|
8234
8235
|
if (!$ba9b4cd7e24de87e$var$inserted) {
|
|
8235
8236
|
// Insert styling on first import
|
|
8236
|
-
$e45474c7d6e21cfa$export$59ba1eb2c083f0cd((0, /*@__PURE__*/$parcel$interopDefault($
|
|
8237
|
+
$e45474c7d6e21cfa$export$59ba1eb2c083f0cd((0, /*@__PURE__*/$parcel$interopDefault($46b697935d651c75$exports)));
|
|
8237
8238
|
$ba9b4cd7e24de87e$var$inserted = true;
|
|
8238
8239
|
}
|
|
8239
8240
|
return $lMD39$solidjsweb.ssrElement("div", $lMD39$solidjsweb.mergeProps({
|
|
@@ -8429,8 +8430,8 @@ const $151f8676c5d42e80$export$237455ad7e59d4e5 = function () {
|
|
|
8429
8430
|
collapse: collapse
|
|
8430
8431
|
};
|
|
8431
8432
|
};
|
|
8432
|
-
var $
|
|
8433
|
-
$
|
|
8433
|
+
var $40bc83c42fbfc3cd$exports = {};
|
|
8434
|
+
$40bc83c42fbfc3cd$exports = ".depict-img-cont {\n width: 100%;\n height: 100%;\n position: absolute;\n}\n\n.depict-img-filler {\n width: 100%;\n height: auto;\n display: inline-block;\n}\n\n.depict-img-comp {\n width: auto;\n height: auto;\n max-width: 100%;\n max-height: 100%;\n position: absolute;\n top: 50%;\n left: 50%;\n transform: translate(-50%, -50%);\n}\n\n.depict-img-mod {\n width: 100%;\n height: 100%;\n object-fit: contain;\n position: absolute;\n top: 0;\n bottom: 0;\n left: 0;\n right: 0;\n}\n\n";
|
|
8434
8435
|
var $b42b9f62e8b6cb2d$var$_tmpl$ = ["<picture", ">", "</picture>"];
|
|
8435
8436
|
const $b42b9f62e8b6cb2d$export$3d13beba9b52c947 = "https://img.depict.ai/ResizeImage" + (process.env.TENANT ? "/" + process.env.TENANT : "");
|
|
8436
8437
|
const $b42b9f62e8b6cb2d$export$a98fc8a2c818d3d8 = /*@__PURE__*/(() => typeof navigator === "undefined" ? false : /^((?!chrome|android).)*safari/i.test(navigator.userAgent))(); // https://stackoverflow.com/a/23522755
|
|
@@ -8588,7 +8589,7 @@ const $dfce76a4aeb41067$export$788756b42446dc2d = _ref => {
|
|
|
8588
8589
|
} = _ref;
|
|
8589
8590
|
if (!$dfce76a4aeb41067$var$inserted) {
|
|
8590
8591
|
// Insert styling on first import
|
|
8591
|
-
$e45474c7d6e21cfa$export$59ba1eb2c083f0cd((0, /*@__PURE__*/$parcel$interopDefault($
|
|
8592
|
+
$e45474c7d6e21cfa$export$59ba1eb2c083f0cd((0, /*@__PURE__*/$parcel$interopDefault($40bc83c42fbfc3cd$exports)));
|
|
8592
8593
|
$dfce76a4aeb41067$var$inserted = true;
|
|
8593
8594
|
}
|
|
8594
8595
|
const img = process.env.BUILD_TARGET === "modern" || process.env.BUILD_TARGET === "dev" ? $dfce76a4aeb41067$var$Image(options) : $dfce76a4aeb41067$var$CompatibleImage(options);
|
|
@@ -8663,8 +8664,8 @@ function $dfce76a4aeb41067$var$srcset_comp_from_map_or_new(rendering_options) {
|
|
|
8663
8664
|
}
|
|
8664
8665
|
return sourceset_component;
|
|
8665
8666
|
}
|
|
8666
|
-
var $
|
|
8667
|
-
$
|
|
8667
|
+
var $f90bbaa8a24d72ca$exports = {};
|
|
8668
|
+
$f90bbaa8a24d72ca$exports = ".depict .images-container {\n position: relative;\n}\n\n.depict .second-image-container {\n width: 100%;\n opacity: 0;\n position: absolute;\n top: 0;\n}\n\n.depict .hovering .main-image-container {\n opacity: 0;\n}\n\n.depict .hovering .second-image-container {\n opacity: 1;\n}\n\n";
|
|
8668
8669
|
var $8928a1027461fba4$var$_tmpl$ = ["<div", ' class="images-container"><!--$-->', '<!--/--><div class="main-image-container">', "</div></div>"],
|
|
8669
8670
|
$8928a1027461fba4$var$_tmpl$2 = ["<div", ' class="second-image-container">', "</div>"];
|
|
8670
8671
|
// Saving bytez
|
|
@@ -8799,7 +8800,7 @@ const $8928a1027461fba4$export$2369f6fc1c911576 = _ref => {
|
|
|
8799
8800
|
...options
|
|
8800
8801
|
} = _ref;
|
|
8801
8802
|
if (!$8928a1027461fba4$var$styling_inserted) {
|
|
8802
|
-
$e45474c7d6e21cfa$export$59ba1eb2c083f0cd((0, /*@__PURE__*/$parcel$interopDefault($
|
|
8803
|
+
$e45474c7d6e21cfa$export$59ba1eb2c083f0cd((0, /*@__PURE__*/$parcel$interopDefault($f90bbaa8a24d72ca$exports)));
|
|
8803
8804
|
$8928a1027461fba4$var$styling_inserted = true;
|
|
8804
8805
|
}
|
|
8805
8806
|
const main_image = $dfce76a4aeb41067$export$788756b42446dc2d({
|
package/server/ES10/index.d.ts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { JSX, Accessor } from "solid-js";
|
|
2
|
-
export const version = "2.1.
|
|
2
|
+
export const version = "2.1.4";
|
|
3
3
|
export const is_debug: boolean;
|
|
4
4
|
/**
|
|
5
5
|
* Sets the prefix of dlog, dwarn, and derror messages in the browser console. Defaults to `[Depict]`.
|
|
@@ -969,9 +969,10 @@ export const wait: (delay: number) => Promise<unknown>;
|
|
|
969
969
|
* @param url Url to perform fetch towards
|
|
970
970
|
* @param options Fetch options
|
|
971
971
|
* @param max_retries Max number of retries, defaults to 10
|
|
972
|
+
* @param useFetch The fetch function to use, defaults to the global fetch
|
|
972
973
|
* @returns The fetch response
|
|
973
974
|
*/
|
|
974
|
-
export function fetch_retry(url: RequestInfo | URL, options?: RequestInit, max_retries?: number): Promise<false | Response>;
|
|
975
|
+
export function fetch_retry(url: RequestInfo | URL, options?: RequestInit, max_retries?: number, useFetch?: typeof fetch): Promise<false | Response>;
|
|
975
976
|
type PossibleEndpoint = "general" | "product" | "products" | "category";
|
|
976
977
|
type ExclusiveId = {
|
|
977
978
|
category_id: string;
|
|
@@ -1106,10 +1107,6 @@ interface ModernDisplay {
|
|
|
1106
1107
|
* All variant displays (eg. different colors, sizes) of the product.
|
|
1107
1108
|
*/
|
|
1108
1109
|
variant_displays: any[];
|
|
1109
|
-
/** SKUs of the different variants */
|
|
1110
|
-
variant_skus: string[];
|
|
1111
|
-
/** Product of the different variants */
|
|
1112
|
-
variant_product_ids: string[];
|
|
1113
1110
|
/** Unique recommendation result ID used by Depict */
|
|
1114
1111
|
recommendation_id?: string;
|
|
1115
1112
|
/** Unique search result ID used by Depict */
|
package/server/ES10/index.js
CHANGED
|
@@ -16,7 +16,7 @@ function $parcel$export(e, n, v, s) {
|
|
|
16
16
|
function $parcel$interopDefault(a) {
|
|
17
17
|
return a && a.__esModule ? a.default : a;
|
|
18
18
|
}
|
|
19
|
-
const $b9e07ce3c67aa344$export$83d89fbfd8236492 = "2.1.
|
|
19
|
+
const $b9e07ce3c67aa344$export$83d89fbfd8236492 = "2.1.4";
|
|
20
20
|
const $a5a2bdb4ae93374b$export$55fe61489d2c7417 = /*@__PURE__*/((_globalThis$document, _globalThis$document$, _globalThis$document$2, _globalThis$localStor, _globalThis$localStor2) => process.env.STRIP_DEBUG === "true" ? false : process.env.DEBUG === "true" || process.env.NODE_ENV === "development" || process.env.BUILD_TARGET !== "node" && ((globalThis === null || globalThis === void 0 ? void 0 : (_globalThis$document = globalThis.document) === null || _globalThis$document === void 0 ? void 0 : (_globalThis$document$ = _globalThis$document.currentScript) === null || _globalThis$document$ === void 0 ? void 0 : (_globalThis$document$2 = _globalThis$document$.dataset) === null || _globalThis$document$2 === void 0 ? void 0 : _globalThis$document$2.debug) === "true" || (globalThis === null || globalThis === void 0 ? void 0 : (_globalThis$localStor = globalThis.localStorage) === null || _globalThis$localStor === void 0 ? void 0 : (_globalThis$localStor2 = _globalThis$localStor.getItem) === null || _globalThis$localStor2 === void 0 ? void 0 : _globalThis$localStor2.call(_globalThis$localStor, "debug")) === "true"))();
|
|
21
21
|
const $241f2f02cc612a49$var$browser_prefix_styling = "color: #fff;";
|
|
22
22
|
let $241f2f02cc612a49$var$browser_prefix = "[Depict]";
|
|
@@ -3193,6 +3193,7 @@ function $d9aec442b12a1134$export$39d526a1194b6499(anything, depth) {
|
|
|
3193
3193
|
const $57642e3bf93ac1e7$export$5c069c93d2b7493f = delay => new Promise(resolve => setTimeout(resolve, delay));
|
|
3194
3194
|
async function $c95f8181bad32e8d$export$bcd70d5ed1cf6313(url, options) {
|
|
3195
3195
|
let max_retries = arguments.length > 2 && arguments[2] !== undefined ? arguments[2] : 10;
|
|
3196
|
+
let useFetch = arguments.length > 3 && arguments[3] !== undefined ? arguments[3] : fetch;
|
|
3196
3197
|
const ONE_MINUTE = 60000;
|
|
3197
3198
|
const max_backoff_ms = ONE_MINUTE;
|
|
3198
3199
|
const {
|
|
@@ -3207,7 +3208,7 @@ async function $c95f8181bad32e8d$export$bcd70d5ed1cf6313(url, options) {
|
|
|
3207
3208
|
let has_succeeded = false;
|
|
3208
3209
|
let result = false;
|
|
3209
3210
|
while (max_retries && !has_succeeded) try {
|
|
3210
|
-
const response = await
|
|
3211
|
+
const response = await useFetch(url, options);
|
|
3211
3212
|
const {
|
|
3212
3213
|
status: status,
|
|
3213
3214
|
ok: ok
|
|
@@ -5141,8 +5142,8 @@ $48b0f027b215b8ad$export$2e2bcd8739ae039 = async options => {
|
|
|
5141
5142
|
};
|
|
5142
5143
|
|
|
5143
5144
|
// @ts-ignore
|
|
5144
|
-
var $
|
|
5145
|
-
$
|
|
5145
|
+
var $bb2bb8f189a68651$exports = {};
|
|
5146
|
+
$bb2bb8f189a68651$exports = ".depict .rec_outer.noautospacing {\n width: 6cm;\n max-width: 46vw;\n margin-left: 1%;\n margin-right: 1%;\n}\n\n.depict .rec_outer.noautospacing:nth-child(1) {\n margin-left: 0;\n}\n\n.depict .rec_outer.noautospacing:nth-last-child(1) {\n margin-right: 0;\n}\n\n.depict-slider .slider_snap {\n scroll-snap-type: x mandatory;\n}\n\n.depict-slider {\n width: 100%;\n position: relative;\n}\n\n.depict-slider .sliding::-webkit-scrollbar {\n display: none;\n}\n\n.depict-slider .sliding {\n scroll-behavior: smooth;\n -ms-overflow-style: none;\n scrollbar-width: none;\n flex-flow: row;\n margin-top: -1%;\n margin-bottom: -2%;\n padding-top: 1%;\n padding-bottom: 2%;\n display: flex;\n overflow-x: scroll;\n}\n\n.depict-slider .sliding > * {\n box-sizing: border-box;\n flex: none;\n}\n\n.depict-slider button.right {\n right: 0;\n}\n\n.depict-slider button.left, .depict-slider button.right {\n z-index: 2;\n touch-action: manipulation;\n width: 1cm;\n height: 1cm;\n cursor: pointer;\n background: #fff;\n border: none;\n padding: .5%;\n transition-duration: .2s;\n position: absolute;\n top: 50%;\n transform: translateY(-50%);\n}\n\n.depict-slider button.left.hidden, .depict-slider button.right.hidden {\n opacity: 0;\n cursor: default;\n}\n\n.depict-slider button.left {\n left: 0;\n transform: translateY(-50%)rotate(180deg);\n}\n\n.depict-slider button.left img, .depict-slider button.right img {\n width: 100%;\n height: 100%;\n}\n\n.depict-slider .rec_outer {\n margin-top: 0 !important;\n}\n\n";
|
|
5146
5147
|
const $0342f59060b8a196$var$default_image_src = "data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0iMS4wIiBlbmNvZGluZz0idXRmLTgiPz4NCjwhLS0gR2VuZXJhdG9yOiBBZG9iZSBJbGx1c3RyYXRvciAyMy4wLjYsIFNWRyBFeHBvcnQgUGx1Zy1JbiAuIFNWRyBWZXJzaW9uOiA2LjAwIEJ1aWxkIDApICAtLT4NCjxzdmcgdmVyc2lvbj0iMS4xIiBpZD0iTGF5ZXJfMSIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIiB4bWxuczp4bGluaz0iaHR0cDovL3d3dy53My5vcmcvMTk5OS94bGluayIgeD0iMHB4IiB5PSIwcHgiDQoJIHZpZXdCb3g9IjAgMCAxNiAxNiIgc3R5bGU9ImVuYWJsZS1iYWNrZ3JvdW5kOm5ldyAwIDAgMTYgMTY7IiB4bWw6c3BhY2U9InByZXNlcnZlIj4NCjxwb2x5Z29uIHBvaW50cz0iOSwyLjYgOC4zLDMuNCAxMi40LDcuNSAxLjYsNy41IDEuNiw4LjUgMTIuNCw4LjUgOC4zLDEyLjYgOSwxMy40IDE0LjQsOCAiLz4NCjwvc3ZnPg0K";
|
|
5147
5148
|
class $0342f59060b8a196$export$4d41c6499d53639c extends (0, $f340c415f2e1d03a$export$68babfc5be0de5da) {
|
|
5148
5149
|
constructor(static_options, override_lazyfier_options) {
|
|
@@ -5174,7 +5175,7 @@ class $0342f59060b8a196$export$4d41c6499d53639c extends (0, $f340c415f2e1d03a$ex
|
|
|
5174
5175
|
function $0342f59060b8a196$export$f1b8b9fd75ddcab1(slider) {
|
|
5175
5176
|
const style_elem = document.createElement("style");
|
|
5176
5177
|
style_elem.type = "text/css";
|
|
5177
|
-
style_elem.append((0, /*@__PURE__*/$parcel$interopDefault($
|
|
5178
|
+
style_elem.append((0, /*@__PURE__*/$parcel$interopDefault($bb2bb8f189a68651$exports)));
|
|
5178
5179
|
slider.container.appendChild(style_elem);
|
|
5179
5180
|
}
|
|
5180
5181
|
async function $b7b39b38d6e695e9$export$cd12721587f4f16d(t, rendering_options, options_for_us, slider_options, override_lazyfier_options) {
|
|
@@ -5843,8 +5844,8 @@ async function $297a08bac2d81fab$export$b0a773486c1c2312(t, recommendation_rende
|
|
|
5843
5844
|
}
|
|
5844
5845
|
|
|
5845
5846
|
// @ts-ignore
|
|
5846
|
-
var $
|
|
5847
|
-
$
|
|
5847
|
+
var $9aec7f71245b3f70$exports = {};
|
|
5848
|
+
$9aec7f71245b3f70$exports = ".depict-slider {\n width: 100%;\n position: relative;\n}\n\n.depict-slider .sliding {\n scroll-behavior: smooth;\n -ms-overflow-style: none;\n scrollbar-width: none;\n flex-flow: row;\n display: flex;\n overflow-x: scroll;\n}\n\n.depict-slider .sliding::-webkit-scrollbar {\n display: none;\n}\n\n.depict-slider .sliding > * {\n box-sizing: border-box;\n flex: none;\n}\n\n";
|
|
5848
5849
|
let $d89e3aaeb9270095$var$slider_styling_was_inserted = false;
|
|
5849
5850
|
async function $d89e3aaeb9270095$export$82cfdc85a4d15688(t, recommendation_renderer_options, _ref) {
|
|
5850
5851
|
let {
|
|
@@ -5868,7 +5869,7 @@ async function $d89e3aaeb9270095$export$82cfdc85a4d15688(t, recommendation_rende
|
|
|
5868
5869
|
if (!elements) return rendering_result;
|
|
5869
5870
|
if (!$d89e3aaeb9270095$var$slider_styling_was_inserted) {
|
|
5870
5871
|
$d89e3aaeb9270095$var$slider_styling_was_inserted = true;
|
|
5871
|
-
$1013f2e568f87406$export$59ba1eb2c083f0cd((0, /*@__PURE__*/$parcel$interopDefault($
|
|
5872
|
+
$1013f2e568f87406$export$59ba1eb2c083f0cd((0, /*@__PURE__*/$parcel$interopDefault($9aec7f71245b3f70$exports)));
|
|
5872
5873
|
}
|
|
5873
5874
|
insertion_point.replaceWith(slider.container);
|
|
5874
5875
|
slider.insert_here.append(...elements);
|
|
@@ -7961,8 +7962,8 @@ async function $24f3fd73864991c0$export$c068ad5361be7646(_ref) {
|
|
|
7961
7962
|
on_close_(exit_oos_iterator);
|
|
7962
7963
|
}));
|
|
7963
7964
|
}
|
|
7964
|
-
var $
|
|
7965
|
-
$
|
|
7965
|
+
var $5304b1a97f5cc360$exports = {};
|
|
7966
|
+
$5304b1a97f5cc360$exports = ".depict-placeholder {\n will-change: mask, -webkit-mask;\n mask-position-x: 125%;\n mask-position-y: center;\n background: #ddd;\n animation: 1.5s linear infinite depict-placeholder;\n display: inline-block;\n position: relative;\n overflow: hidden;\n -webkit-mask: linear-gradient(-60deg, #000 30%, #0005, #000 70%) 125% / 300% 100%;\n -webkit-mask-image: ;\n mask-image: ;\n -webkit-mask-size: ;\n mask-size: ;\n}\n\n@keyframes depict-placeholder {\n 0% {\n mask-position-x: 125%;\n -webkit-mask-position-x: 125%;\n }\n\n 10% {\n mask-position-x: 125%;\n -webkit-mask-position-x: 125%;\n }\n\n 90% {\n mask-position-x: -25%;\n -webkit-mask-position-x: -25%;\n }\n\n 100% {\n mask-position-x: -25%;\n -webkit-mask-position-x: -25%;\n }\n}\n\n";
|
|
7966
7967
|
let $adc0bb548fdb574f$var$inserted = false;
|
|
7967
7968
|
const $adc0bb548fdb574f$export$84712d0562a614b8 = _ref => {
|
|
7968
7969
|
let {
|
|
@@ -7974,7 +7975,7 @@ const $adc0bb548fdb574f$export$84712d0562a614b8 = _ref => {
|
|
|
7974
7975
|
} = _ref;
|
|
7975
7976
|
if (!$adc0bb548fdb574f$var$inserted) {
|
|
7976
7977
|
// Insert styling on first import
|
|
7977
|
-
$1013f2e568f87406$export$59ba1eb2c083f0cd((0, /*@__PURE__*/$parcel$interopDefault($
|
|
7978
|
+
$1013f2e568f87406$export$59ba1eb2c083f0cd((0, /*@__PURE__*/$parcel$interopDefault($5304b1a97f5cc360$exports)));
|
|
7978
7979
|
$adc0bb548fdb574f$var$inserted = true;
|
|
7979
7980
|
}
|
|
7980
7981
|
return $hrhbO$ssrElement("div", $hrhbO$mergeProps({
|
|
@@ -8170,8 +8171,8 @@ const $0f55c2bc0a7b363b$export$237455ad7e59d4e5 = function () {
|
|
|
8170
8171
|
collapse: collapse
|
|
8171
8172
|
};
|
|
8172
8173
|
};
|
|
8173
|
-
var $
|
|
8174
|
-
$
|
|
8174
|
+
var $3acba1df0fdbf811$exports = {};
|
|
8175
|
+
$3acba1df0fdbf811$exports = ".depict-img-cont {\n width: 100%;\n height: 100%;\n position: absolute;\n}\n\n.depict-img-filler {\n width: 100%;\n height: auto;\n display: inline-block;\n}\n\n.depict-img-comp {\n width: auto;\n height: auto;\n max-width: 100%;\n max-height: 100%;\n position: absolute;\n top: 50%;\n left: 50%;\n transform: translate(-50%, -50%);\n}\n\n.depict-img-mod {\n width: 100%;\n height: 100%;\n object-fit: contain;\n position: absolute;\n top: 0;\n bottom: 0;\n left: 0;\n right: 0;\n}\n\n";
|
|
8175
8176
|
var $9ef5ce4804a3b61b$var$_tmpl$ = ["<picture", ">", "</picture>"];
|
|
8176
8177
|
const $9ef5ce4804a3b61b$export$3d13beba9b52c947 = "https://img.depict.ai/ResizeImage" + (process.env.TENANT ? "/" + process.env.TENANT : "");
|
|
8177
8178
|
const $9ef5ce4804a3b61b$export$a98fc8a2c818d3d8 = /*@__PURE__*/(() => typeof navigator === "undefined" ? false : /^((?!chrome|android).)*safari/i.test(navigator.userAgent))(); // https://stackoverflow.com/a/23522755
|
|
@@ -8329,7 +8330,7 @@ const $c987460cedc0d7ec$export$788756b42446dc2d = _ref => {
|
|
|
8329
8330
|
} = _ref;
|
|
8330
8331
|
if (!$c987460cedc0d7ec$var$inserted) {
|
|
8331
8332
|
// Insert styling on first import
|
|
8332
|
-
$1013f2e568f87406$export$59ba1eb2c083f0cd((0, /*@__PURE__*/$parcel$interopDefault($
|
|
8333
|
+
$1013f2e568f87406$export$59ba1eb2c083f0cd((0, /*@__PURE__*/$parcel$interopDefault($3acba1df0fdbf811$exports)));
|
|
8333
8334
|
$c987460cedc0d7ec$var$inserted = true;
|
|
8334
8335
|
}
|
|
8335
8336
|
const img = process.env.BUILD_TARGET === "modern" || process.env.BUILD_TARGET === "dev" ? $c987460cedc0d7ec$var$Image(options) : $c987460cedc0d7ec$var$CompatibleImage(options);
|
|
@@ -8404,8 +8405,8 @@ function $c987460cedc0d7ec$var$srcset_comp_from_map_or_new(rendering_options) {
|
|
|
8404
8405
|
}
|
|
8405
8406
|
return sourceset_component;
|
|
8406
8407
|
}
|
|
8407
|
-
var $
|
|
8408
|
-
$
|
|
8408
|
+
var $2dbcf35ce5cd16e6$exports = {};
|
|
8409
|
+
$2dbcf35ce5cd16e6$exports = ".depict .images-container {\n position: relative;\n}\n\n.depict .second-image-container {\n width: 100%;\n opacity: 0;\n position: absolute;\n top: 0;\n}\n\n.depict .hovering .main-image-container {\n opacity: 0;\n}\n\n.depict .hovering .second-image-container {\n opacity: 1;\n}\n\n";
|
|
8409
8410
|
var $73f0a7e385687d5d$var$_tmpl$ = ["<div", ' class="images-container"><!--$-->', '<!--/--><div class="main-image-container">', "</div></div>"],
|
|
8410
8411
|
$73f0a7e385687d5d$var$_tmpl$2 = ["<div", ' class="second-image-container">', "</div>"];
|
|
8411
8412
|
// Saving bytez
|
|
@@ -8540,7 +8541,7 @@ const $73f0a7e385687d5d$export$2369f6fc1c911576 = _ref => {
|
|
|
8540
8541
|
...options
|
|
8541
8542
|
} = _ref;
|
|
8542
8543
|
if (!$73f0a7e385687d5d$var$styling_inserted) {
|
|
8543
|
-
$1013f2e568f87406$export$59ba1eb2c083f0cd((0, /*@__PURE__*/$parcel$interopDefault($
|
|
8544
|
+
$1013f2e568f87406$export$59ba1eb2c083f0cd((0, /*@__PURE__*/$parcel$interopDefault($2dbcf35ce5cd16e6$exports)));
|
|
8544
8545
|
$73f0a7e385687d5d$var$styling_inserted = true;
|
|
8545
8546
|
}
|
|
8546
8547
|
const main_image = $c987460cedc0d7ec$export$788756b42446dc2d({
|
package/server/latest/index.cjs
CHANGED
|
@@ -272,7 +272,7 @@ $parcel$export(module.exports, "version", () => $815f67c61b4c0a42$export$83d89fb
|
|
|
272
272
|
$parcel$export(module.exports, "add_to_version_info", () => $e4a18bf12ad092d9$export$2cefb7e61fcbae00);
|
|
273
273
|
$parcel$export(module.exports, "sync_el_content_with_accessor", () => $35303d72263038db$export$c3f56a35e076f139);
|
|
274
274
|
$parcel$export(module.exports, "use_href_accessor", () => $da35c7e27be2a442$export$e35115e6d0715f77);
|
|
275
|
-
const $815f67c61b4c0a42$export$83d89fbfd8236492 = "2.1.
|
|
275
|
+
const $815f67c61b4c0a42$export$83d89fbfd8236492 = "2.1.4";
|
|
276
276
|
const $7b5e577a60b81e60$export$55fe61489d2c7417 = /*@__PURE__*/(() => process.env.STRIP_DEBUG === "true" ? false : process.env.DEBUG === "true" || process.env.NODE_ENV === "development" || process.env.BUILD_TARGET !== "node" && (globalThis?.document?.currentScript?.dataset?.debug === "true" || globalThis?.localStorage?.getItem?.("debug") === "true"))();
|
|
277
277
|
const $e6c6e7929ea385ae$var$browser_prefix_styling = "color: #fff;";
|
|
278
278
|
let $e6c6e7929ea385ae$var$browser_prefix = "[Depict]";
|
|
@@ -3122,7 +3122,7 @@ function $45e05ec4fd7f1ee7$export$39d526a1194b6499(anything, depth) {
|
|
|
3122
3122
|
return output;
|
|
3123
3123
|
}
|
|
3124
3124
|
const $55769f63ea4d8da4$export$5c069c93d2b7493f = delay => new Promise(resolve => setTimeout(resolve, delay));
|
|
3125
|
-
async function $d2fc3fb450961938$export$bcd70d5ed1cf6313(url, options, max_retries = 10) {
|
|
3125
|
+
async function $d2fc3fb450961938$export$bcd70d5ed1cf6313(url, options, max_retries = 10, useFetch = fetch) {
|
|
3126
3126
|
const ONE_MINUTE = 60000;
|
|
3127
3127
|
const max_backoff_ms = ONE_MINUTE;
|
|
3128
3128
|
const {
|
|
@@ -3137,7 +3137,7 @@ async function $d2fc3fb450961938$export$bcd70d5ed1cf6313(url, options, max_retri
|
|
|
3137
3137
|
let has_succeeded = false;
|
|
3138
3138
|
let result = false;
|
|
3139
3139
|
while (max_retries && !has_succeeded) try {
|
|
3140
|
-
const response = await
|
|
3140
|
+
const response = await useFetch(url, options);
|
|
3141
3141
|
const {
|
|
3142
3142
|
status: status,
|
|
3143
3143
|
ok: ok
|
|
@@ -4909,8 +4909,8 @@ $52d3be7ce5146924$export$2e2bcd8739ae039 = async options => {
|
|
|
4909
4909
|
};
|
|
4910
4910
|
|
|
4911
4911
|
// @ts-ignore
|
|
4912
|
-
var $
|
|
4913
|
-
$
|
|
4912
|
+
var $1286e6ce2079bdeb$exports = {};
|
|
4913
|
+
$1286e6ce2079bdeb$exports = ".depict .rec_outer.noautospacing {\n width: 6cm;\n max-width: 46vw;\n margin-left: 1%;\n margin-right: 1%;\n}\n\n.depict .rec_outer.noautospacing:nth-child(1) {\n margin-left: 0;\n}\n\n.depict .rec_outer.noautospacing:nth-last-child(1) {\n margin-right: 0;\n}\n\n.depict-slider .slider_snap {\n scroll-snap-type: x mandatory;\n}\n\n.depict-slider {\n width: 100%;\n position: relative;\n}\n\n.depict-slider .sliding::-webkit-scrollbar {\n display: none;\n}\n\n.depict-slider .sliding {\n scroll-behavior: smooth;\n -ms-overflow-style: none;\n scrollbar-width: none;\n flex-flow: row;\n margin-top: -1%;\n margin-bottom: -2%;\n padding-top: 1%;\n padding-bottom: 2%;\n display: flex;\n overflow-x: scroll;\n}\n\n.depict-slider .sliding > * {\n box-sizing: border-box;\n flex: none;\n}\n\n.depict-slider button.right {\n right: 0;\n}\n\n.depict-slider button.left, .depict-slider button.right {\n z-index: 2;\n touch-action: manipulation;\n width: 1cm;\n height: 1cm;\n cursor: pointer;\n background: #fff;\n border: none;\n padding: .5%;\n transition-duration: .2s;\n position: absolute;\n top: 50%;\n transform: translateY(-50%);\n}\n\n.depict-slider button.left.hidden, .depict-slider button.right.hidden {\n opacity: 0;\n cursor: default;\n}\n\n.depict-slider button.left {\n left: 0;\n transform: translateY(-50%)rotate(180deg);\n}\n\n.depict-slider button.left img, .depict-slider button.right img {\n width: 100%;\n height: 100%;\n}\n\n.depict-slider .rec_outer {\n margin-top: 0 !important;\n}\n\n";
|
|
4914
4914
|
const $e090b20cef3f0516$var$default_image_src = "data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0iMS4wIiBlbmNvZGluZz0idXRmLTgiPz4NCjwhLS0gR2VuZXJhdG9yOiBBZG9iZSBJbGx1c3RyYXRvciAyMy4wLjYsIFNWRyBFeHBvcnQgUGx1Zy1JbiAuIFNWRyBWZXJzaW9uOiA2LjAwIEJ1aWxkIDApICAtLT4NCjxzdmcgdmVyc2lvbj0iMS4xIiBpZD0iTGF5ZXJfMSIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIiB4bWxuczp4bGluaz0iaHR0cDovL3d3dy53My5vcmcvMTk5OS94bGluayIgeD0iMHB4IiB5PSIwcHgiDQoJIHZpZXdCb3g9IjAgMCAxNiAxNiIgc3R5bGU9ImVuYWJsZS1iYWNrZ3JvdW5kOm5ldyAwIDAgMTYgMTY7IiB4bWw6c3BhY2U9InByZXNlcnZlIj4NCjxwb2x5Z29uIHBvaW50cz0iOSwyLjYgOC4zLDMuNCAxMi40LDcuNSAxLjYsNy41IDEuNiw4LjUgMTIuNCw4LjUgOC4zLDEyLjYgOSwxMy40IDE0LjQsOCAiLz4NCjwvc3ZnPg0K";
|
|
4915
4915
|
class $e090b20cef3f0516$export$4d41c6499d53639c extends (0, $a69a5236b5814082$export$68babfc5be0de5da) {
|
|
4916
4916
|
constructor(static_options, override_lazyfier_options) {
|
|
@@ -4941,7 +4941,7 @@ class $e090b20cef3f0516$export$4d41c6499d53639c extends (0, $a69a5236b5814082$ex
|
|
|
4941
4941
|
function $e090b20cef3f0516$export$f1b8b9fd75ddcab1(slider) {
|
|
4942
4942
|
const style_elem = document.createElement("style");
|
|
4943
4943
|
style_elem.type = "text/css";
|
|
4944
|
-
style_elem.append((0, /*@__PURE__*/$parcel$interopDefault($
|
|
4944
|
+
style_elem.append((0, /*@__PURE__*/$parcel$interopDefault($1286e6ce2079bdeb$exports)));
|
|
4945
4945
|
slider.container.appendChild(style_elem);
|
|
4946
4946
|
}
|
|
4947
4947
|
async function $7af744346f17bf99$export$cd12721587f4f16d(t, rendering_options, options_for_us, slider_options, override_lazyfier_options) {
|
|
@@ -5590,8 +5590,8 @@ async function $a7315720bf2a1638$export$b0a773486c1c2312(t, recommendation_rende
|
|
|
5590
5590
|
}
|
|
5591
5591
|
|
|
5592
5592
|
// @ts-ignore
|
|
5593
|
-
var $
|
|
5594
|
-
$
|
|
5593
|
+
var $b666601c05dee9b7$exports = {};
|
|
5594
|
+
$b666601c05dee9b7$exports = ".depict-slider {\n width: 100%;\n position: relative;\n}\n\n.depict-slider .sliding {\n scroll-behavior: smooth;\n -ms-overflow-style: none;\n scrollbar-width: none;\n flex-flow: row;\n display: flex;\n overflow-x: scroll;\n}\n\n.depict-slider .sliding::-webkit-scrollbar {\n display: none;\n}\n\n.depict-slider .sliding > * {\n box-sizing: border-box;\n flex: none;\n}\n\n";
|
|
5595
5595
|
let $79804e8d76404ae4$var$slider_styling_was_inserted = false;
|
|
5596
5596
|
async function $79804e8d76404ae4$export$82cfdc85a4d15688(t, recommendation_renderer_options, {
|
|
5597
5597
|
container_elements: container_elements,
|
|
@@ -5614,7 +5614,7 @@ async function $79804e8d76404ae4$export$82cfdc85a4d15688(t, recommendation_rende
|
|
|
5614
5614
|
if (!elements) return rendering_result;
|
|
5615
5615
|
if (!$79804e8d76404ae4$var$slider_styling_was_inserted) {
|
|
5616
5616
|
$79804e8d76404ae4$var$slider_styling_was_inserted = true;
|
|
5617
|
-
$e4bebbfa0f0b1454$export$59ba1eb2c083f0cd((0, /*@__PURE__*/$parcel$interopDefault($
|
|
5617
|
+
$e4bebbfa0f0b1454$export$59ba1eb2c083f0cd((0, /*@__PURE__*/$parcel$interopDefault($b666601c05dee9b7$exports)));
|
|
5618
5618
|
}
|
|
5619
5619
|
insertion_point.replaceWith(slider.container);
|
|
5620
5620
|
slider.insert_here.append(...elements);
|
|
@@ -7622,8 +7622,8 @@ async function $bd0fccdac6624b01$export$c068ad5361be7646({
|
|
|
7622
7622
|
on_close_(exit_oos_iterator);
|
|
7623
7623
|
}));
|
|
7624
7624
|
}
|
|
7625
|
-
var $
|
|
7626
|
-
$
|
|
7625
|
+
var $adc99c8c4278ad03$exports = {};
|
|
7626
|
+
$adc99c8c4278ad03$exports = ".depict-placeholder {\n will-change: mask, -webkit-mask;\n mask-position-x: 125%;\n mask-position-y: center;\n background: #ddd;\n animation: 1.5s linear infinite depict-placeholder;\n display: inline-block;\n position: relative;\n overflow: hidden;\n -webkit-mask: linear-gradient(-60deg, #000 30%, #0005, #000 70%) 125% / 300% 100%;\n -webkit-mask-image: ;\n mask-image: ;\n -webkit-mask-size: ;\n mask-size: ;\n}\n\n@keyframes depict-placeholder {\n 0% {\n mask-position-x: 125%;\n -webkit-mask-position-x: 125%;\n }\n\n 10% {\n mask-position-x: 125%;\n -webkit-mask-position-x: 125%;\n }\n\n 90% {\n mask-position-x: -25%;\n -webkit-mask-position-x: -25%;\n }\n\n 100% {\n mask-position-x: -25%;\n -webkit-mask-position-x: -25%;\n }\n}\n\n";
|
|
7627
7627
|
let $e587cb3b31b82f43$var$inserted = false;
|
|
7628
7628
|
const $e587cb3b31b82f43$export$84712d0562a614b8 = ({
|
|
7629
7629
|
width: width,
|
|
@@ -7634,7 +7634,7 @@ const $e587cb3b31b82f43$export$84712d0562a614b8 = ({
|
|
|
7634
7634
|
}) => {
|
|
7635
7635
|
if (!$e587cb3b31b82f43$var$inserted) {
|
|
7636
7636
|
// Insert styling on first import
|
|
7637
|
-
$e4bebbfa0f0b1454$export$59ba1eb2c083f0cd((0, /*@__PURE__*/$parcel$interopDefault($
|
|
7637
|
+
$e4bebbfa0f0b1454$export$59ba1eb2c083f0cd((0, /*@__PURE__*/$parcel$interopDefault($adc99c8c4278ad03$exports)));
|
|
7638
7638
|
$e587cb3b31b82f43$var$inserted = true;
|
|
7639
7639
|
}
|
|
7640
7640
|
return $jVDDb$solidjsweb.ssrElement("div", $jVDDb$solidjsweb.mergeProps({
|
|
@@ -7813,8 +7813,8 @@ const $b25f388f0fe2f1b3$export$237455ad7e59d4e5 = ({
|
|
|
7813
7813
|
collapse: collapse
|
|
7814
7814
|
};
|
|
7815
7815
|
};
|
|
7816
|
-
var $
|
|
7817
|
-
$
|
|
7816
|
+
var $9b2faeca6842dc4b$exports = {};
|
|
7817
|
+
$9b2faeca6842dc4b$exports = ".depict-img-cont {\n width: 100%;\n height: 100%;\n position: absolute;\n}\n\n.depict-img-filler {\n width: 100%;\n height: auto;\n display: inline-block;\n}\n\n.depict-img-comp {\n width: auto;\n height: auto;\n max-width: 100%;\n max-height: 100%;\n position: absolute;\n top: 50%;\n left: 50%;\n transform: translate(-50%, -50%);\n}\n\n.depict-img-mod {\n width: 100%;\n height: 100%;\n object-fit: contain;\n position: absolute;\n inset: 0;\n}\n\n";
|
|
7818
7818
|
var $ff973b2032639b5f$var$_tmpl$ = ["<picture", ">", "</picture>"];
|
|
7819
7819
|
const $ff973b2032639b5f$export$3d13beba9b52c947 = "https://img.depict.ai/ResizeImage" + (process.env.TENANT ? "/" + process.env.TENANT : "");
|
|
7820
7820
|
const $ff973b2032639b5f$export$a98fc8a2c818d3d8 = /*@__PURE__*/(() => typeof navigator === "undefined" ? false : /^((?!chrome|android).)*safari/i.test(navigator.userAgent))(); // https://stackoverflow.com/a/23522755
|
|
@@ -7965,7 +7965,7 @@ const $a312bccd722ac9e4$export$788756b42446dc2d = ({
|
|
|
7965
7965
|
}) => {
|
|
7966
7966
|
if (!$a312bccd722ac9e4$var$inserted) {
|
|
7967
7967
|
// Insert styling on first import
|
|
7968
|
-
$e4bebbfa0f0b1454$export$59ba1eb2c083f0cd((0, /*@__PURE__*/$parcel$interopDefault($
|
|
7968
|
+
$e4bebbfa0f0b1454$export$59ba1eb2c083f0cd((0, /*@__PURE__*/$parcel$interopDefault($9b2faeca6842dc4b$exports)));
|
|
7969
7969
|
$a312bccd722ac9e4$var$inserted = true;
|
|
7970
7970
|
}
|
|
7971
7971
|
const img = process.env.BUILD_TARGET === "modern" || process.env.BUILD_TARGET === "dev" ? $a312bccd722ac9e4$var$Image(options) : $a312bccd722ac9e4$var$CompatibleImage(options);
|
|
@@ -8033,8 +8033,8 @@ function $a312bccd722ac9e4$var$srcset_comp_from_map_or_new(rendering_options, sr
|
|
|
8033
8033
|
}
|
|
8034
8034
|
return sourceset_component;
|
|
8035
8035
|
}
|
|
8036
|
-
var $
|
|
8037
|
-
$
|
|
8036
|
+
var $da6327fdb5e3fda6$exports = {};
|
|
8037
|
+
$da6327fdb5e3fda6$exports = ".depict .images-container {\n position: relative;\n}\n\n.depict .second-image-container {\n width: 100%;\n opacity: 0;\n position: absolute;\n top: 0;\n}\n\n.depict .hovering .main-image-container {\n opacity: 0;\n}\n\n.depict .hovering .second-image-container {\n opacity: 1;\n}\n\n";
|
|
8038
8038
|
var $a656daa2fa8c279a$var$_tmpl$ = ["<div", ' class="images-container"><!--$-->', '<!--/--><div class="main-image-container">', "</div></div>"],
|
|
8039
8039
|
$a656daa2fa8c279a$var$_tmpl$2 = ["<div", ' class="second-image-container">', "</div>"];
|
|
8040
8040
|
// Saving bytez
|
|
@@ -8163,7 +8163,7 @@ const $a656daa2fa8c279a$export$2369f6fc1c911576 = ({
|
|
|
8163
8163
|
...options
|
|
8164
8164
|
}) => {
|
|
8165
8165
|
if (!$a656daa2fa8c279a$var$styling_inserted) {
|
|
8166
|
-
$e4bebbfa0f0b1454$export$59ba1eb2c083f0cd((0, /*@__PURE__*/$parcel$interopDefault($
|
|
8166
|
+
$e4bebbfa0f0b1454$export$59ba1eb2c083f0cd((0, /*@__PURE__*/$parcel$interopDefault($da6327fdb5e3fda6$exports)));
|
|
8167
8167
|
$a656daa2fa8c279a$var$styling_inserted = true;
|
|
8168
8168
|
}
|
|
8169
8169
|
const main_image = $a312bccd722ac9e4$export$788756b42446dc2d({
|
package/server/latest/index.d.ts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { JSX, Accessor } from "solid-js";
|
|
2
|
-
export const version = "2.1.
|
|
2
|
+
export const version = "2.1.4";
|
|
3
3
|
export const is_debug: boolean;
|
|
4
4
|
/**
|
|
5
5
|
* Sets the prefix of dlog, dwarn, and derror messages in the browser console. Defaults to `[Depict]`.
|
|
@@ -969,9 +969,10 @@ export const wait: (delay: number) => Promise<unknown>;
|
|
|
969
969
|
* @param url Url to perform fetch towards
|
|
970
970
|
* @param options Fetch options
|
|
971
971
|
* @param max_retries Max number of retries, defaults to 10
|
|
972
|
+
* @param useFetch The fetch function to use, defaults to the global fetch
|
|
972
973
|
* @returns The fetch response
|
|
973
974
|
*/
|
|
974
|
-
export function fetch_retry(url: RequestInfo | URL, options?: RequestInit, max_retries?: number): Promise<false | Response>;
|
|
975
|
+
export function fetch_retry(url: RequestInfo | URL, options?: RequestInit, max_retries?: number, useFetch?: typeof fetch): Promise<false | Response>;
|
|
975
976
|
type PossibleEndpoint = "general" | "product" | "products" | "category";
|
|
976
977
|
type ExclusiveId = {
|
|
977
978
|
category_id: string;
|
|
@@ -1106,10 +1107,6 @@ interface ModernDisplay {
|
|
|
1106
1107
|
* All variant displays (eg. different colors, sizes) of the product.
|
|
1107
1108
|
*/
|
|
1108
1109
|
variant_displays: any[];
|
|
1109
|
-
/** SKUs of the different variants */
|
|
1110
|
-
variant_skus: string[];
|
|
1111
|
-
/** Product of the different variants */
|
|
1112
|
-
variant_product_ids: string[];
|
|
1113
1110
|
/** Unique recommendation result ID used by Depict */
|
|
1114
1111
|
recommendation_id?: string;
|
|
1115
1112
|
/** Unique search result ID used by Depict */
|
package/server/latest/index.js
CHANGED
|
@@ -13,7 +13,7 @@ function $parcel$export(e, n, v, s) {
|
|
|
13
13
|
function $parcel$interopDefault(a) {
|
|
14
14
|
return a && a.__esModule ? a.default : a;
|
|
15
15
|
}
|
|
16
|
-
const $0766c85d387a9765$export$83d89fbfd8236492 = "2.1.
|
|
16
|
+
const $0766c85d387a9765$export$83d89fbfd8236492 = "2.1.4";
|
|
17
17
|
const $571bce04eb920cd8$export$55fe61489d2c7417 = /*@__PURE__*/(() => process.env.STRIP_DEBUG === "true" ? false : process.env.DEBUG === "true" || process.env.NODE_ENV === "development" || process.env.BUILD_TARGET !== "node" && (globalThis?.document?.currentScript?.dataset?.debug === "true" || globalThis?.localStorage?.getItem?.("debug") === "true"))();
|
|
18
18
|
const $649f456f663da9fc$var$browser_prefix_styling = "color: #fff;";
|
|
19
19
|
let $649f456f663da9fc$var$browser_prefix = "[Depict]";
|
|
@@ -2863,7 +2863,7 @@ function $5c4afc453f904a1f$export$39d526a1194b6499(anything, depth) {
|
|
|
2863
2863
|
return output;
|
|
2864
2864
|
}
|
|
2865
2865
|
const $2cbe7e0ca2ce5438$export$5c069c93d2b7493f = delay => new Promise(resolve => setTimeout(resolve, delay));
|
|
2866
|
-
async function $2d1ffbfaa1c2d9e3$export$bcd70d5ed1cf6313(url, options, max_retries = 10) {
|
|
2866
|
+
async function $2d1ffbfaa1c2d9e3$export$bcd70d5ed1cf6313(url, options, max_retries = 10, useFetch = fetch) {
|
|
2867
2867
|
const ONE_MINUTE = 60000;
|
|
2868
2868
|
const max_backoff_ms = ONE_MINUTE;
|
|
2869
2869
|
const {
|
|
@@ -2878,7 +2878,7 @@ async function $2d1ffbfaa1c2d9e3$export$bcd70d5ed1cf6313(url, options, max_retri
|
|
|
2878
2878
|
let has_succeeded = false;
|
|
2879
2879
|
let result = false;
|
|
2880
2880
|
while (max_retries && !has_succeeded) try {
|
|
2881
|
-
const response = await
|
|
2881
|
+
const response = await useFetch(url, options);
|
|
2882
2882
|
const {
|
|
2883
2883
|
status: status,
|
|
2884
2884
|
ok: ok
|
|
@@ -4650,8 +4650,8 @@ $51bbc74e39f5e5c6$export$2e2bcd8739ae039 = async options => {
|
|
|
4650
4650
|
};
|
|
4651
4651
|
|
|
4652
4652
|
// @ts-ignore
|
|
4653
|
-
var $
|
|
4654
|
-
$
|
|
4653
|
+
var $a1c62fc52d40cabb$exports = {};
|
|
4654
|
+
$a1c62fc52d40cabb$exports = ".depict .rec_outer.noautospacing {\n width: 6cm;\n max-width: 46vw;\n margin-left: 1%;\n margin-right: 1%;\n}\n\n.depict .rec_outer.noautospacing:nth-child(1) {\n margin-left: 0;\n}\n\n.depict .rec_outer.noautospacing:nth-last-child(1) {\n margin-right: 0;\n}\n\n.depict-slider .slider_snap {\n scroll-snap-type: x mandatory;\n}\n\n.depict-slider {\n width: 100%;\n position: relative;\n}\n\n.depict-slider .sliding::-webkit-scrollbar {\n display: none;\n}\n\n.depict-slider .sliding {\n scroll-behavior: smooth;\n -ms-overflow-style: none;\n scrollbar-width: none;\n flex-flow: row;\n margin-top: -1%;\n margin-bottom: -2%;\n padding-top: 1%;\n padding-bottom: 2%;\n display: flex;\n overflow-x: scroll;\n}\n\n.depict-slider .sliding > * {\n box-sizing: border-box;\n flex: none;\n}\n\n.depict-slider button.right {\n right: 0;\n}\n\n.depict-slider button.left, .depict-slider button.right {\n z-index: 2;\n touch-action: manipulation;\n width: 1cm;\n height: 1cm;\n cursor: pointer;\n background: #fff;\n border: none;\n padding: .5%;\n transition-duration: .2s;\n position: absolute;\n top: 50%;\n transform: translateY(-50%);\n}\n\n.depict-slider button.left.hidden, .depict-slider button.right.hidden {\n opacity: 0;\n cursor: default;\n}\n\n.depict-slider button.left {\n left: 0;\n transform: translateY(-50%)rotate(180deg);\n}\n\n.depict-slider button.left img, .depict-slider button.right img {\n width: 100%;\n height: 100%;\n}\n\n.depict-slider .rec_outer {\n margin-top: 0 !important;\n}\n\n";
|
|
4655
4655
|
const $762a881271a51d1b$var$default_image_src = "data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0iMS4wIiBlbmNvZGluZz0idXRmLTgiPz4NCjwhLS0gR2VuZXJhdG9yOiBBZG9iZSBJbGx1c3RyYXRvciAyMy4wLjYsIFNWRyBFeHBvcnQgUGx1Zy1JbiAuIFNWRyBWZXJzaW9uOiA2LjAwIEJ1aWxkIDApICAtLT4NCjxzdmcgdmVyc2lvbj0iMS4xIiBpZD0iTGF5ZXJfMSIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIiB4bWxuczp4bGluaz0iaHR0cDovL3d3dy53My5vcmcvMTk5OS94bGluayIgeD0iMHB4IiB5PSIwcHgiDQoJIHZpZXdCb3g9IjAgMCAxNiAxNiIgc3R5bGU9ImVuYWJsZS1iYWNrZ3JvdW5kOm5ldyAwIDAgMTYgMTY7IiB4bWw6c3BhY2U9InByZXNlcnZlIj4NCjxwb2x5Z29uIHBvaW50cz0iOSwyLjYgOC4zLDMuNCAxMi40LDcuNSAxLjYsNy41IDEuNiw4LjUgMTIuNCw4LjUgOC4zLDEyLjYgOSwxMy40IDE0LjQsOCAiLz4NCjwvc3ZnPg0K";
|
|
4656
4656
|
class $762a881271a51d1b$export$4d41c6499d53639c extends (0, $c33c6faf8acc7442$export$68babfc5be0de5da) {
|
|
4657
4657
|
constructor(static_options, override_lazyfier_options) {
|
|
@@ -4682,7 +4682,7 @@ class $762a881271a51d1b$export$4d41c6499d53639c extends (0, $c33c6faf8acc7442$ex
|
|
|
4682
4682
|
function $762a881271a51d1b$export$f1b8b9fd75ddcab1(slider) {
|
|
4683
4683
|
const style_elem = document.createElement("style");
|
|
4684
4684
|
style_elem.type = "text/css";
|
|
4685
|
-
style_elem.append((0, /*@__PURE__*/$parcel$interopDefault($
|
|
4685
|
+
style_elem.append((0, /*@__PURE__*/$parcel$interopDefault($a1c62fc52d40cabb$exports)));
|
|
4686
4686
|
slider.container.appendChild(style_elem);
|
|
4687
4687
|
}
|
|
4688
4688
|
async function $e61f371a9bcdeb2f$export$cd12721587f4f16d(t, rendering_options, options_for_us, slider_options, override_lazyfier_options) {
|
|
@@ -5331,8 +5331,8 @@ async function $090b8182afa1b2a6$export$b0a773486c1c2312(t, recommendation_rende
|
|
|
5331
5331
|
}
|
|
5332
5332
|
|
|
5333
5333
|
// @ts-ignore
|
|
5334
|
-
var $
|
|
5335
|
-
$
|
|
5334
|
+
var $a263a1eebfe78087$exports = {};
|
|
5335
|
+
$a263a1eebfe78087$exports = ".depict-slider {\n width: 100%;\n position: relative;\n}\n\n.depict-slider .sliding {\n scroll-behavior: smooth;\n -ms-overflow-style: none;\n scrollbar-width: none;\n flex-flow: row;\n display: flex;\n overflow-x: scroll;\n}\n\n.depict-slider .sliding::-webkit-scrollbar {\n display: none;\n}\n\n.depict-slider .sliding > * {\n box-sizing: border-box;\n flex: none;\n}\n\n";
|
|
5336
5336
|
let $30f78542ed78cd31$var$slider_styling_was_inserted = false;
|
|
5337
5337
|
async function $30f78542ed78cd31$export$82cfdc85a4d15688(t, recommendation_renderer_options, {
|
|
5338
5338
|
container_elements: container_elements,
|
|
@@ -5355,7 +5355,7 @@ async function $30f78542ed78cd31$export$82cfdc85a4d15688(t, recommendation_rende
|
|
|
5355
5355
|
if (!elements) return rendering_result;
|
|
5356
5356
|
if (!$30f78542ed78cd31$var$slider_styling_was_inserted) {
|
|
5357
5357
|
$30f78542ed78cd31$var$slider_styling_was_inserted = true;
|
|
5358
|
-
$0a581f1dfa083522$export$59ba1eb2c083f0cd((0, /*@__PURE__*/$parcel$interopDefault($
|
|
5358
|
+
$0a581f1dfa083522$export$59ba1eb2c083f0cd((0, /*@__PURE__*/$parcel$interopDefault($a263a1eebfe78087$exports)));
|
|
5359
5359
|
}
|
|
5360
5360
|
insertion_point.replaceWith(slider.container);
|
|
5361
5361
|
slider.insert_here.append(...elements);
|
|
@@ -7363,8 +7363,8 @@ async function $72d170fd5c7cb3fe$export$c068ad5361be7646({
|
|
|
7363
7363
|
on_close_(exit_oos_iterator);
|
|
7364
7364
|
}));
|
|
7365
7365
|
}
|
|
7366
|
-
var $
|
|
7367
|
-
$
|
|
7366
|
+
var $97e49e6362cc0f5e$exports = {};
|
|
7367
|
+
$97e49e6362cc0f5e$exports = ".depict-placeholder {\n will-change: mask, -webkit-mask;\n mask-position-x: 125%;\n mask-position-y: center;\n background: #ddd;\n animation: 1.5s linear infinite depict-placeholder;\n display: inline-block;\n position: relative;\n overflow: hidden;\n -webkit-mask: linear-gradient(-60deg, #000 30%, #0005, #000 70%) 125% / 300% 100%;\n -webkit-mask-image: ;\n mask-image: ;\n -webkit-mask-size: ;\n mask-size: ;\n}\n\n@keyframes depict-placeholder {\n 0% {\n mask-position-x: 125%;\n -webkit-mask-position-x: 125%;\n }\n\n 10% {\n mask-position-x: 125%;\n -webkit-mask-position-x: 125%;\n }\n\n 90% {\n mask-position-x: -25%;\n -webkit-mask-position-x: -25%;\n }\n\n 100% {\n mask-position-x: -25%;\n -webkit-mask-position-x: -25%;\n }\n}\n\n";
|
|
7368
7368
|
let $ad592d9ddbcffe72$var$inserted = false;
|
|
7369
7369
|
const $ad592d9ddbcffe72$export$84712d0562a614b8 = ({
|
|
7370
7370
|
width: width,
|
|
@@ -7375,7 +7375,7 @@ const $ad592d9ddbcffe72$export$84712d0562a614b8 = ({
|
|
|
7375
7375
|
}) => {
|
|
7376
7376
|
if (!$ad592d9ddbcffe72$var$inserted) {
|
|
7377
7377
|
// Insert styling on first import
|
|
7378
|
-
$0a581f1dfa083522$export$59ba1eb2c083f0cd((0, /*@__PURE__*/$parcel$interopDefault($
|
|
7378
|
+
$0a581f1dfa083522$export$59ba1eb2c083f0cd((0, /*@__PURE__*/$parcel$interopDefault($97e49e6362cc0f5e$exports)));
|
|
7379
7379
|
$ad592d9ddbcffe72$var$inserted = true;
|
|
7380
7380
|
}
|
|
7381
7381
|
return $f3g9l$ssrElement("div", $f3g9l$mergeProps({
|
|
@@ -7554,8 +7554,8 @@ const $7f57d546b5d5b3d6$export$237455ad7e59d4e5 = ({
|
|
|
7554
7554
|
collapse: collapse
|
|
7555
7555
|
};
|
|
7556
7556
|
};
|
|
7557
|
-
var $
|
|
7558
|
-
$
|
|
7557
|
+
var $8dc995f9c379e0e7$exports = {};
|
|
7558
|
+
$8dc995f9c379e0e7$exports = ".depict-img-cont {\n width: 100%;\n height: 100%;\n position: absolute;\n}\n\n.depict-img-filler {\n width: 100%;\n height: auto;\n display: inline-block;\n}\n\n.depict-img-comp {\n width: auto;\n height: auto;\n max-width: 100%;\n max-height: 100%;\n position: absolute;\n top: 50%;\n left: 50%;\n transform: translate(-50%, -50%);\n}\n\n.depict-img-mod {\n width: 100%;\n height: 100%;\n object-fit: contain;\n position: absolute;\n inset: 0;\n}\n\n";
|
|
7559
7559
|
var $45af9e834781a9bc$var$_tmpl$ = ["<picture", ">", "</picture>"];
|
|
7560
7560
|
const $45af9e834781a9bc$export$3d13beba9b52c947 = "https://img.depict.ai/ResizeImage" + (process.env.TENANT ? "/" + process.env.TENANT : "");
|
|
7561
7561
|
const $45af9e834781a9bc$export$a98fc8a2c818d3d8 = /*@__PURE__*/(() => typeof navigator === "undefined" ? false : /^((?!chrome|android).)*safari/i.test(navigator.userAgent))(); // https://stackoverflow.com/a/23522755
|
|
@@ -7706,7 +7706,7 @@ const $914971fb43986a16$export$788756b42446dc2d = ({
|
|
|
7706
7706
|
}) => {
|
|
7707
7707
|
if (!$914971fb43986a16$var$inserted) {
|
|
7708
7708
|
// Insert styling on first import
|
|
7709
|
-
$0a581f1dfa083522$export$59ba1eb2c083f0cd((0, /*@__PURE__*/$parcel$interopDefault($
|
|
7709
|
+
$0a581f1dfa083522$export$59ba1eb2c083f0cd((0, /*@__PURE__*/$parcel$interopDefault($8dc995f9c379e0e7$exports)));
|
|
7710
7710
|
$914971fb43986a16$var$inserted = true;
|
|
7711
7711
|
}
|
|
7712
7712
|
const img = process.env.BUILD_TARGET === "modern" || process.env.BUILD_TARGET === "dev" ? $914971fb43986a16$var$Image(options) : $914971fb43986a16$var$CompatibleImage(options);
|
|
@@ -7774,8 +7774,8 @@ function $914971fb43986a16$var$srcset_comp_from_map_or_new(rendering_options, sr
|
|
|
7774
7774
|
}
|
|
7775
7775
|
return sourceset_component;
|
|
7776
7776
|
}
|
|
7777
|
-
var $
|
|
7778
|
-
$
|
|
7777
|
+
var $534c383471d24ff6$exports = {};
|
|
7778
|
+
$534c383471d24ff6$exports = ".depict .images-container {\n position: relative;\n}\n\n.depict .second-image-container {\n width: 100%;\n opacity: 0;\n position: absolute;\n top: 0;\n}\n\n.depict .hovering .main-image-container {\n opacity: 0;\n}\n\n.depict .hovering .second-image-container {\n opacity: 1;\n}\n\n";
|
|
7779
7779
|
var $8483d1d9fcee52ec$var$_tmpl$ = ["<div", ' class="images-container"><!--$-->', '<!--/--><div class="main-image-container">', "</div></div>"],
|
|
7780
7780
|
$8483d1d9fcee52ec$var$_tmpl$2 = ["<div", ' class="second-image-container">', "</div>"];
|
|
7781
7781
|
// Saving bytez
|
|
@@ -7904,7 +7904,7 @@ const $8483d1d9fcee52ec$export$2369f6fc1c911576 = ({
|
|
|
7904
7904
|
...options
|
|
7905
7905
|
}) => {
|
|
7906
7906
|
if (!$8483d1d9fcee52ec$var$styling_inserted) {
|
|
7907
|
-
$0a581f1dfa083522$export$59ba1eb2c083f0cd((0, /*@__PURE__*/$parcel$interopDefault($
|
|
7907
|
+
$0a581f1dfa083522$export$59ba1eb2c083f0cd((0, /*@__PURE__*/$parcel$interopDefault($534c383471d24ff6$exports)));
|
|
7908
7908
|
$8483d1d9fcee52ec$var$styling_inserted = true;
|
|
7909
7909
|
}
|
|
7910
7910
|
const main_image = $914971fb43986a16$export$788756b42446dc2d({
|