import __nuxt_component_0$2 from "./InternalHeaderSection-DIj5MLKD.js";
import _sfc_main$2 from "./EmptyState-CWK2sm1Q.js";
import { u as useJobsQuery, _ as __nuxt_component_0 } from "./career-BoxYXbpB.js";
import { f as __nuxt_component_0$1, d as useI18n, e as useSeoMeta } from "../server.mjs";
import { defineComponent, mergeProps, unref, withCtx, createTextVNode, toDisplayString, useSSRContext, computed, createVNode } from "vue";
import { ssrRenderAttrs, ssrRenderComponent, ssrRenderList, ssrInterpolate } from "vue/server-renderer";
import { _ as __nuxt_component_3 } from "./SubscribeSection-D6lSAdXw.js";
import "./useBreadcrumbSchema-CZ-Fj_m_.js";
import "./utils-H80jjgLf.js";
import "clsx";
import "tailwind-merge";
import "reka-ui";
import "lucide-vue-next";
import "@unhead/schema-org";
import "ofetch";
import "#internal/nuxt/paths";
import "D:/marwa/front/webstdy-v2-frontend/node_modules/hookable/dist/index.mjs";
import "D:/marwa/front/webstdy-v2-frontend/node_modules/unctx/dist/index.mjs";
import "D:/marwa/front/webstdy-v2-frontend/node_modules/h3/dist/index.mjs";
import "pinia";
import "D:/marwa/front/webstdy-v2-frontend/node_modules/defu/dist/defu.mjs";
import "@pinia/colada";
import "D:/marwa/front/webstdy-v2-frontend/node_modules/klona/dist/index.mjs";
import "vue-router";
import "D:/marwa/front/webstdy-v2-frontend/node_modules/radix3/dist/index.mjs";
import "D:/marwa/front/webstdy-v2-frontend/node_modules/cookie-es/dist/index.mjs";
import "D:/marwa/front/webstdy-v2-frontend/node_modules/destr/dist/index.mjs";
import "D:/marwa/front/webstdy-v2-frontend/node_modules/ohash/dist/index.mjs";
import "D:/marwa/front/webstdy-v2-frontend/node_modules/@unhead/vue/dist/index.mjs";
import "@vue/devtools-api";
import "@unhead/schema-org/vue";
import "scule";
import "deep-pick-omit";
import "@iconify/vue";
import "./useApi-Dv-cyvzn.js";
import "axios";
import "vue-sonner";
import "./index-m9AqQ9dr.js";
import "class-variance-authority";
import "./useUtmPayload-DlQ2OH8k.js";
import "vee-validate";
import "./index-Cce4iXMN.js";
import "./index-B_IDLhd1.js";
import "zod";
import "@vee-validate/zod";
const _sfc_main$1 = /* @__PURE__ */ defineComponent({
  __name: "Job",
  __ssrInlineRender: true,
  setup(__props) {
    const { state: jobsData } = useJobsQuery();
    return (_ctx, _push, _parent, _attrs) => {
      var _a, _b, _c, _d;
      const _component_EmptyState = _sfc_main$2;
      const _component_SvgJobIcon = __nuxt_component_0;
      const _component_NuxtLinkLocale = __nuxt_component_0$1;
      _push(`<section${ssrRenderAttrs(mergeProps({
        id: "job-offers",
        class: "py-section bg-gradient-odd"
      }, _attrs))}><div class="container mx-auto flex flex-col gap-8 px-4">`);
      if (((_b = (_a = unref(jobsData)) == null ? void 0 : _a.data) == null ? void 0 : _b.length) === 0 || ((_c = unref(jobsData)) == null ? void 0 : _c.status) === "error") {
        _push(`<div class="container mx-auto flex items-center justify-center">`);
        _push(ssrRenderComponent(_component_EmptyState, null, null, _parent));
        _push(`</div>`);
      } else {
        _push(`<!--[-->`);
        ssrRenderList((_d = unref(jobsData)) == null ? void 0 : _d.data, (job) => {
          _push(`<div class="bg-surface-background border-surface-border flex flex-col items-center justify-between gap-y-6 rounded-[12px] border p-6 md:flex-row"><div class="flex flex-col items-center gap-6 md:flex-row"><span class="rounded-sm border border-white p-2">`);
          _push(ssrRenderComponent(_component_SvgJobIcon, null, null, _parent));
          _push(`</span><div class="flex flex-col gap-2"><h3 class="text-2xl font-bold">${ssrInterpolate(job.title)}</h3><div class="flex gap-2"><span>${ssrInterpolate(job.location)}</span><span>|</span><span class="text-accent">${ssrInterpolate(job.type)}</span></div></div></div>`);
          _push(ssrRenderComponent(_component_NuxtLinkLocale, {
            to: { name: "join-us-slug", params: { slug: String(job.slug) } },
            class: "ws-gradient-border grid h-[48px] w-full place-items-center px-6 md:w-auto md:px-10"
          }, {
            default: withCtx((_, _push2, _parent2, _scopeId) => {
              if (_push2) {
                _push2(`${ssrInterpolate(_ctx.$t("buttons.apply-now"))}`);
              } else {
                return [
                  createTextVNode(toDisplayString(_ctx.$t("buttons.apply-now")), 1)
                ];
              }
            }),
            _: 2
          }, _parent));
          _push(`</div>`);
        });
        _push(`<!--]-->`);
      }
      _push(`</div></section>`);
    };
  }
});
const _sfc_setup$1 = _sfc_main$1.setup;
_sfc_main$1.setup = (props, ctx) => {
  const ssrContext = useSSRContext();
  (ssrContext.modules || (ssrContext.modules = /* @__PURE__ */ new Set())).add("components/join-us/Job.vue");
  return _sfc_setup$1 ? _sfc_setup$1(props, ctx) : void 0;
};
const _sfc_main = /* @__PURE__ */ defineComponent({
  __name: "index",
  __ssrInlineRender: true,
  setup(__props) {
    const { t } = useI18n();
    useSeoMeta({
      title: computed(() => t("joinUsSeo.title")),
      description: computed(() => t("joinUsSeo.description")),
      ogTitle: computed(() => t("joinUsSeo.ogTitle")),
      ogDescription: computed(() => t("joinUsSeo.ogDescription")),
      keywords: computed(() => t("joinUsSeo.keywords"))
    });
    return (_ctx, _push, _parent, _attrs) => {
      const _component_InternalHeaderSection = __nuxt_component_0$2;
      const _component_JoinUsJob = _sfc_main$1;
      const _component_SubscribeSection = __nuxt_component_3;
      _push(`<main${ssrRenderAttrs(_attrs)}>`);
      _push(ssrRenderComponent(_component_InternalHeaderSection, {
        "video-url": "/videos/join-us.mp4",
        pages: [{ name: _ctx.$t("joinus") }]
      }, {
        title: withCtx((_, _push2, _parent2, _scopeId) => {
          if (_push2) {
            _push2(`<h1${_scopeId}>${ssrInterpolate(_ctx.$t("joinUsHero.title"))}</h1>`);
          } else {
            return [
              createVNode("h1", null, toDisplayString(_ctx.$t("joinUsHero.title")), 1)
            ];
          }
        }),
        _: 1
      }, _parent));
      _push(ssrRenderComponent(_component_JoinUsJob, null, null, _parent));
      _push(`<div class="bg-gradient-even pb-section px-4">`);
      _push(ssrRenderComponent(_component_SubscribeSection, null, null, _parent));
      _push(`</div></main>`);
    };
  }
});
const _sfc_setup = _sfc_main.setup;
_sfc_main.setup = (props, ctx) => {
  const ssrContext = useSSRContext();
  (ssrContext.modules || (ssrContext.modules = /* @__PURE__ */ new Set())).add("pages/join-us/index.vue");
  return _sfc_setup ? _sfc_setup(props, ctx) : void 0;
};
export {
  _sfc_main as default
};
//# sourceMappingURL=index-Did7h7tu.js.map
