import { _ as _sfc_main$2, a as _sfc_main$1 } from './tiles-BSfcgfjL.mjs';
import { _ as _sfc_main$3 } from './tiles-Wv8aXLwm.mjs';
import { _ as __nuxt_component_4 } from './footer-Cr83qpIL.mjs';
import { withAsyncContext, resolveComponent, useSSRContext } from 'vue';
import { ssrRenderAttrs, ssrRenderComponent } from 'vue/server-renderer';
import { e as useMaghaleStore, b as useRuntimeConfig, g as useRoute, d as useSeoMeta } from './server.mjs';
import './second-title-B9UcHZfY.mjs';
import 'axios';
import './statistics-90Di9IHE.mjs';
import '../routes/renderer.mjs';
import 'vue-bundle-renderer/runtime';
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 'unhead/server';
import 'devalue';
import 'unhead/plugins';
import 'unhead/utils';
import './_plugin-vue_export-helper-1tPrXgE0.mjs';
import 'pinia';
import 'vue-router';
import 'deep-pick-omit';
import 'sweetalert2';

const _sfc_main = {
  __name: "index",
  __ssrInlineRender: true,
  async setup(__props) {
    let __temp, __restore;
    const store = useMaghaleStore();
    const activity = ([__temp, __restore] = withAsyncContext(() => $fetch(useRuntimeConfig().public.BaseUrl + "papers/get_activity/" + useRoute().params.id)), __temp = await __temp, __restore(), __temp);
    useSeoMeta({
      title: activity.title,
      ogTitle: activity.title,
      image: activity.get_image,
      ogImage: activity.get_image,
      ogImageUrl: activity.get_image,
      description: activity.abstract,
      ogDescription: activity.abstract
    });
    store.setActivityTitle(activity);
    return (_ctx, _push, _parent, _attrs) => {
      const _component_PaperDetails = resolveComponent("PaperDetails");
      const _component_HandoutTiles = _sfc_main$2;
      const _component_LinkTiles = _sfc_main$1;
      const _component_CommentTiles = _sfc_main$3;
      const _component_MaghaleFooter = __nuxt_component_4;
      _push(`<div${ssrRenderAttrs(_attrs)}>`);
      _push(ssrRenderComponent(_component_PaperDetails, null, null, _parent));
      _push(ssrRenderComponent(_component_HandoutTiles, null, null, _parent));
      _push(ssrRenderComponent(_component_LinkTiles, null, null, _parent));
      _push(ssrRenderComponent(_component_CommentTiles, null, null, _parent));
      _push(ssrRenderComponent(_component_MaghaleFooter, null, null, _parent));
      _push(`</div>`);
    };
  }
};
const _sfc_setup = _sfc_main.setup;
_sfc_main.setup = (props, ctx) => {
  const ssrContext = useSSRContext();
  (ssrContext.modules || (ssrContext.modules = /* @__PURE__ */ new Set())).add("pages/papers/[id]/index.vue");
  return _sfc_setup ? _sfc_setup(props, ctx) : void 0;
};

export { _sfc_main as default };
//# sourceMappingURL=index-H2cxOgmZ.mjs.map
