import { a as Html, H as Head, M as Meta, L as Link, B as Body } from './components-BFogvFSQ.mjs';
import { mergeProps, unref, withCtx, createVNode, renderSlot, useSSRContext } from 'vue';
import { ssrRenderComponent, ssrRenderSlot } from 'vue/server-renderer';
import { u as useI18n, c as useHead } from './server.mjs';
import '../_/nitro.mjs';
import 'node:http';
import 'node:https';
import 'node:fs';
import 'node:url';
import 'ipx';
import 'node:path';
import 'unhead';
import '@unhead/shared';
import 'vue-router';
import 'vue-social-sharing';
import 'axios';
import '@headlessui/vue';
import 'yup';

const _sfc_main = {
  __name: "media",
  __ssrInlineRender: true,
  setup(__props) {
    const { t, locale } = useI18n();
    useHead({
      titleTemplate: `%s - ${t("NAV.media")}`
    });
    return (_ctx, _push, _parent, _attrs) => {
      const _component_Html = Html;
      const _component_Head = Head;
      const _component_Meta = Meta;
      const _component_Link = Link;
      const _component_Body = Body;
      _push(ssrRenderComponent(_component_Html, mergeProps({ lang: unref(locale) }, _attrs), {
        default: withCtx((_, _push2, _parent2, _scopeId) => {
          if (_push2) {
            _push2(ssrRenderComponent(_component_Head, null, {
              default: withCtx((_2, _push3, _parent3, _scopeId2) => {
                if (_push3) {
                  _push3(ssrRenderComponent(_component_Meta, {
                    name: "google-site-verification",
                    content: "TRBHjNKSiN5U5acO_fU_9sfar64NGrmHQ9UZ_vH0528"
                  }, null, _parent3, _scopeId2));
                  _push3(ssrRenderComponent(_component_Link, {
                    rel: "alternate",
                    href: `https://alalmiyalhura.com${unref(locale) == "ar" ? "/ar" : ""}`,
                    hreflang: unref(locale)
                  }, null, _parent3, _scopeId2));
                } else {
                  return [
                    createVNode(_component_Meta, {
                      name: "google-site-verification",
                      content: "TRBHjNKSiN5U5acO_fU_9sfar64NGrmHQ9UZ_vH0528"
                    }),
                    createVNode(_component_Link, {
                      rel: "alternate",
                      href: `https://alalmiyalhura.com${unref(locale) == "ar" ? "/ar" : ""}`,
                      hreflang: unref(locale)
                    }, null, 8, ["href", "hreflang"])
                  ];
                }
              }),
              _: 1
            }, _parent2, _scopeId));
            _push2(ssrRenderComponent(_component_Body, {
              dir: unref(locale) == "ar" ? "rtl" : "ltr"
            }, {
              default: withCtx((_2, _push3, _parent3, _scopeId2) => {
                if (_push3) {
                  _push3(`<div class="app_wrapper" id="app_wrapper"${_scopeId2}>`);
                  ssrRenderSlot(_ctx.$slots, "default", {}, null, _push3, _parent3, _scopeId2);
                  _push3(`</div>`);
                } else {
                  return [
                    createVNode("div", {
                      class: "app_wrapper",
                      id: "app_wrapper"
                    }, [
                      renderSlot(_ctx.$slots, "default")
                    ])
                  ];
                }
              }),
              _: 3
            }, _parent2, _scopeId));
          } else {
            return [
              createVNode(_component_Head, null, {
                default: withCtx(() => [
                  createVNode(_component_Meta, {
                    name: "google-site-verification",
                    content: "TRBHjNKSiN5U5acO_fU_9sfar64NGrmHQ9UZ_vH0528"
                  }),
                  createVNode(_component_Link, {
                    rel: "alternate",
                    href: `https://alalmiyalhura.com${unref(locale) == "ar" ? "/ar" : ""}`,
                    hreflang: unref(locale)
                  }, null, 8, ["href", "hreflang"])
                ]),
                _: 1
              }),
              createVNode(_component_Body, {
                dir: unref(locale) == "ar" ? "rtl" : "ltr"
              }, {
                default: withCtx(() => [
                  createVNode("div", {
                    class: "app_wrapper",
                    id: "app_wrapper"
                  }, [
                    renderSlot(_ctx.$slots, "default")
                  ])
                ]),
                _: 3
              }, 8, ["dir"])
            ];
          }
        }),
        _: 3
      }, _parent));
    };
  }
};
const _sfc_setup = _sfc_main.setup;
_sfc_main.setup = (props, ctx) => {
  const ssrContext = useSSRContext();
  (ssrContext.modules || (ssrContext.modules = /* @__PURE__ */ new Set())).add("layouts/media.vue");
  return _sfc_setup ? _sfc_setup(props, ctx) : void 0;
};

export { _sfc_main as default };
//# sourceMappingURL=media-DM2Cu-23.mjs.map
