import { version, ref, watchEffect, watch, getCurrentInstance, defineComponent, createElementBlock, hasInjectionContext, unref, inject, useSSRContext, createApp, effectScope, reactive, provide, onUnmounted, nextTick, toRef, isRef, defineAsyncComponent, onErrorCaptured, onServerPrefetch, createVNode, resolveDynamicComponent, h, isReadonly, isShallow, isReactive, toRaw, withCtx, createTextVNode, toDisplayString, mergeProps } from 'vue'; import { d as useRuntimeConfig$1, $ as $fetch, w as withQuery, l as hasProtocol, p as parseURL, m as isScriptProtocol, j as joinURL, h as createError$1, n as sanitizeStatusCode, o as createHooks, q as isEqual, r as stringifyParsedURL, t as stringifyQuery, v as parseQuery } from '../nitro/node-server.mjs'; import { getActiveHead } from 'unhead'; import { defineHeadPlugin, composableNames } from '@unhead/shared'; import { ssrRenderSuspense, ssrRenderComponent, ssrRenderVNode, ssrInterpolate, ssrRenderAttr, ssrRenderList, ssrRenderClass, ssrRenderStyle, ssrIncludeBooleanAttr, ssrRenderAttrs } from 'vue/server-renderer'; import axios from 'axios'; import 'node:http'; import 'node:https'; import 'fs'; import 'path'; import 'node:fs'; import 'node:url'; function createContext$1(opts = {}) { let currentInstance; let isSingleton = false; const checkConflict = (instance) => { if (currentInstance && currentInstance !== instance) { throw new Error("Context conflict"); } }; let als; if (opts.asyncContext) { const _AsyncLocalStorage = opts.AsyncLocalStorage || globalThis.AsyncLocalStorage; if (_AsyncLocalStorage) { als = new _AsyncLocalStorage(); } else { console.warn("[unctx] `AsyncLocalStorage` is not provided."); } } const _getCurrentInstance = () => { if (als && currentInstance === void 0) { const instance = als.getStore(); if (instance !== void 0) { return instance; } } return currentInstance; }; return { use: () => { const _instance = _getCurrentInstance(); if (_instance === void 0) { throw new Error("Context is not available"); } return _instance; }, tryUse: () => { return _getCurrentInstance(); }, set: (instance, replace) => { if (!replace) { checkConflict(instance); } currentInstance = instance; isSingleton = true; }, unset: () => { currentInstance = void 0; isSingleton = false; }, call: (instance, callback) => { checkConflict(instance); currentInstance = instance; try { return als ? als.run(instance, callback) : callback(); } finally { if (!isSingleton) { currentInstance = void 0; } } }, async callAsync(instance, callback) { currentInstance = instance; const onRestore = () => { currentInstance = instance; }; const onLeave = () => currentInstance === instance ? onRestore : void 0; asyncHandlers$1.add(onLeave); try { const r = als ? als.run(instance, callback) : callback(); if (!isSingleton) { currentInstance = void 0; } return await r; } finally { asyncHandlers$1.delete(onLeave); } } }; } function createNamespace$1(defaultOpts = {}) { const contexts = {}; return { get(key, opts = {}) { if (!contexts[key]) { contexts[key] = createContext$1({ ...defaultOpts, ...opts }); } contexts[key]; return contexts[key]; } }; } const _globalThis$1 = typeof globalThis !== "undefined" ? globalThis : typeof self !== "undefined" ? self : typeof global !== "undefined" ? global : {}; const globalKey$2 = "__unctx__"; const defaultNamespace = _globalThis$1[globalKey$2] || (_globalThis$1[globalKey$2] = createNamespace$1()); const getContext = (key, opts = {}) => defaultNamespace.get(key, opts); const asyncHandlersKey$1 = "__unctx_async_handlers__"; const asyncHandlers$1 = _globalThis$1[asyncHandlersKey$1] || (_globalThis$1[asyncHandlersKey$1] = /* @__PURE__ */ new Set()); const appConfig = useRuntimeConfig$1().app; const baseURL = () => appConfig.baseURL; if (!globalThis.$fetch) { globalThis.$fetch = $fetch.create({ baseURL: baseURL() }); } const nuxtAppCtx = /* @__PURE__ */ getContext("nuxt-app", { asyncContext: false }); const NuxtPluginIndicator = "__nuxt_plugin"; function createNuxtApp(options) { let hydratingCount = 0; const nuxtApp = { _scope: effectScope(), provide: void 0, globalName: "nuxt", versions: { get nuxt() { return "3.8.2"; }, get vue() { return nuxtApp.vueApp.version; } }, payload: reactive({ data: {}, state: {}, _errors: {}, ...{ serverRendered: true } }), static: { data: {} }, runWithContext: (fn) => nuxtApp._scope.run(() => callWithNuxt(nuxtApp, fn)), isHydrating: false, deferHydration() { if (!nuxtApp.isHydrating) { return () => { }; } hydratingCount++; let called = false; return () => { if (called) { return; } called = true; hydratingCount--; if (hydratingCount === 0) { nuxtApp.isHydrating = false; return nuxtApp.callHook("app:suspense:resolve"); } }; }, _asyncDataPromises: {}, _asyncData: {}, _payloadRevivers: {}, ...options }; nuxtApp.hooks = createHooks(); nuxtApp.hook = nuxtApp.hooks.hook; { const contextCaller = async function(hooks, args) { for (const hook of hooks) { await nuxtApp.runWithContext(() => hook(...args)); } }; nuxtApp.hooks.callHook = (name, ...args) => nuxtApp.hooks.callHookWith(contextCaller, name, ...args); } nuxtApp.callHook = nuxtApp.hooks.callHook; nuxtApp.provide = (name, value) => { const $name = "$" + name; defineGetter(nuxtApp, $name, value); defineGetter(nuxtApp.vueApp.config.globalProperties, $name, value); }; defineGetter(nuxtApp.vueApp, "$nuxt", nuxtApp); defineGetter(nuxtApp.vueApp.config.globalProperties, "$nuxt", nuxtApp); { if (nuxtApp.ssrContext) { nuxtApp.ssrContext.nuxt = nuxtApp; nuxtApp.ssrContext._payloadReducers = {}; nuxtApp.payload.path = nuxtApp.ssrContext.url; } nuxtApp.ssrContext = nuxtApp.ssrContext || {}; if (nuxtApp.ssrContext.payload) { Object.assign(nuxtApp.payload, nuxtApp.ssrContext.payload); } nuxtApp.ssrContext.payload = nuxtApp.payload; nuxtApp.ssrContext.config = { public: options.ssrContext.runtimeConfig.public, app: options.ssrContext.runtimeConfig.app }; } const runtimeConfig = options.ssrContext.runtimeConfig; nuxtApp.provide("config", runtimeConfig); return nuxtApp; } async function applyPlugin(nuxtApp, plugin) { if (plugin.hooks) { nuxtApp.hooks.addHooks(plugin.hooks); } if (typeof plugin === "function") { const { provide: provide2 } = await nuxtApp.runWithContext(() => plugin(nuxtApp)) || {}; if (provide2 && typeof provide2 === "object") { for (const key in provide2) { nuxtApp.provide(key, provide2[key]); } } } } async function applyPlugins(nuxtApp, plugins2) { var _a, _b; const parallels = []; const errors = []; for (const plugin of plugins2) { if (((_a = nuxtApp.ssrContext) == null ? void 0 : _a.islandContext) && ((_b = plugin.env) == null ? void 0 : _b.islands) === false) { continue; } const promise = applyPlugin(nuxtApp, plugin); if (plugin.parallel) { parallels.push(promise.catch((e) => errors.push(e))); } else { await promise; } } await Promise.all(parallels); if (errors.length) { throw errors[0]; } } /*! @__NO_SIDE_EFFECTS__ */ // @__NO_SIDE_EFFECTS__ function defineNuxtPlugin(plugin) { if (typeof plugin === "function") { return plugin; } delete plugin.name; return Object.assign(plugin.setup || (() => { }), plugin, { [NuxtPluginIndicator]: true }); } function callWithNuxt(nuxt, setup, args) { const fn = () => args ? setup(...args) : setup(); { return nuxt.vueApp.runWithContext(() => nuxtAppCtx.callAsync(nuxt, fn)); } } /*! @__NO_SIDE_EFFECTS__ */ // @__NO_SIDE_EFFECTS__ function useNuxtApp() { var _a; let nuxtAppInstance; if (hasInjectionContext()) { nuxtAppInstance = (_a = getCurrentInstance()) == null ? void 0 : _a.appContext.app.$nuxt; } nuxtAppInstance = nuxtAppInstance || nuxtAppCtx.tryUse(); if (!nuxtAppInstance) { { throw new Error("[nuxt] instance unavailable"); } } return nuxtAppInstance; } /*! @__NO_SIDE_EFFECTS__ */ // @__NO_SIDE_EFFECTS__ function useRuntimeConfig() { return (/* @__PURE__ */ useNuxtApp()).$config; } function defineGetter(obj, key, val) { Object.defineProperty(obj, key, { get: () => val }); } version.startsWith("3"); function resolveUnref(r) { return typeof r === "function" ? r() : unref(r); } function resolveUnrefHeadInput(ref2, lastKey = "") { if (ref2 instanceof Promise) return ref2; const root = resolveUnref(ref2); if (!ref2 || !root) return root; if (Array.isArray(root)) return root.map((r) => resolveUnrefHeadInput(r, lastKey)); if (typeof root === "object") { return Object.fromEntries( Object.entries(root).map(([k, v]) => { if (k === "titleTemplate" || k.startsWith("on")) return [k, unref(v)]; return [k, resolveUnrefHeadInput(v, k)]; }) ); } return root; } defineHeadPlugin({ hooks: { "entries:resolve": function(ctx) { for (const entry2 of ctx.entries) entry2.resolvedInput = resolveUnrefHeadInput(entry2.input); } } }); const headSymbol = "usehead"; const _global = typeof globalThis !== "undefined" ? globalThis : typeof global !== "undefined" ? global : typeof self !== "undefined" ? self : {}; const globalKey$1 = "__unhead_injection_handler__"; function setHeadInjectionHandler(handler) { _global[globalKey$1] = handler; } function injectHead() { if (globalKey$1 in _global) { return _global[globalKey$1](); } const head = inject(headSymbol); if (!head && "production" !== "production") console.warn("Unhead is missing Vue context, falling back to shared context. This may have unexpected results."); return head || getActiveHead(); } function useHead(input, options = {}) { const head = options.head || injectHead(); if (head) { if (!head.ssr) return clientUseHead(head, input, options); return head.push(input, options); } } function clientUseHead(head, input, options = {}) { const deactivated = ref(false); const resolvedInput = ref({}); watchEffect(() => { resolvedInput.value = deactivated.value ? {} : resolveUnrefHeadInput(input); }); const entry2 = head.push(resolvedInput.value, options); watch(resolvedInput, (e) => { entry2.patch(e); }); getCurrentInstance(); return entry2; } const coreComposableNames = [ "injectHead" ]; ({ "@unhead/vue": [...coreComposableNames, ...composableNames] }); const unhead_KgADcZ0jPj = /* @__PURE__ */ defineNuxtPlugin({ name: "nuxt:head", enforce: "pre", setup(nuxtApp) { const head = nuxtApp.ssrContext.head; setHeadInjectionHandler( // need a fresh instance of the nuxt app to avoid parallel requests interfering with each other () => (/* @__PURE__ */ useNuxtApp()).vueApp._context.provides.usehead ); nuxtApp.vueApp.use(head); } }); const PageRouteSymbol = Symbol("route"); const useRouter = () => { var _a; return (_a = /* @__PURE__ */ useNuxtApp()) == null ? void 0 : _a.$router; }; const useRoute = () => { if (hasInjectionContext()) { return inject(PageRouteSymbol, (/* @__PURE__ */ useNuxtApp())._route); } return (/* @__PURE__ */ useNuxtApp())._route; }; /*! @__NO_SIDE_EFFECTS__ */ // @__NO_SIDE_EFFECTS__ function defineNuxtRouteMiddleware(middleware) { return middleware; } const isProcessingMiddleware = () => { try { if ((/* @__PURE__ */ useNuxtApp())._processingMiddleware) { return true; } } catch { return true; } return false; }; const navigateTo = (to, options) => { if (!to) { to = "/"; } const toPath = typeof to === "string" ? to : withQuery(to.path || "/", to.query || {}) + (to.hash || ""); if (options == null ? void 0 : options.open) { return Promise.resolve(); } const isExternal = (options == null ? void 0 : options.external) || hasProtocol(toPath, { acceptRelative: true }); if (isExternal) { if (!(options == null ? void 0 : options.external)) { throw new Error("Navigating to an external URL is not allowed by default. Use `navigateTo(url, { external: true })`."); } const protocol = parseURL(toPath).protocol; if (protocol && isScriptProtocol(protocol)) { throw new Error(`Cannot navigate to a URL with '${protocol}' protocol.`); } } const inMiddleware = isProcessingMiddleware(); const router = useRouter(); const nuxtApp = /* @__PURE__ */ useNuxtApp(); { if (nuxtApp.ssrContext) { const fullPath = typeof to === "string" || isExternal ? toPath : router.resolve(to).fullPath || "/"; const location2 = isExternal ? toPath : joinURL((/* @__PURE__ */ useRuntimeConfig()).app.baseURL, fullPath); const redirect = async function(response) { await nuxtApp.callHook("app:redirected"); const encodedLoc = location2.replace(/"/g, "%22"); nuxtApp.ssrContext._renderResponse = { statusCode: sanitizeStatusCode((options == null ? void 0 : options.redirectCode) || 302, 302), body: ``, headers: { location: location2 } }; return response; }; if (!isExternal && inMiddleware) { router.afterEach((final) => final.fullPath === fullPath ? redirect(false) : void 0); return to; } return redirect(!inMiddleware ? void 0 : ( /* abort route navigation */ false )); } } if (isExternal) { nuxtApp._scope.stop(); if (options == null ? void 0 : options.replace) { location.replace(toPath); } else { location.href = toPath; } if (inMiddleware) { if (!nuxtApp.isHydrating) { return false; } return new Promise(() => { }); } return Promise.resolve(); } return (options == null ? void 0 : options.replace) ? router.replace(to) : router.push(to); }; const useError = () => toRef((/* @__PURE__ */ useNuxtApp()).payload, "error"); const showError = (_err) => { const err = createError(_err); try { const nuxtApp = /* @__PURE__ */ useNuxtApp(); const error = useError(); if (false) ; error.value = error.value || err; } catch { throw err; } return err; }; const isNuxtError = (err) => !!(err && typeof err === "object" && "__nuxt_error" in err); const createError = (err) => { const _err = createError$1(err); _err.__nuxt_error = true; return _err; }; function createContext(opts = {}) { let currentInstance; let isSingleton = false; const checkConflict = (instance) => { if (currentInstance && currentInstance !== instance) { throw new Error("Context conflict"); } }; let als; if (opts.asyncContext) { const _AsyncLocalStorage = opts.AsyncLocalStorage || globalThis.AsyncLocalStorage; if (_AsyncLocalStorage) { als = new _AsyncLocalStorage(); } else { console.warn("[unctx] `AsyncLocalStorage` is not provided."); } } const _getCurrentInstance = () => { if (als && currentInstance === void 0) { const instance = als.getStore(); if (instance !== void 0) { return instance; } } return currentInstance; }; return { use: () => { const _instance = _getCurrentInstance(); if (_instance === void 0) { throw new Error("Context is not available"); } return _instance; }, tryUse: () => { return _getCurrentInstance(); }, set: (instance, replace) => { if (!replace) { checkConflict(instance); } currentInstance = instance; isSingleton = true; }, unset: () => { currentInstance = void 0; isSingleton = false; }, call: (instance, callback) => { checkConflict(instance); currentInstance = instance; try { return als ? als.run(instance, callback) : callback(); } finally { if (!isSingleton) { currentInstance = void 0; } } }, async callAsync(instance, callback) { currentInstance = instance; const onRestore = () => { currentInstance = instance; }; const onLeave = () => currentInstance === instance ? onRestore : void 0; asyncHandlers.add(onLeave); try { const r = als ? als.run(instance, callback) : callback(); if (!isSingleton) { currentInstance = void 0; } return await r; } finally { asyncHandlers.delete(onLeave); } } }; } function createNamespace(defaultOpts = {}) { const contexts = {}; return { get(key, opts = {}) { if (!contexts[key]) { contexts[key] = createContext({ ...defaultOpts, ...opts }); } contexts[key]; return contexts[key]; } }; } const _globalThis = typeof globalThis !== "undefined" ? globalThis : typeof self !== "undefined" ? self : typeof global !== "undefined" ? global : {}; const globalKey = "__unctx__"; _globalThis[globalKey] || (_globalThis[globalKey] = createNamespace()); const asyncHandlersKey = "__unctx_async_handlers__"; const asyncHandlers = _globalThis[asyncHandlersKey] || (_globalThis[asyncHandlersKey] = /* @__PURE__ */ new Set()); const manifest_45route_45rule = /* @__PURE__ */ defineNuxtRouteMiddleware(async (to) => { { return; } }); const globalMiddleware = [ manifest_45route_45rule ]; function getRouteFromPath(fullPath) { if (typeof fullPath === "object") { fullPath = stringifyParsedURL({ pathname: fullPath.path || "", search: stringifyQuery(fullPath.query || {}), hash: fullPath.hash || "" }); } const url = parseURL(fullPath.toString()); return { path: url.pathname, fullPath, query: parseQuery(url.search), hash: url.hash, // stub properties for compat with vue-router params: {}, name: void 0, matched: [], redirectedFrom: void 0, meta: {}, href: fullPath }; } const router_CaKIoANnI2 = /* @__PURE__ */ defineNuxtPlugin({ name: "nuxt:router", enforce: "pre", setup(nuxtApp) { const initialURL = nuxtApp.ssrContext.url; const routes = []; const hooks = { "navigate:before": [], "resolve:before": [], "navigate:after": [], error: [] }; const registerHook = (hook, guard) => { hooks[hook].push(guard); return () => hooks[hook].splice(hooks[hook].indexOf(guard), 1); }; (/* @__PURE__ */ useRuntimeConfig()).app.baseURL; const route = reactive(getRouteFromPath(initialURL)); async function handleNavigation(url, replace) { try { const to = getRouteFromPath(url); for (const middleware of hooks["navigate:before"]) { const result = await middleware(to, route); if (result === false || result instanceof Error) { return; } if (typeof result === "string" && result.length) { return handleNavigation(result, true); } } for (const handler of hooks["resolve:before"]) { await handler(to, route); } Object.assign(route, to); if (false) ; for (const middleware of hooks["navigate:after"]) { await middleware(to, route); } } catch (err) { for (const handler of hooks.error) { await handler(err); } } } const router = { currentRoute: route, isReady: () => Promise.resolve(), // These options provide a similar API to vue-router but have no effect options: {}, install: () => Promise.resolve(), // Navigation push: (url) => handleNavigation(url), replace: (url) => handleNavigation(url), back: () => window.history.go(-1), go: (delta) => window.history.go(delta), forward: () => window.history.go(1), // Guards beforeResolve: (guard) => registerHook("resolve:before", guard), beforeEach: (guard) => registerHook("navigate:before", guard), afterEach: (guard) => registerHook("navigate:after", guard), onError: (handler) => registerHook("error", handler), // Routes resolve: getRouteFromPath, addRoute: (parentName, route2) => { routes.push(route2); }, getRoutes: () => routes, hasRoute: (name) => routes.some((route2) => route2.name === name), removeRoute: (name) => { const index = routes.findIndex((route2) => route2.name === name); if (index !== -1) { routes.splice(index, 1); } } }; nuxtApp.vueApp.component("RouterLink", { functional: true, props: { to: String, custom: Boolean, replace: Boolean, // Not implemented activeClass: String, exactActiveClass: String, ariaCurrentValue: String }, setup: (props, { slots }) => { const navigate = () => handleNavigation(props.to, props.replace); return () => { var _a; const route2 = router.resolve(props.to); return props.custom ? (_a = slots.default) == null ? void 0 : _a.call(slots, { href: props.to, navigate, route: route2 }) : h("a", { href: props.to, onClick: (e) => { e.preventDefault(); return navigate(); } }, slots); }; } }); nuxtApp._route = route; nuxtApp._middleware = nuxtApp._middleware || { global: [], named: {} }; const initialLayout = nuxtApp.payload.state._layout; nuxtApp.hooks.hookOnce("app:created", async () => { router.beforeEach(async (to, from) => { var _a; to.meta = reactive(to.meta || {}); if (nuxtApp.isHydrating && initialLayout && !isReadonly(to.meta.layout)) { to.meta.layout = initialLayout; } nuxtApp._processingMiddleware = true; if (!((_a = nuxtApp.ssrContext) == null ? void 0 : _a.islandContext)) { const middlewareEntries = /* @__PURE__ */ new Set([...globalMiddleware, ...nuxtApp._middleware.global]); for (const middleware of middlewareEntries) { const result = await nuxtApp.runWithContext(() => middleware(to, from)); { if (result === false || result instanceof Error) { const error = result || createError$1({ statusCode: 404, statusMessage: `Page Not Found: ${initialURL}` }); delete nuxtApp._processingMiddleware; return nuxtApp.runWithContext(() => showError(error)); } } if (result === true) { continue; } if (result || result === false) { return result; } } } }); router.afterEach(() => { delete nuxtApp._processingMiddleware; }); await router.replace(initialURL); if (!isEqual(route.fullPath, initialURL)) { await nuxtApp.runWithContext(() => navigateTo(route.fullPath)); } }); return { provide: { route, router } }; } }); function definePayloadReducer(name, reduce) { { (/* @__PURE__ */ useNuxtApp()).ssrContext._payloadReducers[name] = reduce; } } const reducers = { NuxtError: (data) => isNuxtError(data) && data.toJSON(), EmptyShallowRef: (data) => isRef(data) && isShallow(data) && !data.value && (typeof data.value === "bigint" ? "0n" : JSON.stringify(data.value) || "_"), EmptyRef: (data) => isRef(data) && !data.value && (typeof data.value === "bigint" ? "0n" : JSON.stringify(data.value) || "_"), ShallowRef: (data) => isRef(data) && isShallow(data) && data.value, ShallowReactive: (data) => isReactive(data) && isShallow(data) && toRaw(data), Ref: (data) => isRef(data) && data.value, Reactive: (data) => isReactive(data) && toRaw(data) }; const revive_payload_server_eJ33V7gbc6 = /* @__PURE__ */ defineNuxtPlugin({ name: "nuxt:revive-payload:server", setup() { for (const reducer in reducers) { definePayloadReducer(reducer, reducers[reducer]); } } }); const components_plugin_KR1HBZs4kY = /* @__PURE__ */ defineNuxtPlugin({ name: "nuxt:global-components" }); const element_plus_teleports_plugin_h4Dmekbj62 = /* @__PURE__ */ defineNuxtPlugin((nuxtApp) => { nuxtApp.hook("app:rendered", (ctx) => { var _a; if ((_a = ctx.ssrContext) == null ? void 0 : _a.teleports) { ctx.ssrContext.teleports = renderTeleports(ctx.ssrContext.teleports); } }); }); function renderTeleports(teleports) { const body = Object.entries(teleports).reduce((all, [key, value]) => { if (key.startsWith("#el-popper-container-") || [].includes(key)) { return `${all}
${value}
`; } return all; }, teleports.body || ""); return { ...teleports, body }; } const ID_INJECTION_KEY = Symbol("elIdInjection"); ref(0); const ZINDEX_INJECTION_KEY = Symbol("elZIndexContextKey"); const element_plus_injection_plugin_1RNPi6ogby = /* @__PURE__ */ defineNuxtPlugin((nuxtApp) => { nuxtApp.vueApp.provide(ID_INJECTION_KEY, { "prefix": 1024, "current": 0 }).provide(ZINDEX_INJECTION_KEY, { "current": 0 }); }); const plugins = [ unhead_KgADcZ0jPj, router_CaKIoANnI2, revive_payload_server_eJ33V7gbc6, components_plugin_KR1HBZs4kY, element_plus_teleports_plugin_h4Dmekbj62, element_plus_injection_plugin_1RNPi6ogby ]; const removeUndefinedProps = (props) => Object.fromEntries(Object.entries(props).filter(([, value]) => value !== void 0)); const setupForUseMeta = (metaFactory, renderChild) => (props, ctx) => { useHead(() => metaFactory({ ...removeUndefinedProps(props), ...ctx.attrs }, ctx)); return () => { var _a, _b; return renderChild ? (_b = (_a = ctx.slots).default) == null ? void 0 : _b.call(_a) : null; }; }; const globalProps = { accesskey: String, autocapitalize: String, autofocus: { type: Boolean, default: void 0 }, class: [String, Object, Array], contenteditable: { type: Boolean, default: void 0 }, contextmenu: String, dir: String, draggable: { type: Boolean, default: void 0 }, enterkeyhint: String, exportparts: String, hidden: { type: Boolean, default: void 0 }, id: String, inputmode: String, is: String, itemid: String, itemprop: String, itemref: String, itemscope: String, itemtype: String, lang: String, nonce: String, part: String, slot: String, spellcheck: { type: Boolean, default: void 0 }, style: String, tabindex: String, title: String, translate: String }; defineComponent({ name: "NoScript", inheritAttrs: false, props: { ...globalProps, title: String, body: Boolean, renderPriority: [String, Number] }, setup: setupForUseMeta((props, { slots }) => { var _a; const noscript = { ...props }; const textContent = (((_a = slots.default) == null ? void 0 : _a.call(slots)) || []).filter(({ children }) => children).map(({ children }) => children).join(""); if (textContent) { noscript.children = textContent; } return { noscript: [noscript] }; }) }); defineComponent({ // eslint-disable-next-line vue/no-reserved-component-names name: "Link", inheritAttrs: false, props: { ...globalProps, as: String, crossorigin: String, disabled: Boolean, fetchpriority: String, href: String, hreflang: String, imagesizes: String, imagesrcset: String, integrity: String, media: String, prefetch: { type: Boolean, default: void 0 }, referrerpolicy: String, rel: String, sizes: String, title: String, type: String, /** @deprecated **/ methods: String, /** @deprecated **/ target: String, body: Boolean, renderPriority: [String, Number] }, setup: setupForUseMeta((link) => ({ link: [link] })) }); defineComponent({ // eslint-disable-next-line vue/no-reserved-component-names name: "Base", inheritAttrs: false, props: { ...globalProps, href: String, target: String }, setup: setupForUseMeta((base) => ({ base })) }); const Title = defineComponent({ // eslint-disable-next-line vue/no-reserved-component-names name: "Title", inheritAttrs: false, setup: setupForUseMeta((_, { slots }) => { var _a, _b, _c; return { title: ((_c = (_b = (_a = slots.default) == null ? void 0 : _a.call(slots)) == null ? void 0 : _b[0]) == null ? void 0 : _c.children) || null }; }) }); const Meta = defineComponent({ // eslint-disable-next-line vue/no-reserved-component-names name: "Meta", inheritAttrs: false, props: { ...globalProps, charset: String, content: String, httpEquiv: String, name: String, body: Boolean, renderPriority: [String, Number] }, setup: setupForUseMeta((props) => { const meta = { ...props }; if (meta.httpEquiv) { meta["http-equiv"] = meta.httpEquiv; delete meta.httpEquiv; } return { meta: [meta] }; }) }); defineComponent({ // eslint-disable-next-line vue/no-reserved-component-names name: "Style", inheritAttrs: false, props: { ...globalProps, type: String, media: String, nonce: String, title: String, /** @deprecated **/ scoped: { type: Boolean, default: void 0 }, body: Boolean, renderPriority: [String, Number] }, setup: setupForUseMeta((props, { slots }) => { var _a, _b, _c; const style = { ...props }; const textContent = (_c = (_b = (_a = slots.default) == null ? void 0 : _a.call(slots)) == null ? void 0 : _b[0]) == null ? void 0 : _c.children; if (textContent) { style.children = textContent; } return { style: [style] }; }) }); const Head = defineComponent({ // eslint-disable-next-line vue/no-reserved-component-names name: "Head", inheritAttrs: false, setup: (_props, ctx) => () => { var _a, _b; return (_b = (_a = ctx.slots).default) == null ? void 0 : _b.call(_a); } }); defineComponent({ // eslint-disable-next-line vue/no-reserved-component-names name: "Html", inheritAttrs: false, props: { ...globalProps, manifest: String, version: String, xmlns: String, renderPriority: [String, Number] }, setup: setupForUseMeta((htmlAttrs) => ({ htmlAttrs }), true) }); defineComponent({ // eslint-disable-next-line vue/no-reserved-component-names name: "Body", inheritAttrs: false, props: { ...globalProps, renderPriority: [String, Number] }, setup: setupForUseMeta((bodyAttrs) => ({ bodyAttrs }), true) }); const __nuxt_component_3 = defineComponent({ name: "ClientOnly", inheritAttrs: false, // eslint-disable-next-line vue/require-prop-types props: ["fallback", "placeholder", "placeholderTag", "fallbackTag"], setup(_, { slots, attrs }) { const mounted = ref(false); return (props) => { var _a; if (mounted.value) { return (_a = slots.default) == null ? void 0 : _a.call(slots); } const slot = slots.fallback || slots.placeholder; if (slot) { return slot(); } const fallbackStr = props.fallback || props.placeholder || ""; const fallbackTag = props.fallbackTag || props.placeholderTag || "span"; return createElementBlock(fallbackTag, attrs, fallbackStr); }; } }); const _imports_0$1 = "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAIAAAACACAYAAADDPmHLAAALmklEQVR4nO2d7VnbSBeGZ6QF9l+cCkIqwFsBpIKQAgC5gpAKcCoIWwEKFBBvBXEqCFQQbwXr999CX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65lev1D6PN5/qvvE6z8lL/gtbVCop4ZDCnFGIm8l66S/z1DiV4ZvOs+BoB33ccA8K77F/DNI1Ad1eJHAAAAAElFTkSuQmCC"; const _imports_5$1 = "" + __buildAssetsURL("menu-icon-gray.d61f02b1.svg"); const _imports_7$1 = "" + __buildAssetsURL("comment-icon-gray.2c8779f9.svg"); const _imports_7 = "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAADAAAAAwCAYAAABXAvmHAAAAAXNSR0IArs4c6QAAAERlWElmTU0AKgAAAAgAAYdpAAQAAAABAAAAGgAAAAAAA6ABAAMAAAABAAEAAKACAAQAAAABAAAAMKADAAQAAAABAAAAMAAAAADbN2wMAAAFFklEQVRoBdWZW2icRRTHdze7MVsviblYRVEbr4iihnjpmnuCxEARtQYFxZc+ircHfUygUkXQPlnQKuibBEEkNRISkxDazUNDQLBREW0pPtikmsqa2N1ks/5OzLecmb0k+/ml+zkw7DlnZs78/zNn5puZDQZ2KI2MjFwVjUZfxf1+8q3ki+STmUzm/a6uri+RPUlBT7xYTsbHx+8Kh8NfA/ZGq8hRP0U40NnZueYY3P6G3DYs1G5ycrKmoqLiqyLgpekL5DcL+SjF7jkBOn+ZfLMF4i90e7RfGxsbKzRDVvPC6k4QeFp3FwwGjywuLtYRUtcgx1VZBJtRV5VtW/ScACBv070TSgf7+/tTra2tS+vr6+/qMuT7LL1k1VMCs7OzEQBHFIo0C/U3R2dtfO/I8gvZ27XuRvaUwPLy8g2CSwFZUnIAAr9qHbI3ad2N7CkBQuQWDYIRPqv1lpaWBLaUslUq2ZXoKQEQ9GoUjLARMlKGLUsAMhW6vhvZMwKDg4Pi60kLxJjWh4aGBPDljg0yq47s9tczAu3t7c8CYo8CcjGdTh9TeqChoeFqdL1GzupyN7InBEZHR2VUD1oAPu/p6fld21gjTVonhE5r3Y3sCYHKysqP6FyPfprweNsGFAqFHrVs31l6yWq45BaqASCDU1NThzA9o8wiHuXEecqyiWoQIMS+yVOnJJNrAsPDw7sA/wG9P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H0MgS2MHi+ABzEOUnh0H+CJ9RMBfLoPYPv7KICKBw/yLTgu0zzjNcCf+wBfqO1PiaAWQaEqupyfuz9xVQJ0mbfiRqv/SfwnAvhxH+AzpUQ6jz3Ah/sA3H+aJq7KvoTAW9aJVwkglCJdzHHO0VqfuMYCZKnTETG2/fB5lsVFeUBWewfqeab1iVxagE7eB7D4zS5ZMRGgm/cBPs8L70SASypda1vW1pfmkwjQtfvA8bXXKk1WV04EQKPQdbjWOhzuHkywJwJ06zjMHxH7udYngRIBoNgSv+m+fOWJz/GvOxNTEokAtFoibozcJjX5JlWGmoePDem6GstkvJ8gPyryzEQAGkQnJnwxvaMFJGeS+GHnbobfC8b475yxNpvfD1j5I3AP8P+E06KT/wdPOffX7me6UQAAAABJRU5ErkJggg=="; const _imports_12 = "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAIAAAACACAYAAADDPmHLAAAAAXNSR0IArs4c6QAAAERlWElmTU0AKgAAAAgAAYdpAAQAAAABAAAAGgAAAAAAA6ABAAMAAAABAAEAAKACAAQAAAABAAAAgKADAAQAAAABAAAAgAAAAABIjgR3AAAGo0lEQVR4Ae2dTW8bVRSGEydOihDEUSW2ICQ2wBJERSLRDaJlwc8obBI5ShQkVl4SN5aVOEIgfgb9QioqCxcWXSLY0ILKjkWkuBVK4yQO5ygzMHbjyXzcO3PPue9Iluf73vu8z1zPxJnxxAQGEAABEAABEAABEAABEAABEAABEAABEAABEAABEAABEAABEAABEAABEAABEAABEAABEAABPQQmbTVlZWXl9cFg8GalUnk2MzPzYGNjo2erLI37rdfrtZOTk3epbbPE8Ld2u/2HjXYaF2B5efkNqvC3VNkPIhXuT05Ofj03N/d5o9F4FpmP0RECxOdCr9e7TuFfo0Uz4WKavkevT7e3t38P55l4NypAEP7PVLGLYyrXpd7g42az+XTMcq9nr6+vv9Tv928RhMUxIHbpQLpEvcHDMctTz66k3iJmg+DIHxc+b7lIDbzNDY3ZjZeLgvBvM6MYABepF/gmZnnqRcZ6AP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p9HJ0qZKNNf9Sn06MdyUDrYITch6ZeLxfKNa6QCQnDUCNfhCvUs2QbOgkK/JcVlbWm539a6KxTajqkvLP+UU0DExoJAsA/yipGwlefVMGoA4s6UTAbqBq94SaRCfgct5Om9N9O23ZsuU63vfTAKiTxl5S8itSzitt9nhSkn8uGoDstm/fPkx/XKA6MomfVvTa+HpdHoRrYAXXAIuyORjy9K3BZIwC9Hh0+XDCKaiOPh2iLI3K+aBDUHYqAHWurq7OrK2t1WwthqNWQ926S94fugnyJcDbn3GS+u10AIEH/ZbKTD7FLGqTZwX6bpaN2OvAWArw8JLqjM+0Awic+m+UycjT4DFwur7asNnPRGxixrcAvA45bUp30MgBCOYqjtZxgBkLGP1UeSOsYzHbN9BeqIWP0ecwffaxgav5Hyp/+u1dLv4D4SL5jJQdUmEAAAAASUVORK5CYII="; const _sfc_main$3 = { __name: "commentList", __ssrInlineRender: true, props: { token: String }, setup(__props, { expose: __expose, emit: __emit }) { const $ajax = inject("$ajax"); inject("$ajaxGET"); const detailsToken = inject("detailsToken"); const handleDate = inject("handleDate"); inject("isNeedLogin"); inject("handleMsg"); inject("uploadImg"); inject("handleAnswerText"); const emojiMaskState = inject("emojiMaskState"); const user = inject("user"); inject("goLogin"); inject("detailLoading"); const commentList = ref([]); let commentCount = ref(0); let commentTotalCount = ref(0); let commentPage = ref(1); let isgetCommentSate = false; const getComment = () => { if (commentPage.value == 0 || isgetCommentSate) return; isgetCommentSate = true; $ajax("/api/comment/lists", { token: detailsToken.value, page: commentPage.value, limit: 1500 }).then((res) => { if (res.code != 200) return; let data = res.data; data.data.forEach((element, index) => { element["isReplyBoxShow"] = 0; if (element.child.length > 0) { element.child.forEach((el) => { el["isReplyBoxShow"] = 0; }); } }); if (commentPage.value > 1) { let alreadyCommentIdList = alreadyCommentIdList; for (let index = 0; index < data.data.length; index++) { if (alreadyCommentIdList.includes(data.data[index].id)) { data.data.splice(index, 1); index--; } } } commentList.value = commentList.value.concat(data.data); commentCount.value = data.count; commentTotalCount.value = data.comments; commentPage.value = data.count > commentList.length ? commentPage.value + 1 : 0; }).finally(() => { isgetCommentSate = false; }); }; let picture = ref({}); watch( detailsToken, (newValue, oldValue) => { if (newValue !== oldValue) { commentPage.value = 1; commentList.value = []; picture.value = {}; commentTotalCount.value = 0; commentCount.value = 0; getComment(); } }, { immediate: true } ); let emojiState = ref(false); const emojiData = ["😀", "😁", "😆", "😅", "😂", "😉", "😍", "🥰", "😋", "😜", "🤪", "😎", "🤩", "🥳", "😔", "🙁", "😭", "😡", "😳", "🤗", "🤔", "🤭", "🤫", "😯", "😵", "🙄", "🥴", "🤢", "🤑", "🤠", "👌", "✌️", "🤟", "🤘", "🤙", "👍", "👎", "✊", "👏", "🤝", "🙏", "💪", "❤️", "💔", "🌹", "🥀", "🎉", "🎁", "🧧", "🌙", "⭐", "🌍", "💌", "📬", "🚗", "🚕", "🚲", "🛵", "🚀", "🚁", "⛵", "🚢", "🍎", "🍐", "🍊", "🍉", "🍓", "🍑", "🍔", "🍟", "🍕", "🥪", "🍜", "🍡", "🍨", "🍦", "🎂", "🍰", "🍭", "🍿", "🍩", "🧃", "🍹"]; const closeEmoji = (index, i) => { commentList.value.forEach((ele) => { ele["emojiState"] = false; if (ele["child"] && ele["child"].length != 0) { ele["child"].forEach((el) => { el["emojiState"] = false; }); } }); emojiState.value = false; emojiMaskState.value = false; }; __expose({ closeEmoji }); let inputTextarea = ref(""); inject("handleMenuState"); return (_ctx, _push, _parent, _attrs) => { _push(`
回答&讨论 ${ssrInterpolate(unref(commentTotalCount) || "")}
`); if (unref(user).avatar) { _push(``); } else { _push(``); } _push(`
`); if (unref(picture).url) { _push(`
`); } else { _push(``); } _push(`
`); ssrRenderList(emojiData, (item) => { _push(`
${ssrInterpolate(item)}
`); }); _push(`
最多可上传1张图片,支持在输入框中直接粘贴图片。
发送
`); ssrRenderList(unref(commentList), (item, index) => { var _a, _b, _c, _d; _push(`
${ssrInterpolate(item["nickname"] || "匿名用户")}
${ssrInterpolate(unref(handleDate)(item["timestamp"]))}
`); if (item["isauthor"] == 1) { _push(`
提问者
`); } else { _push(``); } if (item["avatarState"]) { _push(``); } else { _push(``); } _push(`
${item["content"]}
`); if ((_a = item.image) == null ? void 0 : _a.url) { _push(``); } else { _push(``); } if (item["childState"]) { _push(`
`); if ((_d = item.picture) == null ? void 0 : _d.url) { _push(`
`); } else { _push(``); } _push(`
`); ssrRenderList(emojiData, (item2) => { _push(`
${ssrInterpolate(item2)}
`); }); _push(`
最多可上传1张图片,支持在输入框中直接粘贴图片。
发送
`); } else { _push(``); } _push(`
`); if (item["child"].length != 0) { _push(`
`); ssrRenderList(item["child"], (ite, i) => { var _a2, _b2, _c2, _d2, _e; _push(`
${ssrInterpolate(ite["nickname"] || "匿名用户")}
${ssrInterpolate(unref(handleDate)(ite["timestamp"]))}
`); if (ite["isauthor"] == 1) { _push(`
提问者
`); } else { _push(``); } if (ite["avatarState"]) { _push(``); } else { _push(``); } _push(`
`); if ((_a2 = ite == null ? void 0 : ite.reply) == null ? void 0 : _a2.nickname) { _push(`
@${ssrInterpolate(ite["reply"]["nickname"] || "匿名用户")}
`); } else { _push(``); } _push(`${ite["content"]}
`); if ((_b2 = ite.image) == null ? void 0 : _b2.url) { _push(``); } else { _push(``); } if (ite["childState"]) { _push(`
`); if ((_e = ite.picture) == null ? void 0 : _e.url) { _push(`
`); } else { _push(``); } _push(`
`); ssrRenderList(emojiData, (item2) => { _push(`
${ssrInterpolate(item2)}
`); }); _push(`
最多可上传1张图片,支持在输入框中直接粘贴图片。
发送
`); } else { _push(``); } _push(`
`); }); _push(``); if (item["childnum"] > item["child"].length) { _push(`
还有${ssrInterpolate(item["childnum"] - item.child.length)}条回复
`); } else { _push(``); } _push(`
`); } else { _push(``); } _push(`
`); }); _push(`
`); }; } }; const _sfc_setup$3 = _sfc_main$3.setup; _sfc_main$3.setup = (props, ctx) => { const ssrContext = useSSRContext(); (ssrContext.modules || (ssrContext.modules = /* @__PURE__ */ new Set())).add("components/commentList.vue"); return _sfc_setup$3 ? _sfc_setup$3(props, ctx) : void 0; }; const __nuxt_component_4 = _sfc_main$3; const useStateKeyPrefix = "$s"; function useState(...args) { const autoKey = typeof args[args.length - 1] === "string" ? args.pop() : void 0; if (typeof args[0] !== "string") { args.unshift(autoKey); } const [_key, init] = args; if (!_key || typeof _key !== "string") { throw new TypeError("[nuxt] [useState] key must be a string: " + _key); } if (init !== void 0 && typeof init !== "function") { throw new Error("[nuxt] [useState] init must be a function: " + init); } const key = useStateKeyPrefix + _key; const nuxt = /* @__PURE__ */ useNuxtApp(); const state = toRef(nuxt.payload.state, key); if (state.value === void 0 && init) { const initialValue = init(); if (isRef(initialValue)) { nuxt.payload.state[key] = initialValue; return initialValue; } state.value = initialValue; } return state; } const _imports_0 = "" + __buildAssetsURL("logo.6622f82d.png"); const _imports_1 = "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAEAAAABACAYAAACqaXHeAAAFqUlEQVR4nN2a200jSxCGa1bwBGh9IlgTAUaAxBtNBGsiWBMBJgJMBGsiYIgAbwQ7vCEBwkSAieCA4I3L7FdmxjK+zaVnBuxPKlWZNUXXP9Xd7vY6UgAbGxtbvu8brOI4Tokfica4EhbS4d86/Pwe3+Z1e3Fx8czzvHvi3MhFgM3NzfLLy8seoaGgCj41gRge/uTi4kLjTMlMAGNM6fHx8ScDrdsWPYHOt2/fmgsLCydZdUYmAqyvrx/4vl8nLGFFoNOkyRQ5shXCSoC1tbVfuIaIlOVz0OLrV1dXJ/hUOFhigjl+7LOwyReAbvDm5uZ2z8/PO5KQxALQ7rqwnRKWsK/EPbZLN7TwsUkkAMUf+L7fkC8M3dC8vLzcJ4xFbAGY78e4mkwHLp2wi4/EwSKZsuJDWoiwg59IpABTWnxIZCc42Fgovonbw6aZI0So40cyVgCKr+JOsVlgBxFa+CFGCmDeP9beEpawWeB+fn5+ddTnhJECsN399b/Ih5ysYHv02B63CT/gYB/g6Fp7e3s7Jpw5OEjtcqJ0pY8hAZj7t7iyzC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DHKzyxugRYgTI6dBaq5BfyADDnmoGLCXQFbgUwFeA44z8lvs8GZrUDb9W7LiUZXV44SDQcu2PkEKJNblKi1A+jk4l90Amp3mj9VVCuPAFW/XDW8K5FvCcHdQLKqpwe4ZFQWXBHwUa/ypb1UGA0bgCTAdlnD10Blq8qAf6UPuKrpLSD1a7r8in5quEya7jnX6WIr0+HfuEnZMqAzoHaQ1nBL0HJH0s3bl8n0rMJMcRi6reobbqf2AncMgtRFhwrlTcqkFhrvSr1e/z0DhfsPxGG9xQ8noKbOR2MN52CtgQLzkKZy+j5+4mokTDVPnyWKUPpzSeGFYbYNv+wdna28wzxYPfrc3ZMtjEhPucan1v7qtaxTbo0TV+4Ykl6GHIYKjMW8GYmtc5E7/KrGSqHdJfxW4FAgqw95936g5MN46KMrmJ/4BNSs7bOk8MV9hZivkgJvM6Fi376LArZm9xV+SP8zdYXuK/yUfml+uS/A8uhY5XAWAXX7bc6P/xv+P2Z/AEq6ab7rDxu3AAAAJXRFWHRkYXRlOmNyZWF0ZQAyMDIyLTA4LTE4VDE1OjIwOjM1KzA4OjAwHpcN9AAAACV0RVh0ZGF0ZTptb2RpZnkAMjAyMi0wOC0xOFQxNToyMDozNSswODowMG/KtUgAAABJdEVYdHN2ZzpiYXNlLXVyaQBmaWxlOi8vL2hvbWUvYWRtaW4vaWNvbi1mb250L3RtcC9pY29uX2kyYzV4MjJydTJsL3NvdXN1by5zdmfTYjJrAAAAAElFTkSuQmCC"; const _imports_3 = "" + __buildAssetsURL("add-icon.0b0b5313.svg"); const _imports_4 = "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACAAAAAgCAYAAABzenr0AAAAAXNSR0IArs4c6QAAAERlWElmTU0AKgAAAAgAAYdpAAQAAAABAAAAGgAAAAAAA6ABAAMAAAABAAEAAKACAAQAAAABAAAAIKADAAQAAAABAAAAIAAAAACshmLzAAAED0lEQVRYCe2Wu09UQRTGdwlYWWMAIzEhWhCJhRgVAbHzAWil1sT/gKcKLAqG159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06CgnFKody0b9xPA+RkbaLALugT7AGvDbp5SRY1tFEonIY8F7UKVY56L/QG6mjn5mhkRrwjapatk7VWiocUq+4KSkK6KPvl6lzBc+xUhWcfZR+0+TZ4rISUGJIFEJiBLVeY9f0l6rPbf2xBA8KE5Qw1iOje36Wbm1c2x63cnPYk4A58QjVouvqVRm2l4TMAsQfZRZcXExOBCzQVXQjyWuYpAhpf+Gr6Pqnm2U3Jvx7brH/ZbYd+APZxM/2zgvhdQAAAABJRU5ErkJggg=="; const _imports_5 = "" + __buildAssetsURL("dot.1026a040.svg"); const _imports_6 = "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAEAAAABACAYAAACqaXHeAAAAAXNSR0IArs4c6QAAAERlWElmTU0AKgAAAAgAAYdpAAQAAAABAAAAGgAAAAAAA6ABAAMAAAABAAEAAKACAAQAAAABAAAAQKADAAQAAAABAAAAQAAAAABGUUKwAAAG+ElEQVR4Ae1bXXLbNhAG/aPX8AZRTxD6BGZOEOUE9nN/JuoJrJ7A6kzbV6snsHwCsycwfYI6J6j8qiRivl0CJEiCECiBkuwpZigusD/ALheLBUgJcUAlG0dh9mMU7XJIJ7vsTO+LlBVfxAeRiRjtpHQklkxxxr87+tm5AbKfo1isxCcoOzLo+HvwV5oa2ntr2pkBWPFMXEH5uFWbgZi04npC9G4AdvWluIHipideqhWIv4NpuigbdgP1agB+6ktxC1XCteoEYraWpgeCoAeZLBLR/BLAjaP8z5j7Q0dar2RHXqVJYdlP0Rigq/LENZesO795NwA/+Uxcd9LkSCSd6D0SezVAR7cv1TjZnwG8xQCZwT2UWjlDe5v/NEKfHkDRfpPytAmTLx4vy6B0/eGGg0pd+ZBTDJE+U3BNRSDugj/SxJW3jc6XB1y1deDQvnCgYRIkSk/YO5zhGiOxuofh/0WuMXLlN9FtbQA5gKFJeE9tiSZ3CEPcYtm9Z+/QEK7g1gaw5vauo+hG15wytKNciodNvGF7AwhsabcrYSf2QLRNmZC9Ic9AnUX6MMDQuTczYWRubmk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HaHln8RW6craPyXYO7RQHpA4djVF5E6M19fWLXJlAksjUVJkLkE1lmDFGJoJPbTiQFcZIPUgrk1E06WP8IGDuTyLUzGpoJYirtR9VuCNygBzn3JrshrncPi0ZY6TiI/YPzxqtHeA40Yy1NeRG/qmvjgGyKWG3PKtNiB/IGVx4+i9HiPYCGs+kERiNEbyM/Q3EE1Sli/nygMIM9PQvkH6LwAZIXQVzAlR1w8uXYUT3YCTMe1ILG+g1aCvQnn9PecBlh4o6GG1oa/Lby1k26HyL9OfSEigS5Iud621zbDszYr6t2wKOCrqVWAM2rRostM+gS7BRfcFrhAXjSaGy8cMu/4cB1V6WqXWFe09YcUAxAfrJ7g1IzchX0cpToRJHT0G5OoN+JyfAuLrKxT55XG4Uq5hABmpRyDoMx6o/nd5pxyD9KqUhgEIS8siomRUW6crjC+sQg/TlGMYpoDUjBOSUw5IlKC83JInWzE/VIMWjSBooBG8Jq84TzBvhExMh9BGJ9CnOK22/BnLyQCkCycxS87hx6geuiEoiE/w1Ge4W4uzAZQUaQgKJpe4Dm25dFZc6dPZAIqR7pS14fx+hOSFDLIvYzwjWM8xBuPLFn28JngrA9QFcpqb8eltDFyEq4/NFT1l+sNEgivd9k8TXg2AgTUKT5n8sIS+NySjlCUQw5bdXlISAZL/KttW2YrM/yu5Bb4DerorwNygw+YAAAAASUVORK5CYII="; const _imports_8 = "" + __buildAssetsURL("dot-yellow.4b5e135b.svg"); const _imports_9 = "" + __buildAssetsURL("dot-gray.86cdd7b5.svg"); const _imports_10 = "" + __buildAssetsURL("empty-icon.24a01ae2.svg"); const _imports_11 = "" + __buildAssetsURL("close-icon.86743366.svg"); const _imports_15 = "" + __buildAssetsURL("view-icon.da7fef35.svg"); const _imports_16 = "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAEAAAABACAYAAACqaXHeAAAAAXNSR0IArs4c6QAAAERlWElmTU0AKgAAAAgAAYdpAAQAAAABAAAAGgAAAAAAA6ABAAMAAAABAAEAAKACAAQAAAABAAA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= "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAADAAAAAwCAYAAABXAvmHAAAAAXNSR0IArs4c6QAAAERlWElmTU0AKgAAAAgAAYdpAAQAAAABAAAAGgAAAAAAA6ABAAMAAAABAAEAAKACAAQAAAABAAAAMKADAAQAAAABAAAAMAAAAADbN2wMAAACWUlEQVRoBe2Zyy4sURSGm7QBI2dESI4WyTFhxuQ8BPEQLhPEROI2FzPxHNIJOZwnOE9gSjsuESNDA9f/a7WS1a2LiC69S/ZK/uy1V7H3vy5VvatWofBaumSaE/4KF8Kd8JSCBdk/K6yRtj57w+FQmBU6hTdlSlcvhbQF6+1ZO1C/H85MeA/a3WRJ+q7Q52yhqf0iVBYWjVhbohB5yNscc0XYS8ZbDA3kn2xHDewfMY3oj3+n/AMlMyhMCiXB5FEKnOFXoOZ92TxoviIUhVCkQ0RWBbhZWZ1Lr94T3LBmZIR8qLImYp7rDER52pjxWHpIkYefFzJREYzvATcxNWiyL+XeJgGOPFardZ9wG8WBHkf0zOmhqv8dsV4c8CUTcvSNt+dYxIFcS3Sg1emLGWh1Bjj7VH/NEiLNONtk7dNbZ6es947rxwjECMQI1EWAx+i4sCx0110LfXojgls4wAtCScijVDhK8HaTV3kiA2MCJfQjZ15QQps54xzpxgjECHy7CPAYzf0LjX2mY2zG9/6ss1zTEIkv9VmH+731Ywbei1DW179FBmq+9mYdsSasX/M1nQxcu0V/Oj1UteSIXaHTRLbfghPptHFCFbidCsb3D0TpgJuBkW5gqLIhYp7rNERpVV64C7Qy6QaGlAm4rAu+zXqmeSdnIYT2fVnwT6VTzWn60blsZaN7SPvDb0AwodGNrVpCZlyU4j30qUrTOZd8Vlgjbf1GdjjO26Y+4tsy0r6nnEIVuvNEfscIegew0YP9JXBjHwiXgv+d0PRLhb3hQKlw7B9OdA0v8gypmLKP2lSLggAAAABJRU5ErkJggg=="; const _imports_22 = "" + __buildAssetsURL("QRCode-icon.a105d5fc.svg"); const _imports_23 = "" + __buildAssetsURL("delete-icon.4d386dce.svg"); const _imports_24 = "" + __buildAssetsURL("arrows-icon.271dd0d3.svg"); const _imports_25 = "" + __buildAssetsURL("tick-orange.233abc69.svg"); const _imports_26 = "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAADAAAAAwCAYAAABXAvmHAAAAAXNSR0IArs4c6QAAAERlWElmTU0AKgAAAAgAAYdpAAQAAAABAAAAGgAAAAAAA6ABAAMAAAABAAEAAKACAAQAAAABAAAAMKADAAQAAAABAAAAMAAAAADbN2wMAAAECklEQVRoBe1YS2tTQRTOowmND1wYEl26Cc2jWVhXBUvEqlDqMq2KCzdaf4ArcSEIWlB3LkTpqq0IAQVRd2pUbFwY+kif2bRQKDTGhViTJsbE76QzdW7M497k5uaCGbg9Z+bOPef7zpyZnozB0G7tCPzfETC2mr7f73fk8/mbhUJhw+Px3AmFQr+VYGopAQb+DQD7GOiQ3W6/EA6Hc3JJmOVOVHteGfDkwptKpdxYiedra2t5OT5NciapPcfn8zmRNu9gl0c+I/gIJpPJ8WAwKCu4siYJxhtWKfLId0obLzP2E3LAaDTGIM+wMR9IyFoJTQmUSRsCPzg/Px9OJBIRp9P5QyAhK500I1ANPIu6gUg4HI4t9E+zsZokNCEgB3y9JJpOQAn4ekg0lQCdNtiwdNrwDbtlMpkGYrHYBw6WSyLa19e3vbi4WKAxlk5ZqCfZHEqnDMY/sn5RNO0YJfDw8BaPhzksgp+bm5MAoHder/c8jtX15eXlMTaXiwgUIsGbgytcdnBFTakUPI7Qcfg341nnOGAjAP0VHisbm83lcreYvitULyXK5HwKaTS4sLBAqSRpADmEgUk8FMgxHKdXIPOwcRwr8hr6PjzUZrPZbH88Hk/udP/+VZWA1uCJhmoEWgFeNQKtAq8KgVaCb5hAq8E3REAP4OsmoBfwdRHQE3jFBPQGXhEBPYInAlR/1GxdXV0HUa+8x0ReVf5EfwD/+mlM0iqVByjYTmAilQd72QczqG36V1ZWvkkMKOzIKubMZvNt2OVVJUqbwlmA/6ckrgYehF/Cxh6Grwge1WdD4MmWnHLaBOfDzDEJdI1XA4GAhDzA+/HuCZ4OvH8MgpehFwsz9F9A5+CpMDulBnjYrE0AwOjq4wBNFtoQbg0mRRJYlRSAbkI+wA+WEcwtYN/IrioF24rUmsVcd3f3CEA9ZFZXIY8IHibcbvelcteBlPMg1JS0EfzXXgGA7+UfANAN6Nd4H/Li0tKSZCXoHUUec8W0mVEzbQT/tQlgskgggty+jzGRxDDSaYKnU5m0KW7Ycj9GRCD16lVTyOVy2a1WawLGad4mwB/ijrA1iMRd3od8itV6xCLPf0mpdtoIfiRq1VPIYrFQ9DnJKfFLkLmH/nVh7BzA05WhZuDJt+QoFMBwdTd9MEA3BMXW09NjSafTRxHxNEBvYpBuIKhxsk2P/I47BQQAdj9OllF82JvJZI7hfsfGjZRIzcCTXx6xEgwGA0UZQL/jRSWgkm9AMI6BZ52dnaPRaJS+06RVTCGkiKtKlNMA/AXvI7j++ISNHpmenv6qCeISJxUJ2Gy21e3t7Thy3IVnA99NEVjURZ+xuRHk6K8SW/rrUhrhP+1h/SFrI2pHoB2BdgT0EoE/XD0Yrfi3Ps4AAAAASUVORK5CYII="; const _imports_27 = "" + __buildAssetsURL("tick-no.179037b3.svg"); const _imports_28 = "" + __buildAssetsURL("tick-option.e092d22f.svg"); const _export_sfc = (sfc, props) => { const target = sfc.__vccOpts || sfc; for (const [key, val] of props) { target[key] = val; } return target; }; const _sfc_main$2 = { name: "#answer-app", async setup() { const $ajax = (url, data) => { url = url.indexOf("//") > -1 ? url : baseURL2 + url; return new Promise(function(resolve, reject) { axios.post(url, data, { emulateJSON: true, withCredentials: true, headers: { authorization: "production" !== "production" // 头部标记 } }).then(function(res) { var data2 = null; try { data2 = typeof res.data == "string" ? JSON.parse(res.data) : res.data; if (data2["code"] == 401) goLogin(); if (data2["code"] != 200) handleMsg("error", data2["message"] || "报错了,请重试!!!"); } catch (error) { } resolve(data2); }).catch((err) => { if (err.response.status == 401) ; resolve(err.response.data); }); }); }; const $ajaxGET = (url, data) => { url = url.indexOf("//") > -1 ? url : baseURL2 + url; return new Promise(function(resolve, reject) { axios.get(url, data, { emulateJSON: true, withCredentials: true, headers: { authorization: "production" !== "production" // 头部标记 } }).then(function(res) { var data2 = null; try { data2 = typeof res.data == "string" ? JSON.parse(res.data) : res.data; if (data2["code"] == 401) { goLogin(); } if (data2["code"] != 200) handleMsg("error", data2["message"] || "报错了,请重试!!!"); } catch (error) { } resolve(data2); }).catch((err) => { if (err.response.status == 401) ; resolve(err.response.data); }); }); }; provide("$ajax", $ajax); provide("$ajaxGET", $ajaxGET); let isNeedLogin = ref(true); provide("isNeedLogin", isNeedLogin); let emojiMaskState = ref(false); provide("emojiMaskState", emojiMaskState); const goLogin = () => { return; }; provide("goLogin", goLogin); const route = useRoute(); useState("detailsInfoData", () => { }); const baseURL2 = "https://ask.gter.net"; let type = ref("list"); let user = ref({}); provide("user", user); let originUrl = ref(""); onUnmounted(() => { window.removeEventListener("keydown", handleKeydown); window.removeEventListener("scroll", handleScroll); }); const getCurrentUrl = () => { return `${window.location["origin"]}?uniqid=${detailsInfo.value["uniqid"] || ""}`; }; let myCount = ref({}); const getUserData = (key) => { $ajax("/api/user").then((res) => { if (res.code != 200) return; let data = res.data; myCount.value = data.count; handleMy(key); }); }; let isSearchMode = ref(false); const setHistoricalSearchList = () => { if (!keyword.value) return; historicalSearchList.value.unshift(keyword.value); historicalSearchList.value = [...new Set(historicalSearchList.value)]; historicalSearchList.value = historicalSearchList.value.slice(0, 10); localStorage.setItem("historical-Search", JSON.stringify(historicalSearchList.value)); }; const searchClick = () => { setHistoricalSearchList(); page = 1; list.value = []; backupsList = []; listHeight.value = 0; type.value = "list"; pitchIndex.value = null; openBottom(); myModelState.value = false; replaceState({ keyword: keyword.value }); searchBlur(); getList(); }; const searchFocus = () => { if (historicalSearchList.value.length == 0) return; historicalSearchState.value = true; }; const searchBlur = () => { setTimeout(() => historicalSearchState.value = false, 300); }; const handleClickHistoricalItem = (value) => { keyword.value = value; searchClick(); }; const handleClickClear = () => { keyword.value = ""; page = 1; list.value = []; backupsList = []; listHeight.value = 0; type.value = "list"; openBottom(); pitchIndex.value = null; getList(); }; let historicalSearchState = ref(false); let historicalSearchList = ref([]); let tabListFixeState = ref(false); const handleScroll = () => { const scrollTop = document.documentElement.scrollTop || document.body.scrollTop; const scrollHeight = document.documentElement.scrollHeight; const clientHeight = document.documentElement.clientHeight; if (scrollTop + clientHeight >= scrollHeight - 40 && type.value == "list") getList(); if (scrollTop > 115) tabListFixeState.value = true; else tabListFixeState.value = false; }; let keyword = ref(""); let keywordText = ref(""); let list = ref([]); let backupsList = []; let page = 1; let total = ref(0); let loading = ref(false); let inTheEndState = ref(false); let isListEmptyState = ref(); let zeroreply = ref(0); const getList = () => { if (page == 0 || loading.value) return; loading.value = true; $ajax("/api/lists", { page, limit: 20, keyword: keyword.value, type: typePitch.value, zeroreply: zeroreply.value }).then((res) => { if (res.code == 401) ; if (res.code != 200) return; let data = res.data; data.data.forEach((element) => { element["content"] = element["content"].replace(/<[^>]*>/g, ""); element["content"] = element["content"].replace(/ /g, ""); }); list.value = list.value.concat(data.data || []); backupsList = backupsList.concat(data.data || []); total.value = data.count || 0; keywordText.value = keyword.value || ""; if (list.value.length >= data["count"]) page = 0; else page++; if (page == 0 && list.value.length != 0) inTheEndState.value = true; else inTheEndState.value = false; if (list.value.length == 0) isListEmptyState.value = true; else isListEmptyState.value = false; if (keyword.value) isSearchMode.value = true; else isSearchMode.value = false; if (type.value == "details") handleInsertRelatedlist(); if (list.value.length == 0) type.value = "list"; }).finally(() => loading.value = false); }; let typeList = ref([]); let typePitch = ref(null); let pageHeaderHeight = ref(0); let pageListHeight = ref(0); let isCommentList = ref(false); let detailsInfo = ref({}); let detailsIsanswered = ref(0); let detailsIscollection = ref(0); let detailsIsmyself = ref(0); let detailsToken = ""; let detailsToken2 = ref(""); let detailShare = ref({}); let detailLoading = ref(false); provide("detailLoading", detailLoading); provide("detailsToken", detailsToken2); const getDetails = (uniqid, index, isOpenAnswer) => { if (detailLoading.value) return; detailLoading.value = true; detailsInfo.value = {}; answerList.value = []; answerPage.value = 0; $ajax("/api/details", { uniqid }).then((res) => { if (res.code != 200) { type.value = "list"; openBottom(); pitchIndex.value = null; return; } let data = res.data; data["info"]["uniqid"] = uniqid; detailsInfo.value = data["info"] || {}; detailsIsanswered.value = data["isanswered"] || 0; detailsIscollection.value = data["iscollection"] || 0; detailsIsmyself.value = data["ismyself"] || 0; detailsToken = data["token"] || ""; detailsToken2.value = data["token"] || ""; detailShare.value = data["share"] || {}; islike.value = data["islike"] || 0; type.value = "details"; if (index !== null && index !== void 0) cut(index); else calculateListIndex(data.info, uniqid); answerList.value = []; answerPage.value = 1; closeAllTransmitState(); if (isOpenAnswer) openIAnswer(); seo.value = data.seo; yourAnswer.value = { text: "", anonymous: 0 }; nextTick(() => detailsAreaScrollTop()); handleInsertRelatedlist(uniqid); isCommentList.value = true; }).finally(() => detailLoading.value = false); }; const detailsAreaScrollTop = () => { let detailsArea = document.querySelector(".details-area-box"); detailsArea.scrollTo({ top: 0, behavior: "smooth" }); }; const calculateListIndex = (info, uniqid) => { var _a; let targetList = [...list.value]; if (targetList.length == 0 && isSearchMode.value == false && myModelState.value == false) { setTimeout(() => calculateListIndex(info, uniqid), 200); return; } let valve = false; list.value.forEach((element, index) => { if (element["uniqid"] == uniqid) { cut(index); pitchIndex.value = index; valve = true; } }); if (!valve) { let content = ""; if (((_a = info == null ? void 0 : info["content"]) == null ? void 0 : _a.indexOf("]*>/g, ""); content = content.replace(/ /g, ""); const obj = { answers: info["answers"], content, publicationdate: info["publicationdate"], title: info["title"], typename: info["typename"], uniqid }; list.value.unshift(obj); cut(0); } }; let answerList = ref([]); let answerPage = ref(1); const operateLike = () => { if (isNeedLogin.value) { return; } $ajax("/api/operate/like", { token: detailsToken }).then((res) => { if (res.code != 200) return; let data = res.data; islike.value = data.status || 0; detailsInfo.value["likenum"] = data.count || 0; handleMsg("success", res["message"] || "操作成功"); }); }; const operateCollect = (token = detailsToken, index) => { if (isNeedLogin.value) { return; } $ajax("/api/operate/collect", { token }).then((res) => { if (res.code != 200) return; let data = res.data; myCollectionPage = 1; myCollectionList.value = []; if (data["type"] == "askquestioncollection") { detailsIscollection.value = data["status"]; detailsInfo.value["collectionnum"] = data["count"]; } else { answerList.value[index]["iscollection"] = data["status"]; answerList.value[index]["collectionnum"] = data["count"]; } handleMsg("success", res["message"] || "操作成功"); if (data["status"]) myCount.value["collect"]++; else myCount.value["collect"]--; }); }; let IAnswerState = ref(false); let IAnswerEditState = ref(false); let IAnswerInfo = ref({}); const amendIAnswer = () => { IAnswerInfo.value["anonymous"] = IAnswerInfo.value["anonymous"] == 0 ? 1 : 0; }; const openCommentState = (index) => { if (answerList.value[index]["commentState"]) answerList.value[index]["commentState"] = false; else answerList.value[index]["commentState"] = true; if (answerList.value[index]["commentList"].length == 0 && answerList.value[index]["commentnum"] != 0) getAnswerCommentList(index); }; const getAnswerCommentList = (index) => { getAnswerCommentPublic(index, 2).then((res) => { let data = res.data; answerList.value[index]["commentList"] = answerList.value[index]["commentList"].concat(data.data); answerList.value[index]["commentCount"] = data["count"]; }); }; const handleAllComment = (index) => { answerCommentLimit = 1e3; getAnswerCommentPublic(index, 1e3).then((res) => { if (res.code != 200) return; let data = res.data; let slice3 = data.data.slice(1); let merged1 = [...answerList.value[index]["commentList"], ...slice3.filter((item2) => !answerList.value[index]["commentList"].find((item1) => item1.id == item2.id))]; answerList.value[index]["commentList"] = merged1; answerList.value[index]["showOneCommentState"] = false; }); }; const getAnswerCommentPublic = (index, limit) => { return new Promise((resolve, reject) => { $ajax("/api/comment/lists", { token: answerList.value[index]["token"], limit, childlimit: 1 }).then((res) => { if (res.code != 200) return; resolve(res); }); }); }; let myType = ref(""); const handleMy = (key) => { if (isNeedLogin.value) { return; } if (Object.keys(myCount.value).length === 0) { getUserData(key); return; } if (key == "collect") { myCollectionList.value = []; myCollectionPage = 1; getMyCollection(); } else if (key == "answers") { myAnswerList.value = []; myAnswerPage = 1; getMyAnswer(); } else if (key == "questions") { myQuestionsList.value = []; myQuestionsPage = 1; getMyQuestions(); } }; let myCollectionList = ref([]); let myCollectionCount = ref(0); let myCollectionPage = 1; let myCollectionLading = false; const getMyCollection = () => { if (myCollectionPage == 0 || myCollectionLading) return; myCollectionLading = true; $ajax("/api/user/collect", { limit: 20, page: myCollectionPage }).then((res) => { if (res.code != 200) return; let data = res.data; myType.value = "collect"; data.data.forEach((element) => { if (element["type"] == "askanswercollection") { let content = element["data"]["content"]; element["data"]["content"] = processHtml(content); } }); myCollectionList.value = myCollectionList.value.concat(data.data); myCollectionCount.value = data.count; if (myCollectionList.value.length != data["count"]) myCollectionPage++; else myCollectionPage = 0; }).finally(() => myCollectionLading = false); }; const processHtml = (html) => { var parser = new DOMParser(); var doc = parser.parseFromString(html, "text/html"); var img = doc.querySelector("img"); if (img) return ``; else return doc.body.textContent; }; const cancelCollection = (token, index) => { $ajax("/api/user/deleteCollect", { token }).then((res) => { if (res.code == 200) { myCollectionList.value.splice(index, 1); myCollectionCount.value--; myCount.value["collect"]--; handleMsg("success", res["message"] || "操作成功"); } }); }; const handleCollectionScroll = (e) => { const el = e.target; if (el.scrollHeight - el.scrollTop >= el.clientHeight + 10) return; getMyCollection(); }; let myAnswerList = ref([]); let myAnswerCount = ref(0); let myAnswerPage = 1; let myAnswerloadimg = false; const getMyAnswer = () => { if (myAnswerPage == 0 || myAnswerloadimg) return; myAnswerloadimg = true; $ajax("/api/user/answer", { limit: 20, page: myAnswerPage }).then((res) => { if (res.code != 200) return; let data = res.data; data.data.forEach((element) => { element["popupState"] = false; }); data.data.forEach((element) => { let content = element["content"]; element["content"] = processHtml(content); }); myAnswerList.value = myAnswerList.value.concat(data.data); myAnswerCount.value = data.count; if (myAnswerList.value.length != data["count"]) myAnswerPage++; else myAnswerPage = 0; myType.value = "answers"; }).finally(() => myAnswerloadimg = false); }; const handleAnswersScroll = (e) => { const el = e.target; if (el.scrollHeight - el.scrollTop >= el.clientHeight + 10) return; getMyAnswer(); }; let answerIndexOld = null; const cutAnswerPopupState = (index) => { myAnswerList.value[index]["popupState"] = true; if (answerIndexOld == index) { myAnswerList.value[index]["popupState"] = false; answerIndexOld = null; } else { myAnswerList.value[index]["popupState"] = true; if (answerIndexOld != null) myAnswerList.value[answerIndexOld]["popupState"] = false; answerIndexOld = index; } }; const changeAnonymous = (token, anonymous, index) => { $ajax("/api/publish/changeAnonymous", { token, anonymous }).then((res) => { if (res.code != 200) return; res.data; myAnswerList.value[index]["anonymous"] = anonymous; cutAnswerPopupState(index); handleMsg("success", res["message"] || "操作成功"); }); }; let myQuestionsList = ref([]); let myQuestionsCount = ref(0); let myQuestionsPage = 0; let myQuestionsloading = false; const getMyQuestions = () => { if (myQuestionsPage == 0 || myQuestionsloading) return; myQuestionsloading = true; $ajax("/api/user/questions", { limit: 20, page: myQuestionsPage }).then((res) => { if (res.code != 200) return; let data = res.data; myQuestionsList.value = myQuestionsList.value.concat(data.data); myQuestionsCount.value = data.count; myType.value = "questions"; if (myQuestionsList.value.length != data["count"]) myQuestionsPage++; else myQuestionsPage = 0; }).finally(() => myQuestionsloading = false); }; const handleQuestionsScroll = (e) => { const el = e.target; if (el.scrollHeight - el.scrollTop >= el.clientHeight + 10) return; getMyQuestions(); }; let questionsIndexOld = null; const cutQuestionsPopupState = (index) => { myQuestionsList.value[index]["popupState"] = true; if (questionsIndexOld == index) { myQuestionsList.value[index]["popupState"] = false; questionsIndexOld = null; } else { myQuestionsList.value[index]["popupState"] = true; if (questionsIndexOld != null) myQuestionsList.value[questionsIndexOld]["popupState"] = false; questionsIndexOld = index; } }; const changeAnonymousQuestions = (token, anonymous, index) => { $ajax("/api/publish/changeAnonymous", { token, anonymous }).then((res) => { if (res.code != 200) return; myQuestionsList.value[index]["anonymous"] = anonymous; cutQuestionsPopupState(index); handleMsg("success", res["message"] || "操作成功"); }); }; let questionsSetp = ref(0); const cutQuestionsSetp = (value) => questionsSetp.value = value; let questionsTypeList = ref([]); let questionsObj = ref({ // 提问的内容 token: "", title: "", content: "", tags: "", tid: "", anonymous: 0 }); const questionsInit = () => { if (isNeedLogin.value) { return; } $ajax("/api/publish/questions").then((res) => { if (res.code != 200) return; let data = res.data; questionsObj.value["token"] = data["token"]; questionsTypeList.value = data["typeList"] || []; cutQuestionsSetp(1); }); }; const choosingTheme = (id) => { questionsObj.value.tid = id; cutQuestionsSetp(2); }; const cutAnonymous = () => { questionsObj.value.anonymous = questionsObj.value.anonymous == 0 ? 1 : 0; }; const postingIssue = () => { if (isNeedLogin.value) { return; } $ajax("/api/publish/questionsSubmit", questionsObj.value).then((res) => { if (res.code == 200) { myCount.value["questions"]++; questionsSetp.value = 0; questionsObj.value = { token: "", title: "", content: "", tags: "", tid: "", anonymous: 0 }; handleMsg("success", res["message"] || "操作成功"); let data = res.data; getDetails(data["uniqid"]); return; } handleMsg("error", res["message"] || "刷新重试!!!"); }); }; let pitchIndex = ref(null); const cut = (index) => { pitchIndex.value = index; setTimeout(() => scrollLeftInMiddle(), 350); }; const scrollLeftInMiddle = () => { { return; } }; const listStyle = () => { const newtype = type.value; let width = ""; let margin = ""; let height = ""; if (newtype == "list") { width = "1200px"; margin = "0 auto"; } else { width = "calc((100vw - 1200px) / 2 + 512px)"; margin = "initial"; } return { width, margin, height }; }; let listHeight = ref(0); let itemHeightLeft = 0; let itemHeightRight = 0; const itemStyle = (index, content, typetype) => { if (index == 0) { itemHeightLeft = 0; itemHeightRight = 0; } const newtype = type.value; let obj = {}; if (newtype == "list") { if (itemHeightLeft <= itemHeightRight) { obj["top"] = itemHeightLeft + "px"; itemHeightLeft += content == "" ? 107 : 137; obj["left"] = 0; } else { obj["top"] = itemHeightRight + "px"; itemHeightRight += content == "" ? 107 : 137; obj["left"] = "649px"; } } else { obj["position"] = "relative"; if (!typetype) { itemHeightLeft += content == "" ? 107 : 137; obj["height"] = content == "" ? "107px" : "137px"; } else { itemHeightLeft += typetype == "vote" ? 170 : 137; obj["height"] = typetype == "vote" ? "170px" : "137px"; } obj["width"] = "100%"; obj["paddingLeft"] = "calc((100vw - 1210px) / 2)"; } if (index + 1 == list.value.length) listHeight.value = Math.max(itemHeightLeft, itemHeightRight); return obj; }; const bottomTpsStyle = (index, content) => { const newtype = type.value; let obj = {}; if (newtype == "list") ; else { obj["width"] = "calc(50vw - 88px)"; obj["height"] = `calc(100vh - ${list.value.length * 128}px - 268px)`; obj["paddingLeft"] = "calc((100vw - 1200px) / 2)"; obj["borderRight"] = "1px solid #ebebeb"; obj["background"] = "#fff"; } return obj; }; const listBoxStyle = () => { const newtype = type.value; let obj = {}; if (newtype == "list") obj["overflow"] = "visible"; else obj["height"] = pageListHeight.value + "px"; return obj; }; const handleDate = (dateTimeStamp = /* @__PURE__ */ new Date(), ishour = true) => { dateTimeStamp = dateTimeStamp ? dateTimeStamp : null; var timestamp = new Date(dateTimeStamp); timestamp = timestamp.getTime(); var minute = 1e3 * 60; var hour = minute * 60; var day = hour * 24; var now = (/* @__PURE__ */ new Date()).getTime(); var diffValue = now - timestamp; var result; if (diffValue < 0) return "刚刚"; var dayC = diffValue / day; var hourC = diffValue / (hour + 1); var minC = diffValue / minute; if (dayC >= 7) { let date = new Date(timestamp); let Y = date.getFullYear() + "-"; let M = (date.getMonth() + 1 < 10 ? "0" + (date.getMonth() + 1) : date.getMonth() + 1) + "-"; let D = (date.getDate() < 10 ? "0" + date.getDate() : date.getDate()) + " "; let h2 = (date.getHours() < 10 ? "0" + date.getHours() : date.getHours()) + ":"; let m = date.getMinutes() < 10 ? "0" + date.getMinutes() : date.getMinutes(); if (ishour) result = "" + Y + M + D + h2 + m; else result = "" + Y + M + D; } else if (dayC >= 1) result = "" + Math.round(dayC) + "天前"; else if (hourC >= 1) result = "" + Math.round(hourC) + "小时前"; else if (minC >= 1) result = "" + Math.round(minC) + "分钟前"; else result = "刚刚"; return result; }; provide("handleDate", handleDate); let questionsTransmitState = ref(false); let questionsTransmitMaskState = ref(false); const closeTransmitState = () => { questionsTransmitState.value = true; questionsTransmitMaskState.value = true; countForwardingTimes(detailsToken); }; const closeAllTransmitState = () => { answerList.value.forEach((element) => { element["transmitState"] = false; }); questionsTransmitState.value = false; questionsTransmitMaskState.value = false; }; const handleAnswerTransmitList = (Iindex, type2) => { answerList.value[Iindex]["transmitState"] = true; questionsTransmitMaskState.value = true; countForwardingTimes(answerList.value[Iindex]["token"]); }; const countForwardingTimes = (token) => { $ajaxGET("/api/operate/share?token=" + token); }; const closeDetailMode = () => { if (myModelState.value) { closeMyModel(); return; } type.value = "list"; openBottom(); pitchIndex.value = null; seo.value = {}; list.value = JSON.parse(JSON.stringify(backupsList)); }; const handleListScroll = (e) => { const el = e.target; if (el.scrollHeight - el.scrollTop >= el.clientHeight + 40 || myModelState.value) return; getList(); }; const handlePaste = (event, type2) => { const items = (event.clipboardData || event.originalEvent.clipboardData).items; for (const item of items) { if (item.type.indexOf("image") === 0) { event.preventDefault(); handleMsg("warning", "上传图片中"); const file = item.getAsFile(); const reader = new FileReader(); reader.onload = (e) => { const base64 = e.target.result; uploadImg(base64).then((res) => { let questionTextarea = null; if (type2 == "you") questionTextarea = document.querySelector(".your-answer-textarea"); else questionTextarea = document.querySelector(".question-textarea"); let imgNode = document.createElement("img"); imgNode.setAttribute("src", res.url); imgNode.setAttribute("data-aid", res.aid); questionTextarea.appendChild(imgNode); if (type2 == "you") handleInputYou(); else handleInput(); handleMsg("success", "上传成功"); }); }; reader.readAsDataURL(file); } } }; const uploadImg = (base64) => { return new Promise((resolve, reject) => { detailLoading.value = true; $ajax("/api/common/upload", { data: base64 }).then((res) => { if (res.code != 200) { handleMsg("error", res.message || "上传失败"); return; } let data = res.data; resolve(data); }).finally(() => detailLoading.value = false); }); }; provide("uploadImg", uploadImg); let questionPlaceholderState = ref(false); let yourAnswerPlaceholderState = ref(true); const handleInput = () => { const questionTextarea = document.querySelector(".question-textarea"); const html = questionTextarea.innerHTML; if (html) questionPlaceholderState.value = false; else questionPlaceholderState.value = true; }; const handleInputYou = () => { const questionTextarea = document.querySelector(".your-answer-textarea"); const html = questionTextarea.innerHTML; if (html) yourAnswerPlaceholderState.value = false; else yourAnswerPlaceholderState.value = true; }; let msg = ref({}); const handleMsg = (type2, text) => { msg.value["state"] = true; msg.value["type"] = type2; msg.value["text"] = text; }; provide("handleMsg", handleMsg); const boxClass = () => { msgShowTimer(); return type ? `box-item-${msg.value["type"]}` : ""; }; let msgTimer = null; const msgShowTimer = () => { clearTimeout(msgTimer); msgTimer = setTimeout(() => { msg.value["state"] = false; }, 1e3); }; let copyText = (text) => { if (navigator.clipboard) { copyText = () => { navigator.clipboard.writeText(text); handleMsg("success", "复制成功"); }; } else { copyText = () => { var tempInput = document.createElement("input"); tempInput.value = text; document.body.appendChild(tempInput); tempInput.select(); document.execCommand("copy"); document.body.removeChild(tempInput); handleMsg("success", "复制成功"); }; } copyText(); }; const replaceState = (obj = {}) => { return; }; let myModelState = ref(false); let myModelList = ref([]); let temporaryData = {}; const myOpenDetails = (uniqid) => { if (!uniqid) { handleMsg("error", "没有找到相关提问"); return; } if (!myModelState.value) { temporaryData = { total: total.value, keywordText: keywordText.value, isSearchMode: isSearchMode.value, inTheEndState: inTheEndState.value, type: type.value, pitchIndex: pitchIndex.value, listlist: JSON.parse(JSON.stringify(list.value)) }; isSearchMode.value = false; inTheEndState.value = false; keyword.value = ""; list.value = JSON.parse(JSON.stringify(myModelList.value)); myModelState.value = true; pitchIndex.value = null; } getDetails(uniqid); myType.value = ""; }; const closeMyModel = () => { myModelList.value = JSON.parse(JSON.stringify(list.value)); isSearchMode.value = temporaryData["isSearchMode"]; keywordText.value = temporaryData["keywordText"]; keyword.value = temporaryData["keywordText"]; total.value = temporaryData["total"]; type.value = temporaryData["type"]; pitchIndex.value = temporaryData["pitchIndex"]; inTheEndState.value = temporaryData["inTheEndState"]; list.value = JSON.parse(JSON.stringify(temporaryData.listlist)); myModelState.value = false; if (pitchIndex.value !== null && pitchIndex.value !== void 0) { let uniqid = list.value[pitchIndex.value]["uniqid"]; getDetails(uniqid); } }; const handleDetailsScroll = (e) => { const el = e.target; if (el.scrollHeight - el.scrollTop !== el.clientHeight) return; }; let dialogSrc = ref(""); const handleAnswerText = (e) => { if (e.target.tagName === "IMG") { var src = e.target.getAttribute("src"); dialogSrc.value = src; window.addEventListener("keydown", handleKeydown); } }; provide("handleAnswerText", handleAnswerText); const handleKeydown = (event) => { if (event.key !== "Escape") return; dialogSrc.value = ""; window.removeEventListener("keydown", handleKeydown); }; const cutType = (id) => { typePitch.value = id; page = 1; list.value = []; backupsList = []; listHeight.value = 0; myModelState.value = false; type.value = "list"; openBottom(); pitchIndex.value = null; getList(); listHeight.value = 0; }; const handleMenuState = (token) => { reportToken = token; alertShow.value = true; }; provide("handleMenuState", handleMenuState); let reportToken = ""; const reasonList = ["广告", "辱骂", "重复发送", "不良信息", "其他"]; let checkList = ref([]); let alertShow = ref(false); let alertText = ref(""); const selectRadio = (value) => { const index = checkList.value.indexOf(value); if (index === -1) checkList.value.push(value); else checkList.value.splice(index, 1); }; const alertSubmit = () => { checkList.value.push(alertText.value); $ajax("/api/operate/report", { message: checkList.value, token: reportToken }).then((res) => { checkList.value = []; reportToken = ""; alertShow.value = false; handleMsg("success", "举报成功"); }); }; let recommendList = []; let recommendPage = 1; const getRecommend = (uniqid) => { $ajax("/api/details/relatedlist", { page: recommendPage, limit: 20 }).then((res) => { if (res.code != 200) return; let obj = { offer: "Offer", mj: "面经", vote: "投票", thread: "帖子" }; let data = res.data; data.forEach((element) => { element["typename"] = obj[element["type"]]; element["isrecom"] = true; }); recommendList = recommendList.concat(data); recommendPage++; handleInsertRelatedlist(uniqid); }); }; const handleInsertRelatedlist = (uniqid) => { if (myModelState.value) return; let insertCount = Math.ceil(backupsList.length / 5); if (recommendList.length < insertCount) { getRecommend(uniqid); return; } let target = JSON.parse(JSON.stringify(backupsList)); let result = []; let j = 0; for (let i = 0; i < target.length; i++) { result.push(target[i]); if ((i + 1) % 4 === 0 && j < recommendList.length) { result.push(recommendList[j]); j++; } } list.value = JSON.parse(JSON.stringify(result)); nextTick(() => { if (uniqid) { result.forEach((element, index) => { if (element["uniqid"] == uniqid) { pitchIndex.value = index; } }); } }); }; const replaceNumberObj = ["①", "②", "③"]; let seo = ref({}); let initState = ref(0); let islike = ref(0); try { const params = route.query; if (params["keyword"]) keyword.value = params["keyword"]; if (params["tid"]) typePitch.value = params["tid"]; await $ajax("/api/lists", { page, limit: 20, keyword: keyword.value, type: typePitch.value }).then((res) => { if (res.code != 200) return; let data = res.data; data.data.forEach((element) => { element["content"] = element["content"].replace(/<[^>]*>/g, ""); element["content"] = element["content"].replace(/ /g, ""); }); list.value = data.data; backupsList = data.data; total.value = data.count || 0; keywordText.value = keyword.value || ""; if (list.value.length != data["count"]) page++; else page = 0; if (page == 0 && list.value.length != 0) inTheEndState.value = true; else inTheEndState.value = false; if (list.value.length == 0) isListEmptyState.value = true; else isListEmptyState.value = false; if (keyword.value) isSearchMode.value = true; else isSearchMode.value = false; nextTick(() => { if (list.value.length == 0) type.value = "list"; }); }); } catch (error) { console.error(error); } watch(initState, (newValue, oldValue) => { if (newValue === 2) { route.query; } }); const setItemUrl = (uniqid) => { let url = `./index.html?uniqid=${uniqid}`; let query = route.query; for (const key in query) { if (key != "uniqid") url += `&${key}=${query[key]}`; } return url; }; const handleLogo = () => { window.location.href = window.location.origin + window.location.pathname; }; let yourAnswer = ref({ text: "", anonymous: 0 }); const cutYourAnswerAnonymous = () => { yourAnswer.value["anonymous"] = yourAnswer.value["anonymous"] ? 0 : 1; }; const openListIAnswer = (index) => { if (isNeedLogin.value) { return; } let targetData = list.value[index]; IAnswerInfo.value = { title: targetData["title"], content: targetData["content"], token: targetData["token"], uniqid: targetData["uniqid"], anonymous: 0, index }; IAnswerState.value = true; nextTick(() => handleInput()); }; let avatarState = ref(false); const openUserInfo = () => { if (detailsInfo.value["uin"] > 0) avatarState.value = !avatarState.value; }; const sendMessage = (uin) => { if (uin && typeof messagePrivateItem == "function") { messagePrivateItem({ uin }); return; } else redirectToExternalWebsite(`https://bbs.gter.net/home.php?mod=space&showmsg=1&uid=${uin}`); }; const TAHomePage = (uin) => { redirectToExternalWebsite(`https://bbs.gter.net/home.php?mod=space&uid=${uin}`); }; provide("TAHomePag", TAHomePage); const redirectToExternalWebsite = (url) => { const link = document.createElement("a"); link.href = url; link.target = "_blank"; link.click(); }; const openBottom = () => { const footer = document.querySelector("body .index-footer"); if (footer) footer.style.display = "block"; else setTimeout(() => openBottom(), 1e3); }; const handleLookOnly = () => { zeroreply.value = zeroreply.value == 0 ? 1 : 0; page = 1; list.value = []; backupsList = []; listHeight.value = 0; getList(); }; const commentList = ref([]); const commentListRef = ref(null); const closeEmojiMask = () => { if (commentListRef.value) commentListRef.value.closeEmoji(); }; const handleUpdateAnswers = (value) => { list.value.forEach((element) => { if (element.uniqid == detailsInfo.value["uniqid"]) element["answers"] = value; }); backupsList.forEach((element) => { if (element.uniqid == detailsInfo.value["uniqid"]) element["answers"] = value; }); }; return { handleUpdateAnswers, commentListRef, closeEmojiMask, emojiMaskState, isCommentList, commentList, islike, handleLookOnly, zeroreply, replaceNumberObj, closeMyModel, myModelList, myModelState, listHeight, bottomTpsStyle, TAHomePage, sendMessage, avatarState, openUserInfo, isNeedLogin, handleInputYou, openListIAnswer, isListEmptyState, cutYourAnswerAnonymous, yourAnswer, handleLogo, inTheEndState, setItemUrl, seo, originUrl, handleMenuState, reasonList, checkList, alertShow, alertText, selectRadio, alertSubmit, cutType, dialogSrc, answerPage, handleDetailsScroll, replaceState, copyText, boxClass, questionPlaceholderState, yourAnswerPlaceholderState, handleInput, handlePaste, itemStyle, listStyle, listBoxStyle, myType, type, pitchIndex, cut, list, keyword, keywordText, getList, total, typeList, typePitch, getDetails, detailsInfo, detailsIsanswered, detailsIscollection, detailsIsmyself, detailShare, detailLoading, answerList, operateLike, operateCollect, IAnswerState, IAnswerEditState, IAnswerInfo, amendIAnswer, openCommentState, handleAllComment, myCollectionList, myCollectionCount, myQuestionsList, myQuestionsCount, myAnswerList, myAnswerCount, cutAnswerPopupState, handleDate, handleCollectionScroll, handleAnswersScroll, handleQuestionsScroll, cancelCollection, getMyCollection, questionsSetp, questionsObj, cutAnonymous, cutQuestionsSetp, cutQuestionsPopupState, questionsTypeList, postingIssue, choosingTheme, handleMy, changeAnonymous, changeAnonymousQuestions, pageHeaderHeight, pageListHeight, questionsTransmitState, questionsTransmitMaskState, closeAllTransmitState, closeTransmitState, handleAnswerTransmitList, closeDetailMode, tabListFixeState, handleListScroll, historicalSearchState, historicalSearchList, searchFocus, searchBlur, searchClick, handleClickHistoricalItem, handleClickClear, isSearchMode, questionsInit, myCount, msg, myOpenDetails, handleAnswerText, getCurrentUrl, loading }; } }; function _sfc_ssrRender(_ctx, _push, _parent, _attrs, $props, $setup, $data, $options) { const _component_Head = Head; const _component_Title = Title; const _component_Meta = Meta; const _component_ClientOnly = __nuxt_component_3; const _component_commentList = __nuxt_component_4; _push(`
`); _push(ssrRenderComponent(_component_Head, null, { default: withCtx((_, _push2, _parent2, _scopeId) => { if (_push2) { _push2(ssrRenderComponent(_component_Title, null, { default: withCtx((_2, _push3, _parent3, _scopeId2) => { if (_push3) { _push3(`${ssrInterpolate(`${$setup.seo["title"] || "问答"} - 寄托天下出国留学网`)}`); } else { return [ createTextVNode(toDisplayString(`${$setup.seo["title"] || "问答"} - 寄托天下出国留学网`), 1) ]; } }), _: 1 }, _parent2, _scopeId)); _push2(ssrRenderComponent(_component_Meta, { name: "keyword", content: $setup.seo["keyword"] }, null, _parent2, _scopeId)); _push2(ssrRenderComponent(_component_Meta, { name: "description", content: $setup.seo["description"] }, null, _parent2, _scopeId)); } else { return [ createVNode(_component_Title, null, { default: withCtx(() => [ createTextVNode(toDisplayString(`${$setup.seo["title"] || "问答"} - 寄托天下出国留学网`), 1) ]), _: 1 }), createVNode(_component_Meta, { name: "keyword", content: $setup.seo["keyword"] }, null, 8, ["content"]), createVNode(_component_Meta, { name: "description", content: $setup.seo["description"] }, null, 8, ["content"]) ]; } }), _: 1 }, _parent)); _push(`
`); if ($setup.myModelState) { _push(`
我的收藏/提问
`); } else if ($setup.isSearchMode) { _push(`
${ssrInterpolate($setup.keywordText)}
共 ${ssrInterpolate($setup.total)} 条搜索结果
`); } else { _push(`
共 ${ssrInterpolate($setup.total)} 条问答
`); } _push(`
`); ssrRenderList($setup.list, (item, index) => { _push(``); if (item["isrecom"] && $setup.type != "list") { _push(`
推荐阅读
${ssrInterpolate(item["title"])}
`); if (item["type"] == "thread") { _push(``); if (item["message"]) { _push(`
${ssrInterpolate(item["message"])}
`); } else { _push(``); } _push(``); } else if (item["type"] == "vote") { _push(`
`); ssrRenderList(item["option"].slice(0, 2), (ite, i) => { _push(`
${ssrInterpolate($setup.replaceNumberObj[i] + ite)}
`); }); _push(`
${ssrInterpolate($setup.replaceNumberObj[2])} …
`); } else { _push(`
`); if (item["profession"] || item["professional"]) { _push(`
${ssrInterpolate(item["profession"] || item["professional"])}
`); } else { _push(``); } if (item["project"] || item["degree"]) { _push(`
${ssrInterpolate(item["project"] || item["degree"])}
`); } else { _push(``); } if (item["interviewtime"] || item["semester"]) { _push(`
${ssrInterpolate(item["interviewtime"] || item["semester"])}
`); } else { _push(``); } if (item["apply_results"]) { _push(`
${ssrInterpolate(item["apply_results"])}
`); } else { _push(``); } _push(`
`); } _push(`
${ssrInterpolate(item["typename"])}
`); } else { _push(`
`); if (item["ishot"] == 1) { _push(``); } else { _push(``); } _push(`
${ssrInterpolate(item["title"])}
`); if (item["content"]) { _push(`
${ssrInterpolate(item["content"])}
`); } else { _push(``); } _push(`
`); if (item["typename"]) { _push(`
${ssrInterpolate(item["typename"])}
`); } else { _push(`
`); } _push(`
${ssrInterpolate($setup.handleDate(item.publicationdate, false))}提问
${ssrInterpolate(item.answers)}
`); } _push(``); }); _push(`
`); if ($setup.inTheEndState) { _push(`
- 到底了 -
`); } else { _push(``); } if ($setup.myModelState) { _push(`
`); } else { _push(``); } if ($setup.isListEmptyState && $setup.list.length == 0) { _push(`
`); if ($setup.isSearchMode) { _push(`
没有找到相关结果,请更换搜索关键词
`); } else { _push(`
暂无数据
`); } _push(`
`); } else { _push(``); } _push(`
`); if ($setup.type == "details") { _push(`
`); if ($setup.detailLoading) { _push(`
`); } else { _push(``); } if ($setup.emojiMaskState) { _push(`
`); } else { _push(``); } _push(`
`); if ($setup.detailsInfo.typename) { _push(`
${ssrInterpolate($setup.detailsInfo.typename)}
`); } else { _push(``); } _push(`
${ssrInterpolate($setup.detailsInfo["title"])}
`); if ($setup.detailsInfo["content"]) { _push(`
${$setup.detailsInfo["content"]}
`); } else { _push(``); } _push(`
${ssrInterpolate($setup.detailsInfo["viewnum"] || 0)}
`); if ($setup.islike == 0) { _push(``); } else { _push(``); } _push(` ${ssrInterpolate($setup.detailsInfo.likenum || "赞")}
`); _push(ssrRenderComponent(_component_ClientOnly, null, {}, _parent)); _push(`
转发 `); if ($setup.questionsTransmitState) { _push(`
转发网页版
${ssrInterpolate($setup.detailsInfo["title"])}
${ssrInterpolate($setup.getCurrentUrl())}
复制链接
转发小程序版
扫码转发该问答
`); } else { _push(``); } _push(`
`); if ($setup.isCommentList) { _push(ssrRenderComponent(_component_commentList, { ref: "commentListRef", onUpdateAnswers: $setup.handleUpdateAnswers }, null, _parent)); } else { _push(``); } _push(`
手机查看该问答
微信扫一扫
`); } else { _push(``); } _push(`
`); if ($setup.myType) { _push(`
我的收藏
${ssrInterpolate($setup.myCollectionCount || $setup.myCount["collect"] || 0)}
我的提问
${ssrInterpolate($setup.myQuestionsCount || $setup.myCount["questions"] || 0)}
`); if ($setup.myType == "collect" && $setup.myCollectionList.length == 0 || $setup.myType == "answers" && $setup.myAnswerList.length == 0 || $setup.myType == "questions" && $setup.myQuestionsList.length == 0) { _push(`
暂无内容
`); } else { _push(``); } if ($setup.myType == "collect" && $setup.myCollectionList.length != 0) { _push(`
`); ssrRenderList($setup.myCollectionList, (item, index) => { _push(`
`); if (item.type == "askanswercollection") { _push(`
A
${item["data"]["content"]}
提问:${ssrInterpolate(item["data"]["title"])}
`); } else { _push(`
Q
${ssrInterpolate(item["data"]["title"])}
${ssrInterpolate(item["data"]["answers"] > 0 ? "共" + item["data"]["answers"] + "个回答&讨论" : "暂无回答&讨论")}
`); } _push(`
`); }); _push(`
`); } else { _push(``); } if ($setup.myType == "answers" && $setup.myAnswerList.length != 0) { _push(`
`); ssrRenderList($setup.myAnswerList, (item, index) => { _push(`
A
${ssrInterpolate(item["nickname"])}
${ssrInterpolate($setup.handleDate(item["publicationdate"]))}
${item["content"]}
提问:${ssrInterpolate(item["title"])}
${ssrInterpolate(item["anonymous"] == 0 ? "公开" : "匿名")}
`); if (item["popupState"]) { _push(`
公开发表
匿名发表
`); } else { _push(``); } _push(`
`); }); _push(`
`); } else { _push(``); } if ($setup.myType == "questions" && $setup.myQuestionsList.length != 0) { _push(`
`); ssrRenderList($setup.myQuestionsList, (item, index) => { _push(`
Q
${ssrInterpolate(item["nickname"])}
${ssrInterpolate($setup.handleDate(item["publicationdate"]))}
${ssrInterpolate(item["title"])}
`); if (item["authornewnum"] > 0) { _push(`
有${ssrInterpolate(item["authornewnum"])}个新回答&讨论
`); } else { _push(``); } _push(` ${ssrInterpolate(item["answers"] == 0 ? "暂无回答&讨论" : "共" + item["answers"] + "个回答&讨论")}
${ssrInterpolate(item["anonymous"] == 0 ? "公开" : "匿名")}
`); if (item["popupState"]) { _push(`
公开发表
匿名发表
`); } else { _push(``); } _push(`
`); }); _push(`
`); } else { _push(``); } _push(`
`); } else { _push(``); } if ($setup.questionsSetp) { _push(`
`); if ($setup.questionsSetp == 1) { _push(`
选择提问所属主题
`); ssrRenderList($setup.questionsTypeList, (item, index) => { _push(`
`); ssrRenderList(item, (item2) => { _push(`
${ssrInterpolate(item2.name)}
`); }); _push(`
`); }); _push(`
`); } else { _push(`
Q
`); if ($setup.questionsObj.anonymous == 0) { _push(``); } else { _push(``); } _push(` 匿名发表
(发布后只能修改是否匿名)
发布问题
`); } _push(`
`); } else { _push(``); } _push(``); if ($setup.dialogSrc) { _push(`
`); } else { _push(``); } _push(`
举报投诉
`); ssrRenderList($setup.reasonList, (s, i) => { _push(`
${ssrInterpolate(s)}
`); }); _push(`
${ssrInterpolate(200 - $setup.alertText.length)}
`); } const _sfc_setup$2 = _sfc_main$2.setup; _sfc_main$2.setup = (props, ctx) => { const ssrContext = useSSRContext(); (ssrContext.modules || (ssrContext.modules = /* @__PURE__ */ new Set())).add("app.vue"); return _sfc_setup$2 ? _sfc_setup$2(props, ctx) : void 0; }; const AppComponent = /* @__PURE__ */ _export_sfc(_sfc_main$2, [["ssrRender", _sfc_ssrRender]]); const _sfc_main$1 = { __name: "nuxt-error-page", __ssrInlineRender: true, props: { error: Object }, setup(__props) { const props = __props; const _error = props.error; (_error.stack || "").split("\n").splice(1).map((line) => { const text = line.replace("webpack:/", "").replace(".vue", ".js").trim(); return { text, internal: line.includes("node_modules") && !line.includes(".cache") || line.includes("internal") || line.includes("new Promise") }; }).map((i) => `${i.text}`).join("\n"); const statusCode = Number(_error.statusCode || 500); const is404 = statusCode === 404; const statusMessage = _error.statusMessage ?? (is404 ? "Page Not Found" : "Internal Server Error"); const description = _error.message || _error.toString(); const stack = void 0; const _Error404 = defineAsyncComponent(() => import('./static/error-404-e554c81e.mjs').then((r) => r.default || r)); const _Error = defineAsyncComponent(() => import('./static/error-500-87e865c4.mjs').then((r) => r.default || r)); const ErrorTemplate = is404 ? _Error404 : _Error; return (_ctx, _push, _parent, _attrs) => { _push(ssrRenderComponent(unref(ErrorTemplate), mergeProps({ statusCode: unref(statusCode), statusMessage: unref(statusMessage), description: unref(description), stack: unref(stack) }, _attrs), null, _parent)); }; } }; const _sfc_setup$1 = _sfc_main$1.setup; _sfc_main$1.setup = (props, ctx) => { const ssrContext = useSSRContext(); (ssrContext.modules || (ssrContext.modules = /* @__PURE__ */ new Set())).add("node_modules/nuxt/dist/app/components/nuxt-error-page.vue"); return _sfc_setup$1 ? _sfc_setup$1(props, ctx) : void 0; }; const ErrorComponent = _sfc_main$1; const _sfc_main = { __name: "nuxt-root", __ssrInlineRender: true, setup(__props) { const IslandRenderer = defineAsyncComponent(() => import('./static/island-renderer-e75852ba.mjs').then((r) => r.default || r)); const nuxtApp = /* @__PURE__ */ useNuxtApp(); nuxtApp.deferHydration(); nuxtApp.ssrContext.url; const SingleRenderer = false; provide(PageRouteSymbol, useRoute()); nuxtApp.hooks.callHookWith((hooks) => hooks.map((hook) => hook()), "vue:setup"); const error = useError(); onErrorCaptured((err, target, info) => { nuxtApp.hooks.callHook("vue:error", err, target, info).catch((hookError) => console.error("[nuxt] Error in `vue:error` hook", hookError)); { const p = nuxtApp.runWithContext(() => showError(err)); onServerPrefetch(() => p); return false; } }); const islandContext = nuxtApp.ssrContext.islandContext; return (_ctx, _push, _parent, _attrs) => { ssrRenderSuspense(_push, { default: () => { if (unref(error)) { _push(ssrRenderComponent(unref(ErrorComponent), { error: unref(error) }, null, _parent)); } else if (unref(islandContext)) { _push(ssrRenderComponent(unref(IslandRenderer), { context: unref(islandContext) }, null, _parent)); } else if (unref(SingleRenderer)) { ssrRenderVNode(_push, createVNode(resolveDynamicComponent(unref(SingleRenderer)), null, null), _parent); } else { _push(ssrRenderComponent(unref(AppComponent), null, null, _parent)); } }, _: 1 }); }; } }; const _sfc_setup = _sfc_main.setup; _sfc_main.setup = (props, ctx) => { const ssrContext = useSSRContext(); (ssrContext.modules || (ssrContext.modules = /* @__PURE__ */ new Set())).add("node_modules/nuxt/dist/app/components/nuxt-root.vue"); return _sfc_setup ? _sfc_setup(props, ctx) : void 0; }; const RootComponent = _sfc_main; let entry; { entry = async function createNuxtAppServer(ssrContext) { const vueApp = createApp(RootComponent); const nuxt = createNuxtApp({ vueApp, ssrContext }); try { await applyPlugins(nuxt, plugins); await nuxt.hooks.callHook("app:created", vueApp); } catch (err) { await nuxt.hooks.callHook("app:error", err); nuxt.payload.error = nuxt.payload.error || err; } if (ssrContext == null ? void 0 : ssrContext._renderResponse) { throw new Error("skipping render"); } return vueApp; }; } const entry$1 = (ctx) => entry(ctx); export { _export_sfc as _, useRuntimeConfig as a, useHead as b, createError as c, entry$1 as default, navigateTo as n, useRouter as u }; //# sourceMappingURL=server.mjs.map