@vercel/og 0.6.4 → 0.6.6

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.12.0/node_modules/satori/dist/index.wasm.js
3617
+ // node_modules/.pnpm/satori@0.12.1/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.12.0/node_modules/satori/dist/index.wasm.js
3754
+ // node_modules/.pnpm/satori@0.12.1/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);
@@ -3818,7 +3818,7 @@ function S(e) {
3818
3818
  return /(circle|ellipse|at)/.test(e) ? false : /^(rgba?|hwb|hsl|lab|lch|oklab|color|#|[a-zA-Z]+)/.test(e);
3819
3819
  }
3820
3820
 
3821
- // node_modules/.pnpm/satori@0.12.0/node_modules/satori/dist/index.wasm.js
3821
+ // node_modules/.pnpm/satori@0.12.1/node_modules/satori/dist/index.wasm.js
3822
3822
  var import_css_to_react_native3 = __toESM(require_css_to_react_native(), 1);
3823
3823
 
3824
3824
  // node_modules/.pnpm/@shuding+opentype.js@1.4.0-beta.0/node_modules/@shuding/opentype.js/dist/opentype.module.js
@@ -11953,33 +11953,33 @@ var opentype = /* @__PURE__ */ Object.freeze({
11953
11953
  });
11954
11954
  var opentype_module_default = opentype;
11955
11955
 
11956
- // node_modules/.pnpm/satori@0.12.0/node_modules/satori/dist/index.wasm.js
11956
+ // node_modules/.pnpm/satori@0.12.1/node_modules/satori/dist/index.wasm.js
11957
11957
  var Tl = Object.create;
11958
- var Pr = Object.defineProperty;
11958
+ var Br = Object.defineProperty;
11959
11959
  var Al = Object.getOwnPropertyDescriptor;
11960
11960
  var Ol = Object.getOwnPropertyNames;
11961
11961
  var Pl = Object.getPrototypeOf;
11962
11962
  var Bl = Object.prototype.hasOwnProperty;
11963
- var yn = (e, t) => () => (e && (t = e(e = 0)), t);
11963
+ var xn = (e, t) => () => (e && (t = e(e = 0)), t);
11964
11964
  var k = (e, t) => () => (t || e((t = { exports: {} }).exports, t), t.exports);
11965
- var xn = (e, t) => {
11965
+ var Fn = (e, t) => {
11966
11966
  for (var n in t)
11967
- Pr(e, n, { get: t[n], enumerable: true });
11967
+ Br(e, n, { get: t[n], enumerable: true });
11968
11968
  };
11969
11969
  var Go = (e, t, n, r) => {
11970
11970
  if (t && typeof t == "object" || typeof t == "function")
11971
11971
  for (let i of Ol(t))
11972
- !Bl.call(e, i) && i !== n && Pr(e, i, { get: () => t[i], enumerable: !(r = Al(t, i)) || r.enumerable });
11972
+ !Bl.call(e, i) && i !== n && Br(e, i, { get: () => t[i], enumerable: !(r = Al(t, i)) || r.enumerable });
11973
11973
  return e;
11974
11974
  };
11975
- var Il = (e, t, n) => (n = e != null ? Tl(Pl(e)) : {}, Go(t || !e || !e.__esModule ? Pr(n, "default", { value: e, enumerable: true }) : n, e));
11976
- var Br = (e) => Go(Pr({}, "__esModule", { value: true }), e);
11975
+ var Il = (e, t, n) => (n = e != null ? Tl(Pl(e)) : {}, Go(t || !e || !e.__esModule ? Br(n, "default", { value: e, enumerable: true }) : n, e));
11976
+ var Ir = (e) => Go(Br({}, "__esModule", { value: true }), e);
11977
11977
  var jo = {};
11978
- xn(jo, { getYogaModule: () => Rl });
11978
+ Fn(jo, { getYogaModule: () => Rl });
11979
11979
  async function Rl() {
11980
11980
  return {};
11981
11981
  }
11982
- var Ho = yn(() => {
11982
+ var Ho = xn(() => {
11983
11983
  });
11984
11984
  var Xn = k((Yn) => {
11985
11985
  "use strict";
@@ -12011,10 +12011,10 @@ var Gu = k((Kn) => {
12011
12011
  var Jn = k((Sb, ju) => {
12012
12012
  ju.exports = { content: [], presets: [], darkMode: "media", theme: { screens: { sm: "640px", md: "768px", lg: "1024px", xl: "1280px", "2xl": "1536px" }, colors: ({ colors: e }) => ({ inherit: e.inherit, current: e.current, transparent: e.transparent, black: e.black, white: e.white, slate: e.slate, gray: e.gray, zinc: e.zinc, neutral: e.neutral, stone: e.stone, red: e.red, orange: e.orange, amber: e.amber, yellow: e.yellow, lime: e.lime, green: e.green, emerald: e.emerald, teal: e.teal, cyan: e.cyan, sky: e.sky, blue: e.blue, indigo: e.indigo, violet: e.violet, purple: e.purple, fuchsia: e.fuchsia, pink: e.pink, rose: e.rose }), columns: { auto: "auto", 1: "1", 2: "2", 3: "3", 4: "4", 5: "5", 6: "6", 7: "7", 8: "8", 9: "9", 10: "10", 11: "11", 12: "12", "3xs": "16rem", "2xs": "18rem", xs: "20rem", sm: "24rem", md: "28rem", lg: "32rem", xl: "36rem", "2xl": "42rem", "3xl": "48rem", "4xl": "56rem", "5xl": "64rem", "6xl": "72rem", "7xl": "80rem" }, spacing: { px: "1px", 0: "0px", 0.5: "0.125rem", 1: "0.25rem", 1.5: "0.375rem", 2: "0.5rem", 2.5: "0.625rem", 3: "0.75rem", 3.5: "0.875rem", 4: "1rem", 5: "1.25rem", 6: "1.5rem", 7: "1.75rem", 8: "2rem", 9: "2.25rem", 10: "2.5rem", 11: "2.75rem", 12: "3rem", 14: "3.5rem", 16: "4rem", 20: "5rem", 24: "6rem", 28: "7rem", 32: "8rem", 36: "9rem", 40: "10rem", 44: "11rem", 48: "12rem", 52: "13rem", 56: "14rem", 60: "15rem", 64: "16rem", 72: "18rem", 80: "20rem", 96: "24rem" }, animation: { none: "none", spin: "spin 1s linear infinite", ping: "ping 1s cubic-bezier(0, 0, 0.2, 1) infinite", pulse: "pulse 2s cubic-bezier(0.4, 0, 0.6, 1) infinite", bounce: "bounce 1s infinite" }, aspectRatio: { auto: "auto", square: "1 / 1", video: "16 / 9" }, backdropBlur: ({ theme: e }) => e("blur"), backdropBrightness: ({ theme: e }) => e("brightness"), backdropContrast: ({ theme: e }) => e("contrast"), backdropGrayscale: ({ theme: e }) => e("grayscale"), backdropHueRotate: ({ theme: e }) => e("hueRotate"), backdropInvert: ({ theme: e }) => e("invert"), backdropOpacity: ({ theme: e }) => e("opacity"), backdropSaturate: ({ theme: e }) => e("saturate"), backdropSepia: ({ theme: e }) => e("sepia"), backgroundColor: ({ theme: e }) => e("colors"), backgroundImage: { none: "none", "gradient-to-t": "linear-gradient(to top, var(--tw-gradient-stops))", "gradient-to-tr": "linear-gradient(to top right, var(--tw-gradient-stops))", "gradient-to-r": "linear-gradient(to right, var(--tw-gradient-stops))", "gradient-to-br": "linear-gradient(to bottom right, var(--tw-gradient-stops))", "gradient-to-b": "linear-gradient(to bottom, var(--tw-gradient-stops))", "gradient-to-bl": "linear-gradient(to bottom left, var(--tw-gradient-stops))", "gradient-to-l": "linear-gradient(to left, var(--tw-gradient-stops))", "gradient-to-tl": "linear-gradient(to top left, var(--tw-gradient-stops))" }, backgroundOpacity: ({ theme: e }) => e("opacity"), backgroundPosition: { bottom: "bottom", center: "center", left: "left", "left-bottom": "left bottom", "left-top": "left top", right: "right", "right-bottom": "right bottom", "right-top": "right top", top: "top" }, backgroundSize: { auto: "auto", cover: "cover", contain: "contain" }, blur: { 0: "0", none: "0", sm: "4px", DEFAULT: "8px", md: "12px", lg: "16px", xl: "24px", "2xl": "40px", "3xl": "64px" }, brightness: { 0: "0", 50: ".5", 75: ".75", 90: ".9", 95: ".95", 100: "1", 105: "1.05", 110: "1.1", 125: "1.25", 150: "1.5", 200: "2" }, borderColor: ({ theme: e }) => ({ ...e("colors"), DEFAULT: e("colors.gray.200", "currentColor") }), borderOpacity: ({ theme: e }) => e("opacity"), borderRadius: { none: "0px", sm: "0.125rem", DEFAULT: "0.25rem", md: "0.375rem", lg: "0.5rem", xl: "0.75rem", "2xl": "1rem", "3xl": "1.5rem", full: "9999px" }, borderSpacing: ({ theme: e }) => ({ ...e("spacing") }), borderWidth: { DEFAULT: "1px", 0: "0px", 2: "2px", 4: "4px", 8: "8px" }, boxShadow: { sm: "0 1px 2px 0 rgb(0 0 0 / 0.05)", DEFAULT: "0 1px 3px 0 rgb(0 0 0 / 0.1), 0 1px 2px -1px rgb(0 0 0 / 0.1)", md: "0 4px 6px -1px rgb(0 0 0 / 0.1), 0 2px 4px -2px rgb(0 0 0 / 0.1)", lg: "0 10px 15px -3px rgb(0 0 0 / 0.1), 0 4px 6px -4px rgb(0 0 0 / 0.1)", xl: "0 20px 25px -5px rgb(0 0 0 / 0.1), 0 8px 10px -6px rgb(0 0 0 / 0.1)", "2xl": "0 25px 50px -12px rgb(0 0 0 / 0.25)", inner: "inset 0 2px 4px 0 rgb(0 0 0 / 0.05)", none: "none" }, boxShadowColor: ({ theme: e }) => e("colors"), caretColor: ({ theme: e }) => e("colors"), accentColor: ({ theme: e }) => ({ ...e("colors"), auto: "auto" }), contrast: { 0: "0", 50: ".5", 75: ".75", 100: "1", 125: "1.25", 150: "1.5", 200: "2" }, container: {}, content: { none: "none" }, cursor: { auto: "auto", default: "default", pointer: "pointer", wait: "wait", text: "text", move: "move", help: "help", "not-allowed": "not-allowed", none: "none", "context-menu": "context-menu", progress: "progress", cell: "cell", crosshair: "crosshair", "vertical-text": "vertical-text", alias: "alias", copy: "copy", "no-drop": "no-drop", grab: "grab", grabbing: "grabbing", "all-scroll": "all-scroll", "col-resize": "col-resize", "row-resize": "row-resize", "n-resize": "n-resize", "e-resize": "e-resize", "s-resize": "s-resize", "w-resize": "w-resize", "ne-resize": "ne-resize", "nw-resize": "nw-resize", "se-resize": "se-resize", "sw-resize": "sw-resize", "ew-resize": "ew-resize", "ns-resize": "ns-resize", "nesw-resize": "nesw-resize", "nwse-resize": "nwse-resize", "zoom-in": "zoom-in", "zoom-out": "zoom-out" }, divideColor: ({ theme: e }) => e("borderColor"), divideOpacity: ({ theme: e }) => e("borderOpacity"), divideWidth: ({ theme: e }) => e("borderWidth"), dropShadow: { sm: "0 1px 1px rgb(0 0 0 / 0.05)", DEFAULT: ["0 1px 2px rgb(0 0 0 / 0.1)", "0 1px 1px rgb(0 0 0 / 0.06)"], md: ["0 4px 3px rgb(0 0 0 / 0.07)", "0 2px 2px rgb(0 0 0 / 0.06)"], lg: ["0 10px 8px rgb(0 0 0 / 0.04)", "0 4px 3px rgb(0 0 0 / 0.1)"], xl: ["0 20px 13px rgb(0 0 0 / 0.03)", "0 8px 5px rgb(0 0 0 / 0.08)"], "2xl": "0 25px 25px rgb(0 0 0 / 0.15)", none: "0 0 #0000" }, fill: ({ theme: e }) => e("colors"), grayscale: { 0: "0", DEFAULT: "100%" }, hueRotate: { 0: "0deg", 15: "15deg", 30: "30deg", 60: "60deg", 90: "90deg", 180: "180deg" }, invert: { 0: "0", DEFAULT: "100%" }, flex: { 1: "1 1 0%", auto: "1 1 auto", initial: "0 1 auto", none: "none" }, flexBasis: ({ theme: e }) => ({ auto: "auto", ...e("spacing"), "1/2": "50%", "1/3": "33.333333%", "2/3": "66.666667%", "1/4": "25%", "2/4": "50%", "3/4": "75%", "1/5": "20%", "2/5": "40%", "3/5": "60%", "4/5": "80%", "1/6": "16.666667%", "2/6": "33.333333%", "3/6": "50%", "4/6": "66.666667%", "5/6": "83.333333%", "1/12": "8.333333%", "2/12": "16.666667%", "3/12": "25%", "4/12": "33.333333%", "5/12": "41.666667%", "6/12": "50%", "7/12": "58.333333%", "8/12": "66.666667%", "9/12": "75%", "10/12": "83.333333%", "11/12": "91.666667%", full: "100%" }), flexGrow: { 0: "0", DEFAULT: "1" }, flexShrink: { 0: "0", DEFAULT: "1" }, fontFamily: { sans: ["ui-sans-serif", "system-ui", "-apple-system", "BlinkMacSystemFont", '"Segoe UI"', "Roboto", '"Helvetica Neue"', "Arial", '"Noto Sans"', "sans-serif", '"Apple Color Emoji"', '"Segoe UI Emoji"', '"Segoe UI Symbol"', '"Noto Color Emoji"'], serif: ["ui-serif", "Georgia", "Cambria", '"Times New Roman"', "Times", "serif"], mono: ["ui-monospace", "SFMono-Regular", "Menlo", "Monaco", "Consolas", '"Liberation Mono"', '"Courier New"', "monospace"] }, fontSize: { xs: ["0.75rem", { lineHeight: "1rem" }], sm: ["0.875rem", { lineHeight: "1.25rem" }], base: ["1rem", { lineHeight: "1.5rem" }], lg: ["1.125rem", { lineHeight: "1.75rem" }], xl: ["1.25rem", { lineHeight: "1.75rem" }], "2xl": ["1.5rem", { lineHeight: "2rem" }], "3xl": ["1.875rem", { lineHeight: "2.25rem" }], "4xl": ["2.25rem", { lineHeight: "2.5rem" }], "5xl": ["3rem", { lineHeight: "1" }], "6xl": ["3.75rem", { lineHeight: "1" }], "7xl": ["4.5rem", { lineHeight: "1" }], "8xl": ["6rem", { lineHeight: "1" }], "9xl": ["8rem", { lineHeight: "1" }] }, fontWeight: { thin: "100", extralight: "200", light: "300", normal: "400", medium: "500", semibold: "600", bold: "700", extrabold: "800", black: "900" }, gap: ({ theme: e }) => e("spacing"), gradientColorStops: ({ theme: e }) => e("colors"), gridAutoColumns: { auto: "auto", min: "min-content", max: "max-content", fr: "minmax(0, 1fr)" }, gridAutoRows: { auto: "auto", min: "min-content", max: "max-content", fr: "minmax(0, 1fr)" }, gridColumn: { auto: "auto", "span-1": "span 1 / span 1", "span-2": "span 2 / span 2", "span-3": "span 3 / span 3", "span-4": "span 4 / span 4", "span-5": "span 5 / span 5", "span-6": "span 6 / span 6", "span-7": "span 7 / span 7", "span-8": "span 8 / span 8", "span-9": "span 9 / span 9", "span-10": "span 10 / span 10", "span-11": "span 11 / span 11", "span-12": "span 12 / span 12", "span-full": "1 / -1" }, gridColumnEnd: { auto: "auto", 1: "1", 2: "2", 3: "3", 4: "4", 5: "5", 6: "6", 7: "7", 8: "8", 9: "9", 10: "10", 11: "11", 12: "12", 13: "13" }, gridColumnStart: { auto: "auto", 1: "1", 2: "2", 3: "3", 4: "4", 5: "5", 6: "6", 7: "7", 8: "8", 9: "9", 10: "10", 11: "11", 12: "12", 13: "13" }, gridRow: { auto: "auto", "span-1": "span 1 / span 1", "span-2": "span 2 / span 2", "span-3": "span 3 / span 3", "span-4": "span 4 / span 4", "span-5": "span 5 / span 5", "span-6": "span 6 / span 6", "span-full": "1 / -1" }, gridRowStart: { auto: "auto", 1: "1", 2: "2", 3: "3", 4: "4", 5: "5", 6: "6", 7: "7" }, gridRowEnd: { auto: "auto", 1: "1", 2: "2", 3: "3", 4: "4", 5: "5", 6: "6", 7: "7" }, gridTemplateColumns: { none: "none", 1: "repeat(1, minmax(0, 1fr))", 2: "repeat(2, minmax(0, 1fr))", 3: "repeat(3, minmax(0, 1fr))", 4: "repeat(4, minmax(0, 1fr))", 5: "repeat(5, minmax(0, 1fr))", 6: "repeat(6, minmax(0, 1fr))", 7: "repeat(7, minmax(0, 1fr))", 8: "repeat(8, minmax(0, 1fr))", 9: "repeat(9, minmax(0, 1fr))", 10: "repeat(10, minmax(0, 1fr))", 11: "repeat(11, minmax(0, 1fr))", 12: "repeat(12, minmax(0, 1fr))" }, gridTemplateRows: { none: "none", 1: "repeat(1, minmax(0, 1fr))", 2: "repeat(2, minmax(0, 1fr))", 3: "repeat(3, minmax(0, 1fr))", 4: "repeat(4, minmax(0, 1fr))", 5: "repeat(5, minmax(0, 1fr))", 6: "repeat(6, minmax(0, 1fr))" }, height: ({ theme: e }) => ({ auto: "auto", ...e("spacing"), "1/2": "50%", "1/3": "33.333333%", "2/3": "66.666667%", "1/4": "25%", "2/4": "50%", "3/4": "75%", "1/5": "20%", "2/5": "40%", "3/5": "60%", "4/5": "80%", "1/6": "16.666667%", "2/6": "33.333333%", "3/6": "50%", "4/6": "66.666667%", "5/6": "83.333333%", full: "100%", screen: "100vh", min: "min-content", max: "max-content", fit: "fit-content" }), inset: ({ theme: e }) => ({ auto: "auto", ...e("spacing"), "1/2": "50%", "1/3": "33.333333%", "2/3": "66.666667%", "1/4": "25%", "2/4": "50%", "3/4": "75%", full: "100%" }), keyframes: { spin: { to: { transform: "rotate(360deg)" } }, ping: { "75%, 100%": { transform: "scale(2)", opacity: "0" } }, pulse: { "50%": { opacity: ".5" } }, bounce: { "0%, 100%": { transform: "translateY(-25%)", animationTimingFunction: "cubic-bezier(0.8,0,1,1)" }, "50%": { transform: "none", animationTimingFunction: "cubic-bezier(0,0,0.2,1)" } } }, letterSpacing: { tighter: "-0.05em", tight: "-0.025em", normal: "0em", wide: "0.025em", wider: "0.05em", widest: "0.1em" }, lineHeight: { none: "1", tight: "1.25", snug: "1.375", normal: "1.5", relaxed: "1.625", loose: "2", 3: ".75rem", 4: "1rem", 5: "1.25rem", 6: "1.5rem", 7: "1.75rem", 8: "2rem", 9: "2.25rem", 10: "2.5rem" }, listStyleType: { none: "none", disc: "disc", decimal: "decimal" }, margin: ({ theme: e }) => ({ auto: "auto", ...e("spacing") }), maxHeight: ({ theme: e }) => ({ ...e("spacing"), full: "100%", screen: "100vh", min: "min-content", max: "max-content", fit: "fit-content" }), maxWidth: ({ theme: e, breakpoints: t }) => ({ none: "none", 0: "0rem", xs: "20rem", sm: "24rem", md: "28rem", lg: "32rem", xl: "36rem", "2xl": "42rem", "3xl": "48rem", "4xl": "56rem", "5xl": "64rem", "6xl": "72rem", "7xl": "80rem", full: "100%", min: "min-content", max: "max-content", fit: "fit-content", prose: "65ch", ...t(e("screens")) }), minHeight: { 0: "0px", full: "100%", screen: "100vh", min: "min-content", max: "max-content", fit: "fit-content" }, minWidth: { 0: "0px", full: "100%", min: "min-content", max: "max-content", fit: "fit-content" }, objectPosition: { bottom: "bottom", center: "center", left: "left", "left-bottom": "left bottom", "left-top": "left top", right: "right", "right-bottom": "right bottom", "right-top": "right top", top: "top" }, opacity: { 0: "0", 5: "0.05", 10: "0.1", 20: "0.2", 25: "0.25", 30: "0.3", 40: "0.4", 50: "0.5", 60: "0.6", 70: "0.7", 75: "0.75", 80: "0.8", 90: "0.9", 95: "0.95", 100: "1" }, order: { first: "-9999", last: "9999", none: "0", 1: "1", 2: "2", 3: "3", 4: "4", 5: "5", 6: "6", 7: "7", 8: "8", 9: "9", 10: "10", 11: "11", 12: "12" }, padding: ({ theme: e }) => e("spacing"), placeholderColor: ({ theme: e }) => e("colors"), placeholderOpacity: ({ theme: e }) => e("opacity"), outlineColor: ({ theme: e }) => e("colors"), outlineOffset: { 0: "0px", 1: "1px", 2: "2px", 4: "4px", 8: "8px" }, outlineWidth: { 0: "0px", 1: "1px", 2: "2px", 4: "4px", 8: "8px" }, ringColor: ({ theme: e }) => ({ DEFAULT: e("colors.blue.500", "#3b82f6"), ...e("colors") }), ringOffsetColor: ({ theme: e }) => e("colors"), ringOffsetWidth: { 0: "0px", 1: "1px", 2: "2px", 4: "4px", 8: "8px" }, ringOpacity: ({ theme: e }) => ({ DEFAULT: "0.5", ...e("opacity") }), ringWidth: { DEFAULT: "3px", 0: "0px", 1: "1px", 2: "2px", 4: "4px", 8: "8px" }, rotate: { 0: "0deg", 1: "1deg", 2: "2deg", 3: "3deg", 6: "6deg", 12: "12deg", 45: "45deg", 90: "90deg", 180: "180deg" }, saturate: { 0: "0", 50: ".5", 100: "1", 150: "1.5", 200: "2" }, scale: { 0: "0", 50: ".5", 75: ".75", 90: ".9", 95: ".95", 100: "1", 105: "1.05", 110: "1.1", 125: "1.25", 150: "1.5" }, scrollMargin: ({ theme: e }) => ({ ...e("spacing") }), scrollPadding: ({ theme: e }) => e("spacing"), sepia: { 0: "0", DEFAULT: "100%" }, skew: { 0: "0deg", 1: "1deg", 2: "2deg", 3: "3deg", 6: "6deg", 12: "12deg" }, space: ({ theme: e }) => ({ ...e("spacing") }), stroke: ({ theme: e }) => e("colors"), strokeWidth: { 0: "0", 1: "1", 2: "2" }, textColor: ({ theme: e }) => e("colors"), textDecorationColor: ({ theme: e }) => e("colors"), textDecorationThickness: { auto: "auto", "from-font": "from-font", 0: "0px", 1: "1px", 2: "2px", 4: "4px", 8: "8px" }, textUnderlineOffset: { auto: "auto", 0: "0px", 1: "1px", 2: "2px", 4: "4px", 8: "8px" }, textIndent: ({ theme: e }) => ({ ...e("spacing") }), textOpacity: ({ theme: e }) => e("opacity"), transformOrigin: { center: "center", top: "top", "top-right": "top right", right: "right", "bottom-right": "bottom right", bottom: "bottom", "bottom-left": "bottom left", left: "left", "top-left": "top left" }, transitionDelay: { 75: "75ms", 100: "100ms", 150: "150ms", 200: "200ms", 300: "300ms", 500: "500ms", 700: "700ms", 1e3: "1000ms" }, transitionDuration: { DEFAULT: "150ms", 75: "75ms", 100: "100ms", 150: "150ms", 200: "200ms", 300: "300ms", 500: "500ms", 700: "700ms", 1e3: "1000ms" }, transitionProperty: { none: "none", all: "all", DEFAULT: "color, background-color, border-color, text-decoration-color, fill, stroke, opacity, box-shadow, transform, filter, backdrop-filter", colors: "color, background-color, border-color, text-decoration-color, fill, stroke", opacity: "opacity", shadow: "box-shadow", transform: "transform" }, transitionTimingFunction: { DEFAULT: "cubic-bezier(0.4, 0, 0.2, 1)", linear: "linear", in: "cubic-bezier(0.4, 0, 1, 1)", out: "cubic-bezier(0, 0, 0.2, 1)", "in-out": "cubic-bezier(0.4, 0, 0.2, 1)" }, translate: ({ theme: e }) => ({ ...e("spacing"), "1/2": "50%", "1/3": "33.333333%", "2/3": "66.666667%", "1/4": "25%", "2/4": "50%", "3/4": "75%", full: "100%" }), width: ({ theme: e }) => ({ auto: "auto", ...e("spacing"), "1/2": "50%", "1/3": "33.333333%", "2/3": "66.666667%", "1/4": "25%", "2/4": "50%", "3/4": "75%", "1/5": "20%", "2/5": "40%", "3/5": "60%", "4/5": "80%", "1/6": "16.666667%", "2/6": "33.333333%", "3/6": "50%", "4/6": "66.666667%", "5/6": "83.333333%", "1/12": "8.333333%", "2/12": "16.666667%", "3/12": "25%", "4/12": "33.333333%", "5/12": "41.666667%", "6/12": "50%", "7/12": "58.333333%", "8/12": "66.666667%", "9/12": "75%", "10/12": "83.333333%", "11/12": "91.666667%", full: "100%", screen: "100vw", min: "min-content", max: "max-content", fit: "fit-content" }), willChange: { auto: "auto", scroll: "scroll-position", contents: "contents", transform: "transform" }, zIndex: { auto: "auto", 0: "0", 10: "10", 20: "20", 30: "30", 40: "40", 50: "50" } }, variantOrder: ["first", "last", "odd", "even", "visited", "checked", "empty", "read-only", "group-hover", "group-focus", "focus-within", "hover", "focus", "focus-visible", "active", "disabled"], plugins: [] };
12013
12013
  });
12014
- var Qr = {};
12015
- xn(Qr, { default: () => Qf });
12014
+ var Kr = {};
12015
+ Fn(Kr, { default: () => Qf });
12016
12016
  var Qf;
12017
- var Kr = yn(() => {
12017
+ var Jr = xn(() => {
12018
12018
  Qf = { info(e, t) {
12019
12019
  console.info(...Array.isArray(e) ? [e] : [t, e]);
12020
12020
  }, warn(e, t) {
@@ -12027,23 +12027,23 @@ var Hu = k((Zn) => {
12027
12027
  "use strict";
12028
12028
  Object.defineProperty(Zn, "__esModule", { value: true });
12029
12029
  Object.defineProperty(Zn, "default", { enumerable: true, get: () => Zf });
12030
- var Kf = Jf((Kr(), Br(Qr)));
12030
+ var Kf = Jf((Jr(), Ir(Kr)));
12031
12031
  function Jf(e) {
12032
12032
  return e && e.__esModule ? e : { default: e };
12033
12033
  }
12034
- function qt({ version: e, from: t, to: n }) {
12034
+ function zt({ version: e, from: t, to: n }) {
12035
12035
  Kf.default.warn(`${t}-color-renamed`, [`As of Tailwind CSS ${e}, \`${t}\` has been renamed to \`${n}\`.`, "Update your configuration file to silence this warning."]);
12036
12036
  }
12037
12037
  var Zf = { 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() {
12038
- return qt({ version: "v2.2", from: "lightBlue", to: "sky" }), this.sky;
12038
+ return zt({ version: "v2.2", from: "lightBlue", to: "sky" }), this.sky;
12039
12039
  }, get warmGray() {
12040
- return qt({ version: "v3.0", from: "warmGray", to: "stone" }), this.stone;
12040
+ return zt({ version: "v3.0", from: "warmGray", to: "stone" }), this.stone;
12041
12041
  }, get trueGray() {
12042
- return qt({ version: "v3.0", from: "trueGray", to: "neutral" }), this.neutral;
12042
+ return zt({ version: "v3.0", from: "trueGray", to: "neutral" }), this.neutral;
12043
12043
  }, get coolGray() {
12044
- return qt({ version: "v3.0", from: "coolGray", to: "gray" }), this.gray;
12044
+ return zt({ version: "v3.0", from: "coolGray", to: "gray" }), this.gray;
12045
12045
  }, get blueGray() {
12046
- return qt({ version: "v3.0", from: "blueGray", to: "slate" }), this.slate;
12046
+ return zt({ version: "v3.0", from: "blueGray", to: "slate" }), this.slate;
12047
12047
  } };
12048
12048
  });
12049
12049
  var Vu = k((ei) => {
@@ -12081,7 +12081,7 @@ var Qu = k((ri) => {
12081
12081
  "use strict";
12082
12082
  Object.defineProperty(ri, "__esModule", { value: true });
12083
12083
  Object.defineProperty(ri, "normalizeConfig", { enumerable: true, get: () => nc });
12084
- var zt = rc((Kr(), Br(Qr)));
12084
+ var Ut = rc((Jr(), Ir(Kr)));
12085
12085
  function Xu(e) {
12086
12086
  if (typeof WeakMap != "function")
12087
12087
  return null;
@@ -12134,12 +12134,12 @@ var Qu = k((ri) => {
12134
12134
  return true;
12135
12135
  }
12136
12136
  return false;
12137
- })() || zt.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 = (() => {
12137
+ })() || Ut.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 = (() => {
12138
12138
  var r;
12139
12139
  let { content: i, purge: o, safelist: u2 } = e;
12140
12140
  return Array.isArray(u2) ? u2 : 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 : [];
12141
12141
  })(), typeof e.prefix == "function")
12142
- zt.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 = "";
12142
+ Ut.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 = "";
12143
12143
  else {
12144
12144
  var n;
12145
12145
  e.prefix = (n = e.prefix) !== null && n !== void 0 ? n : "";
@@ -12176,7 +12176,7 @@ var Qu = k((ri) => {
12176
12176
  })() };
12177
12177
  for (let r of e.content.files)
12178
12178
  if (typeof r == "string" && /{([^,]*?)}/g.test(r)) {
12179
- zt.default.warn("invalid-glob-braces", [`The glob pattern ${(0, zt.dim)(r)} in your Tailwind CSS configuration is invalid.`, `Update it to ${(0, zt.dim)(r.replace(/{([^,]*?)}/g, "$1"))} to silence this warning.`]);
12179
+ Ut.default.warn("invalid-glob-braces", [`The glob pattern ${(0, Ut.dim)(r)} in your Tailwind CSS configuration is invalid.`, `Update it to ${(0, Ut.dim)(r.replace(/{([^,]*?)}/g, "$1"))} to silence this warning.`]);
12180
12180
  break;
12181
12181
  }
12182
12182
  return e;
@@ -12201,10 +12201,10 @@ var Ju = k((oi) => {
12201
12201
  return Array.isArray(e) ? e.map((t) => ii(t)) : typeof e == "object" && e !== null ? Object.fromEntries(Object.entries(e).map(([t, n]) => [t, ii(n)])) : e;
12202
12202
  }
12203
12203
  });
12204
- var ui = k((Jr, Zu) => {
12204
+ var ui = k((Zr, Zu) => {
12205
12205
  "use strict";
12206
- Jr.__esModule = true;
12207
- Jr.default = sc;
12206
+ Zr.__esModule = true;
12207
+ Zr.default = sc;
12208
12208
  function oc(e) {
12209
12209
  for (var t = e.toLowerCase(), n = "", r = false, i = 0; i < 6 && t[i] !== void 0; i++) {
12210
12210
  var o = t.charCodeAt(i), u2 = o >= 97 && o <= 102 || o >= 48 && o <= 57;
@@ -12240,12 +12240,12 @@ var ui = k((Jr, Zu) => {
12240
12240
  }
12241
12241
  return n;
12242
12242
  }
12243
- Zu.exports = Jr.default;
12243
+ Zu.exports = Zr.default;
12244
12244
  });
12245
- var ts = k((Zr, es) => {
12245
+ var ts = k((en, es) => {
12246
12246
  "use strict";
12247
- Zr.__esModule = true;
12248
- Zr.default = ac;
12247
+ en.__esModule = true;
12248
+ en.default = ac;
12249
12249
  function ac(e) {
12250
12250
  for (var t = arguments.length, n = new Array(t > 1 ? t - 1 : 0), r = 1; r < t; r++)
12251
12251
  n[r - 1] = arguments[r];
@@ -12257,12 +12257,12 @@ var ts = k((Zr, es) => {
12257
12257
  }
12258
12258
  return e;
12259
12259
  }
12260
- es.exports = Zr.default;
12260
+ es.exports = en.default;
12261
12261
  });
12262
- var ns = k((en, rs) => {
12262
+ var ns = k((tn, rs) => {
12263
12263
  "use strict";
12264
- en.__esModule = true;
12265
- en.default = lc;
12264
+ tn.__esModule = true;
12265
+ tn.default = lc;
12266
12266
  function lc(e) {
12267
12267
  for (var t = arguments.length, n = new Array(t > 1 ? t - 1 : 0), r = 1; r < t; r++)
12268
12268
  n[r - 1] = arguments[r];
@@ -12271,12 +12271,12 @@ var ns = k((en, rs) => {
12271
12271
  e[i] || (e[i] = {}), e = e[i];
12272
12272
  }
12273
12273
  }
12274
- rs.exports = en.default;
12274
+ rs.exports = tn.default;
12275
12275
  });
12276
- var os = k((tn, is) => {
12276
+ var os = k((rn, is) => {
12277
12277
  "use strict";
12278
- tn.__esModule = true;
12279
- tn.default = fc;
12278
+ rn.__esModule = true;
12279
+ rn.default = fc;
12280
12280
  function fc(e) {
12281
12281
  for (var t = "", n = e.indexOf("/*"), r = 0; n >= 0; ) {
12282
12282
  t = t + e.slice(r, n);
@@ -12287,29 +12287,29 @@ var os = k((tn, is) => {
12287
12287
  }
12288
12288
  return t = t + e.slice(r), t;
12289
12289
  }
12290
- is.exports = tn.default;
12290
+ is.exports = rn.default;
12291
12291
  });
12292
- var Ut = k((Oe) => {
12292
+ var Gt = k((Oe) => {
12293
12293
  "use strict";
12294
12294
  Oe.__esModule = true;
12295
12295
  Oe.stripComments = Oe.ensureObject = Oe.getProp = Oe.unesc = void 0;
12296
- var cc = rn(ui());
12296
+ var cc = nn(ui());
12297
12297
  Oe.unesc = cc.default;
12298
- var dc = rn(ts());
12298
+ var dc = nn(ts());
12299
12299
  Oe.getProp = dc.default;
12300
- var pc = rn(ns());
12300
+ var pc = nn(ns());
12301
12301
  Oe.ensureObject = pc.default;
12302
- var hc = rn(os());
12302
+ var hc = nn(os());
12303
12303
  Oe.stripComments = hc.default;
12304
- function rn(e) {
12304
+ function nn(e) {
12305
12305
  return e && e.__esModule ? e : { default: e };
12306
12306
  }
12307
12307
  });
12308
- var Me = k((Gt, as) => {
12308
+ var Me = k((jt, as) => {
12309
12309
  "use strict";
12310
- Gt.__esModule = true;
12311
- Gt.default = void 0;
12312
- var us = Ut();
12310
+ jt.__esModule = true;
12311
+ jt.default = void 0;
12312
+ var us = Gt();
12313
12313
  function ss(e, t) {
12314
12314
  for (var n = 0; n < t.length; n++) {
12315
12315
  var r = t[n];
@@ -12384,8 +12384,8 @@ var Me = k((Gt, as) => {
12384
12384
  (0, us.ensureObject)(this, "raws", "spaces"), this.raws.spaces.after = r;
12385
12385
  } }]), e;
12386
12386
  }();
12387
- Gt.default = gc;
12388
- as.exports = Gt.default;
12387
+ jt.default = gc;
12388
+ as.exports = jt.default;
12389
12389
  });
12390
12390
  var ne = k((U) => {
12391
12391
  "use strict";
@@ -12416,10 +12416,10 @@ var ne = k((U) => {
12416
12416
  var Tc = "universal";
12417
12417
  U.UNIVERSAL = Tc;
12418
12418
  });
12419
- var nn = k((jt, ds) => {
12419
+ var on = k((Ht, ds) => {
12420
12420
  "use strict";
12421
- jt.__esModule = true;
12422
- jt.default = void 0;
12421
+ Ht.__esModule = true;
12422
+ Ht.default = void 0;
12423
12423
  var Ac = Pc(Me()), Ne = Oc(ne());
12424
12424
  function cs() {
12425
12425
  if (typeof WeakMap != "function")
@@ -12654,14 +12654,14 @@ In order to be iterable, non-array objects must have a [Symbol.iterator]() metho
12654
12654
  return this.nodes.length;
12655
12655
  } }]), t;
12656
12656
  }(Ac.default);
12657
- jt.default = Mc;
12658
- ds.exports = jt.default;
12657
+ Ht.default = Mc;
12658
+ ds.exports = Ht.default;
12659
12659
  });
12660
- var li = k((Ht, hs) => {
12660
+ var li = k((Vt, hs) => {
12661
12661
  "use strict";
12662
- Ht.__esModule = true;
12663
- Ht.default = void 0;
12664
- var Nc = $c(nn()), Wc = ne();
12662
+ Vt.__esModule = true;
12663
+ Vt.default = void 0;
12664
+ var Nc = $c(on()), Wc = ne();
12665
12665
  function $c(e) {
12666
12666
  return e && e.__esModule ? e : { default: e };
12667
12667
  }
@@ -12700,14 +12700,14 @@ var li = k((Ht, hs) => {
12700
12700
  this._error = i;
12701
12701
  } }]), t;
12702
12702
  }(Nc.default);
12703
- Ht.default = Uc;
12704
- hs.exports = Ht.default;
12703
+ Vt.default = Uc;
12704
+ hs.exports = Vt.default;
12705
12705
  });
12706
- var ci = k((Vt, ms) => {
12706
+ var ci = k((Yt, ms) => {
12707
12707
  "use strict";
12708
- Vt.__esModule = true;
12709
- Vt.default = void 0;
12710
- var Gc = Hc(nn()), jc = ne();
12708
+ Yt.__esModule = true;
12709
+ Yt.default = void 0;
12710
+ var Gc = Hc(on()), jc = ne();
12711
12711
  function Hc(e) {
12712
12712
  return e && e.__esModule ? e : { default: e };
12713
12713
  }
@@ -12727,10 +12727,10 @@ var ci = k((Vt, ms) => {
12727
12727
  }
12728
12728
  return t;
12729
12729
  }(Gc.default);
12730
- Vt.default = Yc;
12731
- ms.exports = Vt.default;
12730
+ Yt.default = Yc;
12731
+ ms.exports = Yt.default;
12732
12732
  });
12733
- var on = k((Ib, Ds) => {
12733
+ var un = k((Ib, Ds) => {
12734
12734
  "use strict";
12735
12735
  var Xc = {}, Qc = Xc.hasOwnProperty, Kc = function(t, n) {
12736
12736
  if (!t)
@@ -12761,11 +12761,11 @@ var on = k((Ib, Ds) => {
12761
12761
  di.version = "3.0.0";
12762
12762
  Ds.exports = di;
12763
12763
  });
12764
- var hi = k((Yt, vs) => {
12764
+ var hi = k((Xt, vs) => {
12765
12765
  "use strict";
12766
- Yt.__esModule = true;
12767
- Yt.default = void 0;
12768
- var td2 = bs(on()), rd = Ut(), nd = bs(Me()), id = ne();
12766
+ Xt.__esModule = true;
12767
+ Xt.default = void 0;
12768
+ var td2 = bs(un()), rd = Gt(), nd = bs(Me()), id = ne();
12769
12769
  function bs(e) {
12770
12770
  return e && e.__esModule ? e : { default: e };
12771
12771
  }
@@ -12805,13 +12805,13 @@ var hi = k((Yt, vs) => {
12805
12805
  this._value = i;
12806
12806
  } }]), t;
12807
12807
  }(nd.default);
12808
- Yt.default = sd;
12809
- vs.exports = Yt.default;
12808
+ Xt.default = sd;
12809
+ vs.exports = Xt.default;
12810
12810
  });
12811
- var Di = k((Xt, ys) => {
12811
+ var Di = k((Qt, ys) => {
12812
12812
  "use strict";
12813
- Xt.__esModule = true;
12814
- Xt.default = void 0;
12813
+ Qt.__esModule = true;
12814
+ Qt.default = void 0;
12815
12815
  var ad = fd2(Me()), ld = ne();
12816
12816
  function fd2(e) {
12817
12817
  return e && e.__esModule ? e : { default: e };
@@ -12832,13 +12832,13 @@ var Di = k((Xt, ys) => {
12832
12832
  }
12833
12833
  return t;
12834
12834
  }(ad.default);
12835
- Xt.default = dd;
12836
- ys.exports = Xt.default;
12835
+ Qt.default = dd;
12836
+ ys.exports = Qt.default;
12837
12837
  });
12838
- var bi = k((Qt, xs) => {
12838
+ var bi = k((Kt, xs) => {
12839
12839
  "use strict";
12840
- Qt.__esModule = true;
12841
- Qt.default = void 0;
12840
+ Kt.__esModule = true;
12841
+ Kt.default = void 0;
12842
12842
  var pd = md(Me()), hd = ne();
12843
12843
  function md(e) {
12844
12844
  return e && e.__esModule ? e : { default: e };
@@ -12862,14 +12862,14 @@ var bi = k((Qt, xs) => {
12862
12862
  return "#" + e.prototype.valueToString.call(this);
12863
12863
  }, t;
12864
12864
  }(pd.default);
12865
- Qt.default = gd;
12866
- xs.exports = Qt.default;
12865
+ Kt.default = gd;
12866
+ xs.exports = Kt.default;
12867
12867
  });
12868
- var un = k((Kt, Es) => {
12868
+ var sn = k((Jt, Es) => {
12869
12869
  "use strict";
12870
- Kt.__esModule = true;
12871
- Kt.default = void 0;
12872
- var bd = ws(on()), vd = Ut(), yd = ws(Me());
12870
+ Jt.__esModule = true;
12871
+ Jt.default = void 0;
12872
+ var bd = ws(un()), vd = Gt(), yd = ws(Me());
12873
12873
  function ws(e) {
12874
12874
  return e && e.__esModule ? e : { default: e };
12875
12875
  }
@@ -12921,14 +12921,14 @@ var un = k((Kt, Es) => {
12921
12921
  return "";
12922
12922
  } }]), t;
12923
12923
  }(yd.default);
12924
- Kt.default = wd;
12925
- Es.exports = Kt.default;
12924
+ Jt.default = wd;
12925
+ Es.exports = Jt.default;
12926
12926
  });
12927
- var xi = k((Jt, Ss) => {
12927
+ var xi = k((Zt, Ss) => {
12928
12928
  "use strict";
12929
- Jt.__esModule = true;
12930
- Jt.default = void 0;
12931
- var Ed = Cd(un()), Sd = ne();
12929
+ Zt.__esModule = true;
12930
+ Zt.default = void 0;
12931
+ var Ed = Cd(sn()), Sd = ne();
12932
12932
  function Cd(e) {
12933
12933
  return e && e.__esModule ? e : { default: e };
12934
12934
  }
@@ -12948,13 +12948,13 @@ var xi = k((Jt, Ss) => {
12948
12948
  }
12949
12949
  return t;
12950
12950
  }(Ed.default);
12951
- Jt.default = kd;
12952
- Ss.exports = Jt.default;
12951
+ Zt.default = kd;
12952
+ Ss.exports = Zt.default;
12953
12953
  });
12954
- var wi = k((Zt, Cs) => {
12954
+ var wi = k((er, Cs) => {
12955
12955
  "use strict";
12956
- Zt.__esModule = true;
12957
- Zt.default = void 0;
12956
+ er.__esModule = true;
12957
+ er.default = void 0;
12958
12958
  var Td = Od(Me()), Ad = ne();
12959
12959
  function Od(e) {
12960
12960
  return e && e.__esModule ? e : { default: e };
@@ -12975,14 +12975,14 @@ var wi = k((Zt, Cs) => {
12975
12975
  }
12976
12976
  return t;
12977
12977
  }(Td.default);
12978
- Zt.default = Bd;
12979
- Cs.exports = Zt.default;
12978
+ er.default = Bd;
12979
+ Cs.exports = er.default;
12980
12980
  });
12981
- var Si = k((er, _s) => {
12981
+ var Si = k((tr, _s) => {
12982
12982
  "use strict";
12983
- er.__esModule = true;
12984
- er.default = void 0;
12985
- var Id = Ld(nn()), Rd = ne();
12983
+ tr.__esModule = true;
12984
+ tr.default = void 0;
12985
+ var Id = Ld(on()), Rd = ne();
12986
12986
  function Ld(e) {
12987
12987
  return e && e.__esModule ? e : { default: e };
12988
12988
  }
@@ -13006,8 +13006,8 @@ var Si = k((er, _s) => {
13006
13006
  return [this.rawSpaceBefore, this.stringifyProperty("value"), i, this.rawSpaceAfter].join("");
13007
13007
  }, t;
13008
13008
  }(Id.default);
13009
- er.default = Nd;
13010
- _s.exports = er.default;
13009
+ tr.default = Nd;
13010
+ _s.exports = tr.default;
13011
13011
  });
13012
13012
  var Ts = k((Rb, ks) => {
13013
13013
  ks.exports = function(t, n) {
@@ -13016,12 +13016,12 @@ var Ts = k((Rb, ks) => {
13016
13016
  };
13017
13017
  };
13018
13018
  });
13019
- var Oi = k((nr) => {
13019
+ var Oi = k((ir) => {
13020
13020
  "use strict";
13021
- nr.__esModule = true;
13022
- nr.unescapeValue = Ai;
13023
- nr.default = void 0;
13024
- var tr = Ti(on()), Wd = Ti(ui()), $d = Ti(un()), qd = ne(), Ci;
13021
+ ir.__esModule = true;
13022
+ ir.unescapeValue = Ai;
13023
+ ir.default = void 0;
13024
+ var rr = Ti(un()), Wd = Ti(ui()), $d = Ti(sn()), qd = ne(), Ci;
13025
13025
  function Ti(e) {
13026
13026
  return e && e.__esModule ? e : { default: e };
13027
13027
  }
@@ -13042,9 +13042,9 @@ var Oi = k((nr) => {
13042
13042
  return r.__proto__ = i, r;
13043
13043
  }, ki(e, t);
13044
13044
  }
13045
- var rr = Ts(), Gd = /^('|")([^]*)\1$/, jd = rr(function() {
13046
- }, "Assigning an attribute a value containing characters that might need to be escaped is deprecated. Call attribute.setValue() instead."), Hd = rr(function() {
13047
- }, "Assigning attr.quoted is deprecated and has no effect. Assign to attr.quoteMark instead."), Vd = rr(function() {
13045
+ var nr = Ts(), Gd = /^('|")([^]*)\1$/, jd = nr(function() {
13046
+ }, "Assigning an attribute a value containing characters that might need to be escaped is deprecated. Call attribute.setValue() instead."), Hd = nr(function() {
13047
+ }, "Assigning attr.quoted is deprecated and has no effect. Assign to attr.quoteMark instead."), Vd = nr(function() {
13048
13048
  }, "Constructing an Attribute selector with a value without specifying quoteMark is deprecated. Note: The value should be unescaped now.");
13049
13049
  function Ai(e) {
13050
13050
  var t = false, n = null, r = e, i = r.match(Gd);
@@ -13057,20 +13057,20 @@ var Oi = k((nr) => {
13057
13057
  var t = Ai(e.value), n = t.quoteMark, r = t.unescaped;
13058
13058
  return e.raws || (e.raws = {}), e.raws.value === void 0 && (e.raws.value = e.value), e.value = r, e.quoteMark = n, e;
13059
13059
  }
13060
- var sn = function(e) {
13060
+ var an = function(e) {
13061
13061
  Ud(t, e);
13062
13062
  function t(r) {
13063
13063
  var i;
13064
- return r === void 0 && (r = {}), i = e.call(this, Yd(r)) || this, i.type = qd.ATTRIBUTE, i.raws = i.raws || {}, Object.defineProperty(i.raws, "unquoted", { get: rr(function() {
13064
+ return r === void 0 && (r = {}), i = e.call(this, Yd(r)) || this, i.type = qd.ATTRIBUTE, i.raws = i.raws || {}, Object.defineProperty(i.raws, "unquoted", { get: nr(function() {
13065
13065
  return i.value;
13066
- }, "attr.raws.unquoted is deprecated. Call attr.value instead."), set: rr(function() {
13066
+ }, "attr.raws.unquoted is deprecated. Call attr.value instead."), set: nr(function() {
13067
13067
  return i.value;
13068
13068
  }, "Setting attr.raws.unquoted is deprecated and has no effect. attr.value is unescaped by default now.") }), i._constructed = true, i;
13069
13069
  }
13070
13070
  var n = t.prototype;
13071
13071
  return n.getQuotedValue = function(i) {
13072
13072
  i === void 0 && (i = {});
13073
- var o = this._determineQuoteMark(i), u2 = _i[o], s = (0, tr.default)(this._value, u2);
13073
+ var o = this._determineQuoteMark(i), u2 = _i[o], s = (0, rr.default)(this._value, u2);
13074
13074
  return s;
13075
13075
  }, n._determineQuoteMark = function(i) {
13076
13076
  return i.smart ? this.smartQuoteMark(i) : this.preferredQuoteMark(i);
@@ -13079,12 +13079,12 @@ var Oi = k((nr) => {
13079
13079
  }, n.smartQuoteMark = function(i) {
13080
13080
  var o = this.value, u2 = o.replace(/[^']/g, "").length, s = o.replace(/[^"]/g, "").length;
13081
13081
  if (u2 + s === 0) {
13082
- var a = (0, tr.default)(o, { isIdentifier: true });
13082
+ var a = (0, rr.default)(o, { isIdentifier: true });
13083
13083
  if (a === o)
13084
13084
  return t.NO_QUOTE;
13085
13085
  var l2 = this.preferredQuoteMark(i);
13086
13086
  if (l2 === t.NO_QUOTE) {
13087
- var f = this.quoteMark || i.quoteMark || t.DOUBLE_QUOTE, c2 = _i[f], p = (0, tr.default)(o, c2);
13087
+ var f = this.quoteMark || i.quoteMark || t.DOUBLE_QUOTE, c2 = _i[f], p = (0, rr.default)(o, c2);
13088
13088
  if (p.length < a.length)
13089
13089
  return f;
13090
13090
  }
@@ -13095,11 +13095,11 @@ var Oi = k((nr) => {
13095
13095
  var o = i.preferCurrentQuoteMark ? this.quoteMark : i.quoteMark;
13096
13096
  return o === void 0 && (o = i.preferCurrentQuoteMark ? i.quoteMark : this.quoteMark), o === void 0 && (o = t.DOUBLE_QUOTE), o;
13097
13097
  }, n._syncRawValue = function() {
13098
- var i = (0, tr.default)(this._value, _i[this.quoteMark]);
13098
+ var i = (0, rr.default)(this._value, _i[this.quoteMark]);
13099
13099
  i === this._value ? this.raws && delete this.raws.value : this.raws.value = i;
13100
13100
  }, n._handleEscapes = function(i, o) {
13101
13101
  if (this._constructed) {
13102
- var u2 = (0, tr.default)(o, { isIdentifier: true });
13102
+ var u2 = (0, rr.default)(o, { isIdentifier: true });
13103
13103
  u2 !== o ? this.raws[i] = u2 : delete this.raws[i];
13104
13104
  }
13105
13105
  }, n._spacesFor = function(i) {
@@ -13168,20 +13168,20 @@ var Oi = k((nr) => {
13168
13168
  this._handleEscapes("attribute", i), this._attribute = i;
13169
13169
  } }]), t;
13170
13170
  }($d.default);
13171
- nr.default = sn;
13172
- sn.NO_QUOTE = null;
13173
- sn.SINGLE_QUOTE = "'";
13174
- sn.DOUBLE_QUOTE = '"';
13171
+ ir.default = an;
13172
+ an.NO_QUOTE = null;
13173
+ an.SINGLE_QUOTE = "'";
13174
+ an.DOUBLE_QUOTE = '"';
13175
13175
  var _i = (Ci = { "'": { quotes: "single", wrap: true }, '"': { quotes: "double", wrap: true } }, Ci[null] = { isIdentifier: true }, Ci);
13176
13176
  function Os(e, t) {
13177
13177
  return "" + t.before + e + t.after;
13178
13178
  }
13179
13179
  });
13180
- var Bi = k((ir, Ps) => {
13180
+ var Bi = k((or, Ps) => {
13181
13181
  "use strict";
13182
- ir.__esModule = true;
13183
- ir.default = void 0;
13184
- var Xd = Kd(un()), Qd = ne();
13182
+ or.__esModule = true;
13183
+ or.default = void 0;
13184
+ var Xd = Kd(sn()), Qd = ne();
13185
13185
  function Kd(e) {
13186
13186
  return e && e.__esModule ? e : { default: e };
13187
13187
  }
@@ -13201,13 +13201,13 @@ var Bi = k((ir, Ps) => {
13201
13201
  }
13202
13202
  return t;
13203
13203
  }(Xd.default);
13204
- ir.default = Zd;
13205
- Ps.exports = ir.default;
13204
+ or.default = Zd;
13205
+ Ps.exports = or.default;
13206
13206
  });
13207
- var Ri = k((or, Bs) => {
13207
+ var Ri = k((ur, Bs) => {
13208
13208
  "use strict";
13209
- or.__esModule = true;
13210
- or.default = void 0;
13209
+ ur.__esModule = true;
13210
+ ur.default = void 0;
13211
13211
  var ep = rp(Me()), tp = ne();
13212
13212
  function rp(e) {
13213
13213
  return e && e.__esModule ? e : { default: e };
@@ -13228,13 +13228,13 @@ var Ri = k((or, Bs) => {
13228
13228
  }
13229
13229
  return t;
13230
13230
  }(ep.default);
13231
- or.default = ip;
13232
- Bs.exports = or.default;
13231
+ ur.default = ip;
13232
+ Bs.exports = ur.default;
13233
13233
  });
13234
- var Mi = k((ur, Is) => {
13234
+ var Mi = k((sr, Is) => {
13235
13235
  "use strict";
13236
- ur.__esModule = true;
13237
- ur.default = void 0;
13236
+ sr.__esModule = true;
13237
+ sr.default = void 0;
13238
13238
  var op = sp(Me()), up = ne();
13239
13239
  function sp(e) {
13240
13240
  return e && e.__esModule ? e : { default: e };
@@ -13255,19 +13255,19 @@ var Mi = k((ur, Is) => {
13255
13255
  }
13256
13256
  return t;
13257
13257
  }(op.default);
13258
- ur.default = lp;
13259
- Is.exports = ur.default;
13258
+ sr.default = lp;
13259
+ Is.exports = sr.default;
13260
13260
  });
13261
- var Ls = k((an, Rs) => {
13261
+ var Ls = k((ln, Rs) => {
13262
13262
  "use strict";
13263
- an.__esModule = true;
13264
- an.default = fp;
13263
+ ln.__esModule = true;
13264
+ ln.default = fp;
13265
13265
  function fp(e) {
13266
13266
  return e.sort(function(t, n) {
13267
13267
  return t - n;
13268
13268
  });
13269
13269
  }
13270
- Rs.exports = an.default;
13270
+ Rs.exports = ln.default;
13271
13271
  });
13272
13272
  var Ni = k((_) => {
13273
13273
  "use strict";
@@ -13336,11 +13336,11 @@ var Ni = k((_) => {
13336
13336
  var $p = -3;
13337
13337
  _.combinator = $p;
13338
13338
  });
13339
- var $s = k((sr) => {
13339
+ var $s = k((ar) => {
13340
13340
  "use strict";
13341
- sr.__esModule = true;
13342
- sr.default = Vp;
13343
- sr.FIELDS = void 0;
13341
+ ar.__esModule = true;
13342
+ ar.default = Vp;
13343
+ ar.FIELDS = void 0;
13344
13344
  var w2 = qp(Ni()), yt, q;
13345
13345
  function Ws() {
13346
13346
  if (typeof WeakMap != "function")
@@ -13367,9 +13367,9 @@ var $s = k((sr) => {
13367
13367
  return n.default = e, t && t.set(e, n), n;
13368
13368
  }
13369
13369
  var zp = (yt = {}, yt[w2.tab] = true, yt[w2.newline] = true, yt[w2.cr] = true, yt[w2.feed] = true, yt), Up = (q = {}, q[w2.space] = true, q[w2.tab] = true, q[w2.newline] = true, q[w2.cr] = true, q[w2.feed] = true, q[w2.ampersand] = true, q[w2.asterisk] = true, q[w2.bang] = true, q[w2.comma] = true, q[w2.colon] = true, q[w2.semicolon] = true, q[w2.openParenthesis] = true, q[w2.closeParenthesis] = true, q[w2.openSquare] = true, q[w2.closeSquare] = true, q[w2.singleQuote] = true, q[w2.doubleQuote] = true, q[w2.plus] = true, q[w2.pipe] = true, q[w2.tilde] = true, q[w2.greaterThan] = true, q[w2.equals] = true, q[w2.dollar] = true, q[w2.caret] = true, q[w2.slash] = true, q), Wi = {}, Ns = "0123456789abcdefABCDEF";
13370
- for (ln = 0; ln < Ns.length; ln++)
13371
- Wi[Ns.charCodeAt(ln)] = true;
13372
- var ln;
13370
+ for (fn = 0; fn < Ns.length; fn++)
13371
+ Wi[Ns.charCodeAt(fn)] = true;
13372
+ var fn;
13373
13373
  function Gp(e, t) {
13374
13374
  var n = t, r;
13375
13375
  do {
@@ -13393,7 +13393,7 @@ var $s = k((sr) => {
13393
13393
  return n;
13394
13394
  }
13395
13395
  var Hp = { TYPE: 0, START_LINE: 1, START_COL: 2, END_LINE: 3, END_COL: 4, START_POS: 5, END_POS: 6 };
13396
- sr.FIELDS = Hp;
13396
+ ar.FIELDS = Hp;
13397
13397
  function Vp(e) {
13398
13398
  var t = [], n = e.css.valueOf(), r = n, i = r.length, o = -1, u2 = 1, s = 0, a = 0, l2, f, c2, p, d2, h2, m2, x2, g2, S2, v2, b, y;
13399
13399
  function T(A, P2) {
@@ -13459,11 +13459,11 @@ var $s = k((sr) => {
13459
13459
  return t;
13460
13460
  }
13461
13461
  });
13462
- var Ys = k((ar, Vs) => {
13462
+ var Ys = k((lr, Vs) => {
13463
13463
  "use strict";
13464
- ar.__esModule = true;
13465
- ar.default = void 0;
13466
- var Yp = ve(li()), $i = ve(ci()), Xp = ve(hi()), qs = ve(Di()), Qp = ve(bi()), Kp = ve(xi()), qi = ve(wi()), Jp = ve(Si()), zs = fn(Oi()), Zp = ve(Bi()), zi = ve(Ri()), e0 = ve(Mi()), t0 = ve(Ls()), F = fn($s()), C = fn(Ni()), r0 = fn(ne()), Y = Ut(), nt, Ui;
13464
+ lr.__esModule = true;
13465
+ lr.default = void 0;
13466
+ var Yp = ve(li()), $i = ve(ci()), Xp = ve(hi()), qs = ve(Di()), Qp = ve(bi()), Kp = ve(xi()), qi = ve(wi()), Jp = ve(Si()), zs = cn(Oi()), Zp = ve(Bi()), zi = ve(Ri()), e0 = ve(Mi()), t0 = ve(Ls()), F = cn($s()), C = cn(Ni()), r0 = cn(ne()), Y = Gt(), nt, Ui;
13467
13467
  function Hs() {
13468
13468
  if (typeof WeakMap != "function")
13469
13469
  return null;
@@ -13472,7 +13472,7 @@ var Ys = k((ar, Vs) => {
13472
13472
  return e;
13473
13473
  }, e;
13474
13474
  }
13475
- function fn(e) {
13475
+ function cn(e) {
13476
13476
  if (e && e.__esModule)
13477
13477
  return e;
13478
13478
  if (e === null || typeof e != "object" && typeof e != "function")
@@ -13924,13 +13924,13 @@ var Ys = k((ar, Vs) => {
13924
13924
  return this.tokens[this.position - 1];
13925
13925
  } }]), e;
13926
13926
  }();
13927
- ar.default = u0;
13928
- Vs.exports = ar.default;
13927
+ lr.default = u0;
13928
+ Vs.exports = lr.default;
13929
13929
  });
13930
- var Qs = k((lr, Xs) => {
13930
+ var Qs = k((fr, Xs) => {
13931
13931
  "use strict";
13932
- lr.__esModule = true;
13933
- lr.default = void 0;
13932
+ fr.__esModule = true;
13933
+ fr.default = void 0;
13934
13934
  var s0 = a0(Ys());
13935
13935
  function a0(e) {
13936
13936
  return e && e.__esModule ? e : { default: e };
@@ -13997,8 +13997,8 @@ var Qs = k((lr, Xs) => {
13997
13997
  return o.string || o.root.toString();
13998
13998
  }, e;
13999
13999
  }();
14000
- lr.default = l0;
14001
- Xs.exports = lr.default;
14000
+ fr.default = l0;
14001
+ Xs.exports = fr.default;
14002
14002
  });
14003
14003
  var Ks = k((G) => {
14004
14004
  "use strict";
@@ -14126,10 +14126,10 @@ var ra = k((Ce) => {
14126
14126
  e === "default" || e === "__esModule" || e in Ce && Ce[e] === Ki[e] || (Ce[e] = Ki[e]);
14127
14127
  });
14128
14128
  });
14129
- var oa = k((fr, ia) => {
14129
+ var oa = k((cr, ia) => {
14130
14130
  "use strict";
14131
- fr.__esModule = true;
14132
- fr.default = void 0;
14131
+ cr.__esModule = true;
14132
+ cr.default = void 0;
14133
14133
  var V0 = Q0(Qs()), Y0 = X0(ra());
14134
14134
  function na() {
14135
14135
  if (typeof WeakMap != "function")
@@ -14164,8 +14164,8 @@ var oa = k((fr, ia) => {
14164
14164
  Object.assign(Ji, Y0);
14165
14165
  delete Ji.__esModule;
14166
14166
  var K0 = Ji;
14167
- fr.default = K0;
14168
- ia.exports = fr.default;
14167
+ cr.default = K0;
14168
+ ia.exports = cr.default;
14169
14169
  });
14170
14170
  var ua = k((Zi) => {
14171
14171
  "use strict";
@@ -14191,7 +14191,7 @@ var to = k((eo) => {
14191
14191
  function eh(e) {
14192
14192
  return e && e.__esModule ? e : { default: e };
14193
14193
  }
14194
- var th = /^#([a-f\d]{2})([a-f\d]{2})([a-f\d]{2})([a-f\d]{2})?$/i, rh = /^#([a-f\d])([a-f\d])([a-f\d])([a-f\d])?$/i, Ve = /(?:\d+|\d*\.\d+)%?/, cn = /(?:\s*,\s*|\s+)/, fa = /\s*[,/]\s*/, Ye = /var\(--(?:[^ )]*?)\)/, nh = new RegExp(`^(rgb)a?\\(\\s*(${Ve.source}|${Ye.source})(?:${cn.source}(${Ve.source}|${Ye.source}))?(?:${cn.source}(${Ve.source}|${Ye.source}))?(?:${fa.source}(${Ve.source}|${Ye.source}))?\\s*\\)$`), ih = new RegExp(`^(hsl)a?\\(\\s*((?:${Ve.source})(?:deg|rad|grad|turn)?|${Ye.source})(?:${cn.source}(${Ve.source}|${Ye.source}))?(?:${cn.source}(${Ve.source}|${Ye.source}))?(?:${fa.source}(${Ve.source}|${Ye.source}))?\\s*\\)$`);
14194
+ var th = /^#([a-f\d]{2})([a-f\d]{2})([a-f\d]{2})([a-f\d]{2})?$/i, rh = /^#([a-f\d])([a-f\d])([a-f\d])([a-f\d])?$/i, Ve = /(?:\d+|\d*\.\d+)%?/, dn = /(?:\s*,\s*|\s+)/, fa = /\s*[,/]\s*/, Ye = /var\(--(?:[^ )]*?)\)/, nh = new RegExp(`^(rgb)a?\\(\\s*(${Ve.source}|${Ye.source})(?:${dn.source}(${Ve.source}|${Ye.source}))?(?:${dn.source}(${Ve.source}|${Ye.source}))?(?:${fa.source}(${Ve.source}|${Ye.source}))?\\s*\\)$`), ih = new RegExp(`^(hsl)a?\\(\\s*((?:${Ve.source})(?:deg|rad|grad|turn)?|${Ye.source})(?:${dn.source}(${Ve.source}|${Ye.source}))?(?:${dn.source}(${Ve.source}|${Ye.source}))?(?:${fa.source}(${Ve.source}|${Ye.source}))?\\s*\\)$`);
14195
14195
  function oh(e, { loose: t = false } = {}) {
14196
14196
  var n, r;
14197
14197
  if (typeof e != "string")
@@ -14223,19 +14223,19 @@ var no = k((ro) => {
14223
14223
  Object.defineProperty(e, n, { enumerable: true, get: t[n] });
14224
14224
  }
14225
14225
  sh(ro, { withAlphaValue: () => ah, default: () => lh });
14226
- var dn = to();
14226
+ var pn = to();
14227
14227
  function ah(e, t, n) {
14228
14228
  if (typeof e == "function")
14229
14229
  return e({ opacityValue: t });
14230
- let r = (0, dn.parseColor)(e, { loose: true });
14231
- return r === null ? n : (0, dn.formatColor)({ ...r, alpha: t });
14230
+ let r = (0, pn.parseColor)(e, { loose: true });
14231
+ return r === null ? n : (0, pn.formatColor)({ ...r, alpha: t });
14232
14232
  }
14233
14233
  function lh({ color: e, property: t, variable: n }) {
14234
14234
  let r = [].concat(t);
14235
14235
  if (typeof e == "function")
14236
14236
  return { [n]: "1", ...Object.fromEntries(r.map((o) => [o, e({ opacityVariable: n, opacityValue: `var(${n})` })])) };
14237
- let i = (0, dn.parseColor)(e);
14238
- return i === null ? Object.fromEntries(r.map((o) => [o, e])) : i.alpha !== void 0 ? Object.fromEntries(r.map((o) => [o, e])) : { [n]: "1", ...Object.fromEntries(r.map((o) => [o, (0, dn.formatColor)({ ...i, alpha: `var(${n})` })])) };
14237
+ let i = (0, pn.parseColor)(e);
14238
+ return i === null ? Object.fromEntries(r.map((o) => [o, e])) : i.alpha !== void 0 ? Object.fromEntries(r.map((o) => [o, e])) : { [n]: "1", ...Object.fromEntries(r.map((o) => [o, (0, pn.formatColor)({ ...i, alpha: `var(${n})` })])) };
14239
14239
  }
14240
14240
  });
14241
14241
  var ma = k((io) => {
@@ -14247,23 +14247,23 @@ var ma = k((io) => {
14247
14247
  }
14248
14248
  fh(io, { pattern: () => dh, withoutCapturing: () => da, any: () => pa, optional: () => ph, zeroOrMore: () => hh, nestedBrackets: () => ha, escape: () => ot });
14249
14249
  var ca = /[\\^$.*+?()[\]{}|]/g, ch = RegExp(ca.source);
14250
- function cr(e) {
14250
+ function dr(e) {
14251
14251
  return e = Array.isArray(e) ? e : [e], e = e.map((t) => t instanceof RegExp ? t.source : t), e.join("");
14252
14252
  }
14253
14253
  function dh(e) {
14254
- return new RegExp(cr(e), "g");
14254
+ return new RegExp(dr(e), "g");
14255
14255
  }
14256
14256
  function da(e) {
14257
- return new RegExp(`(?:${cr(e)})`, "g");
14257
+ return new RegExp(`(?:${dr(e)})`, "g");
14258
14258
  }
14259
14259
  function pa(e) {
14260
- return `(?:${e.map(cr).join("|")})`;
14260
+ return `(?:${e.map(dr).join("|")})`;
14261
14261
  }
14262
14262
  function ph(e) {
14263
- return `(?:${cr(e)})?`;
14263
+ return `(?:${dr(e)})?`;
14264
14264
  }
14265
14265
  function hh(e) {
14266
- return `(?:${cr(e)})*`;
14266
+ return `(?:${dr(e)})*`;
14267
14267
  }
14268
14268
  function ha(e, t, n = 1) {
14269
14269
  return da([ot(e), /[^\s]*/, n === 1 ? `[^${ot(e)}${ot(t)}s]*` : pa([`[^${ot(e)}${ot(t)}s]*`, ha(e, t, n - 1)]), /[^\s]*/, ot(t)]);
@@ -14339,7 +14339,7 @@ var Ca = k((ao) => {
14339
14339
  Object.defineProperty(e, n, { enumerable: true, get: t[n] });
14340
14340
  }
14341
14341
  Eh(ao, { normalize: () => Xe, url: () => Fa, number: () => _h, percentage: () => wa, length: () => Ea, lineWidth: () => Ah, shadow: () => Oh, color: () => Ph, image: () => Bh, gradient: () => Sa, position: () => Lh, familyName: () => Mh, genericName: () => Wh, absoluteSize: () => qh, relativeSize: () => Uh });
14342
- var Sh = to(), Ch = va(), so = ["min", "max", "clamp", "calc"], xa = /,(?![^(]*\))/g, pn = /_(?![^(]*\))/g;
14342
+ var Sh = to(), Ch = va(), so = ["min", "max", "clamp", "calc"], xa = /,(?![^(]*\))/g, hn = /_(?![^(]*\))/g;
14343
14343
  function Xe(e, t = true) {
14344
14344
  return e.includes("url(") ? e.split(/(url\(.*?\))/g).filter(Boolean).map((n) => /^url\(.*?\)$/.test(n) ? n : Xe(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);
14345
14345
  }
@@ -14350,11 +14350,11 @@ var Ca = k((ao) => {
14350
14350
  return !isNaN(Number(e)) || so.some((t) => new RegExp(`^${t}\\(.+?`).test(e));
14351
14351
  }
14352
14352
  function wa(e) {
14353
- return e.split(pn).every((t) => /%$/g.test(t) || so.some((n) => new RegExp(`^${n}\\(.+?%`).test(t)));
14353
+ return e.split(hn).every((t) => /%$/g.test(t) || so.some((n) => new RegExp(`^${n}\\(.+?%`).test(t)));
14354
14354
  }
14355
14355
  var kh = ["cm", "mm", "Q", "in", "pc", "pt", "px", "em", "ex", "ch", "rem", "lh", "vw", "vh", "vmin", "vmax"], ya = `(?:${kh.join("|")})`;
14356
14356
  function Ea(e) {
14357
- return e.split(pn).every((t) => t === "0" || new RegExp(`${ya}$`).test(t) || so.some((n) => new RegExp(`^${n}\\(.+?${ya}`).test(t)));
14357
+ return e.split(hn).every((t) => t === "0" || new RegExp(`${ya}$`).test(t) || so.some((n) => new RegExp(`^${n}\\(.+?${ya}`).test(t)));
14358
14358
  }
14359
14359
  var Th = /* @__PURE__ */ new Set(["thin", "medium", "thick"]);
14360
14360
  function Ah(e) {
@@ -14369,7 +14369,7 @@ var Ca = k((ao) => {
14369
14369
  }
14370
14370
  function Ph(e) {
14371
14371
  let t = 0;
14372
- return e.split(pn).every((r) => (r = Xe(r), r.startsWith("var(") ? true : (0, Sh.parseColor)(r, { loose: true }) !== null ? (t++, true) : false)) ? t > 0 : false;
14372
+ return e.split(hn).every((r) => (r = Xe(r), r.startsWith("var(") ? true : (0, Sh.parseColor)(r, { loose: true }) !== null ? (t++, true) : false)) ? t > 0 : false;
14373
14373
  }
14374
14374
  function Bh(e) {
14375
14375
  let t = 0;
@@ -14386,7 +14386,7 @@ var Ca = k((ao) => {
14386
14386
  var Rh = /* @__PURE__ */ new Set(["center", "top", "right", "bottom", "left"]);
14387
14387
  function Lh(e) {
14388
14388
  let t = 0;
14389
- return e.split(pn).every((r) => (r = Xe(r), r.startsWith("var(") ? true : Rh.has(r) || Ea(r) || wa(r) ? (t++, true) : false)) ? t > 0 : false;
14389
+ return e.split(hn).every((r) => (r = Xe(r), r.startsWith("var(") ? true : Rh.has(r) || Ea(r) || wa(r) ? (t++, true) : false)) ? t > 0 : false;
14390
14390
  }
14391
14391
  function Mh(e) {
14392
14392
  let t = 0;
@@ -14412,7 +14412,7 @@ var Ia = k((co) => {
14412
14412
  for (var n in t)
14413
14413
  Object.defineProperty(e, n, { enumerable: true, get: t[n] });
14414
14414
  }
14415
- Gh(co, { updateAllClasses: () => Vh, asValue: () => pr, parseColorFormat: () => lo, asColor: () => Oa, asLookupValue: () => Pa, coerceValue: () => Kh });
14415
+ Gh(co, { updateAllClasses: () => Vh, asValue: () => hr, parseColorFormat: () => lo, asColor: () => Oa, asLookupValue: () => Pa, coerceValue: () => Kh });
14416
14416
  var jh = fo(oa()), Hh = fo(ua()), _a2 = no(), pe = Ca(), ka = fo(Xn());
14417
14417
  function fo(e) {
14418
14418
  return e && e.__esModule ? e : { default: e };
@@ -14426,7 +14426,7 @@ var Ia = k((co) => {
14426
14426
  }).processSync(e);
14427
14427
  }
14428
14428
  function Aa(e, t) {
14429
- if (!dr(e))
14429
+ if (!pr(e))
14430
14430
  return;
14431
14431
  let n = e.slice(1, -1);
14432
14432
  if (t(n))
@@ -14436,17 +14436,17 @@ var Ia = k((co) => {
14436
14436
  let r = t[e];
14437
14437
  if (r !== void 0)
14438
14438
  return (0, ka.default)(r);
14439
- if (dr(e)) {
14439
+ if (pr(e)) {
14440
14440
  let i = Aa(e, n);
14441
14441
  return i === void 0 ? void 0 : (0, ka.default)(i);
14442
14442
  }
14443
14443
  }
14444
- function pr(e, t = {}, { validate: n = () => true } = {}) {
14444
+ function hr(e, t = {}, { validate: n = () => true } = {}) {
14445
14445
  var r;
14446
14446
  let i = (r = t.values) === null || r === void 0 ? void 0 : r[e];
14447
14447
  return i !== void 0 ? i : t.supportsNegativeValues && e.startsWith("-") ? Yh(e.slice(1), t.values, n) : Aa(e, n);
14448
14448
  }
14449
- function dr(e) {
14449
+ function pr(e) {
14450
14450
  return e.startsWith("[") && e.endsWith("]");
14451
14451
  }
14452
14452
  function Xh(e) {
@@ -14469,32 +14469,32 @@ var Ia = k((co) => {
14469
14469
  let [o, u2] = Xh(e);
14470
14470
  if (u2 !== void 0) {
14471
14471
  var s, a, l2, f;
14472
- let c2 = (f = (s = t.values) === null || s === void 0 ? void 0 : s[o]) !== null && f !== void 0 ? f : dr(o) ? o.slice(1, -1) : void 0;
14473
- return c2 === void 0 ? void 0 : (c2 = lo(c2), dr(u2) ? (0, _a2.withAlphaValue)(c2, u2.slice(1, -1)) : ((a = n.theme) === null || a === void 0 || (l2 = a.opacity) === null || l2 === void 0 ? void 0 : l2[u2]) === void 0 ? void 0 : (0, _a2.withAlphaValue)(c2, n.theme.opacity[u2]));
14472
+ let c2 = (f = (s = t.values) === null || s === void 0 ? void 0 : s[o]) !== null && f !== void 0 ? f : pr(o) ? o.slice(1, -1) : void 0;
14473
+ return c2 === void 0 ? void 0 : (c2 = lo(c2), pr(u2) ? (0, _a2.withAlphaValue)(c2, u2.slice(1, -1)) : ((a = n.theme) === null || a === void 0 || (l2 = a.opacity) === null || l2 === void 0 ? void 0 : l2[u2]) === void 0 ? void 0 : (0, _a2.withAlphaValue)(c2, n.theme.opacity[u2]));
14474
14474
  }
14475
- return pr(e, t, { validate: pe.color });
14475
+ return hr(e, t, { validate: pe.color });
14476
14476
  }
14477
14477
  function Pa(e, t = {}) {
14478
14478
  var n;
14479
14479
  return (n = t.values) === null || n === void 0 ? void 0 : n[e];
14480
14480
  }
14481
14481
  function Fe(e) {
14482
- return (t, n) => pr(t, n, { validate: e });
14482
+ return (t, n) => hr(t, n, { validate: e });
14483
14483
  }
14484
- var Ba = { any: pr, color: Oa, url: Fe(pe.url), image: Fe(pe.image), length: Fe(pe.length), percentage: Fe(pe.percentage), position: Fe(pe.position), lookup: Pa, "generic-name": Fe(pe.genericName), "family-name": Fe(pe.familyName), number: Fe(pe.number), "line-width": Fe(pe.lineWidth), "absolute-size": Fe(pe.absoluteSize), "relative-size": Fe(pe.relativeSize), shadow: Fe(pe.shadow) }, Ta = Object.keys(Ba);
14484
+ var Ba = { any: hr, color: Oa, url: Fe(pe.url), image: Fe(pe.image), length: Fe(pe.length), percentage: Fe(pe.percentage), position: Fe(pe.position), lookup: Pa, "generic-name": Fe(pe.genericName), "family-name": Fe(pe.familyName), number: Fe(pe.number), "line-width": Fe(pe.lineWidth), "absolute-size": Fe(pe.absoluteSize), "relative-size": Fe(pe.relativeSize), shadow: Fe(pe.shadow) }, Ta = Object.keys(Ba);
14485
14485
  function Qh(e, t) {
14486
14486
  let n = e.indexOf(t);
14487
14487
  return n === -1 ? [void 0, e] : [e.slice(0, n), e.slice(n + 1)];
14488
14488
  }
14489
14489
  function Kh(e, t, n, r) {
14490
- if (dr(t)) {
14490
+ if (pr(t)) {
14491
14491
  let i = t.slice(1, -1), [o, u2] = Qh(i, ":");
14492
14492
  if (!/^[\w-_]+$/g.test(o))
14493
14493
  u2 = i;
14494
14494
  else if (o !== void 0 && !Ta.includes(o))
14495
14495
  return [];
14496
14496
  if (u2.length > 0 && Ta.includes(o))
14497
- return [pr(`[${u2}]`, n), o];
14497
+ return [hr(`[${u2}]`, n), o];
14498
14498
  }
14499
14499
  for (let i of [].concat(e)) {
14500
14500
  let o = Ba[i](t, n, { tailwindConfig: r });
@@ -14523,15 +14523,15 @@ var $a = k((mo) => {
14523
14523
  function wt(e) {
14524
14524
  return typeof e == "function";
14525
14525
  }
14526
- function hr(e) {
14526
+ function mr(e) {
14527
14527
  return typeof e == "object" && e !== null;
14528
14528
  }
14529
- function mr(e, ...t) {
14529
+ function Dr(e, ...t) {
14530
14530
  let n = t.pop();
14531
14531
  for (let r of t)
14532
14532
  for (let i in r) {
14533
14533
  let o = n(e[i], r[i]);
14534
- o === void 0 ? hr(e[i]) && hr(r[i]) ? e[i] = mr(e[i], r[i], n) : e[i] = r[i] : e[i] = o;
14534
+ o === void 0 ? mr(e[i]) && mr(r[i]) ? e[i] = Dr(e[i], r[i], n) : e[i] = r[i] : e[i] = o;
14535
14535
  }
14536
14536
  return e;
14537
14537
  }
@@ -14547,21 +14547,21 @@ var $a = k((mo) => {
14547
14547
  return wt(e) ? e(...t) : e;
14548
14548
  }
14549
14549
  function cm(e) {
14550
- return e.reduce((t, { extend: n }) => mr(t, n, (r, i) => r === void 0 ? [i] : Array.isArray(r) ? [i, ...r] : [i, r]), {});
14550
+ return e.reduce((t, { extend: n }) => Dr(t, n, (r, i) => r === void 0 ? [i] : Array.isArray(r) ? [i, ...r] : [i, r]), {});
14551
14551
  }
14552
14552
  function dm(e) {
14553
14553
  return { ...e.reduce((t, n) => (0, Na.defaults)(t, n), {}), extend: cm(e) };
14554
14554
  }
14555
14555
  function Ma(e, t) {
14556
- if (Array.isArray(e) && hr(e[0]))
14556
+ if (Array.isArray(e) && mr(e[0]))
14557
14557
  return e.concat(t);
14558
- if (Array.isArray(t) && hr(t[0]) && hr(e))
14558
+ if (Array.isArray(t) && mr(t[0]) && mr(e))
14559
14559
  return [e, ...t];
14560
14560
  if (Array.isArray(t))
14561
14561
  return t;
14562
14562
  }
14563
14563
  function pm({ extend: e, ...t }) {
14564
- return mr(t, e, (n, r) => !wt(n) && !r.some(wt) ? mr({}, n, ...r, Ma) : (i, o) => mr({}, ...[n, ...r].map((u2) => fm(u2, i, o)), Ma));
14564
+ return Dr(t, e, (n, r) => !wt(n) && !r.some(wt) ? Dr({}, n, ...r, Ma) : (i, o) => Dr({}, ...[n, ...r].map((u2) => fm(u2, i, o)), Ma));
14565
14565
  }
14566
14566
  function* hm(e) {
14567
14567
  let t = (0, La.toPath)(e);
@@ -14617,9 +14617,9 @@ var $a = k((mo) => {
14617
14617
  }
14618
14618
  });
14619
14619
  var qa = {};
14620
- xn(qa, { default: () => vm });
14620
+ Fn(qa, { default: () => vm });
14621
14621
  var vm;
14622
- var za = yn(() => {
14622
+ var za = xn(() => {
14623
14623
  vm = { yellow: (e) => e };
14624
14624
  });
14625
14625
  var Ha = k((Do) => {
@@ -14630,17 +14630,17 @@ var Ha = k((Do) => {
14630
14630
  Object.defineProperty(e, n, { enumerable: true, get: t[n] });
14631
14631
  }
14632
14632
  ym(Do, { flagEnabled: () => wm, issueFlagNotices: () => Em, default: () => Sm });
14633
- var xm = ja((za(), Br(qa))), Fm = ja((Kr(), Br(Qr)));
14633
+ var xm = ja((za(), Ir(qa))), Fm = ja((Jr(), Ir(Kr)));
14634
14634
  function ja(e) {
14635
14635
  return e && e.__esModule ? e : { default: e };
14636
14636
  }
14637
- var Ua = { optimizeUniversalDefaults: false }, Dr = { future: ["hoverOnlyWhenSupported", "respectDefaultRingColorOpacity"], experimental: ["optimizeUniversalDefaults", "matchVariant"] };
14637
+ var Ua = { optimizeUniversalDefaults: false }, gr = { future: ["hoverOnlyWhenSupported", "respectDefaultRingColorOpacity"], experimental: ["optimizeUniversalDefaults", "matchVariant"] };
14638
14638
  function wm(e, t) {
14639
- if (Dr.future.includes(t)) {
14639
+ if (gr.future.includes(t)) {
14640
14640
  var n, r, i;
14641
14641
  return e.future === "all" || ((i = (r = e == null || (n = e.future) === null || n === void 0 ? void 0 : n[t]) !== null && r !== void 0 ? r : Ua[t]) !== null && i !== void 0 ? i : false);
14642
14642
  }
14643
- if (Dr.experimental.includes(t)) {
14643
+ if (gr.experimental.includes(t)) {
14644
14644
  var o, u2, s;
14645
14645
  return e.experimental === "all" || ((s = (u2 = e == null || (o = e.experimental) === null || o === void 0 ? void 0 : o[t]) !== null && u2 !== void 0 ? u2 : Ua[t]) !== null && s !== void 0 ? s : false);
14646
14646
  }
@@ -14648,9 +14648,9 @@ var Ha = k((Do) => {
14648
14648
  }
14649
14649
  function Ga(e) {
14650
14650
  if (e.experimental === "all")
14651
- return Dr.experimental;
14651
+ return gr.experimental;
14652
14652
  var t;
14653
- return Object.keys((t = e == null ? void 0 : e.experimental) !== null && t !== void 0 ? t : {}).filter((n) => Dr.experimental.includes(n) && e.experimental[n]);
14653
+ return Object.keys((t = e == null ? void 0 : e.experimental) !== null && t !== void 0 ? t : {}).filter((n) => gr.experimental.includes(n) && e.experimental[n]);
14654
14654
  }
14655
14655
  function Em(e) {
14656
14656
  if (process.env.JEST_WORKER_ID === void 0 && Ga(e).length > 0) {
@@ -14658,7 +14658,7 @@ var Ha = k((Do) => {
14658
14658
  Fm.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."]);
14659
14659
  }
14660
14660
  }
14661
- var Sm = Dr;
14661
+ var Sm = gr;
14662
14662
  });
14663
14663
  var Ya = k((go) => {
14664
14664
  "use strict";
@@ -14720,7 +14720,7 @@ var Vo = Nl();
14720
14720
  var Yo = Wl();
14721
14721
  var Xo = $l();
14722
14722
  var Qo = ql();
14723
- function wn(e) {
14723
+ function En(e) {
14724
14724
  if (/\.\D?$/.test(e))
14725
14725
  throw new Error("The dot should be followed by a number");
14726
14726
  if (/^[+-]{2}/.test(e))
@@ -14728,30 +14728,30 @@ function wn(e) {
14728
14728
  if (Ul(e) > 1)
14729
14729
  throw new Error("Only one dot is allowed");
14730
14730
  if (/%$/.test(e)) {
14731
- this.type = "percentage", this.value = Fn(e), this.unit = "%";
14731
+ this.type = "percentage", this.value = wn(e), this.unit = "%";
14732
14732
  return;
14733
14733
  }
14734
14734
  var t = jl(e);
14735
14735
  if (!t) {
14736
- this.type = "number", this.value = Fn(e);
14736
+ this.type = "number", this.value = wn(e);
14737
14737
  return;
14738
14738
  }
14739
- this.type = Vl(t), this.value = Fn(e.substr(0, e.length - t.length)), this.unit = t;
14739
+ this.type = Vl(t), this.value = wn(e.substr(0, e.length - t.length)), this.unit = t;
14740
14740
  }
14741
- wn.prototype.valueOf = function() {
14741
+ En.prototype.valueOf = function() {
14742
14742
  return this.value;
14743
14743
  };
14744
- wn.prototype.toString = function() {
14744
+ En.prototype.toString = function() {
14745
14745
  return this.value + (this.unit || "");
14746
14746
  };
14747
14747
  function Le(e) {
14748
- return new wn(e);
14748
+ return new En(e);
14749
14749
  }
14750
14750
  function Ul(e) {
14751
14751
  var t = e.match(/\./g);
14752
14752
  return t ? t.length : 0;
14753
14753
  }
14754
- function Fn(e) {
14754
+ function wn(e) {
14755
14755
  var t = parseFloat(e);
14756
14756
  if (isNaN(t))
14757
14757
  throw new Error("Invalid number: " + e);
@@ -14764,8 +14764,8 @@ function jl(e) {
14764
14764
  throw new Error("Invalid unit: " + n);
14765
14765
  return n;
14766
14766
  }
14767
- var Hl = Object.assign(Ir(Vo, "angle"), Ir(Xo, "frequency"), Ir(Yo, "resolution"), Ir(Qo, "time"));
14768
- function Ir(e, t) {
14767
+ var Hl = Object.assign(Rr(Vo, "angle"), Rr(Xo, "frequency"), Rr(Yo, "resolution"), Rr(Qo, "time"));
14768
+ function Rr(e, t) {
14769
14769
  return Object.fromEntries(e.map((n) => [n, t]));
14770
14770
  }
14771
14771
  function Vl(e) {
@@ -14813,14 +14813,14 @@ function O(e, t, n, r, i = false) {
14813
14813
  }
14814
14814
  else {
14815
14815
  if (o.type === "angle")
14816
- return Cn(e);
14816
+ return _n(e);
14817
14817
  if (o.type === "percentage" && i)
14818
14818
  return o.value / 100 * n;
14819
14819
  }
14820
14820
  } catch {
14821
14821
  }
14822
14822
  }
14823
- function Cn(e) {
14823
+ function _n(e) {
14824
14824
  let t = new Le(e);
14825
14825
  switch (t.unit) {
14826
14826
  case "deg":
@@ -14845,19 +14845,19 @@ function ce(e, t, n, r) {
14845
14845
  }
14846
14846
  return i;
14847
14847
  }
14848
- var En;
14849
14848
  var Sn;
14849
+ var Cn;
14850
14850
  var eu = [32, 160, 4961, 65792, 65793, 4153, 4241, 10].map((e) => String.fromCodePoint(e));
14851
14851
  function le(e, t, n) {
14852
- if (!En || !Sn) {
14852
+ if (!Sn || !Cn) {
14853
14853
  if (!(typeof Intl < "u" && "Segmenter" in Intl))
14854
14854
  throw new Error("Intl.Segmenter does not exist, please use import a polyfill.");
14855
- En = new Intl.Segmenter(n, { granularity: "word" }), Sn = new Intl.Segmenter(n, { granularity: "grapheme" });
14855
+ Sn = new Intl.Segmenter(n, { granularity: "word" }), Cn = new Intl.Segmenter(n, { granularity: "grapheme" });
14856
14856
  }
14857
14857
  if (t === "grapheme")
14858
- return [...Sn.segment(e)].map((r) => r.segment);
14858
+ return [...Cn.segment(e)].map((r) => r.segment);
14859
14859
  {
14860
- let r = [...En.segment(e)].map((u2) => u2.segment), i = [], o = 0;
14860
+ let r = [...Sn.segment(e)].map((u2) => u2.segment), i = [], o = 0;
14861
14861
  for (; o < r.length; ) {
14862
14862
  let u2 = r[o];
14863
14863
  if (u2 == "\xA0") {
@@ -14901,7 +14901,7 @@ function gt(e) {
14901
14901
  function Xl(e) {
14902
14902
  return Object.prototype.toString.call(e);
14903
14903
  }
14904
- function Rr(e) {
14904
+ function Lr(e) {
14905
14905
  return typeof e == "string";
14906
14906
  }
14907
14907
  function ru(e) {
@@ -14923,7 +14923,7 @@ function iu(e, t) {
14923
14923
  return { words: o, requiredBreaks: u2 };
14924
14924
  }
14925
14925
  var ou = (e) => e.replaceAll(/([A-Z])/g, (t, n) => `-${n.toLowerCase()}`);
14926
- function Lr(e, t = ",") {
14926
+ function Mr(e, t = ",") {
14927
14927
  let n = [], r = 0, i = 0;
14928
14928
  t = new RegExp(t);
14929
14929
  for (let o = 0; o < e.length; o++)
@@ -14932,10 +14932,10 @@ function Lr(e, t = ",") {
14932
14932
  }
14933
14933
  var Ql = "image/avif";
14934
14934
  var Kl = "image/webp";
14935
- var Mr = "image/apng";
14936
- var Nr = "image/png";
14937
- var Wr = "image/jpeg";
14938
- var $r = "image/gif";
14935
+ var Nr = "image/apng";
14936
+ var Wr = "image/png";
14937
+ var $r = "image/jpeg";
14938
+ var qr = "image/gif";
14939
14939
  var kn = "image/svg+xml";
14940
14940
  function au(e) {
14941
14941
  let t = new DataView(e), n = 4, r = t.byteLength;
@@ -14959,8 +14959,8 @@ function fu(e) {
14959
14959
  return [t.getUint16(18, false), t.getUint16(22, false)];
14960
14960
  }
14961
14961
  var Ae = tu(100);
14962
- var _n = /* @__PURE__ */ new Map();
14963
- var Jl = [Nr, Mr, Wr, $r, kn];
14962
+ var Bt = /* @__PURE__ */ new Map();
14963
+ var Jl = [Wr, Nr, $r, qr, kn];
14964
14964
  function Zl(e) {
14965
14965
  let t = "", n = new Uint8Array(e);
14966
14966
  for (let r = 0; r < n.byteLength; r++)
@@ -14983,14 +14983,14 @@ function uu(e, t) {
14983
14983
  function su(e) {
14984
14984
  let t, n = tf(new Uint8Array(e));
14985
14985
  switch (n) {
14986
+ case Wr:
14986
14987
  case Nr:
14987
- case Mr:
14988
14988
  t = fu(e);
14989
14989
  break;
14990
- case $r:
14990
+ case qr:
14991
14991
  t = lu(e);
14992
14992
  break;
14993
- case Wr:
14993
+ case $r:
14994
14994
  t = au(e);
14995
14995
  break;
14996
14996
  }
@@ -15021,14 +15021,14 @@ async function bt(e) {
15021
15021
  } else if (u2 === "base64") {
15022
15022
  let a, l2 = ef(s);
15023
15023
  switch (o) {
15024
+ case Wr:
15024
15025
  case Nr:
15025
- case Mr:
15026
15026
  a = fu(l2);
15027
15027
  break;
15028
- case $r:
15028
+ case qr:
15029
15029
  a = lu(l2);
15030
15030
  break;
15031
- case Wr:
15031
+ case $r:
15032
15032
  a = au(l2);
15033
15033
  break;
15034
15034
  }
@@ -15038,8 +15038,8 @@ async function bt(e) {
15038
15038
  }
15039
15039
  if (!globalThis.fetch)
15040
15040
  throw new Error("`fetch` is required to be polyfilled to load images.");
15041
- if (_n.has(e))
15042
- return _n.get(e);
15041
+ if (Bt.has(e))
15042
+ return Bt.get(e);
15043
15043
  let t = Ae.get(e);
15044
15044
  if (t)
15045
15045
  return t;
@@ -15057,10 +15057,10 @@ async function bt(e) {
15057
15057
  let [o, u2] = su(i);
15058
15058
  return [o, ...u2];
15059
15059
  }).then((i) => (Ae.set(n, i), i)).catch((i) => (console.error(`Can't load image ${n}: ` + i.message), Ae.set(n, []), []));
15060
- return _n.set(n, r), r;
15060
+ return Bt.set(n, r), r;
15061
15061
  }
15062
15062
  function tf(e) {
15063
- return [255, 216, 255].every((t, n) => e[n] === t) ? Wr : [137, 80, 78, 71, 13, 10, 26, 10].every((t, n) => e[n] === t) ? rf(e) ? Mr : Nr : [71, 73, 70, 56].every((t, n) => e[n] === t) ? $r : [82, 73, 70, 70, 0, 0, 0, 0, 87, 69, 66, 80].every((t, n) => !t || e[n] === t) ? Kl : [60, 63, 120, 109, 108].every((t, n) => e[n] === t) ? kn : [0, 0, 0, 0, 102, 116, 121, 112, 97, 118, 105, 102].every((t, n) => !t || e[n] === t) ? Ql : null;
15063
+ return [255, 216, 255].every((t, n) => e[n] === t) ? $r : [137, 80, 78, 71, 13, 10, 26, 10].every((t, n) => e[n] === t) ? rf(e) ? Nr : Wr : [71, 73, 70, 56].every((t, n) => e[n] === t) ? qr : [82, 73, 70, 70, 0, 0, 0, 0, 87, 69, 66, 80].every((t, n) => !t || e[n] === t) ? Kl : [60, 63, 120, 109, 108].every((t, n) => e[n] === t) ? kn : [0, 0, 0, 0, 102, 116, 121, 112, 97, 118, 105, 102].every((t, n) => !t || e[n] === t) ? Ql : null;
15064
15064
  }
15065
15065
  function rf(e) {
15066
15066
  let t = new DataView(e.buffer), n, r, i = 8, o = false;
@@ -15162,13 +15162,13 @@ function Bn(e, t) {
15162
15162
  }
15163
15163
  return n.length === 1 ? Pn(n[0], t, true) : n.length === 2 ? ((n[0] === "top" || n[0] === "bottom" || n[1] === "left" || n[1] === "right") && n.reverse(), { ...Pn(n[0], t, true), ...Pn(n[1], t, false) }) : {};
15164
15164
  }
15165
- function Bt(e, t) {
15165
+ function It(e, t) {
15166
15166
  let n = (0, import_css_to_react_native2.getPropertyName)(`mask-${t}`);
15167
15167
  return e[n] || e[`WebkitM${n.substring(1)}`];
15168
15168
  }
15169
15169
  function hu(e) {
15170
- 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" };
15171
- return Lr(t).filter((i) => i && i !== "none").reverse().map((i) => ({ image: i, ...n }));
15170
+ let t = e.maskImage || e.WebkitMaskImage, n = { position: It(e, "position") || "0% 0%", size: It(e, "size") || "100% 100%", repeat: It(e, "repeat") || "repeat", origin: It(e, "origin") || "border-box", clip: It(e, "origin") || "border-box" };
15171
+ return Mr(t).filter((i) => i && i !== "none").reverse().map((i) => ({ image: i, ...n }));
15172
15172
  }
15173
15173
  var pf = /* @__PURE__ */ new Set(["flex", "flexGrow", "flexShrink", "flexBasis", "fontWeight", "lineHeight", "opacity", "scale", "scaleX", "scaleY"]);
15174
15174
  var hf = /* @__PURE__ */ new Set(["lineHeight"]);
@@ -15222,7 +15222,7 @@ function Df(e, t, n) {
15222
15222
  return t = t.toString().trim(), /^(linear-gradient|radial-gradient|url|repeating-linear-gradient)\(/.test(t) ? (0, import_css_to_react_native.getStylesForProperty)("backgroundImage", t, true) : (0, import_css_to_react_native.getStylesForProperty)("background", t, true);
15223
15223
  if (e === "textShadow") {
15224
15224
  t = t.toString().trim();
15225
- let r = {}, i = Lr(t);
15225
+ let r = {}, i = Mr(t);
15226
15226
  for (let o of i) {
15227
15227
  let u2 = (0, import_css_to_react_native.getStylesForProperty)("textShadow", o, true);
15228
15228
  for (let s in u2)
@@ -15252,7 +15252,7 @@ function bu(e) {
15252
15252
  }
15253
15253
  return e;
15254
15254
  }
15255
- function qr(e, t) {
15255
+ function zr(e, t) {
15256
15256
  let n = {};
15257
15257
  if (e) {
15258
15258
  let i = bf(e.color, t.color);
@@ -15343,10 +15343,10 @@ function vf(e, t) {
15343
15343
  return e.replace(/currentcolor/gi, t);
15344
15344
  }
15345
15345
  function yf(e, t) {
15346
- return Rr(e) && (e = vf(e, t)), e;
15346
+ return Lr(e) && (e = vf(e, t)), e;
15347
15347
  }
15348
15348
  async function In(e, t, n, r, i) {
15349
- let o = await Re(), u2 = { ...n, ...qr(pu[t], n), ...qr(r, n) };
15349
+ let o = await Re(), u2 = { ...n, ...zr(pu[t], n), ...zr(r, n) };
15350
15350
  if (t === "img") {
15351
15351
  let [s, a, l2] = await bt(i.src);
15352
15352
  if (a === void 0 && l2 === void 0) {
@@ -15408,7 +15408,7 @@ function xf(e, t, n) {
15408
15408
  }
15409
15409
  e.splice(0, e.length), e.push(...r), e.__resolved = true;
15410
15410
  }
15411
- function It({ left: e, top: t, width: n, height: r }, i, o, u2) {
15411
+ function Rt({ left: e, top: t, width: n, height: r }, i, o, u2) {
15412
15412
  let s;
15413
15413
  i.__resolved || xf(i, n, r);
15414
15414
  let a = i;
@@ -15422,7 +15422,7 @@ function It({ left: e, top: t, width: n, height: r }, i, o, u2) {
15422
15422
  }
15423
15423
  function xu({ left: e, top: t, width: n, height: r, isInheritingTransform: i }, o) {
15424
15424
  let u2 = "", s = 1;
15425
- return o.transform && (u2 = It({ left: e, top: t, width: n, height: r }, o.transform, i, o.transformOrigin)), o.opacity !== void 0 && (s = +o.opacity), { matrix: u2, opacity: s };
15425
+ return o.transform && (u2 = Rt({ left: e, top: t, width: n, height: r }, o.transform, i, o.transformOrigin)), o.opacity !== void 0 && (s = +o.opacity), { matrix: u2, opacity: s };
15426
15426
  }
15427
15427
  function Rn({ id: e, content: t, filter: n, left: r, top: i, width: o, height: u2, matrix: s, opacity: a, image: l2, clipPathId: f, debug: c2, shape: p, decorationShape: d2 }, h2) {
15428
15428
  let m2 = "";
@@ -15438,7 +15438,7 @@ function Ff(e, t, n) {
15438
15438
  return i + (parseFloat(o) + t) + "," + (parseFloat(u2) + n);
15439
15439
  });
15440
15440
  }
15441
- var zr = 1.1;
15441
+ var Ur = 1.1;
15442
15442
  function Fu({ id: e, width: t, height: n }, r) {
15443
15443
  if (!r.shadowColor || !r.shadowOffset || typeof r.shadowRadius > "u")
15444
15444
  return "";
@@ -15447,7 +15447,7 @@ function Fu({ id: e, width: t, height: n }, r) {
15447
15447
  let p = r.shadowRadius[c2] * r.shadowRadius[c2] / 4;
15448
15448
  s = Math.min(r.shadowOffset[c2].width - p, s), a = Math.max(r.shadowOffset[c2].width + p + t, a), l2 = Math.min(r.shadowOffset[c2].height - p, l2), f = Math.max(r.shadowOffset[c2].height + p + n, f), o += E("feDropShadow", { dx: r.shadowOffset[c2].width, dy: r.shadowOffset[c2].height, stdDeviation: r.shadowRadius[c2] / 2, "flood-color": r.shadowColor[c2], "flood-opacity": 1, ...i > 1 ? { in: "SourceGraphic", result: `satori_s-${e}-result-${c2}` } : {} }), i > 1 && (u2 = E("feMergeNode", { in: `satori_s-${e}-result-${c2}` }) + u2);
15449
15449
  }
15450
- return E("filter", { id: `satori_s-${e}`, x: (s / t * 100 * zr).toFixed(2) + "%", y: (l2 / n * 100 * zr).toFixed(2) + "%", width: ((a - s) / t * 100 * zr).toFixed(2) + "%", height: ((f - l2) / n * 100 * zr).toFixed(2) + "%" }, o + (u2 ? E("feMerge", {}, u2) : ""));
15450
+ return E("filter", { id: `satori_s-${e}`, x: (s / t * 100 * Ur).toFixed(2) + "%", y: (l2 / n * 100 * Ur).toFixed(2) + "%", width: ((a - s) / t * 100 * Ur).toFixed(2) + "%", height: ((f - l2) / n * 100 * Ur).toFixed(2) + "%" }, o + (u2 ? E("feMerge", {}, u2) : ""));
15451
15451
  }
15452
15452
  function wu({ width: e, height: t, shape: n, opacity: r, id: i }, o) {
15453
15453
  if (!o.boxShadow)
@@ -15546,7 +15546,7 @@ async function* Wn(e, t) {
15546
15546
  function _e(B) {
15547
15547
  return !!(c2 && c2[B]);
15548
15548
  }
15549
- let { measureGrapheme: me, measureGraphemeArray: Fr, measureText: Ke } = Eu(N, _e, { fontSize: g2, letterSpacing: b }), Ct = Rr(v2) ? O(v2, g2, 1, r) : me(rt) * v2, wr = (B, H) => {
15549
+ let { measureGrapheme: me, measureGraphemeArray: wr, measureText: Ke } = Eu(N, _e, { fontSize: g2, letterSpacing: b }), Ct = Lr(v2) ? O(v2, g2, 1, r) : me(rt) * v2, Er = (B, H) => {
15550
15550
  if (B.length === 0)
15551
15551
  return { originWidth: 0, endingSpacesWidth: 0, text: B };
15552
15552
  let { index: K2, tabCount: W } = Of(B), ee = 0;
@@ -15558,22 +15558,22 @@ async function* Wn(e, t) {
15558
15558
  let $ = B.trimEnd() === B ? ee : Ke(B.trimEnd());
15559
15559
  return { originWidth: ee, endingSpacesWidth: ee - $, text: B };
15560
15560
  }, I = [], De = [], lt = [], ft = [], _t = [];
15561
- function gn(B) {
15561
+ function bn(B) {
15562
15562
  let H = 0, K2 = 0, W = -1, ee = 0, $ = 0, te = 0, J = 0;
15563
15563
  I = [], lt = [0], ft = [], _t = [];
15564
15564
  let z = 0, Te = 0;
15565
15565
  for (; z < A.length && H < Q; ) {
15566
- let R2 = A[z], Je = P2[z], ge = 0, { originWidth: ze, endingSpacesWidth: Ar, text: Ue } = wr(R2, $);
15566
+ let R2 = A[z], Je = P2[z], ge = 0, { originWidth: ze, endingSpacesWidth: Or, text: Ue } = Er(R2, $);
15567
15567
  R2 = Ue, ge = ze;
15568
- let V = Ar;
15568
+ let V = Or;
15569
15569
  Je && te === 0 && (te = N.height(R2));
15570
- let se = ",.!?:-@)>]}%#".indexOf(R2[0]) < 0, Ge = !$, Or = z && se && $ + ge > B + V && j;
15571
- if (ie && ge > B && (!$ || Or || Je)) {
15570
+ let se = ",.!?:-@)>]}%#".indexOf(R2[0]) < 0, Ge = !$, Pr = z && se && $ + ge > B + V && j;
15571
+ if (ie && ge > B && (!$ || Pr || Je)) {
15572
15572
  let ae = le(R2, "grapheme");
15573
15573
  A.splice(z, 1, ...ae), $ > 0 && (I.push($ - Te), De.push(J), H++, ee += te, $ = 0, te = 0, J = 0, lt.push(1), W = -1), Te = V;
15574
15574
  continue;
15575
15575
  }
15576
- if (Je || Or)
15576
+ if (Je || Pr)
15577
15577
  fe && R2 === rt && (ge = 0), I.push($ - Te), De.push(J), H++, ee += te, $ = ge, te = ge ? N.height(R2) : 0, J = ge ? N.baseline(R2) : 0, lt.push(1), W = -1, Je || (K2 = Math.max(K2, B));
15578
15578
  else {
15579
15579
  $ += ge;
@@ -15595,39 +15595,39 @@ async function* Wn(e, t) {
15595
15595
  }
15596
15596
  return $ && (H < Q && (ee += te), H++, I.push($), De.push(J)), { width: K2, height: ee };
15597
15597
  }
15598
- let Er = { width: 0, height: 0 };
15598
+ let Sr = { width: 0, height: 0 };
15599
15599
  Z.setMeasureFunc((B) => {
15600
- let { width: H, height: K2 } = gn(B);
15600
+ let { width: H, height: K2 } = bn(B);
15601
15601
  if (x2 === "balance") {
15602
15602
  let ee = H / 2, $ = H, te = H;
15603
15603
  for (; ee + 1 < $; ) {
15604
15604
  te = (ee + $) / 2;
15605
- let { height: z } = gn(te);
15605
+ let { height: z } = bn(te);
15606
15606
  z > K2 ? ee = te : $ = te;
15607
15607
  }
15608
- gn($);
15608
+ bn($);
15609
15609
  let J = Math.ceil($);
15610
- return Er = { width: J, height: K2 }, { width: J, height: K2 };
15610
+ return Sr = { width: J, height: K2 }, { width: J, height: K2 };
15611
15611
  }
15612
15612
  let W = Math.ceil(H);
15613
- return Er = { width: W, height: K2 }, { width: W, height: K2 };
15613
+ return Sr = { width: W, height: K2 }, { width: W, height: K2 };
15614
15614
  });
15615
- let [Sl, Cl] = yield, bn = "", Sr = "", $e = i._inheritedClipPathId, Mo = i._inheritedMaskId, { left: No, top: Wo, width: vn, height: _l } = Z.getComputedLayout(), Cr = o.getComputedWidth() - o.getComputedPadding(n.EDGE_LEFT) - o.getComputedPadding(n.EDGE_RIGHT) - o.getComputedBorder(n.EDGE_LEFT) - o.getComputedBorder(n.EDGE_RIGHT), ct = Sl + No, dt = Cl + Wo, { matrix: ke, opacity: _r } = xu({ left: No, top: Wo, width: vn, height: _l, isInheritingTransform: a }, r), pt = "";
15615
+ let [Sl, Cl] = yield, vn = "", Cr = "", $e = i._inheritedClipPathId, Mo = i._inheritedMaskId, { left: No, top: Wo, width: yn, height: _l } = Z.getComputedLayout(), _r = o.getComputedWidth() - o.getComputedPadding(n.EDGE_LEFT) - o.getComputedPadding(n.EDGE_RIGHT) - o.getComputedBorder(n.EDGE_LEFT) - o.getComputedBorder(n.EDGE_RIGHT), ct = Sl + No, dt = Cl + Wo, { matrix: ke, opacity: kr } = xu({ left: No, top: Wo, width: yn, height: _l, isInheritingTransform: a }, r), pt = "";
15616
15616
  if (r.textShadowOffset) {
15617
15617
  let { textShadowColor: B, textShadowOffset: H, textShadowRadius: K2 } = r;
15618
- pt = Fu({ width: Er.width, height: Er.height, id: s }, { shadowColor: B, shadowOffset: H, shadowRadius: K2 }), pt = E("defs", {}, pt);
15618
+ pt = Fu({ width: Sr.width, height: Sr.height, id: s }, { shadowColor: B, shadowOffset: H, shadowRadius: K2 }), pt = E("defs", {}, pt);
15619
15619
  }
15620
- let kt = "", kr = "", $o = "", Tr = -1, ht = {}, qe = null, qo = 0;
15620
+ let kt = "", Tr = "", $o = "", Ar = -1, ht = {}, qe = null, qo = 0;
15621
15621
  for (let B = 0; B < ft.length; B++) {
15622
15622
  let H = _t[B], K2 = _t[B + 1];
15623
15623
  if (!H)
15624
15624
  continue;
15625
15625
  let W = ft[B], ee = null, $ = false, te = c2 ? c2[W] : null, J = H.y, z = H.x, Te = H.width, R2 = H.line;
15626
- if (R2 === Tr)
15626
+ if (R2 === Ar)
15627
15627
  continue;
15628
15628
  let Je = false;
15629
15629
  if (I.length > 1) {
15630
- let V = vn - I[R2];
15630
+ let V = yn - I[R2];
15631
15631
  if (h2 === "right" || h2 === "end")
15632
15632
  z += V;
15633
15633
  else if (h2 === "center")
@@ -15637,31 +15637,31 @@ async function* Wn(e, t) {
15637
15637
  z += Ge * H.lineIndex, Je = true;
15638
15638
  }
15639
15639
  }
15640
- let ge = De[R2], ze = N.baseline(W), Ar = N.height(W), Ue = ge - ze;
15641
- if (ht[R2] || (ht[R2] = [z, dt + J + Ue, ze, Je ? vn : I[R2]]), Q !== 1 / 0) {
15640
+ let ge = De[R2], ze = N.baseline(W), Or = N.height(W), Ue = ge - ze;
15641
+ if (ht[R2] || (ht[R2] = [z, dt + J + Ue, ze, Je ? yn : I[R2]]), Q !== 1 / 0) {
15642
15642
  let Ze = function(ae, Se) {
15643
15643
  let et2 = le(Se, "grapheme", p), Ie = "", Tt = 0;
15644
15644
  for (let zo of et2) {
15645
- let Uo = ae + Fr([Ie + zo]);
15646
- if (Ie && Uo + se > Cr)
15645
+ let Uo = ae + wr([Ie + zo]);
15646
+ if (Ie && Uo + se > _r)
15647
15647
  break;
15648
15648
  Ie += zo, Tt = Uo;
15649
15649
  }
15650
15650
  return { subset: Ie, resolvedWidth: Tt };
15651
15651
  }, V = oe, se = me(oe);
15652
- se > Cr && (V = vt, se = me(V));
15653
- let Ge = me(rt), Or = R2 < I.length - 1;
15654
- if (R2 + 1 === Q && (Or || I[R2] > Cr)) {
15655
- if (z + Te + se + Ge > Cr) {
15652
+ se > _r && (V = vt, se = me(V));
15653
+ let Ge = me(rt), Pr = R2 < I.length - 1;
15654
+ if (R2 + 1 === Q && (Pr || I[R2] > _r)) {
15655
+ if (z + Te + se + Ge > _r) {
15656
15656
  let { subset: ae, resolvedWidth: Se } = Ze(z, W);
15657
- W = ae + V, Tr = R2, ht[R2][2] = Se, $ = true;
15657
+ W = ae + V, Ar = R2, ht[R2][2] = Se, $ = true;
15658
15658
  } else if (K2 && K2.line !== R2)
15659
15659
  if (h2 === "center") {
15660
15660
  let { subset: ae, resolvedWidth: Se } = Ze(z, W);
15661
- W = ae + V, Tr = R2, ht[R2][2] = Se, $ = true;
15661
+ W = ae + V, Ar = R2, ht[R2][2] = Se, $ = true;
15662
15662
  } else {
15663
15663
  let ae = ft[B + 1], { subset: Se, resolvedWidth: et2 } = Ze(Te + z, ae);
15664
- W = W + Se + V, Tr = R2, ht[R2][2] = et2, $ = true;
15664
+ W = W + Se + V, Ar = R2, ht[R2][2] = et2, $ = true;
15665
15665
  }
15666
15666
  }
15667
15667
  }
@@ -15673,7 +15673,7 @@ async function* Wn(e, t) {
15673
15673
  continue;
15674
15674
  }
15675
15675
  let V = qe === null ? W : qe + W, se = qe === null ? z : qo, Ge = H.width + z - se;
15676
- ee = N.getSVG(V.replace(/(\t)+/g, ""), { fontSize: g2, left: ct + se, top: dt + J + ze + Ue, letterSpacing: b }), qe = null, l2 && ($o += E("rect", { x: ct + se, y: dt + J + Ue, width: Ge, height: Ar, fill: "transparent", stroke: "#575eff", "stroke-width": 1, transform: ke || void 0, "clip-path": $e ? `url(#${$e})` : void 0 }) + E("line", { x1: ct + z, x2: ct + z + H.width, y1: dt + J + Ue + ze, y2: dt + J + Ue + ze, stroke: "#14c000", "stroke-width": 1, transform: ke || void 0, "clip-path": $e ? `url(#${$e})` : void 0 }));
15676
+ ee = N.getSVG(V.replace(/(\t)+/g, ""), { fontSize: g2, left: ct + se, top: dt + J + ze + Ue, letterSpacing: b }), qe = null, l2 && ($o += E("rect", { x: ct + se, y: dt + J + Ue, width: Ge, height: Or, fill: "transparent", stroke: "#575eff", "stroke-width": 1, transform: ke || void 0, "clip-path": $e ? `url(#${$e})` : void 0 }) + E("line", { x1: ct + z, x2: ct + z + H.width, y1: dt + J + Ue + ze, y2: dt + J + Ue + ze, stroke: "#14c000", "stroke-width": 1, transform: ke || void 0, "clip-path": $e ? `url(#${$e})` : void 0 }));
15677
15677
  } else
15678
15678
  J += ze + Ue;
15679
15679
  if (r.textDecorationLine) {
@@ -15681,19 +15681,19 @@ async function* Wn(e, t) {
15681
15681
  V && !V[4] && (kt += Ln({ left: ct + V[0], top: V[1], width: V[3], ascender: V[2], clipPathId: $e, matrix: ke }, r), V[4] = 1);
15682
15682
  }
15683
15683
  if (ee !== null)
15684
- kr += ee + " ";
15684
+ Tr += ee + " ";
15685
15685
  else {
15686
- let [V, se] = Rn({ content: W, filter: pt, id: s, left: ct + z, top: dt + J, width: Te, height: Ar, matrix: ke, opacity: _r, image: te, clipPathId: $e, debug: l2, shape: !!y, decorationShape: kt }, r);
15687
- bn += V, Sr += se, kt = "";
15686
+ let [V, se] = Rn({ content: W, filter: pt, id: s, left: ct + z, top: dt + J, width: Te, height: Or, matrix: ke, opacity: kr, image: te, clipPathId: $e, debug: l2, shape: !!y, decorationShape: kt }, r);
15687
+ vn += V, Cr += se, kt = "";
15688
15688
  }
15689
15689
  if ($)
15690
15690
  break;
15691
15691
  }
15692
- if (kr) {
15693
- let B = r.color !== "transparent" && _r !== 0 ? E("path", { fill: r.color, d: kr, transform: ke || void 0, opacity: _r !== 1 ? _r : void 0, "clip-path": $e ? `url(#${$e})` : void 0, mask: Mo ? `url(#${Mo})` : void 0, style: S2 ? `filter:${S2}` : void 0, "stroke-width": i.WebkitTextStrokeWidth ? `${i.WebkitTextStrokeWidth}px` : void 0, stroke: i.WebkitTextStrokeWidth ? i.WebkitTextStrokeColor : void 0, "stroke-linejoin": i.WebkitTextStrokeWidth ? "round" : void 0, "paint-order": i.WebkitTextStrokeWidth ? "stroke" : void 0 }) : "";
15694
- y && (Sr = E("path", { d: kr, transform: ke || void 0 })), bn += (pt ? pt + E("g", { filter: `url(#satori_s-${s})` }, B + kt) : B + kt) + $o;
15692
+ if (Tr) {
15693
+ let B = r.color !== "transparent" && kr !== 0 ? E("path", { fill: r.color, d: Tr, transform: ke || void 0, opacity: kr !== 1 ? kr : void 0, "clip-path": $e ? `url(#${$e})` : void 0, mask: Mo ? `url(#${Mo})` : void 0, style: S2 ? `filter:${S2}` : void 0, "stroke-width": i.WebkitTextStrokeWidth ? `${i.WebkitTextStrokeWidth}px` : void 0, stroke: i.WebkitTextStrokeWidth ? i.WebkitTextStrokeColor : void 0, "stroke-linejoin": i.WebkitTextStrokeWidth ? "round" : void 0, "paint-order": i.WebkitTextStrokeWidth ? "stroke" : void 0 }) : "";
15694
+ y && (Cr = E("path", { d: Tr, transform: ke || void 0 })), vn += (pt ? pt + E("g", { filter: `url(#satori_s-${s})` }, B + kt) : B + kt) + $o;
15695
15695
  }
15696
- return Sr && (r._inheritedBackgroundClipTextPath.value += Sr), bn;
15696
+ return Cr && (r._inheritedBackgroundClipTextPath.value += Cr), vn;
15697
15697
  }
15698
15698
  function Af(e, t) {
15699
15699
  let n = e.Node.create();
@@ -15703,7 +15703,7 @@ function Of(e) {
15703
15703
  let t = /(\t)+/.exec(e);
15704
15704
  return t ? { index: t.index, tabCount: t[0].length } : { index: null, tabCount: 0 };
15705
15705
  }
15706
- function Ur(e, t, n, r, i) {
15706
+ function Gr(e, t, n, r, i) {
15707
15707
  let o = [];
15708
15708
  for (let l2 of t) {
15709
15709
  let { color: f } = l2;
@@ -15733,11 +15733,11 @@ function Cu({ id: e, width: t, height: n, repeatX: r, repeatY: i }, o, u2, s, a,
15733
15733
  if (f.orientation.type === "directional")
15734
15734
  h2 = If(f.orientation.value), m2 = Math.sqrt(Math.pow((h2.x2 - h2.x1) * c2, 2) + Math.pow((h2.y2 - h2.y1) * p, 2));
15735
15735
  else if (f.orientation.type === "angular") {
15736
- let { length: y, ...T } = Rf(Cn(`${f.orientation.value.value}${f.orientation.value.unit}`) / 180 * Math.PI, c2, p);
15736
+ let { length: y, ...T } = Rf(_n(`${f.orientation.value.value}${f.orientation.value.unit}`) / 180 * Math.PI, c2, p);
15737
15737
  m2 = y, h2 = T;
15738
15738
  }
15739
15739
  x2 = d2 ? Lf(f.stops, m2, h2, a) : h2;
15740
- let g2 = Ur(m2, f.stops, a, d2, l2), S2 = `satori_bi${e}`, v2 = `satori_pattern_${e}`, b = E("pattern", { id: v2, x: s[0] / t, y: s[1] / n, width: r ? c2 / t : "1", height: i ? p / n : "1", patternUnits: "objectBoundingBox" }, E("linearGradient", { id: S2, ...x2, spreadMethod: d2 ? "repeat" : "pad" }, g2.map((y) => E("stop", { offset: (y.offset ?? 0) * 100 + "%", "stop-color": y.color })).join("")) + E("rect", { x: 0, y: 0, width: c2, height: p, fill: `url(#${S2})` }));
15740
+ let g2 = Gr(m2, f.stops, a, d2, l2), S2 = `satori_bi${e}`, v2 = `satori_pattern_${e}`, b = E("pattern", { id: v2, x: s[0] / t, y: s[1] / n, width: r ? c2 / t : "1", height: i ? p / n : "1", patternUnits: "objectBoundingBox" }, E("linearGradient", { id: S2, ...x2, spreadMethod: d2 ? "repeat" : "pad" }, g2.map((y) => E("stop", { offset: (y.offset ?? 0) * 100 + "%", "stop-color": y.color })).join("")) + E("rect", { x: 0, y: 0, width: c2, height: p, fill: `url(#${S2})` }));
15741
15741
  return [v2, b];
15742
15742
  }
15743
15743
  function If(e) {
@@ -15774,7 +15774,7 @@ function ku({ id: e, width: t, height: n, repeatX: r, repeatY: i }, o, u2, s, a,
15774
15774
  var ie;
15775
15775
  let { shape: f, stops: c2, position: p, size: d2 } = K(o), [h2, m2] = u2, x2 = h2 / 2, g2 = m2 / 2, S2 = Nf(p.x, p.y, h2, m2, a.fontSize, a);
15776
15776
  x2 = S2.x, g2 = S2.y;
15777
- let v2 = Ur(t, c2, a, false, l2), b = `satori_radial_${e}`, y = `satori_pattern_${e}`, T = `satori_mask_${e}`, A = Wf(f, d2, a.fontSize, { x: x2, y: g2 }, [h2, m2], a), P2 = E("pattern", { id: y, x: s[0] / t, y: s[1] / n, width: r ? h2 / t : "1", height: i ? m2 / n : "1", patternUnits: "objectBoundingBox" }, E("radialGradient", { id: b }, v2.map((ue) => E("stop", { offset: ue.offset || 0, "stop-color": ue.color })).join("")) + E("mask", { id: T }, E("rect", { x: 0, y: 0, width: h2, height: m2, fill: "#fff" })) + E("rect", { x: 0, y: 0, width: h2, height: m2, fill: ((ie = v2.at(-1)) == null ? void 0 : ie.color) || "transparent" }) + E(f, { cx: x2, cy: g2, width: h2, height: m2, ...A, fill: `url(#${b})`, mask: `url(#${T})` }));
15777
+ let v2 = Gr(t, c2, a, false, l2), b = `satori_radial_${e}`, y = `satori_pattern_${e}`, T = `satori_mask_${e}`, A = Wf(f, d2, a.fontSize, { x: x2, y: g2 }, [h2, m2], a), P2 = E("pattern", { id: y, x: s[0] / t, y: s[1] / n, width: r ? h2 / t : "1", height: i ? m2 / n : "1", patternUnits: "objectBoundingBox" }, E("radialGradient", { id: b }, v2.map((ue) => E("stop", { offset: ue.offset || 0, "stop-color": ue.color })).join("")) + E("mask", { id: T }, E("rect", { x: 0, y: 0, width: h2, height: m2, fill: "#fff" })) + E("rect", { x: 0, y: 0, width: h2, height: m2, fill: ((ie = v2.at(-1)) == null ? void 0 : ie.color) || "transparent" }) + E(f, { cx: x2, cy: g2, width: h2, height: m2, ...A, fill: `url(#${b})`, mask: `url(#${T})` }));
15778
15778
  return [y, P2];
15779
15779
  }
15780
15780
  function Nf(e, t, n, r, i, o) {
@@ -15838,7 +15838,7 @@ function $n(e, { x: t, y: n, defaultX: r, defaultY: i }) {
15838
15838
  }
15839
15839
  }).filter((o) => o !== null) : [r, i]).map((o, u2) => qf(o, [t, n][u2]));
15840
15840
  }
15841
- async function Rt({ id: e, width: t, height: n, left: r, top: i }, { image: o, size: u2, position: s, repeat: a }, l2, f) {
15841
+ async function Lt({ id: e, width: t, height: n, left: r, top: i }, { image: o, size: u2, position: s, repeat: a }, l2, f) {
15842
15842
  a = a || "repeat", f = f || "background";
15843
15843
  let c2 = a === "repeat-x" || a === "repeat", p = a === "repeat-y" || a === "repeat", d2 = $n(u2, { x: t, y: n, defaultX: t, defaultY: n }), h2 = $n(s, { x: t, y: n, defaultX: 0, defaultY: 0 });
15844
15844
  if (o.startsWith("linear-gradient(") || o.startsWith("repeating-linear-gradient("))
@@ -15854,29 +15854,29 @@ async function Rt({ id: e, width: t, height: n, left: r, top: i }, { image: o, s
15854
15854
  function zf([e, t]) {
15855
15855
  return Math.round(e * 1e3) === 0 && Math.round(t * 1e3) === 0 ? 0 : Math.round(e * t / Math.sqrt(e * e + t * t) * 1e3) / 1e3;
15856
15856
  }
15857
- function Gr(e, t, n) {
15857
+ function jr(e, t, n) {
15858
15858
  return n < e + t && (n / 2 < e && n / 2 < t ? e = t = n / 2 : n / 2 < e ? e = n - t : n / 2 < t && (t = n - e)), [e, t];
15859
15859
  }
15860
- function jr(e) {
15860
+ function Hr(e) {
15861
15861
  e[0] = e[1] = Math.min(e[0], e[1]);
15862
15862
  }
15863
- function Hr(e, t, n, r, i) {
15863
+ function Vr(e, t, n, r, i) {
15864
15864
  if (typeof e == "string") {
15865
15865
  let o = e.split(" ").map((s) => s.trim()), u2 = !o[1] && !o[0].endsWith("%");
15866
15866
  return o[1] = o[1] || o[0], [u2, [Math.min(O(o[0], r, t, i, true), t), Math.min(O(o[1], r, n, i, true), n)]];
15867
15867
  }
15868
15868
  return typeof e == "number" ? [true, [Math.min(e, t), Math.min(e, n)]] : [true, void 0];
15869
15869
  }
15870
- var Vr = (e) => e && e[0] !== 0 && e[1] !== 0;
15870
+ var Yr = (e) => e && e[0] !== 0 && e[1] !== 0;
15871
15871
  function Tu({ id: e, borderRadiusPath: t, borderType: n, left: r, top: i, width: o, height: u2 }, s) {
15872
15872
  let a = `satori_brc-${e}`;
15873
15873
  return [E("clipPath", { id: a }, E(n, { x: r, y: i, width: o, height: u2, d: t || void 0 })), a];
15874
15874
  }
15875
15875
  function He({ left: e, top: t, width: n, height: r }, i, o) {
15876
15876
  let { borderTopLeftRadius: u2, borderTopRightRadius: s, borderBottomLeftRadius: a, borderBottomRightRadius: l2, fontSize: f } = i, c2, p, d2, h2;
15877
- if ([c2, u2] = Hr(u2, n, r, f, i), [p, s] = Hr(s, n, r, f, i), [d2, a] = Hr(a, n, r, f, i), [h2, l2] = Hr(l2, n, r, f, i), !o && !Vr(u2) && !Vr(s) && !Vr(a) && !Vr(l2))
15877
+ if ([c2, u2] = Vr(u2, n, r, f, i), [p, s] = Vr(s, n, r, f, i), [d2, a] = Vr(a, n, r, f, i), [h2, l2] = Vr(l2, n, r, f, i), !o && !Yr(u2) && !Yr(s) && !Yr(a) && !Yr(l2))
15878
15878
  return "";
15879
- u2 || (u2 = [0, 0]), s || (s = [0, 0]), a || (a = [0, 0]), l2 || (l2 = [0, 0]), [u2[0], s[0]] = Gr(u2[0], s[0], n), [a[0], l2[0]] = Gr(a[0], l2[0], n), [u2[1], a[1]] = Gr(u2[1], a[1], r), [s[1], l2[1]] = Gr(s[1], l2[1], r), c2 && jr(u2), p && jr(s), d2 && jr(a), h2 && jr(l2);
15879
+ u2 || (u2 = [0, 0]), s || (s = [0, 0]), a || (a = [0, 0]), l2 || (l2 = [0, 0]), [u2[0], s[0]] = jr(u2[0], s[0], n), [a[0], l2[0]] = jr(a[0], l2[0], n), [u2[1], a[1]] = jr(u2[1], a[1], r), [s[1], l2[1]] = jr(s[1], l2[1], r), c2 && Hr(u2), p && Hr(s), d2 && Hr(a), h2 && Hr(l2);
15880
15880
  let m2 = [];
15881
15881
  m2[0] = [s, s], m2[1] = [l2, [-l2[0], l2[1]]], m2[2] = [a, [-a[0], -a[1]]], m2[3] = [u2, [u2[0], -u2[1]]];
15882
15882
  let x2 = `h${n - u2[0] - s[0]} a${m2[0][0]} 0 0 1 ${m2[0][1]}`, g2 = `v${r - s[1] - l2[1]} a${m2[1][0]} 0 0 1 ${m2[1][1]}`, S2 = `h${l2[0] + a[0] - n} a${m2[2][0]} 0 0 1 ${m2[2][1]}`, v2 = `v${a[1] + u2[1] - r} a${m2[3][0]} 0 0 1 ${m2[3][1]}`;
@@ -15911,7 +15911,7 @@ function Ou({ id: e, currentClipPathId: t, borderPath: n, borderType: r, left: i
15911
15911
  let f = `satori_bc-${e}`;
15912
15912
  return [E("clipPath", { id: f, "clip-path": t ? `url(#${t})` : void 0 }, E(r, { x: i, y: o, width: u2, height: s, d: n || void 0 })), f];
15913
15913
  }
15914
- function Lt({ left: e, top: t, width: n, height: r, props: i, asContentMask: o, maskBorderOnly: u2 }, s) {
15914
+ function Mt({ left: e, top: t, width: n, height: r, props: i, asContentMask: o, maskBorderOnly: u2 }, s) {
15915
15915
  let a = ["borderTop", "borderRight", "borderBottom", "borderLeft"];
15916
15916
  if (!o && !a.some((d2) => s[d2 + "Width"]))
15917
15917
  return "";
@@ -15934,40 +15934,40 @@ function Lt({ left: e, top: t, width: n, height: r, props: i, asContentMask: o,
15934
15934
  }
15935
15935
  function qn({ id: e, left: t, top: n, width: r, height: i, matrix: o, borderOnly: u2 }, s) {
15936
15936
  let a = (s.borderLeftWidth || 0) + (u2 ? 0 : s.paddingLeft || 0), l2 = (s.borderTopWidth || 0) + (u2 ? 0 : s.paddingTop || 0), f = (s.borderRightWidth || 0) + (u2 ? 0 : s.paddingRight || 0), c2 = (s.borderBottomWidth || 0) + (u2 ? 0 : s.paddingBottom || 0), p = { x: t + a, y: n + l2, width: r - a - f, height: i - l2 - c2 };
15937
- return E("mask", { id: e }, E("rect", { ...p, fill: "#fff", transform: s.overflow === "hidden" && s.transform && o ? o : void 0, mask: s._inheritedMaskId ? `url(#${s._inheritedMaskId})` : void 0 }) + Lt({ left: t, top: n, width: r, height: i, props: { transform: o || void 0 }, asContentMask: true, maskBorderOnly: u2 }, s));
15937
+ return E("mask", { id: e }, E("rect", { ...p, fill: "#fff", transform: s.overflow === "hidden" && s.transform && o ? o : void 0, mask: s._inheritedMaskId ? `url(#${s._inheritedMaskId})` : void 0 }) + Mt({ left: t, top: n, width: r, height: i, props: { transform: o || void 0 }, asContentMask: true, maskBorderOnly: u2 }, s));
15938
15938
  }
15939
- var Mt = { circle: /circle\((.+)\)/, ellipse: /ellipse\((.+)\)/, path: /path\((.+)\)/, polygon: /polygon\((.+)\)/, inset: /inset\((.+)\)/ };
15939
+ var Nt = { circle: /circle\((.+)\)/, ellipse: /ellipse\((.+)\)/, path: /path\((.+)\)/, polygon: /polygon\((.+)\)/, inset: /inset\((.+)\)/ };
15940
15940
  function Ru({ width: e, height: t }, n, r) {
15941
15941
  function i(l2) {
15942
- let f = l2.match(Mt.circle);
15942
+ let f = l2.match(Nt.circle);
15943
15943
  if (!f)
15944
15944
  return null;
15945
15945
  let [, c2] = f, [p, d2 = ""] = c2.split("at").map((x2) => x2.trim()), { x: h2, y: m2 } = Iu(d2, e, t);
15946
15946
  return { type: "circle", r: O(p, r.fontSize, Math.sqrt(Math.pow(e, 2) + Math.pow(t, 2)) / Math.sqrt(2), r, true), cx: O(h2, r.fontSize, e, r, true), cy: O(m2, r.fontSize, t, r, true) };
15947
15947
  }
15948
15948
  function o(l2) {
15949
- let f = l2.match(Mt.ellipse);
15949
+ let f = l2.match(Nt.ellipse);
15950
15950
  if (!f)
15951
15951
  return null;
15952
15952
  let [, c2] = f, [p, d2 = ""] = c2.split("at").map((S2) => S2.trim()), [h2, m2] = p.split(" "), { x: x2, y: g2 } = Iu(d2, e, t);
15953
15953
  return { type: "ellipse", rx: O(h2 || "50%", r.fontSize, e, r, true), ry: O(m2 || "50%", r.fontSize, t, r, true), cx: O(x2, r.fontSize, e, r, true), cy: O(g2, r.fontSize, t, r, true) };
15954
15954
  }
15955
15955
  function u2(l2) {
15956
- let f = l2.match(Mt.path);
15956
+ let f = l2.match(Nt.path);
15957
15957
  if (!f)
15958
15958
  return null;
15959
15959
  let [c2, p] = Bu(f[1]);
15960
15960
  return { type: "path", d: p, "fill-rule": c2 };
15961
15961
  }
15962
15962
  function s(l2) {
15963
- let f = l2.match(Mt.polygon);
15963
+ let f = l2.match(Nt.polygon);
15964
15964
  if (!f)
15965
15965
  return null;
15966
15966
  let [c2, p] = Bu(f[1]);
15967
15967
  return { type: "polygon", "fill-rule": c2, points: p.split(",").map((d2) => d2.split(" ").map((h2, m2) => O(h2, r.fontSize, m2 === 0 ? e : t, r, true)).join(" ")).join(",") };
15968
15968
  }
15969
15969
  function a(l2) {
15970
- let f = l2.match(Mt.inset);
15970
+ let f = l2.match(Nt.inset);
15971
15971
  if (!f)
15972
15972
  return null;
15973
15973
  let [c2, p] = (f[1].includes("round") ? f[1] : `${f[1].trim()} round 0`).split("round"), d2 = (0, import_css_to_react_native3.getStylesForProperty)("borderRadius", p, true), h2 = Object.values(d2).map((b) => String(b)).map((b, y) => O(b, r.fontSize, y === 0 || y === 2 ? t : e, r, true) || 0), m2 = Object.values((0, import_css_to_react_native3.getStylesForProperty)("margin", c2, true)).map((b) => String(b)).map((b, y) => O(b, r.fontSize, y === 0 || y === 2 ? t : e, r, true) || 0), x2 = m2[3], g2 = m2[0], S2 = e - (m2[1] + m2[3]), v2 = t - (m2[0] + m2[2]);
@@ -15985,11 +15985,11 @@ function Iu(e, t, n) {
15985
15985
  o === "top" ? i.y = 0 : o === "bottom" ? i.y = n : o === "left" ? i.x = 0 : o === "right" ? i.x = t : o === "center" && (i.x = t / 2, i.y = n / 2);
15986
15986
  }), i;
15987
15987
  }
15988
- function Yr(e) {
15988
+ function Xr(e) {
15989
15989
  return `satori_cp-${e}`;
15990
15990
  }
15991
15991
  function Lu(e) {
15992
- return `url(#${Yr(e)})`;
15992
+ return `url(#${Xr(e)})`;
15993
15993
  }
15994
15994
  function Mu(e, t, n) {
15995
15995
  if (t.clipPath === "none")
@@ -16000,7 +16000,7 @@ function Mu(e, t, n) {
16000
16000
  break;
16001
16001
  if (o) {
16002
16002
  let { type: u2, ...s } = o;
16003
- return E("clipPath", { id: Yr(e.id), "clip-path": e.currentClipPath, transform: `translate(${e.left}, ${e.top})` }, E(u2, s));
16003
+ return E("clipPath", { id: Xr(e.id), "clip-path": e.currentClipPath, transform: `translate(${e.left}, ${e.top})` }, E(u2, s));
16004
16004
  }
16005
16005
  return "";
16006
16006
  }
@@ -16009,7 +16009,7 @@ function zn({ left: e, top: t, width: n, height: r, path: i, matrix: o, id: u2,
16009
16009
  if (l2.overflow !== "hidden" && !a)
16010
16010
  c2 = "";
16011
16011
  else {
16012
- let h2 = p ? `satori_ocp-${u2}` : Yr(u2);
16012
+ let h2 = p ? `satori_ocp-${u2}` : Xr(u2);
16013
16013
  c2 = E("clipPath", { id: h2, "clip-path": s }, E(i ? "path" : "rect", { x: e, y: t, width: n, height: r, d: i || void 0, transform: l2.overflow === "hidden" && l2.transform && o ? o : void 0 }));
16014
16014
  }
16015
16015
  let d2 = qn({ id: `satori_om-${u2}`, left: e, top: t, width: n, height: r, matrix: o, borderOnly: !a }, l2);
@@ -16024,21 +16024,21 @@ async function Un(e, t, n) {
16024
16024
  return ["", ""];
16025
16025
  let f = Uf(s), c2 = "";
16026
16026
  for (let p = 0; p < l2; p++) {
16027
- let d2 = a[p], [h2, m2] = await Rt({ id: `${f}-${p}`, left: r, top: i, width: o, height: u2 }, d2, n, "mask");
16027
+ let d2 = a[p], [h2, m2] = await Lt({ id: `${f}-${p}`, left: r, top: i, width: o, height: u2 }, d2, n, "mask");
16028
16028
  c2 += m2 + E("rect", { x: r, y: i, width: o, height: u2, fill: `url(#${h2})` });
16029
16029
  }
16030
16030
  return c2 = E("mask", { id: f }, c2), [f, c2];
16031
16031
  }
16032
- async function Nt({ id: e, left: t, top: n, width: r, height: i, isInheritingTransform: o, src: u2, debug: s }, a, l2) {
16032
+ async function Wt({ id: e, left: t, top: n, width: r, height: i, isInheritingTransform: o, src: u2, debug: s }, a, l2) {
16033
16033
  if (a.display === "none")
16034
16034
  return "";
16035
16035
  let f = !!u2, c2 = "rect", p = "", d2 = "", h2 = [], m2 = 1, x2 = "";
16036
- a.backgroundColor && h2.push(a.backgroundColor), a.opacity !== void 0 && (m2 = +a.opacity), a.transform && (p = It({ left: t, top: n, width: r, height: i }, a.transform, o, a.transformOrigin));
16036
+ a.backgroundColor && h2.push(a.backgroundColor), a.opacity !== void 0 && (m2 = +a.opacity), a.transform && (p = Rt({ left: t, top: n, width: r, height: i }, a.transform, o, a.transformOrigin));
16037
16037
  let g2 = "";
16038
16038
  if (a.backgroundImage) {
16039
16039
  let Z = [];
16040
16040
  for (let N = 0; N < a.backgroundImage.length; N++) {
16041
- let Ee = a.backgroundImage[N], _e = await Rt({ id: e + "_" + N, width: r, height: i, left: t, top: n }, Ee, l2);
16041
+ let Ee = a.backgroundImage[N], _e = await Lt({ id: e + "_" + N, width: r, height: i, left: t, top: n }, Ee, l2);
16042
16042
  _e && Z.unshift(_e);
16043
16043
  }
16044
16044
  for (let N of Z)
@@ -16058,7 +16058,7 @@ async function Nt({ id: e, left: t, top: n, width: r, height: i, isInheritingTra
16058
16058
  if (fe) {
16059
16059
  d2 += fe[0];
16060
16060
  let Z = fe[1];
16061
- ue += Lt({ left: t, top: n, width: r, height: i, props: { transform: p || void 0, "clip-path": `url(#${Z})` } }, a);
16061
+ ue += Mt({ left: t, top: n, width: r, height: i, props: { transform: p || void 0, "clip-path": `url(#${Z})` } }, a);
16062
16062
  }
16063
16063
  let oe = wu({ width: r, height: i, id: e, opacity: m2, shape: E(c2, { 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: b }) }, a);
16064
16064
  return (d2 ? E("defs", {}, d2) : "") + (oe ? oe[0] : "") + (Q ? Q[0] : "") + ie + (m2 !== 1 ? `<g opacity="${m2}">` : "") + (a.transform && (j || b) ? `<g${j ? ` clip-path="${j}"` : ""}${b ? ` mask="${b}"` : ""}>` : "") + (g2 || ue) + (a.transform && (j || b) ? "</g>" : "") + (m2 !== 1 ? "</g>" : "") + (oe ? oe[1] : "") + x2;
@@ -16067,9 +16067,9 @@ var Nu = () => /[#*0-9]\uFE0F?\u20E3|[\xA9\xAE\u203C\u2049\u2122\u2139\u2194-\u2
16067
16067
  var Gf = new RegExp(Nu(), "");
16068
16068
  var Gn = { emoji: Gf, symbol: /\p{Symbol}/u, math: /\p{Math}/u };
16069
16069
  var jn = { "ja-JP": /\p{scx=Hira}|\p{scx=Kana}|\p{scx=Han}|[\u3000]|[\uFF00-\uFFEF]/u, "ko-KR": /\p{scx=Hangul}/u, "zh-CN": /\p{scx=Han}/u, "zh-TW": /\p{scx=Han}/u, "zh-HK": /\p{scx=Han}/u, "th-TH": /\p{scx=Thai}/u, "bn-IN": /\p{scx=Bengali}/u, "ar-AR": /\p{scx=Arabic}/u, "ta-IN": /\p{scx=Tamil}/u, "ml-IN": /\p{scx=Malayalam}/u, "he-IL": /\p{scx=Hebrew}/u, "te-IN": /\p{scx=Telugu}/u, devanagari: /\p{scx=Devanagari}/u, kannada: /\p{scx=Kannada}/u };
16070
- var Xr = Object.keys({ ...jn, ...Gn });
16070
+ var Qr = Object.keys({ ...jn, ...Gn });
16071
16071
  function Wu(e) {
16072
- return Xr.includes(e);
16072
+ return Qr.includes(e);
16073
16073
  }
16074
16074
  function $u(e, t) {
16075
16075
  for (let r of Object.keys(Gn))
@@ -16086,10 +16086,10 @@ function $u(e, t) {
16086
16086
  }
16087
16087
  function qu(e) {
16088
16088
  if (e)
16089
- return Xr.find((t) => t.toLowerCase().startsWith(e.toLowerCase()));
16089
+ return Qr.find((t) => t.toLowerCase().startsWith(e.toLowerCase()));
16090
16090
  }
16091
- async function* Wt(e, t) {
16092
- var wr;
16091
+ async function* $t(e, t) {
16092
+ var Er;
16093
16093
  let n = await Re(), { id: r, inheritedStyle: i, parent: o, font: u2, debug: s, locale: a, embedFont: l2 = true, graphemeImages: f, canLoadAdditionalAssets: c2, getTwStyles: p } = t;
16094
16094
  if (e === null || typeof e > "u")
16095
16095
  return yield, yield, "";
@@ -16100,7 +16100,7 @@ async function* Wt(e, t) {
16100
16100
  else {
16101
16101
  if (Ko(e.type))
16102
16102
  throw new Error("Class component is not supported.");
16103
- I = Wt(e.type(e.props), t), yield (await I.next()).value;
16103
+ I = $t(e.type(e.props), t), yield (await I.next()).value;
16104
16104
  }
16105
16105
  await I.next();
16106
16106
  let De = yield;
@@ -16123,7 +16123,7 @@ async function* Wt(e, t) {
16123
16123
  }
16124
16124
  let P2 = Zo(x2), j = [], ie = 0, ue = [];
16125
16125
  for (let I of P2) {
16126
- let De = Wt(I, { id: r + "-" + ie++, parentStyle: y, inheritedStyle: T, isInheritingTransform: true, parent: b, font: u2, embedFont: l2, debug: s, graphemeImages: f, canLoadAdditionalAssets: c2, locale: v2, getTwStyles: p, onNodeDetected: t.onNodeDetected });
16126
+ let De = $t(I, { id: r + "-" + ie++, parentStyle: y, inheritedStyle: T, isInheritingTransform: true, parent: b, font: u2, embedFont: l2, debug: s, graphemeImages: f, canLoadAdditionalAssets: c2, locale: v2, getTwStyles: p, onNodeDetected: t.onNodeDetected });
16127
16127
  c2 ? ue.push(...(await De.next()).value || []) : await De.next(), j.push(De);
16128
16128
  }
16129
16129
  yield ue;
@@ -16131,22 +16131,22 @@ async function* Wt(e, t) {
16131
16131
  await I.next();
16132
16132
  let [fe, Q] = yield, { left: oe, top: Z, width: N, height: Ee } = b.getComputedLayout();
16133
16133
  oe += fe, Z += Q;
16134
- let _e = "", me = "", Fr = "", { children: Ke, ...Ct } = h2;
16135
- if ((wr = t.onNodeDetected) == null || wr.call(t, { left: oe, top: Z, width: N, height: Ee, type: d2, props: Ct, key: e.key, textContent: Dt(Ke) ? void 0 : Ke }), d2 === "img") {
16134
+ let _e = "", me = "", wr = "", { children: Ke, ...Ct } = h2;
16135
+ if ((Er = t.onNodeDetected) == null || Er.call(t, { left: oe, top: Z, width: N, height: Ee, type: d2, props: Ct, key: e.key, textContent: Dt(Ke) ? void 0 : Ke }), d2 === "img") {
16136
16136
  let I = y.__src;
16137
- me = await Nt({ id: r, left: oe, top: Z, width: N, height: Ee, src: I, isInheritingTransform: A, debug: s }, y, T);
16137
+ me = await Wt({ id: r, left: oe, top: Z, width: N, height: Ee, src: I, isInheritingTransform: A, debug: s }, y, T);
16138
16138
  } else if (d2 === "svg") {
16139
16139
  let I = y.color, De = await du(e, I);
16140
- me = await Nt({ id: r, left: oe, top: Z, width: N, height: Ee, src: De, isInheritingTransform: A, debug: s }, y, T);
16140
+ me = await Wt({ id: r, left: oe, top: Z, width: N, height: Ee, src: De, isInheritingTransform: A, debug: s }, y, T);
16141
16141
  } else {
16142
16142
  let I = m2 == null ? void 0 : m2.display;
16143
16143
  if (d2 === "div" && x2 && typeof x2 != "string" && I !== "flex" && I !== "none")
16144
16144
  throw new Error('Expected <div> to have explicit "display: flex" or "display: none" if it has more than one child node.');
16145
- me = await Nt({ id: r, left: oe, top: Z, width: N, height: Ee, isInheritingTransform: A, debug: s }, y, T);
16145
+ me = await Wt({ id: r, left: oe, top: Z, width: N, height: Ee, isInheritingTransform: A, debug: s }, y, T);
16146
16146
  }
16147
16147
  for (let I of j)
16148
16148
  _e += (await I.next([oe, Z])).value;
16149
- return y._inheritedBackgroundClipTextPath && (Fr += E("clipPath", { id: `satori_bct-${r}`, "clip-path": y._inheritedClipPathId ? `url(#${y._inheritedClipPathId})` : void 0 }, y._inheritedBackgroundClipTextPath.value)), Fr + me + _e;
16149
+ return y._inheritedBackgroundClipTextPath && (wr += E("clipPath", { id: `satori_bct-${r}`, "clip-path": y._inheritedClipPathId ? `url(#${y._inheritedClipPathId})` : void 0 }, y._inheritedBackgroundClipTextPath.value)), wr + me + _e;
16150
16150
  }
16151
16151
  var zu = "unknown";
16152
16152
  function jf(e, t, [n, r], [i, o]) {
@@ -16160,7 +16160,7 @@ function jf(e, t, [n, r], [i, o]) {
16160
16160
  }
16161
16161
  return -1;
16162
16162
  }
16163
- var $t = class {
16163
+ var qt = class {
16164
16164
  defaultFont;
16165
16165
  fonts = /* @__PURE__ */ new Map();
16166
16166
  constructor(t) {
@@ -16181,7 +16181,7 @@ var $t = class {
16181
16181
  for (let n of t) {
16182
16182
  let { name: r, data: i, lang: o } = n;
16183
16183
  if (o && !Wu(o))
16184
- throw new Error(`Invalid value for props \`lang\`: "${o}". The value must be one of the following: ${Xr.join(", ")}.`);
16184
+ throw new Error(`Invalid value for props \`lang\`: "${o}". The value must be one of the following: ${Qr.join(", ")}.`);
16185
16185
  let u2 = o ?? zu, s = opentype_module_default.parse("buffer" in i ? i.buffer.slice(i.byteOffset, i.byteOffset + i.byteLength) : i, { lowMemory: true }), a = s.charToGlyphIndex;
16186
16186
  s.charToGlyphIndex = (f) => {
16187
16187
  let c2 = a.call(s, f);
@@ -16360,7 +16360,7 @@ function We(e, t, n = {}) {
16360
16360
  let r = Pe(t, n);
16361
16361
  return r === null ? null : D({ [e]: r });
16362
16362
  }
16363
- function hn(e, t, n) {
16363
+ function mn(e, t, n) {
16364
16364
  let r = Pe(t);
16365
16365
  return r !== null && (n[e] = r), n;
16366
16366
  }
@@ -16442,14 +16442,14 @@ function Rm(...e) {
16442
16442
  function Lm(...e) {
16443
16443
  }
16444
16444
  var he = typeof process > "u" || ((Fo = process == null ? void 0 : process.env) === null || Fo === void 0 ? void 0 : Fo.JEST_WORKER_ID) === void 0 ? Rm : Lm;
16445
- var Mm = [["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", gr("oldstyle-nums")], ["small-caps", gr("small-caps")], ["lining-nums", gr("lining-nums")], ["tabular-nums", gr("tabular-nums")], ["proportional-nums", gr("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 })]];
16445
+ var Mm = [["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", br("oldstyle-nums")], ["small-caps", br("small-caps")], ["lining-nums", br("lining-nums")], ["tabular-nums", br("tabular-nums")], ["proportional-nums", br("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 })]];
16446
16446
  var Co = Mm;
16447
- function gr(e) {
16447
+ function br(e) {
16448
16448
  return { kind: "dependent", complete(t) {
16449
16449
  (!t.fontVariant || !Array.isArray(t.fontVariant)) && (t.fontVariant = []), t.fontVariant.push(e);
16450
16450
  } };
16451
16451
  }
16452
- var br = class {
16452
+ var vr = class {
16453
16453
  constructor(t) {
16454
16454
  this.ir = new Map(Co), this.styles = /* @__PURE__ */ new Map(), this.prefixes = /* @__PURE__ */ new Map(), this.ir = new Map([...Co, ...t ?? []]);
16455
16455
  }
@@ -16480,9 +16480,9 @@ function _o(e, t, n = {}) {
16480
16480
  return We("fontSize", r);
16481
16481
  let i = {}, [o, u2] = r, s = nl("fontSize", o);
16482
16482
  if (s && (i = s), typeof u2 == "string")
16483
- return D(hn("lineHeight", il(u2, i), i));
16483
+ return D(mn("lineHeight", il(u2, i), i));
16484
16484
  let { lineHeight: a, letterSpacing: l2 } = u2;
16485
- return a && hn("lineHeight", il(a, i), i), l2 && hn("letterSpacing", l2, i), D(i);
16485
+ return a && mn("lineHeight", il(a, i), i), l2 && mn("letterSpacing", l2, i), D(i);
16486
16486
  }
16487
16487
  function il(e, t) {
16488
16488
  let n = re(e);
@@ -16586,19 +16586,19 @@ function at(e, t, n) {
16586
16586
  if (r) {
16587
16587
  let o = Number(r);
16588
16588
  if (!Number.isNaN(o))
16589
- return i = sl(i, o / 100), D({ [mn[e].color]: i });
16589
+ return i = sl(i, o / 100), D({ [Dn[e].color]: i });
16590
16590
  }
16591
16591
  return { kind: "dependent", complete(o) {
16592
- let u2 = mn[e].opacity, s = o[u2];
16593
- typeof s == "number" && (i = sl(i, s)), o[mn[e].color] = i;
16592
+ let u2 = Dn[e].opacity, s = o[u2];
16593
+ typeof s == "number" && (i = sl(i, s)), o[Dn[e].color] = i;
16594
16594
  } };
16595
16595
  }
16596
- function vr(e, t) {
16596
+ function yr(e, t) {
16597
16597
  let n = parseInt(t, 10);
16598
16598
  if (Number.isNaN(n))
16599
16599
  return null;
16600
16600
  let r = n / 100;
16601
- return { kind: "complete", style: { [mn[e].opacity]: r } };
16601
+ return { kind: "complete", style: { [Dn[e].opacity]: r } };
16602
16602
  }
16603
16603
  function sl(e, t) {
16604
16604
  return e.startsWith("#") ? e = Nm(e) : e.startsWith("rgb(") && (e = e.replace(/^rgb\(/, "rgba(").replace(/\)$/, ", 1)")), e.replace(/, ?\d*\.?(\d+)\)$/, `, ${t})`);
@@ -16607,7 +16607,7 @@ function al(e) {
16607
16607
  for (let t in e)
16608
16608
  t.startsWith("__opacity_") && delete e[t];
16609
16609
  }
16610
- var mn = { bg: { opacity: "__opacity_bg", color: "backgroundColor" }, text: { opacity: "__opacity_text", color: "color" }, border: { opacity: "__opacity_border", color: "borderColor" }, borderTop: { opacity: "__opacity_border", color: "borderTopColor" }, borderBottom: { opacity: "__opacity_border", color: "borderBottomColor" }, borderLeft: { opacity: "__opacity_border", color: "borderLeftColor" }, borderRight: { opacity: "__opacity_border", color: "borderRightColor" }, shadow: { opacity: "__opacity_shadow", color: "shadowColor" }, tint: { opacity: "__opacity_tint", color: "tintColor" } };
16610
+ var Dn = { bg: { opacity: "__opacity_bg", color: "backgroundColor" }, text: { opacity: "__opacity_text", color: "color" }, border: { opacity: "__opacity_border", color: "borderColor" }, borderTop: { opacity: "__opacity_border", color: "borderTopColor" }, borderBottom: { opacity: "__opacity_border", color: "borderBottomColor" }, borderLeft: { opacity: "__opacity_border", color: "borderLeftColor" }, borderRight: { opacity: "__opacity_border", color: "borderRightColor" }, shadow: { opacity: "__opacity_shadow", color: "shadowColor" }, tint: { opacity: "__opacity_tint", color: "tintColor" } };
16611
16611
  function Nm(e) {
16612
16612
  let t = e;
16613
16613
  e = e.replace(Wm, (u2, s, a, l2) => s + s + a + a + l2 + l2);
@@ -16722,7 +16722,7 @@ function pl(e, t, n) {
16722
16722
  return D({ left: n, right: n });
16723
16723
  }
16724
16724
  }
16725
- function yr(e, t, n) {
16725
+ function xr(e, t, n) {
16726
16726
  var r;
16727
16727
  t = t.replace(/^-/, "");
16728
16728
  let i = t === "" ? "DEFAULT" : t, o = Number((r = n == null ? void 0 : n[i]) !== null && r !== void 0 ? r : t);
@@ -16751,7 +16751,7 @@ function Po(e, t, n = {}, r) {
16751
16751
  let i = r == null ? void 0 : r[t];
16752
16752
  return i !== void 0 ? We(e, i, n) : we(e, t, n);
16753
16753
  }
16754
- function xr(e, t, n = {}, r) {
16754
+ function Fr(e, t, n = {}, r) {
16755
16755
  let i = Pe(r == null ? void 0 : r[t], n);
16756
16756
  return i ? D({ [e]: i }) : (t === "screen" && (t = e.includes("Width") ? "100vw" : "100vh"), we(e, t, n));
16757
16757
  }
@@ -16851,7 +16851,7 @@ var St = class {
16851
16851
  }
16852
16852
  }
16853
16853
  }
16854
- if (this.consumePeeked("h-") && (s = Po("height", this.rest, this.context, u2 == null ? void 0 : u2.height), s) || this.consumePeeked("w-") && (s = Po("width", this.rest, this.context, u2 == null ? void 0 : u2.width), s) || this.consumePeeked("min-w-") && (s = xr("minWidth", this.rest, this.context, u2 == null ? void 0 : u2.minWidth), s) || this.consumePeeked("min-h-") && (s = xr("minHeight", this.rest, this.context, u2 == null ? void 0 : u2.minHeight), s) || this.consumePeeked("max-w-") && (s = xr("maxWidth", this.rest, this.context, u2 == null ? void 0 : u2.maxWidth), s) || this.consumePeeked("max-h-") && (s = xr("maxHeight", this.rest, this.context, u2 == null ? void 0 : u2.maxHeight), s) || this.consumePeeked("leading-") && (s = ko(this.rest, u2 == null ? void 0 : u2.lineHeight), s) || this.consumePeeked("text-") && (s = _o(this.rest, u2 == null ? void 0 : u2.fontSize, this.context), s || (s = at("text", this.rest, u2 == null ? void 0 : u2.textColor), s) || this.consumePeeked("opacity-") && (s = vr("text", this.rest), s)) || this.consumePeeked("font-") && (s = Oo(this.rest, u2 == null ? void 0 : u2.fontFamily), s) || this.consumePeeked("aspect-") && (this.consumePeeked("ratio-") && he("`aspect-ratio-{ratio}` is deprecated, use `aspect-{ratio}` instead"), s = We("aspectRatio", this.rest, { fractions: true }), s) || this.consumePeeked("tint-") && (s = at("tint", this.rest, u2 == null ? void 0 : u2.colors), s) || this.consumePeeked("bg-") && (s = at("bg", this.rest, u2 == null ? void 0 : u2.backgroundColor), s || this.consumePeeked("opacity-") && (s = vr("bg", this.rest), s)) || this.consumePeeked("border") && (s = cl(this.rest, u2), s || this.consumePeeked("-opacity-") && (s = vr("border", this.rest), s)) || this.consumePeeked("rounded") && (s = dl(this.rest, u2 == null ? void 0 : u2.borderRadius), s) || this.consumePeeked("bottom-") && (s = Et("bottom", this.rest, this.isNegative, u2 == null ? void 0 : u2.inset), s) || this.consumePeeked("top-") && (s = Et("top", this.rest, this.isNegative, u2 == null ? void 0 : u2.inset), s) || this.consumePeeked("left-") && (s = Et("left", this.rest, this.isNegative, u2 == null ? void 0 : u2.inset), s) || this.consumePeeked("right-") && (s = Et("right", this.rest, this.isNegative, u2 == null ? void 0 : u2.inset), s) || this.consumePeeked("inset-") && (s = Et("inset", this.rest, this.isNegative, u2 == null ? void 0 : u2.inset), s) || this.consumePeeked("flex-") && (this.consumePeeked("grow") ? s = yr("Grow", this.rest, u2 == null ? void 0 : u2.flexGrow) : this.consumePeeked("shrink") ? s = yr("Shrink", this.rest, u2 == null ? void 0 : u2.flexShrink) : s = hl(this.rest, u2 == null ? void 0 : u2.flex), s) || this.consumePeeked("grow") && (s = yr("Grow", this.rest, u2 == null ? void 0 : u2.flexGrow), s) || this.consumePeeked("shrink") && (s = yr("Shrink", this.rest, u2 == null ? void 0 : u2.flexShrink), s) || this.consumePeeked("shadow-color-opacity-") && (s = vr("shadow", this.rest), s) || this.consumePeeked("shadow-opacity-") && (s = gl(this.rest), s) || this.consumePeeked("shadow-offset-") && (s = bl(this.rest), s) || this.consumePeeked("shadow-radius-") && (s = we("shadowRadius", this.rest), s) || this.consumePeeked("shadow-") && (s = at("shadow", this.rest, u2 == null ? void 0 : u2.colors), s))
16854
+ if (this.consumePeeked("h-") && (s = Po("height", this.rest, this.context, u2 == null ? void 0 : u2.height), s) || this.consumePeeked("w-") && (s = Po("width", this.rest, this.context, u2 == null ? void 0 : u2.width), s) || this.consumePeeked("min-w-") && (s = Fr("minWidth", this.rest, this.context, u2 == null ? void 0 : u2.minWidth), s) || this.consumePeeked("min-h-") && (s = Fr("minHeight", this.rest, this.context, u2 == null ? void 0 : u2.minHeight), s) || this.consumePeeked("max-w-") && (s = Fr("maxWidth", this.rest, this.context, u2 == null ? void 0 : u2.maxWidth), s) || this.consumePeeked("max-h-") && (s = Fr("maxHeight", this.rest, this.context, u2 == null ? void 0 : u2.maxHeight), s) || this.consumePeeked("leading-") && (s = ko(this.rest, u2 == null ? void 0 : u2.lineHeight), s) || this.consumePeeked("text-") && (s = _o(this.rest, u2 == null ? void 0 : u2.fontSize, this.context), s || (s = at("text", this.rest, u2 == null ? void 0 : u2.textColor), s) || this.consumePeeked("opacity-") && (s = yr("text", this.rest), s)) || this.consumePeeked("font-") && (s = Oo(this.rest, u2 == null ? void 0 : u2.fontFamily), s) || this.consumePeeked("aspect-") && (this.consumePeeked("ratio-") && he("`aspect-ratio-{ratio}` is deprecated, use `aspect-{ratio}` instead"), s = We("aspectRatio", this.rest, { fractions: true }), s) || this.consumePeeked("tint-") && (s = at("tint", this.rest, u2 == null ? void 0 : u2.colors), s) || this.consumePeeked("bg-") && (s = at("bg", this.rest, u2 == null ? void 0 : u2.backgroundColor), s || this.consumePeeked("opacity-") && (s = yr("bg", this.rest), s)) || this.consumePeeked("border") && (s = cl(this.rest, u2), s || this.consumePeeked("-opacity-") && (s = yr("border", this.rest), s)) || this.consumePeeked("rounded") && (s = dl(this.rest, u2 == null ? void 0 : u2.borderRadius), s) || this.consumePeeked("bottom-") && (s = Et("bottom", this.rest, this.isNegative, u2 == null ? void 0 : u2.inset), s) || this.consumePeeked("top-") && (s = Et("top", this.rest, this.isNegative, u2 == null ? void 0 : u2.inset), s) || this.consumePeeked("left-") && (s = Et("left", this.rest, this.isNegative, u2 == null ? void 0 : u2.inset), s) || this.consumePeeked("right-") && (s = Et("right", this.rest, this.isNegative, u2 == null ? void 0 : u2.inset), s) || this.consumePeeked("inset-") && (s = Et("inset", this.rest, this.isNegative, u2 == null ? void 0 : u2.inset), s) || this.consumePeeked("flex-") && (this.consumePeeked("grow") ? s = xr("Grow", this.rest, u2 == null ? void 0 : u2.flexGrow) : this.consumePeeked("shrink") ? s = xr("Shrink", this.rest, u2 == null ? void 0 : u2.flexShrink) : s = hl(this.rest, u2 == null ? void 0 : u2.flex), s) || this.consumePeeked("grow") && (s = xr("Grow", this.rest, u2 == null ? void 0 : u2.flexGrow), s) || this.consumePeeked("shrink") && (s = xr("Shrink", this.rest, u2 == null ? void 0 : u2.flexShrink), s) || this.consumePeeked("shadow-color-opacity-") && (s = yr("shadow", this.rest), s) || this.consumePeeked("shadow-opacity-") && (s = gl(this.rest), s) || this.consumePeeked("shadow-offset-") && (s = bl(this.rest), s) || this.consumePeeked("shadow-radius-") && (s = we("shadowRadius", this.rest), s) || this.consumePeeked("shadow-") && (s = at("shadow", this.rest, u2 == null ? void 0 : u2.colors), s))
16855
16855
  return s;
16856
16856
  if (this.consumePeeked("elevation-")) {
16857
16857
  let a = parseInt(this.rest, 10);
@@ -16944,7 +16944,7 @@ function Fl(e, t) {
16944
16944
  let h2 = l2[a];
16945
16945
  if (h2)
16946
16946
  return h2;
16947
- let m2 = new br(u2);
16947
+ let m2 = new vr(u2);
16948
16948
  return l2[a] = m2, m2;
16949
16949
  }
16950
16950
  function c2(...h2) {
@@ -17030,9 +17030,9 @@ var Ym = { handler: ({ addUtilities: e }) => {
17030
17030
  function Xm(e) {
17031
17031
  return Fl({ ...e, plugins: [...(e == null ? void 0 : e.plugins) ?? [], Ym] }, "web");
17032
17032
  }
17033
- var Dn;
17033
+ var gn;
17034
17034
  function Ro({ width: e, height: t, config: n }) {
17035
- return Dn || (Dn = Xm(n)), Dn.setWindowDimensions({ width: +e, height: +t }), Dn;
17035
+ return gn || (gn = Xm(n)), gn.setWindowDimensions({ width: +e, height: +t }), gn;
17036
17036
  }
17037
17037
  var Lo = /* @__PURE__ */ new WeakMap();
17038
17038
  async function El(e, t) {
@@ -17041,12 +17041,12 @@ async function El(e, t) {
17041
17041
  throw new Error("Satori is not initialized: expect `yoga` to be loaded, got " + n);
17042
17042
  t.fonts = t.fonts || [];
17043
17043
  let r;
17044
- Lo.has(t.fonts) ? r = Lo.get(t.fonts) : Lo.set(t.fonts, r = new $t(t.fonts));
17044
+ Lo.has(t.fonts) ? r = Lo.get(t.fonts) : Lo.set(t.fonts, r = new qt(t.fonts));
17045
17045
  let i = "width" in t ? t.width : void 0, o = "height" in t ? t.height : void 0, u2 = n.Node.create();
17046
17046
  i && u2.setWidth(i), o && u2.setHeight(o), u2.setFlexDirection(n.FLEX_DIRECTION_ROW), u2.setFlexWrap(n.WRAP_WRAP), u2.setAlignContent(n.ALIGN_AUTO), u2.setAlignItems(n.ALIGN_FLEX_START), u2.setJustifyContent(n.JUSTIFY_FLEX_START), u2.setOverflow(n.OVERFLOW_HIDDEN);
17047
17047
  let s = { ...t.graphemeImages }, a = /* @__PURE__ */ new Set();
17048
- Ae.clear(), await cu(e);
17049
- let l2 = Wt(e, { id: "id", parentStyle: {}, inheritedStyle: { fontSize: 16, fontWeight: "normal", fontFamily: "serif", fontStyle: "normal", lineHeight: "normal", color: "black", opacity: 1, whiteSpace: "normal", _viewportWidth: i, _viewportHeight: o }, parent: u2, font: r, embedFont: t.embedFont, debug: t.debug, graphemeImages: s, canLoadAdditionalAssets: !!t.loadAdditionalAsset, onNodeDetected: t.onNodeDetected, getTwStyles: (h2, m2) => {
17048
+ Ae.clear(), Bt.clear(), await cu(e);
17049
+ let l2 = $t(e, { id: "id", parentStyle: {}, inheritedStyle: { fontSize: 16, fontWeight: "normal", fontFamily: "serif", fontStyle: "normal", lineHeight: "normal", color: "black", opacity: 1, whiteSpace: "normal", _viewportWidth: i, _viewportHeight: o }, parent: u2, font: r, embedFont: t.embedFont, debug: t.debug, graphemeImages: s, canLoadAdditionalAssets: !!t.loadAdditionalAsset, onNodeDetected: t.onNodeDetected, getTwStyles: (h2, m2) => {
17050
17050
  let g2 = { ...Ro({ width: i, height: o, config: t.tailwindConfig })([h2]) };
17051
17051
  return typeof g2.lineHeight == "number" && (g2.lineHeight = g2.lineHeight / (+g2.fontSize || m2.fontSize || 16)), g2.shadowColor && g2.boxShadow && (g2.boxShadow = g2.boxShadow.replace(/rgba?\([^)]+\)/, g2.shadowColor)), g2;
17052
17052
  } }), f = (await l2.next()).value;
@@ -17317,7 +17317,7 @@ var yoga = (() => {
17317
17317
  }
17318
17318
  function Q() {
17319
17319
  }
17320
- var nn2 = false;
17320
+ var nn = false;
17321
17321
  function nt(n2) {
17322
17322
  --n2.count.value, n2.count.value === 0 && (n2.S ? n2.T.V(n2.S) : n2.O.M.V(n2.N));
17323
17323
  }
@@ -17329,13 +17329,13 @@ var yoga = (() => {
17329
17329
  return t2.O && t2.N || na("makeClassHandle requires ptr and ptrType"), !!t2.T != !!t2.S && na("Both smartPtrType and smartPtr must be specified"), t2.count = { value: 1 }, no2(Object.create(n2, { L: { value: t2 } }));
17330
17330
  }
17331
17331
  function no2(n2) {
17332
- return typeof FinalizationRegistry == "undefined" ? (no2 = (n3) => n3, n2) : (nn2 = new FinalizationRegistry((n3) => {
17332
+ return typeof FinalizationRegistry == "undefined" ? (no2 = (n3) => n3, n2) : (nn = new FinalizationRegistry((n3) => {
17333
17333
  nt(n3.L);
17334
17334
  }), no2 = (n3) => {
17335
17335
  var t2 = n3.L;
17336
- return t2.S && nn2.register(n3, { L: t2 }, n3), n3;
17336
+ return t2.S && nn.register(n3, { L: t2 }, n3), n3;
17337
17337
  }, Q = (n3) => {
17338
- nn2.unregister(n3);
17338
+ nn.unregister(n3);
17339
17339
  }, no2(n2));
17340
17340
  }
17341
17341
  var ns2 = {};