@ed.yakovich/component-library 0.0.17 → 0.0.18

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.
Files changed (51) hide show
  1. package/dist/components/Accordion/index.js +1 -1
  2. package/dist/components/Cart/index.js +11 -10
  3. package/dist/components/EquipmentSummary/index.js +1 -1
  4. package/dist/components/HeroBanner/index.js +1 -1
  5. package/dist/components/InfoBanner/index.js +1 -1
  6. package/dist/components/Nav/index.js +13 -9
  7. package/dist/components/OfferCards/index.js +1 -1
  8. package/dist/components/OfferCards/subComponents/OfferCard.js +27 -26
  9. package/dist/components/SaleBanner/index.js +17 -16
  10. package/dist/{index-CIJ0X8ia.js → index-C9Rf5U9q.js} +1670 -1668
  11. package/dist/{index-b30029d4-CYulIFrS.js → index-b30029d4-E1YxEHFH.js} +1 -1
  12. package/dist/link-DO_Jvm9n.js +685 -0
  13. package/dist/{prism-accordion.entry-BxWxJTzN.js → prism-accordion.entry-DeyFGNx-.js} +1 -1
  14. package/dist/{prism-avatar_2.entry-D13WJm8L.js → prism-avatar_2.entry-MLbdVrJg.js} +1 -1
  15. package/dist/{prism-badge.entry-DxUacM3U.js → prism-badge.entry-BG5y7O5U.js} +1 -1
  16. package/dist/{prism-banner.entry-C2PB-eYg.js → prism-banner.entry-DChrjpFH.js} +1 -1
  17. package/dist/{prism-breadcrumb.entry-Xs2uvtMJ.js → prism-breadcrumb.entry-1YzYlKen.js} +1 -1
  18. package/dist/{prism-button_2.entry-Bu7aTvL3.js → prism-button_2.entry-DO8IGIoS.js} +1 -1
  19. package/dist/{prism-card.entry-DN_z84zN.js → prism-card.entry-DQ6P4TZP.js} +1 -1
  20. package/dist/{prism-carousel.entry-R9W3QWAj.js → prism-carousel.entry-BA8zsHRW.js} +1 -1
  21. package/dist/{prism-checkbox-group.entry-D6r-q0Hm.js → prism-checkbox-group.entry-CP4-gghb.js} +1 -1
  22. package/dist/{prism-checkbox.entry-w99uqUBB.js → prism-checkbox.entry-CJCy8fvC.js} +2 -2
  23. package/dist/{prism-data-table.entry-Ckducvo-.js → prism-data-table.entry--0djw8ls.js} +1 -1
  24. package/dist/{prism-datepicker.entry-QpabfLme.js → prism-datepicker.entry-DPm7tpKB.js} +1 -1
  25. package/dist/{prism-form.entry-B0of8RQh.js → prism-form.entry-CS1zRoMt.js} +1 -1
  26. package/dist/{prism-grid.entry-CFnOi_Vc.js → prism-grid.entry-jcx2aMUm.js} +1 -1
  27. package/dist/{prism-header.entry-0LjtG822.js → prism-header.entry-CBSIpa0M.js} +1 -1
  28. package/dist/{prism-hero.entry-DVipQrOc.js → prism-hero.entry-B0CKL5y9.js} +1 -1
  29. package/dist/{prism-icon_2.entry-FQ8c7tJr.js → prism-icon_2.entry-Aja4QGUK.js} +1 -1
  30. package/dist/{prism-image.entry-BtjBPMeE.js → prism-image.entry-B--khr6E.js} +1 -1
  31. package/dist/{prism-input-file.entry-CXYV9xtO.js → prism-input-file.entry-i5qJkwEK.js} +2 -2
  32. package/dist/{prism-input-otp.entry-CXBN1WBi.js → prism-input-otp.entry-DXoARuzH.js} +1 -1
  33. package/dist/{prism-input-text.entry-D5yPqcBS.js → prism-input-text.entry-D4QQ-dYX.js} +2 -2
  34. package/dist/{prism-input-textarea.entry-6O7qdk_r.js → prism-input-textarea.entry-eeQHnhqC.js} +2 -2
  35. package/dist/{prism-layout.entry-CJcjgXky.js → prism-layout.entry-bfKqOEnU.js} +1 -1
  36. package/dist/{prism-lineitem.entry-BSBcpGKE.js → prism-lineitem.entry-YIRZPVe_.js} +1 -1
  37. package/dist/{prism-menu.entry-hxjFECbL.js → prism-menu.entry-BIlRCiaA.js} +1 -1
  38. package/dist/{prism-modal.entry-BIavEySL.js → prism-modal.entry-Kc-SpAR-.js} +1 -1
  39. package/dist/{prism-pagination.entry-cJjWcUeH.js → prism-pagination.entry-BCo9aMdq.js} +1 -1
  40. package/dist/{prism-popover.entry-EiL6rh8c.js → prism-popover.entry-LmDvzCiR.js} +1 -1
  41. package/dist/{prism-popper.entry-B3NAqQHK.js → prism-popper.entry-BqrcyTkE.js} +1 -1
  42. package/dist/{prism-progress.entry-DkyB0j-F.js → prism-progress.entry-29_ezvop.js} +1 -1
  43. package/dist/{prism-radio-group.entry-nR5BA0H-.js → prism-radio-group.entry-cL6AqjTk.js} +2 -2
  44. package/dist/{prism-radio.entry-2oHibUZp.js → prism-radio.entry-CM_vZFZA.js} +2 -2
  45. package/dist/{prism-select.entry-DaSGr0dP.js → prism-select.entry-B6A3gk7B.js} +2 -2
  46. package/dist/{prism-switch.entry-CiUr8IHK.js → prism-switch.entry-CtEfKB58.js} +2 -2
  47. package/dist/{prism-tab.entry-Db7WSxCT.js → prism-tab.entry-DIDUhFlk.js} +1 -1
  48. package/dist/{prism-tabs.entry-BSS5u08w.js → prism-tabs.entry-Cj3dW5_E.js} +1 -1
  49. package/dist/{prism-tooltip.entry-Dqu6PskB.js → prism-tooltip.entry-DEdY5eRd.js} +1 -1
  50. package/dist/{prism-typeahead.entry-BMyMjXSV.js → prism-typeahead.entry-D2XrvXaG.js} +1 -1
  51. package/package.json +5 -2
@@ -1,4 +1,4 @@
1
- import { h as s } from "./index-CIJ0X8ia.js";
1
+ import { h as s } from "./index-C9Rf5U9q.js";
2
2
  /*!
3
3
  * Copyright (c) 2025 Comcast. Prism UI - v7.32.2 - made with ❤️ in Philadelphia
4
4
  */
@@ -0,0 +1,685 @@
1
+ import { jsx as De } from "react/jsx-runtime";
2
+ import * as E from "react";
3
+ import W, { useRef as be } from "react";
4
+ import { l as Ae } from "./index-C9Rf5U9q.js";
5
+ function Pe(e) {
6
+ return typeof e == "function";
7
+ }
8
+ function se(e, r) {
9
+ return Pe(e) ? e(r) : e;
10
+ }
11
+ const ke = Object.prototype.hasOwnProperty;
12
+ function Oe(e, r) {
13
+ if (e === r)
14
+ return e;
15
+ const t = r, n = le(e) && le(t);
16
+ if (!n && !(z(e) && z(t))) return t;
17
+ const o = n ? e : ce(e);
18
+ if (!o) return t;
19
+ const h = n ? t : ce(t);
20
+ if (!h) return t;
21
+ const d = o.length, g = h.length, p = n ? new Array(g) : {};
22
+ let i = 0;
23
+ for (let l = 0; l < g; l++) {
24
+ const s = n ? l : h[l], f = e[s], u = t[s];
25
+ if (f === u) {
26
+ p[s] = f, (n ? l < d : ke.call(e, s)) && i++;
27
+ continue;
28
+ }
29
+ if (f === null || u === null || typeof f != "object" || typeof u != "object") {
30
+ p[s] = u;
31
+ continue;
32
+ }
33
+ const a = Oe(f, u);
34
+ p[s] = a, a === f && i++;
35
+ }
36
+ return d === g && i === d ? e : p;
37
+ }
38
+ function ce(e) {
39
+ const r = [], t = Object.getOwnPropertyNames(e);
40
+ for (const o of t) {
41
+ if (!Object.prototype.propertyIsEnumerable.call(e, o)) return !1;
42
+ r.push(o);
43
+ }
44
+ const n = Object.getOwnPropertySymbols(e);
45
+ for (const o of n) {
46
+ if (!Object.prototype.propertyIsEnumerable.call(e, o)) return !1;
47
+ r.push(o);
48
+ }
49
+ return r;
50
+ }
51
+ function z(e) {
52
+ if (!fe(e))
53
+ return !1;
54
+ const r = e.constructor;
55
+ if (typeof r > "u")
56
+ return !0;
57
+ const t = r.prototype;
58
+ return !(!fe(t) || !t.hasOwnProperty("isPrototypeOf"));
59
+ }
60
+ function fe(e) {
61
+ return Object.prototype.toString.call(e) === "[object Object]";
62
+ }
63
+ function le(e) {
64
+ return Array.isArray(e) && e.length === Object.keys(e).length;
65
+ }
66
+ function U(e, r, t) {
67
+ if (e === r)
68
+ return !0;
69
+ if (typeof e != typeof r)
70
+ return !1;
71
+ if (Array.isArray(e) && Array.isArray(r)) {
72
+ if (e.length !== r.length) return !1;
73
+ for (let n = 0, o = e.length; n < o; n++)
74
+ if (!U(e[n], r[n], t)) return !1;
75
+ return !0;
76
+ }
77
+ if (z(e) && z(r)) {
78
+ const n = (t == null ? void 0 : t.ignoreUndefined) ?? !0;
79
+ if (t != null && t.partial) {
80
+ for (const d in r)
81
+ if ((!n || r[d] !== void 0) && !U(e[d], r[d], t))
82
+ return !1;
83
+ return !0;
84
+ }
85
+ let o = 0;
86
+ if (!n)
87
+ o = Object.keys(e).length;
88
+ else
89
+ for (const d in e)
90
+ e[d] !== void 0 && o++;
91
+ let h = 0;
92
+ for (const d in r)
93
+ if ((!n || r[d] !== void 0) && (h++, h > o || !U(e[d], r[d], t)))
94
+ return !1;
95
+ return o === h;
96
+ }
97
+ return !1;
98
+ }
99
+ function H(e, r) {
100
+ return e != null && e.endsWith("/") && e !== "/" && e !== `${r}/` ? e.slice(0, -1) : e;
101
+ }
102
+ function Ve(e, r, t) {
103
+ return H(e, t) === H(r, t);
104
+ }
105
+ const Me = "Error preloading route! ☝️";
106
+ var xe = process.env.NODE_ENV === "production";
107
+ function Ne(e, r) {
108
+ if (!xe) {
109
+ if (e)
110
+ return;
111
+ var t = "Warning: " + r;
112
+ typeof console < "u" && console.warn(t);
113
+ try {
114
+ throw Error(t);
115
+ } catch {
116
+ }
117
+ }
118
+ }
119
+ var te = { exports: {} }, X = {}, K = { exports: {} }, J = {};
120
+ /**
121
+ * @license React
122
+ * use-sync-external-store-shim.production.js
123
+ *
124
+ * Copyright (c) Meta Platforms, Inc. and affiliates.
125
+ *
126
+ * This source code is licensed under the MIT license found in the
127
+ * LICENSE file in the root directory of this source tree.
128
+ */
129
+ var de;
130
+ function Ge() {
131
+ if (de) return J;
132
+ de = 1;
133
+ var e = W;
134
+ function r(s, f) {
135
+ return s === f && (s !== 0 || 1 / s === 1 / f) || s !== s && f !== f;
136
+ }
137
+ var t = typeof Object.is == "function" ? Object.is : r, n = e.useState, o = e.useEffect, h = e.useLayoutEffect, d = e.useDebugValue;
138
+ function g(s, f) {
139
+ var u = f(), a = n({ inst: { value: u, getSnapshot: f } }), c = a[0].inst, y = a[1];
140
+ return h(
141
+ function() {
142
+ c.value = u, c.getSnapshot = f, p(c) && y({ inst: c });
143
+ },
144
+ [s, u, f]
145
+ ), o(
146
+ function() {
147
+ return p(c) && y({ inst: c }), s(function() {
148
+ p(c) && y({ inst: c });
149
+ });
150
+ },
151
+ [s]
152
+ ), d(u), u;
153
+ }
154
+ function p(s) {
155
+ var f = s.getSnapshot;
156
+ s = s.value;
157
+ try {
158
+ var u = f();
159
+ return !t(s, u);
160
+ } catch {
161
+ return !0;
162
+ }
163
+ }
164
+ function i(s, f) {
165
+ return f();
166
+ }
167
+ var l = typeof window > "u" || typeof window.document > "u" || typeof window.document.createElement > "u" ? i : g;
168
+ return J.useSyncExternalStore = e.useSyncExternalStore !== void 0 ? e.useSyncExternalStore : l, J;
169
+ }
170
+ var Y = {};
171
+ /**
172
+ * @license React
173
+ * use-sync-external-store-shim.development.js
174
+ *
175
+ * Copyright (c) Meta Platforms, Inc. and affiliates.
176
+ *
177
+ * This source code is licensed under the MIT license found in the
178
+ * LICENSE file in the root directory of this source tree.
179
+ */
180
+ var _e;
181
+ function Ke() {
182
+ return _e || (_e = 1, process.env.NODE_ENV !== "production" && function() {
183
+ function e(u, a) {
184
+ return u === a && (u !== 0 || 1 / u === 1 / a) || u !== u && a !== a;
185
+ }
186
+ function r(u, a) {
187
+ l || o.startTransition === void 0 || (l = !0, console.error(
188
+ "You are using an outdated, pre-release alpha of React 18 that does not support useSyncExternalStore. The use-sync-external-store shim will not work correctly. Upgrade to a newer pre-release."
189
+ ));
190
+ var c = a();
191
+ if (!s) {
192
+ var y = a();
193
+ h(c, y) || (console.error(
194
+ "The result of getSnapshot should be cached to avoid an infinite loop"
195
+ ), s = !0);
196
+ }
197
+ y = d({
198
+ inst: { value: c, getSnapshot: a }
199
+ });
200
+ var T = y[0].inst, L = y[1];
201
+ return p(
202
+ function() {
203
+ T.value = c, T.getSnapshot = a, t(T) && L({ inst: T });
204
+ },
205
+ [u, c, a]
206
+ ), g(
207
+ function() {
208
+ return t(T) && L({ inst: T }), u(function() {
209
+ t(T) && L({ inst: T });
210
+ });
211
+ },
212
+ [u]
213
+ ), i(c), c;
214
+ }
215
+ function t(u) {
216
+ var a = u.getSnapshot;
217
+ u = u.value;
218
+ try {
219
+ var c = a();
220
+ return !h(u, c);
221
+ } catch {
222
+ return !0;
223
+ }
224
+ }
225
+ function n(u, a) {
226
+ return a();
227
+ }
228
+ typeof __REACT_DEVTOOLS_GLOBAL_HOOK__ < "u" && typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStart == "function" && __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStart(Error());
229
+ var o = W, h = typeof Object.is == "function" ? Object.is : e, d = o.useState, g = o.useEffect, p = o.useLayoutEffect, i = o.useDebugValue, l = !1, s = !1, f = typeof window > "u" || typeof window.document > "u" || typeof window.document.createElement > "u" ? n : r;
230
+ Y.useSyncExternalStore = o.useSyncExternalStore !== void 0 ? o.useSyncExternalStore : f, typeof __REACT_DEVTOOLS_GLOBAL_HOOK__ < "u" && typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop == "function" && __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop(Error());
231
+ }()), Y;
232
+ }
233
+ var he;
234
+ function Ee() {
235
+ return he || (he = 1, process.env.NODE_ENV === "production" ? K.exports = Ge() : K.exports = Ke()), K.exports;
236
+ }
237
+ /**
238
+ * @license React
239
+ * use-sync-external-store-shim/with-selector.production.js
240
+ *
241
+ * Copyright (c) Meta Platforms, Inc. and affiliates.
242
+ *
243
+ * This source code is licensed under the MIT license found in the
244
+ * LICENSE file in the root directory of this source tree.
245
+ */
246
+ var Se;
247
+ function Ue() {
248
+ if (Se) return X;
249
+ Se = 1;
250
+ var e = W, r = Ee();
251
+ function t(i, l) {
252
+ return i === l && (i !== 0 || 1 / i === 1 / l) || i !== i && l !== l;
253
+ }
254
+ var n = typeof Object.is == "function" ? Object.is : t, o = r.useSyncExternalStore, h = e.useRef, d = e.useEffect, g = e.useMemo, p = e.useDebugValue;
255
+ return X.useSyncExternalStoreWithSelector = function(i, l, s, f, u) {
256
+ var a = h(null);
257
+ if (a.current === null) {
258
+ var c = { hasValue: !1, value: null };
259
+ a.current = c;
260
+ } else c = a.current;
261
+ a = g(
262
+ function() {
263
+ function T(m) {
264
+ if (!L) {
265
+ if (L = !0, R = m, m = f(m), u !== void 0 && c.hasValue) {
266
+ var v = c.value;
267
+ if (u(v, m))
268
+ return S = v;
269
+ }
270
+ return S = m;
271
+ }
272
+ if (v = S, n(R, m)) return v;
273
+ var I = f(m);
274
+ return u !== void 0 && u(v, I) ? (R = m, v) : (R = m, S = I);
275
+ }
276
+ var L = !1, R, S, C = s === void 0 ? null : s;
277
+ return [
278
+ function() {
279
+ return T(l());
280
+ },
281
+ C === null ? void 0 : function() {
282
+ return T(C());
283
+ }
284
+ ];
285
+ },
286
+ [l, s, f, u]
287
+ );
288
+ var y = o(i, a[0], a[1]);
289
+ return d(
290
+ function() {
291
+ c.hasValue = !0, c.value = y;
292
+ },
293
+ [y]
294
+ ), p(y), y;
295
+ }, X;
296
+ }
297
+ var Q = {};
298
+ /**
299
+ * @license React
300
+ * use-sync-external-store-shim/with-selector.development.js
301
+ *
302
+ * Copyright (c) Meta Platforms, Inc. and affiliates.
303
+ *
304
+ * This source code is licensed under the MIT license found in the
305
+ * LICENSE file in the root directory of this source tree.
306
+ */
307
+ var me;
308
+ function ze() {
309
+ return me || (me = 1, process.env.NODE_ENV !== "production" && function() {
310
+ function e(i, l) {
311
+ return i === l && (i !== 0 || 1 / i === 1 / l) || i !== i && l !== l;
312
+ }
313
+ typeof __REACT_DEVTOOLS_GLOBAL_HOOK__ < "u" && typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStart == "function" && __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStart(Error());
314
+ var r = W, t = Ee(), n = typeof Object.is == "function" ? Object.is : e, o = t.useSyncExternalStore, h = r.useRef, d = r.useEffect, g = r.useMemo, p = r.useDebugValue;
315
+ Q.useSyncExternalStoreWithSelector = function(i, l, s, f, u) {
316
+ var a = h(null);
317
+ if (a.current === null) {
318
+ var c = { hasValue: !1, value: null };
319
+ a.current = c;
320
+ } else c = a.current;
321
+ a = g(
322
+ function() {
323
+ function T(m) {
324
+ if (!L) {
325
+ if (L = !0, R = m, m = f(m), u !== void 0 && c.hasValue) {
326
+ var v = c.value;
327
+ if (u(v, m))
328
+ return S = v;
329
+ }
330
+ return S = m;
331
+ }
332
+ if (v = S, n(R, m))
333
+ return v;
334
+ var I = f(m);
335
+ return u !== void 0 && u(v, I) ? (R = m, v) : (R = m, S = I);
336
+ }
337
+ var L = !1, R, S, C = s === void 0 ? null : s;
338
+ return [
339
+ function() {
340
+ return T(l());
341
+ },
342
+ C === null ? void 0 : function() {
343
+ return T(C());
344
+ }
345
+ ];
346
+ },
347
+ [l, s, f, u]
348
+ );
349
+ var y = o(i, a[0], a[1]);
350
+ return d(
351
+ function() {
352
+ c.hasValue = !0, c.value = y;
353
+ },
354
+ [y]
355
+ ), p(y), y;
356
+ }, typeof __REACT_DEVTOOLS_GLOBAL_HOOK__ < "u" && typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop == "function" && __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop(Error());
357
+ }()), Q;
358
+ }
359
+ process.env.NODE_ENV === "production" ? te.exports = Ue() : te.exports = ze();
360
+ var He = te.exports;
361
+ function We(e, r = (n) => n, t = {}) {
362
+ const n = t.equal ?? je;
363
+ return He.useSyncExternalStoreWithSelector(
364
+ e.subscribe,
365
+ () => e.state,
366
+ () => e.state,
367
+ r,
368
+ n
369
+ );
370
+ }
371
+ function je(e, r) {
372
+ if (Object.is(e, r))
373
+ return !0;
374
+ if (typeof e != "object" || e === null || typeof r != "object" || r === null)
375
+ return !1;
376
+ if (e instanceof Map && r instanceof Map) {
377
+ if (e.size !== r.size) return !1;
378
+ for (const [n, o] of e)
379
+ if (!r.has(n) || !Object.is(o, r.get(n))) return !1;
380
+ return !0;
381
+ }
382
+ if (e instanceof Set && r instanceof Set) {
383
+ if (e.size !== r.size) return !1;
384
+ for (const n of e)
385
+ if (!r.has(n)) return !1;
386
+ return !0;
387
+ }
388
+ if (e instanceof Date && r instanceof Date)
389
+ return e.getTime() === r.getTime();
390
+ const t = ye(e);
391
+ if (t.length !== ye(r).length)
392
+ return !1;
393
+ for (let n = 0; n < t.length; n++)
394
+ if (!Object.prototype.hasOwnProperty.call(r, t[n]) || !Object.is(e[t[n]], r[t[n]]))
395
+ return !1;
396
+ return !0;
397
+ }
398
+ function ye(e) {
399
+ return Object.keys(e).concat(
400
+ Object.getOwnPropertySymbols(e)
401
+ );
402
+ }
403
+ const Z = E.createContext(null);
404
+ function qe() {
405
+ return typeof document > "u" ? Z : window.__TSR_ROUTER_CONTEXT__ ? window.__TSR_ROUTER_CONTEXT__ : (window.__TSR_ROUTER_CONTEXT__ = Z, Z);
406
+ }
407
+ function pe(e) {
408
+ const r = E.useContext(qe());
409
+ return Ne(
410
+ !(((e == null ? void 0 : e.warn) ?? !0) && !r),
411
+ "useRouter must be used inside a <RouterProvider> component!"
412
+ ), r;
413
+ }
414
+ function ve(e) {
415
+ const r = pe({
416
+ warn: (e == null ? void 0 : e.router) === void 0
417
+ }), t = (e == null ? void 0 : e.router) || r, n = be(void 0);
418
+ return We(t.__store, (o) => {
419
+ if (e != null && e.select) {
420
+ if (e.structuralSharing ?? t.options.defaultStructuralSharing) {
421
+ const h = Oe(
422
+ n.current,
423
+ e.select(o)
424
+ );
425
+ return n.current = h, h;
426
+ }
427
+ return e.select(o);
428
+ }
429
+ return o;
430
+ });
431
+ }
432
+ function Fe(e, r, t = {}, n = {}) {
433
+ E.useEffect(() => {
434
+ if (!e.current || n.disabled || typeof IntersectionObserver != "function")
435
+ return;
436
+ const o = new IntersectionObserver(([h]) => {
437
+ r(h);
438
+ }, t);
439
+ return o.observe(e.current), () => {
440
+ o.disconnect();
441
+ };
442
+ }, [r, t, n.disabled, e]);
443
+ }
444
+ function $e(e) {
445
+ const r = E.useRef(null);
446
+ return E.useImperativeHandle(e, () => r.current, []), r;
447
+ }
448
+ function Be(e, r) {
449
+ const t = pe(), [n, o] = E.useState(!1), h = E.useRef(!1), d = $e(r), {
450
+ // custom props
451
+ activeProps: g,
452
+ inactiveProps: p,
453
+ activeOptions: i,
454
+ to: l,
455
+ preload: s,
456
+ preloadDelay: f,
457
+ hashScrollIntoView: u,
458
+ replace: a,
459
+ startTransition: c,
460
+ resetScroll: y,
461
+ viewTransition: T,
462
+ // element props
463
+ children: L,
464
+ target: R,
465
+ disabled: S,
466
+ style: C,
467
+ className: m,
468
+ onClick: v,
469
+ onFocus: I,
470
+ onMouseEnter: j,
471
+ onMouseLeave: q,
472
+ onTouchStart: F,
473
+ ignoreBlocker: Te,
474
+ // prevent these from being returned
475
+ params: rt,
476
+ search: nt,
477
+ hash: ot,
478
+ state: ut,
479
+ mask: it,
480
+ reloadDocument: at,
481
+ unsafeRelative: st,
482
+ from: ct,
483
+ _fromLocation: ft,
484
+ ...re
485
+ } = e, ge = ve({
486
+ select: (_) => _.location.search,
487
+ structuralSharing: !0
488
+ }), ne = e.from, k = E.useMemo(
489
+ () => ({ ...e, from: ne }),
490
+ // eslint-disable-next-line react-hooks/exhaustive-deps
491
+ [
492
+ t,
493
+ ge,
494
+ ne,
495
+ e._fromLocation,
496
+ e.hash,
497
+ e.to,
498
+ e.search,
499
+ e.params,
500
+ e.state,
501
+ e.mask,
502
+ e.unsafeRelative
503
+ ]
504
+ ), D = E.useMemo(
505
+ () => t.buildLocation({ ...k }),
506
+ [t, k]
507
+ ), b = E.useMemo(() => {
508
+ if (S)
509
+ return;
510
+ let _ = D.maskedLocation ? D.maskedLocation.url.href : D.url.href, O = !1;
511
+ return t.origin && (_.startsWith(t.origin) ? _ = t.history.createHref(_.replace(t.origin, "")) || "/" : O = !0), { href: _, external: O };
512
+ }, [S, D.maskedLocation, D.url, t.origin, t.history]), x = E.useMemo(() => {
513
+ if (b != null && b.external)
514
+ return b.href;
515
+ try {
516
+ return new URL(l), l;
517
+ } catch {
518
+ }
519
+ }, [l, b]), P = e.reloadDocument || x ? !1 : s ?? t.options.defaultPreload, $ = f ?? t.options.defaultPreloadDelay ?? 0, B = ve({
520
+ select: (_) => {
521
+ if (x) return !1;
522
+ if (i != null && i.exact) {
523
+ if (!Ve(
524
+ _.location.pathname,
525
+ D.pathname,
526
+ t.basepath
527
+ ))
528
+ return !1;
529
+ } else {
530
+ const O = H(
531
+ _.location.pathname,
532
+ t.basepath
533
+ ), w = H(
534
+ D.pathname,
535
+ t.basepath
536
+ );
537
+ if (!(O.startsWith(w) && (O.length === w.length || O[w.length] === "/")))
538
+ return !1;
539
+ }
540
+ return ((i == null ? void 0 : i.includeSearch) ?? !0) && !U(_.location.search, D.search, {
541
+ partial: !(i != null && i.exact),
542
+ ignoreUndefined: !(i != null && i.explicitUndefined)
543
+ }) ? !1 : i != null && i.includeHash ? _.location.hash === D.hash : !0;
544
+ }
545
+ }), A = E.useCallback(() => {
546
+ t.preloadRoute({ ...k }).catch((_) => {
547
+ console.warn(_), console.warn(Me);
548
+ });
549
+ }, [t, k]), Re = E.useCallback(
550
+ (_) => {
551
+ _ != null && _.isIntersecting && A();
552
+ },
553
+ [A]
554
+ );
555
+ Fe(
556
+ d,
557
+ Re,
558
+ Ze,
559
+ { disabled: !!S || P !== "viewport" }
560
+ ), E.useEffect(() => {
561
+ h.current || !S && P === "render" && (A(), h.current = !0);
562
+ }, [S, A, P]);
563
+ const Le = (_) => {
564
+ const O = _.currentTarget.getAttribute("target"), w = R !== void 0 ? R : O;
565
+ if (!S && !tt(_) && !_.defaultPrevented && (!w || w === "_self") && _.button === 0) {
566
+ _.preventDefault(), Ae.flushSync(() => {
567
+ o(!0);
568
+ });
569
+ const ae = t.subscribe("onResolved", () => {
570
+ ae(), o(!1);
571
+ });
572
+ t.navigate({
573
+ ...k,
574
+ replace: a,
575
+ resetScroll: y,
576
+ hashScrollIntoView: u,
577
+ startTransition: c,
578
+ viewTransition: T,
579
+ ignoreBlocker: Te
580
+ });
581
+ }
582
+ };
583
+ if (x)
584
+ return {
585
+ ...re,
586
+ ref: d,
587
+ href: x,
588
+ ...L && { children: L },
589
+ ...R && { target: R },
590
+ ...S && { disabled: S },
591
+ ...C && { style: C },
592
+ ...m && { className: m },
593
+ ...v && { onClick: v },
594
+ ...I && { onFocus: I },
595
+ ...j && { onMouseEnter: j },
596
+ ...q && { onMouseLeave: q },
597
+ ...F && { onTouchStart: F }
598
+ };
599
+ const oe = (_) => {
600
+ S || P && A();
601
+ }, we = oe, Ce = (_) => {
602
+ if (!(S || !P))
603
+ if (!$)
604
+ A();
605
+ else {
606
+ const O = _.target;
607
+ if (V.has(O))
608
+ return;
609
+ const w = setTimeout(() => {
610
+ V.delete(O), A();
611
+ }, $);
612
+ V.set(O, w);
613
+ }
614
+ }, Ie = (_) => {
615
+ if (S || !P || !$) return;
616
+ const O = _.target, w = V.get(O);
617
+ w && (clearTimeout(w), V.delete(O));
618
+ }, N = B ? se(g, {}) ?? Xe : ee, G = B ? ee : se(p, {}) ?? ee, ue = [
619
+ m,
620
+ N.className,
621
+ G.className
622
+ ].filter(Boolean).join(" "), ie = (C || N.style || G.style) && {
623
+ ...C,
624
+ ...N.style,
625
+ ...G.style
626
+ };
627
+ return {
628
+ ...re,
629
+ ...N,
630
+ ...G,
631
+ href: b == null ? void 0 : b.href,
632
+ ref: d,
633
+ onClick: M([v, Le]),
634
+ onFocus: M([I, oe]),
635
+ onMouseEnter: M([j, Ce]),
636
+ onMouseLeave: M([q, Ie]),
637
+ onTouchStart: M([F, we]),
638
+ disabled: !!S,
639
+ target: R,
640
+ ...ie && { style: ie },
641
+ ...ue && { className: ue },
642
+ ...S && Je,
643
+ ...B && Ye,
644
+ ...n && Qe
645
+ };
646
+ }
647
+ const ee = {}, Xe = { className: "active" }, Je = { role: "link", "aria-disabled": !0 }, Ye = { "data-status": "active", "aria-current": "page" }, Qe = { "data-transitioning": "transitioning" }, V = /* @__PURE__ */ new WeakMap(), Ze = {
648
+ rootMargin: "100px"
649
+ }, M = (e) => (r) => {
650
+ for (const t of e)
651
+ if (t) {
652
+ if (r.defaultPrevented) return;
653
+ t(r);
654
+ }
655
+ };
656
+ function ht(e) {
657
+ return E.forwardRef(function(t, n) {
658
+ return /* @__PURE__ */ De(et, { ...t, _asChild: e, ref: n });
659
+ });
660
+ }
661
+ const et = E.forwardRef(
662
+ (e, r) => {
663
+ const { _asChild: t, ...n } = e, {
664
+ type: o,
665
+ ref: h,
666
+ ...d
667
+ } = Be(n, r), g = typeof n.children == "function" ? n.children({
668
+ isActive: d["data-status"] === "active"
669
+ }) : n.children;
670
+ return t === void 0 && delete d.disabled, E.createElement(
671
+ t || "a",
672
+ {
673
+ ...d,
674
+ ref: h
675
+ },
676
+ g
677
+ );
678
+ }
679
+ );
680
+ function tt(e) {
681
+ return !!(e.metaKey || e.altKey || e.ctrlKey || e.shiftKey);
682
+ }
683
+ export {
684
+ ht as c
685
+ };
@@ -1,4 +1,4 @@
1
- import { r as i, e as n, h as e, H as s, g as l } from "./index-CIJ0X8ia.js";
1
+ import { r as i, e as n, h as e, H as s, g as l } from "./index-C9Rf5U9q.js";
2
2
  import { g as c, a as d, m as b } from "./index-e6818ded-r_t6ryaW.js";
3
3
  /*!
4
4
  * Copyright (c) 2025 Comcast. Prism UI - v7.32.2 - made with ❤️ in Philadelphia
@@ -1,4 +1,4 @@
1
- import { r as s, h as t, H as n, g as c } from "./index-CIJ0X8ia.js";
1
+ import { r as s, h as t, H as n, g as c } from "./index-C9Rf5U9q.js";
2
2
  import { m as d } from "./index-e6818ded-r_t6ryaW.js";
3
3
  /*!
4
4
  * Copyright (c) 2025 Comcast. Prism UI - v7.32.2 - made with ❤️ in Philadelphia
@@ -1,4 +1,4 @@
1
- import { r as e, e as c, h as o, H as n, g as l } from "./index-CIJ0X8ia.js";
1
+ import { r as e, e as c, h as o, H as n, g as l } from "./index-C9Rf5U9q.js";
2
2
  import { g as s, m as b } from "./index-e6818ded-r_t6ryaW.js";
3
3
  /*!
4
4
  * Copyright (c) 2025 Comcast. Prism UI - v7.32.2 - made with ❤️ in Philadelphia