@depict-ai/ui 4.7.3 → 4.7.5

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
@@ -104,7 +104,7 @@ $parcel$export(module.exports, "BreadCrumbs", () => $335c02c1241a9ca8$export$5b7
104
104
  $parcel$export(module.exports, "QuickLinks", () => $335c02c1241a9ca8$export$de035477d6fef996);
105
105
  $parcel$export(module.exports, "CategoryPage", () => $c10e33c4681f8c9b$export$e2bf8ce7779e827e);
106
106
  /*! Depict.ai search and product listing SDK */
107
- const $aa1938dec50d6c12$export$83d89fbfd8236492 = "4.7.3";
107
+ const $aa1938dec50d6c12$export$83d89fbfd8236492 = "4.7.4";
108
108
  function $d6d51b09cb2116a6$export$5bad61ecde080b1f() {
109
109
  const {
110
110
  collapse: collapse,
@@ -1381,7 +1381,8 @@ function $f3db423dc84bc35d$export$9d4a4b669b1929ab(props) {
1381
1381
  ...props.imgProps,
1382
1382
  customUrls: (url, width // Apparently don't have to encode url for CF's service
1383
1383
  ) => {
1384
- if (url.startsWith("https://cdn.shopify.com"))
1384
+ var _url$startsWith;
1385
+ if (url !== null && url !== void 0 && (_url$startsWith = url.startsWith) !== null && _url$startsWith !== void 0 && _url$startsWith.call(url, "https://cdn.shopify.com"))
1385
1386
  // The shopify image resizing CDN blocks Cloudflare's image resizer. It's possible that we can't detect shopify image URLs sometimes because they go to the merchant's domain,
1386
1387
  // but it seems like the URLs returned by the Depict API always goes to the cdn.shopify.com version of an image, so this simple workaround works.
1387
1388
  return $858fdcf73148519f$export$1d6267828870adda(url, width);
@@ -2510,7 +2511,7 @@ const $82d079b68975fbf7$export$b05c0ae390cf3e06 = _ref => {
2510
2511
  }), _el$27, _co$9);
2511
2512
  $52FdA$solidjsweb.insert(_el$11, $52FdA$solidjsweb.createComponent((0, $52FdA$solidjs.Show), {
2512
2513
  get when() {
2513
- return !salePrice.loading && salePrice.latest;
2514
+ return !salePrice.loading && salePrice.latest != undefined;
2514
2515
  },
2515
2516
  get fallback() {
2516
2517
  return [$52FdA$solidjsweb.createComponent((0, $a7f7d416e6f61504$export$89c6019e4baa40b1), {
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.7.3";
14
+ export const version = "4.7.4";
15
15
  /**
16
16
  * Just like `useExpandingContainer` except that the children can be reactive solid-js signals, basically solid's JSX.Element instead of our JSX.Element
17
17
  */
@@ -1442,7 +1442,7 @@ type OpenModalParams<OriginalDisplay extends Display, OutputDisplay extends Mode
1442
1442
  * Open the modal with support for alignment.
1443
1443
  * @returns {void}
1444
1444
  */
1445
- export const open_modal_with_alignment: <OriginalDisplay extends Display, OutputDisplay extends unknown>(openModalParams: OpenModalParams<OriginalDisplay, OutputDisplay>) => void;
1445
+ export const open_modal_with_alignment: <OriginalDisplay extends Display, OutputDisplay extends ModernDisplay>(openModalParams: OpenModalParams<OriginalDisplay, OutputDisplay>) => void;
1446
1446
  export function open_search_with_shift_slash(open_search: VoidFunction): () => void;
1447
1447
  export interface PageReplacer {
1448
1448
  readonly render_: () => Node_Array;
@@ -1521,5 +1521,5 @@ export function CategoryPage<OriginalDisplay extends Display, OutputDisplay exte
1521
1521
  content_blocks_by_row?: ContentBlocksByRow;
1522
1522
  layout?: PossibleLayout;
1523
1523
  filterModalParent_?: HTMLElement | ShadowRoot;
1524
- }): import("@depict-ai/utilishared").Node_Array;
1524
+ }): import("@depict-ai/utilishared/latest").Node_Array;
1525
1525
  export type { SearchFilter } from "@depict-ai/types/api/SearchRequestV3";
package/ES10/index.js CHANGED
@@ -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.7.3";
13
+ const $8db9a15135765c11$export$83d89fbfd8236492 = "4.7.4";
14
14
  function $8e8b179489080711$export$5bad61ecde080b1f() {
15
15
  const {
16
16
  collapse: collapse,
@@ -1287,7 +1287,8 @@ function $98688279b9059f50$export$9d4a4b669b1929ab(props) {
1287
1287
  ...props.imgProps,
1288
1288
  customUrls: (url, width // Apparently don't have to encode url for CF's service
1289
1289
  ) => {
1290
- if (url.startsWith("https://cdn.shopify.com"))
1290
+ var _url$startsWith;
1291
+ if (url !== null && url !== void 0 && (_url$startsWith = url.startsWith) !== null && _url$startsWith !== void 0 && _url$startsWith.call(url, "https://cdn.shopify.com"))
1291
1292
  // The shopify image resizing CDN blocks Cloudflare's image resizer. It's possible that we can't detect shopify image URLs sometimes because they go to the merchant's domain,
1292
1293
  // but it seems like the URLs returned by the Depict API always goes to the cdn.shopify.com version of an image, so this simple workaround works.
1293
1294
  return $56047603f9d212b6$export$1d6267828870adda(url, width);
@@ -2416,7 +2417,7 @@ const $9a693c7e832d3f18$export$b05c0ae390cf3e06 = _ref => {
2416
2417
  }), _el$27, _co$9);
2417
2418
  $8tj43$insert(_el$11, $8tj43$createComponent((0, $8tj43$Show), {
2418
2419
  get when() {
2419
- return !salePrice.loading && salePrice.latest;
2420
+ return !salePrice.loading && salePrice.latest != undefined;
2420
2421
  },
2421
2422
  get fallback() {
2422
2423
  return [$8tj43$createComponent((0, $ceafb6fb91c6f394$export$89c6019e4baa40b1), {
package/latest/index.cjs CHANGED
@@ -98,7 +98,7 @@ $parcel$export(module.exports, "BreadCrumbs", () => $1f4925833f07df29$export$5b7
98
98
  $parcel$export(module.exports, "QuickLinks", () => $1f4925833f07df29$export$de035477d6fef996);
99
99
  $parcel$export(module.exports, "CategoryPage", () => $14f289047713d67a$export$e2bf8ce7779e827e);
100
100
  /*! Depict.ai search and product listing SDK */
101
- const $b757f75811f3261f$export$83d89fbfd8236492 = "4.7.3";
101
+ const $b757f75811f3261f$export$83d89fbfd8236492 = "4.7.4";
102
102
  function $4b455f60dadde8b8$export$5bad61ecde080b1f(...params) {
103
103
  const {
104
104
  collapse: collapse,
@@ -1314,7 +1314,7 @@ function $d212a67662c5cf38$export$9d4a4b669b1929ab(props) {
1314
1314
  ...props.imgProps,
1315
1315
  customUrls: (url, width // Apparently don't have to encode url for CF's service
1316
1316
  ) => {
1317
- if (url.startsWith("https://cdn.shopify.com"))
1317
+ if (url?.startsWith?.("https://cdn.shopify.com"))
1318
1318
  // The shopify image resizing CDN blocks Cloudflare's image resizer. It's possible that we can't detect shopify image URLs sometimes because they go to the merchant's domain,
1319
1319
  // but it seems like the URLs returned by the Depict API always goes to the cdn.shopify.com version of an image, so this simple workaround works.
1320
1320
  return $19950faaac026e09$export$1d6267828870adda(url, width);
@@ -2369,7 +2369,7 @@ const $6ae613870d3380fc$export$b05c0ae390cf3e06 = ({
2369
2369
  }), _el$27, _co$9);
2370
2370
  $gVhhF$solidjsweb.insert(_el$11, $gVhhF$solidjsweb.createComponent((0, $gVhhF$solidjs.Show), {
2371
2371
  get when() {
2372
- return !salePrice.loading && salePrice.latest;
2372
+ return !salePrice.loading && salePrice.latest != undefined;
2373
2373
  },
2374
2374
  get fallback() {
2375
2375
  return [$gVhhF$solidjsweb.createComponent((0, $061ff5b4c3d36171$export$89c6019e4baa40b1), {
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.7.3";
14
+ export const version = "4.7.4";
15
15
  /**
16
16
  * Just like `useExpandingContainer` except that the children can be reactive solid-js signals, basically solid's JSX.Element instead of our JSX.Element
17
17
  */
@@ -1442,7 +1442,7 @@ type OpenModalParams<OriginalDisplay extends Display, OutputDisplay extends Mode
1442
1442
  * Open the modal with support for alignment.
1443
1443
  * @returns {void}
1444
1444
  */
1445
- export const open_modal_with_alignment: <OriginalDisplay extends Display, OutputDisplay extends unknown>(openModalParams: OpenModalParams<OriginalDisplay, OutputDisplay>) => void;
1445
+ export const open_modal_with_alignment: <OriginalDisplay extends Display, OutputDisplay extends ModernDisplay>(openModalParams: OpenModalParams<OriginalDisplay, OutputDisplay>) => void;
1446
1446
  export function open_search_with_shift_slash(open_search: VoidFunction): () => void;
1447
1447
  export interface PageReplacer {
1448
1448
  readonly render_: () => Node_Array;
@@ -1521,5 +1521,5 @@ export function CategoryPage<OriginalDisplay extends Display, OutputDisplay exte
1521
1521
  content_blocks_by_row?: ContentBlocksByRow;
1522
1522
  layout?: PossibleLayout;
1523
1523
  filterModalParent_?: HTMLElement | ShadowRoot;
1524
- }): import("@depict-ai/utilishared").Node_Array;
1524
+ }): import("@depict-ai/utilishared/latest").Node_Array;
1525
1525
  export type { SearchFilter } from "@depict-ai/types/api/SearchRequestV3";
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.7.3";
10
+ const $ec291e0010116877$export$83d89fbfd8236492 = "4.7.4";
11
11
  function $24e27fab9c821b86$export$5bad61ecde080b1f(...params) {
12
12
  const {
13
13
  collapse: collapse,
@@ -1223,7 +1223,7 @@ function $70bb27cc6be01fc7$export$9d4a4b669b1929ab(props) {
1223
1223
  ...props.imgProps,
1224
1224
  customUrls: (url, width // Apparently don't have to encode url for CF's service
1225
1225
  ) => {
1226
- if (url.startsWith("https://cdn.shopify.com"))
1226
+ if (url?.startsWith?.("https://cdn.shopify.com"))
1227
1227
  // The shopify image resizing CDN blocks Cloudflare's image resizer. It's possible that we can't detect shopify image URLs sometimes because they go to the merchant's domain,
1228
1228
  // but it seems like the URLs returned by the Depict API always goes to the cdn.shopify.com version of an image, so this simple workaround works.
1229
1229
  return $e8ffe11ed01df0fe$export$1d6267828870adda(url, width);
@@ -2278,7 +2278,7 @@ const $e003be2a50d9e5bc$export$b05c0ae390cf3e06 = ({
2278
2278
  }), _el$27, _co$9);
2279
2279
  $9HbP8$insert(_el$11, $9HbP8$createComponent((0, $9HbP8$Show), {
2280
2280
  get when() {
2281
- return !salePrice.loading && salePrice.latest;
2281
+ return !salePrice.loading && salePrice.latest != undefined;
2282
2282
  },
2283
2283
  get fallback() {
2284
2284
  return [$9HbP8$createComponent((0, $d134eae24341b4a1$export$89c6019e4baa40b1), {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@depict-ai/ui",
3
- "version": "4.7.3",
3
+ "version": "4.7.5",
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",
@@ -104,7 +104,7 @@ $parcel$export(module.exports, "BreadCrumbs", () => $335c02c1241a9ca8$export$5b7
104
104
  $parcel$export(module.exports, "QuickLinks", () => $335c02c1241a9ca8$export$de035477d6fef996);
105
105
  $parcel$export(module.exports, "CategoryPage", () => $c10e33c4681f8c9b$export$e2bf8ce7779e827e);
106
106
  /*! Depict.ai search and product listing SDK */
107
- const $aa1938dec50d6c12$export$83d89fbfd8236492 = "4.7.3";
107
+ const $aa1938dec50d6c12$export$83d89fbfd8236492 = "4.7.4";
108
108
  function $d6d51b09cb2116a6$export$5bad61ecde080b1f() {
109
109
  const {
110
110
  collapse: collapse,
@@ -1269,7 +1269,8 @@ function $f3db423dc84bc35d$export$9d4a4b669b1929ab(props) {
1269
1269
  ...props.imgProps,
1270
1270
  customUrls: (url, width // Apparently don't have to encode url for CF's service
1271
1271
  ) => {
1272
- if (url.startsWith("https://cdn.shopify.com"))
1272
+ var _url$startsWith;
1273
+ if (url !== null && url !== void 0 && (_url$startsWith = url.startsWith) !== null && _url$startsWith !== void 0 && _url$startsWith.call(url, "https://cdn.shopify.com"))
1273
1274
  // The shopify image resizing CDN blocks Cloudflare's image resizer. It's possible that we can't detect shopify image URLs sometimes because they go to the merchant's domain,
1274
1275
  // but it seems like the URLs returned by the Depict API always goes to the cdn.shopify.com version of an image, so this simple workaround works.
1275
1276
  return $858fdcf73148519f$export$1d6267828870adda(url, width);
@@ -2204,7 +2205,7 @@ const $82d079b68975fbf7$export$b05c0ae390cf3e06 = _ref => {
2204
2205
  }
2205
2206
  })), $3hooq$solidjsweb.escape($3hooq$solidjsweb.createComponent((0, $3hooq$solidjs.Show), {
2206
2207
  get when() {
2207
- return !salePrice.loading && salePrice.latest;
2208
+ return !salePrice.loading && salePrice.latest != undefined;
2208
2209
  },
2209
2210
  get fallback() {
2210
2211
  return [$3hooq$solidjsweb.createComponent((0, $a7f7d416e6f61504$export$89c6019e4baa40b1), {
@@ -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.7.3";
14
+ export const version = "4.7.4";
15
15
  /**
16
16
  * Just like `useExpandingContainer` except that the children can be reactive solid-js signals, basically solid's JSX.Element instead of our JSX.Element
17
17
  */
@@ -1442,7 +1442,7 @@ type OpenModalParams<OriginalDisplay extends Display, OutputDisplay extends Mode
1442
1442
  * Open the modal with support for alignment.
1443
1443
  * @returns {void}
1444
1444
  */
1445
- export const open_modal_with_alignment: <OriginalDisplay extends Display, OutputDisplay extends unknown>(openModalParams: OpenModalParams<OriginalDisplay, OutputDisplay>) => void;
1445
+ export const open_modal_with_alignment: <OriginalDisplay extends Display, OutputDisplay extends ModernDisplay>(openModalParams: OpenModalParams<OriginalDisplay, OutputDisplay>) => void;
1446
1446
  export function open_search_with_shift_slash(open_search: VoidFunction): () => void;
1447
1447
  export interface PageReplacer {
1448
1448
  readonly render_: () => Node_Array;
@@ -1521,5 +1521,5 @@ export function CategoryPage<OriginalDisplay extends Display, OutputDisplay exte
1521
1521
  content_blocks_by_row?: ContentBlocksByRow;
1522
1522
  layout?: PossibleLayout;
1523
1523
  filterModalParent_?: HTMLElement | ShadowRoot;
1524
- }): import("@depict-ai/utilishared").Node_Array;
1524
+ }): import("@depict-ai/utilishared/latest").Node_Array;
1525
1525
  export type { SearchFilter } from "@depict-ai/types/api/SearchRequestV3";
@@ -10,7 +10,7 @@ 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.3";
13
+ const $8db9a15135765c11$export$83d89fbfd8236492 = "4.7.4";
14
14
  function $8e8b179489080711$export$5bad61ecde080b1f() {
15
15
  const {
16
16
  collapse: collapse,
@@ -1175,7 +1175,8 @@ function $98688279b9059f50$export$9d4a4b669b1929ab(props) {
1175
1175
  ...props.imgProps,
1176
1176
  customUrls: (url, width // Apparently don't have to encode url for CF's service
1177
1177
  ) => {
1178
- if (url.startsWith("https://cdn.shopify.com"))
1178
+ var _url$startsWith;
1179
+ if (url !== null && url !== void 0 && (_url$startsWith = url.startsWith) !== null && _url$startsWith !== void 0 && _url$startsWith.call(url, "https://cdn.shopify.com"))
1179
1180
  // The shopify image resizing CDN blocks Cloudflare's image resizer. It's possible that we can't detect shopify image URLs sometimes because they go to the merchant's domain,
1180
1181
  // but it seems like the URLs returned by the Depict API always goes to the cdn.shopify.com version of an image, so this simple workaround works.
1181
1182
  return $56047603f9d212b6$export$1d6267828870adda(url, width);
@@ -2110,7 +2111,7 @@ const $9a693c7e832d3f18$export$b05c0ae390cf3e06 = _ref => {
2110
2111
  }
2111
2112
  })), $b8hua$escape($b8hua$createComponent((0, $b8hua$Show), {
2112
2113
  get when() {
2113
- return !salePrice.loading && salePrice.latest;
2114
+ return !salePrice.loading && salePrice.latest != undefined;
2114
2115
  },
2115
2116
  get fallback() {
2116
2117
  return [$b8hua$createComponent((0, $ceafb6fb91c6f394$export$89c6019e4baa40b1), {
@@ -98,7 +98,7 @@ $parcel$export(module.exports, "BreadCrumbs", () => $1f4925833f07df29$export$5b7
98
98
  $parcel$export(module.exports, "QuickLinks", () => $1f4925833f07df29$export$de035477d6fef996);
99
99
  $parcel$export(module.exports, "CategoryPage", () => $14f289047713d67a$export$e2bf8ce7779e827e);
100
100
  /*! Depict.ai search and product listing SDK */
101
- const $b757f75811f3261f$export$83d89fbfd8236492 = "4.7.3";
101
+ const $b757f75811f3261f$export$83d89fbfd8236492 = "4.7.4";
102
102
  function $4b455f60dadde8b8$export$5bad61ecde080b1f(...params) {
103
103
  const {
104
104
  collapse: collapse,
@@ -1213,7 +1213,7 @@ function $d212a67662c5cf38$export$9d4a4b669b1929ab(props) {
1213
1213
  ...props.imgProps,
1214
1214
  customUrls: (url, width // Apparently don't have to encode url for CF's service
1215
1215
  ) => {
1216
- if (url.startsWith("https://cdn.shopify.com"))
1216
+ if (url?.startsWith?.("https://cdn.shopify.com"))
1217
1217
  // The shopify image resizing CDN blocks Cloudflare's image resizer. It's possible that we can't detect shopify image URLs sometimes because they go to the merchant's domain,
1218
1218
  // but it seems like the URLs returned by the Depict API always goes to the cdn.shopify.com version of an image, so this simple workaround works.
1219
1219
  return $19950faaac026e09$export$1d6267828870adda(url, width);
@@ -2081,7 +2081,7 @@ const $6ae613870d3380fc$export$b05c0ae390cf3e06 = ({
2081
2081
  }
2082
2082
  })), $5vyXB$solidjsweb.escape($5vyXB$solidjsweb.createComponent((0, $5vyXB$solidjs.Show), {
2083
2083
  get when() {
2084
- return !salePrice.loading && salePrice.latest;
2084
+ return !salePrice.loading && salePrice.latest != undefined;
2085
2085
  },
2086
2086
  get fallback() {
2087
2087
  return [$5vyXB$solidjsweb.createComponent((0, $061ff5b4c3d36171$export$89c6019e4baa40b1), {
@@ -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.7.3";
14
+ export const version = "4.7.4";
15
15
  /**
16
16
  * Just like `useExpandingContainer` except that the children can be reactive solid-js signals, basically solid's JSX.Element instead of our JSX.Element
17
17
  */
@@ -1442,7 +1442,7 @@ type OpenModalParams<OriginalDisplay extends Display, OutputDisplay extends Mode
1442
1442
  * Open the modal with support for alignment.
1443
1443
  * @returns {void}
1444
1444
  */
1445
- export const open_modal_with_alignment: <OriginalDisplay extends Display, OutputDisplay extends unknown>(openModalParams: OpenModalParams<OriginalDisplay, OutputDisplay>) => void;
1445
+ export const open_modal_with_alignment: <OriginalDisplay extends Display, OutputDisplay extends ModernDisplay>(openModalParams: OpenModalParams<OriginalDisplay, OutputDisplay>) => void;
1446
1446
  export function open_search_with_shift_slash(open_search: VoidFunction): () => void;
1447
1447
  export interface PageReplacer {
1448
1448
  readonly render_: () => Node_Array;
@@ -1521,5 +1521,5 @@ export function CategoryPage<OriginalDisplay extends Display, OutputDisplay exte
1521
1521
  content_blocks_by_row?: ContentBlocksByRow;
1522
1522
  layout?: PossibleLayout;
1523
1523
  filterModalParent_?: HTMLElement | ShadowRoot;
1524
- }): import("@depict-ai/utilishared").Node_Array;
1524
+ }): import("@depict-ai/utilishared/latest").Node_Array;
1525
1525
  export type { SearchFilter } from "@depict-ai/types/api/SearchRequestV3";
@@ -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.7.3";
10
+ const $ec291e0010116877$export$83d89fbfd8236492 = "4.7.4";
11
11
  function $24e27fab9c821b86$export$5bad61ecde080b1f(...params) {
12
12
  const {
13
13
  collapse: collapse,
@@ -1122,7 +1122,7 @@ function $70bb27cc6be01fc7$export$9d4a4b669b1929ab(props) {
1122
1122
  ...props.imgProps,
1123
1123
  customUrls: (url, width // Apparently don't have to encode url for CF's service
1124
1124
  ) => {
1125
- if (url.startsWith("https://cdn.shopify.com"))
1125
+ if (url?.startsWith?.("https://cdn.shopify.com"))
1126
1126
  // The shopify image resizing CDN blocks Cloudflare's image resizer. It's possible that we can't detect shopify image URLs sometimes because they go to the merchant's domain,
1127
1127
  // but it seems like the URLs returned by the Depict API always goes to the cdn.shopify.com version of an image, so this simple workaround works.
1128
1128
  return $e8ffe11ed01df0fe$export$1d6267828870adda(url, width);
@@ -1990,7 +1990,7 @@ const $e003be2a50d9e5bc$export$b05c0ae390cf3e06 = ({
1990
1990
  }
1991
1991
  })), $i7OB2$escape($i7OB2$createComponent((0, $i7OB2$Show), {
1992
1992
  get when() {
1993
- return !salePrice.loading && salePrice.latest;
1993
+ return !salePrice.loading && salePrice.latest != undefined;
1994
1994
  },
1995
1995
  get fallback() {
1996
1996
  return [$i7OB2$createComponent((0, $d134eae24341b4a1$export$89c6019e4baa40b1), {