import {
  ArrowLeft
} from "/build/_shared/chunk-EJE2TVVM.js";
import {
  useMount
} from "/build/_shared/chunk-B7TG3BDD.js";
import "/build/_shared/chunk-7NMI3PDC.js";
import {
  require_build
} from "/build/_shared/chunk-74UPEAGA.js";
import "/build/_shared/chunk-NM3UGVOT.js";
import {
  Link,
  Outlet,
  init_esm2 as init_esm
} from "/build/_shared/chunk-ZC2TL3GZ.js";
import {
  require_jsx_dev_runtime
} from "/build/_shared/chunk-ED7KKCRB.js";
import "/build/_shared/chunk-RYE6BCZB.js";
import "/build/_shared/chunk-PECDPABK.js";
import {
  Routes
} from "/build/_shared/chunk-N27UEDHN.js";
import {
  createHotContext,
  init_remix_hmr
} from "/build/_shared/chunk-G7KTOMTD.js";
import "/build/_shared/chunk-ZIPKILLR.js";
import {
  __toESM
} from "/build/_shared/chunk-PNG5AS42.js";

// app/routes/auth+/_layout.tsx
init_remix_hmr();
init_esm();
var import_remix_themes = __toESM(require_build(), 1);
var import_jsx_dev_runtime = __toESM(require_jsx_dev_runtime(), 1);
if (!window.$RefreshReg$ || !window.$RefreshSig$ || !window.$RefreshRuntime$) {
  console.warn("remix:hmr: React Fast Refresh only works when the Remix compiler is running in development mode.");
} else {
  prevRefreshReg = window.$RefreshReg$;
  prevRefreshSig = window.$RefreshSig$;
  window.$RefreshReg$ = (type, id) => {
    window.$RefreshRuntime$.register(type, '"app/routes/auth+/_layout.tsx"' + id);
  };
  window.$RefreshSig$ = window.$RefreshRuntime$.createSignatureFunctionForTransform;
}
var prevRefreshReg;
var prevRefreshSig;
var _s = $RefreshSig$();
if (import.meta) {
  import.meta.hot = createHotContext(
    //@ts-expect-error
    "app/routes/auth+/_layout.tsx"
  );
  import.meta.hot.lastModified = "1712934003770.0876";
}
function AuthLayout() {
  _s();
  const [theme, setTheme] = (0, import_remix_themes.useTheme)();
  const setDarkModeTheme = () => {
    if (theme === import_remix_themes.Theme.LIGHT) {
      setTheme(import_remix_themes.Theme.DARK);
    }
  };
  useMount(setDarkModeTheme);
  return /* @__PURE__ */ (0, import_jsx_dev_runtime.jsxDEV)("div", { children: [
    /* @__PURE__ */ (0, import_jsx_dev_runtime.jsxDEV)(Link, { to: Routes.external.landing, className: "text-muted-foreground hover:text-primary-foreground absolute left-0 top-0 flex items-center gap-2 p-4 text-sm", children: [
      /* @__PURE__ */ (0, import_jsx_dev_runtime.jsxDEV)(ArrowLeft, { size: 14 }, void 0, false, {
        fileName: "app/routes/auth+/_layout.tsx",
        lineNumber: 39,
        columnNumber: 9
      }, this),
      " Back to Landing Page"
    ] }, void 0, true, {
      fileName: "app/routes/auth+/_layout.tsx",
      lineNumber: 38,
      columnNumber: 7
    }, this),
    /* @__PURE__ */ (0, import_jsx_dev_runtime.jsxDEV)("div", { className: "flex h-screen w-full flex-col items-center justify-center gap-8", children: /* @__PURE__ */ (0, import_jsx_dev_runtime.jsxDEV)(Outlet, {}, void 0, false, {
      fileName: "app/routes/auth+/_layout.tsx",
      lineNumber: 42,
      columnNumber: 9
    }, this) }, void 0, false, {
      fileName: "app/routes/auth+/_layout.tsx",
      lineNumber: 41,
      columnNumber: 7
    }, this)
  ] }, void 0, true, {
    fileName: "app/routes/auth+/_layout.tsx",
    lineNumber: 37,
    columnNumber: 10
  }, this);
}
_s(AuthLayout, "L5u3gDV1pJWn6Bw+NXll27ZBGFU=", false, function() {
  return [import_remix_themes.useTheme, useMount];
});
_c = AuthLayout;
var _c;
$RefreshReg$(_c, "AuthLayout");
window.$RefreshReg$ = prevRefreshReg;
window.$RefreshSig$ = prevRefreshSig;
export {
  AuthLayout as default
};
//# sourceMappingURL=/build/routes/auth+/_layout-Y2TKU2AN.js.map
