PageSourceSearch

https://pokiig.com/_nuxt/CvD80lGj.js

js pokiig.com collected 2026-10-06 05:03:59 UTC 2,973 bytes, 1 lines download raw bytes

1import{m as x,o as m,c as d,b as y,w,a as e,t as S,$ as c,aL as v,aM as V,y as i,aD as h,n as $,x as D,at as k,i as p,D as B}from"./BIXp3Z7D.js";import{_ as P}from"./DlAUqK2U.js";const E={key:0,class:"report-panel"},U={class:"report-header"},M={class:"report-content"},N={class:"game-preview"},O=["src","alt"],_={class:"report-game-info"},A={class:"report-form"},F={class:"form-group"},L={class:"form-group"},q={class:"form-group"},z={class:"report-actions"},Y=["disabled"],j={__name:"ReportPanel",props:{visible:{type:Boolean,default:!1},game:{type:String,required:!0}},emits:["close"],setup(l,{emit:C}){const g=l,I=C,a=p(""),r=p(""),n=p(""),u=p(!1),b=B(()=>a.value&&r.value.trim().length>1),f=s=>s.replace(/-/g," ").replace(/\b\w/g,t=>t.toUpperCase()),R=async()=>{if(b.value)try{const s={game:g.game,issueType:a.value,description:r.value,email:n.value,timestamp:new Date().toISOString(),userAgent:navigator.userAgent};console.log("Report submitted:",s),u.value=!0,setTimeout(()=>{I("close")},2e3)}catch(s){console.error("Failed to submit report:",s)}},T=()=>{a.value="",r.value="",n.value="",u.value=!1};return x(()=>g.visible,s=>{s||setTimeout(T,300)}),(s,t)=>(m(),d("div",null,[y(k,{name:"slide-right"},{default:w(()=>[l.visible?(m(),d("div",E,[e("div",U,[t[5]||(t[5]=e("h3",null,"Report Issue",-1)),e("button",{class:"close-btn",onClick:t[0]||(t[0]=o=>s.$emit("close"))},"×")]),e("div",M,[e("div",N,[e("img",{src:`https://image.pkgames.org/gameIcon/${l.game}.webp`,alt:f(l.game),class:"report-game-icon"},null,8,O),e("div",_,[e("h4",null,S(f(l.game)),1),t[6]||(t[6]=e("p",null,"Report an issue with this game",-1))])]),e("div",A,[e("div",F,[t[8]||(t[8]=e("label",null,"Issue Type:",-1)),c(e("select",{"onUpdate:modelValue":t[1]||(t[1]=o=>v(a)?a.value=o:null),class:"issue-select"},[...t[7]||(t[7]=[e("option",{value:""},"Select an issue type",-1),e("option",{value:"bug"},"Bug/Error",-1),e("option",{value:"inappropriate"},"Inappropriate Content",-1),e("option",{value:"performance"},"Performance Issue",-1),e("option",{value:"loading"},"Loading Problem",-1),e("option",{value:"other"},"Other",-1)])],512),[[V,i(a)]])]),e("div",L,[t[9]||(t[9]=e("label",null,"Description:",-1)),c(e("textarea",{"onUpdate:modelValue":t[2]||(t[2]=o=>v(r)?r.value=o:null),placeholder:"Please describe the issue in detail...",class:"report-textarea",rows:"4"},null,512),[[h,i(r)]])]),e("div",q,[t[10]||(t[10]=e("label",null,"Your Email (Optional):",-1)),c(e("input",{"onUpdate:modelValue":t[3]||(t[3]=o=>v(n)?n.value=o:null),type:"email",placeholder:"[email protected]",class:"report-input"},null,512),[[h,i(n)]])]),e("div",z,[e("button",{class:$(["submit-btn",{submitted:i(u)}]),onClick:R,disabled:!i(b)},S(i(u)?"Submitted!":"Submit Report"),11,Y)])])])])):D("",!0)]),_:1}),y(k,{name:"fade"},{default:w(()=>[l.visible?(m(),d("div",{key:0,class:"report-overlay",onClick:t[4]||(t[4]=o=>s.$emit("close"))})):D("",!0)]),_:1})]))}},J=P(j,[["__scopeId","data-v-459ade35"]]);export{J 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.