@depict-ai/ui 4.3.3 → 4.3.4
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/ES10/index.cjs +137 -126
- package/ES10/index.d.ts +12 -1
- package/ES10/index.js +171 -160
- package/latest/index.cjs +131 -120
- package/latest/index.d.ts +12 -1
- package/latest/index.js +165 -154
- package/package.json +2 -2
- package/server/ES10/index.cjs +120 -109
- package/server/ES10/index.d.ts +12 -1
- package/server/ES10/index.js +159 -148
- package/server/latest/index.cjs +114 -103
- package/server/latest/index.d.ts +12 -1
- package/server/latest/index.js +153 -142
package/ES10/index.js
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { add_to_version_info as $8tj43$add_to_version_info, fetch_retry as $8tj43$fetch_retry, base_url as $8tj43$base_url, dwarn as $8tj43$dwarn, slider_fractional_factory as $8tj43$slider_fractional_factory, dlog as $8tj43$dlog, camelCasifyObject as $8tj43$camelCasifyObject, make_random_classname as $8tj43$make_random_classname, n_col_styling_with_dist as $8tj43$n_col_styling_with_dist, catchify as $8tj43$catchify, layout_get_visible_recs_without_partial_rows as $8tj43$layout_get_visible_recs_without_partial_rows, layout_get_total_rec_amount_for_row as $8tj43$layout_get_total_rec_amount_for_row, layout_media_query_header as $8tj43$layout_media_query_header, report as $8tj43$report, slider_fading_factory as $8tj43$slider_fading_factory, Amazing_Slider as $8tj43$Amazing_Slider, slider_snap_css as $8tj43$slider_snap_css, observer as $8tj43$observer, javascript_media_query as $8tj43$javascript_media_query, queueMacroTask as $8tj43$queueMacroTask, findMostFrequentItem as $8tj43$findMostFrequentItem, standard_price_format as $8tj43$standard_price_format, instant_exec_on_suspect_history_change as $8tj43$instant_exec_on_suspect_history_change, deparallelize_no_drop as $8tj43$deparallelize_no_drop, ContainedImage as $8tj43$ContainedImage, buildThresholdList as $8tj43$buildThresholdList, make_asyncIterable_exiter as $8tj43$make_asyncIterable_exiter, href_change_ipns as $8tj43$href_change_ipns, base64_encode_unicode as $8tj43$base64_encode_unicode, base64_decode_unicode as $8tj43$base64_decode_unicode, use_href_accessor as $8tj43$use_href_accessor, get_session_id as $8tj43$get_session_id, add_version_query_params as $8tj43$add_version_query_params, useExpandingContainer as $8tj43$useExpandingContainer, hex_to_rgb as $8tj43$hex_to_rgb, relative_luminance_from_rgb as $8tj43$relative_luminance_from_rgb, snakeCasifyObject as $8tj43$snakeCasifyObject, make_url_with_query_params as $8tj43$make_url_with_query_params, sort_obj as $8tj43$sort_obj, ListenableSet as $8tj43$ListenableSet1, insert_surfaces as $8tj43$insert_surfaces, is_debug as $8tj43$is_debug } from "@depict-ai/utilishared/ES10";
|
|
2
|
-
import { template as $8tj43$template, getNextElement as $8tj43$getNextElement, insert as $8tj43$insert, createComponent as $8tj43$createComponent, mergeProps as $8tj43$
|
|
3
|
-
import { createSignal as $8tj43$createSignal, createMemo as $8tj43$createMemo, createResource as $8tj43$createResource, createEffect as $8tj43$createEffect,
|
|
2
|
+
import { template as $8tj43$template, getNextElement as $8tj43$getNextElement, insert as $8tj43$insert, createComponent as $8tj43$createComponent, mergeProps as $8tj43$mergeProps, isServer as $8tj43$isServer, spread as $8tj43$spread, runHydrationEvents as $8tj43$runHydrationEvents, addEventListener as $8tj43$addEventListener, className as $8tj43$className, memo as $8tj43$memo, delegateEvents as $8tj43$delegateEvents, getNextMarker as $8tj43$getNextMarker, effect as $8tj43$effect, classList as $8tj43$classList, setAttribute as $8tj43$setAttribute, style as $8tj43$style, use as $8tj43$use, setProperty as $8tj43$setProperty, Dynamic as $8tj43$Dynamic } from "solid-js/web";
|
|
3
|
+
import { createSignal as $8tj43$createSignal, createMemo as $8tj43$createMemo, createResource as $8tj43$createResource, createEffect as $8tj43$createEffect, Show as $8tj43$Show, mergeProps as $8tj43$mergeProps1, Suspense as $8tj43$Suspense, untrack as $8tj43$untrack, createRenderEffect as $8tj43$createRenderEffect, Index as $8tj43$Index, createRoot as $8tj43$createRoot, onCleanup as $8tj43$onCleanup, For as $8tj43$For, getOwner as $8tj43$getOwner, runWithOwner as $8tj43$runWithOwner, createContext as $8tj43$createContext, useContext as $8tj43$useContext, createUniqueId as $8tj43$createUniqueId, createComputed as $8tj43$createComputed, ErrorBoundary as $8tj43$ErrorBoundary, splitProps as $8tj43$splitProps, on as $8tj43$on, batch as $8tj43$batch, createSelector as $8tj43$createSelector, children as $8tj43$children, createReaction as $8tj43$createReaction, mapArray as $8tj43$mapArray } from "solid-js";
|
|
4
4
|
import $8tj43$babelruntimehelpersdefineProperty from "@babel/runtime/helpers/defineProperty";
|
|
5
5
|
import { ListenableSet as $8tj43$ListenableSet, catchify as $8tj43$catchify1, use_href_accessor as $8tj43$use_href_accessor1, report as $8tj43$report1 } from "@depict-ai/utilishared/ES10";
|
|
6
6
|
import $8tj43$babelruntimehelpersclassPrivateFieldSet from "@babel/runtime/helpers/classPrivateFieldSet";
|
|
@@ -10,7 +10,7 @@ import { createStore as $8tj43$createStore, reconcile as $8tj43$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.3.
|
|
13
|
+
const $8db9a15135765c11$export$83d89fbfd8236492 = "4.3.4";
|
|
14
14
|
const $a9c7ba6087881ac2$var$transform_elements = sorted_cols_at_size => {
|
|
15
15
|
const cols_at_size = [];
|
|
16
16
|
for (let i = 0; i < sorted_cols_at_size.length; i++) {
|
|
@@ -453,7 +453,7 @@ function $63f1f8dbcd07d3b0$export$d21e32dfedac04be(props) {
|
|
|
453
453
|
const container_class = "x" + $8tj43$createUniqueId();
|
|
454
454
|
const container_element_ = (() => {
|
|
455
455
|
var _el$ = $8tj43$getNextElement($63f1f8dbcd07d3b0$var$_tmpl$);
|
|
456
|
-
$8tj43$spread(_el$, $8tj43$
|
|
456
|
+
$8tj43$spread(_el$, $8tj43$mergeProps(() => props.element_attributes, {
|
|
457
457
|
"classList": {
|
|
458
458
|
[container_class]: true
|
|
459
459
|
}
|
|
@@ -714,7 +714,7 @@ function $39ddb986053fb759$export$d41d19e89346fa2(_ref) {
|
|
|
714
714
|
} = slider;
|
|
715
715
|
const Layout = props => $63f1f8dbcd07d3b0$export$445d8d3f5f706a40(props, insert_here, true);
|
|
716
716
|
// Do like this, so we don't have to call mergeProps ourselves
|
|
717
|
-
$8tj43$createComponent(Layout, $8tj43$
|
|
717
|
+
$8tj43$createComponent(Layout, $8tj43$mergeProps({
|
|
718
718
|
rows: "all",
|
|
719
719
|
layout: "slider"
|
|
720
720
|
}, layout_options_));
|
|
@@ -1047,7 +1047,7 @@ function $56047603f9d212b6$export$6e5611bc7e57e477(props) {
|
|
|
1047
1047
|
if (loading === "force-lazy") return true;
|
|
1048
1048
|
return loading === "lazy" && !isPrioritisedImage();
|
|
1049
1049
|
});
|
|
1050
|
-
const modifiedOtherAttributes = $8tj43$
|
|
1050
|
+
const modifiedOtherAttributes = $8tj43$mergeProps1(otherAttributes, {
|
|
1051
1051
|
get loading() {
|
|
1052
1052
|
return shouldActuallyEnableLazyLoading() ? "lazy" : undefined;
|
|
1053
1053
|
}
|
|
@@ -1119,7 +1119,7 @@ function $56047603f9d212b6$export$6e5611bc7e57e477(props) {
|
|
|
1119
1119
|
$8tj43$onCleanup(() => prevValue && aspectRatios.delete(prevValue));
|
|
1120
1120
|
}
|
|
1121
1121
|
$8tj43$onCleanup(() => gotCleanedUp = true);
|
|
1122
|
-
$8tj43$spread(img, $8tj43$
|
|
1122
|
+
$8tj43$spread(img, $8tj43$mergeProps1(modifiedOtherAttributes), false, true);
|
|
1123
1123
|
$8tj43$createRenderEffect(() => {
|
|
1124
1124
|
props.src;
|
|
1125
1125
|
srcJustChanged = true;
|
|
@@ -1220,7 +1220,7 @@ function $4df489344a0f97c7$export$e4b984597b71e989(props) {
|
|
|
1220
1220
|
$8tj43$queueMacroTask(() => setCurrentImageSize()); // unset the size accessor next event loop iteration, so that all onCleanup's have time to run, since the effects run more aggressively and can create a size accessor with a cleaned up owner otherwise
|
|
1221
1221
|
});
|
|
1222
1222
|
|
|
1223
|
-
$8tj43$insert(container, $8tj43$createComponent((0, $56047603f9d212b6$export$6e5611bc7e57e477), $8tj43$
|
|
1223
|
+
$8tj43$insert(container, $8tj43$createComponent((0, $56047603f9d212b6$export$6e5611bc7e57e477), $8tj43$mergeProps({
|
|
1224
1224
|
get size() {
|
|
1225
1225
|
return $8tj43$createMemo(() => {
|
|
1226
1226
|
var _currentImageSize;
|
|
@@ -1239,7 +1239,7 @@ function $4df489344a0f97c7$export$e4b984597b71e989(props) {
|
|
|
1239
1239
|
return container;
|
|
1240
1240
|
}
|
|
1241
1241
|
function $98688279b9059f50$export$9d4a4b669b1929ab(props) {
|
|
1242
|
-
return $8tj43$createComponent((0, $4df489344a0f97c7$export$e4b984597b71e989), $8tj43$
|
|
1242
|
+
return $8tj43$createComponent((0, $4df489344a0f97c7$export$e4b984597b71e989), $8tj43$mergeProps(props, {
|
|
1243
1243
|
get imgProps() {
|
|
1244
1244
|
return {
|
|
1245
1245
|
...props.imgProps,
|
|
@@ -1311,7 +1311,7 @@ function $0c5b1686f971e5e7$export$b73ed90f0ee50dc3(_ref) {
|
|
|
1311
1311
|
[_el$15, _co$4] = $8tj43$getNextMarker(_el$14.nextSibling);
|
|
1312
1312
|
var _ref$ = outerRef_;
|
|
1313
1313
|
typeof _ref$ === "function" ? $8tj43$use(_ref$, _el$) : outerRef_ = _el$;
|
|
1314
|
-
$8tj43$spread(_el$, $8tj43$
|
|
1314
|
+
$8tj43$spread(_el$, $8tj43$mergeProps(() => enableLink() ? {
|
|
1315
1315
|
href: href()
|
|
1316
1316
|
} : {}, {
|
|
1317
1317
|
get onClick() {
|
|
@@ -1592,7 +1592,7 @@ function $4089a7972a508539$export$ebf0b1d4f90c09ae(_ref) {
|
|
|
1592
1592
|
behavior: "smooth"
|
|
1593
1593
|
});
|
|
1594
1594
|
}), _el$2);
|
|
1595
|
-
$8tj43$spread(_el$2, $8tj43$
|
|
1595
|
+
$8tj43$spread(_el$2, $8tj43$mergeProps({
|
|
1596
1596
|
get classList() {
|
|
1597
1597
|
return {
|
|
1598
1598
|
expanded: userWantsExpanded(),
|
|
@@ -1864,11 +1864,105 @@ function $ac571292d606f30b$var$_get_navigation_happened_promise2(is_replace) {
|
|
|
1864
1864
|
(0, $8tj43$instant_exec_on_suspect_history_change).add(handler);
|
|
1865
1865
|
});
|
|
1866
1866
|
}
|
|
1867
|
-
var $
|
|
1868
|
-
|
|
1869
|
-
|
|
1867
|
+
var $e3efeb558d952696$var$_tmpl$ = /*#__PURE__*/$8tj43$template(`<button class="show-more major"type=button>`),
|
|
1868
|
+
$e3efeb558d952696$var$_tmpl$2 = /*#__PURE__*/$8tj43$template(`<h2 class=recs-title>`),
|
|
1869
|
+
$e3efeb558d952696$var$_tmpl$3 = /*#__PURE__*/$8tj43$template(`<div class=recommendation-grid><!$><!/><!$><!/>`);
|
|
1870
|
+
function $e3efeb558d952696$export$7da560f849543dff(_ref) {
|
|
1871
|
+
let {
|
|
1872
|
+
recommendations_resource_: recommendations_resource_,
|
|
1873
|
+
product_card_template_: product_card_template_,
|
|
1874
|
+
layout_options_: layout_options_,
|
|
1875
|
+
title_: title_,
|
|
1876
|
+
max_rows_: max_rows_,
|
|
1877
|
+
view_more_button_: view_more_button_
|
|
1878
|
+
} = _ref;
|
|
1879
|
+
const rows_object_ = $8tj43$createMemo(() => {
|
|
1880
|
+
var _view_more_button$row;
|
|
1881
|
+
const view_more_button = view_more_button_ === null || view_more_button_ === void 0 ? void 0 : view_more_button_();
|
|
1882
|
+
const max_rows = max_rows_ === null || max_rows_ === void 0 ? void 0 : max_rows_();
|
|
1883
|
+
if (!view_more_button) {
|
|
1884
|
+
if (max_rows) return {
|
|
1885
|
+
max_rows: max_rows
|
|
1886
|
+
};
|
|
1887
|
+
return "all";
|
|
1888
|
+
}
|
|
1889
|
+
return {
|
|
1890
|
+
max_rows: max_rows,
|
|
1891
|
+
start_rows: view_more_button.start_rows,
|
|
1892
|
+
rows_per_click: (_view_more_button$row = view_more_button.rows_per_click) !== null && _view_more_button$row !== void 0 ? _view_more_button$row : 2,
|
|
1893
|
+
button: (() => {
|
|
1894
|
+
var _el$ = $8tj43$getNextElement($e3efeb558d952696$var$_tmpl$);
|
|
1895
|
+
$8tj43$insert(_el$, () => view_more_button.text);
|
|
1896
|
+
return _el$;
|
|
1897
|
+
})()
|
|
1898
|
+
};
|
|
1899
|
+
});
|
|
1900
|
+
const is_showing_something = $8tj43$createMemo(() => {
|
|
1901
|
+
var _recommendations_reso;
|
|
1902
|
+
return recommendations_resource_.loading || ((_recommendations_reso = recommendations_resource_()) === null || _recommendations_reso === void 0 ? void 0 : _recommendations_reso.length);
|
|
1903
|
+
});
|
|
1904
|
+
const title = $8tj43$createMemo(() => title_ === null || title_ === void 0 ? void 0 : title_()); // In case getter/accessor creates elements, don't create them twice
|
|
1905
|
+
const num_placeholders_ = () => 20;
|
|
1906
|
+
const elements = [$8tj43$createComponent((0, $8tj43$Show), {
|
|
1907
|
+
get when() {
|
|
1908
|
+
return title();
|
|
1909
|
+
},
|
|
1910
|
+
get children() {
|
|
1911
|
+
var _el$2 = $8tj43$getNextElement($e3efeb558d952696$var$_tmpl$2);
|
|
1912
|
+
$8tj43$insert(_el$2, title);
|
|
1913
|
+
return _el$2;
|
|
1914
|
+
}
|
|
1915
|
+
}), (() => {
|
|
1916
|
+
var _el$3 = $8tj43$getNextElement($e3efeb558d952696$var$_tmpl$3),
|
|
1917
|
+
_el$4 = _el$3.firstChild,
|
|
1918
|
+
[_el$5, _co$] = $8tj43$getNextMarker(_el$4.nextSibling),
|
|
1919
|
+
_el$6 = _el$5.nextSibling,
|
|
1920
|
+
[_el$7, _co$2] = $8tj43$getNextMarker(_el$6.nextSibling);
|
|
1921
|
+
$8tj43$insert(_el$3, (0, $ca55612a53dbbdd2$export$a2cc176055f8f08), _el$5, _co$);
|
|
1922
|
+
$8tj43$insert(_el$3, $8tj43$createComponent((0, $63f1f8dbcd07d3b0$export$d21e32dfedac04be), $8tj43$mergeProps({
|
|
1923
|
+
get rows() {
|
|
1924
|
+
return rows_object_();
|
|
1925
|
+
},
|
|
1926
|
+
layout: "grid",
|
|
1927
|
+
element_attributes: {
|
|
1928
|
+
class: "cards"
|
|
1929
|
+
}
|
|
1930
|
+
}, layout_options_, {
|
|
1931
|
+
get children() {
|
|
1932
|
+
return $8tj43$createComponent((0, $8tj43$Suspense), {
|
|
1933
|
+
get fallback() {
|
|
1934
|
+
return $bdd80c7862246dc2$export$f33414a4df0afd3f({
|
|
1935
|
+
num_placeholders_: num_placeholders_,
|
|
1936
|
+
product_card_template_: product_card_template_
|
|
1937
|
+
});
|
|
1938
|
+
},
|
|
1939
|
+
get children() {
|
|
1940
|
+
return (() => {
|
|
1941
|
+
// IIFE to make sure we access both the recommendations_resource and the resources containing the product card rendering results themselves within the Suspense boundary
|
|
1942
|
+
const displays_by_key_ = $2d7bad8684bc7f44$export$7f8bd308237ab5a5($8tj43$createMemo(() => recommendations_resource_() || []));
|
|
1943
|
+
return $2d7bad8684bc7f44$export$43f0fb951fcb0c54({
|
|
1944
|
+
displays_by_key_: displays_by_key_,
|
|
1945
|
+
product_card_template_: product_card_template_
|
|
1946
|
+
});
|
|
1947
|
+
})();
|
|
1948
|
+
}
|
|
1949
|
+
});
|
|
1950
|
+
}
|
|
1951
|
+
})), _el$7, _co$2);
|
|
1952
|
+
return _el$3;
|
|
1953
|
+
})()];
|
|
1954
|
+
return $8tj43$createComponent((0, $8tj43$Show), {
|
|
1955
|
+
get when() {
|
|
1956
|
+
return is_showing_something();
|
|
1957
|
+
},
|
|
1958
|
+
children: elements
|
|
1959
|
+
});
|
|
1960
|
+
}
|
|
1961
|
+
var $bb34cd283e904784$var$_tmpl$ = /*#__PURE__*/$8tj43$template(`<div class="depict recommendations looks"style=--animation-duration:240ms>`);
|
|
1962
|
+
let $bb34cd283e904784$var$expandedLooksSignal_;
|
|
1963
|
+
function $bb34cd283e904784$export$2c9f9bf2092486aa(props) {
|
|
1870
1964
|
return $83e8cf2c0b87a58a$export$23fca46f3143581f(() => {
|
|
1871
|
-
$
|
|
1965
|
+
$bb34cd283e904784$var$expandedLooksSignal_ || ($bb34cd283e904784$var$expandedLooksSignal_ = $8tj43$createSignal(new Set(), {
|
|
1872
1966
|
equals: false
|
|
1873
1967
|
}));
|
|
1874
1968
|
const expandingAnimationDuration = 240;
|
|
@@ -1910,8 +2004,25 @@ function $cee56a95f722f55f$export$1935e6bdfc5ed8ce(props) {
|
|
|
1910
2004
|
market: market,
|
|
1911
2005
|
locale: locale
|
|
1912
2006
|
};
|
|
1913
|
-
return $
|
|
1914
|
-
});
|
|
2007
|
+
return $bb34cd283e904784$var$runDisplayTransformersForLooks(baseData, listings, props.displayTransformers_);
|
|
2008
|
+
});
|
|
2009
|
+
const sharedOptions = {
|
|
2010
|
+
product_card_template_: display => $697d8713dc82b9ab$export$44809a8a3e867e30({
|
|
2011
|
+
display_: display,
|
|
2012
|
+
FavoriteButton_: props.FavoriteButton_,
|
|
2013
|
+
placeholderImageAspectRatio_: props.imagePlaceholderAspectRatio_,
|
|
2014
|
+
animationDuration_: expandingAnimationDuration,
|
|
2015
|
+
expandedLooksSignal_: $bb34cd283e904784$var$expandedLooksSignal_,
|
|
2016
|
+
priceFormatting_: () => props.priceFormatting_,
|
|
2017
|
+
pseudoRouter_: pseudoRouter
|
|
2018
|
+
}),
|
|
2019
|
+
recommendations_resource_: looksResource,
|
|
2020
|
+
title_: () => props.title_,
|
|
2021
|
+
layout_options_: $8tj43$createMemo(() => ({
|
|
2022
|
+
cols_at_size: $a9c7ba6087881ac2$export$6daf8749b65a1b77(props.columnsAtSize_),
|
|
2023
|
+
...grid_spacing_override()
|
|
2024
|
+
}))
|
|
2025
|
+
};
|
|
1915
2026
|
$8tj43$createEffect(() => {
|
|
1916
2027
|
const {
|
|
1917
2028
|
onNavigation_: onNavigation_
|
|
@@ -1919,25 +2030,19 @@ function $cee56a95f722f55f$export$1935e6bdfc5ed8ce(props) {
|
|
|
1919
2030
|
if (onNavigation_) pseudoRouter.on_navigation_ = onNavigation_;
|
|
1920
2031
|
});
|
|
1921
2032
|
return (() => {
|
|
1922
|
-
var _el$ = $8tj43$getNextElement($
|
|
2033
|
+
var _el$ = $8tj43$getNextElement($bb34cd283e904784$var$_tmpl$);
|
|
1923
2034
|
$8tj43$insert(_el$, $8tj43$createComponent((0, $5441862cd2f5e111$export$e68cff63f76bd15b), {
|
|
1924
2035
|
get children() {
|
|
1925
|
-
return $
|
|
1926
|
-
|
|
1927
|
-
|
|
1928
|
-
|
|
1929
|
-
|
|
1930
|
-
|
|
1931
|
-
|
|
1932
|
-
|
|
1933
|
-
|
|
1934
|
-
}
|
|
1935
|
-
recommendations_resource_: looksResource,
|
|
1936
|
-
title_: () => props.title_,
|
|
1937
|
-
layout_options_: $8tj43$createMemo(() => ({
|
|
1938
|
-
cols_at_size: $a9c7ba6087881ac2$export$6daf8749b65a1b77(props.columnsAtSize_),
|
|
1939
|
-
...grid_spacing_override()
|
|
1940
|
-
}))
|
|
2036
|
+
return $8tj43$createComponent((0, $8tj43$Show), {
|
|
2037
|
+
get when() {
|
|
2038
|
+
return props.gridOptions_;
|
|
2039
|
+
},
|
|
2040
|
+
get fallback() {
|
|
2041
|
+
return $8tj43$createComponent((0, $39ddb986053fb759$export$d41d19e89346fa2), sharedOptions);
|
|
2042
|
+
},
|
|
2043
|
+
get children() {
|
|
2044
|
+
return $8tj43$createComponent((0, $e3efeb558d952696$export$7da560f849543dff), $8tj43$mergeProps(sharedOptions, () => props.gridOptions_));
|
|
2045
|
+
}
|
|
1941
2046
|
});
|
|
1942
2047
|
}
|
|
1943
2048
|
}));
|
|
@@ -1945,7 +2050,7 @@ function $cee56a95f722f55f$export$1935e6bdfc5ed8ce(props) {
|
|
|
1945
2050
|
})();
|
|
1946
2051
|
}, "LookSlider failed");
|
|
1947
2052
|
}
|
|
1948
|
-
async function $
|
|
2053
|
+
async function $bb34cd283e904784$var$runDisplayTransformersForLooks(baseData, listings, displayTransformers) {
|
|
1949
2054
|
try {
|
|
1950
2055
|
const {
|
|
1951
2056
|
products: productTransformer,
|
|
@@ -1988,7 +2093,7 @@ async function $cee56a95f722f55f$var$runDisplayTransformersForLooks(baseData, li
|
|
|
1988
2093
|
}) : displaysToTransform;
|
|
1989
2094
|
const transformedListings = await transformedListingsPromise;
|
|
1990
2095
|
const transformedDisplayById = Object.fromEntries(transformedProducts.map(display => [$6a4c7ed6d005505c$export$548d053aba053d79(display), display]));
|
|
1991
|
-
return transformedListings.map(listing => $8tj43$
|
|
2096
|
+
return transformedListings.map(listing => $8tj43$mergeProps1(listing, {
|
|
1992
2097
|
// use mergeProps because in preview browser we add getters in this object, that would be called too early otherwise
|
|
1993
2098
|
displays: (displayIdsPerListingId[listing.listing_id] || []).map(displayId => transformedDisplayById[displayId]).filter(v => v)
|
|
1994
2099
|
}));
|
|
@@ -3515,7 +3620,7 @@ function $584c06c09cf4609d$export$b94867ecbd698f21(_ref) {
|
|
|
3515
3620
|
$8tj43$insert(_el$5, $8tj43$createComponent((0, $9783d437ad61594c$export$3b621d86b1566b2), {}));
|
|
3516
3621
|
var _ref$2 = submit_button_ref_;
|
|
3517
3622
|
typeof _ref$2 === "function" ? $8tj43$use(_ref$2, _el$6) : submit_button_ref_ = _el$6;
|
|
3518
|
-
$8tj43$spread(_el$6, $8tj43$
|
|
3623
|
+
$8tj43$spread(_el$6, $8tj43$mergeProps({
|
|
3519
3624
|
get onClick() {
|
|
3520
3625
|
return $8tj43$catchify(() => submit_query_());
|
|
3521
3626
|
}
|
|
@@ -4172,7 +4277,7 @@ function $26db6925469636a4$export$67152d26d4f56ee8(_ref) {
|
|
|
4172
4277
|
}); // <- could be made reactive getter created in displayTransformers, read it in memo here since it might create computations (for example in the preview-brower), and there's no owner in the onClick handler
|
|
4173
4278
|
const LinkToListing = props => (() => {
|
|
4174
4279
|
var _el$ = $8tj43$getNextElement($26db6925469636a4$var$_tmpl$);
|
|
4175
|
-
$8tj43$spread(_el$, $8tj43$
|
|
4280
|
+
$8tj43$spread(_el$, $8tj43$mergeProps(props, {
|
|
4176
4281
|
get href() {
|
|
4177
4282
|
return href();
|
|
4178
4283
|
},
|
|
@@ -4588,7 +4693,7 @@ function $4acc866f8fdfc002$export$af1fb307bbba2417(_ref) {
|
|
|
4588
4693
|
$8tj43$createComputed($8tj43$on(search_field_value_[0], () => !suggestions_updating_blocked() && set_selected_index(undefined), {
|
|
4589
4694
|
defer: true
|
|
4590
4695
|
})); // reset autocomplete position if query changes
|
|
4591
|
-
return [$8tj43$createComponent((0, $5175a47d13b7c228$export$d4994a86c6235f72), $8tj43$
|
|
4696
|
+
return [$8tj43$createComponent((0, $5175a47d13b7c228$export$d4994a86c6235f72), $8tj43$mergeProps(sharedSuggestionProps, {
|
|
4592
4697
|
get title_() {
|
|
4593
4698
|
return i18n_.popular_;
|
|
4594
4699
|
},
|
|
@@ -4598,7 +4703,7 @@ function $4acc866f8fdfc002$export$af1fb307bbba2417(_ref) {
|
|
|
4598
4703
|
return itemIndexes_.suggestionsIndex_;
|
|
4599
4704
|
},
|
|
4600
4705
|
showPlaceholders_: () => showPlaceholders() || noResults_() && !noResultsPopularSuggestions.latest
|
|
4601
|
-
})), $8tj43$createComponent((0, $5175a47d13b7c228$export$d4994a86c6235f72), $8tj43$
|
|
4706
|
+
})), $8tj43$createComponent((0, $5175a47d13b7c228$export$d4994a86c6235f72), $8tj43$mergeProps(sharedSuggestionProps, {
|
|
4602
4707
|
get title_() {
|
|
4603
4708
|
return i18n_.previous_;
|
|
4604
4709
|
},
|
|
@@ -4615,7 +4720,7 @@ function $4acc866f8fdfc002$export$af1fb307bbba2417(_ref) {
|
|
|
4615
4720
|
return _el$;
|
|
4616
4721
|
})(),
|
|
4617
4722
|
showPlaceholders_: () => false
|
|
4618
|
-
})), $8tj43$createComponent((0, $5175a47d13b7c228$export$d4994a86c6235f72), $8tj43$
|
|
4723
|
+
})), $8tj43$createComponent((0, $5175a47d13b7c228$export$d4994a86c6235f72), $8tj43$mergeProps(sharedSuggestionProps, {
|
|
4619
4724
|
get title_() {
|
|
4620
4725
|
return i18n_.content_;
|
|
4621
4726
|
},
|
|
@@ -5151,7 +5256,7 @@ function $6a439680ae7e9ba3$export$b2539bed5023c21c(props) {
|
|
|
5151
5256
|
return $8tj43$createComponent($6a439680ae7e9ba3$var$TabsContext.Provider, {
|
|
5152
5257
|
value: new (0, $8tj43$ListenableSet)(),
|
|
5153
5258
|
get children() {
|
|
5154
|
-
return $8tj43$createComponent($6a439680ae7e9ba3$var$ActualTabs, $8tj43$
|
|
5259
|
+
return $8tj43$createComponent($6a439680ae7e9ba3$var$ActualTabs, $8tj43$mergeProps(props, {
|
|
5155
5260
|
get children() {
|
|
5156
5261
|
return props.children;
|
|
5157
5262
|
}
|
|
@@ -5181,7 +5286,7 @@ function $6a439680ae7e9ba3$var$ActualTabs(props) {
|
|
|
5181
5286
|
},
|
|
5182
5287
|
children: item => {
|
|
5183
5288
|
const weSelected = $8tj43$createMemo(() => isSelected(item().id));
|
|
5184
|
-
return $8tj43$createComponent((0, $8tj43$Dynamic), $8tj43$
|
|
5289
|
+
return $8tj43$createComponent((0, $8tj43$Dynamic), $8tj43$mergeProps({
|
|
5185
5290
|
get component() {
|
|
5186
5291
|
return props.AnchorComponent;
|
|
5187
5292
|
},
|
|
@@ -5292,7 +5397,7 @@ function $6a439680ae7e9ba3$export$3e41faf802a29e71(props) {
|
|
|
5292
5397
|
if (!currentTabs) throw new Error("Tab must be a child of Tabs");
|
|
5293
5398
|
const id = $8tj43$createUniqueId();
|
|
5294
5399
|
const ourSet = currentTabs;
|
|
5295
|
-
const extendedProps = $8tj43$
|
|
5400
|
+
const extendedProps = $8tj43$mergeProps1({
|
|
5296
5401
|
id: id
|
|
5297
5402
|
}, props);
|
|
5298
5403
|
ourSet.add(extendedProps);
|
|
@@ -5502,104 +5607,9 @@ const $fa332ea03168857c$export$b91cec6bdc6b32a1 = /*@__PURE__*/(() => {
|
|
|
5502
5607
|
const $d399250dfa491636$export$c3834fa86c616831 = [[4], [3, 1024], [2, 901]];
|
|
5503
5608
|
const $d399250dfa491636$export$864d304a0bc46829 = "2%";
|
|
5504
5609
|
const $d399250dfa491636$export$7bf543b9d9be2c22 = (0, $fa332ea03168857c$export$b91cec6bdc6b32a1);
|
|
5505
|
-
var $
|
|
5506
|
-
$e3efeb558d952696$var$_tmpl$2 = /*#__PURE__*/$8tj43$template(`<div class=recommendation-grid><!$><!/><!$><!/>`);
|
|
5507
|
-
function $e3efeb558d952696$export$7da560f849543dff(_ref) {
|
|
5508
|
-
let {
|
|
5509
|
-
recommendations_resource_: recommendations_resource_,
|
|
5510
|
-
product_card_template_: product_card_template_,
|
|
5511
|
-
layout_options_: layout_options_,
|
|
5512
|
-
rows_object_: rows_object_,
|
|
5513
|
-
title_: title_
|
|
5514
|
-
} = _ref;
|
|
5515
|
-
const is_showing_something = $8tj43$createMemo(() => {
|
|
5516
|
-
var _recommendations_reso;
|
|
5517
|
-
return recommendations_resource_.loading || ((_recommendations_reso = recommendations_resource_()) === null || _recommendations_reso === void 0 ? void 0 : _recommendations_reso.length);
|
|
5518
|
-
});
|
|
5519
|
-
const title = $8tj43$createMemo(() => title_ === null || title_ === void 0 ? void 0 : title_()); // In case getter/accessor creates elements, don't create them twice
|
|
5520
|
-
const num_placeholders_ = () => 20;
|
|
5521
|
-
const elements = [$8tj43$createComponent((0, $8tj43$Show), {
|
|
5522
|
-
get when() {
|
|
5523
|
-
return title();
|
|
5524
|
-
},
|
|
5525
|
-
get children() {
|
|
5526
|
-
var _el$ = $8tj43$getNextElement($e3efeb558d952696$var$_tmpl$);
|
|
5527
|
-
$8tj43$insert(_el$, title);
|
|
5528
|
-
return _el$;
|
|
5529
|
-
}
|
|
5530
|
-
}), (() => {
|
|
5531
|
-
var _el$2 = $8tj43$getNextElement($e3efeb558d952696$var$_tmpl$2),
|
|
5532
|
-
_el$3 = _el$2.firstChild,
|
|
5533
|
-
[_el$4, _co$] = $8tj43$getNextMarker(_el$3.nextSibling),
|
|
5534
|
-
_el$5 = _el$4.nextSibling,
|
|
5535
|
-
[_el$6, _co$2] = $8tj43$getNextMarker(_el$5.nextSibling);
|
|
5536
|
-
$8tj43$insert(_el$2, (0, $ca55612a53dbbdd2$export$a2cc176055f8f08), _el$4, _co$);
|
|
5537
|
-
$8tj43$insert(_el$2, $8tj43$createComponent((0, $63f1f8dbcd07d3b0$export$d21e32dfedac04be), $8tj43$mergeProps1({
|
|
5538
|
-
get rows() {
|
|
5539
|
-
return rows_object_();
|
|
5540
|
-
},
|
|
5541
|
-
layout: "grid",
|
|
5542
|
-
element_attributes: {
|
|
5543
|
-
class: "cards"
|
|
5544
|
-
}
|
|
5545
|
-
}, layout_options_, {
|
|
5546
|
-
get children() {
|
|
5547
|
-
return $8tj43$createComponent((0, $8tj43$Suspense), {
|
|
5548
|
-
get fallback() {
|
|
5549
|
-
return $bdd80c7862246dc2$export$f33414a4df0afd3f({
|
|
5550
|
-
num_placeholders_: num_placeholders_,
|
|
5551
|
-
product_card_template_: product_card_template_
|
|
5552
|
-
});
|
|
5553
|
-
},
|
|
5554
|
-
get children() {
|
|
5555
|
-
return (() => {
|
|
5556
|
-
// IIFE to make sure we access both the recommendations_resource and the resources containing the product card rendering results themselves within the Suspense boundary
|
|
5557
|
-
const displays_by_key_ = $2d7bad8684bc7f44$export$7f8bd308237ab5a5($8tj43$createMemo(() => recommendations_resource_() || []));
|
|
5558
|
-
return $2d7bad8684bc7f44$export$43f0fb951fcb0c54({
|
|
5559
|
-
displays_by_key_: displays_by_key_,
|
|
5560
|
-
product_card_template_: product_card_template_
|
|
5561
|
-
});
|
|
5562
|
-
})();
|
|
5563
|
-
}
|
|
5564
|
-
});
|
|
5565
|
-
}
|
|
5566
|
-
})), _el$6, _co$2);
|
|
5567
|
-
return _el$2;
|
|
5568
|
-
})()];
|
|
5569
|
-
return $8tj43$createComponent((0, $8tj43$Show), {
|
|
5570
|
-
get when() {
|
|
5571
|
-
return is_showing_something();
|
|
5572
|
-
},
|
|
5573
|
-
children: elements
|
|
5574
|
-
});
|
|
5575
|
-
}
|
|
5576
|
-
var $b432b11321ad4c97$var$_tmpl$ = /*#__PURE__*/$8tj43$template(`<button class="show-more major"type=button>`),
|
|
5577
|
-
$b432b11321ad4c97$var$_tmpl$2 = /*#__PURE__*/$8tj43$template(`<div class="depict plp recommendations">`);
|
|
5610
|
+
var $b432b11321ad4c97$var$_tmpl$ = /*#__PURE__*/$8tj43$template(`<div class="depict plp recommendations">`);
|
|
5578
5611
|
function $b432b11321ad4c97$export$9756467d34d91cdb(props) {
|
|
5579
5612
|
return $83e8cf2c0b87a58a$export$23fca46f3143581f(() => {
|
|
5580
|
-
const rows_object_ = $8tj43$createMemo(() => {
|
|
5581
|
-
var _view_more_button$row;
|
|
5582
|
-
const {
|
|
5583
|
-
view_more_button: view_more_button,
|
|
5584
|
-
max_rows: max_rows
|
|
5585
|
-
} = props;
|
|
5586
|
-
if (!view_more_button) {
|
|
5587
|
-
if (max_rows) return {
|
|
5588
|
-
max_rows: max_rows
|
|
5589
|
-
};
|
|
5590
|
-
return "all";
|
|
5591
|
-
}
|
|
5592
|
-
return {
|
|
5593
|
-
max_rows: max_rows,
|
|
5594
|
-
start_rows: view_more_button.start_rows,
|
|
5595
|
-
rows_per_click: (_view_more_button$row = view_more_button.rows_per_click) !== null && _view_more_button$row !== void 0 ? _view_more_button$row : 2,
|
|
5596
|
-
button: (() => {
|
|
5597
|
-
var _el$ = $8tj43$getNextElement($b432b11321ad4c97$var$_tmpl$);
|
|
5598
|
-
$8tj43$insert(_el$, () => view_more_button.text);
|
|
5599
|
-
return _el$;
|
|
5600
|
-
})()
|
|
5601
|
-
};
|
|
5602
|
-
});
|
|
5603
5613
|
const grid_spacing_override = $8tj43$createMemo(() => {
|
|
5604
5614
|
const {
|
|
5605
5615
|
grid_spacing: grid_spacing
|
|
@@ -5613,11 +5623,12 @@ function $b432b11321ad4c97$export$9756467d34d91cdb(props) {
|
|
|
5613
5623
|
});
|
|
5614
5624
|
const [recommendations_resource_] = $8tj43$createResource(() => props.recommendations, recs => recs);
|
|
5615
5625
|
return (() => {
|
|
5616
|
-
var _el$
|
|
5617
|
-
$8tj43$insert(_el
|
|
5626
|
+
var _el$ = $8tj43$getNextElement($b432b11321ad4c97$var$_tmpl$);
|
|
5627
|
+
$8tj43$insert(_el$, $8tj43$createComponent((0, $5441862cd2f5e111$export$e68cff63f76bd15b), {
|
|
5618
5628
|
get children() {
|
|
5619
5629
|
return $e3efeb558d952696$export$7da560f849543dff({
|
|
5620
|
-
|
|
5630
|
+
max_rows_: () => props.max_rows,
|
|
5631
|
+
view_more_button_: () => props.view_more_button,
|
|
5621
5632
|
product_card_template_: function () {
|
|
5622
5633
|
return props.product_card_template(...arguments);
|
|
5623
5634
|
},
|
|
@@ -5630,7 +5641,7 @@ function $b432b11321ad4c97$export$9756467d34d91cdb(props) {
|
|
|
5630
5641
|
});
|
|
5631
5642
|
}
|
|
5632
5643
|
}));
|
|
5633
|
-
return _el
|
|
5644
|
+
return _el$;
|
|
5634
5645
|
})();
|
|
5635
5646
|
}, "RecommendationGrid failed");
|
|
5636
5647
|
}
|
|
@@ -5923,7 +5934,7 @@ function $6b0fd8fd20df8ccf$var$ActualShopTheLookButton(props) {
|
|
|
5923
5934
|
const displayStyleValue = $8tj43$createMemo(() => hasAnythingToShow() ? "" : "none");
|
|
5924
5935
|
const button = (() => {
|
|
5925
5936
|
var _el$2 = $8tj43$getNextElement($6b0fd8fd20df8ccf$var$_tmpl$2);
|
|
5926
|
-
$8tj43$spread(_el$2, $8tj43$
|
|
5937
|
+
$8tj43$spread(_el$2, $8tj43$mergeProps(() => localProps.buttonAttributes), false, true);
|
|
5927
5938
|
$8tj43$insert(_el$2, () => {
|
|
5928
5939
|
var _localProps$buttonAtt;
|
|
5929
5940
|
return (localProps === null || localProps === void 0 ? void 0 : (_localProps$buttonAtt = localProps.buttonAttributes) === null || _localProps$buttonAtt === void 0 ? void 0 : _localProps$buttonAtt.children) || "Shop the look";
|
|
@@ -5933,7 +5944,7 @@ function $6b0fd8fd20df8ccf$var$ActualShopTheLookButton(props) {
|
|
|
5933
5944
|
})();
|
|
5934
5945
|
$8tj43$createEffect(() => button.style.display = displayStyleValue()); // Set our attributes like this, so we allow total control over the button from the outside via buttonAttributes
|
|
5935
5946
|
$8tj43$createEffect(() => !hasAnythingToShow() && closeModal()); // close modal if we ever get into the state of having it open and not having anything to show
|
|
5936
|
-
$6b0fd8fd20df8ccf$var$modalProps = $8tj43$
|
|
5947
|
+
$6b0fd8fd20df8ccf$var$modalProps = $8tj43$mergeProps1(partForModal, {
|
|
5937
5948
|
products_to_shop_: products_to_shop_
|
|
5938
5949
|
});
|
|
5939
5950
|
button.addEventListener("click", openModal);
|
|
@@ -6695,7 +6706,7 @@ var $ff3225aef892a467$var$_tmpl$ = /*#__PURE__*/$8tj43$template(`<svg><path d="M
|
|
|
6695
6706
|
function $ff3225aef892a467$export$f21ab0717a89c77f(props) {
|
|
6696
6707
|
return (() => {
|
|
6697
6708
|
var _el$ = $8tj43$getNextElement($ff3225aef892a467$var$_tmpl$);
|
|
6698
|
-
$8tj43$spread(_el$, $8tj43$
|
|
6709
|
+
$8tj43$spread(_el$, $8tj43$mergeProps(props, {
|
|
6699
6710
|
"xmlns": "http://www.w3.org/2000/svg",
|
|
6700
6711
|
"width": "11",
|
|
6701
6712
|
"height": "12"
|
|
@@ -8280,7 +8291,7 @@ const $830ea8efda59884e$export$414f6a19d38e655c = _ref => {
|
|
|
8280
8291
|
[_el$6, _co$] = $8tj43$getNextMarker(_el$5.nextSibling),
|
|
8281
8292
|
_el$7 = _el$6.nextSibling,
|
|
8282
8293
|
[_el$8, _co$2] = $8tj43$getNextMarker(_el$7.nextSibling);
|
|
8283
|
-
$8tj43$spread(_el$2, $8tj43$
|
|
8294
|
+
$8tj43$spread(_el$2, $8tj43$mergeProps(attributes, {
|
|
8284
8295
|
get disabled() {
|
|
8285
8296
|
return $8tj43$memo(() => !!count_zero())() && !is_selected();
|
|
8286
8297
|
},
|
|
@@ -9917,7 +9928,7 @@ async function $284849364a6ef73a$var$_run_url_creator_for_suggest2(merchant, mar
|
|
|
9917
9928
|
// Filter out our transformed ancestors
|
|
9918
9929
|
const transformedAncestors = Object.fromEntries(transformerResult.filter(item => item.is_suggestion === false).map(item => [item.listing_id, item]));
|
|
9919
9930
|
// Add the now transformed ancestors into the ancestors of the listing suggestions
|
|
9920
|
-
const transformedSuggestions = transformerResult.filter(item => item.is_suggestion !== false).map(item => $8tj43$
|
|
9931
|
+
const transformedSuggestions = transformerResult.filter(item => item.is_suggestion !== false).map(item => $8tj43$mergeProps1(item, {
|
|
9921
9932
|
// Use mergeProps instead of spread since page_url and other properties could be a getter that solid components should call
|
|
9922
9933
|
ancestors: item.ancestors.map(ancestor => {
|
|
9923
9934
|
const newAncestor = transformedAncestors[ancestor.listing_id];
|
|
@@ -10453,7 +10464,7 @@ function $8ef6232475d44150$export$7de92c4c2205ebf3(_ref) {
|
|
|
10453
10464
|
[_el$6, _co$2] = $8tj43$getNextMarker(_el$5.nextSibling);
|
|
10454
10465
|
$8tj43$insert(_el$2, () => i18n_.search_recs_title_());
|
|
10455
10466
|
$8tj43$insert(_el$, (0, $ca55612a53dbbdd2$export$a2cc176055f8f08), _el$4, _co$);
|
|
10456
|
-
$8tj43$insert(_el$, $8tj43$createComponent((0, $63f1f8dbcd07d3b0$export$d21e32dfedac04be), $8tj43$
|
|
10467
|
+
$8tj43$insert(_el$, $8tj43$createComponent((0, $63f1f8dbcd07d3b0$export$d21e32dfedac04be), $8tj43$mergeProps({
|
|
10457
10468
|
rows: rows_object,
|
|
10458
10469
|
layout: "grid",
|
|
10459
10470
|
element_attributes: {
|
|
@@ -11217,7 +11228,7 @@ function $64d94dcaa058dc7b$export$ab6b147eec64fea5(props) {
|
|
|
11217
11228
|
const container_class = "x" + $8tj43$createUniqueId();
|
|
11218
11229
|
const container_element_ = (() => {
|
|
11219
11230
|
var _el$ = $8tj43$getNextElement($64d94dcaa058dc7b$var$_tmpl$);
|
|
11220
|
-
$8tj43$spread(_el$, $8tj43$
|
|
11231
|
+
$8tj43$spread(_el$, $8tj43$mergeProps(() => props.element_attributes, {
|
|
11221
11232
|
"classList": {
|
|
11222
11233
|
[container_class]: true
|
|
11223
11234
|
}
|
|
@@ -11512,7 +11523,7 @@ function $ff7feae4dddd6073$var$wrap_blocks_in_div(rendered_content_blocks, max_s
|
|
|
11512
11523
|
return _el$;
|
|
11513
11524
|
}
|
|
11514
11525
|
});
|
|
11515
|
-
return $8tj43$
|
|
11526
|
+
return $8tj43$mergeProps1(block, {
|
|
11516
11527
|
// Create content divs for the blocks with as much fine-grained diffing as possible?
|
|
11517
11528
|
content: () => {
|
|
11518
11529
|
// Sneaky on-demand rendering, so we don't render more blocks than we can show: we have the rendered value here and don't return a function that renders because if our block would be moved around we'd be guaranteed to re-render
|
|
@@ -11760,7 +11771,7 @@ function $7faea0096f14b59b$export$3925f87b1545cfc6(_ref) {
|
|
|
11760
11771
|
} = slider;
|
|
11761
11772
|
const Layout = props => $63f1f8dbcd07d3b0$export$445d8d3f5f706a40(props, insert_here, true);
|
|
11762
11773
|
// Do like this, so we don't have to call mergeProps ourselves
|
|
11763
|
-
$8tj43$createComponent(Layout, $8tj43$
|
|
11774
|
+
$8tj43$createComponent(Layout, $8tj43$mergeProps(layout_options_, {
|
|
11764
11775
|
rows: "all",
|
|
11765
11776
|
get cols_at_size() {
|
|
11766
11777
|
return modified_cols_at_size();
|
|
@@ -12289,7 +12300,7 @@ function $082c4ed3e22f8d71$export$9bf11afa910f536e(_ref) {
|
|
|
12289
12300
|
get children() {
|
|
12290
12301
|
return (() => {
|
|
12291
12302
|
var _el$34 = $8tj43$getNextElement($082c4ed3e22f8d71$var$_tmpl$5);
|
|
12292
|
-
$8tj43$insert(_el$34, $8tj43$createComponent((0, $f6b0500577e1b210$export$3f1a388cc0d8fed7), $8tj43$
|
|
12303
|
+
$8tj43$insert(_el$34, $8tj43$createComponent((0, $f6b0500577e1b210$export$3f1a388cc0d8fed7), $8tj43$mergeProps(args_for_filtering_, {
|
|
12293
12304
|
are_in_modal_: true
|
|
12294
12305
|
})));
|
|
12295
12306
|
return _el$34;
|
|
@@ -13102,7 +13113,7 @@ function $22470de5f42cc35d$export$f631859cab12b342(_ref) {
|
|
|
13102
13113
|
[_el$8, _co$] = $8tj43$getNextMarker(_el$7.nextSibling),
|
|
13103
13114
|
_el$9 = _el$8.nextSibling,
|
|
13104
13115
|
[_el$10, _co$2] = $8tj43$getNextMarker(_el$9.nextSibling);
|
|
13105
|
-
$8tj43$insert(_el$4, $8tj43$createComponent(LinkIfPossible, $8tj43$
|
|
13116
|
+
$8tj43$insert(_el$4, $8tj43$createComponent(LinkIfPossible, $8tj43$mergeProps(make_link_attributes, {
|
|
13106
13117
|
tabIndex: "-1",
|
|
13107
13118
|
get children() {
|
|
13108
13119
|
return $8tj43$createComponent((0, $3c5e15c6ee4227a9$export$605674723bcc715c), {
|
|
@@ -13111,7 +13122,7 @@ function $22470de5f42cc35d$export$f631859cab12b342(_ref) {
|
|
|
13111
13122
|
});
|
|
13112
13123
|
}
|
|
13113
13124
|
})));
|
|
13114
|
-
$8tj43$insert(_el$5, $8tj43$createComponent(LinkIfPossible, $8tj43$
|
|
13125
|
+
$8tj43$insert(_el$5, $8tj43$createComponent(LinkIfPossible, $8tj43$mergeProps({
|
|
13115
13126
|
"class": "content-title line-clamp"
|
|
13116
13127
|
}, make_link_attributes, {
|
|
13117
13128
|
get title() {
|
|
@@ -13277,7 +13288,7 @@ function $d53ebed6f63304e4$export$6d0c9c22f6652669(_ref) {
|
|
|
13277
13288
|
},
|
|
13278
13289
|
number_of_results_: num_results
|
|
13279
13290
|
}), _el$3, _co$);
|
|
13280
|
-
$8tj43$insert(_el$, $8tj43$createComponent((0, $63f1f8dbcd07d3b0$export$d21e32dfedac04be), $8tj43$
|
|
13291
|
+
$8tj43$insert(_el$, $8tj43$createComponent((0, $63f1f8dbcd07d3b0$export$d21e32dfedac04be), $8tj43$mergeProps({
|
|
13281
13292
|
layout: "grid",
|
|
13282
13293
|
element_attributes: {
|
|
13283
13294
|
class: "cards"
|
|
@@ -13688,7 +13699,7 @@ function $da279c5a540c6846$export$a54ec244c8863715(_ref) {
|
|
|
13688
13699
|
var _search_results_4, _search_results_4$con;
|
|
13689
13700
|
return ((_search_results_4 = search_results_()) !== null && _search_results_4 !== void 0 && (_search_results_4$con = _search_results_4.content_search_links) !== null && _search_results_4$con !== void 0 && _search_results_4$con.length ? i18n_.no_products_ : i18n_.no_results_text_)();
|
|
13690
13701
|
});
|
|
13691
|
-
const results_for = $8tj43$createComponent((0, $69602b3d8fd54c38$export$9dd50d35b9d94fdf), $8tj43$
|
|
13702
|
+
const results_for = $8tj43$createComponent((0, $69602b3d8fd54c38$export$9dd50d35b9d94fdf), $8tj43$mergeProps({
|
|
13692
13703
|
get type() {
|
|
13693
13704
|
return (0, $69602b3d8fd54c38$export$2452208c79fe93ea).products;
|
|
13694
13705
|
},
|
|
@@ -15829,7 +15840,7 @@ function $4b4b262708b516ee$var$add_us_to_crumbs(plp_meta) {
|
|
|
15829
15840
|
var _plp_meta3;
|
|
15830
15841
|
const api_value = (_plp_meta3 = plp_meta()) === null || _plp_meta3 === void 0 ? void 0 : _plp_meta3.breadcrumbs;
|
|
15831
15842
|
if (!api_value) return api_value;
|
|
15832
|
-
return [...api_value, $8tj43$
|
|
15843
|
+
return [...api_value, $8tj43$mergeProps1(plp_meta(), {
|
|
15833
15844
|
get page_url() {
|
|
15834
15845
|
return href_accessor();
|
|
15835
15846
|
}
|
|
@@ -15941,4 +15952,4 @@ function $8821a19349c36651$export$e2bf8ce7779e827e(props) {
|
|
|
15941
15952
|
}, "Entire CategoryPage failed");
|
|
15942
15953
|
}
|
|
15943
15954
|
$8tj43$add_to_version_info("ui", (0, $8db9a15135765c11$export$83d89fbfd8236492));
|
|
15944
|
-
export { $
|
|
15955
|
+
export { $bb34cd283e904784$export$2c9f9bf2092486aa as LooksSlider, $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, $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, $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 };
|