@depict-ai/ui 2.1.0 → 2.1.2
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 +252 -257
- package/ES10/index.d.ts +4 -4
- package/ES10/index.js +253 -258
- package/latest/index.cjs +252 -257
- package/latest/index.d.ts +4 -4
- package/latest/index.js +253 -258
- package/package.json +2 -2
- package/server/ES10/index.cjs +164 -173
- package/server/ES10/index.d.ts +4 -4
- package/server/ES10/index.js +165 -174
- package/server/latest/index.cjs +164 -173
- package/server/latest/index.d.ts +4 -4
- package/server/latest/index.js +165 -174
package/ES10/index.cjs
CHANGED
|
@@ -76,7 +76,7 @@ $parcel$export(module.exports, "defaultColsAtSize", () => $33eed84f447aa0c0$expo
|
|
|
76
76
|
$parcel$export(module.exports, "defaultCategoryTitlePlugin", () => $33eed84f447aa0c0$export$7bf543b9d9be2c22);
|
|
77
77
|
$parcel$export(module.exports, "version", () => $aa1938dec50d6c12$export$83d89fbfd8236492);
|
|
78
78
|
/*! Depict.ai search and product listing SDK */
|
|
79
|
-
const $aa1938dec50d6c12$export$83d89fbfd8236492 = "2.1.
|
|
79
|
+
const $aa1938dec50d6c12$export$83d89fbfd8236492 = "2.1.2";
|
|
80
80
|
const $a68b73fd7ba0853f$var$fallback_operator = "in";
|
|
81
81
|
const $a68b73fd7ba0853f$var$fallback_token = "";
|
|
82
82
|
const $a68b73fd7ba0853f$var$legacy_filter_prefix = "filter_";
|
|
@@ -268,7 +268,7 @@ function $d067f3a30f047b41$export$e68cff63f76bd15b(props) {
|
|
|
268
268
|
function $d067f3a30f047b41$export$8d0c4fdbb05a2f2e() {
|
|
269
269
|
return $52FdA$solidjs.useContext($d067f3a30f047b41$var$ListingContext);
|
|
270
270
|
}
|
|
271
|
-
const $ce467edb5343cfcd$var$_tmpl$ = /*#__PURE__*/$52FdA$solidjsweb.template(`<div
|
|
271
|
+
const $ce467edb5343cfcd$var$_tmpl$ = /*#__PURE__*/$52FdA$solidjsweb.template(`<div>`);
|
|
272
272
|
function $ce467edb5343cfcd$export$94026ee33dbabc26(props) {
|
|
273
273
|
return (() => {
|
|
274
274
|
const _el$ = $52FdA$solidjsweb.getNextElement($ce467edb5343cfcd$var$_tmpl$);
|
|
@@ -276,7 +276,7 @@ function $ce467edb5343cfcd$export$94026ee33dbabc26(props) {
|
|
|
276
276
|
return _el$;
|
|
277
277
|
})();
|
|
278
278
|
}
|
|
279
|
-
const $858fdcf73148519f$var$_tmpl$ = /*#__PURE__*/$52FdA$solidjsweb.template(`<img
|
|
279
|
+
const $858fdcf73148519f$var$_tmpl$ = /*#__PURE__*/$52FdA$solidjsweb.template(`<img>`);
|
|
280
280
|
function $858fdcf73148519f$export$e6fffe67d4cdd848(whatToWatch) {
|
|
281
281
|
const [size, setSize] = $52FdA$solidjs.createSignal(0);
|
|
282
282
|
const resizeObserver = new ResizeObserver($52FdA$depictaiutilishared.catchify(records => {
|
|
@@ -387,7 +387,7 @@ function $28535bb7671c63d1$export$e4b984597b71e989(props) {
|
|
|
387
387
|
}));
|
|
388
388
|
return container;
|
|
389
389
|
}
|
|
390
|
-
const $9d19451330d04c3c$var$_tmpl$ = /*#__PURE__*/$52FdA$solidjsweb.template(`<svg xmlns=
|
|
390
|
+
const $9d19451330d04c3c$var$_tmpl$ = /*#__PURE__*/$52FdA$solidjsweb.template(`<svg xmlns=http://www.w3.org/2000/svg viewBox="0 0 14 26"><path d="M2 24.656c-.078 0-.156-.016-.234-.047s-.133-.066-.187-.129c-.117-.117-.176-.258-.176-.422s.059-.305.176-.422l10.371-10.371L1.578 2.883c-.117-.117-.176-.258-.176-.422s.059-.305.176-.422.258-.176.422-.176.305.059.422.176l10.805 10.793a.59.59 0 0 1 .176.434c0 .172-.059.305-.176.422L2.422 24.48a.42.42 0 0 1-.199.129.54.54 0 0 1-.223.047zm0 0"fill=#0f0f0f>`);
|
|
391
391
|
function $9d19451330d04c3c$export$8be2714ec7f169ee() {
|
|
392
392
|
let props = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : {};
|
|
393
393
|
return (() => {
|
|
@@ -406,7 +406,7 @@ function $9d19451330d04c3c$export$8be2714ec7f169ee() {
|
|
|
406
406
|
return _el$;
|
|
407
407
|
})();
|
|
408
408
|
}
|
|
409
|
-
const $ad8ec7729fffeb9c$var$_tmpl$ = /*#__PURE__*/$52FdA$solidjsweb.template(`<div
|
|
409
|
+
const $ad8ec7729fffeb9c$var$_tmpl$ = /*#__PURE__*/$52FdA$solidjsweb.template(`<div>`);
|
|
410
410
|
function $ad8ec7729fffeb9c$export$6649caad96ef8870(_ref) {
|
|
411
411
|
let {
|
|
412
412
|
children: children,
|
|
@@ -772,7 +772,7 @@ class $95e4006e1dcb5b72$export$aa14a9f43128f61f extends $95e4006e1dcb5b72$export
|
|
|
772
772
|
});
|
|
773
773
|
}
|
|
774
774
|
}
|
|
775
|
-
const $1b3cf201cdd38687$var$_tmpl$ = /*#__PURE__*/$52FdA$solidjsweb.template(`<div
|
|
775
|
+
const $1b3cf201cdd38687$var$_tmpl$ = /*#__PURE__*/$52FdA$solidjsweb.template(`<div>`);
|
|
776
776
|
function $1b3cf201cdd38687$export$b69d0d92862de18b(props) {
|
|
777
777
|
return $52FdA$solidjs.ErrorBoundary({
|
|
778
778
|
fallback(err, retry) {
|
|
@@ -802,8 +802,8 @@ function $1b3cf201cdd38687$export$b69d0d92862de18b(props) {
|
|
|
802
802
|
}
|
|
803
803
|
});
|
|
804
804
|
}
|
|
805
|
-
const $6c2c739b113a8ddf$var$_tmpl$ = /*#__PURE__*/$52FdA$solidjsweb.template(`<div
|
|
806
|
-
$6c2c739b113a8ddf$var$_tmpl$2 = /*#__PURE__*/$52FdA$solidjsweb.template(`<style type=
|
|
805
|
+
const $6c2c739b113a8ddf$var$_tmpl$ = /*#__PURE__*/$52FdA$solidjsweb.template(`<div>`),
|
|
806
|
+
$6c2c739b113a8ddf$var$_tmpl$2 = /*#__PURE__*/$52FdA$solidjsweb.template(`<style type=text/css>`);
|
|
807
807
|
function $6c2c739b113a8ddf$export$d21e32dfedac04be(props) {
|
|
808
808
|
const container_class = "x" + $52FdA$solidjs.createUniqueId();
|
|
809
809
|
const container_element_ = (() => {
|
|
@@ -1045,7 +1045,7 @@ function $d05611ff6b8c8357$export$23fca46f3143581f(component, error_message) {
|
|
|
1045
1045
|
// we're already in a root so cleanups are handled
|
|
1046
1046
|
return component_in_error_boundary();
|
|
1047
1047
|
}
|
|
1048
|
-
const $2badc30d7c6610e1$var$_tmpl$ = /*#__PURE__*/$52FdA$solidjsweb.template(`<div class="depict recommendations"
|
|
1048
|
+
const $2badc30d7c6610e1$var$_tmpl$ = /*#__PURE__*/$52FdA$solidjsweb.template(`<div class="depict recommendations">`);
|
|
1049
1049
|
function $2badc30d7c6610e1$export$9574e176201e5e8d(props) {
|
|
1050
1050
|
return $d05611ff6b8c8357$export$23fca46f3143581f(() => {
|
|
1051
1051
|
const grid_spacing_override = $52FdA$solidjs.createMemo(() => {
|
|
@@ -1082,7 +1082,7 @@ function $2badc30d7c6610e1$export$9574e176201e5e8d(props) {
|
|
|
1082
1082
|
})();
|
|
1083
1083
|
}, "RecommendationSlider failed");
|
|
1084
1084
|
}
|
|
1085
|
-
const $2c920813c92d6987$var$_tmpl$ = /*#__PURE__*/$52FdA$solidjsweb.template(`<div class=
|
|
1085
|
+
const $2c920813c92d6987$var$_tmpl$ = /*#__PURE__*/$52FdA$solidjsweb.template(`<div class=recommendation-grid><!$><!/><!$><!/>`);
|
|
1086
1086
|
function $2c920813c92d6987$export$7da560f849543dff(_ref) {
|
|
1087
1087
|
let {
|
|
1088
1088
|
recommendations_resource_: recommendations_resource_,
|
|
@@ -1145,8 +1145,8 @@ function $2c920813c92d6987$export$7da560f849543dff(_ref) {
|
|
|
1145
1145
|
children: elements
|
|
1146
1146
|
});
|
|
1147
1147
|
}
|
|
1148
|
-
const $41227f10ad680afd$var$_tmpl$ = /*#__PURE__*/$52FdA$solidjsweb.template(`<button class="show-more major"
|
|
1149
|
-
$41227f10ad680afd$var$_tmpl$2 = /*#__PURE__*/$52FdA$solidjsweb.template(`<div class="depict plp recommendations"
|
|
1148
|
+
const $41227f10ad680afd$var$_tmpl$ = /*#__PURE__*/$52FdA$solidjsweb.template(`<button class="show-more major"type=button>`),
|
|
1149
|
+
$41227f10ad680afd$var$_tmpl$2 = /*#__PURE__*/$52FdA$solidjsweb.template(`<div class="depict plp recommendations">`);
|
|
1150
1150
|
function $41227f10ad680afd$export$9756467d34d91cdb(props) {
|
|
1151
1151
|
return $d05611ff6b8c8357$export$23fca46f3143581f(() => {
|
|
1152
1152
|
const rows_object_ = $52FdA$solidjs.createMemo(() => {
|
|
@@ -1326,7 +1326,7 @@ function $f38f2e64ebe2da86$export$a71e92cfbb498adc(props) {
|
|
|
1326
1326
|
return $52FdA$depictaiutilishared.standard_price_format(props.price_, price_formatting.places_after_comma_, price_formatting.decimal_places_delimiter_, price_formatting.thousands_delimiter_);
|
|
1327
1327
|
});
|
|
1328
1328
|
}
|
|
1329
|
-
const $5909f8d84b7b4c30$var$_tmpl$ = /*#__PURE__*/$52FdA$solidjsweb.template(`<div
|
|
1329
|
+
const $5909f8d84b7b4c30$var$_tmpl$ = /*#__PURE__*/$52FdA$solidjsweb.template(`<div>`);
|
|
1330
1330
|
const $5909f8d84b7b4c30$var$closing_functions = /*@__PURE__*/new Set();
|
|
1331
1331
|
const $5909f8d84b7b4c30$export$22970a0140fc759c = /*@__PURE__*/$52FdA$solidjs.createSignal(false);
|
|
1332
1332
|
function $5909f8d84b7b4c30$export$5196e4c01fa56fcb(_ref) {
|
|
@@ -1419,8 +1419,8 @@ function $5909f8d84b7b4c30$export$5196e4c01fa56fcb(_ref) {
|
|
|
1419
1419
|
close_toast_: close_toast_
|
|
1420
1420
|
};
|
|
1421
1421
|
}
|
|
1422
|
-
const $1a8463d757baadb6$var$_tmpl$ = /*#__PURE__*/$52FdA$solidjsweb.template(`<div class=
|
|
1423
|
-
$1a8463d757baadb6$var$_tmpl$2 = /*#__PURE__*/$52FdA$solidjsweb.template(`<div class=
|
|
1422
|
+
const $1a8463d757baadb6$var$_tmpl$ = /*#__PURE__*/$52FdA$solidjsweb.template(`<div class=statement>`),
|
|
1423
|
+
$1a8463d757baadb6$var$_tmpl$2 = /*#__PURE__*/$52FdA$solidjsweb.template(`<div class=buttons><button class="restore minor"></button><button class="ok major">`);
|
|
1424
1424
|
function $1a8463d757baadb6$export$8895d39404bd2bb1(props) {
|
|
1425
1425
|
let previous_sorting;
|
|
1426
1426
|
let on_toast_hidden;
|
|
@@ -1503,7 +1503,7 @@ function $1a8463d757baadb6$export$8895d39404bd2bb1(props) {
|
|
|
1503
1503
|
if (delay_toast_) return show_configured_toast;else show_configured_toast();
|
|
1504
1504
|
}
|
|
1505
1505
|
$52FdA$solidjsweb.delegateEvents(["click"]);
|
|
1506
|
-
const $083b2336093176cf$var$_tmpl$ = /*#__PURE__*/$52FdA$solidjsweb.template(`<svg><path d="M11.669 10.531l9.156-9.156a.78.78 0 0 0 .237-.569c0-.221-.079-.412-.237-.569A.8.8 0 0 0 20.24 0a.77.77 0 0 0-.569.237l-9.14 9.14-9.14-9.14A.79.79 0 0 0 .807 0a.77.77 0 0 0-.569.237A.78.78 0 0 0 0 .807a.77.77 0 0 0 .237.569l9.156 9.156-9.156 9.14c-.159.157-.237.349-.237.569s.079.412.237.569c.085.085.174.148.268.19a1.095 1.095 0 0 0 .316.048.894.894 0 0 0 .285-.048.84.84 0 0 0 .285-.19l9.139-9.14 9.14 9.14a.894.894 0 0 0 .268.19 1.049 1.049 0 0 0 .301.048.941.941 0 0 0 .301-.048.84.84 0 0 0 .285-.19.78.78 0 0 0 .237-.569c0-.221-.079-.412-.237-.569z"
|
|
1506
|
+
const $083b2336093176cf$var$_tmpl$ = /*#__PURE__*/$52FdA$solidjsweb.template(`<svg><path d="M11.669 10.531l9.156-9.156a.78.78 0 0 0 .237-.569c0-.221-.079-.412-.237-.569A.8.8 0 0 0 20.24 0a.77.77 0 0 0-.569.237l-9.14 9.14-9.14-9.14A.79.79 0 0 0 .807 0a.77.77 0 0 0-.569.237A.78.78 0 0 0 0 .807a.77.77 0 0 0 .237.569l9.156 9.156-9.156 9.14c-.159.157-.237.349-.237.569s.079.412.237.569c.085.085.174.148.268.19a1.095 1.095 0 0 0 .316.048.894.894 0 0 0 .285-.048.84.84 0 0 0 .285-.19l9.139-9.14 9.14 9.14a.894.894 0 0 0 .268.19 1.049 1.049 0 0 0 .301.048.941.941 0 0 0 .301-.048.84.84 0 0 0 .285-.19.78.78 0 0 0 .237-.569c0-.221-.079-.412-.237-.569z">`);
|
|
1507
1507
|
function $083b2336093176cf$export$3b621d86b1566b2() {
|
|
1508
1508
|
let props = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : {};
|
|
1509
1509
|
return (() => {
|
|
@@ -1526,10 +1526,10 @@ function $e2d74bb03cc5252e$export$325f75597868c4f0(stuff) {
|
|
|
1526
1526
|
if (typeof stuff !== "string") return stuff;
|
|
1527
1527
|
return stuff.toLowerCase();
|
|
1528
1528
|
}
|
|
1529
|
-
const $c5842bdb10e57229$var$_tmpl$ = /*#__PURE__*/$52FdA$solidjsweb.template(`<button class="clear-all-filters minor"
|
|
1530
|
-
$c5842bdb10e57229$var$_tmpl$2 = /*#__PURE__*/$52FdA$solidjsweb.template(`<div class=
|
|
1531
|
-
$c5842bdb10e57229$var$_tmpl$3 = /*#__PURE__*/$52FdA$solidjsweb.template(`<button class="clear-filter major"
|
|
1532
|
-
$c5842bdb10e57229$var$_tmpl$4 = /*#__PURE__*/$52FdA$solidjsweb.template(`<button class="clear-filter major"
|
|
1529
|
+
const $c5842bdb10e57229$var$_tmpl$ = /*#__PURE__*/$52FdA$solidjsweb.template(`<button class="clear-all-filters minor">`),
|
|
1530
|
+
$c5842bdb10e57229$var$_tmpl$2 = /*#__PURE__*/$52FdA$solidjsweb.template(`<div class=inner><span class=title><!$><!/>: </span><!$><!/>`),
|
|
1531
|
+
$c5842bdb10e57229$var$_tmpl$3 = /*#__PURE__*/$52FdA$solidjsweb.template(`<button class="clear-filter major"><!$><!/><span><!$><!/><!$><!/><!$><!/> – <!$><!/><!$><!/><!$><!/>`),
|
|
1532
|
+
$c5842bdb10e57229$var$_tmpl$4 = /*#__PURE__*/$52FdA$solidjsweb.template(`<button class="clear-filter major"><!$><!/><span>`);
|
|
1533
1533
|
function $c5842bdb10e57229$export$fecbb157621501bd(_ref) {
|
|
1534
1534
|
let {
|
|
1535
1535
|
number_of_rendered_selected_filters_items_: number_of_rendered_selected_filters_items_,
|
|
@@ -1660,56 +1660,54 @@ function $c5842bdb10e57229$export$fecbb157621501bd(_ref) {
|
|
|
1660
1660
|
return ((_matching_filter2 = matching_filter()) === null || _matching_filter2 === void 0 ? void 0 : _matching_filter2.op) !== "inrange";
|
|
1661
1661
|
},
|
|
1662
1662
|
get fallback() {
|
|
1663
|
+
number_of_rendered_selected_filters_items_[1](prev => prev + 1);
|
|
1664
|
+
$52FdA$solidjs.onCleanup(() => number_of_rendered_selected_filters_items_[1](prev => prev - 1));
|
|
1663
1665
|
return (() => {
|
|
1664
|
-
|
|
1665
|
-
|
|
1666
|
-
|
|
1667
|
-
|
|
1668
|
-
|
|
1669
|
-
|
|
1670
|
-
|
|
1671
|
-
|
|
1672
|
-
|
|
1673
|
-
|
|
1674
|
-
|
|
1675
|
-
|
|
1676
|
-
|
|
1677
|
-
|
|
1678
|
-
|
|
1679
|
-
|
|
1680
|
-
|
|
1681
|
-
|
|
1682
|
-
|
|
1683
|
-
|
|
1684
|
-
|
|
1685
|
-
|
|
1686
|
-
|
|
1687
|
-
|
|
1688
|
-
|
|
1689
|
-
|
|
1690
|
-
|
|
1691
|
-
|
|
1692
|
-
|
|
1693
|
-
|
|
1694
|
-
|
|
1695
|
-
|
|
1696
|
-
|
|
1697
|
-
|
|
1698
|
-
|
|
1699
|
-
|
|
1700
|
-
|
|
1701
|
-
|
|
1702
|
-
|
|
1703
|
-
|
|
1704
|
-
|
|
1705
|
-
|
|
1706
|
-
|
|
1707
|
-
|
|
1708
|
-
|
|
1709
|
-
$52FdA$solidjsweb.insert(_el$10, () => price_formatting_().post_, _el$23, _co$8);
|
|
1710
|
-
$52FdA$solidjsweb.runHydrationEvents();
|
|
1711
|
-
return _el$9;
|
|
1712
|
-
})();
|
|
1666
|
+
const _el$9 = $52FdA$solidjsweb.getNextElement($c5842bdb10e57229$var$_tmpl$3),
|
|
1667
|
+
_el$24 = _el$9.firstChild,
|
|
1668
|
+
[_el$25, _co$9] = $52FdA$solidjsweb.getNextMarker(_el$24.nextSibling),
|
|
1669
|
+
_el$10 = _el$25.nextSibling,
|
|
1670
|
+
_el$12 = _el$10.firstChild,
|
|
1671
|
+
[_el$13, _co$3] = $52FdA$solidjsweb.getNextMarker(_el$12.nextSibling),
|
|
1672
|
+
_el$14 = _el$13.nextSibling,
|
|
1673
|
+
[_el$15, _co$4] = $52FdA$solidjsweb.getNextMarker(_el$14.nextSibling),
|
|
1674
|
+
_el$16 = _el$15.nextSibling,
|
|
1675
|
+
[_el$17, _co$5] = $52FdA$solidjsweb.getNextMarker(_el$16.nextSibling),
|
|
1676
|
+
_el$11 = _el$17.nextSibling,
|
|
1677
|
+
_el$18 = _el$11.nextSibling,
|
|
1678
|
+
[_el$19, _co$6] = $52FdA$solidjsweb.getNextMarker(_el$18.nextSibling),
|
|
1679
|
+
_el$20 = _el$19.nextSibling,
|
|
1680
|
+
[_el$21, _co$7] = $52FdA$solidjsweb.getNextMarker(_el$20.nextSibling),
|
|
1681
|
+
_el$22 = _el$21.nextSibling,
|
|
1682
|
+
[_el$23, _co$8] = $52FdA$solidjsweb.getNextMarker(_el$22.nextSibling);
|
|
1683
|
+
_el$9.$$click = () => {
|
|
1684
|
+
const cloned_selected_filters = [...read_selected_filters()];
|
|
1685
|
+
cloned_selected_filters.splice(index_in_selected_filters, 1);
|
|
1686
|
+
write_selected_filters(cloned_selected_filters);
|
|
1687
|
+
};
|
|
1688
|
+
$52FdA$solidjsweb.insert(_el$9, $52FdA$solidjsweb.createComponent((0, $083b2336093176cf$export$3b621d86b1566b2), {}), _el$25, _co$9);
|
|
1689
|
+
$52FdA$solidjsweb.insert(_el$10, () => price_formatting_().pre_, _el$13, _co$3);
|
|
1690
|
+
$52FdA$solidjsweb.insert(_el$10, $52FdA$solidjsweb.createComponent((0, $f38f2e64ebe2da86$export$a71e92cfbb498adc), {
|
|
1691
|
+
get price_() {
|
|
1692
|
+
return filter().data[0];
|
|
1693
|
+
},
|
|
1694
|
+
get price_formatting_() {
|
|
1695
|
+
return price_formatting_();
|
|
1696
|
+
}
|
|
1697
|
+
}), _el$15, _co$4);
|
|
1698
|
+
$52FdA$solidjsweb.insert(_el$10, () => price_formatting_().post_, _el$17, _co$5);
|
|
1699
|
+
$52FdA$solidjsweb.insert(_el$10, () => price_formatting_().pre_, _el$19, _co$6);
|
|
1700
|
+
$52FdA$solidjsweb.insert(_el$10, $52FdA$solidjsweb.createComponent((0, $f38f2e64ebe2da86$export$a71e92cfbb498adc), {
|
|
1701
|
+
get price_() {
|
|
1702
|
+
return filter().data[1];
|
|
1703
|
+
},
|
|
1704
|
+
get price_formatting_() {
|
|
1705
|
+
return price_formatting_();
|
|
1706
|
+
}
|
|
1707
|
+
}), _el$21, _co$7);
|
|
1708
|
+
$52FdA$solidjsweb.insert(_el$10, () => price_formatting_().post_, _el$23, _co$8);
|
|
1709
|
+
$52FdA$solidjsweb.runHydrationEvents();
|
|
1710
|
+
return _el$9;
|
|
1713
1711
|
})();
|
|
1714
1712
|
},
|
|
1715
1713
|
get children() {
|
|
@@ -1840,8 +1838,8 @@ function $c5842bdb10e57229$export$fecbb157621501bd(_ref) {
|
|
|
1840
1838
|
return outmost_element;
|
|
1841
1839
|
}
|
|
1842
1840
|
$52FdA$solidjsweb.delegateEvents(["click"]);
|
|
1843
|
-
const $902a0ca2b52f3898$var$_tmpl$ = /*#__PURE__*/$52FdA$solidjsweb.template(`<span class=
|
|
1844
|
-
$902a0ca2b52f3898$var$_tmpl$2 = /*#__PURE__*/$52FdA$solidjsweb.template(`<label class=
|
|
1841
|
+
const $902a0ca2b52f3898$var$_tmpl$ = /*#__PURE__*/$52FdA$solidjsweb.template(`<span class=count>`),
|
|
1842
|
+
$902a0ca2b52f3898$var$_tmpl$2 = /*#__PURE__*/$52FdA$solidjsweb.template(`<label class=input-row><div class=left><input type=checkbox><span class=custom-indicator></span><span class="text line-clamp"></span></div><!$><!/>`);
|
|
1845
1843
|
const $902a0ca2b52f3898$export$48513f6b9f8ce62d = props => {
|
|
1846
1844
|
// It seems like there's no diffing without memos here (since we often just have computations in the getters above that update to the same result often because their dependencies change with unrelated changes often), so put memos here to avoid unneeded DOM changes
|
|
1847
1845
|
const count = $52FdA$solidjs.createMemo(() => props.count_);
|
|
@@ -1893,19 +1891,19 @@ const $902a0ca2b52f3898$export$48513f6b9f8ce62d = props => {
|
|
|
1893
1891
|
_v$3 = !checked() && is_count_zero();
|
|
1894
1892
|
_v$ !== _p$._v$ && _el$.classList.toggle("count-0", _p$._v$ = _v$);
|
|
1895
1893
|
_v$2 !== _p$._v$2 && $52FdA$solidjsweb.setAttribute(_el$3, "name", _p$._v$2 = _v$2);
|
|
1896
|
-
_v$3 !== _p$._v$3 && (_el$3
|
|
1894
|
+
_v$3 !== _p$._v$3 && $52FdA$solidjsweb.setProperty(_el$3, "disabled", _p$._v$3 = _v$3);
|
|
1897
1895
|
return _p$;
|
|
1898
1896
|
}, {
|
|
1899
1897
|
_v$: undefined,
|
|
1900
1898
|
_v$2: undefined,
|
|
1901
1899
|
_v$3: undefined
|
|
1902
1900
|
});
|
|
1903
|
-
$52FdA$solidjsweb.effect(() => _el$3
|
|
1901
|
+
$52FdA$solidjsweb.effect(() => $52FdA$solidjsweb.setProperty(_el$3, "checked", checked()));
|
|
1904
1902
|
return _el$;
|
|
1905
1903
|
})()
|
|
1906
1904
|
);
|
|
1907
1905
|
};
|
|
1908
|
-
const $a904ccf883f60231$var$_tmpl$ = /*#__PURE__*/$52FdA$solidjsweb.template(`<svg><path d="M10.173 5.548H5.5V.875c0-.075-.027-.14-.081-.193S5.301.601 5.226.601s-.14.027-.193.081-.081.118-.081.193v4.673H.274c-.075 0-.14.027-.193.081A.27.27 0 0 0 0 5.827c0 .075.027.14.081.193s.118.081.193.081h4.678v4.673c0 .075.027.14.081.193s.118.081.193.081.14-.027.193-.081.081-.118.081-.193V6.101h4.673a.27.27 0 0 0 .199-.081c.054-.054.08-.118.08-.193a.27.27 0 0 0-.279-.279z"
|
|
1906
|
+
const $a904ccf883f60231$var$_tmpl$ = /*#__PURE__*/$52FdA$solidjsweb.template(`<svg><path d="M10.173 5.548H5.5V.875c0-.075-.027-.14-.081-.193S5.301.601 5.226.601s-.14.027-.193.081-.081.118-.081.193v4.673H.274c-.075 0-.14.027-.193.081A.27.27 0 0 0 0 5.827c0 .075.027.14.081.193s.118.081.193.081h4.678v4.673c0 .075.027.14.081.193s.118.081.193.081.14-.027.193-.081.081-.118.081-.193V6.101h4.673a.27.27 0 0 0 .199-.081c.054-.054.08-.118.08-.193a.27.27 0 0 0-.279-.279z"fill=#000>`);
|
|
1909
1907
|
function $a904ccf883f60231$export$f21ab0717a89c77f(props) {
|
|
1910
1908
|
return (() => {
|
|
1911
1909
|
const _el$ = $52FdA$solidjsweb.getNextElement($a904ccf883f60231$var$_tmpl$);
|
|
@@ -1918,7 +1916,7 @@ function $a904ccf883f60231$export$f21ab0717a89c77f(props) {
|
|
|
1918
1916
|
return _el$;
|
|
1919
1917
|
})();
|
|
1920
1918
|
}
|
|
1921
|
-
const $b0477e4d832f090e$var$_tmpl$ = /*#__PURE__*/$52FdA$solidjsweb.template(`<button type=
|
|
1919
|
+
const $b0477e4d832f090e$var$_tmpl$ = /*#__PURE__*/$52FdA$solidjsweb.template(`<button type=button class=expand-filter><!$><!/><span>`);
|
|
1922
1920
|
function $b0477e4d832f090e$export$ca21a16d65b3dd8(_ref) {
|
|
1923
1921
|
let {
|
|
1924
1922
|
show_extras_: [get_show_extras, set_show_extras],
|
|
@@ -1941,7 +1939,7 @@ function $b0477e4d832f090e$export$ca21a16d65b3dd8(_ref) {
|
|
|
1941
1939
|
})();
|
|
1942
1940
|
}
|
|
1943
1941
|
$52FdA$solidjsweb.delegateEvents(["click"]);
|
|
1944
|
-
const $9b54b9c5381716eb$var$_tmpl$ = /*#__PURE__*/$52FdA$solidjsweb.template(`<form class=
|
|
1942
|
+
const $9b54b9c5381716eb$var$_tmpl$ = /*#__PURE__*/$52FdA$solidjsweb.template(`<form class=checkboxes><!$><!/><!$><!/>`);
|
|
1945
1943
|
const $9b54b9c5381716eb$var$max_visible_without_collapsing = 15;
|
|
1946
1944
|
const $9b54b9c5381716eb$var$show_non_collapsible_when_collapsed = 4;
|
|
1947
1945
|
function $9b54b9c5381716eb$export$dd948f91abc3a1c4(_ref) {
|
|
@@ -2082,9 +2080,9 @@ function $9b54b9c5381716eb$export$dd948f91abc3a1c4(_ref) {
|
|
|
2082
2080
|
return _el$;
|
|
2083
2081
|
})();
|
|
2084
2082
|
}
|
|
2085
|
-
const $d9239dad9a9d899b$var$_tmpl$ = /*#__PURE__*/$52FdA$solidjsweb.template(`<form class=
|
|
2086
|
-
$d9239dad9a9d899b$var$_tmpl$2 = /*#__PURE__*/$52FdA$solidjsweb.template(`<span class=
|
|
2087
|
-
$d9239dad9a9d899b$var$_tmpl$3 = /*#__PURE__*/$52FdA$solidjsweb.template(`<label class=
|
|
2083
|
+
const $d9239dad9a9d899b$var$_tmpl$ = /*#__PURE__*/$52FdA$solidjsweb.template(`<form class=radios>`),
|
|
2084
|
+
$d9239dad9a9d899b$var$_tmpl$2 = /*#__PURE__*/$52FdA$solidjsweb.template(`<span class=count>`),
|
|
2085
|
+
$d9239dad9a9d899b$var$_tmpl$3 = /*#__PURE__*/$52FdA$solidjsweb.template(`<label class=input-row><div class=left><input type=radio><span class=custom-indicator></span><!$><!/></div><!$><!/>`);
|
|
2088
2086
|
function $d9239dad9a9d899b$export$430444115f70a734(_ref) {
|
|
2089
2087
|
let {
|
|
2090
2088
|
selected_filters_: selected_filters_,
|
|
@@ -2158,13 +2156,13 @@ function $d9239dad9a9d899b$export$430444115f70a734(_ref) {
|
|
|
2158
2156
|
}
|
|
2159
2157
|
}), _el$10, _co$2);
|
|
2160
2158
|
$52FdA$solidjsweb.effect(() => _el$2.classList.toggle("count-0", !!(count() === 0)));
|
|
2161
|
-
$52FdA$solidjsweb.effect(() => _el$4
|
|
2159
|
+
$52FdA$solidjsweb.effect(() => $52FdA$solidjsweb.setProperty(_el$4, "checked", $52FdA$solidjs.createMemo(() => {
|
|
2162
2160
|
var _existing_filter;
|
|
2163
2161
|
const v = value();
|
|
2164
2162
|
const data = (_existing_filter = existing_filter()) === null || _existing_filter === void 0 ? void 0 : _existing_filter.data;
|
|
2165
2163
|
if ($e2d74bb03cc5252e$export$325f75597868c4f0(data) === $e2d74bb03cc5252e$export$325f75597868c4f0(v)) return true;
|
|
2166
2164
|
return Array.isArray(data) && data.every((item, index) => item === v[index]);
|
|
2167
|
-
})());
|
|
2165
|
+
})()));
|
|
2168
2166
|
return _el$2;
|
|
2169
2167
|
})();
|
|
2170
2168
|
}
|
|
@@ -2172,9 +2170,9 @@ function $d9239dad9a9d899b$export$430444115f70a734(_ref) {
|
|
|
2172
2170
|
return _el$;
|
|
2173
2171
|
})();
|
|
2174
2172
|
}
|
|
2175
|
-
const $0257c760a99bfacb$var$_tmpl$ = /*#__PURE__*/$52FdA$solidjsweb.template(`<div class=
|
|
2176
|
-
$0257c760a99bfacb$var$_tmpl$2 = /*#__PURE__*/$52FdA$solidjsweb.template(`<div class=
|
|
2177
|
-
$0257c760a99bfacb$var$_tmpl$3 = /*#__PURE__*/$52FdA$solidjsweb.template(`<div class=
|
|
2173
|
+
const $0257c760a99bfacb$var$_tmpl$ = /*#__PURE__*/$52FdA$solidjsweb.template(`<div class=range><div class=input-group><div class=field><input type=number></div><div class=separator>-</div><div class=field><input type=number></div></div><!$><!/><div class=value-text><span class=min><!$><!/><!$><!/><!$><!/></span><span class=max><!$><!/><!$><!/><!$><!/>`),
|
|
2174
|
+
$0257c760a99bfacb$var$_tmpl$2 = /*#__PURE__*/$52FdA$solidjsweb.template(`<div class=slider><div class=progress>`),
|
|
2175
|
+
$0257c760a99bfacb$var$_tmpl$3 = /*#__PURE__*/$52FdA$solidjsweb.template(`<div class=range-group><input type=range step=any><input type=range step=any>`);
|
|
2178
2176
|
function $0257c760a99bfacb$export$e0d834a0ad870cda(_ref) {
|
|
2179
2177
|
let {
|
|
2180
2178
|
filter_: filter_,
|
|
@@ -2335,11 +2333,11 @@ function $0257c760a99bfacb$var$RangeSelector(_ref3) {
|
|
|
2335
2333
|
_v$8 = min_(),
|
|
2336
2334
|
_v$9 = max_();
|
|
2337
2335
|
_v$ !== _p$._v$ && _el$.classList.toggle("disabled", _p$._v$ = _v$);
|
|
2338
|
-
_v$2 !== _p$._v$2 && (_el$4
|
|
2336
|
+
_v$2 !== _p$._v$2 && $52FdA$solidjsweb.setProperty(_el$4, "disabled", _p$._v$2 = _v$2);
|
|
2339
2337
|
_v$3 !== _p$._v$3 && $52FdA$solidjsweb.setAttribute(_el$4, "aria-label", _p$._v$3 = _v$3);
|
|
2340
2338
|
_v$4 !== _p$._v$4 && $52FdA$solidjsweb.setAttribute(_el$4, "min", _p$._v$4 = _v$4);
|
|
2341
2339
|
_v$5 !== _p$._v$5 && $52FdA$solidjsweb.setAttribute(_el$4, "max", _p$._v$5 = _v$5);
|
|
2342
|
-
_v$6 !== _p$._v$6 && (_el$7
|
|
2340
|
+
_v$6 !== _p$._v$6 && $52FdA$solidjsweb.setProperty(_el$7, "disabled", _p$._v$6 = _v$6);
|
|
2343
2341
|
_v$7 !== _p$._v$7 && $52FdA$solidjsweb.setAttribute(_el$7, "aria-label", _p$._v$7 = _v$7);
|
|
2344
2342
|
_v$8 !== _p$._v$8 && $52FdA$solidjsweb.setAttribute(_el$7, "min", _p$._v$8 = _v$8);
|
|
2345
2343
|
_v$9 !== _p$._v$9 && $52FdA$solidjsweb.setAttribute(_el$7, "max", _p$._v$9 = _v$9);
|
|
@@ -2355,8 +2353,8 @@ function $0257c760a99bfacb$var$RangeSelector(_ref3) {
|
|
|
2355
2353
|
_v$8: undefined,
|
|
2356
2354
|
_v$9: undefined
|
|
2357
2355
|
});
|
|
2358
|
-
$52FdA$solidjsweb.effect(() => _el$4
|
|
2359
|
-
$52FdA$solidjsweb.effect(() => _el$7
|
|
2356
|
+
$52FdA$solidjsweb.effect(() => $52FdA$solidjsweb.setProperty(_el$4, "value", get_current_range()[0]));
|
|
2357
|
+
$52FdA$solidjsweb.effect(() => $52FdA$solidjsweb.setProperty(_el$7, "value", get_current_range()[1]));
|
|
2360
2358
|
$52FdA$solidjsweb.runHydrationEvents();
|
|
2361
2359
|
return _el$;
|
|
2362
2360
|
})();
|
|
@@ -2482,11 +2480,11 @@ function $0257c760a99bfacb$var$LinearSlider(_ref8) {
|
|
|
2482
2480
|
_v$15 = i18n_.range_filter_high_point_aria_label_(),
|
|
2483
2481
|
_v$16 = min_(),
|
|
2484
2482
|
_v$17 = max_();
|
|
2485
|
-
_v$10 !== _p$._v$10 && (_el$28
|
|
2483
|
+
_v$10 !== _p$._v$10 && $52FdA$solidjsweb.setProperty(_el$28, "disabled", _p$._v$10 = _v$10);
|
|
2486
2484
|
_v$11 !== _p$._v$11 && $52FdA$solidjsweb.setAttribute(_el$28, "aria-label", _p$._v$11 = _v$11);
|
|
2487
2485
|
_v$12 !== _p$._v$12 && $52FdA$solidjsweb.setAttribute(_el$28, "min", _p$._v$12 = _v$12);
|
|
2488
2486
|
_v$13 !== _p$._v$13 && $52FdA$solidjsweb.setAttribute(_el$28, "max", _p$._v$13 = _v$13);
|
|
2489
|
-
_v$14 !== _p$._v$14 && (_el$29
|
|
2487
|
+
_v$14 !== _p$._v$14 && $52FdA$solidjsweb.setProperty(_el$29, "disabled", _p$._v$14 = _v$14);
|
|
2490
2488
|
_v$15 !== _p$._v$15 && $52FdA$solidjsweb.setAttribute(_el$29, "aria-label", _p$._v$15 = _v$15);
|
|
2491
2489
|
_v$16 !== _p$._v$16 && $52FdA$solidjsweb.setAttribute(_el$29, "min", _p$._v$16 = _v$16);
|
|
2492
2490
|
_v$17 !== _p$._v$17 && $52FdA$solidjsweb.setAttribute(_el$29, "max", _p$._v$17 = _v$17);
|
|
@@ -2501,13 +2499,13 @@ function $0257c760a99bfacb$var$LinearSlider(_ref8) {
|
|
|
2501
2499
|
_v$16: undefined,
|
|
2502
2500
|
_v$17: undefined
|
|
2503
2501
|
});
|
|
2504
|
-
$52FdA$solidjsweb.effect(() => _el$28
|
|
2502
|
+
$52FdA$solidjsweb.effect(() => $52FdA$solidjsweb.setProperty(_el$28, "value", $52FdA$solidjs.createMemo(() => {
|
|
2505
2503
|
min_();
|
|
2506
2504
|
max_();
|
|
2507
2505
|
return get_current_range()[0];
|
|
2508
2506
|
}, undefined, {
|
|
2509
2507
|
equals: false
|
|
2510
|
-
})());
|
|
2508
|
+
})()));
|
|
2511
2509
|
$52FdA$solidjsweb.runHydrationEvents();
|
|
2512
2510
|
return _el$27;
|
|
2513
2511
|
})()];
|
|
@@ -2527,7 +2525,7 @@ function $0257c760a99bfacb$var$set_range_with_sanitation(min_, max_, current_ran
|
|
|
2527
2525
|
current_range_signal[1](new_value);
|
|
2528
2526
|
}
|
|
2529
2527
|
$52FdA$solidjsweb.delegateEvents(["keydown", "click", "input"]);
|
|
2530
|
-
const $ac040bdfeed58ee4$var$_tmpl$ = /*#__PURE__*/$52FdA$solidjsweb.template(`<div class=
|
|
2528
|
+
const $ac040bdfeed58ee4$var$_tmpl$ = /*#__PURE__*/$52FdA$solidjsweb.template(`<div class=morphing-sign role=img><span></span><span>`);
|
|
2531
2529
|
function $ac040bdfeed58ee4$export$e5c2828934226505(_ref) {
|
|
2532
2530
|
let {
|
|
2533
2531
|
expanded_: expanded_,
|
|
@@ -2572,10 +2570,10 @@ function $ac040bdfeed58ee4$export$e5c2828934226505(_ref) {
|
|
|
2572
2570
|
});
|
|
2573
2571
|
return outer_div;
|
|
2574
2572
|
}
|
|
2575
|
-
const $9c1d49181fb3002a$var$_tmpl$ = /*#__PURE__*/$52FdA$solidjsweb.template(`<form class="checkboxes hierarchical"
|
|
2576
|
-
$9c1d49181fb3002a$var$_tmpl$2 = /*#__PURE__*/$52FdA$solidjsweb.template(`<div class=
|
|
2577
|
-
$9c1d49181fb3002a$var$_tmpl$3 = /*#__PURE__*/$52FdA$solidjsweb.template(`<details
|
|
2578
|
-
$9c1d49181fb3002a$var$_tmpl$4 = /*#__PURE__*/$52FdA$solidjsweb.template(`<summary class=
|
|
2573
|
+
const $9c1d49181fb3002a$var$_tmpl$ = /*#__PURE__*/$52FdA$solidjsweb.template(`<form class="checkboxes hierarchical"><!$><!/><!$><!/>`),
|
|
2574
|
+
$9c1d49181fb3002a$var$_tmpl$2 = /*#__PURE__*/$52FdA$solidjsweb.template(`<div class=checkbox-details><!$><!/><!$><!/>`),
|
|
2575
|
+
$9c1d49181fb3002a$var$_tmpl$3 = /*#__PURE__*/$52FdA$solidjsweb.template(`<details>`),
|
|
2576
|
+
$9c1d49181fb3002a$var$_tmpl$4 = /*#__PURE__*/$52FdA$solidjsweb.template(`<summary class=category-parent><div class=summary><span class=count></span><!$><!/>`);
|
|
2579
2577
|
const $9c1d49181fb3002a$var$max_visible_without_collapsing = 15;
|
|
2580
2578
|
const $9c1d49181fb3002a$var$show_non_collapsible_when_collapsed = 4;
|
|
2581
2579
|
function $9c1d49181fb3002a$export$a32086fa6616eafd(_ref) {
|
|
@@ -3047,9 +3045,9 @@ function $9c1d49181fb3002a$var$expand_until_choice(data_structure) {
|
|
|
3047
3045
|
}
|
|
3048
3046
|
});
|
|
3049
3047
|
}
|
|
3050
|
-
const $cd0e5524f9476f9b$var$_tmpl$ = /*#__PURE__*/$52FdA$solidjsweb.template(`<div class=
|
|
3051
|
-
$cd0e5524f9476f9b$var$_tmpl$2 = /*#__PURE__*/$52FdA$solidjsweb.template(`<span class=
|
|
3052
|
-
$cd0e5524f9476f9b$var$_tmpl$3 = /*#__PURE__*/$52FdA$solidjsweb.template(`<button
|
|
3048
|
+
const $cd0e5524f9476f9b$var$_tmpl$ = /*#__PURE__*/$52FdA$solidjsweb.template(`<div class=checkbox-grid style=position:absolute;z-index:-1;pointer-events:none;opacity:0>`),
|
|
3049
|
+
$cd0e5524f9476f9b$var$_tmpl$2 = /*#__PURE__*/$52FdA$solidjsweb.template(`<span class=count-wrapper><span class=count>`),
|
|
3050
|
+
$cd0e5524f9476f9b$var$_tmpl$3 = /*#__PURE__*/$52FdA$solidjsweb.template(`<button><!$><!/><!$><!/>`);
|
|
3053
3051
|
const $cd0e5524f9476f9b$var$gap_px = 5;
|
|
3054
3052
|
const $cd0e5524f9476f9b$var$max_columns = 3;
|
|
3055
3053
|
const $cd0e5524f9476f9b$export$414f6a19d38e655c = _ref => {
|
|
@@ -3267,7 +3265,7 @@ function $cd0e5524f9476f9b$var$adjust_sizes(container_width, sizes, set_cols_at_
|
|
|
3267
3265
|
overrides: column_to_row_result
|
|
3268
3266
|
}]]);
|
|
3269
3267
|
}
|
|
3270
|
-
const $476a3dc36afc1938$var$_tmpl$ = /*#__PURE__*/$52FdA$solidjsweb.template(`<form class=
|
|
3268
|
+
const $476a3dc36afc1938$var$_tmpl$ = /*#__PURE__*/$52FdA$solidjsweb.template(`<form class=checkbox-color><!$><!/><!$><!/>`);
|
|
3271
3269
|
const $476a3dc36afc1938$var$max_visible_without_collapsing = 30;
|
|
3272
3270
|
const $476a3dc36afc1938$var$show_non_collapsible_when_collapsed = 8;
|
|
3273
3271
|
function $476a3dc36afc1938$export$82ed4b28ecb67608(_ref) {
|
|
@@ -3464,7 +3462,7 @@ var $f60633ac10c24308$export$2e2bcd8739ae039 = {
|
|
|
3464
3462
|
"checkbox-grid": (0, $cd0e5524f9476f9b$export$414f6a19d38e655c),
|
|
3465
3463
|
"checkbox-color": (0, $476a3dc36afc1938$export$82ed4b28ecb67608)
|
|
3466
3464
|
};
|
|
3467
|
-
const $44d50abe16a70c25$var$_tmpl$ = /*#__PURE__*/$52FdA$solidjsweb.template(`<svg xmlns=
|
|
3465
|
+
const $44d50abe16a70c25$var$_tmpl$ = /*#__PURE__*/$52FdA$solidjsweb.template(`<svg xmlns=http://www.w3.org/2000/svg width=16.8 height=14><path d="M4.617 12.738a.48.48 0 0 1-.164-.027c-.051-.023-.094-.055-.129-.098L.125 8.414A.39.39 0 0 1 0 8.117c0-.113.039-.211.125-.293s.18-.125.293-.125.215.043.297.125l3.902 3.902L16.086.262c.082-.082.18-.125.297-.125s.211.043.293.125.125.184.125.301-.043.215-.125.297L4.914 12.613c-.039.043-.086.078-.141.098s-.102.027-.156.027zm0 0">`);
|
|
3468
3466
|
function $44d50abe16a70c25$export$f2ca6fc699ca1fb4() {
|
|
3469
3467
|
let props = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : {};
|
|
3470
3468
|
return (() => {
|
|
@@ -3474,7 +3472,7 @@ function $44d50abe16a70c25$export$f2ca6fc699ca1fb4() {
|
|
|
3474
3472
|
return _el$;
|
|
3475
3473
|
})();
|
|
3476
3474
|
}
|
|
3477
|
-
const $958981128e559776$var$_tmpl$ = /*#__PURE__*/$52FdA$solidjsweb.template(`<span class=
|
|
3475
|
+
const $958981128e559776$var$_tmpl$ = /*#__PURE__*/$52FdA$solidjsweb.template(`<span class=show-selected aria-hidden=true><span></span><!$><!/>`);
|
|
3478
3476
|
function $958981128e559776$export$53c59af873b303c9(_ref) {
|
|
3479
3477
|
let {
|
|
3480
3478
|
selected_filters_in_group_: selected_filters_in_group_,
|
|
@@ -3600,7 +3598,7 @@ function $4c1dcf1a9c604a68$export$ab34afce88557c0e(props) {
|
|
|
3600
3598
|
}));
|
|
3601
3599
|
return is_open;
|
|
3602
3600
|
}
|
|
3603
|
-
const $e3d733f899558f40$var$_tmpl$ = /*#__PURE__*/$52FdA$solidjsweb.template(`<span
|
|
3601
|
+
const $e3d733f899558f40$var$_tmpl$ = /*#__PURE__*/$52FdA$solidjsweb.template(`<span>`);
|
|
3604
3602
|
function $e3d733f899558f40$export$acb3eaade4b23afd(props) {
|
|
3605
3603
|
return (() => {
|
|
3606
3604
|
const _el$ = $52FdA$solidjsweb.getNextElement($e3d733f899558f40$var$_tmpl$);
|
|
@@ -3641,14 +3639,14 @@ function $a7f7d416e6f61504$export$89c6019e4baa40b1(props) {
|
|
|
3641
3639
|
}
|
|
3642
3640
|
});
|
|
3643
3641
|
}
|
|
3644
|
-
const $164d474fea221d77$var$_tmpl$ = /*#__PURE__*/$52FdA$solidjsweb.template(`<div class=
|
|
3645
|
-
$164d474fea221d77$var$_tmpl$2 = /*#__PURE__*/$52FdA$solidjsweb.template(`<button class=
|
|
3646
|
-
$164d474fea221d77$var$_tmpl$3 = /*#__PURE__*/$52FdA$solidjsweb.template(`<div class=
|
|
3647
|
-
$164d474fea221d77$var$_tmpl$4 = /*#__PURE__*/$52FdA$solidjsweb.template(`<div class=
|
|
3648
|
-
$164d474fea221d77$var$_tmpl$5 = /*#__PURE__*/$52FdA$solidjsweb.template(`<details class=
|
|
3649
|
-
$164d474fea221d77$var$_tmpl$6 = /*#__PURE__*/$52FdA$solidjsweb.template(`<summary class=
|
|
3650
|
-
$164d474fea221d77$var$_tmpl$7 = /*#__PURE__*/$52FdA$solidjsweb.template(`<div class=
|
|
3651
|
-
$164d474fea221d77$var$_tmpl$8 = /*#__PURE__*/$52FdA$solidjsweb.template(`<button class="clear-all-filters major"
|
|
3642
|
+
const $164d474fea221d77$var$_tmpl$ = /*#__PURE__*/$52FdA$solidjsweb.template(`<div class=filter-collapsible>`),
|
|
3643
|
+
$164d474fea221d77$var$_tmpl$2 = /*#__PURE__*/$52FdA$solidjsweb.template(`<button class=clear-group><!$><!/><span>`),
|
|
3644
|
+
$164d474fea221d77$var$_tmpl$3 = /*#__PURE__*/$52FdA$solidjsweb.template(`<div class=view-more-clear><!$><!/><!$><!/>`),
|
|
3645
|
+
$164d474fea221d77$var$_tmpl$4 = /*#__PURE__*/$52FdA$solidjsweb.template(`<div class=filter-collapsible-body><div class=filter-part></div><!$><!/>`),
|
|
3646
|
+
$164d474fea221d77$var$_tmpl$5 = /*#__PURE__*/$52FdA$solidjsweb.template(`<details class=filter-collapsible>`),
|
|
3647
|
+
$164d474fea221d77$var$_tmpl$6 = /*#__PURE__*/$52FdA$solidjsweb.template(`<summary class=filter-group-summary><div class=summary><span></span><div class=selected-w-sign><!$><!/><!$><!/>`),
|
|
3648
|
+
$164d474fea221d77$var$_tmpl$7 = /*#__PURE__*/$52FdA$solidjsweb.template(`<div class=ungrouped>`),
|
|
3649
|
+
$164d474fea221d77$var$_tmpl$8 = /*#__PURE__*/$52FdA$solidjsweb.template(`<button class="clear-all-filters major">`);
|
|
3652
3650
|
function $164d474fea221d77$export$3f1a388cc0d8fed7(props) {
|
|
3653
3651
|
// Split like this to make placeholder wrapping more visible & this component is exported and used in MobileModal
|
|
3654
3652
|
return $52FdA$solidjsweb.createComponent((0, $52FdA$solidjs.Show), {
|
|
@@ -4674,7 +4672,7 @@ function $1689794f03ba2554$export$205efb947c7ffd78(handler) {
|
|
|
4674
4672
|
$52FdA$solidjs.onCleanup(() => removeEventListener(event, catchified_handler));
|
|
4675
4673
|
}
|
|
4676
4674
|
}
|
|
4677
|
-
const $e03dec587b6e91e3$var$_tmpl$ = /*#__PURE__*/$52FdA$solidjsweb.template(`<div class=
|
|
4675
|
+
const $e03dec587b6e91e3$var$_tmpl$ = /*#__PURE__*/$52FdA$solidjsweb.template(`<div class=scroll-status style=display:none><span class=text><b></b> – <b></b> <!$><!/> <b>`);
|
|
4678
4676
|
function $e03dec587b6e91e3$export$83fd5de5504a7a67(_ref) {
|
|
4679
4677
|
let {
|
|
4680
4678
|
formatted_number_of_results_: formatted_number_of_results_,
|
|
@@ -4812,8 +4810,8 @@ function $e03dec587b6e91e3$export$83fd5de5504a7a67(_ref) {
|
|
|
4812
4810
|
return _el$;
|
|
4813
4811
|
})();
|
|
4814
4812
|
}
|
|
4815
|
-
const $063a16c081021c3f$var$_tmpl$ = /*#__PURE__*/$52FdA$solidjsweb.template(`<a class=
|
|
4816
|
-
$063a16c081021c3f$var$_tmpl$2 = /*#__PURE__*/$52FdA$solidjsweb.template(`<div class=
|
|
4813
|
+
const $063a16c081021c3f$var$_tmpl$ = /*#__PURE__*/$52FdA$solidjsweb.template(`<a class=hint href=javascript:void(0)>`),
|
|
4814
|
+
$063a16c081021c3f$var$_tmpl$2 = /*#__PURE__*/$52FdA$solidjsweb.template(`<div class=no-results><div class=text></div><!$><!/>`);
|
|
4817
4815
|
function $063a16c081021c3f$export$ef6006467f04ee41(_ref) {
|
|
4818
4816
|
let {
|
|
4819
4817
|
i18n_: i18n_,
|
|
@@ -4972,8 +4970,7 @@ function $0d3ee7000f047e67$export$a1fd619a4743ca08(_ref) {
|
|
|
4972
4970
|
query_base_: query_base_,
|
|
4973
4971
|
depict_api_: depict_api_,
|
|
4974
4972
|
is_loading_: is_loading_,
|
|
4975
|
-
content_blocks_: content_blocks_
|
|
4976
|
-
set_number_loaded_displays_: set_number_loaded_displays_
|
|
4973
|
+
content_blocks_: content_blocks_
|
|
4977
4974
|
} = _ref;
|
|
4978
4975
|
// The following sets up an intersection observer to determine which results are in the viewport, used for the ScrollStatus indicator and knowing when to load more
|
|
4979
4976
|
const target_to_index_map = new Map();
|
|
@@ -5020,7 +5017,6 @@ function $0d3ee7000f047e67$export$a1fd619a4743ca08(_ref) {
|
|
|
5020
5017
|
query_base_: query_base_,
|
|
5021
5018
|
depict_api_: depict_api_
|
|
5022
5019
|
});
|
|
5023
|
-
$52FdA$solidjs.createComputed(() => set_number_loaded_displays_(displays_by_key_().size));
|
|
5024
5020
|
return $76012c4468a53d1f$export$43f0fb951fcb0c54({
|
|
5025
5021
|
displays_by_key_: displays_by_key_,
|
|
5026
5022
|
merchant_: merchant_,
|
|
@@ -5048,8 +5044,8 @@ function $0d3ee7000f047e67$export$a1fd619a4743ca08(_ref) {
|
|
|
5048
5044
|
})
|
|
5049
5045
|
});
|
|
5050
5046
|
}
|
|
5051
|
-
const $830518481649feb1$var$_tmpl$ = /*#__PURE__*/$52FdA$solidjsweb.template(`<div
|
|
5052
|
-
$830518481649feb1$var$_tmpl$2 = /*#__PURE__*/$52FdA$solidjsweb.template(`<style type=
|
|
5047
|
+
const $830518481649feb1$var$_tmpl$ = /*#__PURE__*/$52FdA$solidjsweb.template(`<div>`),
|
|
5048
|
+
$830518481649feb1$var$_tmpl$2 = /*#__PURE__*/$52FdA$solidjsweb.template(`<style type=text/css>`);
|
|
5053
5049
|
const $830518481649feb1$export$c500183c31c2b22e = "--spans-columns";
|
|
5054
5050
|
function $830518481649feb1$export$ab6b147eec64fea5(props) {
|
|
5055
5051
|
const container_class = "x" + $52FdA$solidjs.createUniqueId();
|
|
@@ -5221,32 +5217,27 @@ function $b8a8d61b3ec5f5ac$export$3f37af283f8fb843(props) {
|
|
|
5221
5217
|
}
|
|
5222
5218
|
});
|
|
5223
5219
|
}
|
|
5224
|
-
const $f8f375d6245ffff2$var$_tmpl$ = /*#__PURE__*/$52FdA$solidjsweb.template(`<div class=
|
|
5220
|
+
const $f8f375d6245ffff2$var$_tmpl$ = /*#__PURE__*/$52FdA$solidjsweb.template(`<div class=content-block-wrapper>`);
|
|
5225
5221
|
function $f8f375d6245ffff2$export$791ef57e62e21c3f(_ref) {
|
|
5226
5222
|
let {
|
|
5227
5223
|
content_blocks_: incoming_content_blocks,
|
|
5228
5224
|
cols_at_size_: cols_at_size_,
|
|
5229
|
-
number_of_items_shown_: number_of_items_shown_,
|
|
5230
5225
|
set_top_row_shortened_by_: set_top_row_shortened_by_
|
|
5231
5226
|
} = _ref;
|
|
5232
5227
|
// these are by row
|
|
5233
5228
|
const [content_blocks, set_content_blocks] = $52FdA$solidjsstore.createStore([]);
|
|
5234
5229
|
const n_cols_currently_showing_ = $85fcdab554c24789$export$a79e666719b3647c(cols_at_size_);
|
|
5235
|
-
const products_to_rows = products => {
|
|
5236
|
-
const cols_currently_showing = n_cols_currently_showing_();
|
|
5237
|
-
if (cols_currently_showing === null) return 0;
|
|
5238
|
-
return Math.ceil(products / cols_currently_showing);
|
|
5239
|
-
};
|
|
5240
|
-
const showing_rows = $52FdA$solidjs.createMemo(() => products_to_rows(number_of_items_shown_()));
|
|
5241
5230
|
$52FdA$solidjs.createEffect(() => {
|
|
5242
5231
|
const incoming_value = incoming_content_blocks();
|
|
5243
5232
|
if (!incoming_value) {
|
|
5244
5233
|
set_content_blocks([]);
|
|
5245
5234
|
return;
|
|
5246
5235
|
}
|
|
5247
|
-
|
|
5248
|
-
|
|
5236
|
+
set_content_blocks($52FdA$solidjsstore.reconcile(incoming_value, {
|
|
5237
|
+
key: "content"
|
|
5238
|
+
})); // key: Make moving blocks faster, see https://github.com/solidjs/solid/issues/1925#issuecomment-1769671596
|
|
5249
5239
|
});
|
|
5240
|
+
|
|
5250
5241
|
const get_wrapped_blocks_ = $f8f375d6245ffff2$var$wrap_blocks_in_div(content_blocks, n_cols_currently_showing_);
|
|
5251
5242
|
$52FdA$solidjs.createComputed(() => {
|
|
5252
5243
|
// Update our styling if a content block forces some items that should be in the top row into a lower one, so we can generate margin-top declarations for them
|
|
@@ -5300,12 +5291,12 @@ function $f8f375d6245ffff2$var$remap_blocks_to_index(_ref2) {
|
|
|
5300
5291
|
for (let j = 0; j < i; j++) {
|
|
5301
5292
|
const row = displaced_products[j];
|
|
5302
5293
|
if (row === undefined) continue; // there were no blocks in this row
|
|
5303
|
-
let
|
|
5304
|
-
if (typeof row === "number")
|
|
5305
|
-
|
|
5306
|
-
displaced_products[j] =
|
|
5294
|
+
let displaced_items_in_row;
|
|
5295
|
+
if (typeof row === "number") displaced_items_in_row = row;else {
|
|
5296
|
+
displaced_items_in_row = row.filter(item => item).length;
|
|
5297
|
+
displaced_products[j] = displaced_items_in_row;
|
|
5307
5298
|
}
|
|
5308
|
-
displacement_by_added_blocks +=
|
|
5299
|
+
displacement_by_added_blocks += displaced_items_in_row;
|
|
5309
5300
|
}
|
|
5310
5301
|
const index_of_us_in_row = target_index - index_of_first_item_in_row;
|
|
5311
5302
|
for (let j = 0; j < index_of_us_in_row; j++) {
|
|
@@ -5350,9 +5341,12 @@ function $f8f375d6245ffff2$var$wrap_blocks_in_div(rendered_content_blocks, max_s
|
|
|
5350
5341
|
var _max_span_columns;
|
|
5351
5342
|
return Math.min(block.span_columns, (_max_span_columns = max_span_columns()) !== null && _max_span_columns !== void 0 ? _max_span_columns : Infinity);
|
|
5352
5343
|
};
|
|
5353
|
-
|
|
5354
|
-
|
|
5355
|
-
|
|
5344
|
+
const [rendering_delayed, set_rendering_delayed_] = $52FdA$solidjs.createSignal(true);
|
|
5345
|
+
const content = $52FdA$solidjsweb.createComponent((0, $52FdA$solidjs.Show), {
|
|
5346
|
+
get when() {
|
|
5347
|
+
return !rendering_delayed();
|
|
5348
|
+
},
|
|
5349
|
+
get children() {
|
|
5356
5350
|
const _el$ = $52FdA$solidjsweb.getNextElement($f8f375d6245ffff2$var$_tmpl$);
|
|
5357
5351
|
$52FdA$solidjsweb.insert(_el$, $52FdA$solidjsweb.createComponent($f8f375d6245ffff2$var$RenderContent, {
|
|
5358
5352
|
get content() {
|
|
@@ -5366,8 +5360,8 @@ function $f8f375d6245ffff2$var$wrap_blocks_in_div(rendered_content_blocks, max_s
|
|
|
5366
5360
|
_v$2 = "span ".concat(get_span_columns()),
|
|
5367
5361
|
_v$3 = "span ".concat(block.span_rows);
|
|
5368
5362
|
_p$._v$ = $52FdA$solidjsweb.style(_el$, _v$, _p$._v$);
|
|
5369
|
-
_v$2 !== _p$._v$2 && _el$.style.setProperty("grid-column",
|
|
5370
|
-
_v$3 !== _p$._v$3 && _el$.style.setProperty("grid-row",
|
|
5363
|
+
_v$2 !== _p$._v$2 && ((_p$._v$2 = _v$2) != null ? _el$.style.setProperty("grid-column", _v$2) : _el$.style.removeProperty("grid-column"));
|
|
5364
|
+
_v$3 !== _p$._v$3 && ((_p$._v$3 = _v$3) != null ? _el$.style.setProperty("grid-row", _v$3) : _el$.style.removeProperty("grid-row"));
|
|
5371
5365
|
return _p$;
|
|
5372
5366
|
}, {
|
|
5373
5367
|
_v$: undefined,
|
|
@@ -5375,7 +5369,16 @@ function $f8f375d6245ffff2$var$wrap_blocks_in_div(rendered_content_blocks, max_s
|
|
|
5375
5369
|
_v$3: undefined
|
|
5376
5370
|
});
|
|
5377
5371
|
return _el$;
|
|
5378
|
-
}
|
|
5372
|
+
}
|
|
5373
|
+
});
|
|
5374
|
+
return $52FdA$solidjs.mergeProps(block, {
|
|
5375
|
+
// Create content divs for the blocks with as much fine-grained diffing as possible?
|
|
5376
|
+
content: () => {
|
|
5377
|
+
// Sneaky on-demand rendering, so we don't render more blocks than we can show: we have the rendered value here and don't return a function that renders because if our block would be moved around we'd be guaranteed to re-render
|
|
5378
|
+
// However, no need to count products to know if we should render: the <For> loops in Placeholders and render_displays will only call this function if there's actually a product here that wants to display this block
|
|
5379
|
+
set_rendering_delayed_(false);
|
|
5380
|
+
return content;
|
|
5381
|
+
},
|
|
5379
5382
|
get span_columns() {
|
|
5380
5383
|
// Cap max width of block to the number of columns available, for everyone downstream
|
|
5381
5384
|
return get_span_columns();
|
|
@@ -5405,7 +5408,7 @@ function $f8f375d6245ffff2$var$RenderContent(props) {
|
|
|
5405
5408
|
children: resource
|
|
5406
5409
|
});
|
|
5407
5410
|
}
|
|
5408
|
-
const $484eec37514a982e$var$_tmpl$ = /*#__PURE__*/$52FdA$solidjsweb.template(`<div class=
|
|
5411
|
+
const $484eec37514a982e$var$_tmpl$ = /*#__PURE__*/$52FdA$solidjsweb.template(`<div class=PLP-results><!$><!/><!$><!/>`);
|
|
5409
5412
|
function $484eec37514a982e$export$3925f87b1545cfc6(_ref) {
|
|
5410
5413
|
let {
|
|
5411
5414
|
plp_results_: plp_results_,
|
|
@@ -5472,8 +5475,7 @@ function $484eec37514a982e$export$3925f87b1545cfc6(_ref) {
|
|
|
5472
5475
|
let fallback_is_alive = false;
|
|
5473
5476
|
const [get_should_have_placeholders_rendered, set_should_have_placeholders_rendered] = $52FdA$solidjs.createSignal(true);
|
|
5474
5477
|
const [top_row_shortened_by_, set_top_row_shortened_by_] = $52FdA$solidjs.createSignal(0);
|
|
5475
|
-
|
|
5476
|
-
const [number_loaded_displays, set_number_loaded_displays_] = $52FdA$solidjs.createSignal(0);
|
|
5478
|
+
$52FdA$solidjs.createSignal(false);
|
|
5477
5479
|
const modified_cols_at_size = $c749e60bca5000cb$export$cb5808ba002cdeed({
|
|
5478
5480
|
layout_options_: layout_options_,
|
|
5479
5481
|
sort_or_filter_open_: sort_or_filter_open_
|
|
@@ -5488,12 +5490,10 @@ function $484eec37514a982e$export$3925f87b1545cfc6(_ref) {
|
|
|
5488
5490
|
return for_id === id_currently_querying_for_();
|
|
5489
5491
|
})) === null || _get_scroll_restorati2 === void 0 ? void 0 : _get_scroll_restorati2.min_results_loaded) !== null && _get_scroll_restorati !== void 0 ? _get_scroll_restorati : min_products_to_fetch_);
|
|
5490
5492
|
});
|
|
5491
|
-
const number_of_items_shown_ = $52FdA$solidjs.createMemo(() => is_loading_() || product_card_suspense_is_in_fallback() ? num_placeholders_() : number_loaded_displays());
|
|
5492
5493
|
const doesnt_have_content_blocks = $52FdA$solidjs.createMemo(() => !content_blocks_by_row_());
|
|
5493
5494
|
const content_blocks_ = $52FdA$solidjs.createMemo(() => doesnt_have_content_blocks() ? () => [] : $f8f375d6245ffff2$export$791ef57e62e21c3f({
|
|
5494
5495
|
content_blocks_: content_blocks_by_row_,
|
|
5495
5496
|
cols_at_size_: modified_cols_at_size,
|
|
5496
|
-
number_of_items_shown_: number_of_items_shown_,
|
|
5497
5497
|
set_top_row_shortened_by_: set_top_row_shortened_by_
|
|
5498
5498
|
}));
|
|
5499
5499
|
const rendered_placeholders = $52FdA$solidjs.createMemo(() => get_should_have_placeholders_rendered() ? $e3915574cfd3466c$export$f33414a4df0afd3f({
|
|
@@ -5531,20 +5531,16 @@ function $484eec37514a982e$export$3925f87b1545cfc6(_ref) {
|
|
|
5531
5531
|
*/
|
|
5532
5532
|
const product_cards_when_data = $52FdA$solidjsweb.createComponent((0, $52FdA$solidjs.Suspense), {
|
|
5533
5533
|
get fallback() {
|
|
5534
|
-
|
|
5535
|
-
|
|
5536
|
-
|
|
5537
|
-
|
|
5538
|
-
|
|
5539
|
-
|
|
5540
|
-
|
|
5541
|
-
|
|
5542
|
-
|
|
5543
|
-
|
|
5544
|
-
$52FdA$solidjs.onCleanup(() => set_should_have_placeholders_rendered(false));
|
|
5545
|
-
return rendered_placeholders; // I lifted the placeholders into the memo since we don't want to re-render them when switching from <Show> to <Suspense>
|
|
5546
|
-
});
|
|
5547
|
-
})();
|
|
5534
|
+
fallback_is_alive = true;
|
|
5535
|
+
$52FdA$solidjs.onCleanup(block_suspense_if_needed); // Block suspense after initial run every time after we fetch
|
|
5536
|
+
return $52FdA$solidjs.createMemo(() => {
|
|
5537
|
+
// We need to be able to block the suspense since when async product cards are *rendering* we want to show the placeholders on initial load but not when loading more
|
|
5538
|
+
// In future we could have individual suspense's for each product card, but that's too much for now
|
|
5539
|
+
if (get_suspense_is_blocked()) return suspense_contents;
|
|
5540
|
+
set_should_have_placeholders_rendered(true); // just in case
|
|
5541
|
+
$52FdA$solidjs.onCleanup(() => set_should_have_placeholders_rendered(false));
|
|
5542
|
+
return rendered_placeholders; // I lifted the placeholders into the memo since we don't want to re-render them when switching from <Show> to <Suspense>
|
|
5543
|
+
});
|
|
5548
5544
|
},
|
|
5549
5545
|
|
|
5550
5546
|
get children() {
|
|
@@ -5561,8 +5557,7 @@ function $484eec37514a982e$export$3925f87b1545cfc6(_ref) {
|
|
|
5561
5557
|
query_base_: query_base_,
|
|
5562
5558
|
depict_api_: depict_api_,
|
|
5563
5559
|
is_loading_: is_loading_,
|
|
5564
|
-
content_blocks_: content_blocks_
|
|
5565
|
-
set_number_loaded_displays_: set_number_loaded_displays_
|
|
5560
|
+
content_blocks_: content_blocks_
|
|
5566
5561
|
});
|
|
5567
5562
|
$52FdA$solidjs.onCleanup(() => suspense_contents = undefined);
|
|
5568
5563
|
return suspense_contents;
|
|
@@ -5630,10 +5625,10 @@ function $484eec37514a982e$export$3925f87b1545cfc6(_ref) {
|
|
|
5630
5625
|
return _el$;
|
|
5631
5626
|
})();
|
|
5632
5627
|
}
|
|
5633
|
-
const $3bd211c857f81dfd$var$_tmpl$ = /*#__PURE__*/$52FdA$solidjsweb.template(`<div class=
|
|
5634
|
-
$3bd211c857f81dfd$var$_tmpl$2 = /*#__PURE__*/$52FdA$solidjsweb.template(`<div class=
|
|
5635
|
-
$3bd211c857f81dfd$var$_tmpl$3 = /*#__PURE__*/$52FdA$solidjsweb.template(`<div><div class=
|
|
5636
|
-
$3bd211c857f81dfd$var$_tmpl$4 = /*#__PURE__*/$52FdA$solidjsweb.template(`<div><label class=
|
|
5628
|
+
const $3bd211c857f81dfd$var$_tmpl$ = /*#__PURE__*/$52FdA$solidjsweb.template(`<div class=sorting-attributes>`),
|
|
5629
|
+
$3bd211c857f81dfd$var$_tmpl$2 = /*#__PURE__*/$52FdA$solidjsweb.template(`<div class=sorting-direction>`),
|
|
5630
|
+
$3bd211c857f81dfd$var$_tmpl$3 = /*#__PURE__*/$52FdA$solidjsweb.template(`<div><div class=input-row><input type=radio><span class=custom-indicator></span><!$><!/>`),
|
|
5631
|
+
$3bd211c857f81dfd$var$_tmpl$4 = /*#__PURE__*/$52FdA$solidjsweb.template(`<div><label class=input-row><input type=radio><span class=custom-indicator></span><!$><!/>`);
|
|
5637
5632
|
function $3bd211c857f81dfd$export$1f1775a58da589b5(_ref) {
|
|
5638
5633
|
let {
|
|
5639
5634
|
available_sortings_: available_sortings_,
|
|
@@ -5659,7 +5654,7 @@ function $3bd211c857f81dfd$export$1f1775a58da589b5(_ref) {
|
|
|
5659
5654
|
_el$7 = _el$6.nextSibling,
|
|
5660
5655
|
_el$8 = _el$7.nextSibling,
|
|
5661
5656
|
[_el$9, _co$] = $52FdA$solidjsweb.getNextMarker(_el$8.nextSibling);
|
|
5662
|
-
_el$6
|
|
5657
|
+
$52FdA$solidjsweb.setProperty(_el$6, "disabled", true);
|
|
5663
5658
|
$52FdA$solidjsweb.insert(_el$5, $52FdA$solidjsweb.createComponent((0, $a7f7d416e6f61504$export$89c6019e4baa40b1), {
|
|
5664
5659
|
height: "1.2em",
|
|
5665
5660
|
width: "100%"
|
|
@@ -5699,7 +5694,7 @@ function $3bd211c857f81dfd$export$1f1775a58da589b5(_ref) {
|
|
|
5699
5694
|
$52FdA$solidjsweb.addEventListener(_el$12, "change", $52FdA$depictaiutilishared.catchify(() => set_current_sorting(item())));
|
|
5700
5695
|
$52FdA$solidjsweb.setAttribute(_el$12, "name", title_radio_name);
|
|
5701
5696
|
$52FdA$solidjsweb.insert(_el$11, () => item().meta.title, _el$15, _co$2);
|
|
5702
|
-
$52FdA$solidjsweb.effect(() => _el$12
|
|
5697
|
+
$52FdA$solidjsweb.effect(() => $52FdA$solidjsweb.setProperty(_el$12, "checked", is_checked()));
|
|
5703
5698
|
return _el$10;
|
|
5704
5699
|
})()
|
|
5705
5700
|
);
|
|
@@ -5739,7 +5734,7 @@ function $3bd211c857f81dfd$export$1f1775a58da589b5(_ref) {
|
|
|
5739
5734
|
var _meta_of_currently_se4, _meta_of_currently_se5;
|
|
5740
5735
|
return (_meta_of_currently_se4 = meta_of_currently_selected_sorting_()) === null || _meta_of_currently_se4 === void 0 ? void 0 : (_meta_of_currently_se5 = _meta_of_currently_se4.names) === null || _meta_of_currently_se5 === void 0 ? void 0 : _meta_of_currently_se5[index];
|
|
5741
5736
|
}, _el$21, _co$3);
|
|
5742
|
-
$52FdA$solidjsweb.effect(() => _el$18
|
|
5737
|
+
$52FdA$solidjsweb.effect(() => $52FdA$solidjsweb.setProperty(_el$18, "checked", is_checked()));
|
|
5743
5738
|
return _el$16;
|
|
5744
5739
|
})();
|
|
5745
5740
|
}
|
|
@@ -5786,7 +5781,7 @@ function $8c2e68c6d458169b$export$fe334901e8bebd57() {
|
|
|
5786
5781
|
// document.body.style.top = `-${from_top}px`;
|
|
5787
5782
|
// document.body.style.overflowY = "scroll";
|
|
5788
5783
|
|
|
5789
|
-
const $0b45ba458cbff67a$var$_tmpl$ = /*#__PURE__*/$52FdA$solidjsweb.template(`<svg xmlns=
|
|
5784
|
+
const $0b45ba458cbff67a$var$_tmpl$ = /*#__PURE__*/$52FdA$solidjsweb.template(`<svg xmlns=http://www.w3.org/2000/svg width=14 height=14 class=sort-icon><path d="M6.199 10.254a.35.35 0 0 0-.496 0L3.5 12.453V.348a.35.35 0 0 0-.7 0v12.105L.598 10.254c-.137-.137-.359-.137-.492 0a.35.35 0 0 0 0 .492l2.797 2.801a.35.35 0 0 0 .496 0L6.2 10.746c.137-.137.137-.355 0-.492zM9.449 3.5H8.051a.35.35 0 0 1-.352-.352V1.75c0-.191.156-.352.352-.352h1.398c.195 0 .352.16.352.352v1.398a.35.35 0 0 1-.352.352zm-1.051-.699h.703v-.699h-.703zm0 0"></path><path d="M10.852 6.301H8.051a.35.35 0 0 1-.352-.352V4.551a.35.35 0 0 1 .352-.352h2.801a.35.35 0 0 1 .348.352v1.398a.35.35 0 0 1-.348.352zm-2.453-.699H10.5v-.703H8.398zm3.851 3.5H8.051c-.195 0-.352-.16-.352-.352V7.352A.35.35 0 0 1 8.051 7h4.199c.191 0 .352.156.352.352V8.75c0 .191-.16.352-.352.352zm-3.852-.703h3.5V7.7h-3.5zm5.25 3.499H8.051a.35.35 0 0 1-.352-.348v-1.402a.35.35 0 0 1 .352-.348h5.598a.35.35 0 0 1 .352.348v1.402a.35.35 0 0 1-.352.348zm-5.25-.699H13.3V10.5H8.398zm0 0">`);
|
|
5790
5785
|
function $0b45ba458cbff67a$export$da32f7add8a22e86() {
|
|
5791
5786
|
let props = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : {};
|
|
5792
5787
|
return (() => {
|
|
@@ -5796,7 +5791,7 @@ function $0b45ba458cbff67a$export$da32f7add8a22e86() {
|
|
|
5796
5791
|
return _el$;
|
|
5797
5792
|
})();
|
|
5798
5793
|
}
|
|
5799
|
-
const $549632402b57d811$var$_tmpl$ = /*#__PURE__*/$52FdA$solidjsweb.template(`<svg xmlns=
|
|
5794
|
+
const $549632402b57d811$var$_tmpl$ = /*#__PURE__*/$52FdA$solidjsweb.template(`<svg xmlns=http://www.w3.org/2000/svg width=14 height=14 class=sort-icon><path d="M6.199 10.254a.35.35 0 0 0-.496 0L3.5 12.453V.348a.35.35 0 0 0-.7 0v12.105L.598 10.254c-.137-.137-.359-.137-.492 0a.35.35 0 0 0 0 .492l2.797 2.801a.35.35 0 0 0 .496 0L6.2 10.746c.137-.137.137-.355 0-.492zm3.25 1.644H8.051a.35.35 0 0 1-.352-.348v-1.402a.35.35 0 0 1 .352-.348h1.398a.35.35 0 0 1 .352.348v1.402a.35.35 0 0 1-.352.348zm-1.051-.699h.703V10.5h-.703zm2.454-2.097H8.051c-.195 0-.352-.16-.352-.352V7.352A.35.35 0 0 1 8.051 7h2.801a.35.35 0 0 1 .348.352V8.75c0 .191-.156.352-.348.352zm-2.453-.703H10.5V7.7H8.398zm3.851-2.098H8.051a.35.35 0 0 1-.352-.352V4.551a.35.35 0 0 1 .352-.352h4.199c.191 0 .352.156.352.352v1.398c0 .195-.16.352-.352.352zm-3.852-.699h3.5v-.703h-3.5zm5.25-2.102H8.051a.35.35 0 0 1-.352-.352V1.75c0-.191.156-.352.352-.352h5.598c.195 0 .352.16.352.352v1.398a.35.35 0 0 1-.352.352zm-5.25-.699H13.3v-.699H8.398zm0 0">`);
|
|
5800
5795
|
function $549632402b57d811$export$d10e63059ddb9fd4() {
|
|
5801
5796
|
let props = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : {};
|
|
5802
5797
|
return (() => {
|
|
@@ -5806,7 +5801,7 @@ function $549632402b57d811$export$d10e63059ddb9fd4() {
|
|
|
5806
5801
|
return _el$;
|
|
5807
5802
|
})();
|
|
5808
5803
|
}
|
|
5809
|
-
const $9bde34303b3e9ace$var$_tmpl$ = /*#__PURE__*/$52FdA$solidjsweb.template(`<svg xmlns=
|
|
5804
|
+
const $9bde34303b3e9ace$var$_tmpl$ = /*#__PURE__*/$52FdA$solidjsweb.template(`<svg xmlns=http://www.w3.org/2000/svg width=14 height=15 class=filter-icon><path d="M1.75 14.697c-.096 0-.178-.034-.246-.103s-.103-.15-.103-.246V8.75c0-.096.034-.178.103-.246s.15-.103.246-.103.178.034.246.103.103.15.103.246v5.599c0 .096-.034.178-.103.246s-.15.103-.246.103zm0-9.796c-.096 0-.178-.034-.246-.103s-.103-.15-.103-.246v-3.5c0-.1.034-.185.103-.253s.15-.103.246-.103.178.034.246.103.103.153.103.253v3.5c0 .096-.034.178-.103.246s-.15.103-.246.103zm.697 2.796H1.053c-.292 0-.54-.103-.745-.308S0 6.938 0 6.651s.103-.54.308-.745.453-.308.745-.308h1.395c.292 0 .54.103.745.308s.308.453.308.745-.103.533-.308.738-.453.308-.745.308zM1.053 6.303c-.1 0-.185.034-.253.103s-.103.15-.103.246.034.178.103.246S.952 7 1.053 7h1.395c.1 0 .185-.034.253-.103s.103-.15.103-.246-.034-.178-.103-.246-.153-.103-.253-.103H1.053zm5.599 8.395c-.096 0-.178-.034-.246-.103s-.103-.15-.103-.246v-2.796c0-.1.034-.184.103-.253s.15-.102.246-.102.178.034.246.102.103.153.103.253v2.796c0 .096-.034.178-.103.246s-.15.103-.246.103zm0-7c-.096 0-.178-.034-.246-.103s-.103-.15-.103-.246V1.053c0-.1.034-.185.103-.253s.15-.103.246-.103.178.034.246.103S7 .952 7 1.053v6.296c0 .096-.034.178-.103.246s-.15.103-.246.103zm.697 2.803H5.947c-.287 0-.533-.102-.738-.308s-.308-.453-.308-.745.103-.533.308-.738.451-.308.738-.308h1.401c.292 0 .54.103.745.308s.308.451.308.738-.103.54-.308.745-.453.308-.745.308zM5.947 9.099c-.096 0-.178.034-.246.103s-.103.15-.103.246.034.185.103.253.15.103.246.103h1.401c.096 0 .178-.034.246-.103s.103-.153.103-.253-.034-.178-.103-.246-.15-.103-.246-.103H5.947zm5.605 5.599c-.1 0-.184-.034-.253-.103s-.102-.15-.102-.246v-7c0-.096.034-.178.102-.246S11.453 7 11.553 7s.178.034.246.103.103.15.103.246v7c0 .096-.034.178-.103.246s-.15.103-.246.103zm0-11.197c-.1 0-.184-.034-.253-.103s-.102-.15-.102-.246V1.053c0-.1.034-.185.102-.253s.153-.103.253-.103.178.034.246.103.103.153.103.253v2.099c0 .096-.034.178-.103.246s-.15.103-.246.103zm.697 2.803h-1.401c-.287 0-.533-.103-.738-.308s-.308-.453-.308-.745.103-.54.308-.745.451-.308.738-.308h1.401c.292 0 .54.103.745.308s.308.453.308.745-.102.54-.308.745-.453.308-.745.308zm-1.401-1.401c-.096 0-.178.034-.246.103s-.102.15-.102.246.034.178.102.246.15.103.246.103h1.401c.096 0 .178-.034.246-.103s.102-.15.102-.246-.034-.178-.102-.246-.15-.103-.246-.103h-1.401z">`);
|
|
5810
5805
|
function $9bde34303b3e9ace$export$28f6150e232898de() {
|
|
5811
5806
|
return $52FdA$solidjsweb.getNextElement($9bde34303b3e9ace$var$_tmpl$);
|
|
5812
5807
|
}
|
|
@@ -5819,13 +5814,13 @@ function $8b9c2fa4593b29df$export$50f68cc9882e36a4(args_for_filtering) {
|
|
|
5819
5814
|
var _args_for_filtering$a, _args_for_filtering$s;
|
|
5820
5815
|
return ((_args_for_filtering$a = args_for_filtering.available_filters_()) === null || _args_for_filtering$a === void 0 ? void 0 : _args_for_filtering$a.length) === 0 && !((_args_for_filtering$s = args_for_filtering.selected_filters_[0]()) !== null && _args_for_filtering$s !== void 0 && _args_for_filtering$s.length);
|
|
5821
5816
|
}
|
|
5822
|
-
const $685149df41127abd$var$_tmpl$ = /*#__PURE__*/$52FdA$solidjsweb.template(`<button class="clear minor"
|
|
5823
|
-
$685149df41127abd$var$_tmpl$2 = /*#__PURE__*/$52FdA$solidjsweb.template(`<div class="depict plp"
|
|
5824
|
-
$685149df41127abd$var$_tmpl$3 = /*#__PURE__*/$52FdA$solidjsweb.template(`<details class=
|
|
5825
|
-
$685149df41127abd$var$_tmpl$4 = /*#__PURE__*/$52FdA$solidjsweb.template(`<summary class=
|
|
5826
|
-
$685149df41127abd$var$_tmpl$5 = /*#__PURE__*/$52FdA$solidjsweb.template(`<div class=
|
|
5827
|
-
$685149df41127abd$var$_tmpl$6 = /*#__PURE__*/$52FdA$solidjsweb.template(`<details class=
|
|
5828
|
-
$685149df41127abd$var$_tmpl$7 = /*#__PURE__*/$52FdA$solidjsweb.template(`<b
|
|
5817
|
+
const $685149df41127abd$var$_tmpl$ = /*#__PURE__*/$52FdA$solidjsweb.template(`<button class="clear minor">`),
|
|
5818
|
+
$685149df41127abd$var$_tmpl$2 = /*#__PURE__*/$52FdA$solidjsweb.template(`<div class="depict plp"id=depict-filter-sort-mobile-modal-container><div class=depict-filter-sort-modal-backdrop></div><button class=dismiss-modal></button><div class=filter-sort-modal><div class=body><!$><!/><!$><!/></div><div class=bottom-row><!$><!/><button class="show-results major">`),
|
|
5819
|
+
$685149df41127abd$var$_tmpl$3 = /*#__PURE__*/$52FdA$solidjsweb.template(`<details class=sorting>`),
|
|
5820
|
+
$685149df41127abd$var$_tmpl$4 = /*#__PURE__*/$52FdA$solidjsweb.template(`<summary class=sort-filter-summary><div class=summary><div class=left-els><!$><!/><span></span></div><!$><!/>`),
|
|
5821
|
+
$685149df41127abd$var$_tmpl$5 = /*#__PURE__*/$52FdA$solidjsweb.template(`<div class=body>`),
|
|
5822
|
+
$685149df41127abd$var$_tmpl$6 = /*#__PURE__*/$52FdA$solidjsweb.template(`<details class=filters>`),
|
|
5823
|
+
$685149df41127abd$var$_tmpl$7 = /*#__PURE__*/$52FdA$solidjsweb.template(`<b>`);
|
|
5829
5824
|
const $685149df41127abd$var$no_go_selector = ".range .range-group";
|
|
5830
5825
|
function $685149df41127abd$export$9bf11afa910f536e(_ref) {
|
|
5831
5826
|
let {
|
|
@@ -6146,16 +6141,16 @@ function $685149df41127abd$export$9bf11afa910f536e(_ref) {
|
|
|
6146
6141
|
})()];
|
|
6147
6142
|
}
|
|
6148
6143
|
$52FdA$solidjsweb.delegateEvents(["click", "touchstart"]);
|
|
6149
|
-
const $ae261a5687fe84f4$var$_tmpl$ = /*#__PURE__*/$52FdA$solidjsweb.template(`<svg xmlns=
|
|
6144
|
+
const $ae261a5687fe84f4$var$_tmpl$ = /*#__PURE__*/$52FdA$solidjsweb.template(`<svg xmlns=http://www.w3.org/2000/svg width=14 height=14><path d="M12.949 7.699H.352A.35.35 0 0 1 0 7.352.35.35 0 0 1 .352 7h12.598a.35.35 0 0 1 .352.352.35.35 0 0 1-.352.348zm0 0">`);
|
|
6150
6145
|
function $ae261a5687fe84f4$export$cb808a3c41736d8e() {
|
|
6151
6146
|
return $52FdA$solidjsweb.getNextElement($ae261a5687fe84f4$var$_tmpl$);
|
|
6152
6147
|
}
|
|
6153
|
-
const $f70cc6dfcadf0fd5$var$_tmpl$ = /*#__PURE__*/$52FdA$solidjsweb.template(`<div class=
|
|
6154
|
-
$f70cc6dfcadf0fd5$var$_tmpl$2 = /*#__PURE__*/$52FdA$solidjsweb.template(`<div class=
|
|
6155
|
-
$f70cc6dfcadf0fd5$var$_tmpl$3 = /*#__PURE__*/$52FdA$solidjsweb.template(`<div class=
|
|
6156
|
-
$f70cc6dfcadf0fd5$var$_tmpl$4 = /*#__PURE__*/$52FdA$solidjsweb.template(`<span class=
|
|
6157
|
-
$f70cc6dfcadf0fd5$var$_tmpl$5 = /*#__PURE__*/$52FdA$solidjsweb.template(`<div class=
|
|
6158
|
-
$f70cc6dfcadf0fd5$var$_tmpl$6 = /*#__PURE__*/$52FdA$solidjsweb.template(`<button class="toggle-button for-sorting major-minor-transition"><span></span
|
|
6148
|
+
const $f70cc6dfcadf0fd5$var$_tmpl$ = /*#__PURE__*/$52FdA$solidjsweb.template(`<div class=filters><div class=body>`),
|
|
6149
|
+
$f70cc6dfcadf0fd5$var$_tmpl$2 = /*#__PURE__*/$52FdA$solidjsweb.template(`<div class=sorting><div class=body>`),
|
|
6150
|
+
$f70cc6dfcadf0fd5$var$_tmpl$3 = /*#__PURE__*/$52FdA$solidjsweb.template(`<div class=sort-and-filter-buttons><div class=outer><div class=inner><!$><!/><!$><!/><!$><!/>`),
|
|
6151
|
+
$f70cc6dfcadf0fd5$var$_tmpl$4 = /*#__PURE__*/$52FdA$solidjsweb.template(`<span class=num-filters>`),
|
|
6152
|
+
$f70cc6dfcadf0fd5$var$_tmpl$5 = /*#__PURE__*/$52FdA$solidjsweb.template(`<div class=open-filters-button-container><!$><!/><button type=button><!$><!/><span>`),
|
|
6153
|
+
$f70cc6dfcadf0fd5$var$_tmpl$6 = /*#__PURE__*/$52FdA$solidjsweb.template(`<button class="toggle-button for-sorting major-minor-transition"><span></span><!$><!/>`);
|
|
6159
6154
|
function $f70cc6dfcadf0fd5$export$d7841e452f2e59a8(_ref) {
|
|
6160
6155
|
let {
|
|
6161
6156
|
current_sorting_: current_sorting_,
|
|
@@ -6504,11 +6499,11 @@ function $f70cc6dfcadf0fd5$var$OpenSortingButton(_ref4) {
|
|
|
6504
6499
|
})();
|
|
6505
6500
|
}
|
|
6506
6501
|
$52FdA$solidjsweb.delegateEvents(["click"]);
|
|
6507
|
-
const $31f4a789db864adb$var$_tmpl$ = /*#__PURE__*/$52FdA$solidjsweb.template(`<svg xmlns=
|
|
6502
|
+
const $31f4a789db864adb$var$_tmpl$ = /*#__PURE__*/$52FdA$solidjsweb.template(`<svg xmlns=http://www.w3.org/2000/svg width=14 height=14><path d="M6.402.453L2.203 4.652a.35.35 0 0 0 0 .496c.137.137.359.137.492 0l3.605-3.605v11.406a.35.35 0 0 0 .348.352.35.35 0 0 0 .352-.352V1.543l3.602 3.605a.35.35 0 0 0 .496 0c.066-.07.102-.16.102-.25a.35.35 0 0 0-.102-.246L6.895.453c-.133-.137-.355-.137-.492 0zm0 0">`);
|
|
6508
6503
|
function $31f4a789db864adb$export$2624c5890f1bbcf7() {
|
|
6509
6504
|
return $52FdA$solidjsweb.getNextElement($31f4a789db864adb$var$_tmpl$);
|
|
6510
6505
|
}
|
|
6511
|
-
const $b7cbae23560f11b9$var$_tmpl$ = /*#__PURE__*/$52FdA$solidjsweb.template(`<div class=
|
|
6506
|
+
const $b7cbae23560f11b9$var$_tmpl$ = /*#__PURE__*/$52FdA$solidjsweb.template(`<div class=floating-buttons><button class=filter><div></div></button><button class=sort><div></div></button><button class=up><div>`);
|
|
6512
6507
|
function $b7cbae23560f11b9$export$b23abd26de154ede(props) {
|
|
6513
6508
|
if (0, $52FdA$solidjsweb.isServer) return; // won't show in initial render and need scroll position
|
|
6514
6509
|
const [is_small, set_is_small] = $52FdA$solidjs.createSignal(true);
|
|
@@ -6658,9 +6653,9 @@ function $b7cbae23560f11b9$var$ActualFloatingButtons(_ref2) {
|
|
|
6658
6653
|
})();
|
|
6659
6654
|
}
|
|
6660
6655
|
$52FdA$solidjsweb.delegateEvents(["click"]);
|
|
6661
|
-
const $1c819dc9d820a149$var$_tmpl$ = /*#__PURE__*/$52FdA$solidjsweb.template(`<nav class=
|
|
6662
|
-
$1c819dc9d820a149$var$_tmpl$2 = /*#__PURE__*/$52FdA$solidjsweb.template(`<a class=
|
|
6663
|
-
$1c819dc9d820a149$var$_tmpl$3 = /*#__PURE__*/$52FdA$solidjsweb.template(`<span class=
|
|
6656
|
+
const $1c819dc9d820a149$var$_tmpl$ = /*#__PURE__*/$52FdA$solidjsweb.template(`<nav class=crumbs>`),
|
|
6657
|
+
$1c819dc9d820a149$var$_tmpl$2 = /*#__PURE__*/$52FdA$solidjsweb.template(`<a class=crumb>`),
|
|
6658
|
+
$1c819dc9d820a149$var$_tmpl$3 = /*#__PURE__*/$52FdA$solidjsweb.template(`<span class=separator>`);
|
|
6664
6659
|
function $1c819dc9d820a149$export$5646050d516e06bc(_ref) {
|
|
6665
6660
|
let {
|
|
6666
6661
|
crumb_data_: get_api_crumb_data,
|
|
@@ -6740,9 +6735,9 @@ function $1c819dc9d820a149$export$5646050d516e06bc(_ref) {
|
|
|
6740
6735
|
});
|
|
6741
6736
|
}
|
|
6742
6737
|
$52FdA$solidjsweb.delegateEvents(["click"]);
|
|
6743
|
-
const $21a004c2e7bd4c16$var$_tmpl$ = /*#__PURE__*/$52FdA$solidjsweb.template(`<nav class=
|
|
6744
|
-
$21a004c2e7bd4c16$var$_tmpl$2 = /*#__PURE__*/$52FdA$solidjsweb.template(`<div>QuickLinks failed
|
|
6745
|
-
$21a004c2e7bd4c16$var$_tmpl$3 = /*#__PURE__*/$52FdA$solidjsweb.template(`<a class=
|
|
6738
|
+
const $21a004c2e7bd4c16$var$_tmpl$ = /*#__PURE__*/$52FdA$solidjsweb.template(`<nav class=quicklinks>`),
|
|
6739
|
+
$21a004c2e7bd4c16$var$_tmpl$2 = /*#__PURE__*/$52FdA$solidjsweb.template(`<div>QuickLinks failed`),
|
|
6740
|
+
$21a004c2e7bd4c16$var$_tmpl$3 = /*#__PURE__*/$52FdA$solidjsweb.template(`<a class=quicklink>`);
|
|
6746
6741
|
function $21a004c2e7bd4c16$export$466cdc317043f6cb(_ref) {
|
|
6747
6742
|
let {
|
|
6748
6743
|
quicklinks_data_: quicklinks_data_,
|
|
@@ -7176,8 +7171,8 @@ function $8b366fdb0c76194d$var$clear_if_opened_new_tab_with_sideways_url_params_
|
|
|
7176
7171
|
});
|
|
7177
7172
|
tracking_function_for_plp_results(plp_results_);
|
|
7178
7173
|
}
|
|
7179
|
-
const $12121a33e26f3430$var$_tmpl$ = /*#__PURE__*/$52FdA$solidjsweb.template(`<div class=
|
|
7180
|
-
$12121a33e26f3430$var$_tmpl$2 = /*#__PURE__*/$52FdA$solidjsweb.template(`<div class=
|
|
7174
|
+
const $12121a33e26f3430$var$_tmpl$ = /*#__PURE__*/$52FdA$solidjsweb.template(`<div class=statement style=white-space:pre-wrap>No category ID specified, this is probably unintentional. Make sure to create (and insert) the CategoryPage *after* you have specified a category ID in your Depict Provider.`),
|
|
7175
|
+
$12121a33e26f3430$var$_tmpl$2 = /*#__PURE__*/$52FdA$solidjsweb.template(`<div class=buttons><button class="ok major">`);
|
|
7181
7176
|
function $12121a33e26f3430$export$d4fc5c0e68a52116(el, query_id_, i18n_) {
|
|
7182
7177
|
if (!(0, $52FdA$depictaiutilishared.is_debug)) return; // Just to make sure we don't show this in production
|
|
7183
7178
|
const owner = $52FdA$solidjs.getOwner();
|
|
@@ -7241,10 +7236,10 @@ function $eef41d50f07bf19a$export$d31a1a1a83ad9413(plp_results_, _ref) {
|
|
|
7241
7236
|
set_selected_filters(new_filters);
|
|
7242
7237
|
});
|
|
7243
7238
|
}
|
|
7244
|
-
const $ede6c70ecdca46fe$var$_tmpl$ = /*#__PURE__*/$52FdA$solidjsweb.template(`<div class=
|
|
7245
|
-
$ede6c70ecdca46fe$var$_tmpl$2 = /*#__PURE__*/$52FdA$solidjsweb.template(`<div
|
|
7246
|
-
$ede6c70ecdca46fe$var$_tmpl$3 = /*#__PURE__*/$52FdA$solidjsweb.template(`<div class=
|
|
7247
|
-
$ede6c70ecdca46fe$var$_tmpl$4 = /*#__PURE__*/$52FdA$solidjsweb.template(`<div class="depict plp category"><div class=
|
|
7239
|
+
const $ede6c70ecdca46fe$var$_tmpl$ = /*#__PURE__*/$52FdA$solidjsweb.template(`<div class=product-count><!$><!/> <!$><!/>`),
|
|
7240
|
+
$ede6c70ecdca46fe$var$_tmpl$2 = /*#__PURE__*/$52FdA$solidjsweb.template(`<div>`),
|
|
7241
|
+
$ede6c70ecdca46fe$var$_tmpl$3 = /*#__PURE__*/$52FdA$solidjsweb.template(`<div class=filter-results-for-one-row><!$><!/><!$><!/>`),
|
|
7242
|
+
$ede6c70ecdca46fe$var$_tmpl$4 = /*#__PURE__*/$52FdA$solidjsweb.template(`<div class="depict plp category"><div class=listing-page><!$><!/><!$><!/><!$><!/><!$><!/><!$><!/><!$><!/></div><!$><!/><!$><!/>`);
|
|
7248
7243
|
function $ede6c70ecdca46fe$export$f7d2f673fc2f091d(_ref) {
|
|
7249
7244
|
var _on_filters_construct;
|
|
7250
7245
|
let {
|
|
@@ -7922,7 +7917,7 @@ function $bdea39a75c454f4f$export$f50b88e2a00918b5(fn) {
|
|
|
7922
7917
|
}
|
|
7923
7918
|
};
|
|
7924
7919
|
}
|
|
7925
|
-
const $9cbefc32b9dab36d$var$_tmpl$ = /*#__PURE__*/$52FdA$solidjsweb.template(`<div class="depict plp category"
|
|
7920
|
+
const $9cbefc32b9dab36d$var$_tmpl$ = /*#__PURE__*/$52FdA$solidjsweb.template(`<div class="depict plp category">`);
|
|
7926
7921
|
function $9cbefc32b9dab36d$var$_classPrivateFieldInitSpec(obj, privateMap, value) {
|
|
7927
7922
|
$9cbefc32b9dab36d$var$_checkPrivateRedeclaration(obj, privateMap);
|
|
7928
7923
|
privateMap.set(obj, value);
|
|
@@ -8278,7 +8273,7 @@ function $9cbefc32b9dab36d$var$get_shared_properties(depict_category) {
|
|
|
8278
8273
|
if (!shared_properties) throw new Error("Can't connect to provided DepictCategory instance");
|
|
8279
8274
|
return shared_properties;
|
|
8280
8275
|
}
|
|
8281
|
-
const $dc0bcefcc3486ebd$var$_tmpl$ = /*#__PURE__*/$52FdA$solidjsweb.template(`<div class=
|
|
8276
|
+
const $dc0bcefcc3486ebd$var$_tmpl$ = /*#__PURE__*/$52FdA$solidjsweb.template(`<div class=category-title><h1 class=title></h1><span class=explanation> — <!$><!/>`);
|
|
8282
8277
|
const $dc0bcefcc3486ebd$export$b91cec6bdc6b32a1 = /*@__PURE__*/(() => {
|
|
8283
8278
|
const actual_function = _ref => {
|
|
8284
8279
|
let {
|
|
@@ -8304,7 +8299,7 @@ const $dc0bcefcc3486ebd$export$b91cec6bdc6b32a1 = /*@__PURE__*/(() => {
|
|
|
8304
8299
|
actual_function[(0, $905241549bde5bff$export$5c28802497c8a83c)] = "simple";
|
|
8305
8300
|
return actual_function;
|
|
8306
8301
|
})();
|
|
8307
|
-
const $0c91ea7c14692db9$var$_tmpl$ = /*#__PURE__*/$52FdA$solidjsweb.template(`<div class="sort-and-filter-buttons fake"
|
|
8302
|
+
const $0c91ea7c14692db9$var$_tmpl$ = /*#__PURE__*/$52FdA$solidjsweb.template(`<div class="sort-and-filter-buttons fake"aria-hidden=true style=position:absolute;z-index:-1;pointer-events:none;opacity:0><div class=outer><div class=inner><!$><!/><!$><!/><!$><!/>`);
|
|
8308
8303
|
const $0c91ea7c14692db9$export$824dde41348efed1 = /*@__PURE__*/(() => {
|
|
8309
8304
|
const actual_function = _ref => {
|
|
8310
8305
|
let {
|
|
@@ -8469,7 +8464,7 @@ async function $822f2c95a96c3ec8$var$download_categories(tenant, market, type) {
|
|
|
8469
8464
|
return [];
|
|
8470
8465
|
}
|
|
8471
8466
|
}
|
|
8472
|
-
const $c0cf6af094336798$var$_tmpl$ = /*#__PURE__*/$52FdA$solidjsweb.template(`<div class=
|
|
8467
|
+
const $c0cf6af094336798$var$_tmpl$ = /*#__PURE__*/$52FdA$solidjsweb.template(`<div class=instant-card><div class=img-part></div><div class=right-part><div class=title-brand-tagline><span class=title>`);
|
|
8473
8468
|
function $c0cf6af094336798$export$ee1733d9a8495996() {
|
|
8474
8469
|
return (() => {
|
|
8475
8470
|
const _el$ = $52FdA$solidjsweb.getNextElement($c0cf6af094336798$var$_tmpl$),
|
|
@@ -8487,8 +8482,8 @@ function $c0cf6af094336798$export$ee1733d9a8495996() {
|
|
|
8487
8482
|
return _el$;
|
|
8488
8483
|
})();
|
|
8489
8484
|
}
|
|
8490
|
-
const $3001ad378baf39dc$var$_tmpl$ = /*#__PURE__*/$52FdA$solidjsweb.template(`<span class=
|
|
8491
|
-
$3001ad378baf39dc$var$_tmpl$2 = /*#__PURE__*/$52FdA$solidjsweb.template(`<a class=
|
|
8485
|
+
const $3001ad378baf39dc$var$_tmpl$ = /*#__PURE__*/$52FdA$solidjsweb.template(`<span class=parent-title>`),
|
|
8486
|
+
$3001ad378baf39dc$var$_tmpl$2 = /*#__PURE__*/$52FdA$solidjsweb.template(`<a class=category-suggestion><span class=title></span><!$><!/>`);
|
|
8492
8487
|
function $3001ad378baf39dc$export$d757d54550ebfb3d(_ref) {
|
|
8493
8488
|
let {
|
|
8494
8489
|
category_suggestion_: category_suggestion_,
|
|
@@ -8523,11 +8518,11 @@ function $3001ad378baf39dc$export$d757d54550ebfb3d(_ref) {
|
|
|
8523
8518
|
})();
|
|
8524
8519
|
}
|
|
8525
8520
|
$52FdA$solidjsweb.delegateEvents(["click"]);
|
|
8526
|
-
const $dd98275d380b2cfd$var$_tmpl$ = /*#__PURE__*/$52FdA$solidjsweb.template(`<svg xmlns=
|
|
8521
|
+
const $dd98275d380b2cfd$var$_tmpl$ = /*#__PURE__*/$52FdA$solidjsweb.template(`<svg xmlns=http://www.w3.org/2000/svg width=24 height=16><path d="M.773 7.371L7.98.176C8.098.059 8.238 0 8.402 0s.305.059.422.176S9 .434 9 .598s-.059.305-.176.422L2.648 7.195h19.547a.59.59 0 0 1 .609.609c0 .172-.059.305-.176.422s-.262.176-.434.176H2.648l6.176 6.176a.59.59 0 0 1 .176.426c0 .16-.059.301-.176.422-.055.059-.121.109-.199.137s-.148.039-.223.039-.156-.012-.234-.039a.54.54 0 0 1-.187-.137L.773 8.227c-.117-.117-.176-.258-.176-.422a.6.6 0 0 1 .176-.434zm0 0">`);
|
|
8527
8522
|
function $dd98275d380b2cfd$export$1c641004b5485fed() {
|
|
8528
8523
|
return $52FdA$solidjsweb.getNextElement($dd98275d380b2cfd$var$_tmpl$);
|
|
8529
8524
|
}
|
|
8530
|
-
const $5b88b077e48a4451$var$_tmpl$ = /*#__PURE__*/$52FdA$solidjsweb.template(`<svg><path d="M19.811 20.174l-6.234-6.809a7.96 7.96 0 0 0 .923-1.179c.274-.424.502-.865.687-1.323a8.04 8.04 0 0 0 .42-1.436 7.88 7.88 0 0 0 .144-1.507c0-.526-.051-1.042-.154-1.548-.096-.506-.243-.995-.441-1.466s-.441-.919-.728-1.343a8.28 8.28 0 0 0-.984-1.21 7.86 7.86 0 0 0-1.2-.984A7.56 7.56 0 0 0 10.89.651C10.418.453 9.929.302 9.423.2S8.401.046 7.875.046 6.833.097 6.327.2 5.332.453 4.86.651a7.56 7.56 0 0 0-1.354.718c-.431.287-.831.615-1.2.984a8.28 8.28 0 0 0-.984 1.21 7.73 7.73 0 0 0-.728 1.343c-.198.472-.349.96-.451 1.466A8.31 8.31 0 0 0 0 7.921a8.31 8.31 0 0 0 .144 1.548c.103.506.253.995.451 1.466a8.08 8.08 0 0 0 .728 1.354 7.86 7.86 0 0 0 .984 1.2 7.54 7.54 0 0 0 1.2.995c.431.287.882.53 1.354.728.472.191.96.338 1.466.441a8.31 8.31 0 0 0 1.548.144c.451 0 .896-.038 1.333-.113a7.83 7.83 0 0 0 1.282-.328 7.55 7.55 0 0 0 1.2-.533 8.08 8.08 0 0 0 1.107-.749l6.245 6.809a.45.45 0 0 0 .174.123.55.55 0 0 0 .205.041.61.61 0 0 0 .195-.031c.061-.021.116-.055.164-.102.109-.096.164-.219.164-.369.007-.144-.038-.267-.133-.369zM1.046 7.921c0-.937.178-1.818.533-2.646.362-.834.851-1.559 1.466-2.174.622-.615 1.347-1.101 2.174-1.456.827-.362 1.712-.543 2.656-.543s1.829.181 2.656.543c.827.355 1.548.841 2.164 1.456.622.615 1.111 1.34 1.466 2.174a6.52 6.52 0 0 1 .543 2.646c0 .943-.181 1.829-.543 2.656a6.89 6.89 0 0 1-1.466 2.174c-.615.615-1.336 1.104-2.164 1.466-.827.356-1.712.533-2.656.533s-1.829-.178-2.656-.533c-.827-.362-1.552-.851-2.174-1.466-.615-.622-1.104-1.347-1.466-2.174-.355-.827-.533-1.712-.533-2.656z"
|
|
8525
|
+
const $5b88b077e48a4451$var$_tmpl$ = /*#__PURE__*/$52FdA$solidjsweb.template(`<svg><path d="M19.811 20.174l-6.234-6.809a7.96 7.96 0 0 0 .923-1.179c.274-.424.502-.865.687-1.323a8.04 8.04 0 0 0 .42-1.436 7.88 7.88 0 0 0 .144-1.507c0-.526-.051-1.042-.154-1.548-.096-.506-.243-.995-.441-1.466s-.441-.919-.728-1.343a8.28 8.28 0 0 0-.984-1.21 7.86 7.86 0 0 0-1.2-.984A7.56 7.56 0 0 0 10.89.651C10.418.453 9.929.302 9.423.2S8.401.046 7.875.046 6.833.097 6.327.2 5.332.453 4.86.651a7.56 7.56 0 0 0-1.354.718c-.431.287-.831.615-1.2.984a8.28 8.28 0 0 0-.984 1.21 7.73 7.73 0 0 0-.728 1.343c-.198.472-.349.96-.451 1.466A8.31 8.31 0 0 0 0 7.921a8.31 8.31 0 0 0 .144 1.548c.103.506.253.995.451 1.466a8.08 8.08 0 0 0 .728 1.354 7.86 7.86 0 0 0 .984 1.2 7.54 7.54 0 0 0 1.2.995c.431.287.882.53 1.354.728.472.191.96.338 1.466.441a8.31 8.31 0 0 0 1.548.144c.451 0 .896-.038 1.333-.113a7.83 7.83 0 0 0 1.282-.328 7.55 7.55 0 0 0 1.2-.533 8.08 8.08 0 0 0 1.107-.749l6.245 6.809a.45.45 0 0 0 .174.123.55.55 0 0 0 .205.041.61.61 0 0 0 .195-.031c.061-.021.116-.055.164-.102.109-.096.164-.219.164-.369.007-.144-.038-.267-.133-.369zM1.046 7.921c0-.937.178-1.818.533-2.646.362-.834.851-1.559 1.466-2.174.622-.615 1.347-1.101 2.174-1.456.827-.362 1.712-.543 2.656-.543s1.829.181 2.656.543c.827.355 1.548.841 2.164 1.456.622.615 1.111 1.34 1.466 2.174a6.52 6.52 0 0 1 .543 2.646c0 .943-.181 1.829-.543 2.656a6.89 6.89 0 0 1-1.466 2.174c-.615.615-1.336 1.104-2.164 1.466-.827.356-1.712.533-2.656.533s-1.829-.178-2.656-.533c-.827-.362-1.552-.851-2.174-1.466-.615-.622-1.104-1.347-1.466-2.174-.355-.827-.533-1.712-.533-2.656z">`);
|
|
8531
8526
|
function $5b88b077e48a4451$export$82eafebb825fc23f() {
|
|
8532
8527
|
let props = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : {};
|
|
8533
8528
|
return (() => {
|
|
@@ -8541,8 +8536,8 @@ function $5b88b077e48a4451$export$82eafebb825fc23f() {
|
|
|
8541
8536
|
return _el$;
|
|
8542
8537
|
})();
|
|
8543
8538
|
}
|
|
8544
|
-
const $29e5dbeb69da7a36$var$_tmpl$ = /*#__PURE__*/$52FdA$solidjsweb.template(`<button class=
|
|
8545
|
-
$29e5dbeb69da7a36$var$_tmpl$2 = /*#__PURE__*/$52FdA$solidjsweb.template(`<div class=
|
|
8539
|
+
const $29e5dbeb69da7a36$var$_tmpl$ = /*#__PURE__*/$52FdA$solidjsweb.template(`<button class=back type=button>`),
|
|
8540
|
+
$29e5dbeb69da7a36$var$_tmpl$2 = /*#__PURE__*/$52FdA$solidjsweb.template(`<div class=search-field><!$><!/><div class=field><input class=query tabindex=0><button type=button class=clear></button></div><button class="submit major"type=button>`);
|
|
8546
8541
|
function $29e5dbeb69da7a36$export$b94867ecbd698f21(_ref) {
|
|
8547
8542
|
let {
|
|
8548
8543
|
search_field_value_: search_field_value_,
|
|
@@ -8644,7 +8639,7 @@ function $29e5dbeb69da7a36$export$b94867ecbd698f21(_ref) {
|
|
|
8644
8639
|
input_field_ref_ === null || input_field_ref_ === void 0 || input_field_ref_(el);
|
|
8645
8640
|
});
|
|
8646
8641
|
typeof _ref$ === "function" && $52FdA$solidjsweb.use(_ref$, _el$4);
|
|
8647
|
-
_el$4.classList.toggle("has-adjacent-back-button",
|
|
8642
|
+
_el$4.classList.toggle("has-adjacent-back-button", !!!!on_back_);
|
|
8648
8643
|
$52FdA$solidjsweb.addEventListener(_el$5, "click", $52FdA$depictaiutilishared.catchify(() => {
|
|
8649
8644
|
search_field_value_[1]("");
|
|
8650
8645
|
clear_filters_(true);
|
|
@@ -8672,14 +8667,14 @@ function $29e5dbeb69da7a36$export$b94867ecbd698f21(_ref) {
|
|
|
8672
8667
|
_v$4: undefined,
|
|
8673
8668
|
_v$5: undefined
|
|
8674
8669
|
});
|
|
8675
|
-
$52FdA$solidjsweb.effect(() => _el$4
|
|
8670
|
+
$52FdA$solidjsweb.effect(() => $52FdA$solidjsweb.setProperty(_el$4, "value", search_field_value_[0]()));
|
|
8676
8671
|
$52FdA$solidjsweb.runHydrationEvents();
|
|
8677
8672
|
return _el$;
|
|
8678
8673
|
})();
|
|
8679
8674
|
}
|
|
8680
8675
|
$52FdA$solidjsweb.delegateEvents(["click", "keydown", "input", "pointerdown"]);
|
|
8681
|
-
const $c77adcdf5346b187$var$_tmpl$ = /*#__PURE__*/$52FdA$solidjsweb.template(`<div class=
|
|
8682
|
-
$c77adcdf5346b187$var$_tmpl$2 = /*#__PURE__*/$52FdA$solidjsweb.template(`<button class="show-more major"
|
|
8676
|
+
const $c77adcdf5346b187$var$_tmpl$ = /*#__PURE__*/$52FdA$solidjsweb.template(`<div class=search-recs><h3 class=search-recs-title></h3><!$><!/><!$><!/>`),
|
|
8677
|
+
$c77adcdf5346b187$var$_tmpl$2 = /*#__PURE__*/$52FdA$solidjsweb.template(`<button class="show-more major"type=button>`);
|
|
8683
8678
|
const $c77adcdf5346b187$export$1c8c715550dc689d = 2;
|
|
8684
8679
|
function $c77adcdf5346b187$export$7de92c4c2205ebf3(_ref) {
|
|
8685
8680
|
let {
|
|
@@ -8935,9 +8930,9 @@ async function $7f680455a2aa1079$export$e16630ecb9644a1c(_ref) {
|
|
|
8935
8930
|
const $65353359a9fbdacd$export$27b710c08412a7ad = obj => {
|
|
8936
8931
|
return Object.fromEntries(Object.keys(obj).map(key => [key, obj[key]()]));
|
|
8937
8932
|
};
|
|
8938
|
-
const $82d079b68975fbf7$var$_tmpl$ = /*#__PURE__*/$52FdA$solidjsweb.template(`<span class="orig price"
|
|
8939
|
-
$82d079b68975fbf7$var$_tmpl$2 = /*#__PURE__*/$52FdA$solidjsweb.template(`<a class=
|
|
8940
|
-
$82d079b68975fbf7$var$_tmpl$3 = /*#__PURE__*/$52FdA$solidjsweb.template(`<div class=
|
|
8933
|
+
const $82d079b68975fbf7$var$_tmpl$ = /*#__PURE__*/$52FdA$solidjsweb.template(`<span class="orig price"><!$><!/><!$><!/><!$><!/>`),
|
|
8934
|
+
$82d079b68975fbf7$var$_tmpl$2 = /*#__PURE__*/$52FdA$solidjsweb.template(`<a class=instant-card><div class=img-part></div><div class=right-part><div class=title-brand-tagline><span class=brand></span><span class="title line-clamp"></span><!$><!/></div><div class=price-container><!$><!/><span class=price><!$><!/><!$><!/><!$><!/>`),
|
|
8935
|
+
$82d079b68975fbf7$var$_tmpl$3 = /*#__PURE__*/$52FdA$solidjsweb.template(`<div class=tagline>`);
|
|
8941
8936
|
const $82d079b68975fbf7$export$b05c0ae390cf3e06 = (display_or_variant_container, _ref, router_) => {
|
|
8942
8937
|
let {
|
|
8943
8938
|
i18n: i18n
|
|
@@ -9063,7 +9058,7 @@ const $82d079b68975fbf7$export$b05c0ae390cf3e06 = (display_or_variant_container,
|
|
|
9063
9058
|
})();
|
|
9064
9059
|
};
|
|
9065
9060
|
$52FdA$solidjsweb.delegateEvents(["click"]);
|
|
9066
|
-
const $6e8d48eea3d0469d$var$_tmpl$ = /*#__PURE__*/$52FdA$solidjsweb.template(`<div class=
|
|
9061
|
+
const $6e8d48eea3d0469d$var$_tmpl$ = /*#__PURE__*/$52FdA$solidjsweb.template(`<div class=instant-results>`);
|
|
9067
9062
|
function $6e8d48eea3d0469d$export$62f101a8aa597bf8(_ref) {
|
|
9068
9063
|
let {
|
|
9069
9064
|
depict_api_: depict_api_,
|
|
@@ -9163,8 +9158,8 @@ function $6e8d48eea3d0469d$export$62f101a8aa597bf8(_ref) {
|
|
|
9163
9158
|
return _el$;
|
|
9164
9159
|
})();
|
|
9165
9160
|
}
|
|
9166
|
-
const $246adc3df5966856$var$_tmpl$ = /*#__PURE__*/$52FdA$solidjsweb.template(`<div style=
|
|
9167
|
-
$246adc3df5966856$var$_tmpl$2 = /*#__PURE__*/$52FdA$solidjsweb.template(`<div style=
|
|
9161
|
+
const $246adc3df5966856$var$_tmpl$ = /*#__PURE__*/$52FdA$solidjsweb.template(`<div style=position:absolute;z-index:-1;pointer-events:none;width:100%;height:200%;top:-100%;>`),
|
|
9162
|
+
$246adc3df5966856$var$_tmpl$2 = /*#__PURE__*/$52FdA$solidjsweb.template(`<div style=position:absolute;z-index:-1;pointer-events:none;width:100%;height:200%;>`);
|
|
9168
9163
|
function $246adc3df5966856$export$50b90be27d8502d9(el, _ref, bottom_distance) {
|
|
9169
9164
|
let [get_style_props, set_style_props] = _ref;
|
|
9170
9165
|
const overflow_style_beginning = "position:absolute;z-index:-1;pointer-events:none;width:100%;height:200%;";
|
|
@@ -9215,12 +9210,12 @@ function $77fe1b91e837c071$export$91c3b6774e8be0f5(_ref) {
|
|
|
9215
9210
|
return u_o.href;
|
|
9216
9211
|
});
|
|
9217
9212
|
}
|
|
9218
|
-
const $8767e7eba5066d2b$var$_tmpl$ = /*#__PURE__*/$52FdA$solidjsweb.template(`<svg xmlns=
|
|
9213
|
+
const $8767e7eba5066d2b$var$_tmpl$ = /*#__PURE__*/$52FdA$solidjsweb.template(`<svg xmlns=http://www.w3.org/2000/svg width=12 height=13><path d="M6 12.598a5.88 5.88 0 0 1-1.611-.223c-.52-.145-1.008-.352-1.465-.621s-.875-.605-1.254-.996-.693-.83-.955-1.318c-.039-.07-.047-.145-.023-.223s.072-.143.146-.182.145-.047.223-.023.143.072.182.146a5.54 5.54 0 0 0 .861 1.184c.34.352.715.65 1.125.897s.85.435 1.318.568A5.5 5.5 0 0 0 6 12a5.24 5.24 0 0 0 2.098-.422c.656-.285 1.229-.672 1.717-1.16s.879-1.061 1.16-1.717a5.22 5.22 0 0 0 .428-2.104c0-.742-.143-1.441-.428-2.098s-.668-1.229-1.16-1.717a5.42 5.42 0 0 0-1.717-1.154A5.18 5.18 0 0 0 6 1.201c-.496 0-.979.066-1.447.199s-.904.316-1.318.563-.785.539-1.125.891a5.31 5.31 0 0 0-.855 1.172.32.32 0 0 1-.164.141c-.066.023-.135.023-.205 0a.3.3 0 0 1-.158-.135C.691 3.965.682 3.895.697 3.82l.51-2.385c.016-.078.059-.141.129-.187a.28.28 0 0 1 .229-.041c.078.016.141.059.188.129a.28.28 0 0 1 .041.229l-.211.973a5.91 5.91 0 0 1 .926-.814 5.78 5.78 0 0 1 1.066-.609A5.79 5.79 0 0 1 4.746.732C5.156.643 5.574.598 6 .598c.402 0 .795.039 1.178.117s.76.191 1.119.34a5.95 5.95 0 0 1 1.031.551c.328.219.633.469.914.75s.535.592.75.92a5.77 5.77 0 0 1 .551 1.025 5.53 5.53 0 0 1 .34 1.119c.078.387.117.779.117 1.178s-.039.797-.117 1.184-.187.754-.34 1.113a5.96 5.96 0 0 1-.551 1.031 5.56 5.56 0 0 1-.75.914c-.281.285-.586.537-.914.756a5.95 5.95 0 0 1-1.031.551c-.359.148-.732.26-1.119.334s-.775.117-1.178.117zm0-5.695c-.023 0-.049-.004-.076-.012s-.047-.018-.07-.029l-2.701-1.5c-.07-.039-.117-.098-.141-.176a.29.29 0 0 1 .023-.229c.043-.074.104-.123.182-.146s.158-.014.229.029l2.543 1.412 3.152-2.004c.07-.047.145-.061.223-.041a.29.29 0 0 1 .188.135c.047.066.061.141.041.223a.27.27 0 0 1-.129.188L6.158 6.855a.27.27 0 0 1-.076.035c-.027.008-.055.012-.082.012z"fill=#0f0f0f>`);
|
|
9219
9214
|
function $8767e7eba5066d2b$export$5d2caaa6b530761c() {
|
|
9220
9215
|
return $52FdA$solidjsweb.getNextElement($8767e7eba5066d2b$var$_tmpl$);
|
|
9221
9216
|
}
|
|
9222
|
-
const $4edbc04f5c5a1843$var$_tmpl$ = /*#__PURE__*/$52FdA$solidjsweb.template(`<div class=
|
|
9223
|
-
$4edbc04f5c5a1843$var$_tmpl$2 = /*#__PURE__*/$52FdA$solidjsweb.template(`<a class=
|
|
9217
|
+
const $4edbc04f5c5a1843$var$_tmpl$ = /*#__PURE__*/$52FdA$solidjsweb.template(`<div class=previous-searches><h2 class=text></h2><div class=list>`),
|
|
9218
|
+
$4edbc04f5c5a1843$var$_tmpl$2 = /*#__PURE__*/$52FdA$solidjsweb.template(`<a class=item><div class=left><!$><!/><span class=line-clamp></span></div><button class=delete>`);
|
|
9224
9219
|
function $4edbc04f5c5a1843$export$a146ac6fa8346a25(_ref) {
|
|
9225
9220
|
let {
|
|
9226
9221
|
text_: text_,
|
|
@@ -9327,8 +9322,8 @@ function $4edbc04f5c5a1843$export$a146ac6fa8346a25(_ref) {
|
|
|
9327
9322
|
}
|
|
9328
9323
|
});
|
|
9329
9324
|
}
|
|
9330
|
-
const $23c3f390dee33ff8$var$_tmpl$ = /*#__PURE__*/$52FdA$solidjsweb.template(`<span class=
|
|
9331
|
-
$23c3f390dee33ff8$var$_tmpl$2 = /*#__PURE__*/$52FdA$solidjsweb.template(`<span
|
|
9325
|
+
const $23c3f390dee33ff8$var$_tmpl$ = /*#__PURE__*/$52FdA$solidjsweb.template(`<span class=highlighted-part>`),
|
|
9326
|
+
$23c3f390dee33ff8$var$_tmpl$2 = /*#__PURE__*/$52FdA$solidjsweb.template(`<span>`);
|
|
9332
9327
|
function $23c3f390dee33ff8$export$ba17c5b7e6dda39f(_ref) {
|
|
9333
9328
|
let {
|
|
9334
9329
|
whole_text_to_display_: whole_text_to_display_memo,
|
|
@@ -9400,7 +9395,7 @@ function $23c3f390dee33ff8$export$ba17c5b7e6dda39f(_ref) {
|
|
|
9400
9395
|
return _el$2;
|
|
9401
9396
|
})();
|
|
9402
9397
|
}
|
|
9403
|
-
const $3cf7b4db1e203c93$var$_tmpl$ = /*#__PURE__*/$52FdA$solidjsweb.template(`<svg xmlns=
|
|
9398
|
+
const $3cf7b4db1e203c93$var$_tmpl$ = /*#__PURE__*/$52FdA$solidjsweb.template(`<svg xmlns=http://www.w3.org/2000/svg width=32 height=32 viewBox="0 0 256 256"><path d="M56 26.455a13.71 13.71 0 0 0-9.578 3.967A13.71 13.71 0 0 0 42.455 40v176a13.71 13.71 0 0 0 3.967 9.578A13.71 13.71 0 0 0 56 229.545h144A13.71 13.71 0 0 0 213.545 216V88a2.456 2.456 0 0 1 0-.002c.001-1.452-.597-2.895-1.623-3.922l-55.998-55.998a5.61 5.61 0 0 0-3.922-1.623 2.456 2.456 0 0 1-.002 0zm0 11.09h88A2.456 2.456 0 0 1 146.455 40v48c0 2.903 2.642 5.545 5.545 5.545h48A2.456 2.456 0 0 1 202.455 96v120a2.456 2.456 0 0 1-2.455 2.455H56A2.456 2.456 0 0 1 53.545 216V40A2.456 2.456 0 0 1 56 37.545zm103.061 11.498a2.456 2.456 0 0 1 2.676.531l28.689 28.689a2.456 2.456 0 0 1-1.736 4.191H160A2.456 2.456 0 0 1 157.545 80V51.311a2.456 2.456 0 0 1 1.516-2.268zM96 130.455c-2.903 0-5.545 2.642-5.545 5.545s2.642 5.545 5.545 5.545h64c2.903 0 5.545-2.642 5.545-5.545s-2.642-5.545-5.545-5.545zm0 32c-2.903 0-5.545 2.642-5.545 5.545s2.642 5.545 5.545 5.545h64c2.903 0 5.545-2.642 5.545-5.545s-2.642-5.545-5.545-5.545z">`);
|
|
9404
9399
|
function $3cf7b4db1e203c93$export$605674723bcc715c() {
|
|
9405
9400
|
let props = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : {};
|
|
9406
9401
|
return (() => {
|
|
@@ -9410,15 +9405,15 @@ function $3cf7b4db1e203c93$export$605674723bcc715c() {
|
|
|
9410
9405
|
return _el$;
|
|
9411
9406
|
})();
|
|
9412
9407
|
}
|
|
9413
|
-
const $0677d509ad208e22$var$_tmpl$ = /*#__PURE__*/$52FdA$solidjsweb.template(`<a class=
|
|
9414
|
-
$0677d509ad208e22$var$_tmpl$2 = /*#__PURE__*/$52FdA$solidjsweb.template(`<div class=
|
|
9415
|
-
$0677d509ad208e22$var$_tmpl$3 = /*#__PURE__*/$52FdA$solidjsweb.template(`<span class=
|
|
9416
|
-
$0677d509ad208e22$var$_tmpl$4 = /*#__PURE__*/$52FdA$solidjsweb.template(`<div class=
|
|
9417
|
-
$0677d509ad208e22$var$_tmpl$5 = /*#__PURE__*/$52FdA$solidjsweb.template(`<div class=
|
|
9418
|
-
$0677d509ad208e22$var$_tmpl$6 = /*#__PURE__*/$52FdA$solidjsweb.template(`<h2 class=
|
|
9419
|
-
$0677d509ad208e22$var$_tmpl$7 = /*#__PURE__*/$52FdA$solidjsweb.template(`<div class="suggestion-container query"
|
|
9420
|
-
$0677d509ad208e22$var$_tmpl$8 = /*#__PURE__*/$52FdA$solidjsweb.template(`<div class="suggestion-container page"
|
|
9421
|
-
$0677d509ad208e22$var$_tmpl$9 = /*#__PURE__*/$52FdA$solidjsweb.template(`<div class=
|
|
9408
|
+
const $0677d509ad208e22$var$_tmpl$ = /*#__PURE__*/$52FdA$solidjsweb.template(`<a class=suggestion>`),
|
|
9409
|
+
$0677d509ad208e22$var$_tmpl$2 = /*#__PURE__*/$52FdA$solidjsweb.template(`<div class=search-icon>`),
|
|
9410
|
+
$0677d509ad208e22$var$_tmpl$3 = /*#__PURE__*/$52FdA$solidjsweb.template(`<span class=type>`),
|
|
9411
|
+
$0677d509ad208e22$var$_tmpl$4 = /*#__PURE__*/$52FdA$solidjsweb.template(`<div class=with-parent-title><!$><!/><span class="value line-clamp">`),
|
|
9412
|
+
$0677d509ad208e22$var$_tmpl$5 = /*#__PURE__*/$52FdA$solidjsweb.template(`<div class=with-icon><!$><!/><!$><!/>`),
|
|
9413
|
+
$0677d509ad208e22$var$_tmpl$6 = /*#__PURE__*/$52FdA$solidjsweb.template(`<h2 class=text>`),
|
|
9414
|
+
$0677d509ad208e22$var$_tmpl$7 = /*#__PURE__*/$52FdA$solidjsweb.template(`<div class="suggestion-container query"><!$><!/><!$><!/>`),
|
|
9415
|
+
$0677d509ad208e22$var$_tmpl$8 = /*#__PURE__*/$52FdA$solidjsweb.template(`<div class="suggestion-container page">`),
|
|
9416
|
+
$0677d509ad208e22$var$_tmpl$9 = /*#__PURE__*/$52FdA$solidjsweb.template(`<div class=suggestions><!$><!/><!$><!/><!$><!/>`);
|
|
9422
9417
|
function $0677d509ad208e22$export$e872e2339fb04a7f(_ref) {
|
|
9423
9418
|
let {
|
|
9424
9419
|
suggestion_memo_: suggestion_memo_,
|
|
@@ -9690,7 +9685,7 @@ function $0677d509ad208e22$export$e872e2339fb04a7f(_ref) {
|
|
|
9690
9685
|
}
|
|
9691
9686
|
});
|
|
9692
9687
|
}
|
|
9693
|
-
const $1730e5b4d47679a3$var$_tmpl$ = /*#__PURE__*/$52FdA$solidjsweb.template(`<a target=
|
|
9688
|
+
const $1730e5b4d47679a3$var$_tmpl$ = /*#__PURE__*/$52FdA$solidjsweb.template(`<a target=_blank>`);
|
|
9694
9689
|
function $1730e5b4d47679a3$export$1efe1013da60d0e4(e, href) {
|
|
9695
9690
|
if (e.metaKey || e.ctrlKey) {
|
|
9696
9691
|
// Open link in a new tab with cmd/ctrl + enter.
|
|
@@ -10096,7 +10091,7 @@ const $4989678133495482$export$1233ca167bf71f9a = styles => {
|
|
|
10096
10091
|
return "".concat(selector, " { ").concat($4989678133495482$export$af8311b651139246(css_properties), " }");
|
|
10097
10092
|
}).join(" ");
|
|
10098
10093
|
};
|
|
10099
|
-
const $cc66bbf6e783bb58$var$_tmpl$ = /*#__PURE__*/$52FdA$solidjsweb.template(`<style
|
|
10094
|
+
const $cc66bbf6e783bb58$var$_tmpl$ = /*#__PURE__*/$52FdA$solidjsweb.template(`<style>`);
|
|
10100
10095
|
function $cc66bbf6e783bb58$export$f021bdedd3ec901a(props) {
|
|
10101
10096
|
const valid_css_string = $52FdA$solidjs.createMemo(() => {
|
|
10102
10097
|
return $4989678133495482$export$1233ca167bf71f9a(props.styles());
|
|
@@ -10107,10 +10102,10 @@ function $cc66bbf6e783bb58$export$f021bdedd3ec901a(props) {
|
|
|
10107
10102
|
return _el$;
|
|
10108
10103
|
})();
|
|
10109
10104
|
}
|
|
10110
|
-
const $24419668d5fcfcd5$var$_tmpl$ = /*#__PURE__*/$52FdA$solidjsweb.template(`<div class=
|
|
10111
|
-
$24419668d5fcfcd5$var$_tmpl$2 = /*#__PURE__*/$52FdA$solidjsweb.template(`<b
|
|
10112
|
-
$24419668d5fcfcd5$var$_tmpl$3 = /*#__PURE__*/$52FdA$solidjsweb.template(`<div class=
|
|
10113
|
-
$24419668d5fcfcd5$var$_tmpl$4 = /*#__PURE__*/$52FdA$solidjsweb.template(`<div class="depict plp search"><div class=
|
|
10105
|
+
const $24419668d5fcfcd5$var$_tmpl$ = /*#__PURE__*/$52FdA$solidjsweb.template(`<div class=discover-more><button class=major type=button>`),
|
|
10106
|
+
$24419668d5fcfcd5$var$_tmpl$2 = /*#__PURE__*/$52FdA$solidjsweb.template(`<b>`),
|
|
10107
|
+
$24419668d5fcfcd5$var$_tmpl$3 = /*#__PURE__*/$52FdA$solidjsweb.template(`<div class=depict-search-modal><div class=body><!$><!/><div class=padded><!$><!/><!$><!/><!$><!/></div><!$><!/></div><!$><!/>`),
|
|
10108
|
+
$24419668d5fcfcd5$var$_tmpl$4 = /*#__PURE__*/$52FdA$solidjsweb.template(`<div class="depict plp search"><div class=depict-search-modal-backdrop></div><!$><!/>`);
|
|
10114
10109
|
function $24419668d5fcfcd5$export$1c593cbd6f1e10bc(_ref) {
|
|
10115
10110
|
let {
|
|
10116
10111
|
search_field_value_: props_search_field_value,
|
|
@@ -10368,8 +10363,8 @@ function $24419668d5fcfcd5$var$close_modal_when_navigating_away(close_modal, sea
|
|
|
10368
10363
|
})();
|
|
10369
10364
|
}
|
|
10370
10365
|
$52FdA$solidjsweb.delegateEvents(["click"]);
|
|
10371
|
-
const $e3ac79dbd744c1c1$var$_tmpl$ = /*#__PURE__*/$52FdA$solidjsweb.template(`<div class=
|
|
10372
|
-
$e3ac79dbd744c1c1$var$_tmpl$2 = /*#__PURE__*/$52FdA$solidjsweb.template(`<div class=
|
|
10366
|
+
const $e3ac79dbd744c1c1$var$_tmpl$ = /*#__PURE__*/$52FdA$solidjsweb.template(`<div class=category-suggestions>`),
|
|
10367
|
+
$e3ac79dbd744c1c1$var$_tmpl$2 = /*#__PURE__*/$52FdA$solidjsweb.template(`<div class=category-suggestion>`);
|
|
10373
10368
|
function $e3ac79dbd744c1c1$export$c05a196222ba1302(_ref) {
|
|
10374
10369
|
let {
|
|
10375
10370
|
suggestions_: suggestions_,
|
|
@@ -10418,8 +10413,8 @@ function $e3ac79dbd744c1c1$export$c05a196222ba1302(_ref) {
|
|
|
10418
10413
|
}
|
|
10419
10414
|
});
|
|
10420
10415
|
}
|
|
10421
|
-
const $9870a8a48ee126af$var$_tmpl$ = /*#__PURE__*/$52FdA$solidjsweb.template(`<b
|
|
10422
|
-
$9870a8a48ee126af$var$_tmpl$2 = /*#__PURE__*/$52FdA$solidjsweb.template(`<div class=
|
|
10416
|
+
const $9870a8a48ee126af$var$_tmpl$ = /*#__PURE__*/$52FdA$solidjsweb.template(`<b>`),
|
|
10417
|
+
$9870a8a48ee126af$var$_tmpl$2 = /*#__PURE__*/$52FdA$solidjsweb.template(`<div class=results-for>`);
|
|
10423
10418
|
function $9870a8a48ee126af$export$9dd50d35b9d94fdf(_ref) {
|
|
10424
10419
|
let {
|
|
10425
10420
|
get_search_query_: get_search_query_,
|
|
@@ -10470,7 +10465,7 @@ function $996102a9349df6d7$export$41b4894022a3580f() {
|
|
|
10470
10465
|
})));
|
|
10471
10466
|
return style_props_;
|
|
10472
10467
|
}
|
|
10473
|
-
const $99472afa7112c427$var$_tmpl$ = /*#__PURE__*/$52FdA$solidjsweb.template(`<span class=
|
|
10468
|
+
const $99472afa7112c427$var$_tmpl$ = /*#__PURE__*/$52FdA$solidjsweb.template(`<span class=highlighted-part>`);
|
|
10474
10469
|
const $99472afa7112c427$var$dont_cut_in_between_less_than_characters = 30;
|
|
10475
10470
|
function $99472afa7112c427$export$e1a98a189fd2c0e7(_ref) {
|
|
10476
10471
|
let {
|
|
@@ -10702,10 +10697,10 @@ function $99472afa7112c427$var$segment_text(text, matched_strings) {
|
|
|
10702
10697
|
}
|
|
10703
10698
|
return output;
|
|
10704
10699
|
}
|
|
10705
|
-
const $f1fc9ea3e7632eba$var$_tmpl$ = /*#__PURE__*/$52FdA$solidjsweb.template(`<a
|
|
10706
|
-
$f1fc9ea3e7632eba$var$_tmpl$2 = /*#__PURE__*/$52FdA$solidjsweb.template(`<div
|
|
10707
|
-
$f1fc9ea3e7632eba$var$_tmpl$3 = /*#__PURE__*/$52FdA$solidjsweb.template(`<div class="description line-clamp"
|
|
10708
|
-
$f1fc9ea3e7632eba$var$_tmpl$4 = /*#__PURE__*/$52FdA$solidjsweb.template(`<div class=
|
|
10700
|
+
const $f1fc9ea3e7632eba$var$_tmpl$ = /*#__PURE__*/$52FdA$solidjsweb.template(`<a>`),
|
|
10701
|
+
$f1fc9ea3e7632eba$var$_tmpl$2 = /*#__PURE__*/$52FdA$solidjsweb.template(`<div>`),
|
|
10702
|
+
$f1fc9ea3e7632eba$var$_tmpl$3 = /*#__PURE__*/$52FdA$solidjsweb.template(`<div class="description line-clamp">`),
|
|
10703
|
+
$f1fc9ea3e7632eba$var$_tmpl$4 = /*#__PURE__*/$52FdA$solidjsweb.template(`<div class=content-card><div class=image></div><div class=info><!$><!/><!$><!/>`);
|
|
10709
10704
|
function $f1fc9ea3e7632eba$export$f631859cab12b342(_ref) {
|
|
10710
10705
|
let {
|
|
10711
10706
|
router_: router_,
|
|
@@ -10871,9 +10866,9 @@ function $05f255c0a94b9ca1$export$4405d077f0a20494(_ref) {
|
|
|
10871
10866
|
children: () => $52FdA$solidjsweb.createComponent((0, $f1fc9ea3e7632eba$export$f631859cab12b342), {})
|
|
10872
10867
|
});
|
|
10873
10868
|
}
|
|
10874
|
-
const $eab939d0b95b75ee$var$_tmpl$ = /*#__PURE__*/$52FdA$solidjsweb.template(`<div class=
|
|
10875
|
-
$eab939d0b95b75ee$var$_tmpl$2 = /*#__PURE__*/$52FdA$solidjsweb.template(`<button class=
|
|
10876
|
-
$eab939d0b95b75ee$var$_tmpl$3 = /*#__PURE__*/$52FdA$solidjsweb.template(`<button class=
|
|
10869
|
+
const $eab939d0b95b75ee$var$_tmpl$ = /*#__PURE__*/$52FdA$solidjsweb.template(`<div class=content-results><!$><!/><!$><!/>`),
|
|
10870
|
+
$eab939d0b95b75ee$var$_tmpl$2 = /*#__PURE__*/$52FdA$solidjsweb.template(`<button class=view-more>`),
|
|
10871
|
+
$eab939d0b95b75ee$var$_tmpl$3 = /*#__PURE__*/$52FdA$solidjsweb.template(`<button class=view-less>`);
|
|
10877
10872
|
const $eab939d0b95b75ee$export$70ceae36059a1036 = 1;
|
|
10878
10873
|
function $eab939d0b95b75ee$export$6d0c9c22f6652669(_ref) {
|
|
10879
10874
|
let {
|
|
@@ -10952,7 +10947,7 @@ function $eab939d0b95b75ee$export$6d0c9c22f6652669(_ref) {
|
|
|
10952
10947
|
})), _el$5, _co$2);
|
|
10953
10948
|
$52FdA$solidjsweb.effect(() => {
|
|
10954
10949
|
var _content_results2;
|
|
10955
|
-
return _el$.style.setProperty("display", is_loading_() && placeholders_enabled() || ((_content_results2 = content_results()) === null || _content_results2 === void 0 ? void 0 : _content_results2.length) > 0 ? "" : "none");
|
|
10950
|
+
return is_loading_() && placeholders_enabled() || (_content_results2 = content_results()) === null || _content_results2 === void 0 || _content_results2.length, _el$.style.setProperty("display", is_loading_() && placeholders_enabled() || ((_content_results2 = content_results()) === null || _content_results2 === void 0 ? void 0 : _content_results2.length) > 0 ? "" : "none");
|
|
10956
10951
|
});
|
|
10957
10952
|
return _el$;
|
|
10958
10953
|
})();
|
|
@@ -10987,8 +10982,8 @@ function $eab939d0b95b75ee$var$make_state_saved_rows(_ref2, i18n_) {
|
|
|
10987
10982
|
}));
|
|
10988
10983
|
return rows;
|
|
10989
10984
|
}
|
|
10990
|
-
const $739c927cbecd26b0$var$_tmpl$ = /*#__PURE__*/$52FdA$solidjsweb.template(`<div class=
|
|
10991
|
-
$739c927cbecd26b0$var$_tmpl$2 = /*#__PURE__*/$52FdA$solidjsweb.template(`<div class="depict plp search"><div class=
|
|
10985
|
+
const $739c927cbecd26b0$var$_tmpl$ = /*#__PURE__*/$52FdA$solidjsweb.template(`<div class=filter-results-for-one-row><!$><!/><!$><!/>`),
|
|
10986
|
+
$739c927cbecd26b0$var$_tmpl$2 = /*#__PURE__*/$52FdA$solidjsweb.template(`<div class="depict plp search"><div class=listing-page><!$><!/><!$><!/><!$><!/><!$><!/><!$><!/><!$><!/><!$><!/></div><!$><!/><!$><!/>`);
|
|
10992
10987
|
function $739c927cbecd26b0$export$a54ec244c8863715(_ref) {
|
|
10993
10988
|
let {
|
|
10994
10989
|
depict_api_: depict_api_,
|
|
@@ -11455,7 +11450,7 @@ function $b1ea8d47bcf03111$export$ff7109b9b2b206ba(sdk_cols_at_size) {
|
|
|
11455
11450
|
return max_width == Infinity ? [cols] : [cols, max_width];
|
|
11456
11451
|
});
|
|
11457
11452
|
}
|
|
11458
|
-
const $ddd39c5f36f49703$var$_tmpl$ = /*#__PURE__*/$52FdA$solidjsweb.template(`<div class="depict plp search"
|
|
11453
|
+
const $ddd39c5f36f49703$var$_tmpl$ = /*#__PURE__*/$52FdA$solidjsweb.template(`<div class="depict plp search">`);
|
|
11459
11454
|
function $ddd39c5f36f49703$var$_classPrivateFieldInitSpec(obj, privateMap, value) {
|
|
11460
11455
|
$ddd39c5f36f49703$var$_checkPrivateRedeclaration(obj, privateMap);
|
|
11461
11456
|
privateMap.set(obj, value);
|