@depict-ai/ui 2.1.0 → 2.1.1
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 +230 -231
- package/ES10/index.d.ts +1 -1
- package/ES10/index.js +231 -232
- package/latest/index.cjs +230 -231
- package/latest/index.d.ts +1 -1
- package/latest/index.js +231 -232
- package/package.json +2 -2
- package/server/ES10/index.cjs +139 -146
- package/server/ES10/index.d.ts +1 -1
- package/server/ES10/index.js +140 -147
- package/server/latest/index.cjs +139 -146
- package/server/latest/index.d.ts +1 -1
- package/server/latest/index.js +140 -147
package/ES10/index.js
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { add_to_version_info as $8tj43$add_to_version_info, base64_encode_unicode as $8tj43$base64_encode_unicode, base64_decode_unicode as $8tj43$base64_decode_unicode, dlog as $8tj43$dlog, queueMacroTask as $8tj43$queueMacroTask, catchify as $8tj43$catchify, is_safari as $8tj43$is_safari, observer as $8tj43$observer, Amazing_Slider as $8tj43$Amazing_Slider, slider_snap_css as $8tj43$slider_snap_css, slider_fading_factory as $8tj43$slider_fading_factory, slider_fractional_factory as $8tj43$slider_fractional_factory, camelCasifyObject as $8tj43$camelCasifyObject, make_random_classname as $8tj43$make_random_classname, n_col_styling_with_dist as $8tj43$n_col_styling_with_dist, layout_get_visible_recs_without_partial_rows as $8tj43$layout_get_visible_recs_without_partial_rows, layout_get_total_rec_amount_for_row as $8tj43$layout_get_total_rec_amount_for_row, layout_media_query_header as $8tj43$layout_media_query_header, report as $8tj43$report, useExpandingContainer as $8tj43$useExpandingContainer, standard_price_format as $8tj43$standard_price_format, hex_to_rgb as $8tj43$hex_to_rgb, relative_luminance_from_rgb as $8tj43$relative_luminance_from_rgb, fetch_recs as $8tj43$fetch_recs, snakeCasifyObject as $8tj43$snakeCasifyObject, instant_exec_on_suspect_history_change as $8tj43$instant_exec_on_suspect_history_change, base_url as $8tj43$base_url, get_depict_id as $8tj43$get_depict_id, get_user_id as $8tj43$get_user_id, get_session_id as $8tj43$get_session_id, make_url_with_query_params as $8tj43$make_url_with_query_params, fetch_retry as $8tj43$fetch_retry, add_version_query_params as $8tj43$add_version_query_params, dwarn as $8tj43$dwarn, sort_obj as $8tj43$sort_obj, edit_current_page_meta_tags as $8tj43$edit_current_page_meta_tags, javascript_media_query as $8tj43$javascript_media_query, use_href_accessor as $8tj43$use_href_accessor, is_debug as $8tj43$is_debug, make_asyncIterable_exiter as $8tj43$make_asyncIterable_exiter, href_change_ipns as $8tj43$href_change_ipns, ContainedImage as $8tj43$ContainedImage, buildThresholdList as $8tj43$buildThresholdList, deparallelize_no_drop as $8tj43$deparallelize_no_drop, ListenableSet as $8tj43$ListenableSet, insert_surfaces as $8tj43$insert_surfaces } from "@depict-ai/utilishared/ES10";
|
|
2
|
-
import { createComponent as $8tj43$createComponent, template as $8tj43$template, getNextElement as $8tj43$getNextElement, effect as $8tj43$effect, style as $8tj43$style, spread as $8tj43$spread, mergeProps as $8tj43$mergeProps, runHydrationEvents as $8tj43$runHydrationEvents, insert as $8tj43$insert, setAttribute as $8tj43$setAttribute, isServer as $8tj43$isServer, addEventListener as $8tj43$addEventListener, className as $8tj43$className, memo as $8tj43$memo, delegateEvents as $8tj43$delegateEvents, classList as $8tj43$classList, getNextMarker as $8tj43$getNextMarker, Dynamic as $8tj43$Dynamic, use as $8tj43$use } from "solid-js/web";
|
|
2
|
+
import { createComponent as $8tj43$createComponent, template as $8tj43$template, getNextElement as $8tj43$getNextElement, effect as $8tj43$effect, style as $8tj43$style, spread as $8tj43$spread, mergeProps as $8tj43$mergeProps, runHydrationEvents as $8tj43$runHydrationEvents, insert as $8tj43$insert, setAttribute as $8tj43$setAttribute, isServer as $8tj43$isServer, addEventListener as $8tj43$addEventListener, className as $8tj43$className, memo as $8tj43$memo, delegateEvents as $8tj43$delegateEvents, classList as $8tj43$classList, getNextMarker as $8tj43$getNextMarker, Dynamic as $8tj43$Dynamic, use as $8tj43$use, setProperty as $8tj43$setProperty } from "solid-js/web";
|
|
3
3
|
import { createSignal as $8tj43$createSignal, getOwner as $8tj43$getOwner, createEffect as $8tj43$createEffect, runWithOwner as $8tj43$runWithOwner, onCleanup as $8tj43$onCleanup, createMemo as $8tj43$createMemo, createContext as $8tj43$createContext, useContext as $8tj43$useContext, createResource as $8tj43$createResource, Suspense as $8tj43$Suspense, Show as $8tj43$Show, untrack as $8tj43$untrack, createRenderEffect as $8tj43$createRenderEffect, Index as $8tj43$Index, createRoot as $8tj43$createRoot, For as $8tj43$For, createUniqueId as $8tj43$createUniqueId, createComputed as $8tj43$createComputed, ErrorBoundary as $8tj43$ErrorBoundary, on as $8tj43$on, batch as $8tj43$batch, createReaction as $8tj43$createReaction, mapArray as $8tj43$mapArray, mergeProps as $8tj43$mergeProps1 } from "solid-js";
|
|
4
4
|
import $8tj43$babelruntimehelpersclassPrivateFieldSet from "@babel/runtime/helpers/classPrivateFieldSet";
|
|
5
5
|
import $8tj43$babelruntimehelpersclassPrivateFieldGet from "@babel/runtime/helpers/classPrivateFieldGet";
|
|
@@ -9,7 +9,7 @@ import { createStore as $8tj43$createStore, reconcile as $8tj43$reconcile } from
|
|
|
9
9
|
/*! Depict.ai search and product listing SDK */
|
|
10
10
|
import { register_es_version } from "../multi_import_deduplicator.mjs";
|
|
11
11
|
register_es_version("ui", "ES10");
|
|
12
|
-
const $8db9a15135765c11$export$83d89fbfd8236492 = "2.1.
|
|
12
|
+
const $8db9a15135765c11$export$83d89fbfd8236492 = "2.1.1";
|
|
13
13
|
const $2855bffe06ef7a03$var$fallback_operator = "in";
|
|
14
14
|
const $2855bffe06ef7a03$var$fallback_token = "";
|
|
15
15
|
const $2855bffe06ef7a03$var$legacy_filter_prefix = "filter_";
|
|
@@ -201,7 +201,7 @@ function $5441862cd2f5e111$export$e68cff63f76bd15b(props) {
|
|
|
201
201
|
function $5441862cd2f5e111$export$8d0c4fdbb05a2f2e() {
|
|
202
202
|
return $8tj43$useContext($5441862cd2f5e111$var$ListingContext);
|
|
203
203
|
}
|
|
204
|
-
const $801e8845d3fa3653$var$_tmpl$ = /*#__PURE__*/$8tj43$template(`<div
|
|
204
|
+
const $801e8845d3fa3653$var$_tmpl$ = /*#__PURE__*/$8tj43$template(`<div>`);
|
|
205
205
|
function $801e8845d3fa3653$export$94026ee33dbabc26(props) {
|
|
206
206
|
return (() => {
|
|
207
207
|
const _el$ = $8tj43$getNextElement($801e8845d3fa3653$var$_tmpl$);
|
|
@@ -209,7 +209,7 @@ function $801e8845d3fa3653$export$94026ee33dbabc26(props) {
|
|
|
209
209
|
return _el$;
|
|
210
210
|
})();
|
|
211
211
|
}
|
|
212
|
-
const $56047603f9d212b6$var$_tmpl$ = /*#__PURE__*/$8tj43$template(`<img
|
|
212
|
+
const $56047603f9d212b6$var$_tmpl$ = /*#__PURE__*/$8tj43$template(`<img>`);
|
|
213
213
|
function $56047603f9d212b6$export$e6fffe67d4cdd848(whatToWatch) {
|
|
214
214
|
const [size, setSize] = $8tj43$createSignal(0);
|
|
215
215
|
const resizeObserver = new ResizeObserver($8tj43$catchify(records => {
|
|
@@ -320,7 +320,7 @@ function $4df489344a0f97c7$export$e4b984597b71e989(props) {
|
|
|
320
320
|
}));
|
|
321
321
|
return container;
|
|
322
322
|
}
|
|
323
|
-
const $ca6ab5f08bd28bca$var$_tmpl$ = /*#__PURE__*/$8tj43$template(`<svg xmlns=
|
|
323
|
+
const $ca6ab5f08bd28bca$var$_tmpl$ = /*#__PURE__*/$8tj43$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>`);
|
|
324
324
|
function $ca6ab5f08bd28bca$export$8be2714ec7f169ee() {
|
|
325
325
|
let props = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : {};
|
|
326
326
|
return (() => {
|
|
@@ -339,7 +339,7 @@ function $ca6ab5f08bd28bca$export$8be2714ec7f169ee() {
|
|
|
339
339
|
return _el$;
|
|
340
340
|
})();
|
|
341
341
|
}
|
|
342
|
-
const $002f09d00aac50b2$var$_tmpl$ = /*#__PURE__*/$8tj43$template(`<div
|
|
342
|
+
const $002f09d00aac50b2$var$_tmpl$ = /*#__PURE__*/$8tj43$template(`<div>`);
|
|
343
343
|
function $002f09d00aac50b2$export$6649caad96ef8870(_ref) {
|
|
344
344
|
let {
|
|
345
345
|
children: children,
|
|
@@ -705,7 +705,7 @@ class $f3b7124b76123e44$export$aa14a9f43128f61f extends $f3b7124b76123e44$export
|
|
|
705
705
|
});
|
|
706
706
|
}
|
|
707
707
|
}
|
|
708
|
-
const $74777e8fe65b3dcb$var$_tmpl$ = /*#__PURE__*/$8tj43$template(`<div
|
|
708
|
+
const $74777e8fe65b3dcb$var$_tmpl$ = /*#__PURE__*/$8tj43$template(`<div>`);
|
|
709
709
|
function $74777e8fe65b3dcb$export$b69d0d92862de18b(props) {
|
|
710
710
|
return $8tj43$ErrorBoundary({
|
|
711
711
|
fallback(err, retry) {
|
|
@@ -735,8 +735,8 @@ function $74777e8fe65b3dcb$export$b69d0d92862de18b(props) {
|
|
|
735
735
|
}
|
|
736
736
|
});
|
|
737
737
|
}
|
|
738
|
-
const $63f1f8dbcd07d3b0$var$_tmpl$ = /*#__PURE__*/$8tj43$template(`<div
|
|
739
|
-
$63f1f8dbcd07d3b0$var$_tmpl$2 = /*#__PURE__*/$8tj43$template(`<style type=
|
|
738
|
+
const $63f1f8dbcd07d3b0$var$_tmpl$ = /*#__PURE__*/$8tj43$template(`<div>`),
|
|
739
|
+
$63f1f8dbcd07d3b0$var$_tmpl$2 = /*#__PURE__*/$8tj43$template(`<style type=text/css>`);
|
|
740
740
|
function $63f1f8dbcd07d3b0$export$d21e32dfedac04be(props) {
|
|
741
741
|
const container_class = "x" + $8tj43$createUniqueId();
|
|
742
742
|
const container_element_ = (() => {
|
|
@@ -978,7 +978,7 @@ function $83e8cf2c0b87a58a$export$23fca46f3143581f(component, error_message) {
|
|
|
978
978
|
// we're already in a root so cleanups are handled
|
|
979
979
|
return component_in_error_boundary();
|
|
980
980
|
}
|
|
981
|
-
const $d5d7e58c5c9d8db0$var$_tmpl$ = /*#__PURE__*/$8tj43$template(`<div class="depict recommendations"
|
|
981
|
+
const $d5d7e58c5c9d8db0$var$_tmpl$ = /*#__PURE__*/$8tj43$template(`<div class="depict recommendations">`);
|
|
982
982
|
function $d5d7e58c5c9d8db0$export$9574e176201e5e8d(props) {
|
|
983
983
|
return $83e8cf2c0b87a58a$export$23fca46f3143581f(() => {
|
|
984
984
|
const grid_spacing_override = $8tj43$createMemo(() => {
|
|
@@ -1015,7 +1015,7 @@ function $d5d7e58c5c9d8db0$export$9574e176201e5e8d(props) {
|
|
|
1015
1015
|
})();
|
|
1016
1016
|
}, "RecommendationSlider failed");
|
|
1017
1017
|
}
|
|
1018
|
-
const $e3efeb558d952696$var$_tmpl$ = /*#__PURE__*/$8tj43$template(`<div class=
|
|
1018
|
+
const $e3efeb558d952696$var$_tmpl$ = /*#__PURE__*/$8tj43$template(`<div class=recommendation-grid><!$><!/><!$><!/>`);
|
|
1019
1019
|
function $e3efeb558d952696$export$7da560f849543dff(_ref) {
|
|
1020
1020
|
let {
|
|
1021
1021
|
recommendations_resource_: recommendations_resource_,
|
|
@@ -1078,8 +1078,8 @@ function $e3efeb558d952696$export$7da560f849543dff(_ref) {
|
|
|
1078
1078
|
children: elements
|
|
1079
1079
|
});
|
|
1080
1080
|
}
|
|
1081
|
-
const $b432b11321ad4c97$var$_tmpl$ = /*#__PURE__*/$8tj43$template(`<button class="show-more major"
|
|
1082
|
-
$b432b11321ad4c97$var$_tmpl$2 = /*#__PURE__*/$8tj43$template(`<div class="depict plp recommendations"
|
|
1081
|
+
const $b432b11321ad4c97$var$_tmpl$ = /*#__PURE__*/$8tj43$template(`<button class="show-more major"type=button>`),
|
|
1082
|
+
$b432b11321ad4c97$var$_tmpl$2 = /*#__PURE__*/$8tj43$template(`<div class="depict plp recommendations">`);
|
|
1083
1083
|
function $b432b11321ad4c97$export$9756467d34d91cdb(props) {
|
|
1084
1084
|
return $83e8cf2c0b87a58a$export$23fca46f3143581f(() => {
|
|
1085
1085
|
const rows_object_ = $8tj43$createMemo(() => {
|
|
@@ -1259,7 +1259,7 @@ function $60ec7a29849d81db$export$a71e92cfbb498adc(props) {
|
|
|
1259
1259
|
return $8tj43$standard_price_format(props.price_, price_formatting.places_after_comma_, price_formatting.decimal_places_delimiter_, price_formatting.thousands_delimiter_);
|
|
1260
1260
|
});
|
|
1261
1261
|
}
|
|
1262
|
-
const $a61a2051e15c8d7a$var$_tmpl$ = /*#__PURE__*/$8tj43$template(`<div
|
|
1262
|
+
const $a61a2051e15c8d7a$var$_tmpl$ = /*#__PURE__*/$8tj43$template(`<div>`);
|
|
1263
1263
|
const $a61a2051e15c8d7a$var$closing_functions = /*@__PURE__*/new Set();
|
|
1264
1264
|
const $a61a2051e15c8d7a$export$22970a0140fc759c = /*@__PURE__*/$8tj43$createSignal(false);
|
|
1265
1265
|
function $a61a2051e15c8d7a$export$5196e4c01fa56fcb(_ref) {
|
|
@@ -1352,8 +1352,8 @@ function $a61a2051e15c8d7a$export$5196e4c01fa56fcb(_ref) {
|
|
|
1352
1352
|
close_toast_: close_toast_
|
|
1353
1353
|
};
|
|
1354
1354
|
}
|
|
1355
|
-
const $b4465d8d605f61e9$var$_tmpl$ = /*#__PURE__*/$8tj43$template(`<div class=
|
|
1356
|
-
$b4465d8d605f61e9$var$_tmpl$2 = /*#__PURE__*/$8tj43$template(`<div class=
|
|
1355
|
+
const $b4465d8d605f61e9$var$_tmpl$ = /*#__PURE__*/$8tj43$template(`<div class=statement>`),
|
|
1356
|
+
$b4465d8d605f61e9$var$_tmpl$2 = /*#__PURE__*/$8tj43$template(`<div class=buttons><button class="restore minor"></button><button class="ok major">`);
|
|
1357
1357
|
function $b4465d8d605f61e9$export$8895d39404bd2bb1(props) {
|
|
1358
1358
|
let previous_sorting;
|
|
1359
1359
|
let on_toast_hidden;
|
|
@@ -1436,7 +1436,7 @@ function $b4465d8d605f61e9$export$8895d39404bd2bb1(props) {
|
|
|
1436
1436
|
if (delay_toast_) return show_configured_toast;else show_configured_toast();
|
|
1437
1437
|
}
|
|
1438
1438
|
$8tj43$delegateEvents(["click"]);
|
|
1439
|
-
const $9783d437ad61594c$var$_tmpl$ = /*#__PURE__*/$8tj43$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"
|
|
1439
|
+
const $9783d437ad61594c$var$_tmpl$ = /*#__PURE__*/$8tj43$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">`);
|
|
1440
1440
|
function $9783d437ad61594c$export$3b621d86b1566b2() {
|
|
1441
1441
|
let props = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : {};
|
|
1442
1442
|
return (() => {
|
|
@@ -1459,10 +1459,10 @@ function $af5d8e0b7d97a7f6$export$325f75597868c4f0(stuff) {
|
|
|
1459
1459
|
if (typeof stuff !== "string") return stuff;
|
|
1460
1460
|
return stuff.toLowerCase();
|
|
1461
1461
|
}
|
|
1462
|
-
const $4711a82d08d2021b$var$_tmpl$ = /*#__PURE__*/$8tj43$template(`<button class="clear-all-filters minor"
|
|
1463
|
-
$4711a82d08d2021b$var$_tmpl$2 = /*#__PURE__*/$8tj43$template(`<div class=
|
|
1464
|
-
$4711a82d08d2021b$var$_tmpl$3 = /*#__PURE__*/$8tj43$template(`<button class="clear-filter major"
|
|
1465
|
-
$4711a82d08d2021b$var$_tmpl$4 = /*#__PURE__*/$8tj43$template(`<button class="clear-filter major"
|
|
1462
|
+
const $4711a82d08d2021b$var$_tmpl$ = /*#__PURE__*/$8tj43$template(`<button class="clear-all-filters minor">`),
|
|
1463
|
+
$4711a82d08d2021b$var$_tmpl$2 = /*#__PURE__*/$8tj43$template(`<div class=inner><span class=title><!$><!/>: </span><!$><!/>`),
|
|
1464
|
+
$4711a82d08d2021b$var$_tmpl$3 = /*#__PURE__*/$8tj43$template(`<button class="clear-filter major"><!$><!/><span><!$><!/><!$><!/><!$><!/> – <!$><!/><!$><!/><!$><!/>`),
|
|
1465
|
+
$4711a82d08d2021b$var$_tmpl$4 = /*#__PURE__*/$8tj43$template(`<button class="clear-filter major"><!$><!/><span>`);
|
|
1466
1466
|
function $4711a82d08d2021b$export$fecbb157621501bd(_ref) {
|
|
1467
1467
|
let {
|
|
1468
1468
|
number_of_rendered_selected_filters_items_: number_of_rendered_selected_filters_items_,
|
|
@@ -1593,56 +1593,54 @@ function $4711a82d08d2021b$export$fecbb157621501bd(_ref) {
|
|
|
1593
1593
|
return ((_matching_filter2 = matching_filter()) === null || _matching_filter2 === void 0 ? void 0 : _matching_filter2.op) !== "inrange";
|
|
1594
1594
|
},
|
|
1595
1595
|
get fallback() {
|
|
1596
|
+
number_of_rendered_selected_filters_items_[1](prev => prev + 1);
|
|
1597
|
+
$8tj43$onCleanup(() => number_of_rendered_selected_filters_items_[1](prev => prev - 1));
|
|
1596
1598
|
return (() => {
|
|
1597
|
-
|
|
1598
|
-
|
|
1599
|
-
|
|
1600
|
-
|
|
1601
|
-
|
|
1602
|
-
|
|
1603
|
-
|
|
1604
|
-
|
|
1605
|
-
|
|
1606
|
-
|
|
1607
|
-
|
|
1608
|
-
|
|
1609
|
-
|
|
1610
|
-
|
|
1611
|
-
|
|
1612
|
-
|
|
1613
|
-
|
|
1614
|
-
|
|
1615
|
-
|
|
1616
|
-
|
|
1617
|
-
|
|
1618
|
-
|
|
1619
|
-
|
|
1620
|
-
|
|
1621
|
-
|
|
1622
|
-
|
|
1623
|
-
|
|
1624
|
-
|
|
1625
|
-
|
|
1626
|
-
|
|
1627
|
-
|
|
1628
|
-
|
|
1629
|
-
|
|
1630
|
-
|
|
1631
|
-
|
|
1632
|
-
|
|
1633
|
-
|
|
1634
|
-
|
|
1635
|
-
|
|
1636
|
-
|
|
1637
|
-
|
|
1638
|
-
|
|
1639
|
-
|
|
1640
|
-
|
|
1641
|
-
|
|
1642
|
-
$8tj43$insert(_el$10, () => price_formatting_().post_, _el$23, _co$8);
|
|
1643
|
-
$8tj43$runHydrationEvents();
|
|
1644
|
-
return _el$9;
|
|
1645
|
-
})();
|
|
1599
|
+
const _el$9 = $8tj43$getNextElement($4711a82d08d2021b$var$_tmpl$3),
|
|
1600
|
+
_el$24 = _el$9.firstChild,
|
|
1601
|
+
[_el$25, _co$9] = $8tj43$getNextMarker(_el$24.nextSibling),
|
|
1602
|
+
_el$10 = _el$25.nextSibling,
|
|
1603
|
+
_el$12 = _el$10.firstChild,
|
|
1604
|
+
[_el$13, _co$3] = $8tj43$getNextMarker(_el$12.nextSibling),
|
|
1605
|
+
_el$14 = _el$13.nextSibling,
|
|
1606
|
+
[_el$15, _co$4] = $8tj43$getNextMarker(_el$14.nextSibling),
|
|
1607
|
+
_el$16 = _el$15.nextSibling,
|
|
1608
|
+
[_el$17, _co$5] = $8tj43$getNextMarker(_el$16.nextSibling),
|
|
1609
|
+
_el$11 = _el$17.nextSibling,
|
|
1610
|
+
_el$18 = _el$11.nextSibling,
|
|
1611
|
+
[_el$19, _co$6] = $8tj43$getNextMarker(_el$18.nextSibling),
|
|
1612
|
+
_el$20 = _el$19.nextSibling,
|
|
1613
|
+
[_el$21, _co$7] = $8tj43$getNextMarker(_el$20.nextSibling),
|
|
1614
|
+
_el$22 = _el$21.nextSibling,
|
|
1615
|
+
[_el$23, _co$8] = $8tj43$getNextMarker(_el$22.nextSibling);
|
|
1616
|
+
_el$9.$$click = () => {
|
|
1617
|
+
const cloned_selected_filters = [...read_selected_filters()];
|
|
1618
|
+
cloned_selected_filters.splice(index_in_selected_filters, 1);
|
|
1619
|
+
write_selected_filters(cloned_selected_filters);
|
|
1620
|
+
};
|
|
1621
|
+
$8tj43$insert(_el$9, $8tj43$createComponent((0, $9783d437ad61594c$export$3b621d86b1566b2), {}), _el$25, _co$9);
|
|
1622
|
+
$8tj43$insert(_el$10, () => price_formatting_().pre_, _el$13, _co$3);
|
|
1623
|
+
$8tj43$insert(_el$10, $8tj43$createComponent((0, $60ec7a29849d81db$export$a71e92cfbb498adc), {
|
|
1624
|
+
get price_() {
|
|
1625
|
+
return filter().data[0];
|
|
1626
|
+
},
|
|
1627
|
+
get price_formatting_() {
|
|
1628
|
+
return price_formatting_();
|
|
1629
|
+
}
|
|
1630
|
+
}), _el$15, _co$4);
|
|
1631
|
+
$8tj43$insert(_el$10, () => price_formatting_().post_, _el$17, _co$5);
|
|
1632
|
+
$8tj43$insert(_el$10, () => price_formatting_().pre_, _el$19, _co$6);
|
|
1633
|
+
$8tj43$insert(_el$10, $8tj43$createComponent((0, $60ec7a29849d81db$export$a71e92cfbb498adc), {
|
|
1634
|
+
get price_() {
|
|
1635
|
+
return filter().data[1];
|
|
1636
|
+
},
|
|
1637
|
+
get price_formatting_() {
|
|
1638
|
+
return price_formatting_();
|
|
1639
|
+
}
|
|
1640
|
+
}), _el$21, _co$7);
|
|
1641
|
+
$8tj43$insert(_el$10, () => price_formatting_().post_, _el$23, _co$8);
|
|
1642
|
+
$8tj43$runHydrationEvents();
|
|
1643
|
+
return _el$9;
|
|
1646
1644
|
})();
|
|
1647
1645
|
},
|
|
1648
1646
|
get children() {
|
|
@@ -1773,8 +1771,8 @@ function $4711a82d08d2021b$export$fecbb157621501bd(_ref) {
|
|
|
1773
1771
|
return outmost_element;
|
|
1774
1772
|
}
|
|
1775
1773
|
$8tj43$delegateEvents(["click"]);
|
|
1776
|
-
const $19e828709c7723a0$var$_tmpl$ = /*#__PURE__*/$8tj43$template(`<span class=
|
|
1777
|
-
$19e828709c7723a0$var$_tmpl$2 = /*#__PURE__*/$8tj43$template(`<label class=
|
|
1774
|
+
const $19e828709c7723a0$var$_tmpl$ = /*#__PURE__*/$8tj43$template(`<span class=count>`),
|
|
1775
|
+
$19e828709c7723a0$var$_tmpl$2 = /*#__PURE__*/$8tj43$template(`<label class=input-row><div class=left><input type=checkbox><span class=custom-indicator></span><span class="text line-clamp"></span></div><!$><!/>`);
|
|
1778
1776
|
const $19e828709c7723a0$export$48513f6b9f8ce62d = props => {
|
|
1779
1777
|
// 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
|
|
1780
1778
|
const count = $8tj43$createMemo(() => props.count_);
|
|
@@ -1826,19 +1824,19 @@ const $19e828709c7723a0$export$48513f6b9f8ce62d = props => {
|
|
|
1826
1824
|
_v$3 = !checked() && is_count_zero();
|
|
1827
1825
|
_v$ !== _p$._v$ && _el$.classList.toggle("count-0", _p$._v$ = _v$);
|
|
1828
1826
|
_v$2 !== _p$._v$2 && $8tj43$setAttribute(_el$3, "name", _p$._v$2 = _v$2);
|
|
1829
|
-
_v$3 !== _p$._v$3 && (_el$3
|
|
1827
|
+
_v$3 !== _p$._v$3 && $8tj43$setProperty(_el$3, "disabled", _p$._v$3 = _v$3);
|
|
1830
1828
|
return _p$;
|
|
1831
1829
|
}, {
|
|
1832
1830
|
_v$: undefined,
|
|
1833
1831
|
_v$2: undefined,
|
|
1834
1832
|
_v$3: undefined
|
|
1835
1833
|
});
|
|
1836
|
-
$8tj43$effect(() => _el$3
|
|
1834
|
+
$8tj43$effect(() => $8tj43$setProperty(_el$3, "checked", checked()));
|
|
1837
1835
|
return _el$;
|
|
1838
1836
|
})()
|
|
1839
1837
|
);
|
|
1840
1838
|
};
|
|
1841
|
-
const $ff3225aef892a467$var$_tmpl$ = /*#__PURE__*/$8tj43$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"
|
|
1839
|
+
const $ff3225aef892a467$var$_tmpl$ = /*#__PURE__*/$8tj43$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>`);
|
|
1842
1840
|
function $ff3225aef892a467$export$f21ab0717a89c77f(props) {
|
|
1843
1841
|
return (() => {
|
|
1844
1842
|
const _el$ = $8tj43$getNextElement($ff3225aef892a467$var$_tmpl$);
|
|
@@ -1851,7 +1849,7 @@ function $ff3225aef892a467$export$f21ab0717a89c77f(props) {
|
|
|
1851
1849
|
return _el$;
|
|
1852
1850
|
})();
|
|
1853
1851
|
}
|
|
1854
|
-
const $3e850b2f2cca761f$var$_tmpl$ = /*#__PURE__*/$8tj43$template(`<button type=
|
|
1852
|
+
const $3e850b2f2cca761f$var$_tmpl$ = /*#__PURE__*/$8tj43$template(`<button type=button class=expand-filter><!$><!/><span>`);
|
|
1855
1853
|
function $3e850b2f2cca761f$export$ca21a16d65b3dd8(_ref) {
|
|
1856
1854
|
let {
|
|
1857
1855
|
show_extras_: [get_show_extras, set_show_extras],
|
|
@@ -1874,7 +1872,7 @@ function $3e850b2f2cca761f$export$ca21a16d65b3dd8(_ref) {
|
|
|
1874
1872
|
})();
|
|
1875
1873
|
}
|
|
1876
1874
|
$8tj43$delegateEvents(["click"]);
|
|
1877
|
-
const $133484ef10e4e954$var$_tmpl$ = /*#__PURE__*/$8tj43$template(`<form class=
|
|
1875
|
+
const $133484ef10e4e954$var$_tmpl$ = /*#__PURE__*/$8tj43$template(`<form class=checkboxes><!$><!/><!$><!/>`);
|
|
1878
1876
|
const $133484ef10e4e954$var$max_visible_without_collapsing = 15;
|
|
1879
1877
|
const $133484ef10e4e954$var$show_non_collapsible_when_collapsed = 4;
|
|
1880
1878
|
function $133484ef10e4e954$export$dd948f91abc3a1c4(_ref) {
|
|
@@ -2015,9 +2013,9 @@ function $133484ef10e4e954$export$dd948f91abc3a1c4(_ref) {
|
|
|
2015
2013
|
return _el$;
|
|
2016
2014
|
})();
|
|
2017
2015
|
}
|
|
2018
|
-
const $b54fc842e721c9eb$var$_tmpl$ = /*#__PURE__*/$8tj43$template(`<form class=
|
|
2019
|
-
$b54fc842e721c9eb$var$_tmpl$2 = /*#__PURE__*/$8tj43$template(`<span class=
|
|
2020
|
-
$b54fc842e721c9eb$var$_tmpl$3 = /*#__PURE__*/$8tj43$template(`<label class=
|
|
2016
|
+
const $b54fc842e721c9eb$var$_tmpl$ = /*#__PURE__*/$8tj43$template(`<form class=radios>`),
|
|
2017
|
+
$b54fc842e721c9eb$var$_tmpl$2 = /*#__PURE__*/$8tj43$template(`<span class=count>`),
|
|
2018
|
+
$b54fc842e721c9eb$var$_tmpl$3 = /*#__PURE__*/$8tj43$template(`<label class=input-row><div class=left><input type=radio><span class=custom-indicator></span><!$><!/></div><!$><!/>`);
|
|
2021
2019
|
function $b54fc842e721c9eb$export$430444115f70a734(_ref) {
|
|
2022
2020
|
let {
|
|
2023
2021
|
selected_filters_: selected_filters_,
|
|
@@ -2091,13 +2089,13 @@ function $b54fc842e721c9eb$export$430444115f70a734(_ref) {
|
|
|
2091
2089
|
}
|
|
2092
2090
|
}), _el$10, _co$2);
|
|
2093
2091
|
$8tj43$effect(() => _el$2.classList.toggle("count-0", !!(count() === 0)));
|
|
2094
|
-
$8tj43$effect(() => _el$4
|
|
2092
|
+
$8tj43$effect(() => $8tj43$setProperty(_el$4, "checked", $8tj43$createMemo(() => {
|
|
2095
2093
|
var _existing_filter;
|
|
2096
2094
|
const v = value();
|
|
2097
2095
|
const data = (_existing_filter = existing_filter()) === null || _existing_filter === void 0 ? void 0 : _existing_filter.data;
|
|
2098
2096
|
if ($af5d8e0b7d97a7f6$export$325f75597868c4f0(data) === $af5d8e0b7d97a7f6$export$325f75597868c4f0(v)) return true;
|
|
2099
2097
|
return Array.isArray(data) && data.every((item, index) => item === v[index]);
|
|
2100
|
-
})());
|
|
2098
|
+
})()));
|
|
2101
2099
|
return _el$2;
|
|
2102
2100
|
})();
|
|
2103
2101
|
}
|
|
@@ -2105,9 +2103,9 @@ function $b54fc842e721c9eb$export$430444115f70a734(_ref) {
|
|
|
2105
2103
|
return _el$;
|
|
2106
2104
|
})();
|
|
2107
2105
|
}
|
|
2108
|
-
const $1e7465a8ffa97f6c$var$_tmpl$ = /*#__PURE__*/$8tj43$template(`<div class=
|
|
2109
|
-
$1e7465a8ffa97f6c$var$_tmpl$2 = /*#__PURE__*/$8tj43$template(`<div class=
|
|
2110
|
-
$1e7465a8ffa97f6c$var$_tmpl$3 = /*#__PURE__*/$8tj43$template(`<div class=
|
|
2106
|
+
const $1e7465a8ffa97f6c$var$_tmpl$ = /*#__PURE__*/$8tj43$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><!$><!/><!$><!/><!$><!/>`),
|
|
2107
|
+
$1e7465a8ffa97f6c$var$_tmpl$2 = /*#__PURE__*/$8tj43$template(`<div class=slider><div class=progress>`),
|
|
2108
|
+
$1e7465a8ffa97f6c$var$_tmpl$3 = /*#__PURE__*/$8tj43$template(`<div class=range-group><input type=range step=any><input type=range step=any>`);
|
|
2111
2109
|
function $1e7465a8ffa97f6c$export$e0d834a0ad870cda(_ref) {
|
|
2112
2110
|
let {
|
|
2113
2111
|
filter_: filter_,
|
|
@@ -2268,11 +2266,11 @@ function $1e7465a8ffa97f6c$var$RangeSelector(_ref3) {
|
|
|
2268
2266
|
_v$8 = min_(),
|
|
2269
2267
|
_v$9 = max_();
|
|
2270
2268
|
_v$ !== _p$._v$ && _el$.classList.toggle("disabled", _p$._v$ = _v$);
|
|
2271
|
-
_v$2 !== _p$._v$2 && (_el$4
|
|
2269
|
+
_v$2 !== _p$._v$2 && $8tj43$setProperty(_el$4, "disabled", _p$._v$2 = _v$2);
|
|
2272
2270
|
_v$3 !== _p$._v$3 && $8tj43$setAttribute(_el$4, "aria-label", _p$._v$3 = _v$3);
|
|
2273
2271
|
_v$4 !== _p$._v$4 && $8tj43$setAttribute(_el$4, "min", _p$._v$4 = _v$4);
|
|
2274
2272
|
_v$5 !== _p$._v$5 && $8tj43$setAttribute(_el$4, "max", _p$._v$5 = _v$5);
|
|
2275
|
-
_v$6 !== _p$._v$6 && (_el$7
|
|
2273
|
+
_v$6 !== _p$._v$6 && $8tj43$setProperty(_el$7, "disabled", _p$._v$6 = _v$6);
|
|
2276
2274
|
_v$7 !== _p$._v$7 && $8tj43$setAttribute(_el$7, "aria-label", _p$._v$7 = _v$7);
|
|
2277
2275
|
_v$8 !== _p$._v$8 && $8tj43$setAttribute(_el$7, "min", _p$._v$8 = _v$8);
|
|
2278
2276
|
_v$9 !== _p$._v$9 && $8tj43$setAttribute(_el$7, "max", _p$._v$9 = _v$9);
|
|
@@ -2288,8 +2286,8 @@ function $1e7465a8ffa97f6c$var$RangeSelector(_ref3) {
|
|
|
2288
2286
|
_v$8: undefined,
|
|
2289
2287
|
_v$9: undefined
|
|
2290
2288
|
});
|
|
2291
|
-
$8tj43$effect(() => _el$4
|
|
2292
|
-
$8tj43$effect(() => _el$7
|
|
2289
|
+
$8tj43$effect(() => $8tj43$setProperty(_el$4, "value", get_current_range()[0]));
|
|
2290
|
+
$8tj43$effect(() => $8tj43$setProperty(_el$7, "value", get_current_range()[1]));
|
|
2293
2291
|
$8tj43$runHydrationEvents();
|
|
2294
2292
|
return _el$;
|
|
2295
2293
|
})();
|
|
@@ -2415,11 +2413,11 @@ function $1e7465a8ffa97f6c$var$LinearSlider(_ref8) {
|
|
|
2415
2413
|
_v$15 = i18n_.range_filter_high_point_aria_label_(),
|
|
2416
2414
|
_v$16 = min_(),
|
|
2417
2415
|
_v$17 = max_();
|
|
2418
|
-
_v$10 !== _p$._v$10 && (_el$28
|
|
2416
|
+
_v$10 !== _p$._v$10 && $8tj43$setProperty(_el$28, "disabled", _p$._v$10 = _v$10);
|
|
2419
2417
|
_v$11 !== _p$._v$11 && $8tj43$setAttribute(_el$28, "aria-label", _p$._v$11 = _v$11);
|
|
2420
2418
|
_v$12 !== _p$._v$12 && $8tj43$setAttribute(_el$28, "min", _p$._v$12 = _v$12);
|
|
2421
2419
|
_v$13 !== _p$._v$13 && $8tj43$setAttribute(_el$28, "max", _p$._v$13 = _v$13);
|
|
2422
|
-
_v$14 !== _p$._v$14 && (_el$29
|
|
2420
|
+
_v$14 !== _p$._v$14 && $8tj43$setProperty(_el$29, "disabled", _p$._v$14 = _v$14);
|
|
2423
2421
|
_v$15 !== _p$._v$15 && $8tj43$setAttribute(_el$29, "aria-label", _p$._v$15 = _v$15);
|
|
2424
2422
|
_v$16 !== _p$._v$16 && $8tj43$setAttribute(_el$29, "min", _p$._v$16 = _v$16);
|
|
2425
2423
|
_v$17 !== _p$._v$17 && $8tj43$setAttribute(_el$29, "max", _p$._v$17 = _v$17);
|
|
@@ -2434,13 +2432,13 @@ function $1e7465a8ffa97f6c$var$LinearSlider(_ref8) {
|
|
|
2434
2432
|
_v$16: undefined,
|
|
2435
2433
|
_v$17: undefined
|
|
2436
2434
|
});
|
|
2437
|
-
$8tj43$effect(() => _el$28
|
|
2435
|
+
$8tj43$effect(() => $8tj43$setProperty(_el$28, "value", $8tj43$createMemo(() => {
|
|
2438
2436
|
min_();
|
|
2439
2437
|
max_();
|
|
2440
2438
|
return get_current_range()[0];
|
|
2441
2439
|
}, undefined, {
|
|
2442
2440
|
equals: false
|
|
2443
|
-
})());
|
|
2441
|
+
})()));
|
|
2444
2442
|
$8tj43$runHydrationEvents();
|
|
2445
2443
|
return _el$27;
|
|
2446
2444
|
})()];
|
|
@@ -2460,7 +2458,7 @@ function $1e7465a8ffa97f6c$var$set_range_with_sanitation(min_, max_, current_ran
|
|
|
2460
2458
|
current_range_signal[1](new_value);
|
|
2461
2459
|
}
|
|
2462
2460
|
$8tj43$delegateEvents(["keydown", "click", "input"]);
|
|
2463
|
-
const $457279ff15864cb9$var$_tmpl$ = /*#__PURE__*/$8tj43$template(`<div class=
|
|
2461
|
+
const $457279ff15864cb9$var$_tmpl$ = /*#__PURE__*/$8tj43$template(`<div class=morphing-sign role=img><span></span><span>`);
|
|
2464
2462
|
function $457279ff15864cb9$export$e5c2828934226505(_ref) {
|
|
2465
2463
|
let {
|
|
2466
2464
|
expanded_: expanded_,
|
|
@@ -2505,10 +2503,10 @@ function $457279ff15864cb9$export$e5c2828934226505(_ref) {
|
|
|
2505
2503
|
});
|
|
2506
2504
|
return outer_div;
|
|
2507
2505
|
}
|
|
2508
|
-
const $0ae614c5c7babb43$var$_tmpl$ = /*#__PURE__*/$8tj43$template(`<form class="checkboxes hierarchical"
|
|
2509
|
-
$0ae614c5c7babb43$var$_tmpl$2 = /*#__PURE__*/$8tj43$template(`<div class=
|
|
2510
|
-
$0ae614c5c7babb43$var$_tmpl$3 = /*#__PURE__*/$8tj43$template(`<details
|
|
2511
|
-
$0ae614c5c7babb43$var$_tmpl$4 = /*#__PURE__*/$8tj43$template(`<summary class=
|
|
2506
|
+
const $0ae614c5c7babb43$var$_tmpl$ = /*#__PURE__*/$8tj43$template(`<form class="checkboxes hierarchical"><!$><!/><!$><!/>`),
|
|
2507
|
+
$0ae614c5c7babb43$var$_tmpl$2 = /*#__PURE__*/$8tj43$template(`<div class=checkbox-details><!$><!/><!$><!/>`),
|
|
2508
|
+
$0ae614c5c7babb43$var$_tmpl$3 = /*#__PURE__*/$8tj43$template(`<details>`),
|
|
2509
|
+
$0ae614c5c7babb43$var$_tmpl$4 = /*#__PURE__*/$8tj43$template(`<summary class=category-parent><div class=summary><span class=count></span><!$><!/>`);
|
|
2512
2510
|
const $0ae614c5c7babb43$var$max_visible_without_collapsing = 15;
|
|
2513
2511
|
const $0ae614c5c7babb43$var$show_non_collapsible_when_collapsed = 4;
|
|
2514
2512
|
function $0ae614c5c7babb43$export$a32086fa6616eafd(_ref) {
|
|
@@ -2980,9 +2978,9 @@ function $0ae614c5c7babb43$var$expand_until_choice(data_structure) {
|
|
|
2980
2978
|
}
|
|
2981
2979
|
});
|
|
2982
2980
|
}
|
|
2983
|
-
const $830ea8efda59884e$var$_tmpl$ = /*#__PURE__*/$8tj43$template(`<div class=
|
|
2984
|
-
$830ea8efda59884e$var$_tmpl$2 = /*#__PURE__*/$8tj43$template(`<span class=
|
|
2985
|
-
$830ea8efda59884e$var$_tmpl$3 = /*#__PURE__*/$8tj43$template(`<button
|
|
2981
|
+
const $830ea8efda59884e$var$_tmpl$ = /*#__PURE__*/$8tj43$template(`<div class=checkbox-grid style=position:absolute;z-index:-1;pointer-events:none;opacity:0>`),
|
|
2982
|
+
$830ea8efda59884e$var$_tmpl$2 = /*#__PURE__*/$8tj43$template(`<span class=count-wrapper><span class=count>`),
|
|
2983
|
+
$830ea8efda59884e$var$_tmpl$3 = /*#__PURE__*/$8tj43$template(`<button><!$><!/><!$><!/>`);
|
|
2986
2984
|
const $830ea8efda59884e$var$gap_px = 5;
|
|
2987
2985
|
const $830ea8efda59884e$var$max_columns = 3;
|
|
2988
2986
|
const $830ea8efda59884e$export$414f6a19d38e655c = _ref => {
|
|
@@ -3200,7 +3198,7 @@ function $830ea8efda59884e$var$adjust_sizes(container_width, sizes, set_cols_at_
|
|
|
3200
3198
|
overrides: column_to_row_result
|
|
3201
3199
|
}]]);
|
|
3202
3200
|
}
|
|
3203
|
-
const $2cb856c297c53e6c$var$_tmpl$ = /*#__PURE__*/$8tj43$template(`<form class=
|
|
3201
|
+
const $2cb856c297c53e6c$var$_tmpl$ = /*#__PURE__*/$8tj43$template(`<form class=checkbox-color><!$><!/><!$><!/>`);
|
|
3204
3202
|
const $2cb856c297c53e6c$var$max_visible_without_collapsing = 30;
|
|
3205
3203
|
const $2cb856c297c53e6c$var$show_non_collapsible_when_collapsed = 8;
|
|
3206
3204
|
function $2cb856c297c53e6c$export$82ed4b28ecb67608(_ref) {
|
|
@@ -3397,7 +3395,7 @@ var $d2988f745661df9c$export$2e2bcd8739ae039 = {
|
|
|
3397
3395
|
"checkbox-grid": (0, $830ea8efda59884e$export$414f6a19d38e655c),
|
|
3398
3396
|
"checkbox-color": (0, $2cb856c297c53e6c$export$82ed4b28ecb67608)
|
|
3399
3397
|
};
|
|
3400
|
-
const $905f44be08b7378e$var$_tmpl$ = /*#__PURE__*/$8tj43$template(`<svg xmlns=
|
|
3398
|
+
const $905f44be08b7378e$var$_tmpl$ = /*#__PURE__*/$8tj43$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">`);
|
|
3401
3399
|
function $905f44be08b7378e$export$f2ca6fc699ca1fb4() {
|
|
3402
3400
|
let props = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : {};
|
|
3403
3401
|
return (() => {
|
|
@@ -3407,7 +3405,7 @@ function $905f44be08b7378e$export$f2ca6fc699ca1fb4() {
|
|
|
3407
3405
|
return _el$;
|
|
3408
3406
|
})();
|
|
3409
3407
|
}
|
|
3410
|
-
const $d0ff304c14f50521$var$_tmpl$ = /*#__PURE__*/$8tj43$template(`<span class=
|
|
3408
|
+
const $d0ff304c14f50521$var$_tmpl$ = /*#__PURE__*/$8tj43$template(`<span class=show-selected aria-hidden=true><span></span><!$><!/>`);
|
|
3411
3409
|
function $d0ff304c14f50521$export$53c59af873b303c9(_ref) {
|
|
3412
3410
|
let {
|
|
3413
3411
|
selected_filters_in_group_: selected_filters_in_group_,
|
|
@@ -3533,7 +3531,7 @@ function $f1e63746f76ce012$export$ab34afce88557c0e(props) {
|
|
|
3533
3531
|
}));
|
|
3534
3532
|
return is_open;
|
|
3535
3533
|
}
|
|
3536
|
-
const $bc2337c9a05ecd18$var$_tmpl$ = /*#__PURE__*/$8tj43$template(`<span
|
|
3534
|
+
const $bc2337c9a05ecd18$var$_tmpl$ = /*#__PURE__*/$8tj43$template(`<span>`);
|
|
3537
3535
|
function $bc2337c9a05ecd18$export$acb3eaade4b23afd(props) {
|
|
3538
3536
|
return (() => {
|
|
3539
3537
|
const _el$ = $8tj43$getNextElement($bc2337c9a05ecd18$var$_tmpl$);
|
|
@@ -3574,14 +3572,14 @@ function $ceafb6fb91c6f394$export$89c6019e4baa40b1(props) {
|
|
|
3574
3572
|
}
|
|
3575
3573
|
});
|
|
3576
3574
|
}
|
|
3577
|
-
const $f6b0500577e1b210$var$_tmpl$ = /*#__PURE__*/$8tj43$template(`<div class=
|
|
3578
|
-
$f6b0500577e1b210$var$_tmpl$2 = /*#__PURE__*/$8tj43$template(`<button class=
|
|
3579
|
-
$f6b0500577e1b210$var$_tmpl$3 = /*#__PURE__*/$8tj43$template(`<div class=
|
|
3580
|
-
$f6b0500577e1b210$var$_tmpl$4 = /*#__PURE__*/$8tj43$template(`<div class=
|
|
3581
|
-
$f6b0500577e1b210$var$_tmpl$5 = /*#__PURE__*/$8tj43$template(`<details class=
|
|
3582
|
-
$f6b0500577e1b210$var$_tmpl$6 = /*#__PURE__*/$8tj43$template(`<summary class=
|
|
3583
|
-
$f6b0500577e1b210$var$_tmpl$7 = /*#__PURE__*/$8tj43$template(`<div class=
|
|
3584
|
-
$f6b0500577e1b210$var$_tmpl$8 = /*#__PURE__*/$8tj43$template(`<button class="clear-all-filters major"
|
|
3575
|
+
const $f6b0500577e1b210$var$_tmpl$ = /*#__PURE__*/$8tj43$template(`<div class=filter-collapsible>`),
|
|
3576
|
+
$f6b0500577e1b210$var$_tmpl$2 = /*#__PURE__*/$8tj43$template(`<button class=clear-group><!$><!/><span>`),
|
|
3577
|
+
$f6b0500577e1b210$var$_tmpl$3 = /*#__PURE__*/$8tj43$template(`<div class=view-more-clear><!$><!/><!$><!/>`),
|
|
3578
|
+
$f6b0500577e1b210$var$_tmpl$4 = /*#__PURE__*/$8tj43$template(`<div class=filter-collapsible-body><div class=filter-part></div><!$><!/>`),
|
|
3579
|
+
$f6b0500577e1b210$var$_tmpl$5 = /*#__PURE__*/$8tj43$template(`<details class=filter-collapsible>`),
|
|
3580
|
+
$f6b0500577e1b210$var$_tmpl$6 = /*#__PURE__*/$8tj43$template(`<summary class=filter-group-summary><div class=summary><span></span><div class=selected-w-sign><!$><!/><!$><!/>`),
|
|
3581
|
+
$f6b0500577e1b210$var$_tmpl$7 = /*#__PURE__*/$8tj43$template(`<div class=ungrouped>`),
|
|
3582
|
+
$f6b0500577e1b210$var$_tmpl$8 = /*#__PURE__*/$8tj43$template(`<button class="clear-all-filters major">`);
|
|
3585
3583
|
function $f6b0500577e1b210$export$3f1a388cc0d8fed7(props) {
|
|
3586
3584
|
// Split like this to make placeholder wrapping more visible & this component is exported and used in MobileModal
|
|
3587
3585
|
return $8tj43$createComponent((0, $8tj43$Show), {
|
|
@@ -4607,7 +4605,7 @@ function $33e7d1906c93db7d$export$205efb947c7ffd78(handler) {
|
|
|
4607
4605
|
$8tj43$onCleanup(() => removeEventListener(event, catchified_handler));
|
|
4608
4606
|
}
|
|
4609
4607
|
}
|
|
4610
|
-
const $b69740fc6de9f17e$var$_tmpl$ = /*#__PURE__*/$8tj43$template(`<div class=
|
|
4608
|
+
const $b69740fc6de9f17e$var$_tmpl$ = /*#__PURE__*/$8tj43$template(`<div class=scroll-status style=display:none><span class=text><b></b> – <b></b> <!$><!/> <b>`);
|
|
4611
4609
|
function $b69740fc6de9f17e$export$83fd5de5504a7a67(_ref) {
|
|
4612
4610
|
let {
|
|
4613
4611
|
formatted_number_of_results_: formatted_number_of_results_,
|
|
@@ -4745,8 +4743,8 @@ function $b69740fc6de9f17e$export$83fd5de5504a7a67(_ref) {
|
|
|
4745
4743
|
return _el$;
|
|
4746
4744
|
})();
|
|
4747
4745
|
}
|
|
4748
|
-
const $94af29837186eb21$var$_tmpl$ = /*#__PURE__*/$8tj43$template(`<a class=
|
|
4749
|
-
$94af29837186eb21$var$_tmpl$2 = /*#__PURE__*/$8tj43$template(`<div class=
|
|
4746
|
+
const $94af29837186eb21$var$_tmpl$ = /*#__PURE__*/$8tj43$template(`<a class=hint href=javascript:void(0)>`),
|
|
4747
|
+
$94af29837186eb21$var$_tmpl$2 = /*#__PURE__*/$8tj43$template(`<div class=no-results><div class=text></div><!$><!/>`);
|
|
4750
4748
|
function $94af29837186eb21$export$ef6006467f04ee41(_ref) {
|
|
4751
4749
|
let {
|
|
4752
4750
|
i18n_: i18n_,
|
|
@@ -4981,8 +4979,8 @@ function $45a8953d760b5e58$export$a1fd619a4743ca08(_ref) {
|
|
|
4981
4979
|
})
|
|
4982
4980
|
});
|
|
4983
4981
|
}
|
|
4984
|
-
const $64d94dcaa058dc7b$var$_tmpl$ = /*#__PURE__*/$8tj43$template(`<div
|
|
4985
|
-
$64d94dcaa058dc7b$var$_tmpl$2 = /*#__PURE__*/$8tj43$template(`<style type=
|
|
4982
|
+
const $64d94dcaa058dc7b$var$_tmpl$ = /*#__PURE__*/$8tj43$template(`<div>`),
|
|
4983
|
+
$64d94dcaa058dc7b$var$_tmpl$2 = /*#__PURE__*/$8tj43$template(`<style type=text/css>`);
|
|
4986
4984
|
const $64d94dcaa058dc7b$export$c500183c31c2b22e = "--spans-columns";
|
|
4987
4985
|
function $64d94dcaa058dc7b$export$ab6b147eec64fea5(props) {
|
|
4988
4986
|
const container_class = "x" + $8tj43$createUniqueId();
|
|
@@ -5154,7 +5152,7 @@ function $3ab4aa97880fb88d$export$3f37af283f8fb843(props) {
|
|
|
5154
5152
|
}
|
|
5155
5153
|
});
|
|
5156
5154
|
}
|
|
5157
|
-
const $ff7feae4dddd6073$var$_tmpl$ = /*#__PURE__*/$8tj43$template(`<div class=
|
|
5155
|
+
const $ff7feae4dddd6073$var$_tmpl$ = /*#__PURE__*/$8tj43$template(`<div class=content-block-wrapper>`);
|
|
5158
5156
|
function $ff7feae4dddd6073$export$791ef57e62e21c3f(_ref) {
|
|
5159
5157
|
let {
|
|
5160
5158
|
content_blocks_: incoming_content_blocks,
|
|
@@ -5178,8 +5176,11 @@ function $ff7feae4dddd6073$export$791ef57e62e21c3f(_ref) {
|
|
|
5178
5176
|
return;
|
|
5179
5177
|
}
|
|
5180
5178
|
const capped_value = incoming_value.slice(0, showing_rows()); // Don't show more content blocks than we have rows
|
|
5181
|
-
set_content_blocks($8tj43$reconcile(capped_value
|
|
5179
|
+
set_content_blocks($8tj43$reconcile(capped_value, {
|
|
5180
|
+
key: "content"
|
|
5181
|
+
})); // key: Make moving blocks faster, see https://github.com/solidjs/solid/issues/1925#issuecomment-1769671596
|
|
5182
5182
|
});
|
|
5183
|
+
|
|
5183
5184
|
const get_wrapped_blocks_ = $ff7feae4dddd6073$var$wrap_blocks_in_div(content_blocks, n_cols_currently_showing_);
|
|
5184
5185
|
$8tj43$createComputed(() => {
|
|
5185
5186
|
// 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
|
|
@@ -5299,8 +5300,8 @@ function $ff7feae4dddd6073$var$wrap_blocks_in_div(rendered_content_blocks, max_s
|
|
|
5299
5300
|
_v$2 = "span ".concat(get_span_columns()),
|
|
5300
5301
|
_v$3 = "span ".concat(block.span_rows);
|
|
5301
5302
|
_p$._v$ = $8tj43$style(_el$, _v$, _p$._v$);
|
|
5302
|
-
_v$2 !== _p$._v$2 && _el$.style.setProperty("grid-column",
|
|
5303
|
-
_v$3 !== _p$._v$3 && _el$.style.setProperty("grid-row",
|
|
5303
|
+
_v$2 !== _p$._v$2 && ((_p$._v$2 = _v$2) != null ? _el$.style.setProperty("grid-column", _v$2) : _el$.style.removeProperty("grid-column"));
|
|
5304
|
+
_v$3 !== _p$._v$3 && ((_p$._v$3 = _v$3) != null ? _el$.style.setProperty("grid-row", _v$3) : _el$.style.removeProperty("grid-row"));
|
|
5304
5305
|
return _p$;
|
|
5305
5306
|
}, {
|
|
5306
5307
|
_v$: undefined,
|
|
@@ -5338,7 +5339,7 @@ function $ff7feae4dddd6073$var$RenderContent(props) {
|
|
|
5338
5339
|
children: resource
|
|
5339
5340
|
});
|
|
5340
5341
|
}
|
|
5341
|
-
const $7faea0096f14b59b$var$_tmpl$ = /*#__PURE__*/$8tj43$template(`<div class=
|
|
5342
|
+
const $7faea0096f14b59b$var$_tmpl$ = /*#__PURE__*/$8tj43$template(`<div class=PLP-results><!$><!/><!$><!/>`);
|
|
5342
5343
|
function $7faea0096f14b59b$export$3925f87b1545cfc6(_ref) {
|
|
5343
5344
|
let {
|
|
5344
5345
|
plp_results_: plp_results_,
|
|
@@ -5464,20 +5465,18 @@ function $7faea0096f14b59b$export$3925f87b1545cfc6(_ref) {
|
|
|
5464
5465
|
*/
|
|
5465
5466
|
const product_cards_when_data = $8tj43$createComponent((0, $8tj43$Suspense), {
|
|
5466
5467
|
get fallback() {
|
|
5467
|
-
|
|
5468
|
-
|
|
5469
|
-
|
|
5470
|
-
|
|
5471
|
-
|
|
5472
|
-
|
|
5473
|
-
|
|
5474
|
-
|
|
5475
|
-
|
|
5476
|
-
|
|
5477
|
-
|
|
5478
|
-
|
|
5479
|
-
});
|
|
5480
|
-
})();
|
|
5468
|
+
fallback_is_alive = true;
|
|
5469
|
+
$8tj43$onCleanup(block_suspense_if_needed); // Block suspense after initial run every time after we fetch
|
|
5470
|
+
set_product_card_suspense_is_in_fallback(true); // Here for the content block code that needs to know how many items we're displaying
|
|
5471
|
+
$8tj43$onCleanup(() => set_product_card_suspense_is_in_fallback(false));
|
|
5472
|
+
return $8tj43$createMemo(() => {
|
|
5473
|
+
// 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
|
|
5474
|
+
// In future we could have individual suspense's for each product card, but that's too much for now
|
|
5475
|
+
if (get_suspense_is_blocked()) return suspense_contents;
|
|
5476
|
+
set_should_have_placeholders_rendered(true); // just in case
|
|
5477
|
+
$8tj43$onCleanup(() => set_should_have_placeholders_rendered(false));
|
|
5478
|
+
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>
|
|
5479
|
+
});
|
|
5481
5480
|
},
|
|
5482
5481
|
|
|
5483
5482
|
get children() {
|
|
@@ -5563,10 +5562,10 @@ function $7faea0096f14b59b$export$3925f87b1545cfc6(_ref) {
|
|
|
5563
5562
|
return _el$;
|
|
5564
5563
|
})();
|
|
5565
5564
|
}
|
|
5566
|
-
const $cfdbd124dd09d713$var$_tmpl$ = /*#__PURE__*/$8tj43$template(`<div class=
|
|
5567
|
-
$cfdbd124dd09d713$var$_tmpl$2 = /*#__PURE__*/$8tj43$template(`<div class=
|
|
5568
|
-
$cfdbd124dd09d713$var$_tmpl$3 = /*#__PURE__*/$8tj43$template(`<div><div class=
|
|
5569
|
-
$cfdbd124dd09d713$var$_tmpl$4 = /*#__PURE__*/$8tj43$template(`<div><label class=
|
|
5565
|
+
const $cfdbd124dd09d713$var$_tmpl$ = /*#__PURE__*/$8tj43$template(`<div class=sorting-attributes>`),
|
|
5566
|
+
$cfdbd124dd09d713$var$_tmpl$2 = /*#__PURE__*/$8tj43$template(`<div class=sorting-direction>`),
|
|
5567
|
+
$cfdbd124dd09d713$var$_tmpl$3 = /*#__PURE__*/$8tj43$template(`<div><div class=input-row><input type=radio><span class=custom-indicator></span><!$><!/>`),
|
|
5568
|
+
$cfdbd124dd09d713$var$_tmpl$4 = /*#__PURE__*/$8tj43$template(`<div><label class=input-row><input type=radio><span class=custom-indicator></span><!$><!/>`);
|
|
5570
5569
|
function $cfdbd124dd09d713$export$1f1775a58da589b5(_ref) {
|
|
5571
5570
|
let {
|
|
5572
5571
|
available_sortings_: available_sortings_,
|
|
@@ -5592,7 +5591,7 @@ function $cfdbd124dd09d713$export$1f1775a58da589b5(_ref) {
|
|
|
5592
5591
|
_el$7 = _el$6.nextSibling,
|
|
5593
5592
|
_el$8 = _el$7.nextSibling,
|
|
5594
5593
|
[_el$9, _co$] = $8tj43$getNextMarker(_el$8.nextSibling);
|
|
5595
|
-
_el$6
|
|
5594
|
+
$8tj43$setProperty(_el$6, "disabled", true);
|
|
5596
5595
|
$8tj43$insert(_el$5, $8tj43$createComponent((0, $ceafb6fb91c6f394$export$89c6019e4baa40b1), {
|
|
5597
5596
|
height: "1.2em",
|
|
5598
5597
|
width: "100%"
|
|
@@ -5632,7 +5631,7 @@ function $cfdbd124dd09d713$export$1f1775a58da589b5(_ref) {
|
|
|
5632
5631
|
$8tj43$addEventListener(_el$12, "change", $8tj43$catchify(() => set_current_sorting(item())));
|
|
5633
5632
|
$8tj43$setAttribute(_el$12, "name", title_radio_name);
|
|
5634
5633
|
$8tj43$insert(_el$11, () => item().meta.title, _el$15, _co$2);
|
|
5635
|
-
$8tj43$effect(() => _el$12
|
|
5634
|
+
$8tj43$effect(() => $8tj43$setProperty(_el$12, "checked", is_checked()));
|
|
5636
5635
|
return _el$10;
|
|
5637
5636
|
})()
|
|
5638
5637
|
);
|
|
@@ -5672,7 +5671,7 @@ function $cfdbd124dd09d713$export$1f1775a58da589b5(_ref) {
|
|
|
5672
5671
|
var _meta_of_currently_se4, _meta_of_currently_se5;
|
|
5673
5672
|
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];
|
|
5674
5673
|
}, _el$21, _co$3);
|
|
5675
|
-
$8tj43$effect(() => _el$18
|
|
5674
|
+
$8tj43$effect(() => $8tj43$setProperty(_el$18, "checked", is_checked()));
|
|
5676
5675
|
return _el$16;
|
|
5677
5676
|
})();
|
|
5678
5677
|
}
|
|
@@ -5719,7 +5718,7 @@ function $e56d241d0f33d459$export$fe334901e8bebd57() {
|
|
|
5719
5718
|
// document.body.style.top = `-${from_top}px`;
|
|
5720
5719
|
// document.body.style.overflowY = "scroll";
|
|
5721
5720
|
|
|
5722
|
-
const $79af35736fe8e5c8$var$_tmpl$ = /*#__PURE__*/$8tj43$template(`<svg xmlns=
|
|
5721
|
+
const $79af35736fe8e5c8$var$_tmpl$ = /*#__PURE__*/$8tj43$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">`);
|
|
5723
5722
|
function $79af35736fe8e5c8$export$da32f7add8a22e86() {
|
|
5724
5723
|
let props = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : {};
|
|
5725
5724
|
return (() => {
|
|
@@ -5729,7 +5728,7 @@ function $79af35736fe8e5c8$export$da32f7add8a22e86() {
|
|
|
5729
5728
|
return _el$;
|
|
5730
5729
|
})();
|
|
5731
5730
|
}
|
|
5732
|
-
const $73e3c96bc365e0e9$var$_tmpl$ = /*#__PURE__*/$8tj43$template(`<svg xmlns=
|
|
5731
|
+
const $73e3c96bc365e0e9$var$_tmpl$ = /*#__PURE__*/$8tj43$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">`);
|
|
5733
5732
|
function $73e3c96bc365e0e9$export$d10e63059ddb9fd4() {
|
|
5734
5733
|
let props = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : {};
|
|
5735
5734
|
return (() => {
|
|
@@ -5739,7 +5738,7 @@ function $73e3c96bc365e0e9$export$d10e63059ddb9fd4() {
|
|
|
5739
5738
|
return _el$;
|
|
5740
5739
|
})();
|
|
5741
5740
|
}
|
|
5742
|
-
const $05f67356defcdd65$var$_tmpl$ = /*#__PURE__*/$8tj43$template(`<svg xmlns=
|
|
5741
|
+
const $05f67356defcdd65$var$_tmpl$ = /*#__PURE__*/$8tj43$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">`);
|
|
5743
5742
|
function $05f67356defcdd65$export$28f6150e232898de() {
|
|
5744
5743
|
return $8tj43$getNextElement($05f67356defcdd65$var$_tmpl$);
|
|
5745
5744
|
}
|
|
@@ -5752,13 +5751,13 @@ function $6fcb97029a69ec44$export$50f68cc9882e36a4(args_for_filtering) {
|
|
|
5752
5751
|
var _args_for_filtering$a, _args_for_filtering$s;
|
|
5753
5752
|
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);
|
|
5754
5753
|
}
|
|
5755
|
-
const $082c4ed3e22f8d71$var$_tmpl$ = /*#__PURE__*/$8tj43$template(`<button class="clear minor"
|
|
5756
|
-
$082c4ed3e22f8d71$var$_tmpl$2 = /*#__PURE__*/$8tj43$template(`<div class="depict plp"
|
|
5757
|
-
$082c4ed3e22f8d71$var$_tmpl$3 = /*#__PURE__*/$8tj43$template(`<details class=
|
|
5758
|
-
$082c4ed3e22f8d71$var$_tmpl$4 = /*#__PURE__*/$8tj43$template(`<summary class=
|
|
5759
|
-
$082c4ed3e22f8d71$var$_tmpl$5 = /*#__PURE__*/$8tj43$template(`<div class=
|
|
5760
|
-
$082c4ed3e22f8d71$var$_tmpl$6 = /*#__PURE__*/$8tj43$template(`<details class=
|
|
5761
|
-
$082c4ed3e22f8d71$var$_tmpl$7 = /*#__PURE__*/$8tj43$template(`<b
|
|
5754
|
+
const $082c4ed3e22f8d71$var$_tmpl$ = /*#__PURE__*/$8tj43$template(`<button class="clear minor">`),
|
|
5755
|
+
$082c4ed3e22f8d71$var$_tmpl$2 = /*#__PURE__*/$8tj43$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">`),
|
|
5756
|
+
$082c4ed3e22f8d71$var$_tmpl$3 = /*#__PURE__*/$8tj43$template(`<details class=sorting>`),
|
|
5757
|
+
$082c4ed3e22f8d71$var$_tmpl$4 = /*#__PURE__*/$8tj43$template(`<summary class=sort-filter-summary><div class=summary><div class=left-els><!$><!/><span></span></div><!$><!/>`),
|
|
5758
|
+
$082c4ed3e22f8d71$var$_tmpl$5 = /*#__PURE__*/$8tj43$template(`<div class=body>`),
|
|
5759
|
+
$082c4ed3e22f8d71$var$_tmpl$6 = /*#__PURE__*/$8tj43$template(`<details class=filters>`),
|
|
5760
|
+
$082c4ed3e22f8d71$var$_tmpl$7 = /*#__PURE__*/$8tj43$template(`<b>`);
|
|
5762
5761
|
const $082c4ed3e22f8d71$var$no_go_selector = ".range .range-group";
|
|
5763
5762
|
function $082c4ed3e22f8d71$export$9bf11afa910f536e(_ref) {
|
|
5764
5763
|
let {
|
|
@@ -6079,16 +6078,16 @@ function $082c4ed3e22f8d71$export$9bf11afa910f536e(_ref) {
|
|
|
6079
6078
|
})()];
|
|
6080
6079
|
}
|
|
6081
6080
|
$8tj43$delegateEvents(["click", "touchstart"]);
|
|
6082
|
-
const $bce10e104a1dd893$var$_tmpl$ = /*#__PURE__*/$8tj43$template(`<svg xmlns=
|
|
6081
|
+
const $bce10e104a1dd893$var$_tmpl$ = /*#__PURE__*/$8tj43$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">`);
|
|
6083
6082
|
function $bce10e104a1dd893$export$cb808a3c41736d8e() {
|
|
6084
6083
|
return $8tj43$getNextElement($bce10e104a1dd893$var$_tmpl$);
|
|
6085
6084
|
}
|
|
6086
|
-
const $7396052a1484264f$var$_tmpl$ = /*#__PURE__*/$8tj43$template(`<div class=
|
|
6087
|
-
$7396052a1484264f$var$_tmpl$2 = /*#__PURE__*/$8tj43$template(`<div class=
|
|
6088
|
-
$7396052a1484264f$var$_tmpl$3 = /*#__PURE__*/$8tj43$template(`<div class=
|
|
6089
|
-
$7396052a1484264f$var$_tmpl$4 = /*#__PURE__*/$8tj43$template(`<span class=
|
|
6090
|
-
$7396052a1484264f$var$_tmpl$5 = /*#__PURE__*/$8tj43$template(`<div class=
|
|
6091
|
-
$7396052a1484264f$var$_tmpl$6 = /*#__PURE__*/$8tj43$template(`<button class="toggle-button for-sorting major-minor-transition"><span></span
|
|
6085
|
+
const $7396052a1484264f$var$_tmpl$ = /*#__PURE__*/$8tj43$template(`<div class=filters><div class=body>`),
|
|
6086
|
+
$7396052a1484264f$var$_tmpl$2 = /*#__PURE__*/$8tj43$template(`<div class=sorting><div class=body>`),
|
|
6087
|
+
$7396052a1484264f$var$_tmpl$3 = /*#__PURE__*/$8tj43$template(`<div class=sort-and-filter-buttons><div class=outer><div class=inner><!$><!/><!$><!/><!$><!/>`),
|
|
6088
|
+
$7396052a1484264f$var$_tmpl$4 = /*#__PURE__*/$8tj43$template(`<span class=num-filters>`),
|
|
6089
|
+
$7396052a1484264f$var$_tmpl$5 = /*#__PURE__*/$8tj43$template(`<div class=open-filters-button-container><!$><!/><button type=button><!$><!/><span>`),
|
|
6090
|
+
$7396052a1484264f$var$_tmpl$6 = /*#__PURE__*/$8tj43$template(`<button class="toggle-button for-sorting major-minor-transition"><span></span><!$><!/>`);
|
|
6092
6091
|
function $7396052a1484264f$export$d7841e452f2e59a8(_ref) {
|
|
6093
6092
|
let {
|
|
6094
6093
|
current_sorting_: current_sorting_,
|
|
@@ -6437,11 +6436,11 @@ function $7396052a1484264f$var$OpenSortingButton(_ref4) {
|
|
|
6437
6436
|
})();
|
|
6438
6437
|
}
|
|
6439
6438
|
$8tj43$delegateEvents(["click"]);
|
|
6440
|
-
const $70f5ae4deea73eee$var$_tmpl$ = /*#__PURE__*/$8tj43$template(`<svg xmlns=
|
|
6439
|
+
const $70f5ae4deea73eee$var$_tmpl$ = /*#__PURE__*/$8tj43$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">`);
|
|
6441
6440
|
function $70f5ae4deea73eee$export$2624c5890f1bbcf7() {
|
|
6442
6441
|
return $8tj43$getNextElement($70f5ae4deea73eee$var$_tmpl$);
|
|
6443
6442
|
}
|
|
6444
|
-
const $6a16b21155984cef$var$_tmpl$ = /*#__PURE__*/$8tj43$template(`<div class=
|
|
6443
|
+
const $6a16b21155984cef$var$_tmpl$ = /*#__PURE__*/$8tj43$template(`<div class=floating-buttons><button class=filter><div></div></button><button class=sort><div></div></button><button class=up><div>`);
|
|
6445
6444
|
function $6a16b21155984cef$export$b23abd26de154ede(props) {
|
|
6446
6445
|
if (0, $8tj43$isServer) return; // won't show in initial render and need scroll position
|
|
6447
6446
|
const [is_small, set_is_small] = $8tj43$createSignal(true);
|
|
@@ -6591,9 +6590,9 @@ function $6a16b21155984cef$var$ActualFloatingButtons(_ref2) {
|
|
|
6591
6590
|
})();
|
|
6592
6591
|
}
|
|
6593
6592
|
$8tj43$delegateEvents(["click"]);
|
|
6594
|
-
const $52efc9ae4382e25a$var$_tmpl$ = /*#__PURE__*/$8tj43$template(`<nav class=
|
|
6595
|
-
$52efc9ae4382e25a$var$_tmpl$2 = /*#__PURE__*/$8tj43$template(`<a class=
|
|
6596
|
-
$52efc9ae4382e25a$var$_tmpl$3 = /*#__PURE__*/$8tj43$template(`<span class=
|
|
6593
|
+
const $52efc9ae4382e25a$var$_tmpl$ = /*#__PURE__*/$8tj43$template(`<nav class=crumbs>`),
|
|
6594
|
+
$52efc9ae4382e25a$var$_tmpl$2 = /*#__PURE__*/$8tj43$template(`<a class=crumb>`),
|
|
6595
|
+
$52efc9ae4382e25a$var$_tmpl$3 = /*#__PURE__*/$8tj43$template(`<span class=separator>`);
|
|
6597
6596
|
function $52efc9ae4382e25a$export$5646050d516e06bc(_ref) {
|
|
6598
6597
|
let {
|
|
6599
6598
|
crumb_data_: get_api_crumb_data,
|
|
@@ -6673,9 +6672,9 @@ function $52efc9ae4382e25a$export$5646050d516e06bc(_ref) {
|
|
|
6673
6672
|
});
|
|
6674
6673
|
}
|
|
6675
6674
|
$8tj43$delegateEvents(["click"]);
|
|
6676
|
-
const $43fbb365ed0ac99e$var$_tmpl$ = /*#__PURE__*/$8tj43$template(`<nav class=
|
|
6677
|
-
$43fbb365ed0ac99e$var$_tmpl$2 = /*#__PURE__*/$8tj43$template(`<div>QuickLinks failed
|
|
6678
|
-
$43fbb365ed0ac99e$var$_tmpl$3 = /*#__PURE__*/$8tj43$template(`<a class=
|
|
6675
|
+
const $43fbb365ed0ac99e$var$_tmpl$ = /*#__PURE__*/$8tj43$template(`<nav class=quicklinks>`),
|
|
6676
|
+
$43fbb365ed0ac99e$var$_tmpl$2 = /*#__PURE__*/$8tj43$template(`<div>QuickLinks failed`),
|
|
6677
|
+
$43fbb365ed0ac99e$var$_tmpl$3 = /*#__PURE__*/$8tj43$template(`<a class=quicklink>`);
|
|
6679
6678
|
function $43fbb365ed0ac99e$export$466cdc317043f6cb(_ref) {
|
|
6680
6679
|
let {
|
|
6681
6680
|
quicklinks_data_: quicklinks_data_,
|
|
@@ -7109,8 +7108,8 @@ function $a4777acaffa35a82$var$clear_if_opened_new_tab_with_sideways_url_params_
|
|
|
7109
7108
|
});
|
|
7110
7109
|
tracking_function_for_plp_results(plp_results_);
|
|
7111
7110
|
}
|
|
7112
|
-
const $480c67545e51abfe$var$_tmpl$ = /*#__PURE__*/$8tj43$template(`<div class=
|
|
7113
|
-
$480c67545e51abfe$var$_tmpl$2 = /*#__PURE__*/$8tj43$template(`<div class=
|
|
7111
|
+
const $480c67545e51abfe$var$_tmpl$ = /*#__PURE__*/$8tj43$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.`),
|
|
7112
|
+
$480c67545e51abfe$var$_tmpl$2 = /*#__PURE__*/$8tj43$template(`<div class=buttons><button class="ok major">`);
|
|
7114
7113
|
function $480c67545e51abfe$export$d4fc5c0e68a52116(el, query_id_, i18n_) {
|
|
7115
7114
|
if (!(0, $8tj43$is_debug)) return; // Just to make sure we don't show this in production
|
|
7116
7115
|
const owner = $8tj43$getOwner();
|
|
@@ -7174,10 +7173,10 @@ function $3a2bed57c9a57e21$export$d31a1a1a83ad9413(plp_results_, _ref) {
|
|
|
7174
7173
|
set_selected_filters(new_filters);
|
|
7175
7174
|
});
|
|
7176
7175
|
}
|
|
7177
|
-
const $4b4b262708b516ee$var$_tmpl$ = /*#__PURE__*/$8tj43$template(`<div class=
|
|
7178
|
-
$4b4b262708b516ee$var$_tmpl$2 = /*#__PURE__*/$8tj43$template(`<div
|
|
7179
|
-
$4b4b262708b516ee$var$_tmpl$3 = /*#__PURE__*/$8tj43$template(`<div class=
|
|
7180
|
-
$4b4b262708b516ee$var$_tmpl$4 = /*#__PURE__*/$8tj43$template(`<div class="depict plp category"><div class=
|
|
7176
|
+
const $4b4b262708b516ee$var$_tmpl$ = /*#__PURE__*/$8tj43$template(`<div class=product-count><!$><!/> <!$><!/>`),
|
|
7177
|
+
$4b4b262708b516ee$var$_tmpl$2 = /*#__PURE__*/$8tj43$template(`<div>`),
|
|
7178
|
+
$4b4b262708b516ee$var$_tmpl$3 = /*#__PURE__*/$8tj43$template(`<div class=filter-results-for-one-row><!$><!/><!$><!/>`),
|
|
7179
|
+
$4b4b262708b516ee$var$_tmpl$4 = /*#__PURE__*/$8tj43$template(`<div class="depict plp category"><div class=listing-page><!$><!/><!$><!/><!$><!/><!$><!/><!$><!/><!$><!/></div><!$><!/><!$><!/>`);
|
|
7181
7180
|
function $4b4b262708b516ee$export$f7d2f673fc2f091d(_ref) {
|
|
7182
7181
|
var _on_filters_construct;
|
|
7183
7182
|
let {
|
|
@@ -7855,7 +7854,7 @@ function $01c33966d9ddb108$export$f50b88e2a00918b5(fn) {
|
|
|
7855
7854
|
}
|
|
7856
7855
|
};
|
|
7857
7856
|
}
|
|
7858
|
-
const $f5f54892fd0c7d9f$var$_tmpl$ = /*#__PURE__*/$8tj43$template(`<div class="depict plp category"
|
|
7857
|
+
const $f5f54892fd0c7d9f$var$_tmpl$ = /*#__PURE__*/$8tj43$template(`<div class="depict plp category">`);
|
|
7859
7858
|
function $f5f54892fd0c7d9f$var$_classPrivateFieldInitSpec(obj, privateMap, value) {
|
|
7860
7859
|
$f5f54892fd0c7d9f$var$_checkPrivateRedeclaration(obj, privateMap);
|
|
7861
7860
|
privateMap.set(obj, value);
|
|
@@ -8211,7 +8210,7 @@ function $f5f54892fd0c7d9f$var$get_shared_properties(depict_category) {
|
|
|
8211
8210
|
if (!shared_properties) throw new Error("Can't connect to provided DepictCategory instance");
|
|
8212
8211
|
return shared_properties;
|
|
8213
8212
|
}
|
|
8214
|
-
const $fa332ea03168857c$var$_tmpl$ = /*#__PURE__*/$8tj43$template(`<div class=
|
|
8213
|
+
const $fa332ea03168857c$var$_tmpl$ = /*#__PURE__*/$8tj43$template(`<div class=category-title><h1 class=title></h1><span class=explanation> — <!$><!/>`);
|
|
8215
8214
|
const $fa332ea03168857c$export$b91cec6bdc6b32a1 = /*@__PURE__*/(() => {
|
|
8216
8215
|
const actual_function = _ref => {
|
|
8217
8216
|
let {
|
|
@@ -8237,7 +8236,7 @@ const $fa332ea03168857c$export$b91cec6bdc6b32a1 = /*@__PURE__*/(() => {
|
|
|
8237
8236
|
actual_function[(0, $ec8a6e10026dcff9$export$5c28802497c8a83c)] = "simple";
|
|
8238
8237
|
return actual_function;
|
|
8239
8238
|
})();
|
|
8240
|
-
const $702d7656a373973e$var$_tmpl$ = /*#__PURE__*/$8tj43$template(`<div class="sort-and-filter-buttons fake"
|
|
8239
|
+
const $702d7656a373973e$var$_tmpl$ = /*#__PURE__*/$8tj43$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><!$><!/><!$><!/><!$><!/>`);
|
|
8241
8240
|
const $702d7656a373973e$export$824dde41348efed1 = /*@__PURE__*/(() => {
|
|
8242
8241
|
const actual_function = _ref => {
|
|
8243
8242
|
let {
|
|
@@ -8402,7 +8401,7 @@ async function $96fd967c5b358ead$var$download_categories(tenant, market, type) {
|
|
|
8402
8401
|
return [];
|
|
8403
8402
|
}
|
|
8404
8403
|
}
|
|
8405
|
-
const $5eaa00b951637e96$var$_tmpl$ = /*#__PURE__*/$8tj43$template(`<div class=
|
|
8404
|
+
const $5eaa00b951637e96$var$_tmpl$ = /*#__PURE__*/$8tj43$template(`<div class=instant-card><div class=img-part></div><div class=right-part><div class=title-brand-tagline><span class=title>`);
|
|
8406
8405
|
function $5eaa00b951637e96$export$ee1733d9a8495996() {
|
|
8407
8406
|
return (() => {
|
|
8408
8407
|
const _el$ = $8tj43$getNextElement($5eaa00b951637e96$var$_tmpl$),
|
|
@@ -8420,8 +8419,8 @@ function $5eaa00b951637e96$export$ee1733d9a8495996() {
|
|
|
8420
8419
|
return _el$;
|
|
8421
8420
|
})();
|
|
8422
8421
|
}
|
|
8423
|
-
const $dea31647b99a443b$var$_tmpl$ = /*#__PURE__*/$8tj43$template(`<span class=
|
|
8424
|
-
$dea31647b99a443b$var$_tmpl$2 = /*#__PURE__*/$8tj43$template(`<a class=
|
|
8422
|
+
const $dea31647b99a443b$var$_tmpl$ = /*#__PURE__*/$8tj43$template(`<span class=parent-title>`),
|
|
8423
|
+
$dea31647b99a443b$var$_tmpl$2 = /*#__PURE__*/$8tj43$template(`<a class=category-suggestion><span class=title></span><!$><!/>`);
|
|
8425
8424
|
function $dea31647b99a443b$export$d757d54550ebfb3d(_ref) {
|
|
8426
8425
|
let {
|
|
8427
8426
|
category_suggestion_: category_suggestion_,
|
|
@@ -8456,11 +8455,11 @@ function $dea31647b99a443b$export$d757d54550ebfb3d(_ref) {
|
|
|
8456
8455
|
})();
|
|
8457
8456
|
}
|
|
8458
8457
|
$8tj43$delegateEvents(["click"]);
|
|
8459
|
-
const $ecc323d9c29305ee$var$_tmpl$ = /*#__PURE__*/$8tj43$template(`<svg xmlns=
|
|
8458
|
+
const $ecc323d9c29305ee$var$_tmpl$ = /*#__PURE__*/$8tj43$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">`);
|
|
8460
8459
|
function $ecc323d9c29305ee$export$1c641004b5485fed() {
|
|
8461
8460
|
return $8tj43$getNextElement($ecc323d9c29305ee$var$_tmpl$);
|
|
8462
8461
|
}
|
|
8463
|
-
const $ef0f18a578b32578$var$_tmpl$ = /*#__PURE__*/$8tj43$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"
|
|
8462
|
+
const $ef0f18a578b32578$var$_tmpl$ = /*#__PURE__*/$8tj43$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">`);
|
|
8464
8463
|
function $ef0f18a578b32578$export$82eafebb825fc23f() {
|
|
8465
8464
|
let props = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : {};
|
|
8466
8465
|
return (() => {
|
|
@@ -8474,8 +8473,8 @@ function $ef0f18a578b32578$export$82eafebb825fc23f() {
|
|
|
8474
8473
|
return _el$;
|
|
8475
8474
|
})();
|
|
8476
8475
|
}
|
|
8477
|
-
const $584c06c09cf4609d$var$_tmpl$ = /*#__PURE__*/$8tj43$template(`<button class=
|
|
8478
|
-
$584c06c09cf4609d$var$_tmpl$2 = /*#__PURE__*/$8tj43$template(`<div class=
|
|
8476
|
+
const $584c06c09cf4609d$var$_tmpl$ = /*#__PURE__*/$8tj43$template(`<button class=back type=button>`),
|
|
8477
|
+
$584c06c09cf4609d$var$_tmpl$2 = /*#__PURE__*/$8tj43$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>`);
|
|
8479
8478
|
function $584c06c09cf4609d$export$b94867ecbd698f21(_ref) {
|
|
8480
8479
|
let {
|
|
8481
8480
|
search_field_value_: search_field_value_,
|
|
@@ -8577,7 +8576,7 @@ function $584c06c09cf4609d$export$b94867ecbd698f21(_ref) {
|
|
|
8577
8576
|
input_field_ref_ === null || input_field_ref_ === void 0 || input_field_ref_(el);
|
|
8578
8577
|
});
|
|
8579
8578
|
typeof _ref$ === "function" && $8tj43$use(_ref$, _el$4);
|
|
8580
|
-
_el$4.classList.toggle("has-adjacent-back-button",
|
|
8579
|
+
_el$4.classList.toggle("has-adjacent-back-button", !!!!on_back_);
|
|
8581
8580
|
$8tj43$addEventListener(_el$5, "click", $8tj43$catchify(() => {
|
|
8582
8581
|
search_field_value_[1]("");
|
|
8583
8582
|
clear_filters_(true);
|
|
@@ -8605,14 +8604,14 @@ function $584c06c09cf4609d$export$b94867ecbd698f21(_ref) {
|
|
|
8605
8604
|
_v$4: undefined,
|
|
8606
8605
|
_v$5: undefined
|
|
8607
8606
|
});
|
|
8608
|
-
$8tj43$effect(() => _el$4
|
|
8607
|
+
$8tj43$effect(() => $8tj43$setProperty(_el$4, "value", search_field_value_[0]()));
|
|
8609
8608
|
$8tj43$runHydrationEvents();
|
|
8610
8609
|
return _el$;
|
|
8611
8610
|
})();
|
|
8612
8611
|
}
|
|
8613
8612
|
$8tj43$delegateEvents(["click", "keydown", "input", "pointerdown"]);
|
|
8614
|
-
const $8ef6232475d44150$var$_tmpl$ = /*#__PURE__*/$8tj43$template(`<div class=
|
|
8615
|
-
$8ef6232475d44150$var$_tmpl$2 = /*#__PURE__*/$8tj43$template(`<button class="show-more major"
|
|
8613
|
+
const $8ef6232475d44150$var$_tmpl$ = /*#__PURE__*/$8tj43$template(`<div class=search-recs><h3 class=search-recs-title></h3><!$><!/><!$><!/>`),
|
|
8614
|
+
$8ef6232475d44150$var$_tmpl$2 = /*#__PURE__*/$8tj43$template(`<button class="show-more major"type=button>`);
|
|
8616
8615
|
const $8ef6232475d44150$export$1c8c715550dc689d = 2;
|
|
8617
8616
|
function $8ef6232475d44150$export$7de92c4c2205ebf3(_ref) {
|
|
8618
8617
|
let {
|
|
@@ -8868,9 +8867,9 @@ async function $86b0ff0c85e5fc6c$export$e16630ecb9644a1c(_ref) {
|
|
|
8868
8867
|
const $b65f93acbf91da56$export$27b710c08412a7ad = obj => {
|
|
8869
8868
|
return Object.fromEntries(Object.keys(obj).map(key => [key, obj[key]()]));
|
|
8870
8869
|
};
|
|
8871
|
-
const $9a693c7e832d3f18$var$_tmpl$ = /*#__PURE__*/$8tj43$template(`<span class="orig price"
|
|
8872
|
-
$9a693c7e832d3f18$var$_tmpl$2 = /*#__PURE__*/$8tj43$template(`<a class=
|
|
8873
|
-
$9a693c7e832d3f18$var$_tmpl$3 = /*#__PURE__*/$8tj43$template(`<div class=
|
|
8870
|
+
const $9a693c7e832d3f18$var$_tmpl$ = /*#__PURE__*/$8tj43$template(`<span class="orig price"><!$><!/><!$><!/><!$><!/>`),
|
|
8871
|
+
$9a693c7e832d3f18$var$_tmpl$2 = /*#__PURE__*/$8tj43$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><!$><!/><!$><!/><!$><!/>`),
|
|
8872
|
+
$9a693c7e832d3f18$var$_tmpl$3 = /*#__PURE__*/$8tj43$template(`<div class=tagline>`);
|
|
8874
8873
|
const $9a693c7e832d3f18$export$b05c0ae390cf3e06 = (display_or_variant_container, _ref, router_) => {
|
|
8875
8874
|
let {
|
|
8876
8875
|
i18n: i18n
|
|
@@ -8996,7 +8995,7 @@ const $9a693c7e832d3f18$export$b05c0ae390cf3e06 = (display_or_variant_container,
|
|
|
8996
8995
|
})();
|
|
8997
8996
|
};
|
|
8998
8997
|
$8tj43$delegateEvents(["click"]);
|
|
8999
|
-
const $f7414b949aeabc90$var$_tmpl$ = /*#__PURE__*/$8tj43$template(`<div class=
|
|
8998
|
+
const $f7414b949aeabc90$var$_tmpl$ = /*#__PURE__*/$8tj43$template(`<div class=instant-results>`);
|
|
9000
8999
|
function $f7414b949aeabc90$export$62f101a8aa597bf8(_ref) {
|
|
9001
9000
|
let {
|
|
9002
9001
|
depict_api_: depict_api_,
|
|
@@ -9096,8 +9095,8 @@ function $f7414b949aeabc90$export$62f101a8aa597bf8(_ref) {
|
|
|
9096
9095
|
return _el$;
|
|
9097
9096
|
})();
|
|
9098
9097
|
}
|
|
9099
|
-
const $558d0596fcf0e0b0$var$_tmpl$ = /*#__PURE__*/$8tj43$template(`<div style=
|
|
9100
|
-
$558d0596fcf0e0b0$var$_tmpl$2 = /*#__PURE__*/$8tj43$template(`<div style=
|
|
9098
|
+
const $558d0596fcf0e0b0$var$_tmpl$ = /*#__PURE__*/$8tj43$template(`<div style=position:absolute;z-index:-1;pointer-events:none;width:100%;height:200%;top:-100%;>`),
|
|
9099
|
+
$558d0596fcf0e0b0$var$_tmpl$2 = /*#__PURE__*/$8tj43$template(`<div style=position:absolute;z-index:-1;pointer-events:none;width:100%;height:200%;>`);
|
|
9101
9100
|
function $558d0596fcf0e0b0$export$50b90be27d8502d9(el, _ref, bottom_distance) {
|
|
9102
9101
|
let [get_style_props, set_style_props] = _ref;
|
|
9103
9102
|
const overflow_style_beginning = "position:absolute;z-index:-1;pointer-events:none;width:100%;height:200%;";
|
|
@@ -9148,12 +9147,12 @@ function $e8776b492383c292$export$91c3b6774e8be0f5(_ref) {
|
|
|
9148
9147
|
return u_o.href;
|
|
9149
9148
|
});
|
|
9150
9149
|
}
|
|
9151
|
-
const $6d95ef50ee01d5a1$var$_tmpl$ = /*#__PURE__*/$8tj43$template(`<svg xmlns=
|
|
9150
|
+
const $6d95ef50ee01d5a1$var$_tmpl$ = /*#__PURE__*/$8tj43$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>`);
|
|
9152
9151
|
function $6d95ef50ee01d5a1$export$5d2caaa6b530761c() {
|
|
9153
9152
|
return $8tj43$getNextElement($6d95ef50ee01d5a1$var$_tmpl$);
|
|
9154
9153
|
}
|
|
9155
|
-
const $494c9ad553139dbc$var$_tmpl$ = /*#__PURE__*/$8tj43$template(`<div class=
|
|
9156
|
-
$494c9ad553139dbc$var$_tmpl$2 = /*#__PURE__*/$8tj43$template(`<a class=
|
|
9154
|
+
const $494c9ad553139dbc$var$_tmpl$ = /*#__PURE__*/$8tj43$template(`<div class=previous-searches><h2 class=text></h2><div class=list>`),
|
|
9155
|
+
$494c9ad553139dbc$var$_tmpl$2 = /*#__PURE__*/$8tj43$template(`<a class=item><div class=left><!$><!/><span class=line-clamp></span></div><button class=delete>`);
|
|
9157
9156
|
function $494c9ad553139dbc$export$a146ac6fa8346a25(_ref) {
|
|
9158
9157
|
let {
|
|
9159
9158
|
text_: text_,
|
|
@@ -9260,8 +9259,8 @@ function $494c9ad553139dbc$export$a146ac6fa8346a25(_ref) {
|
|
|
9260
9259
|
}
|
|
9261
9260
|
});
|
|
9262
9261
|
}
|
|
9263
|
-
const $02b6641aa50ce528$var$_tmpl$ = /*#__PURE__*/$8tj43$template(`<span class=
|
|
9264
|
-
$02b6641aa50ce528$var$_tmpl$2 = /*#__PURE__*/$8tj43$template(`<span
|
|
9262
|
+
const $02b6641aa50ce528$var$_tmpl$ = /*#__PURE__*/$8tj43$template(`<span class=highlighted-part>`),
|
|
9263
|
+
$02b6641aa50ce528$var$_tmpl$2 = /*#__PURE__*/$8tj43$template(`<span>`);
|
|
9265
9264
|
function $02b6641aa50ce528$export$ba17c5b7e6dda39f(_ref) {
|
|
9266
9265
|
let {
|
|
9267
9266
|
whole_text_to_display_: whole_text_to_display_memo,
|
|
@@ -9333,7 +9332,7 @@ function $02b6641aa50ce528$export$ba17c5b7e6dda39f(_ref) {
|
|
|
9333
9332
|
return _el$2;
|
|
9334
9333
|
})();
|
|
9335
9334
|
}
|
|
9336
|
-
const $3c5e15c6ee4227a9$var$_tmpl$ = /*#__PURE__*/$8tj43$template(`<svg xmlns=
|
|
9335
|
+
const $3c5e15c6ee4227a9$var$_tmpl$ = /*#__PURE__*/$8tj43$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">`);
|
|
9337
9336
|
function $3c5e15c6ee4227a9$export$605674723bcc715c() {
|
|
9338
9337
|
let props = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : {};
|
|
9339
9338
|
return (() => {
|
|
@@ -9343,15 +9342,15 @@ function $3c5e15c6ee4227a9$export$605674723bcc715c() {
|
|
|
9343
9342
|
return _el$;
|
|
9344
9343
|
})();
|
|
9345
9344
|
}
|
|
9346
|
-
const $40dd3f46f55d62ba$var$_tmpl$ = /*#__PURE__*/$8tj43$template(`<a class=
|
|
9347
|
-
$40dd3f46f55d62ba$var$_tmpl$2 = /*#__PURE__*/$8tj43$template(`<div class=
|
|
9348
|
-
$40dd3f46f55d62ba$var$_tmpl$3 = /*#__PURE__*/$8tj43$template(`<span class=
|
|
9349
|
-
$40dd3f46f55d62ba$var$_tmpl$4 = /*#__PURE__*/$8tj43$template(`<div class=
|
|
9350
|
-
$40dd3f46f55d62ba$var$_tmpl$5 = /*#__PURE__*/$8tj43$template(`<div class=
|
|
9351
|
-
$40dd3f46f55d62ba$var$_tmpl$6 = /*#__PURE__*/$8tj43$template(`<h2 class=
|
|
9352
|
-
$40dd3f46f55d62ba$var$_tmpl$7 = /*#__PURE__*/$8tj43$template(`<div class="suggestion-container query"
|
|
9353
|
-
$40dd3f46f55d62ba$var$_tmpl$8 = /*#__PURE__*/$8tj43$template(`<div class="suggestion-container page"
|
|
9354
|
-
$40dd3f46f55d62ba$var$_tmpl$9 = /*#__PURE__*/$8tj43$template(`<div class=
|
|
9345
|
+
const $40dd3f46f55d62ba$var$_tmpl$ = /*#__PURE__*/$8tj43$template(`<a class=suggestion>`),
|
|
9346
|
+
$40dd3f46f55d62ba$var$_tmpl$2 = /*#__PURE__*/$8tj43$template(`<div class=search-icon>`),
|
|
9347
|
+
$40dd3f46f55d62ba$var$_tmpl$3 = /*#__PURE__*/$8tj43$template(`<span class=type>`),
|
|
9348
|
+
$40dd3f46f55d62ba$var$_tmpl$4 = /*#__PURE__*/$8tj43$template(`<div class=with-parent-title><!$><!/><span class="value line-clamp">`),
|
|
9349
|
+
$40dd3f46f55d62ba$var$_tmpl$5 = /*#__PURE__*/$8tj43$template(`<div class=with-icon><!$><!/><!$><!/>`),
|
|
9350
|
+
$40dd3f46f55d62ba$var$_tmpl$6 = /*#__PURE__*/$8tj43$template(`<h2 class=text>`),
|
|
9351
|
+
$40dd3f46f55d62ba$var$_tmpl$7 = /*#__PURE__*/$8tj43$template(`<div class="suggestion-container query"><!$><!/><!$><!/>`),
|
|
9352
|
+
$40dd3f46f55d62ba$var$_tmpl$8 = /*#__PURE__*/$8tj43$template(`<div class="suggestion-container page">`),
|
|
9353
|
+
$40dd3f46f55d62ba$var$_tmpl$9 = /*#__PURE__*/$8tj43$template(`<div class=suggestions><!$><!/><!$><!/><!$><!/>`);
|
|
9355
9354
|
function $40dd3f46f55d62ba$export$e872e2339fb04a7f(_ref) {
|
|
9356
9355
|
let {
|
|
9357
9356
|
suggestion_memo_: suggestion_memo_,
|
|
@@ -9623,7 +9622,7 @@ function $40dd3f46f55d62ba$export$e872e2339fb04a7f(_ref) {
|
|
|
9623
9622
|
}
|
|
9624
9623
|
});
|
|
9625
9624
|
}
|
|
9626
|
-
const $76b6e14a50da4597$var$_tmpl$ = /*#__PURE__*/$8tj43$template(`<a target=
|
|
9625
|
+
const $76b6e14a50da4597$var$_tmpl$ = /*#__PURE__*/$8tj43$template(`<a target=_blank>`);
|
|
9627
9626
|
function $76b6e14a50da4597$export$1efe1013da60d0e4(e, href) {
|
|
9628
9627
|
if (e.metaKey || e.ctrlKey) {
|
|
9629
9628
|
// Open link in a new tab with cmd/ctrl + enter.
|
|
@@ -10029,7 +10028,7 @@ const $cc64aabf2c7a1f1a$export$1233ca167bf71f9a = styles => {
|
|
|
10029
10028
|
return "".concat(selector, " { ").concat($cc64aabf2c7a1f1a$export$af8311b651139246(css_properties), " }");
|
|
10030
10029
|
}).join(" ");
|
|
10031
10030
|
};
|
|
10032
|
-
const $a86e71c0015bd8ab$var$_tmpl$ = /*#__PURE__*/$8tj43$template(`<style
|
|
10031
|
+
const $a86e71c0015bd8ab$var$_tmpl$ = /*#__PURE__*/$8tj43$template(`<style>`);
|
|
10033
10032
|
function $a86e71c0015bd8ab$export$f021bdedd3ec901a(props) {
|
|
10034
10033
|
const valid_css_string = $8tj43$createMemo(() => {
|
|
10035
10034
|
return $cc64aabf2c7a1f1a$export$1233ca167bf71f9a(props.styles());
|
|
@@ -10040,10 +10039,10 @@ function $a86e71c0015bd8ab$export$f021bdedd3ec901a(props) {
|
|
|
10040
10039
|
return _el$;
|
|
10041
10040
|
})();
|
|
10042
10041
|
}
|
|
10043
|
-
const $e82132ed97521828$var$_tmpl$ = /*#__PURE__*/$8tj43$template(`<div class=
|
|
10044
|
-
$e82132ed97521828$var$_tmpl$2 = /*#__PURE__*/$8tj43$template(`<b
|
|
10045
|
-
$e82132ed97521828$var$_tmpl$3 = /*#__PURE__*/$8tj43$template(`<div class=
|
|
10046
|
-
$e82132ed97521828$var$_tmpl$4 = /*#__PURE__*/$8tj43$template(`<div class="depict plp search"><div class=
|
|
10042
|
+
const $e82132ed97521828$var$_tmpl$ = /*#__PURE__*/$8tj43$template(`<div class=discover-more><button class=major type=button>`),
|
|
10043
|
+
$e82132ed97521828$var$_tmpl$2 = /*#__PURE__*/$8tj43$template(`<b>`),
|
|
10044
|
+
$e82132ed97521828$var$_tmpl$3 = /*#__PURE__*/$8tj43$template(`<div class=depict-search-modal><div class=body><!$><!/><div class=padded><!$><!/><!$><!/><!$><!/></div><!$><!/></div><!$><!/>`),
|
|
10045
|
+
$e82132ed97521828$var$_tmpl$4 = /*#__PURE__*/$8tj43$template(`<div class="depict plp search"><div class=depict-search-modal-backdrop></div><!$><!/>`);
|
|
10047
10046
|
function $e82132ed97521828$export$1c593cbd6f1e10bc(_ref) {
|
|
10048
10047
|
let {
|
|
10049
10048
|
search_field_value_: props_search_field_value,
|
|
@@ -10301,8 +10300,8 @@ function $e82132ed97521828$var$close_modal_when_navigating_away(close_modal, sea
|
|
|
10301
10300
|
})();
|
|
10302
10301
|
}
|
|
10303
10302
|
$8tj43$delegateEvents(["click"]);
|
|
10304
|
-
const $754f319a849bfdbc$var$_tmpl$ = /*#__PURE__*/$8tj43$template(`<div class=
|
|
10305
|
-
$754f319a849bfdbc$var$_tmpl$2 = /*#__PURE__*/$8tj43$template(`<div class=
|
|
10303
|
+
const $754f319a849bfdbc$var$_tmpl$ = /*#__PURE__*/$8tj43$template(`<div class=category-suggestions>`),
|
|
10304
|
+
$754f319a849bfdbc$var$_tmpl$2 = /*#__PURE__*/$8tj43$template(`<div class=category-suggestion>`);
|
|
10306
10305
|
function $754f319a849bfdbc$export$c05a196222ba1302(_ref) {
|
|
10307
10306
|
let {
|
|
10308
10307
|
suggestions_: suggestions_,
|
|
@@ -10351,8 +10350,8 @@ function $754f319a849bfdbc$export$c05a196222ba1302(_ref) {
|
|
|
10351
10350
|
}
|
|
10352
10351
|
});
|
|
10353
10352
|
}
|
|
10354
|
-
const $69602b3d8fd54c38$var$_tmpl$ = /*#__PURE__*/$8tj43$template(`<b
|
|
10355
|
-
$69602b3d8fd54c38$var$_tmpl$2 = /*#__PURE__*/$8tj43$template(`<div class=
|
|
10353
|
+
const $69602b3d8fd54c38$var$_tmpl$ = /*#__PURE__*/$8tj43$template(`<b>`),
|
|
10354
|
+
$69602b3d8fd54c38$var$_tmpl$2 = /*#__PURE__*/$8tj43$template(`<div class=results-for>`);
|
|
10356
10355
|
function $69602b3d8fd54c38$export$9dd50d35b9d94fdf(_ref) {
|
|
10357
10356
|
let {
|
|
10358
10357
|
get_search_query_: get_search_query_,
|
|
@@ -10403,7 +10402,7 @@ function $8e8ce3f7a5eb11a6$export$41b4894022a3580f() {
|
|
|
10403
10402
|
})));
|
|
10404
10403
|
return style_props_;
|
|
10405
10404
|
}
|
|
10406
|
-
const $f3a159279dc1a8fb$var$_tmpl$ = /*#__PURE__*/$8tj43$template(`<span class=
|
|
10405
|
+
const $f3a159279dc1a8fb$var$_tmpl$ = /*#__PURE__*/$8tj43$template(`<span class=highlighted-part>`);
|
|
10407
10406
|
const $f3a159279dc1a8fb$var$dont_cut_in_between_less_than_characters = 30;
|
|
10408
10407
|
function $f3a159279dc1a8fb$export$e1a98a189fd2c0e7(_ref) {
|
|
10409
10408
|
let {
|
|
@@ -10635,10 +10634,10 @@ function $f3a159279dc1a8fb$var$segment_text(text, matched_strings) {
|
|
|
10635
10634
|
}
|
|
10636
10635
|
return output;
|
|
10637
10636
|
}
|
|
10638
|
-
const $22470de5f42cc35d$var$_tmpl$ = /*#__PURE__*/$8tj43$template(`<a
|
|
10639
|
-
$22470de5f42cc35d$var$_tmpl$2 = /*#__PURE__*/$8tj43$template(`<div
|
|
10640
|
-
$22470de5f42cc35d$var$_tmpl$3 = /*#__PURE__*/$8tj43$template(`<div class="description line-clamp"
|
|
10641
|
-
$22470de5f42cc35d$var$_tmpl$4 = /*#__PURE__*/$8tj43$template(`<div class=
|
|
10637
|
+
const $22470de5f42cc35d$var$_tmpl$ = /*#__PURE__*/$8tj43$template(`<a>`),
|
|
10638
|
+
$22470de5f42cc35d$var$_tmpl$2 = /*#__PURE__*/$8tj43$template(`<div>`),
|
|
10639
|
+
$22470de5f42cc35d$var$_tmpl$3 = /*#__PURE__*/$8tj43$template(`<div class="description line-clamp">`),
|
|
10640
|
+
$22470de5f42cc35d$var$_tmpl$4 = /*#__PURE__*/$8tj43$template(`<div class=content-card><div class=image></div><div class=info><!$><!/><!$><!/>`);
|
|
10642
10641
|
function $22470de5f42cc35d$export$f631859cab12b342(_ref) {
|
|
10643
10642
|
let {
|
|
10644
10643
|
router_: router_,
|
|
@@ -10804,9 +10803,9 @@ function $ad4f3c9872fbeb48$export$4405d077f0a20494(_ref) {
|
|
|
10804
10803
|
children: () => $8tj43$createComponent((0, $22470de5f42cc35d$export$f631859cab12b342), {})
|
|
10805
10804
|
});
|
|
10806
10805
|
}
|
|
10807
|
-
const $d53ebed6f63304e4$var$_tmpl$ = /*#__PURE__*/$8tj43$template(`<div class=
|
|
10808
|
-
$d53ebed6f63304e4$var$_tmpl$2 = /*#__PURE__*/$8tj43$template(`<button class=
|
|
10809
|
-
$d53ebed6f63304e4$var$_tmpl$3 = /*#__PURE__*/$8tj43$template(`<button class=
|
|
10806
|
+
const $d53ebed6f63304e4$var$_tmpl$ = /*#__PURE__*/$8tj43$template(`<div class=content-results><!$><!/><!$><!/>`),
|
|
10807
|
+
$d53ebed6f63304e4$var$_tmpl$2 = /*#__PURE__*/$8tj43$template(`<button class=view-more>`),
|
|
10808
|
+
$d53ebed6f63304e4$var$_tmpl$3 = /*#__PURE__*/$8tj43$template(`<button class=view-less>`);
|
|
10810
10809
|
const $d53ebed6f63304e4$export$70ceae36059a1036 = 1;
|
|
10811
10810
|
function $d53ebed6f63304e4$export$6d0c9c22f6652669(_ref) {
|
|
10812
10811
|
let {
|
|
@@ -10885,7 +10884,7 @@ function $d53ebed6f63304e4$export$6d0c9c22f6652669(_ref) {
|
|
|
10885
10884
|
})), _el$5, _co$2);
|
|
10886
10885
|
$8tj43$effect(() => {
|
|
10887
10886
|
var _content_results2;
|
|
10888
|
-
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");
|
|
10887
|
+
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");
|
|
10889
10888
|
});
|
|
10890
10889
|
return _el$;
|
|
10891
10890
|
})();
|
|
@@ -10920,8 +10919,8 @@ function $d53ebed6f63304e4$var$make_state_saved_rows(_ref2, i18n_) {
|
|
|
10920
10919
|
}));
|
|
10921
10920
|
return rows;
|
|
10922
10921
|
}
|
|
10923
|
-
const $da279c5a540c6846$var$_tmpl$ = /*#__PURE__*/$8tj43$template(`<div class=
|
|
10924
|
-
$da279c5a540c6846$var$_tmpl$2 = /*#__PURE__*/$8tj43$template(`<div class="depict plp search"><div class=
|
|
10922
|
+
const $da279c5a540c6846$var$_tmpl$ = /*#__PURE__*/$8tj43$template(`<div class=filter-results-for-one-row><!$><!/><!$><!/>`),
|
|
10923
|
+
$da279c5a540c6846$var$_tmpl$2 = /*#__PURE__*/$8tj43$template(`<div class="depict plp search"><div class=listing-page><!$><!/><!$><!/><!$><!/><!$><!/><!$><!/><!$><!/><!$><!/></div><!$><!/><!$><!/>`);
|
|
10925
10924
|
function $da279c5a540c6846$export$a54ec244c8863715(_ref) {
|
|
10926
10925
|
let {
|
|
10927
10926
|
depict_api_: depict_api_,
|
|
@@ -11388,7 +11387,7 @@ function $3f7203368ad0d3ca$export$ff7109b9b2b206ba(sdk_cols_at_size) {
|
|
|
11388
11387
|
return max_width == Infinity ? [cols] : [cols, max_width];
|
|
11389
11388
|
});
|
|
11390
11389
|
}
|
|
11391
|
-
const $eb064bc3350276c1$var$_tmpl$ = /*#__PURE__*/$8tj43$template(`<div class="depict plp search"
|
|
11390
|
+
const $eb064bc3350276c1$var$_tmpl$ = /*#__PURE__*/$8tj43$template(`<div class="depict plp search">`);
|
|
11392
11391
|
function $eb064bc3350276c1$var$_classPrivateFieldInitSpec(obj, privateMap, value) {
|
|
11393
11392
|
$eb064bc3350276c1$var$_checkPrivateRedeclaration(obj, privateMap);
|
|
11394
11393
|
privateMap.set(obj, value);
|