import __nuxt_component_0 from './Contact-Ik5xD7tN.mjs';
import { defineComponent, computed, mergeProps, unref, useSSRContext } from 'vue';
import { ssrRenderAttrs, ssrRenderComponent } from 'vue/server-renderer';
import { u as useSocialIconsQuery, a as useServicesQuery } from './contact-k0MTtZDV.mjs';
import { u as useBranches } from './useBranches-BHivqtZy.mjs';
import './SectionHeadline-0zkilFRp.mjs';
import './ContactIcon-CO7vyUaQ.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 './Form-BItdTITZ.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';
import './Skeleton-CRkCoUmX.mjs';
import './EmptyState-CWK2sm1Q.mjs';
import './BrancheCard-DdXAv4Sd.mjs';
import './fetch-C0COJdJ7.mjs';
import '@vue/shared';
import './asyncData-t1m_EyLu.mjs';

const _sfc_main = /* @__PURE__ */ defineComponent({
  __name: "ContactSection",
  __ssrInlineRender: true,
  props: {
    backgroundEven: {
      type: Boolean,
      default: true
    }
  },
  setup(__props) {
    const { branches, isLoading } = useBranches();
    const { data: socialIcons } = useSocialIconsQuery();
    const { data: services } = useServicesQuery();
    const safeSocialIcons = computed(() => {
      var _a;
      return (_a = socialIcons.value) != null ? _a : [];
    });
    const safeServices = computed(() => {
      var _a;
      return (_a = services.value) != null ? _a : [];
    });
    return (_ctx, _push, _parent, _attrs) => {
      const _component_Contact = __nuxt_component_0;
      _push(`<section${ssrRenderAttrs(mergeProps({
        id: "contact",
        class: [__props.backgroundEven ? "bg-gradient-even" : "bg-gradient-odd", "py-section"]
      }, _attrs))}>`);
      _push(ssrRenderComponent(_component_Contact, {
        "social-icons": unref(safeSocialIcons),
        branches: unref(branches),
        "branches-loading": unref(isLoading),
        services: unref(safeServices),
        "form-title": _ctx.$t("contactSection.title")
      }, null, _parent));
      _push(`</section>`);
    };
  }
});
const _sfc_setup = _sfc_main.setup;
_sfc_main.setup = (props, ctx) => {
  const ssrContext = useSSRContext();
  (ssrContext.modules || (ssrContext.modules = /* @__PURE__ */ new Set())).add("components/home/ContactSection.vue");
  return _sfc_setup ? _sfc_setup(props, ctx) : void 0;
};

export { _sfc_main as default };
//# sourceMappingURL=ContactSection-BeDWIOxs.mjs.map
