@vercel/og 0.5.12 → 0.5.14

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.
@@ -3614,7 +3614,7 @@ var $557adaaeb0c7885f$var$LineBreaker = class {
3614
3614
  };
3615
3615
  $557adaaeb0c7885f$exports = $557adaaeb0c7885f$var$LineBreaker;
3616
3616
 
3617
- // node_modules/.pnpm/satori@0.10.3/node_modules/satori/dist/index.wasm.js
3617
+ // node_modules/.pnpm/satori@0.10.6/node_modules/satori/dist/index.wasm.js
3618
3618
  var import_css_to_react_native = __toESM(require_css_to_react_native(), 1);
3619
3619
  var import_css_background_parser = __toESM(require_css_background_parser(), 1);
3620
3620
  var import_css_box_shadow = __toESM(require_css_box_shadow(), 1);
@@ -3751,7 +3751,7 @@ var parseCSSColor = (str) => {
3751
3751
  };
3752
3752
  var index_esm_default = parseCSSColor;
3753
3753
 
3754
- // node_modules/.pnpm/satori@0.10.3/node_modules/satori/dist/index.wasm.js
3754
+ // node_modules/.pnpm/satori@0.10.6/node_modules/satori/dist/index.wasm.js
3755
3755
  var import_postcss_value_parser = __toESM(require_lib(), 1);
3756
3756
  var import_css_to_react_native2 = __toESM(require_css_to_react_native(), 1);
3757
3757
  var import_escape_html = __toESM(require_escape_html(), 1);
@@ -7667,22 +7667,22 @@ function SHZ(a, state) {
7667
7667
  if (exports.DEBUG) {
7668
7668
  console.log(state.step, "SHZ[" + a + "]", e);
7669
7669
  }
7670
- var z;
7670
+ var z2;
7671
7671
  switch (e) {
7672
7672
  case 0:
7673
- z = state.tZone;
7673
+ z2 = state.tZone;
7674
7674
  break;
7675
7675
  case 1:
7676
- z = state.gZone;
7676
+ z2 = state.gZone;
7677
7677
  break;
7678
7678
  default:
7679
7679
  throw new Error("Invalid zone");
7680
7680
  }
7681
7681
  var p;
7682
7682
  var d = pv.distance(rp, rp, false, true);
7683
- var pLen = z.length - 2;
7683
+ var pLen = z2.length - 2;
7684
7684
  for (var i = 0; i < pLen; i++) {
7685
- p = z[i];
7685
+ p = z2[i];
7686
7686
  fv.setRelative(p, p, d, pv);
7687
7687
  }
7688
7688
  }
@@ -11889,7 +11889,7 @@ var opentype = /* @__PURE__ */ Object.freeze({
11889
11889
  });
11890
11890
  var opentype_module_default = opentype;
11891
11891
 
11892
- // node_modules/.pnpm/satori@0.10.3/node_modules/satori/dist/index.wasm.js
11892
+ // node_modules/.pnpm/satori@0.10.6/node_modules/satori/dist/index.wasm.js
11893
11893
  var _l = Object.create;
11894
11894
  var Br = Object.defineProperty;
11895
11895
  var Sl = Object.getOwnPropertyDescriptor;
@@ -11967,19 +11967,19 @@ var zu = T((Zn) => {
11967
11967
  function Yf(e) {
11968
11968
  return e && e.__esModule ? e : { default: e };
11969
11969
  }
11970
- function Ht({ version: e, from: t, to: n }) {
11970
+ function Gt({ version: e, from: t, to: n }) {
11971
11971
  Vf.default.warn(`${t}-color-renamed`, [`As of Tailwind CSS ${e}, \`${t}\` has been renamed to \`${n}\`.`, "Update your configuration file to silence this warning."]);
11972
11972
  }
11973
11973
  var Xf = { inherit: "inherit", current: "currentColor", transparent: "transparent", black: "#000", white: "#fff", slate: { 50: "#f8fafc", 100: "#f1f5f9", 200: "#e2e8f0", 300: "#cbd5e1", 400: "#94a3b8", 500: "#64748b", 600: "#475569", 700: "#334155", 800: "#1e293b", 900: "#0f172a" }, gray: { 50: "#f9fafb", 100: "#f3f4f6", 200: "#e5e7eb", 300: "#d1d5db", 400: "#9ca3af", 500: "#6b7280", 600: "#4b5563", 700: "#374151", 800: "#1f2937", 900: "#111827" }, zinc: { 50: "#fafafa", 100: "#f4f4f5", 200: "#e4e4e7", 300: "#d4d4d8", 400: "#a1a1aa", 500: "#71717a", 600: "#52525b", 700: "#3f3f46", 800: "#27272a", 900: "#18181b" }, neutral: { 50: "#fafafa", 100: "#f5f5f5", 200: "#e5e5e5", 300: "#d4d4d4", 400: "#a3a3a3", 500: "#737373", 600: "#525252", 700: "#404040", 800: "#262626", 900: "#171717" }, stone: { 50: "#fafaf9", 100: "#f5f5f4", 200: "#e7e5e4", 300: "#d6d3d1", 400: "#a8a29e", 500: "#78716c", 600: "#57534e", 700: "#44403c", 800: "#292524", 900: "#1c1917" }, red: { 50: "#fef2f2", 100: "#fee2e2", 200: "#fecaca", 300: "#fca5a5", 400: "#f87171", 500: "#ef4444", 600: "#dc2626", 700: "#b91c1c", 800: "#991b1b", 900: "#7f1d1d" }, orange: { 50: "#fff7ed", 100: "#ffedd5", 200: "#fed7aa", 300: "#fdba74", 400: "#fb923c", 500: "#f97316", 600: "#ea580c", 700: "#c2410c", 800: "#9a3412", 900: "#7c2d12" }, amber: { 50: "#fffbeb", 100: "#fef3c7", 200: "#fde68a", 300: "#fcd34d", 400: "#fbbf24", 500: "#f59e0b", 600: "#d97706", 700: "#b45309", 800: "#92400e", 900: "#78350f" }, yellow: { 50: "#fefce8", 100: "#fef9c3", 200: "#fef08a", 300: "#fde047", 400: "#facc15", 500: "#eab308", 600: "#ca8a04", 700: "#a16207", 800: "#854d0e", 900: "#713f12" }, lime: { 50: "#f7fee7", 100: "#ecfccb", 200: "#d9f99d", 300: "#bef264", 400: "#a3e635", 500: "#84cc16", 600: "#65a30d", 700: "#4d7c0f", 800: "#3f6212", 900: "#365314" }, green: { 50: "#f0fdf4", 100: "#dcfce7", 200: "#bbf7d0", 300: "#86efac", 400: "#4ade80", 500: "#22c55e", 600: "#16a34a", 700: "#15803d", 800: "#166534", 900: "#14532d" }, emerald: { 50: "#ecfdf5", 100: "#d1fae5", 200: "#a7f3d0", 300: "#6ee7b7", 400: "#34d399", 500: "#10b981", 600: "#059669", 700: "#047857", 800: "#065f46", 900: "#064e3b" }, teal: { 50: "#f0fdfa", 100: "#ccfbf1", 200: "#99f6e4", 300: "#5eead4", 400: "#2dd4bf", 500: "#14b8a6", 600: "#0d9488", 700: "#0f766e", 800: "#115e59", 900: "#134e4a" }, cyan: { 50: "#ecfeff", 100: "#cffafe", 200: "#a5f3fc", 300: "#67e8f9", 400: "#22d3ee", 500: "#06b6d4", 600: "#0891b2", 700: "#0e7490", 800: "#155e75", 900: "#164e63" }, sky: { 50: "#f0f9ff", 100: "#e0f2fe", 200: "#bae6fd", 300: "#7dd3fc", 400: "#38bdf8", 500: "#0ea5e9", 600: "#0284c7", 700: "#0369a1", 800: "#075985", 900: "#0c4a6e" }, blue: { 50: "#eff6ff", 100: "#dbeafe", 200: "#bfdbfe", 300: "#93c5fd", 400: "#60a5fa", 500: "#3b82f6", 600: "#2563eb", 700: "#1d4ed8", 800: "#1e40af", 900: "#1e3a8a" }, indigo: { 50: "#eef2ff", 100: "#e0e7ff", 200: "#c7d2fe", 300: "#a5b4fc", 400: "#818cf8", 500: "#6366f1", 600: "#4f46e5", 700: "#4338ca", 800: "#3730a3", 900: "#312e81" }, violet: { 50: "#f5f3ff", 100: "#ede9fe", 200: "#ddd6fe", 300: "#c4b5fd", 400: "#a78bfa", 500: "#8b5cf6", 600: "#7c3aed", 700: "#6d28d9", 800: "#5b21b6", 900: "#4c1d95" }, purple: { 50: "#faf5ff", 100: "#f3e8ff", 200: "#e9d5ff", 300: "#d8b4fe", 400: "#c084fc", 500: "#a855f7", 600: "#9333ea", 700: "#7e22ce", 800: "#6b21a8", 900: "#581c87" }, fuchsia: { 50: "#fdf4ff", 100: "#fae8ff", 200: "#f5d0fe", 300: "#f0abfc", 400: "#e879f9", 500: "#d946ef", 600: "#c026d3", 700: "#a21caf", 800: "#86198f", 900: "#701a75" }, pink: { 50: "#fdf2f8", 100: "#fce7f3", 200: "#fbcfe8", 300: "#f9a8d4", 400: "#f472b6", 500: "#ec4899", 600: "#db2777", 700: "#be185d", 800: "#9d174d", 900: "#831843" }, rose: { 50: "#fff1f2", 100: "#ffe4e6", 200: "#fecdd3", 300: "#fda4af", 400: "#fb7185", 500: "#f43f5e", 600: "#e11d48", 700: "#be123c", 800: "#9f1239", 900: "#881337" }, get lightBlue() {
11974
- return Ht({ version: "v2.2", from: "lightBlue", to: "sky" }), this.sky;
11974
+ return Gt({ version: "v2.2", from: "lightBlue", to: "sky" }), this.sky;
11975
11975
  }, get warmGray() {
11976
- return Ht({ version: "v3.0", from: "warmGray", to: "stone" }), this.stone;
11976
+ return Gt({ version: "v3.0", from: "warmGray", to: "stone" }), this.stone;
11977
11977
  }, get trueGray() {
11978
- return Ht({ version: "v3.0", from: "trueGray", to: "neutral" }), this.neutral;
11978
+ return Gt({ version: "v3.0", from: "trueGray", to: "neutral" }), this.neutral;
11979
11979
  }, get coolGray() {
11980
- return Ht({ version: "v3.0", from: "coolGray", to: "gray" }), this.gray;
11980
+ return Gt({ version: "v3.0", from: "coolGray", to: "gray" }), this.gray;
11981
11981
  }, get blueGray() {
11982
- return Ht({ version: "v3.0", from: "blueGray", to: "slate" }), this.slate;
11982
+ return Gt({ version: "v3.0", from: "blueGray", to: "slate" }), this.slate;
11983
11983
  } };
11984
11984
  });
11985
11985
  var Gu = T((ei) => {
@@ -12017,7 +12017,7 @@ var Vu = T((ri) => {
12017
12017
  "use strict";
12018
12018
  Object.defineProperty(ri, "__esModule", { value: true });
12019
12019
  Object.defineProperty(ri, "normalizeConfig", { enumerable: true, get: () => Zf });
12020
- var Vt = Jf((Qr(), Ir(Xr)));
12020
+ var jt = Jf((Qr(), Ir(Xr)));
12021
12021
  function Hu(e) {
12022
12022
  if (typeof WeakMap != "function")
12023
12023
  return null;
@@ -12070,12 +12070,12 @@ var Vu = T((ri) => {
12070
12070
  return true;
12071
12071
  }
12072
12072
  return false;
12073
- })() || Vt.default.warn("purge-deprecation", ["The `purge`/`content` options have changed in Tailwind CSS v3.0.", "Update your configuration file to eliminate this warning.", "https://tailwindcss.com/docs/upgrade-guide#configure-content-sources"]), e.safelist = (() => {
12073
+ })() || jt.default.warn("purge-deprecation", ["The `purge`/`content` options have changed in Tailwind CSS v3.0.", "Update your configuration file to eliminate this warning.", "https://tailwindcss.com/docs/upgrade-guide#configure-content-sources"]), e.safelist = (() => {
12074
12074
  var r;
12075
12075
  let { content: i, purge: o, safelist: u } = e;
12076
12076
  return Array.isArray(u) ? u : Array.isArray(i == null ? void 0 : i.safelist) ? i.safelist : Array.isArray(o == null ? void 0 : o.safelist) ? o.safelist : Array.isArray(o == null || (r = o.options) === null || r === void 0 ? void 0 : r.safelist) ? o.options.safelist : [];
12077
12077
  })(), typeof e.prefix == "function")
12078
- Vt.default.warn("prefix-function", ["As of Tailwind CSS v3.0, `prefix` cannot be a function.", "Update `prefix` in your configuration to be a string to eliminate this warning.", "https://tailwindcss.com/docs/upgrade-guide#prefix-cannot-be-a-function"]), e.prefix = "";
12078
+ jt.default.warn("prefix-function", ["As of Tailwind CSS v3.0, `prefix` cannot be a function.", "Update `prefix` in your configuration to be a string to eliminate this warning.", "https://tailwindcss.com/docs/upgrade-guide#prefix-cannot-be-a-function"]), e.prefix = "";
12079
12079
  else {
12080
12080
  var n;
12081
12081
  e.prefix = (n = e.prefix) !== null && n !== void 0 ? n : "";
@@ -12112,7 +12112,7 @@ var Vu = T((ri) => {
12112
12112
  })() };
12113
12113
  for (let r of e.content.files)
12114
12114
  if (typeof r == "string" && /{([^,]*?)}/g.test(r)) {
12115
- Vt.default.warn("invalid-glob-braces", [`The glob pattern ${(0, Vt.dim)(r)} in your Tailwind CSS configuration is invalid.`, `Update it to ${(0, Vt.dim)(r.replace(/{([^,]*?)}/g, "$1"))} to silence this warning.`]);
12115
+ jt.default.warn("invalid-glob-braces", [`The glob pattern ${(0, jt.dim)(r)} in your Tailwind CSS configuration is invalid.`, `Update it to ${(0, jt.dim)(r.replace(/{([^,]*?)}/g, "$1"))} to silence this warning.`]);
12116
12116
  break;
12117
12117
  }
12118
12118
  return e;
@@ -12225,7 +12225,7 @@ var rs = T((en, ts) => {
12225
12225
  }
12226
12226
  ts.exports = en.default;
12227
12227
  });
12228
- var Yt = T((Le) => {
12228
+ var Ht = T((Le) => {
12229
12229
  "use strict";
12230
12230
  Le.__esModule = true;
12231
12231
  Le.stripComments = Le.ensureObject = Le.getProp = Le.unesc = void 0;
@@ -12241,11 +12241,11 @@ var Yt = T((Le) => {
12241
12241
  return e && e.__esModule ? e : { default: e };
12242
12242
  }
12243
12243
  });
12244
- var Ue = T((Xt, os) => {
12244
+ var Ue = T((Vt, os) => {
12245
12245
  "use strict";
12246
- Xt.__esModule = true;
12247
- Xt.default = void 0;
12248
- var ns = Yt();
12246
+ Vt.__esModule = true;
12247
+ Vt.default = void 0;
12248
+ var ns = Ht();
12249
12249
  function is(e, t) {
12250
12250
  for (var n = 0; n < t.length; n++) {
12251
12251
  var r = t[n];
@@ -12320,8 +12320,8 @@ var Ue = T((Xt, os) => {
12320
12320
  (0, ns.ensureObject)(this, "raws", "spaces"), this.raws.spaces.after = r;
12321
12321
  } }]), e;
12322
12322
  }();
12323
- Xt.default = pc;
12324
- os.exports = Xt.default;
12323
+ Vt.default = pc;
12324
+ os.exports = Vt.default;
12325
12325
  });
12326
12326
  var pe = T((K) => {
12327
12327
  "use strict";
@@ -12352,10 +12352,10 @@ var pe = T((K) => {
12352
12352
  var Cc = "universal";
12353
12353
  K.UNIVERSAL = Cc;
12354
12354
  });
12355
- var rn = T((Qt, ls) => {
12355
+ var rn = T((Yt, ls) => {
12356
12356
  "use strict";
12357
- Qt.__esModule = true;
12358
- Qt.default = void 0;
12357
+ Yt.__esModule = true;
12358
+ Yt.default = void 0;
12359
12359
  var _c = kc(Ue()), ze = Sc(pe());
12360
12360
  function as() {
12361
12361
  if (typeof WeakMap != "function")
@@ -12590,13 +12590,13 @@ In order to be iterable, non-array objects must have a [Symbol.iterator]() metho
12590
12590
  return this.nodes.length;
12591
12591
  } }]), t;
12592
12592
  }(_c.default);
12593
- Qt.default = Bc;
12594
- ls.exports = Qt.default;
12593
+ Yt.default = Bc;
12594
+ ls.exports = Yt.default;
12595
12595
  });
12596
- var li = T((Kt, cs) => {
12596
+ var li = T((Xt, cs) => {
12597
12597
  "use strict";
12598
- Kt.__esModule = true;
12599
- Kt.default = void 0;
12598
+ Xt.__esModule = true;
12599
+ Xt.default = void 0;
12600
12600
  var Ic = Lc(rn()), Rc = pe();
12601
12601
  function Lc(e) {
12602
12602
  return e && e.__esModule ? e : { default: e };
@@ -12636,13 +12636,13 @@ var li = T((Kt, cs) => {
12636
12636
  this._error = i;
12637
12637
  } }]), t;
12638
12638
  }(Ic.default);
12639
- Kt.default = $c;
12640
- cs.exports = Kt.default;
12639
+ Xt.default = $c;
12640
+ cs.exports = Xt.default;
12641
12641
  });
12642
- var ci = T((Jt, ds) => {
12642
+ var ci = T((Qt, ds) => {
12643
12643
  "use strict";
12644
- Jt.__esModule = true;
12645
- Jt.default = void 0;
12644
+ Qt.__esModule = true;
12645
+ Qt.default = void 0;
12646
12646
  var Wc = Uc(rn()), qc = pe();
12647
12647
  function Uc(e) {
12648
12648
  return e && e.__esModule ? e : { default: e };
@@ -12663,8 +12663,8 @@ var ci = T((Jt, ds) => {
12663
12663
  }
12664
12664
  return t;
12665
12665
  }(Wc.default);
12666
- Jt.default = Gc;
12667
- ds.exports = Jt.default;
12666
+ Qt.default = Gc;
12667
+ ds.exports = Qt.default;
12668
12668
  });
12669
12669
  var nn = T((ub, ps) => {
12670
12670
  "use strict";
@@ -12697,11 +12697,11 @@ var nn = T((ub, ps) => {
12697
12697
  di.version = "3.0.0";
12698
12698
  ps.exports = di;
12699
12699
  });
12700
- var hi = T((Zt, Ds) => {
12700
+ var hi = T((Kt, Ds) => {
12701
12701
  "use strict";
12702
- Zt.__esModule = true;
12703
- Zt.default = void 0;
12704
- var Kc = ms(nn()), Jc = Yt(), Zc = ms(Ue()), ed = pe();
12702
+ Kt.__esModule = true;
12703
+ Kt.default = void 0;
12704
+ var Kc = ms(nn()), Jc = Ht(), Zc = ms(Ue()), ed = pe();
12705
12705
  function ms(e) {
12706
12706
  return e && e.__esModule ? e : { default: e };
12707
12707
  }
@@ -12741,13 +12741,13 @@ var hi = T((Zt, Ds) => {
12741
12741
  this._value = i;
12742
12742
  } }]), t;
12743
12743
  }(Zc.default);
12744
- Zt.default = nd;
12745
- Ds.exports = Zt.default;
12744
+ Kt.default = nd;
12745
+ Ds.exports = Kt.default;
12746
12746
  });
12747
- var Di = T((er, gs) => {
12747
+ var Di = T((Jt, gs) => {
12748
12748
  "use strict";
12749
- er.__esModule = true;
12750
- er.default = void 0;
12749
+ Jt.__esModule = true;
12750
+ Jt.default = void 0;
12751
12751
  var id = ud(Ue()), od = pe();
12752
12752
  function ud(e) {
12753
12753
  return e && e.__esModule ? e : { default: e };
@@ -12768,13 +12768,13 @@ var Di = T((er, gs) => {
12768
12768
  }
12769
12769
  return t;
12770
12770
  }(id.default);
12771
- er.default = ad;
12772
- gs.exports = er.default;
12771
+ Jt.default = ad;
12772
+ gs.exports = Jt.default;
12773
12773
  });
12774
- var bi = T((tr, bs) => {
12774
+ var bi = T((Zt, bs) => {
12775
12775
  "use strict";
12776
- tr.__esModule = true;
12777
- tr.default = void 0;
12776
+ Zt.__esModule = true;
12777
+ Zt.default = void 0;
12778
12778
  var ld = cd(Ue()), fd2 = pe();
12779
12779
  function cd(e) {
12780
12780
  return e && e.__esModule ? e : { default: e };
@@ -12798,14 +12798,14 @@ var bi = T((tr, bs) => {
12798
12798
  return "#" + e.prototype.valueToString.call(this);
12799
12799
  }, t;
12800
12800
  }(ld.default);
12801
- tr.default = pd;
12802
- bs.exports = tr.default;
12801
+ Zt.default = pd;
12802
+ bs.exports = Zt.default;
12803
12803
  });
12804
- var on = T((rr, xs) => {
12804
+ var on = T((er, xs) => {
12805
12805
  "use strict";
12806
- rr.__esModule = true;
12807
- rr.default = void 0;
12808
- var hd = ys(nn()), md = Yt(), Dd = ys(Ue());
12806
+ er.__esModule = true;
12807
+ er.default = void 0;
12808
+ var hd = ys(nn()), md = Ht(), Dd = ys(Ue());
12809
12809
  function ys(e) {
12810
12810
  return e && e.__esModule ? e : { default: e };
12811
12811
  }
@@ -12857,13 +12857,13 @@ var on = T((rr, xs) => {
12857
12857
  return "";
12858
12858
  } }]), t;
12859
12859
  }(Dd.default);
12860
- rr.default = vd;
12861
- xs.exports = rr.default;
12860
+ er.default = vd;
12861
+ xs.exports = er.default;
12862
12862
  });
12863
- var xi = T((nr, Fs) => {
12863
+ var xi = T((tr, Fs) => {
12864
12864
  "use strict";
12865
- nr.__esModule = true;
12866
- nr.default = void 0;
12865
+ tr.__esModule = true;
12866
+ tr.default = void 0;
12867
12867
  var yd = Fd(on()), xd = pe();
12868
12868
  function Fd(e) {
12869
12869
  return e && e.__esModule ? e : { default: e };
@@ -12884,13 +12884,13 @@ var xi = T((nr, Fs) => {
12884
12884
  }
12885
12885
  return t;
12886
12886
  }(yd.default);
12887
- nr.default = Ed;
12888
- Fs.exports = nr.default;
12887
+ tr.default = Ed;
12888
+ Fs.exports = tr.default;
12889
12889
  });
12890
- var wi = T((ir, ws) => {
12890
+ var wi = T((rr, ws) => {
12891
12891
  "use strict";
12892
- ir.__esModule = true;
12893
- ir.default = void 0;
12892
+ rr.__esModule = true;
12893
+ rr.default = void 0;
12894
12894
  var Cd = Sd(Ue()), _d = pe();
12895
12895
  function Sd(e) {
12896
12896
  return e && e.__esModule ? e : { default: e };
@@ -12911,13 +12911,13 @@ var wi = T((ir, ws) => {
12911
12911
  }
12912
12912
  return t;
12913
12913
  }(Cd.default);
12914
- ir.default = Td;
12915
- ws.exports = ir.default;
12914
+ rr.default = Td;
12915
+ ws.exports = rr.default;
12916
12916
  });
12917
- var Ci = T((or, Es) => {
12917
+ var Ci = T((nr, Es) => {
12918
12918
  "use strict";
12919
- or.__esModule = true;
12920
- or.default = void 0;
12919
+ nr.__esModule = true;
12920
+ nr.default = void 0;
12921
12921
  var Ad = Pd(rn()), Od = pe();
12922
12922
  function Pd(e) {
12923
12923
  return e && e.__esModule ? e : { default: e };
@@ -12942,8 +12942,8 @@ var Ci = T((or, Es) => {
12942
12942
  return [this.rawSpaceBefore, this.stringifyProperty("value"), i, this.rawSpaceAfter].join("");
12943
12943
  }, t;
12944
12944
  }(Ad.default);
12945
- or.default = Id;
12946
- Es.exports = or.default;
12945
+ nr.default = Id;
12946
+ Es.exports = nr.default;
12947
12947
  });
12948
12948
  var _s = T((sb, Cs) => {
12949
12949
  Cs.exports = function(t, n) {
@@ -12952,12 +12952,12 @@ var _s = T((sb, Cs) => {
12952
12952
  };
12953
12953
  };
12954
12954
  });
12955
- var Oi = T((ar) => {
12955
+ var Oi = T((ur) => {
12956
12956
  "use strict";
12957
- ar.__esModule = true;
12958
- ar.unescapeValue = Ai;
12959
- ar.default = void 0;
12960
- var ur = Ti(nn()), Rd = Ti(ui()), Ld = Ti(on()), Md = pe(), _i;
12957
+ ur.__esModule = true;
12958
+ ur.unescapeValue = Ai;
12959
+ ur.default = void 0;
12960
+ var ir = Ti(nn()), Rd = Ti(ui()), Ld = Ti(on()), Md = pe(), _i;
12961
12961
  function Ti(e) {
12962
12962
  return e && e.__esModule ? e : { default: e };
12963
12963
  }
@@ -12978,9 +12978,9 @@ var Oi = T((ar) => {
12978
12978
  return r.__proto__ = i, r;
12979
12979
  }, ki(e, t);
12980
12980
  }
12981
- var sr = _s(), Wd = /^('|")([^]*)\1$/, qd = sr(function() {
12982
- }, "Assigning an attribute a value containing characters that might need to be escaped is deprecated. Call attribute.setValue() instead."), Ud = sr(function() {
12983
- }, "Assigning attr.quoted is deprecated and has no effect. Assign to attr.quoteMark instead."), zd = sr(function() {
12981
+ var or = _s(), Wd = /^('|")([^]*)\1$/, qd = or(function() {
12982
+ }, "Assigning an attribute a value containing characters that might need to be escaped is deprecated. Call attribute.setValue() instead."), Ud = or(function() {
12983
+ }, "Assigning attr.quoted is deprecated and has no effect. Assign to attr.quoteMark instead."), zd = or(function() {
12984
12984
  }, "Constructing an Attribute selector with a value without specifying quoteMark is deprecated. Note: The value should be unescaped now.");
12985
12985
  function Ai(e) {
12986
12986
  var t = false, n = null, r = e, i = r.match(Wd);
@@ -12997,16 +12997,16 @@ var Oi = T((ar) => {
12997
12997
  $d(t, e);
12998
12998
  function t(r) {
12999
12999
  var i;
13000
- return r === void 0 && (r = {}), i = e.call(this, Gd(r)) || this, i.type = Md.ATTRIBUTE, i.raws = i.raws || {}, Object.defineProperty(i.raws, "unquoted", { get: sr(function() {
13000
+ return r === void 0 && (r = {}), i = e.call(this, Gd(r)) || this, i.type = Md.ATTRIBUTE, i.raws = i.raws || {}, Object.defineProperty(i.raws, "unquoted", { get: or(function() {
13001
13001
  return i.value;
13002
- }, "attr.raws.unquoted is deprecated. Call attr.value instead."), set: sr(function() {
13002
+ }, "attr.raws.unquoted is deprecated. Call attr.value instead."), set: or(function() {
13003
13003
  return i.value;
13004
13004
  }, "Setting attr.raws.unquoted is deprecated and has no effect. attr.value is unescaped by default now.") }), i._constructed = true, i;
13005
13005
  }
13006
13006
  var n = t.prototype;
13007
13007
  return n.getQuotedValue = function(i) {
13008
13008
  i === void 0 && (i = {});
13009
- var o = this._determineQuoteMark(i), u = Si[o], s = (0, ur.default)(this._value, u);
13009
+ var o = this._determineQuoteMark(i), u = Si[o], s = (0, ir.default)(this._value, u);
13010
13010
  return s;
13011
13011
  }, n._determineQuoteMark = function(i) {
13012
13012
  return i.smart ? this.smartQuoteMark(i) : this.preferredQuoteMark(i);
@@ -13015,12 +13015,12 @@ var Oi = T((ar) => {
13015
13015
  }, n.smartQuoteMark = function(i) {
13016
13016
  var o = this.value, u = o.replace(/[^']/g, "").length, s = o.replace(/[^"]/g, "").length;
13017
13017
  if (u + s === 0) {
13018
- var a = (0, ur.default)(o, { isIdentifier: true });
13018
+ var a = (0, ir.default)(o, { isIdentifier: true });
13019
13019
  if (a === o)
13020
13020
  return t.NO_QUOTE;
13021
13021
  var l = this.preferredQuoteMark(i);
13022
13022
  if (l === t.NO_QUOTE) {
13023
- var f = this.quoteMark || i.quoteMark || t.DOUBLE_QUOTE, c = Si[f], p = (0, ur.default)(o, c);
13023
+ var f = this.quoteMark || i.quoteMark || t.DOUBLE_QUOTE, c = Si[f], p = (0, ir.default)(o, c);
13024
13024
  if (p.length < a.length)
13025
13025
  return f;
13026
13026
  }
@@ -13031,11 +13031,11 @@ var Oi = T((ar) => {
13031
13031
  var o = i.preferCurrentQuoteMark ? this.quoteMark : i.quoteMark;
13032
13032
  return o === void 0 && (o = i.preferCurrentQuoteMark ? i.quoteMark : this.quoteMark), o === void 0 && (o = t.DOUBLE_QUOTE), o;
13033
13033
  }, n._syncRawValue = function() {
13034
- var i = (0, ur.default)(this._value, Si[this.quoteMark]);
13034
+ var i = (0, ir.default)(this._value, Si[this.quoteMark]);
13035
13035
  i === this._value ? this.raws && delete this.raws.value : this.raws.value = i;
13036
13036
  }, n._handleEscapes = function(i, o) {
13037
13037
  if (this._constructed) {
13038
- var u = (0, ur.default)(o, { isIdentifier: true });
13038
+ var u = (0, ir.default)(o, { isIdentifier: true });
13039
13039
  u !== o ? this.raws[i] = u : delete this.raws[i];
13040
13040
  }
13041
13041
  }, n._spacesFor = function(i) {
@@ -13104,7 +13104,7 @@ var Oi = T((ar) => {
13104
13104
  this._handleEscapes("attribute", i), this._attribute = i;
13105
13105
  } }]), t;
13106
13106
  }(Ld.default);
13107
- ar.default = un;
13107
+ ur.default = un;
13108
13108
  un.NO_QUOTE = null;
13109
13109
  un.SINGLE_QUOTE = "'";
13110
13110
  un.DOUBLE_QUOTE = '"';
@@ -13113,10 +13113,10 @@ var Oi = T((ar) => {
13113
13113
  return "" + t.before + e + t.after;
13114
13114
  }
13115
13115
  });
13116
- var Bi = T((lr, Ts) => {
13116
+ var Bi = T((sr, Ts) => {
13117
13117
  "use strict";
13118
- lr.__esModule = true;
13119
- lr.default = void 0;
13118
+ sr.__esModule = true;
13119
+ sr.default = void 0;
13120
13120
  var jd = Vd(on()), Hd = pe();
13121
13121
  function Vd(e) {
13122
13122
  return e && e.__esModule ? e : { default: e };
@@ -13137,13 +13137,13 @@ var Bi = T((lr, Ts) => {
13137
13137
  }
13138
13138
  return t;
13139
13139
  }(jd.default);
13140
- lr.default = Xd;
13141
- Ts.exports = lr.default;
13140
+ sr.default = Xd;
13141
+ Ts.exports = sr.default;
13142
13142
  });
13143
- var Ri = T((fr, As) => {
13143
+ var Ri = T((ar, As) => {
13144
13144
  "use strict";
13145
- fr.__esModule = true;
13146
- fr.default = void 0;
13145
+ ar.__esModule = true;
13146
+ ar.default = void 0;
13147
13147
  var Qd = Jd(Ue()), Kd = pe();
13148
13148
  function Jd(e) {
13149
13149
  return e && e.__esModule ? e : { default: e };
@@ -13164,13 +13164,13 @@ var Ri = T((fr, As) => {
13164
13164
  }
13165
13165
  return t;
13166
13166
  }(Qd.default);
13167
- fr.default = ep;
13168
- As.exports = fr.default;
13167
+ ar.default = ep;
13168
+ As.exports = ar.default;
13169
13169
  });
13170
- var Mi = T((cr, Os) => {
13170
+ var Mi = T((lr, Os) => {
13171
13171
  "use strict";
13172
- cr.__esModule = true;
13173
- cr.default = void 0;
13172
+ lr.__esModule = true;
13173
+ lr.default = void 0;
13174
13174
  var tp = np(Ue()), rp = pe();
13175
13175
  function np(e) {
13176
13176
  return e && e.__esModule ? e : { default: e };
@@ -13191,8 +13191,8 @@ var Mi = T((cr, Os) => {
13191
13191
  }
13192
13192
  return t;
13193
13193
  }(tp.default);
13194
- cr.default = op;
13195
- Os.exports = cr.default;
13194
+ lr.default = op;
13195
+ Os.exports = lr.default;
13196
13196
  });
13197
13197
  var Bs = T((sn, Ps) => {
13198
13198
  "use strict";
@@ -13272,11 +13272,11 @@ var Ni = T((S) => {
13272
13272
  var Lp = -3;
13273
13273
  S.combinator = Lp;
13274
13274
  });
13275
- var Ms = T((dr) => {
13275
+ var Ms = T((fr) => {
13276
13276
  "use strict";
13277
- dr.__esModule = true;
13278
- dr.default = zp;
13279
- dr.FIELDS = void 0;
13277
+ fr.__esModule = true;
13278
+ fr.default = zp;
13279
+ fr.FIELDS = void 0;
13280
13280
  var E = Mp(Ni()), xt, Q;
13281
13281
  function Ls() {
13282
13282
  if (typeof WeakMap != "function")
@@ -13329,7 +13329,7 @@ var Ms = T((dr) => {
13329
13329
  return n;
13330
13330
  }
13331
13331
  var Up = { TYPE: 0, START_LINE: 1, START_COL: 2, END_LINE: 3, END_COL: 4, START_POS: 5, END_POS: 6 };
13332
- dr.FIELDS = Up;
13332
+ fr.FIELDS = Up;
13333
13333
  function zp(e) {
13334
13334
  var t = [], n = e.css.valueOf(), r = n, i = r.length, o = -1, u = 1, s = 0, a = 0, l, f, c, p, h, d, m, v, g, b, x, F, y;
13335
13335
  function k(P, B) {
@@ -13395,11 +13395,11 @@ var Ms = T((dr) => {
13395
13395
  return t;
13396
13396
  }
13397
13397
  });
13398
- var js = T((pr, Gs) => {
13398
+ var js = T((cr, Gs) => {
13399
13399
  "use strict";
13400
- pr.__esModule = true;
13401
- pr.default = void 0;
13402
- var Gp = _e(li()), Wi = _e(ci()), jp = _e(hi()), Ns = _e(Di()), Hp = _e(bi()), Vp = _e(xi()), qi = _e(wi()), Yp = _e(Ci()), $s = ln(Oi()), Xp = _e(Bi()), Ui = _e(Ri()), Qp = _e(Mi()), Kp = _e(Bs()), w = ln(Ms()), _ = ln(Ni()), Jp = ln(pe()), te = Yt(), ut, zi;
13400
+ cr.__esModule = true;
13401
+ cr.default = void 0;
13402
+ var Gp = _e(li()), Wi = _e(ci()), jp = _e(hi()), Ns = _e(Di()), Hp = _e(bi()), Vp = _e(xi()), qi = _e(wi()), Yp = _e(Ci()), $s = ln(Oi()), Xp = _e(Bi()), Ui = _e(Ri()), Qp = _e(Mi()), Kp = _e(Bs()), w = ln(Ms()), _ = ln(Ni()), Jp = ln(pe()), re = Ht(), ut, zi;
13403
13403
  function zs() {
13404
13404
  if (typeof WeakMap != "function")
13405
13405
  return null;
@@ -13456,7 +13456,7 @@ var js = T((pr, Gs) => {
13456
13456
  function wt(e, t) {
13457
13457
  var n = e[t];
13458
13458
  if (typeof n == "string")
13459
- return n.indexOf("\\") !== -1 && ((0, te.ensureObject)(e, "raws"), e[t] = (0, te.unesc)(n), e.raws[t] === void 0 && (e.raws[t] = n)), e;
13459
+ return n.indexOf("\\") !== -1 && ((0, re.ensureObject)(e, "raws"), e[t] = (0, re.unesc)(n), e.raws[t] === void 0 && (e.raws[t] = n)), e;
13460
13460
  }
13461
13461
  function ji(e, t) {
13462
13462
  for (var n = -1, r = []; (n = e.indexOf(t, n + 1)) !== -1; )
@@ -13499,10 +13499,10 @@ var js = T((pr, Gs) => {
13499
13499
  if (c = true, this.options.lossy)
13500
13500
  break;
13501
13501
  if (f) {
13502
- (0, te.ensureObject)(u, "spaces", f);
13502
+ (0, re.ensureObject)(u, "spaces", f);
13503
13503
  var m = u.spaces[f].after || "";
13504
13504
  u.spaces[f].after = m + h;
13505
- var v = (0, te.getProp)(u, "raws", "spaces", f, "after") || null;
13505
+ var v = (0, re.getProp)(u, "raws", "spaces", f, "after") || null;
13506
13506
  v && (u.raws.spaces[f].after = v + h);
13507
13507
  } else
13508
13508
  a = a + h, l = l + h;
@@ -13511,15 +13511,15 @@ var js = T((pr, Gs) => {
13511
13511
  if (d[w.FIELDS.TYPE] === _.equals)
13512
13512
  u.operator = h, f = "operator";
13513
13513
  else if ((!u.namespace || f === "namespace" && !c) && d) {
13514
- a && ((0, te.ensureObject)(u, "spaces", "attribute"), u.spaces.attribute.before = a, a = ""), l && ((0, te.ensureObject)(u, "raws", "spaces", "attribute"), u.raws.spaces.attribute.before = a, l = ""), u.namespace = (u.namespace || "") + h;
13515
- var g = (0, te.getProp)(u, "raws", "namespace") || null;
13514
+ a && ((0, re.ensureObject)(u, "spaces", "attribute"), u.spaces.attribute.before = a, a = ""), l && ((0, re.ensureObject)(u, "raws", "spaces", "attribute"), u.raws.spaces.attribute.before = a, l = ""), u.namespace = (u.namespace || "") + h;
13515
+ var g = (0, re.getProp)(u, "raws", "namespace") || null;
13516
13516
  g && (u.raws.namespace += h), f = "namespace";
13517
13517
  }
13518
13518
  c = false;
13519
13519
  break;
13520
13520
  case _.dollar:
13521
13521
  if (f === "value") {
13522
- var b = (0, te.getProp)(u, "raws", "value");
13522
+ var b = (0, re.getProp)(u, "raws", "value");
13523
13523
  u.value += "$", b && (u.raws.value = b + "$");
13524
13524
  break;
13525
13525
  }
@@ -13537,23 +13537,23 @@ var js = T((pr, Gs) => {
13537
13537
  if (d && this.content(d) === "|" && r[s + 2] && r[s + 2][w.FIELDS.TYPE] !== _.equals && !u.operator && !u.namespace)
13538
13538
  u.namespace = h, f = "namespace";
13539
13539
  else if (!u.attribute || f === "attribute" && !c) {
13540
- a && ((0, te.ensureObject)(u, "spaces", "attribute"), u.spaces.attribute.before = a, a = ""), l && ((0, te.ensureObject)(u, "raws", "spaces", "attribute"), u.raws.spaces.attribute.before = l, l = ""), u.attribute = (u.attribute || "") + h;
13541
- var x = (0, te.getProp)(u, "raws", "attribute") || null;
13540
+ a && ((0, re.ensureObject)(u, "spaces", "attribute"), u.spaces.attribute.before = a, a = ""), l && ((0, re.ensureObject)(u, "raws", "spaces", "attribute"), u.raws.spaces.attribute.before = l, l = ""), u.attribute = (u.attribute || "") + h;
13541
+ var x = (0, re.getProp)(u, "raws", "attribute") || null;
13542
13542
  x && (u.raws.attribute += h), f = "attribute";
13543
13543
  } else if (!u.value && u.value !== "" || f === "value" && !c) {
13544
- var F = (0, te.unesc)(h), y = (0, te.getProp)(u, "raws", "value") || "", k = u.value || "";
13545
- u.value = k + F, u.quoteMark = null, (F !== h || y) && ((0, te.ensureObject)(u, "raws"), u.raws.value = (y || k) + h), f = "value";
13544
+ var F = (0, re.unesc)(h), y = (0, re.getProp)(u, "raws", "value") || "", k = u.value || "";
13545
+ u.value = k + F, u.quoteMark = null, (F !== h || y) && ((0, re.ensureObject)(u, "raws"), u.raws.value = (y || k) + h), f = "value";
13546
13546
  } else {
13547
13547
  var P = h === "i" || h === "I";
13548
- (u.value || u.value === "") && (u.quoteMark || c) ? (u.insensitive = P, (!P || h === "I") && ((0, te.ensureObject)(u, "raws"), u.raws.insensitiveFlag = h), f = "insensitive", a && ((0, te.ensureObject)(u, "spaces", "insensitive"), u.spaces.insensitive.before = a, a = ""), l && ((0, te.ensureObject)(u, "raws", "spaces", "insensitive"), u.raws.spaces.insensitive.before = l, l = "")) : (u.value || u.value === "") && (f = "value", u.value += h, u.raws.value && (u.raws.value += h));
13548
+ (u.value || u.value === "") && (u.quoteMark || c) ? (u.insensitive = P, (!P || h === "I") && ((0, re.ensureObject)(u, "raws"), u.raws.insensitiveFlag = h), f = "insensitive", a && ((0, re.ensureObject)(u, "spaces", "insensitive"), u.spaces.insensitive.before = a, a = ""), l && ((0, re.ensureObject)(u, "raws", "spaces", "insensitive"), u.raws.spaces.insensitive.before = l, l = "")) : (u.value || u.value === "") && (f = "value", u.value += h, u.raws.value && (u.raws.value += h));
13549
13549
  }
13550
13550
  c = false;
13551
13551
  break;
13552
13552
  case _.str:
13553
13553
  if (!u.attribute || !u.operator)
13554
13554
  return this.error("Expected an attribute followed by an operator preceding the string.", { index: p[w.FIELDS.START_POS] });
13555
- var B = (0, $s.unescapeValue)(h), H = B.unescaped, oe = B.quoteMark;
13556
- u.value = H, u.quoteMark = oe, f = "value", (0, te.ensureObject)(u, "raws"), u.raws.value = h, c = false;
13555
+ var B = (0, $s.unescapeValue)(h), j = B.unescaped, oe = B.quoteMark;
13556
+ u.value = j, u.quoteMark = oe, f = "value", (0, re.ensureObject)(u, "raws"), u.raws.value = h, c = false;
13557
13557
  break;
13558
13558
  case _.equals:
13559
13559
  if (!u.attribute)
@@ -13565,11 +13565,11 @@ var js = T((pr, Gs) => {
13565
13565
  case _.comment:
13566
13566
  if (f)
13567
13567
  if (c || d && d[w.FIELDS.TYPE] === _.space || f === "insensitive") {
13568
- var ue = (0, te.getProp)(u, "spaces", f, "after") || "", se = (0, te.getProp)(u, "raws", "spaces", f, "after") || ue;
13569
- (0, te.ensureObject)(u, "raws", "spaces", f), u.raws.spaces[f].after = se + h;
13568
+ var ue = (0, re.getProp)(u, "spaces", f, "after") || "", se = (0, re.getProp)(u, "raws", "spaces", f, "after") || ue;
13569
+ (0, re.ensureObject)(u, "raws", "spaces", f), u.raws.spaces[f].after = se + h;
13570
13570
  } else {
13571
- var $ = u[f] || "", L = (0, te.getProp)(u, "raws", f) || $;
13572
- (0, te.ensureObject)(u, "raws"), u.raws[f] = L + h;
13571
+ var N = u[f] || "", L = (0, re.getProp)(u, "raws", f) || N;
13572
+ (0, re.ensureObject)(u, "raws"), u.raws[f] = L + h;
13573
13573
  }
13574
13574
  else
13575
13575
  l = l + h;
@@ -13614,7 +13614,7 @@ var js = T((pr, Gs) => {
13614
13614
  return r === void 0 && (r = this.position), this.tokens[r + 0] && this.tokens[r + 0][w.FIELDS.TYPE] === _.slash && this.tokens[r + 1] && this.tokens[r + 1][w.FIELDS.TYPE] === _.word && this.tokens[r + 2] && this.tokens[r + 2][w.FIELDS.TYPE] === _.slash;
13615
13615
  }, t.namedCombinator = function() {
13616
13616
  if (this.isNamedCombinator()) {
13617
- var r = this.content(this.tokens[this.position + 1]), i = (0, te.unesc)(r).toLowerCase(), o = {};
13617
+ var r = this.content(this.tokens[this.position + 1]), i = (0, re.unesc)(r).toLowerCase(), o = {};
13618
13618
  i !== r && (o.value = "/" + r + "/");
13619
13619
  var u = new Ui.default({ value: "/" + i + "/", source: st(this.currToken[w.FIELDS.START_LINE], this.currToken[w.FIELDS.START_COL], this.tokens[this.position + 2][w.FIELDS.END_LINE], this.tokens[this.position + 2][w.FIELDS.END_COL]), sourceIndex: this.currToken[w.FIELDS.START_POS], raws: o });
13620
13620
  return this.position = this.position + 3, u;
@@ -13860,13 +13860,13 @@ var js = T((pr, Gs) => {
13860
13860
  return this.tokens[this.position - 1];
13861
13861
  } }]), e;
13862
13862
  }();
13863
- pr.default = r0;
13864
- Gs.exports = pr.default;
13863
+ cr.default = r0;
13864
+ Gs.exports = cr.default;
13865
13865
  });
13866
- var Vs = T((hr, Hs) => {
13866
+ var Vs = T((dr, Hs) => {
13867
13867
  "use strict";
13868
- hr.__esModule = true;
13869
- hr.default = void 0;
13868
+ dr.__esModule = true;
13869
+ dr.default = void 0;
13870
13870
  var n0 = i0(js());
13871
13871
  function i0(e) {
13872
13872
  return e && e.__esModule ? e : { default: e };
@@ -13933,8 +13933,8 @@ var Vs = T((hr, Hs) => {
13933
13933
  return o.string || o.root.toString();
13934
13934
  }, e;
13935
13935
  }();
13936
- hr.default = o0;
13937
- Hs.exports = hr.default;
13936
+ dr.default = o0;
13937
+ Hs.exports = dr.default;
13938
13938
  });
13939
13939
  var Ys = T((J) => {
13940
13940
  "use strict";
@@ -13993,46 +13993,46 @@ var Ys = T((J) => {
13993
13993
  };
13994
13994
  J.universal = T0;
13995
13995
  });
13996
- var Js = T((z) => {
13996
+ var Js = T((U) => {
13997
13997
  "use strict";
13998
- z.__esModule = true;
13999
- z.isNode = Vi;
14000
- z.isPseudoElement = Ks;
14001
- z.isPseudoClass = W0;
14002
- z.isContainer = q0;
14003
- z.isNamespace = U0;
14004
- z.isUniversal = z.isTag = z.isString = z.isSelector = z.isRoot = z.isPseudo = z.isNesting = z.isIdentifier = z.isComment = z.isCombinator = z.isClassName = z.isAttribute = void 0;
14005
- var re = pe(), ye, A0 = (ye = {}, ye[re.ATTRIBUTE] = true, ye[re.CLASS] = true, ye[re.COMBINATOR] = true, ye[re.COMMENT] = true, ye[re.ID] = true, ye[re.NESTING] = true, ye[re.PSEUDO] = true, ye[re.ROOT] = true, ye[re.SELECTOR] = true, ye[re.STRING] = true, ye[re.TAG] = true, ye[re.UNIVERSAL] = true, ye);
13998
+ U.__esModule = true;
13999
+ U.isNode = Vi;
14000
+ U.isPseudoElement = Ks;
14001
+ U.isPseudoClass = W0;
14002
+ U.isContainer = q0;
14003
+ U.isNamespace = U0;
14004
+ U.isUniversal = U.isTag = U.isString = U.isSelector = U.isRoot = U.isPseudo = U.isNesting = U.isIdentifier = U.isComment = U.isCombinator = U.isClassName = U.isAttribute = void 0;
14005
+ var ne = pe(), ye, A0 = (ye = {}, ye[ne.ATTRIBUTE] = true, ye[ne.CLASS] = true, ye[ne.COMBINATOR] = true, ye[ne.COMMENT] = true, ye[ne.ID] = true, ye[ne.NESTING] = true, ye[ne.PSEUDO] = true, ye[ne.ROOT] = true, ye[ne.SELECTOR] = true, ye[ne.STRING] = true, ye[ne.TAG] = true, ye[ne.UNIVERSAL] = true, ye);
14006
14006
  function Vi(e) {
14007
14007
  return typeof e == "object" && A0[e.type];
14008
14008
  }
14009
14009
  function ke(e, t) {
14010
14010
  return Vi(t) && t.type === e;
14011
14011
  }
14012
- var Xs = ke.bind(null, re.ATTRIBUTE);
14013
- z.isAttribute = Xs;
14014
- var O0 = ke.bind(null, re.CLASS);
14015
- z.isClassName = O0;
14016
- var P0 = ke.bind(null, re.COMBINATOR);
14017
- z.isCombinator = P0;
14018
- var B0 = ke.bind(null, re.COMMENT);
14019
- z.isComment = B0;
14020
- var I0 = ke.bind(null, re.ID);
14021
- z.isIdentifier = I0;
14022
- var R0 = ke.bind(null, re.NESTING);
14023
- z.isNesting = R0;
14024
- var Yi = ke.bind(null, re.PSEUDO);
14025
- z.isPseudo = Yi;
14026
- var L0 = ke.bind(null, re.ROOT);
14027
- z.isRoot = L0;
14028
- var M0 = ke.bind(null, re.SELECTOR);
14029
- z.isSelector = M0;
14030
- var N0 = ke.bind(null, re.STRING);
14031
- z.isString = N0;
14032
- var Qs = ke.bind(null, re.TAG);
14033
- z.isTag = Qs;
14034
- var $0 = ke.bind(null, re.UNIVERSAL);
14035
- z.isUniversal = $0;
14012
+ var Xs = ke.bind(null, ne.ATTRIBUTE);
14013
+ U.isAttribute = Xs;
14014
+ var O0 = ke.bind(null, ne.CLASS);
14015
+ U.isClassName = O0;
14016
+ var P0 = ke.bind(null, ne.COMBINATOR);
14017
+ U.isCombinator = P0;
14018
+ var B0 = ke.bind(null, ne.COMMENT);
14019
+ U.isComment = B0;
14020
+ var I0 = ke.bind(null, ne.ID);
14021
+ U.isIdentifier = I0;
14022
+ var R0 = ke.bind(null, ne.NESTING);
14023
+ U.isNesting = R0;
14024
+ var Yi = ke.bind(null, ne.PSEUDO);
14025
+ U.isPseudo = Yi;
14026
+ var L0 = ke.bind(null, ne.ROOT);
14027
+ U.isRoot = L0;
14028
+ var M0 = ke.bind(null, ne.SELECTOR);
14029
+ U.isSelector = M0;
14030
+ var N0 = ke.bind(null, ne.STRING);
14031
+ U.isString = N0;
14032
+ var Qs = ke.bind(null, ne.TAG);
14033
+ U.isTag = Qs;
14034
+ var $0 = ke.bind(null, ne.UNIVERSAL);
14035
+ U.isUniversal = $0;
14036
14036
  function Ks(e) {
14037
14037
  return Yi(e) && e.value && (e.value.startsWith("::") || e.value.toLowerCase() === ":before" || e.value.toLowerCase() === ":after" || e.value.toLowerCase() === ":first-letter" || e.value.toLowerCase() === ":first-line");
14038
14038
  }
@@ -14062,10 +14062,10 @@ var Zs = T((Pe) => {
14062
14062
  e === "default" || e === "__esModule" || e in Pe && Pe[e] === Ki[e] || (Pe[e] = Ki[e]);
14063
14063
  });
14064
14064
  });
14065
- var ra = T((mr, ta) => {
14065
+ var ra = T((pr, ta) => {
14066
14066
  "use strict";
14067
- mr.__esModule = true;
14068
- mr.default = void 0;
14067
+ pr.__esModule = true;
14068
+ pr.default = void 0;
14069
14069
  var z0 = H0(Vs()), G0 = j0(Zs());
14070
14070
  function ea() {
14071
14071
  if (typeof WeakMap != "function")
@@ -14100,8 +14100,8 @@ var ra = T((mr, ta) => {
14100
14100
  Object.assign(Ji, G0);
14101
14101
  delete Ji.__esModule;
14102
14102
  var V0 = Ji;
14103
- mr.default = V0;
14104
- ta.exports = mr.default;
14103
+ pr.default = V0;
14104
+ ta.exports = pr.default;
14105
14105
  });
14106
14106
  var na = T((Zi) => {
14107
14107
  "use strict";
@@ -14127,7 +14127,7 @@ var to = T((eo) => {
14127
14127
  function Q0(e) {
14128
14128
  return e && e.__esModule ? e : { default: e };
14129
14129
  }
14130
- var K0 = /^#([a-f\d]{2})([a-f\d]{2})([a-f\d]{2})([a-f\d]{2})?$/i, J0 = /^#([a-f\d])([a-f\d])([a-f\d])([a-f\d])?$/i, Ke = /(?:\d+|\d*\.\d+)%?/, fn = /(?:\s*,\s*|\s+)/, sa = /\s*[,/]\s*/, Je = /var\(--(?:[^ )]*?)\)/, Z0 = new RegExp(`^(rgb)a?\\(\\s*(${Ke.source}|${Je.source})(?:${fn.source}(${Ke.source}|${Je.source}))?(?:${fn.source}(${Ke.source}|${Je.source}))?(?:${sa.source}(${Ke.source}|${Je.source}))?\\s*\\)$`), eh = new RegExp(`^(hsl)a?\\(\\s*((?:${Ke.source})(?:deg|rad|grad|turn)?|${Je.source})(?:${fn.source}(${Ke.source}|${Je.source}))?(?:${fn.source}(${Ke.source}|${Je.source}))?(?:${sa.source}(${Ke.source}|${Je.source}))?\\s*\\)$`);
14130
+ var K0 = /^#([a-f\d]{2})([a-f\d]{2})([a-f\d]{2})([a-f\d]{2})?$/i, J0 = /^#([a-f\d])([a-f\d])([a-f\d])([a-f\d])?$/i, Ze = /(?:\d+|\d*\.\d+)%?/, fn = /(?:\s*,\s*|\s+)/, sa = /\s*[,/]\s*/, et2 = /var\(--(?:[^ )]*?)\)/, Z0 = new RegExp(`^(rgb)a?\\(\\s*(${Ze.source}|${et2.source})(?:${fn.source}(${Ze.source}|${et2.source}))?(?:${fn.source}(${Ze.source}|${et2.source}))?(?:${sa.source}(${Ze.source}|${et2.source}))?\\s*\\)$`), eh = new RegExp(`^(hsl)a?\\(\\s*((?:${Ze.source})(?:deg|rad|grad|turn)?|${et2.source})(?:${fn.source}(${Ze.source}|${et2.source}))?(?:${fn.source}(${Ze.source}|${et2.source}))?(?:${sa.source}(${Ze.source}|${et2.source}))?\\s*\\)$`);
14131
14131
  function th(e, { loose: t = false } = {}) {
14132
14132
  var n, r;
14133
14133
  if (typeof e != "string")
@@ -14183,23 +14183,23 @@ var da = T((io) => {
14183
14183
  }
14184
14184
  uh(io, { pattern: () => ah, withoutCapturing: () => la, any: () => fa, optional: () => lh, zeroOrMore: () => fh, nestedBrackets: () => ca, escape: () => at });
14185
14185
  var aa = /[\\^$.*+?()[\]{}|]/g, sh = RegExp(aa.source);
14186
- function Dr(e) {
14186
+ function hr(e) {
14187
14187
  return e = Array.isArray(e) ? e : [e], e = e.map((t) => t instanceof RegExp ? t.source : t), e.join("");
14188
14188
  }
14189
14189
  function ah(e) {
14190
- return new RegExp(Dr(e), "g");
14190
+ return new RegExp(hr(e), "g");
14191
14191
  }
14192
14192
  function la(e) {
14193
- return new RegExp(`(?:${Dr(e)})`, "g");
14193
+ return new RegExp(`(?:${hr(e)})`, "g");
14194
14194
  }
14195
14195
  function fa(e) {
14196
- return `(?:${e.map(Dr).join("|")})`;
14196
+ return `(?:${e.map(hr).join("|")})`;
14197
14197
  }
14198
14198
  function lh(e) {
14199
- return `(?:${Dr(e)})?`;
14199
+ return `(?:${hr(e)})?`;
14200
14200
  }
14201
14201
  function fh(e) {
14202
- return `(?:${Dr(e)})*`;
14202
+ return `(?:${hr(e)})*`;
14203
14203
  }
14204
14204
  function ca(e, t, n = 1) {
14205
14205
  return la([at(e), /[^\s]*/, n === 1 ? `[^${at(e)}${at(t)}s]*` : fa([`[^${at(e)}${at(t)}s]*`, ca(e, t, n - 1)]), /[^\s]*/, at(t)]);
@@ -14274,10 +14274,10 @@ var wa = T((ao) => {
14274
14274
  for (var n in t)
14275
14275
  Object.defineProperty(e, n, { enumerable: true, get: t[n] });
14276
14276
  }
14277
- yh(ao, { normalize: () => Ze, url: () => va, number: () => wh, percentage: () => ya, length: () => xa, lineWidth: () => _h, shadow: () => Sh, color: () => kh, image: () => Th, gradient: () => Fa, position: () => Ph, familyName: () => Bh, genericName: () => Rh, absoluteSize: () => Mh, relativeSize: () => $h });
14277
+ yh(ao, { normalize: () => tt, url: () => va, number: () => wh, percentage: () => ya, length: () => xa, lineWidth: () => _h, shadow: () => Sh, color: () => kh, image: () => Th, gradient: () => Fa, position: () => Ph, familyName: () => Bh, genericName: () => Rh, absoluteSize: () => Mh, relativeSize: () => $h });
14278
14278
  var xh = to(), Fh = Da(), so = ["min", "max", "clamp", "calc"], ba = /,(?![^(]*\))/g, dn = /_(?![^(]*\))/g;
14279
- function Ze(e, t = true) {
14280
- return e.includes("url(") ? e.split(/(url\(.*?\))/g).filter(Boolean).map((n) => /^url\(.*?\)$/.test(n) ? n : Ze(n, false)).join("") : (e = e.replace(/([^\\])_+/g, (n, r) => r + " ".repeat(n.length - 1)).replace(/^_/g, " ").replace(/\\_/g, "_"), t && (e = e.trim()), e = e.replace(/(calc|min|max|clamp)\(.+\)/g, (n) => n.replace(/(-?\d*\.?\d(?!\b-.+[,)](?![^+\-/*])\D)(?:%|[a-z]+)?|\))([+\-/*])/g, "$1 $2 ")), e);
14279
+ function tt(e, t = true) {
14280
+ return e.includes("url(") ? e.split(/(url\(.*?\))/g).filter(Boolean).map((n) => /^url\(.*?\)$/.test(n) ? n : tt(n, false)).join("") : (e = e.replace(/([^\\])_+/g, (n, r) => r + " ".repeat(n.length - 1)).replace(/^_/g, " ").replace(/\\_/g, "_"), t && (e = e.trim()), e = e.replace(/(calc|min|max|clamp)\(.+\)/g, (n) => n.replace(/(-?\d*\.?\d(?!\b-.+[,)](?![^+\-/*])\D)(?:%|[a-z]+)?|\))([+\-/*])/g, "$1 $2 ")), e);
14281
14281
  }
14282
14282
  function va(e) {
14283
14283
  return e.startsWith("url(");
@@ -14297,7 +14297,7 @@ var wa = T((ao) => {
14297
14297
  return Ch.has(e);
14298
14298
  }
14299
14299
  function Sh(e) {
14300
- let t = (0, Fh.parseBoxShadowValue)(Ze(e));
14300
+ let t = (0, Fh.parseBoxShadowValue)(tt(e));
14301
14301
  for (let n of t)
14302
14302
  if (!n.valid)
14303
14303
  return false;
@@ -14305,15 +14305,15 @@ var wa = T((ao) => {
14305
14305
  }
14306
14306
  function kh(e) {
14307
14307
  let t = 0;
14308
- return e.split(dn).every((r) => (r = Ze(r), r.startsWith("var(") ? true : (0, xh.parseColor)(r, { loose: true }) !== null ? (t++, true) : false)) ? t > 0 : false;
14308
+ return e.split(dn).every((r) => (r = tt(r), r.startsWith("var(") ? true : (0, xh.parseColor)(r, { loose: true }) !== null ? (t++, true) : false)) ? t > 0 : false;
14309
14309
  }
14310
14310
  function Th(e) {
14311
14311
  let t = 0;
14312
- return e.split(ba).every((r) => (r = Ze(r), r.startsWith("var(") ? true : va(r) || Fa(r) || ["element(", "image(", "cross-fade(", "image-set("].some((i) => r.startsWith(i)) ? (t++, true) : false)) ? t > 0 : false;
14312
+ return e.split(ba).every((r) => (r = tt(r), r.startsWith("var(") ? true : va(r) || Fa(r) || ["element(", "image(", "cross-fade(", "image-set("].some((i) => r.startsWith(i)) ? (t++, true) : false)) ? t > 0 : false;
14313
14313
  }
14314
14314
  var Ah = /* @__PURE__ */ new Set(["linear-gradient", "radial-gradient", "repeating-linear-gradient", "repeating-radial-gradient", "conic-gradient"]);
14315
14315
  function Fa(e) {
14316
- e = Ze(e);
14316
+ e = tt(e);
14317
14317
  for (let t of Ah)
14318
14318
  if (e.startsWith(`${t}(`))
14319
14319
  return true;
@@ -14322,11 +14322,11 @@ var wa = T((ao) => {
14322
14322
  var Oh = /* @__PURE__ */ new Set(["center", "top", "right", "bottom", "left"]);
14323
14323
  function Ph(e) {
14324
14324
  let t = 0;
14325
- return e.split(dn).every((r) => (r = Ze(r), r.startsWith("var(") ? true : Oh.has(r) || xa(r) || ya(r) ? (t++, true) : false)) ? t > 0 : false;
14325
+ return e.split(dn).every((r) => (r = tt(r), r.startsWith("var(") ? true : Oh.has(r) || xa(r) || ya(r) ? (t++, true) : false)) ? t > 0 : false;
14326
14326
  }
14327
14327
  function Bh(e) {
14328
14328
  let t = 0;
14329
- return e.split(ba).every((r) => (r = Ze(r), r.startsWith("var(") ? true : r.includes(" ") && !/(['"])([^"']+)\1/g.test(r) || /^\d/g.test(r) ? false : (t++, true))) ? t > 0 : false;
14329
+ return e.split(ba).every((r) => (r = tt(r), r.startsWith("var(") ? true : r.includes(" ") && !/(['"])([^"']+)\1/g.test(r) || /^\d/g.test(r) ? false : (t++, true))) ? t > 0 : false;
14330
14330
  }
14331
14331
  var Ih = /* @__PURE__ */ new Set(["serif", "sans-serif", "monospace", "cursive", "fantasy", "system-ui", "ui-serif", "ui-sans-serif", "ui-monospace", "ui-rounded", "math", "emoji", "fangsong"]);
14332
14332
  function Rh(e) {
@@ -14348,7 +14348,7 @@ var Oa = T((co) => {
14348
14348
  for (var n in t)
14349
14349
  Object.defineProperty(e, n, { enumerable: true, get: t[n] });
14350
14350
  }
14351
- Wh(co, { updateAllClasses: () => zh, asValue: () => br, parseColorFormat: () => lo, asColor: () => ka, asLookupValue: () => Ta, coerceValue: () => Vh });
14351
+ Wh(co, { updateAllClasses: () => zh, asValue: () => Dr, parseColorFormat: () => lo, asColor: () => ka, asLookupValue: () => Ta, coerceValue: () => Vh });
14352
14352
  var qh = fo(ra()), Uh = fo(na()), Ea = no(), xe = wa(), Ca = fo(Xn());
14353
14353
  function fo(e) {
14354
14354
  return e && e.__esModule ? e : { default: e };
@@ -14362,7 +14362,7 @@ var Oa = T((co) => {
14362
14362
  }).processSync(e);
14363
14363
  }
14364
14364
  function Sa(e, t) {
14365
- if (!gr(e))
14365
+ if (!mr(e))
14366
14366
  return;
14367
14367
  let n = e.slice(1, -1);
14368
14368
  if (t(n))
@@ -14372,17 +14372,17 @@ var Oa = T((co) => {
14372
14372
  let r = t[e];
14373
14373
  if (r !== void 0)
14374
14374
  return (0, Ca.default)(r);
14375
- if (gr(e)) {
14375
+ if (mr(e)) {
14376
14376
  let i = Sa(e, n);
14377
14377
  return i === void 0 ? void 0 : (0, Ca.default)(i);
14378
14378
  }
14379
14379
  }
14380
- function br(e, t = {}, { validate: n = () => true } = {}) {
14380
+ function Dr(e, t = {}, { validate: n = () => true } = {}) {
14381
14381
  var r;
14382
14382
  let i = (r = t.values) === null || r === void 0 ? void 0 : r[e];
14383
14383
  return i !== void 0 ? i : t.supportsNegativeValues && e.startsWith("-") ? Gh(e.slice(1), t.values, n) : Sa(e, n);
14384
14384
  }
14385
- function gr(e) {
14385
+ function mr(e) {
14386
14386
  return e.startsWith("[") && e.endsWith("]");
14387
14387
  }
14388
14388
  function jh(e) {
@@ -14405,32 +14405,32 @@ var Oa = T((co) => {
14405
14405
  let [o, u] = jh(e);
14406
14406
  if (u !== void 0) {
14407
14407
  var s, a, l, f;
14408
- let c = (f = (s = t.values) === null || s === void 0 ? void 0 : s[o]) !== null && f !== void 0 ? f : gr(o) ? o.slice(1, -1) : void 0;
14409
- return c === void 0 ? void 0 : (c = lo(c), gr(u) ? (0, Ea.withAlphaValue)(c, u.slice(1, -1)) : ((a = n.theme) === null || a === void 0 || (l = a.opacity) === null || l === void 0 ? void 0 : l[u]) === void 0 ? void 0 : (0, Ea.withAlphaValue)(c, n.theme.opacity[u]));
14408
+ let c = (f = (s = t.values) === null || s === void 0 ? void 0 : s[o]) !== null && f !== void 0 ? f : mr(o) ? o.slice(1, -1) : void 0;
14409
+ return c === void 0 ? void 0 : (c = lo(c), mr(u) ? (0, Ea.withAlphaValue)(c, u.slice(1, -1)) : ((a = n.theme) === null || a === void 0 || (l = a.opacity) === null || l === void 0 ? void 0 : l[u]) === void 0 ? void 0 : (0, Ea.withAlphaValue)(c, n.theme.opacity[u]));
14410
14410
  }
14411
- return br(e, t, { validate: xe.color });
14411
+ return Dr(e, t, { validate: xe.color });
14412
14412
  }
14413
14413
  function Ta(e, t = {}) {
14414
14414
  var n;
14415
14415
  return (n = t.values) === null || n === void 0 ? void 0 : n[e];
14416
14416
  }
14417
14417
  function Te(e) {
14418
- return (t, n) => br(t, n, { validate: e });
14418
+ return (t, n) => Dr(t, n, { validate: e });
14419
14419
  }
14420
- var Aa = { any: br, color: ka, url: Te(xe.url), image: Te(xe.image), length: Te(xe.length), percentage: Te(xe.percentage), position: Te(xe.position), lookup: Ta, "generic-name": Te(xe.genericName), "family-name": Te(xe.familyName), number: Te(xe.number), "line-width": Te(xe.lineWidth), "absolute-size": Te(xe.absoluteSize), "relative-size": Te(xe.relativeSize), shadow: Te(xe.shadow) }, _a2 = Object.keys(Aa);
14420
+ var Aa = { any: Dr, color: ka, url: Te(xe.url), image: Te(xe.image), length: Te(xe.length), percentage: Te(xe.percentage), position: Te(xe.position), lookup: Ta, "generic-name": Te(xe.genericName), "family-name": Te(xe.familyName), number: Te(xe.number), "line-width": Te(xe.lineWidth), "absolute-size": Te(xe.absoluteSize), "relative-size": Te(xe.relativeSize), shadow: Te(xe.shadow) }, _a2 = Object.keys(Aa);
14421
14421
  function Hh(e, t) {
14422
14422
  let n = e.indexOf(t);
14423
14423
  return n === -1 ? [void 0, e] : [e.slice(0, n), e.slice(n + 1)];
14424
14424
  }
14425
14425
  function Vh(e, t, n, r) {
14426
- if (gr(t)) {
14426
+ if (mr(t)) {
14427
14427
  let i = t.slice(1, -1), [o, u] = Hh(i, ":");
14428
14428
  if (!/^[\w-_]+$/g.test(o))
14429
14429
  u = i;
14430
14430
  else if (o !== void 0 && !_a2.includes(o))
14431
14431
  return [];
14432
14432
  if (u.length > 0 && _a2.includes(o))
14433
- return [br(`[${u}]`, n), o];
14433
+ return [Dr(`[${u}]`, n), o];
14434
14434
  }
14435
14435
  for (let i of [].concat(e)) {
14436
14436
  let o = Aa[i](t, n, { tailwindConfig: r });
@@ -14459,15 +14459,15 @@ var Ma = T((mo) => {
14459
14459
  function Et(e) {
14460
14460
  return typeof e == "function";
14461
14461
  }
14462
- function vr(e) {
14462
+ function gr(e) {
14463
14463
  return typeof e == "object" && e !== null;
14464
14464
  }
14465
- function yr(e, ...t) {
14465
+ function br(e, ...t) {
14466
14466
  let n = t.pop();
14467
14467
  for (let r of t)
14468
14468
  for (let i in r) {
14469
14469
  let o = n(e[i], r[i]);
14470
- o === void 0 ? vr(e[i]) && vr(r[i]) ? e[i] = yr(e[i], r[i], n) : e[i] = r[i] : e[i] = o;
14470
+ o === void 0 ? gr(e[i]) && gr(r[i]) ? e[i] = br(e[i], r[i], n) : e[i] = r[i] : e[i] = o;
14471
14471
  }
14472
14472
  return e;
14473
14473
  }
@@ -14483,21 +14483,21 @@ var Ma = T((mo) => {
14483
14483
  return Et(e) ? e(...t) : e;
14484
14484
  }
14485
14485
  function sm(e) {
14486
- return e.reduce((t, { extend: n }) => yr(t, n, (r, i) => r === void 0 ? [i] : Array.isArray(r) ? [i, ...r] : [i, r]), {});
14486
+ return e.reduce((t, { extend: n }) => br(t, n, (r, i) => r === void 0 ? [i] : Array.isArray(r) ? [i, ...r] : [i, r]), {});
14487
14487
  }
14488
14488
  function am(e) {
14489
14489
  return { ...e.reduce((t, n) => (0, Ra.defaults)(t, n), {}), extend: sm(e) };
14490
14490
  }
14491
14491
  function Ia(e, t) {
14492
- if (Array.isArray(e) && vr(e[0]))
14492
+ if (Array.isArray(e) && gr(e[0]))
14493
14493
  return e.concat(t);
14494
- if (Array.isArray(t) && vr(t[0]) && vr(e))
14494
+ if (Array.isArray(t) && gr(t[0]) && gr(e))
14495
14495
  return [e, ...t];
14496
14496
  if (Array.isArray(t))
14497
14497
  return t;
14498
14498
  }
14499
14499
  function lm({ extend: e, ...t }) {
14500
- return yr(t, e, (n, r) => !Et(n) && !r.some(Et) ? yr({}, n, ...r, Ia) : (i, o) => yr({}, ...[n, ...r].map((u) => um(u, i, o)), Ia));
14500
+ return br(t, e, (n, r) => !Et(n) && !r.some(Et) ? br({}, n, ...r, Ia) : (i, o) => br({}, ...[n, ...r].map((u) => um(u, i, o)), Ia));
14501
14501
  }
14502
14502
  function* fm(e) {
14503
14503
  let t = (0, Ba.toPath)(e);
@@ -14570,13 +14570,13 @@ var za = T((Do) => {
14570
14570
  function Ua(e) {
14571
14571
  return e && e.__esModule ? e : { default: e };
14572
14572
  }
14573
- var Wa = { optimizeUniversalDefaults: false }, xr = { future: ["hoverOnlyWhenSupported", "respectDefaultRingColorOpacity"], experimental: ["optimizeUniversalDefaults", "matchVariant"] };
14573
+ var Wa = { optimizeUniversalDefaults: false }, vr = { future: ["hoverOnlyWhenSupported", "respectDefaultRingColorOpacity"], experimental: ["optimizeUniversalDefaults", "matchVariant"] };
14574
14574
  function vm(e, t) {
14575
- if (xr.future.includes(t)) {
14575
+ if (vr.future.includes(t)) {
14576
14576
  var n, r, i;
14577
14577
  return e.future === "all" || ((i = (r = e == null || (n = e.future) === null || n === void 0 ? void 0 : n[t]) !== null && r !== void 0 ? r : Wa[t]) !== null && i !== void 0 ? i : false);
14578
14578
  }
14579
- if (xr.experimental.includes(t)) {
14579
+ if (vr.experimental.includes(t)) {
14580
14580
  var o, u, s;
14581
14581
  return e.experimental === "all" || ((s = (u = e == null || (o = e.experimental) === null || o === void 0 ? void 0 : o[t]) !== null && u !== void 0 ? u : Wa[t]) !== null && s !== void 0 ? s : false);
14582
14582
  }
@@ -14584,9 +14584,9 @@ var za = T((Do) => {
14584
14584
  }
14585
14585
  function qa(e) {
14586
14586
  if (e.experimental === "all")
14587
- return xr.experimental;
14587
+ return vr.experimental;
14588
14588
  var t;
14589
- return Object.keys((t = e == null ? void 0 : e.experimental) !== null && t !== void 0 ? t : {}).filter((n) => xr.experimental.includes(n) && e.experimental[n]);
14589
+ return Object.keys((t = e == null ? void 0 : e.experimental) !== null && t !== void 0 ? t : {}).filter((n) => vr.experimental.includes(n) && e.experimental[n]);
14590
14590
  }
14591
14591
  function ym(e) {
14592
14592
  if (process.env.JEST_WORKER_ID === void 0 && qa(e).length > 0) {
@@ -14594,7 +14594,7 @@ var za = T((Do) => {
14594
14594
  bm.default.warn("experimental-flags-enabled", [`You have enabled experimental features: ${t}`, "Experimental features in Tailwind CSS are not covered by semver, may introduce breaking changes, and can change at any time."]);
14595
14595
  }
14596
14596
  }
14597
- var xm = xr;
14597
+ var xm = vr;
14598
14598
  });
14599
14599
  var ja = T((go) => {
14600
14600
  "use strict";
@@ -14631,24 +14631,24 @@ var gt;
14631
14631
  function Bl(e) {
14632
14632
  gt = e;
14633
14633
  }
14634
- var Pt = null;
14634
+ var At = null;
14635
14635
  async function qe() {
14636
- return gt || (Pt ? (await Pt, gt) : (Pt = Promise.resolve().then(() => (Ho(), jo)).then((e) => e.getYogaModule()).then((e) => gt = e), await Pt, Pt = null, gt));
14636
+ return gt || (At ? (await At, gt) : (At = Promise.resolve().then(() => (Ho(), jo)).then((e) => e.getYogaModule()).then((e) => gt = e), await At, At = null, gt));
14637
14637
  }
14638
- var Bt = (e, t) => () => (t || e((t = { exports: {} }).exports, t), t.exports);
14639
- var Il = Bt((e, t) => {
14638
+ var Ot = (e, t) => () => (t || e((t = { exports: {} }).exports, t), t.exports);
14639
+ var Il = Ot((e, t) => {
14640
14640
  t.exports = ["em", "ex", "ch", "rem", "vh", "vw", "vmin", "vmax", "px", "mm", "cm", "in", "pt", "pc", "mozmm"];
14641
14641
  });
14642
- var Rl = Bt((e, t) => {
14642
+ var Rl = Ot((e, t) => {
14643
14643
  t.exports = ["deg", "grad", "rad", "turn"];
14644
14644
  });
14645
- var Ll = Bt((e, t) => {
14645
+ var Ll = Ot((e, t) => {
14646
14646
  t.exports = ["dpi", "dpcm", "dppx"];
14647
14647
  });
14648
- var Ml = Bt((e, t) => {
14648
+ var Ml = Ot((e, t) => {
14649
14649
  t.exports = ["Hz", "kHz"];
14650
14650
  });
14651
- var Nl = Bt((e, t) => {
14651
+ var Nl = Ot((e, t) => {
14652
14652
  t.exports = ["s", "ms"];
14653
14653
  });
14654
14654
  var $l = Il();
@@ -14680,7 +14680,7 @@ Fn.prototype.valueOf = function() {
14680
14680
  Fn.prototype.toString = function() {
14681
14681
  return this.value + (this.unit || "");
14682
14682
  };
14683
- function Ye(e) {
14683
+ function Qe(e) {
14684
14684
  return new Fn(e);
14685
14685
  }
14686
14686
  function Wl(e) {
@@ -14725,7 +14725,7 @@ function Zo(e) {
14725
14725
  }
14726
14726
  return n;
14727
14727
  }
14728
- function U(e, t, n, r, i = false) {
14728
+ function q(e, t, n, r, i = false) {
14729
14729
  if (typeof e == "number")
14730
14730
  return e;
14731
14731
  try {
@@ -14733,7 +14733,7 @@ function U(e, t, n, r, i = false) {
14733
14733
  return;
14734
14734
  if (e === String(+e))
14735
14735
  return +e;
14736
- let o = new Ye(e);
14736
+ let o = new Qe(e);
14737
14737
  if (o.type === "length")
14738
14738
  switch (o.unit) {
14739
14739
  case "em":
@@ -14761,7 +14761,7 @@ function U(e, t, n, r, i = false) {
14761
14761
  } catch {
14762
14762
  }
14763
14763
  }
14764
- function It(e, t) {
14764
+ function Pt(e, t) {
14765
14765
  return [e[0] * t[0] + e[2] * t[1], e[1] * t[0] + e[3] * t[1], e[0] * t[2] + e[2] * t[3], e[1] * t[2] + e[3] * t[3], e[0] * t[4] + e[2] * t[5] + e[4], e[1] * t[4] + e[3] * t[5] + e[5]];
14766
14766
  }
14767
14767
  function ve(e, t, n, r) {
@@ -15037,7 +15037,7 @@ function Tn(e) {
15037
15037
  }
15038
15038
  function nf(e, t) {
15039
15039
  try {
15040
- let n = new Ye(e);
15040
+ let n = new Qe(e);
15041
15041
  switch (n.unit) {
15042
15042
  case "px":
15043
15043
  return { absolute: n.value };
@@ -15083,7 +15083,7 @@ function On(e, t) {
15083
15083
  }
15084
15084
  return n.length === 1 ? An(n[0], t, true) : n.length === 2 ? ((n[0] === "top" || n[0] === "bottom" || n[1] === "left" || n[1] === "right") && n.reverse(), { ...An(n[0], t, true), ...An(n[1], t, false) }) : {};
15085
15085
  }
15086
- function Rt(e, t) {
15086
+ function Bt(e, t) {
15087
15087
  let n = (0, import_css_to_react_native2.getPropertyName)(`mask-${t}`);
15088
15088
  return e[n] || e[`WebkitM${n.substring(1)}`];
15089
15089
  }
@@ -15094,7 +15094,7 @@ function uf(e) {
15094
15094
  return t.push(e.slice(n).trim()), t;
15095
15095
  }
15096
15096
  function hu(e) {
15097
- let t = e.maskImage || e.WebkitMaskImage, n = { position: Rt(e, "position") || "0% 0%", size: Rt(e, "size") || "100% 100%", repeat: Rt(e, "repeat") || "repeat", origin: Rt(e, "origin") || "border-box", clip: Rt(e, "origin") || "border-box" };
15097
+ let t = e.maskImage || e.WebkitMaskImage, n = { position: Bt(e, "position") || "0% 0%", size: Bt(e, "size") || "100% 100%", repeat: Bt(e, "repeat") || "repeat", origin: Bt(e, "origin") || "border-box", clip: Bt(e, "origin") || "border-box" };
15098
15098
  return uf(t).filter((i) => i && i !== "none").reverse().map((i) => ({ image: i, ...n }));
15099
15099
  }
15100
15100
  var cf = /* @__PURE__ */ new Set(["flex", "flexGrow", "flexShrink", "flexBasis", "fontWeight", "lineHeight", "opacity", "scale", "scaleX", "scaleY"]);
@@ -15102,12 +15102,13 @@ var df = /* @__PURE__ */ new Set(["lineHeight"]);
15102
15102
  function pf(e, t, n, r) {
15103
15103
  return e === "textDecoration" && !n.includes(t.textDecorationColor) && (t.textDecorationColor = r), t;
15104
15104
  }
15105
- function Lt(e, t) {
15106
- return typeof t == "number" ? cf.has(e) ? df.has(e) ? t : String(t) : t + "px" : t;
15105
+ function It(e, t) {
15106
+ let n = Number(t);
15107
+ return isNaN(n) ? t : cf.has(e) ? df.has(e) ? n : String(t) : n + "px";
15107
15108
  }
15108
15109
  function hf(e, t, n) {
15109
15110
  if (e === "lineHeight")
15110
- return { lineHeight: Lt(e, t) };
15111
+ return { lineHeight: It(e, t) };
15111
15112
  if (e === "fontFamily")
15112
15113
  return { fontFamily: t.split(",").map((r) => r.trim().replace(/(^['"])|(['"]$)/g, "").toLocaleLowerCase()) };
15113
15114
  if (e === "borderRadius") {
@@ -15115,13 +15116,13 @@ function hf(e, t, n) {
15115
15116
  return;
15116
15117
  let [r, i] = t.split("/"), o = (0, import_css_to_react_native.getStylesForProperty)(e, r, true), u = (0, import_css_to_react_native.getStylesForProperty)(e, i, true);
15117
15118
  for (let s in o)
15118
- u[s] = Lt(e, o[s]) + " " + Lt(e, u[s]);
15119
+ u[s] = It(e, o[s]) + " " + It(e, u[s]);
15119
15120
  return u;
15120
15121
  }
15121
15122
  if (/^border(Top|Right|Bottom|Left)?$/.test(e)) {
15122
15123
  let r = (0, import_css_to_react_native.getStylesForProperty)("border", t, true);
15123
15124
  r.borderWidth === 1 && !String(t).includes("1px") && (r.borderWidth = 3), r.borderColor === "black" && !String(t).includes("black") && (r.borderColor = n);
15124
- let i = { Width: Lt(e + "Width", r.borderWidth), Style: ve(r.borderStyle, { solid: "solid", dashed: "dashed" }, "solid", e + "Style"), Color: r.borderColor }, o = {};
15125
+ let i = { Width: It(e + "Width", r.borderWidth), Style: ve(r.borderStyle, { solid: "solid", dashed: "dashed" }, "solid", e + "Style"), Color: r.borderColor }, o = {};
15125
15126
  for (let u of e === "border" ? ["Top", "Right", "Bottom", "Left"] : [e.slice(6)])
15126
15127
  for (let s in i)
15127
15128
  o["border" + u + s] = i[s];
@@ -15192,7 +15193,7 @@ function qr(e, t) {
15192
15193
  continue;
15193
15194
  let u = (0, import_css_to_react_native.getPropertyName)(o), s = vf(e[o], i);
15194
15195
  try {
15195
- let a = hf(u, s, i) || pf(u, (0, import_css_to_react_native.getStylesForProperty)(u, Lt(u, s), true), s, i);
15196
+ let a = hf(u, s, i) || pf(u, (0, import_css_to_react_native.getStylesForProperty)(u, It(u, s), true), s, i);
15196
15197
  Object.assign(n, a);
15197
15198
  } catch (a) {
15198
15199
  throw new Error(a.message + (a.message.includes(s) ? `
@@ -15214,10 +15215,10 @@ function qr(e, t) {
15214
15215
  for (let i in n) {
15215
15216
  let o = n[i];
15216
15217
  if (i === "lineHeight")
15217
- typeof o == "string" && (o = n[i] = U(o, r, r, t, true) / r);
15218
+ typeof o == "string" && (o = n[i] = q(o, r, r, t, true) / r);
15218
15219
  else {
15219
15220
  if (typeof o == "string") {
15220
- let u = U(o, r, r, t);
15221
+ let u = q(o, r, r, t);
15221
15222
  typeof u < "u" && (n[i] = u), o = n[i];
15222
15223
  }
15223
15224
  if (typeof o == "string" || typeof o == "object") {
@@ -15228,7 +15229,7 @@ function qr(e, t) {
15228
15229
  if (i === "opacity" && (o = n[i] = o * t.opacity), i === "transform") {
15229
15230
  let u = o;
15230
15231
  for (let s of u) {
15231
- let a = Object.keys(s)[0], l = s[a], f = typeof l == "string" ? U(l, r, r, t) ?? l : l;
15232
+ let a = Object.keys(s)[0], l = s[a], f = typeof l == "string" ? q(l, r, r, t) ?? l : l;
15232
15233
  s[a] = f;
15233
15234
  }
15234
15235
  }
@@ -15239,7 +15240,7 @@ function Df(e, t) {
15239
15240
  if (typeof e == "number")
15240
15241
  return e;
15241
15242
  try {
15242
- let n = new Ye(e);
15243
+ let n = new Qe(e);
15243
15244
  switch (n.unit) {
15244
15245
  case "em":
15245
15246
  return n.value * t;
@@ -15280,7 +15281,7 @@ async function Pn(e, t, n, r, i) {
15280
15281
  }
15281
15282
  if (t === "svg") {
15282
15283
  let s = i.viewBox || i.viewbox, a = vt(s), l = a ? a[3] / a[2] : null, { width: f, height: c } = i;
15283
- typeof f > "u" && c ? l == null ? f = 0 : typeof c == "string" && c.endsWith("%") ? f = parseInt(c) / l + "%" : (c = U(c, n.fontSize, 1, n), f = c / l) : typeof c > "u" && f ? l == null ? f = 0 : typeof f == "string" && f.endsWith("%") ? c = parseInt(f) * l + "%" : (f = U(f, n.fontSize, 1, n), c = f * l) : (typeof f < "u" && (f = U(f, n.fontSize, 1, n) || f), typeof c < "u" && (c = U(c, n.fontSize, 1, n) || c), f || (f = a == null ? void 0 : a[2]), c || (c = a == null ? void 0 : a[3])), !u.width && f && (u.width = f), !u.height && c && (u.height = c);
15284
+ typeof f > "u" && c ? l == null ? f = 0 : typeof c == "string" && c.endsWith("%") ? f = parseInt(c) / l + "%" : (c = q(c, n.fontSize, 1, n), f = c / l) : typeof c > "u" && f ? l == null ? f = 0 : typeof f == "string" && f.endsWith("%") ? c = parseInt(f) * l + "%" : (f = q(f, n.fontSize, 1, n), c = f * l) : (typeof f < "u" && (f = q(f, n.fontSize, 1, n) || f), typeof c < "u" && (c = q(c, n.fontSize, 1, n) || c), f || (f = a == null ? void 0 : a[2]), c || (c = a == null ? void 0 : a[3])), !u.width && f && (u.width = f), !u.height && c && (u.height = c);
15284
15285
  }
15285
15286
  return e.setDisplay(ve(u.display, { flex: o.DISPLAY_FLEX, block: o.DISPLAY_FLEX, none: o.DISPLAY_NONE, "-webkit-box": o.DISPLAY_FLEX }, o.DISPLAY_FLEX, "display")), e.setAlignContent(ve(u.alignContent, { stretch: o.ALIGN_STRETCH, center: o.ALIGN_CENTER, "flex-start": o.ALIGN_FLEX_START, "flex-end": o.ALIGN_FLEX_END, "space-between": o.ALIGN_SPACE_BETWEEN, "space-around": o.ALIGN_SPACE_AROUND, baseline: o.ALIGN_BASELINE, normal: o.ALIGN_AUTO }, o.ALIGN_AUTO, "alignContent")), e.setAlignItems(ve(u.alignItems, { stretch: o.ALIGN_STRETCH, center: o.ALIGN_CENTER, "flex-start": o.ALIGN_FLEX_START, "flex-end": o.ALIGN_FLEX_END, baseline: o.ALIGN_BASELINE, normal: o.ALIGN_AUTO }, o.ALIGN_STRETCH, "alignItems")), e.setAlignSelf(ve(u.alignSelf, { stretch: o.ALIGN_STRETCH, center: o.ALIGN_CENTER, "flex-start": o.ALIGN_FLEX_START, "flex-end": o.ALIGN_FLEX_END, baseline: o.ALIGN_BASELINE, normal: o.ALIGN_AUTO }, o.ALIGN_AUTO, "alignSelf")), e.setJustifyContent(ve(u.justifyContent, { center: o.JUSTIFY_CENTER, "flex-start": o.JUSTIFY_FLEX_START, "flex-end": o.JUSTIFY_FLEX_END, "space-between": o.JUSTIFY_SPACE_BETWEEN, "space-around": o.JUSTIFY_SPACE_AROUND }, o.JUSTIFY_FLEX_START, "justifyContent")), e.setFlexDirection(ve(u.flexDirection, { row: o.FLEX_DIRECTION_ROW, column: o.FLEX_DIRECTION_COLUMN, "row-reverse": o.FLEX_DIRECTION_ROW_REVERSE, "column-reverse": o.FLEX_DIRECTION_COLUMN_REVERSE }, o.FLEX_DIRECTION_ROW, "flexDirection")), e.setFlexWrap(ve(u.flexWrap, { wrap: o.WRAP_WRAP, nowrap: o.WRAP_NO_WRAP, "wrap-reverse": o.WRAP_WRAP_REVERSE }, o.WRAP_NO_WRAP, "flexWrap")), typeof u.gap < "u" && e.setGap(o.GUTTER_ALL, u.gap), typeof u.rowGap < "u" && e.setGap(o.GUTTER_ROW, u.rowGap), typeof u.columnGap < "u" && e.setGap(o.GUTTER_COLUMN, u.columnGap), typeof u.flexBasis < "u" && e.setFlexBasis(u.flexBasis), e.setFlexGrow(typeof u.flexGrow > "u" ? 0 : u.flexGrow), e.setFlexShrink(typeof u.flexShrink > "u" ? 0 : u.flexShrink), typeof u.maxHeight < "u" && e.setMaxHeight(u.maxHeight), typeof u.maxWidth < "u" && e.setMaxWidth(u.maxWidth), typeof u.minHeight < "u" && e.setMinHeight(u.minHeight), typeof u.minWidth < "u" && e.setMinWidth(u.minWidth), e.setOverflow(ve(u.overflow, { visible: o.OVERFLOW_VISIBLE, hidden: o.OVERFLOW_HIDDEN }, o.OVERFLOW_VISIBLE, "overflow")), e.setMargin(o.EDGE_TOP, u.marginTop || 0), e.setMargin(o.EDGE_BOTTOM, u.marginBottom || 0), e.setMargin(o.EDGE_LEFT, u.marginLeft || 0), e.setMargin(o.EDGE_RIGHT, u.marginRight || 0), e.setBorder(o.EDGE_TOP, u.borderTopWidth || 0), e.setBorder(o.EDGE_BOTTOM, u.borderBottomWidth || 0), e.setBorder(o.EDGE_LEFT, u.borderLeftWidth || 0), e.setBorder(o.EDGE_RIGHT, u.borderRightWidth || 0), e.setPadding(o.EDGE_TOP, u.paddingTop || 0), e.setPadding(o.EDGE_BOTTOM, u.paddingBottom || 0), e.setPadding(o.EDGE_LEFT, u.paddingLeft || 0), e.setPadding(o.EDGE_RIGHT, u.paddingRight || 0), e.setPositionType(ve(u.position, { absolute: o.POSITION_TYPE_ABSOLUTE, relative: o.POSITION_TYPE_RELATIVE }, o.POSITION_TYPE_RELATIVE, "position")), typeof u.top < "u" && e.setPosition(o.EDGE_TOP, u.top), typeof u.bottom < "u" && e.setPosition(o.EDGE_BOTTOM, u.bottom), typeof u.left < "u" && e.setPosition(o.EDGE_LEFT, u.left), typeof u.right < "u" && e.setPosition(o.EDGE_RIGHT, u.right), typeof u.height < "u" ? e.setHeight(u.height) : e.setHeightAuto(), typeof u.width < "u" ? e.setWidth(u.width) : e.setWidthAuto(), [u, Tn(u)];
15286
15287
  }
@@ -15325,11 +15326,11 @@ function yf(e, t, n) {
15325
15326
  a[1] = Math.tan(s * Math.PI / 180);
15326
15327
  break;
15327
15328
  }
15328
- r = It(a, r);
15329
+ r = Pt(a, r);
15329
15330
  }
15330
15331
  e.splice(0, e.length), e.push(...r), e.__resolved = true;
15331
15332
  }
15332
- function Mt({ left: e, top: t, width: n, height: r }, i, o, u) {
15333
+ function Rt({ left: e, top: t, width: n, height: r }, i, o, u) {
15333
15334
  let s;
15334
15335
  i.__resolved || yf(i, n, r);
15335
15336
  let a = i;
@@ -15337,13 +15338,13 @@ function Mt({ left: e, top: t, width: n, height: r }, i, o, u) {
15337
15338
  s = a;
15338
15339
  else {
15339
15340
  let l = (u == null ? void 0 : u.xAbsolute) ?? ((u == null ? void 0 : u.xRelative) ?? 50) * n / 100, f = (u == null ? void 0 : u.yAbsolute) ?? ((u == null ? void 0 : u.yRelative) ?? 50) * r / 100, c = e + l, p = t + f;
15340
- s = It([1, 0, 0, 1, c, p], It(a, [1, 0, 0, 1, -c, -p])), a.__parent && (s = It(a.__parent, s)), a.splice(0, 6, ...s);
15341
+ s = Pt([1, 0, 0, 1, c, p], Pt(a, [1, 0, 0, 1, -c, -p])), a.__parent && (s = Pt(a.__parent, s)), a.splice(0, 6, ...s);
15341
15342
  }
15342
15343
  return `matrix(${s.map((l) => l.toFixed(2)).join(",")})`;
15343
15344
  }
15344
15345
  function xu({ left: e, top: t, width: n, height: r, isInheritingTransform: i }, o) {
15345
15346
  let u = "", s = 1;
15346
- return o.transform && (u = Mt({ left: e, top: t, width: n, height: r }, o.transform, i, o.transformOrigin)), o.opacity !== void 0 && (s = +o.opacity), { matrix: u, opacity: s };
15347
+ return o.transform && (u = Rt({ left: e, top: t, width: n, height: r }, o.transform, i, o.transformOrigin)), o.opacity !== void 0 && (s = +o.opacity), { matrix: u, opacity: s };
15347
15348
  }
15348
15349
  function Bn({ id: e, content: t, filter: n, left: r, top: i, width: o, height: u, matrix: s, opacity: a, image: l, clipPathId: f, debug: c, shape: p, decorationShape: h }, d) {
15349
15350
  let m = "";
@@ -15385,18 +15386,18 @@ function wu({ width: e, height: t, shape: n, opacity: r, id: i }, o) {
15385
15386
  return [u, s];
15386
15387
  }
15387
15388
  function In({ width: e, left: t, top: n, ascender: r, clipPathId: i }, o) {
15388
- let { textDecorationColor: u, textDecorationStyle: s, textDecorationLine: a, fontSize: l } = o;
15389
+ let { textDecorationColor: u, textDecorationStyle: s, textDecorationLine: a, fontSize: l, color: f } = o;
15389
15390
  if (!a || a === "none")
15390
15391
  return "";
15391
- let f = Math.max(1, l * 0.1), c = a === "line-through" ? n + r * 0.5 : a === "underline" ? n + r * 1.1 : n, p = s === "dashed" ? `${f * 1.2} ${f * 2}` : s === "dotted" ? `0 ${f * 2}` : void 0;
15392
- return C("line", { x1: t, y1: c, x2: t + e, y2: c, stroke: u, "stroke-width": f, "stroke-dasharray": p, "stroke-linecap": s === "dotted" ? "round" : "square", "clip-path": i ? `url(#${i})` : void 0 });
15392
+ let c = Math.max(1, l * 0.1), p = a === "line-through" ? n + r * 0.7 : a === "underline" ? n + r * 1.1 : n, h = s === "dashed" ? `${c * 1.2} ${c * 2}` : s === "dotted" ? `0 ${c * 2}` : void 0;
15393
+ return C("line", { x1: t, y1: p, x2: t + e, y2: p, stroke: u || f, "stroke-width": c, "stroke-dasharray": h, "stroke-linecap": s === "dotted" ? "round" : "square", "clip-path": i ? `url(#${i})` : void 0 });
15393
15394
  }
15394
15395
  function Rn(e) {
15395
15396
  return e = e.replace("U+", "0x"), String.fromCodePoint(Number(e));
15396
15397
  }
15397
- var Nt = Rn("U+0020");
15398
+ var Lt = Rn("U+0020");
15398
15399
  var Ln = Rn("U+0009");
15399
- var $t = Rn("U+2026");
15400
+ var Mt = Rn("U+2026");
15400
15401
  var Ff = /* @__PURE__ */ new Set([Ln]);
15401
15402
  function wf(e) {
15402
15403
  return Ff.has(e);
@@ -15404,169 +15405,169 @@ function wf(e) {
15404
15405
  async function* Mn(e, t) {
15405
15406
  let n = await qe(), { parentStyle: r, inheritedStyle: i, parent: o, font: u, id: s, isInheritingTransform: a, debug: l, embedFont: f, graphemeImages: c, locale: p, canLoadAdditionalAssets: h } = t, { textAlign: d, whiteSpace: m, wordBreak: v, lineHeight: g, textTransform: b, textWrap: x, fontSize: F, filter: y, tabSize: k = 8, _inheritedBackgroundClipTextPath: P } = r;
15406
15407
  e = Ef(e, b, p);
15407
- let { content: B, shouldCollapseTabsAndSpaces: H, allowSoftWrap: oe } = Sf(e, m), { words: ue, requiredBreaks: se, allowBreakWord: $ } = _f(B, v), [L, X] = Cf(r, oe), ce = kf(n, d);
15408
- o.insertChild(ce, o.getChildCount()), nu(r.flexShrink) && o.setFlexShrink(1);
15409
- let V = u.getEngine(F, g, r, p), Z = h ? we(B, "grapheme").filter((I) => !wf(I) && !V.has(I)) : [];
15410
- yield Z.map((I) => ({ word: I, locale: p })), Z.length && (V = u.getEngine(F, g, r, p));
15408
+ let { content: B, shouldCollapseTabsAndSpaces: j, allowSoftWrap: oe } = Sf(e, m), { words: ue, requiredBreaks: se, allowBreakWord: N } = _f(B, v), [L, V] = Cf(r, oe), de = kf(n, d);
15409
+ o.insertChild(de, o.getChildCount()), nu(r.flexShrink) && o.setFlexShrink(1);
15410
+ let Y = u.getEngine(F, g, r, p), ee = h ? we(B, "grapheme").filter((I) => !wf(I) && !Y.has(I)) : [];
15411
+ yield ee.map((I) => ({ word: I, locale: p })), ee.length && (Y = u.getEngine(F, g, r, p));
15411
15412
  function le(I) {
15412
15413
  return !!(c && c[I]);
15413
15414
  }
15414
- let he = Tf(V, r);
15415
+ let he = Tf(Y, r);
15415
15416
  function A(I) {
15416
- let W = 0;
15417
- for (let j of I)
15418
- le(j) ? W += F : W += he(j);
15419
- return W;
15417
+ let $ = 0;
15418
+ for (let X of I)
15419
+ le(X) ? $ += F : $ += he(X);
15420
+ return $;
15420
15421
  }
15421
15422
  function O(I) {
15422
15423
  return A(we(I, "grapheme"));
15423
15424
  }
15424
- let M = Lr(k) ? U(k, F, 1, r) : he(Nt) * k, R = (I, W) => {
15425
+ let M = Lr(k) ? q(k, F, 1, r) : he(Lt) * k, R = (I, $) => {
15425
15426
  if (I.length === 0)
15426
15427
  return { originWidth: 0, endingSpacesWidth: 0, text: I };
15427
- let { index: j, tabCount: q } = Af(I), ne = 0, Y = "";
15428
- if (q > 0) {
15429
- Y = I.slice(0, j);
15430
- let de = I.slice(j + q), ee = O(Y), Ie = ee + W;
15431
- ne = (M === 0 ? ee : (Math.floor(Ie / M) + q) * M) + O(de);
15428
+ let { index: X, tabCount: G } = Af(I), ie = 0, H = "";
15429
+ if (G > 0) {
15430
+ H = I.slice(0, X);
15431
+ let fe = I.slice(X + G), te = O(H), Ie = te + $;
15432
+ ie = (M === 0 ? te : (Math.floor(Ie / M) + G) * M) + O(fe);
15432
15433
  } else
15433
- ne = O(I);
15434
- let me = I.trimEnd() === I ? ne : O(I.trimEnd());
15435
- return { originWidth: ne, endingSpacesWidth: ne - me, text: I };
15434
+ ie = O(I);
15435
+ let me = I.trimEnd() === I ? ie : O(I.trimEnd());
15436
+ return { originWidth: ie, endingSpacesWidth: ie - me, text: I };
15436
15437
  }, ae = [], be = [], Be = [], dt = [], St = [];
15437
15438
  function Dn(I) {
15438
- let W = 0, j = 0, q = -1, ne = 0, Y = 0, me = 0, de = 0;
15439
+ let $ = 0, X = 0, G = -1, ie = 0, H = 0, me = 0, fe = 0;
15439
15440
  ae = [], Be = [0], dt = [], St = [];
15440
- let ee = 0, Ie = 0;
15441
- for (; ee < ue.length && W < L; ) {
15442
- let N = ue[ee], tt = se[ee], Ee = 0, { originWidth: rt, endingSpacesWidth: At, text: nt } = R(N, Y);
15443
- N = nt, Ee = rt;
15444
- let ie = At;
15445
- tt && me === 0 && (me = V.height(N));
15446
- let De = ",.!?:-@)>]}%#".indexOf(N[0]) < 0, Ve = !Y, Pr = ee && De && Y + Ee > I + ie && oe;
15447
- if ($ && Ee > I && (!Y || Pr || tt)) {
15448
- let ge = we(N, "grapheme");
15449
- ue.splice(ee, 1, ...ge), Y > 0 && (ae.push(Y - Ie), be.push(de), W++, ne += me, Y = 0, me = 0, de = 0, Be.push(1), q = -1), Ie = ie;
15441
+ let te = 0, Ie = 0;
15442
+ for (; te < ue.length && $ < L; ) {
15443
+ let W = ue[te], nt = se[te], Ee = 0, { originWidth: Ve, endingSpacesWidth: Or, text: Ye } = R(W, H);
15444
+ W = Ye, Ee = Ve;
15445
+ let Z = Or;
15446
+ nt && me === 0 && (me = Y.height(W));
15447
+ let De = ",.!?:-@)>]}%#".indexOf(W[0]) < 0, Xe = !H, Pr = te && De && H + Ee > I + Z && oe;
15448
+ if (N && Ee > I && (!H || Pr || nt)) {
15449
+ let ge = we(W, "grapheme");
15450
+ ue.splice(te, 1, ...ge), H > 0 && (ae.push(H - Ie), be.push(fe), $++, ie += me, H = 0, me = 0, fe = 0, Be.push(1), G = -1), Ie = Z;
15450
15451
  continue;
15451
15452
  }
15452
- if (tt || Pr)
15453
- H && N === " " && (Ee = 0), ae.push(Y - Ie), be.push(de), W++, ne += me, Y = Ee, me = Ee ? V.height(N) : 0, de = Ee ? V.baseline(N) : 0, Be.push(1), q = -1, tt || (j = Math.max(j, I));
15453
+ if (nt || Pr)
15454
+ j && W === " " && (Ee = 0), ae.push(H - Ie), be.push(fe), $++, ie += me, H = Ee, me = Ee ? Y.height(W) : 0, fe = Ee ? Y.baseline(W) : 0, Be.push(1), G = -1, nt || (X = Math.max(X, I));
15454
15455
  else {
15455
- Y += Ee;
15456
- let ge = V.height(N);
15457
- ge > me && (me = ge, de = V.baseline(N)), Ve && Be[Be.length - 1]++;
15456
+ H += Ee;
15457
+ let ge = Y.height(W);
15458
+ ge > me && (me = ge, fe = Y.baseline(W)), Xe && Be[Be.length - 1]++;
15458
15459
  }
15459
- Ve && q++, j = Math.max(j, Y);
15460
- let it = Y - Ee;
15460
+ Xe && G++, X = Math.max(X, H);
15461
+ let it = H - Ee;
15461
15462
  if (Ee === 0)
15462
- St.push({ y: ne, x: it, width: 0, line: W, lineIndex: q, isImage: false });
15463
+ St.push({ y: ie, x: it, width: 0, line: $, lineIndex: G, isImage: false });
15463
15464
  else {
15464
- let ge = we(N, "word");
15465
+ let ge = we(W, "word");
15465
15466
  for (let Oe = 0; Oe < ge.length; Oe++) {
15466
- let ot = ge[Oe], We = 0, Ot = false;
15467
- le(ot) ? (We = F, Ot = true) : We = he(ot), dt.push(ot), St.push({ y: ne, x: it, width: We, line: W, lineIndex: q, isImage: Ot }), it += We;
15467
+ let ot = ge[Oe], We = 0, Tt = false;
15468
+ le(ot) ? (We = F, Tt = true) : We = he(ot), dt.push(ot), St.push({ y: ie, x: it, width: We, line: $, lineIndex: G, isImage: Tt }), it += We;
15468
15469
  }
15469
15470
  }
15470
- ee++, Ie = ie;
15471
+ te++, Ie = Z;
15471
15472
  }
15472
- return Y && (W < L && (ne += me), W++, ae.push(Y), be.push(de)), { width: j, height: ne };
15473
+ return H && ($ < L && (ie += me), $++, ae.push(H), be.push(fe)), { width: X, height: ie };
15473
15474
  }
15474
- let Sr = { width: 0, height: 0 };
15475
- ce.setMeasureFunc((I) => {
15476
- let { width: W, height: j } = Dn(I);
15475
+ let Cr = { width: 0, height: 0 };
15476
+ de.setMeasureFunc((I) => {
15477
+ let { width: $, height: X } = Dn(I);
15477
15478
  if (x === "balance") {
15478
- let q = W / 2, ne = W, Y = W;
15479
- for (; q + 1 < ne; ) {
15480
- Y = (q + ne) / 2;
15481
- let { height: me } = Dn(Y);
15482
- me > j ? q = Y : ne = Y;
15479
+ let G = $ / 2, ie = $, H = $;
15480
+ for (; G + 1 < ie; ) {
15481
+ H = (G + ie) / 2;
15482
+ let { height: me } = Dn(H);
15483
+ me > X ? G = H : ie = H;
15483
15484
  }
15484
- return Dn(ne), Sr = { width: ne, height: j }, { width: ne, height: j };
15485
+ return Dn(ie), Cr = { width: ie, height: X }, { width: Math.ceil(ie), height: X };
15485
15486
  }
15486
- return Sr = { width: W, height: j }, { width: W, height: j };
15487
+ return Cr = { width: $, height: X }, { width: Math.ceil($), height: X };
15487
15488
  });
15488
- let [Fl, wl] = yield, gn = "", kr = "", je = i._inheritedClipPathId, Mo = i._inheritedMaskId, { left: No, top: $o, width: bn, height: El } = ce.getComputedLayout(), Tr = o.getComputedWidth() - o.getComputedPadding(n.EDGE_LEFT) - o.getComputedPadding(n.EDGE_RIGHT) - o.getComputedBorder(n.EDGE_LEFT) - o.getComputedBorder(n.EDGE_RIGHT), pt = Fl + No, ht = wl + $o, { matrix: $e, opacity: Ar } = xu({ left: No, top: $o, width: bn, height: El, isInheritingTransform: a }, r), mt = "";
15489
+ let [Fl, wl] = yield, gn = "", _r = "", je = i._inheritedClipPathId, Mo = i._inheritedMaskId, { left: No, top: $o, width: bn, height: El } = de.getComputedLayout(), Sr = o.getComputedWidth() - o.getComputedPadding(n.EDGE_LEFT) - o.getComputedPadding(n.EDGE_RIGHT) - o.getComputedBorder(n.EDGE_LEFT) - o.getComputedBorder(n.EDGE_RIGHT), pt = Fl + No, ht = wl + $o, { matrix: $e, opacity: kr } = xu({ left: No, top: $o, width: bn, height: El, isInheritingTransform: a }, r), mt = "";
15489
15490
  if (r.textShadowOffset) {
15490
- let { textShadowColor: I, textShadowOffset: W, textShadowRadius: j } = r;
15491
- Array.isArray(r.textShadowOffset) || (I = [I], W = [W], j = [j]), mt = Fu({ width: Sr.width, height: Sr.height, id: s }, { shadowColor: I, shadowOffset: W, shadowRadius: j }), mt = C("defs", {}, mt);
15491
+ let { textShadowColor: I, textShadowOffset: $, textShadowRadius: X } = r;
15492
+ Array.isArray(r.textShadowOffset) || (I = [I], $ = [$], X = [X]), mt = Fu({ width: Cr.width, height: Cr.height, id: s }, { shadowColor: I, shadowOffset: $, shadowRadius: X }), mt = C("defs", {}, mt);
15492
15493
  }
15493
- let kt = "", Or = "", Wo = "", Tt = -1, Dt = {}, He = null, qo = 0;
15494
+ let kt = "", Tr = "", Wo = "", Ar = -1, Dt = {}, He = null, qo = 0;
15494
15495
  for (let I = 0; I < dt.length; I++) {
15495
- let W = St[I], j = St[I + 1];
15496
- if (!W)
15496
+ let $ = St[I], X = St[I + 1];
15497
+ if (!$)
15497
15498
  continue;
15498
- let q = dt[I], ne = null, Y = false, me = c ? c[q] : null, de = W.y, ee = W.x, Ie = W.width, N = W.line;
15499
- if (N === Tt)
15499
+ let G = dt[I], ie = null, H = false, me = c ? c[G] : null, fe = $.y, te = $.x, Ie = $.width, W = $.line;
15500
+ if (W === Ar)
15500
15501
  continue;
15501
- let tt = false;
15502
+ let nt = false;
15502
15503
  if (ae.length > 1) {
15503
- let ie = bn - ae[N];
15504
+ let Z = bn - ae[W];
15504
15505
  if (d === "right" || d === "end")
15505
- ee += ie;
15506
+ te += Z;
15506
15507
  else if (d === "center")
15507
- ee += ie / 2;
15508
- else if (d === "justify" && N < ae.length - 1) {
15509
- let De = Be[N], Ve = De > 1 ? ie / (De - 1) : 0;
15510
- ee += Ve * W.lineIndex, tt = true;
15508
+ te += Z / 2;
15509
+ else if (d === "justify" && W < ae.length - 1) {
15510
+ let De = Be[W], Xe = De > 1 ? Z / (De - 1) : 0;
15511
+ te += Xe * $.lineIndex, nt = true;
15511
15512
  }
15512
15513
  }
15513
- if (Dt[N] || (Dt[N] = [ee, tt ? bn : ae[N]]), L !== 1 / 0) {
15514
+ let Ee = be[W], Ve = Y.baseline(G), Or = Y.height(G), Ye = Ee - Ve;
15515
+ if (Dt[W] || (Dt[W] = [te, ht + fe + Ye, Ve, nt ? bn : ae[W]]), L !== 1 / 0) {
15514
15516
  let it = function(ge, Oe) {
15515
- let ot = we(Oe, "grapheme", p), We = "", Ot = 0;
15517
+ let ot = we(Oe, "grapheme", p), We = "", Tt = 0;
15516
15518
  for (let Uo of ot) {
15517
15519
  let zo = ge + A([We + Uo]);
15518
- if (We && zo + De > Tr)
15520
+ if (We && zo + De > Sr)
15519
15521
  break;
15520
- We += Uo, Ot = zo;
15522
+ We += Uo, Tt = zo;
15521
15523
  }
15522
- return { subset: We, resolvedWidth: Ot };
15523
- }, ie = X, De = he(X);
15524
- De > Tr && (ie = $t, De = he(ie));
15525
- let Ve = he(Nt), Pr = N < ae.length - 1;
15526
- if (N + 1 === L && (Pr || ae[N] > Tr)) {
15527
- if (ee + Ie + De + Ve > Tr) {
15528
- let { subset: ge, resolvedWidth: Oe } = it(ee, q);
15529
- q = ge + ie, Tt = N, Dt[N][1] = Oe, Y = true;
15530
- } else if (j && j.line !== N)
15524
+ return { subset: We, resolvedWidth: Tt };
15525
+ }, Z = V, De = he(V);
15526
+ De > Sr && (Z = Mt, De = he(Z));
15527
+ let Xe = he(Lt), Pr = W < ae.length - 1;
15528
+ if (W + 1 === L && (Pr || ae[W] > Sr)) {
15529
+ if (te + Ie + De + Xe > Sr) {
15530
+ let { subset: ge, resolvedWidth: Oe } = it(te, G);
15531
+ G = ge + Z, Ar = W, Dt[W][2] = Oe, H = true;
15532
+ } else if (X && X.line !== W)
15531
15533
  if (d === "center") {
15532
- let { subset: ge, resolvedWidth: Oe } = it(ee, q);
15533
- q = ge + ie, Tt = N, Dt[N][1] = Oe, Y = true;
15534
+ let { subset: ge, resolvedWidth: Oe } = it(te, G);
15535
+ G = ge + Z, Ar = W, Dt[W][2] = Oe, H = true;
15534
15536
  } else {
15535
- let ge = dt[I + 1], { subset: Oe, resolvedWidth: ot } = it(Ie + ee, ge);
15536
- q = q + Oe + ie, Tt = N, Dt[N][1] = ot, Y = true;
15537
+ let ge = dt[I + 1], { subset: Oe, resolvedWidth: ot } = it(Ie + te, ge);
15538
+ G = G + Oe + Z, Ar = W, Dt[W][2] = ot, H = true;
15537
15539
  }
15538
15540
  }
15539
15541
  }
15540
- let Ee = be[N], rt = V.baseline(q), At = V.height(q), nt = Ee - rt;
15541
15542
  if (me)
15542
- de += 0;
15543
+ fe += 0;
15543
15544
  else if (f) {
15544
- if (!q.includes(Ln) && !eu.includes(q) && dt[I + 1] && j && !j.isImage && de === j.y && !Y) {
15545
- He === null && (qo = ee), He = He === null ? q : He + q;
15545
+ if (!G.includes(Ln) && !eu.includes(G) && dt[I + 1] && X && !X.isImage && fe === X.y && !H) {
15546
+ He === null && (qo = te), He = He === null ? G : He + G;
15546
15547
  continue;
15547
15548
  }
15548
- let ie = He === null ? q : He + q, De = He === null ? ee : qo, Ve = W.width + ee - De;
15549
- ne = V.getSVG(ie.replace(/(\t)+/g, ""), { ...r, left: pt + De, top: ht + de + rt + nt, letterSpacing: r.letterSpacing }), He = null, l && (Wo += C("rect", { x: pt + De, y: ht + de + nt, width: Ve, height: At, fill: "transparent", stroke: "#575eff", "stroke-width": 1, transform: $e || void 0, "clip-path": je ? `url(#${je})` : void 0 }) + C("line", { x1: pt + ee, x2: pt + ee + W.width, y1: ht + de + nt + rt, y2: ht + de + nt + rt, stroke: "#14c000", "stroke-width": 1, transform: $e || void 0, "clip-path": je ? `url(#${je})` : void 0 }));
15549
+ let Z = He === null ? G : He + G, De = He === null ? te : qo, Xe = $.width + te - De;
15550
+ ie = Y.getSVG(Z.replace(/(\t)+/g, ""), { ...r, left: pt + De, top: ht + fe + Ve + Ye, letterSpacing: r.letterSpacing }), He = null, l && (Wo += C("rect", { x: pt + De, y: ht + fe + Ye, width: Xe, height: Or, fill: "transparent", stroke: "#575eff", "stroke-width": 1, transform: $e || void 0, "clip-path": je ? `url(#${je})` : void 0 }) + C("line", { x1: pt + te, x2: pt + te + $.width, y1: ht + fe + Ye + Ve, y2: ht + fe + Ye + Ve, stroke: "#14c000", "stroke-width": 1, transform: $e || void 0, "clip-path": je ? `url(#${je})` : void 0 }));
15550
15551
  } else
15551
- de += rt + nt;
15552
- if (r.textDecorationLine && (N !== (j == null ? void 0 : j.line) || Tt === N)) {
15553
- let ie = Dt[N];
15554
- ie && !ie[2] && (kt += In({ left: pt + ie[0], top: ht + At * +N, width: ie[1], ascender: V.baseline(q), clipPathId: je }, r), ie[2] = 1);
15552
+ fe += Ve + Ye;
15553
+ if (r.textDecorationLine) {
15554
+ let Z = Dt[W];
15555
+ Z && !Z[4] && (kt += In({ left: pt + Z[0], top: Z[1], width: Z[3], ascender: Z[2], clipPathId: je }, r), Z[4] = 1);
15555
15556
  }
15556
- if (ne !== null)
15557
- Or += ne + " ";
15557
+ if (ie !== null)
15558
+ Tr += ie + " ";
15558
15559
  else {
15559
- let [ie, De] = Bn({ content: q, filter: mt, id: s, left: pt + ee, top: ht + de, width: Ie, height: At, matrix: $e, opacity: Ar, image: me, clipPathId: je, debug: l, shape: !!P, decorationShape: kt }, r);
15560
- gn += ie, kr += De, kt = "";
15560
+ let [Z, De] = Bn({ content: G, filter: mt, id: s, left: pt + te, top: ht + fe, width: Ie, height: Or, matrix: $e, opacity: kr, image: me, clipPathId: je, debug: l, shape: !!P, decorationShape: kt }, r);
15561
+ gn += Z, _r += De, kt = "";
15561
15562
  }
15562
- if (Y)
15563
+ if (H)
15563
15564
  break;
15564
15565
  }
15565
- if (Or) {
15566
- let I = r.color !== "transparent" && Ar !== 0 ? C("path", { fill: r.color, d: Or, transform: $e || void 0, opacity: Ar !== 1 ? Ar : void 0, "clip-path": je ? `url(#${je})` : void 0, mask: Mo ? `url(#${Mo})` : void 0, style: y ? `filter:${y}` : void 0 }) : "";
15567
- P && (kr = C("path", { d: Or, transform: $e || void 0 })), gn += (mt ? mt + C("g", { filter: `url(#satori_s-${s})` }, I + kt) : I + kt) + Wo;
15566
+ if (Tr) {
15567
+ let I = r.color !== "transparent" && kr !== 0 ? C("path", { fill: r.color, d: Tr, transform: $e || void 0, opacity: kr !== 1 ? kr : void 0, "clip-path": je ? `url(#${je})` : void 0, mask: Mo ? `url(#${Mo})` : void 0, style: y ? `filter:${y}` : void 0 }) : "";
15568
+ P && (_r = C("path", { d: Tr, transform: $e || void 0 })), gn += (mt ? mt + C("g", { filter: `url(#satori_s-${s})` }, I + kt) : I + kt) + Wo;
15568
15569
  }
15569
- return kr && (r._inheritedBackgroundClipTextPath.value += kr), gn;
15570
+ return _r && (r._inheritedBackgroundClipTextPath.value += _r), gn;
15570
15571
  }
15571
15572
  function Ef(e, t, n) {
15572
15573
  return t === "uppercase" ? e = e.toLocaleUpperCase(n) : t === "lowercase" ? e = e.toLocaleLowerCase(n) : t === "capitalize" && (e = we(e, "word", n).map((r) => we(r, "grapheme", n).map((i, o) => o === 0 ? i.toLocaleUpperCase(n) : i).join("")).join("")), e;
@@ -15574,11 +15575,11 @@ function Ef(e, t, n) {
15574
15575
  function Cf(e, t) {
15575
15576
  let { textOverflow: n, lineClamp: r, WebkitLineClamp: i, WebkitBoxOrient: o, overflow: u, display: s } = e;
15576
15577
  if (s === "block" && r) {
15577
- let [a, l = $t] = Of(r);
15578
+ let [a, l = Mt] = Of(r);
15578
15579
  if (a)
15579
15580
  return [a, l];
15580
15581
  }
15581
- return n === "ellipsis" && s === "-webkit-box" && o === "vertical" && ru(i) && i > 0 ? [i, $t] : n === "ellipsis" && u === "hidden" && !t ? [1, $t] : [1 / 0];
15582
+ return n === "ellipsis" && s === "-webkit-box" && o === "vertical" && ru(i) && i > 0 ? [i, Mt] : n === "ellipsis" && u === "hidden" && !t ? [1, Mt] : [1 / 0];
15582
15583
  }
15583
15584
  function _f(e, t) {
15584
15585
  let n = ["break-all", "break-word"].includes(t), { words: r, requiredBreaks: i } = iu(e, t);
@@ -15586,7 +15587,7 @@ function _f(e, t) {
15586
15587
  }
15587
15588
  function Sf(e, t) {
15588
15589
  let n = ["pre", "pre-wrap", "pre-line"].includes(t), r = ["normal", "nowrap", "pre-line"].includes(t), i = !["pre", "nowrap"].includes(t);
15589
- return n || (e = e.replace(/\n/g, Nt)), r && (e = e.replace(/([ ]|\t)+/g, Nt).trim()), { content: e, shouldCollapseTabsAndSpaces: r, allowSoftWrap: i };
15590
+ return n || (e = e.replace(/\n/g, Lt)), r && (e = e.replace(/([ ]|\t)+/g, Lt).trim()), { content: e, shouldCollapseTabsAndSpaces: r, allowSoftWrap: i };
15590
15591
  }
15591
15592
  function kf(e, t) {
15592
15593
  let n = e.Node.create();
@@ -15659,13 +15660,13 @@ Nn.parse = function() {
15659
15660
  return f() || c() || p();
15660
15661
  }
15661
15662
  function f() {
15662
- return Z("directional", e.sideOrCorner, 1);
15663
+ return ee("directional", e.sideOrCorner, 1);
15663
15664
  }
15664
15665
  function c() {
15665
- return Z("angular", e.angleValue, 1);
15666
+ return ee("angular", e.angleValue, 1);
15666
15667
  }
15667
15668
  function p() {
15668
- return Z("directional", e.zeroValue, 0);
15669
+ return ee("directional", e.zeroValue, 0);
15669
15670
  }
15670
15671
  function h() {
15671
15672
  var A, O = d(), M;
@@ -15677,23 +15678,23 @@ Nn.parse = function() {
15677
15678
  return { ...A, at: O };
15678
15679
  }
15679
15680
  function m() {
15680
- let A = v() || g(), O = b() || ce() || L(), M = Z("%", e.percentageValue, 1);
15681
+ let A = v() || g(), O = b() || de() || L(), M = ee("%", e.percentageValue, 1);
15681
15682
  if (A)
15682
15683
  return { ...A, style: [O, M].filter((R) => R) };
15683
15684
  if (O)
15684
15685
  return { style: [O, M].filter((R) => R), ...v() || g() };
15685
15686
  }
15686
15687
  function v() {
15687
- return Z("shape", /^(circle)/i, 0);
15688
+ return ee("shape", /^(circle)/i, 0);
15688
15689
  }
15689
15690
  function g() {
15690
- return Z("shape", /^(ellipse)/i, 0);
15691
+ return ee("shape", /^(ellipse)/i, 0);
15691
15692
  }
15692
15693
  function b() {
15693
- return Z("extent-keyword", e.extentKeywords, 1);
15694
+ return ee("extent-keyword", e.extentKeywords, 1);
15694
15695
  }
15695
15696
  function x() {
15696
- if (Z("position", /^at/, 0)) {
15697
+ if (ee("position", /^at/, 0)) {
15697
15698
  var A = F();
15698
15699
  return A || n("Missing positioning value"), A;
15699
15700
  }
@@ -15718,42 +15719,42 @@ Nn.parse = function() {
15718
15719
  return A || n("Expected color definition"), A.length = L(), A;
15719
15720
  }
15720
15721
  function B() {
15721
- return oe() || se() || ue() || H();
15722
+ return oe() || se() || ue() || j();
15722
15723
  }
15723
- function H() {
15724
- return Z("literal", e.literalColor, 0);
15724
+ function j() {
15725
+ return ee("literal", e.literalColor, 0);
15725
15726
  }
15726
15727
  function oe() {
15727
- return Z("hex", e.hexColor, 1);
15728
+ return ee("hex", e.hexColor, 1);
15728
15729
  }
15729
15730
  function ue() {
15730
15731
  return a(e.rgbColor, function() {
15731
- return { type: "rgb", value: k($) };
15732
+ return { type: "rgb", value: k(N) };
15732
15733
  });
15733
15734
  }
15734
15735
  function se() {
15735
15736
  return a(e.rgbaColor, function() {
15736
- return { type: "rgba", value: k($) };
15737
+ return { type: "rgba", value: k(N) };
15737
15738
  });
15738
15739
  }
15739
- function $() {
15740
+ function N() {
15740
15741
  return le(e.number)[1];
15741
15742
  }
15742
15743
  function L() {
15743
- return Z("%", e.percentageValue, 1) || X() || ce();
15744
+ return ee("%", e.percentageValue, 1) || V() || de();
15744
15745
  }
15745
- function X() {
15746
- return Z("position-keyword", e.positionKeywords, 1);
15746
+ function V() {
15747
+ return ee("position-keyword", e.positionKeywords, 1);
15747
15748
  }
15748
- function ce() {
15749
- return Z("px", e.pixelValue, 1) || V(e.emLikeValue, 1);
15749
+ function de() {
15750
+ return ee("px", e.pixelValue, 1) || Y(e.emLikeValue, 1);
15750
15751
  }
15751
- function V(A, O) {
15752
+ function Y(A, O) {
15752
15753
  var M = le(A);
15753
15754
  if (M)
15754
15755
  return { type: M[5], value: M[O] };
15755
15756
  }
15756
- function Z(A, O, M) {
15757
+ function ee(A, O, M) {
15757
15758
  var R = le(O);
15758
15759
  if (R)
15759
15760
  return { type: A, value: R[M] };
@@ -15783,7 +15784,7 @@ function Rf(e, t) {
15783
15784
  function Wn(e, { x: t, y: n, defaultX: r, defaultY: i }) {
15784
15785
  return (e ? e.split(" ").map((o) => {
15785
15786
  try {
15786
- let u = new Ye(o);
15787
+ let u = new Qe(o);
15787
15788
  return u.type === "length" || u.type === "number" ? u.value : u.value + u.unit;
15788
15789
  } catch {
15789
15790
  return null;
@@ -15815,7 +15816,7 @@ function Cu(e, t, n) {
15815
15816
  return a.alpha === 0 ? { ...s, color: "rgba(0, 0, 0, 1)" } : { ...s, color: `rgba(255, 255, 255, ${a.alpha})` };
15816
15817
  }) : r;
15817
15818
  }
15818
- async function Wt({ id: e, width: t, height: n, left: r, top: i }, { image: o, size: u, position: s, repeat: a }, l, f) {
15819
+ async function Nt({ id: e, width: t, height: n, left: r, top: i }, { image: o, size: u, position: s, repeat: a }, l, f) {
15819
15820
  a = a || "repeat", f = f || "background";
15820
15821
  let c = a === "repeat-x" || a === "repeat", p = a === "repeat-y" || a === "repeat", h = Wn(u, { x: t, y: n, defaultX: t, defaultY: n }), d = Wn(s, { x: t, y: n, defaultX: 0, defaultY: 0 });
15821
15822
  if (o.startsWith("linear-gradient(")) {
@@ -15823,7 +15824,7 @@ async function Wt({ id: e, width: t, height: n, left: r, top: i }, { image: o, s
15823
15824
  if (m.orientation.type === "directional")
15824
15825
  [b, x, F, y] = If(m.orientation.value), k = Math.sqrt(Math.pow((F - b) * v, 2) + Math.pow((y - x) * g, 2));
15825
15826
  else if (m.orientation.type === "angular") {
15826
- let $ = function(L) {
15827
+ let N = function(L) {
15827
15828
  if (L = (L % (Math.PI * 2) + Math.PI * 2) % (Math.PI * 2), Math.abs(L - Math.PI / 2) < 1e-6) {
15828
15829
  b = 0, x = 0, F = 1, y = 0, k = v;
15829
15830
  return;
@@ -15832,36 +15833,36 @@ async function Wt({ id: e, width: t, height: n, left: r, top: i }, { image: o, s
15832
15833
  return;
15833
15834
  }
15834
15835
  if (L >= Math.PI / 2 && L < Math.PI) {
15835
- $(Math.PI - L), x = 1 - x, y = 1 - y;
15836
+ N(Math.PI - L), x = 1 - x, y = 1 - y;
15836
15837
  return;
15837
15838
  } else if (L >= Math.PI) {
15838
- $(L - Math.PI);
15839
+ N(L - Math.PI);
15839
15840
  let M = b;
15840
15841
  b = F, F = M, M = x, x = y, y = M;
15841
15842
  return;
15842
15843
  }
15843
- let X = Math.tan(L), ce = X * se, V = Math.atan(ce), Z = Math.sqrt(2) * Math.cos(Math.PI / 4 - V);
15844
- b = 0, x = 1, F = Math.sin(V) * Z, y = 1 - Math.cos(V) * Z;
15845
- let le = 1, he = 1 / X, A = Math.abs((le * se + he) / Math.sqrt(le * le + he * he) / Math.sqrt(se * se + 1));
15844
+ let V = Math.tan(L), de = V * se, Y = Math.atan(de), ee = Math.sqrt(2) * Math.cos(Math.PI / 4 - Y);
15845
+ b = 0, x = 1, F = Math.sin(Y) * ee, y = 1 - Math.cos(Y) * ee;
15846
+ let le = 1, he = 1 / V, A = Math.abs((le * se + he) / Math.sqrt(le * le + he * he) / Math.sqrt(se * se + 1));
15846
15847
  k = Math.sqrt(v * v + g * g) * A;
15847
15848
  }, se = v / g;
15848
- $(+m.orientation.value / 180 * Math.PI);
15849
+ N(+m.orientation.value / 180 * Math.PI);
15849
15850
  }
15850
- let P = Cu(k, m.colorStops, f), B = `satori_bi${e}`, H = `satori_pattern_${e}`, oe = C("pattern", { id: H, x: d[0] / t, y: d[1] / n, width: c ? v / t : "1", height: p ? g / n : "1", patternUnits: "objectBoundingBox" }, C("linearGradient", { id: B, x1: b, y1: x, x2: F, y2: y }, P.map((ue) => C("stop", { offset: ue.offset * 100 + "%", "stop-color": ue.color })).join("")) + C("rect", { x: 0, y: 0, width: v, height: g, fill: `url(#${B})` }));
15851
- return [H, oe];
15851
+ let P = Cu(k, m.colorStops, f), B = `satori_bi${e}`, j = `satori_pattern_${e}`, oe = C("pattern", { id: j, x: d[0] / t, y: d[1] / n, width: c ? v / t : "1", height: p ? g / n : "1", patternUnits: "objectBoundingBox" }, C("linearGradient", { id: B, x1: b, y1: x, x2: F, y2: y }, P.map((ue) => C("stop", { offset: ue.offset * 100 + "%", "stop-color": ue.color })).join("")) + C("rect", { x: 0, y: 0, width: v, height: g, fill: `url(#${B})` }));
15852
+ return [j, oe];
15852
15853
  }
15853
15854
  if (o.startsWith("radial-gradient(")) {
15854
15855
  let m = $n.parse(o)[0], v = m.orientation[0], [g, b] = h, x = "circle", F = g / 2, y = b / 2;
15855
15856
  if (v.type === "shape") {
15856
15857
  if (x = v.value, v.at)
15857
15858
  if (v.at.type === "position") {
15858
- let $ = Lf(v.at.value.x, v.at.value.y, g, b, l.fontSize, l);
15859
- F = $.x, y = $.y;
15859
+ let N = Lf(v.at.value.x, v.at.value.y, g, b, l.fontSize, l);
15860
+ F = N.x, y = N.y;
15860
15861
  } else
15861
15862
  throw new Error("orientation.at.type not implemented: " + v.at.type);
15862
15863
  } else
15863
15864
  throw new Error("orientation.type not implemented: " + v.type);
15864
- let k = Cu(t, m.colorStops, f), P = `satori_radial_${e}`, B = `satori_pattern_${e}`, H = `satori_mask_${e}`, oe = Mf(x, v.style, l.fontSize, { x: F, y }, [g, b], l), ue = C("pattern", { id: B, x: d[0] / t, y: d[1] / n, width: c ? g / t : "1", height: p ? b / n : "1", patternUnits: "objectBoundingBox" }, C("radialGradient", { id: P }, k.map(($) => C("stop", { offset: $.offset, "stop-color": $.color })).join("")) + C("mask", { id: H }, C("rect", { x: 0, y: 0, width: g, height: b, fill: "#fff" })) + C("rect", { x: 0, y: 0, width: g, height: b, fill: k.at(-1).color }) + C(x, { cx: F, cy: y, width: g, height: b, ...oe, fill: `url(#${P})`, mask: `url(#${H})` }));
15865
+ let k = Cu(t, m.colorStops, f), P = `satori_radial_${e}`, B = `satori_pattern_${e}`, j = `satori_mask_${e}`, oe = Mf(x, v.style, l.fontSize, { x: F, y }, [g, b], l), ue = C("pattern", { id: B, x: d[0] / t, y: d[1] / n, width: c ? g / t : "1", height: p ? b / n : "1", patternUnits: "objectBoundingBox" }, C("radialGradient", { id: P }, k.map((N) => C("stop", { offset: N.offset, "stop-color": N.color })).join("")) + C("mask", { id: j }, C("rect", { x: 0, y: 0, width: g, height: b, fill: "#fff" })) + C("rect", { x: 0, y: 0, width: g, height: b, fill: k.at(-1).color }) + C(x, { cx: F, cy: y, width: g, height: b, ...oe, fill: `url(#${P})`, mask: `url(#${j})` }));
15865
15866
  return [B, ue];
15866
15867
  }
15867
15868
  if (o.startsWith("url(")) {
@@ -15872,7 +15873,7 @@ async function Wt({ id: e, width: t, height: n, left: r, top: i }, { image: o, s
15872
15873
  }
15873
15874
  function Lf(e, t, n, r, i, o) {
15874
15875
  let u = { x: n / 2, y: r / 2 };
15875
- return e.type === "position-keyword" ? Object.assign(u, _u(e.value, n, r, "x")) : u.x = U(`${e.value}${e.type}`, i, n, o, true), t.type === "position-keyword" ? Object.assign(u, _u(t.value, n, r, "y")) : u.y = U(`${t.value}${t.type}`, i, r, o, true), u;
15876
+ return e.type === "position-keyword" ? Object.assign(u, _u(e.value, n, r, "x")) : u.x = q(`${e.value}${e.type}`, i, n, o, true), t.type === "position-keyword" ? Object.assign(u, _u(t.value, n, r, "y")) : u.y = q(`${t.value}${t.type}`, i, r, o, true), u;
15876
15877
  }
15877
15878
  function _u(e, t, n, r) {
15878
15879
  switch (e) {
@@ -15893,7 +15894,7 @@ function Mf(e, t, n, r, i, o) {
15893
15894
  if (!t.some((d) => d.type === "extent-keyword")) {
15894
15895
  if (t.some((d) => d.value.startsWith("-")))
15895
15896
  throw new Error("disallow setting negative values to the size of the shape. Check https://w3c.github.io/csswg-drafts/css-images/#valdef-rg-size-length-0");
15896
- return e === "circle" ? { r: U(`${t[0].value}${t[0].type}`, n, u, o, true) } : { rx: U(`${t[0].value}${t[0].type}`, n, u, o, true), ry: U(`${t[1].value}${t[1].type}`, n, s, o, true) };
15897
+ return e === "circle" ? { r: q(`${t[0].value}${t[0].type}`, n, u, o, true) } : { rx: q(`${t[0].value}${t[0].type}`, n, u, o, true), ry: q(`${t[1].value}${t[1].type}`, n, s, o, true) };
15897
15898
  }
15898
15899
  switch (t[0].value) {
15899
15900
  case "farthest-corner":
@@ -15927,12 +15928,12 @@ function Gr(e) {
15927
15928
  function jr(e, t, n, r, i) {
15928
15929
  if (typeof e == "string") {
15929
15930
  let o = e.split(" ").map((s) => s.trim()), u = !o[1] && !o[0].endsWith("%");
15930
- return o[1] = o[1] || o[0], [u, [Math.min(U(o[0], r, t, i, true), t), Math.min(U(o[1], r, n, i, true), n)]];
15931
+ return o[1] = o[1] || o[0], [u, [Math.min(q(o[0], r, t, i, true), t), Math.min(q(o[1], r, n, i, true), n)]];
15931
15932
  }
15932
15933
  return typeof e == "number" ? [true, [Math.min(e, t), Math.min(e, n)]] : [true, void 0];
15933
15934
  }
15934
15935
  var Hr = (e) => e && e[0] !== 0 && e[1] !== 0;
15935
- function Qe({ left: e, top: t, width: n, height: r }, i, o) {
15936
+ function Je({ left: e, top: t, width: n, height: r }, i, o) {
15936
15937
  let { borderTopLeftRadius: u, borderTopRightRadius: s, borderBottomLeftRadius: a, borderBottomRightRadius: l, fontSize: f } = i, c, p, h, d;
15937
15938
  if ([c, u] = jr(u, n, r, f, i), [p, s] = jr(s, n, r, f, i), [h, a] = jr(a, n, r, f, i), [d, l] = jr(l, n, r, f, i), !o && !Hr(u) && !Hr(s) && !Hr(a) && !Hr(l))
15938
15939
  return "";
@@ -15942,8 +15943,8 @@ function Qe({ left: e, top: t, width: n, height: r }, i, o) {
15942
15943
  let v = `h${n - u[0] - s[0]} a${m[0][0]} 0 0 1 ${m[0][1]}`, g = `v${r - s[1] - l[1]} a${m[1][0]} 0 0 1 ${m[1][1]}`, b = `h${l[0] + a[0] - n} a${m[2][0]} 0 0 1 ${m[2][1]}`, x = `v${a[1] + u[1] - r} a${m[3][0]} 0 0 1 ${m[3][1]}`;
15943
15944
  if (o) {
15944
15945
  let y = function(se) {
15945
- let $ = Nf([u, s, l, a][se]);
15946
- return se === 0 ? [[e + u[0] - $, t + u[1] - $], [e + u[0], t]] : se === 1 ? [[e + n - s[0] + $, t + s[1] - $], [e + n, t + s[1]]] : se === 2 ? [[e + n - l[0] + $, t + r - l[1] + $], [e + n - l[0], t + r]] : [[e + a[0] - $, t + r - a[1] + $], [e, t + r - a[1]]];
15946
+ let N = Nf([u, s, l, a][se]);
15947
+ return se === 0 ? [[e + u[0] - N, t + u[1] - N], [e + u[0], t]] : se === 1 ? [[e + n - s[0] + N, t + s[1] - N], [e + n, t + s[1]]] : se === 2 ? [[e + n - l[0] + N, t + r - l[1] + N], [e + n - l[0], t + r]] : [[e + a[0] - N, t + r - a[1] + N], [e, t + r - a[1]]];
15947
15948
  }, F = o.indexOf(false);
15948
15949
  if (!o.includes(true))
15949
15950
  throw new Error("Invalid `partialSides`.");
@@ -15952,10 +15953,10 @@ function Qe({ left: e, top: t, width: n, height: r }, i, o) {
15952
15953
  else
15953
15954
  for (; !o[F]; )
15954
15955
  F = (F + 1) % 4;
15955
- let k = "", P = y(F), B = `M${P[0]} A${m[(F + 3) % 4][0]} 0 0 1 ${P[1]}`, H = 0;
15956
- for (; H < 4 && o[(F + H) % 4]; H++)
15957
- k += B + " ", B = [v, g, b, x][(F + H) % 4];
15958
- let oe = (F + H) % 4;
15956
+ let k = "", P = y(F), B = `M${P[0]} A${m[(F + 3) % 4][0]} 0 0 1 ${P[1]}`, j = 0;
15957
+ for (; j < 4 && o[(F + j) % 4]; j++)
15958
+ k += B + " ", B = [v, g, b, x][(F + j) % 4];
15959
+ let oe = (F + j) % 4;
15959
15960
  k += B.split(" ")[0];
15960
15961
  let ue = y(oe);
15961
15962
  return k += ` A${m[(oe + 3) % 4][0]} 0 0 1 ${ue[0]}`, k;
@@ -15971,7 +15972,7 @@ function ku({ id: e, currentClipPathId: t, borderPath: n, borderType: r, left: i
15971
15972
  let f = `satori_bc-${e}`;
15972
15973
  return [C("clipPath", { id: f, "clip-path": t ? `url(#${t})` : void 0 }, C(r, { x: i, y: o, width: u, height: s, d: n || void 0 })), f];
15973
15974
  }
15974
- function qt({ left: e, top: t, width: n, height: r, props: i, asContentMask: o, maskBorderOnly: u }, s) {
15975
+ function $t({ left: e, top: t, width: n, height: r, props: i, asContentMask: o, maskBorderOnly: u }, s) {
15975
15976
  let a = ["borderTop", "borderRight", "borderBottom", "borderLeft"];
15976
15977
  if (!o && !a.some((h) => s[h + "Width"]))
15977
15978
  return "";
@@ -15983,55 +15984,55 @@ function qt({ left: e, top: t, width: n, height: r, props: i, asContentMask: o,
15983
15984
  let d = (f + h) % 4, m = (f + h + 1) % 4, v = a[d], g = a[m];
15984
15985
  if (c[d] = true, p = [s[v + "Width"], s[v + "Style"], s[v + "Color"], v], !Su(v, g, s)) {
15985
15986
  let b = (p[0] || 0) + (o && !u && s[v.replace("border", "padding")] || 0);
15986
- b && (l += C("path", { width: n, height: r, ...i, fill: "none", stroke: o ? "#000" : p[2], "stroke-width": b * 2, "stroke-dasharray": !o && p[1] === "dashed" ? b * 2 + " " + b : void 0, d: Qe({ left: e, top: t, width: n, height: r }, s, c) })), c = [false, false, false, false];
15987
+ b && (l += C("path", { width: n, height: r, ...i, fill: "none", stroke: o ? "#000" : p[2], "stroke-width": b * 2, "stroke-dasharray": !o && p[1] === "dashed" ? b * 2 + " " + b : void 0, d: Je({ left: e, top: t, width: n, height: r }, s, c) })), c = [false, false, false, false];
15987
15988
  }
15988
15989
  }
15989
15990
  if (c.some(Boolean)) {
15990
15991
  let h = (p[0] || 0) + (o && !u && s[p[3].replace("border", "padding")] || 0);
15991
- h && (l += C("path", { width: n, height: r, ...i, fill: "none", stroke: o ? "#000" : p[2], "stroke-width": h * 2, "stroke-dasharray": !o && p[1] === "dashed" ? h * 2 + " " + h : void 0, d: Qe({ left: e, top: t, width: n, height: r }, s, c) }));
15992
+ h && (l += C("path", { width: n, height: r, ...i, fill: "none", stroke: o ? "#000" : p[2], "stroke-width": h * 2, "stroke-dasharray": !o && p[1] === "dashed" ? h * 2 + " " + h : void 0, d: Je({ left: e, top: t, width: n, height: r }, s, c) }));
15992
15993
  }
15993
15994
  return l;
15994
15995
  }
15995
15996
  function qn({ id: e, left: t, top: n, width: r, height: i, matrix: o, borderOnly: u }, s) {
15996
15997
  let a = (s.borderLeftWidth || 0) + (u ? 0 : s.paddingLeft || 0), l = (s.borderTopWidth || 0) + (u ? 0 : s.paddingTop || 0), f = (s.borderRightWidth || 0) + (u ? 0 : s.paddingRight || 0), c = (s.borderBottomWidth || 0) + (u ? 0 : s.paddingBottom || 0), p = { x: t + a, y: n + l, width: r - a - f, height: i - l - c };
15997
- return C("mask", { id: e }, C("rect", { ...p, fill: "#fff", mask: s._inheritedMaskId ? `url(#${s._inheritedMaskId})` : void 0 }) + qt({ left: t, top: n, width: r, height: i, props: { transform: o || void 0 }, asContentMask: true, maskBorderOnly: u }, s));
15998
+ return C("mask", { id: e }, C("rect", { ...p, fill: "#fff", mask: s._inheritedMaskId ? `url(#${s._inheritedMaskId})` : void 0 }) + $t({ left: t, top: n, width: r, height: i, props: { transform: o || void 0 }, asContentMask: true, maskBorderOnly: u }, s));
15998
15999
  }
15999
- var Ut = { circle: /circle\((.+)\)/, ellipse: /ellipse\((.+)\)/, path: /path\((.+)\)/, polygon: /polygon\((.+)\)/, inset: /inset\((.+)\)/ };
16000
+ var Wt = { circle: /circle\((.+)\)/, ellipse: /ellipse\((.+)\)/, path: /path\((.+)\)/, polygon: /polygon\((.+)\)/, inset: /inset\((.+)\)/ };
16000
16001
  function Pu({ width: e, height: t }, n, r) {
16001
16002
  function i(l) {
16002
- let f = l.match(Ut.circle);
16003
+ let f = l.match(Wt.circle);
16003
16004
  if (!f)
16004
16005
  return null;
16005
16006
  let [, c] = f, [p, h = ""] = c.split("at").map((v) => v.trim()), { x: d, y: m } = Ou(h, e, t);
16006
- return { type: "circle", r: U(p, r.fontSize, Math.sqrt(Math.pow(e, 2) + Math.pow(t, 2)) / Math.sqrt(2), r, true), cx: U(d, r.fontSize, e, r, true), cy: U(m, r.fontSize, t, r, true) };
16007
+ return { type: "circle", r: q(p, r.fontSize, Math.sqrt(Math.pow(e, 2) + Math.pow(t, 2)) / Math.sqrt(2), r, true), cx: q(d, r.fontSize, e, r, true), cy: q(m, r.fontSize, t, r, true) };
16007
16008
  }
16008
16009
  function o(l) {
16009
- let f = l.match(Ut.ellipse);
16010
+ let f = l.match(Wt.ellipse);
16010
16011
  if (!f)
16011
16012
  return null;
16012
16013
  let [, c] = f, [p, h = ""] = c.split("at").map((b) => b.trim()), [d, m] = p.split(" "), { x: v, y: g } = Ou(h, e, t);
16013
- return { type: "ellipse", rx: U(d || "50%", r.fontSize, e, r, true), ry: U(m || "50%", r.fontSize, t, r, true), cx: U(v, r.fontSize, e, r, true), cy: U(g, r.fontSize, t, r, true) };
16014
+ return { type: "ellipse", rx: q(d || "50%", r.fontSize, e, r, true), ry: q(m || "50%", r.fontSize, t, r, true), cx: q(v, r.fontSize, e, r, true), cy: q(g, r.fontSize, t, r, true) };
16014
16015
  }
16015
16016
  function u(l) {
16016
- let f = l.match(Ut.path);
16017
+ let f = l.match(Wt.path);
16017
16018
  if (!f)
16018
16019
  return null;
16019
16020
  let [c, p] = Au(f[1]);
16020
16021
  return { type: "path", d: p, "fill-rule": c };
16021
16022
  }
16022
16023
  function s(l) {
16023
- let f = l.match(Ut.polygon);
16024
+ let f = l.match(Wt.polygon);
16024
16025
  if (!f)
16025
16026
  return null;
16026
16027
  let [c, p] = Au(f[1]);
16027
- return { type: "polygon", "fill-rule": c, points: p.split(",").map((h) => h.split(" ").map((d, m) => U(d, r.fontSize, m === 0 ? e : t, r, true)).join(" ")).join(",") };
16028
+ return { type: "polygon", "fill-rule": c, points: p.split(",").map((h) => h.split(" ").map((d, m) => q(d, r.fontSize, m === 0 ? e : t, r, true)).join(" ")).join(",") };
16028
16029
  }
16029
16030
  function a(l) {
16030
- let f = l.match(Ut.inset);
16031
+ let f = l.match(Wt.inset);
16031
16032
  if (!f)
16032
16033
  return null;
16033
- let [c, p] = (f[1].includes("round") ? f[1] : `${f[1].trim()} round 0`).split("round"), h = (0, import_css_to_react_native3.getStylesForProperty)("borderRadius", p, true), d = Object.values(h).map((F) => String(F)).map((F, y) => U(F, r.fontSize, y === 0 || y === 2 ? t : e, r, true) || 0), m = Object.values((0, import_css_to_react_native3.getStylesForProperty)("margin", c, true)).map((F) => String(F)).map((F, y) => U(F, r.fontSize, y === 0 || y === 2 ? t : e, r, true) || 0), v = m[3], g = m[0], b = e - (m[1] + m[3]), x = t - (m[0] + m[2]);
16034
- return d.some((F) => F > 0) ? { type: "path", d: Qe({ left: v, top: g, width: b, height: x }, { ...n, ...h }) } : { type: "rect", x: v, y: g, width: b, height: x };
16034
+ let [c, p] = (f[1].includes("round") ? f[1] : `${f[1].trim()} round 0`).split("round"), h = (0, import_css_to_react_native3.getStylesForProperty)("borderRadius", p, true), d = Object.values(h).map((F) => String(F)).map((F, y) => q(F, r.fontSize, y === 0 || y === 2 ? t : e, r, true) || 0), m = Object.values((0, import_css_to_react_native3.getStylesForProperty)("margin", c, true)).map((F) => String(F)).map((F, y) => q(F, r.fontSize, y === 0 || y === 2 ? t : e, r, true) || 0), v = m[3], g = m[0], b = e - (m[1] + m[3]), x = t - (m[0] + m[2]);
16035
+ return d.some((F) => F > 0) ? { type: "path", d: Je({ left: v, top: g, width: b, height: x }, { ...n, ...h }) } : { type: "rect", x: v, y: g, width: b, height: x };
16035
16036
  }
16036
16037
  return { parseCircle: i, parseEllipse: o, parsePath: u, parsePolygon: s, parseInset: a };
16037
16038
  }
@@ -16084,44 +16085,44 @@ async function zn(e, t, n) {
16084
16085
  return ["", ""];
16085
16086
  let f = $f(s), c = "";
16086
16087
  for (let p = 0; p < l; p++) {
16087
- let h = a[p], [d, m] = await Wt({ id: `${f}-${p}`, left: r, top: i, width: o, height: u }, h, n, "mask");
16088
+ let h = a[p], [d, m] = await Nt({ id: `${f}-${p}`, left: r, top: i, width: o, height: u }, h, n, "mask");
16088
16089
  c += m + C("rect", { x: 0, y: 0, width: o, height: u, fill: `url(#${d})` });
16089
16090
  }
16090
16091
  return c = C("mask", { id: f }, c), [f, c];
16091
16092
  }
16092
- async function zt({ id: e, left: t, top: n, width: r, height: i, isInheritingTransform: o, src: u, debug: s }, a, l) {
16093
+ async function qt({ id: e, left: t, top: n, width: r, height: i, isInheritingTransform: o, src: u, debug: s }, a, l) {
16093
16094
  if (a.display === "none")
16094
16095
  return "";
16095
16096
  let f = !!u, c = "rect", p = "", h = "", d = [], m = 1, v = "";
16096
- a.backgroundColor && d.push(a.backgroundColor), a.opacity !== void 0 && (m = +a.opacity), a.transform && (p = Mt({ left: t, top: n, width: r, height: i }, a.transform, o, a.transformOrigin));
16097
+ a.backgroundColor && d.push(a.backgroundColor), a.opacity !== void 0 && (m = +a.opacity), a.transform && (p = Rt({ left: t, top: n, width: r, height: i }, a.transform, o, a.transformOrigin));
16097
16098
  let g = "";
16098
16099
  if (a.backgroundImage) {
16099
16100
  let L = [];
16100
- for (let X = 0; X < a.backgroundImage.length; X++) {
16101
- let ce = a.backgroundImage[X], V = await Wt({ id: e + "_" + X, width: r, height: i, left: t, top: n }, ce, l);
16102
- V && L.unshift(V);
16101
+ for (let V = 0; V < a.backgroundImage.length; V++) {
16102
+ let de = a.backgroundImage[V], Y = await Nt({ id: e + "_" + V, width: r, height: i, left: t, top: n }, de, l);
16103
+ Y && L.unshift(Y);
16103
16104
  }
16104
- for (let X of L)
16105
- d.push(`url(#${X[0]})`), h += X[1], X[2] && (g += X[2]);
16105
+ for (let V of L)
16106
+ d.push(`url(#${V[0]})`), h += V[1], V[2] && (g += V[2]);
16106
16107
  }
16107
16108
  let [b, x] = await zn({ id: e, left: t, top: n, width: r, height: i }, a, l);
16108
16109
  h += x;
16109
- let F = b ? `url(#${b})` : a._inheritedMaskId ? `url(#${a._inheritedMaskId})` : void 0, y = Qe({ left: t, top: n, width: r, height: i }, a);
16110
+ let F = b ? `url(#${b})` : a._inheritedMaskId ? `url(#${a._inheritedMaskId})` : void 0, y = Je({ left: t, top: n, width: r, height: i }, a);
16110
16111
  y && (c = "path");
16111
16112
  let k = a._inheritedClipPathId;
16112
16113
  s && (v = C("rect", { x: t, y: n, width: r, height: i, fill: "transparent", stroke: "#ff5757", "stroke-width": 1, transform: p || void 0, "clip-path": k ? `url(#${k})` : void 0 }));
16113
- let { backgroundClip: P, filter: B } = a, H = P === "text" ? `url(#satori_bct-${e})` : k ? `url(#${k})` : a.clipPath ? Bu(e) : void 0, oe = Un({ left: t, top: n, width: r, height: i, path: y, id: e, matrix: p, currentClipPath: H, src: u }, a, l), ue = d.map((L) => C(c, { x: t, y: n, width: r, height: i, fill: L, d: y || void 0, transform: p || void 0, "clip-path": H, style: B ? `filter:${B}` : void 0, mask: F })).join(""), se = ku({ id: e, left: t, top: n, width: r, height: i, currentClipPathId: k, borderPath: y, borderType: c }, a);
16114
+ let { backgroundClip: P, filter: B } = a, j = P === "text" ? `url(#satori_bct-${e})` : k ? `url(#${k})` : a.clipPath ? Bu(e) : void 0, oe = Un({ left: t, top: n, width: r, height: i, path: y, id: e, matrix: p, currentClipPath: j, src: u }, a, l), ue = d.map((L) => C(c, { x: t, y: n, width: r, height: i, fill: L, d: y || void 0, transform: p || void 0, "clip-path": j, style: B ? `filter:${B}` : void 0, mask: F })).join(""), se = ku({ id: e, left: t, top: n, width: r, height: i, currentClipPathId: k, borderPath: y, borderType: c }, a);
16114
16115
  if (f) {
16115
- let L = (a.borderLeftWidth || 0) + (a.paddingLeft || 0), X = (a.borderTopWidth || 0) + (a.paddingTop || 0), ce = (a.borderRightWidth || 0) + (a.paddingRight || 0), V = (a.borderBottomWidth || 0) + (a.paddingBottom || 0), Z = a.objectFit === "contain" ? "xMidYMid" : a.objectFit === "cover" ? "xMidYMid slice" : "none";
16116
- ue += C("image", { x: t + L, y: n + X, width: r - L - ce, height: i - X - V, href: u, preserveAspectRatio: Z, transform: p || void 0, style: B ? `filter:${B}` : void 0, "clip-path": `url(#satori_cp-${e})`, mask: b ? `url(#${b})` : `url(#satori_om-${e})` });
16116
+ let L = (a.borderLeftWidth || 0) + (a.paddingLeft || 0), V = (a.borderTopWidth || 0) + (a.paddingTop || 0), de = (a.borderRightWidth || 0) + (a.paddingRight || 0), Y = (a.borderBottomWidth || 0) + (a.paddingBottom || 0), ee = a.objectFit === "contain" ? "xMidYMid" : a.objectFit === "cover" ? "xMidYMid slice" : "none";
16117
+ ue += C("image", { x: t + L, y: n + V, width: r - L - de, height: i - V - Y, href: u, preserveAspectRatio: ee, transform: p || void 0, style: B ? `filter:${B}` : void 0, "clip-path": `url(#satori_cp-${e})`, mask: b ? `url(#${b})` : `url(#satori_om-${e})` });
16117
16118
  }
16118
16119
  if (se) {
16119
16120
  h += se[0];
16120
16121
  let L = se[1];
16121
- ue += qt({ left: t, top: n, width: r, height: i, props: { transform: p || void 0, "clip-path": `url(#${L})` } }, a);
16122
+ ue += $t({ left: t, top: n, width: r, height: i, props: { transform: p || void 0, "clip-path": `url(#${L})` } }, a);
16122
16123
  }
16123
- let $ = wu({ width: r, height: i, id: e, opacity: m, shape: C(c, { x: t, y: n, width: r, height: i, fill: "#fff", stroke: "#fff", "stroke-width": 0, d: y || void 0, transform: p || void 0, "clip-path": H, mask: F }) }, a);
16124
- return (h ? C("defs", {}, h) : "") + ($ ? $[0] : "") + oe + (m !== 1 ? `<g opacity="${m}">` : "") + (g || ue) + (m !== 1 ? "</g>" : "") + ($ ? $[1] : "") + v;
16124
+ let N = wu({ width: r, height: i, id: e, opacity: m, shape: C(c, { x: t, y: n, width: r, height: i, fill: "#fff", stroke: "#fff", "stroke-width": 0, d: y || void 0, transform: p || void 0, "clip-path": j, mask: F }) }, a);
16125
+ return (h ? C("defs", {}, h) : "") + (N ? N[0] : "") + oe + (m !== 1 ? `<g opacity="${m}">` : "") + (g || ue) + (m !== 1 ? "</g>" : "") + (N ? N[1] : "") + v;
16125
16126
  }
16126
16127
  var Ru = () => /[#*0-9]\uFE0F?\u20E3|[\xA9\xAE\u203C\u2049\u2122\u2139\u2194-\u2199\u21A9\u21AA\u231A\u231B\u2328\u23CF\u23ED-\u23EF\u23F1\u23F2\u23F8-\u23FA\u24C2\u25AA\u25AB\u25B6\u25C0\u25FB\u25FC\u25FE\u2600-\u2604\u260E\u2611\u2614\u2615\u2618\u2620\u2622\u2623\u2626\u262A\u262E\u262F\u2638-\u263A\u2640\u2642\u2648-\u2653\u265F\u2660\u2663\u2665\u2666\u2668\u267B\u267E\u267F\u2692\u2694-\u2697\u2699\u269B\u269C\u26A0\u26A7\u26AA\u26B0\u26B1\u26BD\u26BE\u26C4\u26C8\u26CF\u26D1\u26D3\u26E9\u26F0-\u26F5\u26F7\u26F8\u26FA\u2702\u2708\u2709\u270F\u2712\u2714\u2716\u271D\u2721\u2733\u2734\u2744\u2747\u2757\u2763\u27A1\u2934\u2935\u2B05-\u2B07\u2B1B\u2B1C\u2B55\u3030\u303D\u3297\u3299]\uFE0F?|[\u261D\u270C\u270D](?:\uFE0F|\uD83C[\uDFFB-\uDFFF])?|[\u270A\u270B](?:\uD83C[\uDFFB-\uDFFF])?|[\u23E9-\u23EC\u23F0\u23F3\u25FD\u2693\u26A1\u26AB\u26C5\u26CE\u26D4\u26EA\u26FD\u2705\u2728\u274C\u274E\u2753-\u2755\u2795-\u2797\u27B0\u27BF\u2B50]|\u26F9(?:\uFE0F|\uD83C[\uDFFB-\uDFFF])?(?:\u200D[\u2640\u2642]\uFE0F?)?|\u2764\uFE0F?(?:\u200D(?:\uD83D\uDD25|\uD83E\uDE79))?|\uD83C(?:[\uDC04\uDD70\uDD71\uDD7E\uDD7F\uDE02\uDE37\uDF21\uDF24-\uDF2C\uDF36\uDF7D\uDF96\uDF97\uDF99-\uDF9B\uDF9E\uDF9F\uDFCD\uDFCE\uDFD4-\uDFDF\uDFF5\uDFF7]\uFE0F?|[\uDF85\uDFC2\uDFC7](?:\uD83C[\uDFFB-\uDFFF])?|[\uDFC3\uDFC4\uDFCA](?:\uD83C[\uDFFB-\uDFFF])?(?:\u200D[\u2640\u2642]\uFE0F?)?|[\uDFCB\uDFCC](?:\uFE0F|\uD83C[\uDFFB-\uDFFF])?(?:\u200D[\u2640\u2642]\uFE0F?)?|[\uDCCF\uDD8E\uDD91-\uDD9A\uDE01\uDE1A\uDE2F\uDE32-\uDE36\uDE38-\uDE3A\uDE50\uDE51\uDF00-\uDF20\uDF2D-\uDF35\uDF37-\uDF7C\uDF7E-\uDF84\uDF86-\uDF93\uDFA0-\uDFC1\uDFC5\uDFC6\uDFC8\uDFC9\uDFCF-\uDFD3\uDFE0-\uDFF0\uDFF8-\uDFFF]|\uDDE6\uD83C[\uDDE8-\uDDEC\uDDEE\uDDF1\uDDF2\uDDF4\uDDF6-\uDDFA\uDDFC\uDDFD\uDDFF]|\uDDE7\uD83C[\uDDE6\uDDE7\uDDE9-\uDDEF\uDDF1-\uDDF4\uDDF6-\uDDF9\uDDFB\uDDFC\uDDFE\uDDFF]|\uDDE8\uD83C[\uDDE6\uDDE8\uDDE9\uDDEB-\uDDEE\uDDF0-\uDDF5\uDDF7\uDDFA-\uDDFF]|\uDDE9\uD83C[\uDDEA\uDDEC\uDDEF\uDDF0\uDDF2\uDDF4\uDDFF]|\uDDEA\uD83C[\uDDE6\uDDE8\uDDEA\uDDEC\uDDED\uDDF7-\uDDFA]|\uDDEB\uD83C[\uDDEE-\uDDF0\uDDF2\uDDF4\uDDF7]|\uDDEC\uD83C[\uDDE6\uDDE7\uDDE9-\uDDEE\uDDF1-\uDDF3\uDDF5-\uDDFA\uDDFC\uDDFE]|\uDDED\uD83C[\uDDF0\uDDF2\uDDF3\uDDF7\uDDF9\uDDFA]|\uDDEE\uD83C[\uDDE8-\uDDEA\uDDF1-\uDDF4\uDDF6-\uDDF9]|\uDDEF\uD83C[\uDDEA\uDDF2\uDDF4\uDDF5]|\uDDF0\uD83C[\uDDEA\uDDEC-\uDDEE\uDDF2\uDDF3\uDDF5\uDDF7\uDDFC\uDDFE\uDDFF]|\uDDF1\uD83C[\uDDE6-\uDDE8\uDDEE\uDDF0\uDDF7-\uDDFB\uDDFE]|\uDDF2\uD83C[\uDDE6\uDDE8-\uDDED\uDDF0-\uDDFF]|\uDDF3\uD83C[\uDDE6\uDDE8\uDDEA-\uDDEC\uDDEE\uDDF1\uDDF4\uDDF5\uDDF7\uDDFA\uDDFF]|\uDDF4\uD83C\uDDF2|\uDDF5\uD83C[\uDDE6\uDDEA-\uDDED\uDDF0-\uDDF3\uDDF7-\uDDF9\uDDFC\uDDFE]|\uDDF6\uD83C\uDDE6|\uDDF7\uD83C[\uDDEA\uDDF4\uDDF8\uDDFA\uDDFC]|\uDDF8\uD83C[\uDDE6-\uDDEA\uDDEC-\uDDF4\uDDF7-\uDDF9\uDDFB\uDDFD-\uDDFF]|\uDDF9\uD83C[\uDDE6\uDDE8\uDDE9\uDDEB-\uDDED\uDDEF-\uDDF4\uDDF7\uDDF9\uDDFB\uDDFC\uDDFF]|\uDDFA\uD83C[\uDDE6\uDDEC\uDDF2\uDDF3\uDDF8\uDDFE\uDDFF]|\uDDFB\uD83C[\uDDE6\uDDE8\uDDEA\uDDEC\uDDEE\uDDF3\uDDFA]|\uDDFC\uD83C[\uDDEB\uDDF8]|\uDDFD\uD83C\uDDF0|\uDDFE\uD83C[\uDDEA\uDDF9]|\uDDFF\uD83C[\uDDE6\uDDF2\uDDFC]|\uDFF3\uFE0F?(?:\u200D(?:\u26A7\uFE0F?|\uD83C\uDF08))?|\uDFF4(?:\u200D\u2620\uFE0F?|\uDB40\uDC67\uDB40\uDC62\uDB40(?:\uDC65\uDB40\uDC6E\uDB40\uDC67|\uDC73\uDB40\uDC63\uDB40\uDC74|\uDC77\uDB40\uDC6C\uDB40\uDC73)\uDB40\uDC7F)?)|\uD83D(?:[\uDC08\uDC26](?:\u200D\u2B1B)?|[\uDC3F\uDCFD\uDD49\uDD4A\uDD6F\uDD70\uDD73\uDD76-\uDD79\uDD87\uDD8A-\uDD8D\uDDA5\uDDA8\uDDB1\uDDB2\uDDBC\uDDC2-\uDDC4\uDDD1-\uDDD3\uDDDC-\uDDDE\uDDE1\uDDE3\uDDE8\uDDEF\uDDF3\uDDFA\uDECB\uDECD-\uDECF\uDEE0-\uDEE5\uDEE9\uDEF0\uDEF3]\uFE0F?|[\uDC42\uDC43\uDC46-\uDC50\uDC66\uDC67\uDC6B-\uDC6D\uDC72\uDC74-\uDC76\uDC78\uDC7C\uDC83\uDC85\uDC8F\uDC91\uDCAA\uDD7A\uDD95\uDD96\uDE4C\uDE4F\uDEC0\uDECC](?:\uD83C[\uDFFB-\uDFFF])?|[\uDC6E\uDC70\uDC71\uDC73\uDC77\uDC81\uDC82\uDC86\uDC87\uDE45-\uDE47\uDE4B\uDE4D\uDE4E\uDEA3\uDEB4-\uDEB6](?:\uD83C[\uDFFB-\uDFFF])?(?:\u200D[\u2640\u2642]\uFE0F?)?|[\uDD74\uDD90](?:\uFE0F|\uD83C[\uDFFB-\uDFFF])?|[\uDC00-\uDC07\uDC09-\uDC14\uDC16-\uDC25\uDC27-\uDC3A\uDC3C-\uDC3E\uDC40\uDC44\uDC45\uDC51-\uDC65\uDC6A\uDC79-\uDC7B\uDC7D-\uDC80\uDC84\uDC88-\uDC8E\uDC90\uDC92-\uDCA9\uDCAB-\uDCFC\uDCFF-\uDD3D\uDD4B-\uDD4E\uDD50-\uDD67\uDDA4\uDDFB-\uDE2D\uDE2F-\uDE34\uDE37-\uDE44\uDE48-\uDE4A\uDE80-\uDEA2\uDEA4-\uDEB3\uDEB7-\uDEBF\uDEC1-\uDEC5\uDED0-\uDED2\uDED5-\uDED7\uDEDC-\uDEDF\uDEEB\uDEEC\uDEF4-\uDEFC\uDFE0-\uDFEB\uDFF0]|\uDC15(?:\u200D\uD83E\uDDBA)?|\uDC3B(?:\u200D\u2744\uFE0F?)?|\uDC41\uFE0F?(?:\u200D\uD83D\uDDE8\uFE0F?)?|\uDC68(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D\uD83D(?:\uDC8B\u200D\uD83D)?\uDC68|\uD83C[\uDF3E\uDF73\uDF7C\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D(?:[\uDC68\uDC69]\u200D\uD83D(?:\uDC66(?:\u200D\uD83D\uDC66)?|\uDC67(?:\u200D\uD83D[\uDC66\uDC67])?)|[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uDC66(?:\u200D\uD83D\uDC66)?|\uDC67(?:\u200D\uD83D[\uDC66\uDC67])?)|\uD83E[\uDDAF-\uDDB3\uDDBC\uDDBD])|\uD83C(?:\uDFFB(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D\uD83D(?:\uDC8B\u200D\uD83D)?\uDC68\uD83C[\uDFFB-\uDFFF]|\uD83C[\uDF3E\uDF73\uDF7C\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E(?:[\uDDAF-\uDDB3\uDDBC\uDDBD]|\uDD1D\u200D\uD83D\uDC68\uD83C[\uDFFC-\uDFFF])))?|\uDFFC(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D\uD83D(?:\uDC8B\u200D\uD83D)?\uDC68\uD83C[\uDFFB-\uDFFF]|\uD83C[\uDF3E\uDF73\uDF7C\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E(?:[\uDDAF-\uDDB3\uDDBC\uDDBD]|\uDD1D\u200D\uD83D\uDC68\uD83C[\uDFFB\uDFFD-\uDFFF])))?|\uDFFD(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D\uD83D(?:\uDC8B\u200D\uD83D)?\uDC68\uD83C[\uDFFB-\uDFFF]|\uD83C[\uDF3E\uDF73\uDF7C\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E(?:[\uDDAF-\uDDB3\uDDBC\uDDBD]|\uDD1D\u200D\uD83D\uDC68\uD83C[\uDFFB\uDFFC\uDFFE\uDFFF])))?|\uDFFE(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D\uD83D(?:\uDC8B\u200D\uD83D)?\uDC68\uD83C[\uDFFB-\uDFFF]|\uD83C[\uDF3E\uDF73\uDF7C\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E(?:[\uDDAF-\uDDB3\uDDBC\uDDBD]|\uDD1D\u200D\uD83D\uDC68\uD83C[\uDFFB-\uDFFD\uDFFF])))?|\uDFFF(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D\uD83D(?:\uDC8B\u200D\uD83D)?\uDC68\uD83C[\uDFFB-\uDFFF]|\uD83C[\uDF3E\uDF73\uDF7C\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E(?:[\uDDAF-\uDDB3\uDDBC\uDDBD]|\uDD1D\u200D\uD83D\uDC68\uD83C[\uDFFB-\uDFFE])))?))?|\uDC69(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D\uD83D(?:\uDC8B\u200D\uD83D)?[\uDC68\uDC69]|\uD83C[\uDF3E\uDF73\uDF7C\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D(?:[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uDC66(?:\u200D\uD83D\uDC66)?|\uDC67(?:\u200D\uD83D[\uDC66\uDC67])?|\uDC69\u200D\uD83D(?:\uDC66(?:\u200D\uD83D\uDC66)?|\uDC67(?:\u200D\uD83D[\uDC66\uDC67])?))|\uD83E[\uDDAF-\uDDB3\uDDBC\uDDBD])|\uD83C(?:\uDFFB(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D\uD83D(?:[\uDC68\uDC69]|\uDC8B\u200D\uD83D[\uDC68\uDC69])\uD83C[\uDFFB-\uDFFF]|\uD83C[\uDF3E\uDF73\uDF7C\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E(?:[\uDDAF-\uDDB3\uDDBC\uDDBD]|\uDD1D\u200D\uD83D[\uDC68\uDC69]\uD83C[\uDFFC-\uDFFF])))?|\uDFFC(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D\uD83D(?:[\uDC68\uDC69]|\uDC8B\u200D\uD83D[\uDC68\uDC69])\uD83C[\uDFFB-\uDFFF]|\uD83C[\uDF3E\uDF73\uDF7C\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E(?:[\uDDAF-\uDDB3\uDDBC\uDDBD]|\uDD1D\u200D\uD83D[\uDC68\uDC69]\uD83C[\uDFFB\uDFFD-\uDFFF])))?|\uDFFD(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D\uD83D(?:[\uDC68\uDC69]|\uDC8B\u200D\uD83D[\uDC68\uDC69])\uD83C[\uDFFB-\uDFFF]|\uD83C[\uDF3E\uDF73\uDF7C\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E(?:[\uDDAF-\uDDB3\uDDBC\uDDBD]|\uDD1D\u200D\uD83D[\uDC68\uDC69]\uD83C[\uDFFB\uDFFC\uDFFE\uDFFF])))?|\uDFFE(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D\uD83D(?:[\uDC68\uDC69]|\uDC8B\u200D\uD83D[\uDC68\uDC69])\uD83C[\uDFFB-\uDFFF]|\uD83C[\uDF3E\uDF73\uDF7C\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E(?:[\uDDAF-\uDDB3\uDDBC\uDDBD]|\uDD1D\u200D\uD83D[\uDC68\uDC69]\uD83C[\uDFFB-\uDFFD\uDFFF])))?|\uDFFF(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D\uD83D(?:[\uDC68\uDC69]|\uDC8B\u200D\uD83D[\uDC68\uDC69])\uD83C[\uDFFB-\uDFFF]|\uD83C[\uDF3E\uDF73\uDF7C\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E(?:[\uDDAF-\uDDB3\uDDBC\uDDBD]|\uDD1D\u200D\uD83D[\uDC68\uDC69]\uD83C[\uDFFB-\uDFFE])))?))?|\uDC6F(?:\u200D[\u2640\u2642]\uFE0F?)?|\uDD75(?:\uFE0F|\uD83C[\uDFFB-\uDFFF])?(?:\u200D[\u2640\u2642]\uFE0F?)?|\uDE2E(?:\u200D\uD83D\uDCA8)?|\uDE35(?:\u200D\uD83D\uDCAB)?|\uDE36(?:\u200D\uD83C\uDF2B\uFE0F?)?)|\uD83E(?:[\uDD0C\uDD0F\uDD18-\uDD1F\uDD30-\uDD34\uDD36\uDD77\uDDB5\uDDB6\uDDBB\uDDD2\uDDD3\uDDD5\uDEC3-\uDEC5\uDEF0\uDEF2-\uDEF8](?:\uD83C[\uDFFB-\uDFFF])?|[\uDD26\uDD35\uDD37-\uDD39\uDD3D\uDD3E\uDDB8\uDDB9\uDDCD-\uDDCF\uDDD4\uDDD6-\uDDDD](?:\uD83C[\uDFFB-\uDFFF])?(?:\u200D[\u2640\u2642]\uFE0F?)?|[\uDDDE\uDDDF](?:\u200D[\u2640\u2642]\uFE0F?)?|[\uDD0D\uDD0E\uDD10-\uDD17\uDD20-\uDD25\uDD27-\uDD2F\uDD3A\uDD3F-\uDD45\uDD47-\uDD76\uDD78-\uDDB4\uDDB7\uDDBA\uDDBC-\uDDCC\uDDD0\uDDE0-\uDDFF\uDE70-\uDE7C\uDE80-\uDE88\uDE90-\uDEBD\uDEBF-\uDEC2\uDECE-\uDEDB\uDEE0-\uDEE8]|\uDD3C(?:\u200D[\u2640\u2642]\uFE0F?|\uD83C[\uDFFB-\uDFFF])?|\uDDD1(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\uD83C[\uDF3E\uDF73\uDF7C\uDF84\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E(?:[\uDDAF-\uDDB3\uDDBC\uDDBD]|\uDD1D\u200D\uD83E\uDDD1))|\uD83C(?:\uDFFB(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D(?:\uD83D\uDC8B\u200D)?\uD83E\uDDD1\uD83C[\uDFFC-\uDFFF]|\uD83C[\uDF3E\uDF73\uDF7C\uDF84\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E(?:[\uDDAF-\uDDB3\uDDBC\uDDBD]|\uDD1D\u200D\uD83E\uDDD1\uD83C[\uDFFB-\uDFFF])))?|\uDFFC(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D(?:\uD83D\uDC8B\u200D)?\uD83E\uDDD1\uD83C[\uDFFB\uDFFD-\uDFFF]|\uD83C[\uDF3E\uDF73\uDF7C\uDF84\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E(?:[\uDDAF-\uDDB3\uDDBC\uDDBD]|\uDD1D\u200D\uD83E\uDDD1\uD83C[\uDFFB-\uDFFF])))?|\uDFFD(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D(?:\uD83D\uDC8B\u200D)?\uD83E\uDDD1\uD83C[\uDFFB\uDFFC\uDFFE\uDFFF]|\uD83C[\uDF3E\uDF73\uDF7C\uDF84\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E(?:[\uDDAF-\uDDB3\uDDBC\uDDBD]|\uDD1D\u200D\uD83E\uDDD1\uD83C[\uDFFB-\uDFFF])))?|\uDFFE(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D(?:\uD83D\uDC8B\u200D)?\uD83E\uDDD1\uD83C[\uDFFB-\uDFFD\uDFFF]|\uD83C[\uDF3E\uDF73\uDF7C\uDF84\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E(?:[\uDDAF-\uDDB3\uDDBC\uDDBD]|\uDD1D\u200D\uD83E\uDDD1\uD83C[\uDFFB-\uDFFF])))?|\uDFFF(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D(?:\uD83D\uDC8B\u200D)?\uD83E\uDDD1\uD83C[\uDFFB-\uDFFE]|\uD83C[\uDF3E\uDF73\uDF7C\uDF84\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E(?:[\uDDAF-\uDDB3\uDDBC\uDDBD]|\uDD1D\u200D\uD83E\uDDD1\uD83C[\uDFFB-\uDFFF])))?))?|\uDEF1(?:\uD83C(?:\uDFFB(?:\u200D\uD83E\uDEF2\uD83C[\uDFFC-\uDFFF])?|\uDFFC(?:\u200D\uD83E\uDEF2\uD83C[\uDFFB\uDFFD-\uDFFF])?|\uDFFD(?:\u200D\uD83E\uDEF2\uD83C[\uDFFB\uDFFC\uDFFE\uDFFF])?|\uDFFE(?:\u200D\uD83E\uDEF2\uD83C[\uDFFB-\uDFFD\uDFFF])?|\uDFFF(?:\u200D\uD83E\uDEF2\uD83C[\uDFFB-\uDFFE])?))?)/g;
16127
16128
  var Wf = new RegExp(Ru(), "");
@@ -16148,7 +16149,7 @@ function Nu(e) {
16148
16149
  if (e)
16149
16150
  return Yr.find((t) => t.toLowerCase().startsWith(e.toLowerCase()));
16150
16151
  }
16151
- async function* Gt(e, t) {
16152
+ async function* Ut(e, t) {
16152
16153
  var M;
16153
16154
  let n = await qe(), { id: r, inheritedStyle: i, parent: o, font: u, debug: s, locale: a, embedFont: l = true, graphemeImages: f, canLoadAdditionalAssets: c, getTwStyles: p } = t;
16154
16155
  if (e === null || typeof e > "u")
@@ -16160,7 +16161,7 @@ async function* Gt(e, t) {
16160
16161
  else {
16161
16162
  if (Ko(e.type))
16162
16163
  throw new Error("Class component is not supported.");
16163
- R = Gt(e.type(e.props), t), yield (await R.next()).value;
16164
+ R = Ut(e.type(e.props), t), yield (await R.next()).value;
16164
16165
  }
16165
16166
  await R.next();
16166
16167
  let ae = yield;
@@ -16181,32 +16182,32 @@ async function* Gt(e, t) {
16181
16182
  let R = { value: "" };
16182
16183
  k._inheritedBackgroundClipTextPath = R, y._inheritedBackgroundClipTextPath = R;
16183
16184
  }
16184
- let B = Zo(v), H = [], oe = 0, ue = [];
16185
+ let B = Zo(v), j = [], oe = 0, ue = [];
16185
16186
  for (let R of B) {
16186
- let ae = Gt(R, { id: r + "-" + oe++, parentStyle: y, inheritedStyle: k, isInheritingTransform: true, parent: F, font: u, embedFont: l, debug: s, graphemeImages: f, canLoadAdditionalAssets: c, locale: x, getTwStyles: p, onNodeDetected: t.onNodeDetected });
16187
- c ? ue.push(...(await ae.next()).value || []) : await ae.next(), H.push(ae);
16187
+ let ae = Ut(R, { id: r + "-" + oe++, parentStyle: y, inheritedStyle: k, isInheritingTransform: true, parent: F, font: u, embedFont: l, debug: s, graphemeImages: f, canLoadAdditionalAssets: c, locale: x, getTwStyles: p, onNodeDetected: t.onNodeDetected });
16188
+ c ? ue.push(...(await ae.next()).value || []) : await ae.next(), j.push(ae);
16188
16189
  }
16189
16190
  yield ue;
16190
- for (let R of H)
16191
+ for (let R of j)
16191
16192
  await R.next();
16192
- let [se, $] = yield, { left: L, top: X, width: ce, height: V } = F.getComputedLayout();
16193
- L += se, X += $;
16194
- let Z = "", le = "", he = "", { children: A, ...O } = d;
16195
- if ((M = t.onNodeDetected) == null || M.call(t, { left: L, top: X, width: ce, height: V, type: h, props: O, key: e.key, textContent: bt(A) ? void 0 : A }), h === "img") {
16193
+ let [se, N] = yield, { left: L, top: V, width: de, height: Y } = F.getComputedLayout();
16194
+ L += se, V += N;
16195
+ let ee = "", le = "", he = "", { children: A, ...O } = d;
16196
+ if ((M = t.onNodeDetected) == null || M.call(t, { left: L, top: V, width: de, height: Y, type: h, props: O, key: e.key, textContent: bt(A) ? void 0 : A }), h === "img") {
16196
16197
  let R = y.__src;
16197
- le = await zt({ id: r, left: L, top: X, width: ce, height: V, src: R, isInheritingTransform: P, debug: s }, y, k);
16198
+ le = await qt({ id: r, left: L, top: V, width: de, height: Y, src: R, isInheritingTransform: P, debug: s }, y, k);
16198
16199
  } else if (h === "svg") {
16199
16200
  let R = y.color, ae = await du(e, R);
16200
- le = await zt({ id: r, left: L, top: X, width: ce, height: V, src: ae, isInheritingTransform: P, debug: s }, y, k);
16201
+ le = await qt({ id: r, left: L, top: V, width: de, height: Y, src: ae, isInheritingTransform: P, debug: s }, y, k);
16201
16202
  } else {
16202
16203
  let R = m == null ? void 0 : m.display;
16203
16204
  if (h === "div" && v && typeof v != "string" && R !== "flex" && R !== "none")
16204
16205
  throw new Error('Expected <div> to have explicit "display: flex" or "display: none" if it has more than one child node.');
16205
- le = await zt({ id: r, left: L, top: X, width: ce, height: V, isInheritingTransform: P, debug: s }, y, k);
16206
+ le = await qt({ id: r, left: L, top: V, width: de, height: Y, isInheritingTransform: P, debug: s }, y, k);
16206
16207
  }
16207
- for (let R of H)
16208
- Z += (await R.next([L, X])).value;
16209
- return y._inheritedBackgroundClipTextPath && (he += C("clipPath", { id: `satori_bct-${r}`, "clip-path": y._inheritedClipPathId ? `url(#${y._inheritedClipPathId})` : void 0 }, y._inheritedBackgroundClipTextPath.value)), he + le + Z;
16208
+ for (let R of j)
16209
+ ee += (await R.next([L, V])).value;
16210
+ return y._inheritedBackgroundClipTextPath && (he += C("clipPath", { id: `satori_bct-${r}`, "clip-path": y._inheritedClipPathId ? `url(#${y._inheritedClipPathId})` : void 0 }, y._inheritedBackgroundClipTextPath.value)), he + le + ee;
16210
16211
  }
16211
16212
  var $u = "unknown";
16212
16213
  function qf(e, t, [n, r], [i, o]) {
@@ -16220,7 +16221,7 @@ function qf(e, t, [n, r], [i, o]) {
16220
16221
  }
16221
16222
  return -1;
16222
16223
  }
16223
- var jt = class {
16224
+ var zt = class {
16224
16225
  defaultFont;
16225
16226
  fonts = /* @__PURE__ */ new Map();
16226
16227
  constructor(t) {
@@ -16298,7 +16299,7 @@ var jt = class {
16298
16299
  let x = v(b);
16299
16300
  return x ? (x._trackBrokenChars = [], x.stringToGlyphs(b), x._trackBrokenChars.length ? (x._trackBrokenChars = void 0, false) : true) : false;
16300
16301
  }, baseline: (b, x = typeof b > "u" ? s[0] : h(b)) => {
16301
- let F = d(x, true), y = m(x, true), k = g.height(b, x), { yMax: P, yMin: B } = x.tables.head, H = F - y, oe = (P / (P - B) - 1) * H;
16302
+ let F = d(x, true), y = m(x, true), k = g.height(b, x), { yMax: P, yMin: B } = x.tables.head, j = F - y, oe = (P / (P - B) - 1) * j;
16302
16303
  return k * ((1.2 / n + 1) / 2) + oe;
16303
16304
  }, height: (b, x = typeof b > "u" ? s[0] : h(b)) => (d(x) - m(x)) * (n / 1.2), measure: (b, x) => this.measure(h, b, x), getSVG: (b, x) => this.getSVG(h, b, x) };
16304
16305
  return g;
@@ -16366,10 +16367,10 @@ var Qa;
16366
16367
  (function(e) {
16367
16368
  e.fontSize = "fontSize", e.lineHeight = "lineHeight";
16368
16369
  })(Qa || (Qa = {}));
16369
- var G;
16370
+ var z;
16370
16371
  (function(e) {
16371
16372
  e.rem = "rem", e.em = "em", e.px = "px", e.percent = "%", e.vw = "vw", e.vh = "vh", e.none = "<no-css-unit>";
16372
- })(G || (G = {}));
16373
+ })(z || (z = {}));
16373
16374
  function yo(e) {
16374
16375
  return typeof e == "string";
16375
16376
  }
@@ -16380,10 +16381,10 @@ var Fo;
16380
16381
  function D(e) {
16381
16382
  return { kind: "complete", style: e };
16382
16383
  }
16383
- function fe(e, t = {}) {
16384
+ function ce(e, t = {}) {
16384
16385
  let { fractions: n } = t;
16385
16386
  if (n && e.includes("/")) {
16386
- let [o = "", u = ""] = e.split("/", 2), s = fe(o), a = fe(u);
16387
+ let [o = "", u = ""] = e.split("/", 2), s = ce(o), a = ce(u);
16387
16388
  return !s || !a ? null : [s[0] / a[0], a[1]];
16388
16389
  }
16389
16390
  let r = parseFloat(e);
@@ -16391,20 +16392,20 @@ function fe(e, t = {}) {
16391
16392
  return null;
16392
16393
  let i = e.match(/(([a-z]{2,}|%))$/);
16393
16394
  if (!i)
16394
- return [r, G.none];
16395
+ return [r, z.none];
16395
16396
  switch (i == null ? void 0 : i[1]) {
16396
16397
  case "rem":
16397
- return [r, G.rem];
16398
+ return [r, z.rem];
16398
16399
  case "px":
16399
- return [r, G.px];
16400
+ return [r, z.px];
16400
16401
  case "em":
16401
- return [r, G.em];
16402
+ return [r, z.em];
16402
16403
  case "%":
16403
- return [r, G.percent];
16404
+ return [r, z.percent];
16404
16405
  case "vw":
16405
- return [r, G.vw];
16406
+ return [r, z.vw];
16406
16407
  case "vh":
16407
- return [r, G.vh];
16408
+ return [r, z.vh];
16408
16409
  default:
16409
16410
  return null;
16410
16411
  }
@@ -16424,37 +16425,37 @@ function el(e, t) {
16424
16425
  function Me(e, t = {}) {
16425
16426
  if (e === void 0)
16426
16427
  return null;
16427
- let n = fe(String(e), t);
16428
- return n ? et2(...n, t) : null;
16428
+ let n = ce(String(e), t);
16429
+ return n ? rt(...n, t) : null;
16429
16430
  }
16430
- function et2(e, t, n = {}) {
16431
+ function rt(e, t, n = {}) {
16431
16432
  let { isNegative: r, device: i } = n;
16432
16433
  switch (t) {
16433
- case G.rem:
16434
+ case z.rem:
16434
16435
  return e * 16 * (r ? -1 : 1);
16435
- case G.px:
16436
+ case z.px:
16436
16437
  return e * (r ? -1 : 1);
16437
- case G.percent:
16438
+ case z.percent:
16438
16439
  return `${r ? "-" : ""}${e}%`;
16439
- case G.none:
16440
+ case z.none:
16440
16441
  return e * (r ? -1 : 1);
16441
- case G.vw:
16442
+ case z.vw:
16442
16443
  return i != null && i.windowDimensions ? i.windowDimensions.width * (e / 100) : (Fe("`vw` CSS unit requires configuration with `useDeviceContext()`"), null);
16443
- case G.vh:
16444
+ case z.vh:
16444
16445
  return i != null && i.windowDimensions ? i.windowDimensions.height * (e / 100) : (Fe("`vh` CSS unit requires configuration with `useDeviceContext()`"), null);
16445
16446
  default:
16446
16447
  return null;
16447
16448
  }
16448
16449
  }
16449
16450
  function wo(e) {
16450
- let t = fe(e);
16451
+ let t = ce(e);
16451
16452
  if (!t)
16452
16453
  return null;
16453
16454
  let [n, r] = t;
16454
16455
  switch (r) {
16455
- case G.rem:
16456
+ case z.rem:
16456
16457
  return n * 16;
16457
- case G.px:
16458
+ case z.px:
16458
16459
  return n;
16459
16460
  default:
16460
16461
  return null;
@@ -16483,11 +16484,11 @@ function Ae(e, t, n = {}) {
16483
16484
  function Za(e, t = {}) {
16484
16485
  if (e === "px")
16485
16486
  return 1;
16486
- let n = fe(e, t);
16487
+ let n = ce(e, t);
16487
16488
  if (!n)
16488
16489
  return null;
16489
16490
  let [r, i] = n;
16490
- return t.fractions && (i = G.percent, r *= 100), i === G.none && (r = r / 4, i = G.rem), et2(r, i, t);
16491
+ return t.fractions && (i = z.percent, r *= 100), i === z.none && (r = r / 4, i = z.rem), rt(r, i, t);
16491
16492
  }
16492
16493
  function Om(...e) {
16493
16494
  console.warn(...e);
@@ -16495,14 +16496,14 @@ function Om(...e) {
16495
16496
  function Pm(...e) {
16496
16497
  }
16497
16498
  var Fe = typeof process > "u" || ((Fo = process == null ? void 0 : process.env) === null || Fo === void 0 ? void 0 : Fo.JEST_WORKER_ID) === void 0 ? Om : Pm;
16498
- var Bm = [["aspect-square", D({ aspectRatio: 1 })], ["aspect-video", D({ aspectRatio: 16 / 9 })], ["items-center", D({ alignItems: "center" })], ["items-start", D({ alignItems: "flex-start" })], ["items-end", D({ alignItems: "flex-end" })], ["items-baseline", D({ alignItems: "baseline" })], ["items-stretch", D({ alignItems: "stretch" })], ["justify-start", D({ justifyContent: "flex-start" })], ["justify-end", D({ justifyContent: "flex-end" })], ["justify-center", D({ justifyContent: "center" })], ["justify-between", D({ justifyContent: "space-between" })], ["justify-around", D({ justifyContent: "space-around" })], ["justify-evenly", D({ justifyContent: "space-evenly" })], ["content-start", D({ alignContent: "flex-start" })], ["content-end", D({ alignContent: "flex-end" })], ["content-between", D({ alignContent: "space-between" })], ["content-around", D({ alignContent: "space-around" })], ["content-stretch", D({ alignContent: "stretch" })], ["content-center", D({ alignContent: "center" })], ["self-auto", D({ alignSelf: "auto" })], ["self-start", D({ alignSelf: "flex-start" })], ["self-end", D({ alignSelf: "flex-end" })], ["self-center", D({ alignSelf: "center" })], ["self-stretch", D({ alignSelf: "stretch" })], ["self-baseline", D({ alignSelf: "baseline" })], ["direction-inherit", D({ direction: "inherit" })], ["direction-ltr", D({ direction: "ltr" })], ["direction-rtl", D({ direction: "rtl" })], ["hidden", D({ display: "none" })], ["flex", D({ display: "flex" })], ["flex-row", D({ flexDirection: "row" })], ["flex-row-reverse", D({ flexDirection: "row-reverse" })], ["flex-col", D({ flexDirection: "column" })], ["flex-col-reverse", D({ flexDirection: "column-reverse" })], ["flex-wrap", D({ flexWrap: "wrap" })], ["flex-wrap-reverse", D({ flexWrap: "wrap-reverse" })], ["flex-nowrap", D({ flexWrap: "nowrap" })], ["flex-auto", D({ flexGrow: 1, flexShrink: 1, flexBasis: "auto" })], ["flex-initial", D({ flexGrow: 0, flexShrink: 1, flexBasis: "auto" })], ["flex-none", D({ flexGrow: 0, flexShrink: 0, flexBasis: "auto" })], ["overflow-hidden", D({ overflow: "hidden" })], ["overflow-visible", D({ overflow: "visible" })], ["overflow-scroll", D({ overflow: "scroll" })], ["absolute", D({ position: "absolute" })], ["relative", D({ position: "relative" })], ["italic", D({ fontStyle: "italic" })], ["not-italic", D({ fontStyle: "normal" })], ["oldstyle-nums", Fr("oldstyle-nums")], ["small-caps", Fr("small-caps")], ["lining-nums", Fr("lining-nums")], ["tabular-nums", Fr("tabular-nums")], ["proportional-nums", Fr("proportional-nums")], ["font-thin", D({ fontWeight: "100" })], ["font-100", D({ fontWeight: "100" })], ["font-extralight", D({ fontWeight: "200" })], ["font-200", D({ fontWeight: "200" })], ["font-light", D({ fontWeight: "300" })], ["font-300", D({ fontWeight: "300" })], ["font-normal", D({ fontWeight: "normal" })], ["font-400", D({ fontWeight: "400" })], ["font-medium", D({ fontWeight: "500" })], ["font-500", D({ fontWeight: "500" })], ["font-semibold", D({ fontWeight: "600" })], ["font-600", D({ fontWeight: "600" })], ["font-bold", D({ fontWeight: "bold" })], ["font-700", D({ fontWeight: "700" })], ["font-extrabold", D({ fontWeight: "800" })], ["font-800", D({ fontWeight: "800" })], ["font-black", D({ fontWeight: "900" })], ["font-900", D({ fontWeight: "900" })], ["include-font-padding", D({ includeFontPadding: true })], ["remove-font-padding", D({ includeFontPadding: false })], ["max-w-none", D({ maxWidth: "99999%" })], ["text-left", D({ textAlign: "left" })], ["text-center", D({ textAlign: "center" })], ["text-right", D({ textAlign: "right" })], ["text-justify", D({ textAlign: "justify" })], ["text-auto", D({ textAlign: "auto" })], ["underline", D({ textDecorationLine: "underline" })], ["line-through", D({ textDecorationLine: "line-through" })], ["no-underline", D({ textDecorationLine: "none" })], ["uppercase", D({ textTransform: "uppercase" })], ["lowercase", D({ textTransform: "lowercase" })], ["capitalize", D({ textTransform: "capitalize" })], ["normal-case", D({ textTransform: "none" })], ["w-auto", D({ width: "auto" })], ["h-auto", D({ height: "auto" })], ["shadow-sm", D({ shadowOffset: { width: 1, height: 1 }, shadowColor: "#000", shadowRadius: 1, shadowOpacity: 0.025, elevation: 1 })], ["shadow", D({ shadowOffset: { width: 1, height: 1 }, shadowColor: "#000", shadowRadius: 1, shadowOpacity: 0.075, elevation: 2 })], ["shadow-md", D({ shadowOffset: { width: 1, height: 1 }, shadowColor: "#000", shadowRadius: 3, shadowOpacity: 0.125, elevation: 3 })], ["shadow-lg", D({ shadowOffset: { width: 1, height: 1 }, shadowColor: "#000", shadowOpacity: 0.15, shadowRadius: 8, elevation: 8 })], ["shadow-xl", D({ shadowOffset: { width: 1, height: 1 }, shadowColor: "#000", shadowOpacity: 0.19, shadowRadius: 20, elevation: 12 })], ["shadow-2xl", D({ shadowOffset: { width: 1, height: 1 }, shadowColor: "#000", shadowOpacity: 0.25, shadowRadius: 30, elevation: 16 })], ["shadow-none", D({ shadowOffset: { width: 0, height: 0 }, shadowColor: "#000", shadowRadius: 0, shadowOpacity: 0, elevation: 0 })]];
16499
+ var Bm = [["aspect-square", D({ aspectRatio: 1 })], ["aspect-video", D({ aspectRatio: 16 / 9 })], ["items-center", D({ alignItems: "center" })], ["items-start", D({ alignItems: "flex-start" })], ["items-end", D({ alignItems: "flex-end" })], ["items-baseline", D({ alignItems: "baseline" })], ["items-stretch", D({ alignItems: "stretch" })], ["justify-start", D({ justifyContent: "flex-start" })], ["justify-end", D({ justifyContent: "flex-end" })], ["justify-center", D({ justifyContent: "center" })], ["justify-between", D({ justifyContent: "space-between" })], ["justify-around", D({ justifyContent: "space-around" })], ["justify-evenly", D({ justifyContent: "space-evenly" })], ["content-start", D({ alignContent: "flex-start" })], ["content-end", D({ alignContent: "flex-end" })], ["content-between", D({ alignContent: "space-between" })], ["content-around", D({ alignContent: "space-around" })], ["content-stretch", D({ alignContent: "stretch" })], ["content-center", D({ alignContent: "center" })], ["self-auto", D({ alignSelf: "auto" })], ["self-start", D({ alignSelf: "flex-start" })], ["self-end", D({ alignSelf: "flex-end" })], ["self-center", D({ alignSelf: "center" })], ["self-stretch", D({ alignSelf: "stretch" })], ["self-baseline", D({ alignSelf: "baseline" })], ["direction-inherit", D({ direction: "inherit" })], ["direction-ltr", D({ direction: "ltr" })], ["direction-rtl", D({ direction: "rtl" })], ["hidden", D({ display: "none" })], ["flex", D({ display: "flex" })], ["flex-row", D({ flexDirection: "row" })], ["flex-row-reverse", D({ flexDirection: "row-reverse" })], ["flex-col", D({ flexDirection: "column" })], ["flex-col-reverse", D({ flexDirection: "column-reverse" })], ["flex-wrap", D({ flexWrap: "wrap" })], ["flex-wrap-reverse", D({ flexWrap: "wrap-reverse" })], ["flex-nowrap", D({ flexWrap: "nowrap" })], ["flex-auto", D({ flexGrow: 1, flexShrink: 1, flexBasis: "auto" })], ["flex-initial", D({ flexGrow: 0, flexShrink: 1, flexBasis: "auto" })], ["flex-none", D({ flexGrow: 0, flexShrink: 0, flexBasis: "auto" })], ["overflow-hidden", D({ overflow: "hidden" })], ["overflow-visible", D({ overflow: "visible" })], ["overflow-scroll", D({ overflow: "scroll" })], ["absolute", D({ position: "absolute" })], ["relative", D({ position: "relative" })], ["italic", D({ fontStyle: "italic" })], ["not-italic", D({ fontStyle: "normal" })], ["oldstyle-nums", yr("oldstyle-nums")], ["small-caps", yr("small-caps")], ["lining-nums", yr("lining-nums")], ["tabular-nums", yr("tabular-nums")], ["proportional-nums", yr("proportional-nums")], ["font-thin", D({ fontWeight: "100" })], ["font-100", D({ fontWeight: "100" })], ["font-extralight", D({ fontWeight: "200" })], ["font-200", D({ fontWeight: "200" })], ["font-light", D({ fontWeight: "300" })], ["font-300", D({ fontWeight: "300" })], ["font-normal", D({ fontWeight: "normal" })], ["font-400", D({ fontWeight: "400" })], ["font-medium", D({ fontWeight: "500" })], ["font-500", D({ fontWeight: "500" })], ["font-semibold", D({ fontWeight: "600" })], ["font-600", D({ fontWeight: "600" })], ["font-bold", D({ fontWeight: "bold" })], ["font-700", D({ fontWeight: "700" })], ["font-extrabold", D({ fontWeight: "800" })], ["font-800", D({ fontWeight: "800" })], ["font-black", D({ fontWeight: "900" })], ["font-900", D({ fontWeight: "900" })], ["include-font-padding", D({ includeFontPadding: true })], ["remove-font-padding", D({ includeFontPadding: false })], ["max-w-none", D({ maxWidth: "99999%" })], ["text-left", D({ textAlign: "left" })], ["text-center", D({ textAlign: "center" })], ["text-right", D({ textAlign: "right" })], ["text-justify", D({ textAlign: "justify" })], ["text-auto", D({ textAlign: "auto" })], ["underline", D({ textDecorationLine: "underline" })], ["line-through", D({ textDecorationLine: "line-through" })], ["no-underline", D({ textDecorationLine: "none" })], ["uppercase", D({ textTransform: "uppercase" })], ["lowercase", D({ textTransform: "lowercase" })], ["capitalize", D({ textTransform: "capitalize" })], ["normal-case", D({ textTransform: "none" })], ["w-auto", D({ width: "auto" })], ["h-auto", D({ height: "auto" })], ["shadow-sm", D({ shadowOffset: { width: 1, height: 1 }, shadowColor: "#000", shadowRadius: 1, shadowOpacity: 0.025, elevation: 1 })], ["shadow", D({ shadowOffset: { width: 1, height: 1 }, shadowColor: "#000", shadowRadius: 1, shadowOpacity: 0.075, elevation: 2 })], ["shadow-md", D({ shadowOffset: { width: 1, height: 1 }, shadowColor: "#000", shadowRadius: 3, shadowOpacity: 0.125, elevation: 3 })], ["shadow-lg", D({ shadowOffset: { width: 1, height: 1 }, shadowColor: "#000", shadowOpacity: 0.15, shadowRadius: 8, elevation: 8 })], ["shadow-xl", D({ shadowOffset: { width: 1, height: 1 }, shadowColor: "#000", shadowOpacity: 0.19, shadowRadius: 20, elevation: 12 })], ["shadow-2xl", D({ shadowOffset: { width: 1, height: 1 }, shadowColor: "#000", shadowOpacity: 0.25, shadowRadius: 30, elevation: 16 })], ["shadow-none", D({ shadowOffset: { width: 0, height: 0 }, shadowColor: "#000", shadowRadius: 0, shadowOpacity: 0, elevation: 0 })]];
16499
16500
  var _o = Bm;
16500
- function Fr(e) {
16501
+ function yr(e) {
16501
16502
  return { kind: "dependent", complete(t) {
16502
16503
  (!t.fontVariant || !Array.isArray(t.fontVariant)) && (t.fontVariant = []), t.fontVariant.push(e);
16503
16504
  } };
16504
16505
  }
16505
- var wr = class {
16506
+ var xr = class {
16506
16507
  constructor(t) {
16507
16508
  this.ir = new Map(_o), this.styles = /* @__PURE__ */ new Map(), this.prefixes = /* @__PURE__ */ new Map(), this.ir = new Map([..._o, ...t ?? []]);
16508
16509
  }
@@ -16538,27 +16539,27 @@ function So(e, t, n = {}) {
16538
16539
  return a && pn("lineHeight", tl(a, i), i), l && pn("letterSpacing", l, i), D(i);
16539
16540
  }
16540
16541
  function tl(e, t) {
16541
- let n = fe(e);
16542
+ let n = ce(e);
16542
16543
  if (n) {
16543
16544
  let [r, i] = n;
16544
- if ((i === G.none || i === G.em) && typeof t.fontSize == "number")
16545
+ if ((i === z.none || i === z.em) && typeof t.fontSize == "number")
16545
16546
  return t.fontSize * r;
16546
16547
  }
16547
16548
  return e;
16548
16549
  }
16549
16550
  function ko(e, t) {
16550
16551
  var n;
16551
- let r = (n = t == null ? void 0 : t[e]) !== null && n !== void 0 ? n : e.startsWith("[") ? e.slice(1, -1) : e, i = fe(r);
16552
+ let r = (n = t == null ? void 0 : t[e]) !== null && n !== void 0 ? n : e.startsWith("[") ? e.slice(1, -1) : e, i = ce(r);
16552
16553
  if (!i)
16553
16554
  return null;
16554
16555
  let [o, u] = i;
16555
- if (u === G.none)
16556
+ if (u === z.none)
16556
16557
  return { kind: "dependent", complete(a) {
16557
16558
  if (typeof a.fontSize != "number")
16558
16559
  return "relative line-height utilities require that font-size be set";
16559
16560
  a.lineHeight = a.fontSize * o;
16560
16561
  } };
16561
- let s = et2(o, u);
16562
+ let s = rt(o, u);
16562
16563
  return s !== null ? D({ lineHeight: s }) : null;
16563
16564
  }
16564
16565
  function To(e, t, n, r, i) {
@@ -16571,19 +16572,19 @@ function To(e, t, n, r, i) {
16571
16572
  o = l;
16572
16573
  else {
16573
16574
  let f = ft(r);
16574
- return f && typeof f == "number" ? rl(f, G.px, t, e) : null;
16575
+ return f && typeof f == "number" ? rl(f, z.px, t, e) : null;
16575
16576
  }
16576
16577
  }
16577
16578
  if (o === "auto")
16578
16579
  return nl(t, e, "auto");
16579
- let u = fe(o);
16580
+ let u = ce(o);
16580
16581
  if (!u)
16581
16582
  return null;
16582
16583
  let [s, a] = u;
16583
16584
  return n && (s = -s), rl(s, a, t, e);
16584
16585
  }
16585
16586
  function rl(e, t, n, r) {
16586
- let i = et2(e, t);
16587
+ let i = rt(e, t);
16587
16588
  return i === null ? null : nl(n, r, i);
16588
16589
  }
16589
16590
  function nl(e, t, n) {
@@ -16646,7 +16647,7 @@ function ct(e, t, n) {
16646
16647
  typeof s == "number" && (i = il(i, s)), o[hn[e].color] = i;
16647
16648
  } };
16648
16649
  }
16649
- function Er(e, t) {
16650
+ function Fr(e, t) {
16650
16651
  let n = parseInt(t, 10);
16651
16652
  if (Number.isNaN(n))
16652
16653
  return null;
@@ -16775,7 +16776,7 @@ function fl2(e, t, n) {
16775
16776
  return D({ left: n, right: n });
16776
16777
  }
16777
16778
  }
16778
- function Cr(e, t, n) {
16779
+ function wr(e, t, n) {
16779
16780
  var r;
16780
16781
  t = t.replace(/^-/, "");
16781
16782
  let i = t === "" ? "DEFAULT" : t, o = Number((r = n == null ? void 0 : n[i]) !== null && r !== void 0 ? r : t);
@@ -16804,22 +16805,22 @@ function Po(e, t, n = {}, r) {
16804
16805
  let i = r == null ? void 0 : r[t];
16805
16806
  return i !== void 0 ? Ge(e, i, n) : Ae(e, t, n);
16806
16807
  }
16807
- function _r(e, t, n = {}, r) {
16808
+ function Er(e, t, n = {}, r) {
16808
16809
  let i = Me(r == null ? void 0 : r[t], n);
16809
16810
  return i ? D({ [e]: i }) : (t === "screen" && (t = e.includes("Width") ? "100vw" : "100vh"), Ae(e, t, n));
16810
16811
  }
16811
16812
  function dl(e, t, n) {
16812
16813
  let r = n == null ? void 0 : n[e];
16813
16814
  if (r) {
16814
- let i = fe(r, { isNegative: t });
16815
+ let i = ce(r, { isNegative: t });
16815
16816
  if (!i)
16816
16817
  return null;
16817
16818
  let [o, u] = i;
16818
- if (u === G.em)
16819
+ if (u === z.em)
16819
16820
  return Nm(o);
16820
- if (u === G.percent)
16821
+ if (u === z.percent)
16821
16822
  return Fe("percentage-based letter-spacing configuration currently unsupported, switch to `em`s, or open an issue if you'd like to see support added."), null;
16822
- let s = et2(o, u, { isNegative: t });
16823
+ let s = rt(o, u, { isNegative: t });
16823
16824
  return s !== null ? D({ letterSpacing: s }) : null;
16824
16825
  }
16825
16826
  return Ae("letterSpacing", e, { isNegative: t });
@@ -16835,11 +16836,11 @@ function Nm(e) {
16835
16836
  function pl(e, t) {
16836
16837
  let n = t == null ? void 0 : t[e];
16837
16838
  if (n) {
16838
- let i = fe(String(n));
16839
+ let i = ce(String(n));
16839
16840
  if (i)
16840
16841
  return D({ opacity: i[0] });
16841
16842
  }
16842
- let r = fe(e);
16843
+ let r = ce(e);
16843
16844
  return r ? D({ opacity: r[0] / 100 }) : null;
16844
16845
  }
16845
16846
  function hl(e) {
@@ -16904,7 +16905,7 @@ var _t = class {
16904
16905
  }
16905
16906
  }
16906
16907
  }
16907
- if (this.consumePeeked("h-") && (s = Po("height", this.rest, this.context, u == null ? void 0 : u.height), s) || this.consumePeeked("w-") && (s = Po("width", this.rest, this.context, u == null ? void 0 : u.width), s) || this.consumePeeked("min-w-") && (s = _r("minWidth", this.rest, this.context, u == null ? void 0 : u.minWidth), s) || this.consumePeeked("min-h-") && (s = _r("minHeight", this.rest, this.context, u == null ? void 0 : u.minHeight), s) || this.consumePeeked("max-w-") && (s = _r("maxWidth", this.rest, this.context, u == null ? void 0 : u.maxWidth), s) || this.consumePeeked("max-h-") && (s = _r("maxHeight", this.rest, this.context, u == null ? void 0 : u.maxHeight), s) || this.consumePeeked("leading-") && (s = ko(this.rest, u == null ? void 0 : u.lineHeight), s) || this.consumePeeked("text-") && (s = So(this.rest, u == null ? void 0 : u.fontSize, this.context), s || (s = ct("text", this.rest, u == null ? void 0 : u.textColor), s) || this.consumePeeked("opacity-") && (s = Er("text", this.rest), s)) || this.consumePeeked("font-") && (s = Oo(this.rest, u == null ? void 0 : u.fontFamily), s) || this.consumePeeked("aspect-") && (this.consumePeeked("ratio-") && Fe("`aspect-ratio-{ratio}` is deprecated, use `aspect-{ratio}` instead"), s = Ge("aspectRatio", this.rest, { fractions: true }), s) || this.consumePeeked("tint-") && (s = ct("tint", this.rest, u == null ? void 0 : u.colors), s) || this.consumePeeked("bg-") && (s = ct("bg", this.rest, u == null ? void 0 : u.backgroundColor), s || this.consumePeeked("opacity-") && (s = Er("bg", this.rest), s)) || this.consumePeeked("border") && (s = al(this.rest, u), s || this.consumePeeked("-opacity-") && (s = Er("border", this.rest), s)) || this.consumePeeked("rounded") && (s = ll(this.rest, u == null ? void 0 : u.borderRadius), s) || this.consumePeeked("bottom-") && (s = Ct("bottom", this.rest, this.isNegative, u == null ? void 0 : u.inset), s) || this.consumePeeked("top-") && (s = Ct("top", this.rest, this.isNegative, u == null ? void 0 : u.inset), s) || this.consumePeeked("left-") && (s = Ct("left", this.rest, this.isNegative, u == null ? void 0 : u.inset), s) || this.consumePeeked("right-") && (s = Ct("right", this.rest, this.isNegative, u == null ? void 0 : u.inset), s) || this.consumePeeked("inset-") && (s = Ct("inset", this.rest, this.isNegative, u == null ? void 0 : u.inset), s) || this.consumePeeked("flex-") && (this.consumePeeked("grow") ? s = Cr("Grow", this.rest, u == null ? void 0 : u.flexGrow) : this.consumePeeked("shrink") ? s = Cr("Shrink", this.rest, u == null ? void 0 : u.flexShrink) : s = cl(this.rest, u == null ? void 0 : u.flex), s) || this.consumePeeked("grow") && (s = Cr("Grow", this.rest, u == null ? void 0 : u.flexGrow), s) || this.consumePeeked("shrink") && (s = Cr("Shrink", this.rest, u == null ? void 0 : u.flexShrink), s) || this.consumePeeked("shadow-color-opacity-") && (s = Er("shadow", this.rest), s) || this.consumePeeked("shadow-opacity-") && (s = hl(this.rest), s) || this.consumePeeked("shadow-offset-") && (s = ml(this.rest), s) || this.consumePeeked("shadow-radius-") && (s = Ae("shadowRadius", this.rest), s) || this.consumePeeked("shadow-") && (s = ct("shadow", this.rest, u == null ? void 0 : u.colors), s))
16908
+ if (this.consumePeeked("h-") && (s = Po("height", this.rest, this.context, u == null ? void 0 : u.height), s) || this.consumePeeked("w-") && (s = Po("width", this.rest, this.context, u == null ? void 0 : u.width), s) || this.consumePeeked("min-w-") && (s = Er("minWidth", this.rest, this.context, u == null ? void 0 : u.minWidth), s) || this.consumePeeked("min-h-") && (s = Er("minHeight", this.rest, this.context, u == null ? void 0 : u.minHeight), s) || this.consumePeeked("max-w-") && (s = Er("maxWidth", this.rest, this.context, u == null ? void 0 : u.maxWidth), s) || this.consumePeeked("max-h-") && (s = Er("maxHeight", this.rest, this.context, u == null ? void 0 : u.maxHeight), s) || this.consumePeeked("leading-") && (s = ko(this.rest, u == null ? void 0 : u.lineHeight), s) || this.consumePeeked("text-") && (s = So(this.rest, u == null ? void 0 : u.fontSize, this.context), s || (s = ct("text", this.rest, u == null ? void 0 : u.textColor), s) || this.consumePeeked("opacity-") && (s = Fr("text", this.rest), s)) || this.consumePeeked("font-") && (s = Oo(this.rest, u == null ? void 0 : u.fontFamily), s) || this.consumePeeked("aspect-") && (this.consumePeeked("ratio-") && Fe("`aspect-ratio-{ratio}` is deprecated, use `aspect-{ratio}` instead"), s = Ge("aspectRatio", this.rest, { fractions: true }), s) || this.consumePeeked("tint-") && (s = ct("tint", this.rest, u == null ? void 0 : u.colors), s) || this.consumePeeked("bg-") && (s = ct("bg", this.rest, u == null ? void 0 : u.backgroundColor), s || this.consumePeeked("opacity-") && (s = Fr("bg", this.rest), s)) || this.consumePeeked("border") && (s = al(this.rest, u), s || this.consumePeeked("-opacity-") && (s = Fr("border", this.rest), s)) || this.consumePeeked("rounded") && (s = ll(this.rest, u == null ? void 0 : u.borderRadius), s) || this.consumePeeked("bottom-") && (s = Ct("bottom", this.rest, this.isNegative, u == null ? void 0 : u.inset), s) || this.consumePeeked("top-") && (s = Ct("top", this.rest, this.isNegative, u == null ? void 0 : u.inset), s) || this.consumePeeked("left-") && (s = Ct("left", this.rest, this.isNegative, u == null ? void 0 : u.inset), s) || this.consumePeeked("right-") && (s = Ct("right", this.rest, this.isNegative, u == null ? void 0 : u.inset), s) || this.consumePeeked("inset-") && (s = Ct("inset", this.rest, this.isNegative, u == null ? void 0 : u.inset), s) || this.consumePeeked("flex-") && (this.consumePeeked("grow") ? s = wr("Grow", this.rest, u == null ? void 0 : u.flexGrow) : this.consumePeeked("shrink") ? s = wr("Shrink", this.rest, u == null ? void 0 : u.flexShrink) : s = cl(this.rest, u == null ? void 0 : u.flex), s) || this.consumePeeked("grow") && (s = wr("Grow", this.rest, u == null ? void 0 : u.flexGrow), s) || this.consumePeeked("shrink") && (s = wr("Shrink", this.rest, u == null ? void 0 : u.flexShrink), s) || this.consumePeeked("shadow-color-opacity-") && (s = Fr("shadow", this.rest), s) || this.consumePeeked("shadow-opacity-") && (s = hl(this.rest), s) || this.consumePeeked("shadow-offset-") && (s = ml(this.rest), s) || this.consumePeeked("shadow-radius-") && (s = Ae("shadowRadius", this.rest), s) || this.consumePeeked("shadow-") && (s = ct("shadow", this.rest, u == null ? void 0 : u.colors), s))
16908
16909
  return s;
16909
16910
  if (this.consumePeeked("elevation-")) {
16910
16911
  let a = parseInt(this.rest, 10);
@@ -16929,7 +16930,7 @@ var _t = class {
16929
16930
  return false;
16930
16931
  if (!(!((n = this.context.device) === null || n === void 0) && n.windowDimensions))
16931
16932
  return this.isNull = true, true;
16932
- let i = this.context.device.windowDimensions, [, o = "", u = "", s = ""] = r, a = u === "w" ? i.width : i.height, l = fe(s, this.context);
16933
+ let i = this.context.device.windowDimensions, [, o = "", u = "", s = ""] = r, a = u === "w" ? i.width : i.height, l = ce(s, this.context);
16933
16934
  if (l === null)
16934
16935
  return this.isNull = true, true;
16935
16936
  let [f, c] = l;
@@ -16997,7 +16998,7 @@ function vl(e, t) {
16997
16998
  let d = l[a];
16998
16999
  if (d)
16999
17000
  return d;
17000
- let m = new wr(u);
17001
+ let m = new xr(u);
17001
17002
  return l[a] = m, m;
17002
17003
  }
17003
17004
  function c(...d) {
@@ -17094,12 +17095,12 @@ async function xl(e, t) {
17094
17095
  throw new Error("Satori is not initialized: expect `yoga` to be loaded, got " + n);
17095
17096
  t.fonts = t.fonts || [];
17096
17097
  let r;
17097
- Lo.has(t.fonts) ? r = Lo.get(t.fonts) : Lo.set(t.fonts, r = new jt(t.fonts));
17098
+ Lo.has(t.fonts) ? r = Lo.get(t.fonts) : Lo.set(t.fonts, r = new zt(t.fonts));
17098
17099
  let i = "width" in t ? t.width : void 0, o = "height" in t ? t.height : void 0, u = n.Node.create();
17099
17100
  i && u.setWidth(i), o && u.setHeight(o), u.setFlexDirection(n.FLEX_DIRECTION_ROW), u.setFlexWrap(n.WRAP_WRAP), u.setAlignContent(n.ALIGN_AUTO), u.setAlignItems(n.ALIGN_FLEX_START), u.setJustifyContent(n.JUSTIFY_FLEX_START), u.setOverflow(n.OVERFLOW_HIDDEN);
17100
17101
  let s = { ...t.graphemeImages }, a = /* @__PURE__ */ new Set();
17101
17102
  Re.clear(), await cu(e);
17102
- let l = Gt(e, { id: "id", parentStyle: {}, inheritedStyle: { fontSize: 16, fontWeight: "normal", fontFamily: "serif", fontStyle: "normal", lineHeight: 1.2, color: "black", opacity: 1, whiteSpace: "normal", _viewportWidth: i, _viewportHeight: o }, parent: u, font: r, embedFont: t.embedFont, debug: t.debug, graphemeImages: s, canLoadAdditionalAssets: !!t.loadAdditionalAsset, onNodeDetected: t.onNodeDetected, getTwStyles: (d, m) => {
17103
+ let l = Ut(e, { id: "id", parentStyle: {}, inheritedStyle: { fontSize: 16, fontWeight: "normal", fontFamily: "serif", fontStyle: "normal", lineHeight: 1.2, color: "black", opacity: 1, whiteSpace: "normal", _viewportWidth: i, _viewportHeight: o }, parent: u, font: r, embedFont: t.embedFont, debug: t.debug, graphemeImages: s, canLoadAdditionalAssets: !!t.loadAdditionalAsset, onNodeDetected: t.onNodeDetected, getTwStyles: (d, m) => {
17103
17104
  let g = { ...Ro({ width: i, height: o, config: t.tailwindConfig })([d]) };
17104
17105
  return typeof g.lineHeight == "number" && (g.lineHeight = g.lineHeight / (+g.fontSize || m.fontSize || 16)), g.shadowColor && g.boxShadow && (g.boxShadow = g.boxShadow.replace(/rgba?\([^)]+\)/, g.shadowColor)), g;
17105
17106
  } }), f = (await l.next()).value;
@@ -17307,7 +17308,7 @@ var yoga = (() => {
17307
17308
  var t2 = (n2 = n2.replace(/[^a-zA-Z0-9_]/g, "$")).charCodeAt(0);
17308
17309
  return 48 <= t2 && 57 >= t2 ? "_" + n2 : n2;
17309
17310
  }
17310
- function U2(n2, t2) {
17311
+ function U(n2, t2) {
17311
17312
  return n2 = W(n2), function() {
17312
17313
  return t2.apply(this, arguments);
17313
17314
  };
@@ -17315,7 +17316,7 @@ var yoga = (() => {
17315
17316
  r = "yoga.wasm", S() || (r = i + r);
17316
17317
  var M = [{}, { value: void 0 }, { value: null }, { value: true }, { value: false }], F = [];
17317
17318
  function D2(n2) {
17318
- var t2 = Error, r2 = U2(n2, function(t3) {
17319
+ var t2 = Error, r2 = U(n2, function(t3) {
17319
17320
  this.name = n2, this.message = t3, (t3 = Error(t3).stack) !== void 0 && (this.stack = this.toString() + "\n" + t3.replace(/^Error(:[^\n]*)?\n/, ""));
17320
17321
  });
17321
17322
  return r2.prototype = Object.create(t2.prototype), r2.prototype.constructor = r2, r2.prototype.toString = function() {
@@ -17326,7 +17327,7 @@ var yoga = (() => {
17326
17327
  function V(n2) {
17327
17328
  throw new k(n2);
17328
17329
  }
17329
- var j = (n2) => (n2 || V("Cannot use deleted val. handle = " + n2), M[n2].value), G2 = (n2) => {
17330
+ var j = (n2) => (n2 || V("Cannot use deleted val. handle = " + n2), M[n2].value), G = (n2) => {
17330
17331
  switch (n2) {
17331
17332
  case void 0:
17332
17333
  return 1;
@@ -17353,20 +17354,20 @@ var yoga = (() => {
17353
17354
  n2.L.Z = false, n2.delete();
17354
17355
  }
17355
17356
  }
17356
- var z = void 0, $ = {};
17357
+ var z2 = void 0, $ = {};
17357
17358
  function Z(n2, t2) {
17358
17359
  for (t2 === void 0 && V("ptr should not be undefined"); n2.P; )
17359
17360
  t2 = n2.aa(t2), n2 = n2.P;
17360
17361
  return t2;
17361
17362
  }
17362
17363
  var J = {};
17363
- function q(n2) {
17364
+ function q2(n2) {
17364
17365
  var t2 = B(n2 = nz(n2));
17365
17366
  return nZ(n2), t2;
17366
17367
  }
17367
17368
  function K(n2, t2) {
17368
17369
  var r2 = J[n2];
17369
- return r2 === void 0 && V(t2 + " has unknown type " + q(n2)), r2;
17370
+ return r2 === void 0 && V(t2 + " has unknown type " + q2(n2)), r2;
17370
17371
  }
17371
17372
  function Q() {
17372
17373
  }
@@ -17488,7 +17489,7 @@ var yoga = (() => {
17488
17489
  r2 = t2.L.S;
17489
17490
  else {
17490
17491
  var e2 = t2.clone();
17491
- r2 = this.wa(r2, G2(function() {
17492
+ r2 = this.wa(r2, G(function() {
17492
17493
  e2.delete();
17493
17494
  })), n2 !== null && n2.push(this.V, r2);
17494
17495
  }
@@ -17525,7 +17526,7 @@ var yoga = (() => {
17525
17526
  var r2 = [], e2 = {};
17526
17527
  throw t2.forEach(function n3(t3) {
17527
17528
  e2[t3] || J[t3] || (nl2[t3] ? nl2[t3].forEach(n3) : (r2.push(t3), e2[t3] = true));
17528
- }), new nN(n2 + ": " + r2.map(q).join([", "]));
17529
+ }), new nN(n2 + ": " + r2.map(q2).join([", "]));
17529
17530
  }
17530
17531
  function nw(n2, t2, r2, e2, a2) {
17531
17532
  var i2 = t2.length;
@@ -17644,7 +17645,7 @@ var yoga = (() => {
17644
17645
  $.hasOwnProperty(n2) && t2.push($[n2]);
17645
17646
  return t2;
17646
17647
  }, u.flushPendingDeletes = x, u.setDelayFunction = function(n2) {
17647
- z = n2, H.length && z && z(x);
17648
+ z2 = n2, H.length && z2 && z2(x);
17648
17649
  }, ne = u.InternalError = D2("InternalError"), ny.prototype.isAliasOf = function(n2) {
17649
17650
  if (!(this instanceof ny && n2 instanceof ny))
17650
17651
  return false;
@@ -17664,7 +17665,7 @@ var yoga = (() => {
17664
17665
  }, ny.prototype.isDeleted = function() {
17665
17666
  return !this.L.N;
17666
17667
  }, ny.prototype.deleteLater = function() {
17667
- return this.L.N || nd(this), this.L.Z && !this.L.$ && V("Object already scheduled for deletion"), H.push(this), H.length === 1 && z && z(x), this.L.Z = true, this;
17668
+ return this.L.N || nd(this), this.L.Z && !this.L.$ && V("Object already scheduled for deletion"), H.push(this), H.length === 1 && z2 && z2(x), this.L.Z = true, this;
17668
17669
  }, nA.prototype.pa = function(n2) {
17669
17670
  return this.ja && (n2 = this.ja(n2)), n2;
17670
17671
  }, nA.prototype.ga = function(n2) {
@@ -17692,7 +17693,7 @@ var yoga = (() => {
17692
17693
  var nx = { q: function(n2, t2, r2) {
17693
17694
  n2 = B(n2), t2 = K(t2, "wrapper"), r2 = j(r2);
17694
17695
  var e2 = [].slice, a2 = t2.M, i2 = a2.W, o2 = a2.P.W, s2 = a2.P.constructor;
17695
- for (var u2 in n2 = U2(n2, function() {
17696
+ for (var u2 in n2 = U(n2, function() {
17696
17697
  a2.P.ia.forEach(function(n3) {
17697
17698
  if (this[n3] === o2[n3])
17698
17699
  throw new Y("Pure virtual function " + n3 + " must be implemented in JavaScript");
@@ -17709,7 +17710,7 @@ var yoga = (() => {
17709
17710
  n3 = Z(a2, n3), $.hasOwnProperty(n3) ? delete $[n3] : V("Tried to unregister unregistered instance: " + n3);
17710
17711
  }, n2.prototype = Object.create(i2), r2)
17711
17712
  n2.prototype[u2] = r2[u2];
17712
- return G2(n2);
17713
+ return G(n2);
17713
17714
  }, l: function(n2) {
17714
17715
  var t2 = ns[n2];
17715
17716
  delete ns[n2];
@@ -17765,7 +17766,7 @@ var yoga = (() => {
17765
17766
  var r3, a3 = t3.M, o3 = a3.W;
17766
17767
  else
17767
17768
  o3 = ny.prototype;
17768
- t3 = U2(d2, function() {
17769
+ t3 = U(d2, function() {
17769
17770
  if (Object.getPrototypeOf(this) !== c3)
17770
17771
  throw new k("Use 'new' to construct " + l2);
17771
17772
  if (h3.X === void 0)
@@ -17826,7 +17827,7 @@ var yoga = (() => {
17826
17827
  var t3 = j(n3);
17827
17828
  return nR(n3), t3;
17828
17829
  }, toWireType: function(n3, t3) {
17829
- return G2(t3);
17830
+ return G(t3);
17830
17831
  }, argPackAdvance: 8, readValueFromPointer: nc, U: null });
17831
17832
  }, n: function(n2, t2, r2) {
17832
17833
  r2 = np(r2), nv(n2, { name: t2 = B(t2), fromWireType: function(n3) {
@@ -17993,7 +17994,7 @@ var yoga = (() => {
17993
17994
  }, t: function(n2, t2, r2, e2, a2) {
17994
17995
  n2 = nG[n2], t2 = j(t2), r2 = nj(r2);
17995
17996
  var i2 = [];
17996
- return _[e2 >> 2] = G2(i2), n2(t2, r2, i2, a2);
17997
+ return _[e2 >> 2] = G(i2), n2(t2, r2, i2, a2);
17997
17998
  }, j: function(n2, t2, r2, e2) {
17998
17999
  n2 = nG[n2], n2(t2 = j(t2), r2 = nj(r2), null, e2);
17999
18000
  }, f: nR, g: function(n2, t2) {