"use client"; import { jsxs as c, jsx as f } from "react/jsx-runtime"; import s, { useEffect as u } from "react"; import { extendTheme as l, withDefaultColorScheme as m, Text as p, Input as h, IconButton as _, HStack as k, Button as w, Badge as x, ChakraProvider as a } from "@chakra-ui/react"; import { Global as B } from "@emotion/react"; import { createRoot as I } from "react-dom/client"; import { e as y } from "./chunks/estedad-B1AoGIKy.js"; import { d as E } from "./chunks/feature-registry-B2iuEiEx.js"; const S = l({ direction: "rtl", styles: { global: { html: { fontSize: "14px", direction: "rtl" }, body: { bg: "white", direction: "rtl" }, "*": { boxSizing: "border-box" } } }, fonts: { heading: "Estedad", body: "Estedad" } }, m({ colorScheme: "facebook" })); function T({ children: n, theme: o = S, fonts: i = !0, remoteUiEnabled: e = !0, remoteUiChakraProviderProps: r, ...d }) { return u(() => { if (!e || typeof window > "u") return; const t = window.__UIKIT_REMOTE_DEPS__ || {}; window.__UIKIT_REMOTE_DEPS__ = { ...t, React: t.React || s, createRoot: t.createRoot || I, ChakraProvider: t.ChakraProvider || a, Badge: t.Badge || x, Button: t.Button || w, HStack: t.HStack || k, IconButton: t.IconButton || _, Input: t.Input || h, Text: t.Text || p, theme: o, chakraProviderProps: { ...t.chakraProviderProps, ...r } }; }, [e, o, r]), /* @__PURE__ */ c(a, { theme: o, ...d, children: [ i && /* @__PURE__ */ f(B, { styles: `@font-face { font-family: Estedad; src: url("${y}") format("woff2"); font-weight: 400; font-style: normal; font-display: swap; }` }), n ] }); } const H = E("Chakra", 10, T); export { H as Chakra, S as defaultBiTheme };