@depict-ai/utilishared 2.1.4 → 2.1.6
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 +68 -65
- package/ES10/index.d.ts +20 -19
- package/ES10/index.js +68 -66
- package/latest/index.cjs +67 -64
- package/latest/index.d.ts +20 -19
- package/latest/index.js +67 -65
- package/package.json +1 -1
- package/server/ES10/index.cjs +68 -65
- package/server/ES10/index.d.ts +20 -19
- package/server/ES10/index.js +68 -66
- package/server/latest/index.cjs +67 -64
- package/server/latest/index.d.ts +20 -19
- package/server/latest/index.js +67 -65
package/server/ES10/index.js
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { onCleanup as $hrhbO$onCleanup, createEffect as $hrhbO$createEffect, createSignal as $hrhbO$createSignal } from "solid-js";
|
|
2
1
|
import $hrhbO$babelruntimehelpersdefineProperty from "@babel/runtime/helpers/defineProperty";
|
|
2
|
+
import { onCleanup as $hrhbO$onCleanup, createEffect as $hrhbO$createEffect, createSignal as $hrhbO$createSignal } from "solid-js";
|
|
3
3
|
import $hrhbO$babelruntimehelpersclassPrivateFieldSet from "@babel/runtime/helpers/classPrivateFieldSet";
|
|
4
4
|
import $hrhbO$babelruntimehelpersclassPrivateFieldGet from "@babel/runtime/helpers/classPrivateFieldGet";
|
|
5
5
|
import { ssr as $hrhbO$ssr, ssrHydrationKey as $hrhbO$ssrHydrationKey, escape as $hrhbO$escape, ssrAttribute as $hrhbO$ssrAttribute, ssrElement as $hrhbO$ssrElement, mergeProps as $hrhbO$mergeProps, createComponent as $hrhbO$createComponent, ssrStyle as $hrhbO$ssrStyle } from "solid-js/web";
|
|
@@ -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.6";
|
|
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]";
|
|
@@ -55,33 +55,6 @@ function $ea5707b8e7b350cf$export$fe609f0216e4ebef(url) {
|
|
|
55
55
|
for (const [key, value] of Object.entries($ea5707b8e7b350cf$export$60d1d0e3cfc8b9ed)) url_object.searchParams.set(key, value);
|
|
56
56
|
return got_url_object ? url_object.href : url_object;
|
|
57
57
|
}
|
|
58
|
-
|
|
59
|
-
/**
|
|
60
|
-
* Finds most frequent item in an array, written by chatGPT with some nudging. Returns `undefined` if the array is empty.
|
|
61
|
-
* @param arr array to find the most frequent item in
|
|
62
|
-
*/
|
|
63
|
-
function $c9b2d210d5bbc418$export$2d9dc2897d88588(arr) {
|
|
64
|
-
const freqMap = arr.reduce((map, item) => map.set(item, (map.get(item) || 0) + 1), new Map());
|
|
65
|
-
const maxFreq = Math.max(...freqMap.values());
|
|
66
|
-
for (let [key, value] of freqMap) {
|
|
67
|
-
if (value === maxFreq) return key;
|
|
68
|
-
}
|
|
69
|
-
}
|
|
70
|
-
|
|
71
|
-
// Source: https://stackoverflow.com/a/30106551
|
|
72
|
-
/**
|
|
73
|
-
* Encoding UTF8 ⇢ base64
|
|
74
|
-
*/
|
|
75
|
-
function $5c580d87c093cc47$export$a1893782a2a6be0d(str) {
|
|
76
|
-
return btoa(encodeURIComponent(str).replace(/%([0-9A-F]{2})/g, function (match, p1) {
|
|
77
|
-
return String.fromCharCode(parseInt(p1, 16));
|
|
78
|
-
}));
|
|
79
|
-
}
|
|
80
|
-
function $5c580d87c093cc47$export$a7e53ec3b3fdd030(str) {
|
|
81
|
-
return decodeURIComponent(Array.prototype.map.call(atob(str), function (c) {
|
|
82
|
-
return "%" + ("00" + c.charCodeAt(0).toString(16)).slice(-2);
|
|
83
|
-
}).join(""));
|
|
84
|
-
}
|
|
85
58
|
class $449d6683cecfa078$export$e2c811ae0eb35313 {
|
|
86
59
|
constructor() {
|
|
87
60
|
$hrhbO$babelruntimehelpersdefineProperty(this, "subscribers_", []);
|
|
@@ -324,6 +297,27 @@ function $7ca6fdc721083788$export$10c3e52ef388b81b(ipns) {
|
|
|
324
297
|
if (!internal_state_obj) throw new Error("Couldn't get state obj");
|
|
325
298
|
return $7ca6fdc721083788$export$e806c6c1615a59ae(true, internal_state_obj);
|
|
326
299
|
}
|
|
300
|
+
const $17bb552dedcd526c$export$af2e17a20c2ea3c5 = !(process.env.SENTRY === "true" || process.env.DEPICT_ERROR_REPORTING === "true" || process.env.NEXT_PUBLIC_DEPICT_ERROR_REPORTING === "true") && (process.env.SENTRY === "false" || process.env.DEPICT_ERROR_REPORTING === "false" || process.env.NEXT_PUBLIC_DEPICT_ERROR_REPORTING === "false" || (0, $a5a2bdb4ae93374b$export$55fe61489d2c7417)) ? /*@__PURE__*/$17bb552dedcd526c$var$fakesentry() : /*@__PURE__*/$e5da8b4d1e6c12b3$export$2e2bcd8739ae039(process.env.TENANT || "unknown", undefined, (0, $241f2f02cc612a49$export$de56f1198d121036));
|
|
301
|
+
function $17bb552dedcd526c$var$fakesentry() {
|
|
302
|
+
// // source: https://docs.sentry.io/platforms/javascript/troubleshooting/#dealing-with-ad-blockers
|
|
303
|
+
// const handler = {
|
|
304
|
+
// get: function (_, key) {
|
|
305
|
+
// return new Proxy(function (cb) {
|
|
306
|
+
// if (key === "flush" || key === "close") return Promise.resolve();
|
|
307
|
+
// if (typeof cb === "function") return cb(fake_sentry);
|
|
308
|
+
// return fake_sentry;
|
|
309
|
+
// }, handler);
|
|
310
|
+
// },
|
|
311
|
+
// };
|
|
312
|
+
// var fake_sentry = new Proxy({ captureException: () => {}, captureMessage: () => {}, withScope: () => {} }, handler);
|
|
313
|
+
// the magical proxy stuff has infinite looped for me on rp, old fashioned NOOP functions will have to make do
|
|
314
|
+
const fake_sentry = {
|
|
315
|
+
captureException: () => {},
|
|
316
|
+
captureMessage: () => {},
|
|
317
|
+
withScope: () => {}
|
|
318
|
+
};
|
|
319
|
+
return fake_sentry;
|
|
320
|
+
}
|
|
327
321
|
function $b000f5ef6ce456d9$export$8048b892d651b310(exception, error_for_stack) {
|
|
328
322
|
$241f2f02cc612a49$export$de56f1198d121036(exception);
|
|
329
323
|
if (0, $a5a2bdb4ae93374b$export$55fe61489d2c7417) /* eslint-disable no-console */console.trace();
|
|
@@ -409,6 +403,8 @@ function $2da62df28669a48a$export$79f910a98828378d(obj, variable, async_iterator
|
|
|
409
403
|
});
|
|
410
404
|
return definition_ipns;
|
|
411
405
|
}
|
|
406
|
+
let $e5da8b4d1e6c12b3$var$overrideEnvironment;
|
|
407
|
+
const $e5da8b4d1e6c12b3$export$a13bb02a27aaa5e6 = env => $e5da8b4d1e6c12b3$var$overrideEnvironment = env;
|
|
412
408
|
function $e5da8b4d1e6c12b3$export$2e2bcd8739ae039(TENANT, more_options, dlog, extra_sentry_url, script_integrity) {
|
|
413
409
|
const sentry_object = {};
|
|
414
410
|
if (process.env.BUILD_TARGET !== "modern" && Proxy.toString().indexOf("[native code]") === -1) {
|
|
@@ -532,7 +528,7 @@ async function $e5da8b4d1e6c12b3$var$load_sentry(TENANT) {
|
|
|
532
528
|
const client = new BrowserClient({
|
|
533
529
|
dsn: "https://1dd6c18a286b40a69dab1cdfe80bad9b@o464891.ingest.sentry.io/5476183",
|
|
534
530
|
release: process.env.sentry_version,
|
|
535
|
-
environment: TENANT,
|
|
531
|
+
environment: $e5da8b4d1e6c12b3$var$overrideEnvironment || TENANT,
|
|
536
532
|
// @ts-ignore - can't seem to get the typing to work
|
|
537
533
|
integrations: defaultIntegrations,
|
|
538
534
|
...more_options
|
|
@@ -545,26 +541,32 @@ async function $e5da8b4d1e6c12b3$var$load_sentry(TENANT) {
|
|
|
545
541
|
// https://github.com/getsentry/sentry-javascript/issues/2541
|
|
546
542
|
return hub;
|
|
547
543
|
}
|
|
548
|
-
|
|
549
|
-
|
|
550
|
-
|
|
551
|
-
|
|
552
|
-
|
|
553
|
-
|
|
554
|
-
|
|
555
|
-
|
|
556
|
-
|
|
557
|
-
|
|
558
|
-
|
|
559
|
-
|
|
560
|
-
|
|
561
|
-
|
|
562
|
-
|
|
563
|
-
|
|
564
|
-
|
|
565
|
-
|
|
566
|
-
}
|
|
567
|
-
|
|
544
|
+
|
|
545
|
+
/**
|
|
546
|
+
* Finds most frequent item in an array, written by chatGPT with some nudging. Returns `undefined` if the array is empty.
|
|
547
|
+
* @param arr array to find the most frequent item in
|
|
548
|
+
*/
|
|
549
|
+
function $c9b2d210d5bbc418$export$2d9dc2897d88588(arr) {
|
|
550
|
+
const freqMap = arr.reduce((map, item) => map.set(item, (map.get(item) || 0) + 1), new Map());
|
|
551
|
+
const maxFreq = Math.max(...freqMap.values());
|
|
552
|
+
for (let [key, value] of freqMap) {
|
|
553
|
+
if (value === maxFreq) return key;
|
|
554
|
+
}
|
|
555
|
+
}
|
|
556
|
+
|
|
557
|
+
// Source: https://stackoverflow.com/a/30106551
|
|
558
|
+
/**
|
|
559
|
+
* Encoding UTF8 ⇢ base64
|
|
560
|
+
*/
|
|
561
|
+
function $5c580d87c093cc47$export$a1893782a2a6be0d(str) {
|
|
562
|
+
return btoa(encodeURIComponent(str).replace(/%([0-9A-F]{2})/g, function (match, p1) {
|
|
563
|
+
return String.fromCharCode(parseInt(p1, 16));
|
|
564
|
+
}));
|
|
565
|
+
}
|
|
566
|
+
function $5c580d87c093cc47$export$a7e53ec3b3fdd030(str) {
|
|
567
|
+
return decodeURIComponent(Array.prototype.map.call(atob(str), function (c) {
|
|
568
|
+
return "%" + ("00" + c.charCodeAt(0).toString(16)).slice(-2);
|
|
569
|
+
}).join(""));
|
|
568
570
|
}
|
|
569
571
|
function $5e1f45affc1d7def$export$b3bbfd758f11cfa9(fn, message) {
|
|
570
572
|
let severity = arguments.length > 2 && arguments[2] !== undefined ? arguments[2] : "error";
|
|
@@ -5142,8 +5144,8 @@ $48b0f027b215b8ad$export$2e2bcd8739ae039 = async options => {
|
|
|
5142
5144
|
};
|
|
5143
5145
|
|
|
5144
5146
|
// @ts-ignore
|
|
5145
|
-
var $
|
|
5146
|
-
$
|
|
5147
|
+
var $d58f55a8abd5e8fe$exports = {};
|
|
5148
|
+
$d58f55a8abd5e8fe$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";
|
|
5147
5149
|
const $0342f59060b8a196$var$default_image_src = "data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0iMS4wIiBlbmNvZGluZz0idXRmLTgiPz4NCjwhLS0gR2VuZXJhdG9yOiBBZG9iZSBJbGx1c3RyYXRvciAyMy4wLjYsIFNWRyBFeHBvcnQgUGx1Zy1JbiAuIFNWRyBWZXJzaW9uOiA2LjAwIEJ1aWxkIDApICAtLT4NCjxzdmcgdmVyc2lvbj0iMS4xIiBpZD0iTGF5ZXJfMSIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIiB4bWxuczp4bGluaz0iaHR0cDovL3d3dy53My5vcmcvMTk5OS94bGluayIgeD0iMHB4IiB5PSIwcHgiDQoJIHZpZXdCb3g9IjAgMCAxNiAxNiIgc3R5bGU9ImVuYWJsZS1iYWNrZ3JvdW5kOm5ldyAwIDAgMTYgMTY7IiB4bWw6c3BhY2U9InByZXNlcnZlIj4NCjxwb2x5Z29uIHBvaW50cz0iOSwyLjYgOC4zLDMuNCAxMi40LDcuNSAxLjYsNy41IDEuNiw4LjUgMTIuNCw4LjUgOC4zLDEyLjYgOSwxMy40IDE0LjQsOCAiLz4NCjwvc3ZnPg0K";
|
|
5148
5150
|
class $0342f59060b8a196$export$4d41c6499d53639c extends (0, $f340c415f2e1d03a$export$68babfc5be0de5da) {
|
|
5149
5151
|
constructor(static_options, override_lazyfier_options) {
|
|
@@ -5175,7 +5177,7 @@ class $0342f59060b8a196$export$4d41c6499d53639c extends (0, $f340c415f2e1d03a$ex
|
|
|
5175
5177
|
function $0342f59060b8a196$export$f1b8b9fd75ddcab1(slider) {
|
|
5176
5178
|
const style_elem = document.createElement("style");
|
|
5177
5179
|
style_elem.type = "text/css";
|
|
5178
|
-
style_elem.append((0, /*@__PURE__*/$parcel$interopDefault($
|
|
5180
|
+
style_elem.append((0, /*@__PURE__*/$parcel$interopDefault($d58f55a8abd5e8fe$exports)));
|
|
5179
5181
|
slider.container.appendChild(style_elem);
|
|
5180
5182
|
}
|
|
5181
5183
|
async function $b7b39b38d6e695e9$export$cd12721587f4f16d(t, rendering_options, options_for_us, slider_options, override_lazyfier_options) {
|
|
@@ -5844,8 +5846,8 @@ async function $297a08bac2d81fab$export$b0a773486c1c2312(t, recommendation_rende
|
|
|
5844
5846
|
}
|
|
5845
5847
|
|
|
5846
5848
|
// @ts-ignore
|
|
5847
|
-
var $
|
|
5848
|
-
$
|
|
5849
|
+
var $f10bc4dab5f8ea7b$exports = {};
|
|
5850
|
+
$f10bc4dab5f8ea7b$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";
|
|
5849
5851
|
let $d89e3aaeb9270095$var$slider_styling_was_inserted = false;
|
|
5850
5852
|
async function $d89e3aaeb9270095$export$82cfdc85a4d15688(t, recommendation_renderer_options, _ref) {
|
|
5851
5853
|
let {
|
|
@@ -5869,7 +5871,7 @@ async function $d89e3aaeb9270095$export$82cfdc85a4d15688(t, recommendation_rende
|
|
|
5869
5871
|
if (!elements) return rendering_result;
|
|
5870
5872
|
if (!$d89e3aaeb9270095$var$slider_styling_was_inserted) {
|
|
5871
5873
|
$d89e3aaeb9270095$var$slider_styling_was_inserted = true;
|
|
5872
|
-
$1013f2e568f87406$export$59ba1eb2c083f0cd((0, /*@__PURE__*/$parcel$interopDefault($
|
|
5874
|
+
$1013f2e568f87406$export$59ba1eb2c083f0cd((0, /*@__PURE__*/$parcel$interopDefault($f10bc4dab5f8ea7b$exports)));
|
|
5873
5875
|
}
|
|
5874
5876
|
insertion_point.replaceWith(slider.container);
|
|
5875
5877
|
slider.insert_here.append(...elements);
|
|
@@ -7962,8 +7964,8 @@ async function $24f3fd73864991c0$export$c068ad5361be7646(_ref) {
|
|
|
7962
7964
|
on_close_(exit_oos_iterator);
|
|
7963
7965
|
}));
|
|
7964
7966
|
}
|
|
7965
|
-
var $
|
|
7966
|
-
$
|
|
7967
|
+
var $aae9878972b17321$exports = {};
|
|
7968
|
+
$aae9878972b17321$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";
|
|
7967
7969
|
let $adc0bb548fdb574f$var$inserted = false;
|
|
7968
7970
|
const $adc0bb548fdb574f$export$84712d0562a614b8 = _ref => {
|
|
7969
7971
|
let {
|
|
@@ -7975,7 +7977,7 @@ const $adc0bb548fdb574f$export$84712d0562a614b8 = _ref => {
|
|
|
7975
7977
|
} = _ref;
|
|
7976
7978
|
if (!$adc0bb548fdb574f$var$inserted) {
|
|
7977
7979
|
// Insert styling on first import
|
|
7978
|
-
$1013f2e568f87406$export$59ba1eb2c083f0cd((0, /*@__PURE__*/$parcel$interopDefault($
|
|
7980
|
+
$1013f2e568f87406$export$59ba1eb2c083f0cd((0, /*@__PURE__*/$parcel$interopDefault($aae9878972b17321$exports)));
|
|
7979
7981
|
$adc0bb548fdb574f$var$inserted = true;
|
|
7980
7982
|
}
|
|
7981
7983
|
return $hrhbO$ssrElement("div", $hrhbO$mergeProps({
|
|
@@ -8171,8 +8173,8 @@ const $0f55c2bc0a7b363b$export$237455ad7e59d4e5 = function () {
|
|
|
8171
8173
|
collapse: collapse
|
|
8172
8174
|
};
|
|
8173
8175
|
};
|
|
8174
|
-
var $
|
|
8175
|
-
$
|
|
8176
|
+
var $5305cfbbfffd9dc8$exports = {};
|
|
8177
|
+
$5305cfbbfffd9dc8$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";
|
|
8176
8178
|
var $9ef5ce4804a3b61b$var$_tmpl$ = ["<picture", ">", "</picture>"];
|
|
8177
8179
|
const $9ef5ce4804a3b61b$export$3d13beba9b52c947 = "https://img.depict.ai/ResizeImage" + (process.env.TENANT ? "/" + process.env.TENANT : "");
|
|
8178
8180
|
const $9ef5ce4804a3b61b$export$a98fc8a2c818d3d8 = /*@__PURE__*/(() => typeof navigator === "undefined" ? false : /^((?!chrome|android).)*safari/i.test(navigator.userAgent))(); // https://stackoverflow.com/a/23522755
|
|
@@ -8330,7 +8332,7 @@ const $c987460cedc0d7ec$export$788756b42446dc2d = _ref => {
|
|
|
8330
8332
|
} = _ref;
|
|
8331
8333
|
if (!$c987460cedc0d7ec$var$inserted) {
|
|
8332
8334
|
// Insert styling on first import
|
|
8333
|
-
$1013f2e568f87406$export$59ba1eb2c083f0cd((0, /*@__PURE__*/$parcel$interopDefault($
|
|
8335
|
+
$1013f2e568f87406$export$59ba1eb2c083f0cd((0, /*@__PURE__*/$parcel$interopDefault($5305cfbbfffd9dc8$exports)));
|
|
8334
8336
|
$c987460cedc0d7ec$var$inserted = true;
|
|
8335
8337
|
}
|
|
8336
8338
|
const img = process.env.BUILD_TARGET === "modern" || process.env.BUILD_TARGET === "dev" ? $c987460cedc0d7ec$var$Image(options) : $c987460cedc0d7ec$var$CompatibleImage(options);
|
|
@@ -8405,8 +8407,8 @@ function $c987460cedc0d7ec$var$srcset_comp_from_map_or_new(rendering_options) {
|
|
|
8405
8407
|
}
|
|
8406
8408
|
return sourceset_component;
|
|
8407
8409
|
}
|
|
8408
|
-
var $
|
|
8409
|
-
$
|
|
8410
|
+
var $8254bab8001eaa15$exports = {};
|
|
8411
|
+
$8254bab8001eaa15$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";
|
|
8410
8412
|
var $73f0a7e385687d5d$var$_tmpl$ = ["<div", ' class="images-container"><!--$-->', '<!--/--><div class="main-image-container">', "</div></div>"],
|
|
8411
8413
|
$73f0a7e385687d5d$var$_tmpl$2 = ["<div", ' class="second-image-container">', "</div>"];
|
|
8412
8414
|
// Saving bytez
|
|
@@ -8541,7 +8543,7 @@ const $73f0a7e385687d5d$export$2369f6fc1c911576 = _ref => {
|
|
|
8541
8543
|
...options
|
|
8542
8544
|
} = _ref;
|
|
8543
8545
|
if (!$73f0a7e385687d5d$var$styling_inserted) {
|
|
8544
|
-
$1013f2e568f87406$export$59ba1eb2c083f0cd((0, /*@__PURE__*/$parcel$interopDefault($
|
|
8546
|
+
$1013f2e568f87406$export$59ba1eb2c083f0cd((0, /*@__PURE__*/$parcel$interopDefault($8254bab8001eaa15$exports)));
|
|
8545
8547
|
$73f0a7e385687d5d$var$styling_inserted = true;
|
|
8546
8548
|
}
|
|
8547
8549
|
const main_image = $c987460cedc0d7ec$export$788756b42446dc2d({
|
|
@@ -8677,4 +8679,4 @@ function $34eb7e26a9a798f2$export$e35115e6d0715f77() {
|
|
|
8677
8679
|
return href;
|
|
8678
8680
|
}
|
|
8679
8681
|
$ea5707b8e7b350cf$export$2cefb7e61fcbae00("utilishared", (0, $b9e07ce3c67aa344$export$83d89fbfd8236492));
|
|
8680
|
-
export { $c9b2d210d5bbc418$export$2d9dc2897d88588 as findMostFrequentItem, $5c580d87c093cc47$export$a7e53ec3b3fdd030 as base64_decode_unicode, $5c580d87c093cc47$export$a1893782a2a6be0d as base64_encode_unicode, $5f4e0abe3139380e$export$6f051469dd676a8b as make_plp_recommendations_inserted_handler, $ea5707b8e7b350cf$export$60d1d0e3cfc8b9ed as version_info, $ea5707b8e7b350cf$export$fe609f0216e4ebef as add_version_query_params, $cdf4691608b4019f$export$6e7454c733fa1fb2 as cache_args, $bcc7b73f8b96a6f0$export$8582cf3716962dc2 as check_displays, $b000f5ef6ce456d9$export$8048b892d651b310 as err, $a01cf8e3169d2af1$export$16d7c76794a38a4 as require_event_listener, $a496a9038b9c02cf$export$41de2959a8dd405d as Auto_GWVM, $ddeca43328b507f6$export$c83d8da642b5104a as GWVM_Renderer, $6a44fa3f1acf7693$export$55621c1ce3cd536b as infinite_promise_creator, $4c6e595091defcd9$export$32ccf3a614c84258 as infinite_promise_no_skip, $d3b90d5099bf2925$export$c0a4d29bc45a38c6 as infinite_renderer, $3ee6c00e6df1008f$export$9eae832ae57fbf as deprecated_insert_styling, $e64690bc3a7de2b1$export$c7187bbd1a7a9244 as placeholder, $d4f914b34cc77d0c$export$cab8bc58c64c2013 as Pro_Slider, $48b0f027b215b8ad$export$2e2bcd8739ae039 as simplified_template_tool, $0342f59060b8a196$export$f1b8b9fd75ddcab1 as insert_styling_into_slider, $b7b39b38d6e695e9$export$cd12721587f4f16d as RR_Slider, $eb252431088a7c2b$export$1a8782481a9af507 as Depict, $193ee64f5599f8a8$export$30933c637c977eef as get_recs_with_template, $193ee64f5599f8a8$export$c410ce1205e5118a as default_post_processor, $193ee64f5599f8a8$export$4f39078bdc72ecd0 as default_pre_processor, $03021b39f80fac4b$export$2e2bcd8739ae039 as wpff, $7d82513db34b5d27$export$12e07a2a9f87578a as ElementObserver, $90fa633a9564f115$export$b6ae1bc530f4c149 as observer, $0f650018c3cbc373$export$34b9dba7ce09269b as jsx, $0f650018c3cbc373$export$25062201e9e25d76 as jsxs, $a285401a927e4306$export$eb0b9ed911409b57 as use_element, $a285401a927e4306$export$f63fcc839cb0f734 as use_listener, $a285401a927e4306$export$22a65337c1b43b1f as classlist, $0f650018c3cbc373$export$ffb0004e005737fa as Fragment, $241f2f02cc612a49$export$de56f1198d121036 as dlog, $241f2f02cc612a49$export$997143d41f6a0c9b as derror, $241f2f02cc612a49$export$c2363754d4758444 as dwarn, $241f2f02cc612a49$export$2dd75a6b038dc8cb as set_browser_prefix, $5e1f45affc1d7def$export$b3bbfd758f11cfa9 as catchify, $5e1f45affc1d7def$export$f18d5b0af29128b7 as report, $a5a2bdb4ae93374b$export$55fe61489d2c7417 as is_debug, $c755e2b0d4b18501$export$6038895ac52bd044 as chevronLeft, $c755e2b0d4b18501$export$dc84183312f0c201 as chevronRight, $0fe3923936d40f55$export$68c017fd93791405 as expandingContainer, $5f31622ffb78bc10$export$3be7054c61590ee3 as Lazyfier, $5f31622ffb78bc10$export$b87d7e0da8b5cbe3 as test_array_proxy_support, $be288a83d9eabf2a$export$692b27c28639e5b9 as Amazing_Slider, $20fe9624210ef635$export$16501883f477737a as colorize_elements, $20fe9624210ef635$export$deca40f48c0569f8 as should_colorizeLogics, $70017d06e57dffa8$export$50ce83ace0cdd87e as default_rr, $51dfcecbe05cc4e5$export$1bc0df10745d5412 as fetch_recs, $51dfcecbe05cc4e5$export$d40679eb4cf32f09 as fetch_recs_whole_response, $378c98788ab52b9c$export$c42139a43c877ecd as clone_deep, $378c98788ab52b9c$export$e0009e7da572f99b as regex_templating, $378c98788ab52b9c$export$a9fc160c5ed83bd7 as Rec_Renderer, $df6d080cba513381$export$17c3166a7ebd4688 as n_col_styling_with_dist, $df6d080cba513381$export$c84671f46d6a1ca as Layout, $df6d080cba513381$export$483bdd1f1186de13 as layout_get_visible_recs_without_partial_rows, $df6d080cba513381$export$3dc5e2383c924ebf as layout_get_total_rec_amount_for_row, $df6d080cba513381$export$717f13d9ba00ca19 as layout_media_query_header, $297a08bac2d81fab$export$b0a773486c1c2312 as RecommendationGrid, $d89e3aaeb9270095$export$82cfdc85a4d15688 as RecommendationSlider, $943514d07f57df12$export$6830ae1fbe21e589 as default_click_tracking, $943514d07f57df12$export$f37c58ab3d3e3b75 as default_view_tracking, $943514d07f57df12$export$dd32cb565eae0a1f as ga_click, $943514d07f57df12$export$8d72437623fef90c as gtag_click_post_processor, $943514d07f57df12$export$1bffac19f9f0d6fc as gtag_view_post_processor, $943514d07f57df12$export$e9106d6e723510d2 as depict_click_tracking_post_processor, $943514d07f57df12$export$fb9afe9f540ae069 as recs_inserted_tracking, $943514d07f57df12$export$32eb5dd18e963410 as add_to_localstorage, $943514d07f57df12$export$9e1caada6901f552 as depict_page_view, $b109421811582f8c$export$8cbd8aa1c70f9a13 as slider_autoscroll_factory, $090af64928922937$export$80039a49055269fb as make_button1, $66c5b496f7887c00$export$af88b4929c2dc86 as make_button2, $d3c54fdf1bfb087a$export$1d17a045bcc711b1 as slider_dots_factory, $d3c54fdf1bfb087a$export$a09282b33e69b43f as navdot, $3ad897e1659ee6d7$export$411b0f20794697ce as slider_draggable_factory, $21afac8db3f98820$export$5129719c04a52f8c as slider_fading_factory, $0cbf24ae3e670238$export$5723caf9a8335aa6 as slider_fractional_factory, $4837ebe61ecec421$export$93223e488e7ee078 as slider_show_scroll, $ff905d87817a07f4$export$b36d2489a5a16728 as slider_snap_css, $ff905d87817a07f4$export$49b950309ab787ad as can_use_snapping_and_still_scroll, $e1af55c2112926b7$export$dac64fd35a4805a4 as slider_snapping_factory, $f340c415f2e1d03a$export$68babfc5be0de5da as Amazing_Lazy_Slider, $c7030fdb9bcc361f$export$53306504b987cbf7 as slider_wraparound_factory, $aadc6d9eeb8e8a56$export$419f84efad7d9fe as sizes_to_surface, $aadc6d9eeb8e8a56$export$417ef0ab13d8b984 as surface_mixer, $aadc6d9eeb8e8a56$export$be95cb0e8cfd099e as promise_until_next_navigation, $f2fce07b3a330e05$export$29a6094e0bd8bc5f as AIO, $f2fce07b3a330e05$export$6ebd242c09192cec as paint_red, $bd7c9f254946941d$export$2c34560c3749dc63 as bind_to_a2c_button, $bd7c9f254946941d$export$82a685f2da2fb027 as bind_tracking_to_link, $d5f7352b58e0d737$export$15f8a0cd5a8c0ebb as depict_click, $d5f7352b58e0d737$export$82badda1f9923310 as depict_prefilled, $d5f7352b58e0d737$export$9028351cb994757e as depict_add_to_cart, $d5f7352b58e0d737$export$93ae15b1ae509334 as set_session_id_fn, $d5f7352b58e0d737$export$61e7e1f11e96692f as get_session_id, $d5f7352b58e0d737$export$622991c71a1f52b3 as get_cookie, $d5f7352b58e0d737$export$8c6f26a5b6921b95 as get_tracking_event_context_data, $814c3bf8e175fa59$export$72036d950e1fae95 as filter_depict_payload, $814c3bf8e175fa59$export$28cacbd9b4306ffc as send_depict, $814c3bf8e175fa59$export$cc3b6ddf805f6156 as foolproof_send_beacon, $814c3bf8e175fa59$export$608478473a3304a0 as send_depict_unfiltered, $814c3bf8e175fa59$export$aa26019042811d4f as send_websocket, $799496226e956169$export$674d8cd8b6868154 as create_ga_queue, $799496226e956169$export$edfedd0557ca5a2d as make_tracker_send_to_depict, $ed8073ecbced6e7e$export$1ff14fec60ed5697 as ga_to_transaction_api, $3674b9afc9a63520$export$f75172d2e289cd02 as send_ga, $3674b9afc9a63520$export$ac7296527cb52311 as setup_ga, $3674b9afc9a63520$export$d031e55ccd4c52dc as setup_gtag, $3674b9afc9a63520$export$f522672c9379e339 as gtag_click, $3674b9afc9a63520$export$bf205937e5e012cb as ga_purchase_click, $3674b9afc9a63520$export$127751e82111fcf as ga_rec_click, $3674b9afc9a63520$export$7babcd5d4056b2ca as gtag_view, $3674b9afc9a63520$export$f3354ec2ce95ebd9 as load_gtag, $d6c3e2ba045accda$export$4205dc6835bc0d9f as send_impression_event, $e89a1d249db21af0$export$37125ccc5dd98050 as impression_track_element, $c633189b7b69d048$export$d0efd8ed14f5c33 as impression_tracking_post_processor, $d6c3e2ba045accda$export$c543ee4cdb0d0964 as set_impression_threshold, $d6c3e2ba045accda$export$135da44d0ba958bc as impression_threshold, $d6c3e2ba045accda$export$ca8321ea61dc2544 as has_to_be_intersecting_for, $df87ac5a30f7baac$export$58c56fe2313fdbe3 as add_new_tab_listener, $df87ac5a30f7baac$export$836f70a28c317905 as broadcast_product_id, $df87ac5a30f7baac$export$8f66c4c7fb96eda2 as contextmenu_callback, $d4217f56717a3207$export$7e4427e80d5fc619 as optanon_get_cookie_ipns, $d4217f56717a3207$export$f0f6c846d96fdbec as init_optanon_tracking, $d4217f56717a3207$export$1dd9ce50e201eff1 as optanon_get_consent, $d4217f56717a3207$export$7a6d436e0782c6ed as optanon_wait_for_consent, $f991aad8d6175c9b$export$1ac466d53a6636ac as send_transaction_id_to_depict, $f991aad8d6175c9b$export$9ed4fbc47d558f94 as datalayer_interceptor, $f991aad8d6175c9b$export$b11248fa13a8a86c as datalayer_transaction_id_extractor, $f991aad8d6175c9b$export$3ebd86018b39d9d2 as orderpage_transaction_id_extractor, $f991aad8d6175c9b$export$ff8673d5dea82bd4 as url_transaction_id_extractor, $0897f35c3b3fbbc4$export$eee4c4d924348b05 as send_page_view_if_needed, $0897f35c3b3fbbc4$export$f7cb1bd47199ec38 as send_page_view_on_navigation, $f5a4b8e233f0e1cd$export$1d9c6fddbff3441f as DepictAPIWS, $429b4383ef3d586f$export$74108888f38788f3 as ListenableSet, $9c44a7238815fa47$export$535946eb77c946dd as deparallelize, $9c44a7238815fa47$export$f241be8e610f5c77 as deparallelize_no_drop, $ab9c3dbf2bb2fbf7$export$f8ea2e7b15b5d129 as buildThresholdList, $85906d121f53bacd$export$d9fdc6ce2907f95b as chaotic_closest, $652300c6621d5500$export$cfef5d5c9ac09253 as standard_price_format, $652300c6621d5500$export$9590700a594aef08 as ensure_object_path, $652300c6621d5500$export$925772df9b4d16e5 as ensure_parameter_in_url, $652300c6621d5500$export$44951404cb8d0583 as html2elems, $652300c6621d5500$export$d3e2a0560cbf4787 as html2elem, $652300c6621d5500$export$5e63aea0cac01fa0 as querySelectorAllElements, $652300c6621d5500$export$785f04709990c4ec as querySelectorUpwards, $652300c6621d5500$export$f124e3ee16e6b45d as intl_number_format_with_fallback, $652300c6621d5500$export$d4bd03f19260ef1c as relativify, $45d268baa2df1ba1$export$6b75200e58bc97d0 as deduplicate, $45d268baa2df1ba1$export$9426572bd5645bc1 as dedup_products, $8183c177c3bdf94d$export$82539d9817116aff as navigate_with_next_router, $f69445e469425bcb$export$774bc87373c4fc6c as add_item, $f69445e469425bcb$export$337197b94b3bd680 as get_items_in_cart, $f69445e469425bcb$export$783ef16647773b3d as get_shopify_analytics_meta_product, $f69445e469425bcb$export$ab0f802c05dd969b as intercept, $201e455525e1fa49$export$85be83e1935d93c2 as fetch_replacer, $201e455525e1fa49$export$f8da66bc4f1d059e as FakeResponse, $c95f8181bad32e8d$export$bcd70d5ed1cf6313 as fetch_retry, $073645eedb3f65a8$export$b404e20f3c4a490e as get_optimize_variant, $ad1dbddac6af350d$export$20e9533e68ee72e7 as stateless_href_change_ipns, $ad1dbddac6af350d$export$a9d39e43ae273d26 as href_change_ipns, $ad1dbddac6af350d$export$baccefee4a395d8f as history_replacer, $ad1dbddac6af350d$export$1cd22bab0d2c3b0b as on_next_navigation, $ad1dbddac6af350d$export$7500cdfd37aafd43 as instant_exec_on_suspect_history_change, $7ca6fdc721083788$export$e806c6c1615a59ae as async_iterable_ipns, $7ca6fdc721083788$export$10c3e52ef388b81b as make_ipns_stateful, $7ca6fdc721083788$export$90740b5bc9c2b3b7 as make_ipns_stateless, $449d6683cecfa078$export$3e42f5078e3abfc0 as make_simple_async_iterable, $449d6683cecfa078$export$e2c811ae0eb35313 as RawObservableInformation, $c1590f86e0eca625$export$2c2f50b30b7b2576 as iterable_to_attribute, $332ef338faf216a4$export$7c081fdbc65b6a2a as iterable_to_elems, $fee212025270d5b9$export$927664b47117acb0 as make_asyncIterable_exiter, $07beada135e5f5e8$export$f8913c8a18f7ca21 as zip_async_iterables, $2c22b027931240e6$export$f811d2ce0aa6019b as insert_surfaces, $2c22b027931240e6$export$b8d1e1d07a3f3776 as prevent_infinite_loop, $2c22b027931240e6$export$e3f70ef7e3d00501 as revertable_remove, $1013f2e568f87406$export$59ba1eb2c083f0cd as insert_styling, $1013f2e568f87406$export$692b606677218a16 as depict_init, $1013f2e568f87406$export$328e81c44cddf3c0 as depict_init_with_market_logic, $1013f2e568f87406$export$a4f97b27a0592e6c as normal_get_product_id, $1013f2e568f87406$export$a96c18473f2af463 as track_a2c, $26dbd7db7fd1bc2c$export$515c3ea4d599b05a as javascript_media_query, $914c6f35222c820d$export$33f937d741e49339 as patched_querySelectorAll, $07ddf7dfff112d01$export$a4eccf92efefa04d as placeholder_svg, $07ddf7dfff112d01$export$2dd69958012e3e49 as make_placeholder_rr, $07ddf7dfff112d01$export$3b75288f46cadd96 as random_text_placeholder, $6c8c963618d41bb2$export$947a20746936143d as Promise_Any, $3a96de5a459d34f9$export$c50e1901e8ed0615 as queueMacroTask, $1cd1e96fe31c935d$export$bb0a9c36cf454ea0 as rand, $6cb4d83127e468ea$export$656831b7e9c341c3 as random_string, $6cb4d83127e468ea$export$a6db784f019668ba as make_random_classname, $2b6304d4ce419ed5$export$3d04c40e7acc1a32 as reactive_template, $243da8b4990520aa$export$8ec5c86406f333ff as removeChild_error_swallowing_factory, $9c0a16930ae6750f$export$38e89c688f9d553a as replace_promise_with_native_if_exists_and_enforce, $9c0a16930ae6750f$export$e647444ed9403635 as get_iframe_promise, $f82333cd2ffc1582$export$2a1cc61cffa1f36f as rp_relativify_fetch, $f82333cd2ffc1582$export$f14a775632a826c4 as rp_relativify_history, $f82333cd2ffc1582$export$2a38b176ce969e2c as rp_relativify_xhr, $f82333cd2ffc1582$export$83ec13b10b391f13 as default_rp_fixes, $d9aec442b12a1134$export$39d526a1194b6499 as serialize_object, $b2c9f99c083a1182$export$12b4c6cbc6b8b4e4 as sort_obj, $95b71532fa7f905c$export$a422d714c8cb1a5d as standard_get_market, $cb3a51d87cbe5eff$export$3427ec8268623f1 as listenToLocalStorage, $095a7d035ba7d7a7$export$8d42ce4827f43582 as Tenant, $26145caeb41f1f7b$export$cd1adfb8059b5fcd as timeout_promise, $2da62df28669a48a$export$79f910a98828378d as variable_setter_to_ipns, $2da62df28669a48a$export$d5062f468a0454f3 as find_descriptor, $2da62df28669a48a$export$2fc1a072736ae2f6 as is_available_in, $8a812fa4638e2832$export$a739d9a07da7f9ce as use_voyado_id, $57642e3bf93ac1e7$export$5c069c93d2b7493f as wait, $24528b2f119d82fb$export$f314addd5f976083 as xhr_load, $24528b2f119d82fb$export$8e16c51fd2b6507 as xhr_read_interceptor, $24528b2f119d82fb$export$c74578d2cd47a84a as xhr_send_interceptor, $24528b2f119d82fb$export$33d1643df63073a8 as xhr_replace, $c40fc6dc2c22b3c4$export$4a3043e508dd72f0 as DefaultViewMoreButton, $a59cde169150d10b$export$8a0e4d6f6abf7e90 as GeneralSideSlidein, $24f3fd73864991c0$export$c068ad5361be7646 as GeneralSizeSelector, $adc0bb548fdb574f$export$84712d0562a614b8 as Placeholder, $adc0bb548fdb574f$export$d613f5b6d0a331a8 as ContainedPlaceholderImage, $2e6ca552eb0e0b2b$export$97f31f44c68c1d5 as RecommendationContainer, $ad0b2591dac160be$export$ddd70fdae1b350e6 as LeftChevron, $ad0b2591dac160be$export$32a55d57d151bc5a as RightChevron, $9a74c17d1ef21fdf$export$590326cc34f49e2d as createColorPicker, $0f55c2bc0a7b363b$export$237455ad7e59d4e5 as useExpandingContainer, $73f0a7e385687d5d$export$2369f6fc1c911576 as ContainedHoverImage, $c987460cedc0d7ec$export$788756b42446dc2d as ContainedImage, $9ef5ce4804a3b61b$export$f39a7d0667e924a as make_sizes_setter, $9ef5ce4804a3b61b$export$a62825542f1bfcf5 as make_sourceset_component, $9ef5ce4804a3b61b$export$a98fc8a2c818d3d8 as is_safari, $9ef5ce4804a3b61b$export$f7c915448031deac as make_url_with_query_params, $9ef5ce4804a3b61b$export$3d13beba9b52c947 as resize_base_url, $9e4bee2e3b4b5753$export$362abebb4b313340 as base_url, $17bb552dedcd526c$export$af2e17a20c2ea3c5 as Sentry, $c07f1f2ffdcaec61$export$9dc8f3a0aa3efc85 as camelCasifyObject, $c07f1f2ffdcaec61$export$b481488de1caa85 as snakeCasifyObject, $40a5a98adc907fe0$export$499ef00a6a3417f8 as rgb_to_hsl, $40a5a98adc907fe0$export$e4fd3b61e79357a7 as hsl_to_rgb, $40a5a98adc907fe0$export$98c2b3491e76c1f as relative_luminance_from_rgb, $40a5a98adc907fe0$export$486b165479b9284f as hsb_to_rgb, $40a5a98adc907fe0$export$ca305c142c6fc3cf as hex_to_rgb, $b9e07ce3c67aa344$export$83d89fbfd8236492 as version, $ea5707b8e7b350cf$export$2cefb7e61fcbae00 as add_to_version_info, $5ea81d00eec57744$export$c3f56a35e076f139 as sync_el_content_with_accessor, $34eb7e26a9a798f2$export$e35115e6d0715f77 as use_href_accessor, $be5f485da4e3f813$export$fce59460a1699957 as cookiebot_get_consent, $be5f485da4e3f813$export$56c2e8be65fb14ae as cookiebot_wait_for_consent, $be5f485da4e3f813$export$8827362e5e938d26 as cookiebot_get_cookie_ipns, $be5f485da4e3f813$export$abec7fd9f0b9cc22 as init_cookiebot_tracking };
|
|
8682
|
+
export { $e5da8b4d1e6c12b3$export$a13bb02a27aaa5e6 as setOverrideSentryEnvironment, $c9b2d210d5bbc418$export$2d9dc2897d88588 as findMostFrequentItem, $5c580d87c093cc47$export$a7e53ec3b3fdd030 as base64_decode_unicode, $5c580d87c093cc47$export$a1893782a2a6be0d as base64_encode_unicode, $5f4e0abe3139380e$export$6f051469dd676a8b as make_plp_recommendations_inserted_handler, $ea5707b8e7b350cf$export$60d1d0e3cfc8b9ed as version_info, $ea5707b8e7b350cf$export$fe609f0216e4ebef as add_version_query_params, $cdf4691608b4019f$export$6e7454c733fa1fb2 as cache_args, $bcc7b73f8b96a6f0$export$8582cf3716962dc2 as check_displays, $b000f5ef6ce456d9$export$8048b892d651b310 as err, $a01cf8e3169d2af1$export$16d7c76794a38a4 as require_event_listener, $a496a9038b9c02cf$export$41de2959a8dd405d as Auto_GWVM, $ddeca43328b507f6$export$c83d8da642b5104a as GWVM_Renderer, $6a44fa3f1acf7693$export$55621c1ce3cd536b as infinite_promise_creator, $4c6e595091defcd9$export$32ccf3a614c84258 as infinite_promise_no_skip, $d3b90d5099bf2925$export$c0a4d29bc45a38c6 as infinite_renderer, $3ee6c00e6df1008f$export$9eae832ae57fbf as deprecated_insert_styling, $e64690bc3a7de2b1$export$c7187bbd1a7a9244 as placeholder, $d4f914b34cc77d0c$export$cab8bc58c64c2013 as Pro_Slider, $48b0f027b215b8ad$export$2e2bcd8739ae039 as simplified_template_tool, $0342f59060b8a196$export$f1b8b9fd75ddcab1 as insert_styling_into_slider, $b7b39b38d6e695e9$export$cd12721587f4f16d as RR_Slider, $eb252431088a7c2b$export$1a8782481a9af507 as Depict, $193ee64f5599f8a8$export$30933c637c977eef as get_recs_with_template, $193ee64f5599f8a8$export$c410ce1205e5118a as default_post_processor, $193ee64f5599f8a8$export$4f39078bdc72ecd0 as default_pre_processor, $03021b39f80fac4b$export$2e2bcd8739ae039 as wpff, $7d82513db34b5d27$export$12e07a2a9f87578a as ElementObserver, $90fa633a9564f115$export$b6ae1bc530f4c149 as observer, $0f650018c3cbc373$export$34b9dba7ce09269b as jsx, $0f650018c3cbc373$export$25062201e9e25d76 as jsxs, $a285401a927e4306$export$eb0b9ed911409b57 as use_element, $a285401a927e4306$export$f63fcc839cb0f734 as use_listener, $a285401a927e4306$export$22a65337c1b43b1f as classlist, $0f650018c3cbc373$export$ffb0004e005737fa as Fragment, $241f2f02cc612a49$export$de56f1198d121036 as dlog, $241f2f02cc612a49$export$997143d41f6a0c9b as derror, $241f2f02cc612a49$export$c2363754d4758444 as dwarn, $241f2f02cc612a49$export$2dd75a6b038dc8cb as set_browser_prefix, $5e1f45affc1d7def$export$b3bbfd758f11cfa9 as catchify, $5e1f45affc1d7def$export$f18d5b0af29128b7 as report, $a5a2bdb4ae93374b$export$55fe61489d2c7417 as is_debug, $c755e2b0d4b18501$export$6038895ac52bd044 as chevronLeft, $c755e2b0d4b18501$export$dc84183312f0c201 as chevronRight, $0fe3923936d40f55$export$68c017fd93791405 as expandingContainer, $5f31622ffb78bc10$export$3be7054c61590ee3 as Lazyfier, $5f31622ffb78bc10$export$b87d7e0da8b5cbe3 as test_array_proxy_support, $be288a83d9eabf2a$export$692b27c28639e5b9 as Amazing_Slider, $20fe9624210ef635$export$16501883f477737a as colorize_elements, $20fe9624210ef635$export$deca40f48c0569f8 as should_colorizeLogics, $70017d06e57dffa8$export$50ce83ace0cdd87e as default_rr, $51dfcecbe05cc4e5$export$1bc0df10745d5412 as fetch_recs, $51dfcecbe05cc4e5$export$d40679eb4cf32f09 as fetch_recs_whole_response, $378c98788ab52b9c$export$c42139a43c877ecd as clone_deep, $378c98788ab52b9c$export$e0009e7da572f99b as regex_templating, $378c98788ab52b9c$export$a9fc160c5ed83bd7 as Rec_Renderer, $df6d080cba513381$export$17c3166a7ebd4688 as n_col_styling_with_dist, $df6d080cba513381$export$c84671f46d6a1ca as Layout, $df6d080cba513381$export$483bdd1f1186de13 as layout_get_visible_recs_without_partial_rows, $df6d080cba513381$export$3dc5e2383c924ebf as layout_get_total_rec_amount_for_row, $df6d080cba513381$export$717f13d9ba00ca19 as layout_media_query_header, $297a08bac2d81fab$export$b0a773486c1c2312 as RecommendationGrid, $d89e3aaeb9270095$export$82cfdc85a4d15688 as RecommendationSlider, $943514d07f57df12$export$6830ae1fbe21e589 as default_click_tracking, $943514d07f57df12$export$f37c58ab3d3e3b75 as default_view_tracking, $943514d07f57df12$export$dd32cb565eae0a1f as ga_click, $943514d07f57df12$export$8d72437623fef90c as gtag_click_post_processor, $943514d07f57df12$export$1bffac19f9f0d6fc as gtag_view_post_processor, $943514d07f57df12$export$e9106d6e723510d2 as depict_click_tracking_post_processor, $943514d07f57df12$export$fb9afe9f540ae069 as recs_inserted_tracking, $943514d07f57df12$export$32eb5dd18e963410 as add_to_localstorage, $943514d07f57df12$export$9e1caada6901f552 as depict_page_view, $b109421811582f8c$export$8cbd8aa1c70f9a13 as slider_autoscroll_factory, $090af64928922937$export$80039a49055269fb as make_button1, $66c5b496f7887c00$export$af88b4929c2dc86 as make_button2, $d3c54fdf1bfb087a$export$1d17a045bcc711b1 as slider_dots_factory, $d3c54fdf1bfb087a$export$a09282b33e69b43f as navdot, $3ad897e1659ee6d7$export$411b0f20794697ce as slider_draggable_factory, $21afac8db3f98820$export$5129719c04a52f8c as slider_fading_factory, $0cbf24ae3e670238$export$5723caf9a8335aa6 as slider_fractional_factory, $4837ebe61ecec421$export$93223e488e7ee078 as slider_show_scroll, $ff905d87817a07f4$export$b36d2489a5a16728 as slider_snap_css, $ff905d87817a07f4$export$49b950309ab787ad as can_use_snapping_and_still_scroll, $e1af55c2112926b7$export$dac64fd35a4805a4 as slider_snapping_factory, $f340c415f2e1d03a$export$68babfc5be0de5da as Amazing_Lazy_Slider, $c7030fdb9bcc361f$export$53306504b987cbf7 as slider_wraparound_factory, $aadc6d9eeb8e8a56$export$419f84efad7d9fe as sizes_to_surface, $aadc6d9eeb8e8a56$export$417ef0ab13d8b984 as surface_mixer, $aadc6d9eeb8e8a56$export$be95cb0e8cfd099e as promise_until_next_navigation, $f2fce07b3a330e05$export$29a6094e0bd8bc5f as AIO, $f2fce07b3a330e05$export$6ebd242c09192cec as paint_red, $bd7c9f254946941d$export$2c34560c3749dc63 as bind_to_a2c_button, $bd7c9f254946941d$export$82a685f2da2fb027 as bind_tracking_to_link, $d5f7352b58e0d737$export$15f8a0cd5a8c0ebb as depict_click, $d5f7352b58e0d737$export$82badda1f9923310 as depict_prefilled, $d5f7352b58e0d737$export$9028351cb994757e as depict_add_to_cart, $d5f7352b58e0d737$export$93ae15b1ae509334 as set_session_id_fn, $d5f7352b58e0d737$export$61e7e1f11e96692f as get_session_id, $d5f7352b58e0d737$export$622991c71a1f52b3 as get_cookie, $d5f7352b58e0d737$export$8c6f26a5b6921b95 as get_tracking_event_context_data, $814c3bf8e175fa59$export$72036d950e1fae95 as filter_depict_payload, $814c3bf8e175fa59$export$28cacbd9b4306ffc as send_depict, $814c3bf8e175fa59$export$cc3b6ddf805f6156 as foolproof_send_beacon, $814c3bf8e175fa59$export$608478473a3304a0 as send_depict_unfiltered, $814c3bf8e175fa59$export$aa26019042811d4f as send_websocket, $799496226e956169$export$674d8cd8b6868154 as create_ga_queue, $799496226e956169$export$edfedd0557ca5a2d as make_tracker_send_to_depict, $ed8073ecbced6e7e$export$1ff14fec60ed5697 as ga_to_transaction_api, $3674b9afc9a63520$export$f75172d2e289cd02 as send_ga, $3674b9afc9a63520$export$ac7296527cb52311 as setup_ga, $3674b9afc9a63520$export$d031e55ccd4c52dc as setup_gtag, $3674b9afc9a63520$export$f522672c9379e339 as gtag_click, $3674b9afc9a63520$export$bf205937e5e012cb as ga_purchase_click, $3674b9afc9a63520$export$127751e82111fcf as ga_rec_click, $3674b9afc9a63520$export$7babcd5d4056b2ca as gtag_view, $3674b9afc9a63520$export$f3354ec2ce95ebd9 as load_gtag, $d6c3e2ba045accda$export$4205dc6835bc0d9f as send_impression_event, $e89a1d249db21af0$export$37125ccc5dd98050 as impression_track_element, $c633189b7b69d048$export$d0efd8ed14f5c33 as impression_tracking_post_processor, $d6c3e2ba045accda$export$c543ee4cdb0d0964 as set_impression_threshold, $d6c3e2ba045accda$export$135da44d0ba958bc as impression_threshold, $d6c3e2ba045accda$export$ca8321ea61dc2544 as has_to_be_intersecting_for, $df87ac5a30f7baac$export$58c56fe2313fdbe3 as add_new_tab_listener, $df87ac5a30f7baac$export$836f70a28c317905 as broadcast_product_id, $df87ac5a30f7baac$export$8f66c4c7fb96eda2 as contextmenu_callback, $d4217f56717a3207$export$7e4427e80d5fc619 as optanon_get_cookie_ipns, $d4217f56717a3207$export$f0f6c846d96fdbec as init_optanon_tracking, $d4217f56717a3207$export$1dd9ce50e201eff1 as optanon_get_consent, $d4217f56717a3207$export$7a6d436e0782c6ed as optanon_wait_for_consent, $f991aad8d6175c9b$export$1ac466d53a6636ac as send_transaction_id_to_depict, $f991aad8d6175c9b$export$9ed4fbc47d558f94 as datalayer_interceptor, $f991aad8d6175c9b$export$b11248fa13a8a86c as datalayer_transaction_id_extractor, $f991aad8d6175c9b$export$3ebd86018b39d9d2 as orderpage_transaction_id_extractor, $f991aad8d6175c9b$export$ff8673d5dea82bd4 as url_transaction_id_extractor, $0897f35c3b3fbbc4$export$eee4c4d924348b05 as send_page_view_if_needed, $0897f35c3b3fbbc4$export$f7cb1bd47199ec38 as send_page_view_on_navigation, $f5a4b8e233f0e1cd$export$1d9c6fddbff3441f as DepictAPIWS, $429b4383ef3d586f$export$74108888f38788f3 as ListenableSet, $9c44a7238815fa47$export$535946eb77c946dd as deparallelize, $9c44a7238815fa47$export$f241be8e610f5c77 as deparallelize_no_drop, $ab9c3dbf2bb2fbf7$export$f8ea2e7b15b5d129 as buildThresholdList, $85906d121f53bacd$export$d9fdc6ce2907f95b as chaotic_closest, $652300c6621d5500$export$cfef5d5c9ac09253 as standard_price_format, $652300c6621d5500$export$9590700a594aef08 as ensure_object_path, $652300c6621d5500$export$925772df9b4d16e5 as ensure_parameter_in_url, $652300c6621d5500$export$44951404cb8d0583 as html2elems, $652300c6621d5500$export$d3e2a0560cbf4787 as html2elem, $652300c6621d5500$export$5e63aea0cac01fa0 as querySelectorAllElements, $652300c6621d5500$export$785f04709990c4ec as querySelectorUpwards, $652300c6621d5500$export$f124e3ee16e6b45d as intl_number_format_with_fallback, $652300c6621d5500$export$d4bd03f19260ef1c as relativify, $45d268baa2df1ba1$export$6b75200e58bc97d0 as deduplicate, $45d268baa2df1ba1$export$9426572bd5645bc1 as dedup_products, $8183c177c3bdf94d$export$82539d9817116aff as navigate_with_next_router, $f69445e469425bcb$export$774bc87373c4fc6c as add_item, $f69445e469425bcb$export$337197b94b3bd680 as get_items_in_cart, $f69445e469425bcb$export$783ef16647773b3d as get_shopify_analytics_meta_product, $f69445e469425bcb$export$ab0f802c05dd969b as intercept, $201e455525e1fa49$export$85be83e1935d93c2 as fetch_replacer, $201e455525e1fa49$export$f8da66bc4f1d059e as FakeResponse, $c95f8181bad32e8d$export$bcd70d5ed1cf6313 as fetch_retry, $073645eedb3f65a8$export$b404e20f3c4a490e as get_optimize_variant, $ad1dbddac6af350d$export$20e9533e68ee72e7 as stateless_href_change_ipns, $ad1dbddac6af350d$export$a9d39e43ae273d26 as href_change_ipns, $ad1dbddac6af350d$export$baccefee4a395d8f as history_replacer, $ad1dbddac6af350d$export$1cd22bab0d2c3b0b as on_next_navigation, $ad1dbddac6af350d$export$7500cdfd37aafd43 as instant_exec_on_suspect_history_change, $7ca6fdc721083788$export$e806c6c1615a59ae as async_iterable_ipns, $7ca6fdc721083788$export$10c3e52ef388b81b as make_ipns_stateful, $7ca6fdc721083788$export$90740b5bc9c2b3b7 as make_ipns_stateless, $449d6683cecfa078$export$3e42f5078e3abfc0 as make_simple_async_iterable, $449d6683cecfa078$export$e2c811ae0eb35313 as RawObservableInformation, $c1590f86e0eca625$export$2c2f50b30b7b2576 as iterable_to_attribute, $332ef338faf216a4$export$7c081fdbc65b6a2a as iterable_to_elems, $fee212025270d5b9$export$927664b47117acb0 as make_asyncIterable_exiter, $07beada135e5f5e8$export$f8913c8a18f7ca21 as zip_async_iterables, $2c22b027931240e6$export$f811d2ce0aa6019b as insert_surfaces, $2c22b027931240e6$export$b8d1e1d07a3f3776 as prevent_infinite_loop, $2c22b027931240e6$export$e3f70ef7e3d00501 as revertable_remove, $1013f2e568f87406$export$59ba1eb2c083f0cd as insert_styling, $1013f2e568f87406$export$692b606677218a16 as depict_init, $1013f2e568f87406$export$328e81c44cddf3c0 as depict_init_with_market_logic, $1013f2e568f87406$export$a4f97b27a0592e6c as normal_get_product_id, $1013f2e568f87406$export$a96c18473f2af463 as track_a2c, $26dbd7db7fd1bc2c$export$515c3ea4d599b05a as javascript_media_query, $914c6f35222c820d$export$33f937d741e49339 as patched_querySelectorAll, $07ddf7dfff112d01$export$a4eccf92efefa04d as placeholder_svg, $07ddf7dfff112d01$export$2dd69958012e3e49 as make_placeholder_rr, $07ddf7dfff112d01$export$3b75288f46cadd96 as random_text_placeholder, $6c8c963618d41bb2$export$947a20746936143d as Promise_Any, $3a96de5a459d34f9$export$c50e1901e8ed0615 as queueMacroTask, $1cd1e96fe31c935d$export$bb0a9c36cf454ea0 as rand, $6cb4d83127e468ea$export$656831b7e9c341c3 as random_string, $6cb4d83127e468ea$export$a6db784f019668ba as make_random_classname, $2b6304d4ce419ed5$export$3d04c40e7acc1a32 as reactive_template, $243da8b4990520aa$export$8ec5c86406f333ff as removeChild_error_swallowing_factory, $9c0a16930ae6750f$export$38e89c688f9d553a as replace_promise_with_native_if_exists_and_enforce, $9c0a16930ae6750f$export$e647444ed9403635 as get_iframe_promise, $f82333cd2ffc1582$export$2a1cc61cffa1f36f as rp_relativify_fetch, $f82333cd2ffc1582$export$f14a775632a826c4 as rp_relativify_history, $f82333cd2ffc1582$export$2a38b176ce969e2c as rp_relativify_xhr, $f82333cd2ffc1582$export$83ec13b10b391f13 as default_rp_fixes, $d9aec442b12a1134$export$39d526a1194b6499 as serialize_object, $b2c9f99c083a1182$export$12b4c6cbc6b8b4e4 as sort_obj, $95b71532fa7f905c$export$a422d714c8cb1a5d as standard_get_market, $cb3a51d87cbe5eff$export$3427ec8268623f1 as listenToLocalStorage, $095a7d035ba7d7a7$export$8d42ce4827f43582 as Tenant, $26145caeb41f1f7b$export$cd1adfb8059b5fcd as timeout_promise, $2da62df28669a48a$export$79f910a98828378d as variable_setter_to_ipns, $2da62df28669a48a$export$d5062f468a0454f3 as find_descriptor, $2da62df28669a48a$export$2fc1a072736ae2f6 as is_available_in, $8a812fa4638e2832$export$a739d9a07da7f9ce as use_voyado_id, $57642e3bf93ac1e7$export$5c069c93d2b7493f as wait, $24528b2f119d82fb$export$f314addd5f976083 as xhr_load, $24528b2f119d82fb$export$8e16c51fd2b6507 as xhr_read_interceptor, $24528b2f119d82fb$export$c74578d2cd47a84a as xhr_send_interceptor, $24528b2f119d82fb$export$33d1643df63073a8 as xhr_replace, $c40fc6dc2c22b3c4$export$4a3043e508dd72f0 as DefaultViewMoreButton, $a59cde169150d10b$export$8a0e4d6f6abf7e90 as GeneralSideSlidein, $24f3fd73864991c0$export$c068ad5361be7646 as GeneralSizeSelector, $adc0bb548fdb574f$export$84712d0562a614b8 as Placeholder, $adc0bb548fdb574f$export$d613f5b6d0a331a8 as ContainedPlaceholderImage, $2e6ca552eb0e0b2b$export$97f31f44c68c1d5 as RecommendationContainer, $ad0b2591dac160be$export$ddd70fdae1b350e6 as LeftChevron, $ad0b2591dac160be$export$32a55d57d151bc5a as RightChevron, $9a74c17d1ef21fdf$export$590326cc34f49e2d as createColorPicker, $0f55c2bc0a7b363b$export$237455ad7e59d4e5 as useExpandingContainer, $73f0a7e385687d5d$export$2369f6fc1c911576 as ContainedHoverImage, $c987460cedc0d7ec$export$788756b42446dc2d as ContainedImage, $9ef5ce4804a3b61b$export$f39a7d0667e924a as make_sizes_setter, $9ef5ce4804a3b61b$export$a62825542f1bfcf5 as make_sourceset_component, $9ef5ce4804a3b61b$export$a98fc8a2c818d3d8 as is_safari, $9ef5ce4804a3b61b$export$f7c915448031deac as make_url_with_query_params, $9ef5ce4804a3b61b$export$3d13beba9b52c947 as resize_base_url, $9e4bee2e3b4b5753$export$362abebb4b313340 as base_url, $17bb552dedcd526c$export$af2e17a20c2ea3c5 as Sentry, $c07f1f2ffdcaec61$export$9dc8f3a0aa3efc85 as camelCasifyObject, $c07f1f2ffdcaec61$export$b481488de1caa85 as snakeCasifyObject, $40a5a98adc907fe0$export$499ef00a6a3417f8 as rgb_to_hsl, $40a5a98adc907fe0$export$e4fd3b61e79357a7 as hsl_to_rgb, $40a5a98adc907fe0$export$98c2b3491e76c1f as relative_luminance_from_rgb, $40a5a98adc907fe0$export$486b165479b9284f as hsb_to_rgb, $40a5a98adc907fe0$export$ca305c142c6fc3cf as hex_to_rgb, $b9e07ce3c67aa344$export$83d89fbfd8236492 as version, $ea5707b8e7b350cf$export$2cefb7e61fcbae00 as add_to_version_info, $5ea81d00eec57744$export$c3f56a35e076f139 as sync_el_content_with_accessor, $34eb7e26a9a798f2$export$e35115e6d0715f77 as use_href_accessor, $be5f485da4e3f813$export$fce59460a1699957 as cookiebot_get_consent, $be5f485da4e3f813$export$56c2e8be65fb14ae as cookiebot_wait_for_consent, $be5f485da4e3f813$export$8827362e5e938d26 as cookiebot_get_cookie_ipns, $be5f485da4e3f813$export$abec7fd9f0b9cc22 as init_cookiebot_tracking };
|
package/server/latest/index.cjs
CHANGED
|
@@ -26,6 +26,7 @@ function $parcel$export(e, n, v, s) {
|
|
|
26
26
|
function $parcel$interopDefault(a) {
|
|
27
27
|
return a && a.__esModule ? a.default : a;
|
|
28
28
|
}
|
|
29
|
+
$parcel$export(module.exports, "setOverrideSentryEnvironment", () => $0cf2ab65d8901485$export$a13bb02a27aaa5e6);
|
|
29
30
|
$parcel$export(module.exports, "findMostFrequentItem", () => $273f6ade978074c1$export$2d9dc2897d88588);
|
|
30
31
|
$parcel$export(module.exports, "base64_decode_unicode", () => $ff7c981d968fe09a$export$a7e53ec3b3fdd030);
|
|
31
32
|
$parcel$export(module.exports, "base64_encode_unicode", () => $ff7c981d968fe09a$export$a1893782a2a6be0d);
|
|
@@ -272,7 +273,7 @@ $parcel$export(module.exports, "version", () => $815f67c61b4c0a42$export$83d89fb
|
|
|
272
273
|
$parcel$export(module.exports, "add_to_version_info", () => $e4a18bf12ad092d9$export$2cefb7e61fcbae00);
|
|
273
274
|
$parcel$export(module.exports, "sync_el_content_with_accessor", () => $35303d72263038db$export$c3f56a35e076f139);
|
|
274
275
|
$parcel$export(module.exports, "use_href_accessor", () => $da35c7e27be2a442$export$e35115e6d0715f77);
|
|
275
|
-
const $815f67c61b4c0a42$export$83d89fbfd8236492 = "2.1.
|
|
276
|
+
const $815f67c61b4c0a42$export$83d89fbfd8236492 = "2.1.6";
|
|
276
277
|
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
278
|
const $e6c6e7929ea385ae$var$browser_prefix_styling = "color: #fff;";
|
|
278
279
|
let $e6c6e7929ea385ae$var$browser_prefix = "[Depict]";
|
|
@@ -303,33 +304,6 @@ function $e4a18bf12ad092d9$export$fe609f0216e4ebef(url) {
|
|
|
303
304
|
return got_url_object ? url_object.href : url_object;
|
|
304
305
|
}
|
|
305
306
|
|
|
306
|
-
/**
|
|
307
|
-
* Finds most frequent item in an array, written by chatGPT with some nudging. Returns `undefined` if the array is empty.
|
|
308
|
-
* @param arr array to find the most frequent item in
|
|
309
|
-
*/
|
|
310
|
-
function $273f6ade978074c1$export$2d9dc2897d88588(arr) {
|
|
311
|
-
const freqMap = arr.reduce((map, item) => map.set(item, (map.get(item) || 0) + 1), new Map());
|
|
312
|
-
const maxFreq = Math.max(...freqMap.values());
|
|
313
|
-
for (let [key, value] of freqMap) {
|
|
314
|
-
if (value === maxFreq) return key;
|
|
315
|
-
}
|
|
316
|
-
}
|
|
317
|
-
|
|
318
|
-
// Source: https://stackoverflow.com/a/30106551
|
|
319
|
-
/**
|
|
320
|
-
* Encoding UTF8 ⇢ base64
|
|
321
|
-
*/
|
|
322
|
-
function $ff7c981d968fe09a$export$a1893782a2a6be0d(str) {
|
|
323
|
-
return btoa(encodeURIComponent(str).replace(/%([0-9A-F]{2})/g, function (match, p1) {
|
|
324
|
-
return String.fromCharCode(parseInt(p1, 16));
|
|
325
|
-
}));
|
|
326
|
-
}
|
|
327
|
-
function $ff7c981d968fe09a$export$a7e53ec3b3fdd030(str) {
|
|
328
|
-
return decodeURIComponent(Array.prototype.map.call(atob(str), function (c) {
|
|
329
|
-
return "%" + ("00" + c.charCodeAt(0).toString(16)).slice(-2);
|
|
330
|
-
}).join(""));
|
|
331
|
-
}
|
|
332
|
-
|
|
333
307
|
/**
|
|
334
308
|
* Class containing state that an IPNS operates on. It's only exported for type info and in case that you want to use it for instanceof checks.
|
|
335
309
|
* subscribers is an array of functions that get called every time push_value is called with a new value AND all previous subscribers are done
|
|
@@ -568,6 +542,27 @@ function $9a42a570de51ea3d$export$10c3e52ef388b81b(ipns) {
|
|
|
568
542
|
if (!internal_state_obj) throw new Error("Couldn't get state obj");
|
|
569
543
|
return $9a42a570de51ea3d$export$e806c6c1615a59ae(true, internal_state_obj);
|
|
570
544
|
}
|
|
545
|
+
const $61a34358bf0d3d8b$export$af2e17a20c2ea3c5 = !(process.env.SENTRY === "true" || process.env.DEPICT_ERROR_REPORTING === "true" || process.env.NEXT_PUBLIC_DEPICT_ERROR_REPORTING === "true") && (process.env.SENTRY === "false" || process.env.DEPICT_ERROR_REPORTING === "false" || process.env.NEXT_PUBLIC_DEPICT_ERROR_REPORTING === "false" || (0, $7b5e577a60b81e60$export$55fe61489d2c7417)) ? /*@__PURE__*/$61a34358bf0d3d8b$var$fakesentry() : /*@__PURE__*/$0cf2ab65d8901485$export$2e2bcd8739ae039(process.env.TENANT || "unknown", undefined, (0, $e6c6e7929ea385ae$export$de56f1198d121036));
|
|
546
|
+
function $61a34358bf0d3d8b$var$fakesentry() {
|
|
547
|
+
// // source: https://docs.sentry.io/platforms/javascript/troubleshooting/#dealing-with-ad-blockers
|
|
548
|
+
// const handler = {
|
|
549
|
+
// get: function (_, key) {
|
|
550
|
+
// return new Proxy(function (cb) {
|
|
551
|
+
// if (key === "flush" || key === "close") return Promise.resolve();
|
|
552
|
+
// if (typeof cb === "function") return cb(fake_sentry);
|
|
553
|
+
// return fake_sentry;
|
|
554
|
+
// }, handler);
|
|
555
|
+
// },
|
|
556
|
+
// };
|
|
557
|
+
// var fake_sentry = new Proxy({ captureException: () => {}, captureMessage: () => {}, withScope: () => {} }, handler);
|
|
558
|
+
// the magical proxy stuff has infinite looped for me on rp, old fashioned NOOP functions will have to make do
|
|
559
|
+
const fake_sentry = {
|
|
560
|
+
captureException: () => {},
|
|
561
|
+
captureMessage: () => {},
|
|
562
|
+
withScope: () => {}
|
|
563
|
+
};
|
|
564
|
+
return fake_sentry;
|
|
565
|
+
}
|
|
571
566
|
function $548fd58b14b25a52$export$8048b892d651b310(exception, error_for_stack) {
|
|
572
567
|
$e6c6e7929ea385ae$export$de56f1198d121036(exception);
|
|
573
568
|
if (0, $7b5e577a60b81e60$export$55fe61489d2c7417) /* eslint-disable no-console */console.trace();
|
|
@@ -652,6 +647,8 @@ function $e6d67ef355abb2dc$export$79f910a98828378d(obj, variable, async_iterator
|
|
|
652
647
|
});
|
|
653
648
|
return definition_ipns;
|
|
654
649
|
}
|
|
650
|
+
let $0cf2ab65d8901485$var$overrideEnvironment;
|
|
651
|
+
const $0cf2ab65d8901485$export$a13bb02a27aaa5e6 = env => $0cf2ab65d8901485$var$overrideEnvironment = env;
|
|
655
652
|
function $0cf2ab65d8901485$export$2e2bcd8739ae039(TENANT, more_options, dlog, extra_sentry_url, script_integrity) {
|
|
656
653
|
const sentry_object = {};
|
|
657
654
|
if (process.env.BUILD_TARGET !== "modern" && Proxy.toString().indexOf("[native code]") === -1) {
|
|
@@ -770,7 +767,7 @@ async function $0cf2ab65d8901485$var$load_sentry(TENANT, more_options = {}, extr
|
|
|
770
767
|
const client = new BrowserClient({
|
|
771
768
|
dsn: "https://1dd6c18a286b40a69dab1cdfe80bad9b@o464891.ingest.sentry.io/5476183",
|
|
772
769
|
release: process.env.sentry_version,
|
|
773
|
-
environment: TENANT,
|
|
770
|
+
environment: $0cf2ab65d8901485$var$overrideEnvironment || TENANT,
|
|
774
771
|
// @ts-ignore - can't seem to get the typing to work
|
|
775
772
|
integrations: defaultIntegrations,
|
|
776
773
|
...more_options
|
|
@@ -783,26 +780,32 @@ async function $0cf2ab65d8901485$var$load_sentry(TENANT, more_options = {}, extr
|
|
|
783
780
|
// https://github.com/getsentry/sentry-javascript/issues/2541
|
|
784
781
|
return hub;
|
|
785
782
|
}
|
|
786
|
-
|
|
787
|
-
|
|
788
|
-
|
|
789
|
-
|
|
790
|
-
|
|
791
|
-
|
|
792
|
-
|
|
793
|
-
|
|
794
|
-
|
|
795
|
-
|
|
796
|
-
|
|
797
|
-
|
|
798
|
-
|
|
799
|
-
|
|
800
|
-
|
|
801
|
-
|
|
802
|
-
|
|
803
|
-
|
|
804
|
-
}
|
|
805
|
-
|
|
783
|
+
|
|
784
|
+
/**
|
|
785
|
+
* Finds most frequent item in an array, written by chatGPT with some nudging. Returns `undefined` if the array is empty.
|
|
786
|
+
* @param arr array to find the most frequent item in
|
|
787
|
+
*/
|
|
788
|
+
function $273f6ade978074c1$export$2d9dc2897d88588(arr) {
|
|
789
|
+
const freqMap = arr.reduce((map, item) => map.set(item, (map.get(item) || 0) + 1), new Map());
|
|
790
|
+
const maxFreq = Math.max(...freqMap.values());
|
|
791
|
+
for (let [key, value] of freqMap) {
|
|
792
|
+
if (value === maxFreq) return key;
|
|
793
|
+
}
|
|
794
|
+
}
|
|
795
|
+
|
|
796
|
+
// Source: https://stackoverflow.com/a/30106551
|
|
797
|
+
/**
|
|
798
|
+
* Encoding UTF8 ⇢ base64
|
|
799
|
+
*/
|
|
800
|
+
function $ff7c981d968fe09a$export$a1893782a2a6be0d(str) {
|
|
801
|
+
return btoa(encodeURIComponent(str).replace(/%([0-9A-F]{2})/g, function (match, p1) {
|
|
802
|
+
return String.fromCharCode(parseInt(p1, 16));
|
|
803
|
+
}));
|
|
804
|
+
}
|
|
805
|
+
function $ff7c981d968fe09a$export$a7e53ec3b3fdd030(str) {
|
|
806
|
+
return decodeURIComponent(Array.prototype.map.call(atob(str), function (c) {
|
|
807
|
+
return "%" + ("00" + c.charCodeAt(0).toString(16)).slice(-2);
|
|
808
|
+
}).join(""));
|
|
806
809
|
}
|
|
807
810
|
function $268cbd9e4ade92db$export$b3bbfd758f11cfa9(fn, message, severity = "error") {
|
|
808
811
|
return function () {
|
|
@@ -4909,8 +4912,8 @@ $52d3be7ce5146924$export$2e2bcd8739ae039 = async options => {
|
|
|
4909
4912
|
};
|
|
4910
4913
|
|
|
4911
4914
|
// @ts-ignore
|
|
4912
|
-
var $
|
|
4913
|
-
$
|
|
4915
|
+
var $1c4a3b6d660e3905$exports = {};
|
|
4916
|
+
$1c4a3b6d660e3905$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
4917
|
const $e090b20cef3f0516$var$default_image_src = "data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0iMS4wIiBlbmNvZGluZz0idXRmLTgiPz4NCjwhLS0gR2VuZXJhdG9yOiBBZG9iZSBJbGx1c3RyYXRvciAyMy4wLjYsIFNWRyBFeHBvcnQgUGx1Zy1JbiAuIFNWRyBWZXJzaW9uOiA2LjAwIEJ1aWxkIDApICAtLT4NCjxzdmcgdmVyc2lvbj0iMS4xIiBpZD0iTGF5ZXJfMSIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIiB4bWxuczp4bGluaz0iaHR0cDovL3d3dy53My5vcmcvMTk5OS94bGluayIgeD0iMHB4IiB5PSIwcHgiDQoJIHZpZXdCb3g9IjAgMCAxNiAxNiIgc3R5bGU9ImVuYWJsZS1iYWNrZ3JvdW5kOm5ldyAwIDAgMTYgMTY7IiB4bWw6c3BhY2U9InByZXNlcnZlIj4NCjxwb2x5Z29uIHBvaW50cz0iOSwyLjYgOC4zLDMuNCAxMi40LDcuNSAxLjYsNy41IDEuNiw4LjUgMTIuNCw4LjUgOC4zLDEyLjYgOSwxMy40IDE0LjQsOCAiLz4NCjwvc3ZnPg0K";
|
|
4915
4918
|
class $e090b20cef3f0516$export$4d41c6499d53639c extends (0, $a69a5236b5814082$export$68babfc5be0de5da) {
|
|
4916
4919
|
constructor(static_options, override_lazyfier_options) {
|
|
@@ -4941,7 +4944,7 @@ class $e090b20cef3f0516$export$4d41c6499d53639c extends (0, $a69a5236b5814082$ex
|
|
|
4941
4944
|
function $e090b20cef3f0516$export$f1b8b9fd75ddcab1(slider) {
|
|
4942
4945
|
const style_elem = document.createElement("style");
|
|
4943
4946
|
style_elem.type = "text/css";
|
|
4944
|
-
style_elem.append((0, /*@__PURE__*/$parcel$interopDefault($
|
|
4947
|
+
style_elem.append((0, /*@__PURE__*/$parcel$interopDefault($1c4a3b6d660e3905$exports)));
|
|
4945
4948
|
slider.container.appendChild(style_elem);
|
|
4946
4949
|
}
|
|
4947
4950
|
async function $7af744346f17bf99$export$cd12721587f4f16d(t, rendering_options, options_for_us, slider_options, override_lazyfier_options) {
|
|
@@ -5590,8 +5593,8 @@ async function $a7315720bf2a1638$export$b0a773486c1c2312(t, recommendation_rende
|
|
|
5590
5593
|
}
|
|
5591
5594
|
|
|
5592
5595
|
// @ts-ignore
|
|
5593
|
-
var $
|
|
5594
|
-
$
|
|
5596
|
+
var $a1e0549e8669396a$exports = {};
|
|
5597
|
+
$a1e0549e8669396a$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
5598
|
let $79804e8d76404ae4$var$slider_styling_was_inserted = false;
|
|
5596
5599
|
async function $79804e8d76404ae4$export$82cfdc85a4d15688(t, recommendation_renderer_options, {
|
|
5597
5600
|
container_elements: container_elements,
|
|
@@ -5614,7 +5617,7 @@ async function $79804e8d76404ae4$export$82cfdc85a4d15688(t, recommendation_rende
|
|
|
5614
5617
|
if (!elements) return rendering_result;
|
|
5615
5618
|
if (!$79804e8d76404ae4$var$slider_styling_was_inserted) {
|
|
5616
5619
|
$79804e8d76404ae4$var$slider_styling_was_inserted = true;
|
|
5617
|
-
$e4bebbfa0f0b1454$export$59ba1eb2c083f0cd((0, /*@__PURE__*/$parcel$interopDefault($
|
|
5620
|
+
$e4bebbfa0f0b1454$export$59ba1eb2c083f0cd((0, /*@__PURE__*/$parcel$interopDefault($a1e0549e8669396a$exports)));
|
|
5618
5621
|
}
|
|
5619
5622
|
insertion_point.replaceWith(slider.container);
|
|
5620
5623
|
slider.insert_here.append(...elements);
|
|
@@ -7622,8 +7625,8 @@ async function $bd0fccdac6624b01$export$c068ad5361be7646({
|
|
|
7622
7625
|
on_close_(exit_oos_iterator);
|
|
7623
7626
|
}));
|
|
7624
7627
|
}
|
|
7625
|
-
var $
|
|
7626
|
-
$
|
|
7628
|
+
var $dcdbfd7a994587c9$exports = {};
|
|
7629
|
+
$dcdbfd7a994587c9$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
7630
|
let $e587cb3b31b82f43$var$inserted = false;
|
|
7628
7631
|
const $e587cb3b31b82f43$export$84712d0562a614b8 = ({
|
|
7629
7632
|
width: width,
|
|
@@ -7634,7 +7637,7 @@ const $e587cb3b31b82f43$export$84712d0562a614b8 = ({
|
|
|
7634
7637
|
}) => {
|
|
7635
7638
|
if (!$e587cb3b31b82f43$var$inserted) {
|
|
7636
7639
|
// Insert styling on first import
|
|
7637
|
-
$e4bebbfa0f0b1454$export$59ba1eb2c083f0cd((0, /*@__PURE__*/$parcel$interopDefault($
|
|
7640
|
+
$e4bebbfa0f0b1454$export$59ba1eb2c083f0cd((0, /*@__PURE__*/$parcel$interopDefault($dcdbfd7a994587c9$exports)));
|
|
7638
7641
|
$e587cb3b31b82f43$var$inserted = true;
|
|
7639
7642
|
}
|
|
7640
7643
|
return $jVDDb$solidjsweb.ssrElement("div", $jVDDb$solidjsweb.mergeProps({
|
|
@@ -7813,8 +7816,8 @@ const $b25f388f0fe2f1b3$export$237455ad7e59d4e5 = ({
|
|
|
7813
7816
|
collapse: collapse
|
|
7814
7817
|
};
|
|
7815
7818
|
};
|
|
7816
|
-
var $
|
|
7817
|
-
$
|
|
7819
|
+
var $aa123ed8001baa5e$exports = {};
|
|
7820
|
+
$aa123ed8001baa5e$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
7821
|
var $ff973b2032639b5f$var$_tmpl$ = ["<picture", ">", "</picture>"];
|
|
7819
7822
|
const $ff973b2032639b5f$export$3d13beba9b52c947 = "https://img.depict.ai/ResizeImage" + (process.env.TENANT ? "/" + process.env.TENANT : "");
|
|
7820
7823
|
const $ff973b2032639b5f$export$a98fc8a2c818d3d8 = /*@__PURE__*/(() => typeof navigator === "undefined" ? false : /^((?!chrome|android).)*safari/i.test(navigator.userAgent))(); // https://stackoverflow.com/a/23522755
|
|
@@ -7965,7 +7968,7 @@ const $a312bccd722ac9e4$export$788756b42446dc2d = ({
|
|
|
7965
7968
|
}) => {
|
|
7966
7969
|
if (!$a312bccd722ac9e4$var$inserted) {
|
|
7967
7970
|
// Insert styling on first import
|
|
7968
|
-
$e4bebbfa0f0b1454$export$59ba1eb2c083f0cd((0, /*@__PURE__*/$parcel$interopDefault($
|
|
7971
|
+
$e4bebbfa0f0b1454$export$59ba1eb2c083f0cd((0, /*@__PURE__*/$parcel$interopDefault($aa123ed8001baa5e$exports)));
|
|
7969
7972
|
$a312bccd722ac9e4$var$inserted = true;
|
|
7970
7973
|
}
|
|
7971
7974
|
const img = process.env.BUILD_TARGET === "modern" || process.env.BUILD_TARGET === "dev" ? $a312bccd722ac9e4$var$Image(options) : $a312bccd722ac9e4$var$CompatibleImage(options);
|
|
@@ -8033,8 +8036,8 @@ function $a312bccd722ac9e4$var$srcset_comp_from_map_or_new(rendering_options, sr
|
|
|
8033
8036
|
}
|
|
8034
8037
|
return sourceset_component;
|
|
8035
8038
|
}
|
|
8036
|
-
var $
|
|
8037
|
-
$
|
|
8039
|
+
var $db57c943efeaebed$exports = {};
|
|
8040
|
+
$db57c943efeaebed$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
8041
|
var $a656daa2fa8c279a$var$_tmpl$ = ["<div", ' class="images-container"><!--$-->', '<!--/--><div class="main-image-container">', "</div></div>"],
|
|
8039
8042
|
$a656daa2fa8c279a$var$_tmpl$2 = ["<div", ' class="second-image-container">', "</div>"];
|
|
8040
8043
|
// Saving bytez
|
|
@@ -8163,7 +8166,7 @@ const $a656daa2fa8c279a$export$2369f6fc1c911576 = ({
|
|
|
8163
8166
|
...options
|
|
8164
8167
|
}) => {
|
|
8165
8168
|
if (!$a656daa2fa8c279a$var$styling_inserted) {
|
|
8166
|
-
$e4bebbfa0f0b1454$export$59ba1eb2c083f0cd((0, /*@__PURE__*/$parcel$interopDefault($
|
|
8169
|
+
$e4bebbfa0f0b1454$export$59ba1eb2c083f0cd((0, /*@__PURE__*/$parcel$interopDefault($db57c943efeaebed$exports)));
|
|
8167
8170
|
$a656daa2fa8c279a$var$styling_inserted = true;
|
|
8168
8171
|
}
|
|
8169
8172
|
const main_image = $a312bccd722ac9e4$export$788756b42446dc2d({
|