PageSourceSearch

https://xplorence.uz/assets/Sign-CNxi69nM.js

js xplorence.uz collected 2026-10-05 18:57:50 UTC 24,515 bytes, 23 lines download raw bytes

1const __vite__mapDeps=(i,m=__vite__mapDeps,d=(m.f||(m.f=["assets/index-CcyzhZUW.js","assets/index-f5crg9-U.js","assets/index-Dje7rdaf.js","assets/index-DlYX3iHH.css","assets/fontkit.es-CsnIHChT.js"])))=>i.map(i=>d[i]);
2import{u as ue,j as e,c as fe,g as be,i as we,b as N,_ as de}from"./index-Dje7rdaf.js";import{M as je,E as W,m as U}from"./ExpertHeader-hm8U3OyA.js";import{e as he,a as ye,s as Ne,X as te,c as ve,d as ke}from"./xn-DUHFLgGH.js";import{r as se,g as ae,c as xe,f as Pe,a as Ae,d as Se,b as Te}from"./agreementContent-B229vr3G.js";import{L as me}from"./loader-circle-tQ1uWbSQ.js";import{C as ne}from"./circle-check-B5vbt2fX.js";import{c as K,C as ie}from"./circle-alert-DALLMhbP.js";import{A as De}from"./index-4V9WQeAR.js";import{C as Le}from"./chevron-down-CMT1n-hW.js";/**
3 * @license lucide-react v0.546.0 - ISC
4 *
5 * This source code is licensed under the ISC license.
6 * See the LICENSE file in the root directory of this source tree.
7 */const Ee=[["path",{d:"M12 15V3",key:"m9g1x1"}],["path",{d:"M21 15v4a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2v-4",key:"ih7n3h"}],["path",{d:"m7 10 5 5 5-5",key:"brsn70"}]],ze=K("download",Ee);/**
8 * @license lucide-react v0.546.0 - ISC
9 *
10 * This source code is licensed under the ISC license.
11 * See the LICENSE file in the root directory of this source tree.
12 */const Ce=[["path",{d:"M4 22h14a2 2 0 0 0 2-2V7l-5-5H6a2 2 0 0 0-2 2v4",key:"1pf5j1"}],["path",{d:"M14 2v4a2 2 0 0 0 2 2h4",key:"tnqrlb"}],["path",{d:"m3 15 2 2 4-4",key:"1lhrkk"}]],re=K("file-check-2",Ce);/**
13 * @license lucide-react v0.546.0 - ISC
14 *
15 * This source code is licensed under the ISC license.
16 * See the LICENSE file in the root directory of this source tree.
17 */const Ie=[["path",{d:"M21.174 6.812a1 1 0 0 0-3.986-3.987L3.842 16.174a2 2 0 0 0-.5.83l-1.321 4.352a.5.5 0 0 0 .623.622l4.353-1.32a2 2 0 0 0 .83-.497z",key:"1a8usu"}]],Re=K("pen",Ie);/**
18 * @license lucide-react v0.546.0 - ISC
19 *
20 * This source code is licensed under the ISC license.
21 * See the LICENSE file in the root directory of this source tree.
22 */const _e=[["path",{d:"M20 13c0 5-3.5 7.5-7.66 8.95a1 1 0 0 1-.67-.01C7.5 20.5 4 18 4 13V6a1 1 0 0 1 1-1c2 0 4.5-1.2 6.24-2.72a1.17 1.17 0 0 1 1.52 0C14.51 3.81 17 5 19 5a1 1 0 0 1 1 1z",key:"oel41y"}],["path",{d:"m9 12 2 2 4-4",key:"dzmm74"}]],le=K("shield-check",_e);function z(o){return[o.fullName,o.lastName].filter(Boolean).join(" ")}async function $e(o){const{PDFDocument:M,rgb:s,PageSizes:u}=await de(async()=>{const{PDFDocument:r,rgb:d,PageSizes:y}=await import("./index-CcyzhZUW.js");return{PDFDocument:r,rgb:d,PageSizes:y}},__vite__mapDeps([0,1,2,3])),h=await de(()=>import("./fontkit.es-CsnIHChT.js"),__vite__mapDeps([4,1,2,3])),x=await M.create();x.registerFontkit(h.default);const[C,O,q]=await Promise.all([fetch("/fonts/DejaVuSans.ttf").then(r=>r.arrayBuffer()),fetch("/fonts/DejaVuSans-Bold.ttf").then(r=>r.arrayBuffer()),fetch("/signature.png").then(r=>r.ok?r.arrayBuffer():null).catch(()=>null)]),v=await x.embedFont(C),i=await x.embedFont(O),m=10,l=m*1.45,g=55,I=u.A4[0],R=u.A4[1],k=I-g*2,P=s(.05,.1,.24),A=s(0,.52,.83),p=s(.44,.47,.5),$=s(.07,.07,.1),G=s(.9,.95,1),_=(r,d,y=v,j=m)=>{const F=r.split(" "),B=[];let E="";for(const V of F){const J=E?`${E} ${V}`:V;y.widthOfTextAtSize(J,j)>d&&E?(B.push(E),E=V):E=J}return E&&B.push(E),B};let c=x.addPage(u.A4),a=R-g;const H=()=>{c=x.addPage(u.A4),a=R-g,c.drawText("XPLORENCE — Expert Network Agreement v2.0",{x:g,y:R-28,size:7,font:v,color:p}),c.drawLine({start:{x:g,y:R-33},end:{x:I-g,y:R-33},thickness:.5,color:A}),a=R-48},S=r=>{a-r<g+40&&H()},D=(r,d={})=>{const{isBold:y=!1,color:j=$,indent:F=0,size:B=m,align:E="left"}=d,V=y?i:v,J=_(r,k-F,V,B);for(const ce of J){S(l);const pe=E==="center"?(I-V.widthOfTextAtSize(ce,B))/2:g+F;c.drawText(ce,{x:pe,y:a,size:B,font:V,color:j}),a-=l}},b=(r=l*.6)=>{a-=r},t=(r=A,d=.8)=>{S(8),c.drawLine({start:{x:g,y:a},end:{x:I-g,y:a},thickness:d,color:r}),a-=l*.5},w=o.lang.split("-")[0],f={ru:{title:"Соглашение об участии в Сети Экспертов",subtitle:"Framework Cooperation Agreement — Expert Network",edition:"Редакция",party1:"Сторона 1",party2:"Сторона 2",email:"Email Эксперта",date:"Дата подписания",law:"Применимое право",lawValue:"Законодательство Республики Узбекистан",company:"Компания",expert
22:"Эксперт",authorized:"(уполномоченное лицо)",sigLabel:"Электронная подпись Эксперта:",signatures:"ПОДПИСИ СТОРОН",auditTitle:"ЦИФРОВОЙ СЛЕД (AUDIT TRAIL)",signedBy:"Подписал",datetime:"Дата/время UTC",ipLabel:"IP-адрес",docLabel:"Документ",validLabel:"Действителен по",docValue:"Xplorence Expert Network Agreement v2.0",validValue:"Закону РУз «Об электронной коммерции» (2015)"},en:{title:"Expert Network Participation Agreement",subtitle:"Framework Cooperation Agreement — Expert Network",edition:"Version",party1:"Party 1",party2:"Party 2",email:"Expert Email",date:"Date of Signing",law:"Governing Law",lawValue:"Legislation of the Republic of Uzbekistan",company:"Company",expert:"Expert",authorized:"(authorized signatory)",sigLabel:"Expert's Electronic Signature:",signatures:"SIGNATURES OF THE PARTIES",auditTitle:"DIGITAL AUDIT TRAIL",signedBy:"Signed by",datetime:"Date/Time UTC",ipLabel:"IP Address",docLabel:"Document",validLabel:"Valid under",docValue:"Xplorence Expert Network Agreement v2.0",validValue:"Law of Uzbekistan 'On Electronic Commerce' (2015)"},uz:{title:"Ekspertlar Tarmogʻiga Ishtirok Shartnomasi",subtitle:"Framework Cooperation Agreement — Expert Network",edition:"Versiya",party1:"Tomon 1",party2:"Tomon 2",email:"Ekspert Email",date:"Imzolash sanasi",law:"Qoʻllaniladigan huquq",lawValue:"Oʻzbekiston Respublikasi qonunchiligi",company:"Kompaniya",expert:"Ekspert",authorized:"(vakolatli shaxs)",sigLabel:"Ekspert elektron imzosi:",signatures:"TOMONLARNING IMZOLARI",auditTitle:"RAQAMLI AUDIT IZI",signedBy:"Imzoladi",datetime:"Sana/vaqt UTC",ipLabel:"IP-manzil",docLabel:"Hujjat",validLabel:"Qonuniy asos",docValue:"Xplorence Expert Network Agreement v2.0",validValue:"Oʻzbekiston Respublikasi «Elektron tijorat toʻgʻrisida»gi Qonuni (2015)"}},n=f[w]??f.ru;c.drawRectangle({x:g,y:a-2,width:130,height:22,color:P}),c.drawText("XPLORENCE",{x:g+10,y:a+3,size:13,font:i,color:s(1,1,1)}),a-=40,D(n.title,{isBold:!0,color:P,size:18,align:"center"}),D(n.subtitle,{color:A,size:11,align:"center"}),b(8),t(),b(4);const Q=[[n.edition,`v${o.version}`],[n.party1,o.company],[n.party2,o.expertName],[n.email,o.expertEmail],[n.date,o.signDate],[n.law,n.lawValue]];for(const[r,d]of Q)S(l),c.drawText(`${r}:`,{x:g,y:a,size:m,font:i,color:p}),c.drawText(d,{x:g+110,y:a,size:m,font:v,color:$}),a-=l*1.2;b(4),t(),b(8);const Y=o.agreementText.split(`
23`);for(const r of Y){const d=r.trim();if(!d){b(l*.4);continue}if(/^\d+\.\s+[A-ZА-ЯЁ\s()–-]+$/.test(d))b(l*.5),D(d,{isBold:!0,color:P,size:m+1}),b(2);else if(d.startsWith("– "))D(d,{indent:16,color:$});else if(d.startsWith("[Примечание]")){const y=_(d.replace("[Примечание] ",""),k-20),j=y.length*l+10;S(j+4),c.drawRectangle({x:g,y:a-j+l,width:k,height:j,color:G}),c.drawLine({start:{x:g,y:a-j+l},end:{x:g,y:a+l*.3},thickness:2.5,color:A});for(const F of y)c.drawText(F,{x:g+10,y:a,size:m-1,font:v,color:p}),a-=l}else D(d)}b(l*2),t(),b(4),D(n.signatures,{isBold:!0,color:P,size:12}),b(8);const T=g,L=I/2+10,Z=k/2-10;S(l*1.4),c.drawText(n.company,{x:T,y:a,size:m,font:i,color:P}),c.drawText(n.expert,{x:L,y:a,size:m,font:i,color:P}),a-=l*1.4;const X=[[o.expertName,""],[o.expertEmail,""]],ee=Math.max(o.requisites.length,X.length);for(let r=0;r<ee;r++){if(S(l*1.2),r<o.requisites.length){const{label:d,value:y}=o.requisites[r],j=i.widthOfTextAtSize(`${d}: `,m-.5);c.drawText(`${d}: `,{x:T,y:a,size:m-.5,font:i,color:p});const F=_(y,Z-j,v,m-.5);c.drawText(F[0]??"",{x:T+j,y:a,size:m-.5,font:v,color:$})}if(r<X.length){const[d]=X[r];if(d){const y=r===0;c.drawText(d,{x:L,y:a,size:m-.5,font:y?i:v,color:y?P:$})}}a-=l*1.2}if(b(l*.5),S(l*5),q)try{const r=await x.embedPng(q),d=r.scale(.3),j=Math.min(1,130/d.width);c.drawImage(r,{x:T,y:a-d.height*j+l*.5,width:d.width*j,height:d.height*j,opacity:.9})}catch{c.drawText("Pulatov Shokhrukh",{x:T,y:a,size:m,font:i,color:P})}else c.drawText("Pulatov Shokhrukh",{x:T,y:a,size:m,font:i,color:P});c.drawLine({start:{x:T,y:a-l*1.2},end:{x:T+130,y:a-l*1.2},thickness:.8,color:p}),c.drawText(n.authorized,{x:T,y:a-l*2,size:m-1.5,font:v,color:p}),c.drawText(n.sigLabel,{x:L,y:a+l*2.2,size:m-1,font:v,color:p}),c.drawRectangle({x:L,y:a+l*.5,width:Z,height:l*1.4,color:G}
23),c.drawText(o.typedSignature,{x:L+6,y:a+l*.9,size:m+1,font:i,color:P}),c.drawLine({start:{x:L,y:a-l*1.2},end:{x:L+130,y:a-l*1.2},thickness:.8,color:p}),c.drawText(o.expertEmail,{x:L,y:a-l*2,size:m-1.5,font:v,color:p}),a-=l*3,b(l),t(p,.5),D(n.auditTitle,{isBold:!0,color:p,size:8}),b(4);const oe=[`${n.signedBy}: ${o.expertName} <${o.expertEmail}>`,`${n.datetime}: ${o.signDate}`,`${n.ipLabel}: ${o.ip}`,`User-Agent: ${o.userAgent.slice(0,80)}`,`${n.docLabel}: ${n.docValue}`,`${n.validLabel}: ${n.validValue}`];for(const r of oe)D(r,{color:p,size:7.5});return x.save()}const ge={en:"Note: ",uz:"Izoh: ",ru:"Примечание: "},Fe=({sections:o,lang:M="ru"})=>{const s=ge[M.split("-")[0]]??ge.ru;return e.jsx("div",{className:"space-y-6 text-sm leading-relaxed text-slate-700",children:o.map((u,h)=>e.jsxs("div",{id:`agreement-section-${h}`,tabIndex:-1,children:[u.num&&u.title&&e.jsxs("h3",{className:"text-base font-bold text-[#0A1128] mb-3 mt-6 pb-2 border-b border-blue-100",children:[e.jsxs("span",{className:"text-[#0084D4] mr-2",children:[u.num,"."]}),u.title]}),e.jsx("div",{className:"space-y-2",children:u.paragraphs.map((x,C)=>{if(x.type==="cover"){const[O,...q]=x.text.split(": ");return e.jsxs("div",{className:"flex gap-2 py-1",children:[e.jsxs("span",{className:"font-semibold text-slate-500 w-40 shrink-0",children:[O,":"]}),e.jsx("span",{className:"text-slate-700",children:q.join(": ")})]},C)}return x.type==="preamble"?e.jsx("p",{className:"text-slate-600 italic border-l-2 border-blue-200 pl-3",children:x.text},C):x.type==="bullet"?e.jsxs("div",{className:"flex gap-2 ml-4",children:[e.jsx("span",{className:"text-[#0084D4] mt-0.5 shrink-0",children:"–"}),e.jsx("span",{children:x.text})]},C):x.type==="note"?e.jsxs("div",{className:"ml-4 bg-blue-50 border-l-4 border-blue-300 rounded-r-lg px-4 py-3 text-slate-500 italic text-xs",children:[e.jsx("span",{className:"font-bold text-blue-500 not-italic",children:s}),x.text]},C):e.jsx("p",{children:x.text},C)})})]},h))})};function Be(){fe({title:"Sign agreement | Xplorence",description:"Signing page for the Xplorence Expert Network agreement.",canonical:"https://www.xplorence.com/sign",noindex:!0});const{token:o}=be(),M=we(),{t:s,i18n:u}=ue(),[h,x]=N.useState("loading"),[C,O]=N.useState(""),[q,v]=N.useState(null),[i,m]=N.useState(null),[l,g]=N.useState(""),[I,R]=N.useState([]),[k,P]=N.useState(""),[A,p]=N.useState(!1),[$,G]=N.useState(""),_=N.useRef(null),c=N.useRef(!1),a=ye[he(u.language)],H=k.trim().toLowerCase()===(i?z(i):"").trim().toLowerCase(),S=A&&k.trim().length>0&&H;N.useEffect(()=>{var t;i&&(p(!1),R(se(ae(u.language),{expertName:z(i),signDate:new Date().toLocaleDateString(u.language,{day:"2-digit",month:"long",year:"numeric"})})),(t=_.current)==null||t.scrollTo({top:0}))},[u.language,i]),N.useEffect(()=>{const t=_.current;if(!t)return;const w=()=>{t.scrollTop+t.clientHeight>=t.scrollHeight-4&&p(!0)},f=new ResizeObserver(w);return f.observe(t),w(),()=>f.disconnect()},[h,I]),N.useEffect(()=>{if(!o){x("notfound");return}(async()=>{try{let t;try{t=await Ne(o)}catch(n){if(n instanceof te&&n.status===404){x("notfound");return}if(n instanceof te&&n.status===410){x("used");return}throw n}v({joinRequestId:t.joinRequestId,expertName:t.expertName,expertEmail:t.expertEmail,used:!1}),g(t.joinRequestId);const w={fullName:t.fullName,lastName:t.lastName,email:t.expertEmail};m(w);const f=new Date().toLocaleDateString(u.language,{day:"2-digit",month:"long",year:"numeric"});R(se(ae(u.language),{expertName:z(w),signDate:f})),x("ready")}catch(t){console.error(t),x("error"),O(s("signPage.errorDesc"))}})()},[o]);const D=()=>{const t=_.current;t&&t.scrollTop+t.clientHeight>=t.scrollHeight-4&&p(!0)},b=async()=>{if(!(!S||!i||!q||c.current||h!=="ready")){c.current=!0,x("signing");try{let t="unknown";try{t=(await(await fetch("https://api.ipify.org?format=json")).json()).ip??"unknown"}catch{}const w=new Date,f=w.toISOString(),n=u.language,Q=w.toLocaleString(n,{timeZone:"Asia/Tashkent",year:"numeric",month:"long",day:"2-digit",hour:"2-digit",minute:"2-digit"}),Y=navigator.userAgent,T=se(ae(n),{expertName:z(i),signDate:Q}),L=Pe(T),Z=await $e({expertName:z(i),expertEmail:i.email,signDate:Q,typedSignature:k.trim(),ip:t,userAgent:Y,agreementText:L,lang:n,company:Te(n),director:Se(n),version:Ae(n),requisites:xe(n)}),X=await ve(o,Z,k.trim());G(ke(o)),x("success")}catch(t){if(console.error(t),t instanceof te&&t.code==="used"){x("used");return}x("error"),O(s("signPage.errorDesc"))}finally{c.current=!1}}};return h==="loading"?e.jsxs("div",{className:"min-h-screen bg-[#F8FAFC] flex flex-col",children:[e.jsx(W,{}),e.jsx("div",{className:"flex-1 flex items-center justify-center",children:e.jsxs("div",{className:"text-center",children:[e.jsx(me,{className:"w-10 h-10 text-[#0084D4] animate-spin mx-auto mb-4"}),e.jsx("p",{className:"text-slate-500 text-sm",children:s("signPage.loading")})]})})]}):h==="notfound"||h==="used"?e.jsxs("div",{className:"min-h-screen bg-[#F8FAFC] flex flex-col",children:[e.jsx(W,{}),e.jsx("div",{className:"flex-1 flex items-center justify-center px-6",children:e.jsxs("div",{className:"text-center max-w-md",children:[h==="used"?e.jsxs(e.Fragment,{children:[e.jsx(ne,{className:"w-16 h-16 text-emerald-500 mx-auto mb-5"}),e.jsx("h2",{className:"text-2xl font-bold text-slate-900 mb-3",children:s("signPage.alreadySigned")}),e.jsxs("p",{className:"text-slate-500 mb-6",children:[s("signPage.alreadySignedDesc")," ",e.jsx("a",{href:"mailto:contact@x
23plorence.com",className:"text-[#0084D4] hover:underline",children:"[email protected]"})]})]}):e.jsxs(e.Fragment,{children:[e.jsx(ie,{className:"w-16 h-16 text-red-400 mx-auto mb-5"}),e.jsx("h2",{className:"text-2xl font-bold text-slate-900 mb-3",children:s("signPage.invalidLink")}),e.jsx("p",{className:"text-slate-500 mb-6",children:s("signPage.invalidLinkDesc")})]}),e.jsx("button",{onClick:()=>M("/network"),className:"px-6 py-3 bg-[#0084D4] text-white rounded-xl font-semibold text-sm hover:bg-[#0073b9] transition-colors",children:a.toPortal})]})})]}):h==="error"?e.jsxs("div",{className:"min-h-screen bg-[#F8FAFC] flex flex-col",children:[e.jsx(W,{}),e.jsx("div",{className:"flex-1 flex items-center justify-center px-6",children:e.jsxs("div",{className:"text-center max-w-md",children:[e.jsx(ie,{className:"w-16 h-16 text-red-400 mx-auto mb-5"}),e.jsx("h2",{className:"text-2xl font-bold text-slate-900 mb-3",children:s("signPage.errorTitle")}),e.jsx("p",{className:"text-slate-500 mb-6",children:C||s("signPage.errorDesc")}),e.jsx("button",{onClick:()=>window.location.reload(),className:"px-6 py-3 bg-[#0084D4] text-white rounded-xl font-semibold text-sm hover:bg-[#0073b9] transition-colors",children:s("signPage.reload")})]})})]}):h==="success"?e.jsxs("div",{className:"min-h-screen bg-[#F8FAFC] flex flex-col",children:[e.jsx(W,{}),e.jsx("div",{className:"flex-1 flex items-center justify-center px-6 py-24",children:e.jsxs(U.div,{initial:{opacity:0,scale:.92,y:20},animate:{opacity:1,scale:1,y:0},transition:{duration:.5},className:"text-center max-w-lg bg-white/60 backdrop-blur-xl rounded-3xl p-10 shadow-[0_8px_40px_rgba(0,0,0,0.06)] border border-white/70",children:[e.jsx("div",{className:"w-20 h-20 rounded-full bg-emerald-50 flex items-center justify-center mx-auto mb-6",children:e.jsx(ne,{className:"w-10 h-10 text-emerald-500"})}),e.jsx("h2",{className:"text-3xl font-bold text-slate-900 mb-3",children:s("signPage.successTitle")}),e.jsxs("p",{className:"text-slate-500 mb-2 leading-relaxed",children:[s("signPage.successMsg")," ",e.jsx("span",{className:"font-semibold text-slate-700",children:i?z(i):void 0}),"!"]}),e.jsxs("p",{className:"text-slate-400 text-sm mb-8",children:[s("signPage.successSub")," ",e.jsx("span",{className:"font-medium text-slate-500",children:i==null?void 0:i.email}),"."]}),$&&e.jsxs("a",{href:$,target:"_blank",rel:"noopener noreferrer",className:"inline-flex items-center gap-2 px-6 py-3 bg-[#0A1128] text-white rounded-xl font-semibold text-sm hover:bg-[#0084D4] transition-colors mb-4",children:[e.jsx(ze,{className:"w-4 h-4"}),s("signPage.downloadPdf")]}),e.jsx("div",{className:"mt-6",children:e.jsx("button",{onClick:()=>M("/network"),className:"text-[#0084D4] text-sm hover:underline",children:a.toPortal})}),e.jsxs("div",{className:"mt-8 pt-6 border-t border-white/50 flex items-center justify-center gap-6 text-xs text-slate-400",children:[e.jsxs("div",{className:"flex items-center gap-1.5",children:[e.jsx(le,{className:"w-4 h-4 text-emerald-400"}),s("signPage.encrypted")]}),e.jsxs("div",{className:"flex items-center gap-1.5",children:[e.jsx(re,{className:"w-4 h-4 text-blue-400"}),s("signPage.legallyValid")]})]})]})})]}):e.jsxs("div",{className:"min-h-screen bg-[#F8FAFC] flex flex-col",children:[e.jsx(W,{}),e.jsxs("section",{className:"flex-1 pt-28 pb-20 relative overflow-hidden",children:[e.jsx("div",{className:"absolute top-0 left-1/2 -translate-x-1/2 w-[900px] h-[400px] opacity-20 pointer-events-none",children:e.jsx("div",{className:"absolute inset-0 bg-gradient-to-b from-[#0084D4]/30 to-transparent blur-3xl rounded-full"})}),e.jsxs("div",{className:"max-w-3xl mx-auto px-4 sm:px-6 relative z-10",children:[e.jsxs(U.div,{initial:{opacity:0,y:20},animate:{opacity:1,y:0},transition:{duration:.5},className:"text-center mb-10",children:[e.jsxs("div",{className:"inline-flex items-center gap-2 px-4 py-2 rounded-full bg-white/50 backdrop-blur-md border border-white/60 text-slate-500 font-medium text-xs mb-6",children:[e.jsx(le,{className:"w-3.5 h-3.5 text-[#0084D4]"}),s("signPage.badge")]}),e.jsx("h1",{className:"text-3xl md:text-4xl font-bold text-[#0A1128] mb-3 tracking-tight",children:s("signPage.title")}),e.jsxs("p",{className:"text-slate-500",children:[s("signPage.greeting")," ",e.jsx("span",{className:"font-semibold text-[#0A1128]",children:i?z(i):void 0}),"!"," ",s("signPage.subtitle")]})]}),e.jsxs(U.div,{initial:{opacity:0,y:16}
23,animate:{opacity:1,y:0},transition:{duration:.5,delay:.1},className:"bg-white/60 backdrop-blur-xl rounded-3xl shadow-[0_8px_32px_rgba(0,0,0,0.05)] border border-white/70 overflow-hidden mb-6",children:[e.jsxs("div",{className:"bg-gradient-to-r from-[#0A1128] to-[#1A3A6B] px-8 py-6 flex items-center gap-4",children:[e.jsx("div",{className:"w-12 h-12 rounded-xl bg-white/10 flex items-center justify-center shrink-0",children:e.jsx(re,{className:"w-6 h-6 text-white"})}),e.jsxs("div",{children:[e.jsx("h2",{className:"text-white font-bold text-lg",children:s("signPage.docTitle")}),e.jsx("p",{className:"text-white/60 text-xs mt-0.5",children:s("signPage.docSubtitle")})]})]}),e.jsx("nav",{className:"xp-sign-nav","aria-label":a.agreement,children:I.map((t,w)=>t.num&&e.jsx("button",{type:"button",title:`${a.section} ${t.num}: ${t.title}`,"aria-label":`${a.section} ${t.num}: ${t.title}`,onClick:()=>{const f=_.current,n=f==null?void 0:f.querySelector(`#agreement-section-${w}`);f&&n&&(f.scrollTo({top:f.scrollTop+n.getBoundingClientRect().top-f.getBoundingClientRect().top,behavior:"auto"}),n.focus({preventScroll:!0}))},children:t.num},w))}),e.jsxs("div",{ref:_,tabIndex:0,role:"region","aria-label":a.agreement,onScroll:D,className:"h-[520px] overflow-y-auto px-8 py-6 custom-scroll",children:[e.jsx(Fe,{sections:I,lang:u.language}),e.jsx("div",{className:"mt-10 pt-6 border-t border-blue-100",children:e.jsxs("div",{className:"grid grid-cols-1 sm:grid-cols-2 gap-8",children:[e.jsxs("div",{children:[e.jsx("p",{className:"text-xs font-bold text-slate-400 uppercase tracking-wider mb-3",children:s("signPage.company")}),e.jsx("div",{className:"space-y-1",children:xe(u.language).map(({label:t,value:w})=>e.jsxs("div",{className:"flex gap-1.5 text-xs",children:[e.jsxs("span",{className:"font-semibold text-slate-500 shrink-0",children:[t,":"]}),e.jsx("span",{className:"text-slate-700",children:w})]},t))}),e.jsx("div",{className:"mt-4 h-0.5 w-32 bg-slate-200 rounded"}),e.jsx("p",{className:"text-xs text-slate-400 mt-1",children:s("signPage.authorizedSignee")})]}),e.jsxs("div",{children:[e.jsx("p",{className:"text-xs font-bold text-slate-400 uppercase tracking-wider mb-3",children:s("signPage.expert")}),e.jsx("p",{className:"font-semibold text-slate-800 text-sm",children:i?z(i):void 0}),e.jsx("p",{className:"text-slate-500 text-sm",children:i==null?void 0:i.email}),e.jsx("div",{className:"mt-4 h-0.5 w-32 bg-slate-200 rounded"}),e.jsx("p",{className:"text-xs text-slate-400 mt-1",children:s("signPage.signatureBelow")})]})]})})]}),e.jsx(De,{children:!A&&e.jsxs(U.div,{initial:{opacity:1},exit:{opacity:0},className:"bg-gradient-to-t from-blue-50/80 to-transparent px-8 py-3 flex items-center justify-center gap-2 text-xs text-slate-500",children:[e.jsx(Le,{className:"w-4 h-4 animate-bounce text-[#0084D4]"}),s("signPage.scrollHint")]})})]}),e.jsxs(U.div,{initial:{opacity:0,y:16},animate:{opacity:1,y:0},transition:{duration:.5,delay:.2},className:"bg-white/60 backdrop-blur-xl rounded-3xl shadow-[0_8px_32px_rgba(0,0,0,0.05)] border border-white/70 p-8 mb-6",children:[e.jsxs("div",{className:"flex items-center gap-3 mb-6",children:[e.jsx("div",{className:"w-10 h-10 rounded-xl bg-[#0084D4]/10 flex items-center justify-center",children:e.jsx(Re,{className:"w-5 h-5 text-[#0084D4]"})}),e.jsxs("div",{children:[e.jsx("h3",{className:"font-bold text-[#0A1128]",children:s("signPage.signatureSection")}),e.jsx("p",{className:"text-slate-400 text-xs",children:s("signPage.signatureSubtitle")})]})]}),e.jsx("label",{className:"text-[10px] font-bold tracking-[0.15em] text-[#8E9399] uppercase block mb-2",children:s("signPage.fullNameLabel")}),e.jsx("input",{type:"text","aria-label":s("signPage.fullNameLabel"),value:k,onChange:t=>P(t.target.value),placeholder:(i?z(i):void 0)??s("signPage.fullNameLabel"),disabled:!A||h==="signing",className:`w-full border rounded-xl px-4 py-3.5 text-[#0A1128] placeholder:text-[#A0AAB2] focus:outline-none focus:ring-1 transition-all text-sm shadow-[0_4px_16px_rgba(0,0,0,0.02)] ${A?k.trim().length>0&&!H?"bg-red-50 border-red-300 focus:border-red-400 focus:ring-red-300":"bg-white/40 backdrop-blur-md border-white/60 focus:border-[#0084D4] focus:ring-[#0084D4]":"bg-slate-100 border-slate-200 cursor-not-allowed opacity-50"}`}),A&&k.trim().length>0&&!H&&e.jsxs("p",{className:"text-red-500 text-xs mt-2 flex items-center gap-1",children:[e.jsx(ie,{className:"w-3.5 h-3.5"}),s("signPage.nameMismatch")," ",e.jsx("span",{className:"font-semibold",children:i?z(i):void 0})]}),A&&H&&k.trim().length>0&&e.jsxs("p",{className:"text-emerald-600 text-xs mt-2 flex items-center gap-1",children:[e.jsx(ne,{className:"w-3.5 h-3.5"}),s("signPage.nameConfirmed")]}),e.jsxs("div",{className:"mt-5 bg-blue-50/60 rounded-xl p-4 text-xs text-slate-500 leading-relaxed",children:[e.jsx(le,{className:"w-4 h-4 text-[#0084D4] inline mr-1.5 -mt-0.5"}
23),s("signPage.legalNotice")]})]}),e.jsx(U.button,{onClick:b,disabled:!S||h==="signing",initial:{opacity:0,y:10},animate:{opacity:1,y:0},transition:{duration:.4,delay:.3},className:`w-full py-4 rounded-2xl font-bold text-base transition-all duration-300 flex items-center justify-center gap-3 shadow-lg ${S&&h!=="signing"?"bg-[#0084D4] text-white hover:bg-[#0073b9] shadow-[#0084D4]/30 cursor-pointer":"bg-slate-200 text-slate-400 cursor-not-allowed shadow-none"}`,children:h==="signing"?e.jsxs(e.Fragment,{children:[e.jsx(me,{className:"w-5 h-5 animate-spin"}),s("signPage.signing")]}):e.jsxs(e.Fragment,{children:[e.jsx(re,{className:"w-5 h-5"}),s("signPage.signButton")]})}),!A&&e.jsx("p",{className:"text-center text-xs text-slate-400 mt-3",children:s("signPage.scrollRequired")})]})]})]})}function Qe(){const{i18n:o}=ue();return e.jsx(je,{reducedMotion:"user",children:e.jsx("div",{className:"xpl-theme xpl-expert xp-legacy",lang:he(o.language),children:e.jsx(Be,{})})})}export{Qe as Sign};

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.