@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/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) {
|
|
@@ -6111,8 +6112,8 @@ async function $79e67f88d50f1879$export$b0a773486c1c2312(t, recommendation_rende
|
|
|
6111
6112
|
}
|
|
6112
6113
|
|
|
6113
6114
|
// @ts-ignore
|
|
6114
|
-
var $
|
|
6115
|
-
$
|
|
6115
|
+
var $a395aeaeccd7ae3d$exports = {};
|
|
6116
|
+
$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";
|
|
6116
6117
|
let $87dd73b8c244f3d2$var$slider_styling_was_inserted = false;
|
|
6117
6118
|
async function $87dd73b8c244f3d2$export$82cfdc85a4d15688(t, recommendation_renderer_options, _ref) {
|
|
6118
6119
|
let {
|
|
@@ -6136,7 +6137,7 @@ async function $87dd73b8c244f3d2$export$82cfdc85a4d15688(t, recommendation_rende
|
|
|
6136
6137
|
if (!elements) return rendering_result;
|
|
6137
6138
|
if (!$87dd73b8c244f3d2$var$slider_styling_was_inserted) {
|
|
6138
6139
|
$87dd73b8c244f3d2$var$slider_styling_was_inserted = true;
|
|
6139
|
-
$e45474c7d6e21cfa$export$59ba1eb2c083f0cd((0, /*@__PURE__*/$parcel$interopDefault($
|
|
6140
|
+
$e45474c7d6e21cfa$export$59ba1eb2c083f0cd((0, /*@__PURE__*/$parcel$interopDefault($a395aeaeccd7ae3d$exports)));
|
|
6140
6141
|
}
|
|
6141
6142
|
insertion_point.replaceWith(slider.container);
|
|
6142
6143
|
slider.insert_here.append(...elements);
|
|
@@ -8291,8 +8292,8 @@ async function $468dbae10b24d59f$export$c068ad5361be7646(_ref) {
|
|
|
8291
8292
|
}));
|
|
8292
8293
|
}
|
|
8293
8294
|
$bBfCy$solidjsweb.delegateEvents(["click"]);
|
|
8294
|
-
var $
|
|
8295
|
-
$
|
|
8295
|
+
var $46b697935d651c75$exports = {};
|
|
8296
|
+
$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";
|
|
8296
8297
|
var $ba9b4cd7e24de87e$var$_tmpl$ = /*#__PURE__*/$bBfCy$solidjsweb.template(`<div>`);
|
|
8297
8298
|
let $ba9b4cd7e24de87e$var$inserted = false;
|
|
8298
8299
|
const $ba9b4cd7e24de87e$export$84712d0562a614b8 = _ref => {
|
|
@@ -8305,7 +8306,7 @@ const $ba9b4cd7e24de87e$export$84712d0562a614b8 = _ref => {
|
|
|
8305
8306
|
} = _ref;
|
|
8306
8307
|
if (!$ba9b4cd7e24de87e$var$inserted) {
|
|
8307
8308
|
// Insert styling on first import
|
|
8308
|
-
$e45474c7d6e21cfa$export$59ba1eb2c083f0cd((0, /*@__PURE__*/$parcel$interopDefault($
|
|
8309
|
+
$e45474c7d6e21cfa$export$59ba1eb2c083f0cd((0, /*@__PURE__*/$parcel$interopDefault($46b697935d651c75$exports)));
|
|
8309
8310
|
$ba9b4cd7e24de87e$var$inserted = true;
|
|
8310
8311
|
}
|
|
8311
8312
|
return (() => {
|
|
@@ -8549,8 +8550,8 @@ const $151f8676c5d42e80$export$237455ad7e59d4e5 = function () {
|
|
|
8549
8550
|
collapse: collapse
|
|
8550
8551
|
};
|
|
8551
8552
|
};
|
|
8552
|
-
var $
|
|
8553
|
-
$
|
|
8553
|
+
var $40bc83c42fbfc3cd$exports = {};
|
|
8554
|
+
$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";
|
|
8554
8555
|
var $b42b9f62e8b6cb2d$var$_tmpl$ = /*#__PURE__*/$bBfCy$solidjsweb.template(`<img>`),
|
|
8555
8556
|
$b42b9f62e8b6cb2d$var$_tmpl$2 = /*#__PURE__*/$bBfCy$solidjsweb.template(`<source sizes=0px>`),
|
|
8556
8557
|
$b42b9f62e8b6cb2d$var$_tmpl$3 = /*#__PURE__*/$bBfCy$solidjsweb.template(`<picture>`);
|
|
@@ -8727,7 +8728,7 @@ const $dfce76a4aeb41067$export$788756b42446dc2d = _ref => {
|
|
|
8727
8728
|
} = _ref;
|
|
8728
8729
|
if (!$dfce76a4aeb41067$var$inserted) {
|
|
8729
8730
|
// Insert styling on first import
|
|
8730
|
-
$e45474c7d6e21cfa$export$59ba1eb2c083f0cd((0, /*@__PURE__*/$parcel$interopDefault($
|
|
8731
|
+
$e45474c7d6e21cfa$export$59ba1eb2c083f0cd((0, /*@__PURE__*/$parcel$interopDefault($40bc83c42fbfc3cd$exports)));
|
|
8731
8732
|
$dfce76a4aeb41067$var$inserted = true;
|
|
8732
8733
|
}
|
|
8733
8734
|
const img = process.env.BUILD_TARGET === "modern" || process.env.BUILD_TARGET === "dev" ? $dfce76a4aeb41067$var$Image(options) : $dfce76a4aeb41067$var$CompatibleImage(options);
|
|
@@ -8818,8 +8819,8 @@ function $dfce76a4aeb41067$var$srcset_comp_from_map_or_new(rendering_options) {
|
|
|
8818
8819
|
}
|
|
8819
8820
|
return sourceset_component;
|
|
8820
8821
|
}
|
|
8821
|
-
var $
|
|
8822
|
-
$
|
|
8822
|
+
var $f90bbaa8a24d72ca$exports = {};
|
|
8823
|
+
$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";
|
|
8823
8824
|
var $8928a1027461fba4$var$_tmpl$ = /*#__PURE__*/$bBfCy$solidjsweb.template(`<div class=images-container><!$><!/><div class=main-image-container>`),
|
|
8824
8825
|
$8928a1027461fba4$var$_tmpl$2 = /*#__PURE__*/$bBfCy$solidjsweb.template(`<div class=second-image-container>`);
|
|
8825
8826
|
// Saving bytez
|
|
@@ -8954,7 +8955,7 @@ const $8928a1027461fba4$export$2369f6fc1c911576 = _ref => {
|
|
|
8954
8955
|
...options
|
|
8955
8956
|
} = _ref;
|
|
8956
8957
|
if (!$8928a1027461fba4$var$styling_inserted) {
|
|
8957
|
-
$e45474c7d6e21cfa$export$59ba1eb2c083f0cd((0, /*@__PURE__*/$parcel$interopDefault($
|
|
8958
|
+
$e45474c7d6e21cfa$export$59ba1eb2c083f0cd((0, /*@__PURE__*/$parcel$interopDefault($f90bbaa8a24d72ca$exports)));
|
|
8958
8959
|
$8928a1027461fba4$var$styling_inserted = true;
|
|
8959
8960
|
}
|
|
8960
8961
|
const main_image = $dfce76a4aeb41067$export$788756b42446dc2d({
|
package/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/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) {
|
|
@@ -5852,8 +5853,8 @@ async function $297a08bac2d81fab$export$b0a773486c1c2312(t, recommendation_rende
|
|
|
5852
5853
|
}
|
|
5853
5854
|
|
|
5854
5855
|
// @ts-ignore
|
|
5855
|
-
var $
|
|
5856
|
-
$
|
|
5856
|
+
var $9aec7f71245b3f70$exports = {};
|
|
5857
|
+
$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";
|
|
5857
5858
|
let $d89e3aaeb9270095$var$slider_styling_was_inserted = false;
|
|
5858
5859
|
async function $d89e3aaeb9270095$export$82cfdc85a4d15688(t, recommendation_renderer_options, _ref) {
|
|
5859
5860
|
let {
|
|
@@ -5877,7 +5878,7 @@ async function $d89e3aaeb9270095$export$82cfdc85a4d15688(t, recommendation_rende
|
|
|
5877
5878
|
if (!elements) return rendering_result;
|
|
5878
5879
|
if (!$d89e3aaeb9270095$var$slider_styling_was_inserted) {
|
|
5879
5880
|
$d89e3aaeb9270095$var$slider_styling_was_inserted = true;
|
|
5880
|
-
$1013f2e568f87406$export$59ba1eb2c083f0cd((0, /*@__PURE__*/$parcel$interopDefault($
|
|
5881
|
+
$1013f2e568f87406$export$59ba1eb2c083f0cd((0, /*@__PURE__*/$parcel$interopDefault($9aec7f71245b3f70$exports)));
|
|
5881
5882
|
}
|
|
5882
5883
|
insertion_point.replaceWith(slider.container);
|
|
5883
5884
|
slider.insert_here.append(...elements);
|
|
@@ -8032,8 +8033,8 @@ async function $24f3fd73864991c0$export$c068ad5361be7646(_ref) {
|
|
|
8032
8033
|
}));
|
|
8033
8034
|
}
|
|
8034
8035
|
$76EG6$delegateEvents(["click"]);
|
|
8035
|
-
var $
|
|
8036
|
-
$
|
|
8036
|
+
var $5304b1a97f5cc360$exports = {};
|
|
8037
|
+
$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";
|
|
8037
8038
|
var $adc0bb548fdb574f$var$_tmpl$ = /*#__PURE__*/$76EG6$template(`<div>`);
|
|
8038
8039
|
let $adc0bb548fdb574f$var$inserted = false;
|
|
8039
8040
|
const $adc0bb548fdb574f$export$84712d0562a614b8 = _ref => {
|
|
@@ -8046,7 +8047,7 @@ const $adc0bb548fdb574f$export$84712d0562a614b8 = _ref => {
|
|
|
8046
8047
|
} = _ref;
|
|
8047
8048
|
if (!$adc0bb548fdb574f$var$inserted) {
|
|
8048
8049
|
// Insert styling on first import
|
|
8049
|
-
$1013f2e568f87406$export$59ba1eb2c083f0cd((0, /*@__PURE__*/$parcel$interopDefault($
|
|
8050
|
+
$1013f2e568f87406$export$59ba1eb2c083f0cd((0, /*@__PURE__*/$parcel$interopDefault($5304b1a97f5cc360$exports)));
|
|
8050
8051
|
$adc0bb548fdb574f$var$inserted = true;
|
|
8051
8052
|
}
|
|
8052
8053
|
return (() => {
|
|
@@ -8290,8 +8291,8 @@ const $0f55c2bc0a7b363b$export$237455ad7e59d4e5 = function () {
|
|
|
8290
8291
|
collapse: collapse
|
|
8291
8292
|
};
|
|
8292
8293
|
};
|
|
8293
|
-
var $
|
|
8294
|
-
$
|
|
8294
|
+
var $3acba1df0fdbf811$exports = {};
|
|
8295
|
+
$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";
|
|
8295
8296
|
var $9ef5ce4804a3b61b$var$_tmpl$ = /*#__PURE__*/$76EG6$template(`<img>`),
|
|
8296
8297
|
$9ef5ce4804a3b61b$var$_tmpl$2 = /*#__PURE__*/$76EG6$template(`<source sizes=0px>`),
|
|
8297
8298
|
$9ef5ce4804a3b61b$var$_tmpl$3 = /*#__PURE__*/$76EG6$template(`<picture>`);
|
|
@@ -8468,7 +8469,7 @@ const $c987460cedc0d7ec$export$788756b42446dc2d = _ref => {
|
|
|
8468
8469
|
} = _ref;
|
|
8469
8470
|
if (!$c987460cedc0d7ec$var$inserted) {
|
|
8470
8471
|
// Insert styling on first import
|
|
8471
|
-
$1013f2e568f87406$export$59ba1eb2c083f0cd((0, /*@__PURE__*/$parcel$interopDefault($
|
|
8472
|
+
$1013f2e568f87406$export$59ba1eb2c083f0cd((0, /*@__PURE__*/$parcel$interopDefault($3acba1df0fdbf811$exports)));
|
|
8472
8473
|
$c987460cedc0d7ec$var$inserted = true;
|
|
8473
8474
|
}
|
|
8474
8475
|
const img = process.env.BUILD_TARGET === "modern" || process.env.BUILD_TARGET === "dev" ? $c987460cedc0d7ec$var$Image(options) : $c987460cedc0d7ec$var$CompatibleImage(options);
|
|
@@ -8559,8 +8560,8 @@ function $c987460cedc0d7ec$var$srcset_comp_from_map_or_new(rendering_options) {
|
|
|
8559
8560
|
}
|
|
8560
8561
|
return sourceset_component;
|
|
8561
8562
|
}
|
|
8562
|
-
var $
|
|
8563
|
-
$
|
|
8563
|
+
var $2dbcf35ce5cd16e6$exports = {};
|
|
8564
|
+
$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";
|
|
8564
8565
|
var $73f0a7e385687d5d$var$_tmpl$ = /*#__PURE__*/$76EG6$template(`<div class=images-container><!$><!/><div class=main-image-container>`),
|
|
8565
8566
|
$73f0a7e385687d5d$var$_tmpl$2 = /*#__PURE__*/$76EG6$template(`<div class=second-image-container>`);
|
|
8566
8567
|
// Saving bytez
|
|
@@ -8695,7 +8696,7 @@ const $73f0a7e385687d5d$export$2369f6fc1c911576 = _ref => {
|
|
|
8695
8696
|
...options
|
|
8696
8697
|
} = _ref;
|
|
8697
8698
|
if (!$73f0a7e385687d5d$var$styling_inserted) {
|
|
8698
|
-
$1013f2e568f87406$export$59ba1eb2c083f0cd((0, /*@__PURE__*/$parcel$interopDefault($
|
|
8699
|
+
$1013f2e568f87406$export$59ba1eb2c083f0cd((0, /*@__PURE__*/$parcel$interopDefault($2dbcf35ce5cd16e6$exports)));
|
|
8699
8700
|
$73f0a7e385687d5d$var$styling_inserted = true;
|
|
8700
8701
|
}
|
|
8701
8702
|
const main_image = $c987460cedc0d7ec$export$788756b42446dc2d({
|
package/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) {
|
|
@@ -5599,8 +5599,8 @@ async function $a7315720bf2a1638$export$b0a773486c1c2312(t, recommendation_rende
|
|
|
5599
5599
|
}
|
|
5600
5600
|
|
|
5601
5601
|
// @ts-ignore
|
|
5602
|
-
var $
|
|
5603
|
-
$
|
|
5602
|
+
var $b666601c05dee9b7$exports = {};
|
|
5603
|
+
$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";
|
|
5604
5604
|
let $79804e8d76404ae4$var$slider_styling_was_inserted = false;
|
|
5605
5605
|
async function $79804e8d76404ae4$export$82cfdc85a4d15688(t, recommendation_renderer_options, {
|
|
5606
5606
|
container_elements: container_elements,
|
|
@@ -5623,7 +5623,7 @@ async function $79804e8d76404ae4$export$82cfdc85a4d15688(t, recommendation_rende
|
|
|
5623
5623
|
if (!elements) return rendering_result;
|
|
5624
5624
|
if (!$79804e8d76404ae4$var$slider_styling_was_inserted) {
|
|
5625
5625
|
$79804e8d76404ae4$var$slider_styling_was_inserted = true;
|
|
5626
|
-
$e4bebbfa0f0b1454$export$59ba1eb2c083f0cd((0, /*@__PURE__*/$parcel$interopDefault($
|
|
5626
|
+
$e4bebbfa0f0b1454$export$59ba1eb2c083f0cd((0, /*@__PURE__*/$parcel$interopDefault($b666601c05dee9b7$exports)));
|
|
5627
5627
|
}
|
|
5628
5628
|
insertion_point.replaceWith(slider.container);
|
|
5629
5629
|
slider.insert_here.append(...elements);
|
|
@@ -7693,8 +7693,8 @@ async function $bd0fccdac6624b01$export$c068ad5361be7646({
|
|
|
7693
7693
|
}));
|
|
7694
7694
|
}
|
|
7695
7695
|
$z0IcO$solidjsweb.delegateEvents(["click"]);
|
|
7696
|
-
var $
|
|
7697
|
-
$
|
|
7696
|
+
var $adc99c8c4278ad03$exports = {};
|
|
7697
|
+
$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";
|
|
7698
7698
|
var $e587cb3b31b82f43$var$_tmpl$ = /*#__PURE__*/$z0IcO$solidjsweb.template(`<div>`);
|
|
7699
7699
|
let $e587cb3b31b82f43$var$inserted = false;
|
|
7700
7700
|
const $e587cb3b31b82f43$export$84712d0562a614b8 = ({
|
|
@@ -7706,7 +7706,7 @@ const $e587cb3b31b82f43$export$84712d0562a614b8 = ({
|
|
|
7706
7706
|
}) => {
|
|
7707
7707
|
if (!$e587cb3b31b82f43$var$inserted) {
|
|
7708
7708
|
// Insert styling on first import
|
|
7709
|
-
$e4bebbfa0f0b1454$export$59ba1eb2c083f0cd((0, /*@__PURE__*/$parcel$interopDefault($
|
|
7709
|
+
$e4bebbfa0f0b1454$export$59ba1eb2c083f0cd((0, /*@__PURE__*/$parcel$interopDefault($adc99c8c4278ad03$exports)));
|
|
7710
7710
|
$e587cb3b31b82f43$var$inserted = true;
|
|
7711
7711
|
}
|
|
7712
7712
|
return (() => {
|
|
@@ -7933,8 +7933,8 @@ const $b25f388f0fe2f1b3$export$237455ad7e59d4e5 = ({
|
|
|
7933
7933
|
collapse: collapse
|
|
7934
7934
|
};
|
|
7935
7935
|
};
|
|
7936
|
-
var $
|
|
7937
|
-
$
|
|
7936
|
+
var $9b2faeca6842dc4b$exports = {};
|
|
7937
|
+
$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";
|
|
7938
7938
|
var $ff973b2032639b5f$var$_tmpl$ = /*#__PURE__*/$z0IcO$solidjsweb.template(`<img>`),
|
|
7939
7939
|
$ff973b2032639b5f$var$_tmpl$2 = /*#__PURE__*/$z0IcO$solidjsweb.template(`<source sizes=0px>`),
|
|
7940
7940
|
$ff973b2032639b5f$var$_tmpl$3 = /*#__PURE__*/$z0IcO$solidjsweb.template(`<picture>`);
|
|
@@ -8104,7 +8104,7 @@ const $a312bccd722ac9e4$export$788756b42446dc2d = ({
|
|
|
8104
8104
|
}) => {
|
|
8105
8105
|
if (!$a312bccd722ac9e4$var$inserted) {
|
|
8106
8106
|
// Insert styling on first import
|
|
8107
|
-
$e4bebbfa0f0b1454$export$59ba1eb2c083f0cd((0, /*@__PURE__*/$parcel$interopDefault($
|
|
8107
|
+
$e4bebbfa0f0b1454$export$59ba1eb2c083f0cd((0, /*@__PURE__*/$parcel$interopDefault($9b2faeca6842dc4b$exports)));
|
|
8108
8108
|
$a312bccd722ac9e4$var$inserted = true;
|
|
8109
8109
|
}
|
|
8110
8110
|
const img = process.env.BUILD_TARGET === "modern" || process.env.BUILD_TARGET === "dev" ? $a312bccd722ac9e4$var$Image(options) : $a312bccd722ac9e4$var$CompatibleImage(options);
|
|
@@ -8188,8 +8188,8 @@ function $a312bccd722ac9e4$var$srcset_comp_from_map_or_new(rendering_options, sr
|
|
|
8188
8188
|
}
|
|
8189
8189
|
return sourceset_component;
|
|
8190
8190
|
}
|
|
8191
|
-
var $
|
|
8192
|
-
$
|
|
8191
|
+
var $da6327fdb5e3fda6$exports = {};
|
|
8192
|
+
$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";
|
|
8193
8193
|
var $a656daa2fa8c279a$var$_tmpl$ = /*#__PURE__*/$z0IcO$solidjsweb.template(`<div class=images-container><!$><!/><div class=main-image-container>`),
|
|
8194
8194
|
$a656daa2fa8c279a$var$_tmpl$2 = /*#__PURE__*/$z0IcO$solidjsweb.template(`<div class=second-image-container>`);
|
|
8195
8195
|
// Saving bytez
|
|
@@ -8318,7 +8318,7 @@ const $a656daa2fa8c279a$export$2369f6fc1c911576 = ({
|
|
|
8318
8318
|
...options
|
|
8319
8319
|
}) => {
|
|
8320
8320
|
if (!$a656daa2fa8c279a$var$styling_inserted) {
|
|
8321
|
-
$e4bebbfa0f0b1454$export$59ba1eb2c083f0cd((0, /*@__PURE__*/$parcel$interopDefault($
|
|
8321
|
+
$e4bebbfa0f0b1454$export$59ba1eb2c083f0cd((0, /*@__PURE__*/$parcel$interopDefault($da6327fdb5e3fda6$exports)));
|
|
8322
8322
|
$a656daa2fa8c279a$var$styling_inserted = true;
|
|
8323
8323
|
}
|
|
8324
8324
|
const main_image = $a312bccd722ac9e4$export$788756b42446dc2d({
|
package/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/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) {
|
|
@@ -5340,8 +5340,8 @@ async function $090b8182afa1b2a6$export$b0a773486c1c2312(t, recommendation_rende
|
|
|
5340
5340
|
}
|
|
5341
5341
|
|
|
5342
5342
|
// @ts-ignore
|
|
5343
|
-
var $
|
|
5344
|
-
$
|
|
5343
|
+
var $a263a1eebfe78087$exports = {};
|
|
5344
|
+
$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";
|
|
5345
5345
|
let $30f78542ed78cd31$var$slider_styling_was_inserted = false;
|
|
5346
5346
|
async function $30f78542ed78cd31$export$82cfdc85a4d15688(t, recommendation_renderer_options, {
|
|
5347
5347
|
container_elements: container_elements,
|
|
@@ -5364,7 +5364,7 @@ async function $30f78542ed78cd31$export$82cfdc85a4d15688(t, recommendation_rende
|
|
|
5364
5364
|
if (!elements) return rendering_result;
|
|
5365
5365
|
if (!$30f78542ed78cd31$var$slider_styling_was_inserted) {
|
|
5366
5366
|
$30f78542ed78cd31$var$slider_styling_was_inserted = true;
|
|
5367
|
-
$0a581f1dfa083522$export$59ba1eb2c083f0cd((0, /*@__PURE__*/$parcel$interopDefault($
|
|
5367
|
+
$0a581f1dfa083522$export$59ba1eb2c083f0cd((0, /*@__PURE__*/$parcel$interopDefault($a263a1eebfe78087$exports)));
|
|
5368
5368
|
}
|
|
5369
5369
|
insertion_point.replaceWith(slider.container);
|
|
5370
5370
|
slider.insert_here.append(...elements);
|
|
@@ -7434,8 +7434,8 @@ async function $72d170fd5c7cb3fe$export$c068ad5361be7646({
|
|
|
7434
7434
|
}));
|
|
7435
7435
|
}
|
|
7436
7436
|
$qgKv4$delegateEvents(["click"]);
|
|
7437
|
-
var $
|
|
7438
|
-
$
|
|
7437
|
+
var $97e49e6362cc0f5e$exports = {};
|
|
7438
|
+
$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";
|
|
7439
7439
|
var $ad592d9ddbcffe72$var$_tmpl$ = /*#__PURE__*/$qgKv4$template(`<div>`);
|
|
7440
7440
|
let $ad592d9ddbcffe72$var$inserted = false;
|
|
7441
7441
|
const $ad592d9ddbcffe72$export$84712d0562a614b8 = ({
|
|
@@ -7447,7 +7447,7 @@ const $ad592d9ddbcffe72$export$84712d0562a614b8 = ({
|
|
|
7447
7447
|
}) => {
|
|
7448
7448
|
if (!$ad592d9ddbcffe72$var$inserted) {
|
|
7449
7449
|
// Insert styling on first import
|
|
7450
|
-
$0a581f1dfa083522$export$59ba1eb2c083f0cd((0, /*@__PURE__*/$parcel$interopDefault($
|
|
7450
|
+
$0a581f1dfa083522$export$59ba1eb2c083f0cd((0, /*@__PURE__*/$parcel$interopDefault($97e49e6362cc0f5e$exports)));
|
|
7451
7451
|
$ad592d9ddbcffe72$var$inserted = true;
|
|
7452
7452
|
}
|
|
7453
7453
|
return (() => {
|
|
@@ -7674,8 +7674,8 @@ const $7f57d546b5d5b3d6$export$237455ad7e59d4e5 = ({
|
|
|
7674
7674
|
collapse: collapse
|
|
7675
7675
|
};
|
|
7676
7676
|
};
|
|
7677
|
-
var $
|
|
7678
|
-
$
|
|
7677
|
+
var $8dc995f9c379e0e7$exports = {};
|
|
7678
|
+
$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";
|
|
7679
7679
|
var $45af9e834781a9bc$var$_tmpl$ = /*#__PURE__*/$qgKv4$template(`<img>`),
|
|
7680
7680
|
$45af9e834781a9bc$var$_tmpl$2 = /*#__PURE__*/$qgKv4$template(`<source sizes=0px>`),
|
|
7681
7681
|
$45af9e834781a9bc$var$_tmpl$3 = /*#__PURE__*/$qgKv4$template(`<picture>`);
|
|
@@ -7845,7 +7845,7 @@ const $914971fb43986a16$export$788756b42446dc2d = ({
|
|
|
7845
7845
|
}) => {
|
|
7846
7846
|
if (!$914971fb43986a16$var$inserted) {
|
|
7847
7847
|
// Insert styling on first import
|
|
7848
|
-
$0a581f1dfa083522$export$59ba1eb2c083f0cd((0, /*@__PURE__*/$parcel$interopDefault($
|
|
7848
|
+
$0a581f1dfa083522$export$59ba1eb2c083f0cd((0, /*@__PURE__*/$parcel$interopDefault($8dc995f9c379e0e7$exports)));
|
|
7849
7849
|
$914971fb43986a16$var$inserted = true;
|
|
7850
7850
|
}
|
|
7851
7851
|
const img = process.env.BUILD_TARGET === "modern" || process.env.BUILD_TARGET === "dev" ? $914971fb43986a16$var$Image(options) : $914971fb43986a16$var$CompatibleImage(options);
|
|
@@ -7929,8 +7929,8 @@ function $914971fb43986a16$var$srcset_comp_from_map_or_new(rendering_options, sr
|
|
|
7929
7929
|
}
|
|
7930
7930
|
return sourceset_component;
|
|
7931
7931
|
}
|
|
7932
|
-
var $
|
|
7933
|
-
$
|
|
7932
|
+
var $534c383471d24ff6$exports = {};
|
|
7933
|
+
$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";
|
|
7934
7934
|
var $8483d1d9fcee52ec$var$_tmpl$ = /*#__PURE__*/$qgKv4$template(`<div class=images-container><!$><!/><div class=main-image-container>`),
|
|
7935
7935
|
$8483d1d9fcee52ec$var$_tmpl$2 = /*#__PURE__*/$qgKv4$template(`<div class=second-image-container>`);
|
|
7936
7936
|
// Saving bytez
|
|
@@ -8059,7 +8059,7 @@ const $8483d1d9fcee52ec$export$2369f6fc1c911576 = ({
|
|
|
8059
8059
|
...options
|
|
8060
8060
|
}) => {
|
|
8061
8061
|
if (!$8483d1d9fcee52ec$var$styling_inserted) {
|
|
8062
|
-
$0a581f1dfa083522$export$59ba1eb2c083f0cd((0, /*@__PURE__*/$parcel$interopDefault($
|
|
8062
|
+
$0a581f1dfa083522$export$59ba1eb2c083f0cd((0, /*@__PURE__*/$parcel$interopDefault($534c383471d24ff6$exports)));
|
|
8063
8063
|
$8483d1d9fcee52ec$var$styling_inserted = true;
|
|
8064
8064
|
}
|
|
8065
8065
|
const main_image = $914971fb43986a16$export$788756b42446dc2d({
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@depict-ai/utilishared",
|
|
3
|
-
"version": "2.1.
|
|
3
|
+
"version": "2.1.4",
|
|
4
4
|
"packageManager": "yarn@3.2.2",
|
|
5
5
|
"source": "src/index.ts",
|
|
6
6
|
"types": "ES10/index.d.ts",
|
|
@@ -139,7 +139,7 @@
|
|
|
139
139
|
],
|
|
140
140
|
"devDependencies": {
|
|
141
141
|
"@babel/core": "latest",
|
|
142
|
-
"@depict-ai/types": "^5.1.
|
|
142
|
+
"@depict-ai/types": "^5.1.4",
|
|
143
143
|
"@parcel/resolver-default": "^2.10.3",
|
|
144
144
|
"@sentry/cli": "^2.21.2",
|
|
145
145
|
"@sentry/types": "^7.75.1",
|