import { defineComponent, ref, mergeProps, unref, useSSRContext } from 'vue';
import { ssrRenderAttrs, ssrRenderClass, ssrInterpolate } from 'vue/server-renderer';
import { _ as _export_sfc } from './server.mjs';
import '../_/nitro.mjs';
import 'node:http';
import 'node:https';
import 'node:events';
import 'node:buffer';
import 'node:fs';
import 'node:path';
import 'node:crypto';
import 'node:url';
import '../routes/renderer.mjs';
import 'vue-bundle-renderer/runtime';
import 'unhead/server';
import 'devalue';
import 'unhead/utils';
import 'unhead/plugins';
import 'vue-router';

const _sfc_main = /* @__PURE__ */ defineComponent({
  __name: "login",
  __ssrInlineRender: true,
  setup(__props) {
    const mode = ref("login");
    return (_ctx, _push, _parent, _attrs) => {
      _push(`<div${ssrRenderAttrs(mergeProps({ class: "grid min-h-screen lg:grid-cols-2" }, _attrs))} data-v-9cd64f72><section class="relative hidden overflow-hidden bg-brand-50 lg:block" data-v-9cd64f72><div class="absolute -left-16 top-20 h-72 w-72 rounded-full bg-brand-300/40 blur-3xl" data-v-9cd64f72></div><div class="absolute bottom-10 right-6 h-80 w-80 rounded-full bg-cyan-200/40 blur-3xl" data-v-9cd64f72></div><div class="absolute left-1/3 top-1/2 h-56 w-56 rounded-full bg-brand-500/10 blur-3xl" data-v-9cd64f72></div><div class="relative flex h-full items-center justify-center p-14" data-v-9cd64f72><div class="max-w-md space-y-5" data-v-9cd64f72><p class="chip" data-v-9cd64f72>WorkPulse Platform</p><h1 class="text-4xl font-semibold leading-tight" data-v-9cd64f72>Run internal reporting with speed, clarity, and confidence.</h1><p class="text-text-secondary" data-v-9cd64f72> One workspace for daily reports, team visibility, blockers, attendance, and performance analytics. </p><div class="grid gap-2 text-sm text-text-secondary" data-v-9cd64f72><div class="card-muted p-3" data-v-9cd64f72>Real-time report reminders and manager mentions</div><div class="card-muted p-3" data-v-9cd64f72>Daily submission pipeline for every division</div><div class="card-muted p-3" data-v-9cd64f72>Actionable team monitoring and analytics insights</div></div></div></div></section><section class="flex items-center justify-center p-4 sm:p-8" data-v-9cd64f72><div class="w-full max-w-md rounded-3xl border border-white/50 bg-white/85 p-7 shadow-soft backdrop-blur" data-v-9cd64f72><div class="mb-5 inline-flex rounded-xl border border-surface-border bg-white p-1" data-v-9cd64f72><button class="${ssrRenderClass([unref(mode) === "login" ? "bg-brand-500 text-white" : "text-text-secondary", "rounded-lg px-3 py-1.5 text-sm transition"])}" data-v-9cd64f72> Sign In </button><button class="${ssrRenderClass([unref(mode) === "register" ? "bg-brand-500 text-white" : "text-text-secondary", "rounded-lg px-3 py-1.5 text-sm transition"])}" data-v-9cd64f72> Register </button></div><p class="mb-1 text-sm text-text-secondary" data-v-9cd64f72>${ssrInterpolate(unref(mode) === "login" ? "Welcome back" : "Create your workspace account")}</p><h2 class="text-2xl font-semibold" data-v-9cd64f72>${ssrInterpolate(unref(mode) === "login" ? "Sign in to continue" : "Get started in seconds")}</h2><div class="mt-6 space-y-4" data-v-9cd64f72><div class="space-y-4" data-v-9cd64f72>`);
      if (unref(mode) === "register") {
        _push(`<input class="input" placeholder="Full name" data-v-9cd64f72>`);
      } else {
        _push(`<!---->`);
      }
      _push(`<input class="input" placeholder="Work email" data-v-9cd64f72><input class="input" placeholder="Password" type="password" data-v-9cd64f72>`);
      if (unref(mode) === "register") {
        _push(`<input class="input" placeholder="Company name" data-v-9cd64f72>`);
      } else {
        _push(`<!---->`);
      }
      _push(`</div><label class="flex items-center gap-2 text-sm text-text-secondary" data-v-9cd64f72><input type="checkbox" class="checkbox-field" data-v-9cd64f72> Remember me </label><button class="btn-primary w-full" data-v-9cd64f72>${ssrInterpolate(unref(mode) === "login" ? "Sign In" : "Create Account")}</button><button class="btn-ghost w-full gap-2" data-v-9cd64f72><svg viewBox="0 0 24 24" class="h-4 w-4" data-v-9cd64f72><path fill="#EA4335" d="M12 10.2v3.9h5.5c-.2 1.2-1.4 3.5-5.5 3.5-3.3 0-6-2.8-6-6.2s2.7-6.2 6-6.2c1.9 0 3.1.8 3.8 1.5l2.6-2.5C16.8 2.7 14.6 2 12 2 6.9 2 2.8 6.2 2.8 11.4S6.9 20.8 12 20.8c6.9 0 9.2-4.9 9.2-7.4 0-.5-.1-.8-.1-1.2H12z" data-v-9cd64f72></path></svg> Continue with Google </button></div></div></section></div>`);
    };
  }
});
const _sfc_setup = _sfc_main.setup;
_sfc_main.setup = (props, ctx) => {
  const ssrContext = useSSRContext();
  (ssrContext.modules || (ssrContext.modules = /* @__PURE__ */ new Set())).add("pages/login.vue");
  return _sfc_setup ? _sfc_setup(props, ctx) : void 0;
};
const login = /* @__PURE__ */ _export_sfc(_sfc_main, [["__scopeId", "data-v-9cd64f72"]]);

export { login as default };
//# sourceMappingURL=login-DZMGg_Si.mjs.map
