function u(n, r) {
  return { handler: n, config: r };
}
u.withOptions = function(n, r = () => ({})) {
  function t(i) {
    return { handler: n(i), config: r(i) };
  }
  return t.__isOptionsFunction = !0, t;
};
var m = u;
function w({ addComponents: n }) {
  n([
    {
      ".anchor-top-center": {
        position: "absolute",
        top: "0",
        left: "50%",
        transform: "translate(-50%, -50%)"
      }
    },
    {
      ".anchor-top-left": {
        position: "absolute",
        top: "0",
        left: "0"
      }
    },
    {
      ".anchor-top-right": {
        position: "absolute",
        top: "0",
        right: "0"
      }
    },
    {
      ".anchor-bottom-center": {
        position: "absolute",
        bottom: "0",
        left: "50%",
        transform: "translate(-50%, 50%)"
      }
    },
    {
      ".anchor-bottom-left": {
        position: "absolute",
        bottom: "0",
        left: "0"
      }
    },
    {
      ".anchor-bottom-right": {
        position: "absolute",
        bottom: "0",
        right: "0"
      }
    },
    {
      ".anchor-center-left": {
        position: "absolute",
        top: "50%",
        left: "0",
        transform: "translate(-50%, -50%)"
      }
    },
    {
      ".anchor-center-right": {
        position: "absolute",
        top: "50%",
        right: "0",
        transform: "translate(50%, -50%)"
      }
    },
    {
      ".anchor-center-center": {
        position: "absolute",
        top: "50%",
        left: "50%",
        transform: "translate(-50%, -50%)"
      }
    },
    {
      ".anchor-center-top": {
        position: "absolute",
        top: "0",
        left: "50%",
        transform: "translate(-50%, 0%)"
      }
    },
    {
      ".anchor-center-bottom": {
        position: "absolute",
        bottom: "0",
        left: "50%",
        transform: "translate(-50%, 0%)"
      }
    }
  ]);
}
function v({ addComponents: n, theme: r }) {
  n({
    ".container-fluid": {
      marginLeft: "auto",
      marginRight: "auto",
      paddingLeft: "var(--b_padding, 4vw)",
      paddingRight: "var(--b_padding, 4vw)"
    }
  });
  const t = r("screens.2xl");
  t && n({
    ".container-fluid-2xl": {
      maxWidth: t,
      marginLeft: "auto",
      marginRight: "auto",
      paddingLeft: "var(--b_padding, 1rem)",
      paddingRight: "var(--b_padding, 1rem)"
    }
  });
}
function x({ addComponents: n, theme: r, config: t }) {
  const i = r("screens.lg"), e = r("screens.2xl"), o = t("important"), a = t("cssVars") || !1;
  n({
    [`${typeof o == "string" ? o : ""} .grid-container`]: {
      display: "grid",
      gridTemplateColumns: "1fr repeat(12, var(--b_col-width)) 1fr!important"
    }
  }), a && (i && n({
    ".grid-container-lg": {
      "--b_col-width": "calc((100% - ((var(--b_padding, 4vw) ) * 2)) / 12)",
      "--b_fr-size": "4vw"
    }
  }), e && n({
    ".grid-container-2xl": {
      "--b_col-width": `calc((${e} - (var(--b_padding, 1rem) * 2)) / 12)`,
      "--b_padding": "var(--b_padding, 1rem)",
      "--b_fr-size": `calc(100% - ${e} / 2)`
    }
  }));
}
function T({ addComponents: n }) {
  n([{
    ".tile-in-left": {
      position: "absolute!important",
      top: 0,
      left: 0,
      right: 0,
      bottom: 0,
      zIndex: 10,
      overflow: "hidden",
      transition: "transform 0.5s",
      transform: "translateX(-100%)"
    },
    ".active .tile-in-left": {
      transform: "translateX(0%)"
    }
  }, {
    ".tile-in-fade": {
      opacity: 0,
      transition: "opacity 0.5s",
      position: "absolute!important",
      top: 0,
      left: 0,
      right: 0,
      bottom: 0,
      zIndex: 10,
      overflow: "hidden"
    },
    ".active .tile-in-fade": {
      opacity: 1
    }
  }]);
}
function C({ addComponents: n }) {
  n({
    ".newsticker": {
      "& > .swiper-free-mode > .swiper-wrapper": {
        "-webkit-transition-timing-function": "linear !important",
        "-o-transition-timing-function": "linear !important",
        "transition-timing-function": "linear !important"
      }
    }
  });
}
const y = m(function({ addBase: n, addUtilities: r }) {
  const t = "--b_grid-spacing", i = "1rem";
  n({
    ":root": {
      [t]: i
    }
  });
  const e = [0, 1, 2, 4, 6, 8, 10, 12, 14, 18, 20, 22, 24, 32], o = [];
  for (let s = 1; s <= 1280 / 16; s++)
    o.push(s * 16);
  const a = Array.from(/* @__PURE__ */ new Set([...e, ...o])).sort((s, c) => s - c), l = {}, g = {
    w: "width",
    h: "height",
    "min-w-b": "minWidth",
    "max-w-b": "maxWidth",
    "min-h-b": "minHeight",
    "max-h-b": "maxHeight",
    "p-b": "padding",
    "pt-b": "paddingTop",
    "pr-b": "paddingRight",
    "pb-b": "paddingBottom",
    "pl-b": "paddingLeft",
    "px-b": ["paddingLeft", "paddingRight"],
    "py-b": ["paddingTop", "paddingBottom"],
    "m-b": "margin",
    "mt-b": "marginTop",
    "mr-b": "marginRight",
    "mb-b": "marginBottom",
    "ml-b": "marginLeft",
    "mx-b": ["marginLeft", "marginRight"],
    "my-b": ["marginTop", "marginBottom"]
  };
  for (const [s, c] of Object.entries(g))
    for (const d of a) {
      const _ = d / 16, f = `.${s}-b_${d}`, h = `calc(var(${t}) * ${_})`;
      Array.isArray(c) ? l[f] = c.reduce((b, $) => (b[$] = h, b), {}) : l[f] = {
        [c]: h
      };
    }
  r(l, { variants: ["responsive"] });
}), R = m(function({ addUtilities: n }) {
  const r = {};
  for (let t = 10; t <= 100; t += 10)
    r[`.w-b_screen-${t}`] = {
      width: `${t}vw`
    }, r[`.h-b_screen-${t}`] = {
      height: `${t}vh`
    }, r[`.min-h-b_screen-${t}`] = {
      minHeight: `${t}vh`
    }, r[`.max-h-b_screen-${t}`] = {
      maxHeight: `${t}vh`
    }, r[`.min-w-b_screen-${t}`] = {
      minWidth: `${t}vw`
    }, r[`.max-w-b_screen-${t}`] = {
      maxWidth: `${t}vw`
    };
  n(r);
});
function p(n) {
  return n.replace(/([^a-zA-Z0-9-])/g, "\\$1");
}
function L({ addUtilities: n }) {
  const r = {};
  for (let t = 0; t <= 97; t++)
    r[`.${p(`area-x-${t}`)}`] = {
      "--b_area-x": `${t}`
    }, r[`.${p(`area-y-${t}`)}`] = {
      "--b_area-y": `${t}`
    }, r[`.${p(`area-w-${t}`)}`] = {
      "--b_area-w": `${t}`
    }, r[`.${p(`area-h-${t}`)}`] = {
      "--b_area-h": `${t}`
    };
  n(r, ["responsive"]);
}
function B({ addComponents: n, matchUtilities: r, config: t }) {
  const i = t("important"), e = typeof i == "string" ? i : "";
  n({
    [`${e} .area`]: {
      gridArea: "var(--b_area-y) / var(--b_area-x) / calc(var(--b_area-y) + var(--b_area-h)) / calc(var(--b_area-x) + var(--b_area-w))"
    },
    [`${e} .b_grid-area-16`]: {
      display: "grid",
      gridTemplateColumns: "repeat(16, 1fr)",
      gridTemplateRows: "repeat(16, 1fr)",
      "--init-area": "1 / 1 / 4 / 4"
    },
    [`${e} .b_grid-area-32`]: {
      display: "grid",
      gridTemplateColumns: "repeat(32, 1fr)",
      gridTemplateRows: "repeat(32, 1fr)",
      "--init-area": "1 / 1 / 8 / 8"
    },
    [`${e} .b_grid-area-64`]: {
      display: "grid",
      gridTemplateColumns: "repeat(64, 1fr)",
      gridTemplateRows: "repeat(64, 1fr)",
      "--init-area": "1 / 1 / 16 / 16"
    },
    [`${e} .b_grid-area-96`]: {
      display: "grid",
      gridTemplateColumns: "repeat(96, 1fr)",
      gridTemplateRows: "repeat(96, 1fr)",
      "--init-area": "1 / 1 / 24 / 24"
    }
  }), r(
    {
      area: (o) => {
        const a = o.split("-");
        if (a.length === 4)
          return {
            "grid-area": `${a[0]} / ${a[1]} / ${a[2]} / ${a[3]}`
          };
      }
    },
    { values: {} }
    // Allow arbitrary values like b_area[1/4/4/3]
  );
}
const V = m((n) => {
  L(n), B(n);
}), W = m(function(n) {
  x(n), v(n), w(n), T(n), C(n), R.handler(n), V.handler(n), y.handler(n);
});
export {
  W as default
};
//# sourceMappingURL=index-3MiScM8O.js.map
