���Root Mod By V1rus_Alfa
User / IP
:
216.73.217.78
Host / Server
:
195.214.235.115 / npln.ir
System
:
Linux damavand.pws-dns.net 5.14.0-503.35.1.el9_5.x86_64 #1 SMP PREEMPT_DYNAMIC Fri Apr 4 05:23:43 EDT 2025 x86_64
Command
|
Upload
|
Mass Deface
|
Create
:
/
home2
/
cutunixc
/
.trash
/
.output.2
/
public
/
_nuxt
/
Viewing: BaunC1Je.js
import{_ as q}from"./CYo8lBmY.js";import{q as F,g as H,h as N,u as A,X as I,W as R,Q as T,o as l,c as a,k as c,b as f,t as s,a as t,I as y,J as g,E as b,a0 as B,n as w,U as E}from"./CN8H5RCu.js";import{u as U}from"./DYEZnc8p.js";import"./DV-TEbnC.js";const z={key:0},P={key:1},J={key:2},M={class:"pt-3 mt-1 mb-10"},V=["dir"],D=["onClick","textContent"],O={class:"flex justify-end items-center pb-2"},Q=["id"],W={class:"w-full border-b h-7 flex justify-between items-center"},X={class:"w-[22%] h-full flex justify-start items-center border-l"},G=["textContent"],K={class:"w-[7%] flex justify-center items-center h-full border-l"},Y=["textContent"],Z={class:"w-[7%] flex justify-center items-center h-full border-l"},tt=["textContent"],et={class:"w-[7%] flex justify-center items-center h-full border-l"},nt=["textContent"],st={class:"w-[7%] flex justify-center items-center h-full border-l"},ot=["textContent"],lt={class:"w-[13%] flex justify-center items-center h-full border-l"},at=["innerHTML"],rt={class:"w-[24%] flex justify-end pl-1 items-center h-full"},it={dir:"ltr",class:"w-9/12 flex justify-start items-center"},ct={class:"block w-4/12 text-gray-500 text-center text-[.55rem]"},_t=t("span",{class:"block w-2/12 text-gray-500 text-center text-[.55rem]"}," * ",-1),dt={class:"block w-3/12 text-gray-500 text-center text-[.55rem]"},ut=t("span",{class:"block w-1/12 text-gray-500 text-center text-[.55rem]"}," = ",-1),ht={class:"block w-2/12 text-gray-500 text-center text-[.55rem]"},bt=F({__name:"list",async setup(xt){let i,_;const{t:C}=H(),d=N();A({title:C("Unit Analysis List")});const k=I("token"),v=B(),j=R(),{data:S,pending:$,error:u,refresh:mt}=([i,_]=T(()=>U(v.public.API_URL+"/analyze/list/get?project_id="+j.query.project_id,{onRequest({request:n,options:r}){r.headers={},r.headers.Accept="application/json",r.headers.authorization="Bearer "+k.value},onResponseError({request:n,response:r,options:x}){r.status==401&&w(d("/login")),r.status==403&&w(d("/payment"))},transform:n=>JSON.parse(n).data,server:!1},"$hxTlwAF2eI")),i=await i,_(),i),h=n=>{document.querySelector("#body_collapse_"+n).classList.toggle("hidden"),document.querySelector("#header_collapse_"+n).classList.toggle("rotate-90")};return(n,r)=>{const x=q,L=E;return l(),a("div",null,[c($)?(l(),a("span",z,[f(x)])):c(u)?(l(),a("span",P,"Error: "+s(c(u)),1)):(l(),a("div",J,[t("section",M,[t("ul",null,[(l(!0),a(y,null,g(c(S).list,o=>{var m,p;return l(),a("li",{dir:n.$i18n.locale=="en"?"ltr":"rtl",class:"w-full border-b-2 mb-2",key:o.id},[t("div",{class:b([n.$i18n.locale=="en"?" text-left":" text-right","px-2 cursor-pointer flex justify-between items-center"])},[t("label",{onClick:e=>h(o.id),textContent:s(n.$i18n.locale=="en"?(m=o.unit)==null?void 0:m.title_en:(p=o.unit)==null?void 0:p.title),class:"block pb-2 w-full text-main-700 cursor-pointer text-sm"},null,8,D),t("div",O,[f(L,{onClick:e=>h(o.id),id:"header_collapse_"+o.id,name:"i-heroicons-chevron-down-20-solid",class:"text-gray-500 transition-all text-2xl"},null,8,["onClick","id"])])],2),t("div",{id:"body_collapse_"+o.id,class:"border-t transition-all"},[(l(!0),a(y,null,g(o.attach,e=>(l(),a("div",W,[t("div",X,[t("span",{class:b([n.$i18n.locale=="en"?"ml-2 text-left":"mr-2 text-right","text-gray-500 pr-1 text-[.55rem]"]),textContent:s(n.$i18n.locale=="en"?e.label_en:e.label)},null,10,G)]),t("div",K,[t("span",{class:"text-gray-500 text-[.55rem]",textContent:s(e.width_one=="1"?"N":e.width_one=="2"?"F":e.width_one=="3"?"SH":"-")},null,8,Y)]),t("div",Z,[t("span",{class:"text-gray-500 text-[.55rem]",textContent:s(e.width_two=="1"?"N":e.width_two=="2"?"F":e.width_two=="3"?"SH":"-")},null,8,tt)]),t("div",et,[t("span",{class:"text-gray-500 text-[.55rem]",textContent:s(e.length_one=="1"?"N":e.length_one=="2"?"F":e.length_one=="3"?"SH":"-")},null,8,nt)]),t("div",st,[t("span",{class:"text-gray-500 text-[.55rem]",textContent:s(e.length_two=="1"?"N":e.length_two=="2"?"F":e.length_two=="3"?"SH":"-")},null,8,ot)]),t("div",lt,[t("span",{class:"text-gray-500 text-[.55rem]",innerHTML:e.material?n.$i18n.locale=="en"?e.material.title_en:e.material.title:"---"},null,8,at)]),t("div",rt,[t("div",it,[t("span",ct,s(e.length),1),_t,t("span",dt,s(e.width),1),ut,t("span",ht,s(e.count),1)])])]))),256))],8,Q)],8,V)}),128))])])]))])}}});export{bt as default};
Coded With 💗 by
0x6ick Mod By V1rus_Alfa