no message

This commit is contained in:
A1300399510
2023-12-18 18:47:07 +08:00
parent 8f6393c912
commit 18b3daefde
26 changed files with 493 additions and 226 deletions

View File

@@ -159,7 +159,7 @@ const client_manifest = {
"prefetch": true,
"preload": true,
"css": [],
"file": "error-404.eb99afb2.js",
"file": "error-404.c0709d99.js",
"imports": [
"node_modules/nuxt/dist/app/entry.js"
],
@@ -185,7 +185,7 @@ const client_manifest = {
"prefetch": true,
"preload": true,
"css": [],
"file": "error-500.a72ffb41.js",
"file": "error-500.799ea7bb.js",
"imports": [
"node_modules/nuxt/dist/app/entry.js"
],
@@ -202,7 +202,7 @@ const client_manifest = {
"resourceType": "style",
"prefetch": true,
"preload": true,
"file": "entry.d0051705.css",
"file": "entry.ed8eded5.css",
"src": "node_modules/nuxt/dist/app/entry.css"
},
"node_modules/nuxt/dist/app/entry.js": {
@@ -234,19 +234,19 @@ const client_manifest = {
"triangle-icon.c39ff2e7.svg"
],
"css": [
"entry.d0051705.css"
"entry.ed8eded5.css"
],
"dynamicImports": [
"node_modules/@nuxt/ui-templates/dist/templates/error-404.vue",
"node_modules/@nuxt/ui-templates/dist/templates/error-500.vue"
],
"file": "entry.7cbcb895.js",
"file": "entry.f854d2a1.js",
"isEntry": true,
"src": "node_modules/nuxt/dist/app/entry.js",
"_globalCSS": true
},
"entry.d0051705.css": {
"file": "entry.d0051705.css",
"entry.ed8eded5.css": {
"file": "entry.ed8eded5.css",
"resourceType": "style",
"prefetch": true,
"preload": true

View File

@@ -1,4 +1,4 @@
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 { version, ref, watchEffect, watch, getCurrentInstance, defineComponent, hasInjectionContext, unref, inject, useSSRContext, createApp, effectScope, reactive, onUnmounted, toRef, isRef, nextTick, defineAsyncComponent, provide, 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';
@@ -1002,6 +1002,32 @@ defineComponent({
},
setup: setupForUseMeta((bodyAttrs) => ({ bodyAttrs }), true)
});
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/uTi4kLjTMl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W4vaWNvbi1mb250L3RtcC9pY29uX2kyYzV4MjJydTJsL3NvdXN1by5zdmfTYjJrAAAAAElFTkSuQmCC";
@@ -1115,6 +1141,8 @@ const _sfc_main$2 = {
let isNeedLogin = ref(true);
const goLogin = () => ajax_login();
const route = useRoute();
let detailsInfoDataVuex = useState("detailsInfoData", () => {
});
const baseURL2 = "https://ask.gter.net";
let type = ref("list");
let originUrl = ref("");
@@ -1269,7 +1297,6 @@ const _sfc_main$2 = {
detailsToken = data["token"] || "";
detailShare.value = data["share"] || {};
type.value = "details";
closeBottom();
if (index !== null && index !== void 0)
cut(index);
else
@@ -1282,14 +1309,11 @@ const _sfc_main$2 = {
openIAnswer();
seo.value = data.seo;
yourAnswer.value = {
// 初始化 我来回答的框
text: "",
anonymous: 0
};
detailsAreaScrollTop();
}).finally(() => {
detailLoading.value = false;
});
nextTick(() => detailsAreaScrollTop());
}).finally(() => detailLoading.value = false);
};
const detailsAreaScrollTop = () => {
let detailsArea = document.querySelector(".details-area-box");
@@ -1300,7 +1324,7 @@ const _sfc_main$2 = {
};
const calculateListIndex = (info, uniqid) => {
let targetList = [...list.value];
if (targetList.length == 0 && isSearchMode.value == false) {
if (targetList.length == 0 && isSearchMode.value == false && myModelState.value == false) {
setTimeout(() => calculateListIndex(info, uniqid), 200);
return;
}
@@ -1934,11 +1958,9 @@ const _sfc_main$2 = {
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,
@@ -1946,22 +1968,36 @@ const _sfc_main$2 = {
height
};
};
let listHeight = ref(0);
let itemHeightLeft = 0;
let itemHeightRight = 0;
const itemStyle = (index, content) => {
if (index == 0) {
itemHeightLeft = 0;
itemHeightRight = 0;
}
const newtype = type.value;
let obj = {};
if (newtype == "list") {
let top = Math.floor(index / 2) * 128 + "px";
obj["top"] = top;
if (index % 2 == 0)
if (itemHeightLeft <= itemHeightRight) {
obj["top"] = itemHeightLeft + "px";
itemHeightLeft += content == "" ? 107 : 136;
obj["left"] = 0;
else
} else {
obj["top"] = itemHeightRight + "px";
itemHeightRight += content == "" ? 107 : 136;
obj["left"] = "649px";
}
} else {
obj["top"] = index * 128 + "px";
obj["top"] = itemHeightLeft + "px";
itemHeightLeft += content == "" ? 107 : 136;
obj["height"] = content == "" ? "107px" : "136px";
obj["left"] = 0;
obj["width"] = "100%";
obj["paddingLeft"] = "calc((100vw - 1200px) / 2)";
}
if (index + 1 == list.value.length)
listHeight.value = Math.max(itemHeightLeft, itemHeightRight);
return obj;
};
const bottomTpsStyle = (index, content) => {
@@ -1971,8 +2007,11 @@ const _sfc_main$2 = {
;
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["borderRight"] = "1px solid #ebebeb";
obj["background"] = "#fff";
}
return obj;
};
@@ -2041,6 +2080,10 @@ const _sfc_main$2 = {
$ajaxGET("/api/operate/share?token=" + token);
};
const closeDetailMode = () => {
if (myModelState.value) {
closeMyModel();
return;
}
type.value = "list";
openBottom();
pitchIndex.value = null;
@@ -2152,14 +2195,42 @@ const _sfc_main$2 = {
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,
type: type.value,
pitchIndex: pitchIndex.value,
listlist: JSON.parse(JSON.stringify(list.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"];
total.value = temporaryData["total"];
type.value = temporaryData["type"];
pitchIndex.value = temporaryData["pitchIndex"];
list.value = JSON.parse(JSON.stringify(temporaryData.listlist));
myModelState.value = false;
let uniqid = list.value[pitchIndex.value]["uniqid"];
getDetails(uniqid);
};
const handleDetailsScroll = (e) => {
const el = e.target;
if (el.scrollHeight - el.scrollTop !== el.clientHeight)
@@ -2231,6 +2302,31 @@ const _sfc_main$2 = {
keyword.value = params["keyword"];
if (params["tid"])
typePitch.value = params["tid"];
if (params["uniqid"]) {
if (true) {
await axios.post(baseURL2 + "/api/details", { uniqid: params["uniqid"] }).then((response) => {
let res = response.data;
let data = res.data;
detailsInfoDataVuex.value = 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;
}).catch((error) => {
console.error(error);
});
}
}
await $ajax("/api/lists", {
page,
limit: 20,
@@ -2325,7 +2421,7 @@ const _sfc_main$2 = {
if (answerList.value[index]["uin"] > 0)
answerList.value[index]["avatarState"] = !answerList.value[index]["avatarState"];
} else {
if (detailsInfo["uin"] > 0)
if (detailsInfo.value["uin"] > 0)
avatarState.value = !avatarState.value;
}
};
@@ -2341,13 +2437,6 @@ const _sfc_main$2 = {
link.target = "_blank";
link.click();
};
const closeBottom = () => {
const footer = document.querySelector("body .index-footer");
if (footer)
footer.style.display = "none";
else
setTimeout(() => closeBottom(), 1e3);
};
const openBottom = () => {
const footer = document.querySelector("body .index-footer");
if (footer)
@@ -2356,6 +2445,10 @@ const _sfc_main$2 = {
setTimeout(() => openBottom(), 1e3);
};
return {
closeMyModel,
myModelList,
myModelState,
listHeight,
bottomTpsStyle,
TAHomePage,
sendMessage,
@@ -2555,12 +2648,14 @@ function _sfc_ssrRender(_ctx, _push, _parent, _attrs, $props, $setup, $data, $op
_push(`<!--]--><!--]-->`);
});
_push(`<!--]--></div></div></header><div class="${ssrRenderClass([{ "mode-list": $setup.type == "list" }, "main flexflex"])}"><div class="list-box"><div class="main-header" style="${ssrRenderStyle({ paddingLeft: $setup.type == "list" ? 0 : "calc((100vw - 1200px) / 2)" })}">`);
if ($setup.isSearchMode) {
if ($setup.myModelState) {
_push(`<div class="search-keyword flexacenter"><div class="ellipsis">我的收藏/提问/回答</div><img class="search-keyword-cross"${ssrRenderAttr("src", _imports_4)}></div>`);
} else if ($setup.isSearchMode) {
_push(`<!--[--><div class="search-keyword flexacenter"><div class="ellipsis">${ssrInterpolate($setup.keywordText)}</div><img class="search-keyword-cross"${ssrRenderAttr("src", _imports_4)}></div><div class="total grid-item">共 ${ssrInterpolate($setup.total)} 条搜索结果</div><!--]-->`);
} else {
_push(`<div class="total grid-item">共 ${ssrInterpolate($setup.total)} 条问答</div>`);
}
_push(`</div><div class="list" id="list" style="${ssrRenderStyle($setup.listStyle())}"><!--[-->`);
_push(`</div><div class="list" id="list" style="${ssrRenderStyle([$setup.listStyle(), { height: $setup.listHeight + "px" }])}"><!--[-->`);
ssrRenderList($setup.list, (item, index) => {
_push(`<a style="${ssrRenderStyle($setup.itemStyle(index, item["content"]))}" class="${ssrRenderClass([{ pitch: index === $setup.pitchIndex, upLevel: index === $setup.pitchIndex - 1 }, "item grid-item flexflex"])}"${ssrRenderAttr("href", $setup.setItemUrl(item["uniqid"]))}><img class="dot"${ssrRenderAttr("src", _imports_5)}><div class="content" style="${ssrRenderStyle({ width: $setup.type == "list" ? "531px" : "430px" })}"><div class="issue-title flexcenter">`);
if (item["ishot"] == 1) {
@@ -2568,9 +2663,19 @@ function _sfc_ssrRender(_ctx, _push, _parent, _attrs, $props, $setup, $data, $op
} else {
_push(`<!---->`);
}
_push(`<div class="issue ellipsis flex1">${item["title"]}</div></div><div class="answer ellipsis">${item["content"]}</div><div class="bottom flexacenter">`);
_push(`<div class="recommend flexcenter">推荐阅读</div><div class="issue ellipsis flex1">${item["title"]}</div></div>`);
{
_push(`<!--[-->`);
if (item["content"]) {
_push(`<div class="answer ellipsis">${item["content"]}</div>`);
} else {
_push(`<!---->`);
}
_push(`<!--]-->`);
}
_push(`<div class="bottom flexacenter">`);
if (item["typename"]) {
_push(`<div class="typename">${ssrInterpolate(item["typename"])}</div>`);
_push(`<div class="typename flexcenter">${ssrInterpolate(item["typename"])}</div>`);
} else {
_push(`<div></div>`);
}
@@ -2588,6 +2693,11 @@ function _sfc_ssrRender(_ctx, _push, _parent, _attrs, $props, $setup, $data, $op
} else {
_push(`<!---->`);
}
if ($setup.myModelState) {
_push(`<div class="bottom-tps" style="${ssrRenderStyle($setup.bottomTpsStyle())}"></div>`);
} else {
_push(`<!---->`);
}
if ($setup.isListEmptyState && $setup.list.length == 0) {
_push(`<div class="empty-box flexcenter"><div class="dot-list flexacenter"><img class="item"${ssrRenderAttr("src", _imports_7)}><img class="item"${ssrRenderAttr("src", _imports_7)}><img class="item"${ssrRenderAttr("src", _imports_7)}><img class="item"${ssrRenderAttr("src", _imports_8)}><img class="item"${ssrRenderAttr("src", _imports_8)}><img class="item"${ssrRenderAttr("src", _imports_8)}></div><img class="empty-icon"${ssrRenderAttr("src", _imports_9)}>`);
if ($setup.isSearchMode) {
@@ -2607,7 +2717,13 @@ function _sfc_ssrRender(_ctx, _push, _parent, _attrs, $props, $setup, $data, $op
} else {
_push(`<!---->`);
}
_push(`<div class="details-box flexflex"><div class="close-box"><div class="close-circle flexcenter"><img class="close-icon"${ssrRenderAttr("src", _imports_10)}><img class="details-cross-icon"${ssrRenderAttr("src", _imports_11)}></div></div><div class="details-issue"><img class="qq"${ssrRenderAttr("src", _imports_12)}><div class="titletitle">${ssrInterpolate($setup.detailsInfo["title"])}</div><div class="hint">${$setup.detailsInfo["content"]}</div><div class="info-box flexacenter"><div class="user-info flexacenter">`);
_push(`<div class="details-box flexflex"><div class="close-box"><div class="close-circle flexcenter"><img class="close-icon"${ssrRenderAttr("src", _imports_10)}><img class="details-cross-icon"${ssrRenderAttr("src", _imports_11)}></div></div><div class="details-issue"><img class="qq"${ssrRenderAttr("src", _imports_12)}><div class="titletitle">${ssrInterpolate($setup.detailsInfo["title"])}</div>`);
if ($setup.detailsInfo["content"]) {
_push(`<div class="hint">${$setup.detailsInfo["content"]}</div>`);
} else {
_push(`<!---->`);
}
_push(`<div class="info-box flexacenter"><div class="user-info flexacenter">`);
if ($setup.detailsInfo["avatar"]) {
_push(`<img class="avatar"${ssrRenderAttr("src", $setup.detailsInfo["avatar"])}>`);
} else {

File diff suppressed because one or more lines are too long

View File

@@ -1 +0,0 @@
{"version":3,"file":"entry-styles.01300843.mjs","sources":["../../../../../.nuxt/dist/server/static/entry-styles-1.mjs-0949f21b.js","../../../../../.nuxt/dist/server/static/entry-styles.01300843.mjs"],"sourcesContent":null,"names":["__buildAssetsURL","style_0"],"mappings":";;;;;;;;;;;;;;;;AAAA,MAAA,mCAAA,GAAA,2pMAAA,GAAAA,cAAA,CAAA,4BAAA,CAAA,GAAA,05rCAAA;;ACCA,6BAAe,CAACC,mCAAO;;;;"}

File diff suppressed because one or more lines are too long

View File

@@ -0,0 +1 @@
{"version":3,"file":"entry-styles.a457ca3a.mjs","sources":["../../../../../.nuxt/dist/server/static/entry-styles-1.mjs-6ea54b9b.js","../../../../../.nuxt/dist/server/static/entry-styles.a457ca3a.mjs"],"sourcesContent":null,"names":["__buildAssetsURL","style_0"],"mappings":";;;;;;;;;;;;;;;;AAAA,MAAA,mCAAA,GAAA,+mMAAA,GAAAA,cAAA,CAAA,4BAAA,CAAA,GAAA,8qsCAAA;;ACCA,6BAAe,CAACC,mCAAO;;;;"}

View File

@@ -1,6 +1,6 @@
const interopDefault = r => r.default || r || [];
const styles = {
"node_modules/nuxt/dist/app/entry.js": () => import('./static/entry-styles.01300843.mjs').then(interopDefault),
"node_modules/nuxt/dist/app/entry.js": () => import('./static/entry-styles.a457ca3a.mjs').then(interopDefault),
"node_modules/@nuxt/ui-templates/dist/templates/error-404.vue": () => import('./static/error-404-styles.1e0dde27.mjs').then(interopDefault),
"node_modules/@nuxt/ui-templates/dist/templates/error-500.vue": () => import('./static/error-500-styles.cf4b3e80.mjs').then(interopDefault)
};

View File

@@ -3059,7 +3059,7 @@ function klona(x) {
const inlineAppConfig = {
"nuxt": {
"buildId": "1e6a2d4e-548a-428c-ad50-9848287242f5"
"buildId": "3f40664d-7f05-422a-965e-10d06a0e6803"
}
};
@@ -4949,205 +4949,205 @@ const assets = {
"/static/add-icon.0b0b5313.svg": {
"type": "image/svg+xml",
"etag": "\"d67-gajxuGcy6aHIeWAbO0RazX03p90\"",
"mtime": "2023-12-15T09:06:20.498Z",
"mtime": "2023-12-18T10:46:17.284Z",
"size": 3431,
"path": "../public/static/add-icon.0b0b5313.svg"
},
"/static/arrows-icon.271dd0d3.svg": {
"type": "image/svg+xml",
"etag": "\"5a0-yAit7q5lcKJMd35iOMMifZv2uno\"",
"mtime": "2023-12-15T09:06:20.496Z",
"mtime": "2023-12-18T10:46:17.285Z",
"size": 1440,
"path": "../public/static/arrows-icon.271dd0d3.svg"
},
"/static/close-icon.86743366.svg": {
"type": "image/svg+xml",
"etag": "\"2d4-QYrulZl33jopLCT37UdJfnzXOVg\"",
"mtime": "2023-12-15T09:06:20.498Z",
"mtime": "2023-12-18T10:46:17.285Z",
"size": 724,
"path": "../public/static/close-icon.86743366.svg"
},
"/static/collect-icon-colours.6d2ade7f.svg": {
"type": "image/svg+xml",
"etag": "\"7ab-av9D1DgxgD5cvY5wd30haD7c1q0\"",
"mtime": "2023-12-15T09:06:20.498Z",
"mtime": "2023-12-18T10:46:17.285Z",
"size": 1963,
"path": "../public/static/collect-icon-colours.6d2ade7f.svg"
},
"/static/comment-icon-gray.2c8779f9.svg": {
"type": "image/svg+xml",
"etag": "\"816-HEGvNjvS0TeA/3uJweilvZfCqlk\"",
"mtime": "2023-12-15T09:06:20.498Z",
"mtime": "2023-12-18T10:46:17.285Z",
"size": 2070,
"path": "../public/static/comment-icon-gray.2c8779f9.svg"
},
"/static/delete-icon.4d386dce.svg": {
"type": "image/svg+xml",
"etag": "\"17fe-RGKa0+MaUqOqlbPlXlig67fGkaY\"",
"mtime": "2023-12-15T09:06:20.499Z",
"mtime": "2023-12-18T10:46:17.285Z",
"size": 6142,
"path": "../public/static/delete-icon.4d386dce.svg"
},
"/static/dot-gray.86cdd7b5.svg": {
"type": "image/svg+xml",
"etag": "\"2af-sBMsuPZbsh28jzlFWO9lVYMVDk8\"",
"mtime": "2023-12-15T09:06:20.498Z",
"mtime": "2023-12-18T10:46:17.285Z",
"size": 687,
"path": "../public/static/dot-gray.86cdd7b5.svg"
},
"/static/dot-yellow.4b5e135b.svg": {
"type": "image/svg+xml",
"etag": "\"2af-6L7YsWhGTHBB6NqQztB/l2OFRfE\"",
"mtime": "2023-12-15T09:06:20.498Z",
"mtime": "2023-12-18T10:46:17.285Z",
"size": 687,
"path": "../public/static/dot-yellow.4b5e135b.svg"
},
"/static/dot.1026a040.svg": {
"type": "image/svg+xml",
"etag": "\"217-dx6xqUT4D9pCoKc6nr20aXeJQXQ\"",
"mtime": "2023-12-15T09:06:20.498Z",
"mtime": "2023-12-18T10:46:17.285Z",
"size": 535,
"path": "../public/static/dot.1026a040.svg"
},
"/static/edit-icon-white.29b27582.svg": {
"type": "image/svg+xml",
"etag": "\"8be-EnEF3CQI46JkMNAXbPf3H6T7pzU\"",
"mtime": "2023-12-15T09:06:20.498Z",
"mtime": "2023-12-18T10:46:17.285Z",
"size": 2238,
"path": "../public/static/edit-icon-white.29b27582.svg"
},
"/static/empty-icon.24a01ae2.svg": {
"type": "image/svg+xml",
"etag": "\"d028-Our2UxxUiciRSduORd8JZCt5Prw\"",
"mtime": "2023-12-15T09:06:20.498Z",
"mtime": "2023-12-18T10:46:17.285Z",
"size": 53288,
"path": "../public/static/empty-icon.24a01ae2.svg"
},
"/static/entry.7cbcb895.js": {
"type": "application/javascript",
"etag": "\"3ae6e-rdRTMu3GqcKv8DlFipBPR16yEuA\"",
"mtime": "2023-12-15T09:06:20.500Z",
"size": 241262,
"path": "../public/static/entry.7cbcb895.js"
},
"/static/entry.d0051705.css": {
"/static/entry.ed8eded5.css": {
"type": "text/css; charset=utf-8",
"etag": "\"af21-CGiztCz4hW+9/5WvV+/bg9wGCGE\"",
"mtime": "2023-12-15T09:06:20.500Z",
"size": 44833,
"path": "../public/static/entry.d0051705.css"
"etag": "\"affc-d0rY1PQKoyVsSBMxQXhALr0um0Q\"",
"mtime": "2023-12-18T10:46:17.287Z",
"size": 45052,
"path": "../public/static/entry.ed8eded5.css"
},
"/static/entry.f854d2a1.js": {
"type": "application/javascript",
"etag": "\"3b725-MNExsXumHo20ja/sdmcuoc/7gUc\"",
"mtime": "2023-12-18T10:46:17.287Z",
"size": 243493,
"path": "../public/static/entry.f854d2a1.js"
},
"/static/error-404.7fc72018.css": {
"type": "text/css; charset=utf-8",
"etag": "\"e2e-iNt1cqPQ0WDudfCTZVQd31BeRGs\"",
"mtime": "2023-12-15T09:06:20.500Z",
"mtime": "2023-12-18T10:46:17.287Z",
"size": 3630,
"path": "../public/static/error-404.7fc72018.css"
},
"/static/error-404.eb99afb2.js": {
"/static/error-404.c0709d99.js": {
"type": "application/javascript",
"etag": "\"18de-qcXEhgABD3i1NKdXbqS2fsR7wZY\"",
"mtime": "2023-12-15T09:06:20.500Z",
"etag": "\"18de-KPf7d/9bilEm75hM7yKrhrhCZag\"",
"mtime": "2023-12-18T10:46:17.287Z",
"size": 6366,
"path": "../public/static/error-404.eb99afb2.js"
"path": "../public/static/error-404.c0709d99.js"
},
"/static/error-500.a72ffb41.js": {
"/static/error-500.799ea7bb.js": {
"type": "application/javascript",
"etag": "\"756-a7AXATacmK9r/Tkrpmzta0evGas\"",
"mtime": "2023-12-15T09:06:20.500Z",
"etag": "\"756-6L8169c2aO0SY4ZeDXiGDxZz664\"",
"mtime": "2023-12-18T10:46:17.287Z",
"size": 1878,
"path": "../public/static/error-500.a72ffb41.js"
"path": "../public/static/error-500.799ea7bb.js"
},
"/static/error-500.c5df6088.css": {
"type": "text/css; charset=utf-8",
"etag": "\"79e-ByRo+49BgcevWdRjJy3CMx2IA5k\"",
"mtime": "2023-12-15T09:06:20.500Z",
"mtime": "2023-12-18T10:46:17.287Z",
"size": 1950,
"path": "../public/static/error-500.c5df6088.css"
},
"/static/issue-bj.44adad8c.svg": {
"type": "image/svg+xml",
"etag": "\"926-lK6rrraYIC+9Yxyy0subzOK8XpE\"",
"mtime": "2023-12-15T09:06:20.498Z",
"mtime": "2023-12-18T10:46:17.285Z",
"size": 2342,
"path": "../public/static/issue-bj.44adad8c.svg"
},
"/static/logo.6622f82d.png": {
"type": "image/png",
"etag": "\"843f-FSXGFGigIHmtzjdcQzuMz/a7E+o\"",
"mtime": "2023-12-15T09:06:20.498Z",
"mtime": "2023-12-18T10:46:17.285Z",
"size": 33855,
"path": "../public/static/logo.6622f82d.png"
},
"/static/menu-icon-gray.d61f02b1.svg": {
"type": "image/svg+xml",
"etag": "\"6de-kmXhltPHfF4W1gmV7wT4aZCZ6gg\"",
"mtime": "2023-12-15T09:06:20.498Z",
"mtime": "2023-12-18T10:46:17.285Z",
"size": 1758,
"path": "../public/static/menu-icon-gray.d61f02b1.svg"
},
"/static/QRCode-icon.a105d5fc.svg": {
"type": "image/svg+xml",
"etag": "\"9c1-qGg9jZ5wmHJGzh2A00nHIGWHMh4\"",
"mtime": "2023-12-15T09:06:20.498Z",
"mtime": "2023-12-18T10:46:17.285Z",
"size": 2497,
"path": "../public/static/QRCode-icon.a105d5fc.svg"
},
"/static/tick-no.179037b3.svg": {
"type": "image/svg+xml",
"etag": "\"1ea-YISAWqJD56jxoQT8N812fDJfkMw\"",
"mtime": "2023-12-15T09:06:20.498Z",
"mtime": "2023-12-18T10:46:17.285Z",
"size": 490,
"path": "../public/static/tick-no.179037b3.svg"
},
"/static/tick-option.e092d22f.svg": {
"type": "image/svg+xml",
"etag": "\"29a-UVjuq3WHs6mhu1KGQ7gQmJH2Bc4\"",
"mtime": "2023-12-15T09:06:20.498Z",
"mtime": "2023-12-18T10:46:17.285Z",
"size": 666,
"path": "../public/static/tick-option.e092d22f.svg"
},
"/static/tick-orange.233abc69.svg": {
"type": "image/svg+xml",
"etag": "\"60a-VrP9K+TQp6JbNcrU5k1Dor/Kq/E\"",
"mtime": "2023-12-15T09:06:20.499Z",
"mtime": "2023-12-18T10:46:17.283Z",
"size": 1546,
"path": "../public/static/tick-orange.233abc69.svg"
},
"/static/title.98892974.png": {
"type": "image/png",
"etag": "\"1723-0OwkVass/2nFB99dRT4w0sPUvI0\"",
"mtime": "2023-12-15T09:06:20.498Z",
"mtime": "2023-12-18T10:46:17.285Z",
"size": 5923,
"path": "../public/static/title.98892974.png"
},
"/static/triangle-icon.c39ff2e7.svg": {
"type": "image/svg+xml",
"etag": "\"446-ylQ81DOJ3joSbsS9atyrW6pZsBY\"",
"mtime": "2023-12-15T09:06:20.499Z",
"mtime": "2023-12-18T10:46:17.286Z",
"size": 1094,
"path": "../public/static/triangle-icon.c39ff2e7.svg"
},
"/static/view-icon.da7fef35.svg": {
"type": "image/svg+xml",
"etag": "\"f39-5Jwx14wB0jgB0Du25KRZbkEEXvI\"",
"mtime": "2023-12-15T09:06:20.498Z",
"mtime": "2023-12-18T10:46:17.285Z",
"size": 3897,
"path": "../public/static/view-icon.da7fef35.svg"
},
"/static/builds/latest.json": {
"type": "application/json",
"etag": "\"47-enxQSI3dmkBtXQL0IPk/zNDhlH0\"",
"mtime": "2023-12-15T09:06:21.765Z",
"etag": "\"47-C5z9i+BYb5XjsGqRiIxgLsDRH8o\"",
"mtime": "2023-12-18T10:46:18.637Z",
"size": 71,
"path": "../public/static/builds/latest.json"
},
"/static/builds/meta/1e6a2d4e-548a-428c-ad50-9848287242f5.json": {
"/static/builds/meta/3f40664d-7f05-422a-965e-10d06a0e6803.json": {
"type": "application/json",
"etag": "\"8b-uBiV7j+Wbkl8F6q68tYvD8raf2o\"",
"mtime": "2023-12-15T09:06:21.765Z",
"etag": "\"8b-76f5dMii2Mo8XcADbGZ5FPm5dqs\"",
"mtime": "2023-12-18T10:46:18.638Z",
"size": 139,
"path": "../public/static/builds/meta/1e6a2d4e-548a-428c-ad50-9848287242f5.json"
"path": "../public/static/builds/meta/3f40664d-7f05-422a-965e-10d06a0e6803.json"
}
};