@srimandir/common 2.24.0 → 2.26.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/common.js CHANGED
@@ -1,15 +1,15 @@
1
1
  import { jsx as I, jsxs as Ve } from "react/jsx-runtime";
2
2
  import { useEffect as We, createContext as $e, useContext as Ue } from "react";
3
- const De = "_overlay_1m4co_3", Ke = "_sheet_1m4co_14", He = "_handle_1m4co_66", Je = "_closeBtn_1m4co_75", Ye = "_closeBtnOutside_1m4co_95", Ze = "_header_1m4co_107", Xe = "_body_1m4co_25", Qe = "_footer_1m4co_119", N = {
3
+ const De = "_overlay_15iql_3", Ke = "_sheet_15iql_14", qe = "_handle_15iql_66", He = "_closeBtn_15iql_75", Je = "_closeBtnOutside_15iql_100", Ye = "_header_15iql_116", Ze = "_body_15iql_25", Xe = "_footer_15iql_128", N = {
4
4
  overlay: De,
5
5
  sheet: Ke,
6
- handle: He,
7
- closeBtn: Je,
8
- closeBtnOutside: Ye,
9
- header: Ze,
10
- body: Xe,
11
- footer: Qe
12
- }, se = (...e) => e.filter(Boolean).join(" "), qe = () => /* @__PURE__ */ I("svg", { width: "16", height: "16", viewBox: "0 0 16 16", fill: "none", "aria-hidden": "true", children: /* @__PURE__ */ I(
6
+ handle: qe,
7
+ closeBtn: He,
8
+ closeBtnOutside: Je,
9
+ header: Ye,
10
+ body: Ze,
11
+ footer: Xe
12
+ }, se = (...e) => e.filter(Boolean).join(" "), Qe = () => /* @__PURE__ */ I("svg", { width: "16", height: "16", viewBox: "0 0 16 16", fill: "none", "aria-hidden": "true", children: /* @__PURE__ */ I(
13
13
  "path",
14
14
  {
15
15
  d: "M12 4L4 12M4 4l8 8",
@@ -17,7 +17,7 @@ const De = "_overlay_1m4co_3", Ke = "_sheet_1m4co_14", He = "_handle_1m4co_66",
17
17
  strokeWidth: "1.8",
18
18
  strokeLinecap: "round"
19
19
  }
20
- ) }), Yo = ({
20
+ ) }), Jo = ({
21
21
  isOpen: e,
22
22
  onClose: r,
23
23
  children: t,
@@ -68,7 +68,7 @@ const De = "_overlay_1m4co_3", Ke = "_sheet_1m4co_14", He = "_handle_1m4co_66",
68
68
  className: se(N.closeBtn, l && N.closeBtnOutside),
69
69
  onClick: r,
70
70
  "aria-label": "Close",
71
- children: /* @__PURE__ */ I(qe, {})
71
+ children: /* @__PURE__ */ I(Qe, {})
72
72
  }
73
73
  ),
74
74
  o && /* @__PURE__ */ I("div", { className: N.header, children: o }),
@@ -106,7 +106,7 @@ const oo = (e, r) => {
106
106
  nextPart: e,
107
107
  validators: r,
108
108
  classGroupId: t
109
- }), q = "-", xe = [], ro = "arbitrary..", no = (e) => {
109
+ }), Q = "-", xe = [], ro = "arbitrary..", no = (e) => {
110
110
  const r = ao(e), {
111
111
  conflictingClassGroups: t,
112
112
  conflictingClassGroupModifiers: o
@@ -115,7 +115,7 @@ const oo = (e, r) => {
115
115
  getClassGroupId: (l) => {
116
116
  if (l.startsWith("[") && l.endsWith("]"))
117
117
  return so(l);
118
- const u = l.split(q), b = u[0] === "" && u.length > 1 ? 1 : 0;
118
+ const u = l.split(Q), b = u[0] === "" && u.length > 1 ? 1 : 0;
119
119
  return Se(u, b, r);
120
120
  },
121
121
  getConflictingClassGroupIds: (l, u) => {
@@ -137,7 +137,7 @@ const oo = (e, r) => {
137
137
  const l = t.validators;
138
138
  if (l === null)
139
139
  return;
140
- const u = r === 0 ? e.join(q) : e.slice(r).join(q), b = l.length;
140
+ const u = r === 0 ? e.join(Q) : e.slice(r).join(Q), b = l.length;
141
141
  for (let m = 0; m < b; m++) {
142
142
  const f = l[m];
143
143
  if (f.validator(u))
@@ -192,7 +192,7 @@ const oo = (e, r) => {
192
192
  }
193
193
  }, Le = (e, r) => {
194
194
  let t = e;
195
- const o = r.split(q), a = o.length;
195
+ const o = r.split(Q), a = o.length;
196
196
  for (let d = 0; d < a; d++) {
197
197
  const l = o[d];
198
198
  let u = t.nextPart.get(l);
@@ -386,7 +386,7 @@ const oo = (e, r) => {
386
386
  // For example, `hsl(0 0% 0%)` would be classified as a length without this check.
387
387
  // I could also use lookbehind assertion in `lengthUnitRegex` but that isn't supported widely enough.
388
388
  Lo.test(e) && !Io.test(e)
389
- ), ce = () => !1, Ro = (e) => Po.test(e), No = (e) => To.test(e), Go = (e) => !n(e) && !s(e), Eo = (e) => e.startsWith("@container") && (e[10] === "/" && e[11] !== void 0 || e[11] === "s" && e[16] !== void 0 && e.startsWith("-size/", 10) || e[11] === "n" && e[18] !== void 0 && e.startsWith("-normal/", 10)), _o = (e) => E(e, Ge, ce), n = (e) => Pe.test(e), O = (e) => E(e, Ee, Mo), ke = (e) => E(e, Uo, p), Bo = (e) => E(e, Be, Me), Oo = (e) => E(e, _e, ce), ve = (e) => E(e, Re, ce), jo = (e) => E(e, Ne, No), X = (e) => E(e, Oe, Ro), s = (e) => Te.test(e), D = (e) => j(e, Ee), Fo = (e) => j(e, _e), Ce = (e) => j(e, Re), Vo = (e) => j(e, Ge), Wo = (e) => j(e, Ne), Q = (e) => j(e, Oe, !0), $o = (e) => j(e, Be, !0), E = (e, r, t) => {
389
+ ), ce = () => !1, Ro = (e) => Po.test(e), No = (e) => To.test(e), Go = (e) => !n(e) && !s(e), Eo = (e) => e.startsWith("@container") && (e[10] === "/" && e[11] !== void 0 || e[11] === "s" && e[16] !== void 0 && e.startsWith("-size/", 10) || e[11] === "n" && e[18] !== void 0 && e.startsWith("-normal/", 10)), _o = (e) => E(e, Ge, ce), n = (e) => Pe.test(e), O = (e) => E(e, Ee, Mo), ke = (e) => E(e, Uo, p), Bo = (e) => E(e, Be, Me), Oo = (e) => E(e, _e, ce), ve = (e) => E(e, Re, ce), jo = (e) => E(e, Ne, No), Z = (e) => E(e, Oe, Ro), s = (e) => Te.test(e), D = (e) => j(e, Ee), Fo = (e) => j(e, _e), Ce = (e) => j(e, Re), Vo = (e) => j(e, Ge), Wo = (e) => j(e, Ne), X = (e) => j(e, Oe, !0), $o = (e) => j(e, Be, !0), E = (e, r, t) => {
390
390
  const o = Pe.exec(e);
391
391
  return o ? o[1] ? r(o[1]) : t(o[2]) : !1;
392
392
  }, j = (e, r, t = !1) => {
@@ -427,14 +427,14 @@ const oo = (e, r) => {
427
427
  m,
428
428
  s,
429
429
  n
430
- ], k = () => ["", p, D, O], H = () => ["solid", "dashed", "dotted", "double"], ge = () => ["normal", "multiply", "screen", "overlay", "darken", "lighten", "color-dodge", "color-burn", "hard-light", "soft-light", "difference", "exclusion", "hue", "saturation", "color", "luminosity"], x = () => [p, ae, Ce, ve], he = () => [
430
+ ], k = () => ["", p, D, O], q = () => ["solid", "dashed", "dotted", "double"], ge = () => ["normal", "multiply", "screen", "overlay", "darken", "lighten", "color-dodge", "color-burn", "hard-light", "soft-light", "difference", "exclusion", "hue", "saturation", "color", "luminosity"], x = () => [p, ae, Ce, ve], he = () => [
431
431
  // Deprecated since Tailwind CSS v4.0.0
432
432
  "",
433
433
  "none",
434
434
  _,
435
435
  s,
436
436
  n
437
- ], J = () => ["none", p, s, n], Y = () => ["none", p, s, n], ne = () => [p, s, n], Z = () => [G, "full", ...i()];
437
+ ], H = () => ["none", p, s, n], J = () => ["none", p, s, n], ne = () => [p, s, n], Y = () => [G, "full", ...i()];
438
438
  return {
439
439
  cacheSize: 500,
440
440
  theme: {
@@ -1384,7 +1384,7 @@ const oo = (e, r) => {
1384
1384
  * @see https://tailwindcss.com/docs/text-decoration-style
1385
1385
  */
1386
1386
  "text-decoration-style": [{
1387
- decoration: [...H(), "wavy"]
1387
+ decoration: [...q(), "wavy"]
1388
1388
  }],
1389
1389
  /**
1390
1390
  * Text Decoration Thickness
@@ -1801,14 +1801,14 @@ const oo = (e, r) => {
1801
1801
  * @see https://tailwindcss.com/docs/border-style
1802
1802
  */
1803
1803
  "border-style": [{
1804
- border: [...H(), "hidden", "none"]
1804
+ border: [...q(), "hidden", "none"]
1805
1805
  }],
1806
1806
  /**
1807
1807
  * Divide Style
1808
1808
  * @see https://tailwindcss.com/docs/border-style#setting-the-divider-style
1809
1809
  */
1810
1810
  "divide-style": [{
1811
- divide: [...H(), "hidden", "none"]
1811
+ divide: [...q(), "hidden", "none"]
1812
1812
  }],
1813
1813
  /**
1814
1814
  * Border Color
@@ -1899,7 +1899,7 @@ const oo = (e, r) => {
1899
1899
  * @see https://tailwindcss.com/docs/outline-style
1900
1900
  */
1901
1901
  "outline-style": [{
1902
- outline: [...H(), "none", "hidden"]
1902
+ outline: [...q(), "none", "hidden"]
1903
1903
  }],
1904
1904
  /**
1905
1905
  * Outline Offset
@@ -1937,8 +1937,8 @@ const oo = (e, r) => {
1937
1937
  "inner",
1938
1938
  "none",
1939
1939
  f,
1940
- Q,
1941
- X
1940
+ X,
1941
+ Z
1942
1942
  ]
1943
1943
  }],
1944
1944
  /**
@@ -1953,7 +1953,7 @@ const oo = (e, r) => {
1953
1953
  * @see https://tailwindcss.com/docs/box-shadow#adding-an-inset-shadow
1954
1954
  */
1955
1955
  "inset-shadow": [{
1956
- "inset-shadow": ["none", w, Q, X]
1956
+ "inset-shadow": ["none", w, X, Z]
1957
1957
  }],
1958
1958
  /**
1959
1959
  * Inset Box Shadow Color
@@ -2020,7 +2020,7 @@ const oo = (e, r) => {
2020
2020
  * @see https://tailwindcss.com/docs/text-shadow
2021
2021
  */
2022
2022
  "text-shadow": [{
2023
- "text-shadow": ["none", P, Q, X]
2023
+ "text-shadow": ["none", P, X, Z]
2024
2024
  }],
2025
2025
  /**
2026
2026
  * Text Shadow Color
@@ -2293,8 +2293,8 @@ const oo = (e, r) => {
2293
2293
  "",
2294
2294
  "none",
2295
2295
  A,
2296
- Q,
2297
- X
2296
+ X,
2297
+ Z
2298
2298
  ]
2299
2299
  }],
2300
2300
  /**
@@ -2534,56 +2534,56 @@ const oo = (e, r) => {
2534
2534
  * @see https://tailwindcss.com/docs/rotate
2535
2535
  */
2536
2536
  rotate: [{
2537
- rotate: J()
2537
+ rotate: H()
2538
2538
  }],
2539
2539
  /**
2540
2540
  * Rotate X
2541
2541
  * @see https://tailwindcss.com/docs/rotate
2542
2542
  */
2543
2543
  "rotate-x": [{
2544
- "rotate-x": J()
2544
+ "rotate-x": H()
2545
2545
  }],
2546
2546
  /**
2547
2547
  * Rotate Y
2548
2548
  * @see https://tailwindcss.com/docs/rotate
2549
2549
  */
2550
2550
  "rotate-y": [{
2551
- "rotate-y": J()
2551
+ "rotate-y": H()
2552
2552
  }],
2553
2553
  /**
2554
2554
  * Rotate Z
2555
2555
  * @see https://tailwindcss.com/docs/rotate
2556
2556
  */
2557
2557
  "rotate-z": [{
2558
- "rotate-z": J()
2558
+ "rotate-z": H()
2559
2559
  }],
2560
2560
  /**
2561
2561
  * Scale
2562
2562
  * @see https://tailwindcss.com/docs/scale
2563
2563
  */
2564
2564
  scale: [{
2565
- scale: Y()
2565
+ scale: J()
2566
2566
  }],
2567
2567
  /**
2568
2568
  * Scale X
2569
2569
  * @see https://tailwindcss.com/docs/scale
2570
2570
  */
2571
2571
  "scale-x": [{
2572
- "scale-x": Y()
2572
+ "scale-x": J()
2573
2573
  }],
2574
2574
  /**
2575
2575
  * Scale Y
2576
2576
  * @see https://tailwindcss.com/docs/scale
2577
2577
  */
2578
2578
  "scale-y": [{
2579
- "scale-y": Y()
2579
+ "scale-y": J()
2580
2580
  }],
2581
2581
  /**
2582
2582
  * Scale Z
2583
2583
  * @see https://tailwindcss.com/docs/scale
2584
2584
  */
2585
2585
  "scale-z": [{
2586
- "scale-z": Y()
2586
+ "scale-z": J()
2587
2587
  }],
2588
2588
  /**
2589
2589
  * Scale 3D
@@ -2637,28 +2637,28 @@ const oo = (e, r) => {
2637
2637
  * @see https://tailwindcss.com/docs/translate
2638
2638
  */
2639
2639
  translate: [{
2640
- translate: Z()
2640
+ translate: Y()
2641
2641
  }],
2642
2642
  /**
2643
2643
  * Translate X
2644
2644
  * @see https://tailwindcss.com/docs/translate
2645
2645
  */
2646
2646
  "translate-x": [{
2647
- "translate-x": Z()
2647
+ "translate-x": Y()
2648
2648
  }],
2649
2649
  /**
2650
2650
  * Translate Y
2651
2651
  * @see https://tailwindcss.com/docs/translate
2652
2652
  */
2653
2653
  "translate-y": [{
2654
- "translate-y": Z()
2654
+ "translate-y": Y()
2655
2655
  }],
2656
2656
  /**
2657
2657
  * Translate Z
2658
2658
  * @see https://tailwindcss.com/docs/translate
2659
2659
  */
2660
2660
  "translate-z": [{
2661
- "translate-z": Z()
2661
+ "translate-z": Y()
2662
2662
  }],
2663
2663
  /**
2664
2664
  * Translate None
@@ -3081,7 +3081,7 @@ const oo = (e, r) => {
3081
3081
  orderSensitiveModifiers: ["*", "**", "after", "backdrop", "before", "details-content", "file", "first-letter", "first-line", "marker", "placeholder", "selection"]
3082
3082
  };
3083
3083
  }, Ko = /* @__PURE__ */ Co(Do);
3084
- function Zo(...e) {
3084
+ function Yo(...e) {
3085
3085
  return Ko(eo(e));
3086
3086
  }
3087
3087
  const je = {
@@ -3161,7 +3161,7 @@ const je = {
3161
3161
  pattern: /^\d{6,15}$/,
3162
3162
  maxLength: 15,
3163
3163
  description: "6-15 digits"
3164
- }, Xo = (e, r) => {
3164
+ }, Zo = (e, r) => {
3165
3165
  if (!e)
3166
3166
  return { isValid: !0, error: "" };
3167
3167
  const t = je[r] || Fe;
@@ -3169,7 +3169,7 @@ const je = {
3169
3169
  isValid: !1,
3170
3170
  error: `Please enter a valid phone number (${t.description})`
3171
3171
  };
3172
- }, Qo = (e) => (je[e] || Fe).maxLength, qo = [
3172
+ }, Xo = (e) => (je[e] || Fe).maxLength, Qo = [
3173
3173
  { name: "United States", code: "+1", iso: "US" },
3174
3174
  { name: "United Kingdom", code: "+44", iso: "GB" },
3175
3175
  { name: "Australia", code: "+61", iso: "AU" },
@@ -3240,12 +3240,12 @@ function ot(e, r) {
3240
3240
  return { I18nProvider: o, useI18n: a };
3241
3241
  }
3242
3242
  export {
3243
- Yo as BottomSheet,
3244
- qo as DEFAULT_COUNTRIES,
3245
- Zo as cn,
3243
+ Jo as BottomSheet,
3244
+ Qo as DEFAULT_COUNTRIES,
3245
+ Yo as cn,
3246
3246
  ot as createI18n,
3247
3247
  et as getFlagEmoji,
3248
- Qo as getMaxLengthForCountry,
3249
- Xo as validatePhoneByCountryCode
3248
+ Xo as getMaxLengthForCountry,
3249
+ Zo as validatePhoneByCountryCode
3250
3250
  };
3251
3251
  //# sourceMappingURL=common.js.map
@@ -1,2 +1,2 @@
1
- (function(C,w){typeof exports=="object"&&typeof module<"u"?w(exports,require("react/jsx-runtime"),require("react")):typeof define=="function"&&define.amd?define(["exports","react/jsx-runtime","react"],w):(C=typeof globalThis<"u"?globalThis:C||self,w(C.SrimandirCommon={},C.ReactJSXRuntime,C.React))})(this,(function(C,w,oe){"use strict";const G={overlay:"_overlay_1m4co_3",sheet:"_sheet_1m4co_14",handle:"_handle_1m4co_66",closeBtn:"_closeBtn_1m4co_75",closeBtnOutside:"_closeBtnOutside_1m4co_95",header:"_header_1m4co_107",body:"_body_1m4co_25",footer:"_footer_1m4co_119"},te=(...e)=>e.filter(Boolean).join(" "),Ue=()=>w.jsx("svg",{width:"16",height:"16",viewBox:"0 0 16 16",fill:"none","aria-hidden":"true",children:w.jsx("path",{d:"M12 4L4 12M4 4l8 8",stroke:"currentColor",strokeWidth:"1.8",strokeLinecap:"round"})}),$e=({isOpen:e,onClose:r,children:t,header:o,footer:a,showCloseButton:d=!0,closeButtonOutside:l=!1,showDragHandle:u=!1,closeOnBackdropClick:b=!0,closeOnEscape:m=!0,lockBodyScroll:g=!0,ariaLabel:y,className:M="",overlayClassName:L="","data-testid":j})=>(oe.useEffect(()=>{if(!e)return;const h=N=>{N.key==="Escape"&&r()};m&&document.addEventListener("keydown",h);const z=document.body.style.overflow;return g&&(document.body.style.overflow="hidden"),()=>{m&&document.removeEventListener("keydown",h),g&&(document.body.style.overflow=z)}},[e,r,m,g]),e?w.jsx("div",{className:te(G.overlay,L),role:"presentation",onClick:h=>{b&&h.target===h.currentTarget&&r()},children:w.jsxs("div",{className:te(G.sheet,M),role:"dialog","aria-modal":"true","aria-label":y,"data-testid":j,children:[u&&w.jsx("div",{className:G.handle,"aria-hidden":"true"}),d&&w.jsx("button",{type:"button",className:te(G.closeBtn,l&&G.closeBtnOutside),onClick:r,"aria-label":"Close",children:w.jsx(Ue,{})}),o&&w.jsx("div",{className:G.header,children:o}),w.jsx("div",{className:G.body,children:t}),a&&w.jsx("div",{className:G.footer,children:a})]})}):null);function pe(e){var r,t,o="";if(typeof e=="string"||typeof e=="number")o+=e;else if(typeof e=="object")if(Array.isArray(e)){var a=e.length;for(r=0;r<a;r++)e[r]&&(t=pe(e[r]))&&(o&&(o+=" "),o+=t)}else for(t in e)e[t]&&(o&&(o+=" "),o+=t);return o}function De(){for(var e,r,t=0,o="",a=arguments.length;t<a;t++)(e=arguments[t])&&(r=pe(e))&&(o&&(o+=" "),o+=r);return o}const Ke=(e,r)=>{const t=new Array(e.length+r.length);for(let o=0;o<e.length;o++)t[o]=e[o];for(let o=0;o<r.length;o++)t[e.length+o]=r[o];return t},He=(e,r)=>({classGroupId:e,validator:r}),ue=(e=new Map,r=null,t)=>({nextPart:e,validators:r,classGroupId:t}),H="-",be=[],Je="arbitrary..",Ye=e=>{const r=Ze(e),{conflictingClassGroups:t,conflictingClassGroupModifiers:o}=e;return{getClassGroupId:l=>{if(l.startsWith("[")&&l.endsWith("]"))return Xe(l);const u=l.split(H),b=u[0]===""&&u.length>1?1:0;return fe(u,b,r)},getConflictingClassGroupIds:(l,u)=>{if(u){const b=o[l],m=t[l];return b?m?Ke(m,b):b:m||be}return t[l]||be}}},fe=(e,r,t)=>{if(e.length-r===0)return t.classGroupId;const a=e[r],d=t.nextPart.get(a);if(d){const m=fe(e,r+1,d);if(m)return m}const l=t.validators;if(l===null)return;const u=r===0?e.join(H):e.slice(r).join(H),b=l.length;for(let m=0;m<b;m++){const g=l[m];if(g.validator(u))return g.classGroupId}},Xe=e=>e.slice(1,-1).indexOf(":")===-1?void 0:(()=>{const r=e.slice(1,-1),t=r.indexOf(":"),o=r.slice(0,t);return o?Je+o:void 0})(),Ze=e=>{const{theme:r,classGroups:t}=e;return qe(t,r)},qe=(e,r)=>{const t=ue();for(const o in e){const a=e[o];re(a,t,o,r)}return t},re=(e,r,t,o)=>{const a=e.length;for(let d=0;d<a;d++){const l=e[d];Qe(l,r,t,o)}},Qe=(e,r,t,o)=>{if(typeof e=="string"){eo(e,r,t);return}if(typeof e=="function"){oo(e,r,t,o);return}to(e,r,t,o)},eo=(e,r,t)=>{const o=e===""?r:ge(r,e);o.classGroupId=t},oo=(e,r,t,o)=>{if(ro(e)){re(e(o),r,t,o);return}r.validators===null&&(r.validators=[]),r.validators.push(He(t,e))},to=(e,r,t,o)=>{const a=Object.entries(e),d=a.length;for(let l=0;l<d;l++){const[u,b]=a[l];re(b,ge(r,u),t,o)}},ge=(e,r)=>{let t=e;const o=r.split(H),a=o.length;for(let d=0;d<a;d++){const l=o[d];let u=t.nextPart.get(l);u||(u=ue(),t.nextPart.set(l,u)),t=u}return t},ro=e=>"isThemeGetter"in e&&e.isThemeGetter===!0,no=e=>{if(e<1)return{get:()=>{},set:()=>{}};let r=0,t=Object.create(null),o=Object.create(null);const a=(d,l)=>{t[d]=l,r++,r>e&&(r=0,o=t,t=Object.create(null))};return{get(d){let l=t[d];if(l!==void 0)return l;if((l=o[d])!==void 0)return a(d,l),l},set(d,l){d in t?t[d]=l:a(d,l)}}},ne="!",he=":",so=[],xe=(e,r,t,o,a)=>({modifiers:e,hasImportantModifier:r,baseClassName:t,maybePostfixModifierPosition:o,isExternal:a}),ao=e=>{const{prefix:r,experimentalParseClassName:t}=e;let o=a=>{const d=[];let l=0,u=0,b=0,m;const g=a.length;for(let h=0;h<g;h++){const z=a[h];if(l===0&&u===0){if(z===he){d.push(a.slice(b,h)),b=h+1;continue}if(z==="/"){m=h;continue}}z==="["?l++:z==="]"?l--:z==="("?u++:z===")"&&u--}const y=d.length===0?a:a.slice(b);let M=y,L=!1;y.endsWith(ne)?(M=y.slice(0,-1),L=!0):y.startsWith(ne)&&(M=y.slice(1),L=!0);const j=m&&m>b?m-b:void 0;return xe(d,L,M,j)};if(r){const a=r+he,d=o;o=l=>l.startsWith(a)?d(l.slice(a.length)):xe(so,!1,l,void 0,!0)}if(t){const a=o;o=d=>t({className:d,parseClassName:a})}return o},io=e=>{const r=new Map;return e.orderSensitiveModifiers.forEach((t,o)=>{r.set(t,1e6+o)}),t=>{const o=[];let a=[];for(let d=0;d<t.length;d++){const l=t[d],u=l[0]==="[",b=r.has(l);u||b?(a.length>0&&(a.sort(),o.push(...a),a=[]),o.push(l)):a.push(l)}return a.length>0&&(a.sort(),o.push(...a)),o}},lo=e=>({cache:no(e.cacheSize),parseClassName:ao(e),sortModifiers:io(e),postfixLookupClassGroupIds:co(e),...Ye(e)}),co=e=>{const r=Object.create(null),t=e.postfixLookupClassGroups;if(t)for(let o=0;o<t.length;o++)r[t[o]]=!0;return r},mo=/\s+/,po=(e,r)=>{const{parseClassName:t,getClassGroupId:o,getConflictingClassGroupIds:a,sortModifiers:d,postfixLookupClassGroupIds:l}=r,u=[],b=e.trim().split(mo);let m="";for(let g=b.length-1;g>=0;g-=1){const y=b[g],{isExternal:M,modifiers:L,hasImportantModifier:j,baseClassName:h,maybePostfixModifierPosition:z}=t(y);if(M){m=y+(m.length>0?" "+m:m);continue}let N=!!z,A;if(N){const E=h.substring(0,z);A=o(E);const i=A&&l[A]?o(h):void 0;i&&i!==A&&(A=i,N=!1)}else A=o(h);if(!A){if(!N){m=y+(m.length>0?" "+m:m);continue}if(A=o(h),!A){m=y+(m.length>0?" "+m:m);continue}N=!1}const K=L.length===0?"":L.length===1?L[0]:d(L).join(":"),V=j?K+ne:K,W=V+A;if(u.indexOf(W)>-1)continue;u.push(W);const U=a(A,N);for(let E=0;E<U.length;++E){const i=U[E];u.push(V+i)}m=y+(m.length>0?" "+m:m)}return m},uo=(...e)=>{let r=0,t,o,a="";for(;r<e.length;)(t=e[r++])&&(o=ye(t))&&(a&&(a+=" "),a+=o);return a},ye=e=>{if(typeof e=="string")return e;let r,t="";for(let o=0;o<e.length;o++)e[o]&&(r=ye(e[o]))&&(t&&(t+=" "),t+=r);return t},bo=(e,...r)=>{let t,o,a,d;const l=b=>{const m=r.reduce((g,y)=>y(g),e());return t=lo(m),o=t.cache.get,a=t.cache.set,d=u,u(b)},u=b=>{const m=o(b);if(m)return m;const g=po(b,t);return a(b,g),g};return d=l,(...b)=>d(uo(...b))},fo=[],f=e=>{const r=t=>t[e]||fo;return r.isThemeGetter=!0,r.themeKey=e,r},we=/^\[(?:(\w[\w-]*):)?(.+)\]$/i,ke=/^\((?:(\w[\w-]*):)?(.+)\)$/i,go=/^\d+(?:\.\d+)?\/\d+(?:\.\d+)?$/,ho=/^(\d+(\.\d+)?)?(xs|sm|md|lg|xl)$/,xo=/\d+(%|px|r?em|[sdl]?v([hwib]|min|max)|pt|pc|in|cm|mm|cap|ch|ex|r?lh|cq(w|h|i|b|min|max))|\b(calc|min|max|clamp)\(.+\)|^0$/,yo=/^(rgba?|hsla?|hwb|(ok)?(lab|lch)|color-mix|color|light-dark)\(.+\)$/,wo=/^(inset_)?-?((\d+)?\.?(\d+)[a-z]+|0)_-?((\d+)?\.?(\d+)[a-z]+|0)/,ko=/^(url|image|image-set|cross-fade|element|(repeating-)?(linear|radial|conic)-gradient)\(.+\)$/,_=e=>go.test(e),p=e=>!!e&&!Number.isNaN(Number(e)),T=e=>!!e&&Number.isInteger(Number(e)),se=e=>e.endsWith("%")&&p(e.slice(0,-1)),P=e=>ho.test(e),ve=()=>!0,vo=e=>xo.test(e)&&!yo.test(e),ae=()=>!1,Co=e=>wo.test(e),zo=e=>ko.test(e),Ao=e=>!n(e)&&!s(e),So=e=>e.startsWith("@container")&&(e[10]==="/"&&e[11]!==void 0||e[11]==="s"&&e[16]!==void 0&&e.startsWith("-size/",10)||e[11]==="n"&&e[18]!==void 0&&e.startsWith("-normal/",10)),Lo=e=>R(e,Ie,ae),n=e=>we.test(e),B=e=>R(e,Te,vo),Ce=e=>R(e,_o,p),Io=e=>R(e,Me,ve),To=e=>R(e,Pe,ae),ze=e=>R(e,Se,ae),Po=e=>R(e,Le,zo),J=e=>R(e,Ne,Co),s=e=>ke.test(e),D=e=>O(e,Te),Mo=e=>O(e,Pe),Ae=e=>O(e,Se),No=e=>O(e,Ie),Eo=e=>O(e,Le),Y=e=>O(e,Ne,!0),Go=e=>O(e,Me,!0),R=(e,r,t)=>{const o=we.exec(e);return o?o[1]?r(o[1]):t(o[2]):!1},O=(e,r,t=!1)=>{const o=ke.exec(e);return o?o[1]?r(o[1]):t:!1},Se=e=>e==="position"||e==="percentage",Le=e=>e==="image"||e==="url",Ie=e=>e==="length"||e==="size"||e==="bg-size",Te=e=>e==="length",_o=e=>e==="number",Pe=e=>e==="family-name",Me=e=>e==="number"||e==="weight",Ne=e=>e==="shadow",Ro=bo(()=>{const e=f("color"),r=f("font"),t=f("text"),o=f("font-weight"),a=f("tracking"),d=f("leading"),l=f("breakpoint"),u=f("container"),b=f("spacing"),m=f("radius"),g=f("shadow"),y=f("inset-shadow"),M=f("text-shadow"),L=f("drop-shadow"),j=f("blur"),h=f("perspective"),z=f("aspect"),N=f("ease"),A=f("animate"),K=()=>["auto","avoid","all","avoid-page","page","left","right","column"],V=()=>["center","top","bottom","left","right","top-left","left-top","top-right","right-top","bottom-right","right-bottom","bottom-left","left-bottom"],W=()=>[...V(),s,n],U=()=>["auto","hidden","clip","visible","scroll"],E=()=>["auto","contain","none"],i=()=>[s,n,b],S=()=>[_,"full","auto",...i()],_e=()=>[T,"none","subgrid",s,n],Re=()=>["auto",{span:["full",T,s,n]},T,s,n],X=()=>[T,"auto",s,n],Be=()=>["auto","min","max","fr",s,n],ie=()=>["start","end","center","between","around","evenly","stretch","baseline","center-safe","end-safe"],$=()=>["start","end","center","stretch","center-safe","end-safe"],I=()=>["auto",...i()],F=()=>[_,"auto","full","dvw","dvh","lvw","lvh","svw","svh","min","max","fit",...i()],le=()=>[u,_,"screen","full","dvw","lvw","svw","min","max","fit",...i()],ce=()=>[_,"screen","full","lh","dvh","lvh","svh","min","max","fit",...i()],c=()=>[e,s,n],Oe=()=>[...V(),Ae,ze,{position:[s,n]}],je=()=>["no-repeat",{repeat:["","x","y","space","round"]}],Fe=()=>["auto","cover","contain",No,Lo,{size:[s,n]}],de=()=>[se,D,B],k=()=>["","none","full",m,s,n],v=()=>["",p,D,B],Z=()=>["solid","dashed","dotted","double"],Ve=()=>["normal","multiply","screen","overlay","darken","lighten","color-dodge","color-burn","hard-light","soft-light","difference","exclusion","hue","saturation","color","luminosity"],x=()=>[p,se,Ae,ze],We=()=>["","none",j,s,n],q=()=>["none",p,s,n],Q=()=>["none",p,s,n],me=()=>[p,s,n],ee=()=>[_,"full",...i()];return{cacheSize:500,theme:{animate:["spin","ping","pulse","bounce"],aspect:["video"],blur:[P],breakpoint:[P],color:[ve],container:[P],"drop-shadow":[P],ease:["in","out","in-out"],font:[Ao],"font-weight":["thin","extralight","light","normal","medium","semibold","bold","extrabold","black"],"inset-shadow":[P],leading:["none","tight","snug","normal","relaxed","loose"],perspective:["dramatic","near","normal","midrange","distant","none"],radius:[P],shadow:[P],spacing:["px",p],text:[P],"text-shadow":[P],tracking:["tighter","tight","normal","wide","wider","widest"]},classGroups:{aspect:[{aspect:["auto","square",_,n,s,z]}],container:["container"],"container-type":[{"@container":["","normal","size",s,n]}],"container-named":[So],columns:[{columns:[p,"auto",n,s,u]}],"break-after":[{"break-after":K()}],"break-before":[{"break-before":K()}],"break-inside":[{"break-inside":["auto","avoid","avoid-page","avoid-column"]}],"box-decoration":[{"box-decoration":["slice","clone"]}],box:[{box:["border","content"]}],display:["block","inline-block","inline","flex","inline-flex","table","inline-table","table-caption","table-cell","table-column","table-column-group","table-footer-group","table-header-group","table-row-group","table-row","flow-root","grid","inline-grid","contents","list-item","hidden"],sr:["sr-only","not-sr-only"],float:[{float:["right","left","none","start","end"]}],clear:[{clear:["left","right","both","none","start","end"]}],isolation:["isolate","isolation-auto"],"object-fit":[{object:["contain","cover","fill","none","scale-down"]}],"object-position":[{object:W()}],overflow:[{overflow:U()}],"overflow-x":[{"overflow-x":U()}],"overflow-y":[{"overflow-y":U()}],overscroll:[{overscroll:E()}],"overscroll-x":[{"overscroll-x":E()}],"overscroll-y":[{"overscroll-y":E()}],position:["static","fixed","absolute","relative","sticky"],inset:[{inset:S()}],"inset-x":[{"inset-x":S()}],"inset-y":[{"inset-y":S()}],start:[{"inset-s":S(),start:S()}],end:[{"inset-e":S(),end:S()}],"inset-bs":[{"inset-bs":S()}],"inset-be":[{"inset-be":S()}],top:[{top:S()}],right:[{right:S()}],bottom:[{bottom:S()}],left:[{left:S()}],visibility:["visible","invisible","collapse"],z:[{z:[T,"auto",s,n]}],basis:[{basis:[_,"full","auto",u,...i()]}],"flex-direction":[{flex:["row","row-reverse","col","col-reverse"]}],"flex-wrap":[{flex:["nowrap","wrap","wrap-reverse"]}],flex:[{flex:[p,_,"auto","initial","none",n]}],grow:[{grow:["",p,s,n]}],shrink:[{shrink:["",p,s,n]}],order:[{order:[T,"first","last","none",s,n]}],"grid-cols":[{"grid-cols":_e()}],"col-start-end":[{col:Re()}],"col-start":[{"col-start":X()}],"col-end":[{"col-end":X()}],"grid-rows":[{"grid-rows":_e()}],"row-start-end":[{row:Re()}],"row-start":[{"row-start":X()}],"row-end":[{"row-end":X()}],"grid-flow":[{"grid-flow":["row","col","dense","row-dense","col-dense"]}],"auto-cols":[{"auto-cols":Be()}],"auto-rows":[{"auto-rows":Be()}],gap:[{gap:i()}],"gap-x":[{"gap-x":i()}],"gap-y":[{"gap-y":i()}],"justify-content":[{justify:[...ie(),"normal"]}],"justify-items":[{"justify-items":[...$(),"normal"]}],"justify-self":[{"justify-self":["auto",...$()]}],"align-content":[{content:["normal",...ie()]}],"align-items":[{items:[...$(),{baseline:["","last"]}]}],"align-self":[{self:["auto",...$(),{baseline:["","last"]}]}],"place-content":[{"place-content":ie()}],"place-items":[{"place-items":[...$(),"baseline"]}],"place-self":[{"place-self":["auto",...$()]}],p:[{p:i()}],px:[{px:i()}],py:[{py:i()}],ps:[{ps:i()}],pe:[{pe:i()}],pbs:[{pbs:i()}],pbe:[{pbe:i()}],pt:[{pt:i()}],pr:[{pr:i()}],pb:[{pb:i()}],pl:[{pl:i()}],m:[{m:I()}],mx:[{mx:I()}],my:[{my:I()}],ms:[{ms:I()}],me:[{me:I()}],mbs:[{mbs:I()}],mbe:[{mbe:I()}],mt:[{mt:I()}],mr:[{mr:I()}],mb:[{mb:I()}],ml:[{ml:I()}],"space-x":[{"space-x":i()}],"space-x-reverse":["space-x-reverse"],"space-y":[{"space-y":i()}],"space-y-reverse":["space-y-reverse"],size:[{size:F()}],"inline-size":[{inline:["auto",...le()]}],"min-inline-size":[{"min-inline":["auto",...le()]}],"max-inline-size":[{"max-inline":["none",...le()]}],"block-size":[{block:["auto",...ce()]}],"min-block-size":[{"min-block":["auto",...ce()]}],"max-block-size":[{"max-block":["none",...ce()]}],w:[{w:[u,"screen",...F()]}],"min-w":[{"min-w":[u,"screen","none",...F()]}],"max-w":[{"max-w":[u,"screen","none","prose",{screen:[l]},...F()]}],h:[{h:["screen","lh",...F()]}],"min-h":[{"min-h":["screen","lh","none",...F()]}],"max-h":[{"max-h":["screen","lh","none",...F()]}],"font-size":[{text:["base",t,D,B]}],"font-smoothing":["antialiased","subpixel-antialiased"],"font-style":["italic","not-italic"],"font-weight":[{font:[o,Go,Io]}],"font-stretch":[{"font-stretch":["ultra-condensed","extra-condensed","condensed","semi-condensed","normal","semi-expanded","expanded","extra-expanded","ultra-expanded",se,n]}],"font-family":[{font:[Mo,To,r]}],"font-features":[{"font-features":[n]}],"fvn-normal":["normal-nums"],"fvn-ordinal":["ordinal"],"fvn-slashed-zero":["slashed-zero"],"fvn-figure":["lining-nums","oldstyle-nums"],"fvn-spacing":["proportional-nums","tabular-nums"],"fvn-fraction":["diagonal-fractions","stacked-fractions"],tracking:[{tracking:[a,s,n]}],"line-clamp":[{"line-clamp":[p,"none",s,Ce]}],leading:[{leading:["none",d,...i()]}],"list-image":[{"list-image":["none",s,n]}],"list-style-position":[{list:["inside","outside"]}],"list-style-type":[{list:["disc","decimal","none",s,n]}],"text-alignment":[{text:["left","center","right","justify","start","end"]}],"placeholder-color":[{placeholder:c()}],"text-color":[{text:c()}],"text-decoration":["underline","overline","line-through","no-underline"],"text-decoration-style":[{decoration:[...Z(),"wavy"]}],"text-decoration-thickness":[{decoration:[p,"from-font","auto",s,B]}],"text-decoration-color":[{decoration:c()}],"underline-offset":[{"underline-offset":[p,"auto",s,n]}],"text-transform":["uppercase","lowercase","capitalize","normal-case"],"text-overflow":["truncate","text-ellipsis","text-clip"],"text-wrap":[{text:["wrap","nowrap","balance","pretty"]}],indent:[{indent:i()}],"tab-size":[{tab:[T,s,n]}],"vertical-align":[{align:["baseline","top","middle","bottom","text-top","text-bottom","sub","super",s,n]}],whitespace:[{whitespace:["normal","nowrap","pre","pre-line","pre-wrap","break-spaces"]}],break:[{break:["normal","words","all","keep"]}],wrap:[{wrap:["break-word","anywhere","normal"]}],hyphens:[{hyphens:["none","manual","auto"]}],content:[{content:["none",s,n]}],"bg-attachment":[{bg:["fixed","local","scroll"]}],"bg-clip":[{"bg-clip":["border","padding","content","text"]}],"bg-origin":[{"bg-origin":["border","padding","content"]}],"bg-position":[{bg:Oe()}],"bg-repeat":[{bg:je()}],"bg-size":[{bg:Fe()}],"bg-image":[{bg:["none",{linear:[{to:["t","tr","r","br","b","bl","l","tl"]},T,s,n],radial:["",s,n],conic:["",T,s,n]},Eo,Po]}],"bg-color":[{bg:c()}],"gradient-from-pos":[{from:de()}],"gradient-via-pos":[{via:de()}],"gradient-to-pos":[{to:de()}],"gradient-from":[{from:c()}],"gradient-via":[{via:c()}],"gradient-to":[{to:c()}],rounded:[{rounded:k()}],"rounded-s":[{"rounded-s":k()}],"rounded-e":[{"rounded-e":k()}],"rounded-t":[{"rounded-t":k()}],"rounded-r":[{"rounded-r":k()}],"rounded-b":[{"rounded-b":k()}],"rounded-l":[{"rounded-l":k()}],"rounded-ss":[{"rounded-ss":k()}],"rounded-se":[{"rounded-se":k()}],"rounded-ee":[{"rounded-ee":k()}],"rounded-es":[{"rounded-es":k()}],"rounded-tl":[{"rounded-tl":k()}],"rounded-tr":[{"rounded-tr":k()}],"rounded-br":[{"rounded-br":k()}],"rounded-bl":[{"rounded-bl":k()}],"border-w":[{border:v()}],"border-w-x":[{"border-x":v()}],"border-w-y":[{"border-y":v()}],"border-w-s":[{"border-s":v()}],"border-w-e":[{"border-e":v()}],"border-w-bs":[{"border-bs":v()}],"border-w-be":[{"border-be":v()}],"border-w-t":[{"border-t":v()}],"border-w-r":[{"border-r":v()}],"border-w-b":[{"border-b":v()}],"border-w-l":[{"border-l":v()}],"divide-x":[{"divide-x":v()}],"divide-x-reverse":["divide-x-reverse"],"divide-y":[{"divide-y":v()}],"divide-y-reverse":["divide-y-reverse"],"border-style":[{border:[...Z(),"hidden","none"]}],"divide-style":[{divide:[...Z(),"hidden","none"]}],"border-color":[{border:c()}],"border-color-x":[{"border-x":c()}],"border-color-y":[{"border-y":c()}],"border-color-s":[{"border-s":c()}],"border-color-e":[{"border-e":c()}],"border-color-bs":[{"border-bs":c()}],"border-color-be":[{"border-be":c()}],"border-color-t":[{"border-t":c()}],"border-color-r":[{"border-r":c()}],"border-color-b":[{"border-b":c()}],"border-color-l":[{"border-l":c()}],"divide-color":[{divide:c()}],"outline-style":[{outline:[...Z(),"none","hidden"]}],"outline-offset":[{"outline-offset":[p,s,n]}],"outline-w":[{outline:["",p,D,B]}],"outline-color":[{outline:c()}],shadow:[{shadow:["","inner","none",g,Y,J]}],"shadow-color":[{shadow:c()}],"inset-shadow":[{"inset-shadow":["none",y,Y,J]}],"inset-shadow-color":[{"inset-shadow":c()}],"ring-w":[{ring:v()}],"ring-w-inset":["ring-inset"],"ring-color":[{ring:c()}],"ring-offset-w":[{"ring-offset":[p,B]}],"ring-offset-color":[{"ring-offset":c()}],"inset-ring-w":[{"inset-ring":v()}],"inset-ring-color":[{"inset-ring":c()}],"text-shadow":[{"text-shadow":["none",M,Y,J]}],"text-shadow-color":[{"text-shadow":c()}],opacity:[{opacity:[p,s,n]}],"mix-blend":[{"mix-blend":[...Ve(),"plus-darker","plus-lighter"]}],"bg-blend":[{"bg-blend":Ve()}],"mask-clip":[{"mask-clip":["border","padding","content","fill","stroke","view"]},"mask-no-clip"],"mask-composite":[{mask:["add","subtract","intersect","exclude"]}],"mask-image-linear-pos":[{"mask-linear":[p]}],"mask-image-linear-from-pos":[{"mask-linear-from":x()}],"mask-image-linear-to-pos":[{"mask-linear-to":x()}],"mask-image-linear-from-color":[{"mask-linear-from":c()}],"mask-image-linear-to-color":[{"mask-linear-to":c()}],"mask-image-t-from-pos":[{"mask-t-from":x()}],"mask-image-t-to-pos":[{"mask-t-to":x()}],"mask-image-t-from-color":[{"mask-t-from":c()}],"mask-image-t-to-color":[{"mask-t-to":c()}],"mask-image-r-from-pos":[{"mask-r-from":x()}],"mask-image-r-to-pos":[{"mask-r-to":x()}],"mask-image-r-from-color":[{"mask-r-from":c()}],"mask-image-r-to-color":[{"mask-r-to":c()}],"mask-image-b-from-pos":[{"mask-b-from":x()}],"mask-image-b-to-pos":[{"mask-b-to":x()}],"mask-image-b-from-color":[{"mask-b-from":c()}],"mask-image-b-to-color":[{"mask-b-to":c()}],"mask-image-l-from-pos":[{"mask-l-from":x()}],"mask-image-l-to-pos":[{"mask-l-to":x()}],"mask-image-l-from-color":[{"mask-l-from":c()}],"mask-image-l-to-color":[{"mask-l-to":c()}],"mask-image-x-from-pos":[{"mask-x-from":x()}],"mask-image-x-to-pos":[{"mask-x-to":x()}],"mask-image-x-from-color":[{"mask-x-from":c()}],"mask-image-x-to-color":[{"mask-x-to":c()}],"mask-image-y-from-pos":[{"mask-y-from":x()}],"mask-image-y-to-pos":[{"mask-y-to":x()}],"mask-image-y-from-color":[{"mask-y-from":c()}],"mask-image-y-to-color":[{"mask-y-to":c()}],"mask-image-radial":[{"mask-radial":[s,n]}],"mask-image-radial-from-pos":[{"mask-radial-from":x()}],"mask-image-radial-to-pos":[{"mask-radial-to":x()}],"mask-image-radial-from-color":[{"mask-radial-from":c()}],"mask-image-radial-to-color":[{"mask-radial-to":c()}],"mask-image-radial-shape":[{"mask-radial":["circle","ellipse"]}],"mask-image-radial-size":[{"mask-radial":[{closest:["side","corner"],farthest:["side","corner"]}]}],"mask-image-radial-pos":[{"mask-radial-at":V()}],"mask-image-conic-pos":[{"mask-conic":[p]}],"mask-image-conic-from-pos":[{"mask-conic-from":x()}],"mask-image-conic-to-pos":[{"mask-conic-to":x()}],"mask-image-conic-from-color":[{"mask-conic-from":c()}],"mask-image-conic-to-color":[{"mask-conic-to":c()}],"mask-mode":[{mask:["alpha","luminance","match"]}],"mask-origin":[{"mask-origin":["border","padding","content","fill","stroke","view"]}],"mask-position":[{mask:Oe()}],"mask-repeat":[{mask:je()}],"mask-size":[{mask:Fe()}],"mask-type":[{"mask-type":["alpha","luminance"]}],"mask-image":[{mask:["none",s,n]}],filter:[{filter:["","none",s,n]}],blur:[{blur:We()}],brightness:[{brightness:[p,s,n]}],contrast:[{contrast:[p,s,n]}],"drop-shadow":[{"drop-shadow":["","none",L,Y,J]}],"drop-shadow-color":[{"drop-shadow":c()}],grayscale:[{grayscale:["",p,s,n]}],"hue-rotate":[{"hue-rotate":[p,s,n]}],invert:[{invert:["",p,s,n]}],saturate:[{saturate:[p,s,n]}],sepia:[{sepia:["",p,s,n]}],"backdrop-filter":[{"backdrop-filter":["","none",s,n]}],"backdrop-blur":[{"backdrop-blur":We()}],"backdrop-brightness":[{"backdrop-brightness":[p,s,n]}],"backdrop-contrast":[{"backdrop-contrast":[p,s,n]}],"backdrop-grayscale":[{"backdrop-grayscale":["",p,s,n]}],"backdrop-hue-rotate":[{"backdrop-hue-rotate":[p,s,n]}],"backdrop-invert":[{"backdrop-invert":["",p,s,n]}],"backdrop-opacity":[{"backdrop-opacity":[p,s,n]}],"backdrop-saturate":[{"backdrop-saturate":[p,s,n]}],"backdrop-sepia":[{"backdrop-sepia":["",p,s,n]}],"border-collapse":[{border:["collapse","separate"]}],"border-spacing":[{"border-spacing":i()}],"border-spacing-x":[{"border-spacing-x":i()}],"border-spacing-y":[{"border-spacing-y":i()}],"table-layout":[{table:["auto","fixed"]}],caption:[{caption:["top","bottom"]}],transition:[{transition:["","all","colors","opacity","shadow","transform","none",s,n]}],"transition-behavior":[{transition:["normal","discrete"]}],duration:[{duration:[p,"initial",s,n]}],ease:[{ease:["linear","initial",N,s,n]}],delay:[{delay:[p,s,n]}],animate:[{animate:["none",A,s,n]}],backface:[{backface:["hidden","visible"]}],perspective:[{perspective:[h,s,n]}],"perspective-origin":[{"perspective-origin":W()}],rotate:[{rotate:q()}],"rotate-x":[{"rotate-x":q()}],"rotate-y":[{"rotate-y":q()}],"rotate-z":[{"rotate-z":q()}],scale:[{scale:Q()}],"scale-x":[{"scale-x":Q()}],"scale-y":[{"scale-y":Q()}],"scale-z":[{"scale-z":Q()}],"scale-3d":["scale-3d"],skew:[{skew:me()}],"skew-x":[{"skew-x":me()}],"skew-y":[{"skew-y":me()}],transform:[{transform:[s,n,"","none","gpu","cpu"]}],"transform-origin":[{origin:W()}],"transform-style":[{transform:["3d","flat"]}],translate:[{translate:ee()}],"translate-x":[{"translate-x":ee()}],"translate-y":[{"translate-y":ee()}],"translate-z":[{"translate-z":ee()}],"translate-none":["translate-none"],zoom:[{zoom:[T,s,n]}],accent:[{accent:c()}],appearance:[{appearance:["none","auto"]}],"caret-color":[{caret:c()}],"color-scheme":[{scheme:["normal","dark","light","light-dark","only-dark","only-light"]}],cursor:[{cursor:["auto","default","pointer","wait","text","move","help","not-allowed","none","context-menu","progress","cell","crosshair","vertical-text","alias","copy","no-drop","grab","grabbing","all-scroll","col-resize","row-resize","n-resize","e-resize","s-resize","w-resize","ne-resize","nw-resize","se-resize","sw-resize","ew-resize","ns-resize","nesw-resize","nwse-resize","zoom-in","zoom-out",s,n]}],"field-sizing":[{"field-sizing":["fixed","content"]}],"pointer-events":[{"pointer-events":["auto","none"]}],resize:[{resize:["none","","y","x"]}],"scroll-behavior":[{scroll:["auto","smooth"]}],"scrollbar-thumb-color":[{"scrollbar-thumb":c()}],"scrollbar-track-color":[{"scrollbar-track":c()}],"scrollbar-gutter":[{"scrollbar-gutter":["auto","stable","both"]}],"scrollbar-w":[{scrollbar:["auto","thin","none"]}],"scroll-m":[{"scroll-m":i()}],"scroll-mx":[{"scroll-mx":i()}],"scroll-my":[{"scroll-my":i()}],"scroll-ms":[{"scroll-ms":i()}],"scroll-me":[{"scroll-me":i()}],"scroll-mbs":[{"scroll-mbs":i()}],"scroll-mbe":[{"scroll-mbe":i()}],"scroll-mt":[{"scroll-mt":i()}],"scroll-mr":[{"scroll-mr":i()}],"scroll-mb":[{"scroll-mb":i()}],"scroll-ml":[{"scroll-ml":i()}],"scroll-p":[{"scroll-p":i()}],"scroll-px":[{"scroll-px":i()}],"scroll-py":[{"scroll-py":i()}],"scroll-ps":[{"scroll-ps":i()}],"scroll-pe":[{"scroll-pe":i()}],"scroll-pbs":[{"scroll-pbs":i()}],"scroll-pbe":[{"scroll-pbe":i()}],"scroll-pt":[{"scroll-pt":i()}],"scroll-pr":[{"scroll-pr":i()}],"scroll-pb":[{"scroll-pb":i()}],"scroll-pl":[{"scroll-pl":i()}],"snap-align":[{snap:["start","end","center","align-none"]}],"snap-stop":[{snap:["normal","always"]}],"snap-type":[{snap:["none","x","y","both"]}],"snap-strictness":[{snap:["mandatory","proximity"]}],touch:[{touch:["auto","none","manipulation"]}],"touch-x":[{"touch-pan":["x","left","right"]}],"touch-y":[{"touch-pan":["y","up","down"]}],"touch-pz":["touch-pinch-zoom"],select:[{select:["none","text","all","auto"]}],"will-change":[{"will-change":["auto","scroll","contents","transform",s,n]}],fill:[{fill:["none",...c()]}],"stroke-w":[{stroke:[p,D,B,Ce]}],stroke:[{stroke:["none",...c()]}],"forced-color-adjust":[{"forced-color-adjust":["auto","none"]}]},conflictingClassGroups:{"container-named":["container-type"],overflow:["overflow-x","overflow-y"],overscroll:["overscroll-x","overscroll-y"],inset:["inset-x","inset-y","inset-bs","inset-be","start","end","top","right","bottom","left"],"inset-x":["start","end","right","left"],"inset-y":["inset-bs","inset-be","top","bottom"],flex:["basis","grow","shrink"],gap:["gap-x","gap-y"],p:["px","py","ps","pe","pbs","pbe","pt","pr","pb","pl"],px:["ps","pe","pr","pl"],py:["pbs","pbe","pt","pb"],m:["mx","my","ms","me","mbs","mbe","mt","mr","mb","ml"],mx:["ms","me","mr","ml"],my:["mbs","mbe","mt","mb"],size:["w","h"],"font-size":["leading"],"fvn-normal":["fvn-ordinal","fvn-slashed-zero","fvn-figure","fvn-spacing","fvn-fraction"],"fvn-ordinal":["fvn-normal"],"fvn-slashed-zero":["fvn-normal"],"fvn-figure":["fvn-normal"],"fvn-spacing":["fvn-normal"],"fvn-fraction":["fvn-normal"],"line-clamp":["display","overflow"],rounded:["rounded-s","rounded-e","rounded-t","rounded-r","rounded-b","rounded-l","rounded-ss","rounded-se","rounded-ee","rounded-es","rounded-tl","rounded-tr","rounded-br","rounded-bl"],"rounded-s":["rounded-ss","rounded-es"],"rounded-e":["rounded-se","rounded-ee"],"rounded-t":["rounded-tl","rounded-tr"],"rounded-r":["rounded-tr","rounded-br"],"rounded-b":["rounded-br","rounded-bl"],"rounded-l":["rounded-tl","rounded-bl"],"border-spacing":["border-spacing-x","border-spacing-y"],"border-w":["border-w-x","border-w-y","border-w-s","border-w-e","border-w-bs","border-w-be","border-w-t","border-w-r","border-w-b","border-w-l"],"border-w-x":["border-w-s","border-w-e","border-w-r","border-w-l"],"border-w-y":["border-w-bs","border-w-be","border-w-t","border-w-b"],"border-color":["border-color-x","border-color-y","border-color-s","border-color-e","border-color-bs","border-color-be","border-color-t","border-color-r","border-color-b","border-color-l"],"border-color-x":["border-color-s","border-color-e","border-color-r","border-color-l"],"border-color-y":["border-color-bs","border-color-be","border-color-t","border-color-b"],translate:["translate-x","translate-y","translate-none"],"translate-none":["translate","translate-x","translate-y","translate-z"],"scroll-m":["scroll-mx","scroll-my","scroll-ms","scroll-me","scroll-mbs","scroll-mbe","scroll-mt","scroll-mr","scroll-mb","scroll-ml"],"scroll-mx":["scroll-ms","scroll-me","scroll-mr","scroll-ml"],"scroll-my":["scroll-mbs","scroll-mbe","scroll-mt","scroll-mb"],"scroll-p":["scroll-px","scroll-py","scroll-ps","scroll-pe","scroll-pbs","scroll-pbe","scroll-pt","scroll-pr","scroll-pb","scroll-pl"],"scroll-px":["scroll-ps","scroll-pe","scroll-pr","scroll-pl"],"scroll-py":["scroll-pbs","scroll-pbe","scroll-pt","scroll-pb"],touch:["touch-x","touch-y","touch-pz"],"touch-x":["touch"],"touch-y":["touch"],"touch-pz":["touch"]},conflictingClassGroupModifiers:{"font-size":["leading"]},postfixLookupClassGroups:["container-type"],orderSensitiveModifiers:["*","**","after","backdrop","before","details-content","file","first-letter","first-line","marker","placeholder","selection"]}});function Bo(...e){return Ro(De(e))}const Ee={"+1":{pattern:/^[2-9]\d{9}$/,minLength:10,maxLength:10,description:"10 digits, cannot start with 0 or 1"},"+44":{pattern:/^\d{10}$/,minLength:10,maxLength:10,description:"10 digits"},"+61":{pattern:/^\d{9}$/,minLength:9,maxLength:9,description:"9 digits"},"+971":{pattern:/^\d{8,9}$/,minLength:8,maxLength:9,description:"8-9 digits"},"+65":{pattern:/^\d{8}$/,minLength:8,maxLength:8,description:"8 digits"},"+49":{pattern:/^\d{10,11}$/,minLength:10,maxLength:11,description:"10-11 digits"},"+91":{pattern:/^[6-9]\d{9}$/,minLength:10,maxLength:10,description:"10 digits, must start with 6-9"},"+974":{pattern:/^\d{8}$/,minLength:8,maxLength:8,description:"8 digits"},"+60":{pattern:/^\d{9,10}$/,minLength:9,maxLength:10,description:"9-10 digits"},"+27":{pattern:/^\d{9}$/,minLength:9,maxLength:9,description:"9 digits"},"+64":{pattern:/^\d{8,10}$/,minLength:8,maxLength:10,description:"8-10 digits"},"+230":{pattern:/^\d{7,8}$/,minLength:7,maxLength:8,description:"7-8 digits"}},Ge={pattern:/^\d{6,15}$/,maxLength:15,description:"6-15 digits"},Oo=(e,r)=>{if(!e)return{isValid:!0,error:""};const t=Ee[r]||Ge;return t.pattern.test(e)?{isValid:!0,error:""}:{isValid:!1,error:`Please enter a valid phone number (${t.description})`}},jo=e=>(Ee[e]||Ge).maxLength,Fo=[{name:"United States",code:"+1",iso:"US"},{name:"United Kingdom",code:"+44",iso:"GB"},{name:"Australia",code:"+61",iso:"AU"},{name:"Canada",code:"+1",iso:"CA"},{name:"United Arab Emirates",code:"+971",iso:"AE"},{name:"Singapore",code:"+65",iso:"SG"},{name:"New Zealand",code:"+64",iso:"NZ"},{name:"Mauritius",code:"+230",iso:"MU"},{name:"Netherlands",code:"+31",iso:"NL"},{name:"Malaysia",code:"+60",iso:"MY"},{name:"Germany",code:"+49",iso:"DE"},{name:"South Africa",code:"+27",iso:"ZA"},{name:"Qatar",code:"+974",iso:"QA"},{name:"Ireland",code:"+353",iso:"IE"},{name:"Oman",code:"+968",iso:"OM"},{name:"Saudi Arabia",code:"+966",iso:"SA"},{name:"Hong Kong",code:"+852",iso:"HK"},{name:"France",code:"+33",iso:"FR"},{name:"Switzerland",code:"+41",iso:"CH"},{name:"Bahrain",code:"+973",iso:"BH"},{name:"Trinidad and Tobago",code:"+1-868",iso:"TT"},{name:"Kuwait",code:"+965",iso:"KW"},{name:"Belgium",code:"+32",iso:"BE"},{name:"Japan",code:"+81",iso:"JP"},{name:"Italy",code:"+39",iso:"IT"},{name:"Spain",code:"+34",iso:"ES"},{name:"Norway",code:"+47",iso:"NO"},{name:"Sweden",code:"+46",iso:"SE"},{name:"Portugal",code:"+351",iso:"PT"},{name:"Poland",code:"+48",iso:"PL"},{name:"Denmark",code:"+45",iso:"DK"},{name:"Nepal",code:"+977",iso:"NP"},{name:"Bangladesh",code:"+880",iso:"BD"},{name:"Kenya",code:"+254",iso:"KE"},{name:"Mexico",code:"+52",iso:"MX"},{name:"Czechia",code:"+420",iso:"CZ"},{name:"Indonesia",code:"+62",iso:"ID"},{name:"Taiwan",code:"+886",iso:"TW"},{name:"Fiji",code:"+679",iso:"FJ"},{name:"Guyana",code:"+592",iso:"GY"},{name:"Finland",code:"+358",iso:"FI"},{name:"Nigeria",code:"+234",iso:"NG"},{name:"Jamaica",code:"+1-876",iso:"JM"},{name:"Sri Lanka",code:"+94",iso:"LK"},{name:"Thailand",code:"+66",iso:"TH"},{name:"Hungary",code:"+36",iso:"HU"},{name:"Tanzania",code:"+255",iso:"TZ"},{name:"Sint Maarten",code:"+1-721",iso:"SX"},{name:"Philippines",code:"+63",iso:"PH"},{name:"Estonia",code:"+372",iso:"EE"},{name:"Ukraine",code:"+380",iso:"UA"},{name:"Austria",code:"+43",iso:"AT"},{name:"Réunion",code:"+262",iso:"RE"},{name:"India",code:"+91",iso:"IN"}],Vo=e=>{if(!e||e.length!==2)return"🏳️";const r=e.toUpperCase().split("").map(t=>127397+t.charCodeAt(0));return String.fromCodePoint(...r)};function Wo(e,r){const t=oe.createContext(null),o=({locale:d,children:l})=>{const b={locale:d,t:m=>e[d]?.[m]||(r?e[r]?.[m]:void 0)||""};return w.jsx(t.Provider,{value:b,children:l})};function a(){return oe.useContext(t)}return{I18nProvider:o,useI18n:a}}C.BottomSheet=$e,C.DEFAULT_COUNTRIES=Fo,C.cn=Bo,C.createI18n=Wo,C.getFlagEmoji=Vo,C.getMaxLengthForCountry=jo,C.validatePhoneByCountryCode=Oo,Object.defineProperty(C,Symbol.toStringTag,{value:"Module"})}));
1
+ (function(C,w){typeof exports=="object"&&typeof module<"u"?w(exports,require("react/jsx-runtime"),require("react")):typeof define=="function"&&define.amd?define(["exports","react/jsx-runtime","react"],w):(C=typeof globalThis<"u"?globalThis:C||self,w(C.SrimandirCommon={},C.ReactJSXRuntime,C.React))})(this,(function(C,w,oe){"use strict";const G={overlay:"_overlay_15iql_3",sheet:"_sheet_15iql_14",handle:"_handle_15iql_66",closeBtn:"_closeBtn_15iql_75",closeBtnOutside:"_closeBtnOutside_15iql_100",header:"_header_15iql_116",body:"_body_15iql_25",footer:"_footer_15iql_128"},te=(...e)=>e.filter(Boolean).join(" "),Ue=()=>w.jsx("svg",{width:"16",height:"16",viewBox:"0 0 16 16",fill:"none","aria-hidden":"true",children:w.jsx("path",{d:"M12 4L4 12M4 4l8 8",stroke:"currentColor",strokeWidth:"1.8",strokeLinecap:"round"})}),$e=({isOpen:e,onClose:r,children:t,header:o,footer:a,showCloseButton:d=!0,closeButtonOutside:l=!1,showDragHandle:u=!1,closeOnBackdropClick:b=!0,closeOnEscape:m=!0,lockBodyScroll:g=!0,ariaLabel:y,className:M="",overlayClassName:L="","data-testid":j})=>(oe.useEffect(()=>{if(!e)return;const h=N=>{N.key==="Escape"&&r()};m&&document.addEventListener("keydown",h);const z=document.body.style.overflow;return g&&(document.body.style.overflow="hidden"),()=>{m&&document.removeEventListener("keydown",h),g&&(document.body.style.overflow=z)}},[e,r,m,g]),e?w.jsx("div",{className:te(G.overlay,L),role:"presentation",onClick:h=>{b&&h.target===h.currentTarget&&r()},children:w.jsxs("div",{className:te(G.sheet,M),role:"dialog","aria-modal":"true","aria-label":y,"data-testid":j,children:[u&&w.jsx("div",{className:G.handle,"aria-hidden":"true"}),d&&w.jsx("button",{type:"button",className:te(G.closeBtn,l&&G.closeBtnOutside),onClick:r,"aria-label":"Close",children:w.jsx(Ue,{})}),o&&w.jsx("div",{className:G.header,children:o}),w.jsx("div",{className:G.body,children:t}),a&&w.jsx("div",{className:G.footer,children:a})]})}):null);function pe(e){var r,t,o="";if(typeof e=="string"||typeof e=="number")o+=e;else if(typeof e=="object")if(Array.isArray(e)){var a=e.length;for(r=0;r<a;r++)e[r]&&(t=pe(e[r]))&&(o&&(o+=" "),o+=t)}else for(t in e)e[t]&&(o&&(o+=" "),o+=t);return o}function De(){for(var e,r,t=0,o="",a=arguments.length;t<a;t++)(e=arguments[t])&&(r=pe(e))&&(o&&(o+=" "),o+=r);return o}const qe=(e,r)=>{const t=new Array(e.length+r.length);for(let o=0;o<e.length;o++)t[o]=e[o];for(let o=0;o<r.length;o++)t[e.length+o]=r[o];return t},Ke=(e,r)=>({classGroupId:e,validator:r}),ue=(e=new Map,r=null,t)=>({nextPart:e,validators:r,classGroupId:t}),K="-",be=[],He="arbitrary..",Je=e=>{const r=Xe(e),{conflictingClassGroups:t,conflictingClassGroupModifiers:o}=e;return{getClassGroupId:l=>{if(l.startsWith("[")&&l.endsWith("]"))return Ye(l);const u=l.split(K),b=u[0]===""&&u.length>1?1:0;return fe(u,b,r)},getConflictingClassGroupIds:(l,u)=>{if(u){const b=o[l],m=t[l];return b?m?qe(m,b):b:m||be}return t[l]||be}}},fe=(e,r,t)=>{if(e.length-r===0)return t.classGroupId;const a=e[r],d=t.nextPart.get(a);if(d){const m=fe(e,r+1,d);if(m)return m}const l=t.validators;if(l===null)return;const u=r===0?e.join(K):e.slice(r).join(K),b=l.length;for(let m=0;m<b;m++){const g=l[m];if(g.validator(u))return g.classGroupId}},Ye=e=>e.slice(1,-1).indexOf(":")===-1?void 0:(()=>{const r=e.slice(1,-1),t=r.indexOf(":"),o=r.slice(0,t);return o?He+o:void 0})(),Xe=e=>{const{theme:r,classGroups:t}=e;return Ze(t,r)},Ze=(e,r)=>{const t=ue();for(const o in e){const a=e[o];re(a,t,o,r)}return t},re=(e,r,t,o)=>{const a=e.length;for(let d=0;d<a;d++){const l=e[d];Qe(l,r,t,o)}},Qe=(e,r,t,o)=>{if(typeof e=="string"){eo(e,r,t);return}if(typeof e=="function"){oo(e,r,t,o);return}to(e,r,t,o)},eo=(e,r,t)=>{const o=e===""?r:ge(r,e);o.classGroupId=t},oo=(e,r,t,o)=>{if(ro(e)){re(e(o),r,t,o);return}r.validators===null&&(r.validators=[]),r.validators.push(Ke(t,e))},to=(e,r,t,o)=>{const a=Object.entries(e),d=a.length;for(let l=0;l<d;l++){const[u,b]=a[l];re(b,ge(r,u),t,o)}},ge=(e,r)=>{let t=e;const o=r.split(K),a=o.length;for(let d=0;d<a;d++){const l=o[d];let u=t.nextPart.get(l);u||(u=ue(),t.nextPart.set(l,u)),t=u}return t},ro=e=>"isThemeGetter"in e&&e.isThemeGetter===!0,no=e=>{if(e<1)return{get:()=>{},set:()=>{}};let r=0,t=Object.create(null),o=Object.create(null);const a=(d,l)=>{t[d]=l,r++,r>e&&(r=0,o=t,t=Object.create(null))};return{get(d){let l=t[d];if(l!==void 0)return l;if((l=o[d])!==void 0)return a(d,l),l},set(d,l){d in t?t[d]=l:a(d,l)}}},ne="!",he=":",so=[],xe=(e,r,t,o,a)=>({modifiers:e,hasImportantModifier:r,baseClassName:t,maybePostfixModifierPosition:o,isExternal:a}),ao=e=>{const{prefix:r,experimentalParseClassName:t}=e;let o=a=>{const d=[];let l=0,u=0,b=0,m;const g=a.length;for(let h=0;h<g;h++){const z=a[h];if(l===0&&u===0){if(z===he){d.push(a.slice(b,h)),b=h+1;continue}if(z==="/"){m=h;continue}}z==="["?l++:z==="]"?l--:z==="("?u++:z===")"&&u--}const y=d.length===0?a:a.slice(b);let M=y,L=!1;y.endsWith(ne)?(M=y.slice(0,-1),L=!0):y.startsWith(ne)&&(M=y.slice(1),L=!0);const j=m&&m>b?m-b:void 0;return xe(d,L,M,j)};if(r){const a=r+he,d=o;o=l=>l.startsWith(a)?d(l.slice(a.length)):xe(so,!1,l,void 0,!0)}if(t){const a=o;o=d=>t({className:d,parseClassName:a})}return o},io=e=>{const r=new Map;return e.orderSensitiveModifiers.forEach((t,o)=>{r.set(t,1e6+o)}),t=>{const o=[];let a=[];for(let d=0;d<t.length;d++){const l=t[d],u=l[0]==="[",b=r.has(l);u||b?(a.length>0&&(a.sort(),o.push(...a),a=[]),o.push(l)):a.push(l)}return a.length>0&&(a.sort(),o.push(...a)),o}},lo=e=>({cache:no(e.cacheSize),parseClassName:ao(e),sortModifiers:io(e),postfixLookupClassGroupIds:co(e),...Je(e)}),co=e=>{const r=Object.create(null),t=e.postfixLookupClassGroups;if(t)for(let o=0;o<t.length;o++)r[t[o]]=!0;return r},mo=/\s+/,po=(e,r)=>{const{parseClassName:t,getClassGroupId:o,getConflictingClassGroupIds:a,sortModifiers:d,postfixLookupClassGroupIds:l}=r,u=[],b=e.trim().split(mo);let m="";for(let g=b.length-1;g>=0;g-=1){const y=b[g],{isExternal:M,modifiers:L,hasImportantModifier:j,baseClassName:h,maybePostfixModifierPosition:z}=t(y);if(M){m=y+(m.length>0?" "+m:m);continue}let N=!!z,A;if(N){const E=h.substring(0,z);A=o(E);const i=A&&l[A]?o(h):void 0;i&&i!==A&&(A=i,N=!1)}else A=o(h);if(!A){if(!N){m=y+(m.length>0?" "+m:m);continue}if(A=o(h),!A){m=y+(m.length>0?" "+m:m);continue}N=!1}const q=L.length===0?"":L.length===1?L[0]:d(L).join(":"),V=j?q+ne:q,W=V+A;if(u.indexOf(W)>-1)continue;u.push(W);const U=a(A,N);for(let E=0;E<U.length;++E){const i=U[E];u.push(V+i)}m=y+(m.length>0?" "+m:m)}return m},uo=(...e)=>{let r=0,t,o,a="";for(;r<e.length;)(t=e[r++])&&(o=ye(t))&&(a&&(a+=" "),a+=o);return a},ye=e=>{if(typeof e=="string")return e;let r,t="";for(let o=0;o<e.length;o++)e[o]&&(r=ye(e[o]))&&(t&&(t+=" "),t+=r);return t},bo=(e,...r)=>{let t,o,a,d;const l=b=>{const m=r.reduce((g,y)=>y(g),e());return t=lo(m),o=t.cache.get,a=t.cache.set,d=u,u(b)},u=b=>{const m=o(b);if(m)return m;const g=po(b,t);return a(b,g),g};return d=l,(...b)=>d(uo(...b))},fo=[],f=e=>{const r=t=>t[e]||fo;return r.isThemeGetter=!0,r.themeKey=e,r},we=/^\[(?:(\w[\w-]*):)?(.+)\]$/i,ke=/^\((?:(\w[\w-]*):)?(.+)\)$/i,go=/^\d+(?:\.\d+)?\/\d+(?:\.\d+)?$/,ho=/^(\d+(\.\d+)?)?(xs|sm|md|lg|xl)$/,xo=/\d+(%|px|r?em|[sdl]?v([hwib]|min|max)|pt|pc|in|cm|mm|cap|ch|ex|r?lh|cq(w|h|i|b|min|max))|\b(calc|min|max|clamp)\(.+\)|^0$/,yo=/^(rgba?|hsla?|hwb|(ok)?(lab|lch)|color-mix|color|light-dark)\(.+\)$/,wo=/^(inset_)?-?((\d+)?\.?(\d+)[a-z]+|0)_-?((\d+)?\.?(\d+)[a-z]+|0)/,ko=/^(url|image|image-set|cross-fade|element|(repeating-)?(linear|radial|conic)-gradient)\(.+\)$/,_=e=>go.test(e),p=e=>!!e&&!Number.isNaN(Number(e)),T=e=>!!e&&Number.isInteger(Number(e)),se=e=>e.endsWith("%")&&p(e.slice(0,-1)),P=e=>ho.test(e),ve=()=>!0,vo=e=>xo.test(e)&&!yo.test(e),ae=()=>!1,Co=e=>wo.test(e),zo=e=>ko.test(e),Ao=e=>!n(e)&&!s(e),So=e=>e.startsWith("@container")&&(e[10]==="/"&&e[11]!==void 0||e[11]==="s"&&e[16]!==void 0&&e.startsWith("-size/",10)||e[11]==="n"&&e[18]!==void 0&&e.startsWith("-normal/",10)),Lo=e=>R(e,Ie,ae),n=e=>we.test(e),B=e=>R(e,Te,vo),Ce=e=>R(e,_o,p),Io=e=>R(e,Me,ve),To=e=>R(e,Pe,ae),ze=e=>R(e,Se,ae),Po=e=>R(e,Le,zo),H=e=>R(e,Ne,Co),s=e=>ke.test(e),D=e=>O(e,Te),Mo=e=>O(e,Pe),Ae=e=>O(e,Se),No=e=>O(e,Ie),Eo=e=>O(e,Le),J=e=>O(e,Ne,!0),Go=e=>O(e,Me,!0),R=(e,r,t)=>{const o=we.exec(e);return o?o[1]?r(o[1]):t(o[2]):!1},O=(e,r,t=!1)=>{const o=ke.exec(e);return o?o[1]?r(o[1]):t:!1},Se=e=>e==="position"||e==="percentage",Le=e=>e==="image"||e==="url",Ie=e=>e==="length"||e==="size"||e==="bg-size",Te=e=>e==="length",_o=e=>e==="number",Pe=e=>e==="family-name",Me=e=>e==="number"||e==="weight",Ne=e=>e==="shadow",Ro=bo(()=>{const e=f("color"),r=f("font"),t=f("text"),o=f("font-weight"),a=f("tracking"),d=f("leading"),l=f("breakpoint"),u=f("container"),b=f("spacing"),m=f("radius"),g=f("shadow"),y=f("inset-shadow"),M=f("text-shadow"),L=f("drop-shadow"),j=f("blur"),h=f("perspective"),z=f("aspect"),N=f("ease"),A=f("animate"),q=()=>["auto","avoid","all","avoid-page","page","left","right","column"],V=()=>["center","top","bottom","left","right","top-left","left-top","top-right","right-top","bottom-right","right-bottom","bottom-left","left-bottom"],W=()=>[...V(),s,n],U=()=>["auto","hidden","clip","visible","scroll"],E=()=>["auto","contain","none"],i=()=>[s,n,b],S=()=>[_,"full","auto",...i()],_e=()=>[T,"none","subgrid",s,n],Re=()=>["auto",{span:["full",T,s,n]},T,s,n],Y=()=>[T,"auto",s,n],Be=()=>["auto","min","max","fr",s,n],ie=()=>["start","end","center","between","around","evenly","stretch","baseline","center-safe","end-safe"],$=()=>["start","end","center","stretch","center-safe","end-safe"],I=()=>["auto",...i()],F=()=>[_,"auto","full","dvw","dvh","lvw","lvh","svw","svh","min","max","fit",...i()],le=()=>[u,_,"screen","full","dvw","lvw","svw","min","max","fit",...i()],ce=()=>[_,"screen","full","lh","dvh","lvh","svh","min","max","fit",...i()],c=()=>[e,s,n],Oe=()=>[...V(),Ae,ze,{position:[s,n]}],je=()=>["no-repeat",{repeat:["","x","y","space","round"]}],Fe=()=>["auto","cover","contain",No,Lo,{size:[s,n]}],de=()=>[se,D,B],k=()=>["","none","full",m,s,n],v=()=>["",p,D,B],X=()=>["solid","dashed","dotted","double"],Ve=()=>["normal","multiply","screen","overlay","darken","lighten","color-dodge","color-burn","hard-light","soft-light","difference","exclusion","hue","saturation","color","luminosity"],x=()=>[p,se,Ae,ze],We=()=>["","none",j,s,n],Z=()=>["none",p,s,n],Q=()=>["none",p,s,n],me=()=>[p,s,n],ee=()=>[_,"full",...i()];return{cacheSize:500,theme:{animate:["spin","ping","pulse","bounce"],aspect:["video"],blur:[P],breakpoint:[P],color:[ve],container:[P],"drop-shadow":[P],ease:["in","out","in-out"],font:[Ao],"font-weight":["thin","extralight","light","normal","medium","semibold","bold","extrabold","black"],"inset-shadow":[P],leading:["none","tight","snug","normal","relaxed","loose"],perspective:["dramatic","near","normal","midrange","distant","none"],radius:[P],shadow:[P],spacing:["px",p],text:[P],"text-shadow":[P],tracking:["tighter","tight","normal","wide","wider","widest"]},classGroups:{aspect:[{aspect:["auto","square",_,n,s,z]}],container:["container"],"container-type":[{"@container":["","normal","size",s,n]}],"container-named":[So],columns:[{columns:[p,"auto",n,s,u]}],"break-after":[{"break-after":q()}],"break-before":[{"break-before":q()}],"break-inside":[{"break-inside":["auto","avoid","avoid-page","avoid-column"]}],"box-decoration":[{"box-decoration":["slice","clone"]}],box:[{box:["border","content"]}],display:["block","inline-block","inline","flex","inline-flex","table","inline-table","table-caption","table-cell","table-column","table-column-group","table-footer-group","table-header-group","table-row-group","table-row","flow-root","grid","inline-grid","contents","list-item","hidden"],sr:["sr-only","not-sr-only"],float:[{float:["right","left","none","start","end"]}],clear:[{clear:["left","right","both","none","start","end"]}],isolation:["isolate","isolation-auto"],"object-fit":[{object:["contain","cover","fill","none","scale-down"]}],"object-position":[{object:W()}],overflow:[{overflow:U()}],"overflow-x":[{"overflow-x":U()}],"overflow-y":[{"overflow-y":U()}],overscroll:[{overscroll:E()}],"overscroll-x":[{"overscroll-x":E()}],"overscroll-y":[{"overscroll-y":E()}],position:["static","fixed","absolute","relative","sticky"],inset:[{inset:S()}],"inset-x":[{"inset-x":S()}],"inset-y":[{"inset-y":S()}],start:[{"inset-s":S(),start:S()}],end:[{"inset-e":S(),end:S()}],"inset-bs":[{"inset-bs":S()}],"inset-be":[{"inset-be":S()}],top:[{top:S()}],right:[{right:S()}],bottom:[{bottom:S()}],left:[{left:S()}],visibility:["visible","invisible","collapse"],z:[{z:[T,"auto",s,n]}],basis:[{basis:[_,"full","auto",u,...i()]}],"flex-direction":[{flex:["row","row-reverse","col","col-reverse"]}],"flex-wrap":[{flex:["nowrap","wrap","wrap-reverse"]}],flex:[{flex:[p,_,"auto","initial","none",n]}],grow:[{grow:["",p,s,n]}],shrink:[{shrink:["",p,s,n]}],order:[{order:[T,"first","last","none",s,n]}],"grid-cols":[{"grid-cols":_e()}],"col-start-end":[{col:Re()}],"col-start":[{"col-start":Y()}],"col-end":[{"col-end":Y()}],"grid-rows":[{"grid-rows":_e()}],"row-start-end":[{row:Re()}],"row-start":[{"row-start":Y()}],"row-end":[{"row-end":Y()}],"grid-flow":[{"grid-flow":["row","col","dense","row-dense","col-dense"]}],"auto-cols":[{"auto-cols":Be()}],"auto-rows":[{"auto-rows":Be()}],gap:[{gap:i()}],"gap-x":[{"gap-x":i()}],"gap-y":[{"gap-y":i()}],"justify-content":[{justify:[...ie(),"normal"]}],"justify-items":[{"justify-items":[...$(),"normal"]}],"justify-self":[{"justify-self":["auto",...$()]}],"align-content":[{content:["normal",...ie()]}],"align-items":[{items:[...$(),{baseline:["","last"]}]}],"align-self":[{self:["auto",...$(),{baseline:["","last"]}]}],"place-content":[{"place-content":ie()}],"place-items":[{"place-items":[...$(),"baseline"]}],"place-self":[{"place-self":["auto",...$()]}],p:[{p:i()}],px:[{px:i()}],py:[{py:i()}],ps:[{ps:i()}],pe:[{pe:i()}],pbs:[{pbs:i()}],pbe:[{pbe:i()}],pt:[{pt:i()}],pr:[{pr:i()}],pb:[{pb:i()}],pl:[{pl:i()}],m:[{m:I()}],mx:[{mx:I()}],my:[{my:I()}],ms:[{ms:I()}],me:[{me:I()}],mbs:[{mbs:I()}],mbe:[{mbe:I()}],mt:[{mt:I()}],mr:[{mr:I()}],mb:[{mb:I()}],ml:[{ml:I()}],"space-x":[{"space-x":i()}],"space-x-reverse":["space-x-reverse"],"space-y":[{"space-y":i()}],"space-y-reverse":["space-y-reverse"],size:[{size:F()}],"inline-size":[{inline:["auto",...le()]}],"min-inline-size":[{"min-inline":["auto",...le()]}],"max-inline-size":[{"max-inline":["none",...le()]}],"block-size":[{block:["auto",...ce()]}],"min-block-size":[{"min-block":["auto",...ce()]}],"max-block-size":[{"max-block":["none",...ce()]}],w:[{w:[u,"screen",...F()]}],"min-w":[{"min-w":[u,"screen","none",...F()]}],"max-w":[{"max-w":[u,"screen","none","prose",{screen:[l]},...F()]}],h:[{h:["screen","lh",...F()]}],"min-h":[{"min-h":["screen","lh","none",...F()]}],"max-h":[{"max-h":["screen","lh","none",...F()]}],"font-size":[{text:["base",t,D,B]}],"font-smoothing":["antialiased","subpixel-antialiased"],"font-style":["italic","not-italic"],"font-weight":[{font:[o,Go,Io]}],"font-stretch":[{"font-stretch":["ultra-condensed","extra-condensed","condensed","semi-condensed","normal","semi-expanded","expanded","extra-expanded","ultra-expanded",se,n]}],"font-family":[{font:[Mo,To,r]}],"font-features":[{"font-features":[n]}],"fvn-normal":["normal-nums"],"fvn-ordinal":["ordinal"],"fvn-slashed-zero":["slashed-zero"],"fvn-figure":["lining-nums","oldstyle-nums"],"fvn-spacing":["proportional-nums","tabular-nums"],"fvn-fraction":["diagonal-fractions","stacked-fractions"],tracking:[{tracking:[a,s,n]}],"line-clamp":[{"line-clamp":[p,"none",s,Ce]}],leading:[{leading:["none",d,...i()]}],"list-image":[{"list-image":["none",s,n]}],"list-style-position":[{list:["inside","outside"]}],"list-style-type":[{list:["disc","decimal","none",s,n]}],"text-alignment":[{text:["left","center","right","justify","start","end"]}],"placeholder-color":[{placeholder:c()}],"text-color":[{text:c()}],"text-decoration":["underline","overline","line-through","no-underline"],"text-decoration-style":[{decoration:[...X(),"wavy"]}],"text-decoration-thickness":[{decoration:[p,"from-font","auto",s,B]}],"text-decoration-color":[{decoration:c()}],"underline-offset":[{"underline-offset":[p,"auto",s,n]}],"text-transform":["uppercase","lowercase","capitalize","normal-case"],"text-overflow":["truncate","text-ellipsis","text-clip"],"text-wrap":[{text:["wrap","nowrap","balance","pretty"]}],indent:[{indent:i()}],"tab-size":[{tab:[T,s,n]}],"vertical-align":[{align:["baseline","top","middle","bottom","text-top","text-bottom","sub","super",s,n]}],whitespace:[{whitespace:["normal","nowrap","pre","pre-line","pre-wrap","break-spaces"]}],break:[{break:["normal","words","all","keep"]}],wrap:[{wrap:["break-word","anywhere","normal"]}],hyphens:[{hyphens:["none","manual","auto"]}],content:[{content:["none",s,n]}],"bg-attachment":[{bg:["fixed","local","scroll"]}],"bg-clip":[{"bg-clip":["border","padding","content","text"]}],"bg-origin":[{"bg-origin":["border","padding","content"]}],"bg-position":[{bg:Oe()}],"bg-repeat":[{bg:je()}],"bg-size":[{bg:Fe()}],"bg-image":[{bg:["none",{linear:[{to:["t","tr","r","br","b","bl","l","tl"]},T,s,n],radial:["",s,n],conic:["",T,s,n]},Eo,Po]}],"bg-color":[{bg:c()}],"gradient-from-pos":[{from:de()}],"gradient-via-pos":[{via:de()}],"gradient-to-pos":[{to:de()}],"gradient-from":[{from:c()}],"gradient-via":[{via:c()}],"gradient-to":[{to:c()}],rounded:[{rounded:k()}],"rounded-s":[{"rounded-s":k()}],"rounded-e":[{"rounded-e":k()}],"rounded-t":[{"rounded-t":k()}],"rounded-r":[{"rounded-r":k()}],"rounded-b":[{"rounded-b":k()}],"rounded-l":[{"rounded-l":k()}],"rounded-ss":[{"rounded-ss":k()}],"rounded-se":[{"rounded-se":k()}],"rounded-ee":[{"rounded-ee":k()}],"rounded-es":[{"rounded-es":k()}],"rounded-tl":[{"rounded-tl":k()}],"rounded-tr":[{"rounded-tr":k()}],"rounded-br":[{"rounded-br":k()}],"rounded-bl":[{"rounded-bl":k()}],"border-w":[{border:v()}],"border-w-x":[{"border-x":v()}],"border-w-y":[{"border-y":v()}],"border-w-s":[{"border-s":v()}],"border-w-e":[{"border-e":v()}],"border-w-bs":[{"border-bs":v()}],"border-w-be":[{"border-be":v()}],"border-w-t":[{"border-t":v()}],"border-w-r":[{"border-r":v()}],"border-w-b":[{"border-b":v()}],"border-w-l":[{"border-l":v()}],"divide-x":[{"divide-x":v()}],"divide-x-reverse":["divide-x-reverse"],"divide-y":[{"divide-y":v()}],"divide-y-reverse":["divide-y-reverse"],"border-style":[{border:[...X(),"hidden","none"]}],"divide-style":[{divide:[...X(),"hidden","none"]}],"border-color":[{border:c()}],"border-color-x":[{"border-x":c()}],"border-color-y":[{"border-y":c()}],"border-color-s":[{"border-s":c()}],"border-color-e":[{"border-e":c()}],"border-color-bs":[{"border-bs":c()}],"border-color-be":[{"border-be":c()}],"border-color-t":[{"border-t":c()}],"border-color-r":[{"border-r":c()}],"border-color-b":[{"border-b":c()}],"border-color-l":[{"border-l":c()}],"divide-color":[{divide:c()}],"outline-style":[{outline:[...X(),"none","hidden"]}],"outline-offset":[{"outline-offset":[p,s,n]}],"outline-w":[{outline:["",p,D,B]}],"outline-color":[{outline:c()}],shadow:[{shadow:["","inner","none",g,J,H]}],"shadow-color":[{shadow:c()}],"inset-shadow":[{"inset-shadow":["none",y,J,H]}],"inset-shadow-color":[{"inset-shadow":c()}],"ring-w":[{ring:v()}],"ring-w-inset":["ring-inset"],"ring-color":[{ring:c()}],"ring-offset-w":[{"ring-offset":[p,B]}],"ring-offset-color":[{"ring-offset":c()}],"inset-ring-w":[{"inset-ring":v()}],"inset-ring-color":[{"inset-ring":c()}],"text-shadow":[{"text-shadow":["none",M,J,H]}],"text-shadow-color":[{"text-shadow":c()}],opacity:[{opacity:[p,s,n]}],"mix-blend":[{"mix-blend":[...Ve(),"plus-darker","plus-lighter"]}],"bg-blend":[{"bg-blend":Ve()}],"mask-clip":[{"mask-clip":["border","padding","content","fill","stroke","view"]},"mask-no-clip"],"mask-composite":[{mask:["add","subtract","intersect","exclude"]}],"mask-image-linear-pos":[{"mask-linear":[p]}],"mask-image-linear-from-pos":[{"mask-linear-from":x()}],"mask-image-linear-to-pos":[{"mask-linear-to":x()}],"mask-image-linear-from-color":[{"mask-linear-from":c()}],"mask-image-linear-to-color":[{"mask-linear-to":c()}],"mask-image-t-from-pos":[{"mask-t-from":x()}],"mask-image-t-to-pos":[{"mask-t-to":x()}],"mask-image-t-from-color":[{"mask-t-from":c()}],"mask-image-t-to-color":[{"mask-t-to":c()}],"mask-image-r-from-pos":[{"mask-r-from":x()}],"mask-image-r-to-pos":[{"mask-r-to":x()}],"mask-image-r-from-color":[{"mask-r-from":c()}],"mask-image-r-to-color":[{"mask-r-to":c()}],"mask-image-b-from-pos":[{"mask-b-from":x()}],"mask-image-b-to-pos":[{"mask-b-to":x()}],"mask-image-b-from-color":[{"mask-b-from":c()}],"mask-image-b-to-color":[{"mask-b-to":c()}],"mask-image-l-from-pos":[{"mask-l-from":x()}],"mask-image-l-to-pos":[{"mask-l-to":x()}],"mask-image-l-from-color":[{"mask-l-from":c()}],"mask-image-l-to-color":[{"mask-l-to":c()}],"mask-image-x-from-pos":[{"mask-x-from":x()}],"mask-image-x-to-pos":[{"mask-x-to":x()}],"mask-image-x-from-color":[{"mask-x-from":c()}],"mask-image-x-to-color":[{"mask-x-to":c()}],"mask-image-y-from-pos":[{"mask-y-from":x()}],"mask-image-y-to-pos":[{"mask-y-to":x()}],"mask-image-y-from-color":[{"mask-y-from":c()}],"mask-image-y-to-color":[{"mask-y-to":c()}],"mask-image-radial":[{"mask-radial":[s,n]}],"mask-image-radial-from-pos":[{"mask-radial-from":x()}],"mask-image-radial-to-pos":[{"mask-radial-to":x()}],"mask-image-radial-from-color":[{"mask-radial-from":c()}],"mask-image-radial-to-color":[{"mask-radial-to":c()}],"mask-image-radial-shape":[{"mask-radial":["circle","ellipse"]}],"mask-image-radial-size":[{"mask-radial":[{closest:["side","corner"],farthest:["side","corner"]}]}],"mask-image-radial-pos":[{"mask-radial-at":V()}],"mask-image-conic-pos":[{"mask-conic":[p]}],"mask-image-conic-from-pos":[{"mask-conic-from":x()}],"mask-image-conic-to-pos":[{"mask-conic-to":x()}],"mask-image-conic-from-color":[{"mask-conic-from":c()}],"mask-image-conic-to-color":[{"mask-conic-to":c()}],"mask-mode":[{mask:["alpha","luminance","match"]}],"mask-origin":[{"mask-origin":["border","padding","content","fill","stroke","view"]}],"mask-position":[{mask:Oe()}],"mask-repeat":[{mask:je()}],"mask-size":[{mask:Fe()}],"mask-type":[{"mask-type":["alpha","luminance"]}],"mask-image":[{mask:["none",s,n]}],filter:[{filter:["","none",s,n]}],blur:[{blur:We()}],brightness:[{brightness:[p,s,n]}],contrast:[{contrast:[p,s,n]}],"drop-shadow":[{"drop-shadow":["","none",L,J,H]}],"drop-shadow-color":[{"drop-shadow":c()}],grayscale:[{grayscale:["",p,s,n]}],"hue-rotate":[{"hue-rotate":[p,s,n]}],invert:[{invert:["",p,s,n]}],saturate:[{saturate:[p,s,n]}],sepia:[{sepia:["",p,s,n]}],"backdrop-filter":[{"backdrop-filter":["","none",s,n]}],"backdrop-blur":[{"backdrop-blur":We()}],"backdrop-brightness":[{"backdrop-brightness":[p,s,n]}],"backdrop-contrast":[{"backdrop-contrast":[p,s,n]}],"backdrop-grayscale":[{"backdrop-grayscale":["",p,s,n]}],"backdrop-hue-rotate":[{"backdrop-hue-rotate":[p,s,n]}],"backdrop-invert":[{"backdrop-invert":["",p,s,n]}],"backdrop-opacity":[{"backdrop-opacity":[p,s,n]}],"backdrop-saturate":[{"backdrop-saturate":[p,s,n]}],"backdrop-sepia":[{"backdrop-sepia":["",p,s,n]}],"border-collapse":[{border:["collapse","separate"]}],"border-spacing":[{"border-spacing":i()}],"border-spacing-x":[{"border-spacing-x":i()}],"border-spacing-y":[{"border-spacing-y":i()}],"table-layout":[{table:["auto","fixed"]}],caption:[{caption:["top","bottom"]}],transition:[{transition:["","all","colors","opacity","shadow","transform","none",s,n]}],"transition-behavior":[{transition:["normal","discrete"]}],duration:[{duration:[p,"initial",s,n]}],ease:[{ease:["linear","initial",N,s,n]}],delay:[{delay:[p,s,n]}],animate:[{animate:["none",A,s,n]}],backface:[{backface:["hidden","visible"]}],perspective:[{perspective:[h,s,n]}],"perspective-origin":[{"perspective-origin":W()}],rotate:[{rotate:Z()}],"rotate-x":[{"rotate-x":Z()}],"rotate-y":[{"rotate-y":Z()}],"rotate-z":[{"rotate-z":Z()}],scale:[{scale:Q()}],"scale-x":[{"scale-x":Q()}],"scale-y":[{"scale-y":Q()}],"scale-z":[{"scale-z":Q()}],"scale-3d":["scale-3d"],skew:[{skew:me()}],"skew-x":[{"skew-x":me()}],"skew-y":[{"skew-y":me()}],transform:[{transform:[s,n,"","none","gpu","cpu"]}],"transform-origin":[{origin:W()}],"transform-style":[{transform:["3d","flat"]}],translate:[{translate:ee()}],"translate-x":[{"translate-x":ee()}],"translate-y":[{"translate-y":ee()}],"translate-z":[{"translate-z":ee()}],"translate-none":["translate-none"],zoom:[{zoom:[T,s,n]}],accent:[{accent:c()}],appearance:[{appearance:["none","auto"]}],"caret-color":[{caret:c()}],"color-scheme":[{scheme:["normal","dark","light","light-dark","only-dark","only-light"]}],cursor:[{cursor:["auto","default","pointer","wait","text","move","help","not-allowed","none","context-menu","progress","cell","crosshair","vertical-text","alias","copy","no-drop","grab","grabbing","all-scroll","col-resize","row-resize","n-resize","e-resize","s-resize","w-resize","ne-resize","nw-resize","se-resize","sw-resize","ew-resize","ns-resize","nesw-resize","nwse-resize","zoom-in","zoom-out",s,n]}],"field-sizing":[{"field-sizing":["fixed","content"]}],"pointer-events":[{"pointer-events":["auto","none"]}],resize:[{resize:["none","","y","x"]}],"scroll-behavior":[{scroll:["auto","smooth"]}],"scrollbar-thumb-color":[{"scrollbar-thumb":c()}],"scrollbar-track-color":[{"scrollbar-track":c()}],"scrollbar-gutter":[{"scrollbar-gutter":["auto","stable","both"]}],"scrollbar-w":[{scrollbar:["auto","thin","none"]}],"scroll-m":[{"scroll-m":i()}],"scroll-mx":[{"scroll-mx":i()}],"scroll-my":[{"scroll-my":i()}],"scroll-ms":[{"scroll-ms":i()}],"scroll-me":[{"scroll-me":i()}],"scroll-mbs":[{"scroll-mbs":i()}],"scroll-mbe":[{"scroll-mbe":i()}],"scroll-mt":[{"scroll-mt":i()}],"scroll-mr":[{"scroll-mr":i()}],"scroll-mb":[{"scroll-mb":i()}],"scroll-ml":[{"scroll-ml":i()}],"scroll-p":[{"scroll-p":i()}],"scroll-px":[{"scroll-px":i()}],"scroll-py":[{"scroll-py":i()}],"scroll-ps":[{"scroll-ps":i()}],"scroll-pe":[{"scroll-pe":i()}],"scroll-pbs":[{"scroll-pbs":i()}],"scroll-pbe":[{"scroll-pbe":i()}],"scroll-pt":[{"scroll-pt":i()}],"scroll-pr":[{"scroll-pr":i()}],"scroll-pb":[{"scroll-pb":i()}],"scroll-pl":[{"scroll-pl":i()}],"snap-align":[{snap:["start","end","center","align-none"]}],"snap-stop":[{snap:["normal","always"]}],"snap-type":[{snap:["none","x","y","both"]}],"snap-strictness":[{snap:["mandatory","proximity"]}],touch:[{touch:["auto","none","manipulation"]}],"touch-x":[{"touch-pan":["x","left","right"]}],"touch-y":[{"touch-pan":["y","up","down"]}],"touch-pz":["touch-pinch-zoom"],select:[{select:["none","text","all","auto"]}],"will-change":[{"will-change":["auto","scroll","contents","transform",s,n]}],fill:[{fill:["none",...c()]}],"stroke-w":[{stroke:[p,D,B,Ce]}],stroke:[{stroke:["none",...c()]}],"forced-color-adjust":[{"forced-color-adjust":["auto","none"]}]},conflictingClassGroups:{"container-named":["container-type"],overflow:["overflow-x","overflow-y"],overscroll:["overscroll-x","overscroll-y"],inset:["inset-x","inset-y","inset-bs","inset-be","start","end","top","right","bottom","left"],"inset-x":["start","end","right","left"],"inset-y":["inset-bs","inset-be","top","bottom"],flex:["basis","grow","shrink"],gap:["gap-x","gap-y"],p:["px","py","ps","pe","pbs","pbe","pt","pr","pb","pl"],px:["ps","pe","pr","pl"],py:["pbs","pbe","pt","pb"],m:["mx","my","ms","me","mbs","mbe","mt","mr","mb","ml"],mx:["ms","me","mr","ml"],my:["mbs","mbe","mt","mb"],size:["w","h"],"font-size":["leading"],"fvn-normal":["fvn-ordinal","fvn-slashed-zero","fvn-figure","fvn-spacing","fvn-fraction"],"fvn-ordinal":["fvn-normal"],"fvn-slashed-zero":["fvn-normal"],"fvn-figure":["fvn-normal"],"fvn-spacing":["fvn-normal"],"fvn-fraction":["fvn-normal"],"line-clamp":["display","overflow"],rounded:["rounded-s","rounded-e","rounded-t","rounded-r","rounded-b","rounded-l","rounded-ss","rounded-se","rounded-ee","rounded-es","rounded-tl","rounded-tr","rounded-br","rounded-bl"],"rounded-s":["rounded-ss","rounded-es"],"rounded-e":["rounded-se","rounded-ee"],"rounded-t":["rounded-tl","rounded-tr"],"rounded-r":["rounded-tr","rounded-br"],"rounded-b":["rounded-br","rounded-bl"],"rounded-l":["rounded-tl","rounded-bl"],"border-spacing":["border-spacing-x","border-spacing-y"],"border-w":["border-w-x","border-w-y","border-w-s","border-w-e","border-w-bs","border-w-be","border-w-t","border-w-r","border-w-b","border-w-l"],"border-w-x":["border-w-s","border-w-e","border-w-r","border-w-l"],"border-w-y":["border-w-bs","border-w-be","border-w-t","border-w-b"],"border-color":["border-color-x","border-color-y","border-color-s","border-color-e","border-color-bs","border-color-be","border-color-t","border-color-r","border-color-b","border-color-l"],"border-color-x":["border-color-s","border-color-e","border-color-r","border-color-l"],"border-color-y":["border-color-bs","border-color-be","border-color-t","border-color-b"],translate:["translate-x","translate-y","translate-none"],"translate-none":["translate","translate-x","translate-y","translate-z"],"scroll-m":["scroll-mx","scroll-my","scroll-ms","scroll-me","scroll-mbs","scroll-mbe","scroll-mt","scroll-mr","scroll-mb","scroll-ml"],"scroll-mx":["scroll-ms","scroll-me","scroll-mr","scroll-ml"],"scroll-my":["scroll-mbs","scroll-mbe","scroll-mt","scroll-mb"],"scroll-p":["scroll-px","scroll-py","scroll-ps","scroll-pe","scroll-pbs","scroll-pbe","scroll-pt","scroll-pr","scroll-pb","scroll-pl"],"scroll-px":["scroll-ps","scroll-pe","scroll-pr","scroll-pl"],"scroll-py":["scroll-pbs","scroll-pbe","scroll-pt","scroll-pb"],touch:["touch-x","touch-y","touch-pz"],"touch-x":["touch"],"touch-y":["touch"],"touch-pz":["touch"]},conflictingClassGroupModifiers:{"font-size":["leading"]},postfixLookupClassGroups:["container-type"],orderSensitiveModifiers:["*","**","after","backdrop","before","details-content","file","first-letter","first-line","marker","placeholder","selection"]}});function Bo(...e){return Ro(De(e))}const Ee={"+1":{pattern:/^[2-9]\d{9}$/,minLength:10,maxLength:10,description:"10 digits, cannot start with 0 or 1"},"+44":{pattern:/^\d{10}$/,minLength:10,maxLength:10,description:"10 digits"},"+61":{pattern:/^\d{9}$/,minLength:9,maxLength:9,description:"9 digits"},"+971":{pattern:/^\d{8,9}$/,minLength:8,maxLength:9,description:"8-9 digits"},"+65":{pattern:/^\d{8}$/,minLength:8,maxLength:8,description:"8 digits"},"+49":{pattern:/^\d{10,11}$/,minLength:10,maxLength:11,description:"10-11 digits"},"+91":{pattern:/^[6-9]\d{9}$/,minLength:10,maxLength:10,description:"10 digits, must start with 6-9"},"+974":{pattern:/^\d{8}$/,minLength:8,maxLength:8,description:"8 digits"},"+60":{pattern:/^\d{9,10}$/,minLength:9,maxLength:10,description:"9-10 digits"},"+27":{pattern:/^\d{9}$/,minLength:9,maxLength:9,description:"9 digits"},"+64":{pattern:/^\d{8,10}$/,minLength:8,maxLength:10,description:"8-10 digits"},"+230":{pattern:/^\d{7,8}$/,minLength:7,maxLength:8,description:"7-8 digits"}},Ge={pattern:/^\d{6,15}$/,maxLength:15,description:"6-15 digits"},Oo=(e,r)=>{if(!e)return{isValid:!0,error:""};const t=Ee[r]||Ge;return t.pattern.test(e)?{isValid:!0,error:""}:{isValid:!1,error:`Please enter a valid phone number (${t.description})`}},jo=e=>(Ee[e]||Ge).maxLength,Fo=[{name:"United States",code:"+1",iso:"US"},{name:"United Kingdom",code:"+44",iso:"GB"},{name:"Australia",code:"+61",iso:"AU"},{name:"Canada",code:"+1",iso:"CA"},{name:"United Arab Emirates",code:"+971",iso:"AE"},{name:"Singapore",code:"+65",iso:"SG"},{name:"New Zealand",code:"+64",iso:"NZ"},{name:"Mauritius",code:"+230",iso:"MU"},{name:"Netherlands",code:"+31",iso:"NL"},{name:"Malaysia",code:"+60",iso:"MY"},{name:"Germany",code:"+49",iso:"DE"},{name:"South Africa",code:"+27",iso:"ZA"},{name:"Qatar",code:"+974",iso:"QA"},{name:"Ireland",code:"+353",iso:"IE"},{name:"Oman",code:"+968",iso:"OM"},{name:"Saudi Arabia",code:"+966",iso:"SA"},{name:"Hong Kong",code:"+852",iso:"HK"},{name:"France",code:"+33",iso:"FR"},{name:"Switzerland",code:"+41",iso:"CH"},{name:"Bahrain",code:"+973",iso:"BH"},{name:"Trinidad and Tobago",code:"+1-868",iso:"TT"},{name:"Kuwait",code:"+965",iso:"KW"},{name:"Belgium",code:"+32",iso:"BE"},{name:"Japan",code:"+81",iso:"JP"},{name:"Italy",code:"+39",iso:"IT"},{name:"Spain",code:"+34",iso:"ES"},{name:"Norway",code:"+47",iso:"NO"},{name:"Sweden",code:"+46",iso:"SE"},{name:"Portugal",code:"+351",iso:"PT"},{name:"Poland",code:"+48",iso:"PL"},{name:"Denmark",code:"+45",iso:"DK"},{name:"Nepal",code:"+977",iso:"NP"},{name:"Bangladesh",code:"+880",iso:"BD"},{name:"Kenya",code:"+254",iso:"KE"},{name:"Mexico",code:"+52",iso:"MX"},{name:"Czechia",code:"+420",iso:"CZ"},{name:"Indonesia",code:"+62",iso:"ID"},{name:"Taiwan",code:"+886",iso:"TW"},{name:"Fiji",code:"+679",iso:"FJ"},{name:"Guyana",code:"+592",iso:"GY"},{name:"Finland",code:"+358",iso:"FI"},{name:"Nigeria",code:"+234",iso:"NG"},{name:"Jamaica",code:"+1-876",iso:"JM"},{name:"Sri Lanka",code:"+94",iso:"LK"},{name:"Thailand",code:"+66",iso:"TH"},{name:"Hungary",code:"+36",iso:"HU"},{name:"Tanzania",code:"+255",iso:"TZ"},{name:"Sint Maarten",code:"+1-721",iso:"SX"},{name:"Philippines",code:"+63",iso:"PH"},{name:"Estonia",code:"+372",iso:"EE"},{name:"Ukraine",code:"+380",iso:"UA"},{name:"Austria",code:"+43",iso:"AT"},{name:"Réunion",code:"+262",iso:"RE"},{name:"India",code:"+91",iso:"IN"}],Vo=e=>{if(!e||e.length!==2)return"🏳️";const r=e.toUpperCase().split("").map(t=>127397+t.charCodeAt(0));return String.fromCodePoint(...r)};function Wo(e,r){const t=oe.createContext(null),o=({locale:d,children:l})=>{const b={locale:d,t:m=>e[d]?.[m]||(r?e[r]?.[m]:void 0)||""};return w.jsx(t.Provider,{value:b,children:l})};function a(){return oe.useContext(t)}return{I18nProvider:o,useI18n:a}}C.BottomSheet=$e,C.DEFAULT_COUNTRIES=Fo,C.cn=Bo,C.createI18n=Wo,C.getFlagEmoji=Vo,C.getMaxLengthForCountry=jo,C.validatePhoneByCountryCode=Oo,Object.defineProperty(C,Symbol.toStringTag,{value:"Module"})}));
2
2
  //# sourceMappingURL=common.umd.cjs.map