403Webshell
Server IP : 54.37.205.81  /  Your IP : 216.73.216.76
Web Server : nginx/1.22.1
System : Linux vps-249481fa 6.1.0-50-cloud-amd64 #1 SMP PREEMPT_DYNAMIC Debian 6.1.176-1 (2026-07-02) x86_64
User : debian ( 1000)
PHP Version : 8.2.32
Disable Function : NONE
MySQL : OFF  |  cURL : ON  |  WGET : ON  |  Perl : ON  |  Python : OFF  |  Sudo : ON  |  Pkexec : OFF
Directory :  /var/www/admin.copyrightchain.it/html/assets/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Command :


[ Back ]     

Current File : /var/www/admin.copyrightchain.it/html/assets/LegalVault-BIHFqW_s.js
import{c as x,u as C,r as d,j as e,d as f,t as y,F as S,e as j,L as z,C as k,A as I,U as D,f as M,S as L}from"./index-0V3kacYJ.js";/**
 * @license lucide-react v0.562.0 - ISC
 *
 * This source code is licensed under the ISC license.
 * See the LICENSE file in the root directory of this source tree.
 */const A=[["path",{d:"m12 19-7-7 7-7",key:"1l729n"}],["path",{d:"M19 12H5",key:"x3x0zl"}]],w=x("arrow-left",A);/**
 * @license lucide-react v0.562.0 - ISC
 *
 * This source code is licensed under the ISC license.
 * See the LICENSE file in the root directory of this source tree.
 */const _=[["rect",{width:"20",height:"14",x:"2",y:"5",rx:"2",key:"ynyp8z"}],["line",{x1:"2",x2:"22",y1:"10",y2:"10",key:"1b3vmo"}]],O=x("credit-card",_);/**
 * @license lucide-react v0.562.0 - ISC
 *
 * This source code is licensed under the ISC license.
 * See the LICENSE file in the root directory of this source tree.
 */const P=[["path",{d:"M2.062 12.348a1 1 0 0 1 0-.696 10.75 10.75 0 0 1 19.876 0 1 1 0 0 1 0 .696 10.75 10.75 0 0 1-19.876 0",key:"1nclc0"}],["circle",{cx:"12",cy:"12",r:"3",key:"1v7zrd"}]],$=x("eye",P);/**
 * @license lucide-react v0.562.0 - ISC
 *
 * This source code is licensed under the ISC license.
 * See the LICENSE file in the root directory of this source tree.
 */const E=[["path",{d:"m6 14 1.5-2.9A2 2 0 0 1 9.24 10H20a2 2 0 0 1 1.94 2.5l-1.54 6a2 2 0 0 1-1.95 1.5H4a2 2 0 0 1-2-2V5a2 2 0 0 1 2-2h3.9a2 2 0 0 1 1.69.9l.81 1.2a2 2 0 0 0 1.67.9H18a2 2 0 0 1 2 2v2",key:"usdka0"}]],R=x("folder-open",E);/**
 * @license lucide-react v0.562.0 - ISC
 *
 * This source code is licensed under the ISC license.
 * See the LICENSE file in the root directory of this source tree.
 */const T=[["rect",{width:"18",height:"18",x:"3",y:"3",rx:"2",key:"afitv7"}],["path",{d:"M3 9h18",key:"1pudct"}],["path",{d:"M3 15h18",key:"5xshup"}],["path",{d:"M9 3v18",key:"fh3hqa"}],["path",{d:"M15 3v18",key:"14nvp0"}]],H=x("grid-3x3",T);/**
 * @license lucide-react v0.562.0 - ISC
 *
 * This source code is licensed under the ISC license.
 * See the LICENSE file in the root directory of this source tree.
 */const B=[["path",{d:"M3 5h.01",key:"18ugdj"}],["path",{d:"M3 12h.01",key:"nlz23k"}],["path",{d:"M3 19h.01",key:"noohij"}],["path",{d:"M8 5h13",key:"1pao27"}],["path",{d:"M8 12h13",key:"1za7za"}],["path",{d:"M8 19h13",key:"m83p4d"}]],q=x("list",B),F=[{id:"poste",name:"PosteID",color:"bg-yellow-400",textColor:"text-black"},{id:"aruba",name:"Aruba.it ID",color:"bg-red-700",textColor:"text-white"},{id:"infocert",name:"InfoCert ID",color:"bg-blue-800",textColor:"text-white"},{id:"sielte",name:"SielteID",color:"bg-blue-400",textColor:"text-white"},{id:"namirial",name:"Namirial ID",color:"bg-indigo-900",textColor:"text-white"},{id:"tim",name:"TIM id",color:"bg-blue-600",textColor:"text-white"}],G=({lang:l,onVerified:i,onClose:r})=>{const s=y[l],{notify:h}=C(),[c,n]=d.useState("choice"),[N,p]=d.useState(null),[o,m]=d.useState({fullName:"",dob:"",taxCode:""}),u=a=>{p(a),n("processing"),Promise.resolve().then(()=>{i({verified:!0,method:"spid",fullName:"MARIO ROSSI",dateOfBirth:"1985-05-15",taxCode:"RSSMRA85E15H501Z"}),h(s.identitySuccess,"success")})},b=()=>{n("processing"),Promise.resolve().then(()=>{i({verified:!0,method:"cie",fullName:"GIULIA BIANCHI",dateOfBirth:"1992-11-22",taxCode:"BNCHGL92S62L219S"}),h(s.identitySuccess,"success")})},t=a=>{a.preventDefault();const v={verified:!0,method:"manual",...o};i(v),h(s.identitySuccess,"success")};return e.jsx("div",{className:"fixed inset-0 z-[100] flex items-center justify-center bg-slate-900/60 backdrop-blur-md p-6",children:e.jsxs("div",{className:"bg-white w-full max-w-lg rounded-[3.5rem] shadow-2xl overflow-hidden animate-in zoom-in duration-300 border border-white/20",children:[e.jsxs("div",{className:"bg-slate-900 p-10 text-white relative",children:[e.jsx("div",{className:"absolute top-0 right-0 p-8 opacity-10",children:e.jsx(f,{size:120})}),e.jsxs("div",{className:"relative z-10",children:[e.jsx("h3",{className:"text-3xl font-black uppercase tracking-tight",children:s.verifyIdentity}),e.jsx("p",{className:"text-slate-400 font-bold tracking-widest text-[10px] mt-1",children:"TRUSTED DIGITAL IDENTITY PROTOCOL"})]})]}),e.jsxs("div",{className:"p-10",children:[c==="choice"&&e.jsxs("div",{className:"space-y-4",children:[e.jsx(g,{icon:e.jsx(S,{size:24}),title:s.spidLogin,color:"bg-blue-600",onClick:()=>n("spid_providers")}),e.jsx(g,{icon:e.jsx(O,{size:24}),title:s.cieLogin,color:"bg-emerald-600",onClick:b}),e.jsx(g,{icon:e.jsx(j,{size:24}),title:s.manualIdentity,color:"bg-slate-700",onClick:()=>n("manual")}),e.jsx("button",{onClick:r,className:"w-full py-4 text-slate-400 font-black text-[10px] uppercase tracking-widest mt-4",children:"Annulla"})]}),c==="spid_providers"&&e.jsxs("div",{className:"space-y-6 animate-in slide-in-from-right duration-300",children:[e.jsxs("button",{onClick:()=>n("choice"),className:"flex items-center gap-2 text-slate-400 hover:text-blue-600 font-black text-[10px] uppercase tracking-widest mb-4",children:[e.jsx(w,{size:16})," ",l==="it"?"Indietro":"Back"]}),e.jsx("h4",{className:"text-xs font-black text-slate-900 uppercase tracking-widest mb-4",children:s.selectProvider}),e.jsx("div",{className:"grid grid-cols-2 gap-3",children:F.map(a=>e.jsx("button",{onClick:()=>u(a.id),className:`${a.color} ${a.textColor} p-4 rounded-2xl font-black text-sm shadow-sm hover:scale-105 transition-all flex items-center justify-center`,children:a.name},a.id))})]}),c==="manual"&&e.jsxs("form",{onSubmit:t,className:"space-y-6 animate-in slide-in-from-right duration-300",children:[e.jsxs("button",{onClick:()=>n("choice"),className:"flex items-center gap-2 text-slate-400 hover:text-blue-600 font-black text-[10px] uppercase tracking-widest",children:[e.jsx(w,{size:16})," Indietro"]}),e.jsxs("div",{className:"space-y-2",children:[e.jsx("label",{className:"text-[10px] font-black text-slate-400 uppercase tracking-widest ml-1",children:s.authorRegistrant}),e.jsx("input",{required:!0,type:"text",value:o.fullName,onChange:a=>m({...o,fullName:a.target.value}),className:"w-full px-6 py-4 bg-slate-50 border border-slate-100 rounded-2xl focus:ring-4 focus:ring-blue-500/10 outline-none font-bold",placeholder:"NOME E COGNOME"})]}),e.jsxs("div",{className:"space-y-2",children:[e.jsx("label",{className:"text-[10px] font-black text-slate-400 uppercase tracking-widest ml-1",children:s.dob}),e.jsx("input",{required:!0,type:"date",value:o.dob,onChange:a=>m({...o,dob:a.target.value}),className:"w-full px-6 py-4 bg-slate-50 border border-slate-100 rounded-2xl focus:ring-4 focus:ring-blue-500/10 outline-none font-bold"})]}),e.jsxs("div",{className:"space-y-2",children:[e.jsx("label",{className:"text-[10px] font-black text-slate-400 uppercase tracking-widest ml-1",children:s.taxCode}),e.jsx("input",{required:!0,type:"text",value:o.taxCode,onChange:a=>m({...o,taxCode:a.target.value}),className:"w-full px-6 py-4 bg-slate-50 border border-slate-100 rounded-2xl focus:ring-4 focus:ring-blue-500/10 outline-none font-mono font-bold",placeholder:"RSSMRA..."})]}),e.jsx("button",{type:"submit",className:"w-full py-5 bg-blue-600 text-white rounded-2xl font-black text-[11px] uppercase tracking-[0.2em] shadow-lg shadow-blue-100 mt-4",children:"Conferma Identità"})]}),c==="processing"&&e.jsxs("div",{className:"py-20 flex flex-col items-center justify-center text-center",children:[e.jsxs("div",{className:"relative mb-8",children:[e.jsx(z,{size:64,className:"text-blue-600 animate-spin"}),e.jsx(f,{size:24,className:"absolute top-1/2 left-1/2 -translate-x-1/2 -translate-y-1/2 text-blue-600"})]}),e.jsx("p",{className:"font-black text-slate-900 uppercase tracking-tight text-lg",children:s.authorizing}),e.jsx("p",{className:"text-[10px] text-slate-400 font-bold uppercase tracking-widest mt-2",children:s.redirecting}),e.jsx("div",{className:"mt-8 px-6 py-2 bg-slate-50 rounded-full border border-slate-100",children:e.jsxs("p",{className:"text-[8px] font-mono text-slate-400",children:["SESSION_ID: ",Math.random().toString(36).substring(7).toUpperCase()]})})]})]})]})})},g=({icon:l,title:i,color:r,onClick:s})=>e.jsxs("button",{onClick:s,className:"w-full flex items-center justify-between p-6 bg-white border border-slate-100 rounded-3xl hover:border-blue-200 hover:shadow-xl hover:shadow-slate-100 transition-all group overflow-hidden relative",children:[e.jsxs("div",{className:"flex items-center gap-5 relative z-10",children:[e.jsx("div",{className:`w-14 h-14 ${r} text-white rounded-2xl flex items-center justify-center shadow-lg group-hover:scale-110 transition-transform duration-500`,children:l}),e.jsx("p",{className:"font-black text-slate-900 uppercase tracking-tight text-sm",children:i})]}),e.jsx(k,{size:20,className:"text-slate-300 relative z-10"}),e.jsx("div",{className:`absolute bottom-0 right-0 w-24 h-24 ${r} opacity-[0.03] rounded-tl-full transition-all duration-700 group-hover:scale-150`})]}),Y=({certificates:l,onViewCert:i,lang:r,userIdentity:s,onUserIdentityUpdate:h})=>{const c=d.useMemo(()=>y[r],[r]),[n,N]=d.useState(""),[p,o]=d.useState("grid"),[m,u]=d.useState(!1),b=l.filter(t=>t.title.toLowerCase().includes(n.toLowerCase())||t.fileName.toLowerCase().includes(n.toLowerCase()));return e.jsxs("div",{className:"space-y-8",children:[m&&e.jsx(G,{lang:r,onVerified:t=>{h(t),u(!1)},onClose:()=>u(!1)}),e.jsxs("div",{className:"flex flex-col lg:flex-row justify-between items-start lg:items-center gap-6",children:[e.jsxs("div",{children:[e.jsxs("h2",{className:"text-3xl font-black text-slate-900 tracking-tight flex items-center gap-4",children:[e.jsx(I,{className:"text-blue-600",size:32})," ",c.legalVault]}),e.jsx("p",{className:"text-slate-500 font-medium mt-1",children:c.vaultDesc})]}),e.jsxs("div",{className:"flex flex-wrap items-center gap-4 w-full lg:w-auto",children:[s.verified?e.jsxs("div",{className:"bg-emerald-50 text-emerald-700 px-6 py-3 rounded-2xl flex items-center gap-3 border border-emerald-100 shadow-sm animate-in fade-in",children:[e.jsx(D,{size:20}),e.jsxs("div",{className:"flex flex-col",children:[e.jsx("span",{className:"text-[10px] font-black uppercase tracking-widest",children:c.identityVerified}),e.jsx("span",{className:"text-xs font-bold",children:s.fullName})]})]}):e.jsxs("button",{onClick:()=>u(!0),className:"bg-slate-900 text-white px-6 py-3 rounded-2xl flex items-center gap-3 shadow-xl hover:-translate-y-1 transition-all",children:[e.jsx(M,{size:20,className:"text-orange-400"}),e.jsx("span",{className:"text-[10px] font-black uppercase tracking-widest",children:c.verifyIdentity})]}),e.jsxs("div",{className:"relative flex-1 md:w-80",children:[e.jsx(L,{className:"absolute left-4 top-1/2 -translate-y-1/2 text-slate-400",size:18}),e.jsx("input",{type:"text",placeholder:"Cerca tra le tue opere...",value:n,onChange:t=>N(t.target.value),className:"w-full pl-12 pr-4 py-3 rounded-2xl border border-slate-100 bg-white shadow-sm focus:ring-4 focus:ring-blue-500/10 focus:border-blue-500 outline-none transition-all font-medium text-slate-700"})]}),e.jsxs("div",{className:"flex bg-white p-1 rounded-xl border border-slate-100 shadow-sm",children:[e.jsx("button",{onClick:()=>o("grid"),className:`p-2 rounded-lg transition-all ${p==="grid"?"bg-slate-100 text-blue-600":"text-slate-400"}`,children:e.jsx(H,{size:18})}),e.jsx("button",{onClick:()=>o("list"),className:`p-2 rounded-lg transition-all ${p==="list"?"bg-slate-100 text-blue-600":"text-slate-400"}`,children:e.jsx(q,{size:18})})]})]})]}),b.length===0?e.jsxs("div",{className:"bg-white border-2 border-dashed border-slate-100 rounded-[3rem] p-20 text-center",children:[e.jsx("div",{className:"w-24 h-24 bg-slate-50 rounded-[2.5rem] flex items-center justify-center mx-auto mb-6 text-slate-200",children:e.jsx(R,{size:48})}),e.jsx("h3",{className:"text-xl font-black text-slate-900 mb-2",children:"Nessun file nel caveau"}),e.jsx("p",{className:"text-slate-400 font-medium max-w-xs mx-auto",children:"Inizia a certificare le tue opere per vederle apparire qui nel tuo archivio protetto."})]}):p==="grid"?e.jsx("div",{className:"grid grid-cols-1 md:grid-cols-2 lg:grid-cols-3 xl:grid-cols-4 gap-6",children:b.map(t=>e.jsx(U,{cert:t,onClick:()=>i(t),lang:r},t.id))}):e.jsx("div",{className:"bg-white rounded-[2.5rem] border border-slate-100 shadow-sm overflow-hidden",children:e.jsxs("table",{className:"w-full",children:[e.jsx("thead",{children:e.jsxs("tr",{className:"bg-slate-50/50 border-b border-slate-100",children:[e.jsx("th",{className:"px-6 py-4 text-left text-[10px] font-black text-slate-400 uppercase tracking-widest",children:"Titolo Opera"}),e.jsx("th",{className:"px-6 py-4 text-left text-[10px] font-black text-slate-400 uppercase tracking-widest",children:"Data Deposito"}),e.jsx("th",{className:"px-6 py-4 text-left text-[10px] font-black text-slate-400 uppercase tracking-widest",children:"Protezione"}),e.jsx("th",{className:"px-6 py-4 text-right text-[10px] font-black text-slate-400 uppercase tracking-widest",children:"Azioni"})]})}),e.jsx("tbody",{className:"divide-y divide-slate-50",children:b.map(t=>e.jsxs("tr",{className:"hover:bg-slate-50/50 transition-colors group cursor-pointer",onClick:()=>i(t),children:[e.jsx("td",{className:"px-6 py-5",children:e.jsxs("div",{className:"flex items-center gap-4",children:[e.jsx("div",{className:"w-10 h-10 bg-blue-50 rounded-xl flex items-center justify-center text-blue-600",children:e.jsx(j,{size:20})}),e.jsxs("div",{children:[e.jsx("p",{className:"font-black text-slate-900 text-sm tracking-tight",children:t.title}),e.jsx("p",{className:"text-[10px] text-slate-400 font-bold uppercase truncate max-w-[150px]",children:t.fileName})]})]})}),e.jsx("td",{className:"px-6 py-5",children:e.jsx("p",{className:"text-xs font-bold text-slate-600",children:new Date(t.timestamp).toLocaleDateString()})}),e.jsx("td",{className:"px-6 py-5",children:e.jsx("div",{className:"flex items-center gap-2",children:e.jsx("span",{className:`text-[9px] font-black px-2 py-0.5 rounded-full uppercase tracking-tighter ${t.tier==="enterprise"?"bg-indigo-100 text-indigo-700":t.tier==="pro"?"bg-blue-100 text-blue-700":"bg-slate-100 text-slate-600"}`,children:t.tier||"basic"})})}),e.jsx("td",{className:"px-6 py-5 text-right",children:e.jsx("button",{className:"p-2 text-slate-400 hover:text-blue-600 transition",children:e.jsx(k,{size:20})})})]},t.id))})]})})]})},U=({cert:l,onClick:i,lang:r})=>e.jsxs("div",{onClick:i,className:"bg-white rounded-[2rem] p-6 border border-slate-100 shadow-sm hover:shadow-xl hover:shadow-slate-100 hover:-translate-y-1 transition-all duration-500 cursor-pointer group flex flex-col h-full",children:[e.jsxs("div",{className:"flex justify-between items-start mb-6",children:[e.jsx("div",{className:"w-12 h-12 bg-slate-50 rounded-2xl flex items-center justify-center text-slate-400 group-hover:bg-blue-600 group-hover:text-white transition-all duration-500 shadow-inner",children:e.jsx(j,{size:24})}),e.jsxs("div",{className:"flex flex-col items-end gap-1",children:[e.jsx("span",{className:`text-[8px] font-black px-2 py-0.5 rounded-full uppercase tracking-widest ${l.paymentStatus==="paid"?"bg-emerald-50 text-emerald-600":"bg-orange-50 text-orange-600"}`,children:l.paymentStatus}),l.bitcoinEvidence&&e.jsx("div",{className:"bg-orange-500 text-white p-1 rounded-md",title:"Bitcoin Anchored",children:e.jsx(f,{size:12})})]})]}),e.jsxs("div",{className:"flex-1",children:[e.jsx("h4",{className:"font-black text-slate-900 text-lg tracking-tight mb-1 group-hover:text-blue-600 transition-colors uppercase leading-none",children:l.title}),e.jsx("p",{className:"text-[10px] text-slate-400 font-bold uppercase tracking-widest mb-4 truncate",children:l.fileName})]}),e.jsxs("div",{className:"pt-6 border-t border-slate-50 flex items-center justify-between",children:[e.jsxs("div",{className:"flex flex-col",children:[e.jsx("span",{className:"text-[9px] font-black text-slate-300 uppercase tracking-widest",children:"Data"}),e.jsx("span",{className:"text-xs font-bold text-slate-700",children:new Date(l.timestamp).toLocaleDateString()})]}),e.jsx("button",{className:"bg-slate-50 text-slate-400 p-2.5 rounded-xl group-hover:bg-blue-50 group-hover:text-blue-600 transition-all",children:e.jsx($,{size:18})})]})]});export{Y as default};

Youez - 2016 - github.com/yon3zu
LinuXploit