@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/server/latest/index.js
CHANGED
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
import { add_to_version_info as $i7OB2$add_to_version_info, base64_encode_unicode as $i7OB2$base64_encode_unicode, base64_decode_unicode as $i7OB2$base64_decode_unicode, dlog as $i7OB2$dlog, queueMacroTask as $i7OB2$queueMacroTask, catchify as $i7OB2$catchify, is_safari as $i7OB2$is_safari, observer as $i7OB2$observer, Amazing_Slider as $i7OB2$Amazing_Slider, slider_snap_css as $i7OB2$slider_snap_css, slider_fading_factory as $i7OB2$slider_fading_factory, slider_fractional_factory as $i7OB2$slider_fractional_factory, camelCasifyObject as $i7OB2$camelCasifyObject, make_random_classname as $i7OB2$make_random_classname, n_col_styling_with_dist as $i7OB2$n_col_styling_with_dist, layout_get_visible_recs_without_partial_rows as $i7OB2$layout_get_visible_recs_without_partial_rows, layout_get_total_rec_amount_for_row as $i7OB2$layout_get_total_rec_amount_for_row, layout_media_query_header as $i7OB2$layout_media_query_header, report as $i7OB2$report, useExpandingContainer as $i7OB2$useExpandingContainer, standard_price_format as $i7OB2$standard_price_format, hex_to_rgb as $i7OB2$hex_to_rgb, relative_luminance_from_rgb as $i7OB2$relative_luminance_from_rgb, fetch_recs as $i7OB2$fetch_recs, snakeCasifyObject as $i7OB2$snakeCasifyObject, instant_exec_on_suspect_history_change as $i7OB2$instant_exec_on_suspect_history_change, base_url as $i7OB2$base_url, get_depict_id as $i7OB2$get_depict_id, get_user_id as $i7OB2$get_user_id, get_session_id as $i7OB2$get_session_id, sort_obj as $i7OB2$sort_obj, fetch_retry as $i7OB2$fetch_retry, add_version_query_params as $i7OB2$add_version_query_params, dwarn as $i7OB2$dwarn, make_url_with_query_params as $i7OB2$make_url_with_query_params, edit_current_page_meta_tags as $i7OB2$edit_current_page_meta_tags, javascript_media_query as $i7OB2$javascript_media_query, use_href_accessor as $i7OB2$use_href_accessor, make_asyncIterable_exiter as $i7OB2$make_asyncIterable_exiter, href_change_ipns as $i7OB2$href_change_ipns, ContainedImage as $i7OB2$ContainedImage, deparallelize_no_drop as $i7OB2$deparallelize_no_drop, ListenableSet as $i7OB2$ListenableSet, insert_surfaces as $i7OB2$insert_surfaces } from "@depict-ai/utilishared/latest";
|
|
2
|
-
import { createComponent as $i7OB2$createComponent, ssr as $i7OB2$ssr, ssrHydrationKey as $i7OB2$ssrHydrationKey, ssrStyle as $i7OB2$ssrStyle, ssrElement as $i7OB2$ssrElement,
|
|
2
|
+
import { createComponent as $i7OB2$createComponent, ssr as $i7OB2$ssr, ssrHydrationKey as $i7OB2$ssrHydrationKey, ssrStyle as $i7OB2$ssrStyle, ssrElement as $i7OB2$ssrElement, mergeProps as $i7OB2$mergeProps, escape as $i7OB2$escape, insert as $i7OB2$insert, ssrAttribute as $i7OB2$ssrAttribute, isServer as $i7OB2$isServer, ssrClassList as $i7OB2$ssrClassList, Dynamic as $i7OB2$Dynamic } from "solid-js/web";
|
|
3
3
|
import { createSignal as $i7OB2$createSignal, getOwner as $i7OB2$getOwner, createEffect as $i7OB2$createEffect, runWithOwner as $i7OB2$runWithOwner, onCleanup as $i7OB2$onCleanup, createMemo as $i7OB2$createMemo, createContext as $i7OB2$createContext, useContext as $i7OB2$useContext, createResource as $i7OB2$createResource, Suspense as $i7OB2$Suspense, Show as $i7OB2$Show, untrack as $i7OB2$untrack, createRenderEffect as $i7OB2$createRenderEffect, Index as $i7OB2$Index, createRoot as $i7OB2$createRoot, For as $i7OB2$For, createUniqueId as $i7OB2$createUniqueId, createComputed as $i7OB2$createComputed, ErrorBoundary as $i7OB2$ErrorBoundary, on as $i7OB2$on, batch as $i7OB2$batch, createReaction as $i7OB2$createReaction, mapArray as $i7OB2$mapArray, mergeProps as $i7OB2$mergeProps1 } from "solid-js";
|
|
4
4
|
import { createStore as $i7OB2$createStore, reconcile as $i7OB2$reconcile } from "solid-js/store";
|
|
5
5
|
|
|
6
6
|
/*! Depict.ai search and product listing SDK */
|
|
7
7
|
import { register_es_version } from "../../multi_import_deduplicator.mjs";
|
|
8
8
|
register_es_version("ui", "latest");
|
|
9
|
-
const $ec291e0010116877$export$83d89fbfd8236492 = "2.1.
|
|
9
|
+
const $ec291e0010116877$export$83d89fbfd8236492 = "2.1.2";
|
|
10
10
|
const $4147651646da990a$var$fallback_operator = "in";
|
|
11
11
|
const $4147651646da990a$var$fallback_token = "";
|
|
12
12
|
const $4147651646da990a$var$legacy_filter_prefix = "filter_";
|
|
@@ -243,10 +243,10 @@ function $e8ffe11ed01df0fe$export$6e5611bc7e57e477(props) {
|
|
|
243
243
|
srcset: srcset
|
|
244
244
|
};
|
|
245
245
|
});
|
|
246
|
-
return $i7OB2$ssrElement("img", (
|
|
247
|
-
|
|
248
|
-
|
|
249
|
-
|
|
246
|
+
return $i7OB2$ssrElement("img", $i7OB2$mergeProps(otherOptions, src_options, {
|
|
247
|
+
get sizes() {
|
|
248
|
+
return props.size() + "px";
|
|
249
|
+
}
|
|
250
250
|
}), undefined, true);
|
|
251
251
|
}
|
|
252
252
|
function $e8ffe11ed01df0fe$var$make_srcset(url, resolutions) {
|
|
@@ -660,9 +660,8 @@ const $c8d5ff4524619fcd$var$_tmpl$ = ["<div", ' class="', '">', "</div>"],
|
|
|
660
660
|
$c8d5ff4524619fcd$var$_tmpl$2 = ["<style", ' type="text/css">', "</style>"];
|
|
661
661
|
function $c8d5ff4524619fcd$export$d21e32dfedac04be(props) {
|
|
662
662
|
const container_class = "x" + $i7OB2$createUniqueId();
|
|
663
|
-
const container_element_ = $i7OB2$ssrElement("div", () =>
|
|
664
|
-
|
|
665
|
-
"classList": {
|
|
663
|
+
const container_element_ = $i7OB2$ssrElement("div", $i7OB2$mergeProps(() => props.element_attributes, {
|
|
664
|
+
classList: {
|
|
666
665
|
[container_class]: true
|
|
667
666
|
}
|
|
668
667
|
}), () => $i7OB2$escape(props.children), true); // Don't want this in the error boundary below, it should only be for the actual layouting
|
|
@@ -890,7 +889,7 @@ function $ee116da074deb002$export$9574e176201e5e8d(props) {
|
|
|
890
889
|
})));
|
|
891
890
|
}, "RecommendationSlider failed");
|
|
892
891
|
}
|
|
893
|
-
const $3da8afe3ed57cf34$var$_tmpl$ = ["<div", ' class="recommendation-grid"
|
|
892
|
+
const $3da8afe3ed57cf34$var$_tmpl$ = ["<div", ' class="recommendation-grid"><!--$-->', "<!--/--><!--$-->", "<!--/--></div>"];
|
|
894
893
|
function $3da8afe3ed57cf34$export$7da560f849543dff({
|
|
895
894
|
recommendations_resource_: recommendations_resource_,
|
|
896
895
|
product_card_template_: product_card_template_,
|
|
@@ -1111,12 +1110,11 @@ function $8c0f86cb3e266eeb$export$a71e92cfbb498adc(props) {
|
|
|
1111
1110
|
}
|
|
1112
1111
|
const $19976a74d273070d$var$_tmpl$ = '<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"></path>';
|
|
1113
1112
|
function $19976a74d273070d$export$3b621d86b1566b2(props = {}) {
|
|
1114
|
-
return $i7OB2$ssrElement("svg", (
|
|
1115
|
-
|
|
1116
|
-
|
|
1117
|
-
|
|
1118
|
-
|
|
1119
|
-
"viewBox": "0 0 21.064 21.064"
|
|
1113
|
+
return $i7OB2$ssrElement("svg", $i7OB2$mergeProps(props, {
|
|
1114
|
+
xmlns: "http://www.w3.org/2000/svg",
|
|
1115
|
+
width: "21.064",
|
|
1116
|
+
height: "21.047",
|
|
1117
|
+
viewBox: "0 0 21.064 21.064"
|
|
1120
1118
|
}), () => $i7OB2$ssr($19976a74d273070d$var$_tmpl$), true);
|
|
1121
1119
|
}
|
|
1122
1120
|
|
|
@@ -1128,9 +1126,9 @@ function $91aa8ee9f431800d$export$325f75597868c4f0(stuff) {
|
|
|
1128
1126
|
return stuff.toLowerCase();
|
|
1129
1127
|
}
|
|
1130
1128
|
const $1adfe60f3a14a1d7$var$_tmpl$ = ["<button", ' class="clear-all-filters minor">', "</button>"],
|
|
1131
|
-
$1adfe60f3a14a1d7$var$_tmpl$2 = ["<div", ' class="inner"><span class="title"
|
|
1132
|
-
$1adfe60f3a14a1d7$var$_tmpl$3 = ["<button", ' class="clear-filter major"
|
|
1133
|
-
$1adfe60f3a14a1d7$var$_tmpl$4 = ["<button", ' class="clear-filter major"
|
|
1129
|
+
$1adfe60f3a14a1d7$var$_tmpl$2 = ["<div", ' class="inner"><span class="title"><!--$-->', "<!--/-->: </span><!--$-->", "<!--/--></div>"],
|
|
1130
|
+
$1adfe60f3a14a1d7$var$_tmpl$3 = ["<button", ' class="clear-filter major"><!--$-->', "<!--/--><span><!--$-->", "<!--/--><!--$-->", "<!--/--><!--$-->", "<!--/--> – <!--$-->", "<!--/--><!--$-->", "<!--/--><!--$-->", "<!--/--></span></button>"],
|
|
1131
|
+
$1adfe60f3a14a1d7$var$_tmpl$4 = ["<button", ' class="clear-filter major"><!--$-->', "<!--/--><span>", "</span></button>"];
|
|
1134
1132
|
function $1adfe60f3a14a1d7$export$fecbb157621501bd({
|
|
1135
1133
|
number_of_rendered_selected_filters_items_: number_of_rendered_selected_filters_items_,
|
|
1136
1134
|
i18n_: i18n_,
|
|
@@ -1232,25 +1230,23 @@ function $1adfe60f3a14a1d7$export$fecbb157621501bd({
|
|
|
1232
1230
|
return matching_filter()?.op !== "inrange";
|
|
1233
1231
|
},
|
|
1234
1232
|
get fallback() {
|
|
1235
|
-
|
|
1236
|
-
|
|
1237
|
-
|
|
1238
|
-
|
|
1239
|
-
|
|
1240
|
-
|
|
1241
|
-
|
|
1242
|
-
|
|
1243
|
-
|
|
1244
|
-
|
|
1245
|
-
|
|
1246
|
-
|
|
1247
|
-
|
|
1248
|
-
|
|
1249
|
-
|
|
1250
|
-
|
|
1251
|
-
|
|
1252
|
-
})), $i7OB2$escape(price_formatting_().post_));
|
|
1253
|
-
})();
|
|
1233
|
+
number_of_rendered_selected_filters_items_[1](prev => prev + 1);
|
|
1234
|
+
$i7OB2$onCleanup(() => number_of_rendered_selected_filters_items_[1](prev => prev - 1));
|
|
1235
|
+
return $i7OB2$ssr($1adfe60f3a14a1d7$var$_tmpl$3, $i7OB2$ssrHydrationKey(), $i7OB2$escape($i7OB2$createComponent((0, $19976a74d273070d$export$3b621d86b1566b2), {})), $i7OB2$escape(price_formatting_().pre_), $i7OB2$escape($i7OB2$createComponent((0, $8c0f86cb3e266eeb$export$a71e92cfbb498adc), {
|
|
1236
|
+
get price_() {
|
|
1237
|
+
return filter().data[0];
|
|
1238
|
+
},
|
|
1239
|
+
get price_formatting_() {
|
|
1240
|
+
return price_formatting_();
|
|
1241
|
+
}
|
|
1242
|
+
})), $i7OB2$escape(price_formatting_().post_), $i7OB2$escape(price_formatting_().pre_), $i7OB2$escape($i7OB2$createComponent((0, $8c0f86cb3e266eeb$export$a71e92cfbb498adc), {
|
|
1243
|
+
get price_() {
|
|
1244
|
+
return filter().data[1];
|
|
1245
|
+
},
|
|
1246
|
+
get price_formatting_() {
|
|
1247
|
+
return price_formatting_();
|
|
1248
|
+
}
|
|
1249
|
+
})), $i7OB2$escape(price_formatting_().post_));
|
|
1254
1250
|
},
|
|
1255
1251
|
get children() {
|
|
1256
1252
|
return $i7OB2$createComponent((0, $i7OB2$Index), {
|
|
@@ -1331,7 +1327,7 @@ function $1adfe60f3a14a1d7$export$fecbb157621501bd({
|
|
|
1331
1327
|
return outmost_element;
|
|
1332
1328
|
}
|
|
1333
1329
|
const $49b79728e7d9e2a1$var$_tmpl$ = ["<span", ' class="count">', "</span>"],
|
|
1334
|
-
$49b79728e7d9e2a1$var$_tmpl$2 = ["<label", ' class="', '"', '><div class="left"><input type="checkbox"', "", "", '><span class="custom-indicator"></span><span class="text line-clamp">', "</span></div
|
|
1330
|
+
$49b79728e7d9e2a1$var$_tmpl$2 = ["<label", ' class="', '"', '><div class="left"><input type="checkbox"', "", "", '><span class="custom-indicator"></span><span class="text line-clamp">', "</span></div><!--$-->", "<!--/--></label>"];
|
|
1335
1331
|
const $49b79728e7d9e2a1$export$48513f6b9f8ce62d = props => {
|
|
1336
1332
|
// 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
|
|
1337
1333
|
const count = $i7OB2$createMemo(() => props.count_);
|
|
@@ -1352,21 +1348,20 @@ const $49b79728e7d9e2a1$export$48513f6b9f8ce62d = props => {
|
|
|
1352
1348
|
};
|
|
1353
1349
|
const $f8a56ba74eedd0c6$var$_tmpl$ = '<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"></path>';
|
|
1354
1350
|
function $f8a56ba74eedd0c6$export$f21ab0717a89c77f(props) {
|
|
1355
|
-
return $i7OB2$ssrElement("svg", (
|
|
1356
|
-
|
|
1357
|
-
|
|
1358
|
-
|
|
1359
|
-
"height": "12"
|
|
1351
|
+
return $i7OB2$ssrElement("svg", $i7OB2$mergeProps(props, {
|
|
1352
|
+
xmlns: "http://www.w3.org/2000/svg",
|
|
1353
|
+
width: "11",
|
|
1354
|
+
height: "12"
|
|
1360
1355
|
}), () => $i7OB2$ssr($f8a56ba74eedd0c6$var$_tmpl$), true);
|
|
1361
1356
|
}
|
|
1362
|
-
const $67b173f9db427028$var$_tmpl$ = ["<button", ' type="button" class="', '"
|
|
1357
|
+
const $67b173f9db427028$var$_tmpl$ = ["<button", ' type="button" class="', '"><!--$-->', "<!--/--><span>", "</span></button>"];
|
|
1363
1358
|
function $67b173f9db427028$export$ca21a16d65b3dd8({
|
|
1364
1359
|
show_extras_: [get_show_extras, set_show_extras],
|
|
1365
1360
|
i18n_: i18n_
|
|
1366
1361
|
}) {
|
|
1367
1362
|
return $i7OB2$ssr($67b173f9db427028$var$_tmpl$, $i7OB2$ssrHydrationKey(), `expand-filter ${get_show_extras() ? "expanded" : ""}`, $i7OB2$escape($i7OB2$createComponent((0, $f8a56ba74eedd0c6$export$f21ab0717a89c77f), {})), get_show_extras() ? $i7OB2$escape(i18n_.view_less_()) : $i7OB2$escape(i18n_.view_more_()));
|
|
1368
1363
|
}
|
|
1369
|
-
const $a4601e6bea3ed1e6$var$_tmpl$ = ["<form", ' class="checkboxes"
|
|
1364
|
+
const $a4601e6bea3ed1e6$var$_tmpl$ = ["<form", ' class="checkboxes"><!--$-->', "<!--/--><!--$-->", "<!--/--></form>"];
|
|
1370
1365
|
const $a4601e6bea3ed1e6$var$max_visible_without_collapsing = 15;
|
|
1371
1366
|
const $a4601e6bea3ed1e6$var$show_non_collapsible_when_collapsed = 4;
|
|
1372
1367
|
function $a4601e6bea3ed1e6$export$dd948f91abc3a1c4({
|
|
@@ -1465,7 +1460,7 @@ function $a4601e6bea3ed1e6$export$dd948f91abc3a1c4({
|
|
|
1465
1460
|
}
|
|
1466
1461
|
const $eb8d9bf3b5700c26$var$_tmpl$ = ["<form", ' class="radios">', "</form>"],
|
|
1467
1462
|
$eb8d9bf3b5700c26$var$_tmpl$2 = ["<span", ' class="count">', "</span>"],
|
|
1468
|
-
$eb8d9bf3b5700c26$var$_tmpl$3 = ["<label", ' class="', '"', '><div class="left"><input type="radio"', "", '><span class="custom-indicator"></span
|
|
1463
|
+
$eb8d9bf3b5700c26$var$_tmpl$3 = ["<label", ' class="', '"', '><div class="left"><input type="radio"', "", '><span class="custom-indicator"></span><!--$-->', "<!--/--></div><!--$-->", "<!--/--></label>"];
|
|
1469
1464
|
function $eb8d9bf3b5700c26$export$430444115f70a734({
|
|
1470
1465
|
selected_filters_: selected_filters_,
|
|
1471
1466
|
filter_: filter_
|
|
@@ -1509,7 +1504,7 @@ function $eb8d9bf3b5700c26$export$430444115f70a734({
|
|
|
1509
1504
|
}
|
|
1510
1505
|
})));
|
|
1511
1506
|
}
|
|
1512
|
-
const $a6b08770e164eced$var$_tmpl$ = ["<div", ' class="', '"><div class="input-group"><div class="field"><input', ' type="number"', '></div><div class="separator">-</div><div class="field"><input', ' type="number"', "></div></div
|
|
1507
|
+
const $a6b08770e164eced$var$_tmpl$ = ["<div", ' class="', '"><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"><!--$-->', "<!--/--><!--$-->", "<!--/--><!--$-->", "<!--/--></span></div></div>"],
|
|
1513
1508
|
$a6b08770e164eced$var$_tmpl$2 = ["<div", ' class="slider"><div class="progress" style="', '"></div></div>'],
|
|
1514
1509
|
$a6b08770e164eced$var$_tmpl$3 = ["<div", ' class="range-group"><input', ' type="range"', ' step="any"><input', ' type="range"', ' step="any"></div>'];
|
|
1515
1510
|
function $a6b08770e164eced$export$e0d834a0ad870cda({
|
|
@@ -1734,10 +1729,10 @@ function $0b6bc2f8309efa8a$export$e5c2828934226505({
|
|
|
1734
1729
|
});
|
|
1735
1730
|
return outer_div;
|
|
1736
1731
|
}
|
|
1737
|
-
const $1c8cac76cb67e9af$var$_tmpl$ = ["<form", ' class="', '"
|
|
1738
|
-
$1c8cac76cb67e9af$var$_tmpl$2 = ["<div", ' class="', '"
|
|
1732
|
+
const $1c8cac76cb67e9af$var$_tmpl$ = ["<form", ' class="', '"><!--$-->', "<!--/--><!--$-->", "<!--/--></form>"],
|
|
1733
|
+
$1c8cac76cb67e9af$var$_tmpl$2 = ["<div", ' class="', '"><!--$-->', "<!--/--><!--$-->", "<!--/--></div>"],
|
|
1739
1734
|
$1c8cac76cb67e9af$var$_tmpl$3 = ["<details", "></details>"],
|
|
1740
|
-
$1c8cac76cb67e9af$var$_tmpl$4 = ["<summary", ' class="category-parent"><div class="summary"><span class="', '">', "</span
|
|
1735
|
+
$1c8cac76cb67e9af$var$_tmpl$4 = ["<summary", ' class="category-parent"><div class="summary"><span class="', '">', "</span><!--$-->", "<!--/--></div></summary>"];
|
|
1741
1736
|
const $1c8cac76cb67e9af$var$max_visible_without_collapsing = 15;
|
|
1742
1737
|
const $1c8cac76cb67e9af$var$show_non_collapsible_when_collapsed = 4;
|
|
1743
1738
|
function $1c8cac76cb67e9af$export$a32086fa6616eafd({
|
|
@@ -2200,15 +2195,18 @@ const $93716a9ad0dea854$export$414f6a19d38e655c = ({
|
|
|
2200
2195
|
const current_value = $91aa8ee9f431800d$export$325f75597868c4f0(value().value_);
|
|
2201
2196
|
return !!data?.some(item => $91aa8ee9f431800d$export$325f75597868c4f0(item) === current_value);
|
|
2202
2197
|
});
|
|
2203
|
-
const MakeButton = attributes => $i7OB2$ssrElement("button", (
|
|
2204
|
-
|
|
2205
|
-
|
|
2206
|
-
|
|
2207
|
-
|
|
2208
|
-
|
|
2209
|
-
|
|
2198
|
+
const MakeButton = attributes => $i7OB2$ssrElement("button", $i7OB2$mergeProps(attributes, {
|
|
2199
|
+
get disabled() {
|
|
2200
|
+
return value().count_ === 0 && !is_selected();
|
|
2201
|
+
},
|
|
2202
|
+
get classList() {
|
|
2203
|
+
return {
|
|
2204
|
+
minor: !is_selected(),
|
|
2205
|
+
major: is_selected(),
|
|
2206
|
+
"major-minor-transition": true
|
|
2207
|
+
};
|
|
2210
2208
|
}
|
|
2211
|
-
}), () => ["
|
|
2209
|
+
}), () => ["<!--$-->", $i7OB2$escape(value().value_), "<!--/-->", "<!--$-->", $i7OB2$escape($i7OB2$createComponent((0, $i7OB2$Show), {
|
|
2212
2210
|
get when() {
|
|
2213
2211
|
return value().count_ != undefined;
|
|
2214
2212
|
},
|
|
@@ -2296,7 +2294,7 @@ function $93716a9ad0dea854$var$adjust_sizes(container_width, sizes, set_cols_at_
|
|
|
2296
2294
|
overrides: column_to_row_result
|
|
2297
2295
|
}]]);
|
|
2298
2296
|
}
|
|
2299
|
-
const $e731d52d97444b7c$var$_tmpl$ = ["<form", ' class="checkbox-color"
|
|
2297
|
+
const $e731d52d97444b7c$var$_tmpl$ = ["<form", ' class="checkbox-color"><!--$-->', "<!--/--><!--$-->", "<!--/--></form>"];
|
|
2300
2298
|
const $e731d52d97444b7c$var$max_visible_without_collapsing = 30;
|
|
2301
2299
|
const $e731d52d97444b7c$var$show_non_collapsible_when_collapsed = 8;
|
|
2302
2300
|
function $e731d52d97444b7c$export$82ed4b28ecb67608({
|
|
@@ -2447,14 +2445,13 @@ var $12497d09ef87296e$export$2e2bcd8739ae039 = {
|
|
|
2447
2445
|
};
|
|
2448
2446
|
const $9bc34983fc5f7bdb$var$_tmpl$ = '<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"></path>';
|
|
2449
2447
|
function $9bc34983fc5f7bdb$export$f2ca6fc699ca1fb4(props = {}) {
|
|
2450
|
-
return $i7OB2$ssrElement("svg", (
|
|
2451
|
-
|
|
2452
|
-
|
|
2453
|
-
|
|
2454
|
-
|
|
2455
|
-
|
|
2456
|
-
|
|
2457
|
-
const $a7b58cb3bcffd156$var$_tmpl$ = ["<span", ' class="show-selected" aria-hidden="true"><span>', "</span><!--#-->", "<!--/--></span>"];
|
|
2448
|
+
return $i7OB2$ssrElement("svg", $i7OB2$mergeProps({
|
|
2449
|
+
xmlns: "http://www.w3.org/2000/svg",
|
|
2450
|
+
width: "16.8",
|
|
2451
|
+
height: "14"
|
|
2452
|
+
}, props), () => $i7OB2$ssr($9bc34983fc5f7bdb$var$_tmpl$), true);
|
|
2453
|
+
}
|
|
2454
|
+
const $a7b58cb3bcffd156$var$_tmpl$ = ["<span", ' class="show-selected" aria-hidden="true"><span>', "</span><!--$-->", "<!--/--></span>"];
|
|
2458
2455
|
function $a7b58cb3bcffd156$export$53c59af873b303c9({
|
|
2459
2456
|
selected_filters_in_group_: selected_filters_in_group_,
|
|
2460
2457
|
i18n_: {
|
|
@@ -2595,11 +2592,11 @@ function $d134eae24341b4a1$export$89c6019e4baa40b1(props) {
|
|
|
2595
2592
|
});
|
|
2596
2593
|
}
|
|
2597
2594
|
const $fab07f52c9861732$var$_tmpl$ = ["<div", ' class="filter-collapsible">', "</div>"],
|
|
2598
|
-
$fab07f52c9861732$var$_tmpl$2 = ["<button", ' class="clear-group"
|
|
2599
|
-
$fab07f52c9861732$var$_tmpl$3 = ["<div", ' class="view-more-clear"
|
|
2600
|
-
$fab07f52c9861732$var$_tmpl$4 = ["<div", ' class="filter-collapsible-body"><div class="filter-part">', "</div
|
|
2595
|
+
$fab07f52c9861732$var$_tmpl$2 = ["<button", ' class="clear-group"><!--$-->', "<!--/--><span>", "</span></button>"],
|
|
2596
|
+
$fab07f52c9861732$var$_tmpl$3 = ["<div", ' class="view-more-clear"><!--$-->', "<!--/--><!--$-->", "<!--/--></div>"],
|
|
2597
|
+
$fab07f52c9861732$var$_tmpl$4 = ["<div", ' class="filter-collapsible-body"><div class="filter-part">', "</div><!--$-->", "<!--/--></div>"],
|
|
2601
2598
|
$fab07f52c9861732$var$_tmpl$5 = ["<details", ' class="filter-collapsible"', "></details>"],
|
|
2602
|
-
$fab07f52c9861732$var$_tmpl$6 = ["<summary", ' class="filter-group-summary"><div class="summary"><span>', '</span><div class="selected-w-sign"
|
|
2599
|
+
$fab07f52c9861732$var$_tmpl$6 = ["<summary", ' class="filter-group-summary"><div class="summary"><span>', '</span><div class="selected-w-sign"><!--$-->', "<!--/--><!--$-->", "<!--/--></div></div></summary>"],
|
|
2603
2600
|
$fab07f52c9861732$var$_tmpl$7 = ["<div", ' class="ungrouped">', "</div>"],
|
|
2604
2601
|
$fab07f52c9861732$var$_tmpl$8 = ["<button", ' class="clear-all-filters major">', "</button>"];
|
|
2605
2602
|
function $fab07f52c9861732$export$3f1a388cc0d8fed7(props) {
|
|
@@ -3440,7 +3437,7 @@ function $8f9120a1ca151e6a$export$205efb947c7ffd78(handler, passive = true) {
|
|
|
3440
3437
|
$i7OB2$onCleanup(() => removeEventListener(event, catchified_handler));
|
|
3441
3438
|
}
|
|
3442
3439
|
}
|
|
3443
|
-
const $6db49ca163afa2c3$var$_tmpl$ = ["<div", ' class="scroll-status" style="display:none"><span class="text"><b>', "</b> – <b>", "</b>
|
|
3440
|
+
const $6db49ca163afa2c3$var$_tmpl$ = ["<div", ' class="scroll-status" style="display:none"><span class="text"><b>', "</b> – <b>", "</b> <!--$-->", "<!--/--> <b>", "</b></span></div>"];
|
|
3444
3441
|
function $6db49ca163afa2c3$export$83fd5de5504a7a67({
|
|
3445
3442
|
formatted_number_of_results_: formatted_number_of_results_,
|
|
3446
3443
|
first_result_in_viewport_: [get_first_result_in_viewport],
|
|
@@ -3560,7 +3557,7 @@ function $6db49ca163afa2c3$export$83fd5de5504a7a67({
|
|
|
3560
3557
|
})), $i7OB2$escape(of_()), $i7OB2$escape(count_to_show()));
|
|
3561
3558
|
}
|
|
3562
3559
|
const $598245ecfe38f34b$var$_tmpl$ = ["<a", ' class="hint" href="javascript:void(0)">', "</a>"],
|
|
3563
|
-
$598245ecfe38f34b$var$_tmpl$2 = ["<div", ' class="no-results"><div class="text">', "</div
|
|
3560
|
+
$598245ecfe38f34b$var$_tmpl$2 = ["<div", ' class="no-results"><div class="text">', "</div><!--$-->", "<!--/--></div>"];
|
|
3564
3561
|
function $598245ecfe38f34b$export$ef6006467f04ee41({
|
|
3565
3562
|
i18n_: i18n_,
|
|
3566
3563
|
expanded_hierarchical_filters_: expanded_hierarchical_filters_,
|
|
@@ -3694,8 +3691,7 @@ function $0449e7d49398c077$export$a1fd619a4743ca08({
|
|
|
3694
3691
|
query_base_: query_base_,
|
|
3695
3692
|
depict_api_: depict_api_,
|
|
3696
3693
|
is_loading_: is_loading_,
|
|
3697
|
-
content_blocks_: content_blocks_
|
|
3698
|
-
set_number_loaded_displays_: set_number_loaded_displays_
|
|
3694
|
+
content_blocks_: content_blocks_
|
|
3699
3695
|
}) {
|
|
3700
3696
|
// 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
|
|
3701
3697
|
const target_to_index_map = new Map();
|
|
@@ -3739,7 +3735,6 @@ function $0449e7d49398c077$export$a1fd619a4743ca08({
|
|
|
3739
3735
|
query_base_: query_base_,
|
|
3740
3736
|
depict_api_: depict_api_
|
|
3741
3737
|
});
|
|
3742
|
-
$i7OB2$createComputed(() => set_number_loaded_displays_(displays_by_key_().size));
|
|
3743
3738
|
return $29ec7cddbe1d3484$export$43f0fb951fcb0c54({
|
|
3744
3739
|
displays_by_key_: displays_by_key_,
|
|
3745
3740
|
merchant_: merchant_,
|
|
@@ -3771,9 +3766,8 @@ const $6dee9211e57ac31a$var$_tmpl$ = ["<style", ' type="text/css">', "</style>"]
|
|
|
3771
3766
|
const $6dee9211e57ac31a$export$c500183c31c2b22e = "--spans-columns";
|
|
3772
3767
|
function $6dee9211e57ac31a$export$ab6b147eec64fea5(props) {
|
|
3773
3768
|
const container_class = "x" + $i7OB2$createUniqueId();
|
|
3774
|
-
const container_element_ = $i7OB2$ssrElement("div", () =>
|
|
3775
|
-
|
|
3776
|
-
"classList": {
|
|
3769
|
+
const container_element_ = $i7OB2$ssrElement("div", $i7OB2$mergeProps(() => props.element_attributes, {
|
|
3770
|
+
classList: {
|
|
3777
3771
|
[container_class]: true
|
|
3778
3772
|
}
|
|
3779
3773
|
}), () => $i7OB2$escape(props.children), true); // Don't want this in the error boundary below, it should only be for the actual layouting
|
|
@@ -3923,27 +3917,22 @@ const $e7a7eb102ddc0c79$var$_tmpl$ = ["<div", ' class="content-block-wrapper" st
|
|
|
3923
3917
|
function $e7a7eb102ddc0c79$export$791ef57e62e21c3f({
|
|
3924
3918
|
content_blocks_: incoming_content_blocks,
|
|
3925
3919
|
cols_at_size_: cols_at_size_,
|
|
3926
|
-
number_of_items_shown_: number_of_items_shown_,
|
|
3927
3920
|
set_top_row_shortened_by_: set_top_row_shortened_by_
|
|
3928
3921
|
}) {
|
|
3929
3922
|
// these are by row
|
|
3930
3923
|
const [content_blocks, set_content_blocks] = $i7OB2$createStore([]);
|
|
3931
3924
|
const n_cols_currently_showing_ = $bed740eef1769419$export$a79e666719b3647c(cols_at_size_);
|
|
3932
|
-
const products_to_rows = products => {
|
|
3933
|
-
const cols_currently_showing = n_cols_currently_showing_();
|
|
3934
|
-
if (cols_currently_showing === null) return 0;
|
|
3935
|
-
return Math.ceil(products / cols_currently_showing);
|
|
3936
|
-
};
|
|
3937
|
-
const showing_rows = $i7OB2$createMemo(() => products_to_rows(number_of_items_shown_()));
|
|
3938
3925
|
$i7OB2$createEffect(() => {
|
|
3939
3926
|
const incoming_value = incoming_content_blocks();
|
|
3940
3927
|
if (!incoming_value) {
|
|
3941
3928
|
set_content_blocks([]);
|
|
3942
3929
|
return;
|
|
3943
3930
|
}
|
|
3944
|
-
|
|
3945
|
-
|
|
3931
|
+
set_content_blocks($i7OB2$reconcile(incoming_value, {
|
|
3932
|
+
key: "content"
|
|
3933
|
+
})); // key: Make moving blocks faster, see https://github.com/solidjs/solid/issues/1925#issuecomment-1769671596
|
|
3946
3934
|
});
|
|
3935
|
+
|
|
3947
3936
|
const get_wrapped_blocks_ = $e7a7eb102ddc0c79$var$wrap_blocks_in_div(content_blocks, n_cols_currently_showing_);
|
|
3948
3937
|
$i7OB2$createComputed(() => {
|
|
3949
3938
|
// 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
|
|
@@ -3996,12 +3985,12 @@ function $e7a7eb102ddc0c79$var$remap_blocks_to_index({
|
|
|
3996
3985
|
for (let j = 0; j < i; j++) {
|
|
3997
3986
|
const row = displaced_products[j];
|
|
3998
3987
|
if (row === undefined) continue; // there were no blocks in this row
|
|
3999
|
-
let
|
|
4000
|
-
if (typeof row === "number")
|
|
4001
|
-
|
|
4002
|
-
displaced_products[j] =
|
|
3988
|
+
let displaced_items_in_row;
|
|
3989
|
+
if (typeof row === "number") displaced_items_in_row = row;else {
|
|
3990
|
+
displaced_items_in_row = row.filter(item => item).length;
|
|
3991
|
+
displaced_products[j] = displaced_items_in_row;
|
|
4003
3992
|
}
|
|
4004
|
-
displacement_by_added_blocks +=
|
|
3993
|
+
displacement_by_added_blocks += displaced_items_in_row;
|
|
4005
3994
|
}
|
|
4006
3995
|
const index_of_us_in_row = target_index - index_of_first_item_in_row;
|
|
4007
3996
|
for (let j = 0; j < index_of_us_in_row; j++) if (displaced_products[i]?.[j])
|
|
@@ -4039,13 +4028,27 @@ function $e7a7eb102ddc0c79$var$wrap_blocks_in_div(rendered_content_blocks, max_s
|
|
|
4039
4028
|
const get_wrapped_blocks = $i7OB2$mapArray(() => rendered_content_blocks, block => {
|
|
4040
4029
|
if (!block) return;
|
|
4041
4030
|
const get_span_columns = () => Math.min(block.span_columns, max_span_columns() ?? Infinity);
|
|
4031
|
+
const [rendering_delayed, set_rendering_delayed_] = $i7OB2$createSignal(true);
|
|
4032
|
+
const content = $i7OB2$createComponent((0, $i7OB2$Show), {
|
|
4033
|
+
get when() {
|
|
4034
|
+
return !rendering_delayed();
|
|
4035
|
+
},
|
|
4036
|
+
get children() {
|
|
4037
|
+
return $i7OB2$ssr($e7a7eb102ddc0c79$var$_tmpl$, $i7OB2$ssrHydrationKey(), "grid-column:" + `span ${$i7OB2$escape(get_span_columns(), true)}` + (";grid-row:" + `span ${$i7OB2$escape(block.span_rows, true)}`) + (";spans_columns_variable_name:" + $i7OB2$escape(get_span_columns(), true)), $i7OB2$escape($i7OB2$createComponent($e7a7eb102ddc0c79$var$RenderContent, {
|
|
4038
|
+
get content() {
|
|
4039
|
+
return block.content;
|
|
4040
|
+
}
|
|
4041
|
+
})));
|
|
4042
|
+
}
|
|
4043
|
+
});
|
|
4042
4044
|
return $i7OB2$mergeProps1(block, {
|
|
4043
4045
|
// Create content divs for the blocks with as much fine-grained diffing as possible?
|
|
4044
|
-
content:
|
|
4045
|
-
|
|
4046
|
-
|
|
4047
|
-
|
|
4048
|
-
|
|
4046
|
+
content: () => {
|
|
4047
|
+
// 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
|
|
4048
|
+
// 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
|
|
4049
|
+
set_rendering_delayed_(false);
|
|
4050
|
+
return content;
|
|
4051
|
+
},
|
|
4049
4052
|
get span_columns() {
|
|
4050
4053
|
// Cap max width of block to the number of columns available, for everyone downstream
|
|
4051
4054
|
return get_span_columns();
|
|
@@ -4075,7 +4078,7 @@ function $e7a7eb102ddc0c79$var$RenderContent(props) {
|
|
|
4075
4078
|
children: resource
|
|
4076
4079
|
});
|
|
4077
4080
|
}
|
|
4078
|
-
const $2d25e42846eac370$var$_tmpl$ = ["<div", ' class="', '"
|
|
4081
|
+
const $2d25e42846eac370$var$_tmpl$ = ["<div", ' class="', '"><!--$-->', "<!--/--><!--$-->", "<!--/--></div>"];
|
|
4079
4082
|
function $2d25e42846eac370$export$3925f87b1545cfc6({
|
|
4080
4083
|
plp_results_: plp_results_,
|
|
4081
4084
|
depict_api_: depict_api_,
|
|
@@ -4133,8 +4136,7 @@ function $2d25e42846eac370$export$3925f87b1545cfc6({
|
|
|
4133
4136
|
let fallback_is_alive = false;
|
|
4134
4137
|
const [get_should_have_placeholders_rendered, set_should_have_placeholders_rendered] = $i7OB2$createSignal(true);
|
|
4135
4138
|
const [top_row_shortened_by_, set_top_row_shortened_by_] = $i7OB2$createSignal(0);
|
|
4136
|
-
|
|
4137
|
-
const [number_loaded_displays, set_number_loaded_displays_] = $i7OB2$createSignal(0);
|
|
4139
|
+
$i7OB2$createSignal(false);
|
|
4138
4140
|
const modified_cols_at_size = $15aa76e6da02e5c2$export$cb5808ba002cdeed({
|
|
4139
4141
|
layout_options_: layout_options_,
|
|
4140
4142
|
sort_or_filter_open_: sort_or_filter_open_
|
|
@@ -4145,12 +4147,10 @@ function $2d25e42846eac370$export$3925f87b1545cfc6({
|
|
|
4145
4147
|
for_id: for_id
|
|
4146
4148
|
}) => for_id === id_currently_querying_for_())?.min_results_loaded ?? min_products_to_fetch_);
|
|
4147
4149
|
});
|
|
4148
|
-
const number_of_items_shown_ = $i7OB2$createMemo(() => is_loading_() || product_card_suspense_is_in_fallback() ? num_placeholders_() : number_loaded_displays());
|
|
4149
4150
|
const doesnt_have_content_blocks = $i7OB2$createMemo(() => !content_blocks_by_row_());
|
|
4150
4151
|
const content_blocks_ = $i7OB2$createMemo(() => doesnt_have_content_blocks() ? () => [] : $e7a7eb102ddc0c79$export$791ef57e62e21c3f({
|
|
4151
4152
|
content_blocks_: content_blocks_by_row_,
|
|
4152
4153
|
cols_at_size_: modified_cols_at_size,
|
|
4153
|
-
number_of_items_shown_: number_of_items_shown_,
|
|
4154
4154
|
set_top_row_shortened_by_: set_top_row_shortened_by_
|
|
4155
4155
|
}));
|
|
4156
4156
|
const rendered_placeholders = $i7OB2$createMemo(() => get_should_have_placeholders_rendered() ? $6e41f1fde994db72$export$f33414a4df0afd3f({
|
|
@@ -4188,20 +4188,16 @@ function $2d25e42846eac370$export$3925f87b1545cfc6({
|
|
|
4188
4188
|
*/
|
|
4189
4189
|
const product_cards_when_data = $i7OB2$createComponent((0, $i7OB2$Suspense), {
|
|
4190
4190
|
get fallback() {
|
|
4191
|
-
|
|
4192
|
-
|
|
4193
|
-
|
|
4194
|
-
|
|
4195
|
-
|
|
4196
|
-
|
|
4197
|
-
|
|
4198
|
-
|
|
4199
|
-
|
|
4200
|
-
|
|
4201
|
-
$i7OB2$onCleanup(() => set_should_have_placeholders_rendered(false));
|
|
4202
|
-
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>
|
|
4203
|
-
});
|
|
4204
|
-
})();
|
|
4191
|
+
fallback_is_alive = true;
|
|
4192
|
+
$i7OB2$onCleanup(block_suspense_if_needed); // Block suspense after initial run every time after we fetch
|
|
4193
|
+
return $i7OB2$createMemo(() => {
|
|
4194
|
+
// 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
|
|
4195
|
+
// In future we could have individual suspense's for each product card, but that's too much for now
|
|
4196
|
+
if (get_suspense_is_blocked()) return suspense_contents;
|
|
4197
|
+
set_should_have_placeholders_rendered(true); // just in case
|
|
4198
|
+
$i7OB2$onCleanup(() => set_should_have_placeholders_rendered(false));
|
|
4199
|
+
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>
|
|
4200
|
+
});
|
|
4205
4201
|
},
|
|
4206
4202
|
|
|
4207
4203
|
get children() {
|
|
@@ -4218,8 +4214,7 @@ function $2d25e42846eac370$export$3925f87b1545cfc6({
|
|
|
4218
4214
|
query_base_: query_base_,
|
|
4219
4215
|
depict_api_: depict_api_,
|
|
4220
4216
|
is_loading_: is_loading_,
|
|
4221
|
-
content_blocks_: content_blocks_
|
|
4222
|
-
set_number_loaded_displays_: set_number_loaded_displays_
|
|
4217
|
+
content_blocks_: content_blocks_
|
|
4223
4218
|
});
|
|
4224
4219
|
$i7OB2$onCleanup(() => suspense_contents = undefined);
|
|
4225
4220
|
return suspense_contents;
|
|
@@ -4285,8 +4280,8 @@ function $2d25e42846eac370$export$3925f87b1545cfc6({
|
|
|
4285
4280
|
}
|
|
4286
4281
|
const $68a258a92b88f02f$var$_tmpl$ = ["<div", ' class="sorting-attributes">', "</div>"],
|
|
4287
4282
|
$68a258a92b88f02f$var$_tmpl$2 = ["<div", ' class="sorting-direction">', "</div>"],
|
|
4288
|
-
$68a258a92b88f02f$var$_tmpl$3 = ["<div", '><div class="input-row"><input type="radio"', '><span class="custom-indicator"></span
|
|
4289
|
-
$68a258a92b88f02f$var$_tmpl$4 = ["<div", '><label class="input-row"><input type="radio"', "", '><span class="custom-indicator"></span
|
|
4283
|
+
$68a258a92b88f02f$var$_tmpl$3 = ["<div", '><div class="input-row"><input type="radio"', '><span class="custom-indicator"></span><!--$-->', "<!--/--></div></div>"],
|
|
4284
|
+
$68a258a92b88f02f$var$_tmpl$4 = ["<div", '><label class="input-row"><input type="radio"', "", '><span class="custom-indicator"></span><!--$-->', "<!--/--></label></div>"];
|
|
4290
4285
|
function $68a258a92b88f02f$export$1f1775a58da589b5({
|
|
4291
4286
|
available_sortings_: available_sortings_,
|
|
4292
4287
|
current_sorting_: [get_current_sorting, set_current_sorting],
|
|
@@ -4380,23 +4375,21 @@ function $aea1edf92433e81e$export$fe334901e8bebd57() {
|
|
|
4380
4375
|
const $e1bb71e65e01a3a0$var$_tmpl$ = '<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>',
|
|
4381
4376
|
$e1bb71e65e01a3a0$var$_tmpl$2 = '<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"></path>';
|
|
4382
4377
|
function $e1bb71e65e01a3a0$export$da32f7add8a22e86(props = {}) {
|
|
4383
|
-
return $i7OB2$ssrElement("svg", (
|
|
4384
|
-
|
|
4385
|
-
|
|
4386
|
-
|
|
4387
|
-
"class": "sort-icon"
|
|
4388
|
-
|
|
4389
|
-
}), () => [$i7OB2$ssr($e1bb71e65e01a3a0$var$_tmpl$), $i7OB2$ssr($e1bb71e65e01a3a0$var$_tmpl$2)], true);
|
|
4378
|
+
return $i7OB2$ssrElement("svg", $i7OB2$mergeProps({
|
|
4379
|
+
xmlns: "http://www.w3.org/2000/svg",
|
|
4380
|
+
width: "14",
|
|
4381
|
+
height: "14",
|
|
4382
|
+
"class": "sort-icon"
|
|
4383
|
+
}, props), () => [$i7OB2$ssr($e1bb71e65e01a3a0$var$_tmpl$), $i7OB2$ssr($e1bb71e65e01a3a0$var$_tmpl$2)], true);
|
|
4390
4384
|
}
|
|
4391
4385
|
const $05fbe84eb34564ec$var$_tmpl$ = '<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"></path>';
|
|
4392
4386
|
function $05fbe84eb34564ec$export$d10e63059ddb9fd4(props = {}) {
|
|
4393
|
-
return $i7OB2$ssrElement("svg", (
|
|
4394
|
-
|
|
4395
|
-
|
|
4396
|
-
|
|
4397
|
-
"class": "sort-icon"
|
|
4398
|
-
|
|
4399
|
-
}), () => $i7OB2$ssr($05fbe84eb34564ec$var$_tmpl$), true);
|
|
4387
|
+
return $i7OB2$ssrElement("svg", $i7OB2$mergeProps({
|
|
4388
|
+
xmlns: "http://www.w3.org/2000/svg",
|
|
4389
|
+
width: "14",
|
|
4390
|
+
height: "14",
|
|
4391
|
+
"class": "sort-icon"
|
|
4392
|
+
}, props), () => $i7OB2$ssr($05fbe84eb34564ec$var$_tmpl$), true);
|
|
4400
4393
|
}
|
|
4401
4394
|
const $b9bf7fce0ae60241$var$_tmpl$ = ["<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"></path></svg>'];
|
|
4402
4395
|
function $b9bf7fce0ae60241$export$28f6150e232898de() {
|
|
@@ -4411,9 +4404,9 @@ function $4cc1c021eee2a432$export$50f68cc9882e36a4(args_for_filtering) {
|
|
|
4411
4404
|
return args_for_filtering.available_filters_()?.length === 0 && !args_for_filtering.selected_filters_[0]()?.length;
|
|
4412
4405
|
}
|
|
4413
4406
|
const $757dac7f7c6c5241$var$_tmpl$ = ["<button", ' class="clear minor">', "</button>"],
|
|
4414
|
-
$757dac7f7c6c5241$var$_tmpl$2 = ["<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" style="', '"
|
|
4407
|
+
$757dac7f7c6c5241$var$_tmpl$2 = ["<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" style="', '"><!--$-->', "<!--/--><!--$-->", '<!--/--></div><div class="bottom-row"><!--$-->', '<!--/--><button class="show-results major">', "</button></div></div></div>"],
|
|
4415
4408
|
$757dac7f7c6c5241$var$_tmpl$3 = ["<details", ' class="sorting"></details>'],
|
|
4416
|
-
$757dac7f7c6c5241$var$_tmpl$4 = ["<summary", ' class="sort-filter-summary"><div class="summary"><div class="left-els"
|
|
4409
|
+
$757dac7f7c6c5241$var$_tmpl$4 = ["<summary", ' class="sort-filter-summary"><div class="summary"><div class="left-els"><!--$-->', "<!--/--><span>", "</span></div><!--$-->", "<!--/--></div></summary>"],
|
|
4417
4410
|
$757dac7f7c6c5241$var$_tmpl$5 = ["<div", ' class="body">', "</div>"],
|
|
4418
4411
|
$757dac7f7c6c5241$var$_tmpl$6 = ["<details", ' class="filters"></details>'],
|
|
4419
4412
|
$757dac7f7c6c5241$var$_tmpl$7 = ["<b", ">", "</b>"];
|
|
@@ -4525,10 +4518,10 @@ function $11d594c749b76228$export$cb808a3c41736d8e() {
|
|
|
4525
4518
|
}
|
|
4526
4519
|
const $cdea4cf8c5c071ef$var$_tmpl$ = ["<div", ' class="filters"><div class="body">', "</div></div>"],
|
|
4527
4520
|
$cdea4cf8c5c071ef$var$_tmpl$2 = ["<div", ' class="sorting"><div class="body">', "</div></div>"],
|
|
4528
|
-
$cdea4cf8c5c071ef$var$_tmpl$3 = ["<div", ' class="sort-and-filter-buttons"><div class="outer"><div class="inner"
|
|
4521
|
+
$cdea4cf8c5c071ef$var$_tmpl$3 = ["<div", ' class="sort-and-filter-buttons"><div class="outer"><div class="inner"><!--$-->', "<!--/--><!--$-->", "<!--/--><!--$-->", "<!--/--></div></div></div>"],
|
|
4529
4522
|
$cdea4cf8c5c071ef$var$_tmpl$4 = ["<span", ' class="num-filters" style="', '">', "</span>"],
|
|
4530
|
-
$cdea4cf8c5c071ef$var$_tmpl$5 = ["<div", ' class="open-filters-button-container" style="', '"
|
|
4531
|
-
$cdea4cf8c5c071ef$var$_tmpl$6 = ["<button", ' class="', '"', ' style="', '"><span>', "</span
|
|
4523
|
+
$cdea4cf8c5c071ef$var$_tmpl$5 = ["<div", ' class="open-filters-button-container" style="', '"><!--$-->', "<!--/--><button", ' class="', '" type="button"', ' style="', '"><!--$-->', "<!--/--><span>", "</span></button></div>"],
|
|
4524
|
+
$cdea4cf8c5c071ef$var$_tmpl$6 = ["<button", ' class="', '"', ' style="', '"><span>', "</span><!--$-->", "<!--/--></button>"];
|
|
4532
4525
|
function $cdea4cf8c5c071ef$export$d7841e452f2e59a8({
|
|
4533
4526
|
current_sorting_: current_sorting_,
|
|
4534
4527
|
set_extra_els_in_results_container_: set_extra_els_in_results_container_,
|
|
@@ -5439,10 +5432,10 @@ function $2ab89d64b7f1d5ef$export$d31a1a1a83ad9413(plp_results_, [get_selected_f
|
|
|
5439
5432
|
set_selected_filters(new_filters);
|
|
5440
5433
|
});
|
|
5441
5434
|
}
|
|
5442
|
-
const $df5d81d0fe61ff21$var$_tmpl$ = ["<div", ' class="product-count"
|
|
5435
|
+
const $df5d81d0fe61ff21$var$_tmpl$ = ["<div", ' class="product-count"><!--$-->', "<!--/--> <!--$-->", "<!--/--></div>"],
|
|
5443
5436
|
$df5d81d0fe61ff21$var$_tmpl$2 = ["<div", "></div>"],
|
|
5444
|
-
$df5d81d0fe61ff21$var$_tmpl$3 = ["<div", ' class="filter-results-for-one-row"
|
|
5445
|
-
$df5d81d0fe61ff21$var$_tmpl$4 = ["<div", ' class="depict plp category"><div class="listing-page"
|
|
5437
|
+
$df5d81d0fe61ff21$var$_tmpl$3 = ["<div", ' class="filter-results-for-one-row"><!--$-->', "<!--/--><!--$-->", "<!--/--></div>"],
|
|
5438
|
+
$df5d81d0fe61ff21$var$_tmpl$4 = ["<div", ' class="depict plp category"><div class="listing-page"><!--$-->', "<!--/--><!--$-->", "<!--/--><!--$-->", "<!--/--><!--$-->", "<!--/--><!--$-->", "<!--/--><!--$-->", "<!--/--></div><!--$-->", "<!--/--><!--$-->", "<!--/--></div>"];
|
|
5446
5439
|
function $df5d81d0fe61ff21$export$f7d2f673fc2f091d({
|
|
5447
5440
|
depict_api_: depict_api_,
|
|
5448
5441
|
query_id_: query_id_,
|
|
@@ -6283,7 +6276,7 @@ function $961b5c64bef4662f$var$get_shared_properties(depict_category) {
|
|
|
6283
6276
|
if (!shared_properties) throw new Error("Can't connect to provided DepictCategory instance");
|
|
6284
6277
|
return shared_properties;
|
|
6285
6278
|
}
|
|
6286
|
-
const $e4615ecd1849548f$var$_tmpl$ = ["<div", ' class="category-title"><h1 class="title">', '</h1><span class="explanation"> —
|
|
6279
|
+
const $e4615ecd1849548f$var$_tmpl$ = ["<div", ' class="category-title"><h1 class="title">', '</h1><span class="explanation"> — <!--$-->', "<!--/--></span></div>"];
|
|
6287
6280
|
const $e4615ecd1849548f$export$b91cec6bdc6b32a1 = /*@__PURE__*/(() => {
|
|
6288
6281
|
const actual_function = ({
|
|
6289
6282
|
category_title_: category_title_,
|
|
@@ -6298,7 +6291,7 @@ const $e4615ecd1849548f$export$b91cec6bdc6b32a1 = /*@__PURE__*/(() => {
|
|
|
6298
6291
|
actual_function[(0, $4fb3a1cf207a7d5c$export$5c28802497c8a83c)] = "simple";
|
|
6299
6292
|
return actual_function;
|
|
6300
6293
|
})();
|
|
6301
|
-
const $a6e23a834336fc19$var$_tmpl$ = ["<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"
|
|
6294
|
+
const $a6e23a834336fc19$var$_tmpl$ = ["<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"><!--$-->', "<!--/--><!--$-->", "<!--/--><!--$-->", "<!--/--></div></div></div>"];
|
|
6302
6295
|
const $a6e23a834336fc19$export$824dde41348efed1 = /*@__PURE__*/(() => {
|
|
6303
6296
|
const actual_function = ({
|
|
6304
6297
|
make_product_count_: make_product_count_,
|
|
@@ -6456,7 +6449,7 @@ function $bb15dfb548a7666e$export$ee1733d9a8495996() {
|
|
|
6456
6449
|
})));
|
|
6457
6450
|
}
|
|
6458
6451
|
const $897bd4a76f611b38$var$_tmpl$ = ["<span", ' class="parent-title">', "</span>"],
|
|
6459
|
-
$897bd4a76f611b38$var$_tmpl$2 = ["<a", ' class="category-suggestion"', '><span class="title">', "</span
|
|
6452
|
+
$897bd4a76f611b38$var$_tmpl$2 = ["<a", ' class="category-suggestion"', '><span class="title">', "</span><!--$-->", "<!--/--></a>"];
|
|
6460
6453
|
function $897bd4a76f611b38$export$d757d54550ebfb3d({
|
|
6461
6454
|
category_suggestion_: category_suggestion_,
|
|
6462
6455
|
router_: router_
|
|
@@ -6476,15 +6469,14 @@ function $22e59517c2ec94d3$export$1c641004b5485fed() {
|
|
|
6476
6469
|
}
|
|
6477
6470
|
const $16f0ed5ea30d8d9c$var$_tmpl$ = '<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"></path>';
|
|
6478
6471
|
function $16f0ed5ea30d8d9c$export$82eafebb825fc23f(props = {}) {
|
|
6479
|
-
return $i7OB2$ssrElement("svg", (
|
|
6480
|
-
|
|
6481
|
-
|
|
6482
|
-
|
|
6483
|
-
"height": "22"
|
|
6472
|
+
return $i7OB2$ssrElement("svg", $i7OB2$mergeProps(props, {
|
|
6473
|
+
xmlns: "http://www.w3.org/2000/svg",
|
|
6474
|
+
width: "20",
|
|
6475
|
+
height: "22"
|
|
6484
6476
|
}), () => $i7OB2$ssr($16f0ed5ea30d8d9c$var$_tmpl$), true);
|
|
6485
6477
|
}
|
|
6486
6478
|
const $5285d2814d0fac0c$var$_tmpl$ = ["<button", ' class="back" type="button"', ">", "</button>"],
|
|
6487
|
-
$5285d2814d0fac0c$var$_tmpl$2 = ["<div", ' class="search-field"
|
|
6479
|
+
$5285d2814d0fac0c$var$_tmpl$2 = ["<div", ' class="search-field"><!--$-->', '<!--/--><div class="field"><input class="', '" tabindex="0"', '><button type="button" class="clear"', ' style="', '">', '</button></div><button class="submit major" type="button"', ">", "</button></div>"];
|
|
6488
6480
|
function $5285d2814d0fac0c$export$b94867ecbd698f21({
|
|
6489
6481
|
search_field_value_: search_field_value_,
|
|
6490
6482
|
input_field_ref_: input_field_ref_,
|
|
@@ -6515,7 +6507,7 @@ function $5285d2814d0fac0c$export$b94867ecbd698f21({
|
|
|
6515
6507
|
}
|
|
6516
6508
|
})), `query ${!!on_back_ ? "has-adjacent-back-button" : ""}`, $i7OB2$ssrAttribute("aria-label", $i7OB2$escape(i18n_.search_field_field_aria_label_(), true), false) + $i7OB2$ssrAttribute("value", $i7OB2$escape(search_field_value_[0](), true), false) + $i7OB2$ssrAttribute("placeholder", $i7OB2$escape(i18n_.placeholder_text_(), true), false), $i7OB2$ssrAttribute("title", $i7OB2$escape(i18n_.clear_filters_query_sorting_after_submit_(), true), false), $i7OB2$ssrStyle($i7OB2$createMemo(() => search_field_value_[0]() ? "" : "display: none")()), $i7OB2$escape($i7OB2$createComponent((0, $19976a74d273070d$export$3b621d86b1566b2), {})), $i7OB2$ssrAttribute("aria-label", $i7OB2$escape(i18n_.search_submit_button_aria_label_(), true), false), $i7OB2$escape($i7OB2$createComponent((0, $16f0ed5ea30d8d9c$export$82eafebb825fc23f), {})));
|
|
6517
6509
|
}
|
|
6518
|
-
const $172e1b898d457050$var$_tmpl$ = ["<div", ' class="search-recs"><h3 class="search-recs-title">', "</h3
|
|
6510
|
+
const $172e1b898d457050$var$_tmpl$ = ["<div", ' class="search-recs"><h3 class="search-recs-title">', "</h3><!--$-->", "<!--/--><!--$-->", "<!--/--></div>"],
|
|
6519
6511
|
$172e1b898d457050$var$_tmpl$2 = ["<button", ' class="show-more major" type="button">', "</button>"];
|
|
6520
6512
|
const $172e1b898d457050$export$1c8c715550dc689d = 2;
|
|
6521
6513
|
function $172e1b898d457050$export$7de92c4c2205ebf3({
|
|
@@ -6742,8 +6734,8 @@ async function $bfd908d13d90934c$export$e16630ecb9644a1c({
|
|
|
6742
6734
|
const $c97b1f0e44afb9d2$export$27b710c08412a7ad = obj => {
|
|
6743
6735
|
return Object.fromEntries(Object.keys(obj).map(key => [key, obj[key]()]));
|
|
6744
6736
|
};
|
|
6745
|
-
const $e003be2a50d9e5bc$var$_tmpl$ = ["<span", ' class="orig price"
|
|
6746
|
-
$e003be2a50d9e5bc$var$_tmpl$2 = ["<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
|
|
6737
|
+
const $e003be2a50d9e5bc$var$_tmpl$ = ["<span", ' class="orig price"><!--$-->', "<!--/--><!--$-->", "<!--/--><!--$-->", "<!--/--></span>"],
|
|
6738
|
+
$e003be2a50d9e5bc$var$_tmpl$2 = ["<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="', '"><!--$-->', "<!--/--><!--$-->", "<!--/--><!--$-->", "<!--/--></span></div></div></a>"],
|
|
6747
6739
|
$e003be2a50d9e5bc$var$_tmpl$3 = ["<div", ' class="tagline">', "</div>"];
|
|
6748
6740
|
const $e003be2a50d9e5bc$export$b05c0ae390cf3e06 = (display_or_variant_container, {
|
|
6749
6741
|
i18n: i18n
|
|
@@ -6916,7 +6908,7 @@ function $694b7f90501fea4c$export$5d2caaa6b530761c() {
|
|
|
6916
6908
|
return $i7OB2$ssr($694b7f90501fea4c$var$_tmpl$, $i7OB2$ssrHydrationKey());
|
|
6917
6909
|
}
|
|
6918
6910
|
const $7ad3a93cbe6fa208$var$_tmpl$ = ["<div", ' class="previous-searches"><h2 class="text">', '</h2><div class="list">', "</div></div>"],
|
|
6919
|
-
$7ad3a93cbe6fa208$var$_tmpl$2 = ["<a", ' class="', '"', '><div class="left"
|
|
6911
|
+
$7ad3a93cbe6fa208$var$_tmpl$2 = ["<a", ' class="', '"', '><div class="left"><!--$-->', '<!--/--><span class="line-clamp"', ">", '</span></div><button class="delete"', ">", "</button></a>"];
|
|
6920
6912
|
function $7ad3a93cbe6fa208$export$a146ac6fa8346a25({
|
|
6921
6913
|
text_: text_,
|
|
6922
6914
|
previous_searches_: previous_searches_,
|
|
@@ -7017,23 +7009,22 @@ function $f3213c0640246d58$export$ba17c5b7e6dda39f({
|
|
|
7017
7009
|
}
|
|
7018
7010
|
const $190927650b4840eb$var$_tmpl$ = '<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"></path>';
|
|
7019
7011
|
function $190927650b4840eb$export$605674723bcc715c(props = {}) {
|
|
7020
|
-
return $i7OB2$ssrElement("svg", (
|
|
7021
|
-
|
|
7022
|
-
|
|
7023
|
-
|
|
7024
|
-
|
|
7025
|
-
|
|
7026
|
-
}), () => $i7OB2$ssr($190927650b4840eb$var$_tmpl$), true);
|
|
7012
|
+
return $i7OB2$ssrElement("svg", $i7OB2$mergeProps({
|
|
7013
|
+
xmlns: "http://www.w3.org/2000/svg",
|
|
7014
|
+
width: "32",
|
|
7015
|
+
height: "32",
|
|
7016
|
+
viewBox: "0 0 256 256"
|
|
7017
|
+
}, props), () => $i7OB2$ssr($190927650b4840eb$var$_tmpl$), true);
|
|
7027
7018
|
}
|
|
7028
7019
|
const $cea52f6b24092f05$var$_tmpl$ = ["<a", ' class="', '"', ">", "</a>"],
|
|
7029
7020
|
$cea52f6b24092f05$var$_tmpl$2 = ["<div", ' class="search-icon">', "</div>"],
|
|
7030
7021
|
$cea52f6b24092f05$var$_tmpl$3 = ["<span", ' class="type">', "</span>"],
|
|
7031
|
-
$cea52f6b24092f05$var$_tmpl$4 = ["<div", ' class="with-parent-title"
|
|
7032
|
-
$cea52f6b24092f05$var$_tmpl$5 = ["<div", ' class="with-icon"
|
|
7022
|
+
$cea52f6b24092f05$var$_tmpl$4 = ["<div", ' class="with-parent-title"><!--$-->', '<!--/--><span class="value line-clamp">', "</span></div>"],
|
|
7023
|
+
$cea52f6b24092f05$var$_tmpl$5 = ["<div", ' class="with-icon"><!--$-->', "<!--/--><!--$-->", "<!--/--></div>"],
|
|
7033
7024
|
$cea52f6b24092f05$var$_tmpl$6 = ["<h2", ' class="text">', "</h2>"],
|
|
7034
|
-
$cea52f6b24092f05$var$_tmpl$7 = ["<div", ' class="suggestion-container query"
|
|
7025
|
+
$cea52f6b24092f05$var$_tmpl$7 = ["<div", ' class="suggestion-container query"><!--$-->', "<!--/--><!--$-->", "<!--/--></div>"],
|
|
7035
7026
|
$cea52f6b24092f05$var$_tmpl$8 = ["<div", ' class="suggestion-container page">', "</div>"],
|
|
7036
|
-
$cea52f6b24092f05$var$_tmpl$9 = ["<div", ' class="', '"
|
|
7027
|
+
$cea52f6b24092f05$var$_tmpl$9 = ["<div", ' class="', '"><!--$-->', "<!--/--><!--$-->", "<!--/--><!--$-->", "<!--/--></div>"];
|
|
7037
7028
|
function $cea52f6b24092f05$export$e872e2339fb04a7f({
|
|
7038
7029
|
suggestion_memo_: suggestion_memo_,
|
|
7039
7030
|
search_query_url_param_name_: search_query_url_param_name_,
|
|
@@ -7586,8 +7577,8 @@ function $19f1f3e588d63502$export$f021bdedd3ec901a(props) {
|
|
|
7586
7577
|
}
|
|
7587
7578
|
const $fabfda1230351b1a$var$_tmpl$ = ["<div", ' class="discover-more"><button class="major" type="button">', "</button></div>"],
|
|
7588
7579
|
$fabfda1230351b1a$var$_tmpl$2 = ["<b", ">", "</b>"],
|
|
7589
|
-
$fabfda1230351b1a$var$_tmpl$3 = ["<div", ' class="', '"><div class="', '"
|
|
7590
|
-
$fabfda1230351b1a$var$_tmpl$4 = ["<div", ' class="', '"><div class="depict-search-modal-backdrop"></div
|
|
7580
|
+
$fabfda1230351b1a$var$_tmpl$3 = ["<div", ' class="', '"><div class="', '"><!--$-->', '<!--/--><div class="padded"><!--$-->', "<!--/--><!--$-->", "<!--/--><!--$-->", "<!--/--></div><!--$-->", "<!--/--></div><!--$-->", "<!--/--></div>"],
|
|
7581
|
+
$fabfda1230351b1a$var$_tmpl$4 = ["<div", ' class="', '"><div class="depict-search-modal-backdrop"></div><!--$-->', "<!--/--></div>"];
|
|
7591
7582
|
function $fabfda1230351b1a$export$1c593cbd6f1e10bc({
|
|
7592
7583
|
search_field_value_: props_search_field_value,
|
|
7593
7584
|
get_search_query_: get_search_query_,
|
|
@@ -8068,7 +8059,7 @@ function $522a690e0e2bd46d$var$segment_text(text, matched_strings) {
|
|
|
8068
8059
|
return output;
|
|
8069
8060
|
}
|
|
8070
8061
|
const $b2bf2cdcff8142d8$var$_tmpl$ = ["<div", ' class="description line-clamp">', "</div>"],
|
|
8071
|
-
$b2bf2cdcff8142d8$var$_tmpl$2 = ["<div", ' class="content-card"><div class="image">', '</div><div class="info"
|
|
8062
|
+
$b2bf2cdcff8142d8$var$_tmpl$2 = ["<div", ' class="content-card"><div class="image">', '</div><div class="info"><!--$-->', "<!--/--><!--$-->", "<!--/--></div></div>"];
|
|
8072
8063
|
function $b2bf2cdcff8142d8$export$f631859cab12b342({
|
|
8073
8064
|
router_: router_,
|
|
8074
8065
|
content_result_: content_result_
|
|
@@ -8195,7 +8186,7 @@ function $9d5b3ed1fc91c672$export$4405d077f0a20494({
|
|
|
8195
8186
|
children: () => $i7OB2$createComponent((0, $b2bf2cdcff8142d8$export$f631859cab12b342), {})
|
|
8196
8187
|
});
|
|
8197
8188
|
}
|
|
8198
|
-
const $49de9d31aeea1b5e$var$_tmpl$ = ["<div", ' class="content-results" style="', '"
|
|
8189
|
+
const $49de9d31aeea1b5e$var$_tmpl$ = ["<div", ' class="content-results" style="', '"><!--$-->', "<!--/--><!--$-->", "<!--/--></div>"],
|
|
8199
8190
|
$49de9d31aeea1b5e$var$_tmpl$2 = ["<button", ' class="view-more">', "</button>"],
|
|
8200
8191
|
$49de9d31aeea1b5e$var$_tmpl$3 = ["<button", ' class="view-less">', "</button>"];
|
|
8201
8192
|
const $49de9d31aeea1b5e$export$70ceae36059a1036 = 1;
|
|
@@ -8281,8 +8272,8 @@ function $49de9d31aeea1b5e$var$make_state_saved_rows(
|
|
|
8281
8272
|
}));
|
|
8282
8273
|
return rows;
|
|
8283
8274
|
}
|
|
8284
|
-
const $7097477c78a89208$var$_tmpl$ = ["<div", ' class="filter-results-for-one-row"
|
|
8285
|
-
$7097477c78a89208$var$_tmpl$2 = ["<div", ' class="depict plp search"><div class="listing-page"
|
|
8275
|
+
const $7097477c78a89208$var$_tmpl$ = ["<div", ' class="filter-results-for-one-row"><!--$-->', "<!--/--><!--$-->", "<!--/--></div>"],
|
|
8276
|
+
$7097477c78a89208$var$_tmpl$2 = ["<div", ' class="depict plp search"><div class="listing-page"><!--$-->', "<!--/--><!--$-->", "<!--/--><!--$-->", "<!--/--><!--$-->", "<!--/--><!--$-->", "<!--/--><!--$-->", "<!--/--><!--$-->", "<!--/--></div><!--$-->", "<!--/--><!--$-->", "<!--/--></div>"];
|
|
8286
8277
|
function $7097477c78a89208$export$a54ec244c8863715({
|
|
8287
8278
|
depict_api_: depict_api_,
|
|
8288
8279
|
search_field_value_: search_field_value_,
|