import { _ as __nuxt_component_0 } from './ContactIcon-CO7vyUaQ.mjs';
import { _ as _imports_0, a as __nuxt_component_0$1 } from './virtual_public-CJpdAW74.mjs';
import { defineComponent, computed, mergeProps, unref, useSSRContext } from 'vue';
import { ssrRenderAttrs, ssrRenderAttr, ssrInterpolate, ssrRenderComponent } from 'vue/server-renderer';
import _sfc_main$1 from './Form-BItdTITZ.mjs';
import { b as useCountriesQuery, a as useServicesQuery } from './contact-k0MTtZDV.mjs';
import { u as useMarketingShortsVideosQuery } from './marketing-lpt_YDVO.mjs';
import './server.mjs';
import '../_/nitro.mjs';
import 'node:http';
import 'node:https';
import 'node:events';
import 'node:buffer';
import 'nitropack/dist/runtime/plugin';
import 'packrup';
import 'consola';
import 'node:fs';
import 'node:url';
import '@iconify/utils';
import 'node:crypto';
import 'ipx';
import 'node:path';
import 'pinia';
import '@pinia/colada';
import 'vue-router';
import '@unhead/schema-org/vue';
import 'deep-pick-omit';
import '@iconify/vue';
import '../routes/renderer.mjs';
import 'vue-bundle-renderer/runtime';
import 'unhead/server';
import 'devalue';
import 'unhead/plugins';
import 'unhead/utils';
import './VideoButton-B4IDmAbs.mjs';
import './GradientFullArrowRight-B3gaunpf.mjs';
import './useUtmPayload-DlQ2OH8k.mjs';
import 'reka-ui';
import './utils-H80jjgLf.mjs';
import 'clsx';
import 'tailwind-merge';
import 'vee-validate';
import './index-Cce4iXMN.mjs';
import './index-B_IDLhd1.mjs';
import './FormLabel-PCaiHQXT.mjs';
import './PopoverTrigger-D3Tywx5m.mjs';
import './index-m9AqQ9dr.mjs';
import 'class-variance-authority';
import './FlagComponent-tWUs0Zo0.mjs';
import './Textarea-D5DXsU7G.mjs';
import 'lucide-vue-next';
import '@vee-validate/zod';
import 'base-vue-phone-input';
import 'zod';
import './useApi-Dv-cyvzn.mjs';
import 'axios';
import 'vue-sonner';

const _sfc_main = /* @__PURE__ */ defineComponent({
  __name: "Hero",
  __ssrInlineRender: true,
  setup(__props) {
    const { data } = useMarketingShortsVideosQuery();
    const { data: countries } = useCountriesQuery();
    const { data: services } = useServicesQuery();
    const projects = computed(() => {
      var _a;
      return (_a = data.value) != null ? _a : [];
    });
    return (_ctx, _push, _parent, _attrs) => {
      const _component_SvgContactIcon = __nuxt_component_0;
      const _component_CampaignReelsSlider = __nuxt_component_0$1;
      _push(`<header${ssrRenderAttrs(mergeProps({ class: "-mt-header relative min-h-screen" }, _attrs))}><video autoplay muted loop playsinline class="absolute inset-0 h-full w-full object-cover"><source${ssrRenderAttr("src", _imports_0)} type="video/mp4"> Your browser does not support the video tag. </video><div class="bg-hero-bg absolute inset-0 z-[1]"></div><div class="container mx-auto px-4"><div class="content relative z-[3] pt-[140px] pb-[80px] text-center"><h1 class="dark-text-gradient text-center text-[24px] font-bold md:w-[710px] md:text-[32px] lg:text-[40px]">${ssrInterpolate(_ctx.$t("campaign.title"))}</h1><p class="mt-6 md:text-lg">${ssrInterpolate(_ctx.$t("campaign.description"))}</p></div><div class="grid gap-y-10 pb-[100px] lg:grid-cols-12"><div id="contact" class="bg-background border-surface-border relative z-20 h-full rounded-[12px] border p-5 sm:p-8 lg:col-span-6 lg:col-start-1"><div class="mb-[24px] flex flex-col items-center gap-2">`);
      _push(ssrRenderComponent(_component_SvgContactIcon, { class: "text-center" }, null, _parent));
      _push(`<h2 class="dark-text-gradient text-center text-[24px] leading-[32px]">${ssrInterpolate(_ctx.$t("contactSection.formTitle"))}</h2></div>`);
      if (unref(countries) && unref(services)) {
        _push(ssrRenderComponent(_sfc_main$1, {
          countries: unref(countries),
          services: unref(services),
          "is-campaign": true
        }, null, _parent));
      } else {
        _push(`<!---->`);
      }
      _push(`</div>`);
      if (unref(data)) {
        _push(ssrRenderComponent(_component_CampaignReelsSlider, {
          projects: unref(projects),
          class: "-order-1 mx-auto max-w-[450px] lg:order-1 lg:col-span-6 lg:col-start-8 xl:col-start-9 2xl:col-start-9 2xl:ms-10"
        }, null, _parent));
      } else {
        _push(`<!---->`);
      }
      _push(`</div></div></header>`);
    };
  }
});
const _sfc_setup = _sfc_main.setup;
_sfc_main.setup = (props, ctx) => {
  const ssrContext = useSSRContext();
  (ssrContext.modules || (ssrContext.modules = /* @__PURE__ */ new Set())).add("components/campaign/Hero.vue");
  return _sfc_setup ? _sfc_setup(props, ctx) : void 0;
};

export { _sfc_main as default };
//# sourceMappingURL=Hero-kEHPop-l.mjs.map
