import { version, ref, watchEffect, watch, getCurrentInstance, defineComponent, hasInjectionContext, unref, inject, useSSRContext, createApp, effectScope, reactive, onUnmounted, nextTick, defineAsyncComponent, provide, onErrorCaptured, onServerPrefetch, createVNode, resolveDynamicComponent, toRef, h, isReadonly, isRef, 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 } 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 plugins = [ unhead_KgADcZ0jPj, router_CaKIoANnI2, revive_payload_server_eJ33V7gbc6, components_plugin_KR1HBZs4kY ]; 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 _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/g6Fp7e3s7Jpw5OEjtcqJ0pY8hAZj7t7iyzCb3S0tLy/0HKAfrkcHTv6HVWnhhCtVE5AeWBXeO47gC5K3iVrBUkOeQqdCQgJ4A5n3huyYsSwoGEyt0kysivzAbTljBa9KHZd4PXeBgXVj46qj7mzANNwyygh+CwbZxK1gacsnLw9rnYTUJPwhwjQAVwsSQcOjph5j3zvIk+WBveFLGC57UIIy3wXgPCBPDeNuMd5XwXQA93z8/P98SpoKEYwVQTHIRJhav2AigsCOssiO0uwKQzKb9lQ6tuowfi4kvQmTxClPgFleW9Bwx5rpDoAKkbv8+XBLu4sdiokWIW/wxriYW0LXdaeDYtn8/mpS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nyWKUPpzSeGFYbYNv+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/gKcKLAqG159AYimVgIFSeVOglSYmRhPFEEiIlTQ2sP6+y5zr3OUuLFDqJLPnzHce883MmdmbSPzrLXmQDRgaGjqNfyO9Op1OFyFPuvjVZDK5Dja3tbU10dHR8d3h+4qcCDDxdZL3ku3yvhlxgMwS4nFLS8vMfv57Eujr6zuRn5//goQ3vESf0Sch9BW55vBifMrA6pFnPN9Jxk0Q2fCwiJqVwODg4Hk8J+inXMQYyVIk+xDJkDFgtyogkgK+60wrxDVki4sloMkJmifRcZJsoN/LZTvdhIEYGBioI26UQSF9E/1qHIldBLTtBQUFywRp5Z/y8vJuNj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S7BRfcFrhAXjSaGy8cMu/4cB1V6WqXWFe09YcUAxAfrJ7g1IzchX0cpToRJHT0G5OoN+JyfAuLrKxT55XG4Uq5hABmpRyDoMx6o/nd5pxyD9KqUhgEIS8siomRUW6crjC+sQg/TlGMYpoDUjBOSUw5IlKC83JInWzE/VIMWjSBooBG8Jq84TzBvhExMh9BGJ9CnOK22/BnLyQCkCycxS87hx6geuiEoiE/w1Ge4W4uzAZQUaQgKJpe4Dm25dFZc6dPZAIqR7pS14fx+hOSFDLIvYzwjWM8xBuPLFn28JngrA9QFcpqb8eltDFyEq4/NFT1l+sNEgivd9k8TXg2AgTUKT5n8sIS+NySjlCUQw5bdXlISAZL/KttW2YrM/yu5Bb4DerorwNygw+YAAAAASUVORK5CYII="; const _imports_7 = "" + __buildAssetsURL("dot-yellow.4b5e135b.svg"); const _imports_8 = "" + __buildAssetsURL("dot-gray.86cdd7b5.svg"); const _imports_9 = "" + __buildAssetsURL("empty-icon.24a01ae2.svg"); const _imports_10 = "" + __buildAssetsURL("close-icon.86743366.svg"); const _imports_11 = "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAIAAAACACAYAAADDPmHLAAAAAXNSR0IArs4c6QAAAERlWElmTU0AKgAAAAgAAYdpAAQAAAABAAAAGgAAAAAAA6ABAAMAAAABAAEAAKACAAQAAAABAAAAgKADAAQAAAABAAAAgAAAAABIjgR3AAAGo0lEQVR4Ae2dTW8bVRSGEydOihDEUSW2ICQ2wBJERSLRDaJlwc8obBI5ShQkVl4SN5aVOEIgfgb9QioqCxcWXSLY0ILKjkWkuBVK4yQO5ygzMHbjyXzcO3PPue9Iluf73vu8z1zPxJnxxAQGEAABEAABEAABEAABEAABEAABEAABEAABEAABEAABEAABEAABEAABEAABEAABEAABEAABPQQmbTVlZWXl9cFg8GalUnk2MzPzYGNjo2erLI37rdfrtZOTk3epbbPE8Ld2u/2HjXYaF2B5efkNqvC3VNkPIhXuT05Ofj03N/d5o9F4FpmP0RECxOdCr9e7TuFf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2Gy21e3t7Thy3IVnA99NEVjURZ+xuRHk6K8SW/rrUhrhP+1h/SFrI2pHoB2BdgT0EoE/XD0Yrfi3Ps4AAAAASUVORK5CYII="; const _imports_14 = "" + __buildAssetsURL("edit-icon-white.29b27582.svg"); const _imports_15 = "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAADAAAAAwCAYAAABXAvmHAAAAAXNSR0IArs4c6QAAAERlWElmTU0AKgAAAAgAAYdpAAQAAAABAAAAGgAAAAAAA6ABAAMAAAABAAEAAKACAAQAAAABAAAAMKADAAQAAAABAAAAMAAAAADbN2wMAAAEk0lEQVRoBd2YW6hVVRSGzXtw8pJkYeU5aZqVIWKgYdDxAkUpYqGJgdhDEliKCYqYGfRi2YV6SBQUxKAbPYRXEMQEfSuULkIXFBMpE6zUvKX1/bLH4W+59t5rudfu7O2Af8855hxzjH/MOddcc+0uXZpcutWRf298TwTnwKk6xqmb6814/gecAG2gqWQSbEU+sL6p2EP2CyOvJC6Au0BTSDssY+a9XNsU7CG5q0wCWoU20NDyMOx81t9FP29taxqaPeR2GtnfqLeAddamZFpBQ8o4WPnsLymxFGFfhfcakj2ktoNIQGf/TUZ0g/WdpX679TVEdQwsLoNIYFmC1VD0i9b/TqK/09UtRu4k9b4pjDaajVZhUIpNpzSNJqrP/ooyLO6m3VfhzTJ2/3vz50SMrfM79X4VGHxgtmeoD6xgW9cuBR4PXgQ++6+iV5J76bwEIuGPqD8G9Ix0B7nlhgojbqZvWAnDS6W2gdrS9vgftOu+o2egkoj00ykG2l6HwA/g+1L5Y6k8QqmJukqUQE/wBBgJgqhIKoE88hrGr2QYcD82B0C3DLZhovfIT8AT08FxTAbbQCxp3vI0Y/eDt4EmIqvMxHA3+AXkjRn2fzL2Dq3AcXALKCfKPpZSyxtQ29Fyg3K098E2tmqU2gnargOq+Jms/hdAZBXlZ7Spsw10BZ0l2sZjwUvAH37x3AM6tuFiFD9NNOtPgkaQWyHxNYjJDfJ+VbnC83l+Pcu/0Z+50tN5P7cR+lvg5Hejt4BUeY7WZBJzUi3r3ziYEHrenPx29BurhZ6NwUUbqJV4ttqggvtb8adj08lvRe+dNc4sDD0JPR/zsw6u0U4n0c/AyW9G75XX7wwGXDBHSmJhXic57e/BXkezk/8YvUdOPx3mU6jpn7VwqCQWdfQWW9E9SW/WiKXyQ9Ad1CTJJOR4SU0erx48iiZ9Qzv59eiFvYMexdlfFkAroTtNUaLriJNfg65bQqEyDW8eZEKB3n3r6LaamXyeJTqVIHwwodeiui9dEDVRmSRPAg+YxxPUdZMsSvS2Dcm1NfMk4I6/iWgFlZ7ASHzWZQvJcUjRCbi/FoK0RqBqZdYV0IzcZ858xqz5mqtKwPe9T1ZFp1kTuBMvfc2Tz5g1/6f6ENpbYC6o9ibV97TewCGZE4gB1crHMfAjVB8a5UQr9QnQuyLGHKY+D3R8gFBPin/abkp21qrrzRtkdNFKk1Ya1wLdXsM2WWrrzQBpD+kbNu4r6oXKRrwFmR0Jz4PQ9eb0i1/YprWpbx9oBy5zUGLcWeo134Hc+ZfmfHWpQ9toFfArRhA4XerrTzkV6G+U6PNyJ+0PAskY4H26mRYi2rdOcj76UnASeEDV9S2tbaRPQRcdFto6yY+UGK9ExgLffk+hFyL6wIhAQdJ11RV4AxgMKkkvOheAX0Gaj0vWvpJ6ITIdL8lgoeuk+RSMyBlJL6uXgf4MDl/JUn4LkRV4STqXrodZ+7YW0XP0OjgDkjG+q8Wxj12ecL4X/RE3KKCuk+x94KdWlpdlptA6SfRduhVMyTTi2o2GMFSHwC7QDq5/+RffN6xPYNWQnAAAAABJRU5ErkJggg=="; const _imports_16 = "" + __buildAssetsURL("collect-icon-colours.6d2ade7f.svg"); const _imports_17 = "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAADAAAAAwCAYAAABXAvmHAAAAAXNSR0IArs4c6QAAAERlWElmTU0AKgAAAAgAAYdpAAQAAAABAAAAGgAAAAAAA6ABAAMAAAABAAEAAKACAAQAAAABAAAAMKADAAQAAAABAAAAMAAAA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f29cdoPTPVAabJczDENEZEUBa8STGogvzTsXokNBf9yMb2UWbldi+ym3vfbuhQjbignDMCSKot+AVadpXyDR3kqDmstV4admP93wstUZ3K+2zxLg8qhQGtSIaKIoMoQLSqlW8/4KWAJMC2K6KLwyIvksOXh5RJguSqqUYRguAV9Ceh4WgNUoioaUUlhW/GmsexaLJxzA0+eF55sDWEQIggDf9x/6vj8OeJ2EAHO+7y84joNt26bLE0rc1Mue4l4VHtVj8tM9mpG++GaXCu1fDKPs4OAA3/fnoyjK/MUAYG9vb8513c9c133CcRyMWqP4KJgyRlFEo9HYr9frH4vIjShqX8IsQoIgGHJd9/Ourq4Zo/Y4Yq3bFyQIgsVGo/ER8MAkYOBk7oaHwGytVrvqOM41x3EmbNtOESdhPuwwDO8EQXDdcZyT/wg3FeK6LmEY4jgOjUZjXCk1adv2lFKqZFnW2abaP7XWayKyHEXRSnd392oQBGZPK5mkwn8AJekF2afMgmEAAAAASUVORK5CYII="; const _imports_20 = "" + __buildAssetsURL("title.98892974.png"); const _imports_21 = "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAEAAAABACAYAAACqaXHeAAAAAXNSR0IArs4c6QAAAERlWElmTU0AKgAAAAgAAYdpAAQAAAABAAAAGgAAAAAAA6ABAAMAAAABAAEAAKACAAQAAAABAAAAQKADAAQAAAABAAAAQAAAAABGUUKwAAAD30lEQVR4AeVa7XXaMBSVDANkBDxB6QRxJmg6QVmANp2gZAOaDBCYoGwQugGZAGUD+F9Q7zPIxxAZy7ZkG0vn5Ejoy/fe954+7HDWgrRbf/8FGPeMySFyIRmf9MOneR3QeB0PufQMkJ+AOAlwlvgqYMEdD6ebswarPwOrs5WaTP7QD5PDPdu/6tvs1bZAAHaTTUcODx6S3aNqS6MhINcP0Z7tcq0csF6IUBBVyerGt8EDdLhO6iASFkg3qVEBEOORGS3+zaxf8V6NCmAOVw4RLhfWCvOZzns2KoBkMjoHdOH38EJb6abGBCCLYgW+NUW+Y7uBad8i/RoTACCjIkA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AAABJRU5ErkJggg=="; const _imports_24 = "" + __buildAssetsURL("menu-icon-gray.d61f02b1.svg"); const _imports_25 = "" + __buildAssetsURL("comment-icon-gray.2c8779f9.svg"); const _imports_26 = "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/wG9PWf1+FMkEnndsgUmJiYewnaPsieqq6tnlO5KLJmA7DZtbW1PEA7vMQP2YewCo7qfr2/CRkO8v2LZrkwkEilOr3L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28Innq9j9XDFQbAZXKChhcsWuQy/wKy6h6rkxXK+2I7IJgWgTX821oYgDrV1dUto/jOGrBcK3Gky6pHiYm7F7DLnUEPgXGF1YV7IFBu3bp1OJtQx6q9lHTlF5N3OucvOwk842mT9jeD6XjOZ/Z/MLr2PRAo/T/r6EvL/gLQn9nYzUo8EvS7XKXSBvC78G/BC8t0F7wwdFgBKUXcA7Mp9HJ0qZKNNf9Sn06MdyUDrYITch6ZeLxfKNa6QCQnDUCNfhCvUs2QbOgkK/JcVlbWm539a6KxTajqkvLP+UU0DExoJAsA/yipGwlefVMGoA4s6UTAbqBq94SaRCfgct5Om9N9O23ZsuU63vfTAKiTxl5S8itSzitt9nhSkn8uGoDstm/fPkx/XKA6MomfVvTa+HpdHoRrYAXXAIuyORjy9K3BZIwC9Hh0+XDCKaiOPh2iLI3K+aBDUHYqAHWurq7OrK2t1WwthqNWQ926S94fugnyJcDbn3GS+u10AIEH/ZbKTD7FLGqTZwX6bpaN2OvAWArw8JLqjM+0Awic+m+UycjT4DFwur7asNnPRGxixrcAvA45bUp30MgBCOYqjtZxgBkLGP1UeSOsYzHbN9BeqIWP0ecwffaxgav5Hyp/+u1dLv4D4SL5jJQdUmEAAAAASUVORK5CYII="; const _imports_28 = "" + __buildAssetsURL("tick-no.179037b3.svg"); const _imports_29 = "" + __buildAssetsURL("tick-option.e092d22f.svg"); const _imports_30 = "" + __buildAssetsURL("QRCode-icon.a105d5fc.svg"); const _imports_31 = "" + __buildAssetsURL("delete-icon.4d386dce.svg"); const _imports_32 = "" + __buildAssetsURL("arrows-icon.271dd0d3.svg"); const _imports_33 = "" + __buildAssetsURL("tick-orange.233abc69.svg"); const _imports_34 = "" + __buildAssetsURL("issue-bj.44adad8c.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" && "9c92af854f552bbd2aab43230bcf8438", // 头部标记 authorization: "production" !== "production" // 头部标记 ada // authorization: "2e25ccc21d5f86b670e7476f3b58ea5d", // 头部标记 // "Cache-Control": "no-cache", // Pragma: "no-cache", } }).then(function(res) { var data2 = null; try { data2 = typeof res.data == "string" ? JSON.parse(res.data) : res.data; if (data2["code"] == 401) isNeedLogin.value = true; if (data2["code"] != 200) handleMsg("error", data2["message"] || "报错了,请重试!!!"); } catch (error) { } resolve(data2); }).catch((err) => { if (err.response.status == 401) isNeedLogin.value = true; resolve(err.response.data); }); }); }; let isNeedLogin = ref(true); const goLogin = () => ajax_login(); const route = useRoute(); const baseURL2 = "https://ask.gter.net"; let type = ref("list"); let originUrl = ref(""); onUnmounted(() => { window.removeEventListener("keydown", handleKeydown); window.removeEventListener("scroll", handleScroll); }); const getCurrentUrl = () => { return window.location.href; }; 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 = []; type.value = "list"; pitchIndex.value = null; 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 = []; type.value = "list"; 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 page = 1; let total = ref(0); let loading = ref(false); let inTheEndState = ref(false); let isListEmptyState = ref(); const getList = () => { if (page == 0 || loading.value) return; loading.value = true; $ajax("/api/lists", { page, limit: 20, keyword: keyword.value, type: typePitch.value }).then((res) => { if (res.code == 401) goLogin(); if (res.code != 200) return; let data = res.data; list.value = list.value.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; }).finally(() => loading.value = false); }; let typeList = ref([]); let typePitch = ref(null); let pageHeaderHeight = ref(0); let pageListHeight = ref(0); let detailsInfo = ref({}); let detailsIsanswered = ref(0); let detailsIscollection = ref(0); let detailsIsmyself = ref(0); let detailsToken = ""; let detailShare = ref({}); let detailLoading = ref(false); 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"; pitchIndex.value = null; return; } let data = res.data; detailsInfo.value = data["info"] || {}; detailsIsanswered.value = data["isanswered"] || 0; detailsIscollection.value = data["iscollection"] || 0; detailsIsmyself.value = data["ismyself"] || 0; detailsToken = data["token"] || ""; detailShare.value = data["share"] || {}; type.value = "details"; if (index !== null && index !== void 0) cut(index); else calculateListIndex(data.info, uniqid); answerList.value = []; answerPage.value = 1; getAnswerList(); closeAllTransmitState(); if (isOpenAnswer) openIAnswer(); seo.value = data.seo; yourAnswer.value = { text: "", anonymous: 0 }; }).finally(() => { detailLoading.value = false; }); }; const calculateListIndex = (info, uniqid) => { let targetList = [...list.value]; if (targetList.length == 0 && isSearchMode.value == false) { setTimeout(() => calculateListIndex(info, uniqid), 200); return; } let valve = false; targetList.forEach((element, index) => { if (element["uniqid"] == uniqid) { cut(index); valve = true; } }); if (!valve) { let content = ""; if (info["content"].indexOf(" { if (answerLoading || answerPage.value == 0) return; answerLoading = true; $ajax("/api/details/answerList", { token: detailsToken, limit: 20, page: answerPage.value }).then((res) => { if (res.code != 200) return; let data = res.data; data.data.forEach((element) => { element["commentList"] = []; }); answerList.value = answerList.value.concat(data.data); if (answerList.value.length == data["count"]) answerPage.value = 0; else answerPage.value++; detailsInfo.value["answers"] = data["count"]; if (pitchIndex.value !== null) list.value[pitchIndex.value]["answers"] = data["count"]; }).finally(() => answerLoading = false); }; const operateLike = (token, index) => { if (isNeedLogin.value) { goLogin(); return; } $ajax("/api/operate/like", { token }).then((res) => { if (res.code != 200) return; let data = res.data; answerList.value[index]["islike"] = data["status"]; answerList.value[index]["likenum"] = data["count"]; handleMsg("success", res["message"] || "操作成功"); }); }; const operateCollect = (token = detailsToken, index) => { if (isNeedLogin.value) { goLogin(); 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 openIAnswer = (index, type2) => { if (isNeedLogin.value) { goLogin(); return; } if (index == null) { IAnswerInfo.value = { title: detailsInfo.value["title"], content: detailsInfo.value["content"], anonymous: 0 }; IAnswerState.value = true; nextTick(() => handleInput()); } else { if (type2 == "my") { IAnswerInfo.value = { title: detailsInfo.value["title"], ...myAnswerList.value[index], text: myAnswerList.value[index]["content"], content: detailsInfo.value["content"] }; myType.value = ""; } else { IAnswerInfo.value = { title: detailsInfo.value["title"], ...answerList.value[index], text: answerList.value[index]["content"], content: detailsInfo.value["content"] }; } IAnswerEditState.value = true; nextTick(() => handleInput()); } }; const closeIAnswer = () => { IAnswerState.value = false; IAnswerEditState.value = false; isDirectlyListIAnswer = false; }; const amendIAnswer = () => { IAnswerInfo.value["anonymous"] = IAnswerInfo.value["anonymous"] == 0 ? 1 : 0; }; const submitAnswer = (type2) => { if (isNeedLogin.value) { goLogin(); return; } let questionTextarea = null; if (type2 == "you") questionTextarea = document.querySelector(".your-answer-textarea"); else questionTextarea = document.querySelector(".question-textarea"); if (questionTextarea) IAnswerInfo.value["text"] = questionTextarea.innerHTML; $ajax("/api/publish/answerSubmit", { token: IAnswerInfo.value["token"] || detailsToken, anonymous: IAnswerInfo.value["anonymous"] || 0, content: IAnswerInfo.value["text"] }).then((res) => { if (res.code != 200) return; if (isDirectlyListIAnswer) { getDetails(IAnswerInfo.value["uniqid"], IAnswerInfo.value["index"]); IAnswerState.value = false; } else { answerList.value = []; answerPage.value = 1; getAnswerList(); closeIAnswer(); if (!IAnswerInfo.value["token"]) myCount.value["answer"]++; if (type2 == "you") questionTextarea.innerHTML = ""; } handleMsg("success", res["message"] || "操作成功"); }); }; 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); }; let answerCommentLimit = 3; const getAnswerCommentList = (index) => { getAnswerCommentPublic(index).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).then((res) => { if (res.code != 200) return; let data = res.data; let slice3 = data.data.slice(3); let merged1 = [...answerList.value[index]["commentList"], ...slice3.filter((item2) => !answerList.value[index]["commentList"].find((item1) => item1.id == item2.id))]; answerList.value[index]["commentList"] = merged1; handleMsg("success", res["message"] || "操作成功"); }); }; const getAnswerCommentPublic = (index) => { return new Promise((resolve, reject) => { $ajax("/api/comment/lists", { token: answerList.value[index]["token"], limit: answerCommentLimit, childlimit: 1 }).then((res) => { if (res.code != 200) return; resolve(res); }); }); }; const submitAnswerComments = (index, ind, i) => { if (isNeedLogin.value) { goLogin(); return; } const targetAnswerList = [...answerList.value]; let content = ""; let parentid = null; let token = targetAnswerList[index]["token"]; if (i != null) { content = targetAnswerList[index]["commentList"][ind]["child"][i]["commentInput"]; parentid = targetAnswerList[index]["commentList"][ind]["child"][i]["id"]; } else if (ind != null) { content = targetAnswerList[index]["commentList"][ind]["commentInput"]; parentid = targetAnswerList[index]["commentList"][ind]["id"]; } else content = targetAnswerList[index]["commentInput"]; $ajax("/api/comment/submit", { content, token, parentid }).then((res) => { if (res.code != 200) return; let data = res.data; if (i != null) { let targetData = { id: data["commentid"], content, isauthor: 1, islike: 0, likenum: 0, reply: { nickname: targetAnswerList[index]["commentList"][ind]["child"][i]["nickname"] }, ...data }; targetAnswerList[index]["commentList"][ind]["child"].unshift(targetData); targetAnswerList[index]["commentList"][ind]["childnum"]++; } else if (ind != null) { let targetData = { id: data["commentid"], content, isauthor: 1, islike: 0, likenum: 0, reply: [], ...data }; targetAnswerList[index]["commentList"][ind]["child"].unshift(targetData); targetAnswerList[index]["commentList"][ind]["childnum"]++; } else { let targetData = { id: data["commentid"], content, isauthor: 1, islike: 0, likenum: 0, ...data, child: [] }; targetAnswerList[index]["commentList"].unshift(targetData); targetAnswerList[index]["commentCount"]++; } targetAnswerList[index]["commentnum"] = data["count"]; closeAnswerCommentsChild(); handleMsg("success", res["message"] || "操作成功"); }); }; const operateAnswerCommentsLike = (token, index, ind, i) => { if (isNeedLogin.value) { goLogin(); return; } $ajax("/api/comment/like", { token }).then((res) => { if (res.code != 200) return; let data = res.data; const targetAnswerList = [...answerList.value]; if (i == null) { targetAnswerList[index]["commentList"][ind]["islike"] = data["status"]; targetAnswerList[index]["commentList"][ind]["likenum"] = data["likenum"]; } else { targetAnswerList[index]["commentList"][ind]["child"][i]["islike"] = data["status"]; targetAnswerList[index]["commentList"][ind]["child"][i]["likenum"] = data["likenum"]; } answerList.value = targetAnswerList; handleMsg("success", res["message"] || "操作成功"); }); }; const openAnswerCommentsChild = (index, ind, i) => { if (isNeedLogin.value) { goLogin(); return; } closeAnswerCommentsChild(); if (i == null) answerList.value[index].commentList[ind]["childState"] = true; else answerList.value[index].commentList[ind]["child"][i]["childState"] = true; }; const closeAnswerCommentsChild = (index, ind, i) => { const targetAnswerList = [...answerList.value]; targetAnswerList.forEach((element) => { if (element["commentList"] && element["commentList"].length != 0) { element["commentList"].forEach((ele) => { ele["childState"] = false; if (ele["child"] && ele["child"].length != 0) { ele["child"].forEach((el) => { el["childState"] = false; }); } }); } }); answerList.value = targetAnswerList; }; const alsoCommentsData = (index, ind) => { const targetAnswerList = [...answerList.value]; const parentid = targetAnswerList[index]["commentList"][ind]["id"]; const token = targetAnswerList[index]["token"]; $ajax("/api/comment/childrenList", { token, parentid, limit: 20, page: 1, childlimit: 1 }).then((res) => { if (res.code != 200) return; let data = res.data; let merged1 = [...targetAnswerList[index]["commentList"][ind]["child"], ...data.data.filter((item2) => !targetAnswerList[index]["commentList"][ind]["child"].find((item1) => item1.id == item2.id))]; targetAnswerList[index]["commentList"][ind]["child"] = merged1; answerList.value = targetAnswerList; }); }; let myType = ref(""); const handleMy = (key) => { if (isNeedLogin.value) { goLogin(); 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"; 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 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; }); 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; res.data; 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) { goLogin(); 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) { goLogin(); 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"; height = Math.ceil(list.value.length / 2) * 128 + "px"; } else { width = "calc((100vw - 1200px) / 2 + 512px)"; margin = "initial"; height = list.value.length * 128 + "px"; } return { width, margin, height }; }; const itemStyle = (index, content) => { const newtype = type.value; let obj = {}; if (newtype == "list") { let top = Math.floor(index / 2) * 128 + "px"; obj["top"] = top; if (index % 2 == 0) obj["left"] = 0; else obj["left"] = "649px"; } else { obj["top"] = index * 128 + "px"; obj["left"] = 0; obj["width"] = "100%"; obj["paddingLeft"] = "calc((100vw - 1200px) / 2)"; } 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()) => { 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(); result = "" + Y + M + D + h2 + m; } 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; }; 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) => { $ajax("/api/operate/share", { token }); }; const closeDetailMode = () => { type.value = "list"; pitchIndex.value = null; seo.value = {}; }; const handleListScroll = (e) => { const el = e.target; if (el.scrollHeight - el.scrollTop >= el.clientHeight + 40) 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) => { $ajax("/api/common/upload", { data: base64 }).then((res) => { if (res.code != 200) return; let data = res.data; resolve(data); }); }); }; 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; }; 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; }; const myOpenDetails = (uniqid) => { if (!uniqid) { handleMsg("error", "没有找到相关提问"); return; } getDetails(uniqid); myType.value = ""; }; const handleDetailsScroll = (e) => { const el = e.target; if (el.scrollHeight - el.scrollTop !== el.clientHeight) return; getAnswerList(); }; let dialogSrc = ref(""); const handleAnswerText = (e) => { if (e.target.tagName === "IMG") { var src = e.target.getAttribute("src"); dialogSrc.value = src; window.addEventListener("keydown", handleKeydown); } }; const handleKeydown = (event) => { if (event.key !== "Escape") return; dialogSrc.value = ""; window.removeEventListener("keydown", handleKeydown); }; const cutType = (id) => { typePitch.value = id; page = 1; list.value = []; type.value = "list"; pitchIndex.value = null; getList(); }; const handleMenuState = (index, ind, i) => { if (isNeedLogin.value) { goLogin(); return; } if (i === void 0) reportToken = answerList.value[index].commentList[ind]["token"]; else reportToken = answerList.value[index].commentList[ind]["child"][i]["token"]; alertShow.value = true; }; 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 seo = ref({}); try { const params = route.query; if (params["keyword"]) keyword.value = params["keyword"]; if (params["tid"]) typePitch.value = params["tid"]; if (params["uniqid"]) { await $ajax("/api/details", { uniqid: params["uniqid"] }).then((res) => { if (res.code != 200) return; let data = res.data; detailsInfo.value = data["info"] || {}; detailsIsanswered.value = data["isanswered"] || 0; detailsIscollection.value = data["iscollection"] || 0; detailsIsmyself.value = data["ismyself"] || 0; detailsToken = data["token"] || ""; detailShare.value = data["share"] || {}; type.value = "details"; calculateListIndex(data.info, params["uniqid"]); answerList.value = []; answerPage.value = 1; getAnswerList(); closeAllTransmitState(); replaceState({ uniqid: params["uniqid"] }); seo.value = data.seo; }); } await $ajax("/api/lists", { page, limit: 20, keyword: keyword.value, type: typePitch.value }).then((res) => { if (res.code != 200) return; let data = res.data; list.value = list.value.concat(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; }); } catch (error) { console.error(error); } 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 handleYourAnswer = () => { if (isNeedLogin.value) { goLogin(); return; } IAnswerInfo.value = { ...yourAnswer.value }; submitAnswer("you"); yourAnswer.value = { text: "", anonymous: 0 }; }; let isDirectlyListIAnswer = false; const openListIAnswer = (index) => { if (isNeedLogin.value) { goLogin(); return; } let targetData = list.value[index]; IAnswerInfo.value = { title: targetData["title"], content: targetData["content"], token: targetData["token"], uniqid: targetData["uniqid"], anonymous: 0, index }; isDirectlyListIAnswer = true; IAnswerState.value = true; nextTick(() => handleInput()); }; return { isNeedLogin, handleInputYou, openListIAnswer, isListEmptyState, cutYourAnswerAnonymous, handleYourAnswer, 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, openIAnswer, closeIAnswer, submitAnswer, openCommentState, submitAnswerComments, operateAnswerCommentsLike, openAnswerCommentsChild, closeAnswerCommentsChild, alsoCommentsData, 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; _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.isSearchMode) { _push(`
${ssrInterpolate($setup.keywordText)}
共 ${ssrInterpolate($setup.total)} 条搜索结果
`); } else { _push(`
共 ${ssrInterpolate($setup.total)} 条问答
`); } _push(`
`); if ($setup.inTheEndState) { _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(``); } _push(`
${ssrInterpolate($setup.detailsInfo["title"])}
${$setup.detailsInfo["content"]}
${ssrInterpolate($setup.handleDate($setup.detailsInfo["publicationdate"]))}
我来回答
`); if ($setup.detailsIscollection == 0) { _push(``); } else { _push(``); } _push(` ${ssrInterpolate($setup.detailsInfo["collectionnum"] > 0 ? $setup.detailsInfo["collectionnum"] : "收藏")}
转发 `); if ($setup.questionsTransmitState) { _push(`
转发网页版
${ssrInterpolate($setup.detailsInfo["title"])}
${ssrInterpolate($setup.getCurrentUrl())}
复制链接
转发小程序版
扫码转发该问答
`); } else { _push(``); } _push(`
共 ${ssrInterpolate($setup.detailsInfo["answers"])} 个回答
`); ssrRenderList($setup.answerList, (item, index) => { _push(`
${item["content"]}
${ssrInterpolate($setup.handleDate(item["publicationdate"]))}
`); if (item["ismyself"] == 1) { _push(`
`); } else { _push(``); } _push(`
`); if (item["islike"] == 1) { _push(``); } else { _push(``); } _push(` ${ssrInterpolate(item["likenum"])}
${ssrInterpolate(item["commentnum"])}
`); if (item["iscollection"] == 1) { _push(``); } else { _push(``); } _push(` ${ssrInterpolate(item["collectionnum"] == 0 ? "收藏" : item["collectionnum"])}
转发 `); if (item["transmitState"]) { _push(`
转发网页版
${ssrInterpolate($setup.detailsInfo["title"])}
${ssrInterpolate($setup.getCurrentUrl())}
复制链接
转发小程序版
扫码转发该问答
`); } else { _push(``); } _push(`
`); if (item["commentState"]) { _push(`
OK
`); if (item["commentList"] && item["commentList"].length != 0) { _push(`
`); ssrRenderList(item["commentList"], (it, ind) => { _push(`
${ssrInterpolate(it["nickname"])}
${ssrInterpolate($setup.handleDate(it["timestamp"]))}
`); if (it["questioner"] == 1) { _push(`
提问者
`); } else if (it["isauthor"] == 1) { _push(`
回答者
`); } else { _push(``); } _push(`
${ssrInterpolate(it["content"])}
`); if (it["childState"]) { _push(`
发送
`); } else { _push(``); } _push(`
`); if (it["child"].length != 0) { _push(`
`); ssrRenderList(it["child"], (ite, i) => { _push(`
${ssrInterpolate(ite["nickname"])}
${ssrInterpolate($setup.handleDate(ite["timestamp"]))}
`); if (ite["questioner"] == 1) { _push(`
提问者
`); } else if (ite["isauthor"] == 1) { _push(`
回答者
`); } else { _push(``); } _push(`
`); if (JSON.stringify(ite["reply"]) != "[]") { _push(`
@${ssrInterpolate(ite["reply"]["nickname"])}
`); } else { _push(``); } _push(` ${ssrInterpolate(ite["content"])}
`); if (ite["childState"]) { _push(`
发送
`); } else { _push(``); } _push(`
`); }); _push(``); if (it["childnum"] >= 3 && it["childnum"] > it["child"].length) { _push(`
还有${ssrInterpolate(it["childnum"] - 1)}条回复
`); } else { _push(``); } _push(`
`); } else { _push(``); } _push(`
`); }); _push(``); if (item["commentCount"] != item["commentList"].length) { _push(`
显示全部
`); } else { _push(``); } _push(`
`); } else { _push(`
`); ssrRenderList(3, (item2) => { _push(``); }); _push(``); ssrRenderList(3, (item2) => { _push(``); }); _push(`
和我说说你的想法或疑问吧
`); } _push(``); } else { _push(``); } _push(`
`); }); _push(``); if ($setup.answerList.length > 0) { _push(``); } else { _push(``); } if (!$setup.isNeedLogin) { _push(`
您的答案
${$setup.yourAnswer["text"]}
`); if ($setup.yourAnswer["anonymous"] == 0) { _push(``); } else { _push(``); } _push(` 匿名发表
提交回答
`); } else { _push(``); } if ($setup.isNeedLogin && $setup.answerList.length == 0) { _push(`
`); ssrRenderList(3, (item) => { _push(``); }); _push(``); ssrRenderList(3, (item) => { _push(``); }); _push(`
我在等待你的回答
`); } else { _push(``); } _push(`
手机查看该问答
微信扫一扫
`); } else { _push(``); } _push(`
`); if ($setup.myType) { _push(`
我的收藏
${ssrInterpolate($setup.myCollectionCount || $setup.myCount["collect"] || 0)}
我的提问
${ssrInterpolate($setup.myQuestionsCount || $setup.myCount["questions"] || 0)}
我的回答
${ssrInterpolate($setup.myAnswerCount || $setup.myCount["answer"] || 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(``); } if ($setup.IAnswerEditState) { _push(`
编辑回答
${$setup.IAnswerInfo["text"]}
`); if ($setup.IAnswerInfo["anonymous"] == 0) { _push(``); } else { _push(``); } _push(` 匿名发表
提交回答
`); } else { _push(``); } if ($setup.IAnswerState) { _push(`
Q
${$setup.IAnswerInfo["title"]}
`); if ($setup.IAnswerInfo["content"]) { _push(`
${$setup.IAnswerInfo["content"]}
`); } else { _push(``); } _push(`
A
${$setup.IAnswerInfo["text"]}
`); if ($setup.IAnswerInfo["anonymous"] == 0) { _push(``); } else { _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-b567fef8.mjs').then((r) => r.default || r)); const _Error = defineAsyncComponent(() => import('./static/error-500-fd968d91.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-4de2a5fd.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