PageSourceSearch

https://alpinegold.exchange/scripts/5801.6824ecb603ee4e761038.js

js alpinegold.exchange collected 2026-09-30 11:22:53 UTC 21,137 bytes, 2 lines download raw bytes

1/*! For license information please see 5801.6824ecb603ee4e761038.js.LICENSE.txt */
2"use strict";(self.webpackChunkdigital_world_trader=self.webpackChunkdigital_world_trader||[]).push([[5801],{95801:function(e,a,t){t.r(a),t(35890);var r=t(96540),c=t.n(r),l=t(54625),n=t(20645),s=t(11775),i=t(40542),o=t(47701),m=t(78465),d=t.n(m),p=t(79804),u=t(87677),v=t(67078),y=t(76048),h=t(56570),E=t(43975),f=t(8411),b=t(35105);function N(){return N=Object.assign?Object.assign.bind():function(e){for(var a=1;a<arguments.length;a++){var t=arguments[a];for(var r in t)({}).hasOwnProperty.call(t,r)&&(e[r]=t[r])}return e},N.apply(null,arguments)}const g=({label:e,name:a,type:t="text",placeholder:r,rows:l,required:n,value:s,onChange:i,onBlur:o,error:m,touched:d,labelExtra:p})=>c().createElement("div",{className:"rca-form-group "+(d&&m?"rca-form-group--error":"")},c().createElement("label",{className:"rca-form-label"},e,n&&c().createElement("span",{className:"rca-required"},"*"),p&&c().createElement("span",{className:"rca-label-extra"},p)),l?c().createElement("textarea",{name:a,className:"rca-form-field",placeholder:r,rows:l,value:s,onChange:i,onBlur:o}):c().createElement("input",{type:t,name:a,className:"rca-form-field",placeholder:r,value:s,onChange:i,onBlur:o}),d&&m&&c().createElement("span",{className:"rca-field-error"},m)),w=[{value:"typeI",label:"General Agreement",desc:"Standard two-party contract or agreement dispute."},{value:"typeII",label:"Community Dispute",desc:"Dispute involving a community or group platform."},{value:"typeIII",label:"On-Chain Transaction",desc:"Dispute over a blockchain transaction or smart contract."},{value:"typeIV",label:"Private / Sealed",desc:"Confidential dispute — details sealed from public view."}],_={typeI:150,typeII:200,typeIII:250,typeIV:300},k={title:"",description:"",archetype:"",case_identity:"",claimant_name:"",claimant_private_name:"",claimant_role:"",claimant_email:"",claimant_description:"",respondent_name:"",respondent_private_name:"",respondent_role:"",respondent_email:"",respondent_description:""};a.default=({d:e,mobileOpen:a,setMobileOpen:t})=>{const m=(0,n.W6)(),[A,C]=(0,r.useState)(k),[$,I]=(0,r.useState)(""),[S,x]=(0,r.useState)({}),[O,P]=(0,r.useState)({}),[R,D]=(0,r.useState)(!1),[q,T]=(0,r.useState)(!1),[B,j]=(0,r.useState)(1),[z,F]=(0,r.useState)({accurate:!1,terms:!1,privacy:!1}),L=e=>{const{name:a,value:t}=e.target;C(e=>({...e,[a]:t})),S[a]&&x(e=>({...e,[a]:""}))},U=e=>{const{name:a}=e.target;P(e=>({...e,[a]:!0})),x(e=>({...e,...M(a,A[a])}))},M=(e,a)=>{const t={},r=String(a||"").trim();return["title","description","archetype","case_identity","claimant_name","claimant_email","respondent_name","respondent_email"].includes(e)&&!r&&(t[e]="This field is required."),"description"===e&&r&&r.length<10&&(t[e]="Description must be at least 10 characters."),"title"===e&&r&&r.length<3&&(t[e]="Title must be at least 3 characters."),"claimant_email"!==e&&"respondent_email"!==e||r&&!/^[^\s@]+@[^\s@]+\.[^\s@]+$/.test(r)&&(t[e]="Please enter a valid email address."),t},Q=e=>{const a={1:["title","description","archetype"],2:["claimant_name","claimant_email","respondent_name","respondent_email","case_identity"]}[e]||[];let t={};return a.forEach(e=>Object.assign(t,M(e,A[e]))),x(e=>({...e,...t})),P(e=>{const t={...e};return a.forEach(e=>t[e]=!0),t}),0===Object.keys(t).length},W=(e,a={})=>({name:e,value:A[e],onChange:L,onBlur:U,error:S[e],touched:O[e],...a}),V=w.find(e=>e.value===A.archetype),G=!!A.case_identity;return c().createElement("div",{className:"admin-content-wrapper"},e.session.state===i.$t.IN&&c().createElement(s.A,{d:e,mobileOpen:a,setMobileOpen:t}),c().createElement("div",{className:"main-content"},c().createElement("div",{className:"rca-page"},c().createElement("div",{className:"back-header"},c().createElement(l.N_,{to:"/resolution-cases",className:"back-button"},c().createElement(y.A,{size:16,className:"back-icon"})),c().createElement("span",{className:"back-title"},"File a Resolution Case")),c().createElement("div",{className:"rca-steps"},["Case Details","Both Parties","Review & Submit"].map((e,a)=>{const t=a+1,r=B>t,l=B===t;return c().createElement(c().Fragment,{key:e},c().createElement("div",{className:`rca-step ${r?"rca-step--done":""} ${l?"rca-step--active":""}`},c().createElement("div",{className:"rca-step-num"},r?"✓":t),c().createElement("span",{className:"rca-step-label"},e)),a<2&&c().createElement("div",{className:"rca-step-line "+(r?"rca-step-line--done":"")}))})),c().createElement("form",{onSubmit:async e=>{if(e.preventDefault(),!Q(1)||!Q(2))return void j(1);const a=new URLSearchParams({title:A.title.trim(),description:A.description.trim(),ar
2chetype:A.archetype,case_identity:A.case_identity.trim(),verkey:$,claimant_name:A.claimant_name.trim(),claimant_private_name:A.claimant_private_name.trim(),claimant_role:A.claimant_role.trim(),claimant_email:A.claimant_email.trim(),claimant_description:A.claimant_description.trim(),respondent_name:A.respondent_name.trim(),respondent_private_name:A.respondent_private_name.trim(),respondent_role:A.respondent_role.trim(),respondent_email:A.respondent_email.trim(),respondent_description:A.respondent_description.trim()});try{D(!0);const e=await o.Ay.createCase(a);if(e.data?.success)d().fire({icon:"success",title:"Case Filed",text:e.data.message||"Your resolution case has been submitted successfully.",confirmButtonText:"View My Cases"}).then(()=>m.push("/resolution-cases"));else{const a=e.data?.errors||{};if(Object.keys(a).length>0){x(e=>({...e,...a}));const e=["title","description","archetype"],t=Object.keys(a).some(a=>e.includes(a));if(t){j(1);const e={};Object.keys(a).forEach(a=>{e[a]=!0}),P(a=>({...a,...e}))}const r=Object.values(a).join("\n");d().fire("Please fix the following",r,"warning")}else d().fire("Error",e.data?.message||"Failed to file the case.","error")}}catch(e){const a=e?.response?.data?.errors||{};if(Object.keys(a).length>0){x(e=>({...e,...a}));const e=["title","description","archetype"],t=Object.keys(a).some(a=>e.includes(a));if(t){j(1);const e={};Object.keys(a).forEach(a=>{e[a]=!0}),P(a=>({...a,...e}))}const r=Object.values(a).join("\n");d().fire("Please fix the following",r,"warning")}else d().fire("Error",e?.response?.data?.message||e.message,"error")}finally{D(!1)}}},c().createElement("div",{className:"white-bg-card"},c().createElement("div",{className:"white-bg-body"},1===B&&c().createElement("div",{className:"rca-section"},c().createElement("div",{className:"rca-section-header"},c().createElement(E.A,{size:18,color:"#2563EB"}),c().createElement("h2",{className:"rca-section-title"},"Describe the Dispute")),c().createElement("p",{className:"rca-section-hint"},"Provide a clear, factual summary of what the dispute is about."),c().createElement("div",{className:"row"},c().createElement("div",{className:"col-12"},c().createElement(g,N({},W("title"),{label:"Case Title",placeholder:"e.g. Payment dispute for website development project",required:!0}))),c().createElement("div",{className:"col-12"},c().createElement(g,N({},W("description"),{label:"What is this dispute about?",rows:4,placeholder:"Describe the situation in plain language. What happened? What is the disagreement?",required:!0})))),c().createElement("div",{className:"rca-section-header",style:{marginTop:28}},c().createElement("h2",{className:"rca-section-title"},"Dispute Type")),c().createElement("p",{className:"rca-section-hint"},"Choose the type that best describes your situation."),c().createElement("div",{className:"rca-archetype-grid"},w.map(e=>c().createElement("button",{type:"button",key:e.value,className:"rca-archetype-card "+(A.archetype===e.value?"rca-archetype-card--active":""),onClick:()=>{C(a=>({...a,archetype:e.value})),x(e=>({...e,archetype:""}))}},c().createElement("span",{className:"rca-archetype-label"},e.label),c().createElement("span",{className:"rca-archetype-desc"},e.desc)))),O.archetype&&S.archetype&&c().createElement("span",{className:"rca-field-error"},S.archetype)),2===B&&c().createElement("div",{className:"rca-section"},c().createElement("div",{className:"rca-section-header",style:{marginBottom:6}},c().createElement(v.A,{size:16,color:"#7C3AED"}),c().createElement("p",{className:"rca-private-intro"},"Each party has a ",c().createElement("strong",null,"display name")," (shown publicly) and a ",c().createElement("strong",null,"private name")," (sealed in court records only).")),c().createElement("div",{className:"rca-parties-grid"},c().createElement("div",{className:"rca-party-panel rca-party-panel--plaintiff"},c().createElement("div",{className:"rca-party-panel-header"},c().createElement("span",{className:"rca-party-tag"},"Claimant"),c().createElement("p",{className:"rca-party-tag-hint"},"The person filing the case")),c().createElement("div",{className:"row"},c().createElement("div",{className:"col-12"},c().createElement(g,N({},W("claimant_name"),{label:"Display Name",placeholder:"Public name shown in case",required:!0}))),c().createElement("div",{className:"col-12"},c().createElement(g,N({},W("claimant_private_name"),{label:"Private / Sealed Name",placeholder:"Legal name for sealed court records",labelExtra:" (kept private)"})),c().createElement("span",{className:"rca-private-hint"},"Used in sealed court records only. Not visible to the public.")),c().createElement("div",{className:"col-md-6"},c().createElement(g,N({},W("claimant_role"),{label:"Role / Title",placeholder:"e.g. Freelance Developer"}))),c().createElement("div",{className:"col-md-6"},c().createElement(g,N({},W("claimant_email"),{label:"Email Address",type:"email",placeholder:"[email protected]",required:!0}))),c().createElement("div",{className:"col-12"},c().createElement(g,N({},W("claimant_description"),{label:"Brief Description",placeholder:"Short description of who they are"}))))),c().createElement("div",{className:"rca-party-panel rca-party-panel--defendant"},c().createElement("div",{className:"rca-party-panel-header"},c().createElement("span",{className:"rca-party-tag rca-party-tag--defendant"},"Respondent"),c().createElement("p",{className:"rca-party-tag-hint"},"The other party in the dispute")),c().createElement("div",{className:"row"},c().createElement("div",{className:"col-12"},c().createElement(g,N({},W("respondent_name"),{label:"Display Name",placeholder:"Public name shown in case",required:!0}))),c().createElement("div",{className:"col-12"},c().createElement(g,N({},W("respondent_private_name"),{label:"Private / Sealed Name",placeholder:"Legal name for sealed court records",labelExtra:" (kept private)"})),c().createElement("span",{className:"rca-private-hint"},"Used in sealed court records only. Not visible to the public.")),c().createElement("div",{className:"col-md-6"},c().createElement(g,N({},W("respondent_role"),{label:"Role / Title",placeholder:"e.g. Business Owner"}))),c().createElement("div",{className:"col-md-6"},c().createElement(g,N({},W("respondent_email"),{label:"Email Address",type:"email",placeholder:"[email protected]",required:!0}))),c().createElement("div",{className:"col-12"},c().createElement(g,N({},W("respondent_description"),{label:"Brief Description",placeholder:"Short description of who they are"})))))),c().createElement("div",{className:"rca-identity-section"},c().createElement("div",{className:"rca-section-header"},c().createElement(h.A,{size:18,color:"#2563EB"}),c().createElement("h2",{className:"rca-section-title"},"Case Unique Identity",c().createElement("span",{className:"rca-required"}," *"))),c().createElement("p",{className:"rca-section-hint"},"Generate a cryptographic identity for this case using your ",(0,b.dt)()," app."),c().createElement("div",{className:"rca-identity-row"},c().createElement("input",{type:"text",className:"rca-form-field rca-identity-input "+(G?"rca-identity-input--verified":""),value:A.case_identity,readOnly:!0,placeholder:"Scan QR code to generate a unique case identity…"}),c().createElement("button",{type:"button",className:"rca-btn-identity",onClick:async()=>{try{T(!0);const{uuid:e,verkey:a}=await(0,f.Q)();C(a=>({...a,case_identity:e})),I(a),x(e=>{const{case_identity:a,...t}=e;return t}),P(e=>({...e,case_identity:!0}))}catch(e){"CANCELLED"===e?.code?console.log("User cancelled identity flow"):console.error("Identity flow error:",e)}finally{T(!1)}},disabled:q},c().createElement(h.A,{size:14,style:{marginRight:6,flexShrink:0}}),q?"Generating…":G?"Re-generate":"Get Unique Identity")),G&&c().createElement("div",{className:"rca-identity-verified"},c().createElement(p.A,{size:12}),"Identity verified — case record sealed and tamper-proof"),O.case_identity&&S.case_identity&&c().createElement("span",{className:"rca-field-error",style:{marginTop:6,display:"block"}},S.case_identity))),3===B&&c().createElement("div",{className:"rca-section"},c().createElement("div",{className:"rca-section-header"},c().createElement("h2",{className:"rca-section-title"},"Review & Submit")),c().createElement("p",{className:"rca-section-hint"},"Please review the details below before filing. Once submitted, both parties will be notified."),c().createElement("div",{className:"rca-review-block"},c().createElement("div",{className:"rca-review-label"},"Case Title"),c().createElement("div",{className:"rca-review-value"},A.title)),c().createElement("div",{className:"rca-review-block"},c().createElement("div",{className:"rca-review-label"},"Description"),c().createElement("div",{className:"rca-review-value"},A.description)),c().createElement("div",{className:"rca-review-block"},c().createElement("div",{className:"rca-review-label"},"Dispute Type"),c().createElement("div",{className:"rca-review-value"},V?.label||"—")),c().createElement("div",{className:"rca-review-block"},c().createElement("div",{className:"rca-review-label"},c().createElement("span",{style:{display:"flex",alignItems:"center",gap:5}},c().createElement(h.A,{size:11})," Case Unique Identity")),c().createElement("div",{className:"rca-review-value rca-review-identity"},c().createElement(p.A,{size:13,color:"#16A34A",style:{marginRight:5,flexShrink:0}}),c().createElement("span",{style:{fontFamily:"monospace",fontSize:12,wordBreak:"break-all"}},A.case_identity))),c().createElement("div",{className:"rca-review-parties"},c().createElement("div",{className:"rca-review-party"},c().createElement("div",{className:"rca-review-party-tag"},"Claimant"),c().createElement("div",{className:"rca-review-party-name"},A.claimant_name),A.claimant_private_name&&c().createElement("div",{className:"rca-review-party-private"},c().createElement(v.A,{size:10,style:{marginRight:4}}),"Private: ",A.claimant_private_name),c().createElement("div",{className:"rca-review-party-sub"},A.claimant_role),c().createElement("div",{className:"rca-review-party-sub"},A.claimant_email)),c().createElement("div",{className:"rca-review-party"},c().createElement("div",{className:"rca-review-party-tag rca-review-party-tag--def"},"Respondent"),c().createElement("div",{className:"rca-review-party-name"},A.respondent_name),A.respondent_private_name&&c().createElement("div",{className:"rca-review-party-private"},c().createElement(v.A,{size:10,style:{marginRight:4}}),"Private: ",A.respondent_private_name),c().createElement("div",{className:"rca-review-party-sub"},A.respondent_role),c().createElement("div",{className:"rca-review-party-sub"},A.respondent_email))),c().createElement("div",{className:"rca-fee-section"},c().createElement("div",{className:"rca-fee-header"},c().createElement(E.A,{size:15,color:"#2563EB"}),c().createElement("span",{className:"rca-fee-title"},"Filing Fee")),c().createElement("div",{className:"rca-fee-row"},c().createElement("div",{className:"rca-fee-detail"},c().createElement("span",{className:"rca-fee-type"},V?.label||"Case"," filing"),c().createElement("span",{className:"rca-fee-note"},"Non-refundable administrative fee")),c().createElement("div",{className:"rca-fee-amount"},"$",_[A.archetype]||150,c().createElement("span",{className:"rca-fee-currency"},"USD"))),c().createElement("p",{className:"rca-fee-info"},"Payment will be processed securely after submission. Your case will be assigned to the court queue upon successful payment.")),c().createElement("div",{className:"rca-ack-section"},c().createElement("div",{className:"rca-ack-title"},"Acknowledgments"),[{key:"accurate",label:"I confirm that all information provided is accurate and truthful to the best of my knowledge."},{key:"terms",label:"I agree to the Digital World Court System terms of service and the binding resolution process."},{key:"privacy",label:"I understand that private/sealed names will remain confidential and will not be disclosed publicly."}].map(({key:e,label:a})=>c().createElement("label",{key:e,className:"rca-ack-row"},c().createElement("input",{type:"checkbox",className:"rca-ack-checkbox",checked:z[e],onChange:a=>{const t=a.target.checked;F(a=>({...a,[e]:t}))}}),c().createElement("span",{className:"rca-ack-label"},a))))),c().createElement("div",{className:"rca-nav-footer"},B>1&&c().createElement("button",{type:"button",className:"rca-btn-back",onClick:()=>{j(e=>e-1),window.scrollTo(0,0)}},"← Back"),B<3?c().createElement("button",{type:"button",className:"rca-btn-next",onClick:()=>{Q(B)&&(j(e=>e+1),window.scrollTo(0,0))}},"Continue ",c().createElement(u.A,{size:15})):c().createElement("button",{type:"submit",className:"rca-btn-submit",disabled:R||!z.accurate||!z.terms||!z.privacy},R?"Filing Case…":"Confirm & File Case"))))))))}},47701:function(e,a,t){var r=t(29863);const c="/dashboard/resolution-cases",l=(e={})=>r.A.get(c,{params:e}),n=e=>r.A.get(`${c}/${e}`),s=e=>r.A.post(`${c}/${e}/accept-resolution`),i=e=>r.A.post(`${c}/${e}/request-expert`),o=(e,a="")=>r.A.post(`${c}/${e}/escalate`,{reason:a}),m={fetchCases:l,fetchCaseById:n,createCase:e=>r.A.post(`${c}/create`,e),updateCase:(e,a)=>r.A.post(`${c}/${e}
2/update`,a),deleteCase:e=>r.A.post(`${c}/${e}/delete`),updateStage:(e,a)=>r.A.post(`${c}/${e}/stage`,{stage:a}),updatePlaintiff:(e,a)=>r.A.post(`${c}/${e}/parties/plaintiff`,a),updateDefendant:(e,a)=>r.A.post(`${c}/${e}/parties/defendant`,a),submitStatement:(e,a)=>r.A.post(`${c}/${e}/actions/statement`,a),submitEvidence:(e,a)=>r.A.post(`${c}/${e}/actions/evidence`,a),proposeCompromise:(e,a)=>r.A.post(`${c}/${e}/actions/compromise`,a),acceptResolution:s,requestExpertReview:i,escalateCase:o,fetchTimeline:e=>r.A.get(`${c}/${e}/timeline`),addTimelineEntry:(e,a)=>r.A.post(`${c}/${e}/timeline/add`,a),fetchCouncil:e=>r.A.get(`${c}/${e}/council`),assignCouncilMember:(e,a)=>r.A.post(`${c}/${e}/council/add`,a),removeCouncilMember:(e,a)=>r.A.post(`${c}/${e}/council/${a}/remove`),fetchAiAnalysis:e=>r.A.get(`${c}/${e}/ai-analysis`),updateAiAnalysis:(e,a)=>r.A.post(`${c}/${e}/ai-analysis/update`,a),fetchAllCasesAdmin:(e={})=>r.A.get(`${c}/admin/all`,{params:e}),fetchResolutionCases:l,fetchResolutionCaseById:n,acceptAiResolution:s,requestHumanArbiter:i,escalateToPhysicalLaw:o};a.Ay=m},8411:function(e,a,t){var r=t(78465),c=t.n(r),l=t(29863),n=t(35105);t.d(a,["Q",0,()=>new Promise(async(e,a)=>{let t=null,r=!1;try{const s=/iPhone|iPad|iPod/i.test(navigator.userAgent),i=/Android/i.test(navigator.userAgent),o=s||i,m=await l.A.get("/register/qrcode?purpose=uuid");if(!m?.data?.success)return c().fire({title:"Error",allowOutsideClick:!0,icon:"error",html:m?.data?.message||"Failed to fetch QR code."}),a(new Error(m?.data?.message||"Failed to fetch QR code."));const{verkey:d,challenge:p,qrcode_image_url:u}=m.data.data,v=o?`<a href="clearlife://uuid/${p}" class="btn btn-primaryx app_opener_link">Open ${(0,n.jF)()} </a>`:"",y=o?"":`Scan the above QR Code from your ${(0,n.jF)()} app to get a Unique Identity`;c().fire({title:y,allowOutsideClick:!0,imageUrl:o?null:u,html:v,imageWidth:350,timer:4e4,timerProgressBar:!0,willClose:()=>{t&&(clearInterval(t),t=null)},didOpen:()=>{c().showLoading(),i&&setTimeout(()=>{const e=document.querySelector(".app_opener_link");e?e.click():window.location.href=`clearlife://uuid/${p}`},500);const a=async()=>{try{const a=await l.A.get(`/register/publickey/${d}`);a?.data?.success&&a.data.data&&a.data.data.uuid&&(t&&(clearInterval(t),t=null),c().close(),c().fire({title:"Success",allowOutsideClick:!0,icon:"success",html:a.data.message||`${(0,n.dt)()} Identity Verified.`}),r=!0,e({uuid:a.data.data.uuid,verkey:d}))}catch(e){console.warn("Polling error (will retry):",e)}};a(),t=setInterval(a,3e3)}}).then(e=>{r||a({code:"CANCELLED",message:"User closed identity popup before verification.",result:e})})}catch(e){console.error("QR code generation failed:",e),c().fire("Error","QR code generation failed.","error"),a(e)}})])},79804:function(e,a,t){const r=(0,t(9407).A)("circle-check",[["circle",{cx:"12",cy:"12",r:"10",key:"1mglay"}],["path",{d:"m9 12 2 2 4-4",key:"dzmm74"}]]);t.d(a,["A",0,r])},67078:function(e,a,t){const r=(0,t(9407).A)("lock",[["rect",{width:"18",height:"11",x:"3",y:"11",rx:"2",ry:"2",key:"1w4ew1"}],["path",{d:"M7 11V7a5 5 0 0 1 10 0v4",key:"fwvmzm"}]]);t.d(a,["A",0,r])},76048:function(e,a,t){const r=(0,t(9407).A)("move-left",[["path",{d:"M6 8L2 12L6 16",key:"kyvwex"}],["path",{d:"M2 12H22",key:"1m8cig"}]]);t.d(a,["A",0,r])}}]);

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.