@depict-ai/ui 4.10.1 → 4.10.3

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 CHANGED
@@ -115,7 +115,7 @@ $parcel$export(module.exports, "BreadCrumbs", () => $335c02c1241a9ca8$export$5b7
115
115
  $parcel$export(module.exports, "QuickLinks", () => $335c02c1241a9ca8$export$de035477d6fef996);
116
116
  $parcel$export(module.exports, "CategoryPage", () => $c10e33c4681f8c9b$export$e2bf8ce7779e827e);
117
117
  /*! Depict.ai search and product listing SDK */
118
- const $aa1938dec50d6c12$export$83d89fbfd8236492 = "4.10.1";
118
+ const $aa1938dec50d6c12$export$83d89fbfd8236492 = "4.10.3";
119
119
  function $3e17e871e9d0911d$export$d9f36cf74e24d595(media_query) {
120
120
  const signal = $52FdA$solidjs.createSignal(false);
121
121
  $52FdA$solidjs.onCleanup($52FdA$depictaiutilishared.javascript_media_query(media_query, _ref => {
@@ -8186,12 +8186,11 @@ function $0c035bbe7e30b438$export$7a92d995f1bf3592(history_content_blocks_, plp_
8186
8186
  const {
8187
8187
  blocks: blocksFromHistory
8188
8188
  } = historyContentBlocks();
8189
- if (developerProvided) return developerProvided;
8190
8189
  // If we didn't get any content blocks (backend always return empty array) and we haven't seen any content blocks yet, return undefined
8191
8190
  // This is so the result rendering (PLPResults) will still use flexbox provided rendering on existing customers, so adding this isn't a breaking change
8192
8191
  // We don't want to switch rendering method every time one switches between a collection that hasn't vs has content blocks though, so once we've seen one content block we'll switch to css-grid-based rendering
8193
8192
  if (!(blocksFromHistory !== null && blocksFromHistory !== void 0 && blocksFromHistory.length) && !hasSeenContentBlock) return;
8194
- const content = [];
8193
+ const content = [...(developerProvided || [])];
8195
8194
  hasSeenContentBlock = true;
8196
8195
  blocksFromHistory.forEach(row => {
8197
8196
  const {
@@ -9553,7 +9552,7 @@ class $73014ff36186a4dd$export$7e1297a3a19f10d8 {
9553
9552
  listing_query_: listing_query_,
9554
9553
  scroll = true
9555
9554
  } = _ref;
9556
- const new_url_ = raw_new_url instanceof URL ? raw_new_url : new URL(raw_new_url, location.origin);
9555
+ const new_url_ = raw_new_url instanceof URL ? raw_new_url : new URL(raw_new_url, location.href);
9557
9556
  const wants_hard_navigation = this.on_navigation_ === "hard_navigation";
9558
9557
  if ($9ca08bcacbc598ce$export$29d28dadc2d6b631(event_)) return;
9559
9558
  const different_origin = new_url_.origin !== location.origin;
@@ -9579,7 +9578,7 @@ class $73014ff36186a4dd$export$7e1297a3a19f10d8 {
9579
9578
  history[is_replace_ ? "replaceState" : "pushState"](new_state, "", new_url_);
9580
9579
  } else $73014ff36186a4dd$var$_classPrivateMethodGet(this, $73014ff36186a4dd$var$_throwing_on_navigation, $73014ff36186a4dd$var$_throwing_on_navigation2).call(this, {
9581
9580
  is_replace: is_replace_,
9582
- new_url: new_url_ instanceof URL ? new_url_ : new URL(new_url_, location.origin),
9581
+ new_url: new_url_ instanceof URL ? new_url_ : new URL(new_url_, location.href),
9583
9582
  scroll: scroll
9584
9583
  });
9585
9584
  await promise;
package/ES10/index.d.ts CHANGED
@@ -11,7 +11,7 @@ import { GetListingRequest } from "@depict-ai/types/api/GetListingRequest";
11
11
  import { BaseSearchRequestV3 } from "@depict-ai/types/api/BaseSearchRequestV3";
12
12
  import { FeaturedInDisplay } from "@depict-ai/types/api/FeaturedInResponseV3";
13
13
  import { SearchFilter as _SearchFilter3 } from "@depict-ai/types/api/SearchRequestV2";
14
- export const version = "4.10.1";
14
+ export const version = "4.10.3";
15
15
  /**
16
16
  * Use `javascript_media_query` but return a reactive accessor instead of taking a callback function
17
17
  */
package/ES10/index.js CHANGED
@@ -10,7 +10,7 @@ import $8tj43$babelruntimehelpersclassPrivateFieldGet from "@babel/runtime/helpe
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.10.1";
13
+ const $8db9a15135765c11$export$83d89fbfd8236492 = "4.10.3";
14
14
  function $00a5b94f0c11efbb$export$d9f36cf74e24d595(media_query) {
15
15
  const signal = $8tj43$createSignal(false);
16
16
  $8tj43$onCleanup($8tj43$javascript_media_query(media_query, _ref => {
@@ -8081,12 +8081,11 @@ function $12ff24fdc4b26d88$export$7a92d995f1bf3592(history_content_blocks_, plp_
8081
8081
  const {
8082
8082
  blocks: blocksFromHistory
8083
8083
  } = historyContentBlocks();
8084
- if (developerProvided) return developerProvided;
8085
8084
  // If we didn't get any content blocks (backend always return empty array) and we haven't seen any content blocks yet, return undefined
8086
8085
  // This is so the result rendering (PLPResults) will still use flexbox provided rendering on existing customers, so adding this isn't a breaking change
8087
8086
  // We don't want to switch rendering method every time one switches between a collection that hasn't vs has content blocks though, so once we've seen one content block we'll switch to css-grid-based rendering
8088
8087
  if (!(blocksFromHistory !== null && blocksFromHistory !== void 0 && blocksFromHistory.length) && !hasSeenContentBlock) return;
8089
- const content = [];
8088
+ const content = [...(developerProvided || [])];
8090
8089
  hasSeenContentBlock = true;
8091
8090
  blocksFromHistory.forEach(row => {
8092
8091
  const {
@@ -9448,7 +9447,7 @@ class $ac571292d606f30b$export$7e1297a3a19f10d8 {
9448
9447
  listing_query_: listing_query_,
9449
9448
  scroll = true
9450
9449
  } = _ref;
9451
- const new_url_ = raw_new_url instanceof URL ? raw_new_url : new URL(raw_new_url, location.origin);
9450
+ const new_url_ = raw_new_url instanceof URL ? raw_new_url : new URL(raw_new_url, location.href);
9452
9451
  const wants_hard_navigation = this.on_navigation_ === "hard_navigation";
9453
9452
  if ($9b35d1384e31813a$export$29d28dadc2d6b631(event_)) return;
9454
9453
  const different_origin = new_url_.origin !== location.origin;
@@ -9474,7 +9473,7 @@ class $ac571292d606f30b$export$7e1297a3a19f10d8 {
9474
9473
  history[is_replace_ ? "replaceState" : "pushState"](new_state, "", new_url_);
9475
9474
  } else $ac571292d606f30b$var$_classPrivateMethodGet(this, $ac571292d606f30b$var$_throwing_on_navigation, $ac571292d606f30b$var$_throwing_on_navigation2).call(this, {
9476
9475
  is_replace: is_replace_,
9477
- new_url: new_url_ instanceof URL ? new_url_ : new URL(new_url_, location.origin),
9476
+ new_url: new_url_ instanceof URL ? new_url_ : new URL(new_url_, location.href),
9478
9477
  scroll: scroll
9479
9478
  });
9480
9479
  await promise;
package/latest/index.cjs CHANGED
@@ -109,7 +109,7 @@ $parcel$export(module.exports, "BreadCrumbs", () => $1f4925833f07df29$export$5b7
109
109
  $parcel$export(module.exports, "QuickLinks", () => $1f4925833f07df29$export$de035477d6fef996);
110
110
  $parcel$export(module.exports, "CategoryPage", () => $14f289047713d67a$export$e2bf8ce7779e827e);
111
111
  /*! Depict.ai search and product listing SDK */
112
- const $b757f75811f3261f$export$83d89fbfd8236492 = "4.10.1";
112
+ const $b757f75811f3261f$export$83d89fbfd8236492 = "4.10.3";
113
113
  function $b54e6192d0caa293$export$d9f36cf74e24d595(media_query) {
114
114
  const signal = $gVhhF$solidjs.createSignal(false);
115
115
  $gVhhF$solidjs.onCleanup($gVhhF$depictaiutilishared.javascript_media_query(media_query, ({
@@ -7747,12 +7747,11 @@ function $0a80939bf0a1e9cc$export$7a92d995f1bf3592(history_content_blocks_, plp_
7747
7747
  const {
7748
7748
  blocks: blocksFromHistory
7749
7749
  } = historyContentBlocks();
7750
- if (developerProvided) return developerProvided;
7751
7750
  // If we didn't get any content blocks (backend always return empty array) and we haven't seen any content blocks yet, return undefined
7752
7751
  // This is so the result rendering (PLPResults) will still use flexbox provided rendering on existing customers, so adding this isn't a breaking change
7753
7752
  // We don't want to switch rendering method every time one switches between a collection that hasn't vs has content blocks though, so once we've seen one content block we'll switch to css-grid-based rendering
7754
7753
  if (!blocksFromHistory?.length && !hasSeenContentBlock) return;
7755
- const content = [];
7754
+ const content = [...(developerProvided || [])];
7756
7755
  hasSeenContentBlock = true;
7757
7756
  blocksFromHistory.forEach(row => {
7758
7757
  const {
@@ -9053,7 +9052,7 @@ class $e96dd13889871fc0$export$7e1297a3a19f10d8 {
9053
9052
  listing_query_: listing_query_,
9054
9053
  scroll = true
9055
9054
  }) => {
9056
- const new_url_ = raw_new_url instanceof URL ? raw_new_url : new URL(raw_new_url, location.origin);
9055
+ const new_url_ = raw_new_url instanceof URL ? raw_new_url : new URL(raw_new_url, location.href);
9057
9056
  const wants_hard_navigation = this.on_navigation_ === "hard_navigation";
9058
9057
  if ($747421cd28dec5b5$export$29d28dadc2d6b631(event_)) return;
9059
9058
  const different_origin = new_url_.origin !== location.origin;
@@ -9079,7 +9078,7 @@ class $e96dd13889871fc0$export$7e1297a3a19f10d8 {
9079
9078
  history[is_replace_ ? "replaceState" : "pushState"](new_state, "", new_url_);
9080
9079
  } else this.#throwing_on_navigation.call(this, {
9081
9080
  is_replace: is_replace_,
9082
- new_url: new_url_ instanceof URL ? new_url_ : new URL(new_url_, location.origin),
9081
+ new_url: new_url_ instanceof URL ? new_url_ : new URL(new_url_, location.href),
9083
9082
  scroll: scroll
9084
9083
  });
9085
9084
  await promise;
package/latest/index.d.ts CHANGED
@@ -11,7 +11,7 @@ import { GetListingRequest } from "@depict-ai/types/api/GetListingRequest";
11
11
  import { BaseSearchRequestV3 } from "@depict-ai/types/api/BaseSearchRequestV3";
12
12
  import { FeaturedInDisplay } from "@depict-ai/types/api/FeaturedInResponseV3";
13
13
  import { SearchFilter as _SearchFilter3 } from "@depict-ai/types/api/SearchRequestV2";
14
- export const version = "4.10.1";
14
+ export const version = "4.10.3";
15
15
  /**
16
16
  * Use `javascript_media_query` but return a reactive accessor instead of taking a callback function
17
17
  */
package/latest/index.js CHANGED
@@ -7,7 +7,7 @@ import { createStore as $9HbP8$createStore, reconcile as $9HbP8$reconcile } from
7
7
  /*! Depict.ai search and product listing SDK */
8
8
  import { register_es_version } from "../multi_import_deduplicator.mjs";
9
9
  register_es_version("ui", "latest");
10
- const $ec291e0010116877$export$83d89fbfd8236492 = "4.10.1";
10
+ const $ec291e0010116877$export$83d89fbfd8236492 = "4.10.3";
11
11
  function $dc9262ef6f786812$export$d9f36cf74e24d595(media_query) {
12
12
  const signal = $9HbP8$createSignal(false);
13
13
  $9HbP8$onCleanup($9HbP8$javascript_media_query(media_query, ({
@@ -7645,12 +7645,11 @@ function $486360b09f0d5729$export$7a92d995f1bf3592(history_content_blocks_, plp_
7645
7645
  const {
7646
7646
  blocks: blocksFromHistory
7647
7647
  } = historyContentBlocks();
7648
- if (developerProvided) return developerProvided;
7649
7648
  // If we didn't get any content blocks (backend always return empty array) and we haven't seen any content blocks yet, return undefined
7650
7649
  // This is so the result rendering (PLPResults) will still use flexbox provided rendering on existing customers, so adding this isn't a breaking change
7651
7650
  // We don't want to switch rendering method every time one switches between a collection that hasn't vs has content blocks though, so once we've seen one content block we'll switch to css-grid-based rendering
7652
7651
  if (!blocksFromHistory?.length && !hasSeenContentBlock) return;
7653
- const content = [];
7652
+ const content = [...(developerProvided || [])];
7654
7653
  hasSeenContentBlock = true;
7655
7654
  blocksFromHistory.forEach(row => {
7656
7655
  const {
@@ -8951,7 +8950,7 @@ class $4fd2ba03703a7d92$export$7e1297a3a19f10d8 {
8951
8950
  listing_query_: listing_query_,
8952
8951
  scroll = true
8953
8952
  }) => {
8954
- const new_url_ = raw_new_url instanceof URL ? raw_new_url : new URL(raw_new_url, location.origin);
8953
+ const new_url_ = raw_new_url instanceof URL ? raw_new_url : new URL(raw_new_url, location.href);
8955
8954
  const wants_hard_navigation = this.on_navigation_ === "hard_navigation";
8956
8955
  if ($a281666e5c15c2ec$export$29d28dadc2d6b631(event_)) return;
8957
8956
  const different_origin = new_url_.origin !== location.origin;
@@ -8977,7 +8976,7 @@ class $4fd2ba03703a7d92$export$7e1297a3a19f10d8 {
8977
8976
  history[is_replace_ ? "replaceState" : "pushState"](new_state, "", new_url_);
8978
8977
  } else this.#throwing_on_navigation.call(this, {
8979
8978
  is_replace: is_replace_,
8980
- new_url: new_url_ instanceof URL ? new_url_ : new URL(new_url_, location.origin),
8979
+ new_url: new_url_ instanceof URL ? new_url_ : new URL(new_url_, location.href),
8981
8980
  scroll: scroll
8982
8981
  });
8983
8982
  await promise;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@depict-ai/ui",
3
- "version": "4.10.1",
3
+ "version": "4.10.3",
4
4
  "description": "Base package containing the actual UI of Depict UI along with translations, with a not-simplified API. We recommend using @depict-ai/js-ui or @depict-ai/react-ui instead.",
5
5
  "packageManager": "yarn@3.2.2",
6
6
  "sass": "styles.scss",
@@ -115,7 +115,7 @@ $parcel$export(module.exports, "BreadCrumbs", () => $335c02c1241a9ca8$export$5b7
115
115
  $parcel$export(module.exports, "QuickLinks", () => $335c02c1241a9ca8$export$de035477d6fef996);
116
116
  $parcel$export(module.exports, "CategoryPage", () => $c10e33c4681f8c9b$export$e2bf8ce7779e827e);
117
117
  /*! Depict.ai search and product listing SDK */
118
- const $aa1938dec50d6c12$export$83d89fbfd8236492 = "4.10.1";
118
+ const $aa1938dec50d6c12$export$83d89fbfd8236492 = "4.10.3";
119
119
  function $3e17e871e9d0911d$export$d9f36cf74e24d595(media_query) {
120
120
  const signal = $3hooq$solidjs.createSignal(false);
121
121
  $3hooq$solidjs.onCleanup($3hooq$depictaiutilishared.javascript_media_query(media_query, _ref => {
@@ -6706,12 +6706,11 @@ function $0c035bbe7e30b438$export$7a92d995f1bf3592(history_content_blocks_, plp_
6706
6706
  const {
6707
6707
  blocks: blocksFromHistory
6708
6708
  } = historyContentBlocks();
6709
- if (developerProvided) return developerProvided;
6710
6709
  // If we didn't get any content blocks (backend always return empty array) and we haven't seen any content blocks yet, return undefined
6711
6710
  // This is so the result rendering (PLPResults) will still use flexbox provided rendering on existing customers, so adding this isn't a breaking change
6712
6711
  // We don't want to switch rendering method every time one switches between a collection that hasn't vs has content blocks though, so once we've seen one content block we'll switch to css-grid-based rendering
6713
6712
  if (!(blocksFromHistory !== null && blocksFromHistory !== void 0 && blocksFromHistory.length) && !hasSeenContentBlock) return;
6714
- const content = [];
6713
+ const content = [...(developerProvided || [])];
6715
6714
  hasSeenContentBlock = true;
6716
6715
  blocksFromHistory.forEach(row => {
6717
6716
  const {
@@ -7890,7 +7889,7 @@ class $73014ff36186a4dd$export$7e1297a3a19f10d8 {
7890
7889
  listing_query_: listing_query_,
7891
7890
  scroll = true
7892
7891
  } = _ref;
7893
- const new_url_ = raw_new_url instanceof URL ? raw_new_url : new URL(raw_new_url, location.origin);
7892
+ const new_url_ = raw_new_url instanceof URL ? raw_new_url : new URL(raw_new_url, location.href);
7894
7893
  const wants_hard_navigation = this.on_navigation_ === "hard_navigation";
7895
7894
  if ($9ca08bcacbc598ce$export$29d28dadc2d6b631(event_)) return;
7896
7895
  const different_origin = new_url_.origin !== location.origin;
@@ -7916,7 +7915,7 @@ class $73014ff36186a4dd$export$7e1297a3a19f10d8 {
7916
7915
  history[is_replace_ ? "replaceState" : "pushState"](new_state, "", new_url_);
7917
7916
  } else $73014ff36186a4dd$var$_classPrivateMethodGet(this, $73014ff36186a4dd$var$_throwing_on_navigation, $73014ff36186a4dd$var$_throwing_on_navigation2).call(this, {
7918
7917
  is_replace: is_replace_,
7919
- new_url: new_url_ instanceof URL ? new_url_ : new URL(new_url_, location.origin),
7918
+ new_url: new_url_ instanceof URL ? new_url_ : new URL(new_url_, location.href),
7920
7919
  scroll: scroll
7921
7920
  });
7922
7921
  await promise;
@@ -11,7 +11,7 @@ import { GetListingRequest } from "@depict-ai/types/api/GetListingRequest";
11
11
  import { BaseSearchRequestV3 } from "@depict-ai/types/api/BaseSearchRequestV3";
12
12
  import { FeaturedInDisplay } from "@depict-ai/types/api/FeaturedInResponseV3";
13
13
  import { SearchFilter as _SearchFilter3 } from "@depict-ai/types/api/SearchRequestV2";
14
- export const version = "4.10.1";
14
+ export const version = "4.10.3";
15
15
  /**
16
16
  * Use `javascript_media_query` but return a reactive accessor instead of taking a callback function
17
17
  */
@@ -10,7 +10,7 @@ import $b8hua$babelruntimehelpersclassPrivateFieldGet from "@babel/runtime/helpe
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.10.1";
13
+ const $8db9a15135765c11$export$83d89fbfd8236492 = "4.10.3";
14
14
  function $00a5b94f0c11efbb$export$d9f36cf74e24d595(media_query) {
15
15
  const signal = $b8hua$createSignal(false);
16
16
  $b8hua$onCleanup($b8hua$javascript_media_query(media_query, _ref => {
@@ -6601,12 +6601,11 @@ function $12ff24fdc4b26d88$export$7a92d995f1bf3592(history_content_blocks_, plp_
6601
6601
  const {
6602
6602
  blocks: blocksFromHistory
6603
6603
  } = historyContentBlocks();
6604
- if (developerProvided) return developerProvided;
6605
6604
  // If we didn't get any content blocks (backend always return empty array) and we haven't seen any content blocks yet, return undefined
6606
6605
  // This is so the result rendering (PLPResults) will still use flexbox provided rendering on existing customers, so adding this isn't a breaking change
6607
6606
  // We don't want to switch rendering method every time one switches between a collection that hasn't vs has content blocks though, so once we've seen one content block we'll switch to css-grid-based rendering
6608
6607
  if (!(blocksFromHistory !== null && blocksFromHistory !== void 0 && blocksFromHistory.length) && !hasSeenContentBlock) return;
6609
- const content = [];
6608
+ const content = [...(developerProvided || [])];
6610
6609
  hasSeenContentBlock = true;
6611
6610
  blocksFromHistory.forEach(row => {
6612
6611
  const {
@@ -7785,7 +7784,7 @@ class $ac571292d606f30b$export$7e1297a3a19f10d8 {
7785
7784
  listing_query_: listing_query_,
7786
7785
  scroll = true
7787
7786
  } = _ref;
7788
- const new_url_ = raw_new_url instanceof URL ? raw_new_url : new URL(raw_new_url, location.origin);
7787
+ const new_url_ = raw_new_url instanceof URL ? raw_new_url : new URL(raw_new_url, location.href);
7789
7788
  const wants_hard_navigation = this.on_navigation_ === "hard_navigation";
7790
7789
  if ($9b35d1384e31813a$export$29d28dadc2d6b631(event_)) return;
7791
7790
  const different_origin = new_url_.origin !== location.origin;
@@ -7811,7 +7810,7 @@ class $ac571292d606f30b$export$7e1297a3a19f10d8 {
7811
7810
  history[is_replace_ ? "replaceState" : "pushState"](new_state, "", new_url_);
7812
7811
  } else $ac571292d606f30b$var$_classPrivateMethodGet(this, $ac571292d606f30b$var$_throwing_on_navigation, $ac571292d606f30b$var$_throwing_on_navigation2).call(this, {
7813
7812
  is_replace: is_replace_,
7814
- new_url: new_url_ instanceof URL ? new_url_ : new URL(new_url_, location.origin),
7813
+ new_url: new_url_ instanceof URL ? new_url_ : new URL(new_url_, location.href),
7815
7814
  scroll: scroll
7816
7815
  });
7817
7816
  await promise;
@@ -109,7 +109,7 @@ $parcel$export(module.exports, "BreadCrumbs", () => $1f4925833f07df29$export$5b7
109
109
  $parcel$export(module.exports, "QuickLinks", () => $1f4925833f07df29$export$de035477d6fef996);
110
110
  $parcel$export(module.exports, "CategoryPage", () => $14f289047713d67a$export$e2bf8ce7779e827e);
111
111
  /*! Depict.ai search and product listing SDK */
112
- const $b757f75811f3261f$export$83d89fbfd8236492 = "4.10.1";
112
+ const $b757f75811f3261f$export$83d89fbfd8236492 = "4.10.3";
113
113
  function $b54e6192d0caa293$export$d9f36cf74e24d595(media_query) {
114
114
  const signal = $5vyXB$solidjs.createSignal(false);
115
115
  $5vyXB$solidjs.onCleanup($5vyXB$depictaiutilishared.javascript_media_query(media_query, ({
@@ -6320,12 +6320,11 @@ function $0a80939bf0a1e9cc$export$7a92d995f1bf3592(history_content_blocks_, plp_
6320
6320
  const {
6321
6321
  blocks: blocksFromHistory
6322
6322
  } = historyContentBlocks();
6323
- if (developerProvided) return developerProvided;
6324
6323
  // If we didn't get any content blocks (backend always return empty array) and we haven't seen any content blocks yet, return undefined
6325
6324
  // This is so the result rendering (PLPResults) will still use flexbox provided rendering on existing customers, so adding this isn't a breaking change
6326
6325
  // We don't want to switch rendering method every time one switches between a collection that hasn't vs has content blocks though, so once we've seen one content block we'll switch to css-grid-based rendering
6327
6326
  if (!blocksFromHistory?.length && !hasSeenContentBlock) return;
6328
- const content = [];
6327
+ const content = [...(developerProvided || [])];
6329
6328
  hasSeenContentBlock = true;
6330
6329
  blocksFromHistory.forEach(row => {
6331
6330
  const {
@@ -7453,7 +7452,7 @@ class $e96dd13889871fc0$export$7e1297a3a19f10d8 {
7453
7452
  listing_query_: listing_query_,
7454
7453
  scroll = true
7455
7454
  }) => {
7456
- const new_url_ = raw_new_url instanceof URL ? raw_new_url : new URL(raw_new_url, location.origin);
7455
+ const new_url_ = raw_new_url instanceof URL ? raw_new_url : new URL(raw_new_url, location.href);
7457
7456
  const wants_hard_navigation = this.on_navigation_ === "hard_navigation";
7458
7457
  if ($747421cd28dec5b5$export$29d28dadc2d6b631(event_)) return;
7459
7458
  const different_origin = new_url_.origin !== location.origin;
@@ -7479,7 +7478,7 @@ class $e96dd13889871fc0$export$7e1297a3a19f10d8 {
7479
7478
  history[is_replace_ ? "replaceState" : "pushState"](new_state, "", new_url_);
7480
7479
  } else this.#throwing_on_navigation.call(this, {
7481
7480
  is_replace: is_replace_,
7482
- new_url: new_url_ instanceof URL ? new_url_ : new URL(new_url_, location.origin),
7481
+ new_url: new_url_ instanceof URL ? new_url_ : new URL(new_url_, location.href),
7483
7482
  scroll: scroll
7484
7483
  });
7485
7484
  await promise;
@@ -11,7 +11,7 @@ import { GetListingRequest } from "@depict-ai/types/api/GetListingRequest";
11
11
  import { BaseSearchRequestV3 } from "@depict-ai/types/api/BaseSearchRequestV3";
12
12
  import { FeaturedInDisplay } from "@depict-ai/types/api/FeaturedInResponseV3";
13
13
  import { SearchFilter as _SearchFilter3 } from "@depict-ai/types/api/SearchRequestV2";
14
- export const version = "4.10.1";
14
+ export const version = "4.10.3";
15
15
  /**
16
16
  * Use `javascript_media_query` but return a reactive accessor instead of taking a callback function
17
17
  */
@@ -7,7 +7,7 @@ import { createStore as $i7OB2$createStore, reconcile as $i7OB2$reconcile } from
7
7
  /*! Depict.ai search and product listing SDK */
8
8
  import { register_es_version } from "../../multi_import_deduplicator.mjs";
9
9
  register_es_version("ui", "latest");
10
- const $ec291e0010116877$export$83d89fbfd8236492 = "4.10.1";
10
+ const $ec291e0010116877$export$83d89fbfd8236492 = "4.10.3";
11
11
  function $dc9262ef6f786812$export$d9f36cf74e24d595(media_query) {
12
12
  const signal = $i7OB2$createSignal(false);
13
13
  $i7OB2$onCleanup($i7OB2$javascript_media_query(media_query, ({
@@ -6218,12 +6218,11 @@ function $486360b09f0d5729$export$7a92d995f1bf3592(history_content_blocks_, plp_
6218
6218
  const {
6219
6219
  blocks: blocksFromHistory
6220
6220
  } = historyContentBlocks();
6221
- if (developerProvided) return developerProvided;
6222
6221
  // If we didn't get any content blocks (backend always return empty array) and we haven't seen any content blocks yet, return undefined
6223
6222
  // This is so the result rendering (PLPResults) will still use flexbox provided rendering on existing customers, so adding this isn't a breaking change
6224
6223
  // We don't want to switch rendering method every time one switches between a collection that hasn't vs has content blocks though, so once we've seen one content block we'll switch to css-grid-based rendering
6225
6224
  if (!blocksFromHistory?.length && !hasSeenContentBlock) return;
6226
- const content = [];
6225
+ const content = [...(developerProvided || [])];
6227
6226
  hasSeenContentBlock = true;
6228
6227
  blocksFromHistory.forEach(row => {
6229
6228
  const {
@@ -7351,7 +7350,7 @@ class $4fd2ba03703a7d92$export$7e1297a3a19f10d8 {
7351
7350
  listing_query_: listing_query_,
7352
7351
  scroll = true
7353
7352
  }) => {
7354
- const new_url_ = raw_new_url instanceof URL ? raw_new_url : new URL(raw_new_url, location.origin);
7353
+ const new_url_ = raw_new_url instanceof URL ? raw_new_url : new URL(raw_new_url, location.href);
7355
7354
  const wants_hard_navigation = this.on_navigation_ === "hard_navigation";
7356
7355
  if ($a281666e5c15c2ec$export$29d28dadc2d6b631(event_)) return;
7357
7356
  const different_origin = new_url_.origin !== location.origin;
@@ -7377,7 +7376,7 @@ class $4fd2ba03703a7d92$export$7e1297a3a19f10d8 {
7377
7376
  history[is_replace_ ? "replaceState" : "pushState"](new_state, "", new_url_);
7378
7377
  } else this.#throwing_on_navigation.call(this, {
7379
7378
  is_replace: is_replace_,
7380
- new_url: new_url_ instanceof URL ? new_url_ : new URL(new_url_, location.origin),
7379
+ new_url: new_url_ instanceof URL ? new_url_ : new URL(new_url_, location.href),
7381
7380
  scroll: scroll
7382
7381
  });
7383
7382
  await promise;