import { ref, mergeProps, useSSRContext } from 'vue';
import { ssrRenderAttrs, ssrInterpolate } from 'vue/server-renderer';
import { f as useRoute } from '../server.mjs';
import '../../nitro/node-server.mjs';
import 'node:http';
import 'node:https';
import 'fs';
import 'path';
import 'node:fs';
import 'node:url';
import 'unhead';
import '@unhead/shared';
import 'vue-router';
import '@ebec/http/core';
import 'hapic';
import '@hapic/oauth2';
import 'rapiq';
import '@hapic/vault';
import '@vue-layout/navigation';
import 'change-case';
import '@vue-layout/list-controls/core';
import 'smob';
import '@vue-layout/list-controls';
import '@vue-layout/form-controls';
import '@vue-layout/pagination';
import '@ucast/mongo2js';
import 'ilingo';
import '@vuelidate/validators';
import '@vuelidate/core';
import 'nanoid';
import 'bootstrap-vue-next';
import '@vue-layout/preset-bootstrap-v5';
import '@vue-layout/preset-font-awesome';
import '@vue-layout/countdown';
import '@vue-layout/timeago';
import 'browser-storage-adapter';

const _sfc_main = {
  __name: "authorize-error",
  __ssrInlineRender: true,
  setup(__props) {
    const message = ref("An unknown error occurred.");
    const route = useRoute();
    if (route.query.message) {
      message.value = route.query.message;
    }
    return (_ctx, _push, _parent, _attrs) => {
      _push(`<div${ssrRenderAttrs(mergeProps({ class: "d-flex align-items-center justify-content-center h-100" }, _attrs))}><div class="oauth2-wrapper panel-card p-3 flex-column"><div class="text-center"><i class="fa-solid fa-exclamation fa-10x text-danger"></i></div><div class="text-center fs-6 p-3">${ssrInterpolate(message.value)}</div></div></div>`);
    };
  }
};
const _sfc_setup = _sfc_main.setup;
_sfc_main.setup = (props, ctx) => {
  const ssrContext = useSSRContext();
  (ssrContext.modules || (ssrContext.modules = /* @__PURE__ */ new Set())).add("pages/authorize-error.vue");
  return _sfc_setup ? _sfc_setup(props, ctx) : void 0;
};

export { _sfc_main as default };
//# sourceMappingURL=authorize-error-dfca9f3a.mjs.map
