@betterstore/react 0.5.25 → 0.6.0

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/index.mjs CHANGED
@@ -239,15 +239,18 @@ const generateLineItemId = (item) => {
239
239
  metadata: item.metadata,
240
240
  }));
241
241
  };
242
- const useCart = create()(persist((set, get) => ({
242
+ const useCart = () => create()(persist((set, get) => ({
243
243
  lineItems: [],
244
244
  addItem: (product, additionalParams) => set((state) => {
245
245
  var _a, _b, _c;
246
246
  const productId = product.id;
247
- const selectedVariant = ((_a = product.productVariants) !== null && _a !== void 0 ? _a : []).find((v) => v.variantOptions.every((vOpt) => {
247
+ const selectedVariant = ((_a = product.productVariants) !== null && _a !== void 0 ? _a : []).find((v) => {
248
248
  var _a;
249
- return (_a = additionalParams === null || additionalParams === void 0 ? void 0 : additionalParams.variantOptions) === null || _a === void 0 ? void 0 : _a.some((iOpt) => vOpt.name === iOpt.name && vOpt.value === iOpt.value);
250
- })) || null;
249
+ return (_a = v.variantOptions) === null || _a === void 0 ? void 0 : _a.every((vOpt) => {
250
+ var _a;
251
+ return (_a = additionalParams === null || additionalParams === void 0 ? void 0 : additionalParams.variantOptions) === null || _a === void 0 ? void 0 : _a.some((iOpt) => vOpt.name === iOpt.name && vOpt.value === iOpt.value);
252
+ });
253
+ }) || null;
251
254
  const formattedNewItem = {
252
255
  productId: productId,
253
256
  product: product,
@@ -7520,109 +7523,11 @@ var Client = class {
7520
7523
  }
7521
7524
  };
7522
7525
  var client_default = Client;
7523
-
7524
- // src/helpers/index.ts
7525
- var currencyLocales = {
7526
- CZK: "cs-CZ",
7527
- // Czech Koruna
7528
- USD: "en-US",
7529
- // US Dollar
7530
- EUR: "de-DE",
7531
- // Euro (Germany locale)
7532
- GBP: "en-GB",
7533
- // British Pound
7534
- JPY: "ja-JP",
7535
- // Japanese Yen
7536
- AUD: "en-AU",
7537
- // Australian Dollar
7538
- CAD: "en-CA",
7539
- // Canadian Dollar
7540
- NZD: "en-NZ",
7541
- // New Zealand Dollar
7542
- SEK: "sv-SE",
7543
- // Swedish Krona
7544
- NOK: "nb-NO",
7545
- // Norwegian Krone
7546
- DKK: "da-DK",
7547
- // Danish Krone
7548
- CHF: "de-CH",
7549
- // Swiss Franc (German Switzerland)
7550
- HUF: "hu-HU",
7551
- // Hungarian Forint
7552
- PLN: "pl-PL",
7553
- // Polish Zloty
7554
- BGN: "bg-BG",
7555
- // Bulgarian Lev
7556
- RON: "ro-RO",
7557
- // Romanian Leu
7558
- RUB: "ru-RU",
7559
- // Russian Ruble
7560
- CNY: "zh-CN",
7561
- // Chinese Yuan
7562
- INR: "en-IN",
7563
- // Indian Rupee
7564
- BRL: "pt-BR",
7565
- // Brazilian Real
7566
- MXN: "es-MX",
7567
- // Mexican Peso
7568
- ZAR: "en-ZA",
7569
- // South African Rand
7570
- KRW: "ko-KR",
7571
- // South Korean Won
7572
- MYR: "ms-MY",
7573
- // Malaysian Ringgit
7574
- SGD: "en-SG",
7575
- // Singapore Dollar
7576
- TWD: "zh-TW",
7577
- // Taiwanese Dollar
7578
- THB: "th-TH",
7579
- // Thai Baht
7580
- IDR: "id-ID",
7581
- // Indonesian Rupiah
7582
- AED: "ar-AE",
7583
- // UAE Dirham
7584
- SAR: "ar-SA",
7585
- // Saudi Riyal
7586
- TRY: "tr-TR"
7587
- // Turkish Lira
7588
- };
7589
- var Helpers = class {
7590
- proxy;
7591
- constructor(proxy) {
7592
- this.proxy = proxy;
7593
- }
7594
- formatCurrency(currency) {
7595
- const locale = currencyLocales[currency.toUpperCase()] ?? void 0;
7596
- const formattedCurrency = new Intl.NumberFormat(locale, {
7597
- style: "currency",
7598
- currency,
7599
- currencyDisplay: "symbol"
7600
- });
7601
- return formattedCurrency.format(0).replace(/[\d.,\s]/g, "").trim();
7602
- }
7603
- formatPrice(priceInCents, currency, exchangeRate) {
7604
- const amount = priceInCents / 100 * (exchangeRate ?? 1);
7605
- const isWhole = amount % 1 === 0;
7606
- const locale = currencyLocales[currency.toUpperCase()] ?? void 0;
7607
- const formattedPrice = new Intl.NumberFormat(locale, {
7608
- style: "currency",
7609
- currency,
7610
- currencyDisplay: "symbol",
7611
- minimumFractionDigits: isWhole ? 0 : 2,
7612
- maximumFractionDigits: isWhole ? 0 : 2
7613
- }).format(amount);
7614
- return formattedPrice;
7615
- }
7616
- };
7617
- var helpers_default = Helpers;
7618
7526
  function createStoreClient(config) {
7619
7527
  return new client_default(config?.proxy);
7620
7528
  }
7621
- function createStoreHelpers(config) {
7622
- return new helpers_default(config?.proxy);
7623
- }
7624
7529
 
7625
- var css_248z = "/*! tailwindcss v4.1.13 | MIT License | https://tailwindcss.com */\n@layer properties;\n@layer theme, base, components, utilities;\n@layer theme {\n :root, :host {\n --font-sans: var(--font-sans), Helvetica, Arial, apple-system, sans-serif;\n --font-mono: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, \"Liberation Mono\",\n \"Courier New\", monospace;\n --color-red-500: oklch(63.7% 0.237 25.331);\n --color-black: #000;\n --color-white: #fff;\n --spacing: 0.25rem;\n --container-lg: 32rem;\n --text-xs: 0.75rem;\n --text-xs--line-height: calc(1 / 0.75);\n --text-sm: 0.875rem;\n --text-sm--line-height: calc(1.25 / 0.875);\n --text-base: 1rem;\n --text-base--line-height: calc(1.5 / 1);\n --text-lg: 1.125rem;\n --text-lg--line-height: calc(1.75 / 1.125);\n --text-2xl: 1.5rem;\n --text-2xl--line-height: calc(2 / 1.5);\n --font-weight-medium: 500;\n --font-weight-semibold: 600;\n --font-weight-bold: 700;\n --tracking-tight: -0.025em;\n --tracking-widest: 0.1em;\n --radius-xs: 0.125rem;\n --ease-in-out: cubic-bezier(0.4, 0, 0.2, 1);\n --animate-spin: spin 1s linear infinite;\n --animate-pulse: pulse 2s cubic-bezier(0.4, 0, 0.6, 1) infinite;\n --default-transition-duration: 150ms;\n --default-transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1);\n --default-font-family: var(--font-sans), Helvetica, Arial, apple-system, sans-serif;\n --default-mono-font-family: var(--font-mono);\n }\n}\n@layer base {\n *, ::after, ::before, ::backdrop, ::file-selector-button {\n box-sizing: border-box;\n margin: 0;\n padding: 0;\n border: 0 solid;\n }\n html, :host {\n line-height: 1.5;\n -webkit-text-size-adjust: 100%;\n tab-size: 4;\n font-family: var(--default-font-family, ui-sans-serif, system-ui, sans-serif, \"Apple Color Emoji\", \"Segoe UI Emoji\", \"Segoe UI Symbol\", \"Noto Color Emoji\");\n font-feature-settings: var(--default-font-feature-settings, normal);\n font-variation-settings: var(--default-font-variation-settings, normal);\n -webkit-tap-highlight-color: transparent;\n }\n hr {\n height: 0;\n color: inherit;\n border-top-width: 1px;\n }\n abbr:where([title]) {\n -webkit-text-decoration: underline dotted;\n text-decoration: underline dotted;\n }\n h1, h2, h3, h4, h5, h6 {\n font-size: inherit;\n font-weight: inherit;\n }\n a {\n color: inherit;\n -webkit-text-decoration: inherit;\n text-decoration: inherit;\n }\n b, strong {\n font-weight: bolder;\n }\n code, kbd, samp, pre {\n font-family: var(--default-mono-font-family, ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, \"Liberation Mono\", \"Courier New\", monospace);\n font-feature-settings: var(--default-mono-font-feature-settings, normal);\n font-variation-settings: var(--default-mono-font-variation-settings, normal);\n font-size: 1em;\n }\n small {\n font-size: 80%;\n }\n sub, sup {\n font-size: 75%;\n line-height: 0;\n position: relative;\n vertical-align: baseline;\n }\n sub {\n bottom: -0.25em;\n }\n sup {\n top: -0.5em;\n }\n table {\n text-indent: 0;\n border-color: inherit;\n border-collapse: collapse;\n }\n :-moz-focusring {\n outline: auto;\n }\n progress {\n vertical-align: baseline;\n }\n summary {\n display: list-item;\n }\n ol, ul, menu {\n list-style: none;\n }\n img, svg, video, canvas, audio, iframe, embed, object {\n display: block;\n vertical-align: middle;\n }\n img, video {\n max-width: 100%;\n height: auto;\n }\n button, input, select, optgroup, textarea, ::file-selector-button {\n font: inherit;\n font-feature-settings: inherit;\n font-variation-settings: inherit;\n letter-spacing: inherit;\n color: inherit;\n border-radius: 0;\n background-color: transparent;\n opacity: 1;\n }\n :where(select:is([multiple], [size])) optgroup {\n font-weight: bolder;\n }\n :where(select:is([multiple], [size])) optgroup option {\n padding-inline-start: 20px;\n }\n ::file-selector-button {\n margin-inline-end: 4px;\n }\n ::placeholder {\n opacity: 1;\n }\n @supports (not (-webkit-appearance: -apple-pay-button)) or (contain-intrinsic-size: 1px) {\n ::placeholder {\n color: currentcolor;\n @supports (color: color-mix(in lab, red, red)) {\n color: color-mix(in oklab, currentcolor 50%, transparent);\n }\n }\n }\n textarea {\n resize: vertical;\n }\n ::-webkit-search-decoration {\n -webkit-appearance: none;\n }\n ::-webkit-date-and-time-value {\n min-height: 1lh;\n text-align: inherit;\n }\n ::-webkit-datetime-edit {\n display: inline-flex;\n }\n ::-webkit-datetime-edit-fields-wrapper {\n padding: 0;\n }\n ::-webkit-datetime-edit, ::-webkit-datetime-edit-year-field, ::-webkit-datetime-edit-month-field, ::-webkit-datetime-edit-day-field, ::-webkit-datetime-edit-hour-field, ::-webkit-datetime-edit-minute-field, ::-webkit-datetime-edit-second-field, ::-webkit-datetime-edit-millisecond-field, ::-webkit-datetime-edit-meridiem-field {\n padding-block: 0;\n }\n ::-webkit-calendar-picker-indicator {\n line-height: 1;\n }\n :-moz-ui-invalid {\n box-shadow: none;\n }\n button, input:where([type=\"button\"], [type=\"reset\"], [type=\"submit\"]), ::file-selector-button {\n appearance: button;\n }\n ::-webkit-inner-spin-button, ::-webkit-outer-spin-button {\n height: auto;\n }\n [hidden]:where(:not([hidden=\"until-found\"])) {\n display: none !important;\n }\n}\n@layer utilities {\n .pointer-events-none {\n pointer-events: none;\n }\n .sr-only {\n position: absolute;\n width: 1px;\n height: 1px;\n padding: 0;\n margin: -1px;\n overflow: hidden;\n clip-path: inset(50%);\n white-space: nowrap;\n border-width: 0;\n }\n .absolute {\n position: absolute;\n }\n .fixed {\n position: fixed;\n }\n .relative {\n position: relative;\n }\n .inset-0 {\n inset: calc(var(--spacing) * 0);\n }\n .-top-2 {\n top: calc(var(--spacing) * -2);\n }\n .top-0 {\n top: calc(var(--spacing) * 0);\n }\n .top-0\\.5 {\n top: calc(var(--spacing) * 0.5);\n }\n .top-1\\/2 {\n top: calc(1/2 * 100%);\n }\n .top-4 {\n top: calc(var(--spacing) * 4);\n }\n .top-\\[50\\%\\] {\n top: 50%;\n }\n .top-full {\n top: 100%;\n }\n .-right-2 {\n right: calc(var(--spacing) * -2);\n }\n .right-0 {\n right: calc(var(--spacing) * 0);\n }\n .right-4 {\n right: calc(var(--spacing) * 4);\n }\n .bottom-0 {\n bottom: calc(var(--spacing) * 0);\n }\n .left-0 {\n left: calc(var(--spacing) * 0);\n }\n .left-1\\/2 {\n left: calc(1/2 * 100%);\n }\n .left-2 {\n left: calc(var(--spacing) * 2);\n }\n .left-\\[50\\%\\] {\n left: 50%;\n }\n .z-0 {\n z-index: 0;\n }\n .z-10 {\n z-index: 10;\n }\n .z-50 {\n z-index: 50;\n }\n .order-3 {\n order: 3;\n }\n .order-4 {\n order: 4;\n }\n .order-5 {\n order: 5;\n }\n .order-6 {\n order: 6;\n }\n .order-7 {\n order: 7;\n }\n .order-first {\n order: -9999;\n }\n .container {\n width: 100%;\n @media (width >= 40rem) {\n max-width: 40rem;\n }\n @media (width >= 48rem) {\n max-width: 48rem;\n }\n @media (width >= 64rem) {\n max-width: 64rem;\n }\n @media (width >= 80rem) {\n max-width: 80rem;\n }\n @media (width >= 96rem) {\n max-width: 96rem;\n }\n }\n .-m-0\\.5 {\n margin: calc(var(--spacing) * -0.5);\n }\n .m-0 {\n margin: calc(var(--spacing) * 0);\n }\n .-mx-1 {\n margin-inline: calc(var(--spacing) * -1);\n }\n .my-1 {\n margin-block: calc(var(--spacing) * 1);\n }\n .my-2 {\n margin-block: calc(var(--spacing) * 2);\n }\n .-mt-1 {\n margin-top: calc(var(--spacing) * -1);\n }\n .-mt-2 {\n margin-top: calc(var(--spacing) * -2);\n }\n .-mt-4 {\n margin-top: calc(var(--spacing) * -4);\n }\n .mt-1 {\n margin-top: calc(var(--spacing) * 1);\n }\n .mt-2 {\n margin-top: calc(var(--spacing) * 2);\n }\n .mt-8 {\n margin-top: calc(var(--spacing) * 8);\n }\n .-mb-0\\.5 {\n margin-bottom: calc(var(--spacing) * -0.5);\n }\n .-mb-2 {\n margin-bottom: calc(var(--spacing) * -2);\n }\n .mb-1 {\n margin-bottom: calc(var(--spacing) * 1);\n }\n .mb-2 {\n margin-bottom: calc(var(--spacing) * 2);\n }\n .mb-4 {\n margin-bottom: calc(var(--spacing) * 4);\n }\n .ml-4 {\n margin-left: calc(var(--spacing) * 4);\n }\n .ml-auto {\n margin-left: auto;\n }\n .line-clamp-1 {\n overflow: hidden;\n display: -webkit-box;\n -webkit-box-orient: vertical;\n -webkit-line-clamp: 1;\n }\n .block {\n display: block;\n }\n .flex {\n display: flex;\n }\n .grid {\n display: grid;\n }\n .hidden {\n display: none;\n }\n .inline-flex {\n display: inline-flex;\n }\n .aspect-square {\n aspect-ratio: 1 / 1;\n }\n .size-2 {\n width: calc(var(--spacing) * 2);\n height: calc(var(--spacing) * 2);\n }\n .size-3 {\n width: calc(var(--spacing) * 3);\n height: calc(var(--spacing) * 3);\n }\n .size-3\\.5 {\n width: calc(var(--spacing) * 3.5);\n height: calc(var(--spacing) * 3.5);\n }\n .size-4 {\n width: calc(var(--spacing) * 4);\n height: calc(var(--spacing) * 4);\n }\n .size-5 {\n width: calc(var(--spacing) * 5);\n height: calc(var(--spacing) * 5);\n }\n .size-9 {\n width: calc(var(--spacing) * 9);\n height: calc(var(--spacing) * 9);\n }\n .size-16 {\n width: calc(var(--spacing) * 16);\n height: calc(var(--spacing) * 16);\n }\n .h-0 {\n height: calc(var(--spacing) * 0);\n }\n .h-3\\.5 {\n height: calc(var(--spacing) * 3.5);\n }\n .h-4 {\n height: calc(var(--spacing) * 4);\n }\n .h-5 {\n height: calc(var(--spacing) * 5);\n }\n .h-6 {\n height: calc(var(--spacing) * 6);\n }\n .h-8 {\n height: calc(var(--spacing) * 8);\n }\n .h-9 {\n height: calc(var(--spacing) * 9);\n }\n .h-10 {\n height: calc(var(--spacing) * 10);\n }\n .h-12 {\n height: calc(var(--spacing) * 12);\n }\n .h-16 {\n height: calc(var(--spacing) * 16);\n }\n .h-\\[2px\\] {\n height: 2px;\n }\n .h-\\[18px\\] {\n height: 18px;\n }\n .h-\\[20px\\] {\n height: 20px;\n }\n .h-\\[44px\\] {\n height: 44px;\n }\n .h-auto {\n height: auto;\n }\n .h-auto\\! {\n height: auto !important;\n }\n .h-full {\n height: 100%;\n }\n .h-max {\n height: max-content;\n }\n .h-px {\n height: 1px;\n }\n .max-h-\\(--radix-dropdown-menu-content-available-height\\) {\n max-height: var(--radix-dropdown-menu-content-available-height);\n }\n .max-h-0 {\n max-height: calc(var(--spacing) * 0);\n }\n .max-h-60 {\n max-height: calc(var(--spacing) * 60);\n }\n .max-h-\\[300px\\] {\n max-height: 300px;\n }\n .min-h-full {\n min-height: 100%;\n }\n .w-0 {\n width: calc(var(--spacing) * 0);\n }\n .w-4 {\n width: calc(var(--spacing) * 4);\n }\n .w-6 {\n width: calc(var(--spacing) * 6);\n }\n .w-12 {\n width: calc(var(--spacing) * 12);\n }\n .w-16 {\n width: calc(var(--spacing) * 16);\n }\n .w-20 {\n width: calc(var(--spacing) * 20);\n }\n .w-24 {\n width: calc(var(--spacing) * 24);\n }\n .w-28 {\n width: calc(var(--spacing) * 28);\n }\n .w-32 {\n width: calc(var(--spacing) * 32);\n }\n .w-40 {\n width: calc(var(--spacing) * 40);\n }\n .w-72 {\n width: calc(var(--spacing) * 72);\n }\n .w-full {\n width: 100%;\n }\n .max-w-0 {\n max-width: calc(var(--spacing) * 0);\n }\n .max-w-\\[calc\\(100\\%-2rem\\)\\] {\n max-width: calc(100% - 2rem);\n }\n .min-w-0 {\n min-width: calc(var(--spacing) * 0);\n }\n .min-w-\\[8rem\\] {\n min-width: 8rem;\n }\n .flex-1 {\n flex: 1;\n }\n .shrink-0 {\n flex-shrink: 0;\n }\n .origin-\\(--radix-dropdown-menu-content-transform-origin\\) {\n transform-origin: var(--radix-dropdown-menu-content-transform-origin);\n }\n .origin-\\(--radix-popover-content-transform-origin\\) {\n transform-origin: var(--radix-popover-content-transform-origin);\n }\n .-translate-x-0 {\n --tw-translate-x: calc(var(--spacing) * -0);\n translate: var(--tw-translate-x) var(--tw-translate-y);\n }\n .-translate-x-1\\/2 {\n --tw-translate-x: calc(calc(1/2 * 100%) * -1);\n translate: var(--tw-translate-x) var(--tw-translate-y);\n }\n .-translate-x-3 {\n --tw-translate-x: calc(var(--spacing) * -3);\n translate: var(--tw-translate-x) var(--tw-translate-y);\n }\n .translate-x-2 {\n --tw-translate-x: calc(var(--spacing) * 2);\n translate: var(--tw-translate-x) var(--tw-translate-y);\n }\n .translate-x-\\[-50\\%\\] {\n --tw-translate-x: -50%;\n translate: var(--tw-translate-x) var(--tw-translate-y);\n }\n .-translate-y-1\\/2 {\n --tw-translate-y: calc(calc(1/2 * 100%) * -1);\n translate: var(--tw-translate-x) var(--tw-translate-y);\n }\n .translate-y-\\[-50\\%\\] {\n --tw-translate-y: -50%;\n translate: var(--tw-translate-x) var(--tw-translate-y);\n }\n .rotate-180 {\n rotate: 180deg;\n }\n .animate-pulse {\n animation: var(--animate-pulse);\n }\n .animate-spin {\n animation: var(--animate-spin);\n }\n .cursor-default {\n cursor: default;\n }\n .cursor-pointer {\n cursor: pointer;\n }\n .resize {\n resize: both;\n }\n .scroll-py-1 {\n scroll-padding-block: calc(var(--spacing) * 1);\n }\n .grid-cols-2 {\n grid-template-columns: repeat(2, minmax(0, 1fr));\n }\n .flex-col {\n flex-direction: column;\n }\n .flex-col-reverse {\n flex-direction: column-reverse;\n }\n .items-center {\n align-items: center;\n }\n .justify-between {\n justify-content: space-between;\n }\n .justify-center {\n justify-content: center;\n }\n .justify-end {\n justify-content: flex-end;\n }\n .gap-0 {\n gap: calc(var(--spacing) * 0);\n }\n .gap-0\\.5 {\n gap: calc(var(--spacing) * 0.5);\n }\n .gap-1 {\n gap: calc(var(--spacing) * 1);\n }\n .gap-1\\.5 {\n gap: calc(var(--spacing) * 1.5);\n }\n .gap-2 {\n gap: calc(var(--spacing) * 2);\n }\n .gap-3 {\n gap: calc(var(--spacing) * 3);\n }\n .gap-4 {\n gap: calc(var(--spacing) * 4);\n }\n .gap-5 {\n gap: calc(var(--spacing) * 5);\n }\n .gap-6 {\n gap: calc(var(--spacing) * 6);\n }\n .gap-\\[10px\\] {\n gap: 10px;\n }\n .space-y-2 {\n :where(& > :not(:last-child)) {\n --tw-space-y-reverse: 0;\n margin-block-start: calc(calc(var(--spacing) * 2) * var(--tw-space-y-reverse));\n margin-block-end: calc(calc(var(--spacing) * 2) * calc(1 - var(--tw-space-y-reverse)));\n }\n }\n .space-y-4 {\n :where(& > :not(:last-child)) {\n --tw-space-y-reverse: 0;\n margin-block-start: calc(calc(var(--spacing) * 4) * var(--tw-space-y-reverse));\n margin-block-end: calc(calc(var(--spacing) * 4) * calc(1 - var(--tw-space-y-reverse)));\n }\n }\n .space-y-5 {\n :where(& > :not(:last-child)) {\n --tw-space-y-reverse: 0;\n margin-block-start: calc(calc(var(--spacing) * 5) * var(--tw-space-y-reverse));\n margin-block-end: calc(calc(var(--spacing) * 5) * calc(1 - var(--tw-space-y-reverse)));\n }\n }\n .space-y-6 {\n :where(& > :not(:last-child)) {\n --tw-space-y-reverse: 0;\n margin-block-start: calc(calc(var(--spacing) * 6) * var(--tw-space-y-reverse));\n margin-block-end: calc(calc(var(--spacing) * 6) * calc(1 - var(--tw-space-y-reverse)));\n }\n }\n .overflow-hidden {\n overflow: hidden;\n }\n .overflow-x-hidden {\n overflow-x: hidden;\n }\n .overflow-y-auto {\n overflow-y: auto;\n }\n .rounded-\\[4px\\] {\n border-radius: 4px;\n }\n .rounded-full {\n border-radius: calc(infinity * 1px);\n }\n .rounded-lg {\n border-radius: var(--radius);\n }\n .rounded-md {\n border-radius: calc(var(--radius) - 2px);\n }\n .rounded-sm {\n border-radius: calc(var(--radius) - 4px);\n }\n .rounded-xs {\n border-radius: var(--radius-xs);\n }\n .border {\n border-style: var(--tw-border-style);\n border-width: 1px;\n }\n .border-b {\n border-bottom-style: var(--tw-border-style);\n border-bottom-width: 1px;\n }\n .border-border {\n border-color: var(--border);\n }\n .border-input {\n border-color: var(--input);\n }\n .border-primary {\n border-color: var(--primary);\n }\n .bg-accent {\n background-color: var(--accent);\n }\n .bg-background {\n background-color: var(--background);\n }\n .bg-black\\/50 {\n background-color: color-mix(in srgb, #000 50%, transparent);\n @supports (color: color-mix(in lab, red, red)) {\n background-color: color-mix(in oklab, var(--color-black) 50%, transparent);\n }\n }\n .bg-border {\n background-color: var(--border);\n }\n .bg-destructive {\n background-color: var(--destructive);\n }\n .bg-muted {\n background-color: var(--muted);\n }\n .bg-popover {\n background-color: var(--popover);\n }\n .bg-primary {\n background-color: var(--primary);\n }\n .bg-secondary {\n background-color: var(--secondary);\n }\n .bg-transparent {\n background-color: transparent;\n }\n .fill-current {\n fill: currentcolor;\n }\n .fill-primary {\n fill: var(--primary);\n }\n .object-cover {\n object-fit: cover;\n }\n .p-0 {\n padding: calc(var(--spacing) * 0);\n }\n .p-1 {\n padding: calc(var(--spacing) * 1);\n }\n .p-3 {\n padding: calc(var(--spacing) * 3);\n }\n .p-4 {\n padding: calc(var(--spacing) * 4);\n }\n .p-6 {\n padding: calc(var(--spacing) * 6);\n }\n .px-1 {\n padding-inline: calc(var(--spacing) * 1);\n }\n .px-2 {\n padding-inline: calc(var(--spacing) * 2);\n }\n .px-3 {\n padding-inline: calc(var(--spacing) * 3);\n }\n .px-4 {\n padding-inline: calc(var(--spacing) * 4);\n }\n .px-6 {\n padding-inline: calc(var(--spacing) * 6);\n }\n .py-1 {\n padding-block: calc(var(--spacing) * 1);\n }\n .py-1\\.5 {\n padding-block: calc(var(--spacing) * 1.5);\n }\n .py-2 {\n padding-block: calc(var(--spacing) * 2);\n }\n .py-3 {\n padding-block: calc(var(--spacing) * 3);\n }\n .py-4 {\n padding-block: calc(var(--spacing) * 4);\n }\n .py-6 {\n padding-block: calc(var(--spacing) * 6);\n }\n .pt-2 {\n padding-top: calc(var(--spacing) * 2);\n }\n .pt-4 {\n padding-top: calc(var(--spacing) * 4);\n }\n .pr-2 {\n padding-right: calc(var(--spacing) * 2);\n }\n .pb-1 {\n padding-bottom: calc(var(--spacing) * 1);\n }\n .pb-2 {\n padding-bottom: calc(var(--spacing) * 2);\n }\n .pb-4 {\n padding-bottom: calc(var(--spacing) * 4);\n }\n .pb-40 {\n padding-bottom: calc(var(--spacing) * 40);\n }\n .pl-8 {\n padding-left: calc(var(--spacing) * 8);\n }\n .text-center {\n text-align: center;\n }\n .text-left {\n text-align: left;\n }\n .text-right {\n text-align: right;\n }\n .text-base {\n font-size: var(--text-base);\n line-height: var(--tw-leading, var(--text-base--line-height));\n }\n .text-lg {\n font-size: var(--text-lg);\n line-height: var(--tw-leading, var(--text-lg--line-height));\n }\n .text-sm {\n font-size: var(--text-sm);\n line-height: var(--tw-leading, var(--text-sm--line-height));\n }\n .text-xs {\n font-size: var(--text-xs);\n line-height: var(--tw-leading, var(--text-xs--line-height));\n }\n .text-\\[13px\\] {\n font-size: 13px;\n }\n .leading-none {\n --tw-leading: 1;\n line-height: 1;\n }\n .font-bold {\n --tw-font-weight: var(--font-weight-bold);\n font-weight: var(--font-weight-bold);\n }\n .font-medium {\n --tw-font-weight: var(--font-weight-medium);\n font-weight: var(--font-weight-medium);\n }\n .font-semibold {\n --tw-font-weight: var(--font-weight-semibold);\n font-weight: var(--font-weight-semibold);\n }\n .tracking-tight {\n --tw-tracking: var(--tracking-tight);\n letter-spacing: var(--tracking-tight);\n }\n .tracking-widest {\n --tw-tracking: var(--tracking-widest);\n letter-spacing: var(--tracking-widest);\n }\n .text-ellipsis {\n text-overflow: ellipsis;\n }\n .whitespace-nowrap {\n white-space: nowrap;\n }\n .text-background {\n color: var(--background);\n }\n .text-current {\n color: currentcolor;\n }\n .text-destructive {\n color: var(--destructive);\n }\n .text-destructive-foreground {\n color: var(--destructive-foreground);\n }\n .text-foreground {\n color: var(--foreground);\n }\n .text-muted-foreground {\n color: var(--muted-foreground);\n }\n .text-popover-foreground {\n color: var(--popover-foreground);\n }\n .text-primary {\n color: var(--primary);\n }\n .text-primary-foreground {\n color: var(--primary-foreground);\n }\n .text-red-500 {\n color: var(--color-red-500);\n }\n .text-ring {\n color: var(--ring);\n }\n .text-secondary-foreground {\n color: var(--secondary-foreground);\n }\n .text-white {\n color: var(--color-white);\n }\n .line-through {\n text-decoration-line: line-through;\n }\n .underline {\n text-decoration-line: underline;\n }\n .underline-offset-4 {\n text-underline-offset: 4px;\n }\n .opacity-0 {\n opacity: 0%;\n }\n .opacity-50 {\n opacity: 50%;\n }\n .opacity-70 {\n opacity: 70%;\n }\n .opacity-100 {\n opacity: 100%;\n }\n .shadow {\n --tw-shadow: 0 1px 3px 0 var(--tw-shadow-color, rgb(0 0 0 / 0.1)), 0 1px 2px -1px var(--tw-shadow-color, rgb(0 0 0 / 0.1));\n box-shadow: var(--tw-inset-shadow), var(--tw-inset-ring-shadow), var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow);\n }\n .shadow-lg {\n --tw-shadow: 0 10px 15px -3px var(--tw-shadow-color, rgb(0 0 0 / 0.1)), 0 4px 6px -4px var(--tw-shadow-color, rgb(0 0 0 / 0.1));\n box-shadow: var(--tw-inset-shadow), var(--tw-inset-ring-shadow), var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow);\n }\n .shadow-md {\n --tw-shadow: 0 4px 6px -1px var(--tw-shadow-color, rgb(0 0 0 / 0.1)), 0 2px 4px -2px var(--tw-shadow-color, rgb(0 0 0 / 0.1));\n box-shadow: var(--tw-inset-shadow), var(--tw-inset-ring-shadow), var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow);\n }\n .shadow-xs {\n --tw-shadow: 0 1px 2px 0 var(--tw-shadow-color, rgb(0 0 0 / 0.05));\n box-shadow: var(--tw-inset-shadow), var(--tw-inset-ring-shadow), var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow);\n }\n .ring {\n --tw-ring-shadow: var(--tw-ring-inset,) 0 0 0 calc(1px + var(--tw-ring-offset-width)) var(--tw-ring-color, currentcolor);\n box-shadow: var(--tw-inset-shadow), var(--tw-inset-ring-shadow), var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow);\n }\n .ring-offset-background {\n --tw-ring-offset-color: var(--background);\n }\n .outline-hidden {\n --tw-outline-style: none;\n outline-style: none;\n @media (forced-colors: active) {\n outline: 2px solid transparent;\n outline-offset: 2px;\n }\n }\n .outline {\n outline-style: var(--tw-outline-style);\n outline-width: 1px;\n }\n .transition {\n transition-property: color, background-color, border-color, outline-color, text-decoration-color, fill, stroke, --tw-gradient-from, --tw-gradient-via, --tw-gradient-to, opacity, box-shadow, transform, translate, scale, rotate, filter, -webkit-backdrop-filter, backdrop-filter, display, content-visibility, overlay, pointer-events;\n transition-timing-function: var(--tw-ease, var(--default-transition-timing-function));\n transition-duration: var(--tw-duration, var(--default-transition-duration));\n }\n .transition-\\[color\\,box-shadow\\] {\n transition-property: color,box-shadow;\n transition-timing-function: var(--tw-ease, var(--default-transition-timing-function));\n transition-duration: var(--tw-duration, var(--default-transition-duration));\n }\n .transition-colors {\n transition-property: color, background-color, border-color, outline-color, text-decoration-color, fill, stroke, --tw-gradient-from, --tw-gradient-via, --tw-gradient-to;\n transition-timing-function: var(--tw-ease, var(--default-transition-timing-function));\n transition-duration: var(--tw-duration, var(--default-transition-duration));\n }\n .transition-opacity {\n transition-property: opacity;\n transition-timing-function: var(--tw-ease, var(--default-transition-timing-function));\n transition-duration: var(--tw-duration, var(--default-transition-duration));\n }\n .transition-shadow {\n transition-property: box-shadow;\n transition-timing-function: var(--tw-ease, var(--default-transition-timing-function));\n transition-duration: var(--tw-duration, var(--default-transition-duration));\n }\n .transition-transform {\n transition-property: transform, translate, scale, rotate;\n transition-timing-function: var(--tw-ease, var(--default-transition-timing-function));\n transition-duration: var(--tw-duration, var(--default-transition-duration));\n }\n .transition-none {\n transition-property: none;\n }\n .duration-200 {\n --tw-duration: 200ms;\n transition-duration: 200ms;\n }\n .ease-in-out {\n --tw-ease: var(--ease-in-out);\n transition-timing-function: var(--ease-in-out);\n }\n .outline-none {\n --tw-outline-style: none;\n outline-style: none;\n }\n .select-none {\n -webkit-user-select: none;\n user-select: none;\n }\n .duration-200 {\n animation-duration: 200ms;\n }\n .ease-in-out {\n animation-timing-function: cubic-bezier(0.4, 0, 0.2, 1);\n }\n .group-data-\\[disabled\\=true\\]\\:pointer-events-none {\n &:is(:where(.group)[data-disabled=\"true\"] *) {\n pointer-events: none;\n }\n }\n .group-data-\\[disabled\\=true\\]\\:opacity-50 {\n &:is(:where(.group)[data-disabled=\"true\"] *) {\n opacity: 50%;\n }\n }\n .peer-disabled\\:cursor-not-allowed {\n &:is(:where(.peer):disabled ~ *) {\n cursor: not-allowed;\n }\n }\n .peer-disabled\\:opacity-50 {\n &:is(:where(.peer):disabled ~ *) {\n opacity: 50%;\n }\n }\n .file\\:inline-flex {\n &::file-selector-button {\n display: inline-flex;\n }\n }\n .file\\:h-7 {\n &::file-selector-button {\n height: calc(var(--spacing) * 7);\n }\n }\n .file\\:border-0 {\n &::file-selector-button {\n border-style: var(--tw-border-style);\n border-width: 0px;\n }\n }\n .file\\:bg-transparent {\n &::file-selector-button {\n background-color: transparent;\n }\n }\n .file\\:text-sm {\n &::file-selector-button {\n font-size: var(--text-sm);\n line-height: var(--tw-leading, var(--text-sm--line-height));\n }\n }\n .file\\:font-medium {\n &::file-selector-button {\n --tw-font-weight: var(--font-weight-medium);\n font-weight: var(--font-weight-medium);\n }\n }\n .file\\:text-foreground {\n &::file-selector-button {\n color: var(--foreground);\n }\n }\n .placeholder\\:text-muted-foreground {\n &::placeholder {\n color: var(--muted-foreground);\n }\n }\n .after\\:absolute {\n &::after {\n content: var(--tw-content);\n position: absolute;\n }\n }\n .after\\:top-1\\/2 {\n &::after {\n content: var(--tw-content);\n top: calc(1/2 * 100%);\n }\n }\n .after\\:right-0 {\n &::after {\n content: var(--tw-content);\n right: calc(var(--spacing) * 0);\n }\n }\n .after\\:left-0 {\n &::after {\n content: var(--tw-content);\n left: calc(var(--spacing) * 0);\n }\n }\n .after\\:z-0 {\n &::after {\n content: var(--tw-content);\n z-index: 0;\n }\n }\n .after\\:h-px {\n &::after {\n content: var(--tw-content);\n height: 1px;\n }\n }\n .after\\:-translate-y-1\\/2 {\n &::after {\n content: var(--tw-content);\n --tw-translate-y: calc(calc(1/2 * 100%) * -1);\n translate: var(--tw-translate-x) var(--tw-translate-y);\n }\n }\n .after\\:bg-background {\n &::after {\n content: var(--tw-content);\n background-color: var(--background);\n }\n }\n .after\\:content-\\[\\'\\'\\] {\n &::after {\n --tw-content: '';\n content: var(--tw-content);\n }\n }\n .last\\:border-b-0 {\n &:last-child {\n border-bottom-style: var(--tw-border-style);\n border-bottom-width: 0px;\n }\n }\n .hover\\:bg-accent {\n &:hover {\n @media (hover: hover) {\n background-color: var(--accent);\n }\n }\n }\n .hover\\:bg-destructive\\/90 {\n &:hover {\n @media (hover: hover) {\n background-color: var(--destructive);\n @supports (color: color-mix(in lab, red, red)) {\n background-color: color-mix(in oklab, var(--destructive) 90%, transparent);\n }\n }\n }\n }\n .hover\\:bg-muted {\n &:hover {\n @media (hover: hover) {\n background-color: var(--muted);\n }\n }\n }\n .hover\\:bg-primary\\/90 {\n &:hover {\n @media (hover: hover) {\n background-color: var(--primary);\n @supports (color: color-mix(in lab, red, red)) {\n background-color: color-mix(in oklab, var(--primary) 90%, transparent);\n }\n }\n }\n }\n .hover\\:bg-secondary\\/80 {\n &:hover {\n @media (hover: hover) {\n background-color: var(--secondary);\n @supports (color: color-mix(in lab, red, red)) {\n background-color: color-mix(in oklab, var(--secondary) 80%, transparent);\n }\n }\n }\n }\n .hover\\:text-accent-foreground {\n &:hover {\n @media (hover: hover) {\n color: var(--accent-foreground);\n }\n }\n }\n .hover\\:text-foreground {\n &:hover {\n @media (hover: hover) {\n color: var(--foreground);\n }\n }\n }\n .hover\\:text-muted-foreground {\n &:hover {\n @media (hover: hover) {\n color: var(--muted-foreground);\n }\n }\n }\n .hover\\:underline {\n &:hover {\n @media (hover: hover) {\n text-decoration-line: underline;\n }\n }\n }\n .hover\\:opacity-100 {\n &:hover {\n @media (hover: hover) {\n opacity: 100%;\n }\n }\n }\n .focus\\:bg-accent {\n &:focus {\n background-color: var(--accent);\n }\n }\n .focus\\:text-accent-foreground {\n &:focus {\n color: var(--accent-foreground);\n }\n }\n .focus\\:ring-2 {\n &:focus {\n --tw-ring-shadow: var(--tw-ring-inset,) 0 0 0 calc(2px + var(--tw-ring-offset-width)) var(--tw-ring-color, currentcolor);\n box-shadow: var(--tw-inset-shadow), var(--tw-inset-ring-shadow), var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow);\n }\n }\n .focus\\:ring-ring {\n &:focus {\n --tw-ring-color: var(--ring);\n }\n }\n .focus\\:ring-offset-2 {\n &:focus {\n --tw-ring-offset-width: 2px;\n --tw-ring-offset-shadow: var(--tw-ring-inset,) 0 0 0 var(--tw-ring-offset-width) var(--tw-ring-offset-color);\n }\n }\n .focus\\:outline-hidden {\n &:focus {\n --tw-outline-style: none;\n outline-style: none;\n @media (forced-colors: active) {\n outline: 2px solid transparent;\n outline-offset: 2px;\n }\n }\n }\n .focus-visible\\:border-ring {\n &:focus-visible {\n border-color: var(--ring);\n }\n }\n .focus-visible\\:ring-\\[3px\\] {\n &:focus-visible {\n --tw-ring-shadow: var(--tw-ring-inset,) 0 0 0 calc(3px + var(--tw-ring-offset-width)) var(--tw-ring-color, currentcolor);\n box-shadow: var(--tw-inset-shadow), var(--tw-inset-ring-shadow), var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow);\n }\n }\n .focus-visible\\:ring-destructive\\/20 {\n &:focus-visible {\n --tw-ring-color: var(--destructive);\n @supports (color: color-mix(in lab, red, red)) {\n --tw-ring-color: color-mix(in oklab, var(--destructive) 20%, transparent);\n }\n }\n }\n .focus-visible\\:ring-ring\\/50 {\n &:focus-visible {\n --tw-ring-color: var(--ring);\n @supports (color: color-mix(in lab, red, red)) {\n --tw-ring-color: color-mix(in oklab, var(--ring) 50%, transparent);\n }\n }\n }\n .disabled\\:pointer-events-none {\n &:disabled {\n pointer-events: none;\n }\n }\n .disabled\\:cursor-not-allowed {\n &:disabled {\n cursor: not-allowed;\n }\n }\n .disabled\\:opacity-50 {\n &:disabled {\n opacity: 50%;\n }\n }\n .has-\\[\\>svg\\]\\:px-2\\.5 {\n &:has(>svg) {\n padding-inline: calc(var(--spacing) * 2.5);\n }\n }\n .has-\\[\\>svg\\]\\:px-3 {\n &:has(>svg) {\n padding-inline: calc(var(--spacing) * 3);\n }\n }\n .has-\\[\\>svg\\]\\:px-4 {\n &:has(>svg) {\n padding-inline: calc(var(--spacing) * 4);\n }\n }\n .aria-invalid\\:border-destructive {\n &[aria-invalid=\"true\"] {\n border-color: var(--destructive);\n }\n }\n .aria-invalid\\:ring-destructive\\/20 {\n &[aria-invalid=\"true\"] {\n --tw-ring-color: var(--destructive);\n @supports (color: color-mix(in lab, red, red)) {\n --tw-ring-color: color-mix(in oklab, var(--destructive) 20%, transparent);\n }\n }\n }\n .data-\\[disabled\\]\\:pointer-events-none {\n &[data-disabled] {\n pointer-events: none;\n }\n }\n .data-\\[disabled\\]\\:opacity-50 {\n &[data-disabled] {\n opacity: 50%;\n }\n }\n .data-\\[disabled\\=true\\]\\:pointer-events-none {\n &[data-disabled=\"true\"] {\n pointer-events: none;\n }\n }\n .data-\\[disabled\\=true\\]\\:opacity-50 {\n &[data-disabled=\"true\"] {\n opacity: 50%;\n }\n }\n .data-\\[error\\=true\\]\\:text-destructive-foreground {\n &[data-error=\"true\"] {\n color: var(--destructive-foreground);\n }\n }\n .data-\\[inset\\]\\:pl-8 {\n &[data-inset] {\n padding-left: calc(var(--spacing) * 8);\n }\n }\n .data-\\[selected\\=true\\]\\:bg-accent {\n &[data-selected=\"true\"] {\n background-color: var(--accent);\n }\n }\n .data-\\[selected\\=true\\]\\:text-accent-foreground {\n &[data-selected=\"true\"] {\n color: var(--accent-foreground);\n }\n }\n .data-\\[side\\=bottom\\]\\:slide-in-from-top-2 {\n &[data-side=\"bottom\"] {\n --tw-enter-translate-y: -0.5rem;\n }\n }\n .data-\\[side\\=left\\]\\:slide-in-from-right-2 {\n &[data-side=\"left\"] {\n --tw-enter-translate-x: 0.5rem;\n }\n }\n .data-\\[side\\=right\\]\\:slide-in-from-left-2 {\n &[data-side=\"right\"] {\n --tw-enter-translate-x: -0.5rem;\n }\n }\n .data-\\[side\\=top\\]\\:slide-in-from-bottom-2 {\n &[data-side=\"top\"] {\n --tw-enter-translate-y: 0.5rem;\n }\n }\n .\\*\\*\\:data-\\[slot\\=command-input-wrapper\\]\\:h-12 {\n :is(& *) {\n &[data-slot=\"command-input-wrapper\"] {\n height: calc(var(--spacing) * 12);\n }\n }\n }\n .data-\\[state\\=checked\\]\\:border-primary {\n &[data-state=\"checked\"] {\n border-color: var(--primary);\n }\n }\n .data-\\[state\\=checked\\]\\:bg-primary {\n &[data-state=\"checked\"] {\n background-color: var(--primary);\n }\n }\n .data-\\[state\\=checked\\]\\:text-primary-foreground {\n &[data-state=\"checked\"] {\n color: var(--primary-foreground);\n }\n }\n .data-\\[state\\=closed\\]\\:animate-out {\n &[data-state=\"closed\"] {\n animation-name: exit;\n animation-duration: 150ms;\n --tw-exit-opacity: initial;\n --tw-exit-scale: initial;\n --tw-exit-rotate: initial;\n --tw-exit-translate-x: initial;\n --tw-exit-translate-y: initial;\n }\n }\n .data-\\[state\\=closed\\]\\:fade-out-0 {\n &[data-state=\"closed\"] {\n --tw-exit-opacity: 0;\n }\n }\n .data-\\[state\\=closed\\]\\:zoom-out-95 {\n &[data-state=\"closed\"] {\n --tw-exit-scale: .95;\n }\n }\n .data-\\[state\\=open\\]\\:bg-accent {\n &[data-state=\"open\"] {\n background-color: var(--accent);\n }\n }\n .data-\\[state\\=open\\]\\:text-accent-foreground {\n &[data-state=\"open\"] {\n color: var(--accent-foreground);\n }\n }\n .data-\\[state\\=open\\]\\:text-muted-foreground {\n &[data-state=\"open\"] {\n color: var(--muted-foreground);\n }\n }\n .data-\\[state\\=open\\]\\:animate-in {\n &[data-state=\"open\"] {\n animation-name: enter;\n animation-duration: 150ms;\n --tw-enter-opacity: initial;\n --tw-enter-scale: initial;\n --tw-enter-rotate: initial;\n --tw-enter-translate-x: initial;\n --tw-enter-translate-y: initial;\n }\n }\n .data-\\[state\\=open\\]\\:fade-in-0 {\n &[data-state=\"open\"] {\n --tw-enter-opacity: 0;\n }\n }\n .data-\\[state\\=open\\]\\:zoom-in-95 {\n &[data-state=\"open\"] {\n --tw-enter-scale: .95;\n }\n }\n .data-\\[variant\\=destructive\\]\\:text-destructive {\n &[data-variant=\"destructive\"] {\n color: var(--destructive);\n }\n }\n .data-\\[variant\\=destructive\\]\\:focus\\:bg-destructive\\/10 {\n &[data-variant=\"destructive\"] {\n &:focus {\n background-color: var(--destructive);\n @supports (color: color-mix(in lab, red, red)) {\n background-color: color-mix(in oklab, var(--destructive) 10%, transparent);\n }\n }\n }\n }\n .data-\\[variant\\=destructive\\]\\:focus\\:text-destructive {\n &[data-variant=\"destructive\"] {\n &:focus {\n color: var(--destructive);\n }\n }\n }\n .max-md\\:cursor-pointer {\n @media (width < 48rem) {\n cursor: pointer;\n }\n }\n .max-sm\\:hidden {\n @media (width < 40rem) {\n display: none;\n }\n }\n .max-sm\\:h-\\[52px\\] {\n @media (width < 40rem) {\n height: 52px;\n }\n }\n .sm\\:static {\n @media (width >= 40rem) {\n position: static;\n }\n }\n .sm\\:w-fit {\n @media (width >= 40rem) {\n width: fit-content;\n }\n }\n .sm\\:max-w-lg {\n @media (width >= 40rem) {\n max-width: var(--container-lg);\n }\n }\n .sm\\:flex-row {\n @media (width >= 40rem) {\n flex-direction: row;\n }\n }\n .sm\\:justify-end {\n @media (width >= 40rem) {\n justify-content: flex-end;\n }\n }\n .sm\\:bg-transparent {\n @media (width >= 40rem) {\n background-color: transparent;\n }\n }\n .sm\\:px-0 {\n @media (width >= 40rem) {\n padding-inline: calc(var(--spacing) * 0);\n }\n }\n .sm\\:pb-0 {\n @media (width >= 40rem) {\n padding-bottom: calc(var(--spacing) * 0);\n }\n }\n .sm\\:text-left {\n @media (width >= 40rem) {\n text-align: left;\n }\n }\n .md\\:order-last {\n @media (width >= 48rem) {\n order: 9999;\n }\n }\n .md\\:order-none {\n @media (width >= 48rem) {\n order: 0;\n }\n }\n .md\\:col-span-2 {\n @media (width >= 48rem) {\n grid-column: span 2 / span 2;\n }\n }\n .md\\:col-span-3 {\n @media (width >= 48rem) {\n grid-column: span 3 / span 3;\n }\n }\n .md\\:col-span-4 {\n @media (width >= 48rem) {\n grid-column: span 4 / span 4;\n }\n }\n .md\\:block {\n @media (width >= 48rem) {\n display: block;\n }\n }\n .md\\:flex {\n @media (width >= 48rem) {\n display: flex;\n }\n }\n .md\\:grid {\n @media (width >= 48rem) {\n display: grid;\n }\n }\n .md\\:hidden {\n @media (width >= 48rem) {\n display: none;\n }\n }\n .md\\:max-w-\\[75\\%\\] {\n @media (width >= 48rem) {\n max-width: 75%;\n }\n }\n .md\\:grid-cols-2 {\n @media (width >= 48rem) {\n grid-template-columns: repeat(2, minmax(0, 1fr));\n }\n }\n .md\\:grid-cols-3 {\n @media (width >= 48rem) {\n grid-template-columns: repeat(3, minmax(0, 1fr));\n }\n }\n .md\\:grid-cols-7 {\n @media (width >= 48rem) {\n grid-template-columns: repeat(7, minmax(0, 1fr));\n }\n }\n .md\\:gap-0 {\n @media (width >= 48rem) {\n gap: calc(var(--spacing) * 0);\n }\n }\n .md\\:px-8 {\n @media (width >= 48rem) {\n padding-inline: calc(var(--spacing) * 8);\n }\n }\n .md\\:py-12 {\n @media (width >= 48rem) {\n padding-block: calc(var(--spacing) * 12);\n }\n }\n .md\\:text-sm {\n @media (width >= 48rem) {\n font-size: var(--text-sm);\n line-height: var(--tw-leading, var(--text-sm--line-height));\n }\n }\n .dark\\:focus-visible\\:ring-destructive\\/40 {\n @media (prefers-color-scheme: dark) {\n &:focus-visible {\n --tw-ring-color: var(--destructive);\n @supports (color: color-mix(in lab, red, red)) {\n --tw-ring-color: color-mix(in oklab, var(--destructive) 40%, transparent);\n }\n }\n }\n }\n .dark\\:aria-invalid\\:ring-destructive\\/40 {\n @media (prefers-color-scheme: dark) {\n &[aria-invalid=\"true\"] {\n --tw-ring-color: var(--destructive);\n @supports (color: color-mix(in lab, red, red)) {\n --tw-ring-color: color-mix(in oklab, var(--destructive) 40%, transparent);\n }\n }\n }\n }\n .dark\\:data-\\[variant\\=destructive\\]\\:focus\\:bg-destructive\\/20 {\n @media (prefers-color-scheme: dark) {\n &[data-variant=\"destructive\"] {\n &:focus {\n background-color: var(--destructive);\n @supports (color: color-mix(in lab, red, red)) {\n background-color: color-mix(in oklab, var(--destructive) 20%, transparent);\n }\n }\n }\n }\n }\n .\\[\\&_\\[cmdk-group-heading\\]\\]\\:px-2 {\n & [cmdk-group-heading] {\n padding-inline: calc(var(--spacing) * 2);\n }\n }\n .\\[\\&_\\[cmdk-group-heading\\]\\]\\:py-1\\.5 {\n & [cmdk-group-heading] {\n padding-block: calc(var(--spacing) * 1.5);\n }\n }\n .\\[\\&_\\[cmdk-group-heading\\]\\]\\:text-xs {\n & [cmdk-group-heading] {\n font-size: var(--text-xs);\n line-height: var(--tw-leading, var(--text-xs--line-height));\n }\n }\n .\\[\\&_\\[cmdk-group-heading\\]\\]\\:font-medium {\n & [cmdk-group-heading] {\n --tw-font-weight: var(--font-weight-medium);\n font-weight: var(--font-weight-medium);\n }\n }\n .\\[\\&_\\[cmdk-group-heading\\]\\]\\:text-muted-foreground {\n & [cmdk-group-heading] {\n color: var(--muted-foreground);\n }\n }\n .\\[\\&_\\[cmdk-group\\]\\]\\:px-2 {\n & [cmdk-group] {\n padding-inline: calc(var(--spacing) * 2);\n }\n }\n .\\[\\&_\\[cmdk-group\\]\\:not\\(\\[hidden\\]\\)_\\~\\[cmdk-group\\]\\]\\:pt-0 {\n & [cmdk-group]:not([hidden]) ~[cmdk-group] {\n padding-top: calc(var(--spacing) * 0);\n }\n }\n .\\[\\&_\\[cmdk-input-wrapper\\]_svg\\]\\:h-5 {\n & [cmdk-input-wrapper] svg {\n height: calc(var(--spacing) * 5);\n }\n }\n .\\[\\&_\\[cmdk-input-wrapper\\]_svg\\]\\:w-5 {\n & [cmdk-input-wrapper] svg {\n width: calc(var(--spacing) * 5);\n }\n }\n .\\[\\&_\\[cmdk-input\\]\\]\\:h-12 {\n & [cmdk-input] {\n height: calc(var(--spacing) * 12);\n }\n }\n .\\[\\&_\\[cmdk-item\\]\\]\\:px-2 {\n & [cmdk-item] {\n padding-inline: calc(var(--spacing) * 2);\n }\n }\n .\\[\\&_\\[cmdk-item\\]\\]\\:py-3 {\n & [cmdk-item] {\n padding-block: calc(var(--spacing) * 3);\n }\n }\n .\\[\\&_\\[cmdk-item\\]_svg\\]\\:h-5 {\n & [cmdk-item] svg {\n height: calc(var(--spacing) * 5);\n }\n }\n .\\[\\&_\\[cmdk-item\\]_svg\\]\\:w-5 {\n & [cmdk-item] svg {\n width: calc(var(--spacing) * 5);\n }\n }\n .\\[\\&_svg\\]\\:pointer-events-none {\n & svg {\n pointer-events: none;\n }\n }\n .\\[\\&_svg\\]\\:shrink-0 {\n & svg {\n flex-shrink: 0;\n }\n }\n .\\[\\&_svg\\:not\\(\\[class\\*\\=\\'size-\\'\\]\\)\\]\\:size-4 {\n & svg:not([class*='size-']) {\n width: calc(var(--spacing) * 4);\n height: calc(var(--spacing) * 4);\n }\n }\n .\\[\\&_svg\\:not\\(\\[class\\*\\=\\'text-\\'\\]\\)\\]\\:text-muted-foreground {\n & svg:not([class*='text-']) {\n color: var(--muted-foreground);\n }\n }\n .data-\\[variant\\=destructive\\]\\:\\*\\:\\[svg\\]\\:\\!text-destructive {\n &[data-variant=\"destructive\"] {\n :is(& > *) {\n &:is(svg) {\n color: var(--destructive) !important;\n }\n }\n }\n }\n}\n@layer base {\n ::selection {\n background-color: var(--primary);\n color: var(--primary-foreground);\n }\n input:-webkit-autofill,\n input:-webkit-autofill:hover,\n input:-webkit-autofill:focus,\n input:-webkit-autofill:active {\n -webkit-box-shadow: 0 0 0 30px var(--muted) inset !important;\n -webkit-text-fill-color: var(--foreground) !important;\n }\n input:-moz-autofill,\n input:autofill {\n background-color: var(--muted);\n color: var(--foreground);\n }\n * {\n --tw-border-style: solid;\n border-style: solid;\n border-color: var(--border);\n outline-color: var(--ring);\n @supports (color: color-mix(in lab, red, red)) {\n outline-color: color-mix(in oklab, var(--ring) 50%, transparent);\n }\n }\n .checkout-embed {\n background-color: var(--background);\n font-family: var(--font-sans), Helvetica, Arial, apple-system, sans-serif;\n color: var(--foreground);\n }\n h2 {\n font-size: var(--text-2xl);\n line-height: var(--tw-leading, var(--text-2xl--line-height));\n --tw-font-weight: var(--font-weight-bold);\n font-weight: var(--font-weight-bold);\n --tw-tracking: var(--tracking-tight);\n letter-spacing: var(--tracking-tight);\n }\n p {\n --tw-tracking: var(--tracking-tight);\n letter-spacing: var(--tracking-tight);\n }\n}\n@layer utilities {\n .scrollbar-hidden {\n scrollbar-width: none;\n }\n .scrollbar-hidden::-webkit-scrollbar {\n display: none;\n }\n}\n@keyframes enter {\n from {\n opacity: var(--tw-enter-opacity, 1);\n 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));\n }\n}\n@keyframes exit {\n to {\n opacity: var(--tw-exit-opacity, 1);\n 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));\n }\n}\n@property --tw-translate-x {\n syntax: \"*\";\n inherits: false;\n initial-value: 0;\n}\n@property --tw-translate-y {\n syntax: \"*\";\n inherits: false;\n initial-value: 0;\n}\n@property --tw-translate-z {\n syntax: \"*\";\n inherits: false;\n initial-value: 0;\n}\n@property --tw-space-y-reverse {\n syntax: \"*\";\n inherits: false;\n initial-value: 0;\n}\n@property --tw-border-style {\n syntax: \"*\";\n inherits: false;\n initial-value: solid;\n}\n@property --tw-leading {\n syntax: \"*\";\n inherits: false;\n}\n@property --tw-font-weight {\n syntax: \"*\";\n inherits: false;\n}\n@property --tw-tracking {\n syntax: \"*\";\n inherits: false;\n}\n@property --tw-shadow {\n syntax: \"*\";\n inherits: false;\n initial-value: 0 0 #0000;\n}\n@property --tw-shadow-color {\n syntax: \"*\";\n inherits: false;\n}\n@property --tw-shadow-alpha {\n syntax: \"<percentage>\";\n inherits: false;\n initial-value: 100%;\n}\n@property --tw-inset-shadow {\n syntax: \"*\";\n inherits: false;\n initial-value: 0 0 #0000;\n}\n@property --tw-inset-shadow-color {\n syntax: \"*\";\n inherits: false;\n}\n@property --tw-inset-shadow-alpha {\n syntax: \"<percentage>\";\n inherits: false;\n initial-value: 100%;\n}\n@property --tw-ring-color {\n syntax: \"*\";\n inherits: false;\n}\n@property --tw-ring-shadow {\n syntax: \"*\";\n inherits: false;\n initial-value: 0 0 #0000;\n}\n@property --tw-inset-ring-color {\n syntax: \"*\";\n inherits: false;\n}\n@property --tw-inset-ring-shadow {\n syntax: \"*\";\n inherits: false;\n initial-value: 0 0 #0000;\n}\n@property --tw-ring-inset {\n syntax: \"*\";\n inherits: false;\n}\n@property --tw-ring-offset-width {\n syntax: \"<length>\";\n inherits: false;\n initial-value: 0px;\n}\n@property --tw-ring-offset-color {\n syntax: \"*\";\n inherits: false;\n initial-value: #fff;\n}\n@property --tw-ring-offset-shadow {\n syntax: \"*\";\n inherits: false;\n initial-value: 0 0 #0000;\n}\n@property --tw-outline-style {\n syntax: \"*\";\n inherits: false;\n initial-value: solid;\n}\n@property --tw-duration {\n syntax: \"*\";\n inherits: false;\n}\n@property --tw-ease {\n syntax: \"*\";\n inherits: false;\n}\n@property --tw-content {\n syntax: \"*\";\n initial-value: \"\";\n inherits: false;\n}\n@keyframes spin {\n to {\n transform: rotate(360deg);\n }\n}\n@keyframes pulse {\n 50% {\n opacity: 0.5;\n }\n}\n@layer properties {\n @supports ((-webkit-hyphens: none) and (not (margin-trim: inline))) or ((-moz-orient: inline) and (not (color:rgb(from red r g b)))) {\n *, ::before, ::after, ::backdrop {\n --tw-translate-x: 0;\n --tw-translate-y: 0;\n --tw-translate-z: 0;\n --tw-space-y-reverse: 0;\n --tw-border-style: solid;\n --tw-leading: initial;\n --tw-font-weight: initial;\n --tw-tracking: initial;\n --tw-shadow: 0 0 #0000;\n --tw-shadow-color: initial;\n --tw-shadow-alpha: 100%;\n --tw-inset-shadow: 0 0 #0000;\n --tw-inset-shadow-color: initial;\n --tw-inset-shadow-alpha: 100%;\n --tw-ring-color: initial;\n --tw-ring-shadow: 0 0 #0000;\n --tw-inset-ring-color: initial;\n --tw-inset-ring-shadow: 0 0 #0000;\n --tw-ring-inset: initial;\n --tw-ring-offset-width: 0px;\n --tw-ring-offset-color: #fff;\n --tw-ring-offset-shadow: 0 0 #0000;\n --tw-outline-style: solid;\n --tw-duration: initial;\n --tw-ease: initial;\n --tw-content: \"\";\n }\n }\n}\n";
7530
+ var css_248z = "/*! tailwindcss v4.1.14 | MIT License | https://tailwindcss.com */\n@layer properties;\n@layer theme, base, components, utilities;\n@layer theme {\n :root, :host {\n --font-sans: var(--font-sans), Helvetica, Arial, apple-system, sans-serif;\n --font-mono: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, \"Liberation Mono\",\n \"Courier New\", monospace;\n --color-red-500: oklch(63.7% 0.237 25.331);\n --color-black: #000;\n --color-white: #fff;\n --spacing: 0.25rem;\n --container-lg: 32rem;\n --text-xs: 0.75rem;\n --text-xs--line-height: calc(1 / 0.75);\n --text-sm: 0.875rem;\n --text-sm--line-height: calc(1.25 / 0.875);\n --text-base: 1rem;\n --text-base--line-height: calc(1.5 / 1);\n --text-lg: 1.125rem;\n --text-lg--line-height: calc(1.75 / 1.125);\n --text-2xl: 1.5rem;\n --text-2xl--line-height: calc(2 / 1.5);\n --font-weight-medium: 500;\n --font-weight-semibold: 600;\n --font-weight-bold: 700;\n --tracking-tight: -0.025em;\n --tracking-widest: 0.1em;\n --radius-xs: 0.125rem;\n --ease-in-out: cubic-bezier(0.4, 0, 0.2, 1);\n --animate-spin: spin 1s linear infinite;\n --animate-pulse: pulse 2s cubic-bezier(0.4, 0, 0.6, 1) infinite;\n --default-transition-duration: 150ms;\n --default-transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1);\n --default-font-family: var(--font-sans), Helvetica, Arial, apple-system, sans-serif;\n --default-mono-font-family: var(--font-mono);\n }\n}\n@layer base {\n *, ::after, ::before, ::backdrop, ::file-selector-button {\n box-sizing: border-box;\n margin: 0;\n padding: 0;\n border: 0 solid;\n }\n html, :host {\n line-height: 1.5;\n -webkit-text-size-adjust: 100%;\n tab-size: 4;\n font-family: var(--default-font-family, ui-sans-serif, system-ui, sans-serif, \"Apple Color Emoji\", \"Segoe UI Emoji\", \"Segoe UI Symbol\", \"Noto Color Emoji\");\n font-feature-settings: var(--default-font-feature-settings, normal);\n font-variation-settings: var(--default-font-variation-settings, normal);\n -webkit-tap-highlight-color: transparent;\n }\n hr {\n height: 0;\n color: inherit;\n border-top-width: 1px;\n }\n abbr:where([title]) {\n -webkit-text-decoration: underline dotted;\n text-decoration: underline dotted;\n }\n h1, h2, h3, h4, h5, h6 {\n font-size: inherit;\n font-weight: inherit;\n }\n a {\n color: inherit;\n -webkit-text-decoration: inherit;\n text-decoration: inherit;\n }\n b, strong {\n font-weight: bolder;\n }\n code, kbd, samp, pre {\n font-family: var(--default-mono-font-family, ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, \"Liberation Mono\", \"Courier New\", monospace);\n font-feature-settings: var(--default-mono-font-feature-settings, normal);\n font-variation-settings: var(--default-mono-font-variation-settings, normal);\n font-size: 1em;\n }\n small {\n font-size: 80%;\n }\n sub, sup {\n font-size: 75%;\n line-height: 0;\n position: relative;\n vertical-align: baseline;\n }\n sub {\n bottom: -0.25em;\n }\n sup {\n top: -0.5em;\n }\n table {\n text-indent: 0;\n border-color: inherit;\n border-collapse: collapse;\n }\n :-moz-focusring {\n outline: auto;\n }\n progress {\n vertical-align: baseline;\n }\n summary {\n display: list-item;\n }\n ol, ul, menu {\n list-style: none;\n }\n img, svg, video, canvas, audio, iframe, embed, object {\n display: block;\n vertical-align: middle;\n }\n img, video {\n max-width: 100%;\n height: auto;\n }\n button, input, select, optgroup, textarea, ::file-selector-button {\n font: inherit;\n font-feature-settings: inherit;\n font-variation-settings: inherit;\n letter-spacing: inherit;\n color: inherit;\n border-radius: 0;\n background-color: transparent;\n opacity: 1;\n }\n :where(select:is([multiple], [size])) optgroup {\n font-weight: bolder;\n }\n :where(select:is([multiple], [size])) optgroup option {\n padding-inline-start: 20px;\n }\n ::file-selector-button {\n margin-inline-end: 4px;\n }\n ::placeholder {\n opacity: 1;\n }\n @supports (not (-webkit-appearance: -apple-pay-button)) or (contain-intrinsic-size: 1px) {\n ::placeholder {\n color: currentcolor;\n @supports (color: color-mix(in lab, red, red)) {\n color: color-mix(in oklab, currentcolor 50%, transparent);\n }\n }\n }\n textarea {\n resize: vertical;\n }\n ::-webkit-search-decoration {\n -webkit-appearance: none;\n }\n ::-webkit-date-and-time-value {\n min-height: 1lh;\n text-align: inherit;\n }\n ::-webkit-datetime-edit {\n display: inline-flex;\n }\n ::-webkit-datetime-edit-fields-wrapper {\n padding: 0;\n }\n ::-webkit-datetime-edit, ::-webkit-datetime-edit-year-field, ::-webkit-datetime-edit-month-field, ::-webkit-datetime-edit-day-field, ::-webkit-datetime-edit-hour-field, ::-webkit-datetime-edit-minute-field, ::-webkit-datetime-edit-second-field, ::-webkit-datetime-edit-millisecond-field, ::-webkit-datetime-edit-meridiem-field {\n padding-block: 0;\n }\n ::-webkit-calendar-picker-indicator {\n line-height: 1;\n }\n :-moz-ui-invalid {\n box-shadow: none;\n }\n button, input:where([type=\"button\"], [type=\"reset\"], [type=\"submit\"]), ::file-selector-button {\n appearance: button;\n }\n ::-webkit-inner-spin-button, ::-webkit-outer-spin-button {\n height: auto;\n }\n [hidden]:where(:not([hidden=\"until-found\"])) {\n display: none !important;\n }\n}\n@layer utilities {\n .pointer-events-none {\n pointer-events: none;\n }\n .sr-only {\n position: absolute;\n width: 1px;\n height: 1px;\n padding: 0;\n margin: -1px;\n overflow: hidden;\n clip-path: inset(50%);\n white-space: nowrap;\n border-width: 0;\n }\n .absolute {\n position: absolute;\n }\n .fixed {\n position: fixed;\n }\n .relative {\n position: relative;\n }\n .inset-0 {\n inset: calc(var(--spacing) * 0);\n }\n .-top-2 {\n top: calc(var(--spacing) * -2);\n }\n .top-0 {\n top: calc(var(--spacing) * 0);\n }\n .top-0\\.5 {\n top: calc(var(--spacing) * 0.5);\n }\n .top-1\\/2 {\n top: calc(1/2 * 100%);\n }\n .top-4 {\n top: calc(var(--spacing) * 4);\n }\n .top-\\[50\\%\\] {\n top: 50%;\n }\n .top-full {\n top: 100%;\n }\n .-right-2 {\n right: calc(var(--spacing) * -2);\n }\n .right-0 {\n right: calc(var(--spacing) * 0);\n }\n .right-4 {\n right: calc(var(--spacing) * 4);\n }\n .bottom-0 {\n bottom: calc(var(--spacing) * 0);\n }\n .left-0 {\n left: calc(var(--spacing) * 0);\n }\n .left-1\\/2 {\n left: calc(1/2 * 100%);\n }\n .left-2 {\n left: calc(var(--spacing) * 2);\n }\n .left-\\[50\\%\\] {\n left: 50%;\n }\n .z-0 {\n z-index: 0;\n }\n .z-10 {\n z-index: 10;\n }\n .z-50 {\n z-index: 50;\n }\n .order-3 {\n order: 3;\n }\n .order-4 {\n order: 4;\n }\n .order-5 {\n order: 5;\n }\n .order-6 {\n order: 6;\n }\n .order-7 {\n order: 7;\n }\n .order-first {\n order: -9999;\n }\n .container {\n width: 100%;\n @media (width >= 40rem) {\n max-width: 40rem;\n }\n @media (width >= 48rem) {\n max-width: 48rem;\n }\n @media (width >= 64rem) {\n max-width: 64rem;\n }\n @media (width >= 80rem) {\n max-width: 80rem;\n }\n @media (width >= 96rem) {\n max-width: 96rem;\n }\n }\n .-m-0\\.5 {\n margin: calc(var(--spacing) * -0.5);\n }\n .m-0 {\n margin: calc(var(--spacing) * 0);\n }\n .-mx-1 {\n margin-inline: calc(var(--spacing) * -1);\n }\n .my-1 {\n margin-block: calc(var(--spacing) * 1);\n }\n .my-2 {\n margin-block: calc(var(--spacing) * 2);\n }\n .-mt-1 {\n margin-top: calc(var(--spacing) * -1);\n }\n .-mt-2 {\n margin-top: calc(var(--spacing) * -2);\n }\n .-mt-4 {\n margin-top: calc(var(--spacing) * -4);\n }\n .mt-1 {\n margin-top: calc(var(--spacing) * 1);\n }\n .mt-2 {\n margin-top: calc(var(--spacing) * 2);\n }\n .mt-8 {\n margin-top: calc(var(--spacing) * 8);\n }\n .-mb-0\\.5 {\n margin-bottom: calc(var(--spacing) * -0.5);\n }\n .-mb-2 {\n margin-bottom: calc(var(--spacing) * -2);\n }\n .mb-1 {\n margin-bottom: calc(var(--spacing) * 1);\n }\n .mb-2 {\n margin-bottom: calc(var(--spacing) * 2);\n }\n .mb-4 {\n margin-bottom: calc(var(--spacing) * 4);\n }\n .ml-4 {\n margin-left: calc(var(--spacing) * 4);\n }\n .ml-auto {\n margin-left: auto;\n }\n .line-clamp-1 {\n overflow: hidden;\n display: -webkit-box;\n -webkit-box-orient: vertical;\n -webkit-line-clamp: 1;\n }\n .block {\n display: block;\n }\n .flex {\n display: flex;\n }\n .grid {\n display: grid;\n }\n .hidden {\n display: none;\n }\n .inline-flex {\n display: inline-flex;\n }\n .aspect-square {\n aspect-ratio: 1 / 1;\n }\n .size-2 {\n width: calc(var(--spacing) * 2);\n height: calc(var(--spacing) * 2);\n }\n .size-3 {\n width: calc(var(--spacing) * 3);\n height: calc(var(--spacing) * 3);\n }\n .size-3\\.5 {\n width: calc(var(--spacing) * 3.5);\n height: calc(var(--spacing) * 3.5);\n }\n .size-4 {\n width: calc(var(--spacing) * 4);\n height: calc(var(--spacing) * 4);\n }\n .size-5 {\n width: calc(var(--spacing) * 5);\n height: calc(var(--spacing) * 5);\n }\n .size-9 {\n width: calc(var(--spacing) * 9);\n height: calc(var(--spacing) * 9);\n }\n .size-16 {\n width: calc(var(--spacing) * 16);\n height: calc(var(--spacing) * 16);\n }\n .h-0 {\n height: calc(var(--spacing) * 0);\n }\n .h-3\\.5 {\n height: calc(var(--spacing) * 3.5);\n }\n .h-4 {\n height: calc(var(--spacing) * 4);\n }\n .h-5 {\n height: calc(var(--spacing) * 5);\n }\n .h-6 {\n height: calc(var(--spacing) * 6);\n }\n .h-8 {\n height: calc(var(--spacing) * 8);\n }\n .h-9 {\n height: calc(var(--spacing) * 9);\n }\n .h-10 {\n height: calc(var(--spacing) * 10);\n }\n .h-12 {\n height: calc(var(--spacing) * 12);\n }\n .h-16 {\n height: calc(var(--spacing) * 16);\n }\n .h-\\[2px\\] {\n height: 2px;\n }\n .h-\\[18px\\] {\n height: 18px;\n }\n .h-\\[20px\\] {\n height: 20px;\n }\n .h-\\[44px\\] {\n height: 44px;\n }\n .h-auto {\n height: auto;\n }\n .h-auto\\! {\n height: auto !important;\n }\n .h-full {\n height: 100%;\n }\n .h-max {\n height: max-content;\n }\n .h-px {\n height: 1px;\n }\n .max-h-\\(--radix-dropdown-menu-content-available-height\\) {\n max-height: var(--radix-dropdown-menu-content-available-height);\n }\n .max-h-0 {\n max-height: calc(var(--spacing) * 0);\n }\n .max-h-60 {\n max-height: calc(var(--spacing) * 60);\n }\n .max-h-\\[300px\\] {\n max-height: 300px;\n }\n .min-h-full {\n min-height: 100%;\n }\n .w-0 {\n width: calc(var(--spacing) * 0);\n }\n .w-4 {\n width: calc(var(--spacing) * 4);\n }\n .w-6 {\n width: calc(var(--spacing) * 6);\n }\n .w-12 {\n width: calc(var(--spacing) * 12);\n }\n .w-16 {\n width: calc(var(--spacing) * 16);\n }\n .w-20 {\n width: calc(var(--spacing) * 20);\n }\n .w-24 {\n width: calc(var(--spacing) * 24);\n }\n .w-28 {\n width: calc(var(--spacing) * 28);\n }\n .w-32 {\n width: calc(var(--spacing) * 32);\n }\n .w-40 {\n width: calc(var(--spacing) * 40);\n }\n .w-72 {\n width: calc(var(--spacing) * 72);\n }\n .w-full {\n width: 100%;\n }\n .max-w-0 {\n max-width: calc(var(--spacing) * 0);\n }\n .max-w-\\[calc\\(100\\%-2rem\\)\\] {\n max-width: calc(100% - 2rem);\n }\n .min-w-0 {\n min-width: calc(var(--spacing) * 0);\n }\n .min-w-\\[8rem\\] {\n min-width: 8rem;\n }\n .flex-1 {\n flex: 1;\n }\n .shrink-0 {\n flex-shrink: 0;\n }\n .origin-\\(--radix-dropdown-menu-content-transform-origin\\) {\n transform-origin: var(--radix-dropdown-menu-content-transform-origin);\n }\n .origin-\\(--radix-popover-content-transform-origin\\) {\n transform-origin: var(--radix-popover-content-transform-origin);\n }\n .-translate-x-0 {\n --tw-translate-x: calc(var(--spacing) * -0);\n translate: var(--tw-translate-x) var(--tw-translate-y);\n }\n .-translate-x-1\\/2 {\n --tw-translate-x: calc(calc(1/2 * 100%) * -1);\n translate: var(--tw-translate-x) var(--tw-translate-y);\n }\n .-translate-x-3 {\n --tw-translate-x: calc(var(--spacing) * -3);\n translate: var(--tw-translate-x) var(--tw-translate-y);\n }\n .translate-x-2 {\n --tw-translate-x: calc(var(--spacing) * 2);\n translate: var(--tw-translate-x) var(--tw-translate-y);\n }\n .translate-x-\\[-50\\%\\] {\n --tw-translate-x: -50%;\n translate: var(--tw-translate-x) var(--tw-translate-y);\n }\n .-translate-y-1\\/2 {\n --tw-translate-y: calc(calc(1/2 * 100%) * -1);\n translate: var(--tw-translate-x) var(--tw-translate-y);\n }\n .translate-y-\\[-50\\%\\] {\n --tw-translate-y: -50%;\n translate: var(--tw-translate-x) var(--tw-translate-y);\n }\n .rotate-180 {\n rotate: 180deg;\n }\n .animate-pulse {\n animation: var(--animate-pulse);\n }\n .animate-spin {\n animation: var(--animate-spin);\n }\n .cursor-default {\n cursor: default;\n }\n .cursor-pointer {\n cursor: pointer;\n }\n .resize {\n resize: both;\n }\n .scroll-py-1 {\n scroll-padding-block: calc(var(--spacing) * 1);\n }\n .grid-cols-2 {\n grid-template-columns: repeat(2, minmax(0, 1fr));\n }\n .flex-col {\n flex-direction: column;\n }\n .flex-col-reverse {\n flex-direction: column-reverse;\n }\n .items-center {\n align-items: center;\n }\n .justify-between {\n justify-content: space-between;\n }\n .justify-center {\n justify-content: center;\n }\n .justify-end {\n justify-content: flex-end;\n }\n .gap-0 {\n gap: calc(var(--spacing) * 0);\n }\n .gap-0\\.5 {\n gap: calc(var(--spacing) * 0.5);\n }\n .gap-1 {\n gap: calc(var(--spacing) * 1);\n }\n .gap-1\\.5 {\n gap: calc(var(--spacing) * 1.5);\n }\n .gap-2 {\n gap: calc(var(--spacing) * 2);\n }\n .gap-3 {\n gap: calc(var(--spacing) * 3);\n }\n .gap-4 {\n gap: calc(var(--spacing) * 4);\n }\n .gap-5 {\n gap: calc(var(--spacing) * 5);\n }\n .gap-6 {\n gap: calc(var(--spacing) * 6);\n }\n .gap-\\[10px\\] {\n gap: 10px;\n }\n .space-y-2 {\n :where(& > :not(:last-child)) {\n --tw-space-y-reverse: 0;\n margin-block-start: calc(calc(var(--spacing) * 2) * var(--tw-space-y-reverse));\n margin-block-end: calc(calc(var(--spacing) * 2) * calc(1 - var(--tw-space-y-reverse)));\n }\n }\n .space-y-4 {\n :where(& > :not(:last-child)) {\n --tw-space-y-reverse: 0;\n margin-block-start: calc(calc(var(--spacing) * 4) * var(--tw-space-y-reverse));\n margin-block-end: calc(calc(var(--spacing) * 4) * calc(1 - var(--tw-space-y-reverse)));\n }\n }\n .space-y-5 {\n :where(& > :not(:last-child)) {\n --tw-space-y-reverse: 0;\n margin-block-start: calc(calc(var(--spacing) * 5) * var(--tw-space-y-reverse));\n margin-block-end: calc(calc(var(--spacing) * 5) * calc(1 - var(--tw-space-y-reverse)));\n }\n }\n .space-y-6 {\n :where(& > :not(:last-child)) {\n --tw-space-y-reverse: 0;\n margin-block-start: calc(calc(var(--spacing) * 6) * var(--tw-space-y-reverse));\n margin-block-end: calc(calc(var(--spacing) * 6) * calc(1 - var(--tw-space-y-reverse)));\n }\n }\n .overflow-hidden {\n overflow: hidden;\n }\n .overflow-x-hidden {\n overflow-x: hidden;\n }\n .overflow-y-auto {\n overflow-y: auto;\n }\n .rounded-\\[4px\\] {\n border-radius: 4px;\n }\n .rounded-full {\n border-radius: calc(infinity * 1px);\n }\n .rounded-lg {\n border-radius: var(--radius);\n }\n .rounded-md {\n border-radius: calc(var(--radius) - 2px);\n }\n .rounded-sm {\n border-radius: calc(var(--radius) - 4px);\n }\n .rounded-xs {\n border-radius: var(--radius-xs);\n }\n .border {\n border-style: var(--tw-border-style);\n border-width: 1px;\n }\n .border-b {\n border-bottom-style: var(--tw-border-style);\n border-bottom-width: 1px;\n }\n .border-border {\n border-color: var(--border);\n }\n .border-input {\n border-color: var(--input);\n }\n .border-primary {\n border-color: var(--primary);\n }\n .bg-accent {\n background-color: var(--accent);\n }\n .bg-background {\n background-color: var(--background);\n }\n .bg-black\\/50 {\n background-color: color-mix(in srgb, #000 50%, transparent);\n @supports (color: color-mix(in lab, red, red)) {\n background-color: color-mix(in oklab, var(--color-black) 50%, transparent);\n }\n }\n .bg-border {\n background-color: var(--border);\n }\n .bg-destructive {\n background-color: var(--destructive);\n }\n .bg-muted {\n background-color: var(--muted);\n }\n .bg-popover {\n background-color: var(--popover);\n }\n .bg-primary {\n background-color: var(--primary);\n }\n .bg-secondary {\n background-color: var(--secondary);\n }\n .bg-transparent {\n background-color: transparent;\n }\n .fill-current {\n fill: currentcolor;\n }\n .fill-primary {\n fill: var(--primary);\n }\n .object-cover {\n object-fit: cover;\n }\n .p-0 {\n padding: calc(var(--spacing) * 0);\n }\n .p-1 {\n padding: calc(var(--spacing) * 1);\n }\n .p-3 {\n padding: calc(var(--spacing) * 3);\n }\n .p-4 {\n padding: calc(var(--spacing) * 4);\n }\n .p-6 {\n padding: calc(var(--spacing) * 6);\n }\n .px-1 {\n padding-inline: calc(var(--spacing) * 1);\n }\n .px-2 {\n padding-inline: calc(var(--spacing) * 2);\n }\n .px-3 {\n padding-inline: calc(var(--spacing) * 3);\n }\n .px-4 {\n padding-inline: calc(var(--spacing) * 4);\n }\n .px-6 {\n padding-inline: calc(var(--spacing) * 6);\n }\n .py-1 {\n padding-block: calc(var(--spacing) * 1);\n }\n .py-1\\.5 {\n padding-block: calc(var(--spacing) * 1.5);\n }\n .py-2 {\n padding-block: calc(var(--spacing) * 2);\n }\n .py-3 {\n padding-block: calc(var(--spacing) * 3);\n }\n .py-4 {\n padding-block: calc(var(--spacing) * 4);\n }\n .py-6 {\n padding-block: calc(var(--spacing) * 6);\n }\n .pt-2 {\n padding-top: calc(var(--spacing) * 2);\n }\n .pt-4 {\n padding-top: calc(var(--spacing) * 4);\n }\n .pr-2 {\n padding-right: calc(var(--spacing) * 2);\n }\n .pb-1 {\n padding-bottom: calc(var(--spacing) * 1);\n }\n .pb-2 {\n padding-bottom: calc(var(--spacing) * 2);\n }\n .pb-4 {\n padding-bottom: calc(var(--spacing) * 4);\n }\n .pb-40 {\n padding-bottom: calc(var(--spacing) * 40);\n }\n .pl-8 {\n padding-left: calc(var(--spacing) * 8);\n }\n .text-center {\n text-align: center;\n }\n .text-left {\n text-align: left;\n }\n .text-right {\n text-align: right;\n }\n .text-base {\n font-size: var(--text-base);\n line-height: var(--tw-leading, var(--text-base--line-height));\n }\n .text-lg {\n font-size: var(--text-lg);\n line-height: var(--tw-leading, var(--text-lg--line-height));\n }\n .text-sm {\n font-size: var(--text-sm);\n line-height: var(--tw-leading, var(--text-sm--line-height));\n }\n .text-xs {\n font-size: var(--text-xs);\n line-height: var(--tw-leading, var(--text-xs--line-height));\n }\n .text-\\[13px\\] {\n font-size: 13px;\n }\n .leading-none {\n --tw-leading: 1;\n line-height: 1;\n }\n .font-bold {\n --tw-font-weight: var(--font-weight-bold);\n font-weight: var(--font-weight-bold);\n }\n .font-medium {\n --tw-font-weight: var(--font-weight-medium);\n font-weight: var(--font-weight-medium);\n }\n .font-semibold {\n --tw-font-weight: var(--font-weight-semibold);\n font-weight: var(--font-weight-semibold);\n }\n .tracking-tight {\n --tw-tracking: var(--tracking-tight);\n letter-spacing: var(--tracking-tight);\n }\n .tracking-widest {\n --tw-tracking: var(--tracking-widest);\n letter-spacing: var(--tracking-widest);\n }\n .text-ellipsis {\n text-overflow: ellipsis;\n }\n .whitespace-nowrap {\n white-space: nowrap;\n }\n .text-background {\n color: var(--background);\n }\n .text-current {\n color: currentcolor;\n }\n .text-destructive {\n color: var(--destructive);\n }\n .text-destructive-foreground {\n color: var(--destructive-foreground);\n }\n .text-foreground {\n color: var(--foreground);\n }\n .text-muted-foreground {\n color: var(--muted-foreground);\n }\n .text-popover-foreground {\n color: var(--popover-foreground);\n }\n .text-primary {\n color: var(--primary);\n }\n .text-primary-foreground {\n color: var(--primary-foreground);\n }\n .text-red-500 {\n color: var(--color-red-500);\n }\n .text-ring {\n color: var(--ring);\n }\n .text-secondary-foreground {\n color: var(--secondary-foreground);\n }\n .text-white {\n color: var(--color-white);\n }\n .line-through {\n text-decoration-line: line-through;\n }\n .underline {\n text-decoration-line: underline;\n }\n .underline-offset-4 {\n text-underline-offset: 4px;\n }\n .opacity-0 {\n opacity: 0%;\n }\n .opacity-50 {\n opacity: 50%;\n }\n .opacity-70 {\n opacity: 70%;\n }\n .opacity-100 {\n opacity: 100%;\n }\n .shadow {\n --tw-shadow: 0 1px 3px 0 var(--tw-shadow-color, rgb(0 0 0 / 0.1)), 0 1px 2px -1px var(--tw-shadow-color, rgb(0 0 0 / 0.1));\n box-shadow: var(--tw-inset-shadow), var(--tw-inset-ring-shadow), var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow);\n }\n .shadow-lg {\n --tw-shadow: 0 10px 15px -3px var(--tw-shadow-color, rgb(0 0 0 / 0.1)), 0 4px 6px -4px var(--tw-shadow-color, rgb(0 0 0 / 0.1));\n box-shadow: var(--tw-inset-shadow), var(--tw-inset-ring-shadow), var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow);\n }\n .shadow-md {\n --tw-shadow: 0 4px 6px -1px var(--tw-shadow-color, rgb(0 0 0 / 0.1)), 0 2px 4px -2px var(--tw-shadow-color, rgb(0 0 0 / 0.1));\n box-shadow: var(--tw-inset-shadow), var(--tw-inset-ring-shadow), var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow);\n }\n .shadow-xs {\n --tw-shadow: 0 1px 2px 0 var(--tw-shadow-color, rgb(0 0 0 / 0.05));\n box-shadow: var(--tw-inset-shadow), var(--tw-inset-ring-shadow), var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow);\n }\n .ring {\n --tw-ring-shadow: var(--tw-ring-inset,) 0 0 0 calc(1px + var(--tw-ring-offset-width)) var(--tw-ring-color, currentcolor);\n box-shadow: var(--tw-inset-shadow), var(--tw-inset-ring-shadow), var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow);\n }\n .ring-offset-background {\n --tw-ring-offset-color: var(--background);\n }\n .outline-hidden {\n --tw-outline-style: none;\n outline-style: none;\n @media (forced-colors: active) {\n outline: 2px solid transparent;\n outline-offset: 2px;\n }\n }\n .outline {\n outline-style: var(--tw-outline-style);\n outline-width: 1px;\n }\n .transition {\n transition-property: color, background-color, border-color, outline-color, text-decoration-color, fill, stroke, --tw-gradient-from, --tw-gradient-via, --tw-gradient-to, opacity, box-shadow, transform, translate, scale, rotate, filter, -webkit-backdrop-filter, backdrop-filter, display, content-visibility, overlay, pointer-events;\n transition-timing-function: var(--tw-ease, var(--default-transition-timing-function));\n transition-duration: var(--tw-duration, var(--default-transition-duration));\n }\n .transition-\\[color\\,box-shadow\\] {\n transition-property: color,box-shadow;\n transition-timing-function: var(--tw-ease, var(--default-transition-timing-function));\n transition-duration: var(--tw-duration, var(--default-transition-duration));\n }\n .transition-colors {\n transition-property: color, background-color, border-color, outline-color, text-decoration-color, fill, stroke, --tw-gradient-from, --tw-gradient-via, --tw-gradient-to;\n transition-timing-function: var(--tw-ease, var(--default-transition-timing-function));\n transition-duration: var(--tw-duration, var(--default-transition-duration));\n }\n .transition-opacity {\n transition-property: opacity;\n transition-timing-function: var(--tw-ease, var(--default-transition-timing-function));\n transition-duration: var(--tw-duration, var(--default-transition-duration));\n }\n .transition-shadow {\n transition-property: box-shadow;\n transition-timing-function: var(--tw-ease, var(--default-transition-timing-function));\n transition-duration: var(--tw-duration, var(--default-transition-duration));\n }\n .transition-transform {\n transition-property: transform, translate, scale, rotate;\n transition-timing-function: var(--tw-ease, var(--default-transition-timing-function));\n transition-duration: var(--tw-duration, var(--default-transition-duration));\n }\n .transition-none {\n transition-property: none;\n }\n .duration-200 {\n --tw-duration: 200ms;\n transition-duration: 200ms;\n }\n .ease-in-out {\n --tw-ease: var(--ease-in-out);\n transition-timing-function: var(--ease-in-out);\n }\n .outline-none {\n --tw-outline-style: none;\n outline-style: none;\n }\n .select-none {\n -webkit-user-select: none;\n user-select: none;\n }\n .duration-200 {\n animation-duration: 200ms;\n }\n .ease-in-out {\n animation-timing-function: cubic-bezier(0.4, 0, 0.2, 1);\n }\n .group-data-\\[disabled\\=true\\]\\:pointer-events-none {\n &:is(:where(.group)[data-disabled=\"true\"] *) {\n pointer-events: none;\n }\n }\n .group-data-\\[disabled\\=true\\]\\:opacity-50 {\n &:is(:where(.group)[data-disabled=\"true\"] *) {\n opacity: 50%;\n }\n }\n .peer-disabled\\:cursor-not-allowed {\n &:is(:where(.peer):disabled ~ *) {\n cursor: not-allowed;\n }\n }\n .peer-disabled\\:opacity-50 {\n &:is(:where(.peer):disabled ~ *) {\n opacity: 50%;\n }\n }\n .file\\:inline-flex {\n &::file-selector-button {\n display: inline-flex;\n }\n }\n .file\\:h-7 {\n &::file-selector-button {\n height: calc(var(--spacing) * 7);\n }\n }\n .file\\:border-0 {\n &::file-selector-button {\n border-style: var(--tw-border-style);\n border-width: 0px;\n }\n }\n .file\\:bg-transparent {\n &::file-selector-button {\n background-color: transparent;\n }\n }\n .file\\:text-sm {\n &::file-selector-button {\n font-size: var(--text-sm);\n line-height: var(--tw-leading, var(--text-sm--line-height));\n }\n }\n .file\\:font-medium {\n &::file-selector-button {\n --tw-font-weight: var(--font-weight-medium);\n font-weight: var(--font-weight-medium);\n }\n }\n .file\\:text-foreground {\n &::file-selector-button {\n color: var(--foreground);\n }\n }\n .placeholder\\:text-muted-foreground {\n &::placeholder {\n color: var(--muted-foreground);\n }\n }\n .after\\:absolute {\n &::after {\n content: var(--tw-content);\n position: absolute;\n }\n }\n .after\\:top-1\\/2 {\n &::after {\n content: var(--tw-content);\n top: calc(1/2 * 100%);\n }\n }\n .after\\:right-0 {\n &::after {\n content: var(--tw-content);\n right: calc(var(--spacing) * 0);\n }\n }\n .after\\:left-0 {\n &::after {\n content: var(--tw-content);\n left: calc(var(--spacing) * 0);\n }\n }\n .after\\:z-0 {\n &::after {\n content: var(--tw-content);\n z-index: 0;\n }\n }\n .after\\:h-px {\n &::after {\n content: var(--tw-content);\n height: 1px;\n }\n }\n .after\\:-translate-y-1\\/2 {\n &::after {\n content: var(--tw-content);\n --tw-translate-y: calc(calc(1/2 * 100%) * -1);\n translate: var(--tw-translate-x) var(--tw-translate-y);\n }\n }\n .after\\:bg-background {\n &::after {\n content: var(--tw-content);\n background-color: var(--background);\n }\n }\n .after\\:content-\\[\\'\\'\\] {\n &::after {\n --tw-content: '';\n content: var(--tw-content);\n }\n }\n .last\\:border-b-0 {\n &:last-child {\n border-bottom-style: var(--tw-border-style);\n border-bottom-width: 0px;\n }\n }\n .hover\\:bg-accent {\n &:hover {\n @media (hover: hover) {\n background-color: var(--accent);\n }\n }\n }\n .hover\\:bg-destructive\\/90 {\n &:hover {\n @media (hover: hover) {\n background-color: var(--destructive);\n @supports (color: color-mix(in lab, red, red)) {\n background-color: color-mix(in oklab, var(--destructive) 90%, transparent);\n }\n }\n }\n }\n .hover\\:bg-muted {\n &:hover {\n @media (hover: hover) {\n background-color: var(--muted);\n }\n }\n }\n .hover\\:bg-primary\\/90 {\n &:hover {\n @media (hover: hover) {\n background-color: var(--primary);\n @supports (color: color-mix(in lab, red, red)) {\n background-color: color-mix(in oklab, var(--primary) 90%, transparent);\n }\n }\n }\n }\n .hover\\:bg-secondary\\/80 {\n &:hover {\n @media (hover: hover) {\n background-color: var(--secondary);\n @supports (color: color-mix(in lab, red, red)) {\n background-color: color-mix(in oklab, var(--secondary) 80%, transparent);\n }\n }\n }\n }\n .hover\\:text-accent-foreground {\n &:hover {\n @media (hover: hover) {\n color: var(--accent-foreground);\n }\n }\n }\n .hover\\:text-foreground {\n &:hover {\n @media (hover: hover) {\n color: var(--foreground);\n }\n }\n }\n .hover\\:text-muted-foreground {\n &:hover {\n @media (hover: hover) {\n color: var(--muted-foreground);\n }\n }\n }\n .hover\\:underline {\n &:hover {\n @media (hover: hover) {\n text-decoration-line: underline;\n }\n }\n }\n .hover\\:opacity-100 {\n &:hover {\n @media (hover: hover) {\n opacity: 100%;\n }\n }\n }\n .focus\\:bg-accent {\n &:focus {\n background-color: var(--accent);\n }\n }\n .focus\\:text-accent-foreground {\n &:focus {\n color: var(--accent-foreground);\n }\n }\n .focus\\:ring-2 {\n &:focus {\n --tw-ring-shadow: var(--tw-ring-inset,) 0 0 0 calc(2px + var(--tw-ring-offset-width)) var(--tw-ring-color, currentcolor);\n box-shadow: var(--tw-inset-shadow), var(--tw-inset-ring-shadow), var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow);\n }\n }\n .focus\\:ring-ring {\n &:focus {\n --tw-ring-color: var(--ring);\n }\n }\n .focus\\:ring-offset-2 {\n &:focus {\n --tw-ring-offset-width: 2px;\n --tw-ring-offset-shadow: var(--tw-ring-inset,) 0 0 0 var(--tw-ring-offset-width) var(--tw-ring-offset-color);\n }\n }\n .focus\\:outline-hidden {\n &:focus {\n --tw-outline-style: none;\n outline-style: none;\n @media (forced-colors: active) {\n outline: 2px solid transparent;\n outline-offset: 2px;\n }\n }\n }\n .focus-visible\\:border-ring {\n &:focus-visible {\n border-color: var(--ring);\n }\n }\n .focus-visible\\:ring-\\[3px\\] {\n &:focus-visible {\n --tw-ring-shadow: var(--tw-ring-inset,) 0 0 0 calc(3px + var(--tw-ring-offset-width)) var(--tw-ring-color, currentcolor);\n box-shadow: var(--tw-inset-shadow), var(--tw-inset-ring-shadow), var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow);\n }\n }\n .focus-visible\\:ring-destructive\\/20 {\n &:focus-visible {\n --tw-ring-color: var(--destructive);\n @supports (color: color-mix(in lab, red, red)) {\n --tw-ring-color: color-mix(in oklab, var(--destructive) 20%, transparent);\n }\n }\n }\n .focus-visible\\:ring-ring\\/50 {\n &:focus-visible {\n --tw-ring-color: var(--ring);\n @supports (color: color-mix(in lab, red, red)) {\n --tw-ring-color: color-mix(in oklab, var(--ring) 50%, transparent);\n }\n }\n }\n .disabled\\:pointer-events-none {\n &:disabled {\n pointer-events: none;\n }\n }\n .disabled\\:cursor-not-allowed {\n &:disabled {\n cursor: not-allowed;\n }\n }\n .disabled\\:opacity-50 {\n &:disabled {\n opacity: 50%;\n }\n }\n .has-\\[\\>svg\\]\\:px-2\\.5 {\n &:has(>svg) {\n padding-inline: calc(var(--spacing) * 2.5);\n }\n }\n .has-\\[\\>svg\\]\\:px-3 {\n &:has(>svg) {\n padding-inline: calc(var(--spacing) * 3);\n }\n }\n .has-\\[\\>svg\\]\\:px-4 {\n &:has(>svg) {\n padding-inline: calc(var(--spacing) * 4);\n }\n }\n .aria-invalid\\:border-destructive {\n &[aria-invalid=\"true\"] {\n border-color: var(--destructive);\n }\n }\n .aria-invalid\\:ring-destructive\\/20 {\n &[aria-invalid=\"true\"] {\n --tw-ring-color: var(--destructive);\n @supports (color: color-mix(in lab, red, red)) {\n --tw-ring-color: color-mix(in oklab, var(--destructive) 20%, transparent);\n }\n }\n }\n .data-\\[disabled\\]\\:pointer-events-none {\n &[data-disabled] {\n pointer-events: none;\n }\n }\n .data-\\[disabled\\]\\:opacity-50 {\n &[data-disabled] {\n opacity: 50%;\n }\n }\n .data-\\[disabled\\=true\\]\\:pointer-events-none {\n &[data-disabled=\"true\"] {\n pointer-events: none;\n }\n }\n .data-\\[disabled\\=true\\]\\:opacity-50 {\n &[data-disabled=\"true\"] {\n opacity: 50%;\n }\n }\n .data-\\[error\\=true\\]\\:text-destructive-foreground {\n &[data-error=\"true\"] {\n color: var(--destructive-foreground);\n }\n }\n .data-\\[inset\\]\\:pl-8 {\n &[data-inset] {\n padding-left: calc(var(--spacing) * 8);\n }\n }\n .data-\\[selected\\=true\\]\\:bg-accent {\n &[data-selected=\"true\"] {\n background-color: var(--accent);\n }\n }\n .data-\\[selected\\=true\\]\\:text-accent-foreground {\n &[data-selected=\"true\"] {\n color: var(--accent-foreground);\n }\n }\n .data-\\[side\\=bottom\\]\\:slide-in-from-top-2 {\n &[data-side=\"bottom\"] {\n --tw-enter-translate-y: -0.5rem;\n }\n }\n .data-\\[side\\=left\\]\\:slide-in-from-right-2 {\n &[data-side=\"left\"] {\n --tw-enter-translate-x: 0.5rem;\n }\n }\n .data-\\[side\\=right\\]\\:slide-in-from-left-2 {\n &[data-side=\"right\"] {\n --tw-enter-translate-x: -0.5rem;\n }\n }\n .data-\\[side\\=top\\]\\:slide-in-from-bottom-2 {\n &[data-side=\"top\"] {\n --tw-enter-translate-y: 0.5rem;\n }\n }\n .\\*\\*\\:data-\\[slot\\=command-input-wrapper\\]\\:h-12 {\n :is(& *) {\n &[data-slot=\"command-input-wrapper\"] {\n height: calc(var(--spacing) * 12);\n }\n }\n }\n .data-\\[state\\=checked\\]\\:border-primary {\n &[data-state=\"checked\"] {\n border-color: var(--primary);\n }\n }\n .data-\\[state\\=checked\\]\\:bg-primary {\n &[data-state=\"checked\"] {\n background-color: var(--primary);\n }\n }\n .data-\\[state\\=checked\\]\\:text-primary-foreground {\n &[data-state=\"checked\"] {\n color: var(--primary-foreground);\n }\n }\n .data-\\[state\\=closed\\]\\:animate-out {\n &[data-state=\"closed\"] {\n animation-name: exit;\n animation-duration: 150ms;\n --tw-exit-opacity: initial;\n --tw-exit-scale: initial;\n --tw-exit-rotate: initial;\n --tw-exit-translate-x: initial;\n --tw-exit-translate-y: initial;\n }\n }\n .data-\\[state\\=closed\\]\\:fade-out-0 {\n &[data-state=\"closed\"] {\n --tw-exit-opacity: 0;\n }\n }\n .data-\\[state\\=closed\\]\\:zoom-out-95 {\n &[data-state=\"closed\"] {\n --tw-exit-scale: .95;\n }\n }\n .data-\\[state\\=open\\]\\:bg-accent {\n &[data-state=\"open\"] {\n background-color: var(--accent);\n }\n }\n .data-\\[state\\=open\\]\\:text-accent-foreground {\n &[data-state=\"open\"] {\n color: var(--accent-foreground);\n }\n }\n .data-\\[state\\=open\\]\\:text-muted-foreground {\n &[data-state=\"open\"] {\n color: var(--muted-foreground);\n }\n }\n .data-\\[state\\=open\\]\\:animate-in {\n &[data-state=\"open\"] {\n animation-name: enter;\n animation-duration: 150ms;\n --tw-enter-opacity: initial;\n --tw-enter-scale: initial;\n --tw-enter-rotate: initial;\n --tw-enter-translate-x: initial;\n --tw-enter-translate-y: initial;\n }\n }\n .data-\\[state\\=open\\]\\:fade-in-0 {\n &[data-state=\"open\"] {\n --tw-enter-opacity: 0;\n }\n }\n .data-\\[state\\=open\\]\\:zoom-in-95 {\n &[data-state=\"open\"] {\n --tw-enter-scale: .95;\n }\n }\n .data-\\[variant\\=destructive\\]\\:text-destructive {\n &[data-variant=\"destructive\"] {\n color: var(--destructive);\n }\n }\n .data-\\[variant\\=destructive\\]\\:focus\\:bg-destructive\\/10 {\n &[data-variant=\"destructive\"] {\n &:focus {\n background-color: var(--destructive);\n @supports (color: color-mix(in lab, red, red)) {\n background-color: color-mix(in oklab, var(--destructive) 10%, transparent);\n }\n }\n }\n }\n .data-\\[variant\\=destructive\\]\\:focus\\:text-destructive {\n &[data-variant=\"destructive\"] {\n &:focus {\n color: var(--destructive);\n }\n }\n }\n .max-md\\:cursor-pointer {\n @media (width < 48rem) {\n cursor: pointer;\n }\n }\n .max-sm\\:hidden {\n @media (width < 40rem) {\n display: none;\n }\n }\n .max-sm\\:h-\\[52px\\] {\n @media (width < 40rem) {\n height: 52px;\n }\n }\n .sm\\:static {\n @media (width >= 40rem) {\n position: static;\n }\n }\n .sm\\:w-fit {\n @media (width >= 40rem) {\n width: fit-content;\n }\n }\n .sm\\:max-w-lg {\n @media (width >= 40rem) {\n max-width: var(--container-lg);\n }\n }\n .sm\\:flex-row {\n @media (width >= 40rem) {\n flex-direction: row;\n }\n }\n .sm\\:justify-end {\n @media (width >= 40rem) {\n justify-content: flex-end;\n }\n }\n .sm\\:bg-transparent {\n @media (width >= 40rem) {\n background-color: transparent;\n }\n }\n .sm\\:px-0 {\n @media (width >= 40rem) {\n padding-inline: calc(var(--spacing) * 0);\n }\n }\n .sm\\:pb-0 {\n @media (width >= 40rem) {\n padding-bottom: calc(var(--spacing) * 0);\n }\n }\n .sm\\:text-left {\n @media (width >= 40rem) {\n text-align: left;\n }\n }\n .md\\:order-last {\n @media (width >= 48rem) {\n order: 9999;\n }\n }\n .md\\:order-none {\n @media (width >= 48rem) {\n order: 0;\n }\n }\n .md\\:col-span-2 {\n @media (width >= 48rem) {\n grid-column: span 2 / span 2;\n }\n }\n .md\\:col-span-3 {\n @media (width >= 48rem) {\n grid-column: span 3 / span 3;\n }\n }\n .md\\:col-span-4 {\n @media (width >= 48rem) {\n grid-column: span 4 / span 4;\n }\n }\n .md\\:block {\n @media (width >= 48rem) {\n display: block;\n }\n }\n .md\\:flex {\n @media (width >= 48rem) {\n display: flex;\n }\n }\n .md\\:grid {\n @media (width >= 48rem) {\n display: grid;\n }\n }\n .md\\:hidden {\n @media (width >= 48rem) {\n display: none;\n }\n }\n .md\\:max-w-\\[75\\%\\] {\n @media (width >= 48rem) {\n max-width: 75%;\n }\n }\n .md\\:grid-cols-2 {\n @media (width >= 48rem) {\n grid-template-columns: repeat(2, minmax(0, 1fr));\n }\n }\n .md\\:grid-cols-3 {\n @media (width >= 48rem) {\n grid-template-columns: repeat(3, minmax(0, 1fr));\n }\n }\n .md\\:grid-cols-7 {\n @media (width >= 48rem) {\n grid-template-columns: repeat(7, minmax(0, 1fr));\n }\n }\n .md\\:gap-0 {\n @media (width >= 48rem) {\n gap: calc(var(--spacing) * 0);\n }\n }\n .md\\:px-8 {\n @media (width >= 48rem) {\n padding-inline: calc(var(--spacing) * 8);\n }\n }\n .md\\:py-12 {\n @media (width >= 48rem) {\n padding-block: calc(var(--spacing) * 12);\n }\n }\n .md\\:text-sm {\n @media (width >= 48rem) {\n font-size: var(--text-sm);\n line-height: var(--tw-leading, var(--text-sm--line-height));\n }\n }\n .dark\\:focus-visible\\:ring-destructive\\/40 {\n @media (prefers-color-scheme: dark) {\n &:focus-visible {\n --tw-ring-color: var(--destructive);\n @supports (color: color-mix(in lab, red, red)) {\n --tw-ring-color: color-mix(in oklab, var(--destructive) 40%, transparent);\n }\n }\n }\n }\n .dark\\:aria-invalid\\:ring-destructive\\/40 {\n @media (prefers-color-scheme: dark) {\n &[aria-invalid=\"true\"] {\n --tw-ring-color: var(--destructive);\n @supports (color: color-mix(in lab, red, red)) {\n --tw-ring-color: color-mix(in oklab, var(--destructive) 40%, transparent);\n }\n }\n }\n }\n .dark\\:data-\\[variant\\=destructive\\]\\:focus\\:bg-destructive\\/20 {\n @media (prefers-color-scheme: dark) {\n &[data-variant=\"destructive\"] {\n &:focus {\n background-color: var(--destructive);\n @supports (color: color-mix(in lab, red, red)) {\n background-color: color-mix(in oklab, var(--destructive) 20%, transparent);\n }\n }\n }\n }\n }\n .\\[\\&_\\[cmdk-group-heading\\]\\]\\:px-2 {\n & [cmdk-group-heading] {\n padding-inline: calc(var(--spacing) * 2);\n }\n }\n .\\[\\&_\\[cmdk-group-heading\\]\\]\\:py-1\\.5 {\n & [cmdk-group-heading] {\n padding-block: calc(var(--spacing) * 1.5);\n }\n }\n .\\[\\&_\\[cmdk-group-heading\\]\\]\\:text-xs {\n & [cmdk-group-heading] {\n font-size: var(--text-xs);\n line-height: var(--tw-leading, var(--text-xs--line-height));\n }\n }\n .\\[\\&_\\[cmdk-group-heading\\]\\]\\:font-medium {\n & [cmdk-group-heading] {\n --tw-font-weight: var(--font-weight-medium);\n font-weight: var(--font-weight-medium);\n }\n }\n .\\[\\&_\\[cmdk-group-heading\\]\\]\\:text-muted-foreground {\n & [cmdk-group-heading] {\n color: var(--muted-foreground);\n }\n }\n .\\[\\&_\\[cmdk-group\\]\\]\\:px-2 {\n & [cmdk-group] {\n padding-inline: calc(var(--spacing) * 2);\n }\n }\n .\\[\\&_\\[cmdk-group\\]\\:not\\(\\[hidden\\]\\)_\\~\\[cmdk-group\\]\\]\\:pt-0 {\n & [cmdk-group]:not([hidden]) ~[cmdk-group] {\n padding-top: calc(var(--spacing) * 0);\n }\n }\n .\\[\\&_\\[cmdk-input-wrapper\\]_svg\\]\\:h-5 {\n & [cmdk-input-wrapper] svg {\n height: calc(var(--spacing) * 5);\n }\n }\n .\\[\\&_\\[cmdk-input-wrapper\\]_svg\\]\\:w-5 {\n & [cmdk-input-wrapper] svg {\n width: calc(var(--spacing) * 5);\n }\n }\n .\\[\\&_\\[cmdk-input\\]\\]\\:h-12 {\n & [cmdk-input] {\n height: calc(var(--spacing) * 12);\n }\n }\n .\\[\\&_\\[cmdk-item\\]\\]\\:px-2 {\n & [cmdk-item] {\n padding-inline: calc(var(--spacing) * 2);\n }\n }\n .\\[\\&_\\[cmdk-item\\]\\]\\:py-3 {\n & [cmdk-item] {\n padding-block: calc(var(--spacing) * 3);\n }\n }\n .\\[\\&_\\[cmdk-item\\]_svg\\]\\:h-5 {\n & [cmdk-item] svg {\n height: calc(var(--spacing) * 5);\n }\n }\n .\\[\\&_\\[cmdk-item\\]_svg\\]\\:w-5 {\n & [cmdk-item] svg {\n width: calc(var(--spacing) * 5);\n }\n }\n .\\[\\&_svg\\]\\:pointer-events-none {\n & svg {\n pointer-events: none;\n }\n }\n .\\[\\&_svg\\]\\:shrink-0 {\n & svg {\n flex-shrink: 0;\n }\n }\n .\\[\\&_svg\\:not\\(\\[class\\*\\=\\'size-\\'\\]\\)\\]\\:size-4 {\n & svg:not([class*='size-']) {\n width: calc(var(--spacing) * 4);\n height: calc(var(--spacing) * 4);\n }\n }\n .\\[\\&_svg\\:not\\(\\[class\\*\\=\\'text-\\'\\]\\)\\]\\:text-muted-foreground {\n & svg:not([class*='text-']) {\n color: var(--muted-foreground);\n }\n }\n .data-\\[variant\\=destructive\\]\\:\\*\\:\\[svg\\]\\:\\!text-destructive {\n &[data-variant=\"destructive\"] {\n :is(& > *) {\n &:is(svg) {\n color: var(--destructive) !important;\n }\n }\n }\n }\n}\n@layer base {\n ::selection {\n background-color: var(--primary);\n color: var(--primary-foreground);\n }\n input:-webkit-autofill,\n input:-webkit-autofill:hover,\n input:-webkit-autofill:focus,\n input:-webkit-autofill:active {\n -webkit-box-shadow: 0 0 0 30px var(--muted) inset !important;\n -webkit-text-fill-color: var(--foreground) !important;\n }\n input:-moz-autofill,\n input:autofill {\n background-color: var(--muted);\n color: var(--foreground);\n }\n * {\n --tw-border-style: solid;\n border-style: solid;\n border-color: var(--border);\n outline-color: var(--ring);\n @supports (color: color-mix(in lab, red, red)) {\n outline-color: color-mix(in oklab, var(--ring) 50%, transparent);\n }\n }\n .checkout-embed {\n background-color: var(--background);\n font-family: var(--font-sans), Helvetica, Arial, apple-system, sans-serif;\n color: var(--foreground);\n }\n h2 {\n font-size: var(--text-2xl);\n line-height: var(--tw-leading, var(--text-2xl--line-height));\n --tw-font-weight: var(--font-weight-bold);\n font-weight: var(--font-weight-bold);\n --tw-tracking: var(--tracking-tight);\n letter-spacing: var(--tracking-tight);\n }\n p {\n --tw-tracking: var(--tracking-tight);\n letter-spacing: var(--tracking-tight);\n }\n}\n@layer utilities {\n .scrollbar-hidden {\n scrollbar-width: none;\n }\n .scrollbar-hidden::-webkit-scrollbar {\n display: none;\n }\n}\n@keyframes enter {\n from {\n opacity: var(--tw-enter-opacity, 1);\n 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));\n }\n}\n@keyframes exit {\n to {\n opacity: var(--tw-exit-opacity, 1);\n 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));\n }\n}\n@property --tw-translate-x {\n syntax: \"*\";\n inherits: false;\n initial-value: 0;\n}\n@property --tw-translate-y {\n syntax: \"*\";\n inherits: false;\n initial-value: 0;\n}\n@property --tw-translate-z {\n syntax: \"*\";\n inherits: false;\n initial-value: 0;\n}\n@property --tw-space-y-reverse {\n syntax: \"*\";\n inherits: false;\n initial-value: 0;\n}\n@property --tw-border-style {\n syntax: \"*\";\n inherits: false;\n initial-value: solid;\n}\n@property --tw-leading {\n syntax: \"*\";\n inherits: false;\n}\n@property --tw-font-weight {\n syntax: \"*\";\n inherits: false;\n}\n@property --tw-tracking {\n syntax: \"*\";\n inherits: false;\n}\n@property --tw-shadow {\n syntax: \"*\";\n inherits: false;\n initial-value: 0 0 #0000;\n}\n@property --tw-shadow-color {\n syntax: \"*\";\n inherits: false;\n}\n@property --tw-shadow-alpha {\n syntax: \"<percentage>\";\n inherits: false;\n initial-value: 100%;\n}\n@property --tw-inset-shadow {\n syntax: \"*\";\n inherits: false;\n initial-value: 0 0 #0000;\n}\n@property --tw-inset-shadow-color {\n syntax: \"*\";\n inherits: false;\n}\n@property --tw-inset-shadow-alpha {\n syntax: \"<percentage>\";\n inherits: false;\n initial-value: 100%;\n}\n@property --tw-ring-color {\n syntax: \"*\";\n inherits: false;\n}\n@property --tw-ring-shadow {\n syntax: \"*\";\n inherits: false;\n initial-value: 0 0 #0000;\n}\n@property --tw-inset-ring-color {\n syntax: \"*\";\n inherits: false;\n}\n@property --tw-inset-ring-shadow {\n syntax: \"*\";\n inherits: false;\n initial-value: 0 0 #0000;\n}\n@property --tw-ring-inset {\n syntax: \"*\";\n inherits: false;\n}\n@property --tw-ring-offset-width {\n syntax: \"<length>\";\n inherits: false;\n initial-value: 0px;\n}\n@property --tw-ring-offset-color {\n syntax: \"*\";\n inherits: false;\n initial-value: #fff;\n}\n@property --tw-ring-offset-shadow {\n syntax: \"*\";\n inherits: false;\n initial-value: 0 0 #0000;\n}\n@property --tw-outline-style {\n syntax: \"*\";\n inherits: false;\n initial-value: solid;\n}\n@property --tw-duration {\n syntax: \"*\";\n inherits: false;\n}\n@property --tw-ease {\n syntax: \"*\";\n inherits: false;\n}\n@property --tw-content {\n syntax: \"*\";\n initial-value: \"\";\n inherits: false;\n}\n@keyframes spin {\n to {\n transform: rotate(360deg);\n }\n}\n@keyframes pulse {\n 50% {\n opacity: 0.5;\n }\n}\n@layer properties {\n @supports ((-webkit-hyphens: none) and (not (margin-trim: inline))) or ((-moz-orient: inline) and (not (color:rgb(from red r g b)))) {\n *, ::before, ::after, ::backdrop {\n --tw-translate-x: 0;\n --tw-translate-y: 0;\n --tw-translate-z: 0;\n --tw-space-y-reverse: 0;\n --tw-border-style: solid;\n --tw-leading: initial;\n --tw-font-weight: initial;\n --tw-tracking: initial;\n --tw-shadow: 0 0 #0000;\n --tw-shadow-color: initial;\n --tw-shadow-alpha: 100%;\n --tw-inset-shadow: 0 0 #0000;\n --tw-inset-shadow-color: initial;\n --tw-inset-shadow-alpha: 100%;\n --tw-ring-color: initial;\n --tw-ring-shadow: 0 0 #0000;\n --tw-inset-ring-color: initial;\n --tw-inset-ring-shadow: 0 0 #0000;\n --tw-ring-inset: initial;\n --tw-ring-offset-width: 0px;\n --tw-ring-offset-color: #fff;\n --tw-ring-offset-shadow: 0 0 #0000;\n --tw-outline-style: solid;\n --tw-duration: initial;\n --tw-ease: initial;\n --tw-content: \"\";\n }\n }\n}\n";
7626
7531
 
7627
7532
  var M$1=(e,i,s,u,m,a,l,h)=>{let d=document.documentElement,w=["light","dark"];function p(n){(Array.isArray(e)?e:[e]).forEach(y=>{let k=y==="class",S=k&&a?m.map(f=>a[f]||f):m;k?(d.classList.remove(...S),d.classList.add(a&&a[n]?a[n]:n)):d.setAttribute(y,n);}),R(n);}function R(n){h&&w.includes(n)&&(d.style.colorScheme=n);}function c(){return window.matchMedia("(prefers-color-scheme: dark)").matches?"dark":"light"}if(u)p(u);else try{let n=localStorage.getItem(i)||s,y=l&&n==="system"?c():n;p(y);}catch(n){}};var x=React.createContext(void 0),U$1={setTheme:e=>{},themes:[]},z=()=>{var e;return (e=React.useContext(x))!=null?e:U$1};React.memo(({forcedTheme:e,storageKey:i,attribute:s,enableSystem:u,enableColorScheme:m,defaultTheme:a,value:l,themes:h,nonce:d,scriptProps:w})=>{let p=JSON.stringify([s,i,a,e,h,l,u,m]).slice(1,-1);return React.createElement("script",{...w,suppressHydrationWarning:true,nonce:typeof window=="undefined"?d:"",dangerouslySetInnerHTML:{__html:`(${M$1.toString()})(${p})`}})});
7628
7533
 
@@ -17317,14 +17222,18 @@ var ZodFirstPartyTypeKind;
17317
17222
  const stringType = ZodString.create;
17318
17223
  const numberType = ZodNumber.create;
17319
17224
  const booleanType = ZodBoolean.create;
17225
+ const dateType = ZodDate.create;
17226
+ const nullType = ZodNull.create;
17227
+ const anyType = ZodAny.create;
17320
17228
  ZodNever.create;
17321
- ZodArray.create;
17229
+ const arrayType = ZodArray.create;
17322
17230
  const objectType = ZodObject.create;
17323
- ZodUnion.create;
17231
+ const unionType = ZodUnion.create;
17324
17232
  ZodIntersection.create;
17325
17233
  ZodTuple.create;
17326
17234
  const recordType = ZodRecord.create;
17327
- ZodEnum.create;
17235
+ const lazyType = ZodLazy.create;
17236
+ const enumType = ZodEnum.create;
17328
17237
  ZodPromise.create;
17329
17238
  const optionalType = ZodOptional.create;
17330
17239
  ZodNullable.create;
@@ -17337,13 +17246,14 @@ const customerSchema = objectType({
17337
17246
  lastName: stringType().min(1, "required_error"),
17338
17247
  address: objectType({
17339
17248
  line1: stringType().min(1, "required_error"),
17340
- line2: stringType().optional(),
17249
+ line2: stringType().nullable(),
17341
17250
  city: stringType().min(1, "required_error"),
17342
- province: stringType().optional(),
17343
- provinceCode: stringType().optional(),
17251
+ province: stringType().nullable(),
17252
+ provinceCode: stringType().nullable(),
17344
17253
  zipCode: stringType().min(5, "invalid_zipCode"),
17345
17254
  country: stringType().min(1, "required_error"),
17346
17255
  countryCode: stringType().min(1, "required_error"),
17256
+ company: stringType().nullable(),
17347
17257
  }),
17348
17258
  phone: stringType().regex(phoneRegex, "invalid_phone"),
17349
17259
  isEmailSubscribed: booleanType().optional(),
@@ -41506,7 +41416,1052 @@ function Skeleton(_a) {
41506
41416
  return (jsx("div", Object.assign({ "data-slot": "skeleton", className: cn("bg-accent animate-pulse rounded-md", className) }, props)));
41507
41417
  }
41508
41418
 
41509
- const storeHelpers = createStoreHelpers();
41419
+ // src/api/checkout/index.ts
41420
+ var SchemaHelpers = {
41421
+ OrderBy: {
41422
+ singleField: enumType(["asc", "desc"]).optional()
41423
+ },
41424
+ Select: {
41425
+ singleField: booleanType().optional()
41426
+ },
41427
+ WhereUnique: {
41428
+ stringFilter: stringType().optional()
41429
+ },
41430
+ Where: {
41431
+ // StringFilter with all Prisma operations
41432
+ stringFilter: unionType([
41433
+ stringType(),
41434
+ objectType({
41435
+ equals: stringType().optional(),
41436
+ in: arrayType(stringType()).optional(),
41437
+ notIn: arrayType(stringType()).optional(),
41438
+ lt: stringType().optional(),
41439
+ lte: stringType().optional(),
41440
+ gt: stringType().optional(),
41441
+ gte: stringType().optional(),
41442
+ contains: stringType().optional(),
41443
+ startsWith: stringType().optional(),
41444
+ endsWith: stringType().optional(),
41445
+ mode: enumType(["default", "insensitive"]).optional(),
41446
+ not: objectType({
41447
+ equals: stringType().optional(),
41448
+ in: arrayType(stringType()).optional(),
41449
+ notIn: arrayType(stringType()).optional(),
41450
+ lt: stringType().optional(),
41451
+ lte: stringType().optional(),
41452
+ gt: stringType().optional(),
41453
+ gte: stringType().optional(),
41454
+ contains: stringType().optional(),
41455
+ startsWith: stringType().optional(),
41456
+ endsWith: stringType().optional(),
41457
+ mode: enumType(["default", "insensitive"]).optional()
41458
+ }).optional()
41459
+ }).strict()
41460
+ ]).optional(),
41461
+ // StringNullableFilter with all Prisma operations
41462
+ stringNullableFilter: unionType([
41463
+ stringType(),
41464
+ nullType(),
41465
+ objectType({
41466
+ equals: unionType([stringType(), nullType()]).optional(),
41467
+ in: arrayType(stringType()).optional(),
41468
+ notIn: arrayType(stringType()).optional(),
41469
+ lt: stringType().optional(),
41470
+ lte: stringType().optional(),
41471
+ gt: stringType().optional(),
41472
+ gte: stringType().optional(),
41473
+ contains: stringType().optional(),
41474
+ startsWith: stringType().optional(),
41475
+ endsWith: stringType().optional(),
41476
+ mode: enumType(["default", "insensitive"]).optional(),
41477
+ not: objectType({
41478
+ equals: unionType([stringType(), nullType()]).optional(),
41479
+ in: arrayType(stringType()).optional(),
41480
+ notIn: arrayType(stringType()).optional(),
41481
+ lt: stringType().optional(),
41482
+ lte: stringType().optional(),
41483
+ gt: stringType().optional(),
41484
+ gte: stringType().optional(),
41485
+ contains: stringType().optional(),
41486
+ startsWith: stringType().optional(),
41487
+ endsWith: stringType().optional(),
41488
+ mode: enumType(["default", "insensitive"]).optional()
41489
+ }).optional()
41490
+ }).strict()
41491
+ ]).optional(),
41492
+ // StringNullableListFilter with all Prisma operations
41493
+ stringNullableListFilter: objectType({
41494
+ equals: unionType([arrayType(stringType()), nullType()]).optional(),
41495
+ has: unionType([stringType(), nullType()]).optional(),
41496
+ hasEvery: arrayType(stringType()).optional(),
41497
+ hasSome: arrayType(stringType()).optional(),
41498
+ isEmpty: booleanType().optional()
41499
+ }).strict().optional(),
41500
+ // IntFilter with all Prisma operations
41501
+ intFilter: unionType([
41502
+ numberType(),
41503
+ objectType({
41504
+ equals: numberType().optional(),
41505
+ in: arrayType(numberType()).optional(),
41506
+ notIn: arrayType(numberType()).optional(),
41507
+ lt: numberType().optional(),
41508
+ lte: numberType().optional(),
41509
+ gt: numberType().optional(),
41510
+ gte: numberType().optional(),
41511
+ not: objectType({
41512
+ equals: numberType().optional(),
41513
+ in: arrayType(numberType()).optional(),
41514
+ notIn: arrayType(numberType()).optional(),
41515
+ lt: numberType().optional(),
41516
+ lte: numberType().optional(),
41517
+ gt: numberType().optional(),
41518
+ gte: numberType().optional()
41519
+ }).optional()
41520
+ }).strict()
41521
+ ]).optional(),
41522
+ // IntNullableFilter with all Prisma operations
41523
+ intNullableFilter: unionType([
41524
+ numberType(),
41525
+ objectType({
41526
+ equals: numberType().optional(),
41527
+ in: arrayType(numberType()).optional(),
41528
+ notIn: arrayType(numberType()).optional(),
41529
+ lt: numberType().optional(),
41530
+ lte: numberType().optional(),
41531
+ gt: numberType().optional(),
41532
+ gte: numberType().optional(),
41533
+ not: objectType({
41534
+ equals: numberType().optional(),
41535
+ in: arrayType(numberType()).optional(),
41536
+ notIn: arrayType(numberType()).optional(),
41537
+ lt: numberType().optional(),
41538
+ lte: numberType().optional(),
41539
+ gt: numberType().optional(),
41540
+ gte: numberType().optional()
41541
+ }).optional(),
41542
+ isSet: booleanType().optional()
41543
+ }).strict()
41544
+ ]).optional(),
41545
+ // BoolFilter with all Prisma operations
41546
+ boolFilter: unionType([
41547
+ booleanType(),
41548
+ objectType({
41549
+ equals: booleanType().optional(),
41550
+ not: objectType({
41551
+ equals: booleanType().optional()
41552
+ }).optional()
41553
+ }).strict()
41554
+ ]).optional(),
41555
+ // DateTimeFilter with all Prisma operations
41556
+ dateTimeFilter: unionType([
41557
+ stringType(),
41558
+ dateType(),
41559
+ objectType({
41560
+ equals: unionType([stringType(), dateType()]).optional(),
41561
+ in: unionType([stringType().array(), dateType().array()]).optional(),
41562
+ notIn: unionType([stringType().array(), dateType().array()]).optional(),
41563
+ lt: unionType([stringType(), dateType()]).optional(),
41564
+ lte: unionType([stringType(), dateType()]).optional(),
41565
+ gt: unionType([stringType(), dateType()]).optional(),
41566
+ gte: unionType([stringType(), dateType()]).optional(),
41567
+ not: objectType({
41568
+ equals: unionType([stringType(), dateType()]).optional(),
41569
+ in: unionType([stringType().array(), dateType().array()]).optional(),
41570
+ notIn: unionType([stringType().array(), dateType().array()]).optional(),
41571
+ lt: unionType([stringType(), dateType()]).optional(),
41572
+ lte: unionType([stringType(), dateType()]).optional(),
41573
+ gt: unionType([stringType(), dateType()]).optional(),
41574
+ gte: unionType([stringType(), dateType()]).optional()
41575
+ }).optional()
41576
+ }).strict()
41577
+ ]).optional(),
41578
+ // DateTimeNullableFilter with all Prisma operations
41579
+ dateTimeNullableFilter: unionType([
41580
+ stringType(),
41581
+ dateType(),
41582
+ objectType({
41583
+ equals: unionType([stringType(), dateType()]).optional(),
41584
+ in: unionType([stringType().array(), dateType().array()]).optional(),
41585
+ notIn: unionType([stringType().array(), dateType().array()]).optional(),
41586
+ lt: unionType([stringType(), dateType()]).optional(),
41587
+ lte: unionType([stringType(), dateType()]).optional(),
41588
+ gt: unionType([stringType(), dateType()]).optional(),
41589
+ gte: unionType([stringType(), dateType()]).optional(),
41590
+ not: objectType({
41591
+ equals: unionType([stringType(), dateType()]).optional(),
41592
+ in: unionType([stringType().array(), dateType().array()]).optional(),
41593
+ notIn: unionType([stringType().array(), dateType().array()]).optional(),
41594
+ lt: unionType([stringType(), dateType()]).optional(),
41595
+ lte: unionType([stringType(), dateType()]).optional(),
41596
+ gt: unionType([stringType(), dateType()]).optional(),
41597
+ gte: unionType([stringType(), dateType()]).optional()
41598
+ }).optional(),
41599
+ isSet: booleanType().optional()
41600
+ }).strict()
41601
+ ]).optional(),
41602
+ // EnumFilter with all Prisma operations
41603
+ enumFilter: (values) => unionType([
41604
+ enumType(values),
41605
+ objectType({
41606
+ equals: enumType(values).optional(),
41607
+ in: arrayType(enumType(values)).optional(),
41608
+ notIn: arrayType(enumType(values)).optional(),
41609
+ not: lazyType(() => enumType(values)).optional()
41610
+ }).strict()
41611
+ ]).optional(),
41612
+ // JsonNullableFilter with all Prisma operations
41613
+ jsonNullableFilter: unionType([
41614
+ anyType(),
41615
+ nullType(),
41616
+ objectType({
41617
+ equals: anyType().optional(),
41618
+ not: anyType().optional(),
41619
+ isSet: booleanType().optional()
41620
+ }).strict()
41621
+ ]).optional(),
41622
+ // Legacy filters for backward compatibility
41623
+ arrayFilter: arrayType(stringType()).optional(),
41624
+ objectFilter: objectType({}).optional()
41625
+ }
41626
+ };
41627
+ var getSelectCompositeType = (zodObject) => {
41628
+ return lazyType(
41629
+ () => unionType([booleanType(), objectType({ select: objectType(zodObject) })]).optional()
41630
+ );
41631
+ };
41632
+ var productOptionSelectSchema = getSelectCompositeType({
41633
+ name: booleanType().optional(),
41634
+ values: booleanType().optional()
41635
+ });
41636
+ var inventoryItemSelectSchema = getSelectCompositeType({
41637
+ id: SchemaHelpers.Select.singleField,
41638
+ createdAt: SchemaHelpers.Select.singleField,
41639
+ updatedAt: SchemaHelpers.Select.singleField,
41640
+ trackInventory: SchemaHelpers.Select.singleField,
41641
+ stockPolicy: SchemaHelpers.Select.singleField,
41642
+ variantId: SchemaHelpers.Select.singleField,
41643
+ productId: SchemaHelpers.Select.singleField,
41644
+ levels: getSelectCompositeType({
41645
+ id: SchemaHelpers.Select.singleField,
41646
+ createdAt: SchemaHelpers.Select.singleField,
41647
+ updatedAt: SchemaHelpers.Select.singleField,
41648
+ available: SchemaHelpers.Select.singleField,
41649
+ reserved: SchemaHelpers.Select.singleField,
41650
+ incoming: SchemaHelpers.Select.singleField,
41651
+ locationId: SchemaHelpers.Select.singleField,
41652
+ inventoryItemId: SchemaHelpers.Select.singleField,
41653
+ location: getSelectCompositeType({
41654
+ id: SchemaHelpers.Select.singleField,
41655
+ createdAt: SchemaHelpers.Select.singleField,
41656
+ updatedAt: SchemaHelpers.Select.singleField,
41657
+ name: SchemaHelpers.Select.singleField,
41658
+ address: SchemaHelpers.Select.singleField,
41659
+ city: SchemaHelpers.Select.singleField,
41660
+ province: SchemaHelpers.Select.singleField,
41661
+ country: SchemaHelpers.Select.singleField,
41662
+ postalCode: SchemaHelpers.Select.singleField,
41663
+ phone: SchemaHelpers.Select.singleField,
41664
+ email: SchemaHelpers.Select.singleField
41665
+ })
41666
+ }),
41667
+ variant: getSelectCompositeType({
41668
+ id: SchemaHelpers.Select.singleField,
41669
+ createdAt: SchemaHelpers.Select.singleField,
41670
+ updatedAt: SchemaHelpers.Select.singleField,
41671
+ title: SchemaHelpers.Select.singleField,
41672
+ description: SchemaHelpers.Select.singleField,
41673
+ images: SchemaHelpers.Select.singleField,
41674
+ sku: SchemaHelpers.Select.singleField,
41675
+ barcode: SchemaHelpers.Select.singleField,
41676
+ isPhysical: SchemaHelpers.Select.singleField,
41677
+ weightInGrams: SchemaHelpers.Select.singleField,
41678
+ heightInCm: SchemaHelpers.Select.singleField,
41679
+ widthInCm: SchemaHelpers.Select.singleField,
41680
+ lengthInCm: SchemaHelpers.Select.singleField,
41681
+ priceInCents: SchemaHelpers.Select.singleField,
41682
+ billingType: SchemaHelpers.Select.singleField,
41683
+ billingInterval: SchemaHelpers.Select.singleField,
41684
+ billingIntervalCount: SchemaHelpers.Select.singleField,
41685
+ metadata: SchemaHelpers.Select.singleField,
41686
+ productId: SchemaHelpers.Select.singleField,
41687
+ variantOptions: getSelectCompositeType({
41688
+ name: SchemaHelpers.Select.singleField,
41689
+ value: SchemaHelpers.Select.singleField
41690
+ })
41691
+ })
41692
+ });
41693
+ var productVendorSelectSchema = getSelectCompositeType({
41694
+ id: SchemaHelpers.Select.singleField,
41695
+ createdAt: SchemaHelpers.Select.singleField,
41696
+ updatedAt: SchemaHelpers.Select.singleField,
41697
+ name: SchemaHelpers.Select.singleField,
41698
+ metadata: SchemaHelpers.Select.singleField,
41699
+ isDropshipped: SchemaHelpers.Select.singleField,
41700
+ shippingProfileIDs: SchemaHelpers.Select.singleField,
41701
+ products: getSelectCompositeType({
41702
+ id: SchemaHelpers.Select.singleField,
41703
+ createdAt: SchemaHelpers.Select.singleField,
41704
+ updatedAt: SchemaHelpers.Select.singleField,
41705
+ title: SchemaHelpers.Select.singleField,
41706
+ description: SchemaHelpers.Select.singleField,
41707
+ images: SchemaHelpers.Select.singleField,
41708
+ category: SchemaHelpers.Select.singleField,
41709
+ tags: SchemaHelpers.Select.singleField,
41710
+ isPhysical: SchemaHelpers.Select.singleField,
41711
+ weightInGrams: SchemaHelpers.Select.singleField,
41712
+ heightInCm: SchemaHelpers.Select.singleField,
41713
+ widthInCm: SchemaHelpers.Select.singleField,
41714
+ lengthInCm: SchemaHelpers.Select.singleField,
41715
+ priceInCents: SchemaHelpers.Select.singleField,
41716
+ billingType: SchemaHelpers.Select.singleField,
41717
+ billingInterval: SchemaHelpers.Select.singleField,
41718
+ billingIntervalCount: SchemaHelpers.Select.singleField,
41719
+ sku: SchemaHelpers.Select.singleField,
41720
+ barcode: SchemaHelpers.Select.singleField,
41721
+ seoPageTitle: SchemaHelpers.Select.singleField,
41722
+ seoDescription: SchemaHelpers.Select.singleField,
41723
+ seoHandle: SchemaHelpers.Select.singleField,
41724
+ productVendorId: SchemaHelpers.Select.singleField,
41725
+ metadata: SchemaHelpers.Select.singleField,
41726
+ status: SchemaHelpers.Select.singleField,
41727
+ collectionIDs: SchemaHelpers.Select.singleField,
41728
+ shippingProfileIDs: SchemaHelpers.Select.singleField
41729
+ }),
41730
+ shippingProfiles: getSelectCompositeType({
41731
+ id: SchemaHelpers.Select.singleField,
41732
+ createdAt: SchemaHelpers.Select.singleField,
41733
+ updatedAt: SchemaHelpers.Select.singleField,
41734
+ name: SchemaHelpers.Select.singleField,
41735
+ description: SchemaHelpers.Select.singleField,
41736
+ metadata: SchemaHelpers.Select.singleField
41737
+ })
41738
+ });
41739
+ var productVariantSelectSchema = getSelectCompositeType({
41740
+ id: SchemaHelpers.Select.singleField,
41741
+ createdAt: SchemaHelpers.Select.singleField,
41742
+ updatedAt: SchemaHelpers.Select.singleField,
41743
+ title: SchemaHelpers.Select.singleField,
41744
+ description: SchemaHelpers.Select.singleField,
41745
+ images: SchemaHelpers.Select.singleField,
41746
+ sku: SchemaHelpers.Select.singleField,
41747
+ barcode: SchemaHelpers.Select.singleField,
41748
+ isPhysical: SchemaHelpers.Select.singleField,
41749
+ weightInGrams: SchemaHelpers.Select.singleField,
41750
+ heightInCm: SchemaHelpers.Select.singleField,
41751
+ widthInCm: SchemaHelpers.Select.singleField,
41752
+ lengthInCm: SchemaHelpers.Select.singleField,
41753
+ priceInCents: SchemaHelpers.Select.singleField,
41754
+ billingType: SchemaHelpers.Select.singleField,
41755
+ billingInterval: SchemaHelpers.Select.singleField,
41756
+ billingIntervalCount: SchemaHelpers.Select.singleField,
41757
+ metadata: SchemaHelpers.Select.singleField,
41758
+ productId: SchemaHelpers.Select.singleField,
41759
+ variantOptions: getSelectCompositeType({
41760
+ name: SchemaHelpers.Select.singleField,
41761
+ value: SchemaHelpers.Select.singleField
41762
+ }),
41763
+ product: getSelectCompositeType({
41764
+ id: SchemaHelpers.Select.singleField,
41765
+ createdAt: SchemaHelpers.Select.singleField,
41766
+ updatedAt: SchemaHelpers.Select.singleField,
41767
+ title: SchemaHelpers.Select.singleField,
41768
+ description: SchemaHelpers.Select.singleField,
41769
+ images: SchemaHelpers.Select.singleField,
41770
+ category: SchemaHelpers.Select.singleField,
41771
+ tags: SchemaHelpers.Select.singleField,
41772
+ isPhysical: SchemaHelpers.Select.singleField,
41773
+ weightInGrams: SchemaHelpers.Select.singleField,
41774
+ heightInCm: SchemaHelpers.Select.singleField,
41775
+ widthInCm: SchemaHelpers.Select.singleField,
41776
+ lengthInCm: SchemaHelpers.Select.singleField,
41777
+ priceInCents: SchemaHelpers.Select.singleField,
41778
+ billingType: SchemaHelpers.Select.singleField,
41779
+ billingInterval: SchemaHelpers.Select.singleField,
41780
+ billingIntervalCount: SchemaHelpers.Select.singleField,
41781
+ sku: SchemaHelpers.Select.singleField,
41782
+ barcode: SchemaHelpers.Select.singleField,
41783
+ seoPageTitle: SchemaHelpers.Select.singleField,
41784
+ seoDescription: SchemaHelpers.Select.singleField,
41785
+ seoHandle: SchemaHelpers.Select.singleField,
41786
+ productVendorId: SchemaHelpers.Select.singleField,
41787
+ metadata: SchemaHelpers.Select.singleField,
41788
+ status: SchemaHelpers.Select.singleField,
41789
+ collectionIDs: SchemaHelpers.Select.singleField,
41790
+ shippingProfileIDs: SchemaHelpers.Select.singleField
41791
+ }),
41792
+ inventoryItem: inventoryItemSelectSchema
41793
+ });
41794
+ var collectionSelectSchema = getSelectCompositeType({
41795
+ id: SchemaHelpers.Select.singleField,
41796
+ createdAt: SchemaHelpers.Select.singleField,
41797
+ updatedAt: SchemaHelpers.Select.singleField,
41798
+ title: SchemaHelpers.Select.singleField,
41799
+ description: SchemaHelpers.Select.singleField,
41800
+ images: SchemaHelpers.Select.singleField,
41801
+ tags: SchemaHelpers.Select.singleField,
41802
+ seoPageTitle: SchemaHelpers.Select.singleField,
41803
+ seoDescription: SchemaHelpers.Select.singleField,
41804
+ seoHandle: SchemaHelpers.Select.singleField,
41805
+ type: SchemaHelpers.Select.singleField,
41806
+ rulesMatchType: SchemaHelpers.Select.singleField,
41807
+ rules: SchemaHelpers.Select.singleField,
41808
+ productIDs: SchemaHelpers.Select.singleField,
41809
+ shippingProfileIDs: SchemaHelpers.Select.singleField,
41810
+ products: getSelectCompositeType({
41811
+ id: SchemaHelpers.Select.singleField,
41812
+ createdAt: SchemaHelpers.Select.singleField,
41813
+ updatedAt: SchemaHelpers.Select.singleField,
41814
+ title: SchemaHelpers.Select.singleField,
41815
+ description: SchemaHelpers.Select.singleField,
41816
+ images: SchemaHelpers.Select.singleField,
41817
+ category: SchemaHelpers.Select.singleField,
41818
+ tags: SchemaHelpers.Select.singleField,
41819
+ isPhysical: SchemaHelpers.Select.singleField,
41820
+ weightInGrams: SchemaHelpers.Select.singleField,
41821
+ heightInCm: SchemaHelpers.Select.singleField,
41822
+ widthInCm: SchemaHelpers.Select.singleField,
41823
+ lengthInCm: SchemaHelpers.Select.singleField,
41824
+ priceInCents: SchemaHelpers.Select.singleField,
41825
+ billingType: SchemaHelpers.Select.singleField,
41826
+ billingInterval: SchemaHelpers.Select.singleField,
41827
+ billingIntervalCount: SchemaHelpers.Select.singleField,
41828
+ sku: SchemaHelpers.Select.singleField,
41829
+ barcode: SchemaHelpers.Select.singleField,
41830
+ seoPageTitle: SchemaHelpers.Select.singleField,
41831
+ seoDescription: SchemaHelpers.Select.singleField,
41832
+ seoHandle: SchemaHelpers.Select.singleField,
41833
+ productVendorId: SchemaHelpers.Select.singleField,
41834
+ metadata: SchemaHelpers.Select.singleField,
41835
+ status: SchemaHelpers.Select.singleField,
41836
+ collectionIDs: SchemaHelpers.Select.singleField,
41837
+ shippingProfileIDs: SchemaHelpers.Select.singleField
41838
+ }),
41839
+ shippingProfiles: getSelectCompositeType({
41840
+ id: SchemaHelpers.Select.singleField,
41841
+ createdAt: SchemaHelpers.Select.singleField,
41842
+ updatedAt: SchemaHelpers.Select.singleField,
41843
+ name: SchemaHelpers.Select.singleField,
41844
+ description: SchemaHelpers.Select.singleField,
41845
+ metadata: SchemaHelpers.Select.singleField
41846
+ })
41847
+ });
41848
+ var ProductSelectComplexSchemas = {
41849
+ options: productOptionSelectSchema,
41850
+ inventoryItem: inventoryItemSelectSchema,
41851
+ productVendor: productVendorSelectSchema,
41852
+ productVariants: productVariantSelectSchema,
41853
+ collections: collectionSelectSchema
41854
+ };
41855
+
41856
+ // src/api/products/select/schema.ts
41857
+ lazyType(
41858
+ () => objectType(ProductSelectSchemaBody).strict()
41859
+ );
41860
+ var ProductSelectSchemaBody = {
41861
+ id: SchemaHelpers.Select.singleField,
41862
+ createdAt: SchemaHelpers.Select.singleField,
41863
+ updatedAt: SchemaHelpers.Select.singleField,
41864
+ title: SchemaHelpers.Select.singleField,
41865
+ description: SchemaHelpers.Select.singleField,
41866
+ images: SchemaHelpers.Select.singleField,
41867
+ category: SchemaHelpers.Select.singleField,
41868
+ tags: SchemaHelpers.Select.singleField,
41869
+ isPhysical: SchemaHelpers.Select.singleField,
41870
+ weightInGrams: SchemaHelpers.Select.singleField,
41871
+ heightInCm: SchemaHelpers.Select.singleField,
41872
+ widthInCm: SchemaHelpers.Select.singleField,
41873
+ lengthInCm: SchemaHelpers.Select.singleField,
41874
+ priceInCents: SchemaHelpers.Select.singleField,
41875
+ billingType: SchemaHelpers.Select.singleField,
41876
+ billingInterval: SchemaHelpers.Select.singleField,
41877
+ billingIntervalCount: SchemaHelpers.Select.singleField,
41878
+ sku: SchemaHelpers.Select.singleField,
41879
+ barcode: SchemaHelpers.Select.singleField,
41880
+ seoPageTitle: SchemaHelpers.Select.singleField,
41881
+ seoDescription: SchemaHelpers.Select.singleField,
41882
+ seoHandle: SchemaHelpers.Select.singleField,
41883
+ productVendorId: SchemaHelpers.Select.singleField,
41884
+ metadata: SchemaHelpers.Select.singleField,
41885
+ status: SchemaHelpers.Select.singleField,
41886
+ collectionIDs: SchemaHelpers.Select.singleField,
41887
+ shippingProfileIDs: SchemaHelpers.Select.singleField,
41888
+ // Complex relation fields
41889
+ options: ProductSelectComplexSchemas.options,
41890
+ inventoryItem: ProductSelectComplexSchemas.inventoryItem,
41891
+ productVendor: ProductSelectComplexSchemas.productVendor,
41892
+ productVariants: ProductSelectComplexSchemas.productVariants,
41893
+ collections: ProductSelectComplexSchemas.collections
41894
+ // shippingProfiles: boolean | Product$shippingProfilesArgs<ExtArgs> | undefined | undefined;
41895
+ // _count: boolean | ProductCountOutputTypeDefaultArgs<ExtArgs> | undefined | undefined;
41896
+ };
41897
+ var getSelectCompositeType2 = (zodObject) => {
41898
+ return lazyType(
41899
+ () => unionType([booleanType(), objectType({ select: objectType(zodObject) })]).optional()
41900
+ );
41901
+ };
41902
+ var collectionProductSelect = getSelectCompositeType2({
41903
+ ...ProductSelectSchemaBody
41904
+ });
41905
+ var CollectionSelectComplexSchemas = {
41906
+ products: collectionProductSelect
41907
+ };
41908
+
41909
+ // src/api/collections/select/schema.ts
41910
+ lazyType(
41911
+ () => objectType(CollectionSelectSchemaBody).strict()
41912
+ );
41913
+ var CollectionSelectSchemaBody = {
41914
+ id: SchemaHelpers.Select.singleField,
41915
+ createdAt: SchemaHelpers.Select.singleField,
41916
+ updatedAt: SchemaHelpers.Select.singleField,
41917
+ title: SchemaHelpers.Select.singleField,
41918
+ description: SchemaHelpers.Select.singleField,
41919
+ images: SchemaHelpers.Select.singleField,
41920
+ tags: SchemaHelpers.Select.singleField,
41921
+ seoPageTitle: SchemaHelpers.Select.singleField,
41922
+ seoDescription: SchemaHelpers.Select.singleField,
41923
+ seoHandle: SchemaHelpers.Select.singleField,
41924
+ type: SchemaHelpers.Select.singleField,
41925
+ rulesMatchType: SchemaHelpers.Select.singleField,
41926
+ rules: SchemaHelpers.Select.singleField,
41927
+ productIDs: SchemaHelpers.Select.singleField,
41928
+ organizationId: SchemaHelpers.Select.singleField,
41929
+ shippingProfileIDs: SchemaHelpers.Select.singleField,
41930
+ products: CollectionSelectComplexSchemas.products
41931
+ // shippingProfiles: boolean | Collection$shippingProfilesArgs<ExtArgs> | undefined | undefined;
41932
+ // _count: boolean | CollectionCountOutputTypeDefaultArgs<ExtArgs> | undefined | undefined;
41933
+ };
41934
+ var productOptionObjectEqualityInputSchema = objectType({
41935
+ name: stringType(),
41936
+ values: arrayType(stringType()).optional()
41937
+ });
41938
+ var productOptionCompositeListFilterSchema = objectType({
41939
+ equals: arrayType(productOptionObjectEqualityInputSchema).optional(),
41940
+ every: lazyType(() => productOptionWhereInputSchema).optional(),
41941
+ some: lazyType(() => productOptionWhereInputSchema).optional(),
41942
+ none: lazyType(() => productOptionWhereInputSchema).optional(),
41943
+ isEmpty: booleanType().optional(),
41944
+ isSet: booleanType().optional()
41945
+ });
41946
+ var productOptionWhereInputSchema = objectType({
41947
+ AND: unionType([
41948
+ lazyType(() => productOptionWhereInputSchema),
41949
+ arrayType(lazyType(() => productOptionWhereInputSchema))
41950
+ ]).optional(),
41951
+ OR: arrayType(lazyType(() => productOptionWhereInputSchema)).optional(),
41952
+ NOT: unionType([
41953
+ lazyType(() => productOptionWhereInputSchema),
41954
+ arrayType(lazyType(() => productOptionWhereInputSchema))
41955
+ ]).optional(),
41956
+ name: unionType([stringType(), objectType({})]).optional(),
41957
+ // StringFilter
41958
+ values: anyType().optional()
41959
+ // StringNullableListFilter
41960
+ });
41961
+ var inventoryItemWhereInputSchema = objectType({
41962
+ AND: unionType([
41963
+ lazyType(() => inventoryItemWhereInputSchema),
41964
+ arrayType(lazyType(() => inventoryItemWhereInputSchema))
41965
+ ]).optional(),
41966
+ OR: arrayType(lazyType(() => inventoryItemWhereInputSchema)).optional(),
41967
+ NOT: unionType([
41968
+ lazyType(() => inventoryItemWhereInputSchema),
41969
+ arrayType(lazyType(() => inventoryItemWhereInputSchema))
41970
+ ]).optional(),
41971
+ id: unionType([stringType(), objectType({})]).optional(),
41972
+ // StringFilter
41973
+ createdAt: unionType([dateType(), stringType(), objectType({})]).optional(),
41974
+ // DateTimeFilter
41975
+ updatedAt: unionType([dateType(), stringType(), objectType({})]).optional(),
41976
+ // DateTimeFilter
41977
+ trackInventory: unionType([booleanType(), objectType({})]).optional(),
41978
+ // BoolFilter
41979
+ stockPolicy: unionType([enumType(["DENY", "CONTINUE"]), objectType({})]).optional(),
41980
+ // EnumStockPolicyFilter
41981
+ variantId: unionType([stringType().nullable(), objectType({})]).optional(),
41982
+ // StringNullableFilter
41983
+ productId: unionType([stringType().nullable(), objectType({})]).optional(),
41984
+ // StringNullableFilter
41985
+ variant: anyType().optional(),
41986
+ // Complex relation filter
41987
+ product: anyType().optional(),
41988
+ // Complex relation filter
41989
+ levels: anyType().optional()
41990
+ // InventoryLevelListRelationFilter
41991
+ });
41992
+ var productVendorWhereInputSchema = objectType({
41993
+ AND: unionType([
41994
+ lazyType(() => productVendorWhereInputSchema),
41995
+ arrayType(lazyType(() => productVendorWhereInputSchema))
41996
+ ]).optional(),
41997
+ OR: arrayType(lazyType(() => productVendorWhereInputSchema)).optional(),
41998
+ NOT: unionType([
41999
+ lazyType(() => productVendorWhereInputSchema),
42000
+ arrayType(lazyType(() => productVendorWhereInputSchema))
42001
+ ]).optional(),
42002
+ id: unionType([stringType(), objectType({})]).optional(),
42003
+ // StringFilter
42004
+ createdAt: unionType([dateType(), stringType(), objectType({})]).optional(),
42005
+ // DateTimeFilter
42006
+ updatedAt: unionType([dateType(), stringType(), objectType({})]).optional(),
42007
+ // DateTimeFilter
42008
+ name: unionType([stringType(), objectType({})]).optional(),
42009
+ // StringFilter
42010
+ metadata: anyType().optional(),
42011
+ // JsonNullableFilter
42012
+ isDropshipped: unionType([booleanType(), objectType({})]).optional(),
42013
+ // BoolFilter
42014
+ organizationId: unionType([stringType(), objectType({})]).optional(),
42015
+ // StringFilter
42016
+ shippingProfileIDs: anyType().optional(),
42017
+ // StringNullableListFilter
42018
+ organization: anyType().optional(),
42019
+ // Complex relation filter
42020
+ products: anyType().optional(),
42021
+ // ProductListRelationFilter
42022
+ shippingProfiles: anyType().optional()
42023
+ // ShippingProfileListRelationFilter
42024
+ });
42025
+ var productVariantWhereInputSchema = objectType({
42026
+ AND: unionType([
42027
+ lazyType(() => productVariantWhereInputSchema),
42028
+ arrayType(lazyType(() => productVariantWhereInputSchema))
42029
+ ]).optional(),
42030
+ OR: arrayType(lazyType(() => productVariantWhereInputSchema)).optional(),
42031
+ NOT: unionType([
42032
+ lazyType(() => productVariantWhereInputSchema),
42033
+ arrayType(lazyType(() => productVariantWhereInputSchema))
42034
+ ]).optional(),
42035
+ id: unionType([stringType(), objectType({})]).optional(),
42036
+ // StringFilter
42037
+ createdAt: unionType([dateType(), stringType(), objectType({})]).optional(),
42038
+ // DateTimeFilter
42039
+ updatedAt: unionType([dateType(), stringType(), objectType({})]).optional(),
42040
+ // DateTimeFilter
42041
+ title: unionType([stringType(), objectType({})]).optional(),
42042
+ // StringFilter
42043
+ description: unionType([stringType().nullable(), objectType({})]).optional(),
42044
+ // StringNullableFilter
42045
+ images: anyType().optional(),
42046
+ // StringNullableListFilter
42047
+ sku: unionType([stringType().nullable(), objectType({})]).optional(),
42048
+ // StringNullableFilter
42049
+ barcode: unionType([stringType().nullable(), objectType({})]).optional(),
42050
+ // StringNullableFilter
42051
+ isPhysical: unionType([booleanType(), objectType({})]).optional(),
42052
+ // BoolFilter
42053
+ weightInGrams: unionType([numberType(), objectType({})]).optional(),
42054
+ // IntFilter
42055
+ heightInCm: unionType([numberType(), objectType({})]).optional(),
42056
+ // IntFilter
42057
+ widthInCm: unionType([numberType(), objectType({})]).optional(),
42058
+ // IntFilter
42059
+ lengthInCm: unionType([numberType(), objectType({})]).optional(),
42060
+ // IntFilter
42061
+ priceInCents: unionType([numberType(), objectType({})]).optional(),
42062
+ // IntFilter
42063
+ billingType: unionType([enumType(["ONE_TIME", "SUBSCRIPTION"]), objectType({})]).optional(),
42064
+ // EnumProductBillingTypeFilter
42065
+ billingInterval: unionType([enumType(["DAY", "WEEK", "MONTH", "YEAR"]), objectType({})]).optional(),
42066
+ // EnumProductBillingIntervalFilter
42067
+ billingIntervalCount: unionType([numberType(), objectType({})]).optional(),
42068
+ // IntFilter
42069
+ metadata: anyType().optional(),
42070
+ // JsonNullableFilter
42071
+ productId: unionType([stringType(), objectType({})]).optional(),
42072
+ // StringFilter
42073
+ variantOptions: anyType().optional(),
42074
+ // VariantOption array
42075
+ inventoryItem: anyType().optional(),
42076
+ // Complex relation filter
42077
+ product: anyType().optional()
42078
+ // Complex relation filter
42079
+ });
42080
+ var productVariantListRelationFilterSchema = objectType({
42081
+ every: productVariantWhereInputSchema.optional(),
42082
+ some: productVariantWhereInputSchema.optional(),
42083
+ none: productVariantWhereInputSchema.optional()
42084
+ });
42085
+ var collectionWhereInputSchema = objectType({
42086
+ AND: unionType([
42087
+ lazyType(() => collectionWhereInputSchema),
42088
+ arrayType(lazyType(() => collectionWhereInputSchema))
42089
+ ]).optional(),
42090
+ OR: arrayType(lazyType(() => collectionWhereInputSchema)).optional(),
42091
+ NOT: unionType([
42092
+ lazyType(() => collectionWhereInputSchema),
42093
+ arrayType(lazyType(() => collectionWhereInputSchema))
42094
+ ]).optional(),
42095
+ id: unionType([stringType(), objectType({})]).optional(),
42096
+ // StringFilter
42097
+ createdAt: unionType([dateType(), stringType(), objectType({})]).optional(),
42098
+ // DateTimeFilter
42099
+ updatedAt: unionType([dateType(), stringType(), objectType({})]).optional(),
42100
+ // DateTimeFilter
42101
+ title: unionType([stringType(), objectType({})]).optional(),
42102
+ // StringFilter
42103
+ description: unionType([stringType().nullable(), objectType({})]).optional(),
42104
+ // StringNullableFilter
42105
+ images: anyType().optional(),
42106
+ // StringNullableListFilter
42107
+ tags: anyType().optional(),
42108
+ // StringNullableListFilter
42109
+ seoPageTitle: unionType([stringType().nullable(), objectType({})]).optional(),
42110
+ // StringNullableFilter
42111
+ seoDescription: unionType([stringType().nullable(), objectType({})]).optional(),
42112
+ // StringNullableFilter
42113
+ seoHandle: unionType([stringType().nullable(), objectType({})]).optional(),
42114
+ // StringNullableFilter
42115
+ type: unionType([enumType(["MANUAL", "SMART"]), objectType({})]).optional(),
42116
+ // EnumCollectionTypeFilter
42117
+ rulesMatchType: unionType([enumType(["ALL", "ANY"]), objectType({})]).optional(),
42118
+ // EnumCollectionRulesMatchTypeFilter
42119
+ rules: unionType([stringType().nullable(), objectType({})]).optional(),
42120
+ // StringNullableFilter
42121
+ productIDs: anyType().optional(),
42122
+ // StringNullableListFilter
42123
+ organizationId: unionType([stringType(), objectType({})]).optional(),
42124
+ // StringFilter
42125
+ shippingProfileIDs: anyType().optional(),
42126
+ // StringNullableListFilter
42127
+ organization: anyType().optional(),
42128
+ // Complex relation filter
42129
+ products: anyType().optional(),
42130
+ // ProductListRelationFilter
42131
+ shippingProfiles: anyType().optional()
42132
+ // ShippingProfileListRelationFilter
42133
+ });
42134
+ var collectionListRelationFilterSchema = objectType({
42135
+ every: collectionWhereInputSchema.optional(),
42136
+ some: collectionWhereInputSchema.optional(),
42137
+ none: collectionWhereInputSchema.optional()
42138
+ });
42139
+ var ProductWhereComplexSchemas = {
42140
+ // Complex relation fields
42141
+ options: unionType([
42142
+ productOptionCompositeListFilterSchema,
42143
+ arrayType(productOptionObjectEqualityInputSchema)
42144
+ ]).optional(),
42145
+ inventoryItem: unionType([
42146
+ objectType({
42147
+ is: unionType([inventoryItemWhereInputSchema, nullType()]).optional(),
42148
+ isNot: unionType([inventoryItemWhereInputSchema, nullType()]).optional()
42149
+ }),
42150
+ inventoryItemWhereInputSchema,
42151
+ nullType()
42152
+ ]).optional(),
42153
+ productVendor: unionType([
42154
+ objectType({
42155
+ is: unionType([productVendorWhereInputSchema, nullType()]).optional(),
42156
+ isNot: unionType([productVendorWhereInputSchema, nullType()]).optional()
42157
+ }),
42158
+ productVendorWhereInputSchema,
42159
+ nullType()
42160
+ ]).optional(),
42161
+ productVariants: productVariantListRelationFilterSchema.optional(),
42162
+ collections: collectionListRelationFilterSchema.optional()
42163
+ };
42164
+
42165
+ // src/api/products/where/schema.ts
42166
+ var ProductWhereSchema = lazyType(
42167
+ () => objectType({
42168
+ ...ProductWhereSchemaBaseFields,
42169
+ AND: arrayType(ProductWhereSchema).optional(),
42170
+ OR: arrayType(ProductWhereSchema).optional(),
42171
+ NOT: unionType([ProductWhereSchema, arrayType(ProductWhereSchema)]).optional()
42172
+ }).strict()
42173
+ );
42174
+ var ProductWhereSchemaBaseFields = {
42175
+ id: SchemaHelpers.Where.stringFilter,
42176
+ createdAt: SchemaHelpers.Where.dateTimeFilter,
42177
+ updatedAt: SchemaHelpers.Where.dateTimeFilter,
42178
+ title: SchemaHelpers.Where.stringFilter,
42179
+ description: SchemaHelpers.Where.stringNullableFilter,
42180
+ images: SchemaHelpers.Where.stringNullableListFilter,
42181
+ category: SchemaHelpers.Where.stringFilter,
42182
+ tags: SchemaHelpers.Where.stringNullableListFilter,
42183
+ isPhysical: SchemaHelpers.Where.boolFilter,
42184
+ weightInGrams: SchemaHelpers.Where.intFilter,
42185
+ heightInCm: SchemaHelpers.Where.intFilter,
42186
+ widthInCm: SchemaHelpers.Where.intFilter,
42187
+ lengthInCm: SchemaHelpers.Where.intFilter,
42188
+ priceInCents: SchemaHelpers.Where.intFilter,
42189
+ billingType: SchemaHelpers.Where.enumFilter([
42190
+ "ONE_TIME",
42191
+ "SUBSCRIPTION"
42192
+ ]),
42193
+ billingInterval: SchemaHelpers.Where.enumFilter([
42194
+ "DAY",
42195
+ "WEEK",
42196
+ "MONTH",
42197
+ "YEAR"
42198
+ ]),
42199
+ billingIntervalCount: SchemaHelpers.Where.intFilter,
42200
+ sku: SchemaHelpers.Where.stringNullableFilter,
42201
+ barcode: SchemaHelpers.Where.stringNullableFilter,
42202
+ seoPageTitle: SchemaHelpers.Where.stringNullableFilter,
42203
+ seoDescription: SchemaHelpers.Where.stringNullableFilter,
42204
+ seoHandle: SchemaHelpers.Where.stringNullableFilter,
42205
+ productVendorId: SchemaHelpers.Where.stringNullableFilter,
42206
+ metadata: SchemaHelpers.Where.jsonNullableFilter,
42207
+ status: SchemaHelpers.Where.enumFilter([
42208
+ "DRAFT",
42209
+ "PUBLISHED",
42210
+ "ARCHIVED"
42211
+ ]),
42212
+ options: ProductWhereComplexSchemas.options,
42213
+ collectionIDs: SchemaHelpers.Where.stringNullableListFilter,
42214
+ shippingProfileIDs: SchemaHelpers.Where.stringNullableListFilter,
42215
+ inventoryItem: ProductWhereComplexSchemas.inventoryItem,
42216
+ productVendor: ProductWhereComplexSchemas.productVendor,
42217
+ productVariants: ProductWhereComplexSchemas.productVariants,
42218
+ collections: ProductWhereComplexSchemas.collections
42219
+ // shippingProfiles?: ShippingProfileListRelationFilter;
42220
+ };
42221
+ objectType(ProductWhereSchemaBaseFields).strict();
42222
+ var productListRelationFilter = objectType({
42223
+ every: objectType({ ...ProductWhereSchemaBaseFields }).optional(),
42224
+ some: objectType({ ...ProductWhereSchemaBaseFields }).optional(),
42225
+ none: objectType({ ...ProductWhereSchemaBaseFields }).optional()
42226
+ });
42227
+ var CollectionWhereComplexSchemas = {
42228
+ products: productListRelationFilter
42229
+ };
42230
+
42231
+ // src/api/collections/where/schema.ts
42232
+ var CollectionWhereSchema = lazyType(
42233
+ () => objectType({
42234
+ ...CollectionWhereSchemaBaseFields,
42235
+ AND: arrayType(CollectionWhereSchema).optional(),
42236
+ OR: arrayType(CollectionWhereSchema).optional(),
42237
+ NOT: unionType([CollectionWhereSchema, arrayType(CollectionWhereSchema)]).optional()
42238
+ }).strict()
42239
+ );
42240
+ var CollectionWhereSchemaBaseFields = {
42241
+ id: SchemaHelpers.Where.stringFilter,
42242
+ createdAt: SchemaHelpers.Where.dateTimeFilter,
42243
+ updatedAt: SchemaHelpers.Where.dateTimeFilter,
42244
+ title: SchemaHelpers.Where.stringFilter,
42245
+ description: SchemaHelpers.Where.stringNullableFilter,
42246
+ images: SchemaHelpers.Where.stringNullableListFilter,
42247
+ tags: SchemaHelpers.Where.stringNullableListFilter,
42248
+ seoPageTitle: SchemaHelpers.Where.stringNullableFilter,
42249
+ seoDescription: SchemaHelpers.Where.stringNullableFilter,
42250
+ seoHandle: SchemaHelpers.Where.stringNullableFilter,
42251
+ type: SchemaHelpers.Where.enumFilter(["MANUAL", "SMART"]),
42252
+ rulesMatchType: SchemaHelpers.Where.enumFilter(["ALL", "ANY"]),
42253
+ rules: SchemaHelpers.Where.stringNullableFilter,
42254
+ productIDs: SchemaHelpers.Where.stringNullableListFilter,
42255
+ shippingProfileIDs: SchemaHelpers.Where.stringNullableListFilter,
42256
+ products: CollectionWhereComplexSchemas.products
42257
+ // shippingProfiles?: ShippingProfileListRelationFilter;
42258
+ };
42259
+ objectType(CollectionWhereSchemaBaseFields).strict();
42260
+ lazyType(() => collectionWhereUniqueSchemaBaseFieldsSchema);
42261
+ var CollectionWhereUniqueSchemaBaseFields = {
42262
+ ...CollectionWhereSchemaBaseFields,
42263
+ id: SchemaHelpers.WhereUnique.stringFilter,
42264
+ seoHandle: SchemaHelpers.WhereUnique.stringFilter,
42265
+ title: SchemaHelpers.WhereUnique.stringFilter,
42266
+ AND: arrayType(CollectionWhereSchema).optional(),
42267
+ OR: arrayType(CollectionWhereSchema).optional(),
42268
+ NOT: unionType([CollectionWhereSchema, arrayType(CollectionWhereSchema)]).optional()
42269
+ };
42270
+ var collectionWhereUniqueSchemaBaseFieldsSchema = unionType([
42271
+ objectType({
42272
+ ...CollectionWhereUniqueSchemaBaseFields,
42273
+ id: stringType()
42274
+ }).strict(),
42275
+ objectType({
42276
+ ...CollectionWhereUniqueSchemaBaseFields,
42277
+ seoHandle: stringType()
42278
+ }).strict()
42279
+ ]);
42280
+ var DiscountWhereSchema = lazyType(
42281
+ () => objectType({
42282
+ ...DiscountWhereSchemaBaseFields,
42283
+ AND: arrayType(DiscountWhereSchema).optional(),
42284
+ OR: arrayType(DiscountWhereSchema).optional(),
42285
+ NOT: unionType([DiscountWhereSchema, arrayType(DiscountWhereSchema)]).optional()
42286
+ }).strict()
42287
+ );
42288
+ var DiscountWhereSchemaBaseFields = {
42289
+ testmode: SchemaHelpers.Where.boolFilter,
42290
+ id: SchemaHelpers.Where.stringFilter,
42291
+ createdAt: SchemaHelpers.Where.dateTimeFilter,
42292
+ updatedAt: SchemaHelpers.Where.dateTimeFilter,
42293
+ type: SchemaHelpers.Where.enumFilter([
42294
+ "AMOUNT_OFF_PRODUCTS",
42295
+ "BUY_X_GET_Y",
42296
+ "AMOUNT_OFF_ORDER",
42297
+ "FREE_SHIPPING"
42298
+ ]),
42299
+ method: SchemaHelpers.Where.enumFilter(["CODE", "AUTOMATIC"]),
42300
+ code: SchemaHelpers.Where.stringNullableFilter,
42301
+ title: SchemaHelpers.Where.stringNullableFilter,
42302
+ value: SchemaHelpers.Where.intFilter,
42303
+ valueType: SchemaHelpers.Where.enumFilter([
42304
+ "PERCENTAGE",
42305
+ "FIXED_AMOUNT",
42306
+ "FREE"
42307
+ ]),
42308
+ discountScope: SchemaHelpers.Where.enumFilter([
42309
+ "PRODUCTS",
42310
+ "COLLECTIONS"
42311
+ ]),
42312
+ allowedProductIDs: SchemaHelpers.Where.stringNullableListFilter,
42313
+ allowedCollectionIDs: SchemaHelpers.Where.stringNullableListFilter,
42314
+ // allowedCombinations: SchemaHelpers.Where.enumDiscountScopeNullableListFilter,
42315
+ minimumRequirementsType: SchemaHelpers.Where.enumFilter([
42316
+ "NONE",
42317
+ "MINIMUM_ORDER_AMOUNT",
42318
+ "MINIMUM_PRODUCT_QUANTITY"
42319
+ ]),
42320
+ minimumRequirementsValue: SchemaHelpers.Where.intNullableFilter,
42321
+ requiredProductIDs: SchemaHelpers.Where.stringNullableListFilter,
42322
+ requiredCollectionIDs: SchemaHelpers.Where.stringNullableListFilter,
42323
+ minimumRequirementsScope: SchemaHelpers.Where.enumFilter([
42324
+ "PRODUCTS",
42325
+ "COLLECTIONS"
42326
+ ]),
42327
+ maxUses: SchemaHelpers.Where.intNullableFilter,
42328
+ maxUsesPerCustomer: SchemaHelpers.Where.intNullableFilter,
42329
+ maxAllowedProductQuantity: SchemaHelpers.Where.intNullableFilter,
42330
+ uses: SchemaHelpers.Where.intFilter,
42331
+ subscriptionDiscountDurationType: SchemaHelpers.Where.enumFilter([
42332
+ "ONCE",
42333
+ "RECURRING",
42334
+ "FOREVER"
42335
+ ]),
42336
+ subscriptionDiscountDurationValue: SchemaHelpers.Where.intFilter,
42337
+ stripeDiscountId: SchemaHelpers.Where.stringNullableFilter,
42338
+ startsAt: SchemaHelpers.Where.dateTimeFilter,
42339
+ expiresAt: SchemaHelpers.Where.dateTimeNullableFilter,
42340
+ status: SchemaHelpers.Where.enumFilter([
42341
+ "ACTIVE",
42342
+ "EXPIRED",
42343
+ "SCHEDULED"
42344
+ ])
42345
+ };
42346
+ objectType(DiscountWhereSchemaBaseFields).strict();
42347
+ lazyType(() => discountWhereUniqueSchemaBaseFieldsSchema);
42348
+ var DiscountWhereUniqueSchemaBaseFields = {
42349
+ ...DiscountWhereSchemaBaseFields,
42350
+ id: SchemaHelpers.WhereUnique.stringFilter,
42351
+ code: SchemaHelpers.WhereUnique.stringFilter,
42352
+ AND: arrayType(DiscountWhereSchema).optional(),
42353
+ OR: arrayType(DiscountWhereSchema).optional(),
42354
+ NOT: unionType([DiscountWhereSchema, arrayType(DiscountWhereSchema)]).optional()
42355
+ };
42356
+ var discountWhereUniqueSchemaBaseFieldsSchema = unionType([
42357
+ objectType({
42358
+ ...DiscountWhereUniqueSchemaBaseFields,
42359
+ id: stringType()
42360
+ }).strict(),
42361
+ objectType({
42362
+ ...DiscountWhereUniqueSchemaBaseFields,
42363
+ code: stringType()
42364
+ }).strict()
42365
+ ]);
42366
+ lazyType(() => productWhereUniqueSchemaBaseFieldsSchema);
42367
+ var ProductWhereUniqueSchemaBaseFields = {
42368
+ ...ProductWhereSchemaBaseFields,
42369
+ id: SchemaHelpers.WhereUnique.stringFilter,
42370
+ seoHandle: SchemaHelpers.WhereUnique.stringFilter,
42371
+ title: SchemaHelpers.WhereUnique.stringFilter,
42372
+ AND: arrayType(ProductWhereSchema).optional(),
42373
+ OR: arrayType(ProductWhereSchema).optional(),
42374
+ NOT: unionType([ProductWhereSchema, arrayType(ProductWhereSchema)]).optional()
42375
+ };
42376
+ var productWhereUniqueSchemaBaseFieldsSchema = unionType([
42377
+ objectType({
42378
+ ...ProductWhereUniqueSchemaBaseFields,
42379
+ id: stringType()
42380
+ }).strict(),
42381
+ objectType({
42382
+ ...ProductWhereUniqueSchemaBaseFields,
42383
+ seoHandle: stringType()
42384
+ }).strict()
42385
+ ]);
42386
+
42387
+ // src/helpers/index.ts
42388
+ var currencyLocales = {
42389
+ CZK: "cs-CZ",
42390
+ // Czech Koruna
42391
+ USD: "en-US",
42392
+ // US Dollar
42393
+ EUR: "de-DE",
42394
+ // Euro (Germany locale)
42395
+ GBP: "en-GB",
42396
+ // British Pound
42397
+ JPY: "ja-JP",
42398
+ // Japanese Yen
42399
+ AUD: "en-AU",
42400
+ // Australian Dollar
42401
+ CAD: "en-CA",
42402
+ // Canadian Dollar
42403
+ NZD: "en-NZ",
42404
+ // New Zealand Dollar
42405
+ SEK: "sv-SE",
42406
+ // Swedish Krona
42407
+ NOK: "nb-NO",
42408
+ // Norwegian Krone
42409
+ DKK: "da-DK",
42410
+ // Danish Krone
42411
+ CHF: "de-CH",
42412
+ // Swiss Franc (German Switzerland)
42413
+ HUF: "hu-HU",
42414
+ // Hungarian Forint
42415
+ PLN: "pl-PL",
42416
+ // Polish Zloty
42417
+ BGN: "bg-BG",
42418
+ // Bulgarian Lev
42419
+ RON: "ro-RO",
42420
+ // Romanian Leu
42421
+ RUB: "ru-RU",
42422
+ // Russian Ruble
42423
+ CNY: "zh-CN",
42424
+ // Chinese Yuan
42425
+ INR: "en-IN",
42426
+ // Indian Rupee
42427
+ BRL: "pt-BR",
42428
+ // Brazilian Real
42429
+ MXN: "es-MX",
42430
+ // Mexican Peso
42431
+ ZAR: "en-ZA",
42432
+ // South African Rand
42433
+ KRW: "ko-KR",
42434
+ // South Korean Won
42435
+ MYR: "ms-MY",
42436
+ // Malaysian Ringgit
42437
+ SGD: "en-SG",
42438
+ // Singapore Dollar
42439
+ TWD: "zh-TW",
42440
+ // Taiwanese Dollar
42441
+ THB: "th-TH",
42442
+ // Thai Baht
42443
+ IDR: "id-ID",
42444
+ // Indonesian Rupiah
42445
+ AED: "ar-AE",
42446
+ // UAE Dirham
42447
+ SAR: "ar-SA",
42448
+ // Saudi Riyal
42449
+ TRY: "tr-TR"
42450
+ // Turkish Lira
42451
+ };
42452
+ function formatPrice(priceInCents, currency, exchangeRate) {
42453
+ const amount = priceInCents / 100 * (exchangeRate ?? 1);
42454
+ const isWhole = amount % 1 === 0;
42455
+ const locale = currencyLocales[currency.toUpperCase()] ?? void 0;
42456
+ const formattedPrice = new Intl.NumberFormat(locale, {
42457
+ style: "currency",
42458
+ currency,
42459
+ currencyDisplay: "symbol",
42460
+ minimumFractionDigits: isWhole ? 0 : 2,
42461
+ maximumFractionDigits: isWhole ? 0 : 2
42462
+ }).format(amount);
42463
+ return formattedPrice;
42464
+ }
41510
42465
 
41511
42466
  function ZasilkovnaShippingOption({ children, onPickupPointSelected, locale, countryCode, apiKey, }) {
41512
42467
  const [widgetLoaded, setWidgetLoaded] = useState(false);
@@ -41588,7 +42543,7 @@ const SingleShipmentSection = ({ shippingRates, form, currency, exchangeRate, lo
41588
42543
  var _a, _b;
41589
42544
  const pickupPointDisplayName = form.watch(`${shipmentId}.pickupPointDisplayName`);
41590
42545
  const intPrice = Math.ceil(Number(rate.priceInCents));
41591
- const displayPrice = storeHelpers.formatPrice(intPrice, currency, exchangeRate);
42546
+ const displayPrice = formatPrice(intPrice, currency, exchangeRate);
41592
42547
  const isFixedRate = rate.type === "FIXED";
41593
42548
  const isAutoRate = rate.type === "CUSTOM_SHIPPING_VENDOR" ||
41594
42549
  rate.type === "PLATFORM_CARRIER";
@@ -41663,7 +42618,7 @@ function CheckoutForm({ storeClient, checkoutId, onSuccess, onError, cancelUrl,
41663
42618
  // eslint-disable-next-line react-hooks/exhaustive-deps
41664
42619
  }, [step]);
41665
42620
  useEffect(() => {
41666
- var _a, _b, _c, _d, _e, _f, _g, _h, _j, _k, _l, _m, _o, _p, _q, _r, _s, _t, _u, _v, _w, _x, _y, _z, _0, _1, _2, _3, _4, _5, _6, _7, _8, _9, _10, _11, _12, _13, _14, _15, _16, _17, _18, _19, _20, _21;
42621
+ var _a, _b, _c, _d, _e, _f, _g, _h, _j, _k, _l, _m, _o, _p, _q, _r, _s, _t, _u, _v, _w, _x, _y, _z, _0, _1, _2, _3, _4, _5, _6, _7, _8, _9, _10, _11, _12, _13, _14, _15, _16, _17, _18, _19, _20, _21, _22, _23, _24, _25, _26, _27, _28, _29, _30, _31, _32, _33;
41667
42622
  if (checkoutId !== storedCheckoutId) {
41668
42623
  setStep("customer");
41669
42624
  setCheckoutId(checkoutId);
@@ -41680,17 +42635,20 @@ function CheckoutForm({ storeClient, checkoutId, onSuccess, onError, cancelUrl,
41680
42635
  email: (_k = customer.email) !== null && _k !== void 0 ? _k : "",
41681
42636
  address: {
41682
42637
  line1: (_m = (_l = customer.address) === null || _l === void 0 ? void 0 : _l.line1) !== null && _m !== void 0 ? _m : "",
41683
- line2: (_p = (_o = customer.address) === null || _o === void 0 ? void 0 : _o.line2) !== null && _p !== void 0 ? _p : "",
42638
+ line2: (_p = (_o = customer.address) === null || _o === void 0 ? void 0 : _o.line2) !== null && _p !== void 0 ? _p : null,
41684
42639
  city: (_r = (_q = customer.address) === null || _q === void 0 ? void 0 : _q.city) !== null && _r !== void 0 ? _r : "",
41685
- zipCode: (_t = (_s = customer.address) === null || _s === void 0 ? void 0 : _s.zipCode) !== null && _t !== void 0 ? _t : "",
41686
- country: (_v = (_u = customer.address) === null || _u === void 0 ? void 0 : _u.country) !== null && _v !== void 0 ? _v : "",
41687
- countryCode: (_x = (_w = customer.address) === null || _w === void 0 ? void 0 : _w.countryCode) !== null && _x !== void 0 ? _x : "",
42640
+ province: (_t = (_s = customer.address) === null || _s === void 0 ? void 0 : _s.province) !== null && _t !== void 0 ? _t : null,
42641
+ provinceCode: (_v = (_u = customer.address) === null || _u === void 0 ? void 0 : _u.provinceCode) !== null && _v !== void 0 ? _v : null,
42642
+ zipCode: (_x = (_w = customer.address) === null || _w === void 0 ? void 0 : _w.zipCode) !== null && _x !== void 0 ? _x : "",
42643
+ country: (_z = (_y = customer.address) === null || _y === void 0 ? void 0 : _y.country) !== null && _z !== void 0 ? _z : "",
42644
+ countryCode: (_1 = (_0 = customer.address) === null || _0 === void 0 ? void 0 : _0.countryCode) !== null && _1 !== void 0 ? _1 : "",
42645
+ company: (_3 = (_2 = customer.address) === null || _2 === void 0 ? void 0 : _2.company) !== null && _3 !== void 0 ? _3 : null,
41688
42646
  },
41689
42647
  },
41690
42648
  });
41691
42649
  return;
41692
42650
  }
41693
- else if ((_y = formData.customer) === null || _y === void 0 ? void 0 : _y.email) {
42651
+ else if ((_4 = formData.customer) === null || _4 === void 0 ? void 0 : _4.email) {
41694
42652
  setFormData({
41695
42653
  customer: formData.customer,
41696
42654
  });
@@ -41700,23 +42658,26 @@ function CheckoutForm({ storeClient, checkoutId, onSuccess, onError, cancelUrl,
41700
42658
  }
41701
42659
  return;
41702
42660
  }
41703
- if (customer && !((_z = formData.customer) === null || _z === void 0 ? void 0 : _z.email)) {
42661
+ if (customer && !((_5 = formData.customer) === null || _5 === void 0 ? void 0 : _5.email)) {
41704
42662
  setStep("customer");
41705
- if ((_0 = customer.address) === null || _0 === void 0 ? void 0 : _0.city) {
42663
+ if ((_6 = customer.address) === null || _6 === void 0 ? void 0 : _6.city) {
41706
42664
  setStep("shipping");
41707
42665
  }
41708
42666
  setFormData(Object.assign(Object.assign({}, formData), { customerId: customer.id, customer: {
41709
- firstName: (_3 = (_2 = (_1 = customer.address) === null || _1 === void 0 ? void 0 : _1.name) === null || _2 === void 0 ? void 0 : _2.split(" ")[0]) !== null && _3 !== void 0 ? _3 : "",
41710
- lastName: (_6 = (_5 = (_4 = customer.address) === null || _4 === void 0 ? void 0 : _4.name) === null || _5 === void 0 ? void 0 : _5.split(" ")[1]) !== null && _6 !== void 0 ? _6 : "",
41711
- phone: (_8 = (_7 = customer.address) === null || _7 === void 0 ? void 0 : _7.phone) !== null && _8 !== void 0 ? _8 : "",
41712
- email: (_9 = customer.email) !== null && _9 !== void 0 ? _9 : "",
42667
+ firstName: (_9 = (_8 = (_7 = customer.address) === null || _7 === void 0 ? void 0 : _7.name) === null || _8 === void 0 ? void 0 : _8.split(" ")[0]) !== null && _9 !== void 0 ? _9 : "",
42668
+ lastName: (_12 = (_11 = (_10 = customer.address) === null || _10 === void 0 ? void 0 : _10.name) === null || _11 === void 0 ? void 0 : _11.split(" ")[1]) !== null && _12 !== void 0 ? _12 : "",
42669
+ phone: (_14 = (_13 = customer.address) === null || _13 === void 0 ? void 0 : _13.phone) !== null && _14 !== void 0 ? _14 : "",
42670
+ email: (_15 = customer.email) !== null && _15 !== void 0 ? _15 : "",
41713
42671
  address: {
41714
- line1: (_11 = (_10 = customer.address) === null || _10 === void 0 ? void 0 : _10.line1) !== null && _11 !== void 0 ? _11 : "",
41715
- line2: (_13 = (_12 = customer.address) === null || _12 === void 0 ? void 0 : _12.line2) !== null && _13 !== void 0 ? _13 : "",
41716
- city: (_15 = (_14 = customer.address) === null || _14 === void 0 ? void 0 : _14.city) !== null && _15 !== void 0 ? _15 : "",
41717
- zipCode: (_17 = (_16 = customer.address) === null || _16 === void 0 ? void 0 : _16.zipCode) !== null && _17 !== void 0 ? _17 : "",
41718
- country: (_19 = (_18 = customer.address) === null || _18 === void 0 ? void 0 : _18.country) !== null && _19 !== void 0 ? _19 : "",
41719
- countryCode: (_21 = (_20 = customer.address) === null || _20 === void 0 ? void 0 : _20.countryCode) !== null && _21 !== void 0 ? _21 : "",
42672
+ line1: (_17 = (_16 = customer.address) === null || _16 === void 0 ? void 0 : _16.line1) !== null && _17 !== void 0 ? _17 : "",
42673
+ line2: (_19 = (_18 = customer.address) === null || _18 === void 0 ? void 0 : _18.line2) !== null && _19 !== void 0 ? _19 : null,
42674
+ city: (_21 = (_20 = customer.address) === null || _20 === void 0 ? void 0 : _20.city) !== null && _21 !== void 0 ? _21 : "",
42675
+ province: (_23 = (_22 = customer.address) === null || _22 === void 0 ? void 0 : _22.province) !== null && _23 !== void 0 ? _23 : null,
42676
+ provinceCode: (_25 = (_24 = customer.address) === null || _24 === void 0 ? void 0 : _24.provinceCode) !== null && _25 !== void 0 ? _25 : null,
42677
+ zipCode: (_27 = (_26 = customer.address) === null || _26 === void 0 ? void 0 : _26.zipCode) !== null && _27 !== void 0 ? _27 : "",
42678
+ country: (_29 = (_28 = customer.address) === null || _28 === void 0 ? void 0 : _28.country) !== null && _29 !== void 0 ? _29 : "",
42679
+ countryCode: (_31 = (_30 = customer.address) === null || _30 === void 0 ? void 0 : _30.countryCode) !== null && _31 !== void 0 ? _31 : "",
42680
+ company: (_33 = (_32 = customer.address) === null || _32 === void 0 ? void 0 : _32.company) !== null && _33 !== void 0 ? _33 : null,
41720
42681
  },
41721
42682
  } }));
41722
42683
  }
@@ -41878,17 +42839,17 @@ function CheckoutSummary({ appliedDiscounts, lineItems, shipping, tax, currency,
41878
42839
  const canCombine = appliedDiscounts.length === 0 || sharedCombinations.length > 0;
41879
42840
  return (jsxs("div", { className: "grid gap-5", children: [jsxs("div", { className: "flex items-center justify-between", children: [jsxs("div", { onClick: () => setIsOpen(!isOpen), className: "flex items-center gap-2 max-md:cursor-pointer", children: [jsx("h2", { children: t("CheckoutEmbed.Summary.title") }), jsx(ChevronDown, { className: clsx("size-5 transition-transform md:hidden", {
41880
42841
  "rotate-180": isOpen,
41881
- }) })] }), jsx("p", { className: "text-lg font-bold tracking-tight md:hidden", children: storeHelpers.formatPrice(total, currency, exchangeRate) }), jsx(Button, { className: "max-sm:hidden", variant: "link", size: "link", onClick: onCancel, children: t("CheckoutEmbed.Summary.edit") })] }), jsx("hr", {}), jsxs("div", { className: clsx("order-4 gap-2 md:order-none", {
42842
+ }) })] }), jsx("p", { className: "text-lg font-bold tracking-tight md:hidden", children: formatPrice(total, currency, exchangeRate) }), jsx(Button, { className: "max-sm:hidden", variant: "link", size: "link", onClick: onCancel, children: t("CheckoutEmbed.Summary.edit") })] }), jsx("hr", {}), jsxs("div", { className: clsx("order-4 gap-2 md:order-none", {
41882
42843
  "hidden md:grid": !isOpen,
41883
42844
  grid: isOpen,
41884
- }), children: [jsxs("div", { className: "flex justify-between", children: [jsx("p", { children: t("CheckoutEmbed.Summary.subtotal") }), jsx("p", { children: storeHelpers.formatPrice(subtotal, currency, exchangeRate) })] }), jsxs("div", { className: "flex justify-between", children: [jsx("p", { children: t("CheckoutEmbed.Summary.shipping") }), jsx("p", { children: isShippingFree
42845
+ }), children: [jsxs("div", { className: "flex justify-between", children: [jsx("p", { children: t("CheckoutEmbed.Summary.subtotal") }), jsx("p", { children: formatPrice(subtotal, currency, exchangeRate) })] }), jsxs("div", { className: "flex justify-between", children: [jsx("p", { children: t("CheckoutEmbed.Summary.shipping") }), jsx("p", { children: isShippingFree
41885
42846
  ? t("CheckoutEmbed.Summary.free")
41886
42847
  : shippingPrice
41887
- ? storeHelpers.formatPrice(shippingPrice, currency, exchangeRate)
41888
- : t("CheckoutEmbed.Summary.calculatedAtNextStep") })] }), !!tax && (jsxs("div", { className: "flex justify-between", children: [jsx("p", { children: t("CheckoutEmbed.Summary.tax") }), jsx("p", { children: storeHelpers.formatPrice(tax, currency, exchangeRate) })] })), filteredDiscounts.map(({ discount, amount, id }) => {
42848
+ ? formatPrice(shippingPrice, currency, exchangeRate)
42849
+ : t("CheckoutEmbed.Summary.calculatedAtNextStep") })] }), !!tax && (jsxs("div", { className: "flex justify-between", children: [jsx("p", { children: t("CheckoutEmbed.Summary.tax") }), jsx("p", { children: formatPrice(tax, currency, exchangeRate) })] })), filteredDiscounts.map(({ discount, amount, id }) => {
41889
42850
  var _a;
41890
- return (jsxs("div", { className: "text-muted-foreground flex justify-between", children: [jsx(DiscountItem, { id: id, removeDiscount: removeDiscount, label: (_a = ((discount === null || discount === void 0 ? void 0 : discount.code) || (discount === null || discount === void 0 ? void 0 : discount.title))) !== null && _a !== void 0 ? _a : "", canRemove: discount.method === "CODE" }), jsxs("p", { children: ["- ", storeHelpers.formatPrice(amount, currency, exchangeRate)] })] }, discount.id));
41891
- }), jsxs("div", { className: "flex items-center justify-between font-bold", children: [jsx("p", { children: t("CheckoutEmbed.Summary.total") }), jsx("p", { children: storeHelpers.formatPrice(totalWithDiscounts, currency, exchangeRate) })] })] }), canCombine && (jsxs(Fragment, { children: [jsx("hr", { className: clsx("order-7 md:order-none", {
42851
+ return (jsxs("div", { className: "text-muted-foreground flex justify-between", children: [jsx(DiscountItem, { id: id, removeDiscount: removeDiscount, label: (_a = ((discount === null || discount === void 0 ? void 0 : discount.code) || (discount === null || discount === void 0 ? void 0 : discount.title))) !== null && _a !== void 0 ? _a : "", canRemove: discount.method === "CODE" }), jsxs("p", { children: ["- ", formatPrice(amount, currency, exchangeRate)] })] }, discount.id));
42852
+ }), jsxs("div", { className: "flex items-center justify-between font-bold", children: [jsx("p", { children: t("CheckoutEmbed.Summary.total") }), jsx("p", { children: formatPrice(totalWithDiscounts, currency, exchangeRate) })] })] }), canCombine && (jsxs(Fragment, { children: [jsx("hr", { className: clsx("order-7 md:order-none", {
41892
42853
  "hidden md:block": !isOpen,
41893
42854
  block: isOpen,
41894
42855
  }) }), jsx("div", { className: clsx("order-6 gap-0 md:order-none", {
@@ -41931,9 +42892,9 @@ function CheckoutSummary({ appliedDiscounts, lineItems, shipping, tax, currency,
41931
42892
  ((_b = item === null || item === void 0 ? void 0 : item.productData) === null || _b === void 0 ? void 0 : _b.images[0]) ||
41932
42893
  "/placeholder.svg", alt: ((_c = item.productData) === null || _c === void 0 ? void 0 : _c.title) || "", className: "h-full w-full object-cover", sizes: "64px" })) }), jsx("div", { className: "bg-primary text-background absolute -right-2 -top-2 flex h-6 w-6 items-center justify-center rounded-full text-sm", children: item.quantity })] }), jsxs("div", { className: "ml-4 flex-1", children: [jsx("h3", { className: "text-base font-medium", children: (_d = item.productData) === null || _d === void 0 ? void 0 : _d.title }), jsx("p", { className: "text-muted-foreground line-clamp-1 text-ellipsis text-sm md:max-w-[75%]", children: item.variantOptions
41933
42894
  .map((option) => `${option.name}: ${option.value}`)
41934
- .join(", ") })] }), jsx("div", { className: "text-right", children: isDiscounted ? (jsxs("div", { className: "flex flex-col", children: [jsx("p", { className: "text-muted-foreground -mb-0.5 text-sm font-medium line-through", children: storeHelpers.formatPrice((_e = finalItem === null || finalItem === void 0 ? void 0 : finalItem.priceInCents) !== null && _e !== void 0 ? _e : 0, currency, exchangeRate) }), jsx("p", { className: "text-base font-medium", children: discountedPrice <= 0
42895
+ .join(", ") })] }), jsx("div", { className: "text-right", children: isDiscounted ? (jsxs("div", { className: "flex flex-col", children: [jsx("p", { className: "text-muted-foreground -mb-0.5 text-sm font-medium line-through", children: formatPrice((_e = finalItem === null || finalItem === void 0 ? void 0 : finalItem.priceInCents) !== null && _e !== void 0 ? _e : 0, currency, exchangeRate) }), jsx("p", { className: "text-base font-medium", children: discountedPrice <= 0
41935
42896
  ? t("CheckoutEmbed.Summary.free")
41936
- : storeHelpers.formatPrice(discountedPrice, currency, exchangeRate) })] })) : (jsx("p", { className: "text-base font-medium", children: storeHelpers.formatPrice((_f = finalItem === null || finalItem === void 0 ? void 0 : finalItem.priceInCents) !== null && _f !== void 0 ? _f : 0, currency, exchangeRate) })) })] }, index));
42897
+ : formatPrice(discountedPrice, currency, exchangeRate) })] })) : (jsx("p", { className: "text-base font-medium", children: formatPrice((_f = finalItem === null || finalItem === void 0 ? void 0 : finalItem.priceInCents) !== null && _f !== void 0 ? _f : 0, currency, exchangeRate) })) })] }, index));
41937
42898
  }) })] }));
41938
42899
  }
41939
42900
  function DiscountItem({ id, removeDiscount, label, canRemove, }) {