@partbot/grid-garage 0.1.6 → 0.1.7
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/dist/css/vehicle-garage.css +1 -1
- package/dist/js/vehicle-garage.es.js +760 -748
- package/dist/js/vehicle-garage.js +3 -3
- package/package.json +1 -1
|
@@ -4417,44 +4417,58 @@ function Ml({ selection: e, modifyQueryString: t = !0, vehicleScopeTokens: n, ye
|
|
|
4417
4417
|
});
|
|
4418
4418
|
return i === `${window.location.pathname}${window.location.search}` ? !1 : (window.history.pushState(null, "", i), window.location.assign(i), !0);
|
|
4419
4419
|
}
|
|
4420
|
+
function Nl({ modifyQueryString: e = !0, vehicleScopeTokens: t, yearTokens: n } = {}) {
|
|
4421
|
+
if (typeof window > "u" || !e || !/\/collections\/[^/?]+/.test(window.location.pathname)) return !1;
|
|
4422
|
+
let r = new URLSearchParams(window.location.search), i = Dl({
|
|
4423
|
+
configuredParams: [t, n],
|
|
4424
|
+
searchParams: r
|
|
4425
|
+
});
|
|
4426
|
+
if (!i) return !1;
|
|
4427
|
+
let a = r.toString();
|
|
4428
|
+
Ol(r, i);
|
|
4429
|
+
let o = r.toString();
|
|
4430
|
+
if (o === a) return !1;
|
|
4431
|
+
let s = `${window.location.pathname}${o ? `?${o}` : ""}`;
|
|
4432
|
+
return window.history.pushState(null, "", s), window.location.assign(s), !0;
|
|
4433
|
+
}
|
|
4420
4434
|
//#endregion
|
|
4421
4435
|
//#region src/lib/events.ts
|
|
4422
|
-
function
|
|
4436
|
+
function Pl(e, t, n) {
|
|
4423
4437
|
let r = new CustomEvent(e, { detail: t });
|
|
4424
4438
|
n.forEach((e) => e.dispatchEvent(r));
|
|
4425
4439
|
}
|
|
4426
|
-
function
|
|
4440
|
+
function Fl(e, t) {
|
|
4427
4441
|
let n = { vehicle_ids: t.vehicle_ids };
|
|
4428
4442
|
if (typeof document < "u") {
|
|
4429
4443
|
if (e === "plate") {
|
|
4430
|
-
|
|
4444
|
+
Pl("plate-search-change", n, [document, window]);
|
|
4431
4445
|
return;
|
|
4432
4446
|
}
|
|
4433
|
-
|
|
4447
|
+
Pl("vehicle-search-change", {
|
|
4434
4448
|
vehicle_ids: t.vehicle_ids,
|
|
4435
4449
|
vehicle: t,
|
|
4436
4450
|
userSelected: !0
|
|
4437
4451
|
}, [document, window]);
|
|
4438
4452
|
}
|
|
4439
4453
|
}
|
|
4440
|
-
function
|
|
4441
|
-
typeof document > "u" ||
|
|
4442
|
-
}
|
|
4443
|
-
function Il() {
|
|
4444
|
-
typeof document > "u" || Nl("partbot-clear-vehicle", {}, [document, window]);
|
|
4454
|
+
function Il(e) {
|
|
4455
|
+
typeof document > "u" || Pl("vehicle-garage-change", e, [document, window]);
|
|
4445
4456
|
}
|
|
4446
4457
|
function Ll() {
|
|
4447
|
-
typeof document > "u" ||
|
|
4458
|
+
typeof document > "u" || Pl("partbot-clear-vehicle", {}, [document, window]);
|
|
4448
4459
|
}
|
|
4449
|
-
function Rl(
|
|
4450
|
-
typeof document > "u" ||
|
|
4460
|
+
function Rl() {
|
|
4461
|
+
typeof document > "u" || Pl("plate-search-modal-close", { timestamp: Date.now() }, [document]);
|
|
4462
|
+
}
|
|
4463
|
+
function zl(e) {
|
|
4464
|
+
typeof document > "u" || Pl("vehicle-garage-wheel-tyre-fitment", e, [document, window]);
|
|
4451
4465
|
}
|
|
4452
4466
|
//#endregion
|
|
4453
4467
|
//#region src/lib/url.ts
|
|
4454
|
-
function
|
|
4468
|
+
function Bl(e) {
|
|
4455
4469
|
return typeof window > "u" ? e : `${e}${window.location.search}`;
|
|
4456
4470
|
}
|
|
4457
|
-
function
|
|
4471
|
+
function Vl(e) {
|
|
4458
4472
|
if (typeof window > "u") return !1;
|
|
4459
4473
|
try {
|
|
4460
4474
|
let t = new URL(e, window.location.origin);
|
|
@@ -4465,33 +4479,33 @@ function Bl(e) {
|
|
|
4465
4479
|
}
|
|
4466
4480
|
//#endregion
|
|
4467
4481
|
//#region node_modules/clsx/dist/clsx.mjs
|
|
4468
|
-
function
|
|
4482
|
+
function Hl(e) {
|
|
4469
4483
|
var t, n, r = "";
|
|
4470
4484
|
if (typeof e == "string" || typeof e == "number") r += e;
|
|
4471
4485
|
else if (typeof e == "object") if (Array.isArray(e)) {
|
|
4472
4486
|
var i = e.length;
|
|
4473
|
-
for (t = 0; t < i; t++) e[t] && (n =
|
|
4487
|
+
for (t = 0; t < i; t++) e[t] && (n = Hl(e[t])) && (r && (r += " "), r += n);
|
|
4474
4488
|
} else for (n in e) e[n] && (r && (r += " "), r += n);
|
|
4475
4489
|
return r;
|
|
4476
4490
|
}
|
|
4477
|
-
function
|
|
4478
|
-
for (var e, t, n = 0, r = "", i = arguments.length; n < i; n++) (e = arguments[n]) && (t =
|
|
4491
|
+
function Ul() {
|
|
4492
|
+
for (var e, t, n = 0, r = "", i = arguments.length; n < i; n++) (e = arguments[n]) && (t = Hl(e)) && (r && (r += " "), r += t);
|
|
4479
4493
|
return r;
|
|
4480
4494
|
}
|
|
4481
4495
|
//#endregion
|
|
4482
4496
|
//#region node_modules/class-variance-authority/dist/index.mjs
|
|
4483
|
-
var
|
|
4484
|
-
if (t?.variants == null) return
|
|
4497
|
+
var Wl = (e) => typeof e == "boolean" ? `${e}` : e === 0 ? "0" : e, Gl = Ul, Kl = (e, t) => (n) => {
|
|
4498
|
+
if (t?.variants == null) return Gl(e, n?.class, n?.className);
|
|
4485
4499
|
let { variants: r, defaultVariants: i } = t, a = Object.keys(r).map((e) => {
|
|
4486
4500
|
let t = n?.[e], a = i?.[e];
|
|
4487
4501
|
if (t === null) return null;
|
|
4488
|
-
let o =
|
|
4502
|
+
let o = Wl(t) || Wl(a);
|
|
4489
4503
|
return r[e][o];
|
|
4490
4504
|
}), o = n && Object.entries(n).reduce((e, t) => {
|
|
4491
4505
|
let [n, r] = t;
|
|
4492
4506
|
return r === void 0 || (e[n] = r), e;
|
|
4493
4507
|
}, {});
|
|
4494
|
-
return
|
|
4508
|
+
return Gl(e, a, t?.compoundVariants?.reduce((e, t) => {
|
|
4495
4509
|
let { class: n, className: r, ...a } = t;
|
|
4496
4510
|
return Object.entries(a).every((e) => {
|
|
4497
4511
|
let [t, n] = e;
|
|
@@ -4508,100 +4522,100 @@ var Ul = (e) => typeof e == "boolean" ? `${e}` : e === 0 ? "0" : e, Wl = Hl, Gl
|
|
|
4508
4522
|
r
|
|
4509
4523
|
] : e;
|
|
4510
4524
|
}, []), n?.class, n?.className);
|
|
4511
|
-
},
|
|
4525
|
+
}, ql = (e, t) => {
|
|
4512
4526
|
let n = Array(e.length + t.length);
|
|
4513
4527
|
for (let t = 0; t < e.length; t++) n[t] = e[t];
|
|
4514
4528
|
for (let r = 0; r < t.length; r++) n[e.length + r] = t[r];
|
|
4515
4529
|
return n;
|
|
4516
|
-
},
|
|
4530
|
+
}, Jl = (e, t) => ({
|
|
4517
4531
|
classGroupId: e,
|
|
4518
4532
|
validator: t
|
|
4519
|
-
}),
|
|
4533
|
+
}), Yl = (e = /* @__PURE__ */ new Map(), t = null, n) => ({
|
|
4520
4534
|
nextPart: e,
|
|
4521
4535
|
validators: t,
|
|
4522
4536
|
classGroupId: n
|
|
4523
|
-
}),
|
|
4524
|
-
let t =
|
|
4537
|
+
}), Xl = "-", Zl = [], Ql = "arbitrary..", $l = (e) => {
|
|
4538
|
+
let t = nu(e), { conflictingClassGroups: n, conflictingClassGroupModifiers: r } = e;
|
|
4525
4539
|
return {
|
|
4526
4540
|
getClassGroupId: (e) => {
|
|
4527
|
-
if (e.startsWith("[") && e.endsWith("]")) return
|
|
4528
|
-
let n = e.split(
|
|
4529
|
-
return
|
|
4541
|
+
if (e.startsWith("[") && e.endsWith("]")) return tu(e);
|
|
4542
|
+
let n = e.split(Xl);
|
|
4543
|
+
return eu(n, +(n[0] === "" && n.length > 1), t);
|
|
4530
4544
|
},
|
|
4531
4545
|
getConflictingClassGroupIds: (e, t) => {
|
|
4532
4546
|
if (t) {
|
|
4533
4547
|
let t = r[e], i = n[e];
|
|
4534
|
-
return t ? i ?
|
|
4548
|
+
return t ? i ? ql(i, t) : t : i || Zl;
|
|
4535
4549
|
}
|
|
4536
|
-
return n[e] ||
|
|
4550
|
+
return n[e] || Zl;
|
|
4537
4551
|
}
|
|
4538
4552
|
};
|
|
4539
|
-
},
|
|
4553
|
+
}, eu = (e, t, n) => {
|
|
4540
4554
|
if (e.length - t === 0) return n.classGroupId;
|
|
4541
4555
|
let r = e[t], i = n.nextPart.get(r);
|
|
4542
4556
|
if (i) {
|
|
4543
|
-
let n =
|
|
4557
|
+
let n = eu(e, t + 1, i);
|
|
4544
4558
|
if (n) return n;
|
|
4545
4559
|
}
|
|
4546
4560
|
let a = n.validators;
|
|
4547
4561
|
if (a === null) return;
|
|
4548
|
-
let o = t === 0 ? e.join(
|
|
4562
|
+
let o = t === 0 ? e.join(Xl) : e.slice(t).join(Xl), s = a.length;
|
|
4549
4563
|
for (let e = 0; e < s; e++) {
|
|
4550
4564
|
let t = a[e];
|
|
4551
4565
|
if (t.validator(o)) return t.classGroupId;
|
|
4552
4566
|
}
|
|
4553
|
-
},
|
|
4567
|
+
}, tu = (e) => e.slice(1, -1).indexOf(":") === -1 ? void 0 : (() => {
|
|
4554
4568
|
let t = e.slice(1, -1), n = t.indexOf(":"), r = t.slice(0, n);
|
|
4555
|
-
return r ?
|
|
4556
|
-
})(),
|
|
4569
|
+
return r ? Ql + r : void 0;
|
|
4570
|
+
})(), nu = (e) => {
|
|
4557
4571
|
let { theme: t, classGroups: n } = e;
|
|
4558
|
-
return
|
|
4559
|
-
},
|
|
4560
|
-
let n =
|
|
4572
|
+
return ru(n, t);
|
|
4573
|
+
}, ru = (e, t) => {
|
|
4574
|
+
let n = Yl();
|
|
4561
4575
|
for (let r in e) {
|
|
4562
4576
|
let i = e[r];
|
|
4563
|
-
|
|
4577
|
+
iu(i, n, r, t);
|
|
4564
4578
|
}
|
|
4565
4579
|
return n;
|
|
4566
|
-
},
|
|
4580
|
+
}, iu = (e, t, n, r) => {
|
|
4567
4581
|
let i = e.length;
|
|
4568
4582
|
for (let a = 0; a < i; a++) {
|
|
4569
4583
|
let i = e[a];
|
|
4570
|
-
|
|
4584
|
+
au(i, t, n, r);
|
|
4571
4585
|
}
|
|
4572
|
-
},
|
|
4586
|
+
}, au = (e, t, n, r) => {
|
|
4573
4587
|
if (typeof e == "string") {
|
|
4574
|
-
|
|
4588
|
+
ou(e, t, n);
|
|
4575
4589
|
return;
|
|
4576
4590
|
}
|
|
4577
4591
|
if (typeof e == "function") {
|
|
4578
|
-
|
|
4592
|
+
su(e, t, n, r);
|
|
4579
4593
|
return;
|
|
4580
4594
|
}
|
|
4581
|
-
|
|
4582
|
-
},
|
|
4583
|
-
let r = e === "" ? t :
|
|
4595
|
+
cu(e, t, n, r);
|
|
4596
|
+
}, ou = (e, t, n) => {
|
|
4597
|
+
let r = e === "" ? t : lu(t, e);
|
|
4584
4598
|
r.classGroupId = n;
|
|
4585
|
-
},
|
|
4586
|
-
if (
|
|
4587
|
-
|
|
4599
|
+
}, su = (e, t, n, r) => {
|
|
4600
|
+
if (uu(e)) {
|
|
4601
|
+
iu(e(r), t, n, r);
|
|
4588
4602
|
return;
|
|
4589
4603
|
}
|
|
4590
|
-
t.validators === null && (t.validators = []), t.validators.push(
|
|
4591
|
-
},
|
|
4604
|
+
t.validators === null && (t.validators = []), t.validators.push(Jl(n, e));
|
|
4605
|
+
}, cu = (e, t, n, r) => {
|
|
4592
4606
|
let i = Object.entries(e), a = i.length;
|
|
4593
4607
|
for (let e = 0; e < a; e++) {
|
|
4594
4608
|
let [a, o] = i[e];
|
|
4595
|
-
|
|
4609
|
+
iu(o, lu(t, a), n, r);
|
|
4596
4610
|
}
|
|
4597
|
-
},
|
|
4598
|
-
let n = e, r = t.split(
|
|
4611
|
+
}, lu = (e, t) => {
|
|
4612
|
+
let n = e, r = t.split(Xl), i = r.length;
|
|
4599
4613
|
for (let e = 0; e < i; e++) {
|
|
4600
4614
|
let t = r[e], i = n.nextPart.get(t);
|
|
4601
|
-
i || (i =
|
|
4615
|
+
i || (i = Yl(), n.nextPart.set(t, i)), n = i;
|
|
4602
4616
|
}
|
|
4603
4617
|
return n;
|
|
4604
|
-
},
|
|
4618
|
+
}, uu = (e) => "isThemeGetter" in e && e.isThemeGetter === !0, du = (e) => {
|
|
4605
4619
|
if (e < 1) return {
|
|
4606
4620
|
get: () => void 0,
|
|
4607
4621
|
set: () => {}
|
|
@@ -4619,19 +4633,19 @@ var Ul = (e) => typeof e == "boolean" ? `${e}` : e === 0 ? "0" : e, Wl = Hl, Gl
|
|
|
4619
4633
|
e in n ? n[e] = t : i(e, t);
|
|
4620
4634
|
}
|
|
4621
4635
|
};
|
|
4622
|
-
},
|
|
4636
|
+
}, fu = "!", pu = ":", mu = [], hu = (e, t, n, r, i) => ({
|
|
4623
4637
|
modifiers: e,
|
|
4624
4638
|
hasImportantModifier: t,
|
|
4625
4639
|
baseClassName: n,
|
|
4626
4640
|
maybePostfixModifierPosition: r,
|
|
4627
4641
|
isExternal: i
|
|
4628
|
-
}),
|
|
4642
|
+
}), gu = (e) => {
|
|
4629
4643
|
let { prefix: t, experimentalParseClassName: n } = e, r = (e) => {
|
|
4630
4644
|
let t = [], n = 0, r = 0, i = 0, a, o = e.length;
|
|
4631
4645
|
for (let s = 0; s < o; s++) {
|
|
4632
4646
|
let o = e[s];
|
|
4633
4647
|
if (n === 0 && r === 0) {
|
|
4634
|
-
if (o ===
|
|
4648
|
+
if (o === pu) {
|
|
4635
4649
|
t.push(e.slice(i, s)), i = s + 1;
|
|
4636
4650
|
continue;
|
|
4637
4651
|
}
|
|
@@ -4643,13 +4657,13 @@ var Ul = (e) => typeof e == "boolean" ? `${e}` : e === 0 ? "0" : e, Wl = Hl, Gl
|
|
|
4643
4657
|
o === "[" ? n++ : o === "]" ? n-- : o === "(" ? r++ : o === ")" && r--;
|
|
4644
4658
|
}
|
|
4645
4659
|
let s = t.length === 0 ? e : e.slice(i), c = s, l = !1;
|
|
4646
|
-
s.endsWith(
|
|
4660
|
+
s.endsWith(fu) ? (c = s.slice(0, -1), l = !0) : s.startsWith(fu) && (c = s.slice(1), l = !0);
|
|
4647
4661
|
let u = a && a > i ? a - i : void 0;
|
|
4648
|
-
return
|
|
4662
|
+
return hu(t, l, c, u);
|
|
4649
4663
|
};
|
|
4650
4664
|
if (t) {
|
|
4651
|
-
let e = t +
|
|
4652
|
-
r = (t) => t.startsWith(e) ? n(t.slice(e.length)) : mu
|
|
4665
|
+
let e = t + pu, n = r;
|
|
4666
|
+
r = (t) => t.startsWith(e) ? n(t.slice(e.length)) : hu(mu, !1, t, void 0, !0);
|
|
4653
4667
|
}
|
|
4654
4668
|
if (n) {
|
|
4655
4669
|
let e = r;
|
|
@@ -4659,7 +4673,7 @@ var Ul = (e) => typeof e == "boolean" ? `${e}` : e === 0 ? "0" : e, Wl = Hl, Gl
|
|
|
4659
4673
|
});
|
|
4660
4674
|
}
|
|
4661
4675
|
return r;
|
|
4662
|
-
},
|
|
4676
|
+
}, _u = (e) => {
|
|
4663
4677
|
let t = /* @__PURE__ */ new Map();
|
|
4664
4678
|
return e.orderSensitiveModifiers.forEach((e, n) => {
|
|
4665
4679
|
t.set(e, 1e6 + n);
|
|
@@ -4671,13 +4685,13 @@ var Ul = (e) => typeof e == "boolean" ? `${e}` : e === 0 ? "0" : e, Wl = Hl, Gl
|
|
|
4671
4685
|
}
|
|
4672
4686
|
return r.length > 0 && (r.sort(), n.push(...r)), n;
|
|
4673
4687
|
};
|
|
4674
|
-
},
|
|
4675
|
-
cache:
|
|
4676
|
-
parseClassName:
|
|
4677
|
-
sortModifiers:
|
|
4678
|
-
|
|
4679
|
-
}),
|
|
4680
|
-
let { parseClassName: n, getClassGroupId: r, getConflictingClassGroupIds: i, sortModifiers: a } = t, o = [], s = e.trim().split(
|
|
4688
|
+
}, vu = (e) => ({
|
|
4689
|
+
cache: du(e.cacheSize),
|
|
4690
|
+
parseClassName: gu(e),
|
|
4691
|
+
sortModifiers: _u(e),
|
|
4692
|
+
...$l(e)
|
|
4693
|
+
}), yu = /\s+/, bu = (e, t) => {
|
|
4694
|
+
let { parseClassName: n, getClassGroupId: r, getConflictingClassGroupIds: i, sortModifiers: a } = t, o = [], s = e.trim().split(yu), c = "";
|
|
4681
4695
|
for (let e = s.length - 1; e >= 0; --e) {
|
|
4682
4696
|
let t = s[e], { isExternal: l, modifiers: u, hasImportantModifier: d, baseClassName: f, maybePostfixModifierPosition: p } = n(t);
|
|
4683
4697
|
if (l) {
|
|
@@ -4696,7 +4710,7 @@ var Ul = (e) => typeof e == "boolean" ? `${e}` : e === 0 ? "0" : e, Wl = Hl, Gl
|
|
|
4696
4710
|
}
|
|
4697
4711
|
m = !1;
|
|
4698
4712
|
}
|
|
4699
|
-
let g = u.length === 0 ? "" : u.length === 1 ? u[0] : a(u).join(":"), _ = d ? g +
|
|
4713
|
+
let g = u.length === 0 ? "" : u.length === 1 ? u[0] : a(u).join(":"), _ = d ? g + fu : g, v = _ + h;
|
|
4700
4714
|
if (o.indexOf(v) > -1) continue;
|
|
4701
4715
|
o.push(v);
|
|
4702
4716
|
let y = i(h, m);
|
|
@@ -4707,34 +4721,34 @@ var Ul = (e) => typeof e == "boolean" ? `${e}` : e === 0 ? "0" : e, Wl = Hl, Gl
|
|
|
4707
4721
|
c = t + (c.length > 0 ? " " + c : c);
|
|
4708
4722
|
}
|
|
4709
4723
|
return c;
|
|
4710
|
-
},
|
|
4724
|
+
}, xu = (...e) => {
|
|
4711
4725
|
let t = 0, n, r, i = "";
|
|
4712
|
-
for (; t < e.length;) (n = e[t++]) && (r =
|
|
4726
|
+
for (; t < e.length;) (n = e[t++]) && (r = Su(n)) && (i && (i += " "), i += r);
|
|
4713
4727
|
return i;
|
|
4714
|
-
},
|
|
4728
|
+
}, Su = (e) => {
|
|
4715
4729
|
if (typeof e == "string") return e;
|
|
4716
4730
|
let t, n = "";
|
|
4717
|
-
for (let r = 0; r < e.length; r++) e[r] && (t =
|
|
4731
|
+
for (let r = 0; r < e.length; r++) e[r] && (t = Su(e[r])) && (n && (n += " "), n += t);
|
|
4718
4732
|
return n;
|
|
4719
|
-
},
|
|
4720
|
-
let n, r, i, a, o = (o) => (n =
|
|
4733
|
+
}, Cu = (e, ...t) => {
|
|
4734
|
+
let n, r, i, a, o = (o) => (n = vu(t.reduce((e, t) => t(e), e())), r = n.cache.get, i = n.cache.set, a = s, s(o)), s = (e) => {
|
|
4721
4735
|
let t = r(e);
|
|
4722
4736
|
if (t) return t;
|
|
4723
|
-
let a =
|
|
4737
|
+
let a = bu(e, n);
|
|
4724
4738
|
return i(e, a), a;
|
|
4725
4739
|
};
|
|
4726
|
-
return a = o, (...e) => a(
|
|
4727
|
-
},
|
|
4728
|
-
let t = (t) => t[e] ||
|
|
4740
|
+
return a = o, (...e) => a(xu(...e));
|
|
4741
|
+
}, wu = [], Tu = (e) => {
|
|
4742
|
+
let t = (t) => t[e] || wu;
|
|
4729
4743
|
return t.isThemeGetter = !0, t;
|
|
4730
|
-
},
|
|
4731
|
-
let r = Tu.exec(e);
|
|
4732
|
-
return r ? r[1] ? t(r[1]) : n(r[2]) : !1;
|
|
4733
|
-
}, ad = (e, t, n = !1) => {
|
|
4744
|
+
}, Eu = /^\[(?:(\w[\w-]*):)?(.+)\]$/i, Du = /^\((?:(\w[\w-]*):)?(.+)\)$/i, Ou = /^\d+(?:\.\d+)?\/\d+(?:\.\d+)?$/, ku = /^(\d+(\.\d+)?)?(xs|sm|md|lg|xl)$/, Au = /\d+(%|px|r?em|[sdl]?v([hwib]|min|max)|pt|pc|in|cm|mm|cap|ch|ex|r?lh|cq(w|h|i|b|min|max))|\b(calc|min|max|clamp)\(.+\)|^0$/, ju = /^(rgba?|hsla?|hwb|(ok)?(lab|lch)|color-mix)\(.+\)$/, Mu = /^(inset_)?-?((\d+)?\.?(\d+)[a-z]+|0)_-?((\d+)?\.?(\d+)[a-z]+|0)/, Nu = /^(url|image|image-set|cross-fade|element|(repeating-)?(linear|radial|conic)-gradient)\(.+\)$/, Pu = (e) => Ou.test(e), Y = (e) => !!e && !Number.isNaN(Number(e)), Fu = (e) => !!e && Number.isInteger(Number(e)), Iu = (e) => e.endsWith("%") && Y(e.slice(0, -1)), Lu = (e) => ku.test(e), Ru = () => !0, zu = (e) => Au.test(e) && !ju.test(e), Bu = () => !1, Vu = (e) => Mu.test(e), Hu = (e) => Nu.test(e), Uu = (e) => !X(e) && !Z(e), Wu = (e) => ad(e, ld, Bu), X = (e) => Eu.test(e), Gu = (e) => ad(e, ud, zu), Ku = (e) => ad(e, dd, Y), qu = (e) => ad(e, pd, Ru), Ju = (e) => ad(e, fd, Bu), Yu = (e) => ad(e, sd, Bu), Xu = (e) => ad(e, cd, Hu), Zu = (e) => ad(e, md, Vu), Z = (e) => Du.test(e), Qu = (e) => od(e, ud), $u = (e) => od(e, fd), ed = (e) => od(e, sd), td = (e) => od(e, ld), nd = (e) => od(e, cd), rd = (e) => od(e, md, !0), id = (e) => od(e, pd, !0), ad = (e, t, n) => {
|
|
4734
4745
|
let r = Eu.exec(e);
|
|
4746
|
+
return r ? r[1] ? t(r[1]) : n(r[2]) : !1;
|
|
4747
|
+
}, od = (e, t, n = !1) => {
|
|
4748
|
+
let r = Du.exec(e);
|
|
4735
4749
|
return r ? r[1] ? t(r[1]) : n : !1;
|
|
4736
|
-
},
|
|
4737
|
-
let e =
|
|
4750
|
+
}, sd = (e) => e === "position" || e === "percentage", cd = (e) => e === "image" || e === "url", ld = (e) => e === "length" || e === "size" || e === "bg-size", ud = (e) => e === "length", dd = (e) => e === "number", fd = (e) => e === "family-name", pd = (e) => e === "number" || e === "weight", md = (e) => e === "shadow", hd = /* @__PURE__ */ Cu(() => {
|
|
4751
|
+
let e = Tu("color"), t = Tu("font"), n = Tu("text"), r = Tu("font-weight"), i = Tu("tracking"), a = Tu("leading"), o = Tu("breakpoint"), s = Tu("container"), c = Tu("spacing"), l = Tu("radius"), u = Tu("shadow"), d = Tu("inset-shadow"), f = Tu("text-shadow"), p = Tu("drop-shadow"), m = Tu("blur"), h = Tu("perspective"), g = Tu("aspect"), _ = Tu("ease"), v = Tu("animate"), y = () => [
|
|
4738
4752
|
"auto",
|
|
4739
4753
|
"avoid",
|
|
4740
4754
|
"all",
|
|
@@ -4776,12 +4790,12 @@ var Ul = (e) => typeof e == "boolean" ? `${e}` : e === 0 ? "0" : e, Wl = Hl, Gl
|
|
|
4776
4790
|
X,
|
|
4777
4791
|
c
|
|
4778
4792
|
], T = () => [
|
|
4779
|
-
|
|
4793
|
+
Pu,
|
|
4780
4794
|
"full",
|
|
4781
4795
|
"auto",
|
|
4782
4796
|
...w()
|
|
4783
4797
|
], E = () => [
|
|
4784
|
-
|
|
4798
|
+
Fu,
|
|
4785
4799
|
"none",
|
|
4786
4800
|
"subgrid",
|
|
4787
4801
|
Z,
|
|
@@ -4790,15 +4804,15 @@ var Ul = (e) => typeof e == "boolean" ? `${e}` : e === 0 ? "0" : e, Wl = Hl, Gl
|
|
|
4790
4804
|
"auto",
|
|
4791
4805
|
{ span: [
|
|
4792
4806
|
"full",
|
|
4793
|
-
|
|
4807
|
+
Fu,
|
|
4794
4808
|
Z,
|
|
4795
4809
|
X
|
|
4796
4810
|
] },
|
|
4797
|
-
|
|
4811
|
+
Fu,
|
|
4798
4812
|
Z,
|
|
4799
4813
|
X
|
|
4800
4814
|
], O = () => [
|
|
4801
|
-
|
|
4815
|
+
Fu,
|
|
4802
4816
|
"auto",
|
|
4803
4817
|
Z,
|
|
4804
4818
|
X
|
|
@@ -4828,7 +4842,7 @@ var Ul = (e) => typeof e == "boolean" ? `${e}` : e === 0 ? "0" : e, Wl = Hl, Gl
|
|
|
4828
4842
|
"center-safe",
|
|
4829
4843
|
"end-safe"
|
|
4830
4844
|
], M = () => ["auto", ...w()], N = () => [
|
|
4831
|
-
|
|
4845
|
+
Pu,
|
|
4832
4846
|
"auto",
|
|
4833
4847
|
"full",
|
|
4834
4848
|
"dvw",
|
|
@@ -4842,7 +4856,7 @@ var Ul = (e) => typeof e == "boolean" ? `${e}` : e === 0 ? "0" : e, Wl = Hl, Gl
|
|
|
4842
4856
|
"fit",
|
|
4843
4857
|
...w()
|
|
4844
4858
|
], P = () => [
|
|
4845
|
-
|
|
4859
|
+
Pu,
|
|
4846
4860
|
"screen",
|
|
4847
4861
|
"full",
|
|
4848
4862
|
"dvw",
|
|
@@ -4853,7 +4867,7 @@ var Ul = (e) => typeof e == "boolean" ? `${e}` : e === 0 ? "0" : e, Wl = Hl, Gl
|
|
|
4853
4867
|
"fit",
|
|
4854
4868
|
...w()
|
|
4855
4869
|
], F = () => [
|
|
4856
|
-
|
|
4870
|
+
Pu,
|
|
4857
4871
|
"screen",
|
|
4858
4872
|
"full",
|
|
4859
4873
|
"lh",
|
|
@@ -4870,8 +4884,8 @@ var Ul = (e) => typeof e == "boolean" ? `${e}` : e === 0 ? "0" : e, Wl = Hl, Gl
|
|
|
4870
4884
|
X
|
|
4871
4885
|
], L = () => [
|
|
4872
4886
|
...b(),
|
|
4873
|
-
|
|
4874
|
-
|
|
4887
|
+
ed,
|
|
4888
|
+
Yu,
|
|
4875
4889
|
{ position: [Z, X] }
|
|
4876
4890
|
], R = () => ["no-repeat", { repeat: [
|
|
4877
4891
|
"",
|
|
@@ -4883,13 +4897,13 @@ var Ul = (e) => typeof e == "boolean" ? `${e}` : e === 0 ? "0" : e, Wl = Hl, Gl
|
|
|
4883
4897
|
"auto",
|
|
4884
4898
|
"cover",
|
|
4885
4899
|
"contain",
|
|
4886
|
-
|
|
4887
|
-
|
|
4900
|
+
td,
|
|
4901
|
+
Wu,
|
|
4888
4902
|
{ size: [Z, X] }
|
|
4889
4903
|
], ee = () => [
|
|
4890
|
-
|
|
4891
|
-
|
|
4892
|
-
|
|
4904
|
+
Iu,
|
|
4905
|
+
Qu,
|
|
4906
|
+
Gu
|
|
4893
4907
|
], B = () => [
|
|
4894
4908
|
"",
|
|
4895
4909
|
"none",
|
|
@@ -4900,8 +4914,8 @@ var Ul = (e) => typeof e == "boolean" ? `${e}` : e === 0 ? "0" : e, Wl = Hl, Gl
|
|
|
4900
4914
|
], V = () => [
|
|
4901
4915
|
"",
|
|
4902
4916
|
Y,
|
|
4903
|
-
|
|
4904
|
-
|
|
4917
|
+
Qu,
|
|
4918
|
+
Gu
|
|
4905
4919
|
], te = () => [
|
|
4906
4920
|
"solid",
|
|
4907
4921
|
"dashed",
|
|
@@ -4926,9 +4940,9 @@ var Ul = (e) => typeof e == "boolean" ? `${e}` : e === 0 ? "0" : e, Wl = Hl, Gl
|
|
|
4926
4940
|
"luminosity"
|
|
4927
4941
|
], H = () => [
|
|
4928
4942
|
Y,
|
|
4929
|
-
|
|
4930
|
-
|
|
4931
|
-
|
|
4943
|
+
Iu,
|
|
4944
|
+
ed,
|
|
4945
|
+
Yu
|
|
4932
4946
|
], re = () => [
|
|
4933
4947
|
"",
|
|
4934
4948
|
"none",
|
|
@@ -4950,7 +4964,7 @@ var Ul = (e) => typeof e == "boolean" ? `${e}` : e === 0 ? "0" : e, Wl = Hl, Gl
|
|
|
4950
4964
|
Z,
|
|
4951
4965
|
X
|
|
4952
4966
|
], se = () => [
|
|
4953
|
-
|
|
4967
|
+
Pu,
|
|
4954
4968
|
"full",
|
|
4955
4969
|
...w()
|
|
4956
4970
|
];
|
|
@@ -4964,17 +4978,17 @@ var Ul = (e) => typeof e == "boolean" ? `${e}` : e === 0 ? "0" : e, Wl = Hl, Gl
|
|
|
4964
4978
|
"bounce"
|
|
4965
4979
|
],
|
|
4966
4980
|
aspect: ["video"],
|
|
4967
|
-
blur: [
|
|
4968
|
-
breakpoint: [
|
|
4969
|
-
color: [
|
|
4970
|
-
container: [
|
|
4971
|
-
"drop-shadow": [
|
|
4981
|
+
blur: [Lu],
|
|
4982
|
+
breakpoint: [Lu],
|
|
4983
|
+
color: [Ru],
|
|
4984
|
+
container: [Lu],
|
|
4985
|
+
"drop-shadow": [Lu],
|
|
4972
4986
|
ease: [
|
|
4973
4987
|
"in",
|
|
4974
4988
|
"out",
|
|
4975
4989
|
"in-out"
|
|
4976
4990
|
],
|
|
4977
|
-
font: [
|
|
4991
|
+
font: [Uu],
|
|
4978
4992
|
"font-weight": [
|
|
4979
4993
|
"thin",
|
|
4980
4994
|
"extralight",
|
|
@@ -4986,7 +5000,7 @@ var Ul = (e) => typeof e == "boolean" ? `${e}` : e === 0 ? "0" : e, Wl = Hl, Gl
|
|
|
4986
5000
|
"extrabold",
|
|
4987
5001
|
"black"
|
|
4988
5002
|
],
|
|
4989
|
-
"inset-shadow": [
|
|
5003
|
+
"inset-shadow": [Lu],
|
|
4990
5004
|
leading: [
|
|
4991
5005
|
"none",
|
|
4992
5006
|
"tight",
|
|
@@ -5003,11 +5017,11 @@ var Ul = (e) => typeof e == "boolean" ? `${e}` : e === 0 ? "0" : e, Wl = Hl, Gl
|
|
|
5003
5017
|
"distant",
|
|
5004
5018
|
"none"
|
|
5005
5019
|
],
|
|
5006
|
-
radius: [
|
|
5007
|
-
shadow: [
|
|
5020
|
+
radius: [Lu],
|
|
5021
|
+
shadow: [Lu],
|
|
5008
5022
|
spacing: ["px", Y],
|
|
5009
|
-
text: [
|
|
5010
|
-
"text-shadow": [
|
|
5023
|
+
text: [Lu],
|
|
5024
|
+
"text-shadow": [Lu],
|
|
5011
5025
|
tracking: [
|
|
5012
5026
|
"tighter",
|
|
5013
5027
|
"tight",
|
|
@@ -5021,7 +5035,7 @@ var Ul = (e) => typeof e == "boolean" ? `${e}` : e === 0 ? "0" : e, Wl = Hl, Gl
|
|
|
5021
5035
|
aspect: [{ aspect: [
|
|
5022
5036
|
"auto",
|
|
5023
5037
|
"square",
|
|
5024
|
-
|
|
5038
|
+
Pu,
|
|
5025
5039
|
X,
|
|
5026
5040
|
Z,
|
|
5027
5041
|
g
|
|
@@ -5127,13 +5141,13 @@ var Ul = (e) => typeof e == "boolean" ? `${e}` : e === 0 ? "0" : e, Wl = Hl, Gl
|
|
|
5127
5141
|
"collapse"
|
|
5128
5142
|
],
|
|
5129
5143
|
z: [{ z: [
|
|
5130
|
-
|
|
5144
|
+
Fu,
|
|
5131
5145
|
"auto",
|
|
5132
5146
|
Z,
|
|
5133
5147
|
X
|
|
5134
5148
|
] }],
|
|
5135
5149
|
basis: [{ basis: [
|
|
5136
|
-
|
|
5150
|
+
Pu,
|
|
5137
5151
|
"full",
|
|
5138
5152
|
"auto",
|
|
5139
5153
|
s,
|
|
@@ -5152,7 +5166,7 @@ var Ul = (e) => typeof e == "boolean" ? `${e}` : e === 0 ? "0" : e, Wl = Hl, Gl
|
|
|
5152
5166
|
] }],
|
|
5153
5167
|
flex: [{ flex: [
|
|
5154
5168
|
Y,
|
|
5155
|
-
|
|
5169
|
+
Pu,
|
|
5156
5170
|
"auto",
|
|
5157
5171
|
"initial",
|
|
5158
5172
|
"none",
|
|
@@ -5171,7 +5185,7 @@ var Ul = (e) => typeof e == "boolean" ? `${e}` : e === 0 ? "0" : e, Wl = Hl, Gl
|
|
|
5171
5185
|
X
|
|
5172
5186
|
] }],
|
|
5173
5187
|
order: [{ order: [
|
|
5174
|
-
|
|
5188
|
+
Fu,
|
|
5175
5189
|
"first",
|
|
5176
5190
|
"last",
|
|
5177
5191
|
"none",
|
|
@@ -5282,15 +5296,15 @@ var Ul = (e) => typeof e == "boolean" ? `${e}` : e === 0 ? "0" : e, Wl = Hl, Gl
|
|
|
5282
5296
|
"font-size": [{ text: [
|
|
5283
5297
|
"base",
|
|
5284
5298
|
n,
|
|
5285
|
-
|
|
5286
|
-
|
|
5299
|
+
Qu,
|
|
5300
|
+
Gu
|
|
5287
5301
|
] }],
|
|
5288
5302
|
"font-smoothing": ["antialiased", "subpixel-antialiased"],
|
|
5289
5303
|
"font-style": ["italic", "not-italic"],
|
|
5290
5304
|
"font-weight": [{ font: [
|
|
5291
5305
|
r,
|
|
5292
|
-
|
|
5293
|
-
|
|
5306
|
+
id,
|
|
5307
|
+
qu
|
|
5294
5308
|
] }],
|
|
5295
5309
|
"font-stretch": [{ "font-stretch": [
|
|
5296
5310
|
"ultra-condensed",
|
|
@@ -5302,12 +5316,12 @@ var Ul = (e) => typeof e == "boolean" ? `${e}` : e === 0 ? "0" : e, Wl = Hl, Gl
|
|
|
5302
5316
|
"expanded",
|
|
5303
5317
|
"extra-expanded",
|
|
5304
5318
|
"ultra-expanded",
|
|
5305
|
-
|
|
5319
|
+
Iu,
|
|
5306
5320
|
X
|
|
5307
5321
|
] }],
|
|
5308
5322
|
"font-family": [{ font: [
|
|
5309
|
-
|
|
5310
|
-
|
|
5323
|
+
$u,
|
|
5324
|
+
Ju,
|
|
5311
5325
|
t
|
|
5312
5326
|
] }],
|
|
5313
5327
|
"font-features": [{ "font-features": [X] }],
|
|
@@ -5326,7 +5340,7 @@ var Ul = (e) => typeof e == "boolean" ? `${e}` : e === 0 ? "0" : e, Wl = Hl, Gl
|
|
|
5326
5340
|
Y,
|
|
5327
5341
|
"none",
|
|
5328
5342
|
Z,
|
|
5329
|
-
|
|
5343
|
+
Ku
|
|
5330
5344
|
] }],
|
|
5331
5345
|
leading: [{ leading: [a, ...w()] }],
|
|
5332
5346
|
"list-image": [{ "list-image": [
|
|
@@ -5364,7 +5378,7 @@ var Ul = (e) => typeof e == "boolean" ? `${e}` : e === 0 ? "0" : e, Wl = Hl, Gl
|
|
|
5364
5378
|
"from-font",
|
|
5365
5379
|
"auto",
|
|
5366
5380
|
Z,
|
|
5367
|
-
|
|
5381
|
+
Gu
|
|
5368
5382
|
] }],
|
|
5369
5383
|
"text-decoration-color": [{ decoration: I() }],
|
|
5370
5384
|
"underline-offset": [{ "underline-offset": [
|
|
@@ -5465,7 +5479,7 @@ var Ul = (e) => typeof e == "boolean" ? `${e}` : e === 0 ? "0" : e, Wl = Hl, Gl
|
|
|
5465
5479
|
"l",
|
|
5466
5480
|
"tl"
|
|
5467
5481
|
] },
|
|
5468
|
-
|
|
5482
|
+
Fu,
|
|
5469
5483
|
Z,
|
|
5470
5484
|
X
|
|
5471
5485
|
],
|
|
@@ -5475,13 +5489,13 @@ var Ul = (e) => typeof e == "boolean" ? `${e}` : e === 0 ? "0" : e, Wl = Hl, Gl
|
|
|
5475
5489
|
X
|
|
5476
5490
|
],
|
|
5477
5491
|
conic: [
|
|
5478
|
-
|
|
5492
|
+
Fu,
|
|
5479
5493
|
Z,
|
|
5480
5494
|
X
|
|
5481
5495
|
]
|
|
5482
5496
|
},
|
|
5483
|
-
|
|
5484
|
-
|
|
5497
|
+
nd,
|
|
5498
|
+
Xu
|
|
5485
5499
|
] }],
|
|
5486
5500
|
"bg-color": [{ bg: I() }],
|
|
5487
5501
|
"gradient-from-pos": [{ from: ee() }],
|
|
@@ -5555,37 +5569,37 @@ var Ul = (e) => typeof e == "boolean" ? `${e}` : e === 0 ? "0" : e, Wl = Hl, Gl
|
|
|
5555
5569
|
"outline-w": [{ outline: [
|
|
5556
5570
|
"",
|
|
5557
5571
|
Y,
|
|
5558
|
-
|
|
5559
|
-
|
|
5572
|
+
Qu,
|
|
5573
|
+
Gu
|
|
5560
5574
|
] }],
|
|
5561
5575
|
"outline-color": [{ outline: I() }],
|
|
5562
5576
|
shadow: [{ shadow: [
|
|
5563
5577
|
"",
|
|
5564
5578
|
"none",
|
|
5565
5579
|
u,
|
|
5566
|
-
|
|
5567
|
-
|
|
5580
|
+
rd,
|
|
5581
|
+
Zu
|
|
5568
5582
|
] }],
|
|
5569
5583
|
"shadow-color": [{ shadow: I() }],
|
|
5570
5584
|
"inset-shadow": [{ "inset-shadow": [
|
|
5571
5585
|
"none",
|
|
5572
5586
|
d,
|
|
5573
|
-
|
|
5574
|
-
|
|
5587
|
+
rd,
|
|
5588
|
+
Zu
|
|
5575
5589
|
] }],
|
|
5576
5590
|
"inset-shadow-color": [{ "inset-shadow": I() }],
|
|
5577
5591
|
"ring-w": [{ ring: V() }],
|
|
5578
5592
|
"ring-w-inset": ["ring-inset"],
|
|
5579
5593
|
"ring-color": [{ ring: I() }],
|
|
5580
|
-
"ring-offset-w": [{ "ring-offset": [Y,
|
|
5594
|
+
"ring-offset-w": [{ "ring-offset": [Y, Gu] }],
|
|
5581
5595
|
"ring-offset-color": [{ "ring-offset": I() }],
|
|
5582
5596
|
"inset-ring-w": [{ "inset-ring": V() }],
|
|
5583
5597
|
"inset-ring-color": [{ "inset-ring": I() }],
|
|
5584
5598
|
"text-shadow": [{ "text-shadow": [
|
|
5585
5599
|
"none",
|
|
5586
5600
|
f,
|
|
5587
|
-
|
|
5588
|
-
|
|
5601
|
+
rd,
|
|
5602
|
+
Zu
|
|
5589
5603
|
] }],
|
|
5590
5604
|
"text-shadow-color": [{ "text-shadow": I() }],
|
|
5591
5605
|
opacity: [{ opacity: [
|
|
@@ -5701,8 +5715,8 @@ var Ul = (e) => typeof e == "boolean" ? `${e}` : e === 0 ? "0" : e, Wl = Hl, Gl
|
|
|
5701
5715
|
"",
|
|
5702
5716
|
"none",
|
|
5703
5717
|
p,
|
|
5704
|
-
|
|
5705
|
-
|
|
5718
|
+
rd,
|
|
5719
|
+
Zu
|
|
5706
5720
|
] }],
|
|
5707
5721
|
"drop-shadow-color": [{ "drop-shadow": I() }],
|
|
5708
5722
|
grayscale: [{ grayscale: [
|
|
@@ -5988,9 +6002,9 @@ var Ul = (e) => typeof e == "boolean" ? `${e}` : e === 0 ? "0" : e, Wl = Hl, Gl
|
|
|
5988
6002
|
fill: [{ fill: ["none", ...I()] }],
|
|
5989
6003
|
"stroke-w": [{ stroke: [
|
|
5990
6004
|
Y,
|
|
5991
|
-
|
|
5992
|
-
|
|
5993
|
-
|
|
6005
|
+
Qu,
|
|
6006
|
+
Gu,
|
|
6007
|
+
Ku
|
|
5994
6008
|
] }],
|
|
5995
6009
|
stroke: [{ stroke: ["none", ...I()] }],
|
|
5996
6010
|
"forced-color-adjust": [{ "forced-color-adjust": ["auto", "none"] }]
|
|
@@ -6180,11 +6194,11 @@ var Ul = (e) => typeof e == "boolean" ? `${e}` : e === 0 ? "0" : e, Wl = Hl, Gl
|
|
|
6180
6194
|
//#endregion
|
|
6181
6195
|
//#region src/lib/utils.ts
|
|
6182
6196
|
function Q(...e) {
|
|
6183
|
-
return
|
|
6197
|
+
return hd(Ul(e));
|
|
6184
6198
|
}
|
|
6185
6199
|
//#endregion
|
|
6186
6200
|
//#region src/components/ui/button.tsx
|
|
6187
|
-
var
|
|
6201
|
+
var gd = Kl("group/button inline-flex shrink-0 items-center justify-center rounded-lg border border-transparent bg-clip-padding text-sm font-medium whitespace-nowrap transition-all outline-none select-none focus-visible:border-ring focus-visible:ring-3 focus-visible:ring-ring/50 active:not-aria-[haspopup]:translate-y-px disabled:pointer-events-none disabled:opacity-50 aria-invalid:border-destructive aria-invalid:ring-3 aria-invalid:ring-destructive/20 dark:aria-invalid:border-destructive/50 dark:aria-invalid:ring-destructive/40 [&_svg]:pointer-events-none [&_svg]:shrink-0 [&_svg:not([class*='size-'])]:size-4", {
|
|
6188
6202
|
variants: {
|
|
6189
6203
|
variant: {
|
|
6190
6204
|
default: "bg-primary text-primary-foreground [a]:hover:bg-primary/80",
|
|
@@ -6209,13 +6223,13 @@ var hd = Gl("group/button inline-flex shrink-0 items-center justify-center round
|
|
|
6209
6223
|
variant: "default",
|
|
6210
6224
|
size: "default"
|
|
6211
6225
|
}
|
|
6212
|
-
}),
|
|
6226
|
+
}), _d = e.forwardRef(function({ className: e, variant: t = "default", size: n = "default", asChild: r = !1, ...i }, a) {
|
|
6213
6227
|
return /* @__PURE__ */ h(r ? C : "button", {
|
|
6214
6228
|
ref: a,
|
|
6215
6229
|
"data-slot": "button",
|
|
6216
6230
|
"data-variant": t,
|
|
6217
6231
|
"data-size": n,
|
|
6218
|
-
className: Q(
|
|
6232
|
+
className: Q(gd({
|
|
6219
6233
|
variant: t,
|
|
6220
6234
|
size: n,
|
|
6221
6235
|
className: e
|
|
@@ -6225,7 +6239,7 @@ var hd = Gl("group/button inline-flex shrink-0 items-center justify-center round
|
|
|
6225
6239
|
});
|
|
6226
6240
|
//#endregion
|
|
6227
6241
|
//#region src/components/ui/sheet.tsx
|
|
6228
|
-
function
|
|
6242
|
+
function vd(...e) {
|
|
6229
6243
|
return (t) => {
|
|
6230
6244
|
e.forEach((e) => {
|
|
6231
6245
|
if (typeof e == "function") {
|
|
@@ -6236,7 +6250,7 @@ function _d(...e) {
|
|
|
6236
6250
|
});
|
|
6237
6251
|
};
|
|
6238
6252
|
}
|
|
6239
|
-
function
|
|
6253
|
+
function yd(e) {
|
|
6240
6254
|
if (!(e.getRootNode() instanceof ShadowRoot) || !e.id) return;
|
|
6241
6255
|
let t = e.ownerDocument.getElementById(e.id);
|
|
6242
6256
|
if (t && !t.hasAttribute("data-shadow-aria-mirror")) return;
|
|
@@ -6255,12 +6269,12 @@ function vd(e) {
|
|
|
6255
6269
|
n.hasAttribute("data-shadow-aria-mirror") && n.remove();
|
|
6256
6270
|
};
|
|
6257
6271
|
}
|
|
6258
|
-
function
|
|
6272
|
+
function bd(t, n) {
|
|
6259
6273
|
e.useLayoutEffect(() => {
|
|
6260
|
-
if (t.current) return
|
|
6274
|
+
if (t.current) return yd(t.current);
|
|
6261
6275
|
}, [n, t]);
|
|
6262
6276
|
}
|
|
6263
|
-
function
|
|
6277
|
+
function xd({ ...e }) {
|
|
6264
6278
|
return /* @__PURE__ */ h(Ln, {
|
|
6265
6279
|
"data-slot": "sheet",
|
|
6266
6280
|
...e
|
|
@@ -6279,32 +6293,32 @@ e.forwardRef(function(e, t) {
|
|
|
6279
6293
|
...e
|
|
6280
6294
|
});
|
|
6281
6295
|
});
|
|
6282
|
-
function
|
|
6296
|
+
function Sd({ ...e }) {
|
|
6283
6297
|
return /* @__PURE__ */ h(zn, {
|
|
6284
6298
|
"data-slot": "sheet-portal",
|
|
6285
6299
|
...e
|
|
6286
6300
|
});
|
|
6287
6301
|
}
|
|
6288
|
-
var
|
|
6302
|
+
var Cd = e.forwardRef(function({ className: e, ...t }, n) {
|
|
6289
6303
|
return /* @__PURE__ */ h(Bn, {
|
|
6290
6304
|
ref: n,
|
|
6291
6305
|
"data-slot": "sheet-overlay",
|
|
6292
|
-
className: Q("garage-sheet-overlay fixed inset-0 z-
|
|
6306
|
+
className: Q("garage-sheet-overlay fixed inset-0 z-[2147483646]", e),
|
|
6293
6307
|
...t
|
|
6294
6308
|
});
|
|
6295
|
-
}),
|
|
6296
|
-
return /* @__PURE__ */ g(
|
|
6309
|
+
}), wd = e.forwardRef(function({ className: e, children: t, side: n = "right", showCloseButton: r = !0, container: i, overlayStyle: a, ...o }, s) {
|
|
6310
|
+
return /* @__PURE__ */ g(Sd, {
|
|
6297
6311
|
container: i ?? void 0,
|
|
6298
|
-
children: [/* @__PURE__ */ h(
|
|
6312
|
+
children: [/* @__PURE__ */ h(Cd, { style: a }), /* @__PURE__ */ g(Vn, {
|
|
6299
6313
|
ref: s,
|
|
6300
6314
|
"data-slot": "sheet-content",
|
|
6301
6315
|
"data-side": n,
|
|
6302
|
-
className: Q("garage-sheet-content fixed z-
|
|
6316
|
+
className: Q("garage-sheet-content fixed z-[2147483647] flex flex-col gap-4 bg-popover bg-clip-padding text-sm text-popover-foreground shadow-lg data-[side=bottom]:inset-x-0 data-[side=bottom]:bottom-0 data-[side=bottom]:h-auto data-[side=left]:inset-y-0 data-[side=left]:left-0 data-[side=left]:h-full data-[side=left]:w-full data-[side=right]:inset-y-0 data-[side=right]:right-0 data-[side=right]:h-full data-[side=right]:w-full data-[side=top]:inset-x-0 data-[side=top]:top-0 data-[side=top]:h-auto data-[side=left]:sm:max-w-md data-[side=right]:sm:max-w-md", e),
|
|
6303
6317
|
...o,
|
|
6304
6318
|
children: [t, r && /* @__PURE__ */ h(Wn, {
|
|
6305
6319
|
"data-slot": "sheet-close",
|
|
6306
6320
|
asChild: !0,
|
|
6307
|
-
children: /* @__PURE__ */ g(
|
|
6321
|
+
children: /* @__PURE__ */ g(_d, {
|
|
6308
6322
|
variant: "ghost",
|
|
6309
6323
|
className: "absolute top-3 right-3",
|
|
6310
6324
|
size: "icon-sm",
|
|
@@ -6317,32 +6331,32 @@ var Sd = e.forwardRef(function({ className: e, ...t }, n) {
|
|
|
6317
6331
|
})]
|
|
6318
6332
|
});
|
|
6319
6333
|
});
|
|
6320
|
-
function
|
|
6334
|
+
function Td({ className: e, ...t }) {
|
|
6321
6335
|
return /* @__PURE__ */ h("div", {
|
|
6322
6336
|
"data-slot": "sheet-header",
|
|
6323
6337
|
className: Q("flex flex-col gap-0.5 p-4", e),
|
|
6324
6338
|
...t
|
|
6325
6339
|
});
|
|
6326
6340
|
}
|
|
6327
|
-
var
|
|
6341
|
+
var Ed = e.forwardRef(function({ className: t, children: n, ...r }, i) {
|
|
6328
6342
|
let a = e.useRef(null);
|
|
6329
|
-
return
|
|
6330
|
-
ref:
|
|
6343
|
+
return bd(a, n), /* @__PURE__ */ h(Hn, {
|
|
6344
|
+
ref: vd(i, a),
|
|
6331
6345
|
"data-slot": "sheet-title",
|
|
6332
6346
|
className: Q("font-heading text-base font-medium text-foreground", t),
|
|
6333
6347
|
...r,
|
|
6334
6348
|
children: n
|
|
6335
6349
|
});
|
|
6336
|
-
}),
|
|
6350
|
+
}), Dd = e.forwardRef(function({ className: t, children: n, ...r }, i) {
|
|
6337
6351
|
let a = e.useRef(null);
|
|
6338
|
-
return
|
|
6339
|
-
ref:
|
|
6352
|
+
return bd(a, n), /* @__PURE__ */ h(Un, {
|
|
6353
|
+
ref: vd(i, a),
|
|
6340
6354
|
"data-slot": "sheet-description",
|
|
6341
6355
|
className: Q("text-sm text-muted-foreground", t),
|
|
6342
6356
|
...r,
|
|
6343
6357
|
children: n
|
|
6344
6358
|
});
|
|
6345
|
-
}),
|
|
6359
|
+
}), Od = e.forwardRef(function({ className: e, orientation: t = "horizontal", ...n }, r) {
|
|
6346
6360
|
return /* @__PURE__ */ h(Rs, {
|
|
6347
6361
|
ref: r,
|
|
6348
6362
|
"data-slot": "tabs",
|
|
@@ -6352,28 +6366,28 @@ var Td = e.forwardRef(function({ className: t, children: n, ...r }, i) {
|
|
|
6352
6366
|
className: Q("group/tabs flex gap-2 data-horizontal:flex-col", e),
|
|
6353
6367
|
...n
|
|
6354
6368
|
});
|
|
6355
|
-
}),
|
|
6369
|
+
}), kd = Kl("group/tabs-list inline-flex w-fit items-center justify-center rounded-lg p-[3px] text-muted-foreground group-data-horizontal/tabs:min-h-[32px] group-data-vertical/tabs:h-fit group-data-vertical/tabs:flex-col data-[variant=line]:rounded-none", {
|
|
6356
6370
|
variants: { variant: {
|
|
6357
6371
|
default: "bg-muted",
|
|
6358
6372
|
line: "gap-1 bg-transparent"
|
|
6359
6373
|
} },
|
|
6360
6374
|
defaultVariants: { variant: "default" }
|
|
6361
|
-
}),
|
|
6375
|
+
}), Ad = e.forwardRef(function({ className: e, variant: t = "default", ...n }, r) {
|
|
6362
6376
|
return /* @__PURE__ */ h(zs, {
|
|
6363
6377
|
ref: r,
|
|
6364
6378
|
"data-slot": "tabs-list",
|
|
6365
6379
|
"data-variant": t,
|
|
6366
|
-
className: Q(
|
|
6380
|
+
className: Q(kd({ variant: t }), e),
|
|
6367
6381
|
...n
|
|
6368
6382
|
});
|
|
6369
|
-
}),
|
|
6383
|
+
}), jd = e.forwardRef(function({ className: e, ...t }, n) {
|
|
6370
6384
|
return /* @__PURE__ */ h(Bs, {
|
|
6371
6385
|
ref: n,
|
|
6372
6386
|
"data-slot": "tabs-trigger",
|
|
6373
6387
|
className: Q("relative inline-flex min-h-[calc(100%-1px)] flex-1 items-center justify-center gap-1.5 rounded-md border border-transparent px-1.5 py-0.5 text-sm font-medium whitespace-nowrap text-foreground/60 transition-all group-data-vertical/tabs:w-full group-data-vertical/tabs:justify-start hover:text-foreground focus-visible:border-ring focus-visible:ring-[3px] focus-visible:ring-ring/50 focus-visible:outline-1 focus-visible:outline-ring disabled:pointer-events-none disabled:opacity-50 has-data-[icon=inline-end]:pr-1 has-data-[icon=inline-start]:pl-1 dark:text-muted-foreground dark:hover:text-foreground [&_svg]:pointer-events-none [&_svg]:shrink-0 [&_svg:not([class*='size-'])]:size-4", "group-data-[variant=default]/tabs-list:data-[state=active]:shadow-sm group-data-[variant=line]/tabs-list:data-[state=active]:shadow-none", "group-data-[variant=line]/tabs-list:bg-transparent group-data-[variant=line]/tabs-list:data-[state=active]:bg-transparent dark:group-data-[variant=line]/tabs-list:data-[state=active]:border-transparent dark:group-data-[variant=line]/tabs-list:data-[state=active]:bg-transparent", "data-[state=active]:bg-background data-[state=active]:text-foreground dark:data-[state=active]:border-input dark:data-[state=active]:bg-input/30 dark:data-[state=active]:text-foreground", "after:absolute after:bg-foreground after:opacity-0 after:transition-opacity group-data-horizontal/tabs:after:inset-x-0 group-data-horizontal/tabs:after:bottom-[-5px] group-data-horizontal/tabs:after:h-0.5 group-data-vertical/tabs:after:inset-y-0 group-data-vertical/tabs:after:-right-1 group-data-vertical/tabs:after:w-0.5 group-data-[variant=line]/tabs-list:data-[state=active]:after:opacity-100", e),
|
|
6374
6388
|
...t
|
|
6375
6389
|
});
|
|
6376
|
-
}),
|
|
6390
|
+
}), Md = e.forwardRef(function({ className: e, ...t }, n) {
|
|
6377
6391
|
return /* @__PURE__ */ h(Vs, {
|
|
6378
6392
|
ref: n,
|
|
6379
6393
|
"data-slot": "tabs-content",
|
|
@@ -6383,7 +6397,7 @@ var Td = e.forwardRef(function({ className: t, children: n, ...r }, i) {
|
|
|
6383
6397
|
});
|
|
6384
6398
|
//#endregion
|
|
6385
6399
|
//#region src/components/ui/separator.tsx
|
|
6386
|
-
function
|
|
6400
|
+
function Nd({ className: e, orientation: t = "horizontal", decorative: n = !0, ...r }) {
|
|
6387
6401
|
return /* @__PURE__ */ h(Ss, {
|
|
6388
6402
|
"data-slot": "separator",
|
|
6389
6403
|
decorative: n,
|
|
@@ -6394,96 +6408,96 @@ function Md({ className: e, orientation: t = "horizontal", decorative: n = !0, .
|
|
|
6394
6408
|
}
|
|
6395
6409
|
//#endregion
|
|
6396
6410
|
//#region node_modules/dompurify/dist/purify.es.mjs
|
|
6397
|
-
var { entries:
|
|
6398
|
-
|
|
6411
|
+
var { entries: Pd, setPrototypeOf: Fd, isFrozen: Id, getPrototypeOf: Ld, getOwnPropertyDescriptor: Rd } = Object, { freeze: zd, seal: Bd, create: Vd } = Object, { apply: Hd, construct: Ud } = typeof Reflect < "u" && Reflect;
|
|
6412
|
+
zd ||= function(e) {
|
|
6399
6413
|
return e;
|
|
6400
|
-
},
|
|
6414
|
+
}, Bd ||= function(e) {
|
|
6401
6415
|
return e;
|
|
6402
|
-
},
|
|
6416
|
+
}, Hd ||= function(e, t) {
|
|
6403
6417
|
var n = [...arguments].slice(2);
|
|
6404
6418
|
return e.apply(t, n);
|
|
6405
|
-
},
|
|
6419
|
+
}, Ud ||= function(e) {
|
|
6406
6420
|
return new e(...[...arguments].slice(1));
|
|
6407
6421
|
};
|
|
6408
|
-
var
|
|
6409
|
-
function
|
|
6422
|
+
var Wd = df(Array.prototype.forEach), Gd = df(Array.prototype.lastIndexOf), Kd = df(Array.prototype.pop), qd = df(Array.prototype.push), Jd = df(Array.prototype.splice), Yd = Array.isArray, Xd = df(String.prototype.toLowerCase), Zd = df(String.prototype.toString), Qd = df(String.prototype.match), $d = df(String.prototype.replace), ef = df(String.prototype.indexOf), tf = df(String.prototype.trim), nf = df(Number.prototype.toString), rf = df(Boolean.prototype.toString), af = typeof BigInt > "u" ? null : df(BigInt.prototype.toString), of = typeof Symbol > "u" ? null : df(Symbol.prototype.toString), sf = df(Object.prototype.hasOwnProperty), cf = df(Object.prototype.toString), lf = df(RegExp.prototype.test), uf = ff(TypeError);
|
|
6423
|
+
function df(e) {
|
|
6410
6424
|
return function(t) {
|
|
6411
6425
|
t instanceof RegExp && (t.lastIndex = 0);
|
|
6412
6426
|
var n = [...arguments].slice(1);
|
|
6413
|
-
return
|
|
6427
|
+
return Hd(e, t, n);
|
|
6414
6428
|
};
|
|
6415
6429
|
}
|
|
6416
|
-
function
|
|
6430
|
+
function ff(e) {
|
|
6417
6431
|
return function() {
|
|
6418
|
-
return
|
|
6432
|
+
return Ud(e, [...arguments]);
|
|
6419
6433
|
};
|
|
6420
6434
|
}
|
|
6421
6435
|
function $(e, t) {
|
|
6422
|
-
let n = arguments.length > 2 && arguments[2] !== void 0 ? arguments[2] :
|
|
6423
|
-
if (
|
|
6436
|
+
let n = arguments.length > 2 && arguments[2] !== void 0 ? arguments[2] : Xd;
|
|
6437
|
+
if (Fd && Fd(e, null), !Yd(t)) return e;
|
|
6424
6438
|
let r = t.length;
|
|
6425
6439
|
for (; r--;) {
|
|
6426
6440
|
let i = t[r];
|
|
6427
6441
|
if (typeof i == "string") {
|
|
6428
6442
|
let e = n(i);
|
|
6429
|
-
e !== i && (
|
|
6443
|
+
e !== i && (Id(t) || (t[r] = e), i = e);
|
|
6430
6444
|
}
|
|
6431
6445
|
e[i] = !0;
|
|
6432
6446
|
}
|
|
6433
6447
|
return e;
|
|
6434
6448
|
}
|
|
6435
|
-
function
|
|
6436
|
-
for (let t = 0; t < e.length; t++)
|
|
6449
|
+
function pf(e) {
|
|
6450
|
+
for (let t = 0; t < e.length; t++) sf(e, t) || (e[t] = null);
|
|
6437
6451
|
return e;
|
|
6438
6452
|
}
|
|
6439
|
-
function
|
|
6440
|
-
let t =
|
|
6441
|
-
for (let [n, r] of
|
|
6453
|
+
function mf(e) {
|
|
6454
|
+
let t = Vd(null);
|
|
6455
|
+
for (let [n, r] of Pd(e)) sf(e, n) && (Yd(r) ? t[n] = pf(r) : r && typeof r == "object" && r.constructor === Object ? t[n] = mf(r) : t[n] = r);
|
|
6442
6456
|
return t;
|
|
6443
6457
|
}
|
|
6444
|
-
function
|
|
6458
|
+
function hf(e) {
|
|
6445
6459
|
switch (typeof e) {
|
|
6446
6460
|
case "string": return e;
|
|
6447
|
-
case "number": return
|
|
6448
|
-
case "boolean": return
|
|
6449
|
-
case "bigint": return
|
|
6450
|
-
case "symbol": return
|
|
6451
|
-
case "undefined": return
|
|
6461
|
+
case "number": return nf(e);
|
|
6462
|
+
case "boolean": return rf(e);
|
|
6463
|
+
case "bigint": return af ? af(e) : "0";
|
|
6464
|
+
case "symbol": return of ? of(e) : "Symbol()";
|
|
6465
|
+
case "undefined": return cf(e);
|
|
6452
6466
|
case "function":
|
|
6453
6467
|
case "object": {
|
|
6454
|
-
if (e === null) return
|
|
6455
|
-
let t = e, n =
|
|
6468
|
+
if (e === null) return cf(e);
|
|
6469
|
+
let t = e, n = gf(t, "toString");
|
|
6456
6470
|
if (typeof n == "function") {
|
|
6457
6471
|
let e = n(t);
|
|
6458
|
-
return typeof e == "string" ? e :
|
|
6472
|
+
return typeof e == "string" ? e : cf(e);
|
|
6459
6473
|
}
|
|
6460
|
-
return
|
|
6474
|
+
return cf(e);
|
|
6461
6475
|
}
|
|
6462
|
-
default: return
|
|
6476
|
+
default: return cf(e);
|
|
6463
6477
|
}
|
|
6464
6478
|
}
|
|
6465
|
-
function
|
|
6479
|
+
function gf(e, t) {
|
|
6466
6480
|
for (; e !== null;) {
|
|
6467
|
-
let n =
|
|
6481
|
+
let n = Rd(e, t);
|
|
6468
6482
|
if (n) {
|
|
6469
|
-
if (n.get) return
|
|
6470
|
-
if (typeof n.value == "function") return
|
|
6483
|
+
if (n.get) return df(n.get);
|
|
6484
|
+
if (typeof n.value == "function") return df(n.value);
|
|
6471
6485
|
}
|
|
6472
|
-
e =
|
|
6486
|
+
e = Ld(e);
|
|
6473
6487
|
}
|
|
6474
6488
|
function n() {
|
|
6475
6489
|
return null;
|
|
6476
6490
|
}
|
|
6477
6491
|
return n;
|
|
6478
6492
|
}
|
|
6479
|
-
function
|
|
6493
|
+
function _f(e) {
|
|
6480
6494
|
try {
|
|
6481
|
-
return
|
|
6495
|
+
return lf(e, ""), !0;
|
|
6482
6496
|
} catch {
|
|
6483
6497
|
return !1;
|
|
6484
6498
|
}
|
|
6485
6499
|
}
|
|
6486
|
-
var
|
|
6500
|
+
var vf = zd(/* @__PURE__ */ "a.abbr.acronym.address.area.article.aside.audio.b.bdi.bdo.big.blink.blockquote.body.br.button.canvas.caption.center.cite.code.col.colgroup.content.data.datalist.dd.decorator.del.details.dfn.dialog.dir.div.dl.dt.element.em.fieldset.figcaption.figure.font.footer.form.h1.h2.h3.h4.h5.h6.head.header.hgroup.hr.html.i.img.input.ins.kbd.label.legend.li.main.map.mark.marquee.menu.menuitem.meter.nav.nobr.ol.optgroup.option.output.p.picture.pre.progress.q.rp.rt.ruby.s.samp.search.section.select.shadow.slot.small.source.spacer.span.strike.strong.style.sub.summary.sup.table.tbody.td.template.textarea.tfoot.th.thead.time.tr.track.tt.u.ul.var.video.wbr".split(".")), yf = zd(/* @__PURE__ */ "svg.a.altglyph.altglyphdef.altglyphitem.animatecolor.animatemotion.animatetransform.circle.clippath.defs.desc.ellipse.enterkeyhint.exportparts.filter.font.g.glyph.glyphref.hkern.image.inputmode.line.lineargradient.marker.mask.metadata.mpath.part.path.pattern.polygon.polyline.radialgradient.rect.stop.style.switch.symbol.text.textpath.title.tref.tspan.view.vkern".split(".")), bf = zd([
|
|
6487
6501
|
"feBlend",
|
|
6488
6502
|
"feColorMatrix",
|
|
6489
6503
|
"feComponentTransfer",
|
|
@@ -6509,7 +6523,7 @@ var _f = Rd(/* @__PURE__ */ "a.abbr.acronym.address.area.article.aside.audio.b.b
|
|
|
6509
6523
|
"feSpotLight",
|
|
6510
6524
|
"feTile",
|
|
6511
6525
|
"feTurbulence"
|
|
6512
|
-
]),
|
|
6526
|
+
]), xf = zd([
|
|
6513
6527
|
"animate",
|
|
6514
6528
|
"color-profile",
|
|
6515
6529
|
"cursor",
|
|
@@ -6532,7 +6546,7 @@ var _f = Rd(/* @__PURE__ */ "a.abbr.acronym.address.area.article.aside.audio.b.b
|
|
|
6532
6546
|
"solidcolor",
|
|
6533
6547
|
"unknown",
|
|
6534
6548
|
"use"
|
|
6535
|
-
]),
|
|
6549
|
+
]), Sf = zd(/* @__PURE__ */ "math.menclose.merror.mfenced.mfrac.mglyph.mi.mlabeledtr.mmultiscripts.mn.mo.mover.mpadded.mphantom.mroot.mrow.ms.mspace.msqrt.mstyle.msub.msup.msubsup.mtable.mtd.mtext.mtr.munder.munderover.mprescripts".split(".")), Cf = zd([
|
|
6536
6550
|
"maction",
|
|
6537
6551
|
"maligngroup",
|
|
6538
6552
|
"malignmark",
|
|
@@ -6548,33 +6562,33 @@ var _f = Rd(/* @__PURE__ */ "a.abbr.acronym.address.area.article.aside.audio.b.b
|
|
|
6548
6562
|
"annotation-xml",
|
|
6549
6563
|
"mprescripts",
|
|
6550
6564
|
"none"
|
|
6551
|
-
]),
|
|
6565
|
+
]), wf = zd(["#text"]), Tf = zd(/* @__PURE__ */ "accept.action.align.alt.autocapitalize.autocomplete.autopictureinpicture.autoplay.background.bgcolor.border.capture.cellpadding.cellspacing.checked.cite.class.clear.color.cols.colspan.controls.controlslist.coords.crossorigin.datetime.decoding.default.dir.disabled.disablepictureinpicture.disableremoteplayback.download.draggable.enctype.enterkeyhint.exportparts.face.for.headers.height.hidden.high.href.hreflang.id.inert.inputmode.integrity.ismap.kind.label.lang.list.loading.loop.low.max.maxlength.media.method.min.minlength.multiple.muted.name.nonce.noshade.novalidate.nowrap.open.optimum.part.pattern.placeholder.playsinline.popover.popovertarget.popovertargetaction.poster.preload.pubdate.radiogroup.readonly.rel.required.rev.reversed.role.rows.rowspan.spellcheck.scope.selected.shape.size.sizes.slot.span.srclang.start.src.srcset.step.style.summary.tabindex.title.translate.type.usemap.valign.value.width.wrap.xmlns".split(".")), Ef = zd(/* @__PURE__ */ "accent-height.accumulate.additive.alignment-baseline.amplitude.ascent.attributename.attributetype.azimuth.basefrequency.baseline-shift.begin.bias.by.class.clip.clippathunits.clip-path.clip-rule.color.color-interpolation.color-interpolation-filters.color-profile.color-rendering.cx.cy.d.dx.dy.diffuseconstant.direction.display.divisor.dur.edgemode.elevation.end.exponent.fill.fill-opacity.fill-rule.filter.filterunits.flood-color.flood-opacity.font-family.font-size.font-size-adjust.font-stretch.font-style.font-variant.font-weight.fx.fy.g1.g2.glyph-name.glyphref.gradientunits.gradienttransform.height.href.id.image-rendering.in.in2.intercept.k.k1.k2.k3.k4.kerning.keypoints.keysplines.keytimes.lang.lengthadjust.letter-spacing.kernelmatrix.kernelunitlength.lighting-color.local.marker-end.marker-mid.marker-start.markerheight.markerunits.markerwidth.maskcontentunits.maskunits.max.mask.mask-type.media.method.mode.min.name.numoctaves.offset.operator.opacity.order.orient.orientation.origin.overflow.paint-order.path.pathlength.patterncontentunits.patterntransform.patternunits.points.preservealpha.preserveaspectratio.primitiveunits.r.rx.ry.radius.refx.refy.repeatcount.repeatdur.restart.result.rotate.scale.seed.shape-rendering.slope.specularconstant.specularexponent.spreadmethod.startoffset.stddeviation.stitchtiles.stop-color.stop-opacity.stroke-dasharray.stroke-dashoffset.stroke-linecap.stroke-linejoin.stroke-miterlimit.stroke-opacity.stroke.stroke-width.style.surfacescale.systemlanguage.tabindex.tablevalues.targetx.targety.transform.transform-origin.text-anchor.text-decoration.text-rendering.textlength.type.u1.u2.unicode.values.viewbox.visibility.version.vert-adv-y.vert-origin-x.vert-origin-y.width.word-spacing.wrap.writing-mode.xchannelselector.ychannelselector.x.x1.x2.xmlns.y.y1.y2.z.zoomandpan".split(".")), Df = zd(/* @__PURE__ */ "accent.accentunder.align.bevelled.close.columnalign.columnlines.columnspacing.columnspan.denomalign.depth.dir.display.displaystyle.encoding.fence.frame.height.href.id.largeop.length.linethickness.lquote.lspace.mathbackground.mathcolor.mathsize.mathvariant.maxsize.minsize.movablelimits.notation.numalign.open.rowalign.rowlines.rowspacing.rowspan.rspace.rquote.scriptlevel.scriptminsize.scriptsizemultiplier.selection.separator.separators.stretchy.subscriptshift.supscriptshift.symmetric.voffset.width.xmlns".split(".")), Of = zd([
|
|
6552
6566
|
"xlink:href",
|
|
6553
6567
|
"xml:id",
|
|
6554
6568
|
"xlink:title",
|
|
6555
6569
|
"xml:space",
|
|
6556
6570
|
"xmlns:xlink"
|
|
6557
|
-
]),
|
|
6571
|
+
]), kf = Bd(/\{\{[\w\W]*|[\w\W]*\}\}/gm), Af = Bd(/<%[\w\W]*|[\w\W]*%>/gm), jf = Bd(/\$\{[\w\W]*/gm), Mf = Bd(/^data-[\-\w.\u00B7-\uFFFF]+$/), Nf = Bd(/^aria-[\-\w]+$/), Pf = Bd(/^(?:(?:(?:f|ht)tps?|mailto|tel|callto|sms|cid|xmpp|matrix):|[^a-z]|[a-z+.\-]+(?:[^a-z+.\-:]|$))/i), Ff = Bd(/^(?:\w+script|data):/i), If = Bd(/[\u0000-\u0020\u00A0\u1680\u180E\u2000-\u2029\u205F\u3000]/g), Lf = Bd(/^html$/i), Rf = Bd(/^[a-z][.\w]*(-[.\w]+)+$/i), zf = /* @__PURE__ */ Object.freeze({
|
|
6558
6572
|
__proto__: null,
|
|
6559
|
-
ARIA_ATTR:
|
|
6560
|
-
ATTR_WHITESPACE:
|
|
6561
|
-
CUSTOM_ELEMENT:
|
|
6562
|
-
DATA_ATTR:
|
|
6563
|
-
DOCTYPE_NAME:
|
|
6564
|
-
ERB_EXPR:
|
|
6565
|
-
IS_ALLOWED_URI:
|
|
6566
|
-
IS_SCRIPT_OR_DATA:
|
|
6567
|
-
MUSTACHE_EXPR:
|
|
6568
|
-
TMPLIT_EXPR:
|
|
6569
|
-
}),
|
|
6573
|
+
ARIA_ATTR: Nf,
|
|
6574
|
+
ATTR_WHITESPACE: If,
|
|
6575
|
+
CUSTOM_ELEMENT: Rf,
|
|
6576
|
+
DATA_ATTR: Mf,
|
|
6577
|
+
DOCTYPE_NAME: Lf,
|
|
6578
|
+
ERB_EXPR: Af,
|
|
6579
|
+
IS_ALLOWED_URI: Pf,
|
|
6580
|
+
IS_SCRIPT_OR_DATA: Ff,
|
|
6581
|
+
MUSTACHE_EXPR: kf,
|
|
6582
|
+
TMPLIT_EXPR: jf
|
|
6583
|
+
}), Bf = {
|
|
6570
6584
|
element: 1,
|
|
6571
6585
|
text: 3,
|
|
6572
6586
|
progressingInstruction: 7,
|
|
6573
6587
|
comment: 8,
|
|
6574
6588
|
document: 9
|
|
6575
|
-
},
|
|
6589
|
+
}, Vf = function() {
|
|
6576
6590
|
return typeof window > "u" ? null : window;
|
|
6577
|
-
},
|
|
6591
|
+
}, Hf = function(e, t) {
|
|
6578
6592
|
if (typeof e != "object" || typeof e.createPolicy != "function") return null;
|
|
6579
6593
|
let n = null, r = "data-tt-policy-suffix";
|
|
6580
6594
|
t && t.hasAttribute(r) && (n = t.getAttribute(r));
|
|
@@ -6591,7 +6605,7 @@ var _f = Rd(/* @__PURE__ */ "a.abbr.acronym.address.area.article.aside.audio.b.b
|
|
|
6591
6605
|
} catch {
|
|
6592
6606
|
return console.warn("TrustedTypes policy " + i + " could not be created."), null;
|
|
6593
6607
|
}
|
|
6594
|
-
},
|
|
6608
|
+
}, Uf = function() {
|
|
6595
6609
|
return {
|
|
6596
6610
|
afterSanitizeAttributes: [],
|
|
6597
6611
|
afterSanitizeElements: [],
|
|
@@ -6604,28 +6618,28 @@ var _f = Rd(/* @__PURE__ */ "a.abbr.acronym.address.area.article.aside.audio.b.b
|
|
|
6604
6618
|
uponSanitizeShadowNode: []
|
|
6605
6619
|
};
|
|
6606
6620
|
};
|
|
6607
|
-
function
|
|
6608
|
-
let e = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] :
|
|
6609
|
-
if (t.version = "3.4.1", t.removed = [], !e || !e.document || e.document.nodeType !==
|
|
6610
|
-
let { document: n } = e, r = n, i = r.currentScript, { DocumentFragment: a, HTMLTemplateElement: o, Node: s, Element: c, NodeFilter: l, NamedNodeMap: u = e.NamedNodeMap || e.MozNamedAttrMap, HTMLFormElement: d, DOMParser: f, trustedTypes: p } = e, m = c.prototype, h =
|
|
6621
|
+
function Wf() {
|
|
6622
|
+
let e = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : Vf(), t = (e) => Wf(e);
|
|
6623
|
+
if (t.version = "3.4.1", t.removed = [], !e || !e.document || e.document.nodeType !== Bf.document || !e.Element) return t.isSupported = !1, t;
|
|
6624
|
+
let { document: n } = e, r = n, i = r.currentScript, { DocumentFragment: a, HTMLTemplateElement: o, Node: s, Element: c, NodeFilter: l, NamedNodeMap: u = e.NamedNodeMap || e.MozNamedAttrMap, HTMLFormElement: d, DOMParser: f, trustedTypes: p } = e, m = c.prototype, h = gf(m, "cloneNode"), g = gf(m, "remove"), _ = gf(m, "nextSibling"), v = gf(m, "childNodes"), y = gf(m, "parentNode");
|
|
6611
6625
|
if (typeof o == "function") {
|
|
6612
6626
|
let e = n.createElement("template");
|
|
6613
6627
|
e.content && e.content.ownerDocument && (n = e.content.ownerDocument);
|
|
6614
6628
|
}
|
|
6615
|
-
let b, x = "", { implementation: S, createNodeIterator: C, createDocumentFragment: w, getElementsByTagName: T } = n, { importNode: E } = r, D =
|
|
6616
|
-
t.isSupported = typeof
|
|
6617
|
-
let { MUSTACHE_EXPR: O, ERB_EXPR: k, TMPLIT_EXPR: A, DATA_ATTR: j, ARIA_ATTR: M, IS_SCRIPT_OR_DATA: N, ATTR_WHITESPACE: P, CUSTOM_ELEMENT: F } =
|
|
6618
|
-
..._f,
|
|
6629
|
+
let b, x = "", { implementation: S, createNodeIterator: C, createDocumentFragment: w, getElementsByTagName: T } = n, { importNode: E } = r, D = Uf();
|
|
6630
|
+
t.isSupported = typeof Pd == "function" && typeof y == "function" && S && S.createHTMLDocument !== void 0;
|
|
6631
|
+
let { MUSTACHE_EXPR: O, ERB_EXPR: k, TMPLIT_EXPR: A, DATA_ATTR: j, ARIA_ATTR: M, IS_SCRIPT_OR_DATA: N, ATTR_WHITESPACE: P, CUSTOM_ELEMENT: F } = zf, { IS_ALLOWED_URI: I } = zf, L = null, R = $({}, [
|
|
6619
6632
|
...vf,
|
|
6620
6633
|
...yf,
|
|
6621
|
-
...
|
|
6622
|
-
...
|
|
6634
|
+
...bf,
|
|
6635
|
+
...Sf,
|
|
6636
|
+
...wf
|
|
6623
6637
|
]), z = null, ee = $({}, [
|
|
6624
|
-
...wf,
|
|
6625
6638
|
...Tf,
|
|
6626
6639
|
...Ef,
|
|
6627
|
-
...Df
|
|
6628
|
-
|
|
6640
|
+
...Df,
|
|
6641
|
+
...Of
|
|
6642
|
+
]), B = Object.seal(Vd(null, {
|
|
6629
6643
|
tagNameCheck: {
|
|
6630
6644
|
writable: !0,
|
|
6631
6645
|
configurable: !1,
|
|
@@ -6644,7 +6658,7 @@ function Uf() {
|
|
|
6644
6658
|
enumerable: !0,
|
|
6645
6659
|
value: !1
|
|
6646
6660
|
}
|
|
6647
|
-
})), V = null, te = null, ne = Object.seal(
|
|
6661
|
+
})), V = null, te = null, ne = Object.seal(Vd(null, {
|
|
6648
6662
|
tagCheck: {
|
|
6649
6663
|
writable: !0,
|
|
6650
6664
|
configurable: !1,
|
|
@@ -6709,7 +6723,7 @@ function Uf() {
|
|
|
6709
6723
|
Se,
|
|
6710
6724
|
q,
|
|
6711
6725
|
Ce
|
|
6712
|
-
],
|
|
6726
|
+
], Zd), Oe = $({}, [
|
|
6713
6727
|
"mi",
|
|
6714
6728
|
"mo",
|
|
6715
6729
|
"mn",
|
|
@@ -6726,38 +6740,38 @@ function Uf() {
|
|
|
6726
6740
|
}, Ie = function() {
|
|
6727
6741
|
let e = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : {};
|
|
6728
6742
|
if (Ne && Ne === e) return;
|
|
6729
|
-
(!e || typeof e != "object") && (e = {}), e =
|
|
6743
|
+
(!e || typeof e != "object") && (e = {}), e = mf(e), je = Me.indexOf(e.PARSER_MEDIA_TYPE) === -1 ? "text/html" : e.PARSER_MEDIA_TYPE, J = je === "application/xhtml+xml" ? Zd : Xd, L = sf(e, "ALLOWED_TAGS") && Yd(e.ALLOWED_TAGS) ? $({}, e.ALLOWED_TAGS, J) : R, z = sf(e, "ALLOWED_ATTR") && Yd(e.ALLOWED_ATTR) ? $({}, e.ALLOWED_ATTR, J) : ee, Ee = sf(e, "ALLOWED_NAMESPACES") && Yd(e.ALLOWED_NAMESPACES) ? $({}, e.ALLOWED_NAMESPACES, Zd) : De, be = sf(e, "ADD_URI_SAFE_ATTR") && Yd(e.ADD_URI_SAFE_ATTR) ? $(mf(xe), e.ADD_URI_SAFE_ATTR, J) : xe, ye = sf(e, "ADD_DATA_URI_TAGS") && Yd(e.ADD_DATA_URI_TAGS) ? $(mf(K), e.ADD_DATA_URI_TAGS, J) : K, _e = sf(e, "FORBID_CONTENTS") && Yd(e.FORBID_CONTENTS) ? $({}, e.FORBID_CONTENTS, J) : ve, V = sf(e, "FORBID_TAGS") && Yd(e.FORBID_TAGS) ? $({}, e.FORBID_TAGS, J) : mf({}), te = sf(e, "FORBID_ATTR") && Yd(e.FORBID_ATTR) ? $({}, e.FORBID_ATTR, J) : mf({}), ge = sf(e, "USE_PROFILES") ? e.USE_PROFILES && typeof e.USE_PROFILES == "object" ? mf(e.USE_PROFILES) : e.USE_PROFILES : !1, H = e.ALLOW_ARIA_ATTR !== !1, re = e.ALLOW_DATA_ATTR !== !1, ie = e.ALLOW_UNKNOWN_PROTOCOLS || !1, ae = e.ALLOW_SELF_CLOSE_IN_ATTR !== !1, oe = e.SAFE_FOR_TEMPLATES || !1, se = e.SAFE_FOR_XML !== !1, U = e.WHOLE_DOCUMENT || !1, ue = e.RETURN_DOM || !1, de = e.RETURN_DOM_FRAGMENT || !1, fe = e.RETURN_TRUSTED_TYPE || !1, le = e.FORCE_BODY || !1, pe = e.SANITIZE_DOM !== !1, W = e.SANITIZE_NAMED_PROPS || !1, me = e.KEEP_CONTENT !== !1, he = e.IN_PLACE || !1, I = _f(e.ALLOWED_URI_REGEXP) ? e.ALLOWED_URI_REGEXP : Pf, we = typeof e.NAMESPACE == "string" ? e.NAMESPACE : Ce, Oe = sf(e, "MATHML_TEXT_INTEGRATION_POINTS") && e.MATHML_TEXT_INTEGRATION_POINTS && typeof e.MATHML_TEXT_INTEGRATION_POINTS == "object" ? mf(e.MATHML_TEXT_INTEGRATION_POINTS) : $({}, [
|
|
6730
6744
|
"mi",
|
|
6731
6745
|
"mo",
|
|
6732
6746
|
"mn",
|
|
6733
6747
|
"ms",
|
|
6734
6748
|
"mtext"
|
|
6735
|
-
]), ke =
|
|
6736
|
-
let t =
|
|
6737
|
-
if (B =
|
|
6749
|
+
]), ke = sf(e, "HTML_INTEGRATION_POINTS") && e.HTML_INTEGRATION_POINTS && typeof e.HTML_INTEGRATION_POINTS == "object" ? mf(e.HTML_INTEGRATION_POINTS) : $({}, ["annotation-xml"]);
|
|
6750
|
+
let t = sf(e, "CUSTOM_ELEMENT_HANDLING") && e.CUSTOM_ELEMENT_HANDLING && typeof e.CUSTOM_ELEMENT_HANDLING == "object" ? mf(e.CUSTOM_ELEMENT_HANDLING) : Vd(null);
|
|
6751
|
+
if (B = Vd(null), sf(t, "tagNameCheck") && Fe(t.tagNameCheck) && (B.tagNameCheck = t.tagNameCheck), sf(t, "attributeNameCheck") && Fe(t.attributeNameCheck) && (B.attributeNameCheck = t.attributeNameCheck), sf(t, "allowCustomizedBuiltInElements") && typeof t.allowCustomizedBuiltInElements == "boolean" && (B.allowCustomizedBuiltInElements = t.allowCustomizedBuiltInElements), oe && (re = !1), de && (ue = !0), ge && (L = $({}, wf), z = Vd(null), ge.html === !0 && ($(L, vf), $(z, Tf)), ge.svg === !0 && ($(L, yf), $(z, Ef), $(z, Of)), ge.svgFilters === !0 && ($(L, bf), $(z, Ef), $(z, Of)), ge.mathMl === !0 && ($(L, Sf), $(z, Df), $(z, Of))), ne.tagCheck = null, ne.attributeCheck = null, sf(e, "ADD_TAGS") && (typeof e.ADD_TAGS == "function" ? ne.tagCheck = e.ADD_TAGS : Yd(e.ADD_TAGS) && (L === R && (L = mf(L)), $(L, e.ADD_TAGS, J))), sf(e, "ADD_ATTR") && (typeof e.ADD_ATTR == "function" ? ne.attributeCheck = e.ADD_ATTR : Yd(e.ADD_ATTR) && (z === ee && (z = mf(z)), $(z, e.ADD_ATTR, J))), sf(e, "ADD_URI_SAFE_ATTR") && Yd(e.ADD_URI_SAFE_ATTR) && $(be, e.ADD_URI_SAFE_ATTR, J), sf(e, "FORBID_CONTENTS") && Yd(e.FORBID_CONTENTS) && (_e === ve && (_e = mf(_e)), $(_e, e.FORBID_CONTENTS, J)), sf(e, "ADD_FORBID_CONTENTS") && Yd(e.ADD_FORBID_CONTENTS) && (_e === ve && (_e = mf(_e)), $(_e, e.ADD_FORBID_CONTENTS, J)), me && (L["#text"] = !0), U && $(L, [
|
|
6738
6752
|
"html",
|
|
6739
6753
|
"head",
|
|
6740
6754
|
"body"
|
|
6741
6755
|
]), L.table && ($(L, ["tbody"]), delete V.tbody), e.TRUSTED_TYPES_POLICY) {
|
|
6742
|
-
if (typeof e.TRUSTED_TYPES_POLICY.createHTML != "function") throw
|
|
6743
|
-
if (typeof e.TRUSTED_TYPES_POLICY.createScriptURL != "function") throw
|
|
6756
|
+
if (typeof e.TRUSTED_TYPES_POLICY.createHTML != "function") throw uf("TRUSTED_TYPES_POLICY configuration option must provide a \"createHTML\" hook.");
|
|
6757
|
+
if (typeof e.TRUSTED_TYPES_POLICY.createScriptURL != "function") throw uf("TRUSTED_TYPES_POLICY configuration option must provide a \"createScriptURL\" hook.");
|
|
6744
6758
|
b = e.TRUSTED_TYPES_POLICY, x = b.createHTML("");
|
|
6745
|
-
} else b === void 0 && (b =
|
|
6746
|
-
|
|
6759
|
+
} else b === void 0 && (b = Hf(p, i)), b !== null && typeof x == "string" && (x = b.createHTML(""));
|
|
6760
|
+
zd && zd(e), Ne = e;
|
|
6747
6761
|
}, Le = $({}, [
|
|
6748
|
-
...vf,
|
|
6749
6762
|
...yf,
|
|
6750
|
-
...bf
|
|
6751
|
-
|
|
6763
|
+
...bf,
|
|
6764
|
+
...xf
|
|
6765
|
+
]), Re = $({}, [...Sf, ...Cf]), ze = function(e) {
|
|
6752
6766
|
let t = y(e);
|
|
6753
6767
|
(!t || !t.tagName) && (t = {
|
|
6754
6768
|
namespaceURI: we,
|
|
6755
6769
|
tagName: "template"
|
|
6756
6770
|
});
|
|
6757
|
-
let n =
|
|
6771
|
+
let n = Xd(e.tagName), r = Xd(t.tagName);
|
|
6758
6772
|
return Ee[e.namespaceURI] ? e.namespaceURI === q ? t.namespaceURI === Ce ? n === "svg" : t.namespaceURI === Se ? n === "svg" && (r === "annotation-xml" || Oe[r]) : !!Le[n] : e.namespaceURI === Se ? t.namespaceURI === Ce ? n === "math" : t.namespaceURI === q ? n === "math" && ke[r] : !!Re[n] : e.namespaceURI === Ce ? t.namespaceURI === q && !ke[r] || t.namespaceURI === Se && !Oe[r] ? !1 : !Re[n] && (Ae[n] || !Le[n]) : !!(je === "application/xhtml+xml" && Ee[e.namespaceURI]) : !1;
|
|
6759
6773
|
}, Be = function(e) {
|
|
6760
|
-
|
|
6774
|
+
qd(t.removed, { element: e });
|
|
6761
6775
|
try {
|
|
6762
6776
|
y(e).removeChild(e);
|
|
6763
6777
|
} catch {
|
|
@@ -6765,12 +6779,12 @@ function Uf() {
|
|
|
6765
6779
|
}
|
|
6766
6780
|
}, Ve = function(e, n) {
|
|
6767
6781
|
try {
|
|
6768
|
-
|
|
6782
|
+
qd(t.removed, {
|
|
6769
6783
|
attribute: n.getAttributeNode(e),
|
|
6770
6784
|
from: n
|
|
6771
6785
|
});
|
|
6772
6786
|
} catch {
|
|
6773
|
-
|
|
6787
|
+
qd(t.removed, {
|
|
6774
6788
|
attribute: null,
|
|
6775
6789
|
from: n
|
|
6776
6790
|
});
|
|
@@ -6785,7 +6799,7 @@ function Uf() {
|
|
|
6785
6799
|
let t = null, r = null;
|
|
6786
6800
|
if (le) e = "<remove></remove>" + e;
|
|
6787
6801
|
else {
|
|
6788
|
-
let t =
|
|
6802
|
+
let t = Qd(e, /^[\r\n\t ]+/);
|
|
6789
6803
|
r = t && t[0];
|
|
6790
6804
|
}
|
|
6791
6805
|
je === "application/xhtml+xml" && we === Ce && (e = "<html xmlns=\"http://www.w3.org/1999/xhtml\"><head></head><body>" + e + "</body></html>");
|
|
@@ -6809,7 +6823,7 @@ function Uf() {
|
|
|
6809
6823
|
return typeof s == "function" && e instanceof s;
|
|
6810
6824
|
};
|
|
6811
6825
|
function Ke(e, n, r) {
|
|
6812
|
-
|
|
6826
|
+
Wd(e, (e) => {
|
|
6813
6827
|
e.call(t, n, r, Ne);
|
|
6814
6828
|
});
|
|
6815
6829
|
}
|
|
@@ -6820,9 +6834,9 @@ function Uf() {
|
|
|
6820
6834
|
if (Ke(D.uponSanitizeElement, e, {
|
|
6821
6835
|
tagName: r,
|
|
6822
6836
|
allowedTags: L
|
|
6823
|
-
}), se && e.hasChildNodes() && !Ge(e.firstElementChild) &&
|
|
6837
|
+
}), se && e.hasChildNodes() && !Ge(e.firstElementChild) && lf(/<[/\w!]/g, e.innerHTML) && lf(/<[/\w!]/g, e.textContent) || se && e.namespaceURI === Ce && r === "style" && Ge(e.firstElementChild) || e.nodeType === Bf.progressingInstruction || se && e.nodeType === Bf.comment && lf(/<[/\w]/g, e.data)) return Be(e), !0;
|
|
6824
6838
|
if (V[r] || !(ne.tagCheck instanceof Function && ne.tagCheck(r)) && !L[r]) {
|
|
6825
|
-
if (!V[r] && Xe(r) && (B.tagNameCheck instanceof RegExp &&
|
|
6839
|
+
if (!V[r] && Xe(r) && (B.tagNameCheck instanceof RegExp && lf(B.tagNameCheck, r) || B.tagNameCheck instanceof Function && B.tagNameCheck(r))) return !1;
|
|
6826
6840
|
if (me && !_e[r]) {
|
|
6827
6841
|
let t = y(e) || e.parentNode, n = v(e) || e.childNodes;
|
|
6828
6842
|
if (n && t) {
|
|
@@ -6835,19 +6849,19 @@ function Uf() {
|
|
|
6835
6849
|
}
|
|
6836
6850
|
return Be(e), !0;
|
|
6837
6851
|
}
|
|
6838
|
-
return e instanceof c && !ze(e) || (r === "noscript" || r === "noembed" || r === "noframes") &&
|
|
6852
|
+
return e instanceof c && !ze(e) || (r === "noscript" || r === "noembed" || r === "noframes") && lf(/<\/no(script|embed|frames)/i, e.innerHTML) ? (Be(e), !0) : (oe && e.nodeType === Bf.text && (n = e.textContent, Wd([
|
|
6839
6853
|
O,
|
|
6840
6854
|
k,
|
|
6841
6855
|
A
|
|
6842
6856
|
], (e) => {
|
|
6843
|
-
n =
|
|
6844
|
-
}), e.textContent !== n && (
|
|
6857
|
+
n = $d(n, e, " ");
|
|
6858
|
+
}), e.textContent !== n && (qd(t.removed, { element: e.cloneNode() }), e.textContent = n)), Ke(D.afterSanitizeElements, e, null), !1);
|
|
6845
6859
|
}, Je = function(e, t, r) {
|
|
6846
6860
|
if (te[t] || pe && (t === "id" || t === "name") && (r in n || r in Pe)) return !1;
|
|
6847
|
-
if (!(re && !te[t] &&
|
|
6861
|
+
if (!(re && !te[t] && lf(j, t)) && !(H && lf(M, t)) && !(ne.attributeCheck instanceof Function && ne.attributeCheck(t, e))) {
|
|
6848
6862
|
if (!z[t] || te[t]) {
|
|
6849
|
-
if (!(Xe(e) && (B.tagNameCheck instanceof RegExp &&
|
|
6850
|
-
} else if (!be[t] && !
|
|
6863
|
+
if (!(Xe(e) && (B.tagNameCheck instanceof RegExp && lf(B.tagNameCheck, e) || B.tagNameCheck instanceof Function && B.tagNameCheck(e)) && (B.attributeNameCheck instanceof RegExp && lf(B.attributeNameCheck, t) || B.attributeNameCheck instanceof Function && B.attributeNameCheck(t, e)) || t === "is" && B.allowCustomizedBuiltInElements && (B.tagNameCheck instanceof RegExp && lf(B.tagNameCheck, r) || B.tagNameCheck instanceof Function && B.tagNameCheck(r)))) return !1;
|
|
6864
|
+
} else if (!be[t] && !lf(I, $d(r, P, "")) && !((t === "src" || t === "xlink:href" || t === "href") && e !== "script" && ef(r, "data:") === 0 && ye[e]) && !(ie && !lf(N, $d(r, P, ""))) && r) return !1;
|
|
6851
6865
|
}
|
|
6852
6866
|
return !0;
|
|
6853
6867
|
}, Ye = $({}, [
|
|
@@ -6860,7 +6874,7 @@ function Uf() {
|
|
|
6860
6874
|
"font-face-uri",
|
|
6861
6875
|
"missing-glyph"
|
|
6862
6876
|
]), Xe = function(e) {
|
|
6863
|
-
return !Ye[
|
|
6877
|
+
return !Ye[Xd(e)] && lf(F, e);
|
|
6864
6878
|
}, Ze = function(e) {
|
|
6865
6879
|
Ke(D.beforeSanitizeAttributes, e, null);
|
|
6866
6880
|
let { attributes: n } = e;
|
|
@@ -6873,12 +6887,12 @@ function Uf() {
|
|
|
6873
6887
|
forceKeepAttr: void 0
|
|
6874
6888
|
}, i = n.length;
|
|
6875
6889
|
for (; i--;) {
|
|
6876
|
-
let { name: a, namespaceURI: o, value: s } = n[i], c = J(a), l = s, u = a === "value" ? l :
|
|
6877
|
-
if (r.attrName = c, r.attrValue = u, r.keepAttr = !0, r.forceKeepAttr = void 0, Ke(D.uponSanitizeAttribute, e, r), u = r.attrValue, W && (c === "id" || c === "name") &&
|
|
6890
|
+
let { name: a, namespaceURI: o, value: s } = n[i], c = J(a), l = s, u = a === "value" ? l : tf(l);
|
|
6891
|
+
if (r.attrName = c, r.attrValue = u, r.keepAttr = !0, r.forceKeepAttr = void 0, Ke(D.uponSanitizeAttribute, e, r), u = r.attrValue, W && (c === "id" || c === "name") && ef(u, G) !== 0 && (Ve(a, e), u = G + u), se && lf(/((--!?|])>)|<\/(style|script|title|xmp|textarea|noscript|iframe|noembed|noframes)/i, u)) {
|
|
6878
6892
|
Ve(a, e);
|
|
6879
6893
|
continue;
|
|
6880
6894
|
}
|
|
6881
|
-
if (c === "attributename" &&
|
|
6895
|
+
if (c === "attributename" && Qd(u, "href")) {
|
|
6882
6896
|
Ve(a, e);
|
|
6883
6897
|
continue;
|
|
6884
6898
|
}
|
|
@@ -6887,16 +6901,16 @@ function Uf() {
|
|
|
6887
6901
|
Ve(a, e);
|
|
6888
6902
|
continue;
|
|
6889
6903
|
}
|
|
6890
|
-
if (!ae &&
|
|
6904
|
+
if (!ae && lf(/\/>/i, u)) {
|
|
6891
6905
|
Ve(a, e);
|
|
6892
6906
|
continue;
|
|
6893
6907
|
}
|
|
6894
|
-
oe &&
|
|
6908
|
+
oe && Wd([
|
|
6895
6909
|
O,
|
|
6896
6910
|
k,
|
|
6897
6911
|
A
|
|
6898
6912
|
], (e) => {
|
|
6899
|
-
u =
|
|
6913
|
+
u = $d(u, e, " ");
|
|
6900
6914
|
});
|
|
6901
6915
|
let d = J(e.nodeName);
|
|
6902
6916
|
if (!Je(d, c, u)) {
|
|
@@ -6912,7 +6926,7 @@ function Uf() {
|
|
|
6912
6926
|
break;
|
|
6913
6927
|
}
|
|
6914
6928
|
if (u !== l) try {
|
|
6915
|
-
o ? e.setAttributeNS(o, a, u) : e.setAttribute(a, u), We(e) ? Be(e) :
|
|
6929
|
+
o ? e.setAttributeNS(o, a, u) : e.setAttribute(a, u), We(e) ? Be(e) : Kd(t.removed);
|
|
6916
6930
|
} catch {
|
|
6917
6931
|
Ve(a, e);
|
|
6918
6932
|
}
|
|
@@ -6925,15 +6939,15 @@ function Uf() {
|
|
|
6925
6939
|
};
|
|
6926
6940
|
return t.sanitize = function(e) {
|
|
6927
6941
|
let n = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : {}, i = null, o = null, c = null, l = null;
|
|
6928
|
-
if (Te = !e, Te && (e = "<!-->"), typeof e != "string" && !Ge(e) && (e =
|
|
6942
|
+
if (Te = !e, Te && (e = "<!-->"), typeof e != "string" && !Ge(e) && (e = hf(e), typeof e != "string")) throw uf("dirty is not a string, aborting");
|
|
6929
6943
|
if (!t.isSupported) return e;
|
|
6930
6944
|
if (ce || Ie(n), t.removed = [], typeof e == "string" && (he = !1), he) {
|
|
6931
6945
|
let t = e.nodeName;
|
|
6932
6946
|
if (typeof t == "string") {
|
|
6933
6947
|
let e = J(t);
|
|
6934
|
-
if (!L[e] || V[e]) throw
|
|
6948
|
+
if (!L[e] || V[e]) throw uf("root node is forbidden and cannot be sanitized in-place");
|
|
6935
6949
|
}
|
|
6936
|
-
} else if (e instanceof s) i = He("<!---->"), o = i.ownerDocument.importNode(e, !0), o.nodeType ===
|
|
6950
|
+
} else if (e instanceof s) i = He("<!---->"), o = i.ownerDocument.importNode(e, !0), o.nodeType === Bf.element && o.nodeName === "BODY" || o.nodeName === "HTML" ? i = o : i.appendChild(o);
|
|
6937
6951
|
else {
|
|
6938
6952
|
if (!ue && !oe && !U && e.indexOf("<") === -1) return b && fe ? b.createHTML(e) : e;
|
|
6939
6953
|
if (i = He(e), !i) return ue ? null : fe ? x : "";
|
|
@@ -6946,12 +6960,12 @@ function Uf() {
|
|
|
6946
6960
|
if (oe) {
|
|
6947
6961
|
i.normalize();
|
|
6948
6962
|
let e = i.innerHTML;
|
|
6949
|
-
|
|
6963
|
+
Wd([
|
|
6950
6964
|
O,
|
|
6951
6965
|
k,
|
|
6952
6966
|
A
|
|
6953
6967
|
], (t) => {
|
|
6954
|
-
e =
|
|
6968
|
+
e = $d(e, t, " ");
|
|
6955
6969
|
}), i.innerHTML = e;
|
|
6956
6970
|
}
|
|
6957
6971
|
if (de) for (l = w.call(i.ownerDocument); i.firstChild;) l.appendChild(i.firstChild);
|
|
@@ -6959,12 +6973,12 @@ function Uf() {
|
|
|
6959
6973
|
return (z.shadowroot || z.shadowrootmode) && (l = E.call(r, l, !0)), l;
|
|
6960
6974
|
}
|
|
6961
6975
|
let d = U ? i.outerHTML : i.innerHTML;
|
|
6962
|
-
return U && L["!doctype"] && i.ownerDocument && i.ownerDocument.doctype && i.ownerDocument.doctype.name &&
|
|
6976
|
+
return U && L["!doctype"] && i.ownerDocument && i.ownerDocument.doctype && i.ownerDocument.doctype.name && lf(Lf, i.ownerDocument.doctype.name) && (d = "<!DOCTYPE " + i.ownerDocument.doctype.name + ">\n" + d), oe && Wd([
|
|
6963
6977
|
O,
|
|
6964
6978
|
k,
|
|
6965
6979
|
A
|
|
6966
6980
|
], (e) => {
|
|
6967
|
-
d =
|
|
6981
|
+
d = $d(d, e, " ");
|
|
6968
6982
|
}), b && fe ? b.createHTML(d) : d;
|
|
6969
6983
|
}, t.setConfig = function() {
|
|
6970
6984
|
Ie(arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : {}), ce = !0;
|
|
@@ -6973,60 +6987,60 @@ function Uf() {
|
|
|
6973
6987
|
}, t.isValidAttribute = function(e, t, n) {
|
|
6974
6988
|
return Ne || Ie({}), Je(J(e), J(t), n);
|
|
6975
6989
|
}, t.addHook = function(e, t) {
|
|
6976
|
-
typeof t == "function" &&
|
|
6990
|
+
typeof t == "function" && qd(D[e], t);
|
|
6977
6991
|
}, t.removeHook = function(e, t) {
|
|
6978
6992
|
if (t !== void 0) {
|
|
6979
|
-
let n =
|
|
6980
|
-
return n === -1 ? void 0 :
|
|
6993
|
+
let n = Gd(D[e], t);
|
|
6994
|
+
return n === -1 ? void 0 : Jd(D[e], n, 1)[0];
|
|
6981
6995
|
}
|
|
6982
|
-
return
|
|
6996
|
+
return Kd(D[e]);
|
|
6983
6997
|
}, t.removeHooks = function(e) {
|
|
6984
6998
|
D[e] = [];
|
|
6985
6999
|
}, t.removeAllHooks = function() {
|
|
6986
|
-
D =
|
|
7000
|
+
D = Uf();
|
|
6987
7001
|
}, t;
|
|
6988
7002
|
}
|
|
6989
|
-
var
|
|
7003
|
+
var Gf = Wf(), Kf = 60 * 1e3, qf = 10, Jf = 2, Yf = {
|
|
6990
7004
|
minuteLookups: {},
|
|
6991
7005
|
demoDay: "",
|
|
6992
7006
|
demoLookups: {}
|
|
6993
7007
|
};
|
|
6994
|
-
function
|
|
7008
|
+
function Xf(e) {
|
|
6995
7009
|
return typeof e == "object" && !!e && !Array.isArray(e);
|
|
6996
7010
|
}
|
|
6997
|
-
function
|
|
6998
|
-
if (typeof window > "u") return { ...
|
|
7011
|
+
function Zf() {
|
|
7012
|
+
if (typeof window > "u") return { ...Yf };
|
|
6999
7013
|
try {
|
|
7000
7014
|
let e = window.sessionStorage.getItem(Lc);
|
|
7001
|
-
if (!e) return { ...
|
|
7015
|
+
if (!e) return { ...Yf };
|
|
7002
7016
|
let t = JSON.parse(e);
|
|
7003
7017
|
return {
|
|
7004
|
-
minuteLookups:
|
|
7018
|
+
minuteLookups: Xf(t.minuteLookups) ? { ...t.minuteLookups } : {},
|
|
7005
7019
|
demoDay: typeof t.demoDay == "string" ? t.demoDay : "",
|
|
7006
|
-
demoLookups:
|
|
7020
|
+
demoLookups: Xf(t.demoLookups) ? { ...t.demoLookups } : {}
|
|
7007
7021
|
};
|
|
7008
7022
|
} catch {
|
|
7009
|
-
return { ...
|
|
7023
|
+
return { ...Yf };
|
|
7010
7024
|
}
|
|
7011
7025
|
}
|
|
7012
|
-
function
|
|
7013
|
-
if (
|
|
7026
|
+
function Qf(e) {
|
|
7027
|
+
if (Yf = e, !(typeof window > "u")) try {
|
|
7014
7028
|
window.sessionStorage.setItem(Lc, JSON.stringify(e));
|
|
7015
7029
|
} catch {}
|
|
7016
7030
|
}
|
|
7017
|
-
function
|
|
7031
|
+
function $f(e, t) {
|
|
7018
7032
|
let n = e.toUpperCase().trim(), r = t.toUpperCase().trim();
|
|
7019
7033
|
return !n || !r ? "" : `${n}|${r}`;
|
|
7020
7034
|
}
|
|
7021
|
-
function
|
|
7022
|
-
let r =
|
|
7035
|
+
function ep({ plate: e, vehicleState: t, demoMode: n }) {
|
|
7036
|
+
let r = $f(e, t);
|
|
7023
7037
|
if (!r) return { allowed: !0 };
|
|
7024
|
-
let i = Date.now(), a = i -
|
|
7038
|
+
let i = Date.now(), a = i - Kf, o = Zf();
|
|
7025
7039
|
Object.entries(o.minuteLookups).forEach(([e, t]) => {
|
|
7026
7040
|
(typeof t != "number" || t < a) && delete o.minuteLookups[e];
|
|
7027
7041
|
});
|
|
7028
7042
|
let s = Object.prototype.hasOwnProperty.call(o.minuteLookups, r);
|
|
7029
|
-
if (!s && Object.keys(o.minuteLookups).length >=
|
|
7043
|
+
if (!s && Object.keys(o.minuteLookups).length >= qf) return Qf(o), {
|
|
7030
7044
|
allowed: !1,
|
|
7031
7045
|
message: "Too many unique plate searches. Please wait a minute before trying new plates."
|
|
7032
7046
|
};
|
|
@@ -7034,17 +7048,17 @@ function $f({ plate: e, vehicleState: t, demoMode: n }) {
|
|
|
7034
7048
|
let e = (/* @__PURE__ */ new Date()).toISOString().slice(0, 10);
|
|
7035
7049
|
o.demoDay !== e && (o.demoDay = e, o.demoLookups = {});
|
|
7036
7050
|
let t = Object.prototype.hasOwnProperty.call(o.demoLookups, r);
|
|
7037
|
-
if (!t && Object.keys(o.demoLookups).length >=
|
|
7051
|
+
if (!t && Object.keys(o.demoLookups).length >= Jf) return Qf(o), {
|
|
7038
7052
|
allowed: !1,
|
|
7039
7053
|
message: "Demo mode allows up to 2 unique plate searches per day in this browser session."
|
|
7040
7054
|
};
|
|
7041
7055
|
t || (o.demoLookups[r] = i);
|
|
7042
7056
|
}
|
|
7043
|
-
return s || (o.minuteLookups[r] = i),
|
|
7057
|
+
return s || (o.minuteLookups[r] = i), Qf(o), { allowed: !0 };
|
|
7044
7058
|
}
|
|
7045
7059
|
//#endregion
|
|
7046
7060
|
//#region src/components/ui/input.tsx
|
|
7047
|
-
var
|
|
7061
|
+
var tp = e.forwardRef(function({ className: e, type: t, ...n }, r) {
|
|
7048
7062
|
return /* @__PURE__ */ h("input", {
|
|
7049
7063
|
ref: r,
|
|
7050
7064
|
type: t,
|
|
@@ -7052,29 +7066,29 @@ var ep = e.forwardRef(function({ className: e, type: t, ...n }, r) {
|
|
|
7052
7066
|
className: Q("h-8 w-full min-w-0 rounded-lg border border-input bg-transparent px-2.5 py-1 text-base transition-colors outline-none file:inline-flex file:h-6 file:border-0 file:bg-transparent file:text-sm file:font-medium file:text-foreground placeholder:text-muted-foreground focus-visible:border-ring focus-visible:ring-3 focus-visible:ring-ring/50 disabled:pointer-events-none disabled:cursor-not-allowed disabled:bg-input/50 disabled:opacity-50 aria-invalid:border-destructive aria-invalid:ring-3 aria-invalid:ring-destructive/20 md:text-sm dark:bg-input/30 dark:disabled:bg-input/80 dark:aria-invalid:border-destructive/50 dark:aria-invalid:ring-destructive/40", e),
|
|
7053
7067
|
...n
|
|
7054
7068
|
});
|
|
7055
|
-
}),
|
|
7069
|
+
}), np = Kl("group/alert relative grid w-full gap-0.5 rounded-lg border px-2.5 py-2 text-left text-sm has-data-[slot=alert-action]:relative has-data-[slot=alert-action]:pr-18 has-[>svg]:grid-cols-[auto_1fr] has-[>svg]:gap-x-2 *:[svg]:row-span-2 *:[svg]:translate-y-0.5 *:[svg]:text-current *:[svg:not([class*='size-'])]:size-4", {
|
|
7056
7070
|
variants: { variant: {
|
|
7057
7071
|
default: "bg-card text-card-foreground",
|
|
7058
7072
|
destructive: "bg-card text-destructive *:data-[slot=alert-description]:text-destructive/90 *:[svg]:text-current"
|
|
7059
7073
|
} },
|
|
7060
7074
|
defaultVariants: { variant: "default" }
|
|
7061
7075
|
});
|
|
7062
|
-
function
|
|
7076
|
+
function rp({ className: e, variant: t, ...n }) {
|
|
7063
7077
|
return /* @__PURE__ */ h("div", {
|
|
7064
7078
|
"data-slot": "alert",
|
|
7065
7079
|
role: "alert",
|
|
7066
|
-
className: Q(
|
|
7080
|
+
className: Q(np({ variant: t }), e),
|
|
7067
7081
|
...n
|
|
7068
7082
|
});
|
|
7069
7083
|
}
|
|
7070
|
-
function
|
|
7084
|
+
function ip({ className: e, ...t }) {
|
|
7071
7085
|
return /* @__PURE__ */ h("div", {
|
|
7072
7086
|
"data-slot": "alert-title",
|
|
7073
7087
|
className: Q("font-medium group-has-[>svg]/alert:col-start-2 [&_a]:underline [&_a]:underline-offset-3 [&_a]:hover:text-foreground", e),
|
|
7074
7088
|
...t
|
|
7075
7089
|
});
|
|
7076
7090
|
}
|
|
7077
|
-
function
|
|
7091
|
+
function ap({ className: e, ...t }) {
|
|
7078
7092
|
return /* @__PURE__ */ h("div", {
|
|
7079
7093
|
"data-slot": "alert-description",
|
|
7080
7094
|
className: Q("text-sm text-balance text-muted-foreground md:text-pretty [&_a]:underline [&_a]:underline-offset-3 [&_a]:hover:text-foreground [&_p:not(:last-child)]:mb-4", e),
|
|
@@ -7083,7 +7097,7 @@ function ip({ className: e, ...t }) {
|
|
|
7083
7097
|
}
|
|
7084
7098
|
//#endregion
|
|
7085
7099
|
//#region src/components/ui/scroll-area.tsx
|
|
7086
|
-
var
|
|
7100
|
+
var op = e.forwardRef(function({ className: e, children: t, ...n }, r) {
|
|
7087
7101
|
return /* @__PURE__ */ g(ms, {
|
|
7088
7102
|
ref: r,
|
|
7089
7103
|
"data-slot": "scroll-area",
|
|
@@ -7095,11 +7109,11 @@ var ap = e.forwardRef(function({ className: e, children: t, ...n }, r) {
|
|
|
7095
7109
|
className: "size-full rounded-[inherit] transition-[color,box-shadow] outline-none focus-visible:ring-[3px] focus-visible:ring-ring/50 focus-visible:outline-1",
|
|
7096
7110
|
children: t
|
|
7097
7111
|
}),
|
|
7098
|
-
/* @__PURE__ */ h(
|
|
7112
|
+
/* @__PURE__ */ h(sp, {}),
|
|
7099
7113
|
/* @__PURE__ */ h(gs, {})
|
|
7100
7114
|
]
|
|
7101
7115
|
});
|
|
7102
|
-
}),
|
|
7116
|
+
}), sp = e.forwardRef(function({ className: e, orientation: t = "vertical", ...n }, r) {
|
|
7103
7117
|
return /* @__PURE__ */ h(Ho, {
|
|
7104
7118
|
ref: r,
|
|
7105
7119
|
"data-slot": "scroll-area-scrollbar",
|
|
@@ -7115,7 +7129,7 @@ var ap = e.forwardRef(function({ className: e, children: t, ...n }, r) {
|
|
|
7115
7129
|
});
|
|
7116
7130
|
//#endregion
|
|
7117
7131
|
//#region src/components/ui/spinner.tsx
|
|
7118
|
-
function
|
|
7132
|
+
function cp({ className: e, ...t }) {
|
|
7119
7133
|
return /* @__PURE__ */ h(Dc, {
|
|
7120
7134
|
role: "status",
|
|
7121
7135
|
"aria-label": "Loading",
|
|
@@ -7125,7 +7139,7 @@ function sp({ className: e, ...t }) {
|
|
|
7125
7139
|
}
|
|
7126
7140
|
//#endregion
|
|
7127
7141
|
//#region src/components/ui/toggle-variants.ts
|
|
7128
|
-
var
|
|
7142
|
+
var lp = Kl("group/toggle inline-flex items-center justify-center gap-1 rounded-lg text-sm font-medium whitespace-nowrap transition-all outline-none hover:bg-muted hover:text-foreground focus-visible:border-ring focus-visible:ring-[3px] focus-visible:ring-ring/50 disabled:pointer-events-none disabled:opacity-50 aria-invalid:border-destructive aria-invalid:ring-destructive/20 aria-pressed:bg-muted data-[state=on]:bg-muted dark:aria-invalid:ring-destructive/40 [&_svg]:pointer-events-none [&_svg]:shrink-0 [&_svg:not([class*='size-'])]:size-4", {
|
|
7129
7143
|
variants: {
|
|
7130
7144
|
variant: {
|
|
7131
7145
|
default: "bg-transparent",
|
|
@@ -7141,13 +7155,13 @@ var cp = Gl("group/toggle inline-flex items-center justify-center gap-1 rounded-
|
|
|
7141
7155
|
variant: "default",
|
|
7142
7156
|
size: "default"
|
|
7143
7157
|
}
|
|
7144
|
-
}),
|
|
7158
|
+
}), up = e.createContext({
|
|
7145
7159
|
size: "default",
|
|
7146
7160
|
variant: "default",
|
|
7147
7161
|
spacing: 0,
|
|
7148
7162
|
orientation: "horizontal"
|
|
7149
7163
|
});
|
|
7150
|
-
function
|
|
7164
|
+
function dp({ className: e, variant: t, size: n, spacing: r = 0, orientation: i = "horizontal", children: a, ...o }) {
|
|
7151
7165
|
return /* @__PURE__ */ h(ac, {
|
|
7152
7166
|
"data-slot": "toggle-group",
|
|
7153
7167
|
"data-variant": t,
|
|
@@ -7159,7 +7173,7 @@ function up({ className: e, variant: t, size: n, spacing: r = 0, orientation: i
|
|
|
7159
7173
|
style: { "--gap": r },
|
|
7160
7174
|
className: Q("group/toggle-group flex w-fit flex-row items-center gap-[--spacing(var(--gap))] rounded-lg data-[size=sm]:rounded-[min(var(--radius-md),10px)] data-vertical:flex-col data-vertical:items-stretch", e),
|
|
7161
7175
|
...o,
|
|
7162
|
-
children: /* @__PURE__ */ h(
|
|
7176
|
+
children: /* @__PURE__ */ h(up.Provider, {
|
|
7163
7177
|
value: {
|
|
7164
7178
|
variant: t,
|
|
7165
7179
|
size: n,
|
|
@@ -7170,14 +7184,14 @@ function up({ className: e, variant: t, size: n, spacing: r = 0, orientation: i
|
|
|
7170
7184
|
})
|
|
7171
7185
|
});
|
|
7172
7186
|
}
|
|
7173
|
-
function
|
|
7174
|
-
let o = e.useContext(
|
|
7187
|
+
function fp({ className: t, children: n, variant: r = "default", size: i = "default", ...a }) {
|
|
7188
|
+
let o = e.useContext(up);
|
|
7175
7189
|
return /* @__PURE__ */ h(oc, {
|
|
7176
7190
|
"data-slot": "toggle-group-item",
|
|
7177
7191
|
"data-variant": o.variant || r,
|
|
7178
7192
|
"data-size": o.size || i,
|
|
7179
7193
|
"data-spacing": o.spacing,
|
|
7180
|
-
className: Q("shrink-0 group-data-[spacing=0]/toggle-group:rounded-none group-data-[spacing=0]/toggle-group:px-2 focus:z-10 focus-visible:z-10 group-data-[spacing=0]/toggle-group:has-data-[icon=inline-end]:pr-1.5 group-data-[spacing=0]/toggle-group:has-data-[icon=inline-start]:pl-1.5 group-data-horizontal/toggle-group:data-[spacing=0]:first:rounded-l-lg group-data-vertical/toggle-group:data-[spacing=0]:first:rounded-t-lg group-data-horizontal/toggle-group:data-[spacing=0]:last:rounded-r-lg group-data-vertical/toggle-group:data-[spacing=0]:last:rounded-b-lg group-data-horizontal/toggle-group:data-[spacing=0]:data-[variant=outline]:border-l-0 group-data-vertical/toggle-group:data-[spacing=0]:data-[variant=outline]:border-t-0 group-data-horizontal/toggle-group:data-[spacing=0]:data-[variant=outline]:first:border-l group-data-vertical/toggle-group:data-[spacing=0]:data-[variant=outline]:first:border-t",
|
|
7194
|
+
className: Q("shrink-0 group-data-[spacing=0]/toggle-group:rounded-none group-data-[spacing=0]/toggle-group:px-2 focus:z-10 focus-visible:z-10 group-data-[spacing=0]/toggle-group:has-data-[icon=inline-end]:pr-1.5 group-data-[spacing=0]/toggle-group:has-data-[icon=inline-start]:pl-1.5 group-data-horizontal/toggle-group:data-[spacing=0]:first:rounded-l-lg group-data-vertical/toggle-group:data-[spacing=0]:first:rounded-t-lg group-data-horizontal/toggle-group:data-[spacing=0]:last:rounded-r-lg group-data-vertical/toggle-group:data-[spacing=0]:last:rounded-b-lg group-data-horizontal/toggle-group:data-[spacing=0]:data-[variant=outline]:border-l-0 group-data-vertical/toggle-group:data-[spacing=0]:data-[variant=outline]:border-t-0 group-data-horizontal/toggle-group:data-[spacing=0]:data-[variant=outline]:first:border-l group-data-vertical/toggle-group:data-[spacing=0]:data-[variant=outline]:first:border-t", lp({
|
|
7181
7195
|
variant: o.variant || r,
|
|
7182
7196
|
size: o.size || i
|
|
7183
7197
|
}), t),
|
|
@@ -7187,12 +7201,12 @@ function dp({ className: t, children: n, variant: r = "default", size: i = "defa
|
|
|
7187
7201
|
}
|
|
7188
7202
|
//#endregion
|
|
7189
7203
|
//#region src/components/vehicle-garage/PlateSearchTab.tsx
|
|
7190
|
-
var
|
|
7191
|
-
function
|
|
7204
|
+
var pp = 60, mp = 75, hp = 24, gp = 8;
|
|
7205
|
+
function _p(e) {
|
|
7192
7206
|
let t = Number.parseFloat(e);
|
|
7193
7207
|
return Number.isFinite(t) ? t : 0;
|
|
7194
7208
|
}
|
|
7195
|
-
function
|
|
7209
|
+
function vp(e, t, n) {
|
|
7196
7210
|
let r = t.trim(), i = e.ownerDocument, a = i.defaultView;
|
|
7197
7211
|
if (!r || !a || !i.body) return n;
|
|
7198
7212
|
if (r.endsWith("px")) {
|
|
@@ -7204,7 +7218,7 @@ function _p(e, t, n) {
|
|
|
7204
7218
|
let s = Number.parseFloat(a.getComputedStyle(o).fontSize);
|
|
7205
7219
|
return o.remove(), Number.isFinite(s) && s > 0 ? s : n;
|
|
7206
7220
|
}
|
|
7207
|
-
function
|
|
7221
|
+
function yp(e, t, n) {
|
|
7208
7222
|
let r = e.ownerDocument, i = r.defaultView;
|
|
7209
7223
|
if (!i || !r.body) return 0;
|
|
7210
7224
|
let a = i.getComputedStyle(e), o = a.getPropertyValue("--vehicle-garage-plate-input-letter-spacing").trim() || "1.5px", s = r.createElement("span");
|
|
@@ -7212,17 +7226,17 @@ function vp(e, t, n) {
|
|
|
7212
7226
|
let c = s.getBoundingClientRect().width;
|
|
7213
7227
|
return s.remove(), c;
|
|
7214
7228
|
}
|
|
7215
|
-
function yp(e, t) {
|
|
7216
|
-
let n = e.ownerDocument.defaultView, r = typeof n?.matchMedia == "function" && n.matchMedia("(min-width: 768px)").matches, i = r ? "--vehicle-garage-plate-input-font-size-md" : "--vehicle-garage-plate-input-font-size", a = r ? pp : fp;
|
|
7217
|
-
return _p(e, t.getPropertyValue(i), a);
|
|
7218
|
-
}
|
|
7219
7229
|
function bp(e, t) {
|
|
7230
|
+
let n = e.ownerDocument.defaultView, r = typeof n?.matchMedia == "function" && n.matchMedia("(min-width: 768px)").matches, i = r ? "--vehicle-garage-plate-input-font-size-md" : "--vehicle-garage-plate-input-font-size", a = r ? mp : pp;
|
|
7231
|
+
return vp(e, t.getPropertyValue(i), a);
|
|
7232
|
+
}
|
|
7233
|
+
function xp(e, t) {
|
|
7220
7234
|
let n = e.ownerDocument.defaultView;
|
|
7221
|
-
if (!n) return
|
|
7222
|
-
let r = n.getComputedStyle(e), i =
|
|
7235
|
+
if (!n) return pp;
|
|
7236
|
+
let r = n.getComputedStyle(e), i = bp(e, r), a = vp(e, r.getPropertyValue("--vehicle-garage-plate-input-min-font-size"), hp), o = Math.max(0, e.clientWidth - _p(r.paddingLeft) - _p(r.paddingRight) - gp), s = yp(e, t.toUpperCase(), i);
|
|
7223
7237
|
return o <= 0 || s <= o ? i : Math.max(a, Math.floor(o / s * i * 100) / 100);
|
|
7224
7238
|
}
|
|
7225
|
-
function
|
|
7239
|
+
function Sp(e) {
|
|
7226
7240
|
let t = [
|
|
7227
7241
|
"series",
|
|
7228
7242
|
"variant",
|
|
@@ -7235,7 +7249,7 @@ function xp(e) {
|
|
|
7235
7249
|
];
|
|
7236
7250
|
return Object.entries(e).filter(([e, n]) => n != null && n !== "" && t.includes(e) && typeof n != "object").map(([e, t]) => e === "cylinders" ? `${t}cyl` : String(t)).join(" ");
|
|
7237
7251
|
}
|
|
7238
|
-
function
|
|
7252
|
+
function Cp(e) {
|
|
7239
7253
|
if (typeof window > "u") return;
|
|
7240
7254
|
let t = !1, n = () => {
|
|
7241
7255
|
t || e();
|
|
@@ -7244,18 +7258,18 @@ function Sp(e) {
|
|
|
7244
7258
|
t = !0;
|
|
7245
7259
|
};
|
|
7246
7260
|
}
|
|
7247
|
-
function
|
|
7261
|
+
function wp(e) {
|
|
7248
7262
|
return e.replace(/_/g, " ").replace(/\b\w/g, (e) => e.toUpperCase());
|
|
7249
7263
|
}
|
|
7250
|
-
function
|
|
7264
|
+
function Tp(e) {
|
|
7251
7265
|
return e == null || e === "" || typeof e == "object" ? "Not specified" : String(e);
|
|
7252
7266
|
}
|
|
7253
|
-
function
|
|
7267
|
+
function Ep({ apiKey: e, geocodeApiKey: t, drawerOpen: n, placeholder: r = "PL8SRCH", intro: i = "Enter your Number Plate and select your State or Territory to find your vehicle.", supportMessage: o, useGeolocation: s, demoMode: d, productsUrl: f, actionButtonLabel: p = "Show Products", autoCloseOnSelect: m = !0, activeVehicle: _, onVehicleSelected: v }) {
|
|
7254
7268
|
let y = l(null), [b, x] = u(""), [S, C] = u(""), [w, T] = u(null), [E, D] = u(null), [O, k] = u(!1), [A, j] = u(Rc), [M, N] = u(!1), [P, F] = u(null);
|
|
7255
|
-
a(() =>
|
|
7269
|
+
a(() => Cp(() => {
|
|
7256
7270
|
let e = gl();
|
|
7257
7271
|
e && D(e);
|
|
7258
|
-
}), []), a(() =>
|
|
7272
|
+
}), []), a(() => Cp(() => {
|
|
7259
7273
|
let e = yl();
|
|
7260
7274
|
if (!e) return;
|
|
7261
7275
|
e.plate?.number ? x(String(e.plate.number).toUpperCase()) : xl();
|
|
@@ -7275,7 +7289,7 @@ function Tp({ apiKey: e, geocodeApiKey: t, drawerOpen: n, placeholder: r = "PL8S
|
|
|
7275
7289
|
return document.addEventListener("partbot-clear-vehicle", e), () => {
|
|
7276
7290
|
document.removeEventListener("partbot-clear-vehicle", e);
|
|
7277
7291
|
};
|
|
7278
|
-
}, []), a(() =>
|
|
7292
|
+
}, []), a(() => Cp(() => {
|
|
7279
7293
|
if (_?.source !== "plate" || !_.plate) {
|
|
7280
7294
|
_?.source === "mmy" && D(null);
|
|
7281
7295
|
return;
|
|
@@ -7296,7 +7310,7 @@ function Tp({ apiKey: e, geocodeApiKey: t, drawerOpen: n, placeholder: r = "PL8S
|
|
|
7296
7310
|
if (!e || !t) return;
|
|
7297
7311
|
let n = b || r, i = 0, a = 0, o = null, s = () => {
|
|
7298
7312
|
t.cancelAnimationFrame(i), i = t.requestAnimationFrame(() => {
|
|
7299
|
-
let t =
|
|
7313
|
+
let t = xp(e, n);
|
|
7300
7314
|
F((e) => e !== null && Math.abs(e - t) < .25 ? e : t);
|
|
7301
7315
|
});
|
|
7302
7316
|
};
|
|
@@ -7311,7 +7325,7 @@ function Tp({ apiKey: e, geocodeApiKey: t, drawerOpen: n, placeholder: r = "PL8S
|
|
|
7311
7325
|
]);
|
|
7312
7326
|
let I = c(() => P === null ? void 0 : { "--vehicle-garage-plate-input-fit-font-size": `${P}px` }, [P]);
|
|
7313
7327
|
a(() => {
|
|
7314
|
-
if (!(!n || !s || !t || M || S)) return
|
|
7328
|
+
if (!(!n || !s || !t || M || S)) return Cp(() => {
|
|
7315
7329
|
if (!("geolocation" in navigator)) {
|
|
7316
7330
|
N(!0);
|
|
7317
7331
|
return;
|
|
@@ -7338,7 +7352,7 @@ function Tp({ apiKey: e, geocodeApiKey: t, drawerOpen: n, placeholder: r = "PL8S
|
|
|
7338
7352
|
let L = c(() => _?.source !== "plate" || !_.plate ? null : `${_.plate.state} ${_.plate.number}`, [_]), R = w?.vehicles ?? [], z = w?.vehicle_breakdown ?? [], ee = w?.differing_attributes ?? [], B = ee.length > 0 && z.length > 0, V = R.length > 0 || B, te = w?.plate ? `${w.plate.state ?? S} ${w.plate.number}` : `${S} ${b}`, ne = !!(w?.plate && !w.error && !V), H = `${b} (${S})`;
|
|
7339
7353
|
async function re(t) {
|
|
7340
7354
|
if (!S || !b) return;
|
|
7341
|
-
let n =
|
|
7355
|
+
let n = ep({
|
|
7342
7356
|
plate: b,
|
|
7343
7357
|
vehicleState: S,
|
|
7344
7358
|
demoMode: d === !0 || d === "true"
|
|
@@ -7423,10 +7437,10 @@ function Tp({ apiKey: e, geocodeApiKey: t, drawerOpen: n, placeholder: r = "PL8S
|
|
|
7423
7437
|
window.open(`mailto:report@partbot.io?subject=Registration%20Search%20Issue&body=${encodeURIComponent(`Incorrect vehicles were shown for ${S} number plate: ${b}, vehicle: ${t}. Please provide details of the correct vehicle below:`)}`);
|
|
7424
7438
|
}
|
|
7425
7439
|
function se() {
|
|
7426
|
-
x(""), T(null), D(null), j(Rc), xl(), vl(),
|
|
7440
|
+
x(""), T(null), D(null), j(Rc), xl(), vl(), Ll();
|
|
7427
7441
|
}
|
|
7428
7442
|
function U() {
|
|
7429
|
-
f &&
|
|
7443
|
+
f && Vl(f);
|
|
7430
7444
|
}
|
|
7431
7445
|
function ce(e) {
|
|
7432
7446
|
e.preventDefault(), re(Rc);
|
|
@@ -7442,7 +7456,7 @@ function Tp({ apiKey: e, geocodeApiKey: t, drawerOpen: n, placeholder: r = "PL8S
|
|
|
7442
7456
|
htmlFor: "garage-selected-plate-number",
|
|
7443
7457
|
className: "sr-only",
|
|
7444
7458
|
children: "Number plate"
|
|
7445
|
-
}), /* @__PURE__ */ h(
|
|
7459
|
+
}), /* @__PURE__ */ h(tp, {
|
|
7446
7460
|
id: "garage-selected-plate-number",
|
|
7447
7461
|
ref: y,
|
|
7448
7462
|
value: b,
|
|
@@ -7458,13 +7472,13 @@ function Tp({ apiKey: e, geocodeApiKey: t, drawerOpen: n, placeholder: r = "PL8S
|
|
|
7458
7472
|
})]
|
|
7459
7473
|
}), /* @__PURE__ */ g("div", {
|
|
7460
7474
|
className: "flex w-full flex-col gap-3",
|
|
7461
|
-
children: [/* @__PURE__ */ h(
|
|
7475
|
+
children: [/* @__PURE__ */ h(_d, {
|
|
7462
7476
|
type: "button",
|
|
7463
7477
|
variant: "outline",
|
|
7464
7478
|
className: "w-full",
|
|
7465
7479
|
onClick: se,
|
|
7466
7480
|
children: "Clear Vehicle"
|
|
7467
|
-
}), f ? /* @__PURE__ */ g(
|
|
7481
|
+
}), f ? /* @__PURE__ */ g(_d, {
|
|
7468
7482
|
type: "button",
|
|
7469
7483
|
variant: "outline",
|
|
7470
7484
|
className: "w-full",
|
|
@@ -7483,30 +7497,30 @@ function Tp({ apiKey: e, geocodeApiKey: t, drawerOpen: n, placeholder: r = "PL8S
|
|
|
7483
7497
|
children: ["Results for ", H]
|
|
7484
7498
|
})
|
|
7485
7499
|
}),
|
|
7486
|
-
w.error ? /* @__PURE__ */ g(
|
|
7500
|
+
w.error ? /* @__PURE__ */ g(rp, { children: [
|
|
7487
7501
|
/* @__PURE__ */ h(Ac, {}),
|
|
7488
|
-
/* @__PURE__ */ h(
|
|
7489
|
-
/* @__PURE__ */ h(
|
|
7502
|
+
/* @__PURE__ */ h(ip, { children: "Plate lookup failed" }),
|
|
7503
|
+
/* @__PURE__ */ h(ap, { children: w.error })
|
|
7490
7504
|
] }) : null,
|
|
7491
7505
|
ne ? /* @__PURE__ */ g("div", {
|
|
7492
7506
|
className: "flex flex-col gap-3",
|
|
7493
|
-
children: [/* @__PURE__ */ g(
|
|
7507
|
+
children: [/* @__PURE__ */ g(rp, { children: [
|
|
7494
7508
|
/* @__PURE__ */ h(Ac, {}),
|
|
7495
|
-
/* @__PURE__ */ h(
|
|
7496
|
-
/* @__PURE__ */ g(
|
|
7509
|
+
/* @__PURE__ */ h(ip, { children: "No matching vehicle found" }),
|
|
7510
|
+
/* @__PURE__ */ g(ap, { children: [
|
|
7497
7511
|
"We could not find any matching vehicles for",
|
|
7498
7512
|
" ",
|
|
7499
7513
|
te,
|
|
7500
7514
|
"."
|
|
7501
7515
|
] })
|
|
7502
|
-
] }), A === "https://api.cartbot.io/v1/vehicles/plate-search-retry" ? null : /* @__PURE__ */ g(
|
|
7516
|
+
] }), A === "https://api.cartbot.io/v1/vehicles/plate-search-retry" ? null : /* @__PURE__ */ g(_d, {
|
|
7503
7517
|
type: "button",
|
|
7504
7518
|
variant: "outline",
|
|
7505
7519
|
onClick: ae,
|
|
7506
7520
|
children: [/* @__PURE__ */ h(Cc, { "data-icon": "inline-start" }), "Retry lookup"]
|
|
7507
7521
|
})]
|
|
7508
7522
|
}) : null,
|
|
7509
|
-
V ? /* @__PURE__ */ h(
|
|
7523
|
+
V ? /* @__PURE__ */ h(op, {
|
|
7510
7524
|
className: "min-h-0 flex-1 rounded-lg border",
|
|
7511
7525
|
children: /* @__PURE__ */ g("div", {
|
|
7512
7526
|
className: "flex flex-col",
|
|
@@ -7517,16 +7531,16 @@ function Tp({ apiKey: e, geocodeApiKey: t, drawerOpen: n, placeholder: r = "PL8S
|
|
|
7517
7531
|
children: [/* @__PURE__ */ h("div", {
|
|
7518
7532
|
className: "text-sm leading-snug font-medium",
|
|
7519
7533
|
children: e.description
|
|
7520
|
-
}),
|
|
7534
|
+
}), Sp(e.vehicle) ? /* @__PURE__ */ h("div", {
|
|
7521
7535
|
className: "text-xs text-muted-foreground",
|
|
7522
|
-
children:
|
|
7536
|
+
children: Sp(e.vehicle)
|
|
7523
7537
|
}) : null]
|
|
7524
|
-
}), /* @__PURE__ */ g(
|
|
7538
|
+
}), /* @__PURE__ */ g(_d, {
|
|
7525
7539
|
size: "sm",
|
|
7526
7540
|
onClick: () => ie(e),
|
|
7527
7541
|
children: [/* @__PURE__ */ h(wc, { "data-icon": "inline-start" }), "Use vehicle"]
|
|
7528
7542
|
})]
|
|
7529
|
-
}), t < R.length - 1 || B ? /* @__PURE__ */ h(
|
|
7543
|
+
}), t < R.length - 1 || B ? /* @__PURE__ */ h(Nd, {}) : null] }, `${e.description}-${t}`)), B ? /* @__PURE__ */ g("details", {
|
|
7530
7544
|
className: "group",
|
|
7531
7545
|
children: [
|
|
7532
7546
|
/* @__PURE__ */ g("summary", {
|
|
@@ -7536,7 +7550,7 @@ function Tp({ apiKey: e, geocodeApiKey: t, drawerOpen: n, placeholder: r = "PL8S
|
|
|
7536
7550
|
className: "transition-transform group-open:rotate-180"
|
|
7537
7551
|
})]
|
|
7538
7552
|
}),
|
|
7539
|
-
/* @__PURE__ */ h(
|
|
7553
|
+
/* @__PURE__ */ h(Nd, {}),
|
|
7540
7554
|
/* @__PURE__ */ h("div", {
|
|
7541
7555
|
className: "flex flex-col gap-3 p-4",
|
|
7542
7556
|
children: z.map((e, t) => /* @__PURE__ */ g("div", {
|
|
@@ -7548,13 +7562,13 @@ function Tp({ apiKey: e, geocodeApiKey: t, drawerOpen: n, placeholder: r = "PL8S
|
|
|
7548
7562
|
children: [
|
|
7549
7563
|
/* @__PURE__ */ g("span", {
|
|
7550
7564
|
className: "font-medium text-foreground",
|
|
7551
|
-
children: [
|
|
7565
|
+
children: [wp(t), ":"]
|
|
7552
7566
|
}),
|
|
7553
7567
|
" ",
|
|
7554
|
-
|
|
7568
|
+
Tp(e.vehicle[t])
|
|
7555
7569
|
]
|
|
7556
7570
|
}, t))
|
|
7557
|
-
}), /* @__PURE__ */ h(
|
|
7571
|
+
}), /* @__PURE__ */ h(_d, {
|
|
7558
7572
|
type: "button",
|
|
7559
7573
|
size: "sm",
|
|
7560
7574
|
onClick: () => ie(e),
|
|
@@ -7572,17 +7586,17 @@ function Tp({ apiKey: e, geocodeApiKey: t, drawerOpen: n, placeholder: r = "PL8S
|
|
|
7572
7586
|
}) : null,
|
|
7573
7587
|
o ? /* @__PURE__ */ h("div", {
|
|
7574
7588
|
className: "text-sm text-muted-foreground [&_a]:underline [&_a]:underline-offset-4",
|
|
7575
|
-
dangerouslySetInnerHTML: { __html:
|
|
7589
|
+
dangerouslySetInnerHTML: { __html: Gf.sanitize(o) }
|
|
7576
7590
|
}) : null,
|
|
7577
7591
|
/* @__PURE__ */ g("div", {
|
|
7578
7592
|
className: "flex items-center justify-between gap-3",
|
|
7579
|
-
children: [/* @__PURE__ */ h(
|
|
7593
|
+
children: [/* @__PURE__ */ h(_d, {
|
|
7580
7594
|
type: "button",
|
|
7581
7595
|
variant: "ghost",
|
|
7582
7596
|
size: "sm",
|
|
7583
7597
|
onClick: oe,
|
|
7584
7598
|
children: "Report incorrect search results"
|
|
7585
|
-
}), /* @__PURE__ */ g(
|
|
7599
|
+
}), /* @__PURE__ */ g(_d, {
|
|
7586
7600
|
type: "button",
|
|
7587
7601
|
variant: "ghost",
|
|
7588
7602
|
size: "sm",
|
|
@@ -7604,7 +7618,7 @@ function Tp({ apiKey: e, geocodeApiKey: t, drawerOpen: n, placeholder: r = "PL8S
|
|
|
7604
7618
|
className: "flex w-full flex-col gap-2",
|
|
7605
7619
|
children: i ? /* @__PURE__ */ h("div", {
|
|
7606
7620
|
className: "text-balance text-sm leading-relaxed text-muted-foreground [&_a]:underline [&_a]:underline-offset-4",
|
|
7607
|
-
dangerouslySetInnerHTML: { __html:
|
|
7621
|
+
dangerouslySetInnerHTML: { __html: Gf.sanitize(i) }
|
|
7608
7622
|
}) : null
|
|
7609
7623
|
}),
|
|
7610
7624
|
/* @__PURE__ */ g("div", {
|
|
@@ -7613,7 +7627,7 @@ function Tp({ apiKey: e, geocodeApiKey: t, drawerOpen: n, placeholder: r = "PL8S
|
|
|
7613
7627
|
htmlFor: "garage-plate-number",
|
|
7614
7628
|
className: "sr-only",
|
|
7615
7629
|
children: "Number plate"
|
|
7616
|
-
}), /* @__PURE__ */ h(
|
|
7630
|
+
}), /* @__PURE__ */ h(tp, {
|
|
7617
7631
|
id: "garage-plate-number",
|
|
7618
7632
|
ref: y,
|
|
7619
7633
|
value: b,
|
|
@@ -7634,7 +7648,7 @@ function Tp({ apiKey: e, geocodeApiKey: t, drawerOpen: n, placeholder: r = "PL8S
|
|
|
7634
7648
|
id: "garage-plate-state-label",
|
|
7635
7649
|
className: "sr-only",
|
|
7636
7650
|
children: "State"
|
|
7637
|
-
}), /* @__PURE__ */ h(
|
|
7651
|
+
}), /* @__PURE__ */ h(dp, {
|
|
7638
7652
|
type: "single",
|
|
7639
7653
|
variant: "outline",
|
|
7640
7654
|
size: "lg",
|
|
@@ -7645,7 +7659,7 @@ function Tp({ apiKey: e, geocodeApiKey: t, drawerOpen: n, placeholder: r = "PL8S
|
|
|
7645
7659
|
},
|
|
7646
7660
|
className: "w-full",
|
|
7647
7661
|
"aria-labelledby": "garage-plate-state-label",
|
|
7648
|
-
children: Vc.map((e) => /* @__PURE__ */ h(
|
|
7662
|
+
children: Vc.map((e) => /* @__PURE__ */ h(fp, {
|
|
7649
7663
|
value: e,
|
|
7650
7664
|
className: "h-11 flex-1 rounded-none border-border bg-background px-3 text-sm font-medium text-foreground/70 shadow-none transition-colors first:rounded-l-xl last:rounded-r-xl hover:bg-muted/50 hover:text-foreground data-[state=on]:bg-primary data-[state=on]:text-primary-foreground",
|
|
7651
7665
|
"aria-label": e,
|
|
@@ -7653,14 +7667,14 @@ function Tp({ apiKey: e, geocodeApiKey: t, drawerOpen: n, placeholder: r = "PL8S
|
|
|
7653
7667
|
}, e))
|
|
7654
7668
|
})]
|
|
7655
7669
|
}),
|
|
7656
|
-
/* @__PURE__ */ g(
|
|
7670
|
+
/* @__PURE__ */ g(_d, {
|
|
7657
7671
|
type: "submit",
|
|
7658
7672
|
className: "h-11 w-full",
|
|
7659
7673
|
disabled: !S || !b || O,
|
|
7660
7674
|
children: [
|
|
7661
7675
|
/* @__PURE__ */ h(Oc, { "data-icon": "inline-start" }),
|
|
7662
7676
|
"Find vehicle",
|
|
7663
|
-
O ? /* @__PURE__ */ h(
|
|
7677
|
+
O ? /* @__PURE__ */ h(cp, { className: "ml-2" }) : null
|
|
7664
7678
|
]
|
|
7665
7679
|
})
|
|
7666
7680
|
]
|
|
@@ -7670,7 +7684,7 @@ function Tp({ apiKey: e, geocodeApiKey: t, drawerOpen: n, placeholder: r = "PL8S
|
|
|
7670
7684
|
}
|
|
7671
7685
|
//#endregion
|
|
7672
7686
|
//#region node_modules/meilisearch/dist/esm/index.js
|
|
7673
|
-
var
|
|
7687
|
+
var Dp = {
|
|
7674
7688
|
INDEX_CREATION_FAILED: "index_creation_failed",
|
|
7675
7689
|
MISSING_INDEX_UID: "missing_index_uid",
|
|
7676
7690
|
INDEX_ALREADY_EXISTS: "index_already_exists",
|
|
@@ -7788,21 +7802,21 @@ var Ep = {
|
|
|
7788
7802
|
INVALID_FACET_SEARCH_FACET_QUERY: "invalid_facet_search_facet_query",
|
|
7789
7803
|
INVALID_SEARCH_RANKING_SCORE_THRESHOLD: "invalid_search_ranking_score_threshold",
|
|
7790
7804
|
INVALID_SIMILAR_RANKING_SCORE_THRESHOLD: "invalid_similar_ranking_score_threshold"
|
|
7791
|
-
},
|
|
7805
|
+
}, Op = class extends Error {
|
|
7792
7806
|
name = "MeiliSearchError";
|
|
7793
|
-
},
|
|
7807
|
+
}, kp = class extends Op {
|
|
7794
7808
|
name = "MeiliSearchApiError";
|
|
7795
7809
|
cause;
|
|
7796
7810
|
response;
|
|
7797
7811
|
constructor(e, t) {
|
|
7798
7812
|
super(t?.message ?? `${e.status}: ${e.statusText}`), this.response = e, t !== void 0 && (this.cause = t);
|
|
7799
7813
|
}
|
|
7800
|
-
},
|
|
7814
|
+
}, Ap = class extends Op {
|
|
7801
7815
|
name = "MeiliSearchRequestError";
|
|
7802
7816
|
constructor(e, t) {
|
|
7803
7817
|
super(`Request to ${e} has failed`, { cause: t });
|
|
7804
7818
|
}
|
|
7805
|
-
},
|
|
7819
|
+
}, jp = class extends Op {
|
|
7806
7820
|
name = "MeiliSearchRequestTimeOutError";
|
|
7807
7821
|
cause;
|
|
7808
7822
|
constructor(e, t) {
|
|
@@ -7811,7 +7825,7 @@ var Ep = {
|
|
|
7811
7825
|
requestInit: t
|
|
7812
7826
|
};
|
|
7813
7827
|
}
|
|
7814
|
-
},
|
|
7828
|
+
}, Mp = class extends Op {
|
|
7815
7829
|
name = "MeiliSearchTaskTimeOutError";
|
|
7816
7830
|
cause;
|
|
7817
7831
|
constructor(e, t) {
|
|
@@ -7820,26 +7834,26 @@ var Ep = {
|
|
|
7820
7834
|
timeout: t
|
|
7821
7835
|
};
|
|
7822
7836
|
}
|
|
7823
|
-
},
|
|
7824
|
-
function
|
|
7837
|
+
}, Np = { version: "0.53.0" };
|
|
7838
|
+
function Pp(e) {
|
|
7825
7839
|
return e.startsWith("https://") || e.startsWith("http://") ? e : `http://${e}`;
|
|
7826
7840
|
}
|
|
7827
|
-
function
|
|
7841
|
+
function Fp(e) {
|
|
7828
7842
|
return e.endsWith("/") || (e += "/"), e;
|
|
7829
7843
|
}
|
|
7830
|
-
function
|
|
7844
|
+
function Ip(e, t) {
|
|
7831
7845
|
for (let [n, r] of Object.entries(t)) r != null && e.set(n, Array.isArray(r) ? r.join() : r instanceof Date ? r.toISOString() : String(r));
|
|
7832
7846
|
}
|
|
7833
|
-
function
|
|
7834
|
-
let n = "X-Meilisearch-Client", r = `Meilisearch JavaScript (v${
|
|
7847
|
+
function Lp(e, t) {
|
|
7848
|
+
let n = "X-Meilisearch-Client", r = `Meilisearch JavaScript (v${Np.version})`, i = "Content-Type", a = "Authorization", o = new Headers(t);
|
|
7835
7849
|
if (e.apiKey && !o.has(a) && o.set(a, `Bearer ${e.apiKey}`), o.has(i) || o.set(i, "application/json"), e.clientAgents !== void 0) {
|
|
7836
7850
|
let t = e.clientAgents.concat(r);
|
|
7837
7851
|
o.set(n, t.join(" ; "));
|
|
7838
7852
|
} else o.set(n, r);
|
|
7839
7853
|
return o;
|
|
7840
7854
|
}
|
|
7841
|
-
var
|
|
7842
|
-
function
|
|
7855
|
+
var Rp = Symbol("<timeout>");
|
|
7856
|
+
function zp(e, t) {
|
|
7843
7857
|
let { signal: n } = e, r = new AbortController();
|
|
7844
7858
|
if (n != null) {
|
|
7845
7859
|
let e = null;
|
|
@@ -7850,7 +7864,7 @@ function Rp(e, t) {
|
|
|
7850
7864
|
}
|
|
7851
7865
|
return () => {
|
|
7852
7866
|
if (n.aborted) return;
|
|
7853
|
-
let i = setTimeout(() => r.abort(
|
|
7867
|
+
let i = setTimeout(() => r.abort(Rp), t), a = () => {
|
|
7854
7868
|
clearTimeout(i), e !== null && r.signal.removeEventListener("abort", e);
|
|
7855
7869
|
};
|
|
7856
7870
|
return n.addEventListener("abort", a, { once: !0 }), () => {
|
|
@@ -7859,25 +7873,25 @@ function Rp(e, t) {
|
|
|
7859
7873
|
};
|
|
7860
7874
|
}
|
|
7861
7875
|
return e.signal = r.signal, () => {
|
|
7862
|
-
let e = setTimeout(() => r.abort(
|
|
7876
|
+
let e = setTimeout(() => r.abort(Rp), t);
|
|
7863
7877
|
return () => clearTimeout(e);
|
|
7864
7878
|
};
|
|
7865
7879
|
}
|
|
7866
|
-
var
|
|
7880
|
+
var Bp = class {
|
|
7867
7881
|
#e;
|
|
7868
7882
|
#t;
|
|
7869
7883
|
#n;
|
|
7870
7884
|
#r;
|
|
7871
7885
|
constructor(e) {
|
|
7872
|
-
let t = Pp(
|
|
7886
|
+
let t = Fp(Pp(e.host));
|
|
7873
7887
|
try {
|
|
7874
7888
|
this.#e = new URL(t);
|
|
7875
7889
|
} catch (e) {
|
|
7876
|
-
throw new
|
|
7890
|
+
throw new Op("The provided host is not valid", { cause: e });
|
|
7877
7891
|
}
|
|
7878
7892
|
this.#t = {
|
|
7879
7893
|
...e.requestInit,
|
|
7880
|
-
headers:
|
|
7894
|
+
headers: Lp(e, e.requestInit?.headers)
|
|
7881
7895
|
}, this.#n = e.httpClient, this.#r = e.timeout;
|
|
7882
7896
|
}
|
|
7883
7897
|
#i(e, t) {
|
|
@@ -7889,7 +7903,7 @@ var zp = class {
|
|
|
7889
7903
|
}
|
|
7890
7904
|
#a({ path: e, method: t, params: n, contentType: r, body: i, extraRequestInit: a }) {
|
|
7891
7905
|
let o = new URL(e, this.#e);
|
|
7892
|
-
return n !== void 0 &&
|
|
7906
|
+
return n !== void 0 && Ip(o.searchParams, n), {
|
|
7893
7907
|
url: o,
|
|
7894
7908
|
init: {
|
|
7895
7909
|
method: t,
|
|
@@ -7901,17 +7915,17 @@ var zp = class {
|
|
|
7901
7915
|
};
|
|
7902
7916
|
}
|
|
7903
7917
|
async #o(e) {
|
|
7904
|
-
let { url: t, init: n } = this.#a(e), r = (this.#r === void 0 ? null :
|
|
7918
|
+
let { url: t, init: n } = this.#a(e), r = (this.#r === void 0 ? null : zp(n, this.#r))?.(), i, a;
|
|
7905
7919
|
try {
|
|
7906
7920
|
if (this.#n !== void 0) return await this.#n(t, n);
|
|
7907
7921
|
i = await fetch(t, n), a = await i.text();
|
|
7908
7922
|
} catch (e) {
|
|
7909
|
-
throw new
|
|
7923
|
+
throw new Ap(t.toString(), Object.is(e, Rp) ? new jp(this.#r, n) : e);
|
|
7910
7924
|
} finally {
|
|
7911
7925
|
r?.();
|
|
7912
7926
|
}
|
|
7913
7927
|
let o = a === "" ? void 0 : JSON.parse(a);
|
|
7914
|
-
if (!i.ok) throw new
|
|
7928
|
+
if (!i.ok) throw new kp(i, o);
|
|
7915
7929
|
return o;
|
|
7916
7930
|
}
|
|
7917
7931
|
get(e) {
|
|
@@ -7948,41 +7962,41 @@ var zp = class {
|
|
|
7948
7962
|
});
|
|
7949
7963
|
}
|
|
7950
7964
|
async #s(e) {
|
|
7951
|
-
let { url: t, init: n } = this.#a(e), r = (this.#r === void 0 ? null :
|
|
7965
|
+
let { url: t, init: n } = this.#a(e), r = (this.#r === void 0 ? null : zp(n, this.#r))?.(), i;
|
|
7952
7966
|
try {
|
|
7953
7967
|
if (this.#n !== void 0) {
|
|
7954
7968
|
let e = await this.#n(t, n);
|
|
7955
|
-
if (!(e instanceof ReadableStream)) throw new
|
|
7969
|
+
if (!(e instanceof ReadableStream)) throw new Op("Custom HTTP client must return a ReadableStream for streaming requests");
|
|
7956
7970
|
return e;
|
|
7957
7971
|
}
|
|
7958
7972
|
i = await fetch(t, n);
|
|
7959
7973
|
} catch (e) {
|
|
7960
|
-
throw new
|
|
7974
|
+
throw new Ap(t.toString(), Object.is(e, Rp) ? new jp(this.#r, n) : e);
|
|
7961
7975
|
} finally {
|
|
7962
7976
|
r?.();
|
|
7963
7977
|
}
|
|
7964
7978
|
if (!i.ok) {
|
|
7965
7979
|
let e = await i.text(), t = e === "" ? void 0 : JSON.parse(e);
|
|
7966
|
-
throw new
|
|
7980
|
+
throw new kp(i, t);
|
|
7967
7981
|
}
|
|
7968
|
-
if (!i.body) throw new
|
|
7982
|
+
if (!i.body) throw new Op("Response body is null - server did not return a readable stream");
|
|
7969
7983
|
return i.body;
|
|
7970
7984
|
}
|
|
7971
|
-
},
|
|
7972
|
-
function
|
|
7985
|
+
}, Vp = Symbol("<task timeout>");
|
|
7986
|
+
function Hp(e) {
|
|
7973
7987
|
return function(t) {
|
|
7974
7988
|
return Object.defineProperty(t, "waitTask", { async value(n) {
|
|
7975
7989
|
return await e.waitForTask(await t, n);
|
|
7976
7990
|
} });
|
|
7977
7991
|
};
|
|
7978
7992
|
}
|
|
7979
|
-
var
|
|
7993
|
+
var Up = (e) => typeof e == "number" ? e : e.taskUid, Wp = class {
|
|
7980
7994
|
#e;
|
|
7981
7995
|
#t;
|
|
7982
7996
|
#n;
|
|
7983
7997
|
#r;
|
|
7984
7998
|
constructor(e, t) {
|
|
7985
|
-
this.#e = e, this.#t = t?.timeout ?? 5e3, this.#n = t?.interval ?? 50, this.#r =
|
|
7999
|
+
this.#e = e, this.#t = t?.timeout ?? 5e3, this.#n = t?.interval ?? 50, this.#r = Hp(this);
|
|
7986
8000
|
}
|
|
7987
8001
|
async getTask(e, t) {
|
|
7988
8002
|
return await this.#e.get({
|
|
@@ -7997,7 +8011,7 @@ var Hp = (e) => typeof e == "number" ? e : e.taskUid, Up = class {
|
|
|
7997
8011
|
});
|
|
7998
8012
|
}
|
|
7999
8013
|
async waitForTask(e, t) {
|
|
8000
|
-
let n =
|
|
8014
|
+
let n = Up(e), r = t?.timeout ?? this.#t, i = t?.interval ?? this.#n, a = r > 0 ? new AbortController() : null, o = a === null ? void 0 : setTimeout(() => void a.abort(Vp), r);
|
|
8001
8015
|
try {
|
|
8002
8016
|
for (;;) {
|
|
8003
8017
|
let e = await this.getTask(n, { signal: a?.signal });
|
|
@@ -8005,7 +8019,7 @@ var Hp = (e) => typeof e == "number" ? e : e.taskUid, Up = class {
|
|
|
8005
8019
|
i > 0 && await new Promise((e) => setTimeout(e, i));
|
|
8006
8020
|
}
|
|
8007
8021
|
} catch (e) {
|
|
8008
|
-
throw Object.is(e.cause,
|
|
8022
|
+
throw Object.is(e.cause, Vp) ? new Mp(n, r) : e;
|
|
8009
8023
|
}
|
|
8010
8024
|
}
|
|
8011
8025
|
async *waitForTasksIter(e, t) {
|
|
@@ -8029,8 +8043,8 @@ var Hp = (e) => typeof e == "number" ? e : e.taskUid, Up = class {
|
|
|
8029
8043
|
}));
|
|
8030
8044
|
}
|
|
8031
8045
|
};
|
|
8032
|
-
function
|
|
8033
|
-
let n =
|
|
8046
|
+
function Gp(e, t) {
|
|
8047
|
+
let n = Hp(t);
|
|
8034
8048
|
return {
|
|
8035
8049
|
post: (...t) => n(e.post(...t)),
|
|
8036
8050
|
put: (...t) => n(e.put(...t)),
|
|
@@ -8038,7 +8052,7 @@ function Wp(e, t) {
|
|
|
8038
8052
|
delete: (...t) => n(e.delete(...t))
|
|
8039
8053
|
};
|
|
8040
8054
|
}
|
|
8041
|
-
var
|
|
8055
|
+
var Kp = class {
|
|
8042
8056
|
uid;
|
|
8043
8057
|
primaryKey;
|
|
8044
8058
|
createdAt;
|
|
@@ -8047,7 +8061,7 @@ var Gp = class {
|
|
|
8047
8061
|
tasks;
|
|
8048
8062
|
#e;
|
|
8049
8063
|
constructor(e, t, n) {
|
|
8050
|
-
this.uid = t, this.primaryKey = n, this.httpRequest = new
|
|
8064
|
+
this.uid = t, this.primaryKey = n, this.httpRequest = new Bp(e), this.tasks = new Wp(this.httpRequest, e.defaultWaitOptions), this.#e = Gp(this.httpRequest, this.tasks);
|
|
8051
8065
|
}
|
|
8052
8066
|
async search(e, t, n) {
|
|
8053
8067
|
return await this.httpRequest.post({
|
|
@@ -8062,7 +8076,7 @@ var Gp = class {
|
|
|
8062
8076
|
async searchGet(e, t, n) {
|
|
8063
8077
|
let r = (e) => {
|
|
8064
8078
|
if (typeof e == "string") return e;
|
|
8065
|
-
if (Array.isArray(e)) throw new
|
|
8079
|
+
if (Array.isArray(e)) throw new Op("The filter query parameter should be in string format when using searchGet");
|
|
8066
8080
|
}, i = {
|
|
8067
8081
|
q: e,
|
|
8068
8082
|
...t,
|
|
@@ -8105,8 +8119,8 @@ var Gp = class {
|
|
|
8105
8119
|
return this.primaryKey = (await this.getRawInfo()).primaryKey, this.primaryKey;
|
|
8106
8120
|
}
|
|
8107
8121
|
static create(e, t = {}, n) {
|
|
8108
|
-
let r = new
|
|
8109
|
-
return
|
|
8122
|
+
let r = new Bp(n);
|
|
8123
|
+
return Gp(r, new Wp(r)).post({
|
|
8110
8124
|
path: "indexes",
|
|
8111
8125
|
body: {
|
|
8112
8126
|
...t,
|
|
@@ -8466,7 +8480,7 @@ var Gp = class {
|
|
|
8466
8480
|
body: e
|
|
8467
8481
|
});
|
|
8468
8482
|
}
|
|
8469
|
-
},
|
|
8483
|
+
}, qp = class {
|
|
8470
8484
|
#e;
|
|
8471
8485
|
constructor(e) {
|
|
8472
8486
|
this.#e = e;
|
|
@@ -8480,7 +8494,7 @@ var Gp = class {
|
|
|
8480
8494
|
params: e
|
|
8481
8495
|
});
|
|
8482
8496
|
}
|
|
8483
|
-
},
|
|
8497
|
+
}, Jp = class {
|
|
8484
8498
|
#e;
|
|
8485
8499
|
#t;
|
|
8486
8500
|
constructor(e, t) {
|
|
@@ -8505,7 +8519,7 @@ var Gp = class {
|
|
|
8505
8519
|
body: e
|
|
8506
8520
|
});
|
|
8507
8521
|
}
|
|
8508
|
-
},
|
|
8522
|
+
}, Yp = class {
|
|
8509
8523
|
config;
|
|
8510
8524
|
httpRequest;
|
|
8511
8525
|
#e;
|
|
@@ -8518,19 +8532,19 @@ var Gp = class {
|
|
|
8518
8532
|
}
|
|
8519
8533
|
#n;
|
|
8520
8534
|
constructor(e) {
|
|
8521
|
-
this.config = e, this.httpRequest = new
|
|
8535
|
+
this.config = e, this.httpRequest = new Bp(e), this.#e = new Wp(this.httpRequest, e.defaultWaitOptions), this.#t = new qp(this.httpRequest), this.#n = Gp(this.httpRequest, this.tasks);
|
|
8522
8536
|
}
|
|
8523
8537
|
index(e) {
|
|
8524
|
-
return new
|
|
8538
|
+
return new Kp(this.config, e);
|
|
8525
8539
|
}
|
|
8526
8540
|
async getIndex(e) {
|
|
8527
|
-
return new
|
|
8541
|
+
return new Kp(this.config, e).fetchInfo();
|
|
8528
8542
|
}
|
|
8529
8543
|
async getRawIndex(e) {
|
|
8530
|
-
return new
|
|
8544
|
+
return new Kp(this.config, e).getRawInfo();
|
|
8531
8545
|
}
|
|
8532
8546
|
async getIndexes(e) {
|
|
8533
|
-
let t = await this.getRawIndexes(e), n = t.results.map((e) => new
|
|
8547
|
+
let t = await this.getRawIndexes(e), n = t.results.map((e) => new Kp(this.config, e.uid, e.primaryKey));
|
|
8534
8548
|
return {
|
|
8535
8549
|
...t,
|
|
8536
8550
|
results: n
|
|
@@ -8543,19 +8557,19 @@ var Gp = class {
|
|
|
8543
8557
|
});
|
|
8544
8558
|
}
|
|
8545
8559
|
createIndex(e, t) {
|
|
8546
|
-
return
|
|
8560
|
+
return Kp.create(e, t, this.config);
|
|
8547
8561
|
}
|
|
8548
8562
|
updateIndex(e, t) {
|
|
8549
|
-
return new
|
|
8563
|
+
return new Kp(this.config, e).update(t);
|
|
8550
8564
|
}
|
|
8551
8565
|
deleteIndex(e) {
|
|
8552
|
-
return new
|
|
8566
|
+
return new Kp(this.config, e).delete();
|
|
8553
8567
|
}
|
|
8554
8568
|
async deleteIndexIfExists(e) {
|
|
8555
8569
|
try {
|
|
8556
8570
|
return await this.deleteIndex(e), !0;
|
|
8557
8571
|
} catch (e) {
|
|
8558
|
-
if (e?.cause?.code ===
|
|
8572
|
+
if (e?.cause?.code === Dp.INDEX_NOT_FOUND) return !1;
|
|
8559
8573
|
throw e;
|
|
8560
8574
|
}
|
|
8561
8575
|
}
|
|
@@ -8573,7 +8587,7 @@ var Gp = class {
|
|
|
8573
8587
|
});
|
|
8574
8588
|
}
|
|
8575
8589
|
chat(e) {
|
|
8576
|
-
return new
|
|
8590
|
+
return new Jp(this.httpRequest, e);
|
|
8577
8591
|
}
|
|
8578
8592
|
async getChatWorkspaces() {
|
|
8579
8593
|
return await this.httpRequest.get({ path: "chats" });
|
|
@@ -8670,24 +8684,24 @@ var Gp = class {
|
|
|
8670
8684
|
});
|
|
8671
8685
|
}
|
|
8672
8686
|
};
|
|
8673
|
-
function
|
|
8687
|
+
function Xp(e) {
|
|
8674
8688
|
return (e?.trim() || "https://api.cartbot.io").replace(/\/+$/, "");
|
|
8675
8689
|
}
|
|
8676
|
-
function
|
|
8690
|
+
function Zp(e, t) {
|
|
8677
8691
|
let n = t.replace(/^\/+/, "");
|
|
8678
|
-
return `${
|
|
8692
|
+
return `${Xp(e)}/${n}`;
|
|
8679
8693
|
}
|
|
8680
8694
|
//#endregion
|
|
8681
8695
|
//#region src/lib/mmy.ts
|
|
8682
|
-
var
|
|
8683
|
-
function
|
|
8696
|
+
var Qp = /[-\u2010-\u2015]/, $p = /[-\u2010-\u2015]/g;
|
|
8697
|
+
function em(e) {
|
|
8684
8698
|
return e.replace(/\\/g, "\\\\").replace(/"/g, "\\\"");
|
|
8685
8699
|
}
|
|
8686
|
-
function
|
|
8700
|
+
function tm(e, t) {
|
|
8687
8701
|
if (!/^[A-Za-z_][A-Za-z0-9_]*$/.test(e)) throw Error(`Invalid Meilisearch filter field: ${e}`);
|
|
8688
|
-
return `${e} = "${
|
|
8702
|
+
return `${e} = "${em(String(t))}"`;
|
|
8689
8703
|
}
|
|
8690
|
-
function
|
|
8704
|
+
function nm(e) {
|
|
8691
8705
|
let [t, ...n] = e.split(":"), r = n.join(":");
|
|
8692
8706
|
if (r.includes(" > ")) {
|
|
8693
8707
|
let e = r.split(" > "), n = e[e.length - 1]?.trim();
|
|
@@ -8695,53 +8709,53 @@ function tm(e) {
|
|
|
8695
8709
|
let i = [];
|
|
8696
8710
|
if (t !== "make" && e.length >= 2) {
|
|
8697
8711
|
let t = e[0]?.trim();
|
|
8698
|
-
t && i.push(`make = "${
|
|
8712
|
+
t && i.push(`make = "${em(t)}"`);
|
|
8699
8713
|
}
|
|
8700
|
-
return i.push(`${t} = "${
|
|
8714
|
+
return i.push(`${t} = "${em(n)}"`), i.join(" AND ");
|
|
8701
8715
|
}
|
|
8702
|
-
return `${t} = "${
|
|
8716
|
+
return `${t} = "${em(r)}"`;
|
|
8703
8717
|
}
|
|
8704
|
-
function
|
|
8718
|
+
function rm(e = [], t = []) {
|
|
8705
8719
|
let n = [];
|
|
8706
8720
|
return e.forEach((e) => {
|
|
8707
|
-
let t = (Array.isArray(e) ? e : [e]).map(
|
|
8721
|
+
let t = (Array.isArray(e) ? e : [e]).map(nm).filter((e) => !!e);
|
|
8708
8722
|
t.length !== 0 && n.push(t.length === 1 ? t[0] : `(${t.map((e) => e.includes(" AND ") ? `(${e})` : e).join(" OR ")})`);
|
|
8709
8723
|
}), t.forEach((e) => {
|
|
8710
8724
|
n.push(e);
|
|
8711
8725
|
}), n.length > 0 ? n.join(" AND ") : null;
|
|
8712
8726
|
}
|
|
8713
|
-
function rm(e) {
|
|
8714
|
-
return String(e ?? "").normalize("NFKD").replace(/[\u0300-\u036f]/g, "").toUpperCase().trim().replace(/\s+/g, " ");
|
|
8715
|
-
}
|
|
8716
8727
|
function im(e) {
|
|
8717
|
-
return
|
|
8728
|
+
return String(e ?? "").normalize("NFKD").replace(/[\u0300-\u036f]/g, "").toUpperCase().trim().replace(/\s+/g, " ");
|
|
8718
8729
|
}
|
|
8719
8730
|
function am(e) {
|
|
8720
|
-
return
|
|
8731
|
+
return im(e).replace($p, "").replace(/\s+/g, "");
|
|
8721
8732
|
}
|
|
8722
8733
|
function om(e) {
|
|
8723
|
-
return String(e ?? "")
|
|
8734
|
+
return Qp.test(String(e ?? ""));
|
|
8724
8735
|
}
|
|
8725
8736
|
function sm(e) {
|
|
8726
|
-
return
|
|
8737
|
+
return String(e ?? "").match(/\s+/g)?.length ?? 0;
|
|
8727
8738
|
}
|
|
8728
8739
|
function cm(e) {
|
|
8729
|
-
return e.
|
|
8730
|
-
let n = om(e.value);
|
|
8731
|
-
return om(t.value) > n ? t : e;
|
|
8732
|
-
}, e[0]);
|
|
8740
|
+
return new Set(e.map((e) => sm(e.value))).size > 1;
|
|
8733
8741
|
}
|
|
8734
8742
|
function lm(e) {
|
|
8743
|
+
return e.find((e) => om(e.value)) || e.reduce((e, t) => {
|
|
8744
|
+
let n = sm(e.value);
|
|
8745
|
+
return sm(t.value) > n ? t : e;
|
|
8746
|
+
}, e[0]);
|
|
8747
|
+
}
|
|
8748
|
+
function um(e) {
|
|
8735
8749
|
let t = [e.refinement, ...e.refinements ?? []], n = /* @__PURE__ */ new Set();
|
|
8736
8750
|
return t.filter((e) => {
|
|
8737
8751
|
let t = String(e);
|
|
8738
8752
|
return n.has(t) ? !1 : (n.add(t), !0);
|
|
8739
8753
|
});
|
|
8740
8754
|
}
|
|
8741
|
-
function
|
|
8755
|
+
function dm(e) {
|
|
8742
8756
|
let t = /* @__PURE__ */ new Map(), n = [];
|
|
8743
8757
|
e.forEach((e) => {
|
|
8744
|
-
let r =
|
|
8758
|
+
let r = am(e.value);
|
|
8745
8759
|
if (!r) {
|
|
8746
8760
|
n.push(e);
|
|
8747
8761
|
return;
|
|
@@ -8750,8 +8764,8 @@ function um(e) {
|
|
|
8750
8764
|
i.push(e), t.set(r, i);
|
|
8751
8765
|
});
|
|
8752
8766
|
let r = Array.from(t.values()).flatMap((e) => {
|
|
8753
|
-
if (e.length < 2 || !e.some((e) =>
|
|
8754
|
-
let t =
|
|
8767
|
+
if (e.length < 2 || !e.some((e) => om(e.value)) && !cm(e)) return e;
|
|
8768
|
+
let t = lm(e), n = [...um(t), ...e.filter((e) => e !== t).flatMap(um)], r = Array.from(new Map(n.map((e) => [String(e), e])).values());
|
|
8755
8769
|
return [{
|
|
8756
8770
|
...t,
|
|
8757
8771
|
popularity: Math.max(...e.map((e) => Number(e.popularity ?? 0))),
|
|
@@ -8760,18 +8774,18 @@ function um(e) {
|
|
|
8760
8774
|
});
|
|
8761
8775
|
return [...n, ...r];
|
|
8762
8776
|
}
|
|
8763
|
-
function
|
|
8777
|
+
function fm(e, t, n = []) {
|
|
8764
8778
|
if (!t) return [];
|
|
8765
|
-
let r = n.map((e) => e == null ? [] : typeof e == "object" ?
|
|
8779
|
+
let r = n.map((e) => e == null ? [] : typeof e == "object" ? um(e) : [e]), i = um(t);
|
|
8766
8780
|
return [...r, i].reduce((e, t) => e.flatMap((e) => t.map((t) => [...e, t])), [[]]).map((t) => `${e}:${t.join(" > ")}`);
|
|
8767
8781
|
}
|
|
8768
|
-
function
|
|
8782
|
+
function pm(e) {
|
|
8769
8783
|
return String(e ?? "").split(/;|,(?![^(]*\))/).map((e) => e.trim()).filter(Boolean);
|
|
8770
8784
|
}
|
|
8771
|
-
function pm(e, t) {
|
|
8772
|
-
return !t || t.size === 0 || !e.some((e) => [e.value, ...lm(e)].some((e) => t.has(rm(e)))) ? e : e.filter((e) => [e.value, ...lm(e)].some((e) => t.has(rm(e))));
|
|
8773
|
-
}
|
|
8774
8785
|
function mm(e, t) {
|
|
8786
|
+
return !t || t.size === 0 || !e.some((e) => [e.value, ...um(e)].some((e) => t.has(im(e)))) ? e : e.filter((e) => [e.value, ...um(e)].some((e) => t.has(im(e))));
|
|
8787
|
+
}
|
|
8788
|
+
function hm(e, t) {
|
|
8775
8789
|
let n = String(e || t || "").trim();
|
|
8776
8790
|
return n ? (/^https?:\/\//i.test(n) ? n : `https://${n}`).replace(/\/+$/, "") : "";
|
|
8777
8791
|
}
|
|
@@ -8785,14 +8799,14 @@ e.forwardRef(function({ className: e, ...t }, n) {
|
|
|
8785
8799
|
});
|
|
8786
8800
|
//#endregion
|
|
8787
8801
|
//#region src/components/ui/field.tsx
|
|
8788
|
-
function
|
|
8802
|
+
function gm({ className: e, ...t }) {
|
|
8789
8803
|
return /* @__PURE__ */ h("div", {
|
|
8790
8804
|
"data-slot": "field-group",
|
|
8791
8805
|
className: Q("group/field-group @container/field-group flex w-full flex-col gap-5 data-[slot=checkbox-group]:gap-3 *:data-[slot=field-group]:gap-4", e),
|
|
8792
8806
|
...t
|
|
8793
8807
|
});
|
|
8794
8808
|
}
|
|
8795
|
-
var
|
|
8809
|
+
var _m = Kl("group/field flex w-full gap-2 data-[invalid=true]:text-destructive", {
|
|
8796
8810
|
variants: { orientation: {
|
|
8797
8811
|
vertical: "flex-col *:w-full [&>.sr-only]:w-auto",
|
|
8798
8812
|
horizontal: "flex-row items-center has-[>[data-slot=field-content]]:items-start *:data-[slot=field-label]:flex-auto has-[>[data-slot=field-content]]:[&>[role=checkbox],[role=radio]]:mt-px",
|
|
@@ -8800,38 +8814,38 @@ var gm = Gl("group/field flex w-full gap-2 data-[invalid=true]:text-destructive"
|
|
|
8800
8814
|
} },
|
|
8801
8815
|
defaultVariants: { orientation: "vertical" }
|
|
8802
8816
|
});
|
|
8803
|
-
function
|
|
8817
|
+
function vm({ className: e, orientation: t = "vertical", ...n }) {
|
|
8804
8818
|
return /* @__PURE__ */ h("div", {
|
|
8805
8819
|
role: "group",
|
|
8806
8820
|
"data-slot": "field",
|
|
8807
8821
|
"data-orientation": t,
|
|
8808
|
-
className: Q(
|
|
8822
|
+
className: Q(_m({ orientation: t }), e),
|
|
8809
8823
|
...n
|
|
8810
8824
|
});
|
|
8811
8825
|
}
|
|
8812
8826
|
//#endregion
|
|
8813
8827
|
//#region src/components/vehicle-garage/VehicleSelectField.tsx
|
|
8814
|
-
function
|
|
8828
|
+
function ym(e, t) {
|
|
8815
8829
|
let n = e.trim().toLowerCase(), r = t.toLowerCase();
|
|
8816
8830
|
if (!n) return !0;
|
|
8817
8831
|
let i = 0;
|
|
8818
8832
|
for (let e = 0; e < r.length; e += 1) if (r[e] === n[i] && (i += 1, i === n.length)) return !0;
|
|
8819
8833
|
return !1;
|
|
8820
8834
|
}
|
|
8821
|
-
function
|
|
8835
|
+
function bm(e, t) {
|
|
8822
8836
|
return {
|
|
8823
8837
|
...e,
|
|
8824
8838
|
value: t
|
|
8825
8839
|
};
|
|
8826
8840
|
}
|
|
8827
|
-
function
|
|
8841
|
+
function xm(e, t, n) {
|
|
8828
8842
|
if (e === "Year") {
|
|
8829
8843
|
let e = Number(t.value), r = Number(n.value);
|
|
8830
8844
|
if (Number.isFinite(e) && Number.isFinite(r)) return r - e;
|
|
8831
8845
|
}
|
|
8832
8846
|
return String(t.value).localeCompare(String(n.value), "en", { numeric: !0 });
|
|
8833
8847
|
}
|
|
8834
|
-
function
|
|
8848
|
+
function Sm({ label: e, value: t, options: n, onChange: r, placeholder: i, disabled: a = !1, loading: o = !1, clearable: s = !0, portalContainer: d }) {
|
|
8835
8849
|
let f = l(null), p = l(null), [m, _] = u(!1), [v, y] = u(""), [b, x] = u(!1), [S, C] = u(0), [w, T] = u(null), E = c(() => {
|
|
8836
8850
|
let e = /* @__PURE__ */ new Map();
|
|
8837
8851
|
if (n.forEach((t) => {
|
|
@@ -8845,12 +8859,12 @@ function xm({ label: e, value: t, options: n, onChange: r, placeholder: i, disab
|
|
|
8845
8859
|
}, [n, t]), D = c(() => {
|
|
8846
8860
|
let t = [], n = /* @__PURE__ */ new Set();
|
|
8847
8861
|
E.forEach((e) => {
|
|
8848
|
-
|
|
8849
|
-
let i =
|
|
8850
|
-
n.has(i) || !
|
|
8862
|
+
pm(e.value).forEach((r) => {
|
|
8863
|
+
let i = im(r);
|
|
8864
|
+
n.has(i) || !ym(v, r) || (n.add(i), t.push(bm(e, r)));
|
|
8851
8865
|
});
|
|
8852
8866
|
});
|
|
8853
|
-
let r = t.length > 0 ?
|
|
8867
|
+
let r = t.length > 0 ? dm(t) : E, i = r.filter((e) => Number(e.popularity ?? 0) > 0).slice(0, 11), a = new Set(i.map((e) => String(e.value).toLowerCase())), o = r.filter((e) => !a.has(String(e.value).toLowerCase())).sort((t, n) => xm(e, t, n));
|
|
8854
8868
|
return [...i, ...o];
|
|
8855
8869
|
}, [
|
|
8856
8870
|
e,
|
|
@@ -8866,7 +8880,7 @@ function xm({ label: e, value: t, options: n, onChange: r, placeholder: i, disab
|
|
|
8866
8880
|
function L() {
|
|
8867
8881
|
r(null), y(""), x(!0), C(0), p.current?.focus();
|
|
8868
8882
|
}
|
|
8869
|
-
return /* @__PURE__ */ h(
|
|
8883
|
+
return /* @__PURE__ */ h(gm, { children: /* @__PURE__ */ h(vm, {
|
|
8870
8884
|
"data-disabled": A,
|
|
8871
8885
|
children: /* @__PURE__ */ g(Do, {
|
|
8872
8886
|
open: m,
|
|
@@ -8876,7 +8890,7 @@ function xm({ label: e, value: t, options: n, onChange: r, placeholder: i, disab
|
|
|
8876
8890
|
children: /* @__PURE__ */ g("div", {
|
|
8877
8891
|
ref: f,
|
|
8878
8892
|
className: "relative",
|
|
8879
|
-
children: [/* @__PURE__ */ h(
|
|
8893
|
+
children: [/* @__PURE__ */ h(tp, {
|
|
8880
8894
|
ref: p,
|
|
8881
8895
|
value: k,
|
|
8882
8896
|
onFocus: () => {
|
|
@@ -8923,7 +8937,7 @@ function xm({ label: e, value: t, options: n, onChange: r, placeholder: i, disab
|
|
|
8923
8937
|
onClick: L,
|
|
8924
8938
|
"aria-label": `Clear ${e.toLowerCase()}`,
|
|
8925
8939
|
children: /* @__PURE__ */ h(Mc, {})
|
|
8926
|
-
}) : j ? /* @__PURE__ */ h(
|
|
8940
|
+
}) : j ? /* @__PURE__ */ h(cp, { className: "size-3.5 text-muted-foreground" }) : null, /* @__PURE__ */ h(ko, {
|
|
8927
8941
|
asChild: !0,
|
|
8928
8942
|
children: /* @__PURE__ */ h("button", {
|
|
8929
8943
|
type: "button",
|
|
@@ -8940,10 +8954,10 @@ function xm({ label: e, value: t, options: n, onChange: r, placeholder: i, disab
|
|
|
8940
8954
|
container: d ?? void 0,
|
|
8941
8955
|
children: /* @__PURE__ */ h(jo, {
|
|
8942
8956
|
id: P,
|
|
8943
|
-
className: "vehicle-garage-theme z-50
|
|
8957
|
+
className: "vehicle-garage-theme z-50 max-h-60 overflow-auto rounded-lg bg-popover p-1 text-popover-foreground shadow-md ring-1 ring-foreground/10 outline-none",
|
|
8944
8958
|
style: w ? { width: w } : void 0,
|
|
8945
8959
|
align: "start",
|
|
8946
|
-
sideOffset:
|
|
8960
|
+
sideOffset: 8,
|
|
8947
8961
|
onOpenAutoFocus: (e) => e.preventDefault(),
|
|
8948
8962
|
children: D.map((t, n) => {
|
|
8949
8963
|
let r = String(t.value), i = String(t.refinement) === N;
|
|
@@ -8966,7 +8980,7 @@ function xm({ label: e, value: t, options: n, onChange: r, placeholder: i, disab
|
|
|
8966
8980
|
}
|
|
8967
8981
|
//#endregion
|
|
8968
8982
|
//#region src/components/vehicle-garage/MmySearchTab.tsx
|
|
8969
|
-
var
|
|
8983
|
+
var Cm = {
|
|
8970
8984
|
make: null,
|
|
8971
8985
|
model: null,
|
|
8972
8986
|
year: null,
|
|
@@ -8975,24 +8989,24 @@ var Sm = {
|
|
|
8975
8989
|
variant: null,
|
|
8976
8990
|
engine: null,
|
|
8977
8991
|
engine_capacity: null
|
|
8978
|
-
},
|
|
8992
|
+
}, wm = [
|
|
8979
8993
|
"body",
|
|
8980
8994
|
"series",
|
|
8981
8995
|
"variant",
|
|
8982
8996
|
"engine",
|
|
8983
8997
|
"engine_capacity"
|
|
8984
|
-
],
|
|
8985
|
-
function
|
|
8998
|
+
], Tm = "otto_v1_vehicles_production", Em = "otto_v1_vehicle_mmy_production";
|
|
8999
|
+
function Dm(e) {
|
|
8986
9000
|
return e == null || e === "" ? null : {
|
|
8987
9001
|
value: e,
|
|
8988
9002
|
refinement: e
|
|
8989
9003
|
};
|
|
8990
9004
|
}
|
|
8991
|
-
function
|
|
9005
|
+
function Om(e) {
|
|
8992
9006
|
return Object.entries(e).reduce((e, [t, n]) => (n && (e[t] = n.value), e), {});
|
|
8993
9007
|
}
|
|
8994
|
-
function
|
|
8995
|
-
let T = l([]), E = l([]), D = l(null), O = l(null), k = l(null), A = l(null), j = l(null), [M, N] = u(
|
|
9008
|
+
function km({ apiKey: e, apiBaseUrl: t, store: n, makes: r = "", models: o = "", fields: s, fieldPrefix: d = "", modifyQueryString: f = !0, vehicleScopeTokens: p, useStoreVehicles: _ = !0, fieldOrder: v = "MMY", yearTokens: y, yearOptional: b = !1, enableFeatureFlags: x = !0, portalContainer: S, activeVehicle: C, onVehicleSelected: w }) {
|
|
9009
|
+
let T = l([]), E = l([]), D = l(null), O = l(null), k = l(null), A = l(null), j = l(null), [M, N] = u(Cm), [P, F] = u([]), [I, L] = u([]), [R, z] = u([]), [ee, B] = u([]), [V, te] = u([]), [ne, H] = u([]), [re, ie] = u([]), [ae, oe] = u([]), [se, U] = u([]), [ce, le] = u(null), [ue, de] = u({}), [fe, pe] = u(null), W = v === "YMM", G = ce?.searchKey ? `${ce.host}|${ce.indexName}|${ce.searchKey}` : "", me = ce?.searchKey ? `${Bc}|${ce.mmyIndexName}|${ce.searchKey}` : "", he = c(() => s ? s.split(",").map((e) => e.trim()).filter((e) => wm.includes(e)) : [], [s]), ge = c(() => new Set(r.split(",").map((e) => im(e)).filter(Boolean)), [r]), _e = c(() => new Set(Object.keys(ue).map((e) => im(e))), [ue]), ve = i((e) => d ? `${d}${e}` : e, [d]), ye = i((e) => d ? e.replace(RegExp(`^${d}`), "") : e, [d]), K = i(({ query: e, value: t, remove: n = [] }) => {
|
|
8996
9010
|
if (typeof window > "u" || !f) return;
|
|
8997
9011
|
let r = new URLSearchParams(window.location.search), i = ve(e);
|
|
8998
9012
|
t != null && t !== "" ? r.set(i, String(t)) : r.delete(i), n.forEach((e) => {
|
|
@@ -9013,14 +9027,14 @@ function Om({ apiKey: e, apiBaseUrl: t, store: n, makes: r = "", models: o = "",
|
|
|
9013
9027
|
y
|
|
9014
9028
|
]), xe = i((e) => {
|
|
9015
9029
|
N({
|
|
9016
|
-
make:
|
|
9017
|
-
model:
|
|
9018
|
-
year:
|
|
9019
|
-
body:
|
|
9020
|
-
series:
|
|
9021
|
-
variant:
|
|
9022
|
-
engine:
|
|
9023
|
-
engine_capacity:
|
|
9030
|
+
make: Dm(e.make),
|
|
9031
|
+
model: Dm(e.model),
|
|
9032
|
+
year: Dm(e.year),
|
|
9033
|
+
body: Dm(e.body),
|
|
9034
|
+
series: Dm(e.series),
|
|
9035
|
+
variant: Dm(e.variant),
|
|
9036
|
+
engine: Dm(e.engine),
|
|
9037
|
+
engine_capacity: Dm(e.engine_capacity)
|
|
9024
9038
|
});
|
|
9025
9039
|
}, []), Se = i(() => {
|
|
9026
9040
|
if (typeof window > "u" || C) return;
|
|
@@ -9060,16 +9074,12 @@ function Om({ apiKey: e, apiBaseUrl: t, store: n, makes: r = "", models: o = "",
|
|
|
9060
9074
|
ye
|
|
9061
9075
|
]);
|
|
9062
9076
|
a(() => {
|
|
9063
|
-
!C?.key || j.current === C.key || (j.current = C.key, xe(C.vehicle)
|
|
9064
|
-
}, [
|
|
9065
|
-
C,
|
|
9066
|
-
be,
|
|
9067
|
-
xe
|
|
9068
|
-
]), a(() => {
|
|
9077
|
+
!C?.key || j.current === C.key || (j.current = C.key, xe(C.vehicle));
|
|
9078
|
+
}, [C, xe]), a(() => {
|
|
9069
9079
|
if (!e || e === "demo") return;
|
|
9070
9080
|
async function r() {
|
|
9071
9081
|
try {
|
|
9072
|
-
let r = await fetch(
|
|
9082
|
+
let r = await fetch(Zp(t, "/v1/vehicles/auth"), {
|
|
9073
9083
|
method: "POST",
|
|
9074
9084
|
headers: {
|
|
9075
9085
|
"Content-Type": "application/json",
|
|
@@ -9086,10 +9096,10 @@ function Om({ apiKey: e, apiBaseUrl: t, store: n, makes: r = "", models: o = "",
|
|
|
9086
9096
|
...e,
|
|
9087
9097
|
refinement: e.value
|
|
9088
9098
|
})), _ && i.vehicle_models ? typeof i.vehicle_models == "object" && !Array.isArray(i.vehicle_models) ? (E.current = i.vehicle_models, de(i.vehicle_models)) : Array.isArray(i.vehicle_models) && (E.current = i.vehicle_models.map((e) => String(e?.value ?? "").trim()).filter(Boolean), de({})) : (E.current = [], de({})), D.current = Array.isArray(i.store_popular_makes) ? i.store_popular_makes.map((e) => String(e).trim().toUpperCase()) : null, O.current = i.store_popular_models ?? null, le({
|
|
9089
|
-
host:
|
|
9099
|
+
host: hm(i.host, "https://search.partbot.io"),
|
|
9090
9100
|
searchKey: i.search_key || i.meilisearch_search_key || i.algolia_search_key || "",
|
|
9091
|
-
indexName: i.vehicle_index_name || i.index_name || i.meilisearch_index_name || i.algolia_index_name ||
|
|
9092
|
-
mmyIndexName: i.vehicle_mmy_index_name || i.mmy_index_name || i.meilisearch_mmy_index_name ||
|
|
9101
|
+
indexName: i.vehicle_index_name || i.index_name || i.meilisearch_index_name || i.algolia_index_name || Tm,
|
|
9102
|
+
mmyIndexName: i.vehicle_mmy_index_name || i.mmy_index_name || i.meilisearch_mmy_index_name || Em
|
|
9093
9103
|
});
|
|
9094
9104
|
} catch (e) {
|
|
9095
9105
|
console.error("[VehicleGarage] MMY auth failed:", e), pe(e instanceof Error ? e.message : "Could not load vehicle search.");
|
|
@@ -9120,7 +9130,7 @@ function Om({ apiKey: e, apiBaseUrl: t, store: n, makes: r = "", models: o = "",
|
|
|
9120
9130
|
});
|
|
9121
9131
|
}), e = Array.from(n.values());
|
|
9122
9132
|
}
|
|
9123
|
-
if (ge.size > 0 ? e = e.filter((e) => ge.has(
|
|
9133
|
+
if (ge.size > 0 ? e = e.filter((e) => ge.has(im(e.value))) : _e.size > 0 && (e = e.filter((e) => _e.has(im(e.value)))), D.current?.length) {
|
|
9124
9134
|
let t = new Set(D.current);
|
|
9125
9135
|
e.sort((e, n) => {
|
|
9126
9136
|
let r = t.has(String(e.value)), i = t.has(String(n.value));
|
|
@@ -9132,10 +9142,10 @@ function Om({ apiKey: e, apiBaseUrl: t, store: n, makes: r = "", models: o = "",
|
|
|
9132
9142
|
a(() => {
|
|
9133
9143
|
if (!ce?.searchKey) return;
|
|
9134
9144
|
let e = !0;
|
|
9135
|
-
return k.current = new
|
|
9145
|
+
return k.current = new Yp({
|
|
9136
9146
|
host: ce.host || "https://search.partbot.io",
|
|
9137
9147
|
apiKey: ce.searchKey
|
|
9138
|
-
}).index(ce.indexName), A.current = new
|
|
9148
|
+
}).index(ce.indexName), A.current = new Yp({
|
|
9139
9149
|
host: Bc,
|
|
9140
9150
|
apiKey: ce.searchKey
|
|
9141
9151
|
}).index(ce.mmyIndexName), W || q(), queueMicrotask(() => {
|
|
@@ -9165,7 +9175,7 @@ function Om({ apiKey: e, apiBaseUrl: t, store: n, makes: r = "", models: o = "",
|
|
|
9165
9175
|
});
|
|
9166
9176
|
});
|
|
9167
9177
|
let n = Array.from(t.values());
|
|
9168
|
-
ge.size > 0 ? n = n.filter((e) => ge.has(
|
|
9178
|
+
ge.size > 0 ? n = n.filter((e) => ge.has(im(e.value))) : _e.size > 0 && (n = n.filter((e) => _e.has(im(e.value)))), F(n);
|
|
9169
9179
|
}
|
|
9170
9180
|
e();
|
|
9171
9181
|
}, [
|
|
@@ -9197,7 +9207,7 @@ function Om({ apiKey: e, apiBaseUrl: t, store: n, makes: r = "", models: o = "",
|
|
|
9197
9207
|
]);
|
|
9198
9208
|
let Ce = i((e) => {
|
|
9199
9209
|
L([]), !W && !b && z([]), B([]), te([]), H([]), ie([]), oe([]), N((t) => ({
|
|
9200
|
-
...
|
|
9210
|
+
...Cm,
|
|
9201
9211
|
make: e,
|
|
9202
9212
|
year: W || b ? t.year : null
|
|
9203
9213
|
})), K({
|
|
@@ -9251,14 +9261,14 @@ function Om({ apiKey: e, apiBaseUrl: t, store: n, makes: r = "", models: o = "",
|
|
|
9251
9261
|
"variant",
|
|
9252
9262
|
"engine_capacity"
|
|
9253
9263
|
]
|
|
9254
|
-
});
|
|
9264
|
+
}), e || U([]);
|
|
9255
9265
|
}, [
|
|
9256
9266
|
W,
|
|
9257
9267
|
K,
|
|
9258
9268
|
b
|
|
9259
9269
|
]), Te = i((e) => {
|
|
9260
9270
|
W ? (F([]), L([]), N({
|
|
9261
|
-
...
|
|
9271
|
+
...Cm,
|
|
9262
9272
|
year: e
|
|
9263
9273
|
}), e || z([])) : N((t) => ({
|
|
9264
9274
|
...t,
|
|
@@ -9340,7 +9350,7 @@ function Om({ apiKey: e, apiBaseUrl: t, store: n, makes: r = "", models: o = "",
|
|
|
9340
9350
|
L([]);
|
|
9341
9351
|
return;
|
|
9342
9352
|
}
|
|
9343
|
-
let e = String(M.make.refinement), t =
|
|
9353
|
+
let e = String(M.make.refinement), t = im(e);
|
|
9344
9354
|
if (ge.size > 0 && !ge.has(t)) {
|
|
9345
9355
|
L([]);
|
|
9346
9356
|
return;
|
|
@@ -9349,16 +9359,16 @@ function Om({ apiKey: e, apiBaseUrl: t, store: n, makes: r = "", models: o = "",
|
|
|
9349
9359
|
L([]);
|
|
9350
9360
|
return;
|
|
9351
9361
|
}
|
|
9352
|
-
let n = new Set(o.split(",").map((e) =>
|
|
9353
|
-
typeof E.current == "object" && !Array.isArray(E.current) && (r = E.current[e] ?? E.current[Object.keys(E.current).find((e) =>
|
|
9354
|
-
let i = new Set(r.map((e) =>
|
|
9362
|
+
let n = new Set(o.split(",").map((e) => im(e)).filter(Boolean)), r = [];
|
|
9363
|
+
typeof E.current == "object" && !Array.isArray(E.current) && (r = E.current[e] ?? E.current[Object.keys(E.current).find((e) => im(e) === t) ?? ""] ?? []);
|
|
9364
|
+
let i = new Set(r.map((e) => im(e)));
|
|
9355
9365
|
if (_ && r.length > 0) {
|
|
9356
|
-
let t =
|
|
9366
|
+
let t = dm(r.map((e) => ({
|
|
9357
9367
|
value: e,
|
|
9358
9368
|
refinement: e,
|
|
9359
9369
|
popularity: 0
|
|
9360
9370
|
})));
|
|
9361
|
-
t =
|
|
9371
|
+
t = mm(t, n), t = mm(t, i);
|
|
9362
9372
|
let a = O.current?.[e];
|
|
9363
9373
|
if (a?.length) {
|
|
9364
9374
|
let e = new Map(a.map((e, t) => [e.toUpperCase(), a.length - t]));
|
|
@@ -9374,7 +9384,7 @@ function Om({ apiKey: e, apiBaseUrl: t, store: n, makes: r = "", models: o = "",
|
|
|
9374
9384
|
let a;
|
|
9375
9385
|
try {
|
|
9376
9386
|
a = await A.current.search("", {
|
|
9377
|
-
filter:
|
|
9387
|
+
filter: tm("make", e),
|
|
9378
9388
|
limit: 1
|
|
9379
9389
|
});
|
|
9380
9390
|
} catch (e) {
|
|
@@ -9382,12 +9392,12 @@ function Om({ apiKey: e, apiBaseUrl: t, store: n, makes: r = "", models: o = "",
|
|
|
9382
9392
|
return;
|
|
9383
9393
|
}
|
|
9384
9394
|
pe(null);
|
|
9385
|
-
let s =
|
|
9395
|
+
let s = dm((a.hits[0]?.models ?? []).map((e) => ({
|
|
9386
9396
|
value: e.name,
|
|
9387
9397
|
refinement: e.name,
|
|
9388
9398
|
popularity: e.popularity ?? 0
|
|
9389
9399
|
})));
|
|
9390
|
-
s =
|
|
9400
|
+
s = mm(s, n), s = mm(s, i);
|
|
9391
9401
|
let c = O.current?.[e];
|
|
9392
9402
|
if (c?.length) {
|
|
9393
9403
|
let e = c.map((e) => e.toUpperCase());
|
|
@@ -9410,14 +9420,14 @@ function Om({ apiKey: e, apiBaseUrl: t, store: n, makes: r = "", models: o = "",
|
|
|
9410
9420
|
async function e() {
|
|
9411
9421
|
if (!k.current || !M.make || !M.model) return;
|
|
9412
9422
|
let e = [
|
|
9413
|
-
|
|
9414
|
-
...b && M.body ? [
|
|
9415
|
-
...b && M.series ? [
|
|
9416
|
-
...b && M.variant ? [
|
|
9417
|
-
...b && M.engine ? [
|
|
9418
|
-
...b && M.engine_capacity ? [
|
|
9423
|
+
fm("model", M.model, [M.make]),
|
|
9424
|
+
...b && M.body ? [fm("body", M.body, [M.make, M.model])] : [],
|
|
9425
|
+
...b && M.series ? [fm("series", M.series)] : [],
|
|
9426
|
+
...b && M.variant ? [fm("variant", M.variant)] : [],
|
|
9427
|
+
...b && M.engine ? [fm("engine", M.engine)] : [],
|
|
9428
|
+
...b && M.engine_capacity ? [fm("engine_capacity", M.engine_capacity)] : []
|
|
9419
9429
|
], t = await k.current.search("", {
|
|
9420
|
-
filter:
|
|
9430
|
+
filter: rm(e, []),
|
|
9421
9431
|
attributesToRetrieve: ["year_from", "year_to"],
|
|
9422
9432
|
limit: 200
|
|
9423
9433
|
}), n = t.hits.map((e) => Number(e.year_from)).filter(Boolean), r = t.hits.map((e) => Number(e.year_to)).filter(Boolean);
|
|
@@ -9450,11 +9460,11 @@ function Om({ apiKey: e, apiBaseUrl: t, store: n, makes: r = "", models: o = "",
|
|
|
9450
9460
|
return;
|
|
9451
9461
|
}
|
|
9452
9462
|
let t = M.year ? [`year_from <= ${M.year.value}`, `year_to >= ${M.year.value}`] : [], n = await k.current.search("", {
|
|
9453
|
-
filter:
|
|
9463
|
+
filter: rm([fm("model", M.model, [M.make])], t),
|
|
9454
9464
|
attributesToRetrieve: ["body"],
|
|
9455
9465
|
limit: 1e3
|
|
9456
9466
|
});
|
|
9457
|
-
B(
|
|
9467
|
+
B(dm([...new Map(n.hits.map((e) => [e.body, e])).values()].map((e) => {
|
|
9458
9468
|
let t = String(e.body ?? "").match(/[^>]*$/)?.[0]?.trim() ?? "";
|
|
9459
9469
|
return {
|
|
9460
9470
|
value: t,
|
|
@@ -9471,7 +9481,7 @@ function Om({ apiKey: e, apiBaseUrl: t, store: n, makes: r = "", models: o = "",
|
|
|
9471
9481
|
G
|
|
9472
9482
|
]);
|
|
9473
9483
|
let je = i(({ hits: e, attribute: t, stateCallback: n }) => {
|
|
9474
|
-
n(
|
|
9484
|
+
n(dm([...new Map(e.map((e) => [e[t], e])).values()].map((e) => {
|
|
9475
9485
|
let n = String(e[t] ?? "").match(/[^|]*$/)?.[0]?.trim() ?? "";
|
|
9476
9486
|
return {
|
|
9477
9487
|
value: n,
|
|
@@ -9487,15 +9497,15 @@ function Om({ apiKey: e, apiBaseUrl: t, store: n, makes: r = "", models: o = "",
|
|
|
9487
9497
|
return;
|
|
9488
9498
|
}
|
|
9489
9499
|
let t = [
|
|
9490
|
-
|
|
9491
|
-
|
|
9492
|
-
M.body ?
|
|
9493
|
-
M.series ?
|
|
9494
|
-
M.variant ?
|
|
9495
|
-
M.engine ?
|
|
9496
|
-
M.engine_capacity ?
|
|
9500
|
+
fm("make", M.make),
|
|
9501
|
+
fm("model", M.model, [M.make]),
|
|
9502
|
+
M.body ? fm("body", M.body, [M.make, M.model]) : [],
|
|
9503
|
+
M.series ? fm("series", M.series) : [],
|
|
9504
|
+
M.variant ? fm("variant", M.variant) : [],
|
|
9505
|
+
M.engine ? fm("engine", M.engine) : [],
|
|
9506
|
+
M.engine_capacity ? fm("engine_capacity", M.engine_capacity) : []
|
|
9497
9507
|
].filter((e) => e.length > 0), n = M.year ? [`year_from <= ${M.year.value}`, `year_to >= ${M.year.value}`] : [], r = (await k.current.search("", {
|
|
9498
|
-
filter:
|
|
9508
|
+
filter: rm(t, n),
|
|
9499
9509
|
attributesToRetrieve: [
|
|
9500
9510
|
"series",
|
|
9501
9511
|
"variant",
|
|
@@ -9542,16 +9552,16 @@ function Om({ apiKey: e, apiBaseUrl: t, store: n, makes: r = "", models: o = "",
|
|
|
9542
9552
|
return;
|
|
9543
9553
|
}
|
|
9544
9554
|
let e = [
|
|
9545
|
-
|
|
9546
|
-
M.model ?
|
|
9547
|
-
M.body ?
|
|
9548
|
-
M.series ?
|
|
9549
|
-
M.variant ?
|
|
9550
|
-
M.engine ?
|
|
9551
|
-
M.engine_capacity ?
|
|
9555
|
+
fm("make", M.make),
|
|
9556
|
+
M.model ? fm("model", M.model, [M.make]) : [],
|
|
9557
|
+
M.body ? fm("body", M.body, [M.make, M.model]) : [],
|
|
9558
|
+
M.series ? fm("series", M.series) : [],
|
|
9559
|
+
M.variant ? fm("variant", M.variant) : [],
|
|
9560
|
+
M.engine ? fm("engine", M.engine) : [],
|
|
9561
|
+
M.engine_capacity ? fm("engine_capacity", M.engine_capacity) : []
|
|
9552
9562
|
].filter((e) => e.length > 0), t = M.year ? [`year_from <= ${M.year.value}`, `year_to >= ${M.year.value}`] : [];
|
|
9553
9563
|
U((await k.current.search("", {
|
|
9554
|
-
filter:
|
|
9564
|
+
filter: rm(e, t),
|
|
9555
9565
|
attributesToRetrieve: ["otto_id"],
|
|
9556
9566
|
limit: 500
|
|
9557
9567
|
})).hits.map((e) => Number(e.otto_id)).filter(Boolean));
|
|
@@ -9602,15 +9612,15 @@ function Om({ apiKey: e, apiBaseUrl: t, store: n, makes: r = "", models: o = "",
|
|
|
9602
9612
|
};
|
|
9603
9613
|
return /* @__PURE__ */ g("div", {
|
|
9604
9614
|
className: "flex flex-col gap-5",
|
|
9605
|
-
children: [fe ? /* @__PURE__ */ g(
|
|
9615
|
+
children: [fe ? /* @__PURE__ */ g(rp, { children: [
|
|
9606
9616
|
/* @__PURE__ */ h(Ac, {}),
|
|
9607
|
-
/* @__PURE__ */ h(
|
|
9608
|
-
/* @__PURE__ */ h(
|
|
9617
|
+
/* @__PURE__ */ h(ip, { children: "Vehicle search unavailable" }),
|
|
9618
|
+
/* @__PURE__ */ h(ap, { children: fe })
|
|
9609
9619
|
] }) : null, /* @__PURE__ */ g("div", {
|
|
9610
9620
|
className: "flex flex-col gap-4",
|
|
9611
9621
|
children: [
|
|
9612
9622
|
W ? /* @__PURE__ */ g(m, { children: [
|
|
9613
|
-
/* @__PURE__ */ h(
|
|
9623
|
+
/* @__PURE__ */ h(Sm, {
|
|
9614
9624
|
label: "Year",
|
|
9615
9625
|
value: M.year,
|
|
9616
9626
|
options: R,
|
|
@@ -9619,7 +9629,7 @@ function Om({ apiKey: e, apiBaseUrl: t, store: n, makes: r = "", models: o = "",
|
|
|
9619
9629
|
loading: !!ce?.searchKey && !M.year && R.length === 0,
|
|
9620
9630
|
portalContainer: S
|
|
9621
9631
|
}),
|
|
9622
|
-
/* @__PURE__ */ h(
|
|
9632
|
+
/* @__PURE__ */ h(Sm, {
|
|
9623
9633
|
label: "Make",
|
|
9624
9634
|
value: M.make,
|
|
9625
9635
|
options: P,
|
|
@@ -9629,7 +9639,7 @@ function Om({ apiKey: e, apiBaseUrl: t, store: n, makes: r = "", models: o = "",
|
|
|
9629
9639
|
loading: !!M.year && !M.make && P.length === 0,
|
|
9630
9640
|
portalContainer: S
|
|
9631
9641
|
}),
|
|
9632
|
-
/* @__PURE__ */ h(
|
|
9642
|
+
/* @__PURE__ */ h(Sm, {
|
|
9633
9643
|
label: "Model",
|
|
9634
9644
|
value: M.model,
|
|
9635
9645
|
options: I,
|
|
@@ -9640,7 +9650,7 @@ function Om({ apiKey: e, apiBaseUrl: t, store: n, makes: r = "", models: o = "",
|
|
|
9640
9650
|
portalContainer: S
|
|
9641
9651
|
})
|
|
9642
9652
|
] }) : /* @__PURE__ */ g(m, { children: [
|
|
9643
|
-
/* @__PURE__ */ h(
|
|
9653
|
+
/* @__PURE__ */ h(Sm, {
|
|
9644
9654
|
label: "Make",
|
|
9645
9655
|
value: M.make,
|
|
9646
9656
|
options: P,
|
|
@@ -9649,7 +9659,7 @@ function Om({ apiKey: e, apiBaseUrl: t, store: n, makes: r = "", models: o = "",
|
|
|
9649
9659
|
loading: !!ce?.searchKey && !M.make && P.length === 0,
|
|
9650
9660
|
portalContainer: S
|
|
9651
9661
|
}),
|
|
9652
|
-
/* @__PURE__ */ h(
|
|
9662
|
+
/* @__PURE__ */ h(Sm, {
|
|
9653
9663
|
label: "Model",
|
|
9654
9664
|
value: M.model,
|
|
9655
9665
|
options: I,
|
|
@@ -9659,7 +9669,7 @@ function Om({ apiKey: e, apiBaseUrl: t, store: n, makes: r = "", models: o = "",
|
|
|
9659
9669
|
loading: !!M.make && !M.model && I.length === 0,
|
|
9660
9670
|
portalContainer: S
|
|
9661
9671
|
}),
|
|
9662
|
-
/* @__PURE__ */ h(
|
|
9672
|
+
/* @__PURE__ */ h(Sm, {
|
|
9663
9673
|
label: "Year",
|
|
9664
9674
|
value: M.year,
|
|
9665
9675
|
options: R,
|
|
@@ -9672,7 +9682,7 @@ function Om({ apiKey: e, apiBaseUrl: t, store: n, makes: r = "", models: o = "",
|
|
|
9672
9682
|
] }),
|
|
9673
9683
|
he.map((e) => {
|
|
9674
9684
|
let t = Pe[e];
|
|
9675
|
-
return /* @__PURE__ */ h(
|
|
9685
|
+
return /* @__PURE__ */ h(Sm, {
|
|
9676
9686
|
label: t.label,
|
|
9677
9687
|
value: t.value,
|
|
9678
9688
|
options: t.options,
|
|
@@ -9683,10 +9693,10 @@ function Om({ apiKey: e, apiBaseUrl: t, store: n, makes: r = "", models: o = "",
|
|
|
9683
9693
|
portalContainer: S
|
|
9684
9694
|
}, e);
|
|
9685
9695
|
}),
|
|
9686
|
-
/* @__PURE__ */ h(
|
|
9696
|
+
/* @__PURE__ */ h(_d, {
|
|
9687
9697
|
className: "w-full",
|
|
9688
9698
|
onClick: () => {
|
|
9689
|
-
let e =
|
|
9699
|
+
let e = Om(M);
|
|
9690
9700
|
be(e), w({ legacyVehicle: {
|
|
9691
9701
|
description: al(e),
|
|
9692
9702
|
vehicle_ids: se,
|
|
@@ -9702,7 +9712,7 @@ function Om({ apiKey: e, apiBaseUrl: t, store: n, makes: r = "", models: o = "",
|
|
|
9702
9712
|
}
|
|
9703
9713
|
//#endregion
|
|
9704
9714
|
//#region src/components/vehicle-garage/WheelTyreTab.tsx
|
|
9705
|
-
var
|
|
9715
|
+
var Am = {
|
|
9706
9716
|
boltPattern: "",
|
|
9707
9717
|
centerBoreMm: "",
|
|
9708
9718
|
wheelDiameterIn: "",
|
|
@@ -9714,12 +9724,12 @@ var km = {
|
|
|
9714
9724
|
loadIndex: "",
|
|
9715
9725
|
speedRating: ""
|
|
9716
9726
|
};
|
|
9717
|
-
function
|
|
9727
|
+
function jm(e, t, n = 1) {
|
|
9718
9728
|
let r = n.toString().split(".")[1]?.length ?? 0, i = [];
|
|
9719
9729
|
for (let a = e; a <= t + 2 ** -52; a += n) i.push(Number(a.toFixed(r)).toString());
|
|
9720
9730
|
return i;
|
|
9721
9731
|
}
|
|
9722
|
-
var
|
|
9732
|
+
var Mm = /* @__PURE__ */ "3x112,4x98,4x100,4x108,4x110,4x114.3,5x100,5x105,5x108,5x110,5x112,5x114.3,5x115,5x118,5x120,5x120.65,5x127,5x130,5x139.7,5x150,6x114.3,6x120,6x127,6x130,6x135,6x139.7,6x205,8x165.1,8x170,8x180,8x200".split(","), Nm = [
|
|
9723
9733
|
"54.1",
|
|
9724
9734
|
"56.1",
|
|
9725
9735
|
"56.6",
|
|
@@ -9742,7 +9752,7 @@ var jm = /* @__PURE__ */ "3x112,4x98,4x100,4x108,4x110,4x114.3,5x100,5x105,5x108
|
|
|
9742
9752
|
"95.1",
|
|
9743
9753
|
"106.1",
|
|
9744
9754
|
"110.1"
|
|
9745
|
-
],
|
|
9755
|
+
], Pm = jm(10, 30), Fm = jm(3.5, 16, .5), Im = jm(-60, 70), Lm = [
|
|
9746
9756
|
"125",
|
|
9747
9757
|
"135",
|
|
9748
9758
|
"145",
|
|
@@ -9767,7 +9777,7 @@ var jm = /* @__PURE__ */ "3x112,4x98,4x100,4x108,4x110,4x114.3,5x100,5x105,5x108
|
|
|
9767
9777
|
"335",
|
|
9768
9778
|
"345",
|
|
9769
9779
|
"355"
|
|
9770
|
-
],
|
|
9780
|
+
], Rm = [
|
|
9771
9781
|
"25",
|
|
9772
9782
|
"30",
|
|
9773
9783
|
"35",
|
|
@@ -9781,7 +9791,7 @@ var jm = /* @__PURE__ */ "3x112,4x98,4x100,4x108,4x110,4x114.3,5x100,5x105,5x108
|
|
|
9781
9791
|
"75",
|
|
9782
9792
|
"80",
|
|
9783
9793
|
"85"
|
|
9784
|
-
],
|
|
9794
|
+
], zm = [
|
|
9785
9795
|
"10",
|
|
9786
9796
|
"12",
|
|
9787
9797
|
"13",
|
|
@@ -9803,7 +9813,7 @@ var jm = /* @__PURE__ */ "3x112,4x98,4x100,4x108,4x110,4x114.3,5x100,5x105,5x108
|
|
|
9803
9813
|
"26",
|
|
9804
9814
|
"28",
|
|
9805
9815
|
"30"
|
|
9806
|
-
],
|
|
9816
|
+
], Bm = {
|
|
9807
9817
|
0: 45,
|
|
9808
9818
|
1: 46.2,
|
|
9809
9819
|
2: 47.5,
|
|
@@ -10084,10 +10094,10 @@ var jm = /* @__PURE__ */ "3x112,4x98,4x100,4x108,4x110,4x114.3,5x100,5x105,5x108
|
|
|
10084
10094
|
277: 128500,
|
|
10085
10095
|
278: 132e3,
|
|
10086
10096
|
279: 136e3
|
|
10087
|
-
},
|
|
10088
|
-
let t =
|
|
10097
|
+
}, Vm = jm(0, 279).map((e) => {
|
|
10098
|
+
let t = Bm[e];
|
|
10089
10099
|
return [e, t ? e + " (" + t + " kg)" : e];
|
|
10090
|
-
}),
|
|
10100
|
+
}), Hm = [
|
|
10091
10101
|
["A1", "A1 - 5 km/h"],
|
|
10092
10102
|
["A2", "A2 - 10 km/h"],
|
|
10093
10103
|
["A3", "A3 - 15 km/h"],
|
|
@@ -10120,40 +10130,40 @@ var jm = /* @__PURE__ */ "3x112,4x98,4x100,4x108,4x110,4x114.3,5x100,5x105,5x108
|
|
|
10120
10130
|
["Y", "Y - 300 km/h"],
|
|
10121
10131
|
["(Y)", "(Y) - above 300 km/h"]
|
|
10122
10132
|
];
|
|
10123
|
-
function
|
|
10133
|
+
function Um({ apiBaseUrl: e, wheelTyreFitmentUrl: t, mode: n }) {
|
|
10124
10134
|
let r = t?.trim();
|
|
10125
|
-
return r ? `${r.replace(/\/+$/, "")}/${n}` :
|
|
10135
|
+
return r ? `${r.replace(/\/+$/, "")}/${n}` : Zp(e, `/api/v1/wheel-tyre-fitments/${n}`);
|
|
10126
10136
|
}
|
|
10127
|
-
function
|
|
10137
|
+
function Wm(e) {
|
|
10128
10138
|
return Object.fromEntries(Object.entries(e).map(([e, t]) => [e, t.trim()]).filter(([, e]) => e));
|
|
10129
10139
|
}
|
|
10130
|
-
function
|
|
10140
|
+
function Gm(e) {
|
|
10131
10141
|
if (!e.wheelDiameterIn || !e.wheelWidthIn) return "";
|
|
10132
10142
|
let t = e.offsetMm ? ` ET${e.offsetMm}` : "";
|
|
10133
10143
|
return `${e.wheelDiameterIn}x${e.wheelWidthIn}${t}`;
|
|
10134
10144
|
}
|
|
10135
|
-
function
|
|
10145
|
+
function Km(e) {
|
|
10136
10146
|
return !e.tyreWidthMm || !e.aspectRatio || !e.rimDiameterIn ? "" : `${e.tyreWidthMm}/${e.aspectRatio}R${e.rimDiameterIn}`;
|
|
10137
10147
|
}
|
|
10138
|
-
function
|
|
10148
|
+
function qm(e) {
|
|
10139
10149
|
let t = !!(e.wheelDiameterIn.trim() && e.wheelWidthIn.trim());
|
|
10140
10150
|
return !!(e.boltPattern.trim() || e.centerBoreMm.trim() || t);
|
|
10141
10151
|
}
|
|
10142
|
-
function
|
|
10152
|
+
function Jm(e) {
|
|
10143
10153
|
return !!(e.tyreWidthMm.trim() && e.aspectRatio.trim() && e.rimDiameterIn.trim() || e.loadIndex.trim() || e.speedRating.trim());
|
|
10144
10154
|
}
|
|
10145
|
-
function
|
|
10146
|
-
return e === "wheel" ? { wheel:
|
|
10155
|
+
function Ym(e, t) {
|
|
10156
|
+
return e === "wheel" ? { wheel: Wm({
|
|
10147
10157
|
bolt_pattern: t.boltPattern,
|
|
10148
|
-
wheel_size:
|
|
10158
|
+
wheel_size: Gm(t),
|
|
10149
10159
|
center_bore_mm: t.centerBoreMm
|
|
10150
|
-
}) } : { tyre:
|
|
10151
|
-
tyre_size:
|
|
10160
|
+
}) } : { tyre: Wm({
|
|
10161
|
+
tyre_size: Km(t),
|
|
10152
10162
|
load_index: t.loadIndex,
|
|
10153
10163
|
speed_rating: t.speedRating
|
|
10154
10164
|
}) };
|
|
10155
10165
|
}
|
|
10156
|
-
function
|
|
10166
|
+
function Xm({ active: e, children: t, onClick: n }) {
|
|
10157
10167
|
return /* @__PURE__ */ h("button", {
|
|
10158
10168
|
type: "button",
|
|
10159
10169
|
className: "garage-tab-trigger relative inline-flex min-h-[calc(100%-1px)] flex-1 items-center justify-center gap-1.5 border border-transparent px-1.5 py-0.5 text-sm font-medium whitespace-nowrap text-foreground/60 transition-all outline-none hover:text-foreground focus-visible:border-ring focus-visible:ring-3 focus-visible:ring-ring/50 focus-visible:outline-1 focus-visible:outline-ring",
|
|
@@ -10162,14 +10172,14 @@ function Ym({ active: e, children: t, onClick: n }) {
|
|
|
10162
10172
|
children: t
|
|
10163
10173
|
});
|
|
10164
10174
|
}
|
|
10165
|
-
function
|
|
10175
|
+
function Zm(e, t) {
|
|
10166
10176
|
let n = e.trim().toLowerCase(), r = t.toLowerCase();
|
|
10167
10177
|
if (!n) return !0;
|
|
10168
10178
|
let i = 0;
|
|
10169
10179
|
for (let e = 0; e < r.length; e += 1) if (r[e] === n[i] && (i += 1, i === n.length)) return !0;
|
|
10170
10180
|
return r.includes(n);
|
|
10171
10181
|
}
|
|
10172
|
-
function
|
|
10182
|
+
function Qm(e) {
|
|
10173
10183
|
return e.map((e) => {
|
|
10174
10184
|
let [t, n] = Array.isArray(e) ? e : [e, e];
|
|
10175
10185
|
return {
|
|
@@ -10178,8 +10188,8 @@ function Zm(e) {
|
|
|
10178
10188
|
};
|
|
10179
10189
|
});
|
|
10180
10190
|
}
|
|
10181
|
-
function
|
|
10182
|
-
let d = l(null), f = l(null), [p, m] = u(!1), [_, v] = u(""), [y, b] = u(!1), [x, S] = u(0), [C, w] = u(null), T = c(() =>
|
|
10191
|
+
function $m({ name: e, label: t, ariaLabel: n = t, placeholder: r, value: i, options: a, portalContainer: o, onChange: s }) {
|
|
10192
|
+
let d = l(null), f = l(null), [p, m] = u(!1), [_, v] = u(""), [y, b] = u(!1), [x, S] = u(0), [C, w] = u(null), T = c(() => Qm(a), [a]), E = T.find((e) => e.value === i) ?? null, D = y ? _ : E?.label ?? "", O = c(() => T.filter((e) => Zm(_, e.label) || Zm(_, e.value)), [T, _]), k = `vehicle-garage-${e.replace(/[^a-z0-9]+/gi, "-")}-options`;
|
|
10183
10193
|
function A(e) {
|
|
10184
10194
|
e && w(d.current?.getBoundingClientRect().width ?? null), m(e), v(""), b(!1), S(0);
|
|
10185
10195
|
}
|
|
@@ -10199,7 +10209,7 @@ function Qm({ name: e, label: t, ariaLabel: n = t, placeholder: r, value: i, opt
|
|
|
10199
10209
|
children: /* @__PURE__ */ g("div", {
|
|
10200
10210
|
ref: d,
|
|
10201
10211
|
className: "relative",
|
|
10202
|
-
children: [/* @__PURE__ */ h(
|
|
10212
|
+
children: [/* @__PURE__ */ h(tp, {
|
|
10203
10213
|
ref: f,
|
|
10204
10214
|
name: e,
|
|
10205
10215
|
value: D,
|
|
@@ -10269,10 +10279,10 @@ function Qm({ name: e, label: t, ariaLabel: n = t, placeholder: r, value: i, opt
|
|
|
10269
10279
|
children: /* @__PURE__ */ g(jo, {
|
|
10270
10280
|
id: k,
|
|
10271
10281
|
role: "listbox",
|
|
10272
|
-
className: "vehicle-garage-theme z-50
|
|
10282
|
+
className: "vehicle-garage-theme z-50 max-h-60 overflow-auto rounded-lg bg-popover p-1 text-popover-foreground shadow-md ring-1 ring-foreground/10 outline-none",
|
|
10273
10283
|
style: C ? { width: C } : void 0,
|
|
10274
10284
|
align: "start",
|
|
10275
|
-
sideOffset:
|
|
10285
|
+
sideOffset: 8,
|
|
10276
10286
|
onOpenAutoFocus: (e) => e.preventDefault(),
|
|
10277
10287
|
children: [/* @__PURE__ */ g("button", {
|
|
10278
10288
|
type: "button",
|
|
@@ -10304,8 +10314,8 @@ function Qm({ name: e, label: t, ariaLabel: n = t, placeholder: r, value: i, opt
|
|
|
10304
10314
|
})]
|
|
10305
10315
|
});
|
|
10306
10316
|
}
|
|
10307
|
-
function
|
|
10308
|
-
let [o, s] = u("wheel"), [l, d] = u(i ? "vehicle" : "specs"), [f, p] = u(
|
|
10317
|
+
function eh({ apiKey: e, apiBaseUrl: t, wheelTyreFitmentUrl: n, portalContainer: r, activeVehicle: i, onWheelTyreFitmentResult: a }) {
|
|
10318
|
+
let [o, s] = u("wheel"), [l, d] = u(i ? "vehicle" : "specs"), [f, p] = u(Am), [m, _] = u(null), [v, y] = u(!1), [b, x] = u(null), S = c(() => o === "wheel" ? qm(f) : Jm(f), [f, o]);
|
|
10309
10319
|
function C(e, t) {
|
|
10310
10320
|
p((n) => ({
|
|
10311
10321
|
...n,
|
|
@@ -10323,7 +10333,7 @@ function $m({ apiKey: e, apiBaseUrl: t, wheelTyreFitmentUrl: n, portalContainer:
|
|
|
10323
10333
|
}
|
|
10324
10334
|
y(!0);
|
|
10325
10335
|
try {
|
|
10326
|
-
let s = await fetch(
|
|
10336
|
+
let s = await fetch(Um({
|
|
10327
10337
|
apiBaseUrl: t,
|
|
10328
10338
|
wheelTyreFitmentUrl: n,
|
|
10329
10339
|
mode: r
|
|
@@ -10333,11 +10343,11 @@ function $m({ apiKey: e, apiBaseUrl: t, wheelTyreFitmentUrl: n, portalContainer:
|
|
|
10333
10343
|
"Content-Type": "application/json",
|
|
10334
10344
|
Authorization: `Bearer ${e}`
|
|
10335
10345
|
},
|
|
10336
|
-
body: JSON.stringify(r === "vehicle" ? { vehicle: i?.vehicle } :
|
|
10346
|
+
body: JSON.stringify(r === "vehicle" ? { vehicle: i?.vehicle } : Ym(o, f))
|
|
10337
10347
|
});
|
|
10338
10348
|
if (!s.ok) throw Error(`Error: ${s.status} ${s.statusText}`);
|
|
10339
10349
|
let c = await s.json();
|
|
10340
|
-
_(c),
|
|
10350
|
+
_(c), zl(c), a?.(c);
|
|
10341
10351
|
} catch (e) {
|
|
10342
10352
|
console.error("[VehicleGarage] Wheel/tyre lookup failed:", e), x(e instanceof Error ? e.message : "Could not resolve wheel/tyre filters.");
|
|
10343
10353
|
} finally {
|
|
@@ -10347,18 +10357,18 @@ function $m({ apiKey: e, apiBaseUrl: t, wheelTyreFitmentUrl: n, portalContainer:
|
|
|
10347
10357
|
return /* @__PURE__ */ g("div", {
|
|
10348
10358
|
className: "flex flex-col gap-5",
|
|
10349
10359
|
children: [
|
|
10350
|
-
b ? /* @__PURE__ */ g(
|
|
10360
|
+
b ? /* @__PURE__ */ g(rp, { children: [
|
|
10351
10361
|
/* @__PURE__ */ h(Ac, {}),
|
|
10352
|
-
/* @__PURE__ */ h(
|
|
10353
|
-
/* @__PURE__ */ h(
|
|
10362
|
+
/* @__PURE__ */ h(ip, { children: "Wheel/tyre search unavailable" }),
|
|
10363
|
+
/* @__PURE__ */ h(ap, { children: b })
|
|
10354
10364
|
] }) : null,
|
|
10355
10365
|
/* @__PURE__ */ g("div", {
|
|
10356
10366
|
className: "garage-tab-list grid grid-cols-2 gap-2",
|
|
10357
|
-
children: [/* @__PURE__ */ h(
|
|
10367
|
+
children: [/* @__PURE__ */ h(Xm, {
|
|
10358
10368
|
active: o === "wheel",
|
|
10359
10369
|
onClick: () => s("wheel"),
|
|
10360
10370
|
children: "Wheels"
|
|
10361
|
-
}), /* @__PURE__ */ h(
|
|
10371
|
+
}), /* @__PURE__ */ h(Xm, {
|
|
10362
10372
|
active: o === "tyre",
|
|
10363
10373
|
onClick: () => s("tyre"),
|
|
10364
10374
|
children: "Tyres"
|
|
@@ -10366,11 +10376,11 @@ function $m({ apiKey: e, apiBaseUrl: t, wheelTyreFitmentUrl: n, portalContainer:
|
|
|
10366
10376
|
}),
|
|
10367
10377
|
/* @__PURE__ */ g("div", {
|
|
10368
10378
|
className: "garage-tab-list grid grid-cols-2 gap-2",
|
|
10369
|
-
children: [/* @__PURE__ */ h(
|
|
10379
|
+
children: [/* @__PURE__ */ h(Xm, {
|
|
10370
10380
|
active: l === "vehicle",
|
|
10371
10381
|
onClick: () => d("vehicle"),
|
|
10372
10382
|
children: "Use current vehicle"
|
|
10373
|
-
}), /* @__PURE__ */ h(
|
|
10383
|
+
}), /* @__PURE__ */ h(Xm, {
|
|
10374
10384
|
active: l === "specs",
|
|
10375
10385
|
onClick: () => d("specs"),
|
|
10376
10386
|
children: "Search by specs"
|
|
@@ -10384,7 +10394,7 @@ function $m({ apiKey: e, apiBaseUrl: t, wheelTyreFitmentUrl: n, portalContainer:
|
|
|
10384
10394
|
className: "text-base/6 font-medium text-foreground sm:text-sm/6",
|
|
10385
10395
|
children: i.description
|
|
10386
10396
|
})
|
|
10387
|
-
}) : null, /* @__PURE__ */ g(
|
|
10397
|
+
}) : null, /* @__PURE__ */ g(_d, {
|
|
10388
10398
|
type: "button",
|
|
10389
10399
|
className: "w-full",
|
|
10390
10400
|
onClick: () => w("vehicle"),
|
|
@@ -10396,31 +10406,31 @@ function $m({ apiKey: e, apiBaseUrl: t, wheelTyreFitmentUrl: n, portalContainer:
|
|
|
10396
10406
|
children: [o === "wheel" ? /* @__PURE__ */ g("div", {
|
|
10397
10407
|
className: "flex flex-col gap-2",
|
|
10398
10408
|
children: [
|
|
10399
|
-
/* @__PURE__ */ h(
|
|
10409
|
+
/* @__PURE__ */ h($m, {
|
|
10400
10410
|
name: "bolt_pattern",
|
|
10401
10411
|
label: "Bolt pattern",
|
|
10402
10412
|
placeholder: "Bolt pattern",
|
|
10403
|
-
options:
|
|
10413
|
+
options: Mm,
|
|
10404
10414
|
portalContainer: r,
|
|
10405
10415
|
value: f.boltPattern,
|
|
10406
10416
|
onChange: (e) => C("boltPattern", e)
|
|
10407
10417
|
}),
|
|
10408
10418
|
/* @__PURE__ */ g("div", {
|
|
10409
10419
|
className: "grid grid-cols-2 gap-2",
|
|
10410
|
-
children: [/* @__PURE__ */ h(
|
|
10420
|
+
children: [/* @__PURE__ */ h($m, {
|
|
10411
10421
|
name: "wheel_diameter_in",
|
|
10412
10422
|
label: "Diameter",
|
|
10413
10423
|
placeholder: "Diameter",
|
|
10414
|
-
options:
|
|
10424
|
+
options: Pm,
|
|
10415
10425
|
portalContainer: r,
|
|
10416
10426
|
value: f.wheelDiameterIn,
|
|
10417
10427
|
onChange: (e) => C("wheelDiameterIn", e)
|
|
10418
|
-
}), /* @__PURE__ */ h(
|
|
10428
|
+
}), /* @__PURE__ */ h($m, {
|
|
10419
10429
|
name: "wheel_width_in",
|
|
10420
10430
|
label: "Width",
|
|
10421
10431
|
ariaLabel: "Wheel width",
|
|
10422
10432
|
placeholder: "Width",
|
|
10423
|
-
options:
|
|
10433
|
+
options: Fm,
|
|
10424
10434
|
portalContainer: r,
|
|
10425
10435
|
value: f.wheelWidthIn,
|
|
10426
10436
|
onChange: (e) => C("wheelWidthIn", e)
|
|
@@ -10428,19 +10438,19 @@ function $m({ apiKey: e, apiBaseUrl: t, wheelTyreFitmentUrl: n, portalContainer:
|
|
|
10428
10438
|
}),
|
|
10429
10439
|
/* @__PURE__ */ g("div", {
|
|
10430
10440
|
className: "grid grid-cols-2 gap-2",
|
|
10431
|
-
children: [/* @__PURE__ */ h(
|
|
10441
|
+
children: [/* @__PURE__ */ h($m, {
|
|
10432
10442
|
name: "offset_mm",
|
|
10433
10443
|
label: "Offset",
|
|
10434
10444
|
placeholder: "Offset",
|
|
10435
|
-
options:
|
|
10445
|
+
options: Im,
|
|
10436
10446
|
portalContainer: r,
|
|
10437
10447
|
value: f.offsetMm,
|
|
10438
10448
|
onChange: (e) => C("offsetMm", e)
|
|
10439
|
-
}), /* @__PURE__ */ h(
|
|
10449
|
+
}), /* @__PURE__ */ h($m, {
|
|
10440
10450
|
name: "center_bore_mm",
|
|
10441
10451
|
label: "Centre bore",
|
|
10442
10452
|
placeholder: "Centre bore",
|
|
10443
|
-
options:
|
|
10453
|
+
options: Nm,
|
|
10444
10454
|
portalContainer: r,
|
|
10445
10455
|
value: f.centerBoreMm,
|
|
10446
10456
|
onChange: (e) => C("centerBoreMm", e)
|
|
@@ -10452,30 +10462,30 @@ function $m({ apiKey: e, apiBaseUrl: t, wheelTyreFitmentUrl: n, portalContainer:
|
|
|
10452
10462
|
children: [/* @__PURE__ */ g("div", {
|
|
10453
10463
|
className: "grid grid-cols-3 gap-2",
|
|
10454
10464
|
children: [
|
|
10455
|
-
/* @__PURE__ */ h(
|
|
10465
|
+
/* @__PURE__ */ h($m, {
|
|
10456
10466
|
name: "tyre_width_mm",
|
|
10457
10467
|
label: "Width",
|
|
10458
10468
|
ariaLabel: "Tyre width",
|
|
10459
10469
|
placeholder: "Width",
|
|
10460
|
-
options:
|
|
10470
|
+
options: Lm,
|
|
10461
10471
|
portalContainer: r,
|
|
10462
10472
|
value: f.tyreWidthMm,
|
|
10463
10473
|
onChange: (e) => C("tyreWidthMm", e)
|
|
10464
10474
|
}),
|
|
10465
|
-
/* @__PURE__ */ h(
|
|
10475
|
+
/* @__PURE__ */ h($m, {
|
|
10466
10476
|
name: "aspect_ratio",
|
|
10467
10477
|
label: "Aspect ratio",
|
|
10468
10478
|
placeholder: "Aspect ratio",
|
|
10469
|
-
options:
|
|
10479
|
+
options: Rm,
|
|
10470
10480
|
portalContainer: r,
|
|
10471
10481
|
value: f.aspectRatio,
|
|
10472
10482
|
onChange: (e) => C("aspectRatio", e)
|
|
10473
10483
|
}),
|
|
10474
|
-
/* @__PURE__ */ h(
|
|
10484
|
+
/* @__PURE__ */ h($m, {
|
|
10475
10485
|
name: "rim_diameter_in",
|
|
10476
10486
|
label: "Rim",
|
|
10477
10487
|
placeholder: "Rim",
|
|
10478
|
-
options:
|
|
10488
|
+
options: zm,
|
|
10479
10489
|
portalContainer: r,
|
|
10480
10490
|
value: f.rimDiameterIn,
|
|
10481
10491
|
onChange: (e) => C("rimDiameterIn", e)
|
|
@@ -10483,25 +10493,25 @@ function $m({ apiKey: e, apiBaseUrl: t, wheelTyreFitmentUrl: n, portalContainer:
|
|
|
10483
10493
|
]
|
|
10484
10494
|
}), /* @__PURE__ */ g("div", {
|
|
10485
10495
|
className: "grid grid-cols-2 gap-2",
|
|
10486
|
-
children: [/* @__PURE__ */ h(
|
|
10496
|
+
children: [/* @__PURE__ */ h($m, {
|
|
10487
10497
|
name: "load_index",
|
|
10488
10498
|
label: "Load index",
|
|
10489
10499
|
placeholder: "Load index",
|
|
10490
|
-
options:
|
|
10500
|
+
options: Vm,
|
|
10491
10501
|
portalContainer: r,
|
|
10492
10502
|
value: f.loadIndex,
|
|
10493
10503
|
onChange: (e) => C("loadIndex", e)
|
|
10494
|
-
}), /* @__PURE__ */ h(
|
|
10504
|
+
}), /* @__PURE__ */ h($m, {
|
|
10495
10505
|
name: "speed_rating",
|
|
10496
10506
|
label: "Speed rating",
|
|
10497
10507
|
placeholder: "Speed rating",
|
|
10498
|
-
options:
|
|
10508
|
+
options: Hm,
|
|
10499
10509
|
portalContainer: r,
|
|
10500
10510
|
value: f.speedRating,
|
|
10501
10511
|
onChange: (e) => C("speedRating", e)
|
|
10502
10512
|
})]
|
|
10503
10513
|
})]
|
|
10504
|
-
}), /* @__PURE__ */ g(
|
|
10514
|
+
}), /* @__PURE__ */ g(_d, {
|
|
10505
10515
|
type: "button",
|
|
10506
10516
|
className: "w-full",
|
|
10507
10517
|
onClick: () => w("specs"),
|
|
@@ -10524,7 +10534,7 @@ function $m({ apiKey: e, apiBaseUrl: t, wheelTyreFitmentUrl: n, portalContainer:
|
|
|
10524
10534
|
}
|
|
10525
10535
|
//#endregion
|
|
10526
10536
|
//#region src/components/vehicle-garage/GridCheckersIcon.tsx
|
|
10527
|
-
function
|
|
10537
|
+
function th({ title: e, ...t }) {
|
|
10528
10538
|
return /* @__PURE__ */ g("svg", {
|
|
10529
10539
|
xmlns: "http://www.w3.org/2000/svg",
|
|
10530
10540
|
width: "16",
|
|
@@ -10590,7 +10600,7 @@ function eh({ title: e, ...t }) {
|
|
|
10590
10600
|
}
|
|
10591
10601
|
//#endregion
|
|
10592
10602
|
//#region src/components/vehicle-garage/PartbotLogo.tsx
|
|
10593
|
-
function
|
|
10603
|
+
function nh({ className: e, label: t = "Partbot" }) {
|
|
10594
10604
|
return /* @__PURE__ */ h("span", {
|
|
10595
10605
|
className: e,
|
|
10596
10606
|
role: "img",
|
|
@@ -10657,11 +10667,11 @@ function th({ className: e, label: t = "Partbot" }) {
|
|
|
10657
10667
|
}
|
|
10658
10668
|
//#endregion
|
|
10659
10669
|
//#region src/components/vehicle-garage/VehicleGarage.tsx
|
|
10660
|
-
var
|
|
10670
|
+
var rh = "https://use.partbot.io/?utm_source=vehicle-garage&utm_medium=referral&utm_campaign=powered-by&utm_content=drawer-footer", ih = [
|
|
10661
10671
|
"make",
|
|
10662
10672
|
"model",
|
|
10663
10673
|
"year"
|
|
10664
|
-
],
|
|
10674
|
+
], ah = [
|
|
10665
10675
|
"body",
|
|
10666
10676
|
"series",
|
|
10667
10677
|
"variant",
|
|
@@ -10671,27 +10681,27 @@ var nh = "https://use.partbot.io/?utm_source=vehicle-garage&utm_medium=referral&
|
|
|
10671
10681
|
"drivetrain",
|
|
10672
10682
|
"cylinders"
|
|
10673
10683
|
];
|
|
10674
|
-
function
|
|
10675
|
-
if (typeof window > "u") return
|
|
10676
|
-
let e = new URL(
|
|
10684
|
+
function oh() {
|
|
10685
|
+
if (typeof window > "u") return rh;
|
|
10686
|
+
let e = new URL(rh);
|
|
10677
10687
|
return e.searchParams.set("ref", window.location.hostname || "unknown"), e.toString();
|
|
10678
10688
|
}
|
|
10679
|
-
function
|
|
10689
|
+
function sh(e) {
|
|
10680
10690
|
return e !== !1 && String(e).trim().toLowerCase() !== "false";
|
|
10681
10691
|
}
|
|
10682
|
-
function
|
|
10692
|
+
function ch(e, t) {
|
|
10683
10693
|
return e === t || String(e).trim().toLowerCase() === String(t);
|
|
10684
10694
|
}
|
|
10685
|
-
function
|
|
10686
|
-
return
|
|
10695
|
+
function lh({ showBranding: e, hideBranding: t }) {
|
|
10696
|
+
return ch(t, !0) ? !1 : !ch(e, !1);
|
|
10687
10697
|
}
|
|
10688
|
-
function
|
|
10698
|
+
function uh(e, t) {
|
|
10689
10699
|
return t === "wheels" ? !0 : e === !0 || String(e).trim().toLowerCase() === "true";
|
|
10690
10700
|
}
|
|
10691
|
-
function
|
|
10701
|
+
function dh(e, t) {
|
|
10692
10702
|
return e === "garage" || e === "wheels" && !t ? "plate" : e;
|
|
10693
10703
|
}
|
|
10694
|
-
function
|
|
10704
|
+
function fh({ dataIcon: e, iconUrl: t }) {
|
|
10695
10705
|
let n = t?.trim();
|
|
10696
10706
|
return n ? /* @__PURE__ */ h("img", {
|
|
10697
10707
|
src: n,
|
|
@@ -10703,47 +10713,47 @@ function dh({ dataIcon: e, iconUrl: t }) {
|
|
|
10703
10713
|
"data-vehicle-garage-icon": "",
|
|
10704
10714
|
className: "vehicle-garage-icon",
|
|
10705
10715
|
style: { aspectRatio: "1 / 1" }
|
|
10706
|
-
}) : /* @__PURE__ */ h(
|
|
10716
|
+
}) : /* @__PURE__ */ h(th, {
|
|
10707
10717
|
"data-icon": e,
|
|
10708
10718
|
"data-vehicle-garage-icon": "",
|
|
10709
10719
|
className: "vehicle-garage-icon",
|
|
10710
10720
|
style: { aspectRatio: "1 / 1" }
|
|
10711
10721
|
});
|
|
10712
10722
|
}
|
|
10713
|
-
function
|
|
10723
|
+
function ph(e, t) {
|
|
10714
10724
|
return t == null || t === "" || typeof t == "object" ? null : e === "cylinders" ? `${t}cyl` : String(t);
|
|
10715
10725
|
}
|
|
10716
|
-
function ph(e) {
|
|
10717
|
-
return rh.map((t) => fh(t, e.vehicle[t])).filter(Boolean).join(" ") || e.description;
|
|
10718
|
-
}
|
|
10719
10726
|
function mh(e) {
|
|
10720
|
-
return ih.map((t) =>
|
|
10727
|
+
return ih.map((t) => ph(t, e.vehicle[t])).filter(Boolean).join(" ") || e.description;
|
|
10721
10728
|
}
|
|
10722
10729
|
function hh(e) {
|
|
10723
|
-
return
|
|
10730
|
+
return ah.map((t) => ph(t, e[t])).filter(Boolean).join(" ");
|
|
10724
10731
|
}
|
|
10725
10732
|
function gh(e) {
|
|
10733
|
+
return [hh(e.vehicle), e.plate ? `${e.plate.state} ${e.plate.number}` : null].filter(Boolean).join(" · ");
|
|
10734
|
+
}
|
|
10735
|
+
function _h(e) {
|
|
10726
10736
|
return {
|
|
10727
10737
|
description: e.description || al(e.vehicle),
|
|
10728
10738
|
vehicle_ids: e.vehicle_ids,
|
|
10729
10739
|
vehicle: e.vehicle
|
|
10730
10740
|
};
|
|
10731
10741
|
}
|
|
10732
|
-
function
|
|
10742
|
+
function vh(e) {
|
|
10733
10743
|
return {
|
|
10734
10744
|
activeVehicle: e.vehicles.find((t) => t.key === e.activeKey) ?? null,
|
|
10735
10745
|
vehicles: e.vehicles,
|
|
10736
10746
|
source: e.vehicles.find((t) => t.key === e.activeKey)?.source ?? null
|
|
10737
10747
|
};
|
|
10738
10748
|
}
|
|
10739
|
-
function
|
|
10749
|
+
function yh(e) {
|
|
10740
10750
|
return e.source !== "plate" || !e.plate ? null : {
|
|
10741
10751
|
state: e.plate.state,
|
|
10742
10752
|
plate: { number: e.plate.number },
|
|
10743
10753
|
factory_vehicle: e.vehicle
|
|
10744
10754
|
};
|
|
10745
10755
|
}
|
|
10746
|
-
function
|
|
10756
|
+
function bh(e, t, n) {
|
|
10747
10757
|
let r = e.vehicles.find((e) => ll(e, t)), i = r ? e.vehicles.map((e) => e.key === r.key ? {
|
|
10748
10758
|
...e,
|
|
10749
10759
|
...t,
|
|
@@ -10760,8 +10770,8 @@ function yh(e, t, n) {
|
|
|
10760
10770
|
activeVehicle: a
|
|
10761
10771
|
};
|
|
10762
10772
|
}
|
|
10763
|
-
function
|
|
10764
|
-
let me =
|
|
10773
|
+
function xh({ apiKey: e, callbackUrl: t, productsUrl: n, themeColor: r, buttonColor: o, buttonHoverColor: s, buttonLabelColor: l, buttonHoverLabelColor: d, themeTextColor: f, mobileBackgroundColor: p, borderColor: _, overlayColor: v, overlayOpacity: y, overlayBlur: b, radius: x, buttonBorderRadius: S, fontFamily: C, fontSize: w, padding: T, inputShadow: E, inputBorderColor: D, inputBorderWidth: O, buttonTheme: k = "light", useGeolocation: A, geocodeApiKey: j, placeholder: M, intro: N, supportMessage: P, actionButtonLabel: F = "Show Products", demoMode: I, modal: L = !0, isOpen: R, onOpenChange: z, hideDefaultButton: ee = !1, onModalClose: B, autoCloseOnSelect: V = !0, closeOnInteractOutside: te = !0, triggerLabel: ne = "Garage", showGarageIcon: H = !0, garageIconUrl: re, showBranding: ie = !0, hideBranding: ae = !1, drawerSide: oe = "right", defaultTab: se = "plate", apiBaseUrl: U, wheelTyreFitmentUrl: ce, showWheelTyreTab: le, onWheelTyreFitmentResult: ue, garageLimit: de = 4, onVehicleActivate: fe, onGarageChange: pe, portalContainer: W, ...G }) {
|
|
10774
|
+
let me = uh(le, se), he = dh(se, me), [ge, _e] = u(!1), [ve, ye] = u(he), [K, be] = u(null), [xe, Se] = u(!1), [q, Ce] = u(() => Sl()), we = c(() => Xc({
|
|
10765
10775
|
themeColor: r,
|
|
10766
10776
|
buttonColor: o,
|
|
10767
10777
|
buttonHoverColor: s,
|
|
@@ -10801,30 +10811,16 @@ function bh({ apiKey: e, callbackUrl: t, productsUrl: n, themeColor: r, buttonCo
|
|
|
10801
10811
|
T,
|
|
10802
10812
|
x,
|
|
10803
10813
|
r
|
|
10804
|
-
]), Te = c(() =>
|
|
10814
|
+
]), Te = c(() => oh(), []), Ee = i((e) => {
|
|
10805
10815
|
be(e);
|
|
10806
|
-
}, []), De = R !== void 0, Oe = De ? !!R : ge, ke = oe === "left" ? "left" : "right", Ae =
|
|
10816
|
+
}, []), De = R !== void 0, Oe = De ? !!R : ge, ke = oe === "left" ? "left" : "right", Ae = sh(H), je = lh({
|
|
10807
10817
|
showBranding: ie,
|
|
10808
10818
|
hideBranding: ae
|
|
10809
|
-
}), Me = q.vehicles.find((e) => e.key === q.activeKey) ?? null
|
|
10810
|
-
|
|
10811
|
-
|
|
10812
|
-
selection: Me.vehicle,
|
|
10813
|
-
modifyQueryString: G.modifyQueryString,
|
|
10814
|
-
vehicleScopeTokens: G.vehicleScopeTokens,
|
|
10815
|
-
yearTokens: G.yearTokens
|
|
10816
|
-
});
|
|
10817
|
-
}, [
|
|
10818
|
-
Me,
|
|
10819
|
-
G.modifyQueryString,
|
|
10820
|
-
G.vehicleScopeTokens,
|
|
10821
|
-
G.yearTokens
|
|
10822
|
-
]);
|
|
10823
|
-
let J = i((e) => {
|
|
10824
|
-
let t = _h(e);
|
|
10825
|
-
Fl(t), pe?.(t);
|
|
10819
|
+
}), Me = q.vehicles.find((e) => e.key === q.activeKey) ?? null, J = i((e) => {
|
|
10820
|
+
let t = vh(e);
|
|
10821
|
+
Il(t), pe?.(t);
|
|
10826
10822
|
}, [pe]), Ne = i((e) => {
|
|
10827
|
-
De || _e(e), z?.(e), e || (
|
|
10823
|
+
De || _e(e), z?.(e), e || (Rl(), B?.());
|
|
10828
10824
|
}, [
|
|
10829
10825
|
De,
|
|
10830
10826
|
B,
|
|
@@ -10832,7 +10828,7 @@ function bh({ apiKey: e, callbackUrl: t, productsUrl: n, themeColor: r, buttonCo
|
|
|
10832
10828
|
]), Pe = i((e) => {
|
|
10833
10829
|
te || e.preventDefault();
|
|
10834
10830
|
}, [te]), Fe = i(({ source: e, nextState: n, vehicle: r, plateDetails: i, closeAfter: a = V, emitLegacySelection: o = !0 }) => {
|
|
10835
|
-
if (hl(n), Ce(n), _l(
|
|
10831
|
+
if (hl(n), Ce(n), _l(_h(r)), e === "plate" ? bl(i ?? yh(r) ?? {}) : xl(), o && Fl(e, r), J(n), fe?.({
|
|
10836
10832
|
source: e,
|
|
10837
10833
|
vehicle: r,
|
|
10838
10834
|
vehicles: n.vehicles
|
|
@@ -10843,7 +10839,7 @@ function bh({ apiKey: e, callbackUrl: t, productsUrl: n, themeColor: r, buttonCo
|
|
|
10843
10839
|
selection: r.vehicle,
|
|
10844
10840
|
vehicleScopeTokens: G.vehicleScopeTokens,
|
|
10845
10841
|
yearTokens: G.yearTokens
|
|
10846
|
-
}) :
|
|
10842
|
+
}) : Bl(t);
|
|
10847
10843
|
window.location.href = e;
|
|
10848
10844
|
return;
|
|
10849
10845
|
}
|
|
@@ -10859,7 +10855,7 @@ function bh({ apiKey: e, callbackUrl: t, productsUrl: n, themeColor: r, buttonCo
|
|
|
10859
10855
|
]), Ie = i(({ source: e, legacyVehicle: t, plateDetails: n, closeAfter: r }) => {
|
|
10860
10856
|
let i = ul(t);
|
|
10861
10857
|
if (!i) return !1;
|
|
10862
|
-
let a =
|
|
10858
|
+
let a = bh(q, dl({
|
|
10863
10859
|
legacyVehicle: i,
|
|
10864
10860
|
source: e,
|
|
10865
10861
|
plateDetails: n
|
|
@@ -10878,7 +10874,7 @@ function bh({ apiKey: e, callbackUrl: t, productsUrl: n, themeColor: r, buttonCo
|
|
|
10878
10874
|
]), Le = i((e) => {
|
|
10879
10875
|
let t = gl();
|
|
10880
10876
|
if (!t) return;
|
|
10881
|
-
let n =
|
|
10877
|
+
let n = bh(q, dl({
|
|
10882
10878
|
legacyVehicle: t,
|
|
10883
10879
|
source: e,
|
|
10884
10880
|
plateDetails: e === "plate" ? yl() : null
|
|
@@ -10893,7 +10889,7 @@ function bh({ apiKey: e, callbackUrl: t, productsUrl: n, themeColor: r, buttonCo
|
|
|
10893
10889
|
activeKey: t.key
|
|
10894
10890
|
},
|
|
10895
10891
|
vehicle: t,
|
|
10896
|
-
plateDetails:
|
|
10892
|
+
plateDetails: yh(t)
|
|
10897
10893
|
});
|
|
10898
10894
|
}, [Fe, q]), ze = i((e) => {
|
|
10899
10895
|
if (!e) return;
|
|
@@ -10911,17 +10907,24 @@ function bh({ apiKey: e, callbackUrl: t, productsUrl: n, themeColor: r, buttonCo
|
|
|
10911
10907
|
source: r.source,
|
|
10912
10908
|
nextState: i,
|
|
10913
10909
|
vehicle: r,
|
|
10914
|
-
plateDetails:
|
|
10910
|
+
plateDetails: yh(r),
|
|
10915
10911
|
closeAfter: !1,
|
|
10916
10912
|
emitLegacySelection: !1
|
|
10917
10913
|
});
|
|
10918
10914
|
return;
|
|
10919
10915
|
}
|
|
10920
|
-
vl(), xl(), hl(i), Ce(i),
|
|
10916
|
+
vl(), xl(), hl(i), Ce(i), Nl({
|
|
10917
|
+
modifyQueryString: G.modifyQueryString,
|
|
10918
|
+
vehicleScopeTokens: G.vehicleScopeTokens,
|
|
10919
|
+
yearTokens: G.yearTokens
|
|
10920
|
+
}), Ll(), J(i);
|
|
10921
10921
|
}, [
|
|
10922
10922
|
Fe,
|
|
10923
10923
|
J,
|
|
10924
|
-
q
|
|
10924
|
+
q,
|
|
10925
|
+
G.modifyQueryString,
|
|
10926
|
+
G.vehicleScopeTokens,
|
|
10927
|
+
G.yearTokens
|
|
10925
10928
|
]);
|
|
10926
10929
|
return a(() => {
|
|
10927
10930
|
ml().vehicles.length === 0 && q.vehicles.length > 0 && hl(q);
|
|
@@ -10942,28 +10945,37 @@ function bh({ apiKey: e, callbackUrl: t, productsUrl: n, themeColor: r, buttonCo
|
|
|
10942
10945
|
activeKey: null
|
|
10943
10946
|
};
|
|
10944
10947
|
return hl(t), t;
|
|
10945
|
-
}), vl(), xl()
|
|
10948
|
+
}), vl(), xl(), Nl({
|
|
10949
|
+
modifyQueryString: G.modifyQueryString,
|
|
10950
|
+
vehicleScopeTokens: G.vehicleScopeTokens,
|
|
10951
|
+
yearTokens: G.yearTokens
|
|
10952
|
+
});
|
|
10946
10953
|
}
|
|
10947
10954
|
return window.addEventListener("storage", e), window.addEventListener("plate-search-change", t), window.addEventListener("vehicle-search-change", n), document.addEventListener("partbot-clear-vehicle", r), () => {
|
|
10948
10955
|
window.removeEventListener("storage", e), window.removeEventListener("plate-search-change", t), window.removeEventListener("vehicle-search-change", n), document.removeEventListener("partbot-clear-vehicle", r);
|
|
10949
10956
|
};
|
|
10950
|
-
}, [
|
|
10957
|
+
}, [
|
|
10958
|
+
G.modifyQueryString,
|
|
10959
|
+
G.vehicleScopeTokens,
|
|
10960
|
+
G.yearTokens,
|
|
10961
|
+
Le
|
|
10962
|
+
]), /* @__PURE__ */ g("div", {
|
|
10951
10963
|
className: "vehicle-garage-theme",
|
|
10952
10964
|
style: we,
|
|
10953
|
-
children: [ee ? null : /* @__PURE__ */ g(
|
|
10965
|
+
children: [ee ? null : /* @__PURE__ */ g(_d, {
|
|
10954
10966
|
type: "button",
|
|
10955
10967
|
variant: k === "dark" ? "default" : "outline",
|
|
10956
10968
|
size: "lg",
|
|
10957
10969
|
onClick: () => Ne(!Oe),
|
|
10958
|
-
children: [Ae ? /* @__PURE__ */ h(
|
|
10970
|
+
children: [Ae ? /* @__PURE__ */ h(fh, {
|
|
10959
10971
|
dataIcon: "inline-start",
|
|
10960
10972
|
iconUrl: re
|
|
10961
10973
|
}) : null, ne]
|
|
10962
|
-
}), /* @__PURE__ */ h(
|
|
10974
|
+
}), /* @__PURE__ */ h(xd, {
|
|
10963
10975
|
open: Oe,
|
|
10964
10976
|
onOpenChange: Ne,
|
|
10965
10977
|
modal: L,
|
|
10966
|
-
children: /* @__PURE__ */ h(
|
|
10978
|
+
children: /* @__PURE__ */ h(wd, {
|
|
10967
10979
|
ref: Ee,
|
|
10968
10980
|
side: ke,
|
|
10969
10981
|
container: W,
|
|
@@ -10973,14 +10985,14 @@ function bh({ apiKey: e, callbackUrl: t, productsUrl: n, themeColor: r, buttonCo
|
|
|
10973
10985
|
onInteractOutside: Pe,
|
|
10974
10986
|
children: /* @__PURE__ */ g("div", {
|
|
10975
10987
|
className: "flex h-full min-h-0 flex-col",
|
|
10976
|
-
children: [/* @__PURE__ */ g(
|
|
10988
|
+
children: [/* @__PURE__ */ g(Td, {
|
|
10977
10989
|
className: "gap-3 border-b px-5 py-4",
|
|
10978
10990
|
children: [/* @__PURE__ */ g("div", {
|
|
10979
10991
|
className: "flex min-w-0 flex-col gap-1",
|
|
10980
|
-
children: [/* @__PURE__ */ g(
|
|
10992
|
+
children: [/* @__PURE__ */ g(Ed, {
|
|
10981
10993
|
className: "flex items-center gap-2",
|
|
10982
|
-
children: [Ae ? /* @__PURE__ */ h(
|
|
10983
|
-
}), /* @__PURE__ */ h(
|
|
10994
|
+
children: [Ae ? /* @__PURE__ */ h(fh, { iconUrl: re }) : null, /* @__PURE__ */ h("span", { children: "Garage" })]
|
|
10995
|
+
}), /* @__PURE__ */ h(Dd, {
|
|
10984
10996
|
className: "sr-only",
|
|
10985
10997
|
children: "Search by plate, browse vehicle details, or revisit saved vehicles."
|
|
10986
10998
|
})]
|
|
@@ -11002,10 +11014,10 @@ function bh({ apiKey: e, callbackUrl: t, productsUrl: n, themeColor: r, buttonCo
|
|
|
11002
11014
|
className: "flex min-w-0 flex-col gap-1",
|
|
11003
11015
|
children: [/* @__PURE__ */ h("span", {
|
|
11004
11016
|
className: "line-clamp-1 text-sm leading-snug font-medium text-foreground",
|
|
11005
|
-
children: Me ?
|
|
11006
|
-
}), Me &&
|
|
11017
|
+
children: Me ? mh(Me) : "Select vehicle"
|
|
11018
|
+
}), Me && gh(Me) ? /* @__PURE__ */ h("span", {
|
|
11007
11019
|
className: "line-clamp-2 text-xs leading-snug text-muted-foreground",
|
|
11008
|
-
children:
|
|
11020
|
+
children: gh(Me)
|
|
11009
11021
|
}) : null]
|
|
11010
11022
|
}), /* @__PURE__ */ h(Tc, { className: "shrink-0 text-muted-foreground" })]
|
|
11011
11023
|
})
|
|
@@ -11017,7 +11029,7 @@ function bh({ apiKey: e, callbackUrl: t, productsUrl: n, themeColor: r, buttonCo
|
|
|
11017
11029
|
sideOffset: 4,
|
|
11018
11030
|
onOpenAutoFocus: (e) => e.preventDefault(),
|
|
11019
11031
|
children: q.vehicles.map((e) => {
|
|
11020
|
-
let t = e.key === q.activeKey, n =
|
|
11032
|
+
let t = e.key === q.activeKey, n = mh(e), r = gh(e);
|
|
11021
11033
|
return /* @__PURE__ */ g("div", {
|
|
11022
11034
|
className: "flex min-w-0 items-stretch gap-1 rounded-md focus-within:bg-accent focus-within:text-accent-foreground hover:bg-accent hover:text-accent-foreground",
|
|
11023
11035
|
children: [/* @__PURE__ */ g("button", {
|
|
@@ -11058,35 +11070,35 @@ function bh({ apiKey: e, callbackUrl: t, productsUrl: n, themeColor: r, buttonCo
|
|
|
11058
11070
|
}), /* @__PURE__ */ g("div", {
|
|
11059
11071
|
className: "flex flex-1 flex-col gap-5 overflow-hidden px-5 py-4",
|
|
11060
11072
|
children: [
|
|
11061
|
-
/* @__PURE__ */ g(
|
|
11073
|
+
/* @__PURE__ */ g(Od, {
|
|
11062
11074
|
value: ve,
|
|
11063
11075
|
onValueChange: (e) => ye(e),
|
|
11064
11076
|
className: "flex min-h-0 flex-1 flex-col overflow-hidden",
|
|
11065
11077
|
children: [
|
|
11066
|
-
/* @__PURE__ */ g(
|
|
11078
|
+
/* @__PURE__ */ g(Ad, {
|
|
11067
11079
|
className: me ? "garage-tab-list grid w-full grid-cols-3" : "garage-tab-list grid w-full grid-cols-2",
|
|
11068
11080
|
children: [
|
|
11069
|
-
/* @__PURE__ */ h(
|
|
11081
|
+
/* @__PURE__ */ h(jd, {
|
|
11070
11082
|
className: "garage-tab-trigger",
|
|
11071
11083
|
value: "plate",
|
|
11072
11084
|
children: "Plate"
|
|
11073
11085
|
}),
|
|
11074
|
-
/* @__PURE__ */ h(
|
|
11086
|
+
/* @__PURE__ */ h(jd, {
|
|
11075
11087
|
className: "garage-tab-trigger",
|
|
11076
11088
|
value: "mmy",
|
|
11077
11089
|
children: "Vehicle"
|
|
11078
11090
|
}),
|
|
11079
|
-
me ? /* @__PURE__ */ h(
|
|
11091
|
+
me ? /* @__PURE__ */ h(jd, {
|
|
11080
11092
|
className: "garage-tab-trigger",
|
|
11081
11093
|
value: "wheels",
|
|
11082
11094
|
children: "Wheels & Tyres"
|
|
11083
11095
|
}) : null
|
|
11084
11096
|
]
|
|
11085
11097
|
}),
|
|
11086
|
-
/* @__PURE__ */ h(
|
|
11098
|
+
/* @__PURE__ */ h(Md, {
|
|
11087
11099
|
value: "plate",
|
|
11088
11100
|
className: "garage-tab-scroll min-h-0 flex-1 overflow-auto",
|
|
11089
|
-
children: /* @__PURE__ */ h(
|
|
11101
|
+
children: /* @__PURE__ */ h(Ep, {
|
|
11090
11102
|
apiKey: e,
|
|
11091
11103
|
geocodeApiKey: j,
|
|
11092
11104
|
drawerOpen: Oe,
|
|
@@ -11107,10 +11119,10 @@ function bh({ apiKey: e, callbackUrl: t, productsUrl: n, themeColor: r, buttonCo
|
|
|
11107
11119
|
})
|
|
11108
11120
|
})
|
|
11109
11121
|
}),
|
|
11110
|
-
/* @__PURE__ */ h(
|
|
11122
|
+
/* @__PURE__ */ h(Md, {
|
|
11111
11123
|
value: "mmy",
|
|
11112
11124
|
className: "garage-tab-scroll min-h-0 flex-1 overflow-auto",
|
|
11113
|
-
children: /* @__PURE__ */ h(
|
|
11125
|
+
children: /* @__PURE__ */ h(km, {
|
|
11114
11126
|
apiKey: e,
|
|
11115
11127
|
apiBaseUrl: U,
|
|
11116
11128
|
activeVehicle: Me,
|
|
@@ -11123,10 +11135,10 @@ function bh({ apiKey: e, callbackUrl: t, productsUrl: n, themeColor: r, buttonCo
|
|
|
11123
11135
|
...G
|
|
11124
11136
|
})
|
|
11125
11137
|
}),
|
|
11126
|
-
me ? /* @__PURE__ */ h(
|
|
11138
|
+
me ? /* @__PURE__ */ h(Md, {
|
|
11127
11139
|
value: "wheels",
|
|
11128
11140
|
className: "garage-tab-scroll min-h-0 flex-1 overflow-auto",
|
|
11129
|
-
children: /* @__PURE__ */ h(
|
|
11141
|
+
children: /* @__PURE__ */ h(eh, {
|
|
11130
11142
|
apiKey: e,
|
|
11131
11143
|
apiBaseUrl: U,
|
|
11132
11144
|
wheelTyreFitmentUrl: ce,
|
|
@@ -11137,9 +11149,9 @@ function bh({ apiKey: e, callbackUrl: t, productsUrl: n, themeColor: r, buttonCo
|
|
|
11137
11149
|
}) : null
|
|
11138
11150
|
]
|
|
11139
11151
|
}),
|
|
11140
|
-
n && Me && !(ve === "plate" && Me.source === "plate") ? /* @__PURE__ */ g(m, { children: [/* @__PURE__ */ h(
|
|
11152
|
+
n && Me && !(ve === "plate" && Me.source === "plate") ? /* @__PURE__ */ g(m, { children: [/* @__PURE__ */ h(Nd, {}), /* @__PURE__ */ h(_d, {
|
|
11141
11153
|
className: "w-full",
|
|
11142
|
-
onClick: () =>
|
|
11154
|
+
onClick: () => Vl(n),
|
|
11143
11155
|
children: F
|
|
11144
11156
|
})] }) : null,
|
|
11145
11157
|
je ? /* @__PURE__ */ h("div", {
|
|
@@ -11150,7 +11162,7 @@ function bh({ apiKey: e, callbackUrl: t, productsUrl: n, themeColor: r, buttonCo
|
|
|
11150
11162
|
rel: "noreferrer",
|
|
11151
11163
|
"aria-label": "Powered by Partbot",
|
|
11152
11164
|
className: "mx-auto inline-flex items-center justify-center gap-1.5 text-[10px] leading-none font-medium text-muted-foreground no-underline opacity-65 transition-opacity hover:opacity-100 focus-visible:opacity-100 focus-visible:ring-2 focus-visible:ring-ring focus-visible:ring-offset-2 focus-visible:outline-none",
|
|
11153
|
-
children: [/* @__PURE__ */ h("span", { children: "Powered by" }), /* @__PURE__ */ h(
|
|
11165
|
+
children: [/* @__PURE__ */ h("span", { children: "Powered by" }), /* @__PURE__ */ h(nh, { className: "inline-flex h-3.5 text-current" })]
|
|
11154
11166
|
})
|
|
11155
11167
|
}) : null
|
|
11156
11168
|
]
|
|
@@ -11162,24 +11174,24 @@ function bh({ apiKey: e, callbackUrl: t, productsUrl: n, themeColor: r, buttonCo
|
|
|
11162
11174
|
}
|
|
11163
11175
|
//#endregion
|
|
11164
11176
|
//#region src/index.css?inline
|
|
11165
|
-
var xh = "/*! tailwindcss v4.3.0 | MIT License | https://tailwindcss.com */\n@layer properties{@supports (((-webkit-hyphens:none)) and (not (margin-trim:inline))) or ((-moz-orient:inline) and (not (color:rgb(from red r g b)))){*,:before,:after,::backdrop{--tw-animation-delay:0s;--tw-animation-direction:normal;--tw-animation-duration:initial;--tw-animation-fill-mode:none;--tw-animation-iteration-count:1;--tw-enter-blur:0;--tw-enter-opacity:1;--tw-enter-rotate:0;--tw-enter-scale:1;--tw-enter-translate-x:0;--tw-enter-translate-y:0;--tw-exit-blur:0;--tw-exit-opacity:1;--tw-exit-rotate:0;--tw-exit-scale:1;--tw-exit-translate-x:0;--tw-exit-translate-y:0;--tw-rotate-x:initial;--tw-rotate-y:initial;--tw-rotate-z:initial;--tw-skew-x:initial;--tw-skew-y:initial;--tw-border-style:solid;--tw-leading:initial;--tw-font-weight:initial;--tw-tracking:initial;--tw-shadow:0 0 #0000;--tw-shadow-color:initial;--tw-shadow-alpha:100%;--tw-inset-shadow:0 0 #0000;--tw-inset-shadow-color:initial;--tw-inset-shadow-alpha:100%;--tw-ring-color:initial;--tw-ring-shadow:0 0 #0000;--tw-inset-ring-color:initial;--tw-inset-ring-shadow:0 0 #0000;--tw-ring-inset:initial;--tw-ring-offset-width:0px;--tw-ring-offset-color:#fff;--tw-ring-offset-shadow:0 0 #0000;--tw-outline-style:solid;--tw-blur:initial;--tw-brightness:initial;--tw-contrast:initial;--tw-grayscale:initial;--tw-hue-rotate:initial;--tw-invert:initial;--tw-opacity:initial;--tw-saturate:initial;--tw-sepia:initial;--tw-drop-shadow:initial;--tw-drop-shadow-color:initial;--tw-drop-shadow-alpha:100%;--tw-drop-shadow-size:initial;--tw-duration:initial;--tw-content:\"\";--tw-translate-x:0;--tw-translate-y:0;--tw-translate-z:0}}}@layer theme{:root,:host{--font-sans:\"Segoe UI\", ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, sans-serif;--color-white:#fff;--spacing:4px;--font-weight-normal:400;--font-weight-medium:500;--font-weight-semibold:600;--leading-tight:1.25;--leading-snug:1.375;--leading-normal:1.5;--leading-relaxed:1.625;--radius-md:calc(var(--radius) * .8);--animate-spin:spin 1s linear infinite;--default-transition-duration:.15s;--default-transition-timing-function:cubic-bezier(.4, 0, .2, 1);--font-license:\"License Plate\", var(--font-sans)}}@layer base{.vehicle-garage-theme,.vehicle-garage-theme *,.vehicle-garage-theme :before,.vehicle-garage-theme :after,.vehicle-garage-theme ::backdrop{box-sizing:border-box;border:0 solid}.vehicle-garage-theme *,.vehicle-garage-theme :before,.vehicle-garage-theme :after,.vehicle-garage-theme ::backdrop{border-color:var(--border);outline-color:var(--ring)}@supports (color:color-mix(in lab, red, red)){.vehicle-garage-theme *,.vehicle-garage-theme :before,.vehicle-garage-theme :after,.vehicle-garage-theme ::backdrop{outline-color:color-mix(in oklab, var(--ring) 50%, transparent)}}.vehicle-garage-theme button,.vehicle-garage-theme input,.vehicle-garage-theme select,.vehicle-garage-theme optgroup,.vehicle-garage-theme textarea{font:inherit;font-feature-settings:inherit;font-variation-settings:inherit;letter-spacing:inherit;color:inherit;opacity:1;background-color:#0000;border-radius:0}.vehicle-garage-theme button,.vehicle-garage-theme input:where([type=button],[type=reset],[type=submit]){appearance:button}.vehicle-garage-theme img,.vehicle-garage-theme svg,.vehicle-garage-theme video,.vehicle-garage-theme canvas,.vehicle-garage-theme audio,.vehicle-garage-theme iframe,.vehicle-garage-theme embed,.vehicle-garage-theme object{vertical-align:middle;display:block}.vehicle-garage-theme img,.vehicle-garage-theme video{max-width:100%;height:auto}.vehicle-garage-theme [hidden]:where(:not([hidden=until-found])){display:none!important}}@layer components{.vehicle-garage-theme{--background:var(--vehicle-garage-background,oklch(98.5% .003 85));--foreground:var(--vehicle-garage-foreground,oklch(22% .004 85));--card:var(--vehicle-garage-card,oklch(99% .002 85));--card-foreground:var(--vehicle-garage-card-foreground,var(--foreground));--popover:var(--vehicle-garage-popover,oklch(99.2% .002 85));--popover-foreground:var(--vehicle-garage-popover-foreground,var(--foreground));--primary:var(--vehicle-garage-button-color,var(--vehicle-garage-primary,oklch(23% .004 85)));--primary-foreground:var(--vehicle-garage-button-label-color,var(--vehicle-garage-primary-foreground,oklch(98.5% .003 85)));--secondary:var(--vehicle-garage-secondary,oklch(95% .003 85));--secondary-foreground:var(--vehicle-garage-secondary-foreground,oklch(28% .004 85));--muted:var(--vehicle-garage-muted,oklch(96.4% .002 85));--muted-foreground:var(--vehicle-garage-muted-foreground,oklch(49% .006 85));--accent:var(--vehicle-garage-accent,oklch(93% .003 85));--accent-foreground:var(--vehicle-garage-accent-foreground,oklch(24% .004 85));--border:var(--vehicle-garage-border,oklch(88% .003 85));--input:var(--vehicle-garage-input-border-color,var(--vehicle-garage-input,var(--border)));--ring:var(--vehicle-garage-ring,oklch(55% .006 85));--radius:var(--vehicle-garage-radius,12px);--spacing:4px;--container-sm:384px;--container-md:448px;--container-xl:576px;--container-7xl:1280px;--vehicle-garage-button-hover-background:var(--vehicle-garage-button-hover-color,var(--primary))}@supports (color:color-mix(in lab, red, red)){.vehicle-garage-theme{--vehicle-garage-button-hover-background:var(--vehicle-garage-button-hover-color,color-mix(in oklab, var(--primary) 88%, var(--foreground)))}}.vehicle-garage-theme{--vehicle-garage-button-hover-foreground:var(--vehicle-garage-button-hover-label-color,var(--primary-foreground));--text-xs:calc(var(--vehicle-garage-font-size,14px) * .857143);--text-xs--line-height:calc(var(--vehicle-garage-font-size,14px) * 1.14286);--text-sm:var(--vehicle-garage-font-size,14px);--text-sm--line-height:calc(var(--vehicle-garage-font-size,14px) * 1.42857);--text-base:calc(var(--vehicle-garage-font-size,14px) * 1.14286);--text-base--line-height:calc(var(--vehicle-garage-font-size,14px) * 1.71429);--text-lg:calc(var(--vehicle-garage-font-size,14px) * 1.28571);--text-lg--line-height:calc(var(--vehicle-garage-font-size,14px) * 2);--tracking-tight:-.4px;font-family:var(--vehicle-garage-font-family,var(--font-sans));font-size:var(--vehicle-garage-font-size,14px);line-height:calc(var(--vehicle-garage-font-size,14px) * 1.42857);color:var(--foreground)}.vehicle-garage-theme [data-slot=button][data-variant=default]:hover{background-color:var(--vehicle-garage-button-hover-background);color:var(--vehicle-garage-button-hover-foreground)}.vehicle-garage-theme [data-slot=button]:not([data-size^=icon]){padding-inline:calc(var(--vehicle-garage-padding,8px) * 1.5)}.vehicle-garage-theme [data-slot=input]{border-width:var(--vehicle-garage-input-border-width,1px);box-shadow:var(--vehicle-garage-input-shadow,none);padding-inline:calc(var(--vehicle-garage-padding,8px) * 1.25)}.garage-sheet-overlay{background-color:rgb(0 0 0/var(--vehicle-garage-overlay-opacity,.1));background-color:var(--vehicle-garage-overlay-background,var(--vehicle-garage-overlay-color,#000))}@supports (color:color-mix(in lab, red, red)){.garage-sheet-overlay{background-color:var(--vehicle-garage-overlay-background,color-mix(in srgb, var(--vehicle-garage-overlay-color,#000) calc(var(--vehicle-garage-overlay-opacity,.1) * 100%), transparent))}}.garage-sheet-overlay{opacity:1;-webkit-backdrop-filter:blur(var(--vehicle-garage-overlay-blur,4px));backdrop-filter:blur(var(--vehicle-garage-overlay-blur,4px))}.garage-sheet-overlay[data-state=open]{animation:.3s ease-out garage-sheet-overlay-in}.garage-sheet-overlay[data-state=closed]{animation:.26s ease-in garage-sheet-overlay-out}.garage-sheet-content{will-change:transform}.garage-sheet-content[data-side=right][data-state=open]{animation:.36s cubic-bezier(.16,1,.3,1) garage-sheet-in-right}.garage-sheet-content[data-side=right][data-state=closed]{animation:.3s cubic-bezier(.7,0,.84,0) garage-sheet-out-right}.garage-sheet-content[data-side=left][data-state=open]{animation:.36s cubic-bezier(.16,1,.3,1) garage-sheet-in-left}.garage-sheet-content[data-side=left][data-state=closed]{animation:.3s cubic-bezier(.7,0,.84,0) garage-sheet-out-left}.garage-sheet-content[data-side=top][data-state=open]{animation:.36s cubic-bezier(.16,1,.3,1) garage-sheet-in-top}.garage-sheet-content[data-side=top][data-state=closed]{animation:.3s cubic-bezier(.7,0,.84,0) garage-sheet-out-top}.garage-sheet-content[data-side=bottom][data-state=open]{animation:.36s cubic-bezier(.16,1,.3,1) garage-sheet-in-bottom}.garage-sheet-content[data-side=bottom][data-state=closed]{animation:.3s cubic-bezier(.7,0,.84,0) garage-sheet-out-bottom}@media (prefers-reduced-motion:reduce){.garage-sheet-overlay[data-state]{animation:none}.garage-sheet-content[data-state]{animation:none;transform:translate(0)}}}@layer utilities{.\\@container\\/field-group{container:field-group/inline-size}.pointer-events-auto{pointer-events:auto}.pointer-events-none{pointer-events:none}.sr-only{clip-path:inset(50%);white-space:nowrap;border-width:0;width:1px;height:1px;margin:-1px;padding:0;position:absolute;overflow:hidden}.absolute{position:absolute}.fixed{position:fixed}.relative{position:relative}.inset-0{inset:0}.inset-x-3{inset-inline:12px}.inset-y-0{inset-block:0}.top-1\\/2{top:50%}.top-2{top:8px}.top-3{top:12px}.right-0{right:0}.right-2{right:8px}.right-3{right:12px}.bottom-3{bottom:12px}.z-10{z-index:10}.z-40{z-index:40}.z-50{z-index:50}.z-\\[60\\]{z-index:60}.container{width:100%}@media (width>=640px){.container{max-width:640px}}@media (width>=768px){.container{max-width:768px}}@media (width>=1024px){.container{max-width:1024px}}@media (width>=1280px){.container{max-width:1280px}}@media (width>=1536px){.container{max-width:1536px}}.-mx-1{margin-inline:-4px}.mx-3{margin-inline:12px}.mx-auto{margin-inline:auto}.-my-2{margin-block:-8px}.my-1{margin-block:4px}.mt-0{margin-top:0}.mt-0\\.5{margin-top:2px}.mt-1{margin-top:4px}.mt-auto{margin-top:auto}.mb-0{margin-bottom:0}.mb-1\\.5{margin-bottom:6px}.mb-2{margin-bottom:8px}.mb-3{margin-bottom:12px}.ml-2{margin-left:8px}.ml-4{margin-left:16px}.line-clamp-1{-webkit-line-clamp:1;-webkit-box-orient:vertical;display:-webkit-box;overflow:hidden}.line-clamp-2{-webkit-line-clamp:2;-webkit-box-orient:vertical;display:-webkit-box;overflow:hidden}.block{display:block}.flex{display:flex}.grid{display:grid}.hidden{display:none}.inline-flex{display:inline-flex}.aspect-\\[4\\/5\\]{aspect-ratio:4/5}.size-3\\.5{width:14px;height:14px}.size-4{width:16px;height:16px}.size-6{width:24px;height:24px}.size-7{width:28px;height:28px}.size-8{width:32px;height:32px}.size-9{width:36px;height:36px}.size-\\[10px\\]{width:10px;height:10px}.size-full{width:100%;height:100%}.h-\\(--radix-accordion-content-height\\){height:var(--radix-accordion-content-height)}.h-3{height:12px}.h-3\\.5{height:14px}.h-4{height:16px}.h-5{height:20px}.h-7{height:28px}.h-8{height:32px}.h-9{height:36px}.h-10{height:40px}.h-11{height:44px}.h-\\[8px\\]{height:8px}.h-auto{height:auto}.h-full{height:100%}.h-px{height:1px}.max-h-\\(--radix-select-content-available-height\\){max-height:var(--radix-select-content-available-height)}.max-h-60{max-height:240px}.max-h-\\[70svh\\]{max-height:70svh}.min-h-0{min-height:0}.min-h-14{min-height:56px}.min-h-\\[calc\\(100\\%-1px\\)\\]{min-height:calc(100% - 1px)}.min-h-svh{min-height:100svh}.w-\\(--radix-popover-trigger-width\\){width:var(--radix-popover-trigger-width)}.w-9{width:36px}.w-14{width:56px}.w-20{width:80px}.w-24{width:96px}.w-28{width:112px}.w-\\[calc\\(100\\%-24px\\)\\]{width:calc(100% - 24px)}.w-auto{width:auto}.w-fit{width:fit-content}.w-full{width:100%}.max-w-7xl{max-width:1280px}.max-w-36{max-width:144px}.max-w-\\[48ch\\]{max-width:48ch}.max-w-sm{max-width:384px}.max-w-xl{max-width:576px}.min-w-0{min-width:0}.min-w-7{min-width:28px}.min-w-8{min-width:32px}.min-w-9{min-width:36px}.min-w-36{min-width:144px}.flex-1{flex:1}.shrink-0{flex-shrink:0}.grow{flex-grow:1}.origin-\\(--radix-select-content-transform-origin\\){transform-origin:var(--radix-select-content-transform-origin)}.transform{transform:var(--tw-rotate-x,) var(--tw-rotate-y,) var(--tw-rotate-z,) var(--tw-skew-x,) var(--tw-skew-y,)}.animate-spin{animation:var(--animate-spin)}.cursor-default{cursor:default}.cursor-pointer{cursor:pointer}.touch-none{touch-action:none}.resize{resize:both}.scroll-my-1{scroll-margin-block:4px}.list-disc{list-style-type:disc}.grid-cols-2{grid-template-columns:repeat(2,minmax(0,1fr))}.grid-cols-3{grid-template-columns:repeat(3,minmax(0,1fr))}.flex-col{flex-direction:column}.flex-row{flex-direction:row}.items-center{align-items:center}.items-start{align-items:flex-start}.items-stretch{align-items:stretch}.justify-between{justify-content:space-between}.justify-center{justify-content:center}.gap-0{gap:0}.gap-0\\.5{gap:2px}.gap-1{gap:4px}.gap-1\\.5{gap:6px}.gap-2{gap:8px}.gap-2\\.5{gap:10px}.gap-3{gap:12px}.gap-4{gap:16px}.gap-5{gap:20px}.gap-8{gap:32px}.gap-\\[--spacing\\(var\\(--gap\\)\\)\\]{gap:calc(4px * var(--gap))}.overflow-auto{overflow:auto}.overflow-hidden{overflow:hidden}.overflow-x-hidden{overflow-x:hidden}.overflow-y-auto{overflow-y:auto}.rounded-4xl{border-radius:calc(var(--radius) * 2.6)}.rounded-\\[inherit\\]{border-radius:inherit}.rounded-\\[min\\(var\\(--radius-md\\)\\,10px\\)\\]{border-radius:min(var(--radius-md), 10px)}.rounded-\\[min\\(var\\(--radius-md\\)\\,12px\\)\\]{border-radius:min(var(--radius-md), 12px)}.rounded-full{border-radius:3.40282e38px}.rounded-lg{border-radius:var(--radius)}.rounded-md{border-radius:calc(var(--radius) * .8)}.rounded-none{border-radius:0}.rounded-xl{border-radius:calc(var(--radius) * 1.4)}.border{border-style:var(--tw-border-style);border-width:1px}.border-0{border-style:var(--tw-border-style);border-width:0}.border-t{border-top-style:var(--tw-border-style);border-top-width:1px}.border-b{border-bottom-style:var(--tw-border-style);border-bottom-width:1px}.border-b-0{border-bottom-style:var(--tw-border-style);border-bottom-width:0}.border-dashed{--tw-border-style:dashed;border-style:dashed}.border-border{border-color:var(--border)}.border-input{border-color:var(--input)}.border-primary{border-color:var(--primary)}.border-ring{border-color:var(--ring)}.border-transparent{border-color:#0000}.bg-accent{background-color:var(--accent)}.bg-background{background-color:var(--background)}.bg-border{background-color:var(--border)}.bg-card{background-color:var(--card)}.bg-destructive\\/10{background-color:var(--destructive)}@supports (color:color-mix(in lab, red, red)){.bg-destructive\\/10{background-color:color-mix(in oklab, var(--destructive) 10%, transparent)}}.bg-muted,.bg-muted\\/20{background-color:var(--muted)}@supports (color:color-mix(in lab, red, red)){.bg-muted\\/20{background-color:color-mix(in oklab, var(--muted) 20%, transparent)}}.bg-muted\\/60{background-color:var(--muted)}@supports (color:color-mix(in lab, red, red)){.bg-muted\\/60{background-color:color-mix(in oklab, var(--muted) 60%, transparent)}}.bg-popover{background-color:var(--popover)}.bg-primary{background-color:var(--primary)}.bg-secondary{background-color:var(--secondary)}.bg-transparent{background-color:#0000}.bg-white{background-color:var(--color-white)}.bg-clip-padding{background-clip:padding-box}.object-contain{object-fit:contain}.p-0{padding:0}.p-1{padding:4px}.p-3{padding:12px}.p-4{padding:16px}.p-6{padding:24px}.p-\\[3px\\]{padding:3px}.p-px{padding:1px}.px-1\\.5{padding-inline:6px}.px-2{padding-inline:8px}.px-2\\.5{padding-inline:10px}.px-3{padding-inline:12px}.px-4{padding-inline:16px}.px-5{padding-inline:20px}.px-\\[8px\\]{padding-inline:8px}.py-0\\.5{padding-block:2px}.py-1{padding-block:4px}.py-1\\.5{padding-block:6px}.py-2{padding-block:8px}.py-2\\.5{padding-block:10px}.py-3{padding-block:12px}.py-4{padding-block:16px}.py-6{padding-block:24px}.py-\\[4px\\]{padding-block:4px}.pt-0{padding-top:0}.pt-1{padding-top:4px}.pt-4{padding-top:16px}.pr-1{padding-right:4px}.pr-1\\.5{padding-right:6px}.pr-2{padding-right:8px}.pr-8{padding-right:32px}.pr-16{padding-right:64px}.pb-2{padding-bottom:8px}.pb-2\\.5{padding-bottom:10px}.pb-4{padding-bottom:16px}.pl-1\\.5{padding-left:6px}.pl-2\\.5{padding-left:10px}.pl-3{padding-left:12px}.text-center{text-align:center}.text-left{text-align:left}.text-right{text-align:right}.font-heading{font-family:var(--font-sans)}.text-base{font-size:16px;line-height:var(--tw-leading,24px)}.text-base\\/6{font-size:16px;line-height:24px}.text-lg{font-size:18px;line-height:var(--tw-leading,28px)}.text-sm{font-size:14px;line-height:var(--tw-leading,20px)}.text-sm\\/relaxed{font-size:14px;line-height:var(--leading-relaxed)}.text-xs{font-size:12px;line-height:var(--tw-leading,16px)}.text-\\[10px\\]{font-size:10px}.text-\\[13px\\]{font-size:13px}.leading-none{--tw-leading:1;line-height:1}.leading-normal{--tw-leading:var(--leading-normal);line-height:var(--leading-normal)}.leading-relaxed{--tw-leading:var(--leading-relaxed);line-height:var(--leading-relaxed)}.leading-snug{--tw-leading:var(--leading-snug);line-height:var(--leading-snug)}.leading-tight{--tw-leading:var(--leading-tight);line-height:var(--leading-tight)}.font-medium{--tw-font-weight:var(--font-weight-medium);font-weight:var(--font-weight-medium)}.font-normal{--tw-font-weight:var(--font-weight-normal);font-weight:var(--font-weight-normal)}.font-semibold{--tw-font-weight:var(--font-weight-semibold);font-weight:var(--font-weight-semibold)}.tracking-\\[2\\.2px\\]{--tw-tracking:2.2px;letter-spacing:2.2px}.tracking-tight{--tw-tracking:-.4px;letter-spacing:-.4px}.text-balance{text-wrap:balance}.break-words{overflow-wrap:break-word}.whitespace-normal{white-space:normal}.whitespace-nowrap{white-space:nowrap}.text-accent-foreground{color:var(--accent-foreground)}.text-card-foreground{color:var(--card-foreground)}.text-current{color:currentColor}.text-destructive{color:var(--destructive)}.text-foreground,.text-foreground\\/60{color:var(--foreground)}@supports (color:color-mix(in lab, red, red)){.text-foreground\\/60{color:color-mix(in oklab, var(--foreground) 60%, transparent)}}.text-foreground\\/70{color:var(--foreground)}@supports (color:color-mix(in lab, red, red)){.text-foreground\\/70{color:color-mix(in oklab, var(--foreground) 70%, transparent)}}.text-muted-foreground{color:var(--muted-foreground)}.text-popover-foreground{color:var(--popover-foreground)}.text-primary{color:var(--primary)}.text-primary-foreground{color:var(--primary-foreground)}.text-secondary-foreground{color:var(--secondary-foreground)}.uppercase{text-transform:uppercase}.no-underline{text-decoration-line:none}.underline-offset-4{text-underline-offset:4px}.opacity-65{opacity:.65}.opacity-100{opacity:1}.shadow{--tw-shadow:0 1px 3px 0 var(--tw-shadow-color,#0000001a), 0 1px 2px -1px var(--tw-shadow-color,#0000001a);box-shadow:var(--tw-inset-shadow), var(--tw-inset-ring-shadow), var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow)}.shadow-lg{--tw-shadow:0 10px 15px -3px var(--tw-shadow-color,#0000001a), 0 4px 6px -4px var(--tw-shadow-color,#0000001a);box-shadow:var(--tw-inset-shadow), var(--tw-inset-ring-shadow), var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow)}.shadow-md{--tw-shadow:0 4px 6px -1px var(--tw-shadow-color,#0000001a), 0 2px 4px -2px var(--tw-shadow-color,#0000001a);box-shadow:var(--tw-inset-shadow), var(--tw-inset-ring-shadow), var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow)}.shadow-none{--tw-shadow:0 0 #0000;box-shadow:var(--tw-inset-shadow), var(--tw-inset-ring-shadow), var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow)}.ring-0{--tw-ring-shadow:var(--tw-ring-inset,) 0 0 0 calc(0px + var(--tw-ring-offset-width)) var(--tw-ring-color,currentcolor);box-shadow:var(--tw-inset-shadow), var(--tw-inset-ring-shadow), var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow)}.ring-1{--tw-ring-shadow:var(--tw-ring-inset,) 0 0 0 calc(1px + var(--tw-ring-offset-width)) var(--tw-ring-color,currentcolor);box-shadow:var(--tw-inset-shadow), var(--tw-inset-ring-shadow), var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow)}.ring-foreground\\/10{--tw-ring-color:var(--foreground)}@supports (color:color-mix(in lab, red, red)){.ring-foreground\\/10{--tw-ring-color:color-mix(in oklab, var(--foreground) 10%, transparent)}}.ring-ring\\/50{--tw-ring-color:var(--ring)}@supports (color:color-mix(in lab, red, red)){.ring-ring\\/50{--tw-ring-color:color-mix(in oklab, var(--ring) 50%, transparent)}}.outline-hidden{--tw-outline-style:none;outline-style:none}@media (forced-colors:active){.outline-hidden{outline-offset:2px;outline:2px solid #0000}}.outline{outline-style:var(--tw-outline-style);outline-width:1px}.blur{--tw-blur:blur(8px);filter:var(--tw-blur,) var(--tw-brightness,) var(--tw-contrast,) var(--tw-grayscale,) var(--tw-hue-rotate,) var(--tw-invert,) var(--tw-saturate,) var(--tw-sepia,) var(--tw-drop-shadow,)}.filter{filter:var(--tw-blur,) var(--tw-brightness,) var(--tw-contrast,) var(--tw-grayscale,) var(--tw-hue-rotate,) var(--tw-invert,) var(--tw-saturate,) var(--tw-sepia,) var(--tw-drop-shadow,)}.transition-\\[color\\,box-shadow\\]{transition-property:color,box-shadow;transition-timing-function:var(--tw-ease,var(--default-transition-timing-function));transition-duration:var(--tw-duration,var(--default-transition-duration))}.transition-all{transition-property:all;transition-timing-function:var(--tw-ease,var(--default-transition-timing-function));transition-duration:var(--tw-duration,var(--default-transition-duration))}.transition-colors{transition-property:color,background-color,border-color,outline-color,text-decoration-color,fill,stroke,--tw-gradient-from,--tw-gradient-via,--tw-gradient-to;transition-timing-function:var(--tw-ease,var(--default-transition-timing-function));transition-duration:var(--tw-duration,var(--default-transition-duration))}.transition-opacity{transition-property:opacity;transition-timing-function:var(--tw-ease,var(--default-transition-timing-function));transition-duration:var(--tw-duration,var(--default-transition-duration))}.transition-transform{transition-property:transform,translate,scale,rotate;transition-timing-function:var(--tw-ease,var(--default-transition-timing-function));transition-duration:var(--tw-duration,var(--default-transition-duration))}.duration-100{--tw-duration:.1s;transition-duration:.1s}.outline-none{--tw-outline-style:none;outline-style:none}.select-none{-webkit-user-select:none;user-select:none}:is(.\\*\\:w-full>*){width:100%}.not-last\\:border-b:not(:last-child){border-bottom-style:var(--tw-border-style);border-bottom-width:1px}.group-open\\:rotate-180:is(:where(.group):is([open],:popover-open,:open) *){rotate:180deg}.group-has-data-horizontal\\/field\\:text-balance:is(:where(.group\\/field):has([data-horizontal]) *){text-wrap:balance}.group-has-\\[\\>svg\\]\\/alert\\:col-start-2:is(:where(.group\\/alert):has(>svg) *){grid-column-start:2}.group-aria-expanded\\/accordion-trigger\\:hidden:is(:where(.group\\/accordion-trigger)[aria-expanded=true] *){display:none}.group-aria-expanded\\/accordion-trigger\\:inline:is(:where(.group\\/accordion-trigger)[aria-expanded=true] *){display:inline}.group-data-horizontal\\/tabs\\:min-h-\\[32px\\]:is(:where(.group\\/tabs)[data-horizontal] *){min-height:32px}.group-data-vertical\\/tabs\\:h-fit:is(:where(.group\\/tabs)[data-vertical] *){height:fit-content}.group-data-vertical\\/tabs\\:w-full:is(:where(.group\\/tabs)[data-vertical] *){width:100%}.group-data-vertical\\/tabs\\:flex-col:is(:where(.group\\/tabs)[data-vertical] *){flex-direction:column}.group-data-vertical\\/tabs\\:justify-start:is(:where(.group\\/tabs)[data-vertical] *){justify-content:flex-start}.group-data-\\[disabled\\=true\\]\\:pointer-events-none:is(:where(.group)[data-disabled=true] *){pointer-events:none}.group-data-\\[disabled\\=true\\]\\:opacity-50:is(:where(.group)[data-disabled=true] *),.group-data-\\[disabled\\=true\\]\\/field\\:opacity-50:is(:where(.group\\/field)[data-disabled=true] *){opacity:.5}.group-data-\\[size\\=default\\]\\/switch\\:size-\\[16px\\]:is(:where(.group\\/switch)[data-size=default] *){width:16px;height:16px}.group-data-\\[size\\=lg\\]\\/switch\\:size-\\[20px\\]:is(:where(.group\\/switch)[data-size=lg] *){width:20px;height:20px}.group-data-\\[size\\=sm\\]\\/switch\\:size-\\[12px\\]:is(:where(.group\\/switch)[data-size=sm] *){width:12px;height:12px}.group-data-\\[spacing\\=0\\]\\/toggle-group\\:rounded-none:is(:where(.group\\/toggle-group)[data-spacing=\"0\"] *){border-radius:0}.group-data-\\[spacing\\=0\\]\\/toggle-group\\:px-2:is(:where(.group\\/toggle-group)[data-spacing=\"0\"] *){padding-inline:8px}.group-data-\\[variant\\=line\\]\\/tabs-list\\:bg-transparent:is(:where(.group\\/tabs-list)[data-variant=line] *){background-color:#0000}.group-data-\\[variant\\=outline\\]\\/field-group\\:-mb-2:is(:where(.group\\/field-group)[data-variant=outline] *){margin-bottom:-8px}.peer-disabled\\:cursor-not-allowed:is(:where(.peer):disabled~*){cursor:not-allowed}.peer-disabled\\:opacity-50:is(:where(.peer):disabled~*){opacity:.5}.file\\:inline-flex::file-selector-button{display:inline-flex}.file\\:h-6::file-selector-button{height:24px}.file\\:border-0::file-selector-button{border-style:var(--tw-border-style);border-width:0}.file\\:bg-transparent::file-selector-button{background-color:#0000}.file\\:text-sm::file-selector-button{font-size:14px;line-height:var(--tw-leading,20px)}.file\\:font-medium::file-selector-button{--tw-font-weight:var(--font-weight-medium);font-weight:var(--font-weight-medium)}.file\\:text-foreground::file-selector-button{color:var(--foreground)}.placeholder\\:text-muted-foreground::placeholder,.placeholder\\:text-muted-foreground\\/70::placeholder{color:var(--muted-foreground)}@supports (color:color-mix(in lab, red, red)){.placeholder\\:text-muted-foreground\\/70::placeholder{color:color-mix(in oklab, var(--muted-foreground) 70%, transparent)}}.after\\:absolute:after{content:var(--tw-content);position:absolute}.after\\:-inset-\\[10px\\]:after{content:var(--tw-content);inset:-10px}.after\\:-inset-x-\\[12px\\]:after{content:var(--tw-content);inset-inline:-12px}.after\\:-inset-y-\\[8px\\]:after{content:var(--tw-content);inset-block:-8px}.after\\:bg-foreground:after{content:var(--tw-content);background-color:var(--foreground)}.after\\:opacity-0:after{content:var(--tw-content);opacity:0}.after\\:transition-opacity:after{content:var(--tw-content);transition-property:opacity;transition-timing-function:var(--tw-ease,var(--default-transition-timing-function));transition-duration:var(--tw-duration,var(--default-transition-duration))}.group-data-horizontal\\/tabs\\:after\\:inset-x-0:is(:where(.group\\/tabs)[data-horizontal] *):after{content:var(--tw-content);inset-inline:0}.group-data-horizontal\\/tabs\\:after\\:bottom-\\[-5px\\]:is(:where(.group\\/tabs)[data-horizontal] *):after{content:var(--tw-content);bottom:-5px}.group-data-horizontal\\/tabs\\:after\\:h-0\\.5:is(:where(.group\\/tabs)[data-horizontal] *):after{content:var(--tw-content);height:2px}.group-data-vertical\\/tabs\\:after\\:inset-y-0:is(:where(.group\\/tabs)[data-vertical] *):after{content:var(--tw-content);inset-block:0}.group-data-vertical\\/tabs\\:after\\:-right-1:is(:where(.group\\/tabs)[data-vertical] *):after{content:var(--tw-content);right:-4px}.group-data-vertical\\/tabs\\:after\\:w-0\\.5:is(:where(.group\\/tabs)[data-vertical] *):after{content:var(--tw-content);width:2px}.first\\:rounded-l-xl:first-child{border-top-left-radius:calc(var(--radius) * 1.4);border-bottom-left-radius:calc(var(--radius) * 1.4)}.first\\:border-t-0:first-child{border-top-style:var(--tw-border-style);border-top-width:0}.first\\:pt-0:first-child{padding-top:0}.last\\:mt-0:last-child{margin-top:0}.last\\:rounded-r-xl:last-child{border-top-right-radius:calc(var(--radius) * 1.4);border-bottom-right-radius:calc(var(--radius) * 1.4)}.focus-within\\:bg-accent:focus-within{background-color:var(--accent)}.focus-within\\:text-accent-foreground:focus-within{color:var(--accent-foreground)}@media (hover:hover){.hover\\:bg-accent:hover{background-color:var(--accent)}.hover\\:bg-destructive\\/10:hover{background-color:var(--destructive)}@supports (color:color-mix(in lab, red, red)){.hover\\:bg-destructive\\/10:hover{background-color:color-mix(in oklab, var(--destructive) 10%, transparent)}}.hover\\:bg-destructive\\/20:hover{background-color:var(--destructive)}@supports (color:color-mix(in lab, red, red)){.hover\\:bg-destructive\\/20:hover{background-color:color-mix(in oklab, var(--destructive) 20%, transparent)}}.hover\\:bg-muted:hover,.hover\\:bg-muted\\/50:hover{background-color:var(--muted)}@supports (color:color-mix(in lab, red, red)){.hover\\:bg-muted\\/50:hover{background-color:color-mix(in oklab, var(--muted) 50%, transparent)}}.hover\\:bg-secondary\\/80:hover{background-color:var(--secondary)}@supports (color:color-mix(in lab, red, red)){.hover\\:bg-secondary\\/80:hover{background-color:color-mix(in oklab, var(--secondary) 80%, transparent)}}.hover\\:text-accent-foreground:hover{color:var(--accent-foreground)}.hover\\:text-destructive:hover{color:var(--destructive)}.hover\\:text-foreground:hover{color:var(--foreground)}.hover\\:text-muted-foreground:hover{color:var(--muted-foreground)}.hover\\:no-underline:hover{text-decoration-line:none}.hover\\:underline:hover{text-decoration-line:underline}.hover\\:opacity-100:hover{opacity:1}.hover\\:ring-3:hover{--tw-ring-shadow:var(--tw-ring-inset,) 0 0 0 calc(3px + var(--tw-ring-offset-width)) var(--tw-ring-color,currentcolor);box-shadow:var(--tw-inset-shadow), var(--tw-inset-ring-shadow), var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow)}}.focus\\:z-10:focus{z-index:10}.focus\\:bg-accent:focus{background-color:var(--accent)}.focus\\:text-accent-foreground:focus,:is(.not-data-\\[variant\\=destructive\\]\\:focus\\:\\*\\*\\:text-accent-foreground:not([data-variant=destructive]):focus *){color:var(--accent-foreground)}.focus-visible\\:z-10:focus-visible{z-index:10}.focus-visible\\:border-destructive\\/40:focus-visible{border-color:var(--destructive)}@supports (color:color-mix(in lab, red, red)){.focus-visible\\:border-destructive\\/40:focus-visible{border-color:color-mix(in oklab, var(--destructive) 40%, transparent)}}.focus-visible\\:border-input:focus-visible{border-color:var(--input)}.focus-visible\\:border-ring:focus-visible{border-color:var(--ring)}.focus-visible\\:opacity-100:focus-visible{opacity:1}.focus-visible\\:ring-0:focus-visible{--tw-ring-shadow:var(--tw-ring-inset,) 0 0 0 calc(0px + var(--tw-ring-offset-width)) var(--tw-ring-color,currentcolor);box-shadow:var(--tw-inset-shadow), var(--tw-inset-ring-shadow), var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow)}.focus-visible\\:ring-2:focus-visible{--tw-ring-shadow:var(--tw-ring-inset,) 0 0 0 calc(2px + var(--tw-ring-offset-width)) var(--tw-ring-color,currentcolor);box-shadow:var(--tw-inset-shadow), var(--tw-inset-ring-shadow), var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow)}.focus-visible\\:ring-3:focus-visible,.focus-visible\\:ring-\\[3px\\]:focus-visible{--tw-ring-shadow:var(--tw-ring-inset,) 0 0 0 calc(3px + var(--tw-ring-offset-width)) var(--tw-ring-color,currentcolor);box-shadow:var(--tw-inset-shadow), var(--tw-inset-ring-shadow), var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow)}.focus-visible\\:ring-destructive\\/20:focus-visible{--tw-ring-color:var(--destructive)}@supports (color:color-mix(in lab, red, red)){.focus-visible\\:ring-destructive\\/20:focus-visible{--tw-ring-color:color-mix(in oklab, var(--destructive) 20%, transparent)}}.focus-visible\\:ring-ring:focus-visible,.focus-visible\\:ring-ring\\/50:focus-visible{--tw-ring-color:var(--ring)}@supports (color:color-mix(in lab, red, red)){.focus-visible\\:ring-ring\\/50:focus-visible{--tw-ring-color:color-mix(in oklab, var(--ring) 50%, transparent)}}.focus-visible\\:ring-offset-0:focus-visible{--tw-ring-offset-width:0px;--tw-ring-offset-shadow:var(--tw-ring-inset,) 0 0 0 var(--tw-ring-offset-width) var(--tw-ring-offset-color)}.focus-visible\\:ring-offset-2:focus-visible{--tw-ring-offset-width:2px;--tw-ring-offset-shadow:var(--tw-ring-inset,) 0 0 0 var(--tw-ring-offset-width) var(--tw-ring-offset-color)}.focus-visible\\:outline-hidden:focus-visible{--tw-outline-style:none;outline-style:none}@media (forced-colors:active){.focus-visible\\:outline-hidden:focus-visible{outline-offset:2px;outline:2px solid #0000}}.focus-visible\\:outline-1:focus-visible{outline-style:var(--tw-outline-style);outline-width:1px}.focus-visible\\:outline-ring:focus-visible{outline-color:var(--ring)}.focus-visible\\:outline-none:focus-visible{--tw-outline-style:none;outline-style:none}.focus-visible\\:after\\:border-ring:focus-visible:after{content:var(--tw-content);border-color:var(--ring)}.active\\:ring-3:active{--tw-ring-shadow:var(--tw-ring-inset,) 0 0 0 calc(3px + var(--tw-ring-offset-width)) var(--tw-ring-color,currentcolor);box-shadow:var(--tw-inset-shadow), var(--tw-inset-ring-shadow), var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow)}.active\\:not-aria-\\[haspopup\\]\\:translate-y-px:active:not([aria-haspopup]){--tw-translate-y:1px;translate:var(--tw-translate-x) var(--tw-translate-y)}.disabled\\:pointer-events-none:disabled{pointer-events:none}.disabled\\:cursor-default:disabled{cursor:default}.disabled\\:cursor-not-allowed:disabled{cursor:not-allowed}.disabled\\:bg-input\\/50:disabled{background-color:var(--input)}@supports (color:color-mix(in lab, red, red)){.disabled\\:bg-input\\/50:disabled{background-color:color-mix(in oklab, var(--input) 50%, transparent)}}.disabled\\:opacity-50:disabled{opacity:.5}.disabled\\:opacity-100:disabled{opacity:1}:where([data-slot=button-group]) .in-data-\\[slot\\=button-group\\]\\:rounded-lg{border-radius:var(--radius)}.has-data-checked\\:border-primary\\/30:has([data-checked]){border-color:var(--primary)}@supports (color:color-mix(in lab, red, red)){.has-data-checked\\:border-primary\\/30:has([data-checked]){border-color:color-mix(in oklab, var(--primary) 30%, transparent)}}.has-data-checked\\:bg-primary\\/5:has([data-checked]){background-color:var(--primary)}@supports (color:color-mix(in lab, red, red)){.has-data-checked\\:bg-primary\\/5:has([data-checked]){background-color:color-mix(in oklab, var(--primary) 5%, transparent)}}.has-data-\\[icon\\=inline-end\\]\\:pr-1:has([data-icon=inline-end]){padding-right:4px}.has-data-\\[icon\\=inline-end\\]\\:pr-1\\.5:has([data-icon=inline-end]){padding-right:6px}.has-data-\\[icon\\=inline-end\\]\\:pr-2:has([data-icon=inline-end]){padding-right:8px}.has-data-\\[icon\\=inline-end\\]\\:pr-2\\.5:has([data-icon=inline-end]){padding-right:10px}.group-data-\\[spacing\\=0\\]\\/toggle-group\\:has-data-\\[icon\\=inline-end\\]\\:pr-1\\.5:is(:where(.group\\/toggle-group)[data-spacing=\"0\"] *):has([data-icon=inline-end]){padding-right:6px}.has-data-\\[icon\\=inline-start\\]\\:pl-1:has([data-icon=inline-start]){padding-left:4px}.has-data-\\[icon\\=inline-start\\]\\:pl-1\\.5:has([data-icon=inline-start]){padding-left:6px}.has-data-\\[icon\\=inline-start\\]\\:pl-2:has([data-icon=inline-start]){padding-left:8px}.has-data-\\[icon\\=inline-start\\]\\:pl-2\\.5:has([data-icon=inline-start]){padding-left:10px}.group-data-\\[spacing\\=0\\]\\/toggle-group\\:has-data-\\[icon\\=inline-start\\]\\:pl-1\\.5:is(:where(.group\\/toggle-group)[data-spacing=\"0\"] *):has([data-icon=inline-start]){padding-left:6px}.has-data-\\[slot\\=alert-action\\]\\:relative:has([data-slot=alert-action]){position:relative}.has-data-\\[slot\\=alert-action\\]\\:pr-18:has([data-slot=alert-action]){padding-right:72px}.has-\\[\\>\\[data-slot\\=checkbox-group\\]\\]\\:gap-3:has(>[data-slot=checkbox-group]){gap:12px}.has-\\[\\>\\[data-slot\\=field-content\\]\\]\\:items-start:has(>[data-slot=field-content]){align-items:flex-start}.has-\\[\\>\\[data-slot\\=field\\]\\]\\:w-full:has(>[data-slot=field]){width:100%}.has-\\[\\>\\[data-slot\\=field\\]\\]\\:flex-col:has(>[data-slot=field]){flex-direction:column}.has-\\[\\>\\[data-slot\\=field\\]\\]\\:rounded-lg:has(>[data-slot=field]){border-radius:var(--radius)}.has-\\[\\>\\[data-slot\\=field\\]\\]\\:border:has(>[data-slot=field]){border-style:var(--tw-border-style);border-width:1px}.has-\\[\\>\\[data-slot\\=radio-group\\]\\]\\:gap-3:has(>[data-slot=radio-group]){gap:12px}.has-\\[\\>svg\\]\\:grid-cols-\\[auto_1fr\\]:has(>svg){grid-template-columns:auto 1fr}.has-\\[\\>svg\\]\\:gap-x-2:has(>svg){column-gap:8px}.aria-expanded\\:bg-muted[aria-expanded=true]{background-color:var(--muted)}.aria-expanded\\:bg-secondary[aria-expanded=true]{background-color:var(--secondary)}.aria-expanded\\:text-foreground[aria-expanded=true]{color:var(--foreground)}.aria-expanded\\:text-secondary-foreground[aria-expanded=true]{color:var(--secondary-foreground)}.aria-invalid\\:border-destructive[aria-invalid=true]{border-color:var(--destructive)}.aria-invalid\\:ring-3[aria-invalid=true]{--tw-ring-shadow:var(--tw-ring-inset,) 0 0 0 calc(3px + var(--tw-ring-offset-width)) var(--tw-ring-color,currentcolor);box-shadow:var(--tw-inset-shadow), var(--tw-inset-ring-shadow), var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow)}.aria-invalid\\:ring-destructive\\/20[aria-invalid=true]{--tw-ring-color:var(--destructive)}@supports (color:color-mix(in lab, red, red)){.aria-invalid\\:ring-destructive\\/20[aria-invalid=true]{--tw-ring-color:color-mix(in oklab, var(--destructive) 20%, transparent)}}.aria-pressed\\:bg-muted[aria-pressed=true]{background-color:var(--muted)}.data-closed\\:animate-accordion-up[data-closed]{animation:accordion-up var(--tw-animation-duration,var(--tw-duration,.2s))var(--tw-ease,ease-out)var(--tw-animation-delay,0s)var(--tw-animation-iteration-count,1)var(--tw-animation-direction,normal)var(--tw-animation-fill-mode,none)}.data-disabled\\:pointer-events-none[data-disabled]{pointer-events:none}.data-disabled\\:cursor-not-allowed[data-disabled]{cursor:not-allowed}.data-disabled\\:opacity-50[data-disabled]{opacity:.5}.data-horizontal\\:h-2\\.5[data-horizontal]{height:10px}.data-horizontal\\:h-px[data-horizontal]{height:1px}.data-horizontal\\:w-full[data-horizontal]{width:100%}.data-horizontal\\:flex-col[data-horizontal]{flex-direction:column}.data-horizontal\\:border-t[data-horizontal]{border-top-style:var(--tw-border-style);border-top-width:1px}.data-horizontal\\:border-t-transparent[data-horizontal]{border-top-color:#0000}.data-open\\:animate-accordion-down[data-open]{animation:accordion-down var(--tw-animation-duration,var(--tw-duration,.2s))var(--tw-ease,ease-out)var(--tw-animation-delay,0s)var(--tw-animation-iteration-count,1)var(--tw-animation-direction,normal)var(--tw-animation-fill-mode,none)}.data-placeholder\\:text-muted-foreground[data-placeholder]{color:var(--muted-foreground)}.data-vertical\\:h-full[data-vertical]{height:100%}.data-vertical\\:w-2\\.5[data-vertical]{width:10px}.data-vertical\\:w-px[data-vertical]{width:1px}.data-vertical\\:flex-col[data-vertical]{flex-direction:column}.data-vertical\\:items-stretch[data-vertical]{align-items:stretch}.data-vertical\\:self-stretch[data-vertical]{align-self:stretch}.data-vertical\\:border-l[data-vertical]{border-left-style:var(--tw-border-style);border-left-width:1px}.data-vertical\\:border-l-transparent[data-vertical]{border-left-color:#0000}.data-\\[align-trigger\\=true\\]\\:animate-none[data-align-trigger=true]{animation:none}.data-\\[invalid\\=true\\]\\:text-destructive[data-invalid=true]{color:var(--destructive)}.data-\\[orientation\\=vertical\\]\\:h-auto[data-orientation=vertical]{height:auto}.data-\\[orientation\\=vertical\\]\\:h-full[data-orientation=vertical]{height:100%}.data-\\[orientation\\=vertical\\]\\:min-h-\\[160px\\][data-orientation=vertical]{min-height:160px}.data-\\[orientation\\=vertical\\]\\:w-\\[8px\\][data-orientation=vertical]{width:8px}.data-\\[orientation\\=vertical\\]\\:w-auto[data-orientation=vertical]{width:auto}.data-\\[orientation\\=vertical\\]\\:w-full[data-orientation=vertical]{width:100%}.data-\\[orientation\\=vertical\\]\\:flex-col[data-orientation=vertical]{flex-direction:column}.data-\\[orientation\\=vertical\\]\\:px-\\[4px\\][data-orientation=vertical]{padding-inline:4px}.data-\\[orientation\\=vertical\\]\\:py-\\[8px\\][data-orientation=vertical]{padding-block:8px}.data-\\[position\\=popper\\]\\:h-\\(--radix-select-trigger-height\\)[data-position=popper]{height:var(--radix-select-trigger-height)}.data-\\[position\\=popper\\]\\:w-full[data-position=popper]{width:100%}.data-\\[position\\=popper\\]\\:min-w-\\(--radix-select-trigger-width\\)[data-position=popper]{min-width:var(--radix-select-trigger-width)}.data-\\[side\\=bottom\\]\\:inset-x-0[data-side=bottom]{inset-inline:0}.data-\\[side\\=bottom\\]\\:bottom-0[data-side=bottom]{bottom:0}.data-\\[side\\=bottom\\]\\:h-auto[data-side=bottom]{height:auto}.data-\\[side\\=bottom\\]\\:translate-y-1[data-side=bottom]{--tw-translate-y:calc(4px * 1);translate:var(--tw-translate-x) var(--tw-translate-y)}.data-\\[side\\=bottom\\]\\:slide-in-from-top-2[data-side=bottom]{--tw-enter-translate-y:calc(2*var(--spacing)*-1)}.data-\\[side\\=left\\]\\:inset-y-0[data-side=left]{inset-block:0}.data-\\[side\\=left\\]\\:left-0[data-side=left]{left:0}.data-\\[side\\=left\\]\\:h-full[data-side=left]{height:100%}.data-\\[side\\=left\\]\\:w-full[data-side=left]{width:100%}.data-\\[side\\=left\\]\\:-translate-x-1[data-side=left]{--tw-translate-x:calc(4px * -1);translate:var(--tw-translate-x) var(--tw-translate-y)}.data-\\[side\\=left\\]\\:slide-in-from-right-2[data-side=left]{--tw-enter-translate-x:calc(2*var(--spacing))}.data-\\[side\\=right\\]\\:inset-y-0[data-side=right]{inset-block:0}.data-\\[side\\=right\\]\\:right-0[data-side=right]{right:0}.data-\\[side\\=right\\]\\:h-full[data-side=right]{height:100%}.data-\\[side\\=right\\]\\:w-full[data-side=right]{width:100%}.data-\\[side\\=right\\]\\:translate-x-1[data-side=right]{--tw-translate-x:calc(4px * 1);translate:var(--tw-translate-x) var(--tw-translate-y)}.data-\\[side\\=right\\]\\:slide-in-from-left-2[data-side=right]{--tw-enter-translate-x:calc(2*var(--spacing)*-1)}.data-\\[side\\=top\\]\\:inset-x-0[data-side=top]{inset-inline:0}.data-\\[side\\=top\\]\\:top-0[data-side=top]{top:0}.data-\\[side\\=top\\]\\:h-auto[data-side=top]{height:auto}.data-\\[side\\=top\\]\\:-translate-y-1[data-side=top]{--tw-translate-y:calc(4px * -1);translate:var(--tw-translate-x) var(--tw-translate-y)}.data-\\[side\\=top\\]\\:slide-in-from-bottom-2[data-side=top]{--tw-enter-translate-y:calc(2*var(--spacing))}.data-\\[size\\=default\\]\\:h-8[data-size=default]{height:32px}.data-\\[size\\=default\\]\\:h-\\[18\\.4px\\][data-size=default]{height:18.4px}.data-\\[size\\=default\\]\\:w-\\[32px\\][data-size=default]{width:32px}.data-\\[size\\=lg\\]\\:h-\\[24px\\][data-size=lg]{height:24px}.data-\\[size\\=lg\\]\\:w-\\[40px\\][data-size=lg]{width:40px}.data-\\[size\\=sm\\]\\:h-7[data-size=sm]{height:28px}.data-\\[size\\=sm\\]\\:h-\\[14px\\][data-size=sm]{height:14px}.data-\\[size\\=sm\\]\\:w-\\[24px\\][data-size=sm]{width:24px}.data-\\[size\\=sm\\]\\:rounded-\\[min\\(var\\(--radius-md\\)\\,10px\\)\\][data-size=sm]{border-radius:min(var(--radius-md), 10px)}:is(.\\*\\*\\:data-\\[slot\\=accordion-trigger-icon\\]\\:ml-auto *)[data-slot=accordion-trigger-icon]{margin-left:auto}:is(.\\*\\*\\:data-\\[slot\\=accordion-trigger-icon\\]\\:size-4 *)[data-slot=accordion-trigger-icon]{width:16px;height:16px}:is(.\\*\\*\\:data-\\[slot\\=accordion-trigger-icon\\]\\:text-muted-foreground *)[data-slot=accordion-trigger-icon]{color:var(--muted-foreground)}:is(.\\*\\:data-\\[slot\\=alert-description\\]\\:text-destructive\\/90>*)[data-slot=alert-description]{color:var(--destructive)}@supports (color:color-mix(in lab, red, red)){:is(.\\*\\:data-\\[slot\\=alert-description\\]\\:text-destructive\\/90>*)[data-slot=alert-description]{color:color-mix(in oklab, var(--destructive) 90%, transparent)}}.data-\\[slot\\=checkbox-group\\]\\:gap-3[data-slot=checkbox-group]{gap:12px}:is(.\\*\\:data-\\[slot\\=field\\]\\:p-2\\.5>*)[data-slot=field]{padding:10px}:is(.\\*\\:data-\\[slot\\=field-group\\]\\:gap-4>*)[data-slot=field-group]{gap:16px}:is(.\\*\\:data-\\[slot\\=field-label\\]\\:flex-auto>*)[data-slot=field-label]{flex:auto}:is(.\\*\\:data-\\[slot\\=select-value\\]\\:line-clamp-1>*)[data-slot=select-value]{-webkit-line-clamp:1;-webkit-box-orient:vertical;display:-webkit-box;overflow:hidden}:is(.\\*\\:data-\\[slot\\=select-value\\]\\:flex>*)[data-slot=select-value]{display:flex}:is(.\\*\\:data-\\[slot\\=select-value\\]\\:items-center>*)[data-slot=select-value]{align-items:center}:is(.\\*\\:data-\\[slot\\=select-value\\]\\:gap-1\\.5>*)[data-slot=select-value]{gap:6px}.group-data-horizontal\\/toggle-group\\:data-\\[spacing\\=0\\]\\:first\\:rounded-l-lg:is(:where(.group\\/toggle-group)[data-horizontal] *)[data-spacing=\"0\"]:first-child{border-top-left-radius:var(--radius);border-bottom-left-radius:var(--radius)}.group-data-vertical\\/toggle-group\\:data-\\[spacing\\=0\\]\\:first\\:rounded-t-lg:is(:where(.group\\/toggle-group)[data-vertical] *)[data-spacing=\"0\"]:first-child{border-top-left-radius:var(--radius);border-top-right-radius:var(--radius)}.group-data-horizontal\\/toggle-group\\:data-\\[spacing\\=0\\]\\:last\\:rounded-r-lg:is(:where(.group\\/toggle-group)[data-horizontal] *)[data-spacing=\"0\"]:last-child{border-top-right-radius:var(--radius);border-bottom-right-radius:var(--radius)}.group-data-vertical\\/toggle-group\\:data-\\[spacing\\=0\\]\\:last\\:rounded-b-lg:is(:where(.group\\/toggle-group)[data-vertical] *)[data-spacing=\"0\"]:last-child{border-bottom-right-radius:var(--radius);border-bottom-left-radius:var(--radius)}.data-\\[state\\=active\\]\\:bg-background[data-state=active]{background-color:var(--background)}.data-\\[state\\=active\\]\\:text-foreground[data-state=active]{color:var(--foreground)}.group-data-\\[variant\\=default\\]\\/tabs-list\\:data-\\[state\\=active\\]\\:shadow-sm:is(:where(.group\\/tabs-list)[data-variant=default] *)[data-state=active]{--tw-shadow:0 1px 3px 0 var(--tw-shadow-color,#0000001a), 0 1px 2px -1px var(--tw-shadow-color,#0000001a);box-shadow:var(--tw-inset-shadow), var(--tw-inset-ring-shadow), var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow)}.group-data-\\[variant\\=line\\]\\/tabs-list\\:data-\\[state\\=active\\]\\:bg-transparent:is(:where(.group\\/tabs-list)[data-variant=line] *)[data-state=active]{background-color:#0000}.group-data-\\[variant\\=line\\]\\/tabs-list\\:data-\\[state\\=active\\]\\:shadow-none:is(:where(.group\\/tabs-list)[data-variant=line] *)[data-state=active]{--tw-shadow:0 0 #0000;box-shadow:var(--tw-inset-shadow), var(--tw-inset-ring-shadow), var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow)}.group-data-\\[variant\\=line\\]\\/tabs-list\\:data-\\[state\\=active\\]\\:after\\:opacity-100:is(:where(.group\\/tabs-list)[data-variant=line] *)[data-state=active]:after{content:var(--tw-content);opacity:1}.data-\\[state\\=checked\\]\\:translate-x-\\[calc\\(100\\%-2px\\)\\][data-state=checked]{--tw-translate-x:calc(100% - 2px);translate:var(--tw-translate-x) var(--tw-translate-y)}.data-\\[state\\=checked\\]\\:border-primary[data-state=checked]{border-color:var(--primary)}.data-\\[state\\=checked\\]\\:bg-primary[data-state=checked]{background-color:var(--primary)}.data-\\[state\\=closed\\]\\:animate-out[data-state=closed]{animation:exit var(--tw-animation-duration,var(--tw-duration,.15s))var(--tw-ease,ease)var(--tw-animation-delay,0s)var(--tw-animation-iteration-count,1)var(--tw-animation-direction,normal)var(--tw-animation-fill-mode,none)}.data-\\[state\\=closed\\]\\:fade-out-0[data-state=closed]{--tw-exit-opacity:0}.data-\\[state\\=closed\\]\\:zoom-out-95[data-state=closed]{--tw-exit-scale:.95}.data-\\[state\\=on\\]\\:bg-muted[data-state=on]{background-color:var(--muted)}.data-\\[state\\=on\\]\\:bg-primary[data-state=on]{background-color:var(--primary)}.data-\\[state\\=on\\]\\:text-primary-foreground[data-state=on]{color:var(--primary-foreground)}.data-\\[state\\=open\\]\\:animate-in[data-state=open]{animation:enter var(--tw-animation-duration,var(--tw-duration,.15s))var(--tw-ease,ease)var(--tw-animation-delay,0s)var(--tw-animation-iteration-count,1)var(--tw-animation-direction,normal)var(--tw-animation-fill-mode,none)}.data-\\[state\\=open\\]\\:fade-in-0[data-state=open]{--tw-enter-opacity:0}.data-\\[state\\=open\\]\\:zoom-in-95[data-state=open]{--tw-enter-scale:.95}.data-\\[state\\=unchecked\\]\\:translate-x-0[data-state=unchecked]{--tw-translate-x:calc(4px * 0);translate:var(--tw-translate-x) var(--tw-translate-y)}.data-\\[state\\=unchecked\\]\\:bg-input[data-state=unchecked]{background-color:var(--input)}.data-\\[state\\=unchecked\\]\\:bg-muted[data-state=unchecked]{background-color:var(--muted)}.data-\\[variant\\=label\\]\\:text-sm[data-variant=label]{font-size:14px;line-height:var(--tw-leading,20px)}.data-\\[variant\\=legend\\]\\:text-base[data-variant=legend]{font-size:16px;line-height:var(--tw-leading,24px)}.data-\\[variant\\=line\\]\\:rounded-none[data-variant=line]{border-radius:0}.group-data-horizontal\\/toggle-group\\:data-\\[spacing\\=0\\]\\:data-\\[variant\\=outline\\]\\:border-l-0:is(:where(.group\\/toggle-group)[data-horizontal] *)[data-spacing=\"0\"][data-variant=outline]{border-left-style:var(--tw-border-style);border-left-width:0}.group-data-vertical\\/toggle-group\\:data-\\[spacing\\=0\\]\\:data-\\[variant\\=outline\\]\\:border-t-0:is(:where(.group\\/toggle-group)[data-vertical] *)[data-spacing=\"0\"][data-variant=outline]{border-top-style:var(--tw-border-style);border-top-width:0}.group-data-horizontal\\/toggle-group\\:data-\\[spacing\\=0\\]\\:data-\\[variant\\=outline\\]\\:first\\:border-l:is(:where(.group\\/toggle-group)[data-horizontal] *)[data-spacing=\"0\"][data-variant=outline]:first-child{border-left-style:var(--tw-border-style);border-left-width:1px}.group-data-vertical\\/toggle-group\\:data-\\[spacing\\=0\\]\\:data-\\[variant\\=outline\\]\\:first\\:border-t:is(:where(.group\\/toggle-group)[data-vertical] *)[data-spacing=\"0\"][data-variant=outline]:first-child{border-top-style:var(--tw-border-style);border-top-width:1px}.nth-last-2\\:-mt-1:nth-last-child(2){margin-top:-4px}@media (width>=640px){.sm\\:block{display:block}.sm\\:grid-cols-2{grid-template-columns:repeat(2,minmax(0,1fr))}.sm\\:grid-cols-3{grid-template-columns:repeat(3,minmax(0,1fr))}.sm\\:flex-row{flex-direction:row}.sm\\:items-center{align-items:center}.sm\\:justify-between{justify-content:space-between}.sm\\:px-6{padding-inline:24px}.sm\\:text-sm\\/6{font-size:14px;line-height:24px}.data-\\[side\\=left\\]\\:sm\\:max-w-md[data-side=left],.data-\\[side\\=right\\]\\:sm\\:max-w-md[data-side=right]{max-width:448px}}@media (width>=768px){.md\\:text-sm{font-size:14px;line-height:var(--tw-leading,20px)}.md\\:text-pretty{text-wrap:pretty}}@media (width>=1024px){.lg\\:inset-x-auto{inset-inline:auto}.lg\\:top-4{top:16px}.lg\\:right-\\[calc\\(448px\\+16px\\)\\]{right:464px}.lg\\:bottom-auto{bottom:auto}.lg\\:max-h-\\[calc\\(100svh-32px\\)\\]{max-height:calc(100svh - 32px)}.lg\\:w-\\[480px\\]{width:480px}.lg\\:px-8{padding-inline:32px}}@media (width>=1280px){.xl\\:grid-cols-4{grid-template-columns:repeat(4,minmax(0,1fr))}}@container field-group (width>=448px){.\\@md\\/field-group\\:flex-row{flex-direction:row}.\\@md\\/field-group\\:items-center{align-items:center}:is(.\\@md\\/field-group\\:\\*\\:w-auto>*){width:auto}.\\@md\\/field-group\\:has-\\[\\>\\[data-slot\\=field-content\\]\\]\\:items-start:has(>[data-slot=field-content]){align-items:flex-start}:is(.\\@md\\/field-group\\:\\*\\:data-\\[slot\\=field-label\\]\\:flex-auto>*)[data-slot=field-label]{flex:auto}}.dark\\:border-input:is(.dark *){border-color:var(--input)}.dark\\:bg-destructive\\/20:is(.dark *){background-color:var(--destructive)}@supports (color:color-mix(in lab, red, red)){.dark\\:bg-destructive\\/20:is(.dark *){background-color:color-mix(in oklab, var(--destructive) 20%, transparent)}}.dark\\:bg-input\\/30:is(.dark *){background-color:var(--input)}@supports (color:color-mix(in lab, red, red)){.dark\\:bg-input\\/30:is(.dark *){background-color:color-mix(in oklab, var(--input) 30%, transparent)}}.dark\\:text-muted-foreground:is(.dark *){color:var(--muted-foreground)}@media (hover:hover){.dark\\:hover\\:bg-destructive\\/30:is(.dark *):hover{background-color:var(--destructive)}@supports (color:color-mix(in lab, red, red)){.dark\\:hover\\:bg-destructive\\/30:is(.dark *):hover{background-color:color-mix(in oklab, var(--destructive) 30%, transparent)}}.dark\\:hover\\:bg-input\\/50:is(.dark *):hover{background-color:var(--input)}@supports (color:color-mix(in lab, red, red)){.dark\\:hover\\:bg-input\\/50:is(.dark *):hover{background-color:color-mix(in oklab, var(--input) 50%, transparent)}}.dark\\:hover\\:bg-muted\\/50:is(.dark *):hover{background-color:var(--muted)}@supports (color:color-mix(in lab, red, red)){.dark\\:hover\\:bg-muted\\/50:is(.dark *):hover{background-color:color-mix(in oklab, var(--muted) 50%, transparent)}}.dark\\:hover\\:text-foreground:is(.dark *):hover{color:var(--foreground)}}.dark\\:focus-visible\\:ring-destructive\\/40:is(.dark *):focus-visible{--tw-ring-color:var(--destructive)}@supports (color:color-mix(in lab, red, red)){.dark\\:focus-visible\\:ring-destructive\\/40:is(.dark *):focus-visible{--tw-ring-color:color-mix(in oklab, var(--destructive) 40%, transparent)}}.dark\\:disabled\\:bg-input\\/80:is(.dark *):disabled{background-color:var(--input)}@supports (color:color-mix(in lab, red, red)){.dark\\:disabled\\:bg-input\\/80:is(.dark *):disabled{background-color:color-mix(in oklab, var(--input) 80%, transparent)}}.dark\\:has-data-checked\\:border-primary\\/20:is(.dark *):has([data-checked]){border-color:var(--primary)}@supports (color:color-mix(in lab, red, red)){.dark\\:has-data-checked\\:border-primary\\/20:is(.dark *):has([data-checked]){border-color:color-mix(in oklab, var(--primary) 20%, transparent)}}.dark\\:has-data-checked\\:bg-primary\\/10:is(.dark *):has([data-checked]){background-color:var(--primary)}@supports (color:color-mix(in lab, red, red)){.dark\\:has-data-checked\\:bg-primary\\/10:is(.dark *):has([data-checked]){background-color:color-mix(in oklab, var(--primary) 10%, transparent)}}.dark\\:aria-invalid\\:border-destructive\\/50:is(.dark *)[aria-invalid=true]{border-color:var(--destructive)}@supports (color:color-mix(in lab, red, red)){.dark\\:aria-invalid\\:border-destructive\\/50:is(.dark *)[aria-invalid=true]{border-color:color-mix(in oklab, var(--destructive) 50%, transparent)}}.dark\\:aria-invalid\\:ring-destructive\\/40:is(.dark *)[aria-invalid=true]{--tw-ring-color:var(--destructive)}@supports (color:color-mix(in lab, red, red)){.dark\\:aria-invalid\\:ring-destructive\\/40:is(.dark *)[aria-invalid=true]{--tw-ring-color:color-mix(in oklab, var(--destructive) 40%, transparent)}}.dark\\:data-\\[state\\=active\\]\\:border-input:is(.dark *)[data-state=active]{border-color:var(--input)}.dark\\:data-\\[state\\=active\\]\\:bg-input\\/30:is(.dark *)[data-state=active]{background-color:var(--input)}@supports (color:color-mix(in lab, red, red)){.dark\\:data-\\[state\\=active\\]\\:bg-input\\/30:is(.dark *)[data-state=active]{background-color:color-mix(in oklab, var(--input) 30%, transparent)}}.dark\\:data-\\[state\\=active\\]\\:text-foreground:is(.dark *)[data-state=active]{color:var(--foreground)}.dark\\:group-data-\\[variant\\=line\\]\\/tabs-list\\:data-\\[state\\=active\\]\\:border-transparent:is(.dark *):is(:where(.group\\/tabs-list)[data-variant=line] *)[data-state=active]{border-color:#0000}.dark\\:group-data-\\[variant\\=line\\]\\/tabs-list\\:data-\\[state\\=active\\]\\:bg-transparent:is(.dark *):is(:where(.group\\/tabs-list)[data-variant=line] *)[data-state=active]{background-color:#0000}.dark\\:data-\\[state\\=checked\\]\\:bg-primary-foreground:is(.dark *)[data-state=checked]{background-color:var(--primary-foreground)}.dark\\:data-\\[state\\=unchecked\\]\\:bg-foreground:is(.dark *)[data-state=unchecked]{background-color:var(--foreground)}.dark\\:data-\\[state\\=unchecked\\]\\:bg-input\\/80:is(.dark *)[data-state=unchecked]{background-color:var(--input)}@supports (color:color-mix(in lab, red, red)){.dark\\:data-\\[state\\=unchecked\\]\\:bg-input\\/80:is(.dark *)[data-state=unchecked]{background-color:color-mix(in oklab, var(--input) 80%, transparent)}}.\\[\\&_a\\]\\:underline a{text-decoration-line:underline}.\\[\\&_a\\]\\:underline-offset-3 a{text-underline-offset:3px}.\\[\\&_a\\]\\:underline-offset-4 a{text-underline-offset:4px}@media (hover:hover){.\\[\\&_a\\]\\:hover\\:text-foreground a:hover{color:var(--foreground)}}.\\[\\&_p\\:not\\(\\:last-child\\)\\]\\:mb-4 p:not(:last-child){margin-bottom:16px}.\\[\\&_svg\\]\\:pointer-events-none svg{pointer-events:none}.\\[\\&_svg\\]\\:shrink-0 svg{flex-shrink:0}.\\[\\&_svg\\:not\\(\\[class\\*\\=\\'size-\\'\\]\\)\\]\\:size-3 svg:not([class*=size-]){width:12px;height:12px}.\\[\\&_svg\\:not\\(\\[class\\*\\=\\'size-\\'\\]\\)\\]\\:size-3\\.5 svg:not([class*=size-]){width:14px;height:14px}.\\[\\&_svg\\:not\\(\\[class\\*\\=\\'size-\\'\\]\\)\\]\\:size-4 svg:not([class*=size-]){width:16px;height:16px}@media (hover:hover){.\\[a\\]\\:hover\\:bg-destructive\\/20:is(a):hover{background-color:var(--destructive)}@supports (color:color-mix(in lab, red, red)){.\\[a\\]\\:hover\\:bg-destructive\\/20:is(a):hover{background-color:color-mix(in oklab, var(--destructive) 20%, transparent)}}.\\[a\\]\\:hover\\:bg-muted:is(a):hover{background-color:var(--muted)}.\\[a\\]\\:hover\\:bg-primary\\/80:is(a):hover{background-color:var(--primary)}@supports (color:color-mix(in lab, red, red)){.\\[a\\]\\:hover\\:bg-primary\\/80:is(a):hover{background-color:color-mix(in oklab, var(--primary) 80%, transparent)}}.\\[a\\]\\:hover\\:bg-secondary\\/80:is(a):hover{background-color:var(--secondary)}@supports (color:color-mix(in lab, red, red)){.\\[a\\]\\:hover\\:bg-secondary\\/80:is(a):hover{background-color:color-mix(in oklab, var(--secondary) 80%, transparent)}}.\\[a\\]\\:hover\\:text-muted-foreground:is(a):hover{color:var(--muted-foreground)}}:is(.\\*\\:\\[span\\]\\:last\\:flex>*):is(span):last-child{display:flex}:is(.\\*\\:\\[span\\]\\:last\\:items-center>*):is(span):last-child{align-items:center}:is(.\\*\\:\\[span\\]\\:last\\:gap-2>*):is(span):last-child{gap:8px}:is(.\\*\\:\\[svg\\]\\:row-span-2>*):is(svg){grid-row:span 2/span 2}:is(.\\*\\:\\[svg\\]\\:translate-y-0\\.5>*):is(svg){--tw-translate-y:calc(4px * .5);translate:var(--tw-translate-x) var(--tw-translate-y)}:is(.\\*\\:\\[svg\\]\\:text-current>*):is(svg){color:currentColor}:is(.\\*\\:\\[svg\\:not\\(\\[class\\*\\=\\'size-\\'\\]\\)\\]\\:size-4>*):is(svg:not([class*=size-])){width:16px;height:16px}.\\[\\&\\>\\.sr-only\\]\\:w-auto>.sr-only{width:auto}:is(.has-\\[\\>\\[data-slot\\=field-content\\]\\]\\:\\[\\&\\>\\[role\\=checkbox\\]\\,\\[role\\=radio\\]\\]\\:mt-px:has(>[data-slot=field-content])>[role=checkbox],.has-\\[\\>\\[data-slot\\=field-content\\]\\]\\:\\[\\&\\>\\[role\\=checkbox\\]\\,\\[role\\=radio\\]\\]\\:mt-px:has(>[data-slot=field-content]) [role=radio]){margin-top:1px}@container field-group (width>=448px){:is(.\\@md\\/field-group\\:has-\\[\\>\\[data-slot\\=field-content\\]\\]\\:\\[\\&\\>\\[role\\=checkbox\\]\\,\\[role\\=radio\\]\\]\\:mt-px:has(>[data-slot=field-content])>[role=checkbox],.\\@md\\/field-group\\:has-\\[\\>\\[data-slot\\=field-content\\]\\]\\:\\[\\&\\>\\[role\\=checkbox\\]\\,\\[role\\=radio\\]\\]\\:mt-px:has(>[data-slot=field-content]) [role=radio]){margin-top:1px}}.\\[\\&\\>a\\]\\:underline>a{text-decoration-line:underline}.\\[\\&\\>a\\]\\:underline-offset-4>a{text-underline-offset:4px}.\\[\\&\\>a\\:hover\\]\\:text-primary>a:hover{color:var(--primary)}.\\[\\&\\>svg\\]\\:pointer-events-none>svg{pointer-events:none}.\\[\\&\\>svg\\]\\:size-3\\!>svg{width:12px!important;height:12px!important}[data-variant=legend]+.\\[\\[data-variant\\=legend\\]\\+\\&\\]\\:-mt-1\\.5{margin-top:-6px}.vehicle-garage-theme .garage-tab-list,.demo-theme-editor .garage-tab-list{height:auto;min-height:calc((var(--vehicle-garage-font-size,14px) * 1.35) + (var(--vehicle-garage-padding,8px) * 1.5));padding:max(3px, calc(var(--vehicle-garage-padding,8px) * .35));border:1px solid var(--border);border-color:var(--border)}@supports (color:color-mix(in lab, red, red)){.vehicle-garage-theme .garage-tab-list,.demo-theme-editor .garage-tab-list{border-color:color-mix(in oklab, var(--border) 55%, transparent)}}.vehicle-garage-theme .garage-tab-list,.demo-theme-editor .garage-tab-list{background-color:var(--muted);background-color:var(--foreground)}@supports (color:color-mix(in lab, red, red)){.vehicle-garage-theme .garage-tab-list,.demo-theme-editor .garage-tab-list{background-color:color-mix(in oklab, var(--foreground) 9%, transparent)}}.vehicle-garage-theme .garage-tab-trigger,.demo-theme-editor .garage-tab-trigger{height:auto;min-height:calc((var(--vehicle-garage-font-size,14px) * 1.25) + (var(--vehicle-garage-padding,8px) * 1.1));padding-block:calc(var(--vehicle-garage-padding,8px) * .55);padding-inline:calc(var(--vehicle-garage-padding,8px) * .9);line-height:1.15}.vehicle-garage-theme .garage-tab-trigger[data-state=active],.demo-theme-editor .garage-tab-trigger[data-state=active]{border-color:var(--primary);background-color:var(--primary);color:var(--primary-foreground)}.vehicle-garage-theme .garage-tab-scroll{margin-inline:-16px;padding:16px;scroll-padding:16px}.vehicle-garage-theme .vehicle-garage-icon{aspect-ratio:1;object-fit:contain;flex-shrink:0;width:16px;height:16px}.vehicle-garage-theme [data-slot=input],.vehicle-garage-theme [data-slot=select-trigger]{box-shadow:var(--vehicle-garage-input-shadow,none)}.vehicle-garage-theme .vehicle-garage-plate-input{border-color:var(--input);border-color:var(--input)}@supports (color:color-mix(in lab, red, red)){.vehicle-garage-theme .vehicle-garage-plate-input{border-color:color-mix(in oklab, var(--input) 68%, transparent)}}.vehicle-garage-theme .vehicle-garage-plate-input:focus-visible{border-color:var(--input);border-color:var(--input)}@supports (color:color-mix(in lab, red, red)){.vehicle-garage-theme .vehicle-garage-plate-input:focus-visible{border-color:color-mix(in oklab, var(--input) 100%, transparent)}}.vehicle-garage-plate-input{height:var(--vehicle-garage-plate-input-height,130px);min-height:var(--vehicle-garage-plate-input-height,130px);box-sizing:border-box;border-width:var(--vehicle-garage-plate-input-border-width,6px);border-radius:var(--vehicle-garage-plate-input-radius,calc(var(--radius) + 6px));font-family:var(--vehicle-garage-plate-font,var(--font-license));font-size:var(--vehicle-garage-plate-input-fit-font-size,var(--vehicle-garage-plate-input-font-size,60px));line-height:var(--vehicle-garage-plate-input-line-height,1.12);letter-spacing:var(--vehicle-garage-plate-input-letter-spacing,1.5px);text-transform:uppercase;caret-color:currentColor;padding:20px 24px 8px}.vehicle-garage-plate-input::placeholder{letter-spacing:var(--vehicle-garage-plate-placeholder-letter-spacing,var(--vehicle-garage-plate-input-letter-spacing,1.5px))}@media (width>=768px){.vehicle-garage-plate-input{height:var(--vehicle-garage-plate-input-height-md,150px);min-height:var(--vehicle-garage-plate-input-height-md,150px);border-width:var(--vehicle-garage-plate-input-border-width-md,8px);font-size:var(--vehicle-garage-plate-input-fit-font-size,var(--vehicle-garage-plate-input-font-size-md,75px));padding-top:20px}}}@property --tw-animation-delay{syntax:\"*\";inherits:false;initial-value:0s}@property --tw-animation-direction{syntax:\"*\";inherits:false;initial-value:normal}@property --tw-animation-duration{syntax:\"*\";inherits:false}@property --tw-animation-fill-mode{syntax:\"*\";inherits:false;initial-value:none}@property --tw-animation-iteration-count{syntax:\"*\";inherits:false;initial-value:1}@property --tw-enter-blur{syntax:\"*\";inherits:false;initial-value:0}@property --tw-enter-opacity{syntax:\"*\";inherits:false;initial-value:1}@property --tw-enter-rotate{syntax:\"*\";inherits:false;initial-value:0}@property --tw-enter-scale{syntax:\"*\";inherits:false;initial-value:1}@property --tw-enter-translate-x{syntax:\"*\";inherits:false;initial-value:0}@property --tw-enter-translate-y{syntax:\"*\";inherits:false;initial-value:0}@property --tw-exit-blur{syntax:\"*\";inherits:false;initial-value:0}@property --tw-exit-opacity{syntax:\"*\";inherits:false;initial-value:1}@property --tw-exit-rotate{syntax:\"*\";inherits:false;initial-value:0}@property --tw-exit-scale{syntax:\"*\";inherits:false;initial-value:1}@property --tw-exit-translate-x{syntax:\"*\";inherits:false;initial-value:0}@property --tw-exit-translate-y{syntax:\"*\";inherits:false;initial-value:0}@font-face{font-family:License Plate;src:url(https://res.cloudinary.com/proex/raw/upload/v1730709140/partbot/PartbotPlate.woff2)format(\"woff2\");font-weight:400;font-style:normal;font-display:swap}:root{--background:oklch(98.5% .004 95);--foreground:oklch(20% .012 85);--card:oklch(99% .003 95);--card-foreground:oklch(20% .012 85);--popover:oklch(99% .003 95);--popover-foreground:oklch(20% .012 85);--primary:oklch(49% .12 242);--primary-foreground:oklch(98.5% .004 95);--secondary:oklch(95% .01 95);--secondary-foreground:oklch(27% .02 85);--muted:oklch(95% .01 95);--muted-foreground:oklch(53% .016 85);--accent:oklch(93% .018 230);--accent-foreground:oklch(25% .025 242);--destructive:oklch(57.7% .245 27.325);--border:oklch(89% .012 85);--input:oklch(89% .012 85);--ring:oklch(67% .1 242);--chart-1:oklch(78% .13 242);--chart-2:oklch(66% .12 204);--chart-3:oklch(56% .08 170);--chart-4:oklch(66% .15 60);--chart-5:oklch(62% .18 30);--radius:10px;--sidebar:oklch(98.5% .004 95);--sidebar-foreground:oklch(20% .012 85);--sidebar-primary:oklch(49% .12 242);--sidebar-primary-foreground:oklch(98.5% .004 95);--sidebar-accent:oklch(93% .018 230);--sidebar-accent-foreground:oklch(25% .025 242);--sidebar-border:oklch(89% .012 85);--sidebar-ring:oklch(67% .1 242)}.dark{--background:oklch(20% .012 255);--foreground:oklch(97.5% .004 95);--card:oklch(24% .013 255);--card-foreground:oklch(97.5% .004 95);--popover:oklch(24% .013 255);--popover-foreground:oklch(97.5% .004 95);--primary:oklch(72% .11 220);--primary-foreground:oklch(18% .01 255);--secondary:oklch(30% .01 255);--secondary-foreground:oklch(97.5% .004 95);--muted:oklch(30% .01 255);--muted-foreground:oklch(75% .012 95);--accent:oklch(35% .03 220);--accent-foreground:oklch(98% .004 95);--destructive:oklch(70.4% .191 22.216);--border:oklch(100% 0 0/.11);--input:oklch(100% 0 0/.14);--ring:oklch(72% .11 220);--chart-1:oklch(72% .11 220);--chart-2:oklch(66% .1 185);--chart-3:oklch(68% .11 145);--chart-4:oklch(78% .12 82);--chart-5:oklch(72% .15 35);--sidebar:oklch(24% .013 255);--sidebar-foreground:oklch(97.5% .004 95);--sidebar-primary:oklch(72% .11 220);--sidebar-primary-foreground:oklch(18% .01 255);--sidebar-accent:oklch(35% .03 220);--sidebar-accent-foreground:oklch(98% .004 95);--sidebar-border:oklch(100% 0 0/.11);--sidebar-ring:oklch(72% .11 220)}@keyframes garage-sheet-in-right{0%{transform:translate(100%)}to{transform:translate(0)}}@keyframes garage-sheet-out-right{0%{transform:translate(0)}to{transform:translate(100%)}}@keyframes garage-sheet-in-left{0%{transform:translate(-100%)}to{transform:translate(0)}}@keyframes garage-sheet-out-left{0%{transform:translate(0)}to{transform:translate(-100%)}}@keyframes garage-sheet-in-top{0%{transform:translateY(-100%)}to{transform:translate(0)}}@keyframes garage-sheet-out-top{0%{transform:translate(0)}to{transform:translateY(-100%)}}@keyframes garage-sheet-in-bottom{0%{transform:translateY(100%)}to{transform:translate(0)}}@keyframes garage-sheet-out-bottom{0%{transform:translate(0)}to{transform:translateY(100%)}}@keyframes garage-sheet-overlay-in{0%{opacity:0}to{opacity:1}}@keyframes garage-sheet-overlay-out{0%{opacity:1}to{opacity:0}}.vehicle-garage-theme,.vehicle-garage-theme *{letter-spacing:inherit;text-transform:none;font-style:normal}.vehicle-garage-theme{letter-spacing:0}.vehicle-garage-theme [data-slot=sheet-title]{font-family:var(--vehicle-garage-font-family,var(--font-sans));letter-spacing:0;text-transform:none;margin:0;font-size:16px;font-style:normal;font-weight:500;line-height:24px}.vehicle-garage-theme .vehicle-garage-plate-input{letter-spacing:var(--vehicle-garage-plate-input-letter-spacing,1.5px);text-transform:uppercase}.vehicle-garage-theme .vehicle-garage-plate-input::placeholder{letter-spacing:var(--vehicle-garage-plate-placeholder-letter-spacing,var(--vehicle-garage-plate-input-letter-spacing,1.5px))}@property --tw-rotate-x{syntax:\"*\";inherits:false}@property --tw-rotate-y{syntax:\"*\";inherits:false}@property --tw-rotate-z{syntax:\"*\";inherits:false}@property --tw-skew-x{syntax:\"*\";inherits:false}@property --tw-skew-y{syntax:\"*\";inherits:false}@property --tw-border-style{syntax:\"*\";inherits:false;initial-value:solid}@property --tw-leading{syntax:\"*\";inherits:false}@property --tw-font-weight{syntax:\"*\";inherits:false}@property --tw-tracking{syntax:\"*\";inherits:false}@property --tw-shadow{syntax:\"*\";inherits:false;initial-value:0 0 #0000}@property --tw-shadow-color{syntax:\"*\";inherits:false}@property --tw-shadow-alpha{syntax:\"<percentage>\";inherits:false;initial-value:100%}@property --tw-inset-shadow{syntax:\"*\";inherits:false;initial-value:0 0 #0000}@property --tw-inset-shadow-color{syntax:\"*\";inherits:false}@property --tw-inset-shadow-alpha{syntax:\"<percentage>\";inherits:false;initial-value:100%}@property --tw-ring-color{syntax:\"*\";inherits:false}@property --tw-ring-shadow{syntax:\"*\";inherits:false;initial-value:0 0 #0000}@property --tw-inset-ring-color{syntax:\"*\";inherits:false}@property --tw-inset-ring-shadow{syntax:\"*\";inherits:false;initial-value:0 0 #0000}@property --tw-ring-inset{syntax:\"*\";inherits:false}@property --tw-ring-offset-width{syntax:\"<length>\";inherits:false;initial-value:0}@property --tw-ring-offset-color{syntax:\"*\";inherits:false;initial-value:#fff}@property --tw-ring-offset-shadow{syntax:\"*\";inherits:false;initial-value:0 0 #0000}@property --tw-outline-style{syntax:\"*\";inherits:false;initial-value:solid}@property --tw-blur{syntax:\"*\";inherits:false}@property --tw-brightness{syntax:\"*\";inherits:false}@property --tw-contrast{syntax:\"*\";inherits:false}@property --tw-grayscale{syntax:\"*\";inherits:false}@property --tw-hue-rotate{syntax:\"*\";inherits:false}@property --tw-invert{syntax:\"*\";inherits:false}@property --tw-opacity{syntax:\"*\";inherits:false}@property --tw-saturate{syntax:\"*\";inherits:false}@property --tw-sepia{syntax:\"*\";inherits:false}@property --tw-drop-shadow{syntax:\"*\";inherits:false}@property --tw-drop-shadow-color{syntax:\"*\";inherits:false}@property --tw-drop-shadow-alpha{syntax:\"<percentage>\";inherits:false;initial-value:100%}@property --tw-drop-shadow-size{syntax:\"*\";inherits:false}@property --tw-duration{syntax:\"*\";inherits:false}@property --tw-content{syntax:\"*\";inherits:false;initial-value:\"\"}@property --tw-translate-x{syntax:\"*\";inherits:false;initial-value:0}@property --tw-translate-y{syntax:\"*\";inherits:false;initial-value:0}@property --tw-translate-z{syntax:\"*\";inherits:false;initial-value:0}@keyframes spin{to{transform:rotate(360deg)}}@keyframes enter{0%{opacity:var(--tw-enter-opacity,1);transform:translate3d(var(--tw-enter-translate-x,0),var(--tw-enter-translate-y,0),0)scale3d(var(--tw-enter-scale,1),var(--tw-enter-scale,1),var(--tw-enter-scale,1))rotate(var(--tw-enter-rotate,0));filter:blur(var(--tw-enter-blur,0))}}@keyframes exit{to{opacity:var(--tw-exit-opacity,1);transform:translate3d(var(--tw-exit-translate-x,0),var(--tw-exit-translate-y,0),0)scale3d(var(--tw-exit-scale,1),var(--tw-exit-scale,1),var(--tw-exit-scale,1))rotate(var(--tw-exit-rotate,0));filter:blur(var(--tw-exit-blur,0))}}@keyframes accordion-down{0%{height:0}to{height:var(--radix-accordion-content-height,var(--bits-accordion-content-height,var(--reka-accordion-content-height,var(--kb-accordion-content-height,var(--ngp-accordion-content-height,auto)))))}}@keyframes accordion-up{0%{height:var(--radix-accordion-content-height,var(--bits-accordion-content-height,var(--reka-accordion-content-height,var(--kb-accordion-content-height,var(--ngp-accordion-content-height,auto)))))}to{height:0}}";
|
|
11177
|
+
var Sh = "/*! tailwindcss v4.3.0 | MIT License | https://tailwindcss.com */\n@layer properties{@supports (((-webkit-hyphens:none)) and (not (margin-trim:inline))) or ((-moz-orient:inline) and (not (color:rgb(from red r g b)))){*,:before,:after,::backdrop{--tw-animation-delay:0s;--tw-animation-direction:normal;--tw-animation-duration:initial;--tw-animation-fill-mode:none;--tw-animation-iteration-count:1;--tw-enter-blur:0;--tw-enter-opacity:1;--tw-enter-rotate:0;--tw-enter-scale:1;--tw-enter-translate-x:0;--tw-enter-translate-y:0;--tw-exit-blur:0;--tw-exit-opacity:1;--tw-exit-rotate:0;--tw-exit-scale:1;--tw-exit-translate-x:0;--tw-exit-translate-y:0;--tw-rotate-x:initial;--tw-rotate-y:initial;--tw-rotate-z:initial;--tw-skew-x:initial;--tw-skew-y:initial;--tw-border-style:solid;--tw-leading:initial;--tw-font-weight:initial;--tw-tracking:initial;--tw-shadow:0 0 #0000;--tw-shadow-color:initial;--tw-shadow-alpha:100%;--tw-inset-shadow:0 0 #0000;--tw-inset-shadow-color:initial;--tw-inset-shadow-alpha:100%;--tw-ring-color:initial;--tw-ring-shadow:0 0 #0000;--tw-inset-ring-color:initial;--tw-inset-ring-shadow:0 0 #0000;--tw-ring-inset:initial;--tw-ring-offset-width:0px;--tw-ring-offset-color:#fff;--tw-ring-offset-shadow:0 0 #0000;--tw-outline-style:solid;--tw-blur:initial;--tw-brightness:initial;--tw-contrast:initial;--tw-grayscale:initial;--tw-hue-rotate:initial;--tw-invert:initial;--tw-opacity:initial;--tw-saturate:initial;--tw-sepia:initial;--tw-drop-shadow:initial;--tw-drop-shadow-color:initial;--tw-drop-shadow-alpha:100%;--tw-drop-shadow-size:initial;--tw-duration:initial;--tw-content:\"\";--tw-translate-x:0;--tw-translate-y:0;--tw-translate-z:0}}}@layer theme{:root,:host{--font-sans:\"Segoe UI\", ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, sans-serif;--color-white:#fff;--spacing:4px;--font-weight-normal:400;--font-weight-medium:500;--font-weight-semibold:600;--leading-tight:1.25;--leading-snug:1.375;--leading-normal:1.5;--leading-relaxed:1.625;--radius-md:calc(var(--radius) * .8);--animate-spin:spin 1s linear infinite;--default-transition-duration:.15s;--default-transition-timing-function:cubic-bezier(.4, 0, .2, 1);--font-license:\"License Plate\", var(--font-sans)}}@layer base{.vehicle-garage-theme,.vehicle-garage-theme *,.vehicle-garage-theme :before,.vehicle-garage-theme :after,.vehicle-garage-theme ::backdrop{box-sizing:border-box;border:0 solid}.vehicle-garage-theme *,.vehicle-garage-theme :before,.vehicle-garage-theme :after,.vehicle-garage-theme ::backdrop{border-color:var(--border);outline-color:var(--ring)}@supports (color:color-mix(in lab, red, red)){.vehicle-garage-theme *,.vehicle-garage-theme :before,.vehicle-garage-theme :after,.vehicle-garage-theme ::backdrop{outline-color:color-mix(in oklab, var(--ring) 50%, transparent)}}.vehicle-garage-theme button,.vehicle-garage-theme input,.vehicle-garage-theme select,.vehicle-garage-theme optgroup,.vehicle-garage-theme textarea{font:inherit;font-feature-settings:inherit;font-variation-settings:inherit;letter-spacing:inherit;color:inherit;opacity:1;background-color:#0000;border-radius:0}.vehicle-garage-theme button,.vehicle-garage-theme input:where([type=button],[type=reset],[type=submit]){appearance:button}.vehicle-garage-theme img,.vehicle-garage-theme svg,.vehicle-garage-theme video,.vehicle-garage-theme canvas,.vehicle-garage-theme audio,.vehicle-garage-theme iframe,.vehicle-garage-theme embed,.vehicle-garage-theme object{vertical-align:middle;display:block}.vehicle-garage-theme img,.vehicle-garage-theme video{max-width:100%;height:auto}.vehicle-garage-theme [hidden]:where(:not([hidden=until-found])){display:none!important}}@layer components{.vehicle-garage-theme{--background:var(--vehicle-garage-background,oklch(98.5% .003 85));--foreground:var(--vehicle-garage-foreground,oklch(22% .004 85));--card:var(--vehicle-garage-card,oklch(99% .002 85));--card-foreground:var(--vehicle-garage-card-foreground,var(--foreground));--popover:var(--vehicle-garage-popover,oklch(99.2% .002 85));--popover-foreground:var(--vehicle-garage-popover-foreground,var(--foreground));--primary:var(--vehicle-garage-button-color,var(--vehicle-garage-primary,oklch(23% .004 85)));--primary-foreground:var(--vehicle-garage-button-label-color,var(--vehicle-garage-primary-foreground,oklch(98.5% .003 85)));--secondary:var(--vehicle-garage-secondary,oklch(95% .003 85));--secondary-foreground:var(--vehicle-garage-secondary-foreground,oklch(28% .004 85));--muted:var(--vehicle-garage-muted,oklch(96.4% .002 85));--muted-foreground:var(--vehicle-garage-muted-foreground,oklch(49% .006 85));--accent:var(--vehicle-garage-accent,oklch(93% .003 85));--accent-foreground:var(--vehicle-garage-accent-foreground,oklch(24% .004 85));--border:var(--vehicle-garage-border,oklch(88% .003 85));--input:var(--vehicle-garage-input-border-color,var(--vehicle-garage-input,var(--border)));--ring:var(--vehicle-garage-ring,oklch(55% .006 85));--radius:var(--vehicle-garage-radius,12px);--spacing:4px;--container-sm:384px;--container-md:448px;--container-xl:576px;--container-7xl:1280px;--vehicle-garage-button-hover-background:var(--vehicle-garage-button-hover-color,var(--primary))}@supports (color:color-mix(in lab, red, red)){.vehicle-garage-theme{--vehicle-garage-button-hover-background:var(--vehicle-garage-button-hover-color,color-mix(in oklab, var(--primary) 88%, var(--foreground)))}}.vehicle-garage-theme{--vehicle-garage-button-hover-foreground:var(--vehicle-garage-button-hover-label-color,var(--primary-foreground));--text-xs:calc(var(--vehicle-garage-font-size,14px) * .857143);--text-xs--line-height:calc(var(--vehicle-garage-font-size,14px) * 1.14286);--text-sm:var(--vehicle-garage-font-size,14px);--text-sm--line-height:calc(var(--vehicle-garage-font-size,14px) * 1.42857);--text-base:calc(var(--vehicle-garage-font-size,14px) * 1.14286);--text-base--line-height:calc(var(--vehicle-garage-font-size,14px) * 1.71429);--text-lg:calc(var(--vehicle-garage-font-size,14px) * 1.28571);--text-lg--line-height:calc(var(--vehicle-garage-font-size,14px) * 2);--tracking-tight:-.4px;font-family:var(--vehicle-garage-font-family,var(--font-sans));font-size:var(--vehicle-garage-font-size,14px);line-height:calc(var(--vehicle-garage-font-size,14px) * 1.42857);color:var(--foreground)}.vehicle-garage-theme [data-slot=button][data-variant=default]:hover{background-color:var(--vehicle-garage-button-hover-background);color:var(--vehicle-garage-button-hover-foreground)}.vehicle-garage-theme [data-slot=button]:not([data-size^=icon]){padding-inline:calc(var(--vehicle-garage-padding,8px) * 1.5)}.vehicle-garage-theme [data-slot=input]{border-width:var(--vehicle-garage-input-border-width,1px);box-shadow:var(--vehicle-garage-input-shadow,none);padding-inline:calc(var(--vehicle-garage-padding,8px) * 1.25)}.garage-sheet-overlay{background-color:rgb(0 0 0/var(--vehicle-garage-overlay-opacity,.1));background-color:var(--vehicle-garage-overlay-background,var(--vehicle-garage-overlay-color,#000))}@supports (color:color-mix(in lab, red, red)){.garage-sheet-overlay{background-color:var(--vehicle-garage-overlay-background,color-mix(in srgb, var(--vehicle-garage-overlay-color,#000) calc(var(--vehicle-garage-overlay-opacity,.1) * 100%), transparent))}}.garage-sheet-overlay{opacity:1;-webkit-backdrop-filter:blur(var(--vehicle-garage-overlay-blur,4px));backdrop-filter:blur(var(--vehicle-garage-overlay-blur,4px))}.garage-sheet-overlay[data-state=open]{animation:.3s ease-out garage-sheet-overlay-in}.garage-sheet-overlay[data-state=closed]{animation:.26s ease-in garage-sheet-overlay-out}.garage-sheet-content{will-change:transform}.garage-sheet-content[data-side=right][data-state=open]{animation:.36s cubic-bezier(.16,1,.3,1) garage-sheet-in-right}.garage-sheet-content[data-side=right][data-state=closed]{animation:.3s cubic-bezier(.7,0,.84,0) garage-sheet-out-right}.garage-sheet-content[data-side=left][data-state=open]{animation:.36s cubic-bezier(.16,1,.3,1) garage-sheet-in-left}.garage-sheet-content[data-side=left][data-state=closed]{animation:.3s cubic-bezier(.7,0,.84,0) garage-sheet-out-left}.garage-sheet-content[data-side=top][data-state=open]{animation:.36s cubic-bezier(.16,1,.3,1) garage-sheet-in-top}.garage-sheet-content[data-side=top][data-state=closed]{animation:.3s cubic-bezier(.7,0,.84,0) garage-sheet-out-top}.garage-sheet-content[data-side=bottom][data-state=open]{animation:.36s cubic-bezier(.16,1,.3,1) garage-sheet-in-bottom}.garage-sheet-content[data-side=bottom][data-state=closed]{animation:.3s cubic-bezier(.7,0,.84,0) garage-sheet-out-bottom}@media (prefers-reduced-motion:reduce){.garage-sheet-overlay[data-state]{animation:none}.garage-sheet-content[data-state]{animation:none;transform:translate(0)}}}@layer utilities{.\\@container\\/field-group{container:field-group/inline-size}.pointer-events-auto{pointer-events:auto}.pointer-events-none{pointer-events:none}.sr-only{clip-path:inset(50%);white-space:nowrap;border-width:0;width:1px;height:1px;margin:-1px;padding:0;position:absolute;overflow:hidden}.absolute{position:absolute}.fixed{position:fixed}.relative{position:relative}.inset-0{inset:0}.inset-x-3{inset-inline:12px}.inset-y-0{inset-block:0}.top-1\\/2{top:50%}.top-2{top:8px}.top-3{top:12px}.right-0{right:0}.right-2{right:8px}.right-3{right:12px}.bottom-3{bottom:12px}.z-10{z-index:10}.z-40{z-index:40}.z-50{z-index:50}.z-\\[60\\]{z-index:60}.z-\\[2147483646\\]{z-index:2147483646}.z-\\[2147483647\\]{z-index:2147483647}.container{width:100%}@media (width>=640px){.container{max-width:640px}}@media (width>=768px){.container{max-width:768px}}@media (width>=1024px){.container{max-width:1024px}}@media (width>=1280px){.container{max-width:1280px}}@media (width>=1536px){.container{max-width:1536px}}.-mx-1{margin-inline:-4px}.mx-3{margin-inline:12px}.mx-auto{margin-inline:auto}.-my-2{margin-block:-8px}.my-1{margin-block:4px}.mt-0{margin-top:0}.mt-0\\.5{margin-top:2px}.mt-1{margin-top:4px}.mt-auto{margin-top:auto}.mb-0{margin-bottom:0}.mb-1\\.5{margin-bottom:6px}.mb-2{margin-bottom:8px}.mb-3{margin-bottom:12px}.ml-2{margin-left:8px}.ml-4{margin-left:16px}.line-clamp-1{-webkit-line-clamp:1;-webkit-box-orient:vertical;display:-webkit-box;overflow:hidden}.line-clamp-2{-webkit-line-clamp:2;-webkit-box-orient:vertical;display:-webkit-box;overflow:hidden}.block{display:block}.flex{display:flex}.grid{display:grid}.hidden{display:none}.inline-flex{display:inline-flex}.aspect-\\[4\\/5\\]{aspect-ratio:4/5}.size-3\\.5{width:14px;height:14px}.size-4{width:16px;height:16px}.size-6{width:24px;height:24px}.size-7{width:28px;height:28px}.size-8{width:32px;height:32px}.size-9{width:36px;height:36px}.size-\\[10px\\]{width:10px;height:10px}.size-full{width:100%;height:100%}.h-\\(--radix-accordion-content-height\\){height:var(--radix-accordion-content-height)}.h-3{height:12px}.h-3\\.5{height:14px}.h-4{height:16px}.h-5{height:20px}.h-7{height:28px}.h-8{height:32px}.h-9{height:36px}.h-10{height:40px}.h-11{height:44px}.h-\\[8px\\]{height:8px}.h-auto{height:auto}.h-full{height:100%}.h-px{height:1px}.max-h-\\(--radix-select-content-available-height\\){max-height:var(--radix-select-content-available-height)}.max-h-60{max-height:240px}.max-h-\\[70svh\\]{max-height:70svh}.min-h-0{min-height:0}.min-h-14{min-height:56px}.min-h-\\[calc\\(100\\%-1px\\)\\]{min-height:calc(100% - 1px)}.min-h-svh{min-height:100svh}.w-\\(--radix-popover-trigger-width\\){width:var(--radix-popover-trigger-width)}.w-9{width:36px}.w-14{width:56px}.w-20{width:80px}.w-24{width:96px}.w-28{width:112px}.w-\\[calc\\(100\\%-24px\\)\\]{width:calc(100% - 24px)}.w-auto{width:auto}.w-fit{width:fit-content}.w-full{width:100%}.max-w-7xl{max-width:1280px}.max-w-36{max-width:144px}.max-w-\\[48ch\\]{max-width:48ch}.max-w-sm{max-width:384px}.max-w-xl{max-width:576px}.min-w-0{min-width:0}.min-w-7{min-width:28px}.min-w-8{min-width:32px}.min-w-9{min-width:36px}.min-w-36{min-width:144px}.flex-1{flex:1}.shrink-0{flex-shrink:0}.grow{flex-grow:1}.origin-\\(--radix-select-content-transform-origin\\){transform-origin:var(--radix-select-content-transform-origin)}.transform{transform:var(--tw-rotate-x,) var(--tw-rotate-y,) var(--tw-rotate-z,) var(--tw-skew-x,) var(--tw-skew-y,)}.animate-spin{animation:var(--animate-spin)}.cursor-default{cursor:default}.cursor-pointer{cursor:pointer}.touch-none{touch-action:none}.resize{resize:both}.scroll-my-1{scroll-margin-block:4px}.list-disc{list-style-type:disc}.grid-cols-2{grid-template-columns:repeat(2,minmax(0,1fr))}.grid-cols-3{grid-template-columns:repeat(3,minmax(0,1fr))}.flex-col{flex-direction:column}.flex-row{flex-direction:row}.items-center{align-items:center}.items-start{align-items:flex-start}.items-stretch{align-items:stretch}.justify-between{justify-content:space-between}.justify-center{justify-content:center}.gap-0{gap:0}.gap-0\\.5{gap:2px}.gap-1{gap:4px}.gap-1\\.5{gap:6px}.gap-2{gap:8px}.gap-2\\.5{gap:10px}.gap-3{gap:12px}.gap-4{gap:16px}.gap-5{gap:20px}.gap-8{gap:32px}.gap-\\[--spacing\\(var\\(--gap\\)\\)\\]{gap:calc(4px * var(--gap))}.overflow-auto{overflow:auto}.overflow-hidden{overflow:hidden}.overflow-x-hidden{overflow-x:hidden}.overflow-y-auto{overflow-y:auto}.rounded-4xl{border-radius:calc(var(--radius) * 2.6)}.rounded-\\[inherit\\]{border-radius:inherit}.rounded-\\[min\\(var\\(--radius-md\\)\\,10px\\)\\]{border-radius:min(var(--radius-md), 10px)}.rounded-\\[min\\(var\\(--radius-md\\)\\,12px\\)\\]{border-radius:min(var(--radius-md), 12px)}.rounded-full{border-radius:3.40282e38px}.rounded-lg{border-radius:var(--radius)}.rounded-md{border-radius:calc(var(--radius) * .8)}.rounded-none{border-radius:0}.rounded-xl{border-radius:calc(var(--radius) * 1.4)}.border{border-style:var(--tw-border-style);border-width:1px}.border-0{border-style:var(--tw-border-style);border-width:0}.border-t{border-top-style:var(--tw-border-style);border-top-width:1px}.border-b{border-bottom-style:var(--tw-border-style);border-bottom-width:1px}.border-b-0{border-bottom-style:var(--tw-border-style);border-bottom-width:0}.border-dashed{--tw-border-style:dashed;border-style:dashed}.border-border{border-color:var(--border)}.border-input{border-color:var(--input)}.border-primary{border-color:var(--primary)}.border-ring{border-color:var(--ring)}.border-transparent{border-color:#0000}.bg-accent{background-color:var(--accent)}.bg-background{background-color:var(--background)}.bg-border{background-color:var(--border)}.bg-card{background-color:var(--card)}.bg-destructive\\/10{background-color:var(--destructive)}@supports (color:color-mix(in lab, red, red)){.bg-destructive\\/10{background-color:color-mix(in oklab, var(--destructive) 10%, transparent)}}.bg-muted,.bg-muted\\/20{background-color:var(--muted)}@supports (color:color-mix(in lab, red, red)){.bg-muted\\/20{background-color:color-mix(in oklab, var(--muted) 20%, transparent)}}.bg-muted\\/60{background-color:var(--muted)}@supports (color:color-mix(in lab, red, red)){.bg-muted\\/60{background-color:color-mix(in oklab, var(--muted) 60%, transparent)}}.bg-popover{background-color:var(--popover)}.bg-primary{background-color:var(--primary)}.bg-secondary{background-color:var(--secondary)}.bg-transparent{background-color:#0000}.bg-white{background-color:var(--color-white)}.bg-clip-padding{background-clip:padding-box}.object-contain{object-fit:contain}.p-0{padding:0}.p-1{padding:4px}.p-3{padding:12px}.p-4{padding:16px}.p-6{padding:24px}.p-\\[3px\\]{padding:3px}.p-px{padding:1px}.px-1\\.5{padding-inline:6px}.px-2{padding-inline:8px}.px-2\\.5{padding-inline:10px}.px-3{padding-inline:12px}.px-4{padding-inline:16px}.px-5{padding-inline:20px}.px-\\[8px\\]{padding-inline:8px}.py-0\\.5{padding-block:2px}.py-1{padding-block:4px}.py-1\\.5{padding-block:6px}.py-2{padding-block:8px}.py-2\\.5{padding-block:10px}.py-3{padding-block:12px}.py-4{padding-block:16px}.py-6{padding-block:24px}.py-\\[4px\\]{padding-block:4px}.pt-0{padding-top:0}.pt-1{padding-top:4px}.pt-4{padding-top:16px}.pr-1{padding-right:4px}.pr-1\\.5{padding-right:6px}.pr-2{padding-right:8px}.pr-8{padding-right:32px}.pr-16{padding-right:64px}.pb-2{padding-bottom:8px}.pb-2\\.5{padding-bottom:10px}.pb-4{padding-bottom:16px}.pl-1\\.5{padding-left:6px}.pl-2\\.5{padding-left:10px}.pl-3{padding-left:12px}.text-center{text-align:center}.text-left{text-align:left}.text-right{text-align:right}.font-heading{font-family:var(--font-sans)}.text-base{font-size:16px;line-height:var(--tw-leading,24px)}.text-base\\/6{font-size:16px;line-height:24px}.text-lg{font-size:18px;line-height:var(--tw-leading,28px)}.text-sm{font-size:14px;line-height:var(--tw-leading,20px)}.text-sm\\/relaxed{font-size:14px;line-height:var(--leading-relaxed)}.text-xs{font-size:12px;line-height:var(--tw-leading,16px)}.text-\\[10px\\]{font-size:10px}.text-\\[13px\\]{font-size:13px}.leading-none{--tw-leading:1;line-height:1}.leading-normal{--tw-leading:var(--leading-normal);line-height:var(--leading-normal)}.leading-relaxed{--tw-leading:var(--leading-relaxed);line-height:var(--leading-relaxed)}.leading-snug{--tw-leading:var(--leading-snug);line-height:var(--leading-snug)}.leading-tight{--tw-leading:var(--leading-tight);line-height:var(--leading-tight)}.font-medium{--tw-font-weight:var(--font-weight-medium);font-weight:var(--font-weight-medium)}.font-normal{--tw-font-weight:var(--font-weight-normal);font-weight:var(--font-weight-normal)}.font-semibold{--tw-font-weight:var(--font-weight-semibold);font-weight:var(--font-weight-semibold)}.tracking-\\[2\\.2px\\]{--tw-tracking:2.2px;letter-spacing:2.2px}.tracking-tight{--tw-tracking:-.4px;letter-spacing:-.4px}.text-balance{text-wrap:balance}.break-words{overflow-wrap:break-word}.whitespace-normal{white-space:normal}.whitespace-nowrap{white-space:nowrap}.text-accent-foreground{color:var(--accent-foreground)}.text-card-foreground{color:var(--card-foreground)}.text-current{color:currentColor}.text-destructive{color:var(--destructive)}.text-foreground,.text-foreground\\/60{color:var(--foreground)}@supports (color:color-mix(in lab, red, red)){.text-foreground\\/60{color:color-mix(in oklab, var(--foreground) 60%, transparent)}}.text-foreground\\/70{color:var(--foreground)}@supports (color:color-mix(in lab, red, red)){.text-foreground\\/70{color:color-mix(in oklab, var(--foreground) 70%, transparent)}}.text-muted-foreground{color:var(--muted-foreground)}.text-popover-foreground{color:var(--popover-foreground)}.text-primary{color:var(--primary)}.text-primary-foreground{color:var(--primary-foreground)}.text-secondary-foreground{color:var(--secondary-foreground)}.uppercase{text-transform:uppercase}.no-underline{text-decoration-line:none}.underline-offset-4{text-underline-offset:4px}.opacity-65{opacity:.65}.opacity-100{opacity:1}.shadow{--tw-shadow:0 1px 3px 0 var(--tw-shadow-color,#0000001a), 0 1px 2px -1px var(--tw-shadow-color,#0000001a);box-shadow:var(--tw-inset-shadow), var(--tw-inset-ring-shadow), var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow)}.shadow-lg{--tw-shadow:0 10px 15px -3px var(--tw-shadow-color,#0000001a), 0 4px 6px -4px var(--tw-shadow-color,#0000001a);box-shadow:var(--tw-inset-shadow), var(--tw-inset-ring-shadow), var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow)}.shadow-md{--tw-shadow:0 4px 6px -1px var(--tw-shadow-color,#0000001a), 0 2px 4px -2px var(--tw-shadow-color,#0000001a);box-shadow:var(--tw-inset-shadow), var(--tw-inset-ring-shadow), var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow)}.shadow-none{--tw-shadow:0 0 #0000;box-shadow:var(--tw-inset-shadow), var(--tw-inset-ring-shadow), var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow)}.ring-0{--tw-ring-shadow:var(--tw-ring-inset,) 0 0 0 calc(0px + var(--tw-ring-offset-width)) var(--tw-ring-color,currentcolor);box-shadow:var(--tw-inset-shadow), var(--tw-inset-ring-shadow), var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow)}.ring-1{--tw-ring-shadow:var(--tw-ring-inset,) 0 0 0 calc(1px + var(--tw-ring-offset-width)) var(--tw-ring-color,currentcolor);box-shadow:var(--tw-inset-shadow), var(--tw-inset-ring-shadow), var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow)}.ring-foreground\\/10{--tw-ring-color:var(--foreground)}@supports (color:color-mix(in lab, red, red)){.ring-foreground\\/10{--tw-ring-color:color-mix(in oklab, var(--foreground) 10%, transparent)}}.ring-ring\\/50{--tw-ring-color:var(--ring)}@supports (color:color-mix(in lab, red, red)){.ring-ring\\/50{--tw-ring-color:color-mix(in oklab, var(--ring) 50%, transparent)}}.outline-hidden{--tw-outline-style:none;outline-style:none}@media (forced-colors:active){.outline-hidden{outline-offset:2px;outline:2px solid #0000}}.outline{outline-style:var(--tw-outline-style);outline-width:1px}.blur{--tw-blur:blur(8px);filter:var(--tw-blur,) var(--tw-brightness,) var(--tw-contrast,) var(--tw-grayscale,) var(--tw-hue-rotate,) var(--tw-invert,) var(--tw-saturate,) var(--tw-sepia,) var(--tw-drop-shadow,)}.filter{filter:var(--tw-blur,) var(--tw-brightness,) var(--tw-contrast,) var(--tw-grayscale,) var(--tw-hue-rotate,) var(--tw-invert,) var(--tw-saturate,) var(--tw-sepia,) var(--tw-drop-shadow,)}.transition-\\[color\\,box-shadow\\]{transition-property:color,box-shadow;transition-timing-function:var(--tw-ease,var(--default-transition-timing-function));transition-duration:var(--tw-duration,var(--default-transition-duration))}.transition-all{transition-property:all;transition-timing-function:var(--tw-ease,var(--default-transition-timing-function));transition-duration:var(--tw-duration,var(--default-transition-duration))}.transition-colors{transition-property:color,background-color,border-color,outline-color,text-decoration-color,fill,stroke,--tw-gradient-from,--tw-gradient-via,--tw-gradient-to;transition-timing-function:var(--tw-ease,var(--default-transition-timing-function));transition-duration:var(--tw-duration,var(--default-transition-duration))}.transition-opacity{transition-property:opacity;transition-timing-function:var(--tw-ease,var(--default-transition-timing-function));transition-duration:var(--tw-duration,var(--default-transition-duration))}.transition-transform{transition-property:transform,translate,scale,rotate;transition-timing-function:var(--tw-ease,var(--default-transition-timing-function));transition-duration:var(--tw-duration,var(--default-transition-duration))}.duration-100{--tw-duration:.1s;transition-duration:.1s}.outline-none{--tw-outline-style:none;outline-style:none}.select-none{-webkit-user-select:none;user-select:none}:is(.\\*\\:w-full>*){width:100%}.not-last\\:border-b:not(:last-child){border-bottom-style:var(--tw-border-style);border-bottom-width:1px}.group-open\\:rotate-180:is(:where(.group):is([open],:popover-open,:open) *){rotate:180deg}.group-has-data-horizontal\\/field\\:text-balance:is(:where(.group\\/field):has([data-horizontal]) *){text-wrap:balance}.group-has-\\[\\>svg\\]\\/alert\\:col-start-2:is(:where(.group\\/alert):has(>svg) *){grid-column-start:2}.group-aria-expanded\\/accordion-trigger\\:hidden:is(:where(.group\\/accordion-trigger)[aria-expanded=true] *){display:none}.group-aria-expanded\\/accordion-trigger\\:inline:is(:where(.group\\/accordion-trigger)[aria-expanded=true] *){display:inline}.group-data-horizontal\\/tabs\\:min-h-\\[32px\\]:is(:where(.group\\/tabs)[data-horizontal] *){min-height:32px}.group-data-vertical\\/tabs\\:h-fit:is(:where(.group\\/tabs)[data-vertical] *){height:fit-content}.group-data-vertical\\/tabs\\:w-full:is(:where(.group\\/tabs)[data-vertical] *){width:100%}.group-data-vertical\\/tabs\\:flex-col:is(:where(.group\\/tabs)[data-vertical] *){flex-direction:column}.group-data-vertical\\/tabs\\:justify-start:is(:where(.group\\/tabs)[data-vertical] *){justify-content:flex-start}.group-data-\\[disabled\\=true\\]\\:pointer-events-none:is(:where(.group)[data-disabled=true] *){pointer-events:none}.group-data-\\[disabled\\=true\\]\\:opacity-50:is(:where(.group)[data-disabled=true] *),.group-data-\\[disabled\\=true\\]\\/field\\:opacity-50:is(:where(.group\\/field)[data-disabled=true] *){opacity:.5}.group-data-\\[size\\=default\\]\\/switch\\:size-\\[16px\\]:is(:where(.group\\/switch)[data-size=default] *){width:16px;height:16px}.group-data-\\[size\\=lg\\]\\/switch\\:size-\\[20px\\]:is(:where(.group\\/switch)[data-size=lg] *){width:20px;height:20px}.group-data-\\[size\\=sm\\]\\/switch\\:size-\\[12px\\]:is(:where(.group\\/switch)[data-size=sm] *){width:12px;height:12px}.group-data-\\[spacing\\=0\\]\\/toggle-group\\:rounded-none:is(:where(.group\\/toggle-group)[data-spacing=\"0\"] *){border-radius:0}.group-data-\\[spacing\\=0\\]\\/toggle-group\\:px-2:is(:where(.group\\/toggle-group)[data-spacing=\"0\"] *){padding-inline:8px}.group-data-\\[variant\\=line\\]\\/tabs-list\\:bg-transparent:is(:where(.group\\/tabs-list)[data-variant=line] *){background-color:#0000}.group-data-\\[variant\\=outline\\]\\/field-group\\:-mb-2:is(:where(.group\\/field-group)[data-variant=outline] *){margin-bottom:-8px}.peer-disabled\\:cursor-not-allowed:is(:where(.peer):disabled~*){cursor:not-allowed}.peer-disabled\\:opacity-50:is(:where(.peer):disabled~*){opacity:.5}.file\\:inline-flex::file-selector-button{display:inline-flex}.file\\:h-6::file-selector-button{height:24px}.file\\:border-0::file-selector-button{border-style:var(--tw-border-style);border-width:0}.file\\:bg-transparent::file-selector-button{background-color:#0000}.file\\:text-sm::file-selector-button{font-size:14px;line-height:var(--tw-leading,20px)}.file\\:font-medium::file-selector-button{--tw-font-weight:var(--font-weight-medium);font-weight:var(--font-weight-medium)}.file\\:text-foreground::file-selector-button{color:var(--foreground)}.placeholder\\:text-muted-foreground::placeholder,.placeholder\\:text-muted-foreground\\/70::placeholder{color:var(--muted-foreground)}@supports (color:color-mix(in lab, red, red)){.placeholder\\:text-muted-foreground\\/70::placeholder{color:color-mix(in oklab, var(--muted-foreground) 70%, transparent)}}.after\\:absolute:after{content:var(--tw-content);position:absolute}.after\\:-inset-\\[10px\\]:after{content:var(--tw-content);inset:-10px}.after\\:-inset-x-\\[12px\\]:after{content:var(--tw-content);inset-inline:-12px}.after\\:-inset-y-\\[8px\\]:after{content:var(--tw-content);inset-block:-8px}.after\\:bg-foreground:after{content:var(--tw-content);background-color:var(--foreground)}.after\\:opacity-0:after{content:var(--tw-content);opacity:0}.after\\:transition-opacity:after{content:var(--tw-content);transition-property:opacity;transition-timing-function:var(--tw-ease,var(--default-transition-timing-function));transition-duration:var(--tw-duration,var(--default-transition-duration))}.group-data-horizontal\\/tabs\\:after\\:inset-x-0:is(:where(.group\\/tabs)[data-horizontal] *):after{content:var(--tw-content);inset-inline:0}.group-data-horizontal\\/tabs\\:after\\:bottom-\\[-5px\\]:is(:where(.group\\/tabs)[data-horizontal] *):after{content:var(--tw-content);bottom:-5px}.group-data-horizontal\\/tabs\\:after\\:h-0\\.5:is(:where(.group\\/tabs)[data-horizontal] *):after{content:var(--tw-content);height:2px}.group-data-vertical\\/tabs\\:after\\:inset-y-0:is(:where(.group\\/tabs)[data-vertical] *):after{content:var(--tw-content);inset-block:0}.group-data-vertical\\/tabs\\:after\\:-right-1:is(:where(.group\\/tabs)[data-vertical] *):after{content:var(--tw-content);right:-4px}.group-data-vertical\\/tabs\\:after\\:w-0\\.5:is(:where(.group\\/tabs)[data-vertical] *):after{content:var(--tw-content);width:2px}.first\\:rounded-l-xl:first-child{border-top-left-radius:calc(var(--radius) * 1.4);border-bottom-left-radius:calc(var(--radius) * 1.4)}.first\\:border-t-0:first-child{border-top-style:var(--tw-border-style);border-top-width:0}.first\\:pt-0:first-child{padding-top:0}.last\\:mt-0:last-child{margin-top:0}.last\\:rounded-r-xl:last-child{border-top-right-radius:calc(var(--radius) * 1.4);border-bottom-right-radius:calc(var(--radius) * 1.4)}.focus-within\\:bg-accent:focus-within{background-color:var(--accent)}.focus-within\\:text-accent-foreground:focus-within{color:var(--accent-foreground)}@media (hover:hover){.hover\\:bg-accent:hover{background-color:var(--accent)}.hover\\:bg-destructive\\/10:hover{background-color:var(--destructive)}@supports (color:color-mix(in lab, red, red)){.hover\\:bg-destructive\\/10:hover{background-color:color-mix(in oklab, var(--destructive) 10%, transparent)}}.hover\\:bg-destructive\\/20:hover{background-color:var(--destructive)}@supports (color:color-mix(in lab, red, red)){.hover\\:bg-destructive\\/20:hover{background-color:color-mix(in oklab, var(--destructive) 20%, transparent)}}.hover\\:bg-muted:hover,.hover\\:bg-muted\\/50:hover{background-color:var(--muted)}@supports (color:color-mix(in lab, red, red)){.hover\\:bg-muted\\/50:hover{background-color:color-mix(in oklab, var(--muted) 50%, transparent)}}.hover\\:bg-secondary\\/80:hover{background-color:var(--secondary)}@supports (color:color-mix(in lab, red, red)){.hover\\:bg-secondary\\/80:hover{background-color:color-mix(in oklab, var(--secondary) 80%, transparent)}}.hover\\:text-accent-foreground:hover{color:var(--accent-foreground)}.hover\\:text-destructive:hover{color:var(--destructive)}.hover\\:text-foreground:hover{color:var(--foreground)}.hover\\:text-muted-foreground:hover{color:var(--muted-foreground)}.hover\\:no-underline:hover{text-decoration-line:none}.hover\\:underline:hover{text-decoration-line:underline}.hover\\:opacity-100:hover{opacity:1}.hover\\:ring-3:hover{--tw-ring-shadow:var(--tw-ring-inset,) 0 0 0 calc(3px + var(--tw-ring-offset-width)) var(--tw-ring-color,currentcolor);box-shadow:var(--tw-inset-shadow), var(--tw-inset-ring-shadow), var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow)}}.focus\\:z-10:focus{z-index:10}.focus\\:bg-accent:focus{background-color:var(--accent)}.focus\\:text-accent-foreground:focus,:is(.not-data-\\[variant\\=destructive\\]\\:focus\\:\\*\\*\\:text-accent-foreground:not([data-variant=destructive]):focus *){color:var(--accent-foreground)}.focus-visible\\:z-10:focus-visible{z-index:10}.focus-visible\\:border-destructive\\/40:focus-visible{border-color:var(--destructive)}@supports (color:color-mix(in lab, red, red)){.focus-visible\\:border-destructive\\/40:focus-visible{border-color:color-mix(in oklab, var(--destructive) 40%, transparent)}}.focus-visible\\:border-input:focus-visible{border-color:var(--input)}.focus-visible\\:border-ring:focus-visible{border-color:var(--ring)}.focus-visible\\:opacity-100:focus-visible{opacity:1}.focus-visible\\:ring-0:focus-visible{--tw-ring-shadow:var(--tw-ring-inset,) 0 0 0 calc(0px + var(--tw-ring-offset-width)) var(--tw-ring-color,currentcolor);box-shadow:var(--tw-inset-shadow), var(--tw-inset-ring-shadow), var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow)}.focus-visible\\:ring-2:focus-visible{--tw-ring-shadow:var(--tw-ring-inset,) 0 0 0 calc(2px + var(--tw-ring-offset-width)) var(--tw-ring-color,currentcolor);box-shadow:var(--tw-inset-shadow), var(--tw-inset-ring-shadow), var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow)}.focus-visible\\:ring-3:focus-visible,.focus-visible\\:ring-\\[3px\\]:focus-visible{--tw-ring-shadow:var(--tw-ring-inset,) 0 0 0 calc(3px + var(--tw-ring-offset-width)) var(--tw-ring-color,currentcolor);box-shadow:var(--tw-inset-shadow), var(--tw-inset-ring-shadow), var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow)}.focus-visible\\:ring-destructive\\/20:focus-visible{--tw-ring-color:var(--destructive)}@supports (color:color-mix(in lab, red, red)){.focus-visible\\:ring-destructive\\/20:focus-visible{--tw-ring-color:color-mix(in oklab, var(--destructive) 20%, transparent)}}.focus-visible\\:ring-ring:focus-visible,.focus-visible\\:ring-ring\\/50:focus-visible{--tw-ring-color:var(--ring)}@supports (color:color-mix(in lab, red, red)){.focus-visible\\:ring-ring\\/50:focus-visible{--tw-ring-color:color-mix(in oklab, var(--ring) 50%, transparent)}}.focus-visible\\:ring-offset-0:focus-visible{--tw-ring-offset-width:0px;--tw-ring-offset-shadow:var(--tw-ring-inset,) 0 0 0 var(--tw-ring-offset-width) var(--tw-ring-offset-color)}.focus-visible\\:ring-offset-2:focus-visible{--tw-ring-offset-width:2px;--tw-ring-offset-shadow:var(--tw-ring-inset,) 0 0 0 var(--tw-ring-offset-width) var(--tw-ring-offset-color)}.focus-visible\\:outline-hidden:focus-visible{--tw-outline-style:none;outline-style:none}@media (forced-colors:active){.focus-visible\\:outline-hidden:focus-visible{outline-offset:2px;outline:2px solid #0000}}.focus-visible\\:outline-1:focus-visible{outline-style:var(--tw-outline-style);outline-width:1px}.focus-visible\\:outline-ring:focus-visible{outline-color:var(--ring)}.focus-visible\\:outline-none:focus-visible{--tw-outline-style:none;outline-style:none}.focus-visible\\:after\\:border-ring:focus-visible:after{content:var(--tw-content);border-color:var(--ring)}.active\\:ring-3:active{--tw-ring-shadow:var(--tw-ring-inset,) 0 0 0 calc(3px + var(--tw-ring-offset-width)) var(--tw-ring-color,currentcolor);box-shadow:var(--tw-inset-shadow), var(--tw-inset-ring-shadow), var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow)}.active\\:not-aria-\\[haspopup\\]\\:translate-y-px:active:not([aria-haspopup]){--tw-translate-y:1px;translate:var(--tw-translate-x) var(--tw-translate-y)}.disabled\\:pointer-events-none:disabled{pointer-events:none}.disabled\\:cursor-default:disabled{cursor:default}.disabled\\:cursor-not-allowed:disabled{cursor:not-allowed}.disabled\\:bg-input\\/50:disabled{background-color:var(--input)}@supports (color:color-mix(in lab, red, red)){.disabled\\:bg-input\\/50:disabled{background-color:color-mix(in oklab, var(--input) 50%, transparent)}}.disabled\\:opacity-50:disabled{opacity:.5}.disabled\\:opacity-100:disabled{opacity:1}:where([data-slot=button-group]) .in-data-\\[slot\\=button-group\\]\\:rounded-lg{border-radius:var(--radius)}.has-data-checked\\:border-primary\\/30:has([data-checked]){border-color:var(--primary)}@supports (color:color-mix(in lab, red, red)){.has-data-checked\\:border-primary\\/30:has([data-checked]){border-color:color-mix(in oklab, var(--primary) 30%, transparent)}}.has-data-checked\\:bg-primary\\/5:has([data-checked]){background-color:var(--primary)}@supports (color:color-mix(in lab, red, red)){.has-data-checked\\:bg-primary\\/5:has([data-checked]){background-color:color-mix(in oklab, var(--primary) 5%, transparent)}}.has-data-\\[icon\\=inline-end\\]\\:pr-1:has([data-icon=inline-end]){padding-right:4px}.has-data-\\[icon\\=inline-end\\]\\:pr-1\\.5:has([data-icon=inline-end]){padding-right:6px}.has-data-\\[icon\\=inline-end\\]\\:pr-2:has([data-icon=inline-end]){padding-right:8px}.has-data-\\[icon\\=inline-end\\]\\:pr-2\\.5:has([data-icon=inline-end]){padding-right:10px}.group-data-\\[spacing\\=0\\]\\/toggle-group\\:has-data-\\[icon\\=inline-end\\]\\:pr-1\\.5:is(:where(.group\\/toggle-group)[data-spacing=\"0\"] *):has([data-icon=inline-end]){padding-right:6px}.has-data-\\[icon\\=inline-start\\]\\:pl-1:has([data-icon=inline-start]){padding-left:4px}.has-data-\\[icon\\=inline-start\\]\\:pl-1\\.5:has([data-icon=inline-start]){padding-left:6px}.has-data-\\[icon\\=inline-start\\]\\:pl-2:has([data-icon=inline-start]){padding-left:8px}.has-data-\\[icon\\=inline-start\\]\\:pl-2\\.5:has([data-icon=inline-start]){padding-left:10px}.group-data-\\[spacing\\=0\\]\\/toggle-group\\:has-data-\\[icon\\=inline-start\\]\\:pl-1\\.5:is(:where(.group\\/toggle-group)[data-spacing=\"0\"] *):has([data-icon=inline-start]){padding-left:6px}.has-data-\\[slot\\=alert-action\\]\\:relative:has([data-slot=alert-action]){position:relative}.has-data-\\[slot\\=alert-action\\]\\:pr-18:has([data-slot=alert-action]){padding-right:72px}.has-\\[\\>\\[data-slot\\=checkbox-group\\]\\]\\:gap-3:has(>[data-slot=checkbox-group]){gap:12px}.has-\\[\\>\\[data-slot\\=field-content\\]\\]\\:items-start:has(>[data-slot=field-content]){align-items:flex-start}.has-\\[\\>\\[data-slot\\=field\\]\\]\\:w-full:has(>[data-slot=field]){width:100%}.has-\\[\\>\\[data-slot\\=field\\]\\]\\:flex-col:has(>[data-slot=field]){flex-direction:column}.has-\\[\\>\\[data-slot\\=field\\]\\]\\:rounded-lg:has(>[data-slot=field]){border-radius:var(--radius)}.has-\\[\\>\\[data-slot\\=field\\]\\]\\:border:has(>[data-slot=field]){border-style:var(--tw-border-style);border-width:1px}.has-\\[\\>\\[data-slot\\=radio-group\\]\\]\\:gap-3:has(>[data-slot=radio-group]){gap:12px}.has-\\[\\>svg\\]\\:grid-cols-\\[auto_1fr\\]:has(>svg){grid-template-columns:auto 1fr}.has-\\[\\>svg\\]\\:gap-x-2:has(>svg){column-gap:8px}.aria-expanded\\:bg-muted[aria-expanded=true]{background-color:var(--muted)}.aria-expanded\\:bg-secondary[aria-expanded=true]{background-color:var(--secondary)}.aria-expanded\\:text-foreground[aria-expanded=true]{color:var(--foreground)}.aria-expanded\\:text-secondary-foreground[aria-expanded=true]{color:var(--secondary-foreground)}.aria-invalid\\:border-destructive[aria-invalid=true]{border-color:var(--destructive)}.aria-invalid\\:ring-3[aria-invalid=true]{--tw-ring-shadow:var(--tw-ring-inset,) 0 0 0 calc(3px + var(--tw-ring-offset-width)) var(--tw-ring-color,currentcolor);box-shadow:var(--tw-inset-shadow), var(--tw-inset-ring-shadow), var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow)}.aria-invalid\\:ring-destructive\\/20[aria-invalid=true]{--tw-ring-color:var(--destructive)}@supports (color:color-mix(in lab, red, red)){.aria-invalid\\:ring-destructive\\/20[aria-invalid=true]{--tw-ring-color:color-mix(in oklab, var(--destructive) 20%, transparent)}}.aria-pressed\\:bg-muted[aria-pressed=true]{background-color:var(--muted)}.data-closed\\:animate-accordion-up[data-closed]{animation:accordion-up var(--tw-animation-duration,var(--tw-duration,.2s))var(--tw-ease,ease-out)var(--tw-animation-delay,0s)var(--tw-animation-iteration-count,1)var(--tw-animation-direction,normal)var(--tw-animation-fill-mode,none)}.data-disabled\\:pointer-events-none[data-disabled]{pointer-events:none}.data-disabled\\:cursor-not-allowed[data-disabled]{cursor:not-allowed}.data-disabled\\:opacity-50[data-disabled]{opacity:.5}.data-horizontal\\:h-2\\.5[data-horizontal]{height:10px}.data-horizontal\\:h-px[data-horizontal]{height:1px}.data-horizontal\\:w-full[data-horizontal]{width:100%}.data-horizontal\\:flex-col[data-horizontal]{flex-direction:column}.data-horizontal\\:border-t[data-horizontal]{border-top-style:var(--tw-border-style);border-top-width:1px}.data-horizontal\\:border-t-transparent[data-horizontal]{border-top-color:#0000}.data-open\\:animate-accordion-down[data-open]{animation:accordion-down var(--tw-animation-duration,var(--tw-duration,.2s))var(--tw-ease,ease-out)var(--tw-animation-delay,0s)var(--tw-animation-iteration-count,1)var(--tw-animation-direction,normal)var(--tw-animation-fill-mode,none)}.data-placeholder\\:text-muted-foreground[data-placeholder]{color:var(--muted-foreground)}.data-vertical\\:h-full[data-vertical]{height:100%}.data-vertical\\:w-2\\.5[data-vertical]{width:10px}.data-vertical\\:w-px[data-vertical]{width:1px}.data-vertical\\:flex-col[data-vertical]{flex-direction:column}.data-vertical\\:items-stretch[data-vertical]{align-items:stretch}.data-vertical\\:self-stretch[data-vertical]{align-self:stretch}.data-vertical\\:border-l[data-vertical]{border-left-style:var(--tw-border-style);border-left-width:1px}.data-vertical\\:border-l-transparent[data-vertical]{border-left-color:#0000}.data-\\[align-trigger\\=true\\]\\:animate-none[data-align-trigger=true]{animation:none}.data-\\[invalid\\=true\\]\\:text-destructive[data-invalid=true]{color:var(--destructive)}.data-\\[orientation\\=vertical\\]\\:h-auto[data-orientation=vertical]{height:auto}.data-\\[orientation\\=vertical\\]\\:h-full[data-orientation=vertical]{height:100%}.data-\\[orientation\\=vertical\\]\\:min-h-\\[160px\\][data-orientation=vertical]{min-height:160px}.data-\\[orientation\\=vertical\\]\\:w-\\[8px\\][data-orientation=vertical]{width:8px}.data-\\[orientation\\=vertical\\]\\:w-auto[data-orientation=vertical]{width:auto}.data-\\[orientation\\=vertical\\]\\:w-full[data-orientation=vertical]{width:100%}.data-\\[orientation\\=vertical\\]\\:flex-col[data-orientation=vertical]{flex-direction:column}.data-\\[orientation\\=vertical\\]\\:px-\\[4px\\][data-orientation=vertical]{padding-inline:4px}.data-\\[orientation\\=vertical\\]\\:py-\\[8px\\][data-orientation=vertical]{padding-block:8px}.data-\\[position\\=popper\\]\\:h-\\(--radix-select-trigger-height\\)[data-position=popper]{height:var(--radix-select-trigger-height)}.data-\\[position\\=popper\\]\\:w-full[data-position=popper]{width:100%}.data-\\[position\\=popper\\]\\:min-w-\\(--radix-select-trigger-width\\)[data-position=popper]{min-width:var(--radix-select-trigger-width)}.data-\\[side\\=bottom\\]\\:inset-x-0[data-side=bottom]{inset-inline:0}.data-\\[side\\=bottom\\]\\:bottom-0[data-side=bottom]{bottom:0}.data-\\[side\\=bottom\\]\\:h-auto[data-side=bottom]{height:auto}.data-\\[side\\=bottom\\]\\:translate-y-1[data-side=bottom]{--tw-translate-y:calc(4px * 1);translate:var(--tw-translate-x) var(--tw-translate-y)}.data-\\[side\\=bottom\\]\\:slide-in-from-top-2[data-side=bottom]{--tw-enter-translate-y:calc(2*var(--spacing)*-1)}.data-\\[side\\=left\\]\\:inset-y-0[data-side=left]{inset-block:0}.data-\\[side\\=left\\]\\:left-0[data-side=left]{left:0}.data-\\[side\\=left\\]\\:h-full[data-side=left]{height:100%}.data-\\[side\\=left\\]\\:w-full[data-side=left]{width:100%}.data-\\[side\\=left\\]\\:-translate-x-1[data-side=left]{--tw-translate-x:calc(4px * -1);translate:var(--tw-translate-x) var(--tw-translate-y)}.data-\\[side\\=left\\]\\:slide-in-from-right-2[data-side=left]{--tw-enter-translate-x:calc(2*var(--spacing))}.data-\\[side\\=right\\]\\:inset-y-0[data-side=right]{inset-block:0}.data-\\[side\\=right\\]\\:right-0[data-side=right]{right:0}.data-\\[side\\=right\\]\\:h-full[data-side=right]{height:100%}.data-\\[side\\=right\\]\\:w-full[data-side=right]{width:100%}.data-\\[side\\=right\\]\\:translate-x-1[data-side=right]{--tw-translate-x:calc(4px * 1);translate:var(--tw-translate-x) var(--tw-translate-y)}.data-\\[side\\=right\\]\\:slide-in-from-left-2[data-side=right]{--tw-enter-translate-x:calc(2*var(--spacing)*-1)}.data-\\[side\\=top\\]\\:inset-x-0[data-side=top]{inset-inline:0}.data-\\[side\\=top\\]\\:top-0[data-side=top]{top:0}.data-\\[side\\=top\\]\\:h-auto[data-side=top]{height:auto}.data-\\[side\\=top\\]\\:-translate-y-1[data-side=top]{--tw-translate-y:calc(4px * -1);translate:var(--tw-translate-x) var(--tw-translate-y)}.data-\\[side\\=top\\]\\:slide-in-from-bottom-2[data-side=top]{--tw-enter-translate-y:calc(2*var(--spacing))}.data-\\[size\\=default\\]\\:h-8[data-size=default]{height:32px}.data-\\[size\\=default\\]\\:h-\\[18\\.4px\\][data-size=default]{height:18.4px}.data-\\[size\\=default\\]\\:w-\\[32px\\][data-size=default]{width:32px}.data-\\[size\\=lg\\]\\:h-\\[24px\\][data-size=lg]{height:24px}.data-\\[size\\=lg\\]\\:w-\\[40px\\][data-size=lg]{width:40px}.data-\\[size\\=sm\\]\\:h-7[data-size=sm]{height:28px}.data-\\[size\\=sm\\]\\:h-\\[14px\\][data-size=sm]{height:14px}.data-\\[size\\=sm\\]\\:w-\\[24px\\][data-size=sm]{width:24px}.data-\\[size\\=sm\\]\\:rounded-\\[min\\(var\\(--radius-md\\)\\,10px\\)\\][data-size=sm]{border-radius:min(var(--radius-md), 10px)}:is(.\\*\\*\\:data-\\[slot\\=accordion-trigger-icon\\]\\:ml-auto *)[data-slot=accordion-trigger-icon]{margin-left:auto}:is(.\\*\\*\\:data-\\[slot\\=accordion-trigger-icon\\]\\:size-4 *)[data-slot=accordion-trigger-icon]{width:16px;height:16px}:is(.\\*\\*\\:data-\\[slot\\=accordion-trigger-icon\\]\\:text-muted-foreground *)[data-slot=accordion-trigger-icon]{color:var(--muted-foreground)}:is(.\\*\\:data-\\[slot\\=alert-description\\]\\:text-destructive\\/90>*)[data-slot=alert-description]{color:var(--destructive)}@supports (color:color-mix(in lab, red, red)){:is(.\\*\\:data-\\[slot\\=alert-description\\]\\:text-destructive\\/90>*)[data-slot=alert-description]{color:color-mix(in oklab, var(--destructive) 90%, transparent)}}.data-\\[slot\\=checkbox-group\\]\\:gap-3[data-slot=checkbox-group]{gap:12px}:is(.\\*\\:data-\\[slot\\=field\\]\\:p-2\\.5>*)[data-slot=field]{padding:10px}:is(.\\*\\:data-\\[slot\\=field-group\\]\\:gap-4>*)[data-slot=field-group]{gap:16px}:is(.\\*\\:data-\\[slot\\=field-label\\]\\:flex-auto>*)[data-slot=field-label]{flex:auto}:is(.\\*\\:data-\\[slot\\=select-value\\]\\:line-clamp-1>*)[data-slot=select-value]{-webkit-line-clamp:1;-webkit-box-orient:vertical;display:-webkit-box;overflow:hidden}:is(.\\*\\:data-\\[slot\\=select-value\\]\\:flex>*)[data-slot=select-value]{display:flex}:is(.\\*\\:data-\\[slot\\=select-value\\]\\:items-center>*)[data-slot=select-value]{align-items:center}:is(.\\*\\:data-\\[slot\\=select-value\\]\\:gap-1\\.5>*)[data-slot=select-value]{gap:6px}.group-data-horizontal\\/toggle-group\\:data-\\[spacing\\=0\\]\\:first\\:rounded-l-lg:is(:where(.group\\/toggle-group)[data-horizontal] *)[data-spacing=\"0\"]:first-child{border-top-left-radius:var(--radius);border-bottom-left-radius:var(--radius)}.group-data-vertical\\/toggle-group\\:data-\\[spacing\\=0\\]\\:first\\:rounded-t-lg:is(:where(.group\\/toggle-group)[data-vertical] *)[data-spacing=\"0\"]:first-child{border-top-left-radius:var(--radius);border-top-right-radius:var(--radius)}.group-data-horizontal\\/toggle-group\\:data-\\[spacing\\=0\\]\\:last\\:rounded-r-lg:is(:where(.group\\/toggle-group)[data-horizontal] *)[data-spacing=\"0\"]:last-child{border-top-right-radius:var(--radius);border-bottom-right-radius:var(--radius)}.group-data-vertical\\/toggle-group\\:data-\\[spacing\\=0\\]\\:last\\:rounded-b-lg:is(:where(.group\\/toggle-group)[data-vertical] *)[data-spacing=\"0\"]:last-child{border-bottom-right-radius:var(--radius);border-bottom-left-radius:var(--radius)}.data-\\[state\\=active\\]\\:bg-background[data-state=active]{background-color:var(--background)}.data-\\[state\\=active\\]\\:text-foreground[data-state=active]{color:var(--foreground)}.group-data-\\[variant\\=default\\]\\/tabs-list\\:data-\\[state\\=active\\]\\:shadow-sm:is(:where(.group\\/tabs-list)[data-variant=default] *)[data-state=active]{--tw-shadow:0 1px 3px 0 var(--tw-shadow-color,#0000001a), 0 1px 2px -1px var(--tw-shadow-color,#0000001a);box-shadow:var(--tw-inset-shadow), var(--tw-inset-ring-shadow), var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow)}.group-data-\\[variant\\=line\\]\\/tabs-list\\:data-\\[state\\=active\\]\\:bg-transparent:is(:where(.group\\/tabs-list)[data-variant=line] *)[data-state=active]{background-color:#0000}.group-data-\\[variant\\=line\\]\\/tabs-list\\:data-\\[state\\=active\\]\\:shadow-none:is(:where(.group\\/tabs-list)[data-variant=line] *)[data-state=active]{--tw-shadow:0 0 #0000;box-shadow:var(--tw-inset-shadow), var(--tw-inset-ring-shadow), var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow)}.group-data-\\[variant\\=line\\]\\/tabs-list\\:data-\\[state\\=active\\]\\:after\\:opacity-100:is(:where(.group\\/tabs-list)[data-variant=line] *)[data-state=active]:after{content:var(--tw-content);opacity:1}.data-\\[state\\=checked\\]\\:translate-x-\\[calc\\(100\\%-2px\\)\\][data-state=checked]{--tw-translate-x:calc(100% - 2px);translate:var(--tw-translate-x) var(--tw-translate-y)}.data-\\[state\\=checked\\]\\:border-primary[data-state=checked]{border-color:var(--primary)}.data-\\[state\\=checked\\]\\:bg-primary[data-state=checked]{background-color:var(--primary)}.data-\\[state\\=closed\\]\\:animate-out[data-state=closed]{animation:exit var(--tw-animation-duration,var(--tw-duration,.15s))var(--tw-ease,ease)var(--tw-animation-delay,0s)var(--tw-animation-iteration-count,1)var(--tw-animation-direction,normal)var(--tw-animation-fill-mode,none)}.data-\\[state\\=closed\\]\\:fade-out-0[data-state=closed]{--tw-exit-opacity:0}.data-\\[state\\=closed\\]\\:zoom-out-95[data-state=closed]{--tw-exit-scale:.95}.data-\\[state\\=on\\]\\:bg-muted[data-state=on]{background-color:var(--muted)}.data-\\[state\\=on\\]\\:bg-primary[data-state=on]{background-color:var(--primary)}.data-\\[state\\=on\\]\\:text-primary-foreground[data-state=on]{color:var(--primary-foreground)}.data-\\[state\\=open\\]\\:animate-in[data-state=open]{animation:enter var(--tw-animation-duration,var(--tw-duration,.15s))var(--tw-ease,ease)var(--tw-animation-delay,0s)var(--tw-animation-iteration-count,1)var(--tw-animation-direction,normal)var(--tw-animation-fill-mode,none)}.data-\\[state\\=open\\]\\:fade-in-0[data-state=open]{--tw-enter-opacity:0}.data-\\[state\\=open\\]\\:zoom-in-95[data-state=open]{--tw-enter-scale:.95}.data-\\[state\\=unchecked\\]\\:translate-x-0[data-state=unchecked]{--tw-translate-x:calc(4px * 0);translate:var(--tw-translate-x) var(--tw-translate-y)}.data-\\[state\\=unchecked\\]\\:bg-input[data-state=unchecked]{background-color:var(--input)}.data-\\[state\\=unchecked\\]\\:bg-muted[data-state=unchecked]{background-color:var(--muted)}.data-\\[variant\\=label\\]\\:text-sm[data-variant=label]{font-size:14px;line-height:var(--tw-leading,20px)}.data-\\[variant\\=legend\\]\\:text-base[data-variant=legend]{font-size:16px;line-height:var(--tw-leading,24px)}.data-\\[variant\\=line\\]\\:rounded-none[data-variant=line]{border-radius:0}.group-data-horizontal\\/toggle-group\\:data-\\[spacing\\=0\\]\\:data-\\[variant\\=outline\\]\\:border-l-0:is(:where(.group\\/toggle-group)[data-horizontal] *)[data-spacing=\"0\"][data-variant=outline]{border-left-style:var(--tw-border-style);border-left-width:0}.group-data-vertical\\/toggle-group\\:data-\\[spacing\\=0\\]\\:data-\\[variant\\=outline\\]\\:border-t-0:is(:where(.group\\/toggle-group)[data-vertical] *)[data-spacing=\"0\"][data-variant=outline]{border-top-style:var(--tw-border-style);border-top-width:0}.group-data-horizontal\\/toggle-group\\:data-\\[spacing\\=0\\]\\:data-\\[variant\\=outline\\]\\:first\\:border-l:is(:where(.group\\/toggle-group)[data-horizontal] *)[data-spacing=\"0\"][data-variant=outline]:first-child{border-left-style:var(--tw-border-style);border-left-width:1px}.group-data-vertical\\/toggle-group\\:data-\\[spacing\\=0\\]\\:data-\\[variant\\=outline\\]\\:first\\:border-t:is(:where(.group\\/toggle-group)[data-vertical] *)[data-spacing=\"0\"][data-variant=outline]:first-child{border-top-style:var(--tw-border-style);border-top-width:1px}.nth-last-2\\:-mt-1:nth-last-child(2){margin-top:-4px}@media (width>=640px){.sm\\:block{display:block}.sm\\:grid-cols-2{grid-template-columns:repeat(2,minmax(0,1fr))}.sm\\:grid-cols-3{grid-template-columns:repeat(3,minmax(0,1fr))}.sm\\:flex-row{flex-direction:row}.sm\\:items-center{align-items:center}.sm\\:justify-between{justify-content:space-between}.sm\\:px-6{padding-inline:24px}.sm\\:text-sm\\/6{font-size:14px;line-height:24px}.data-\\[side\\=left\\]\\:sm\\:max-w-md[data-side=left],.data-\\[side\\=right\\]\\:sm\\:max-w-md[data-side=right]{max-width:448px}}@media (width>=768px){.md\\:text-sm{font-size:14px;line-height:var(--tw-leading,20px)}.md\\:text-pretty{text-wrap:pretty}}@media (width>=1024px){.lg\\:inset-x-auto{inset-inline:auto}.lg\\:top-4{top:16px}.lg\\:right-\\[calc\\(448px\\+16px\\)\\]{right:464px}.lg\\:bottom-auto{bottom:auto}.lg\\:max-h-\\[calc\\(100svh-32px\\)\\]{max-height:calc(100svh - 32px)}.lg\\:w-\\[480px\\]{width:480px}.lg\\:px-8{padding-inline:32px}}@media (width>=1280px){.xl\\:grid-cols-4{grid-template-columns:repeat(4,minmax(0,1fr))}}@container field-group (width>=448px){.\\@md\\/field-group\\:flex-row{flex-direction:row}.\\@md\\/field-group\\:items-center{align-items:center}:is(.\\@md\\/field-group\\:\\*\\:w-auto>*){width:auto}.\\@md\\/field-group\\:has-\\[\\>\\[data-slot\\=field-content\\]\\]\\:items-start:has(>[data-slot=field-content]){align-items:flex-start}:is(.\\@md\\/field-group\\:\\*\\:data-\\[slot\\=field-label\\]\\:flex-auto>*)[data-slot=field-label]{flex:auto}}.dark\\:border-input:is(.dark *){border-color:var(--input)}.dark\\:bg-destructive\\/20:is(.dark *){background-color:var(--destructive)}@supports (color:color-mix(in lab, red, red)){.dark\\:bg-destructive\\/20:is(.dark *){background-color:color-mix(in oklab, var(--destructive) 20%, transparent)}}.dark\\:bg-input\\/30:is(.dark *){background-color:var(--input)}@supports (color:color-mix(in lab, red, red)){.dark\\:bg-input\\/30:is(.dark *){background-color:color-mix(in oklab, var(--input) 30%, transparent)}}.dark\\:text-muted-foreground:is(.dark *){color:var(--muted-foreground)}@media (hover:hover){.dark\\:hover\\:bg-destructive\\/30:is(.dark *):hover{background-color:var(--destructive)}@supports (color:color-mix(in lab, red, red)){.dark\\:hover\\:bg-destructive\\/30:is(.dark *):hover{background-color:color-mix(in oklab, var(--destructive) 30%, transparent)}}.dark\\:hover\\:bg-input\\/50:is(.dark *):hover{background-color:var(--input)}@supports (color:color-mix(in lab, red, red)){.dark\\:hover\\:bg-input\\/50:is(.dark *):hover{background-color:color-mix(in oklab, var(--input) 50%, transparent)}}.dark\\:hover\\:bg-muted\\/50:is(.dark *):hover{background-color:var(--muted)}@supports (color:color-mix(in lab, red, red)){.dark\\:hover\\:bg-muted\\/50:is(.dark *):hover{background-color:color-mix(in oklab, var(--muted) 50%, transparent)}}.dark\\:hover\\:text-foreground:is(.dark *):hover{color:var(--foreground)}}.dark\\:focus-visible\\:ring-destructive\\/40:is(.dark *):focus-visible{--tw-ring-color:var(--destructive)}@supports (color:color-mix(in lab, red, red)){.dark\\:focus-visible\\:ring-destructive\\/40:is(.dark *):focus-visible{--tw-ring-color:color-mix(in oklab, var(--destructive) 40%, transparent)}}.dark\\:disabled\\:bg-input\\/80:is(.dark *):disabled{background-color:var(--input)}@supports (color:color-mix(in lab, red, red)){.dark\\:disabled\\:bg-input\\/80:is(.dark *):disabled{background-color:color-mix(in oklab, var(--input) 80%, transparent)}}.dark\\:has-data-checked\\:border-primary\\/20:is(.dark *):has([data-checked]){border-color:var(--primary)}@supports (color:color-mix(in lab, red, red)){.dark\\:has-data-checked\\:border-primary\\/20:is(.dark *):has([data-checked]){border-color:color-mix(in oklab, var(--primary) 20%, transparent)}}.dark\\:has-data-checked\\:bg-primary\\/10:is(.dark *):has([data-checked]){background-color:var(--primary)}@supports (color:color-mix(in lab, red, red)){.dark\\:has-data-checked\\:bg-primary\\/10:is(.dark *):has([data-checked]){background-color:color-mix(in oklab, var(--primary) 10%, transparent)}}.dark\\:aria-invalid\\:border-destructive\\/50:is(.dark *)[aria-invalid=true]{border-color:var(--destructive)}@supports (color:color-mix(in lab, red, red)){.dark\\:aria-invalid\\:border-destructive\\/50:is(.dark *)[aria-invalid=true]{border-color:color-mix(in oklab, var(--destructive) 50%, transparent)}}.dark\\:aria-invalid\\:ring-destructive\\/40:is(.dark *)[aria-invalid=true]{--tw-ring-color:var(--destructive)}@supports (color:color-mix(in lab, red, red)){.dark\\:aria-invalid\\:ring-destructive\\/40:is(.dark *)[aria-invalid=true]{--tw-ring-color:color-mix(in oklab, var(--destructive) 40%, transparent)}}.dark\\:data-\\[state\\=active\\]\\:border-input:is(.dark *)[data-state=active]{border-color:var(--input)}.dark\\:data-\\[state\\=active\\]\\:bg-input\\/30:is(.dark *)[data-state=active]{background-color:var(--input)}@supports (color:color-mix(in lab, red, red)){.dark\\:data-\\[state\\=active\\]\\:bg-input\\/30:is(.dark *)[data-state=active]{background-color:color-mix(in oklab, var(--input) 30%, transparent)}}.dark\\:data-\\[state\\=active\\]\\:text-foreground:is(.dark *)[data-state=active]{color:var(--foreground)}.dark\\:group-data-\\[variant\\=line\\]\\/tabs-list\\:data-\\[state\\=active\\]\\:border-transparent:is(.dark *):is(:where(.group\\/tabs-list)[data-variant=line] *)[data-state=active]{border-color:#0000}.dark\\:group-data-\\[variant\\=line\\]\\/tabs-list\\:data-\\[state\\=active\\]\\:bg-transparent:is(.dark *):is(:where(.group\\/tabs-list)[data-variant=line] *)[data-state=active]{background-color:#0000}.dark\\:data-\\[state\\=checked\\]\\:bg-primary-foreground:is(.dark *)[data-state=checked]{background-color:var(--primary-foreground)}.dark\\:data-\\[state\\=unchecked\\]\\:bg-foreground:is(.dark *)[data-state=unchecked]{background-color:var(--foreground)}.dark\\:data-\\[state\\=unchecked\\]\\:bg-input\\/80:is(.dark *)[data-state=unchecked]{background-color:var(--input)}@supports (color:color-mix(in lab, red, red)){.dark\\:data-\\[state\\=unchecked\\]\\:bg-input\\/80:is(.dark *)[data-state=unchecked]{background-color:color-mix(in oklab, var(--input) 80%, transparent)}}.\\[\\&_a\\]\\:underline a{text-decoration-line:underline}.\\[\\&_a\\]\\:underline-offset-3 a{text-underline-offset:3px}.\\[\\&_a\\]\\:underline-offset-4 a{text-underline-offset:4px}@media (hover:hover){.\\[\\&_a\\]\\:hover\\:text-foreground a:hover{color:var(--foreground)}}.\\[\\&_p\\:not\\(\\:last-child\\)\\]\\:mb-4 p:not(:last-child){margin-bottom:16px}.\\[\\&_svg\\]\\:pointer-events-none svg{pointer-events:none}.\\[\\&_svg\\]\\:shrink-0 svg{flex-shrink:0}.\\[\\&_svg\\:not\\(\\[class\\*\\=\\'size-\\'\\]\\)\\]\\:size-3 svg:not([class*=size-]){width:12px;height:12px}.\\[\\&_svg\\:not\\(\\[class\\*\\=\\'size-\\'\\]\\)\\]\\:size-3\\.5 svg:not([class*=size-]){width:14px;height:14px}.\\[\\&_svg\\:not\\(\\[class\\*\\=\\'size-\\'\\]\\)\\]\\:size-4 svg:not([class*=size-]){width:16px;height:16px}@media (hover:hover){.\\[a\\]\\:hover\\:bg-destructive\\/20:is(a):hover{background-color:var(--destructive)}@supports (color:color-mix(in lab, red, red)){.\\[a\\]\\:hover\\:bg-destructive\\/20:is(a):hover{background-color:color-mix(in oklab, var(--destructive) 20%, transparent)}}.\\[a\\]\\:hover\\:bg-muted:is(a):hover{background-color:var(--muted)}.\\[a\\]\\:hover\\:bg-primary\\/80:is(a):hover{background-color:var(--primary)}@supports (color:color-mix(in lab, red, red)){.\\[a\\]\\:hover\\:bg-primary\\/80:is(a):hover{background-color:color-mix(in oklab, var(--primary) 80%, transparent)}}.\\[a\\]\\:hover\\:bg-secondary\\/80:is(a):hover{background-color:var(--secondary)}@supports (color:color-mix(in lab, red, red)){.\\[a\\]\\:hover\\:bg-secondary\\/80:is(a):hover{background-color:color-mix(in oklab, var(--secondary) 80%, transparent)}}.\\[a\\]\\:hover\\:text-muted-foreground:is(a):hover{color:var(--muted-foreground)}}:is(.\\*\\:\\[span\\]\\:last\\:flex>*):is(span):last-child{display:flex}:is(.\\*\\:\\[span\\]\\:last\\:items-center>*):is(span):last-child{align-items:center}:is(.\\*\\:\\[span\\]\\:last\\:gap-2>*):is(span):last-child{gap:8px}:is(.\\*\\:\\[svg\\]\\:row-span-2>*):is(svg){grid-row:span 2/span 2}:is(.\\*\\:\\[svg\\]\\:translate-y-0\\.5>*):is(svg){--tw-translate-y:calc(4px * .5);translate:var(--tw-translate-x) var(--tw-translate-y)}:is(.\\*\\:\\[svg\\]\\:text-current>*):is(svg){color:currentColor}:is(.\\*\\:\\[svg\\:not\\(\\[class\\*\\=\\'size-\\'\\]\\)\\]\\:size-4>*):is(svg:not([class*=size-])){width:16px;height:16px}.\\[\\&\\>\\.sr-only\\]\\:w-auto>.sr-only{width:auto}:is(.has-\\[\\>\\[data-slot\\=field-content\\]\\]\\:\\[\\&\\>\\[role\\=checkbox\\]\\,\\[role\\=radio\\]\\]\\:mt-px:has(>[data-slot=field-content])>[role=checkbox],.has-\\[\\>\\[data-slot\\=field-content\\]\\]\\:\\[\\&\\>\\[role\\=checkbox\\]\\,\\[role\\=radio\\]\\]\\:mt-px:has(>[data-slot=field-content]) [role=radio]){margin-top:1px}@container field-group (width>=448px){:is(.\\@md\\/field-group\\:has-\\[\\>\\[data-slot\\=field-content\\]\\]\\:\\[\\&\\>\\[role\\=checkbox\\]\\,\\[role\\=radio\\]\\]\\:mt-px:has(>[data-slot=field-content])>[role=checkbox],.\\@md\\/field-group\\:has-\\[\\>\\[data-slot\\=field-content\\]\\]\\:\\[\\&\\>\\[role\\=checkbox\\]\\,\\[role\\=radio\\]\\]\\:mt-px:has(>[data-slot=field-content]) [role=radio]){margin-top:1px}}.\\[\\&\\>a\\]\\:underline>a{text-decoration-line:underline}.\\[\\&\\>a\\]\\:underline-offset-4>a{text-underline-offset:4px}.\\[\\&\\>a\\:hover\\]\\:text-primary>a:hover{color:var(--primary)}.\\[\\&\\>svg\\]\\:pointer-events-none>svg{pointer-events:none}.\\[\\&\\>svg\\]\\:size-3\\!>svg{width:12px!important;height:12px!important}[data-variant=legend]+.\\[\\[data-variant\\=legend\\]\\+\\&\\]\\:-mt-1\\.5{margin-top:-6px}.vehicle-garage-theme .garage-tab-list,.demo-theme-editor .garage-tab-list{height:auto;min-height:calc((var(--vehicle-garage-font-size,14px) * 1.35) + (var(--vehicle-garage-padding,8px) * 1.5));padding:max(3px, calc(var(--vehicle-garage-padding,8px) * .35));border:1px solid var(--border);border-color:var(--border)}@supports (color:color-mix(in lab, red, red)){.vehicle-garage-theme .garage-tab-list,.demo-theme-editor .garage-tab-list{border-color:color-mix(in oklab, var(--border) 55%, transparent)}}.vehicle-garage-theme .garage-tab-list,.demo-theme-editor .garage-tab-list{background-color:var(--muted);background-color:var(--foreground)}@supports (color:color-mix(in lab, red, red)){.vehicle-garage-theme .garage-tab-list,.demo-theme-editor .garage-tab-list{background-color:color-mix(in oklab, var(--foreground) 9%, transparent)}}.vehicle-garage-theme .garage-tab-trigger,.demo-theme-editor .garage-tab-trigger{height:auto;min-height:calc((var(--vehicle-garage-font-size,14px) * 1.25) + (var(--vehicle-garage-padding,8px) * 1.1));padding-block:calc(var(--vehicle-garage-padding,8px) * .55);padding-inline:calc(var(--vehicle-garage-padding,8px) * .9);line-height:1.15}.vehicle-garage-theme .garage-tab-trigger[data-state=active],.demo-theme-editor .garage-tab-trigger[data-state=active]{border-color:var(--primary);background-color:var(--primary);color:var(--primary-foreground)}.vehicle-garage-theme .garage-tab-scroll{margin-inline:-20px;padding:22px 20px 20px;scroll-padding:22px 20px 20px}.vehicle-garage-theme .vehicle-garage-icon{aspect-ratio:1;object-fit:contain;flex-shrink:0;width:16px;height:16px}.vehicle-garage-theme [data-slot=input],.vehicle-garage-theme [data-slot=select-trigger]{box-shadow:var(--vehicle-garage-input-shadow,none)}.vehicle-garage-theme .vehicle-garage-plate-input{border-color:var(--input);border-color:var(--input)}@supports (color:color-mix(in lab, red, red)){.vehicle-garage-theme .vehicle-garage-plate-input{border-color:color-mix(in oklab, var(--input) 68%, transparent)}}.vehicle-garage-theme .vehicle-garage-plate-input:focus-visible{border-color:var(--input);border-color:var(--input)}@supports (color:color-mix(in lab, red, red)){.vehicle-garage-theme .vehicle-garage-plate-input:focus-visible{border-color:color-mix(in oklab, var(--input) 100%, transparent)}}.vehicle-garage-plate-input{height:var(--vehicle-garage-plate-input-height,130px);min-height:var(--vehicle-garage-plate-input-height,130px);box-sizing:border-box;border-width:var(--vehicle-garage-plate-input-border-width,6px);border-radius:var(--vehicle-garage-plate-input-radius,calc(var(--radius) + 6px));font-family:var(--vehicle-garage-plate-font,var(--font-license));font-size:var(--vehicle-garage-plate-input-fit-font-size,var(--vehicle-garage-plate-input-font-size,60px));line-height:var(--vehicle-garage-plate-input-line-height,1.12);letter-spacing:var(--vehicle-garage-plate-input-letter-spacing,1.5px);text-transform:uppercase;caret-color:currentColor;padding:20px 24px 8px}.vehicle-garage-plate-input::placeholder{letter-spacing:var(--vehicle-garage-plate-placeholder-letter-spacing,var(--vehicle-garage-plate-input-letter-spacing,1.5px))}@media (width>=768px){.vehicle-garage-plate-input{height:var(--vehicle-garage-plate-input-height-md,150px);min-height:var(--vehicle-garage-plate-input-height-md,150px);border-width:var(--vehicle-garage-plate-input-border-width-md,8px);font-size:var(--vehicle-garage-plate-input-fit-font-size,var(--vehicle-garage-plate-input-font-size-md,75px));padding-top:20px}}}@property --tw-animation-delay{syntax:\"*\";inherits:false;initial-value:0s}@property --tw-animation-direction{syntax:\"*\";inherits:false;initial-value:normal}@property --tw-animation-duration{syntax:\"*\";inherits:false}@property --tw-animation-fill-mode{syntax:\"*\";inherits:false;initial-value:none}@property --tw-animation-iteration-count{syntax:\"*\";inherits:false;initial-value:1}@property --tw-enter-blur{syntax:\"*\";inherits:false;initial-value:0}@property --tw-enter-opacity{syntax:\"*\";inherits:false;initial-value:1}@property --tw-enter-rotate{syntax:\"*\";inherits:false;initial-value:0}@property --tw-enter-scale{syntax:\"*\";inherits:false;initial-value:1}@property --tw-enter-translate-x{syntax:\"*\";inherits:false;initial-value:0}@property --tw-enter-translate-y{syntax:\"*\";inherits:false;initial-value:0}@property --tw-exit-blur{syntax:\"*\";inherits:false;initial-value:0}@property --tw-exit-opacity{syntax:\"*\";inherits:false;initial-value:1}@property --tw-exit-rotate{syntax:\"*\";inherits:false;initial-value:0}@property --tw-exit-scale{syntax:\"*\";inherits:false;initial-value:1}@property --tw-exit-translate-x{syntax:\"*\";inherits:false;initial-value:0}@property --tw-exit-translate-y{syntax:\"*\";inherits:false;initial-value:0}@font-face{font-family:License Plate;src:url(https://res.cloudinary.com/proex/raw/upload/v1730709140/partbot/PartbotPlate.woff2)format(\"woff2\");font-weight:400;font-style:normal;font-display:swap}:root{--background:oklch(98.5% .004 95);--foreground:oklch(20% .012 85);--card:oklch(99% .003 95);--card-foreground:oklch(20% .012 85);--popover:oklch(99% .003 95);--popover-foreground:oklch(20% .012 85);--primary:oklch(49% .12 242);--primary-foreground:oklch(98.5% .004 95);--secondary:oklch(95% .01 95);--secondary-foreground:oklch(27% .02 85);--muted:oklch(95% .01 95);--muted-foreground:oklch(53% .016 85);--accent:oklch(93% .018 230);--accent-foreground:oklch(25% .025 242);--destructive:oklch(57.7% .245 27.325);--border:oklch(89% .012 85);--input:oklch(89% .012 85);--ring:oklch(67% .1 242);--chart-1:oklch(78% .13 242);--chart-2:oklch(66% .12 204);--chart-3:oklch(56% .08 170);--chart-4:oklch(66% .15 60);--chart-5:oklch(62% .18 30);--radius:10px;--sidebar:oklch(98.5% .004 95);--sidebar-foreground:oklch(20% .012 85);--sidebar-primary:oklch(49% .12 242);--sidebar-primary-foreground:oklch(98.5% .004 95);--sidebar-accent:oklch(93% .018 230);--sidebar-accent-foreground:oklch(25% .025 242);--sidebar-border:oklch(89% .012 85);--sidebar-ring:oklch(67% .1 242)}.dark{--background:oklch(20% .012 255);--foreground:oklch(97.5% .004 95);--card:oklch(24% .013 255);--card-foreground:oklch(97.5% .004 95);--popover:oklch(24% .013 255);--popover-foreground:oklch(97.5% .004 95);--primary:oklch(72% .11 220);--primary-foreground:oklch(18% .01 255);--secondary:oklch(30% .01 255);--secondary-foreground:oklch(97.5% .004 95);--muted:oklch(30% .01 255);--muted-foreground:oklch(75% .012 95);--accent:oklch(35% .03 220);--accent-foreground:oklch(98% .004 95);--destructive:oklch(70.4% .191 22.216);--border:oklch(100% 0 0/.11);--input:oklch(100% 0 0/.14);--ring:oklch(72% .11 220);--chart-1:oklch(72% .11 220);--chart-2:oklch(66% .1 185);--chart-3:oklch(68% .11 145);--chart-4:oklch(78% .12 82);--chart-5:oklch(72% .15 35);--sidebar:oklch(24% .013 255);--sidebar-foreground:oklch(97.5% .004 95);--sidebar-primary:oklch(72% .11 220);--sidebar-primary-foreground:oklch(18% .01 255);--sidebar-accent:oklch(35% .03 220);--sidebar-accent-foreground:oklch(98% .004 95);--sidebar-border:oklch(100% 0 0/.11);--sidebar-ring:oklch(72% .11 220)}@keyframes garage-sheet-in-right{0%{transform:translate(100%)}to{transform:translate(0)}}@keyframes garage-sheet-out-right{0%{transform:translate(0)}to{transform:translate(100%)}}@keyframes garage-sheet-in-left{0%{transform:translate(-100%)}to{transform:translate(0)}}@keyframes garage-sheet-out-left{0%{transform:translate(0)}to{transform:translate(-100%)}}@keyframes garage-sheet-in-top{0%{transform:translateY(-100%)}to{transform:translate(0)}}@keyframes garage-sheet-out-top{0%{transform:translate(0)}to{transform:translateY(-100%)}}@keyframes garage-sheet-in-bottom{0%{transform:translateY(100%)}to{transform:translate(0)}}@keyframes garage-sheet-out-bottom{0%{transform:translate(0)}to{transform:translateY(100%)}}@keyframes garage-sheet-overlay-in{0%{opacity:0}to{opacity:1}}@keyframes garage-sheet-overlay-out{0%{opacity:1}to{opacity:0}}.vehicle-garage-theme,.vehicle-garage-theme *{letter-spacing:inherit;text-transform:none;font-style:normal}.vehicle-garage-theme{letter-spacing:0}.vehicle-garage-theme [data-slot=sheet-title]{font-family:var(--vehicle-garage-font-family,var(--font-sans));letter-spacing:0;text-transform:none;margin:0;font-size:16px;font-style:normal;font-weight:500;line-height:24px}.vehicle-garage-theme .vehicle-garage-plate-input{letter-spacing:var(--vehicle-garage-plate-input-letter-spacing,1.5px);text-transform:uppercase}.vehicle-garage-theme .vehicle-garage-plate-input::placeholder{letter-spacing:var(--vehicle-garage-plate-placeholder-letter-spacing,var(--vehicle-garage-plate-input-letter-spacing,1.5px))}@property --tw-rotate-x{syntax:\"*\";inherits:false}@property --tw-rotate-y{syntax:\"*\";inherits:false}@property --tw-rotate-z{syntax:\"*\";inherits:false}@property --tw-skew-x{syntax:\"*\";inherits:false}@property --tw-skew-y{syntax:\"*\";inherits:false}@property --tw-border-style{syntax:\"*\";inherits:false;initial-value:solid}@property --tw-leading{syntax:\"*\";inherits:false}@property --tw-font-weight{syntax:\"*\";inherits:false}@property --tw-tracking{syntax:\"*\";inherits:false}@property --tw-shadow{syntax:\"*\";inherits:false;initial-value:0 0 #0000}@property --tw-shadow-color{syntax:\"*\";inherits:false}@property --tw-shadow-alpha{syntax:\"<percentage>\";inherits:false;initial-value:100%}@property --tw-inset-shadow{syntax:\"*\";inherits:false;initial-value:0 0 #0000}@property --tw-inset-shadow-color{syntax:\"*\";inherits:false}@property --tw-inset-shadow-alpha{syntax:\"<percentage>\";inherits:false;initial-value:100%}@property --tw-ring-color{syntax:\"*\";inherits:false}@property --tw-ring-shadow{syntax:\"*\";inherits:false;initial-value:0 0 #0000}@property --tw-inset-ring-color{syntax:\"*\";inherits:false}@property --tw-inset-ring-shadow{syntax:\"*\";inherits:false;initial-value:0 0 #0000}@property --tw-ring-inset{syntax:\"*\";inherits:false}@property --tw-ring-offset-width{syntax:\"<length>\";inherits:false;initial-value:0}@property --tw-ring-offset-color{syntax:\"*\";inherits:false;initial-value:#fff}@property --tw-ring-offset-shadow{syntax:\"*\";inherits:false;initial-value:0 0 #0000}@property --tw-outline-style{syntax:\"*\";inherits:false;initial-value:solid}@property --tw-blur{syntax:\"*\";inherits:false}@property --tw-brightness{syntax:\"*\";inherits:false}@property --tw-contrast{syntax:\"*\";inherits:false}@property --tw-grayscale{syntax:\"*\";inherits:false}@property --tw-hue-rotate{syntax:\"*\";inherits:false}@property --tw-invert{syntax:\"*\";inherits:false}@property --tw-opacity{syntax:\"*\";inherits:false}@property --tw-saturate{syntax:\"*\";inherits:false}@property --tw-sepia{syntax:\"*\";inherits:false}@property --tw-drop-shadow{syntax:\"*\";inherits:false}@property --tw-drop-shadow-color{syntax:\"*\";inherits:false}@property --tw-drop-shadow-alpha{syntax:\"<percentage>\";inherits:false;initial-value:100%}@property --tw-drop-shadow-size{syntax:\"*\";inherits:false}@property --tw-duration{syntax:\"*\";inherits:false}@property --tw-content{syntax:\"*\";inherits:false;initial-value:\"\"}@property --tw-translate-x{syntax:\"*\";inherits:false;initial-value:0}@property --tw-translate-y{syntax:\"*\";inherits:false;initial-value:0}@property --tw-translate-z{syntax:\"*\";inherits:false;initial-value:0}@keyframes spin{to{transform:rotate(360deg)}}@keyframes enter{0%{opacity:var(--tw-enter-opacity,1);transform:translate3d(var(--tw-enter-translate-x,0),var(--tw-enter-translate-y,0),0)scale3d(var(--tw-enter-scale,1),var(--tw-enter-scale,1),var(--tw-enter-scale,1))rotate(var(--tw-enter-rotate,0));filter:blur(var(--tw-enter-blur,0))}}@keyframes exit{to{opacity:var(--tw-exit-opacity,1);transform:translate3d(var(--tw-exit-translate-x,0),var(--tw-exit-translate-y,0),0)scale3d(var(--tw-exit-scale,1),var(--tw-exit-scale,1),var(--tw-exit-scale,1))rotate(var(--tw-exit-rotate,0));filter:blur(var(--tw-exit-blur,0))}}@keyframes accordion-down{0%{height:0}to{height:var(--radix-accordion-content-height,var(--bits-accordion-content-height,var(--reka-accordion-content-height,var(--kb-accordion-content-height,var(--ngp-accordion-content-height,auto)))))}}@keyframes accordion-up{0%{height:var(--radix-accordion-content-height,var(--bits-accordion-content-height,var(--reka-accordion-content-height,var(--kb-accordion-content-height,var(--ngp-accordion-content-height,auto)))))}to{height:0}}";
|
|
11166
11178
|
//#endregion
|
|
11167
11179
|
//#region src/components/vehicle-garage/portal-styles.ts
|
|
11168
|
-
function
|
|
11180
|
+
function Ch(e, t, n) {
|
|
11169
11181
|
let r = t.querySelector(`style[${n}=""]`);
|
|
11170
|
-
return r || (r = e.createElement("style"), r.setAttribute(n, ""), t.append(r)), r.textContent =
|
|
11171
|
-
}
|
|
11172
|
-
function Ch(e) {
|
|
11173
|
-
Sh(e, e.head ?? e.documentElement, "data-vehicle-garage-global-style");
|
|
11182
|
+
return r || (r = e.createElement("style"), r.setAttribute(n, ""), t.append(r)), r.textContent = Sh, r;
|
|
11174
11183
|
}
|
|
11175
11184
|
function wh(e) {
|
|
11176
|
-
|
|
11185
|
+
Ch(e, e.head ?? e.documentElement, "data-vehicle-garage-global-style");
|
|
11177
11186
|
}
|
|
11178
|
-
function Th(e
|
|
11179
|
-
|
|
11180
|
-
return n.setAttribute("data-vehicle-garage-portal-root", ""), n.classList.add("vehicle-garage-theme"), Eh(n, t), e.body.append(n), n;
|
|
11187
|
+
function Th(e) {
|
|
11188
|
+
Ch(e.ownerDocument, e, "data-vehicle-garage-style");
|
|
11181
11189
|
}
|
|
11182
11190
|
function Eh(e, t) {
|
|
11191
|
+
let n = e.createElement("div");
|
|
11192
|
+
return n.setAttribute("data-vehicle-garage-portal-root", ""), n.classList.add("vehicle-garage-theme"), Dh(n, t), e.body.append(n), n;
|
|
11193
|
+
}
|
|
11194
|
+
function Dh(e, t) {
|
|
11183
11195
|
e.classList.add("vehicle-garage-theme"), e.removeAttribute("style");
|
|
11184
11196
|
let n = Xc(t);
|
|
11185
11197
|
n && Object.entries(n).forEach(([t, n]) => {
|
|
@@ -11188,7 +11200,7 @@ function Eh(e, t) {
|
|
|
11188
11200
|
}
|
|
11189
11201
|
//#endregion
|
|
11190
11202
|
//#region src/components/vehicle-garage/VehicleGarageShadowWrapper.tsx
|
|
11191
|
-
var
|
|
11203
|
+
var Oh = r(function(e, t) {
|
|
11192
11204
|
let n = l(null), r = l(null), i = l(null), [s, d] = u(null), [f, m] = u(null), g = c(() => ({
|
|
11193
11205
|
buttonBorderRadius: e.buttonBorderRadius,
|
|
11194
11206
|
buttonColor: e.buttonColor,
|
|
@@ -11237,41 +11249,41 @@ var Dh = r(function(e, t) {
|
|
|
11237
11249
|
}), [e]), a(() => {
|
|
11238
11250
|
if (!n.current) return;
|
|
11239
11251
|
let e = n.current, t = e.shadowRoot ?? e.attachShadow({ mode: "open" });
|
|
11240
|
-
|
|
11252
|
+
wh(document), Th(t);
|
|
11241
11253
|
let a = t.querySelector("[data-vehicle-garage-mount=\"\"]");
|
|
11242
11254
|
a || (a = document.createElement("div"), a.setAttribute("data-vehicle-garage-mount", ""), t.append(a));
|
|
11243
11255
|
let o = r.current;
|
|
11244
|
-
return o || (o =
|
|
11256
|
+
return o || (o = Eh(document, i.current), r.current = o), d(a), m(o), () => {
|
|
11245
11257
|
r.current?.remove(), r.current = null, d(null), m(null);
|
|
11246
11258
|
};
|
|
11247
11259
|
}, []), a(() => {
|
|
11248
|
-
r.current &&
|
|
11260
|
+
r.current && Dh(r.current, g);
|
|
11249
11261
|
}, [g]), /* @__PURE__ */ h("div", {
|
|
11250
11262
|
ref: n,
|
|
11251
|
-
children: s ? p(/* @__PURE__ */ h(
|
|
11263
|
+
children: s ? p(/* @__PURE__ */ h(xh, {
|
|
11252
11264
|
...e,
|
|
11253
11265
|
portalContainer: f
|
|
11254
11266
|
}), s) : null
|
|
11255
11267
|
});
|
|
11256
|
-
}),
|
|
11268
|
+
}), kh = new Map([
|
|
11257
11269
|
["show-garage-icon", "showGarageIcon"],
|
|
11258
11270
|
["garage-icon-url", "garageIconUrl"],
|
|
11259
11271
|
["show-branding", "showBranding"],
|
|
11260
11272
|
["hide-branding", "hideBranding"]
|
|
11261
11273
|
]);
|
|
11262
|
-
function kh(e) {
|
|
11263
|
-
return Oh.get(e) || e.replace(/^data-/, "").replace(/-([a-z])/g, (e, t) => t.toUpperCase());
|
|
11264
|
-
}
|
|
11265
11274
|
function Ah(e) {
|
|
11266
|
-
return e
|
|
11275
|
+
return kh.get(e) || e.replace(/^data-/, "").replace(/-([a-z])/g, (e, t) => t.toUpperCase());
|
|
11267
11276
|
}
|
|
11268
11277
|
function jh(e) {
|
|
11278
|
+
return e === "true" ? !0 : e === "false" ? !1 : e;
|
|
11279
|
+
}
|
|
11280
|
+
function Mh(e) {
|
|
11269
11281
|
let t = {};
|
|
11270
11282
|
return Array.from(e.attributes).forEach(({ name: e, value: n }) => {
|
|
11271
|
-
!e.startsWith("data-") && !
|
|
11283
|
+
!e.startsWith("data-") && !kh.has(e) || (t[Ah(e)] = jh(n));
|
|
11272
11284
|
}), t;
|
|
11273
11285
|
}
|
|
11274
|
-
function
|
|
11286
|
+
function Nh() {
|
|
11275
11287
|
if (typeof window > "u" || customElements.get("vehicle-garage") !== void 0) return;
|
|
11276
11288
|
class e extends HTMLElement {
|
|
11277
11289
|
root = null;
|
|
@@ -11281,9 +11293,9 @@ function Mh() {
|
|
|
11281
11293
|
connectedCallback() {
|
|
11282
11294
|
if (this.root) return;
|
|
11283
11295
|
let e = this.attachShadow({ mode: "open" }), t = document.createElement("div");
|
|
11284
|
-
|
|
11285
|
-
let { triggerSelector: n, ...r } =
|
|
11286
|
-
this.externalTriggerCleanup = this.connectExternalTriggers(n), this.portalRoot =
|
|
11296
|
+
wh(document), Th(e), e.append(t);
|
|
11297
|
+
let { triggerSelector: n, ...r } = Mh(this);
|
|
11298
|
+
this.externalTriggerCleanup = this.connectExternalTriggers(n), this.portalRoot = Eh(document, r);
|
|
11287
11299
|
let i = () => {
|
|
11288
11300
|
let [e, t] = u(!1);
|
|
11289
11301
|
return a(() => {
|
|
@@ -11292,7 +11304,7 @@ function Mh() {
|
|
|
11292
11304
|
close: () => t(!1),
|
|
11293
11305
|
toggle: () => t((e) => !e)
|
|
11294
11306
|
};
|
|
11295
|
-
}, []), /* @__PURE__ */ h(
|
|
11307
|
+
}, []), /* @__PURE__ */ h(xh, {
|
|
11296
11308
|
...r,
|
|
11297
11309
|
isOpen: e,
|
|
11298
11310
|
onOpenChange: t,
|
|
@@ -11334,8 +11346,8 @@ function Mh() {
|
|
|
11334
11346
|
}
|
|
11335
11347
|
//#endregion
|
|
11336
11348
|
//#region src/index.ts
|
|
11337
|
-
var
|
|
11338
|
-
|
|
11339
|
-
var
|
|
11349
|
+
var Ph = v;
|
|
11350
|
+
Nh();
|
|
11351
|
+
var Fh = Oh;
|
|
11340
11352
|
//#endregion
|
|
11341
|
-
export {
|
|
11353
|
+
export { Oh as VehicleGarage, xh as VehicleGarageRaw, Fh as default, Ph as vehicleGarageCssUrl };
|