@depict-ai/ui 4.7.23 → 4.7.25

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.
@@ -1,8 +1,8 @@
1
- import { add_to_version_info as $b8hua$add_to_version_info, slider_fading_factory as $b8hua$slider_fading_factory, Amazing_Slider as $b8hua$Amazing_Slider, slider_snap_css as $b8hua$slider_snap_css, catchify as $b8hua$catchify, dlog as $b8hua$dlog, camelCasifyObject as $b8hua$camelCasifyObject, useExpandingContainer as $b8hua$useExpandingContainer, fetch_retry as $b8hua$fetch_retry, base_url as $b8hua$base_url, dwarn as $b8hua$dwarn, slider_fractional_factory as $b8hua$slider_fractional_factory, make_random_classname as $b8hua$make_random_classname, n_col_styling_with_dist as $b8hua$n_col_styling_with_dist, layout_get_visible_recs_without_partial_rows as $b8hua$layout_get_visible_recs_without_partial_rows, layout_get_total_rec_amount_for_row as $b8hua$layout_get_total_rec_amount_for_row, layout_media_query_header as $b8hua$layout_media_query_header, report as $b8hua$report, observer as $b8hua$observer, javascript_media_query as $b8hua$javascript_media_query, queueMacroTask as $b8hua$queueMacroTask, findMostFrequentItem as $b8hua$findMostFrequentItem, standard_price_format as $b8hua$standard_price_format, instant_exec_on_suspect_history_change as $b8hua$instant_exec_on_suspect_history_change, deparallelize_no_drop as $b8hua$deparallelize_no_drop, ContainedImage as $b8hua$ContainedImage, make_asyncIterable_exiter as $b8hua$make_asyncIterable_exiter, href_change_ipns as $b8hua$href_change_ipns, base64_encode_unicode as $b8hua$base64_encode_unicode, base64_decode_unicode as $b8hua$base64_decode_unicode, use_href_accessor as $b8hua$use_href_accessor, get_session_id as $b8hua$get_session_id, add_version_query_params as $b8hua$add_version_query_params, hex_to_rgb as $b8hua$hex_to_rgb, relative_luminance_from_rgb as $b8hua$relative_luminance_from_rgb, snakeCasifyObject as $b8hua$snakeCasifyObject, make_url_with_query_params as $b8hua$make_url_with_query_params, sort_obj as $b8hua$sort_obj, insert_surfaces as $b8hua$insert_surfaces } from "@depict-ai/utilishared/ES10";
2
- import { createSignal as $b8hua$createSignal, onCleanup as $b8hua$onCleanup, createContext as $b8hua$createContext, createEffect as $b8hua$createEffect, Show as $b8hua$Show, useContext as $b8hua$useContext, createMemo as $b8hua$createMemo, untrack as $b8hua$untrack, For as $b8hua$For, getOwner as $b8hua$getOwner, createResource as $b8hua$createResource, runWithOwner as $b8hua$runWithOwner, mergeProps as $b8hua$mergeProps1, Suspense as $b8hua$Suspense, createRenderEffect as $b8hua$createRenderEffect, Index as $b8hua$Index, createRoot as $b8hua$createRoot, createUniqueId as $b8hua$createUniqueId, createComputed as $b8hua$createComputed, ErrorBoundary as $b8hua$ErrorBoundary, splitProps as $b8hua$splitProps, on as $b8hua$on, batch as $b8hua$batch, createSelector as $b8hua$createSelector, children as $b8hua$children, createReaction as $b8hua$createReaction, mapArray as $b8hua$mapArray } from "solid-js";
1
+ import { add_to_version_info as $b8hua$add_to_version_info, slider_fading_factory as $b8hua$slider_fading_factory, Amazing_Slider as $b8hua$Amazing_Slider, slider_snap_css as $b8hua$slider_snap_css, catchify as $b8hua$catchify1, dlog as $b8hua$dlog1, camelCasifyObject as $b8hua$camelCasifyObject, useExpandingContainer as $b8hua$useExpandingContainer, fetch_retry as $b8hua$fetch_retry, base_url as $b8hua$base_url, dwarn as $b8hua$dwarn, slider_fractional_factory as $b8hua$slider_fractional_factory, make_random_classname as $b8hua$make_random_classname, n_col_styling_with_dist as $b8hua$n_col_styling_with_dist, layout_get_visible_recs_without_partial_rows as $b8hua$layout_get_visible_recs_without_partial_rows, layout_get_total_rec_amount_for_row as $b8hua$layout_get_total_rec_amount_for_row, layout_media_query_header as $b8hua$layout_media_query_header, report as $b8hua$report, observer as $b8hua$observer, javascript_media_query as $b8hua$javascript_media_query, queueMacroTask as $b8hua$queueMacroTask, findMostFrequentItem as $b8hua$findMostFrequentItem, standard_price_format as $b8hua$standard_price_format, instant_exec_on_suspect_history_change as $b8hua$instant_exec_on_suspect_history_change, deparallelize_no_drop as $b8hua$deparallelize_no_drop, ContainedImage as $b8hua$ContainedImage, make_asyncIterable_exiter as $b8hua$make_asyncIterable_exiter, href_change_ipns as $b8hua$href_change_ipns, base64_encode_unicode as $b8hua$base64_encode_unicode, base64_decode_unicode as $b8hua$base64_decode_unicode, use_href_accessor as $b8hua$use_href_accessor, get_session_id as $b8hua$get_session_id, add_version_query_params as $b8hua$add_version_query_params, hex_to_rgb as $b8hua$hex_to_rgb, relative_luminance_from_rgb as $b8hua$relative_luminance_from_rgb, snakeCasifyObject as $b8hua$snakeCasifyObject, make_url_with_query_params as $b8hua$make_url_with_query_params, sort_obj as $b8hua$sort_obj, insert_surfaces as $b8hua$insert_surfaces } from "@depict-ai/utilishared/ES10";
2
+ import { dlog as $b8hua$dlog, catchify as $b8hua$catchify, ListenableSet as $b8hua$ListenableSet, use_href_accessor as $b8hua$use_href_accessor1, queueMacroTask as $b8hua$queueMacroTask1, report as $b8hua$report1 } from "@depict-ai/utilishared/ES10";
3
+ import { createRoot as $b8hua$createRoot, createSignal as $b8hua$createSignal, createEffect as $b8hua$createEffect, onCleanup as $b8hua$onCleanup, createContext as $b8hua$createContext, Show as $b8hua$Show, useContext as $b8hua$useContext, createMemo as $b8hua$createMemo, untrack as $b8hua$untrack, For as $b8hua$For, getOwner as $b8hua$getOwner, createResource as $b8hua$createResource, runWithOwner as $b8hua$runWithOwner, mergeProps as $b8hua$mergeProps1, Suspense as $b8hua$Suspense, createRenderEffect as $b8hua$createRenderEffect, Index as $b8hua$Index, createUniqueId as $b8hua$createUniqueId, createComputed as $b8hua$createComputed, ErrorBoundary as $b8hua$ErrorBoundary, splitProps as $b8hua$splitProps, on as $b8hua$on, batch as $b8hua$batch, createSelector as $b8hua$createSelector, children as $b8hua$children, createReaction as $b8hua$createReaction, mapArray as $b8hua$mapArray } from "solid-js";
3
4
  import { ssr as $b8hua$ssr, ssrHydrationKey as $b8hua$ssrHydrationKey, escape as $b8hua$escape, createComponent as $b8hua$createComponent, isServer as $b8hua$isServer, insert as $b8hua$insert, ssrAttribute as $b8hua$ssrAttribute, ssrStyle as $b8hua$ssrStyle, mergeProps as $b8hua$mergeProps, ssrElement as $b8hua$ssrElement, ssrClassList as $b8hua$ssrClassList, spread as $b8hua$spread, Dynamic as $b8hua$Dynamic } from "solid-js/web";
4
5
  import $b8hua$babelruntimehelpersdefineProperty from "@babel/runtime/helpers/defineProperty";
5
- import { ListenableSet as $b8hua$ListenableSet, catchify as $b8hua$catchify1, use_href_accessor as $b8hua$use_href_accessor1, queueMacroTask as $b8hua$queueMacroTask1, report as $b8hua$report1 } from "@depict-ai/utilishared/ES10";
6
6
  import $b8hua$babelruntimehelpersclassPrivateFieldSet from "@babel/runtime/helpers/classPrivateFieldSet";
7
7
  import $b8hua$babelruntimehelpersclassPrivateFieldGet from "@babel/runtime/helpers/classPrivateFieldGet";
8
8
  import { createStore as $b8hua$createStore, reconcile as $b8hua$reconcile } from "solid-js/store";
@@ -10,7 +10,68 @@ import { createStore as $b8hua$createStore, reconcile as $b8hua$reconcile } from
10
10
  /*! Depict.ai search and product listing SDK */
11
11
  import { register_es_version } from "../../multi_import_deduplicator.mjs";
12
12
  register_es_version("ui", "ES10");
13
- const $8db9a15135765c11$export$83d89fbfd8236492 = "4.7.23";
13
+ const $8db9a15135765c11$export$83d89fbfd8236492 = "4.7.25";
14
+ let $715f7f2e53146662$var$elementsHoveredSignal;
15
+ let $715f7f2e53146662$var$consumersSignal;
16
+ function $715f7f2e53146662$export$d4d96868197be50e() {
17
+ if (!$715f7f2e53146662$var$elementsHoveredSignal || !$715f7f2e53146662$var$consumersSignal) $b8hua$createRoot(dispose => {
18
+ $715f7f2e53146662$var$elementsHoveredSignal = $b8hua$createSignal(new Set());
19
+ $715f7f2e53146662$var$consumersSignal = $b8hua$createSignal(0);
20
+ const [consumers] = $715f7f2e53146662$var$consumersSignal;
21
+ // No matter how often useMobileHover is called, only add one listener and get hovered elements once per touchmove event, for efficiency
22
+ $715f7f2e53146662$var$doHeavyCalculations();
23
+ $b8hua$createEffect(() => {
24
+ // No-one needs information anymore, stop listening
25
+ const users = consumers();
26
+ if (users < 1) {
27
+ $b8hua$dlog("Stopping to listen for mobile hover");
28
+ dispose();
29
+ $715f7f2e53146662$var$elementsHoveredSignal = undefined;
30
+ $715f7f2e53146662$var$consumersSignal = undefined;
31
+ }
32
+ });
33
+ });
34
+ const [elementsHovered] = $715f7f2e53146662$var$elementsHoveredSignal;
35
+ const [, setConsumers] = $715f7f2e53146662$var$consumersSignal;
36
+ setConsumers(prev => prev + 1);
37
+ $b8hua$onCleanup(() => setConsumers(prev => prev - 1));
38
+ return elementsHovered;
39
+ }
40
+ function $715f7f2e53146662$var$doHeavyCalculations() {
41
+ $b8hua$dlog("Starting to listen for mobile hover");
42
+ const [, setElementsHovered] = $715f7f2e53146662$var$elementsHoveredSignal;
43
+ const elementAtTouch = new Map();
44
+ const updateSet = () => setElementsHovered(new Set([...elementAtTouch.values()].filter(v => v)));
45
+ const setPositionHandler = $b8hua$catchify(evt => {
46
+ for (const touch of evt.changedTouches) elementAtTouch.set(touch.identifier, $715f7f2e53146662$var$getElementAtTouch(touch));
47
+ updateSet();
48
+ });
49
+ const deleteTouchHandler = $b8hua$catchify(evt => {
50
+ for (const touch of evt.changedTouches) elementAtTouch.delete(touch.identifier);
51
+ updateSet();
52
+ });
53
+ addEventListener("touchstart", setPositionHandler, {
54
+ passive: true
55
+ });
56
+ addEventListener("touchmove", setPositionHandler, {
57
+ passive: true
58
+ });
59
+ addEventListener("touchend", deleteTouchHandler, {
60
+ passive: true
61
+ });
62
+ addEventListener("touchcancel", deleteTouchHandler, {
63
+ passive: true
64
+ });
65
+ $b8hua$onCleanup(() => {
66
+ removeEventListener("touchstart", setPositionHandler);
67
+ removeEventListener("touchmove", setPositionHandler);
68
+ removeEventListener("touchend", deleteTouchHandler);
69
+ removeEventListener("touchcancel", deleteTouchHandler);
70
+ });
71
+ }
72
+ function $715f7f2e53146662$var$getElementAtTouch(touch) {
73
+ return document.elementFromPoint(touch.clientX, touch.clientY);
74
+ }
14
75
  function $a35e6f680c5bbc60$export$54299a3c81f5425() {
15
76
  const d = document;
16
77
  const [isVisible, setIsVisible] = $b8hua$createSignal(d.visibilityState !== "hidden");
@@ -260,7 +321,7 @@ function $2d7bad8684bc7f44$export$43f0fb951fcb0c54(_ref) {
260
321
  } catch (e) {
261
322
  if (!$2d7bad8684bc7f44$var$printedCloneError) {
262
323
  $2d7bad8684bc7f44$var$printedCloneError = true;
263
- $b8hua$dlog("Can't clone display", display, " (uncloneable objects in it), make sure you don't mutate it in the template since we cache.", e);
324
+ $b8hua$dlog1("Can't clone display", display, " (uncloneable objects in it), make sure you don't mutate it in the template since we cache.", e);
264
325
  }
265
326
  }
266
327
  let renderingResult;
@@ -360,7 +421,7 @@ function $618bd53ea0a41cd4$export$4a14175d33d81a96(_ref) {
360
421
  };
361
422
  // The following sets up an intersection observer to determine which results are in the viewport, used for the ScrollStatus indicator, knowing when to load more and any other consumer of the useProductCardIsVisible hook.
362
423
  const shouldObserve = $b8hua$createMemo(() => alwaysObserveCards_ || listenersForIntersecting() > 0);
363
- const intersection_observer = new IntersectionObserver($b8hua$catchify(records => {
424
+ const intersection_observer = new IntersectionObserver($b8hua$catchify1(records => {
364
425
  const intersectingValue = currentlyIntersecting();
365
426
  for (let i = 0; i < records.length; i++) {
366
427
  const record = records[i];
@@ -726,7 +787,7 @@ function $63f1f8dbcd07d3b0$export$445d8d3f5f706a40(props, container_element) {
726
787
  }
727
788
  update_children_count();
728
789
  if (!(0, $b8hua$isServer)) {
729
- const mutation_observer = new MutationObserver($b8hua$catchify(update_children_count));
790
+ const mutation_observer = new MutationObserver($b8hua$catchify1(update_children_count));
730
791
  mutation_observer.observe(container_element, {
731
792
  childList: true
732
793
  });
@@ -1013,7 +1074,7 @@ function $6db93f70c2db1486$export$2972b890694ced75(callback, _ref) {
1013
1074
  }
1014
1075
  function $56047603f9d212b6$export$e6fffe67d4cdd848(whatToWatch) {
1015
1076
  const [size, setSize] = $b8hua$createSignal(0);
1016
- const resizeObserver = new ResizeObserver($b8hua$catchify(records => {
1077
+ const resizeObserver = new ResizeObserver($b8hua$catchify1(records => {
1017
1078
  for (let j = 0; j < records.length; j++) {
1018
1079
  const {
1019
1080
  width: width
@@ -1028,7 +1089,7 @@ function $56047603f9d212b6$export$e6fffe67d4cdd848(whatToWatch) {
1028
1089
  let {
1029
1090
  element: element
1030
1091
  } = _ref;
1031
- return requestAnimationFrame($b8hua$catchify(() => resizeObserver.observe(element)));
1092
+ return requestAnimationFrame($b8hua$catchify1(() => resizeObserver.observe(element)));
1032
1093
  });
1033
1094
  $b8hua$onCleanup(() => {
1034
1095
  resizeObserver.disconnect();
@@ -1086,7 +1147,7 @@ function $56047603f9d212b6$export$6e5611bc7e57e477(props) {
1086
1147
  if (existingStack) return existingStack.add(fn);
1087
1148
  const newStack = new Set([fn]);
1088
1149
  if (listingContext) listingContext[$56047603f9d212b6$var$onIdleFunctionsSymbol] = newStack;
1089
- const processStackWhenIdle = () => $6db93f70c2db1486$export$2972b890694ced75($b8hua$catchify(deadline => {
1150
+ const processStackWhenIdle = () => $6db93f70c2db1486$export$2972b890694ced75($b8hua$catchify1(deadline => {
1090
1151
  const start = performance.now();
1091
1152
  const thirdDeadlineTime = deadline.timeRemaining() / 3; // observers coming after this take up 2-3x the time so don't use all of it
1092
1153
  for (const fn of newStack) {
@@ -1118,7 +1179,7 @@ function $56047603f9d212b6$export$6e5611bc7e57e477(props) {
1118
1179
  let prevValue;
1119
1180
  const aspectRatios = listingContext[$56047603f9d212b6$export$f8945274f08a3105] || (listingContext[$56047603f9d212b6$export$f8945274f08a3105] = new Set());
1120
1181
  const [, setMostPrevalentAspectRatio] = listingContext[$56047603f9d212b6$export$6066eb417ed2e9f7] || (listingContext[$56047603f9d212b6$export$6066eb417ed2e9f7] = $b8hua$createSignal());
1121
- img.addEventListener("load", $b8hua$catchify(() => {
1182
+ img.addEventListener("load", $b8hua$catchify1(() => {
1122
1183
  if (props.keyRatioUpdating) {
1123
1184
  if (!srcJustChanged) return;
1124
1185
  srcJustChanged = false;
@@ -1152,7 +1213,7 @@ function $56047603f9d212b6$export$6e5611bc7e57e477(props) {
1152
1213
  $b8hua$createEffect(() => {
1153
1214
  if (!props.size()) return; // wait until we have a size, run every time the size changes
1154
1215
  if (timeoutSet) return;
1155
- const handler = $b8hua$catchify(() => {
1216
+ const handler = $b8hua$catchify1(() => {
1156
1217
  if (gotCleanedUp) return;
1157
1218
  img.sizes = sizePX(); // use latest available value of props.size
1158
1219
  if (!sizeSetFastPath) {
@@ -1289,10 +1350,10 @@ function $60ec7a29849d81db$export$a71e92cfbb498adc(props) {
1289
1350
  return $b8hua$standard_price_format(props.price_, price_formatting.places_after_comma_, price_formatting.decimal_places_delimiter_, price_formatting.thousands_delimiter_);
1290
1351
  });
1291
1352
  }
1292
- var $0c5b1686f971e5e7$var$_tmpl$ = ["<div", ' class="img-wrapper">', "</div>"],
1293
- $0c5b1686f971e5e7$var$_tmpl$2 = ["<span", ' class="d-price original">', "</span>"],
1294
- $0c5b1686f971e5e7$var$_tmpl$3 = ["<div", ' class="right-part"><div class="text-container">', '<span class="', '">', "</span><!--$-->", "<!--/--></div><!--$-->", "<!--/--></div>"];
1295
- function $0c5b1686f971e5e7$export$b73ed90f0ee50dc3(_ref) {
1353
+ var $f84b097e079b0a33$var$_tmpl$ = ["<div", ' class="img-wrapper">', "</div>"],
1354
+ $f84b097e079b0a33$var$_tmpl$2 = ["<span", ' class="d-price original">', "</span>"],
1355
+ $f84b097e079b0a33$var$_tmpl$3 = ["<div", ' class="right-part"><div class="text-container">', '<span class="', '">', "</span><!--$-->", "<!--/--></div><!--$-->", "<!--/--></div>"];
1356
+ function $f84b097e079b0a33$export$b73ed90f0ee50dc3(_ref) {
1296
1357
  let {
1297
1358
  display_: display_,
1298
1359
  FavoriteButton_: FavoriteButton_,
@@ -1345,7 +1406,7 @@ function $0c5b1686f971e5e7$export$b73ed90f0ee50dc3(_ref) {
1345
1406
  });
1346
1407
  },
1347
1408
  get children() {
1348
- return $b8hua$ssr($0c5b1686f971e5e7$var$_tmpl$, $b8hua$ssrHydrationKey(), $b8hua$escape($b8hua$createComponent((0, $b8hua$Show), {
1409
+ return $b8hua$ssr($f84b097e079b0a33$var$_tmpl$, $b8hua$ssrHydrationKey(), $b8hua$escape($b8hua$createComponent((0, $b8hua$Show), {
1349
1410
  get when() {
1350
1411
  return imageUrl();
1351
1412
  },
@@ -1377,7 +1438,7 @@ function $0c5b1686f971e5e7$export$b73ed90f0ee50dc3(_ref) {
1377
1438
  return (animationEffectExists() ? isExpandedThrottledByOurEffectRun() : userWantsExpanded()) || animationIsRunning();
1378
1439
  },
1379
1440
  get children() {
1380
- return $b8hua$ssr($0c5b1686f971e5e7$var$_tmpl$3, $b8hua$ssrHydrationKey(), $b8hua$ssrElement("span", $b8hua$mergeProps({
1441
+ return $b8hua$ssr($f84b097e079b0a33$var$_tmpl$3, $b8hua$ssrHydrationKey(), $b8hua$ssrElement("span", $b8hua$mergeProps({
1381
1442
  "class": "d-title line-clamp"
1382
1443
  }, () => title() && {
1383
1444
  title: title()
@@ -1419,7 +1480,7 @@ function $0c5b1686f971e5e7$export$b73ed90f0ee50dc3(_ref) {
1419
1480
  return isOnSale();
1420
1481
  },
1421
1482
  get children() {
1422
- return $b8hua$ssr($0c5b1686f971e5e7$var$_tmpl$2, $b8hua$ssrHydrationKey(), $b8hua$escape($b8hua$createComponent((0, $b8hua$Show), {
1483
+ return $b8hua$ssr($f84b097e079b0a33$var$_tmpl$2, $b8hua$ssrHydrationKey(), $b8hua$escape($b8hua$createComponent((0, $b8hua$Show), {
1423
1484
  get when() {
1424
1485
  return variantToUse() && !originalPrice.loading;
1425
1486
  },
@@ -1473,7 +1534,7 @@ async function $c4103af154850e50$var$checkIfIsAffectedByChromeBug326498383() {
1473
1534
  const waitAFrame = () => new Promise(r => requestAnimationFrame(() => requestAnimationFrame(r)));
1474
1535
  const timeoutPromise = new Promise(r => {
1475
1536
  resolveTimeoutPromise = r;
1476
- setTimeout($b8hua$catchify(() => {
1537
+ setTimeout($b8hua$catchify1(() => {
1477
1538
  r();
1478
1539
  div.remove();
1479
1540
  }), 500);
@@ -1505,12 +1566,12 @@ async function $c4103af154850e50$var$checkIfIsAffectedByChromeBug326498383() {
1505
1566
  });
1506
1567
  await timeoutPromise;
1507
1568
  } catch (e) {
1508
- $b8hua$dlog("Failed to check if affected by chrome bug 326498383", e);
1569
+ $b8hua$dlog1("Failed to check if affected by chrome bug 326498383", e);
1509
1570
  }
1510
1571
  return isAffected;
1511
1572
  }
1512
- var $4089a7972a508539$var$_tmpl$ = ["<div", ' class="scroll-padding"><div class="', '" style="', '">', "</div></div>"];
1513
- function $4089a7972a508539$export$ebf0b1d4f90c09ae(_ref) {
1573
+ var $275d06a183ca0a29$var$_tmpl$ = ["<div", ' class="scroll-padding"><div class="', '" style="', '">', "</div></div>"];
1574
+ function $275d06a183ca0a29$export$ebf0b1d4f90c09ae(_ref) {
1514
1575
  let {
1515
1576
  displays_: displays_,
1516
1577
  FavoriteButton_: FavoriteButton_,
@@ -1530,6 +1591,7 @@ function $4089a7972a508539$export$ebf0b1d4f90c09ae(_ref) {
1530
1591
  const textFadeInAnimationRunning = $b8hua$createSignal(false);
1531
1592
  const [getSecondPartAnimationRunning] = textFadeInAnimationRunning;
1532
1593
  const [userWantsExpanded, setUserWantsExpanded] = userWantsExpandedSignal_;
1594
+ //const elementsHovered = useMobileHover();
1533
1595
  $c4103af154850e50$export$7b9a0e99f0aeb2f3().then(is => isAffectedByChromeBug = is);
1534
1596
  return $b8hua$createComponent((0, $5441862cd2f5e111$export$e68cff63f76bd15b), {
1535
1597
  get children() {
@@ -1538,7 +1600,7 @@ function $4089a7972a508539$export$ebf0b1d4f90c09ae(_ref) {
1538
1600
  return containerWidth_() || !displays_();
1539
1601
  },
1540
1602
  get children() {
1541
- return $b8hua$ssr($4089a7972a508539$var$_tmpl$, $b8hua$ssrHydrationKey(), "look-overlay ".concat(userWantsExpanded() ? "expanded" : "", " ").concat(!getSecondPartAnimationRunning() && userWantsExpanded() ? "resting-fully-expanded" : ""), $b8hua$ssrStyle(displays_() &&
1603
+ return $b8hua$ssr($275d06a183ca0a29$var$_tmpl$, $b8hua$ssrHydrationKey(), "look-overlay ".concat(userWantsExpanded() ? "expanded" : "", " ").concat(!getSecondPartAnimationRunning() && userWantsExpanded() ? "resting-fully-expanded" : ""), $b8hua$ssrStyle(displays_() &&
1542
1604
  // The styling is written like this to eke out animation smoothness on low CPU devices, git blame for previous, more readable versions.
1543
1605
  "--look-card-width:".concat(containerWidth_(), "px;--look-card-height:").concat(containerHeight_(), "px;--look-item-height:").concat(lookItemHeight() || 200, "px")), $b8hua$escape($b8hua$createComponent((0, $b8hua$Index), {
1544
1606
  get each() {
@@ -1547,7 +1609,7 @@ function $4089a7972a508539$export$ebf0b1d4f90c09ae(_ref) {
1547
1609
  });
1548
1610
  },
1549
1611
  children: (display, index) => {
1550
- return $b8hua$createComponent((0, $0c5b1686f971e5e7$export$b73ed90f0ee50dc3), {
1612
+ return $b8hua$createComponent((0, $f84b097e079b0a33$export$b73ed90f0ee50dc3), {
1551
1613
  pseudoRouter_: pseudoRouter_,
1552
1614
  animationDuration_: animationDuration_,
1553
1615
  display_: display,
@@ -1557,7 +1619,7 @@ function $4089a7972a508539$export$ebf0b1d4f90c09ae(_ref) {
1557
1619
  priceFormatting_: priceFormatting_,
1558
1620
  outerRef_: el => $b8hua$createEffect(() => {
1559
1621
  if (index !== 0) return;
1560
- const resizeObserver = new ResizeObserver($b8hua$catchify(records => setLookItemHeight(records.at(-1).contentRect.height)));
1622
+ const resizeObserver = new ResizeObserver($b8hua$catchify1(records => setLookItemHeight(records.at(-1).contentRect.height)));
1561
1623
  resizeObserver.observe(el);
1562
1624
  $b8hua$onCleanup(() => resizeObserver.disconnect());
1563
1625
  })
@@ -1572,11 +1634,11 @@ function $4089a7972a508539$export$ebf0b1d4f90c09ae(_ref) {
1572
1634
  /**
1573
1635
  * Workaround for Chrome bug 326498383, adapted version of https://stackoverflow.com/a/39494245
1574
1636
  */
1575
- function $4089a7972a508539$var$scrollingFunctionForChrome(element, targetScrollY, duration) {
1637
+ function $275d06a183ca0a29$var$scrollingFunctionForChrome(element, targetScrollY, duration) {
1576
1638
  let start;
1577
1639
  const startingY = element.scrollTop;
1578
1640
  const diff = targetScrollY - startingY;
1579
- const step = $b8hua$catchify(timestamp => {
1641
+ const step = $b8hua$catchify1(timestamp => {
1580
1642
  if (!start) start = timestamp;
1581
1643
  // Elapsed milliseconds since start of scrolling.
1582
1644
  const time = timestamp - start;
@@ -1589,8 +1651,8 @@ function $4089a7972a508539$var$scrollingFunctionForChrome(element, targetScrollY
1589
1651
  // Bootstrap our animation - it will get called right before next frame shall be rendered.
1590
1652
  requestAnimationFrame(step);
1591
1653
  }
1592
- var $697d8713dc82b9ab$var$_tmpl$ = ["<div", ' class="', '"><!--$-->', "<!--/--><!--$-->", "<!--/--></div>"];
1593
- function $697d8713dc82b9ab$export$44809a8a3e867e30(_ref) {
1654
+ var $22dd375b476673e2$var$_tmpl$ = ["<div", ' class="', '"><!--$-->', "<!--/--><!--$-->", "<!--/--></div>"];
1655
+ function $22dd375b476673e2$export$44809a8a3e867e30(_ref) {
1594
1656
  let {
1595
1657
  display_: display_,
1596
1658
  expandedLooksSignal_: [expandedLooks_, setExpandedLooks],
@@ -1608,7 +1670,7 @@ function $697d8713dc82b9ab$export$44809a8a3e867e30(_ref) {
1608
1670
  const index = $1e69163caedaab4e$export$e3faf4d95300054f();
1609
1671
  const [containerWidth_, setContainerWidth] = $b8hua$createSignal();
1610
1672
  const [containerHeight_, setContainerHeight] = $b8hua$createSignal();
1611
- const clickHandler = $b8hua$catchify(_ref2 => {
1673
+ const clickHandler = $b8hua$catchify1(_ref2 => {
1612
1674
  let {
1613
1675
  target: target
1614
1676
  } = _ref2;
@@ -1649,7 +1711,7 @@ function $697d8713dc82b9ab$export$44809a8a3e867e30(_ref) {
1649
1711
  }
1650
1712
  // Close us if another look expands
1651
1713
  $b8hua$createEffect(() => !expandedLooks_().has(us) && setUserWantsExpanded(false));
1652
- return $b8hua$ssr($697d8713dc82b9ab$var$_tmpl$, $b8hua$ssrHydrationKey(), "look-card ".concat(!display_() ? "placeholder" : ""), $b8hua$escape($b8hua$createComponent((0, $b8hua$Show), {
1714
+ return $b8hua$ssr($22dd375b476673e2$var$_tmpl$, $b8hua$ssrHydrationKey(), "look-card ".concat(!display_() ? "placeholder" : ""), $b8hua$escape($b8hua$createComponent((0, $b8hua$Show), {
1653
1715
  get when() {
1654
1716
  return display_();
1655
1717
  },
@@ -1668,7 +1730,7 @@ function $697d8713dc82b9ab$export$44809a8a3e867e30(_ref) {
1668
1730
  autoAdjustAspectRatio: true
1669
1731
  });
1670
1732
  }
1671
- })), $b8hua$escape($b8hua$createComponent((0, $4089a7972a508539$export$ebf0b1d4f90c09ae), {
1733
+ })), $b8hua$escape($b8hua$createComponent((0, $275d06a183ca0a29$export$ebf0b1d4f90c09ae), {
1672
1734
  displays_: () => {
1673
1735
  var _display_2;
1674
1736
  return (_display_2 = display_()) === null || _display_2 === void 0 ? void 0 : _display_2.displays;
@@ -1737,7 +1799,7 @@ class $ac571292d606f30b$export$7e1297a3a19f10d8 {
1737
1799
  * @param is_replace_ if you want to replace the current URL in history instead of pushing a new one
1738
1800
  * @param listing_id_ If you are navigating to a category and know the listing_id of, please provide it. This is for making a better devEx in js-ui
1739
1801
  */
1740
- go_to_: $b8hua$catchify(async _ref => {
1802
+ go_to_: $b8hua$catchify1(async _ref => {
1741
1803
  let {
1742
1804
  new_url_: raw_new_url,
1743
1805
  event_: event_,
@@ -1948,7 +2010,7 @@ function $bb34cd283e904784$export$2c9f9bf2092486aa(props) {
1948
2010
  return $bb34cd283e904784$var$runDisplayTransformersForLooks(baseData, listings, props.displayTransformers_);
1949
2011
  });
1950
2012
  const sharedOptions = {
1951
- product_card_template_: display => $697d8713dc82b9ab$export$44809a8a3e867e30({
2013
+ product_card_template_: display => $22dd375b476673e2$export$44809a8a3e867e30({
1952
2014
  display_: () => display,
1953
2015
  FavoriteButton_: props.FavoriteButton_,
1954
2016
  placeholderImageAspectRatio_: props.imagePlaceholderAspectRatio_,
@@ -2280,7 +2342,7 @@ function $f7414b949aeabc90$export$62f101a8aa597bf8(_ref) {
2280
2342
  // don't wait if it's the first request
2281
2343
  write_current_instant_query(value);
2282
2344
  clearTimeout(timeout);
2283
- timeout = setTimeout($b8hua$catchify(() => write_current_instant_query(value)), 250);
2345
+ timeout = setTimeout($b8hua$catchify1(() => write_current_instant_query(value)), 250);
2284
2346
  });
2285
2347
  const [search_results] = $b8hua$createResource($b8hua$createMemo(() => ({
2286
2348
  // <-- key order important, see comment below
@@ -2288,7 +2350,7 @@ function $f7414b949aeabc90$export$62f101a8aa597bf8(_ref) {
2288
2350
  market: market_(),
2289
2351
  locale: i18n_.backend_locale_(),
2290
2352
  query: read_current_instant_query()
2291
- })), $b8hua$catchify(async variable_data => {
2353
+ })), $b8hua$catchify1(async variable_data => {
2292
2354
  return depict_api_.query({
2293
2355
  // here it is (unfortunately) important that the keys in the object are in the same order as in SearchPage.tsx, because when JSON-encoding them to compare for caching the strings will be different otherwise
2294
2356
  limit: $b8hua$untrack(has_sort_or_filters_) ? max_cards : min_products_to_fetch_,
@@ -2389,7 +2451,7 @@ function $9974e016866745eb$export$c7e181728ad525f(url) {
2389
2451
  return;
2390
2452
  $9974e016866745eb$var$last_sent_value = new_value;
2391
2453
  const args = ["depict.send", "pageview", new_value];
2392
- $b8hua$dlog("Calling ga with args", ...args);
2454
+ $b8hua$dlog1("Calling ga with args", ...args);
2393
2455
  // @ts-ignore
2394
2456
  ga(...args);
2395
2457
  }
@@ -2404,7 +2466,7 @@ function $a09bb7c652acf957$export$3340fdd8259bd4fd(_ref) {
2404
2466
  if (process.env.GA === "false") return;
2405
2467
  let debounce_timeout;
2406
2468
  const stop_timeout = () => clearTimeout(debounce_timeout);
2407
- const send_to_ga = $b8hua$catchify(() => {
2469
+ const send_to_ga = $b8hua$catchify1(() => {
2408
2470
  const fake_url = new URL(location.href);
2409
2471
  const {
2410
2472
  searchParams: searchParams
@@ -2417,12 +2479,12 @@ function $a09bb7c652acf957$export$3340fdd8259bd4fd(_ref) {
2417
2479
  $b8hua$onCleanup(() => {
2418
2480
  setTimeout(
2419
2481
  // do it next event loop because search_field_value_ is wrong this one and search_query might be too because we want the old value to be put into the history entry and a framework like NextJS might take some time to navigate
2420
- $b8hua$catchify(() => {
2482
+ $b8hua$catchify1(() => {
2421
2483
  if ($b8hua$untrack(get_search_query_) === $b8hua$untrack(get_search_field_value_)) stop_timeout();
2422
2484
  }));
2423
2485
  });
2424
2486
  let first_call = true;
2425
- $b8hua$createEffect($b8hua$catchify(() => {
2487
+ $b8hua$createEffect($b8hua$catchify1(() => {
2426
2488
  get_search_field_value_();
2427
2489
  if (first_call) {
2428
2490
  // we only want to do stuff when it changes
@@ -2442,7 +2504,7 @@ function $e8776b492383c292$export$91c3b6774e8be0f5(_ref) {
2442
2504
  const [get_current_href, set_current_href] = $b8hua$createSignal(location.href);
2443
2505
  const [exit_iterable, exitable_iterable] = $b8hua$make_asyncIterable_exiter((0, $b8hua$href_change_ipns));
2444
2506
  $b8hua$onCleanup(exit_iterable);
2445
- $b8hua$catchify(async () => {
2507
+ $b8hua$catchify1(async () => {
2446
2508
  for await (const href of exitable_iterable)
2447
2509
  // use native links so ppl can cmdclick/right click and open in new tab and see target URL
2448
2510
  set_current_href(href);
@@ -2856,7 +2918,7 @@ function $75e33704f2a83029$var$actual_navigation_working_on_fake_data(_ref2) {
2856
2918
  if (!$b8hua$untrack(() => read_updating_blocked())) previous_value = sfv;
2857
2919
  });
2858
2920
  const owner = $b8hua$getOwner();
2859
- const handler = $b8hua$catchify(_ref3 => {
2921
+ const handler = $b8hua$catchify1(_ref3 => {
2860
2922
  let {
2861
2923
  keyCode: keyCode
2862
2924
  } = _ref3;
@@ -2923,7 +2985,7 @@ function $75e33704f2a83029$var$actual_navigation_working_on_fake_data(_ref2) {
2923
2985
  const el = element_();
2924
2986
  if (!el) return;
2925
2987
  el.addEventListener("keyup", handler);
2926
- $b8hua$onCleanup($b8hua$catchify(() => el.removeEventListener("keyup", handler)));
2988
+ $b8hua$onCleanup($b8hua$catchify1(() => el.removeEventListener("keyup", handler)));
2927
2989
  });
2928
2990
  }
2929
2991
  function $c4dee1ef44de29ca$export$af0124069c150252(_ref) {
@@ -3136,7 +3198,7 @@ let $c3820807ac1e6fd7$export$44dad306455dddf;
3136
3198
 
3137
3199
  function $fc830a7ee59416ef$export$ebdc3711f7e02ccd(what_to_watch) {
3138
3200
  const [width, setWidth] = $b8hua$createSignal();
3139
- const resizeObserver = new ResizeObserver($b8hua$catchify(records => {
3201
+ const resizeObserver = new ResizeObserver($b8hua$catchify1(records => {
3140
3202
  for (let j = 0; j < records.length; j++) {
3141
3203
  var _records$j$borderBoxS, _records$j$borderBoxS2, _records$j$borderBoxS3;
3142
3204
  const width = (_records$j$borderBoxS = (_records$j$borderBoxS2 = records[j].borderBoxSize) === null || _records$j$borderBoxS2 === void 0 ? void 0 : (_records$j$borderBoxS3 = _records$j$borderBoxS2[0]) === null || _records$j$borderBoxS3 === void 0 ? void 0 : _records$j$borderBoxS3.inlineSize) !== null && _records$j$borderBoxS !== void 0 ? _records$j$borderBoxS : what_to_watch.getBoundingClientRect().width;
@@ -3149,7 +3211,7 @@ function $fc830a7ee59416ef$export$ebdc3711f7e02ccd(what_to_watch) {
3149
3211
  let {
3150
3212
  element: element
3151
3213
  } = _ref;
3152
- return requestAnimationFrame($b8hua$catchify(() => {
3214
+ return requestAnimationFrame($b8hua$catchify1(() => {
3153
3215
  const current_size = what_to_watch.getBoundingClientRect().width;
3154
3216
  if (current_size)
3155
3217
  // If element has size, set signal to that. ResizeObserver only triggers when the content is visible in some cases, but it might already have a size. This reduces size filter expanding animation jank in chrome.
@@ -3196,7 +3258,7 @@ function $584c06c09cf4609d$export$b94867ecbd698f21(_ref) {
3196
3258
  let input_element;
3197
3259
  // This is the div where we recommend (and ourselves do) attach the event listener to that opens the search modal.
3198
3260
  let field_div;
3199
- $b8hua$createEffect($b8hua$catchify(async () => {
3261
+ $b8hua$createEffect($b8hua$catchify1(async () => {
3200
3262
  if (disabled_) return;
3201
3263
  // we aren't in DOM yet unfortunately, wouldn't even be with onMount
3202
3264
  await (0, $b8hua$observer).wait_for_element(input_element);
@@ -3276,18 +3338,18 @@ function $e56d241d0f33d459$export$fe334901e8bebd57() {
3276
3338
  offset: 0
3277
3339
  }, 1);
3278
3340
  animation.pause();
3279
- const fn = $b8hua$catchify(animation.play.bind(animation));
3341
+ const fn = $b8hua$catchify1(animation.play.bind(animation));
3280
3342
  cleanup_fns.push(fn);
3281
3343
  $b8hua$onCleanup(fn);
3282
3344
  } catch (e) {
3283
- $b8hua$dlog("Probably partial keyframe error", e);
3345
+ $b8hua$dlog1("Probably partial keyframe error", e);
3284
3346
  }
3285
3347
  if (getComputedStyle(element).overflow !== "hidden") {
3286
3348
  // safari gets special hacky treatment
3287
3349
  const style = element.style;
3288
3350
  const original_value = style.overflow;
3289
3351
  style.overflow = "hidden";
3290
- const fn = $b8hua$catchify(() => style.overflow = original_value);
3352
+ const fn = $b8hua$catchify1(() => style.overflow = original_value);
3291
3353
  cleanup_fns.push(fn);
3292
3354
  $b8hua$onCleanup(fn);
3293
3355
  }
@@ -3310,8 +3372,8 @@ function $a82a41ab7188eda2$export$93d9bfd0c9c1a5b8(close_modal, search_query_url
3310
3372
  let set_initial_values = false;
3311
3373
  let old_pathname;
3312
3374
  let old_param_value;
3313
- $b8hua$onCleanup($b8hua$catchify(exit_iterable));
3314
- $b8hua$catchify(async () => {
3375
+ $b8hua$onCleanup($b8hua$catchify1(exit_iterable));
3376
+ $b8hua$catchify1(async () => {
3315
3377
  for await (const href of exitable_iterable) {
3316
3378
  const u_o = new URL(href);
3317
3379
  const new_pathname = u_o.pathname;
@@ -3383,7 +3445,7 @@ function $40411f2ec772c376$var$RawClassicSearchModal(_ref) {
3383
3445
  } = alignmentSignals_ || {};
3384
3446
  const [bodyAlignmentStyle] = bodyAlignmentSignal;
3385
3447
  const [get_modal_search_results, set_modal_search_results_] = $b8hua$createSignal();
3386
- const close_on_escape_handler = $b8hua$catchify(_ref2 => {
3448
+ const close_on_escape_handler = $b8hua$catchify1(_ref2 => {
3387
3449
  let {
3388
3450
  key: key
3389
3451
  } = _ref2;
@@ -3410,7 +3472,7 @@ function $40411f2ec772c376$var$RawClassicSearchModal(_ref) {
3410
3472
  if (disable_scrolling_) $e56d241d0f33d459$export$fe334901e8bebd57();
3411
3473
  $a82a41ab7188eda2$export$93d9bfd0c9c1a5b8(close_modal_, search_query_url_param_name_);
3412
3474
  window.addEventListener("keydown", close_on_escape_handler);
3413
- $b8hua$onCleanup($b8hua$catchify(() => window.removeEventListener("keydown", close_on_escape_handler)));
3475
+ $b8hua$onCleanup($b8hua$catchify1(() => window.removeEventListener("keydown", close_on_escape_handler)));
3414
3476
  if (closing_animation_) register_closing_animation_(closing_animation_);
3415
3477
  $a09bb7c652acf957$export$3340fdd8259bd4fd({
3416
3478
  get_search_field_value_: get_search_field_value_,
@@ -3619,7 +3681,7 @@ function $2855bffe06ef7a03$var$decode_filter_data(op, encoded_data) {
3619
3681
  try {
3620
3682
  return JSON.parse($b8hua$base64_decode_unicode(encoded_data));
3621
3683
  } catch (e) {
3622
- $b8hua$dlog("Failed to fallback parse filter data", op, encoded_data, e);
3684
+ $b8hua$dlog1("Failed to fallback parse filter data", op, encoded_data, e);
3623
3685
  }
3624
3686
  return null;
3625
3687
  }
@@ -3680,7 +3742,7 @@ function $2855bffe06ef7a03$export$766e9676e74997d3(search_params, sorting_query_
3680
3742
  field: encoded_sorting.slice(0, -$2855bffe06ef7a03$var$descending_token.length),
3681
3743
  order: "desc"
3682
3744
  };
3683
- $b8hua$dlog("Invalid sorting query param value", encoded_sorting);
3745
+ $b8hua$dlog1("Invalid sorting query param value", encoded_sorting);
3684
3746
  return;
3685
3747
  }
3686
3748
  function $2855bffe06ef7a03$export$916e6850778505f6(search_params, filter_query_param_prefix, sorting_query_param) {
@@ -3688,7 +3750,7 @@ function $2855bffe06ef7a03$export$916e6850778505f6(search_params, filter_query_p
3688
3750
  const keys = [...search_params.keys()];
3689
3751
  for (const key of keys) if (key.startsWith(filter_query_param_prefix) || key === sorting_query_param || key.startsWith($2855bffe06ef7a03$var$legacy_filter_prefix)) search_params.delete(key);
3690
3752
  }
3691
- const $2855bffe06ef7a03$export$cf5feb2102aec7f2 = "went_sideways_clear_filters";
3753
+ const $2855bffe06ef7a03$export$84daa4fa1471698b = "#went_sideways_clear_filters";
3692
3754
  function $2855bffe06ef7a03$export$43cd1e747fecd42e(_ref2) {
3693
3755
  let {
3694
3756
  to_url_: to_url_,
@@ -3703,9 +3765,13 @@ function $2855bffe06ef7a03$export$43cd1e747fecd42e(_ref2) {
3703
3765
  const {
3704
3766
  searchParams: searchParams
3705
3767
  } = url_object;
3706
- if (set_clearing_flag_) searchParams.set($2855bffe06ef7a03$export$cf5feb2102aec7f2, "true");
3768
+ let transferredAnyFilters = false;
3707
3769
  if (from_search_params_.has(sorting_query_param_)) searchParams.set(sorting_query_param_, from_search_params_.get(sorting_query_param_));
3708
- for (const key of from_search_params_.keys()) if (key.startsWith(filter_query_param_prefix_)) searchParams.set(key, from_search_params_.get(key));
3770
+ for (const key of from_search_params_.keys()) if (key.startsWith(filter_query_param_prefix_)) {
3771
+ searchParams.set(key, from_search_params_.get(key));
3772
+ transferredAnyFilters = true;
3773
+ }
3774
+ if (set_clearing_flag_ && transferredAnyFilters) url_object.hash = $2855bffe06ef7a03$export$84daa4fa1471698b;
3709
3775
  if (was_url_object) return url_object;
3710
3776
  return url_object.href;
3711
3777
  }
@@ -4265,7 +4331,7 @@ function $06fcd2a345efd24d$var$RawSearchModalV2(_ref) {
4265
4331
  const random_classname_body = $b8hua$make_random_classname();
4266
4332
  const backdropRandomClassname = $b8hua$make_random_classname();
4267
4333
  const [get_modal_search_results_, set_modal_search_results_] = $b8hua$createSignal();
4268
- const close_on_escape_handler = $b8hua$catchify(evt => {
4334
+ const close_on_escape_handler = $b8hua$catchify1(evt => {
4269
4335
  if (evt.key === "Escape") {
4270
4336
  evt.preventDefault(); // Prevent the browser from closing/cancelling the modal so our animations have time to run
4271
4337
  close_modal_();
@@ -4368,7 +4434,7 @@ function $06fcd2a345efd24d$var$RawSearchModalV2(_ref) {
4368
4434
  $b8hua$createEffect($b8hua$on(get_search_field_value_, () => {
4369
4435
  setShowStaleListingSuggestions(true);
4370
4436
  clearTimeout(listingSuggestionsDebounceTimeout);
4371
- listingSuggestionsDebounceTimeout = setTimeout($b8hua$catchify(() => setShowStaleListingSuggestions(false)), 350);
4437
+ listingSuggestionsDebounceTimeout = setTimeout($b8hua$catchify1(() => setShowStaleListingSuggestions(false)), 350);
4372
4438
  }, {
4373
4439
  defer: true
4374
4440
  }));
@@ -4506,7 +4572,7 @@ function $06fcd2a345efd24d$var$RawSearchModalV2(_ref) {
4506
4572
  }
4507
4573
  });
4508
4574
  if (setSearchFieldOuterWidth_) {
4509
- const resizeObserver = new ResizeObserver($b8hua$catchify(records => setSearchFieldOuterWidth_(records.at(-1).contentRect.width)));
4575
+ const resizeObserver = new ResizeObserver($b8hua$catchify1(records => setSearchFieldOuterWidth_(records.at(-1).contentRect.width)));
4510
4576
  resizeObserver.observe(search_field);
4511
4577
  $b8hua$onCleanup(() => resizeObserver.disconnect());
4512
4578
  }
@@ -4556,7 +4622,7 @@ function $6a439680ae7e9ba3$var$ActualTabs(props) {
4556
4622
  });
4557
4623
  const isSelected = $b8hua$createSelector(currentlySelected);
4558
4624
  const owner = $b8hua$getOwner();
4559
- const updateTabsSignal = $b8hua$catchify1(() => $b8hua$runWithOwner(owner, () => setTabsReactive([...ourTabsSet])));
4625
+ const updateTabsSignal = $b8hua$catchify(() => $b8hua$runWithOwner(owner, () => setTabsReactive([...ourTabsSet])));
4560
4626
  const ourTabsSet = $6a439680ae7e9ba3$var$useTabs();
4561
4627
  const location = $b8hua$use_href_accessor1();
4562
4628
  const linkWithChangedHash = hash => {
@@ -4663,7 +4729,7 @@ function $6a439680ae7e9ba3$export$3e41faf802a29e71(props) {
4663
4729
  async function $d5f1e6a0f9117286$export$79b1565500412d9b(search_modal, modal_fn_opts, parent) {
4664
4730
  const body = parent || document.body || (await (0, $b8hua$observer).wait_for_element("body"));
4665
4731
  let dispose_and_remove;
4666
- const open_modal_ = $b8hua$catchify(async function () {
4732
+ const open_modal_ = $b8hua$catchify1(async function () {
4667
4733
  let extra_options_for_modal = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : {};
4668
4734
  let on_dispose = arguments.length > 1 ? arguments[1] : undefined;
4669
4735
  // Below await is very intentional,
@@ -4698,7 +4764,7 @@ async function $d5f1e6a0f9117286$export$79b1565500412d9b(search_modal, modal_fn_
4698
4764
  actually_close();else if (!animation_started && closing_animation) {
4699
4765
  var _catchify;
4700
4766
  animation_started = +new Date();
4701
- (_catchify = $b8hua$catchify(closing_animation)()) === null || _catchify === void 0 || _catchify.then($b8hua$catchify(actually_close));
4767
+ (_catchify = $b8hua$catchify1(closing_animation)()) === null || _catchify === void 0 || _catchify.then($b8hua$catchify1(actually_close));
4702
4768
  } else actually_close();
4703
4769
  };
4704
4770
  return search_modal({
@@ -4711,7 +4777,7 @@ async function $d5f1e6a0f9117286$export$79b1565500412d9b(search_modal, modal_fn_
4711
4777
  });
4712
4778
  body.append(...modal_els);
4713
4779
  });
4714
- const close_modal_ = $b8hua$catchify(() => {
4780
+ const close_modal_ = $b8hua$catchify1(() => {
4715
4781
  if (dispose_and_remove) {
4716
4782
  // modal is open
4717
4783
  const dispose_fn = dispose_and_remove;
@@ -4728,7 +4794,7 @@ async function $d5f1e6a0f9117286$export$79b1565500412d9b(search_modal, modal_fn_
4728
4794
  function $972f6bce0f9d61be$export$e183a13865960371(params_to_default_value, router_) {
4729
4795
  const signals = {};
4730
4796
  const entries = Object.entries(params_to_default_value);
4731
- const event_handler = $b8hua$catchify((what_happened, args) => {
4797
+ const event_handler = $b8hua$catchify1((what_happened, args) => {
4732
4798
  // Intentionally always update our signals to the history state to allow external control of SDK state for doing things like https://linear.app/depictai/issue/X-1432/is-this-possible-with-the-depict-sdk
4733
4799
  if (what_happened !== "popstate") return;
4734
4800
  // Had to undo the comment above,but leaving the history. Doing this because discovering why it doesn't work is a deja-vu and I don't want to have to discover it again.
@@ -4760,8 +4826,8 @@ function $972f6bce0f9d61be$export$e183a13865960371(params_to_default_value, rout
4760
4826
  });
4761
4827
  // history_dot_state_to_state needs to update after its signals after url_state does BUT in the same task (might even have to be in the same tick in the microtask queue). If we'd use window.addEventListener("popstate") it would be guaranteed to be too late since each event listener has its own task
4762
4828
  (0, $b8hua$instant_exec_on_suspect_history_change).add(event_handler);
4763
- $b8hua$onCleanup($b8hua$catchify(() => (0, $b8hua$instant_exec_on_suspect_history_change).delete(event_handler)));
4764
- $b8hua$createEffect($b8hua$catchify(() => $b8hua$untrack($b8hua$catchify(() => $972f6bce0f9d61be$var$history_state_change(signals, entries, history.state))))); // we need this to run after reading the initial state from history.state to write the defaults to history.state
4829
+ $b8hua$onCleanup($b8hua$catchify1(() => (0, $b8hua$instant_exec_on_suspect_history_change).delete(event_handler)));
4830
+ $b8hua$createEffect($b8hua$catchify1(() => $b8hua$untrack($b8hua$catchify1(() => $972f6bce0f9d61be$var$history_state_change(signals, entries, history.state))))); // we need this to run after reading the initial state from history.state to write the defaults to history.state
4765
4831
  return signals;
4766
4832
  }
4767
4833
  function $972f6bce0f9d61be$var$history_state_change(signals, entries, state) {
@@ -4899,7 +4965,7 @@ function $0706a7702baafc06$export$6b35356958ae5587(props) {
4899
4965
  // If someone clicks on a product card in the shop the look modal, close the modal the next time the href changes
4900
4966
  for (const item of resolved()) {
4901
4967
  if (!(item instanceof Element)) return;
4902
- item.addEventListener("click", $b8hua$catchify(() =>
4968
+ item.addEventListener("click", $b8hua$catchify1(() =>
4903
4969
  // run with modal owner so we don't do stuff after the modal closes
4904
4970
  // can't have the owner of the product card as that gets disposed if the productId changes which might be too early (before location.href has changed)
4905
4971
  $b8hua$runWithOwner(props.modalOwner_, () => $b8hua$createEffect($b8hua$on(hrefWithoutHash, props.actually_close_modal_, {
@@ -5120,7 +5186,7 @@ function $6b0fd8fd20df8ccf$var$actualSetupModal() {
5120
5186
  (0, $68e6625c8d51f847$export$3064e1e8c6513da3).add(history_key);
5121
5187
  const actually_close_modal_ = () => set_history_value(false);
5122
5188
  const owner = $b8hua$getOwner();
5123
- $b8hua$catchify(async () => {
5189
+ $b8hua$catchify1(async () => {
5124
5190
  const {
5125
5191
  open_modal_: open_modal_,
5126
5192
  close_modal_: close_modal_
@@ -5195,15 +5261,15 @@ function $ad371564683947ab$export$6c6d7a51fa9aa15d(props) {
5195
5261
  $b8hua$insert(details_, [summary_, $b8hua$createComponent(ExpandingContainer, {
5196
5262
  children: children
5197
5263
  })], null);
5198
- if (!$b8hua$untrack(is_in_dom)) (0, $b8hua$observer).wait_for_element(details_).then($b8hua$catchify(() => set_is_in_dom(true)));
5199
- $b8hua$createEffect($b8hua$catchify(async () => {
5264
+ if (!$b8hua$untrack(is_in_dom)) (0, $b8hua$observer).wait_for_element(details_).then($b8hua$catchify1(() => set_is_in_dom(true)));
5265
+ $b8hua$createEffect($b8hua$catchify1(async () => {
5200
5266
  const is_open = is_open_memo();
5201
5267
  if (!is_in_dom())
5202
5268
  // wait with setting state until we're in DOM, animation won't work otherwise
5203
5269
  return;
5204
5270
  if (dont_animate_if_instant_open_ && fresh_component && !timeout_started) {
5205
5271
  timeout_started = true;
5206
- setTimeout($b8hua$catchify(() => fresh_component = false));
5272
+ setTimeout($b8hua$catchify1(() => fresh_component = false));
5207
5273
  }
5208
5274
  if (is_open) {
5209
5275
  details_.open = true; // open up the toggle so the animation can happen
@@ -5211,10 +5277,10 @@ function $ad371564683947ab$export$6c6d7a51fa9aa15d(props) {
5211
5277
  await expand(0, do_duration);
5212
5278
  } else {
5213
5279
  const animation = await collapse();
5214
- animation === null || animation === void 0 || animation.addEventListener("finish", $b8hua$catchify(() => details_.open = false));
5280
+ animation === null || animation === void 0 || animation.addEventListener("finish", $b8hua$catchify1(() => details_.open = false));
5215
5281
  }
5216
5282
  }));
5217
- details_.addEventListener("toggle", $b8hua$catchify(() => {
5283
+ details_.addEventListener("toggle", $b8hua$catchify1(() => {
5218
5284
  const {
5219
5285
  open: open
5220
5286
  } = details_;
@@ -5224,11 +5290,11 @@ function $ad371564683947ab$export$6c6d7a51fa9aa15d(props) {
5224
5290
  }) // in case someone somehow toggles it without us intercepting it at least follow suit
5225
5291
  );
5226
5292
 
5227
- summary_.addEventListener("click", $b8hua$catchify(ev => {
5293
+ summary_.addEventListener("click", $b8hua$catchify1(ev => {
5228
5294
  ev.preventDefault();
5229
5295
  toggle();
5230
5296
  }));
5231
- summary_.addEventListener("keydown", $b8hua$catchify(ev => {
5297
+ summary_.addEventListener("keydown", $b8hua$catchify1(ev => {
5232
5298
  const {
5233
5299
  key: key
5234
5300
  } = ev;
@@ -5465,9 +5531,9 @@ function $4711a82d08d2021b$export$fecbb157621501bd(_ref) {
5465
5531
  });
5466
5532
  const [is_in_dom, set_is_in_dom] = $b8hua$createSignal(document.documentElement.contains(outmost_element));
5467
5533
  const hidden = $b8hua$createMemo(() => get_search_filters_open_() || get_search_sorting_open_());
5468
- if (!$b8hua$untrack(is_in_dom)) (0, $b8hua$observer).wait_for_element(outmost_element).then($b8hua$catchify(() => set_is_in_dom(true)));
5534
+ if (!$b8hua$untrack(is_in_dom)) (0, $b8hua$observer).wait_for_element(outmost_element).then($b8hua$catchify1(() => set_is_in_dom(true)));
5469
5535
  outmost_element.classList.add("selected-filters");
5470
- $b8hua$createEffect($b8hua$catchify(async () => {
5536
+ $b8hua$createEffect($b8hua$catchify1(async () => {
5471
5537
  if (!is_in_dom())
5472
5538
  // wait with setting state until we're in DOM, animation won't work otherwise
5473
5539
  return;
@@ -5623,7 +5689,7 @@ function $133484ef10e4e954$export$dd948f91abc3a1c4(_ref) {
5623
5689
  }) : []);
5624
5690
  });
5625
5691
  $b8hua$onCleanup(() => set_view_more_button_below_group_());
5626
- $b8hua$createEffect($b8hua$catchify(async () => {
5692
+ $b8hua$createEffect($b8hua$catchify1(async () => {
5627
5693
  if (!togglable_rest()) {
5628
5694
  await collapse();
5629
5695
  return;
@@ -5749,7 +5815,7 @@ function $1e7465a8ffa97f6c$export$e0d834a0ad870cda(_ref) {
5749
5815
  });
5750
5816
  $b8hua$createComputed(() => {
5751
5817
  clearTimeout(debounce_timeout);
5752
- debounce_timeout = setTimeout($b8hua$catchify(range => $b8hua$untrack(() => {
5818
+ debounce_timeout = setTimeout($b8hua$catchify1(range => $b8hua$untrack(() => {
5753
5819
  const default_data = defaultRange();
5754
5820
  const filter_object = {
5755
5821
  op: filter_().op,
@@ -6302,7 +6368,7 @@ function $0ae614c5c7babb43$export$a32086fa6616eafd(_ref) {
6302
6368
  }
6303
6369
  while (execute_when_structure_finished.length) execute_when_structure_finished.pop()();
6304
6370
  $0ae614c5c7babb43$var$expand_until_choice(data_structure);
6305
- $b8hua$dlog("CheckboxHierarchicalFilter: Recomputed structured_categories", data_structure);
6371
+ $b8hua$dlog1("CheckboxHierarchicalFilter: Recomputed structured_categories", data_structure);
6306
6372
  return data_structure;
6307
6373
  });
6308
6374
  const some_top_level_are_hidden = $b8hua$createMemo(() => Object.keys(structured_categories()).length > $0ae614c5c7babb43$var$max_visible_without_collapsing);
@@ -6332,7 +6398,7 @@ function $0ae614c5c7babb43$export$a32086fa6616eafd(_ref) {
6332
6398
  }) : []);
6333
6399
  });
6334
6400
  $b8hua$onCleanup(() => set_view_more_button_below_group());
6335
- $b8hua$createEffect($b8hua$catchify(async () => {
6401
+ $b8hua$createEffect($b8hua$catchify1(async () => {
6336
6402
  if (!some_top_level_are_hidden()) {
6337
6403
  await collapse();
6338
6404
  return;
@@ -6405,7 +6471,7 @@ function $0ae614c5c7babb43$var$render_stuff(data, existing_filter, i18n_, filter
6405
6471
  return (_value$is_checked_$ = (_value7 = value()) === null || _value7 === void 0 ? void 0 : (_value7$is_checked_ = _value7.is_checked_) === null || _value7$is_checked_ === void 0 ? void 0 : (_value7$is_checked_$ = _value7$is_checked_[0]) === null || _value7$is_checked_$ === void 0 ? void 0 : _value7$is_checked_$.call(_value7$is_checked_)) !== null && _value$is_checked_$ !== void 0 ? _value$is_checked_$ : false;
6406
6472
  },
6407
6473
  input_ref_: input => {
6408
- input.addEventListener("change", $b8hua$catchify(() => $b8hua$untrack(() => {
6474
+ input.addEventListener("change", $b8hua$catchify1(() => $b8hua$untrack(() => {
6409
6475
  var _value9;
6410
6476
  const {
6411
6477
  checked: checked
@@ -6492,7 +6558,7 @@ function $0ae614c5c7babb43$var$batching_filter_state_syncer(props) {
6492
6558
  existing_filter_: existing_filter_
6493
6559
  } = props;
6494
6560
  let sync_queued = false;
6495
- const sync_fn = $b8hua$catchify(async () => {
6561
+ const sync_fn = $b8hua$catchify1(async () => {
6496
6562
  sync_queued = false;
6497
6563
  // if we change, update filter state - next microtask, so that "reactions" to the change can process before we send it off to the API
6498
6564
  const set_filter = existing_filter_();
@@ -6516,7 +6582,7 @@ function $0ae614c5c7babb43$var$batching_filter_state_syncer(props) {
6516
6582
  ...base_object,
6517
6583
  data: data
6518
6584
  };
6519
- $b8hua$dlog("CheckboxHierarchicalFilter: Updating API state", filter_object);
6585
+ $b8hua$dlog1("CheckboxHierarchicalFilter: Updating API state", filter_object);
6520
6586
  const selected_filters = [...selected_filters_[0]()];
6521
6587
  if (set_filter) selected_filters.splice(selected_filters.indexOf(set_filter), 1);
6522
6588
  if (filter_object.data.length) selected_filters.push(filter_object);
@@ -6554,13 +6620,13 @@ function $0ae614c5c7babb43$var$create_updating_signal(_ref3) {
6554
6620
  $b8hua$createComputed($b8hua$on(read_checked, trigger_sync_, {
6555
6621
  defer: true
6556
6622
  }));
6557
- $b8hua$createComputed($b8hua$on(read_checked, $b8hua$catchify(new_value => {
6623
+ $b8hua$createComputed($b8hua$on(read_checked, $b8hua$catchify1(new_value => {
6558
6624
  if (updating_blocked) return;
6559
6625
  for (const child of child_objects) child.is_checked_[1](new_value);
6560
6626
  }), {
6561
6627
  defer: true
6562
6628
  }));
6563
- $b8hua$createEffect($b8hua$on(get_child_object_values, $b8hua$catchify(() => {
6629
+ $b8hua$createEffect($b8hua$on(get_child_object_values, $b8hua$catchify1(() => {
6564
6630
  const all_kids_checked = get_child_object_values.every(accessor => accessor());
6565
6631
  if (all_kids_checked === read_checked()) return;
6566
6632
  updating_blocked = true;
@@ -7012,7 +7078,7 @@ function $2cb856c297c53e6c$export$82ed4b28ecb67608(_ref) {
7012
7078
  }) : []);
7013
7079
  });
7014
7080
  $b8hua$onCleanup(() => set_view_more_button_below_group_());
7015
- $b8hua$createEffect($b8hua$catchify(async () => {
7081
+ $b8hua$createEffect($b8hua$catchify1(async () => {
7016
7082
  if (!togglable_rest()) {
7017
7083
  await collapse();
7018
7084
  set_having_expanding_in_dom(false); // Once animation has finished, remove expanding from DOM
@@ -7706,14 +7772,14 @@ async function $50aebf5b445518eb$export$58e808b1db15d3bc(options) {
7706
7772
  headers: headers
7707
7773
  } : {}),
7708
7774
  method: "POST"
7709
- }).catch(e => $b8hua$dlog("fetch_retry threw", e)).then(async maybe_response => {
7775
+ }).catch(e => $b8hua$dlog1("fetch_retry threw", e)).then(async maybe_response => {
7710
7776
  var _decoded;
7711
7777
  if (!maybe_response) return [];
7712
7778
  let decoded;
7713
7779
  try {
7714
7780
  decoded = await maybe_response.json();
7715
7781
  } catch (e) {
7716
- $b8hua$dlog("Failed to decode JSON", e);
7782
+ $b8hua$dlog1("Failed to decode JSON", e);
7717
7783
  }
7718
7784
  return ((_decoded = decoded) === null || _decoded === void 0 ? void 0 : _decoded.displays) || [];
7719
7785
  });
@@ -7758,7 +7824,7 @@ const $702d7656a373973e$export$824dde41348efed1 = /*@__PURE__*/(() => {
7758
7824
 
7759
7825
  const observe_to_signal = (element, setter) => {
7760
7826
  const computed_style = getComputedStyle(element);
7761
- const resize_observer = new ResizeObserver($b8hua$catchify(() => {
7827
+ const resize_observer = new ResizeObserver($b8hua$catchify1(() => {
7762
7828
  setter(element.getBoundingClientRect().width + parseFloat(computed_style.marginLeft) + parseFloat(computed_style.marginRight) + parseFloat(computed_style.borderRightWidth) + parseFloat(computed_style.borderLeftWidth));
7763
7829
  }));
7764
7830
  resize_observer.observe(element);
@@ -7813,7 +7879,7 @@ async function $160ea2b55d8772d2$export$c1a6b039e689a58e(merchant, market, local
7813
7879
  const in_ls = localStorage[localstorage_key];
7814
7880
  if (in_ls) localstorage_value = JSON.parse(in_ls);
7815
7881
  } catch (e) {
7816
- $b8hua$dlog("Failed parsing JSON from localStorage", e);
7882
+ $b8hua$dlog1("Failed parsing JSON from localStorage", e);
7817
7883
  }
7818
7884
  const updated = (_localstorage_value = localstorage_value) === null || _localstorage_value === void 0 ? void 0 : _localstorage_value.updated;
7819
7885
  const now = +new Date();
@@ -7857,12 +7923,12 @@ async function $160ea2b55d8772d2$var$download_categories(merchant, market, local
7857
7923
  if (!fetched) return [];
7858
7924
  try {
7859
7925
  if (fetched.status !== 200) {
7860
- $b8hua$dlog("failed to fetch queries, server responded with", fetched.status, fetched, await fetched.text());
7926
+ $b8hua$dlog1("failed to fetch queries, server responded with", fetched.status, fetched, await fetched.text());
7861
7927
  return [];
7862
7928
  }
7863
7929
  return await fetched.json();
7864
7930
  } catch (e) {
7865
- $b8hua$dlog("failed to decode queries json", fetched, e);
7931
+ $b8hua$dlog1("failed to decode queries json", fetched, e);
7866
7932
  return [];
7867
7933
  }
7868
7934
  }
@@ -8168,9 +8234,9 @@ function $284849364a6ef73a$var$_get_cache_obj_for_endpoint2(endpoint) {
8168
8234
  return (_classPrivateFieldGet4 = $b8hua$babelruntimehelpersclassPrivateFieldGet(this, $284849364a6ef73a$var$_cache_objs))[endpoint] || (_classPrivateFieldGet4[endpoint] = {
8169
8235
  in_progress_: {},
8170
8236
  cache_: {},
8171
- finalization_registry_: $b8hua$babelruntimehelpersclassPrivateFieldGet(this, $284849364a6ef73a$var$_supports_finalization_registry) ? new FinalizationRegistry($b8hua$catchify(key => {
8237
+ finalization_registry_: $b8hua$babelruntimehelpersclassPrivateFieldGet(this, $284849364a6ef73a$var$_supports_finalization_registry) ? new FinalizationRegistry($b8hua$catchify1(key => {
8172
8238
  const our_cache = $b8hua$babelruntimehelpersclassPrivateFieldGet(this, $284849364a6ef73a$var$_cache_objs)[endpoint].cache_;
8173
- $b8hua$dlog("[Search API]: removing", key, "from", our_cache);
8239
+ $b8hua$dlog1("[Search API]: removing", key, "from", our_cache);
8174
8240
  delete our_cache[key];
8175
8241
  })) : undefined
8176
8242
  });
@@ -8307,11 +8373,11 @@ async function $284849364a6ef73a$var$_cached_request2(_ref4) {
8307
8373
  result = $ed0fefda39a0f15d$export$967e966fca9515e(result);
8308
8374
  cache_obj.cache_[body] = new WeakRef(result);
8309
8375
  resolve_in_progress(result);
8310
- setTimeout($b8hua$catchify(() => {
8376
+ setTimeout($b8hua$catchify1(() => {
8311
8377
  if ($b8hua$babelruntimehelpersclassPrivateFieldGet(this, $284849364a6ef73a$var$_supports_finalization_registry)) cache_obj.finalization_registry_.register(result, body); // delete key from cache when value (WeakRefs) are collected
8312
8378
  else
8313
8379
  // delete things from cache after 5 minutes, so it doesn't get too heavy
8314
- setTimeout($b8hua$catchify(() => delete cache_obj.cache_[body]), 300000);
8380
+ setTimeout($b8hua$catchify1(() => delete cache_obj.cache_[body]), 300000);
8315
8381
  }), 60000 // cache values for at least 60 seconds
8316
8382
  );
8317
8383
 
@@ -8343,7 +8409,7 @@ function $9d3d794b62318ecc$export$477caf01aecaeb2a(options) {
8343
8409
  const [get_selected_filters_, set_selected_filters] = selected_filters_;
8344
8410
  const [get_has_sideways_filter_clearing_flag_, set_has_sideways_filter_clearing_flag] = sideways_filter_clearing_flag_;
8345
8411
  const [get_current_href, set_current_href] = $b8hua$createSignal((_globalThis$location$ = globalThis === null || globalThis === void 0 ? void 0 : (_globalThis$location = globalThis.location) === null || _globalThis$location === void 0 ? void 0 : _globalThis$location.href) !== null && _globalThis$location$ !== void 0 ? _globalThis$location$ : "https://example.com");
8346
- const history_change_handler = $b8hua$catchify(() => set_current_href(location.href));
8412
+ const history_change_handler = $b8hua$catchify1(() => set_current_href(location.href));
8347
8413
  const owner = $b8hua$getOwner() || $b8hua$createRoot(() => $b8hua$getOwner());
8348
8414
  const {
8349
8415
  sorting_query_param_: sorting_query_param_,
@@ -8354,7 +8420,8 @@ function $9d3d794b62318ecc$export$477caf01aecaeb2a(options) {
8354
8420
  $b8hua$onCleanup(() => (0, $b8hua$instant_exec_on_suspect_history_change).delete(history_change_handler));
8355
8421
  $b8hua$createComputed(() => {
8356
8422
  const {
8357
- searchParams: searchParams
8423
+ searchParams: searchParams,
8424
+ hash: hash
8358
8425
  } = new URL(get_current_href());
8359
8426
  $b8hua$batch(() => {
8360
8427
  const found_sorting = $2855bffe06ef7a03$export$766e9676e74997d3(searchParams, sorting_query_param_);
@@ -8389,10 +8456,10 @@ function $9d3d794b62318ecc$export$477caf01aecaeb2a(options) {
8389
8456
  if (override_listing_id_query_param_names_) {
8390
8457
  const found_override_listing_id = override_listing_id_query_param_names_.map(n => searchParams.get(n)).find(n => n);
8391
8458
  set_override_listing_id(found_override_listing_id || null);
8392
- if (found_override_listing_id) $b8hua$dlog("Found override query id:", found_override_listing_id); // This stuff might get confusing so better log it
8459
+ if (found_override_listing_id) $b8hua$dlog1("Found override query id:", found_override_listing_id); // This stuff might get confusing so better log it
8393
8460
  }
8394
8461
 
8395
- if (searchParams.get((0, $2855bffe06ef7a03$export$cf5feb2102aec7f2)) === "true") set_has_sideways_filter_clearing_flag(true);
8462
+ if (hash === (0, $2855bffe06ef7a03$export$84daa4fa1471698b)) set_has_sideways_filter_clearing_flag(true);
8396
8463
  if (!writer_started) {
8397
8464
  // The owner here is the createComputed which gets disposed the next time the computation runs - but we actually just want to delay the start of the href_writer until our signals contain the current value of the URL, therefore the runWithOwner
8398
8465
  $b8hua$runWithOwner(owner, () => $9d3d794b62318ecc$var$start_href_writer({
@@ -8435,24 +8502,24 @@ function $9d3d794b62318ecc$var$start_href_writer(_ref3) {
8435
8502
  } = _ref3;
8436
8503
  $b8hua$createEffect($b8hua$on([get_sorting_, get_selected_filters_, get_has_sideways_filter_clearing_flag_], _ref4 => {
8437
8504
  let [sorting, filters, has_sideways_filter_clearing_flag] = _ref4;
8438
- const current_href = location.href;
8439
- const url_object = new URL(current_href);
8505
+ const url_object = new URL(location.href);
8506
+ const unmodified_search_params = [...url_object.searchParams];
8507
+ const unmodified_hash = url_object.hash;
8440
8508
  const {
8441
8509
  searchParams: searchParams
8442
8510
  } = url_object;
8443
8511
  $2855bffe06ef7a03$export$916e6850778505f6(searchParams, filter_query_param_prefix_, sorting_query_param_);
8444
8512
  $2855bffe06ef7a03$export$62acb285a7579555(sorting, searchParams, sorting_query_param_);
8445
8513
  $2855bffe06ef7a03$export$58aa3f171519b6d7(filters, searchParams, filter_query_param_prefix_);
8446
- if (!has_sideways_filter_clearing_flag) $9d3d794b62318ecc$var$delete_sideways_param_flag(searchParams);
8514
+ if (!has_sideways_filter_clearing_flag) $9d3d794b62318ecc$var$delete_sideways_param_flag(url_object);
8447
8515
  // We can't just check if the URL is equal since sometimes the order of the parameters in the URL changes (randomly?) so we need to compare them one by one
8448
- const unmodified_search_params = [...new URL(current_href).searchParams];
8449
8516
  const new_search_params = [...searchParams];
8450
8517
  // Having the array middle step because if we'd check the "size" property of the map the algorithm could be fooled if there were two query parameters with the same key
8451
8518
  const new_search_params_map = new Map(new_search_params);
8452
8519
  if (unmodified_search_params.length !== new_search_params.length || !unmodified_search_params.every(_ref5 => {
8453
8520
  let [key, value] = _ref5;
8454
8521
  return new_search_params_map.get(key) === value;
8455
- }))
8522
+ }) || unmodified_hash !== url_object.hash)
8456
8523
  // Only update URL if it actually changed
8457
8524
  router_.navigate_.go_to_({
8458
8525
  is_replace_: true,
@@ -8464,8 +8531,8 @@ function $9d3d794b62318ecc$var$start_href_writer(_ref3) {
8464
8531
  defer: true
8465
8532
  }));
8466
8533
  }
8467
- function $9d3d794b62318ecc$var$delete_sideways_param_flag(searchParams) {
8468
- if (searchParams.get((0, $2855bffe06ef7a03$export$cf5feb2102aec7f2)) === "true") searchParams.delete((0, $2855bffe06ef7a03$export$cf5feb2102aec7f2));
8534
+ function $9d3d794b62318ecc$var$delete_sideways_param_flag(url_object) {
8535
+ if (url_object.hash === (0, $2855bffe06ef7a03$export$84daa4fa1471698b)) url_object.hash = "";
8469
8536
  }
8470
8537
  function $f5f54892fd0c7d9f$var$_classPrivateFieldInitSpec(obj, privateMap, value) {
8471
8538
  $f5f54892fd0c7d9f$var$_checkPrivateRedeclaration(obj, privateMap);
@@ -8790,13 +8857,13 @@ function $a61a2051e15c8d7a$export$5196e4c01fa56fcb(_ref) {
8790
8857
  } = _ref;
8791
8858
  let close_toast_;
8792
8859
  const stay_open_promise = new Promise(r => close_toast_ = r);
8793
- $b8hua$catchify(async () => {
8860
+ $b8hua$catchify1(async () => {
8794
8861
  const closing_animation_duration = 300; // ms
8795
8862
  const element = $b8hua$ssrElement("div", more_attributes, () => $b8hua$escape(children), true);
8796
8863
  const [, set_is_showing_toast] = $a61a2051e15c8d7a$export$22970a0140fc759c;
8797
8864
  // if this is a memory leak the garbage collector is stupid - does someone know?
8798
- for (const ev of ["pointerover", "focusin"]) element.addEventListener(ev, $b8hua$catchify(() => closing_animation.pause()));
8799
- for (const ev of ["pointerout", "focusout"]) element.addEventListener(ev, $b8hua$catchify(() => closing_animation.play()));
8865
+ for (const ev of ["pointerover", "focusin"]) element.addEventListener(ev, $b8hua$catchify1(() => closing_animation.pause()));
8866
+ for (const ev of ["pointerout", "focusout"]) element.addEventListener(ev, $b8hua$catchify1(() => closing_animation.play()));
8800
8867
  const body = await (0, $b8hua$observer).wait_for_element("body");
8801
8868
  const x_translate = "translateX(-50%) ";
8802
8869
  let remove_keyboard_listener;
@@ -8821,7 +8888,7 @@ function $a61a2051e15c8d7a$export$5196e4c01fa56fcb(_ref) {
8821
8888
  // let other toasts close us if they open while we're still here
8822
8889
  $a61a2051e15c8d7a$var$closing_functions.add(close_toast_);
8823
8890
  set_is_showing_toast(true);
8824
- const handler = $b8hua$catchify(_ref2 => {
8891
+ const handler = $b8hua$catchify1(_ref2 => {
8825
8892
  let {
8826
8893
  key: key
8827
8894
  } = _ref2;
@@ -8956,7 +9023,7 @@ function $d8a66ba54a42eb3e$export$e026af0c7b64ea5f(_ref) {
8956
9023
  }, {
8957
9024
  defer: true
8958
9025
  }));
8959
- $b8hua$createComputed($b8hua$on(get_search_query_, $b8hua$catchify(() => {
9026
+ $b8hua$createComputed($b8hua$on(get_search_query_, $b8hua$catchify1(() => {
8960
9027
  // when a query was submitted, clear filters if clear was pressed before
8961
9028
  const clear_value = $b8hua$untrack(get_clear_filters_next_submit);
8962
9029
  if (clear_value) {
@@ -8983,11 +9050,11 @@ function $07d90b8270ece8de$export$84bba84a7b837187(read_search_query) {
8983
9050
  const key = "depict_searches";
8984
9051
  const previous_searches = $b8hua$createSignal(JSON.parse(ls[key] || "[]"));
8985
9052
  const [read_previous_searches, write_previous_searches] = previous_searches;
8986
- $b8hua$createEffect($b8hua$catchify(() => {
9053
+ $b8hua$createEffect($b8hua$catchify1(() => {
8987
9054
  const json_encoded = JSON.stringify(read_previous_searches());
8988
9055
  if (ls[key] !== json_encoded) ls[key] = json_encoded;
8989
9056
  }));
8990
- $b8hua$createComputed($b8hua$catchify(() => {
9057
+ $b8hua$createComputed($b8hua$catchify1(() => {
8991
9058
  const searches = $b8hua$untrack(read_previous_searches);
8992
9059
  const current_query = read_search_query();
8993
9060
  if (!current_query)
@@ -9033,7 +9100,7 @@ async function $86b0ff0c85e5fc6c$export$e16630ecb9644a1c(_ref) {
9033
9100
  function $33e7d1906c93db7d$export$205efb947c7ffd78(handler) {
9034
9101
  let passive = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : true;
9035
9102
  let override_element = arguments.length > 2 ? arguments[2] : undefined;
9036
- const catchified_handler = $b8hua$catchify(handler);
9103
+ const catchified_handler = $b8hua$catchify1(handler);
9037
9104
  const owner = $b8hua$getOwner();
9038
9105
  // Some customers (e.g. equestrian) have `height: 100%` and/or `overflow-x: hidden` on the body, which means that scroll events won't get dispatched on `window`. The pages who get it on <body> won't get it on `window` and vice-versa, so there shouldn't be a worry about duplicate calling of the handler.
9039
9106
  // Use observer in case that this gets called before body exists
@@ -9078,7 +9145,7 @@ function $96d57a48e7bce64f$export$181cceed5c91919e(callback, alsoRaF, passiveLis
9078
9145
  $b8hua$createEffect(() => {
9079
9146
  if (alsoRaF !== null && alsoRaF !== void 0 && alsoRaF()) {
9080
9147
  let disposed = false;
9081
- const fn = $b8hua$catchify(() => {
9148
+ const fn = $b8hua$catchify1(() => {
9082
9149
  if (disposed) return;
9083
9150
  probablyCallCallback();
9084
9151
  requestAnimationFrame(fn);
@@ -9091,10 +9158,10 @@ function $96d57a48e7bce64f$export$181cceed5c91919e(callback, alsoRaF, passiveLis
9091
9158
  // "resize" doesn't fire sometimes when it should, also it doesn't when showing/hiding scrollbars which disabling scrolling does
9092
9159
  // this works
9093
9160
  // keeping resize just in case
9094
- const resize_resize_observer = new ResizeObserver($b8hua$catchify(probablyCallCallback));
9161
+ const resize_resize_observer = new ResizeObserver($b8hua$catchify1(probablyCallCallback));
9095
9162
  resize_resize_observer.observe(document.documentElement);
9096
9163
  (0, $b8hua$observer).wait_for_element("body").then(resize_resize_observer.observe.bind(resize_resize_observer));
9097
- $b8hua$onCleanup($b8hua$catchify(() => resize_resize_observer.disconnect()));
9164
+ $b8hua$onCleanup($b8hua$catchify1(() => resize_resize_observer.disconnect()));
9098
9165
  return probablyCallCallback;
9099
9166
  }
9100
9167
  const $1308a7816c3d4f2d$export$3f238c96c45e6cc6 = 1;
@@ -9127,7 +9194,7 @@ function $1308a7816c3d4f2d$export$b3ad617e9036868(_ref, input_field, alignment,
9127
9194
  }, pollAlignment);
9128
9195
  let ro;
9129
9196
  if (alignment & $1308a7816c3d4f2d$export$902f8b4a7dae5d78 || alignment & $1308a7816c3d4f2d$export$5097308c5200105a) {
9130
- ro = new ResizeObserver($b8hua$catchify(records => {
9197
+ ro = new ResizeObserver($b8hua$catchify1(records => {
9131
9198
  records.forEach(_ref2 => {
9132
9199
  let {
9133
9200
  contentRect: {
@@ -9151,7 +9218,7 @@ function $1308a7816c3d4f2d$export$b3ad617e9036868(_ref, input_field, alignment,
9151
9218
  }));
9152
9219
  ro.observe(input_field);
9153
9220
  }
9154
- $b8hua$onCleanup($b8hua$catchify(() => {
9221
+ $b8hua$onCleanup($b8hua$catchify1(() => {
9155
9222
  var _ro;
9156
9223
  return (_ro = ro) === null || _ro === void 0 ? void 0 : _ro.disconnect();
9157
9224
  }));
@@ -9366,7 +9433,7 @@ function $b69740fc6de9f17e$export$83fd5de5504a7a67(_ref) {
9366
9433
  fill: "forwards",
9367
9434
  easing: "ease-in-out"
9368
9435
  });
9369
- animation.addEventListener("finish", $b8hua$catchify(() => {
9436
+ animation.addEventListener("finish", $b8hua$catchify1(() => {
9370
9437
  if (unpermit_when_possible) set_permitted_to_show(false);
9371
9438
  animation = undefined;
9372
9439
  element.style.display = "none";
@@ -9434,7 +9501,7 @@ function $6d2962bc9370f884$export$5e4aed86c12acdd9(_ref) {
9434
9501
  is_first_load = true;
9435
9502
  });
9436
9503
  // percentage_in_view_ has equals: false so it should update even when set to the same value. That is to make sure that if the user bounces around below the "viewport" of our product listing we still start fetching as soon as is_loading_more becomes false again and we get IntersectionObserverEntries
9437
- $b8hua$createEffect($b8hua$catchify(async () => {
9504
+ $b8hua$createEffect($b8hua$catchify1(async () => {
9438
9505
  const be_above_percentage = is_first_load ? 50 : 75; // if first load, load earlier
9439
9506
  if (percentage_in_view_() < be_above_percentage || is_loading_more) return;
9440
9507
  if (!get_last_cursor()) {
@@ -10157,7 +10224,7 @@ function $69602b3d8fd54c38$export$9dd50d35b9d94fdf(_ref) {
10157
10224
  number_of_results_: number_of_results_,
10158
10225
  type: type
10159
10226
  } = _ref;
10160
- const contents = $b8hua$createMemo($b8hua$catchify(() => {
10227
+ const contents = $b8hua$createMemo($b8hua$catchify1(() => {
10161
10228
  const q = get_search_query_();
10162
10229
  return i18n_[type === $69602b3d8fd54c38$export$2452208c79fe93ea.content ? "get_showing_pages_for_" : "get_showing_results_for_"]()($b8hua$ssr($69602b3d8fd54c38$var$_tmpl$, $b8hua$ssrHydrationKey(), $b8hua$escape(q)), $b8hua$ssr($69602b3d8fd54c38$var$_tmpl$, $b8hua$ssrHydrationKey(), $b8hua$escape(formatted_number_of_results_())), !!q, number_of_results_());
10163
10230
  }));
@@ -10321,7 +10388,7 @@ function $082c4ed3e22f8d71$export$9bf11afa910f536e(_ref) {
10321
10388
  set_search_sorting_open(true);
10322
10389
  }
10323
10390
  });
10324
- $b8hua$onCleanup($b8hua$catchify(() => {
10391
+ $b8hua$onCleanup($b8hua$catchify1(() => {
10325
10392
  if (!sorting_expanded() && !filters_expanded()) {
10326
10393
  set_search_filters_open(false);
10327
10394
  set_search_sorting_open(false);
@@ -10433,7 +10500,7 @@ function $7396052a1484264f$export$d7841e452f2e59a8(_ref) {
10433
10500
  const [sorting_open, set_sorting_open] = search_sorting_open_;
10434
10501
  const [get_current_sorting_] = current_sorting_;
10435
10502
  const [is_small, set_is_small] = $b8hua$createSignal(false);
10436
- const dismiss_modal_ = $b8hua$catchify(() => {
10503
+ const dismiss_modal_ = $b8hua$catchify1(() => {
10437
10504
  set_filters_open(false);
10438
10505
  set_sorting_open(false);
10439
10506
  });
@@ -10534,7 +10601,7 @@ function $7396052a1484264f$export$d7841e452f2e59a8(_ref) {
10534
10601
  }));else set_extra_els_in_results_container_($b8hua$ssr($7396052a1484264f$var$_tmpl$2, $b8hua$ssrHydrationKey(), $b8hua$escape($b8hua$createComponent((0, $cfdbd124dd09d713$export$1f1775a58da589b5), sorting_options))));
10535
10602
  }
10536
10603
  });
10537
- $b8hua$catchify(async () => {
10604
+ $b8hua$catchify1(async () => {
10538
10605
  ({
10539
10606
  open_modal_: open_modal_,
10540
10607
  close_modal_: close_modal_
@@ -10712,7 +10779,7 @@ function $6a16b21155984cef$var$ActualFloatingButtons(_ref2) {
10712
10779
  }
10713
10780
  old_pos = new_pos;
10714
10781
  });
10715
- const touchstart_handler = $b8hua$catchify(e => {
10782
+ const touchstart_handler = $b8hua$catchify1(e => {
10716
10783
  is_in_touch_scroll = true;
10717
10784
  if (e.touches.length === 1) {
10718
10785
  // we had no touches but then we got some. Adding a new touch cancels the inertia. We are in a new touch so do reset the diff
@@ -10720,12 +10787,12 @@ function $6a16b21155984cef$var$ActualFloatingButtons(_ref2) {
10720
10787
  diff_over_second_or_touch = 0;
10721
10788
  }
10722
10789
  });
10723
- const touchend_handler = $b8hua$catchify(e => {
10790
+ const touchend_handler = $b8hua$catchify1(e => {
10724
10791
  if (e.touches.length === 0)
10725
10792
  // scroll gesture of any type (pinch can also be used as scroll, etc.) ended
10726
10793
  inertia_timeout = setTimeout(
10727
10794
  // inertia ends after 500ms (educated guess)
10728
- $b8hua$catchify(() => {
10795
+ $b8hua$catchify1(() => {
10729
10796
  is_in_touch_scroll = false;
10730
10797
  diff_over_second_or_touch = 0;
10731
10798
  }), 500);
@@ -10743,9 +10810,9 @@ function $6a16b21155984cef$var$ActualFloatingButtons(_ref2) {
10743
10810
  const everything_closed = !get_search_filters_open_() && !get_search_sorting_open_();
10744
10811
  if (!$b8hua$untrack(modal_is_closed) && everything_closed)
10745
10812
  // I think the point of this is to delay the animation a bit IIRC
10746
- timeout = setTimeout($b8hua$catchify(() => set_if_modal_is_closed(true)), 200);else set_if_modal_is_closed(everything_closed);
10813
+ timeout = setTimeout($b8hua$catchify1(() => set_if_modal_is_closed(true)), 200);else set_if_modal_is_closed(everything_closed);
10747
10814
  });
10748
- $b8hua$createComputed($b8hua$catchify(async () => {
10815
+ $b8hua$createComputed($b8hua$catchify1(async () => {
10749
10816
  const element = sort_and_filter_element_();
10750
10817
  if (!element) return;
10751
10818
  await (0, $b8hua$observer).wait_for_element(element);
@@ -10764,7 +10831,7 @@ function $ec225bf1f1627ea8$export$210f130a61ac1e8d(fn) {
10764
10831
  let last_queued;
10765
10832
  let last_value;
10766
10833
  let initial_run = true;
10767
- $b8hua$createComputed($b8hua$catchify(async () => {
10834
+ $b8hua$createComputed($b8hua$catchify1(async () => {
10768
10835
  last_value = fn();
10769
10836
  if (initial_run) {
10770
10837
  initial_run = false;
@@ -10812,7 +10879,7 @@ function $5e6abec0dab4e610$export$6e49da55e449af7c(_ref) {
10812
10879
  }]); // get rid of old data the browser saves the old state and will restore it later on
10813
10880
  };
10814
10881
 
10815
- $b8hua$createComputed($b8hua$catchify(() => {
10882
+ $b8hua$createComputed($b8hua$catchify1(() => {
10816
10883
  const last_result = get_last_result_in_viewport_();
10817
10884
  if (last_result == undefined || last_result <= 0 || last_result == Infinity) return;
10818
10885
  if (isNaN(last_result)) {
@@ -10839,7 +10906,7 @@ function $5e6abec0dab4e610$export$6e49da55e449af7c(_ref) {
10839
10906
  set_to_later = last_result;
10840
10907
  // If a delayed push timeout is already running, just changing the value that will be pushed is sufficient
10841
10908
  if (timeout) return;
10842
- timeout = setTimeout($b8hua$catchify(() => {
10909
+ timeout = setTimeout($b8hua$catchify1(() => {
10843
10910
  timeout = undefined;
10844
10911
  last_time_history_changed = +new Date();
10845
10912
  set_min_results_loaded(set_to_later);
@@ -10950,7 +11017,7 @@ function $22470de5f42cc35d$export$f631859cab12b342(_ref) {
10950
11017
  if (!result) return;
10951
11018
  return {
10952
11019
  href: result.page_url,
10953
- onClick: $b8hua$catchify(ev => router_.navigate_.go_to_({
11020
+ onClick: $b8hua$catchify1(ev => router_.navigate_.go_to_({
10954
11021
  new_url_: result.page_url,
10955
11022
  is_replace_: false,
10956
11023
  event_: ev
@@ -11334,7 +11401,7 @@ function $937791b86d3d1509$export$44f738469d5570cf(_ref) {
11334
11401
  // We might only have changed the left position which align_field doesn't know about, make it poll the position for a while
11335
11402
  setPollAlignment_(true);
11336
11403
  if (disableResizePollingTimeout) clearTimeout(disableResizePollingTimeout);
11337
- disableResizePollingTimeout = setTimeout($b8hua$catchify(() => {
11404
+ disableResizePollingTimeout = setTimeout($b8hua$catchify1(() => {
11338
11405
  setPollAlignment_(false);
11339
11406
  disableResizePollingTimeout = undefined;
11340
11407
  }), 1000);
@@ -11467,7 +11534,7 @@ function $da279c5a540c6846$export$a54ec244c8863715(_ref) {
11467
11534
  } : {})
11468
11535
  };
11469
11536
  });
11470
- const [search_results_] = $b8hua$createResource(search_query_base_, $b8hua$catchify(async base_query => {
11537
+ const [search_results_] = $b8hua$createResource(search_query_base_, $b8hua$catchify1(async base_query => {
11471
11538
  set_all_products_loaded(false);
11472
11539
  // only first page of results
11473
11540
  return await $5e6abec0dab4e610$export$cc42dd29bf655ab6({
@@ -11515,7 +11582,7 @@ function $da279c5a540c6846$export$a54ec244c8863715(_ref) {
11515
11582
  const [, setModalFieldStyle] = modal_field_style;
11516
11583
  const [, setModalBackdropStyle] = modal_backdrop_style;
11517
11584
  const [get_search_field_elements, set_search_field_elements] = $b8hua$createSignal();
11518
- const SafeSearchField = $b8hua$catchify((0, $584c06c09cf4609d$export$b94867ecbd698f21));
11585
+ const SafeSearchField = $b8hua$catchify1((0, $584c06c09cf4609d$export$b94867ecbd698f21));
11519
11586
  const [sort_or_filter_open_, set_sort_or_filter_open_] = $b8hua$createSignal(false);
11520
11587
  const [desktop_filter_elements_, set_desktop_filter_elements] = $b8hua$createSignal();
11521
11588
  const n_hits = $b8hua$createMemo(() => {
@@ -11575,7 +11642,7 @@ function $da279c5a540c6846$export$a54ec244c8863715(_ref) {
11575
11642
  $b8hua$runWithOwner(owner, () => results_filters[1](matches ? [results_for, filters_opener] : $b8hua$ssr($da279c5a540c6846$var$_tmpl$, $b8hua$ssrHydrationKey(), $b8hua$escape(results_for), $b8hua$escape(filters_opener))));
11576
11643
  }).remove);
11577
11644
  $3a2bed57c9a57e21$export$d31a1a1a83ad9413(search_results_, selected_filters_);
11578
- $b8hua$catchify((0, $5e6abec0dab4e610$export$6e49da55e449af7c))({
11645
+ $b8hua$catchify1((0, $5e6abec0dab4e610$export$6e49da55e449af7c))({
11579
11646
  scroll_restoration_data_: scroll_restoration_data_,
11580
11647
  last_result_in_viewport_: last_result_in_viewport_,
11581
11648
  id_: get_search_query_,
@@ -11621,8 +11688,8 @@ function $da279c5a540c6846$export$a54ec244c8863715(_ref) {
11621
11688
  setModalBodyStyle({});
11622
11689
  modalAlignmentSignalsRef_ === null || modalAlignmentSignalsRef_ === void 0 || modalAlignmentSignalsRef_(alignmentSignals_);
11623
11690
  const [pollAlignment, setPollAlignment_] = $b8hua$createSignal(false);
11624
- const align_position = $b8hua$catchify((0, $1308a7816c3d4f2d$export$b3ad617e9036868))(alignmentSignals_, search_field, (0, $1308a7816c3d4f2d$export$3f238c96c45e6cc6) | (0, $1308a7816c3d4f2d$export$7895aadd1956b1c7) | (modalVersionUsed_ === 1 ? (0, $1308a7816c3d4f2d$export$902f8b4a7dae5d78) : (0, $1308a7816c3d4f2d$export$6060bc6bee850eb6) | (0, $1308a7816c3d4f2d$export$5097308c5200105a)), true, pollAlignment);
11625
- div_with_field_class.addEventListener("click", $b8hua$catchify(e => {
11691
+ const align_position = $b8hua$catchify1((0, $1308a7816c3d4f2d$export$b3ad617e9036868))(alignmentSignals_, search_field, (0, $1308a7816c3d4f2d$export$3f238c96c45e6cc6) | (0, $1308a7816c3d4f2d$export$7895aadd1956b1c7) | (modalVersionUsed_ === 1 ? (0, $1308a7816c3d4f2d$export$902f8b4a7dae5d78) : (0, $1308a7816c3d4f2d$export$6060bc6bee850eb6) | (0, $1308a7816c3d4f2d$export$5097308c5200105a)), true, pollAlignment);
11692
+ div_with_field_class.addEventListener("click", $b8hua$catchify1(e => {
11626
11693
  var _target$matches, _target$closest, _on_open_, _ref4;
11627
11694
  const target = e.target;
11628
11695
  const sel = ".submit";
@@ -12029,7 +12096,7 @@ class $eb064bc3350276c1$export$ac6237957a15b3f0 {
12029
12096
  BackIcon_: BackIcon_
12030
12097
  });
12031
12098
  $68e6625c8d51f847$export$5162a71f252e6122();
12032
- $b8hua$catchify(async () => {
12099
+ $b8hua$catchify1(async () => {
12033
12100
  const {
12034
12101
  open_modal_: open_modal_,
12035
12102
  close_modal_: close_modal_
@@ -12293,7 +12360,7 @@ function $eb064bc3350276c1$export$f2dc7e4e4aa11abb(props) {
12293
12360
  function $37e8c97bb6876197$export$828dcdd425fd3231(aligner) {
12294
12361
  const style_element = document.createElement("style");
12295
12362
  document.head.append(style_element);
12296
- const resize_observer = new ResizeObserver($b8hua$catchify(() => {
12363
+ const resize_observer = new ResizeObserver($b8hua$catchify1(() => {
12297
12364
  const styles = $cc64aabf2c7a1f1a$export$1233ca167bf71f9a({
12298
12365
  ".depict.plp .depict-search-modal .search-field": {
12299
12366
  "height": "".concat(aligner === null || aligner === void 0 ? void 0 : aligner.clientHeight, "px")
@@ -12364,7 +12431,7 @@ const $169c13c0531d91d2$export$d86a33413558014e = openModalParams => {
12364
12431
  }, dispose_aligner];
12365
12432
  };
12366
12433
  function $573c007c697a1831$export$d0596b5cae35ad4(open_search) {
12367
- const handler = $b8hua$catchify(e => {
12434
+ const handler = $b8hua$catchify1(e => {
12368
12435
  const {
12369
12436
  key: key,
12370
12437
  target: target
@@ -12383,7 +12450,7 @@ function $573c007c697a1831$export$d0596b5cae35ad4(open_search) {
12383
12450
  function $e60a76195ac6d408$export$689e204eadb33baf(pr) {
12384
12451
  let old_url;
12385
12452
  let disconnect_link_observer;
12386
- const link_handler = $b8hua$catchify(e => {
12453
+ const link_handler = $b8hua$catchify1(e => {
12387
12454
  const link = e.currentTarget || e.target;
12388
12455
  if (link.href === old_url) {
12389
12456
  history.pushState(history.state, "", link.href);
@@ -12392,7 +12459,7 @@ function $e60a76195ac6d408$export$689e204eadb33baf(pr) {
12392
12459
  });
12393
12460
  let remove_added_listeners;
12394
12461
  let resolve_remove_added_listeners;
12395
- pr.addEventListener("open", $b8hua$catchify(() => {
12462
+ pr.addEventListener("open", $b8hua$catchify1(() => {
12396
12463
  remove_added_listeners = new Promise(r => resolve_remove_added_listeners = r);
12397
12464
  disconnect_link_observer = (0, $b8hua$observer).onexists("a", async _ref => {
12398
12465
  let {
@@ -12403,12 +12470,12 @@ function $e60a76195ac6d408$export$689e204eadb33baf(pr) {
12403
12470
  element.removeEventListener("click", link_handler);
12404
12471
  });
12405
12472
  }));
12406
- pr.addEventListener("close", $b8hua$catchify(() => {
12473
+ pr.addEventListener("close", $b8hua$catchify1(() => {
12407
12474
  var _disconnect_link_obse, _resolve_remove_added;
12408
12475
  (_disconnect_link_obse = disconnect_link_observer) === null || _disconnect_link_obse === void 0 || _disconnect_link_obse();
12409
12476
  (_resolve_remove_added = resolve_remove_added_listeners) === null || _resolve_remove_added === void 0 || _resolve_remove_added();
12410
12477
  }));
12411
- $b8hua$catchify(async () => {
12478
+ $b8hua$catchify1(async () => {
12412
12479
  for await (const href of (0, $b8hua$href_change_ipns)) if (!pr.is_page_(new URL(href))) old_url = href;
12413
12480
  })();
12414
12481
  }
@@ -12506,7 +12573,7 @@ class $f9fd3017c20b774a$export$3ccaa27d81dd8556 extends EventTarget {
12506
12573
  });
12507
12574
  $f9fd3017c20b774a$var$_classPrivateFieldInitSpec(this, $f9fd3017c20b774a$var$_unload, {
12508
12575
  writable: true,
12509
- value: /*@__PURE__*/$b8hua$catchify(() => {
12576
+ value: /*@__PURE__*/$b8hua$catchify1(() => {
12510
12577
  var _classPrivateFieldGet3;
12511
12578
  if (!$b8hua$babelruntimehelpersclassPrivateFieldGet(this, $f9fd3017c20b774a$var$_is_open)) return;
12512
12579
  (_classPrivateFieldGet3 = $b8hua$babelruntimehelpersclassPrivateFieldGet(this, $f9fd3017c20b774a$var$_disconnect_observer)) === null || _classPrivateFieldGet3 === void 0 || _classPrivateFieldGet3.call(this);
@@ -12520,7 +12587,7 @@ class $f9fd3017c20b774a$export$3ccaa27d81dd8556 extends EventTarget {
12520
12587
  });
12521
12588
  $f9fd3017c20b774a$var$_classPrivateFieldInitSpec(this, $f9fd3017c20b774a$var$_load, {
12522
12589
  writable: true,
12523
- value: /*@__PURE__*/$b8hua$catchify(async els => {
12590
+ value: /*@__PURE__*/$b8hua$catchify1(async els => {
12524
12591
  $b8hua$babelruntimehelpersclassPrivateFieldSet(this, $f9fd3017c20b774a$var$_is_open, true);
12525
12592
  // So that #load doesn't get called again
12526
12593
  let set_should_stay_inserted;
@@ -12584,7 +12651,7 @@ class $f9fd3017c20b774a$export$3ccaa27d81dd8556 extends EventTarget {
12584
12651
  async function $f9fd3017c20b774a$var$_listen2() {
12585
12652
  const [exit_ipns, exitable_ipns] = $b8hua$make_asyncIterable_exiter((0, $b8hua$href_change_ipns));
12586
12653
  $b8hua$babelruntimehelpersclassPrivateFieldSet(this, $f9fd3017c20b774a$var$_stop_listening, exit_ipns);
12587
- const caught_page_check_fn = $b8hua$catchify(this.is_page_, "page check failed");
12654
+ const caught_page_check_fn = $b8hua$catchify1(this.is_page_, "page check failed");
12588
12655
  for await (const href of exitable_ipns) {
12589
12656
  const url = new URL(href);
12590
12657
  if (!caught_page_check_fn(url)) {
@@ -12602,12 +12669,12 @@ function $f9fd3017c20b774a$var$_get_rendered_recs2() {
12602
12669
  this.addEventListener("close", dispose, {
12603
12670
  once: true
12604
12671
  });
12605
- return $b8hua$catchify(this.render_, "rendering failed")() || [];
12672
+ return $b8hua$catchify1(this.render_, "rendering failed")() || [];
12606
12673
  });
12607
12674
  }
12608
12675
  function $f9fd3017c20b774a$var$_empty_page_bugfix2() {
12609
12676
  // Called when a "page" is "opened" using PageReplacer
12610
- const on_maybe_popstate = $b8hua$catchify(what_happened => {
12677
+ const on_maybe_popstate = $b8hua$catchify1(what_happened => {
12611
12678
  if (what_happened !== "popstate") return;
12612
12679
  const cleaned_current_url = $f9fd3017c20b774a$var$clean_url(location.href);
12613
12680
  if (!$f9fd3017c20b774a$var$_classStaticPrivateFieldSpecGet($f9fd3017c20b774a$export$3ccaa27d81dd8556, $f9fd3017c20b774a$export$3ccaa27d81dd8556, $f9fd3017c20b774a$var$_visited_urls).has(cleaned_current_url)) {
@@ -12631,7 +12698,7 @@ function $f9fd3017c20b774a$var$_empty_page_bugfix2() {
12631
12698
  PageReplacer unload itself and reveals the original document - it is expected to be the one under https://ehandel.spendrups.se/Product/1104201, but actually it is the one under /start/search - a white page.
12632
12699
  The fix: is to remember all pages that we have visited since the creation of `window` (we do that by having a static property on PageReplacer since we assume the PageReplacer source code will only exist once on the page and will be loaded at page load, the latter assumption might be wrong, but I hope not). If we get a "popstate" event (meaning back or forwards button, not new page being pushed) to an unknown page we reload.
12633
12700
  */
12634
- $b8hua$dlog("PageReplacer: ", cleaned_current_url, " hasn't been visited since document was created, reloading since we won't be able to show this page otherwise");
12701
+ $b8hua$dlog1("PageReplacer: ", cleaned_current_url, " hasn't been visited since document was created, reloading since we won't be able to show this page otherwise");
12635
12702
  location.reload();
12636
12703
  $f9fd3017c20b774a$var$_classStaticPrivateFieldSpecSet($f9fd3017c20b774a$export$3ccaa27d81dd8556, $f9fd3017c20b774a$export$3ccaa27d81dd8556, $f9fd3017c20b774a$var$_reverting_permitted, false); // Disallow any reverting since we can't - it would flash a white page until the reload has finished.
12637
12704
  $b8hua$babelruntimehelpersclassPrivateFieldGet(this, $f9fd3017c20b774a$var$_unload).call(this); // Call unload to "kill" the solid-js stuff quicker so that it stops updating - the user is expecting the next thing that happens to be a navigation to the actual page the URL says they're on.
@@ -12650,7 +12717,7 @@ var $f9fd3017c20b774a$var$_visited_urls = {
12650
12717
  writable: true,
12651
12718
  value: /*@__PURE__*/(() => {
12652
12719
  // Keep track of all URLs that have been visited since the document that was initially loaded (loaded means the process where the browser creates a new `document` and `window` object).
12653
- $b8hua$catchify(async () => {
12720
+ $b8hua$catchify1(async () => {
12654
12721
  // Static initialization blocks aren't supported in MobileSafari yet, otherwise this would be one.
12655
12722
  // I don't think we want to ship a library that users are *forced* to transpile, it should run in the newest version of all major browsers. So we'll just use a function wrapper for now (adding "last 1 ios version" to the build target does a bunch of other unneeded transpilations).
12656
12723
  // https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Classes/Static_initialization_blocks
@@ -12707,7 +12774,7 @@ function $a3026fb727bc7550$export$316f6f283ae64765(props) {
12707
12774
  field_: $b8hua$createSignal({}),
12708
12775
  backdrop_: backdropAlignmentSignal_
12709
12776
  };
12710
- const defaultHandler = $b8hua$catchify(e => {
12777
+ const defaultHandler = $b8hua$catchify1(e => {
12711
12778
  const {
12712
12779
  modalVersionUsed_: modalVersionUsed_
12713
12780
  } = shared_properties;
@@ -12839,7 +12906,7 @@ function $43fbb365ed0ac99e$export$466cdc317043f6cb(_ref) {
12839
12906
  $b8hua$createComputed(() => {
12840
12907
  var _place_holdey_quickli, _place_holdey_quickli2;
12841
12908
  if ((_place_holdey_quickli = place_holdey_quicklinks_data()) !== null && _place_holdey_quickli !== void 0 && (_place_holdey_quickli2 = _place_holdey_quickli[0]) !== null && _place_holdey_quickli2 !== void 0 && _place_holdey_quickli2.listing_id) {
12842
- if (last_was_placeholder) queueMicrotask($b8hua$catchify(() => {
12909
+ if (last_was_placeholder) queueMicrotask($b8hua$catchify1(() => {
12843
12910
  var _sliding_element;
12844
12911
  (_sliding_element = sliding_element) === null || _sliding_element === void 0 || _sliding_element.scrollTo({
12845
12912
  left: 0
@@ -12908,7 +12975,7 @@ function $43fbb365ed0ac99e$export$466cdc317043f6cb(_ref) {
12908
12975
  } else if (!(((_intersecting_items_o = intersecting_items_object[selected_index()]) === null || _intersecting_items_o === void 0 ? void 0 : _intersecting_items_o.intersectionRatio) >= 0.95)) {
12909
12976
  // negated larger than to handle left side of comparison being undefined
12910
12977
  let done_work = false;
12911
- $b8hua$runWithOwner(owner, () => $b8hua$createComputed($b8hua$catchify(() => {
12978
+ $b8hua$runWithOwner(owner, () => $b8hua$createComputed($b8hua$catchify1(() => {
12912
12979
  if (done_work || !Array.isArray(quicklinks_data_())) return;
12913
12980
  const sel_index = selected_index();
12914
12981
  const target_element = sel_index >= 0 ? sel_index : 0;
@@ -13065,7 +13132,7 @@ function $a4777acaffa35a82$export$3945d6db2dfd3d12(_ref) {
13065
13132
  const handler = () => allow_filter_clearing = false;
13066
13133
  window.addEventListener("popstate", handler); // popstate only gets called when using back/forwards button of browser or the history navigate to achieve the same, but not on pushState or replaceState
13067
13134
  $b8hua$onCleanup(() => window.removeEventListener("popstate", handler));
13068
- $b8hua$createEffect($b8hua$on(crumb_data_, $b8hua$catchify(new_crumb_data => {
13135
+ $b8hua$createEffect($b8hua$on(crumb_data_, $b8hua$catchify1(new_crumb_data => {
13069
13136
  const id_of_new_data = id_to_query_for_();
13070
13137
  const type_of_id_of_new_data = id_type_();
13071
13138
  if (allow_filter_clearing && previous_crumb_data && new_crumb_data && (id_of_new_data !== id_when_we_got_previous_data.id_ || type_of_id_of_new_data !== id_when_we_got_previous_data.type_)) {
@@ -13119,7 +13186,7 @@ function $a4777acaffa35a82$var$clear_if_opened_new_tab_with_sideways_url_params_
13119
13186
  // On first rendering of the CategoryPage (after we have results), check if we got to this URL by going sideways in QuickLinks and clear filters with toast if so
13120
13187
  if (!$b8hua$untrack(get_sideways_filter_clearing_flag_)) return;
13121
13188
  set_sideways_filter_clearing_flag_(false);
13122
- $b8hua$dlog("Flag to clear filters was set, clearing filters");
13189
+ $b8hua$dlog1("Flag to clear filters was set, clearing filters");
13123
13190
  $b8hua$queueMacroTask(() => {
13124
13191
  // Do it next task so that all the filters have time to populate
13125
13192
  $b4465d8d605f61e9$export$8895d39404bd2bb1({
@@ -13211,7 +13278,7 @@ function $4b4b262708b516ee$export$f7d2f673fc2f091d(_ref) {
13211
13278
  // Make "Get products in listing" request to get products in listing
13212
13279
  const [plp_products_] = $b8hua$createResource(products_query_base_,
13213
13280
  // only first page of results, unless the history state says we should load more (can't do that in load more thing, I tested, they need to be added at once for the browser to not give up scroll restoration)
13214
- $b8hua$catchify1(base_query => $5e6abec0dab4e610$export$cc42dd29bf655ab6({
13281
+ $b8hua$catchify(base_query => $5e6abec0dab4e610$export$cc42dd29bf655ab6({
13215
13282
  id_: $b8hua$untrack(id_to_query_for_),
13216
13283
  scroll_restoration_data_: scroll_restoration_data_,
13217
13284
  min_products_to_fetch_: min_products_to_fetch_,
@@ -13231,7 +13298,7 @@ function $4b4b262708b516ee$export$f7d2f673fc2f091d(_ref) {
13231
13298
  id_type_: id_type_()
13232
13299
  }));
13233
13300
  // Make "Get Listing" request to get quicklinks, breadcrumbs, title, etc
13234
- const [plp_meta] = $b8hua$createResource(meta_query_base, $b8hua$catchify1(query => depict_api_.get_listing(query)));
13301
+ const [plp_meta] = $b8hua$createResource(meta_query_base, $b8hua$catchify(query => depict_api_.get_listing(query)));
13235
13302
  const available_sortings_ = $b8hua$createMemo(() => {
13236
13303
  var _plp_products_, _plp_products_$sorts;
13237
13304
  return (_plp_products_ = plp_products_()) === null || _plp_products_ === void 0 ? void 0 : (_plp_products_$sorts = _plp_products_.sorts) === null || _plp_products_$sorts === void 0 ? void 0 : _plp_products_$sorts.map(sort => {
@@ -13365,7 +13432,7 @@ function $4b4b262708b516ee$export$f7d2f673fc2f091d(_ref) {
13365
13432
  filterModalParent_: filterModalParent_,
13366
13433
  ...extra_sort_and_filter_args_
13367
13434
  });
13368
- $b8hua$catchify1((0, $5e6abec0dab4e610$export$6e49da55e449af7c))({
13435
+ $b8hua$catchify((0, $5e6abec0dab4e610$export$6e49da55e449af7c))({
13369
13436
  scroll_restoration_data_: scroll_restoration_data_,
13370
13437
  last_result_in_viewport_: last_result_in_viewport_,
13371
13438
  id_: id_to_query_for_,
@@ -13379,7 +13446,7 @@ function $4b4b262708b516ee$export$f7d2f673fc2f091d(_ref) {
13379
13446
  $b8hua$createComputed(() => {
13380
13447
  if (plp_products_.loading) set_can_write_scroll_restoration(false);else if (plp_products_()) set_can_write_scroll_restoration(true);
13381
13448
  });
13382
- $b8hua$createRenderEffect($b8hua$catchify1(async () => {
13449
+ $b8hua$createRenderEffect($b8hua$catchify(async () => {
13383
13450
  var _only_show_filters_op;
13384
13451
  const slim = is_slim_();
13385
13452
  const only_show_filters_opener = (_only_show_filters_op = only_show_filters_opener_) === null || _only_show_filters_op === void 0 ? void 0 : _only_show_filters_op();
@@ -13634,4 +13701,4 @@ function $8821a19349c36651$export$e2bf8ce7779e827e(props) {
13634
13701
  }, "Entire CategoryPage failed");
13635
13702
  }
13636
13703
  $b8hua$add_to_version_info("ui", (0, $8db9a15135765c11$export$83d89fbfd8236492));
13637
- export { $a35e6f680c5bbc60$export$54299a3c81f5425 as useVisibilityState, $002f09d00aac50b2$export$eaa625fb39439e37 as useSlidableInformation, $618bd53ea0a41cd4$export$80bb7300ce6a8be3 as useProductCardIsVisible, $618bd53ea0a41cd4$export$f223d69ed12f5fb7 as CurrentlyIntersectingContext, $8e8b179489080711$export$5bad61ecde080b1f as useExpandingContainerReactive, $bb34cd283e904784$export$2c9f9bf2092486aa as LooksSliderOrGrid, $697d8713dc82b9ab$export$44809a8a3e867e30 as LookCard, $ac571292d606f30b$export$7e1297a3a19f10d8 as PseudoRouter, $6d75ec14f537c37f$export$83bb9af5671e1dbe as promiseSafeStructuredClone, $68e6625c8d51f847$export$5162a71f252e6122 as preserve_items_in_history_dot_state, $68e6625c8d51f847$export$3064e1e8c6513da3 as prefixes_to_preserve_in_history_dot_state, $9b35d1384e31813a$export$29d28dadc2d6b631 as allowNativeNavigation, $b026fa9c9c904a98$export$1ea76ea778b880dd as modalVersionSymbol, $a604a8ffa4e4c03f$export$e417c49320921907 as createDeparallelizedNoDropResource, $01c33966d9ddb108$export$f50b88e2a00918b5 as throw_globally, $40411f2ec772c376$export$9265e66f26f8e383 as ClassicSearchModal, $06fcd2a345efd24d$export$b0c55aa2e87c4be7 as SearchModalV2, $98688279b9059f50$export$9d4a4b669b1929ab as ModernResponsiveContainedImage, $6a439680ae7e9ba3$export$3e41faf802a29e71 as Tab, $6a439680ae7e9ba3$export$b2539bed5023c21c as Tabs, $6b0fd8fd20df8ccf$export$d4973c31938cbfd1 as ShopTheLookButton, $972f6bce0f9d61be$export$e183a13865960371 as history_dot_state_to_state, $2855bffe06ef7a03$export$916e6850778505f6 as strip_encoded_filter_and_sort, $2855bffe06ef7a03$export$58aa3f171519b6d7 as encode_filters, $2855bffe06ef7a03$export$f934fa24c3a86811 as decode_filters, $2855bffe06ef7a03$export$62acb285a7579555 as encode_sorting, $2855bffe06ef7a03$export$766e9676e74997d3 as decode_sorting, $4df489344a0f97c7$export$d7b7ab832c20e2f4 as shopifyContainedImageContextSymbol, $5441862cd2f5e111$export$e68cff63f76bd15b as ListingProvider, $5441862cd2f5e111$export$8d0c4fdbb05a2f2e as useListing, $1e69163caedaab4e$export$11354f017ddc9790 as ProductCardIndexProvider, $1e69163caedaab4e$export$e3faf4d95300054f as useProductCardIndex, $4df489344a0f97c7$export$e4b984597b71e989 as ShopifyContainedImage, $002f09d00aac50b2$export$6649caad96ef8870 as SlidableItems, $fc830a7ee59416ef$export$ebdc3711f7e02ccd as make_accurate_width_accessor, $d5d7e58c5c9d8db0$export$9574e176201e5e8d as RecommendationSlider, $b432b11321ad4c97$export$9756467d34d91cdb as RecommendationGrid, $56047603f9d212b6$export$6e5611bc7e57e477 as ShopifyResponsiveImg, $56047603f9d212b6$export$e6fffe67d4cdd848 as makeSizeAccessor, $801e8845d3fa3653$export$94026ee33dbabc26 as ImageContainer, $74777e8fe65b3dcb$export$b69d0d92862de18b as SentryErrorBoundary, $74777e8fe65b3dcb$export$240ecf5363d76c0f as ExtraSentryContextProvider, $ad371564683947ab$export$6c6d7a51fa9aa15d as ExpandingDetails, $e18ab2868df26f40$export$f091cbac892643a4 as accessor_of_object_to_object_with_accessor_values, $4711a82d08d2021b$export$fecbb157621501bd as SelectedFilters, $f6b0500577e1b210$export$3f1a388cc0d8fed7 as FilterBody, $44aa24b1bb793549$export$b288c38ae3fddb56 as create_modified_filters, $63f1f8dbcd07d3b0$export$d21e32dfedac04be as SolidLayout, $63f1f8dbcd07d3b0$export$445d8d3f5f706a40 as SolidLayoutWithProvidedElement, $d5f1e6a0f9117286$export$79b1565500412d9b as general_modal_abstraction, $9783d437ad61594c$export$3b621d86b1566b2 as CrossIcon, $ca6ab5f08bd28bca$export$8be2714ec7f169ee as GenericSliderArrowButton, $50aebf5b445518eb$export$58e808b1db15d3bc as fetchDepictRecommendations, $fa332ea03168857c$export$b91cec6bdc6b32a1 as CategoryTitle, $702d7656a373973e$export$824dde41348efed1 as embedded_num_products, $160ea2b55d8772d2$export$c1a6b039e689a58e as get_listings, $f5f54892fd0c7d9f$export$f34314aa9505732e as DepictCategory, $eb064bc3350276c1$export$ac6237957a15b3f0 as DepictSearch, $eb064bc3350276c1$export$bde3eb976dfded9 as get_search_query_updating_blocked_signal, $eb064bc3350276c1$export$f2dc7e4e4aa11abb as SearchPage, $f3b7124b76123e44$export$aa14a9f43128f61f as ProductCardError, $169c13c0531d91d2$export$d86a33413558014e as open_modal_with_alignment, $5eaa00b951637e96$export$ee1733d9a8495996 as DefaultInstantCardPlaceholder, $1308a7816c3d4f2d$export$b3ad617e9036868 as align_field, $1308a7816c3d4f2d$export$3f238c96c45e6cc6 as ALIGN_TOP, $1308a7816c3d4f2d$export$902f8b4a7dae5d78 as ALIGN_WIDTH_ON_MODAL, $1308a7816c3d4f2d$export$7895aadd1956b1c7 as ALIGN_LEFT, $1308a7816c3d4f2d$export$6060bc6bee850eb6 as SET_CENTERED_LEFT, $a9c7ba6087881ac2$export$6daf8749b65a1b77 as convert_sdk_cols_at_size_to_layout, $cc64aabf2c7a1f1a$export$1233ca167bf71f9a as styles_to_valid_css_string, $e56d241d0f33d459$export$fe334901e8bebd57 as disable_scrolling, $573c007c697a1831$export$d0596b5cae35ad4 as open_search_with_shift_slash, $284849364a6ef73a$export$e015ed2f2950f2e3 as DepictAPI, $00a5b94f0c11efbb$export$d9f36cf74e24d595 as media_query_to_accessor, $e60a76195ac6d408$export$689e204eadb33baf as setup_fast_leave, $a61a2051e15c8d7a$export$5196e4c01fa56fcb as show_toast, $60ec7a29849d81db$export$a71e92cfbb498adc as SolidFormatPrice, $37e8c97bb6876197$export$828dcdd425fd3231 as connect_search_field_height_to_aligner_height, $bc2337c9a05ecd18$export$acb3eaade4b23afd as BasePlaceholder, $ceafb6fb91c6f394$export$89c6019e4baa40b1 as TextPlaceholder, $3ab4aa97880fb88d$export$3f37af283f8fb843 as ImagePlaceholder, $f9fd3017c20b774a$export$3ccaa27d81dd8556 as PageReplacer, $d399250dfa491636$export$864d304a0bc46829 as defaultGridSpacing, $d399250dfa491636$export$c3834fa86c616831 as defaultColsAtSize, $d399250dfa491636$export$7bf543b9d9be2c22 as defaultCategoryTitlePlugin, $8db9a15135765c11$export$83d89fbfd8236492 as version, $a3026fb727bc7550$export$316f6f283ae64765 as SearchField, $62a8813a51fbd22f$export$5b7c3ce0ebe51f86 as BreadCrumbs, $62a8813a51fbd22f$export$de035477d6fef996 as QuickLinks, $8821a19349c36651$export$e2bf8ce7779e827e as CategoryPage };
13704
+ export { $715f7f2e53146662$export$d4d96868197be50e as useMobileHover, $a35e6f680c5bbc60$export$54299a3c81f5425 as useVisibilityState, $002f09d00aac50b2$export$eaa625fb39439e37 as useSlidableInformation, $618bd53ea0a41cd4$export$80bb7300ce6a8be3 as useProductCardIsVisible, $618bd53ea0a41cd4$export$f223d69ed12f5fb7 as CurrentlyIntersectingContext, $8e8b179489080711$export$5bad61ecde080b1f as useExpandingContainerReactive, $bb34cd283e904784$export$2c9f9bf2092486aa as LooksSliderOrGrid, $22dd375b476673e2$export$44809a8a3e867e30 as LookCard, $ac571292d606f30b$export$7e1297a3a19f10d8 as PseudoRouter, $6d75ec14f537c37f$export$83bb9af5671e1dbe as promiseSafeStructuredClone, $68e6625c8d51f847$export$5162a71f252e6122 as preserve_items_in_history_dot_state, $68e6625c8d51f847$export$3064e1e8c6513da3 as prefixes_to_preserve_in_history_dot_state, $9b35d1384e31813a$export$29d28dadc2d6b631 as allowNativeNavigation, $b026fa9c9c904a98$export$1ea76ea778b880dd as modalVersionSymbol, $a604a8ffa4e4c03f$export$e417c49320921907 as createDeparallelizedNoDropResource, $01c33966d9ddb108$export$f50b88e2a00918b5 as throw_globally, $40411f2ec772c376$export$9265e66f26f8e383 as ClassicSearchModal, $06fcd2a345efd24d$export$b0c55aa2e87c4be7 as SearchModalV2, $98688279b9059f50$export$9d4a4b669b1929ab as ModernResponsiveContainedImage, $6a439680ae7e9ba3$export$3e41faf802a29e71 as Tab, $6a439680ae7e9ba3$export$b2539bed5023c21c as Tabs, $6b0fd8fd20df8ccf$export$d4973c31938cbfd1 as ShopTheLookButton, $972f6bce0f9d61be$export$e183a13865960371 as history_dot_state_to_state, $2855bffe06ef7a03$export$916e6850778505f6 as strip_encoded_filter_and_sort, $2855bffe06ef7a03$export$58aa3f171519b6d7 as encode_filters, $2855bffe06ef7a03$export$f934fa24c3a86811 as decode_filters, $2855bffe06ef7a03$export$62acb285a7579555 as encode_sorting, $2855bffe06ef7a03$export$766e9676e74997d3 as decode_sorting, $4df489344a0f97c7$export$d7b7ab832c20e2f4 as shopifyContainedImageContextSymbol, $5441862cd2f5e111$export$e68cff63f76bd15b as ListingProvider, $5441862cd2f5e111$export$8d0c4fdbb05a2f2e as useListing, $1e69163caedaab4e$export$11354f017ddc9790 as ProductCardIndexProvider, $1e69163caedaab4e$export$e3faf4d95300054f as useProductCardIndex, $4df489344a0f97c7$export$e4b984597b71e989 as ShopifyContainedImage, $002f09d00aac50b2$export$6649caad96ef8870 as SlidableItems, $fc830a7ee59416ef$export$ebdc3711f7e02ccd as make_accurate_width_accessor, $d5d7e58c5c9d8db0$export$9574e176201e5e8d as RecommendationSlider, $b432b11321ad4c97$export$9756467d34d91cdb as RecommendationGrid, $56047603f9d212b6$export$6e5611bc7e57e477 as ShopifyResponsiveImg, $56047603f9d212b6$export$e6fffe67d4cdd848 as makeSizeAccessor, $801e8845d3fa3653$export$94026ee33dbabc26 as ImageContainer, $74777e8fe65b3dcb$export$b69d0d92862de18b as SentryErrorBoundary, $74777e8fe65b3dcb$export$240ecf5363d76c0f as ExtraSentryContextProvider, $ad371564683947ab$export$6c6d7a51fa9aa15d as ExpandingDetails, $e18ab2868df26f40$export$f091cbac892643a4 as accessor_of_object_to_object_with_accessor_values, $4711a82d08d2021b$export$fecbb157621501bd as SelectedFilters, $f6b0500577e1b210$export$3f1a388cc0d8fed7 as FilterBody, $44aa24b1bb793549$export$b288c38ae3fddb56 as create_modified_filters, $63f1f8dbcd07d3b0$export$d21e32dfedac04be as SolidLayout, $63f1f8dbcd07d3b0$export$445d8d3f5f706a40 as SolidLayoutWithProvidedElement, $d5f1e6a0f9117286$export$79b1565500412d9b as general_modal_abstraction, $9783d437ad61594c$export$3b621d86b1566b2 as CrossIcon, $ca6ab5f08bd28bca$export$8be2714ec7f169ee as GenericSliderArrowButton, $50aebf5b445518eb$export$58e808b1db15d3bc as fetchDepictRecommendations, $fa332ea03168857c$export$b91cec6bdc6b32a1 as CategoryTitle, $702d7656a373973e$export$824dde41348efed1 as embedded_num_products, $160ea2b55d8772d2$export$c1a6b039e689a58e as get_listings, $f5f54892fd0c7d9f$export$f34314aa9505732e as DepictCategory, $eb064bc3350276c1$export$ac6237957a15b3f0 as DepictSearch, $eb064bc3350276c1$export$bde3eb976dfded9 as get_search_query_updating_blocked_signal, $eb064bc3350276c1$export$f2dc7e4e4aa11abb as SearchPage, $f3b7124b76123e44$export$aa14a9f43128f61f as ProductCardError, $169c13c0531d91d2$export$d86a33413558014e as open_modal_with_alignment, $5eaa00b951637e96$export$ee1733d9a8495996 as DefaultInstantCardPlaceholder, $1308a7816c3d4f2d$export$b3ad617e9036868 as align_field, $1308a7816c3d4f2d$export$3f238c96c45e6cc6 as ALIGN_TOP, $1308a7816c3d4f2d$export$902f8b4a7dae5d78 as ALIGN_WIDTH_ON_MODAL, $1308a7816c3d4f2d$export$7895aadd1956b1c7 as ALIGN_LEFT, $1308a7816c3d4f2d$export$6060bc6bee850eb6 as SET_CENTERED_LEFT, $a9c7ba6087881ac2$export$6daf8749b65a1b77 as convert_sdk_cols_at_size_to_layout, $cc64aabf2c7a1f1a$export$1233ca167bf71f9a as styles_to_valid_css_string, $e56d241d0f33d459$export$fe334901e8bebd57 as disable_scrolling, $573c007c697a1831$export$d0596b5cae35ad4 as open_search_with_shift_slash, $284849364a6ef73a$export$e015ed2f2950f2e3 as DepictAPI, $00a5b94f0c11efbb$export$d9f36cf74e24d595 as media_query_to_accessor, $e60a76195ac6d408$export$689e204eadb33baf as setup_fast_leave, $a61a2051e15c8d7a$export$5196e4c01fa56fcb as show_toast, $60ec7a29849d81db$export$a71e92cfbb498adc as SolidFormatPrice, $37e8c97bb6876197$export$828dcdd425fd3231 as connect_search_field_height_to_aligner_height, $bc2337c9a05ecd18$export$acb3eaade4b23afd as BasePlaceholder, $ceafb6fb91c6f394$export$89c6019e4baa40b1 as TextPlaceholder, $3ab4aa97880fb88d$export$3f37af283f8fb843 as ImagePlaceholder, $f9fd3017c20b774a$export$3ccaa27d81dd8556 as PageReplacer, $d399250dfa491636$export$864d304a0bc46829 as defaultGridSpacing, $d399250dfa491636$export$c3834fa86c616831 as defaultColsAtSize, $d399250dfa491636$export$7bf543b9d9be2c22 as defaultCategoryTitlePlugin, $8db9a15135765c11$export$83d89fbfd8236492 as version, $a3026fb727bc7550$export$316f6f283ae64765 as SearchField, $62a8813a51fbd22f$export$5b7c3ce0ebe51f86 as BreadCrumbs, $62a8813a51fbd22f$export$de035477d6fef996 as QuickLinks, $8821a19349c36651$export$e2bf8ce7779e827e as CategoryPage };