"use client"; import { jsx as e, jsxs as f } from "react/jsx-runtime"; import s, { useEffect as l } from "react"; import { extendTheme as u, withDefaultColorScheme as m, Text as p, Input as h, IconButton as B, HStack as E, Button as k, Badge as _, ChakraProvider as n, Spinner as w } from "@chakra-ui/react"; import { Global as x } from "@emotion/react"; import { createRoot as C } from "react-dom/client"; import { e as I } from "./chunks/estedad-B1AoGIKy.js"; import { d as S } from "./chunks/feature-registry-B2iuEiEx.js"; import { C as b } from "./chunks/provider-runtime-CxEpkUq5.js"; const g = u({ direction: "rtl", styles: { global: { html: { fontSize: "14px", direction: "rtl" }, body: { bg: "white", direction: "rtl" }, "*": { boxSizing: "border-box" } } }, fonts: { heading: "Estedad", body: "Estedad" }, colors: { facebook: { 50: "#E8F4F9", 100: "#D9DEE9", 200: "#B7C2DA", 300: "#6482C0", 400: "#4267B2", 500: "#385898", 600: "#314E89", 700: "#29487D", 800: "#223B67", 900: "#1E355B" } } }, m({ colorScheme: "facebook" })); function y({ children: i, theme: t = g, fonts: d = !0, remoteUiEnabled: r = !0, remoteUiChakraProviderProps: a, ...c }) { return l(() => { if (!r || typeof window > "u") return; const o = window.__UIKIT_REMOTE_DEPS__ || {}; window.__UIKIT_REMOTE_DEPS__ = { ...o, React: o.React || s, createRoot: o.createRoot || C, ChakraProvider: o.ChakraProvider || n, Badge: o.Badge || _, Button: o.Button || k, HStack: o.HStack || E, IconButton: o.IconButton || B, Input: o.Input || h, Text: o.Text || p, theme: t, chakraProviderProps: { ...o.chakraProviderProps, ...a } }; }, [r, t, a]), /* @__PURE__ */ e(n, { theme: t, ...c, children: /* @__PURE__ */ f(b.Provider, { value: /* @__PURE__ */ e(w, {}), children: [ d && /* @__PURE__ */ e(x, { styles: `@font-face { font-family: Estedad; src: url("${I}") format("woff2"); font-weight: 100 900; font-style: normal; font-display: swap; }` }), i ] }) }); } const z = S("Chakra", 10, y); export { z as Chakra, g as defaultBiTheme };