1import{d as N,p as b,aw as V,f as j,ab as Z,g as e,w as A,j as p,o as s,Q as R,c as n,a as t,t as o,F as w,r as S,e as M,b as T,a2 as E,l as d,fA as H,k as I,S as P}from"./BVOEmJK6.js";import{u as Q}from"./C1dYCDaE.js";import{_ as U}from"./B1YmcwOx.js";import{_ as q}from"./Ce9p8E6x.js";import{u as G}from"./Bs_tdUlG.js";import{l as J}from"./B3CmsUgu.js";import{c as K}from"./Ch3tNtI9.js";import{d as O}from"./DgT7xebK.js";import"./DMK55Ao3.js";import"./D1BCO1ia.js";import"./B3YgBHZR.js";import"./CVv2MQd8.js";import"./C56mOmUq.js";import"./D3kteE2h.js";const W=N({__name:"result",props:{data:{}},setup(g){const{t:i}=b(),a=V(),f=()=>{a.close()};return(x,_)=>{const u=Z;return s(),j(u,{width:"md:max-w-[650px] lg:max-w-[900px]",title:e(i)("public.ai-detector"),isClose:!1,onClose:f,ui:{background:"bg-white",body:"px-0 pb-0"}},{default:A(()=>[p(q,{data:g.data},null,8,["data"])]),_:1},8,["title"])}}}),X={class:"bg-white w-full flex-1 flex flex-col overflow-auto scrollbar rounded-lg shadow-base h-[200px] lg:min-h-[500px] max-h-[calc(100vh-120px)]"},Y={class:"min-w-[1000px] flex-1 flex flex-col pb-5 px-8"},tt={class:"flex gap-x-3 px-5 py-5 sticky top-0 bg-white"},et={class:"flex-[2]"},st={class:"flex-[2]"},ot={class:"flex-[2]"},at={class:"flex-1"},nt={class:"flex-1"},lt={class:"flex-1 text-right"},ct={key:0,class:"flex flex-col gap-y-3 flex-1"},it=["onClick"],rt={class:"flex gap-x-3"},dt={class:"flex-[2]"},_t={class:"flex-[2] flex flex-wrap gap-2 items-center"},ut={key:0,src:"https://www.essaydone.ai/images/icon/icon-chatbot.png",width:"20",height:"20"},pt=["src"],ft={class:"flex-[2]"},xt={class:"flex-1"},ht={class:"flex-1"},mt={key:0,class:"flex justify-center"},gt={key:1,class:"w-full flex-1 flex justify-center items-center"},vt={class:"text-sm text-gray-900"},Ct={key:1,class:"w-full h-full flex-1 flex justify-center items-center"},wt=N({__name:"index",setup(g){const i=R().public,{t:a}=b(),f=V(),{formatDateTime:x,formatNumber:_}=G(),u=d(!0),v=d(!1),h=d([]),y=d(1),B=d(30),$=d(50),k=async()=>{if(v.value)return;v.value=!0;const r={page:y.value,pageSize:B.value},l=await H(r);l.code===0&&(h.value.push(...l.data.list),$.value=l.data.total,y.value++),v.value=!1,u.value&&(u.value=!1)};k();const F=r=>{const l=J.find(C=>C.code===r)?.value;return l&&a(`languages.${l}`)},z=r=>{f.open(W,{data:r})};return(r,l)=>{const C=U,D=E;return s(),n("div",X,[t("div",Y,[t("div",tt,[t("p",et,[t("strong",null,o(e(a)("public.time")),1)]),t("p",st,[t("strong",null,o(e(a)("public.model")),1)]),t("p",ot,[t("strong",null,o(e(a)("public.language")),1)]),t("p",at,[t("strong",null,o(e(a)("public.input")),1)]),t("p",nt,[t("strong",null,o(e(a)("public.word-cost")),1)]),t("p",lt,[t("strong",null,o(e(a)("public.details")),1)])]),e(u)?(s(),n("div",Ct,[p(D,{class:"size-10 text-secondary"})])):(s(),n("div",ct,[e(h).length?(s(),n(w,{key:0},[(s(!0),n(w,null,S(e(h),c=>(s(),n("div",{class:"border-b border-gray-300 py-3 px-5 text-15 hover:bg-secondary/10 cursor-pointer",onClick:m=>z(c)},[t("div",rt,[t("p",dt,o(e(x)(c.create_at,{minute:"2-digit",hour:"2-digit"})),1),t("div",_t,[c.essaydone_result?(s(),n("img",ut)):M("",!0),(s(!0),n(w,null,S(e(O).filter(m=>(c.third_result.third_result_result??[]).some(L=>L.name===m.value&&L.success)),m=>(s(),n("img",{src:e(i).siteURL+m.icon,width:"20",height:"20"},null,8,pt))),256))]),t("p",ft,[t("strong",null,o(F(c.lang)),1)]),t("p",xt,o(e(_)(e(K)(c.source_text))),1),t("p",ht,o(e(_)(c.word_count)),1),l[0]||(l[0]=T('<div class="flex-1 flex justify-end"><button class="text-15 text-secondary font-semibold underline"><svg xmlns="http://www.w3.org/2000/svg" width="20" height="20" viewBox="0 0 20 20" fill="none"><path d="M17.6332 10.6796C16.2648 12.3638 14.6044 13.6452 12.5399 14.368L11.9869 14.5084C10.1062 14.9055 8.31813 14.5996 6.63111 13.721C5.29778 13.0389 4.23251 12.0045 3.20374 10.9322C2.68444 10.3919 2.69567 9.83186 3.12795 9.30555C4.59602 7.51748 6.32795 6.11958 8.6662 5.63537C9.78045 5.40009 10.932 5.4044 12.0444 5.648C14.3546 6.14204 16.088 7.53853 17.5939 9.26344C18.0248 9.75186 18.0529 10.1701 17.6332 10.6796ZM16.843 9.81362C15.4718 8.25572 13.9153 6.98414 11.8199 6.55607C11.5588 6.50274 11.2964 6.46204 11.0325 6.43256C10.8136 6.4087 10.5946 6.4087 10.4543 6.40309C8.39813 6.42274 6.73778 7.2073 5.27813 8.48309C4.79606 8.90733 4.34791 9.36862 3.93778 9.86274C3.84374 9.97642 3.75392 10.0719 3.89427 10.2122C5.29778 11.7392 6.8262 13.0501 8.88795 13.5582C10.7995 14.0284 12.5371 13.5877 14.1708 12.5575C15.1424 11.9218 16.0213 11.1548 16.7827 10.2782C16.916 10.1322 17.0311 10.0269 16.8444 9.81362H16.843Z" fill="#00AF0A"></path><path d="M10.5944 12.0468C10.2222 12.0509 9.85715 11.9446 9.54537 11.7412C9.23358 11.5379 8.98909 11.2467 8.84282 10.9044C8.69654 10.5621 8.65505 10.
11841 8.72359 9.81823C8.79212 9.45236 8.96761 9.11503 9.22786 8.84889C9.48811 8.58275 9.82143 8.39976 10.1857 8.32306C10.5499 8.24635 10.9287 8.27938 11.2742 8.41796C11.6197 8.55654 11.9163 8.79446 12.1266 9.10162C12.3368 9.40878 12.4513 9.77139 12.4555 10.1436V10.1506C12.4563 10.6477 12.2616 11.1252 11.9134 11.4799C11.5652 11.8347 11.0915 12.0383 10.5944 12.0468Z" fill="#00AF0A"></path></svg></button></div>',1))])],8,it))),256)),e($)>e(h).length?(s(),n("div",mt,[p(C,{onLoad:k})])):M("",!0)],64)):(s(),n("div",gt,[t("p",vt,o(e(a)("public.no-data")),1)]))]))])])}}}),bt={class:"flex flex-col gap-y-3"},yt={class:"flex items-center gap-3 flex-wrap text-sm"},$t={class:"h4"},kt={class:"flex items-center gap-x-1.5 text-gray-900 text-15"},Lt={class:"text-wrap"},Ht={__name:"index",setup(g){const{t:i}=b();return Q({title:"ai-detector.title",description:"ai-detector.description"}),(a,f)=>{const x=I,_=P;return s(),j(_,{name:"dashboard"},{default:A(()=>[t("section",bt,[t("div",yt,[t("h1",$t,o(e(i)("ai-detector.h1")),1),t("p",kt,[p(x,{icon:"icon-info",class:"size-4 flex-shrink-0 text-secondary"}),t("span",Lt,o(e(i)("history.history-retention",{months:5})),1)])]),p(wt)])]),_:1})}}};export{Ht as default};
Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.