1(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[92430],{11187:(e,t,r)=>{"use strict";r.d(t,{A:()=>a});let a=(0,r(48900).A)("Cpu",[["rect",{x:"4",y:"4",width:"16",height:"16",rx:"2",key:"1vbyd7"}],["rect",{x:"9",y:"9",width:"6",height:"6",key:"o3kz5p"}],["path",{d:"M15 2v2",key:"13l42r"}],["path",{d:"M15 20v2",key:"15mkzm"}],["path",{d:"M2 15h2",key:"1gxd5l"}],["path",{d:"M2 9h2",key:"1bbxkp"}],["path",{d:"M20 15h2",key:"19e6y8"}],["path",{d:"M20 9h2",key:"19tzq7"}],["path",{d:"M9 2v2",key:"165o2o"}],["path",{d:"M9 20v2",key:"i2bqo8"}]])},12572:(e,t,r)=>{"use strict";r.d(t,{A:()=>a});let a=(0,r(48900).A)("User",[["path",{d:"M19 21v-2a4 4 0 0 0-4-4H9a4 4 0 0 0-4 4v2",key:"975kel"}],["circle",{cx:"12",cy:"7",r:"4",key:"17ys0d"}]])},29156:(e,t,r)=>{"use strict";r.d(t,{A:()=>a});let a=(0,r(48900).A)("GitCommitHorizontal",[["circle",{cx:"12",cy:"12",r:"3",key:"1v7zrd"}],["line",{x1:"3",x2:"9",y1:"12",y2:"12",key:"1dyftd"}],["line",{x1:"15",x2:"21",y1:"12",y2:"12",key:"oup4p8"}]])},34571:(e,t,r)=>{"use strict";r.d(t,{A:()=>a});let a=(0,r(48900).A)("Hash",[["line",{x1:"4",x2:"20",y1:"9",y2:"9",key:"4lhtct"}],["line",{x1:"4",x2:"20",y1:"15",y2:"15",key:"vyu0kd"}],["line",{x1:"10",x2:"8",y1:"3",y2:"21",key:"1ggp8o"}],["line",{x1:"16",x2:"14",y1:"3",y2:"21",key:"weycgp"}]])},38297:(e,t,r)=>{"use strict";r.d(t,{A:()=>s});var a=r(37876);function s(e){let{className:t=""}=e;return(0,a.jsxs)("svg",{viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:1.75,strokeLinecap:"round",strokeLinejoin:"round",role:"img","aria-label":"Hugging Face",xmlns:"http://www.w3.org/2000/svg",className:t,children:[(0,a.jsx)("path",{d:"M6.02 14.05 A 6.9 6.9 0 1 1 17.98 14.05"}),(0,a.jsx)("path",{d:"M10.21 17.26 A 6.9 6.9 0 0 0 13.79 17.26"}),(0,a.jsx)("path",{d:"M8.3 8.9c.5-.7 1.4-.7 1.9 0"}),(0,a.jsx)("path",{d:"M13.8 8.9c.5-.7 1.4-.7 1.9 0"}),(0,a.jsx)("path",{d:"M8.8 11.6c.6 2 1.8 3 3.2 3s2.6-1 3.2-3"}),(0,a.jsx)("path",{d:"M8.6 15.3c-1.6-.7-3.2-.2-3.7 1-.4 1.1.4 2.2 1.8 2.4 1.2.2 2.4-.4 2.9-1.5"}),(0,a.jsx)("path",{d:"M15.4 15.3c1.6-.7 3.2-.2 3.7 1 .4 1.1-.4 2.2-1.8 2.4-1.2.2-2.4-.4-2.9-1.5"})]})}},41180:(e,t,r)=>{"use strict";r.d(t,{A:()=>a});let a=(0,r(48900).A)("TrendingUp",[["polyline",{points:"22 7 13.5 15.5 8.5 10.5 2 17",key:"126l90"}],["polyline",{points:"16 7 22 7 22 13",key:"kwv8wd"}]])},50665:(e,t,r)=>{"use strict";r.d(t,{A:()=>a});let a=(0,r(48900).A)("Share2",[["circle",{cx:"18",cy:"5",r:"3",key:"gq8acd"}],["circle",{cx:"6",cy:"12",r:"3",key:"w7nqdw"}],["circle",{cx:"18",cy:"19",r:"3",key:"1xt0gg"}],["line",{x1:"8.59",x2:"15.42",y1:"13.51",y2:"17.49",key:"47mynk"}],["line",{x1:"15.41",x2:"8.59",y1:"6.51",y2:"10.49",key:"1n3mei"}]])},56056:(e,t,r)=>{"use strict";r.d(t,{A:()=>a});let a=(0,r(48900).A)("Award",[["circle",{cx:"12",cy:"8",r:"6",key:"1vp47v"}],["path",{d:"M15.477 12.89 17 22l-5-3-5 3 1.523-9.11",key:"em7aur"}]])},59012:(e,t,r)=>{"use strict";r.d(t,{FO:()=>d,Io:()=>p,Os:()=>k,Pt:()=>m,S4:()=>h,Tu:()=>c,Y7:()=>u,YM:()=>j,cF:()=>b,k1:()=>f,kt:()=>x});var a=r(37876),s=r(79060),l=r(29156),i=r(59735),n=r(38297);function o(e){let{className:t="",children:r}=e;return(0,a.jsx)("svg",{viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:1.75,strokeLinecap:"round",strokeLinejoin:"round",className:t,"aria-hidden":"true",children:r})}function c(e){let{className:t}=e;return(0,a.jsxs)(o,{className:t,children:[(0,a.jsx)("rect",{x:"4.5",y:"3.5",width:"15",height:"17",rx:"2.2"}),(0,a.jsx)("path",{d:"M8 7.6h5.5"}),(0,a.jsx)("path",{d:"M8 16.6v-2.7"}),(0,a.jsx)("path",{d:"M11.3 16.6v-4.5"}),(0,a.jsx)("path",{d:"M14.6 16.6v-3.3"}),(0,a.jsx)("path",{d:"M16.4 5.9l.5 1.15 1.15.5-1.15.5-.5 1.15-.5-1.15-1.15-.5 1.15-.5z",fill:"currentColor",stroke:"none"})]})}function d(e){let{className:t}=e;return(0,a.jsxs)(o,{className:t,children:[(0,a.jsx)("rect",{x:"3",y:"4.5",width:"18",height:"15",rx:"2.3"}),(0,a.jsx)("path",{d:"M3 8.6h18"}),(0,a.jsx)("circle",{cx:"6",cy:"6.5",r:"0.55",fill:"currentColor",stroke:"none"}),(0,a.jsx)("circle",{cx:"8",cy:"6.5",r:"0.55",fill:"currentColor",stroke:"none"}
1),(0,a.jsx)("path",{d:"M10.6 11.7l4 2.3-4 2.3z",fill:"currentColor",stroke:"none"})]})}function x(e){let{className:t}=e;return(0,a.jsxs)(o,{className:t,children:[(0,a.jsx)("path",{d:"M7 3.5h6.5L18 8v10.5A1.5 1.5 0 0 1 16.5 20H7A1.5 1.5 0 0 1 5.5 18.5v-13.5A1.5 1.5 0 0 1 7 3.5z"}),(0,a.jsx)("path",{d:"M13.3 3.6V8H18"}),(0,a.jsx)("path",{d:"M11.5 17.6v-4.6"}),(0,a.jsx)("path",{d:"M9.3 15.2l2.2-2.2 2.2 2.2"})]})}function u(e){let{className:t}=e;return(0,a.jsxs)(o,{className:t,children:[(0,a.jsx)("rect",{x:"3",y:"4.5",width:"18",height:"12",rx:"2"}),(0,a.jsx)("path",{d:"M9 20h6"}),(0,a.jsx)("path",{d:"M12 16.5V20"}),(0,a.jsx)("circle",{cx:"8.7",cy:"10.5",r:"1.3"}),(0,a.jsx)("circle",{cx:"15.3",cy:"10.5",r:"1.3"}),(0,a.jsx)("path",{d:"M10 10.5h4"})]})}function p(e){let{className:t}=e;return(0,a.jsxs)(o,{className:t,children:[(0,a.jsx)("rect",{x:"3",y:"5",width:"18",height:"14",rx:"3"}),(0,a.jsx)("path",{d:"M10 9.3l5.2 2.7-5.2 2.7z",fill:"currentColor",stroke:"none"})]})}function m(e){let{className:t}=e;return(0,a.jsxs)(o,{className:t,children:[(0,a.jsx)("path",{d:"M4.5 5.5h15A1.5 1.5 0 0 1 21 7v7a1.5 1.5 0 0 1-1.5 1.5H12.5L8 19v-3H4.5A1.5 1.5 0 0 1 3 14.5V7A1.5 1.5 0 0 1 4.5 5.5z"}),(0,a.jsx)("path",{d:"M8.6 10.6l1.7 1.7 3.5-3.7"})]})}function h(e){let{className:t}=e;return(0,a.jsxs)(o,{className:t,children:[(0,a.jsx)("path",{d:"M12 6.6C10.4 5.2 7.9 4.7 4.2 5.3v12.6c3.7-.6 6.2-.1 7.8 1.3"}),(0,a.jsx)("path",{d:"M12 6.6c1.6-1.4 4.1-1.9 7.8-1.3v12.6c-3.7-.6-6.2-.1-7.8 1.3"}),(0,a.jsx)("path",{d:"M12 6.6v12.9"})]})}function b(e){let{className:t}=e;return(0,a.jsxs)(o,{className:t,children:[(0,a.jsx)("rect",{x:"3.5",y:"4",width:"17",height:"11",rx:"2"}),(0,a.jsx)("path",{d:"M12 15v3"}),(0,a.jsx)("path",{d:"M8.5 20l3.5-2 3.5 2"}),(0,a.jsx)("path",{d:"M8 11.6v-1.8"}),(0,a.jsx)("path",{d:"M11.5 11.6v-3.4"}),(0,a.jsx)("path",{d:"M15 11.6v-2.4"})]})}function f(e){let{className:t}=e;return(0,a.jsxs)(o,{className:t,children:[(0,a.jsx)("circle",{cx:"12",cy:"9.4",r:"5.6"}),(0,a.jsx)("path",{d:"M9.2 13.8 8 20.6l4-2 4 2-1.2-6.8"}),(0,a.jsx)("path",{d:"M9.7 9.3l1.6 1.6 3.1-3.3"})]})}function j(e){let{className:t}=e;return(0,a.jsxs)(o,{className:t,children:[(0,a.jsx)("path",{d:"M4 20.2h16"}),(0,a.jsx)("path",{d:"M15.1 5a1.7 1.7 0 0 1 2.4 2.4l-8.9 8.9-3.3.9.9-3.3z"}),(0,a.jsx)("path",{d:"M14 6.1l2.4 2.4"})]})}let g={portfolio_item:c,url_link:d,file_upload:x,screenshot:u,video_demo:p,client_testimonial:m,published_work:h,presentation:b,certification:f,manual:j,github_repo:s.A,github_commit:l.A,github_pr:i.A,huggingface_model:n.A,huggingface_space:n.A,huggingface_dataset:n.A};function k(e){let{type:t,className:r="w-4 h-4"}=e,s=t&&g[t]||c;return(0,a.jsx)(s,{className:r})}},59735:(e,t,r)=>{"use strict";r.d(t,{A:()=>a});let a=(0,r(48900).A)("GitPullRequest",[["circle",{cx:"18",cy:"18",r:"3",key:"1xkwt0"}],["circle",{cx:"6",cy:"6",r:"3",key:"1lh9wr"}],["path",{d:"M13 6h3a2 2 0 0 1 2 2v7",key:"1yeb86"}],["line",{x1:"6",x2:"6",y1:"9",y2:"21",key:"rroup"}]])},61052:(e,t,r)=>{"use strict";r.d(t,{A:()=>a});let a=(0,r(48900).A)("Loader",[["line",{x1:"12",x2:"12",y1:"2",y2:"6",key:"gza1u7"}],["line",{x1:"12",x2:"12",y1:"18",y2:"22",key:"1qhbu9"}],["line",{x1:"4.93",x2:"7.76",y1:"4.93",y2:"7.76",key:"xae44r"}],["line",{x1:"16.24",x2:"19.07",y1:"16.24",y2:"19.07",key:"bxnmvf"}],["line",{x1:"2",x2:"6",y1:"12",y2:"12",key:"89khin"}],["line",{x1:"18",x2:"22",y1:"12",y2:"12",key:"pb8tfm"}],["line",{x1:"4.93",x2:"7.76",y1:"19.07",y2:"16.24",key:"1uxjnu"}],["line",{x1:"16.24",x2:"19.07",y1:"7.76",y2:"4.93",key:"6duxfx"}]])},62452:(e,t,r)=>{"use strict";r.d(t,{A:()=>a});let a=(0,r(48900).A)("PlayCircle",[["circle",{cx:"12",cy:"12",r:"10",key:"1mglay"}],["polygon",{points:"10 8 16 12 10 16 10 8",key:"1cimsy"}]])},64365:(e,t,r)=>{"use strict";function a(e){let t=(e||"").trim();return t?/^https?:\/\//i.test(t)?t:"https://".concat(t.replace(/^\/+/,"")):""}r.d(t,{O:()=>a})},73262:(e,t,r)=>{"use strict";r.d(t,{A:()=>a});let a=(0,r(48900).A)("Code",[["polyline",{points:"16 18 22 12 16 6",key:"z7tu5w"}],["polyline",{points:"8 6 2 12 8 18",key:"1eg1df"}]])},74206:(e,t,r)=>{"use strict";r.d(t,{A:()=>a});
1let a=(0,r(48900).A)("Copy",[["rect",{width:"14",height:"14",x:"8",y:"8",rx:"2",ry:"2",key:"17jyea"}],["path",{d:"M4 16c-1.1 0-2-.9-2-2V4c0-1.1.9-2 2-2h10c1.1 0 2 .9 2 2",key:"zix9uf"}]])},75624:(e,t,r)=>{(window.__NEXT_P=window.__NEXT_P||[]).push(["/certificates/share/[token]",function(){return r(97995)}])},79447:(e,t,r)=>{"use strict";r.d(t,{$j:()=>o,Rv:()=>s,TJ:()=>a,UE:()=>l,in:()=>i});let a=[{key:"code",name:"Code & Models",blurb:"Work that carries authorship a machine can check",types:[{id:"github_repo",label:"GitHub Repository",description:"Link a repository with automation scripts, AI agents, or integration code",short:"Repo",evidence:"The repository URL. It has to be public, or a reviewer sees a 404 rather than your work. Your GitHub account must be connected in Settings first."},{id:"github_commit",label:"GitHub Commit",description:"Reference a specific commit in an automation or AI project",short:"Commit",evidence:"The repository URL plus the commit hash, for one specific change you authored."},{id:"github_pr",label:"Pull Request",description:"Link a merged PR for an automation feature or AI integration",short:"PR",evidence:"The pull-request URL - useful when the work landed in someone else's repository."},{id:"huggingface_model",label:"HuggingFace Model",description:"Link a trained AI model or fine-tuned LLM",short:"Model",evidence:"The model URL, with your Hugging Face account connected. A model card with no weight files does not confirm much."},{id:"huggingface_dataset",label:"HuggingFace Dataset",description:"Link a dataset you built, cleaned, labelled or published",short:"Dataset",evidence:"The dataset URL, with your Hugging Face account connected. The repo has to hold the actual data files and declare a license: a card plus a loading script that fetches someone else's files reads as a pointer, not a dataset."}]},{key:"live",name:"Live Work",blurb:"Something running that a buyer can watch or open",types:[{id:"huggingface_space",label:"HuggingFace Space",description:"Link a running demo: a Gradio or Streamlit app anyone can open",short:"Space",evidence:"The Space URL, with your Hugging Face account connected. Claim the Space in Settings and REWORK probes it nightly; a demo that has answered several times over a few weeks verifies on that history. A Space asleep between probes is not counted against you."},{id:"url_link",label:"Live Automation / Demo URL",description:"Link to a deployed automation, AI agent, chatbot, or live workflow",short:"Link",evidence:"A URL anyone can open without a login. A live page alone never auto-approves - but serve the challenge token shown on the form (a response header, the page body, or /.well-known/rework-proof.txt) and the deployment verifies as yours automatically, no video needed."},{id:"video_demo",label:"Automation Demo / Walkthrough",description:"Link to a video demo of your automation, AI agent, or workflow in action",short:"Video",evidence:"A YouTube, Loom or Vimeo link. Here the video IS the proof, so no second video is asked for."},{id:"screenshot",label:"Workflow Screenshot",description:"Upload screenshots of automation dashboards, workflow builders, or pipeline outputs",short:"Screenshot",evidence:"An image file, up to 10MB. Weakest evidence on its own - a screenshot shows a result, not that you produced it."}]},{key:"docs",name:"Documentation",blurb:"What you wrote up around the build",types:[{id:"file_upload",label:"Technical Documentation",description:"Upload architecture diagrams, workflow specs, integration docs, or deliverables",short:"File",evidence:"The document itself, up to 10MB. Redact client names before uploading if the work was under NDA."},{id:"presentation",label:"Technical Presentation",description:"Upload or link to slide decks on automation architecture or AI implementation",short:"Deck",evidence:"The deck, uploaded or linked."},{id:"manual",label:"Manual Entry",description:"Describe an automation deliverable with technical details and outcomes",short:"Doc",evidence:"A written description. Nothing to check automatically, so the demo video is doing all the work here."}]}
1,{key:"outcomes",name:"Outcomes",blurb:"Evidence the work did something for someone",types:[{id:"portfolio_item",label:"Automation Case Study",description:"Showcase an automation project with measurable ROI and results",short:"Case study",evidence:"Picked from the portfolio items already on your profile - add one there first if the list is empty."},{id:"client_testimonial",label:"Client Testimonial",description:"Share feedback from a client on automation ROI, time saved, or impact delivered",short:"Testimonial",evidence:"The testimonial, with a link to where it is published if there is one."},{id:"published_work",label:"Published Research / Article",description:"Link to AI/automation articles, research papers, or technical blog posts",short:"Published",evidence:"A link to the article, paper or talk."},{id:"certification",label:"External Certification (course / credential)",description:"Upload third-party credentials (AWS, Google, Coursera, etc.), with one thing you built using what they cover.",short:"Cert",evidence:"The credential URL from the issuing body, plus a link to something you built with it and a sentence on how the two connect. The certificate shows a course was passed; the work is what shows you can do it. Submit it alone and it still saves and shows on your profile, as supporting evidence rather than a verified skill."}]}],s=a.flatMap(e=>e.types),l=s.length;function i(e){return a.find(t=>t.types.some(t=>t.id===e))}Object.fromEntries(s.map(e=>[e.id,e.short]));let n={assessment:"Proctored Assessment"};function o(e){var t;return(null==(t=s.find(t=>t.id===e))?void 0:t.label)||n[e]||e}},91929:(e,t,r)=>{"use strict";function a(){{let e=window.location.hostname;if(e.startsWith("reci.")||"rhanta.com"===e||"www.rhanta.com"===e)return"https://api.rhanta.com/api/v1"}return"https://api.reworkdigital.io/api/v1".replace(/\/$/,"")}function s(){try{return new URL(a()).origin}catch(e){return a()}}r.d(t,{G:()=>a,p:()=>s})},97995:(e,t,r)=>{"use strict";r.r(t),r.d(t,{default:()=>q});var a=r(37876),s=r(75961),l=r.n(s),i=r(14232),n=r(89099),o=r(77328),c=r.n(o),d=r(33802),x=r(67609),u=r(50873),p=r(42009),m=r(31083),h=r(61052),b=r(98136),f=r(54410),j=r(32e3),g=r(74206),k=r(50665),w=r(11187),y=r(12572),v=r(45691),N=r(41180),A=r(62452),R=r(73291),C=r(16075),M=r(56056),_=r(79247),E=r(79060),T=r(73262),U=r(50276),L=r(34571),W=r(64041),I=r(38297),O=r(59012),P=r(79447),S=r(91929),z=r(64365);function D(e){return e?(e.toDate?e.toDate():new Date(e)).toLocaleDateString("en-US",{month:"long",day:"numeric",year:"numeric"}):""}function F(e){return(0,a.jsx)(O.Os,{type:e,className:"w-4 h-4"})}let H=P.$j;function V(e){let t=e.metadata||{};return t.demoVideoUrl?t.demoVideoUrl:"video_demo"===e.proofType&&t.linkUrl?t.linkUrl:null}function K(e){let t=function(e){let t=(e||"").trim();if(!t)return null;for(let e of[/youtube\.com\/watch\?(?:.*&)?v=([A-Za-z0-9_-]{11})(?![A-Za-z0-9_-])/,/youtu\.be\/([A-Za-z0-9_-]{11})(?![A-Za-z0-9_-])/,/youtube\.com\/embed\/([A-Za-z0-9_-]{11})(?![A-Za-z0-9_-])/,/youtube\.com\/shorts\/([A-Za-z0-9_-]{11})(?![A-Za-z0-9_-])/,/youtube\.com\/live\/([A-Za-z0-9_-]{11})(?![A-Za-z0-9_-])/]){let r=t.match(e);if(r&&"videoseries"!==r[1])return r[1]}return null}(e||void 0);return t?"https://www.youtube-nocookie.com/embed/".concat(t,"?rel=0&modestbranding=1"):null}function B(e){let{active:t}=e,r=(0,i.useRef)(null),s=(0,i.useRef)([]),l=(0,i.useRef)(0),n=(0,i.useRef)(!1),o=["#FFD700","#FF6B6B","#4ECDC4","#45B7D1","#96CEB4","#FFEAA7","#DDA0DD","#98D8C8","#F7DC6F","#BB8FCE","#85C1E9","#F8C471","#82E0AA","#F1948A","#AED6F1"],c=(0,i.useCallback)(()=>{let e=[];for(let t=0;t<120;t++){let r=Math.random()*Math.PI*2,a=4+8*Math.random();e.push({id:t,x:window.innerWidth/2+(Math.random()-.5)*200,y:.3*window.innerHeight,rotation:360*Math.random(),scale:.5+ +Math.random(),color:o[Math.floor(Math.random()*o.length)],velocityX:Math.cos(r)*a,velocityY:-Math.abs(Math.sin(r)*a)-2,rotationSpeed:(Math.random()-.5)*10,opacity:1,shape:["rect","circle","star"][Math.floor(3*Math.random())]})}return e},[]);return((0,i.useEffect)(()=>{if(!t||n.current)return;n.current=!0;let e=r.current;if(!e)return;let a=e.getContext("2d");if(!a)return;e.width=window.innerWidth,e.height=window.innerHeight,s.current=c();let i=()=>{a.clearRect(0,0,e.width,e.height);let t=!1;s.current.forEach(r=>{if(r.velocityY+=.15,r.velocityX*=.99,r.x+=r.velocityX,r.y+=r.velocityY,r.rotation+=r.rotationSpeed,r.y>.7*e.height&&(r.opacity-=.02),!(r.opacity<=0)){if(t=!0,a.save(),a.translate(r.x,r.y),a.rotate(r.rotation*Math.PI/180),a.globalAlpha=r.opacity,a.fillStyle=r.color,"rect"===r.shape)a.fillRect(-4*r.scale,-2*r.scale,8*r.scale,4*r.scale);else if("circle"===r.shape)a.beginPath(),a.arc(0,0,3*r.scale,0,2*Math.PI),a.fill();else{let e=4*r.scale,t=2*r.scale;a.beginPath();for(let r=0;r<10;r++){let s=r%2==0?e:t,l=r*Math.PI/5-Math.PI/2;0===r?a.moveTo(Math.cos(l)*s,Math.sin(l)*s):a.lineTo(Math.cos(l)*s,Math.sin(l)*s)}a.closePath(),a.fill()}
1a.restore()}}),t&&(l.current=requestAnimationFrame(i))};return setTimeout(()=>{l.current=requestAnimationFrame(i)},300),()=>{l.current&&cancelAnimationFrame(l.current)}},[t,c]),t)?(0,a.jsx)("canvas",{ref:r,className:"fixed inset-0 z-modal pointer-events-none",style:{width:"100vw",height:"100vh"}}):null}function G(){return(0,a.jsxs)("div",{className:"relative inline-flex items-center justify-center",children:[(0,a.jsx)("div",{className:"absolute w-24 h-24 rounded-full bg-gradient-to-br from-purple-400/30 to-fuchsia-400/20 animate-pulse"}),(0,a.jsxs)("div",{className:"relative w-20 h-20 rounded-full bg-gradient-to-br from-purple-500 via-fuchsia-500 to-purple-600 shadow-lg shadow-purple-500/40 flex items-center justify-center",children:[(0,a.jsx)("div",{className:"absolute inset-1.5 rounded-full border-2 border-white/40"}),(0,a.jsx)("div",{className:"absolute inset-3 rounded-full border border-white/20"}),(0,a.jsx)(m.A,{className:"w-8 h-8 text-white drop-shadow-sm"})]})]})}function q(){let e=(0,n.useRouter)(),{token:t}=e.query,[r,s]=(0,i.useState)(!0),[o,O]=(0,i.useState)(null),[P,q]=(0,i.useState)(null),[Z,Y]=(0,i.useState)([]),[X,$]=(0,i.useState)(null),[J,Q]=(0,i.useState)(!1),[ee,et]=(0,i.useState)(!1),[er,ea]=(0,i.useState)(!1),[es,el]=(0,i.useState)("idle"),[ei,en]=(0,i.useState)("idle"),[eo,ec]=(0,i.useState)("idle"),[ed,ex]=(0,i.useState)(null);(0,i.useEffect)(()=>{let e="string"==typeof t?t:window.location.pathname.replace(/^\/certificates\/share\//,"").replace(/\/$/,"");e&&(async()=>{s(!0),$(null);try{let t=(0,u.getFirebaseFirestore)(),r=(0,p.query)((0,p.collection)(t,"build_certificates"),(0,p.where)("shareToken","==",e),(0,p.where)("status","==","active")),a=await (0,p.getDocs)(r);if(a.empty){$("Certificate not found. This link may be invalid or expired."),s(!1);return}let l=a.docs[0],i={id:l.id,...l.data()};O(i);try{let e=await (0,p.getDoc)((0,p.doc)(t,"profiles",i.userId));e.exists()&&q(e.data())}catch(e){}if(i.proofIds&&i.proofIds.length>0)try{let e=(0,p.collection)(t,"proofs_of_build"),r=[],a=[];for(let e=0;e<i.proofIds.length;e+=30)a.push(i.proofIds.slice(e,e+30));for(let t of a){let a=(0,p.query)(e,(0,p.where)((0,p.documentId)(),"in",t));(await (0,p.getDocs)(a)).docs.forEach(e=>{r.push({id:e.id,...e.data()})})}Y(r)}catch(e){}}catch(e){console.error("Failed to load certificate:",e),$("Failed to load certificate. Please try again later.")}finally{s(!1)}})()},[t]),(0,i.useEffect)(()=>{if(o&&"active"===o.status&&!r){let e=setTimeout(()=>ea(!0),100),t=setTimeout(()=>et(!0),400);return()=>{clearTimeout(e),clearTimeout(t)}}},[o,r]);let eu=()=>{let e=window.location.href;navigator.clipboard.writeText(e),Q(!0),setTimeout(()=>Q(!1),2e3)},ep=async()=>{let e=window.location.href;if("undefined"!=typeof navigator&&navigator.share)try{await navigator.share({title:"".concat(null==o?void 0:o.title," - REWORK. Certificate"),text:"Check out this verified certificate from REWORK.",url:e})}catch(e){eu()}else eu()},em=async()=>{if(o&&"loading"!==es){el("loading");try{let e=await fetch("".concat((0,S.G)(),"/proofs/certificates/share/").concat(encodeURIComponent(o.shareToken),"/credential"));if(!e.ok)throw Error("HTTP ".concat(e.status));let t=await e.json(),r=null==t?void 0:t.credential;if("string"!=typeof r||!r)throw Error("malformed credential response");let a=new Blob([r],{type:"application/jwt"}),s=URL.createObjectURL(a),l=document.createElement("a");l.href=s,l.download="rework-credential-".concat(o.certificateId,".jwt"),document.body.appendChild(l),l.click(),l.remove(),URL.revokeObjectURL(s),el("idle")}catch(e){console.error("Credential download failed:",e),el("error")}}},eh=async e=>{if(o&&"loading"!==ei){en("loading");try{let t=await fetch("".concat((0,S.G)(),"/proofs/certificates/share/").concat(encodeURIComponent(o.shareToken))+"/video-receipt?proof_id=".concat(encodeURIComponent(e)));if(!t.ok)throw Error("HTTP ".concat(t.status));let r=await t.json(),a=null==r?void 0:r.credential;if("string"!=typeof a||!a)throw Error("malformed receipt response");let s=new Blob([a],{type:"application/jwt"}),l=URL.createObjectURL(s),i=document.createElement("a");i.href=l,i.download="rework-video-receipt-".concat(o.certificateId,".jwt"),document.body.appendChild(i),i.click(),i.remove(),URL.revokeObjectURL(l),en("idle")}catch(e){console.error("Video receipt download failed:",e),en("error")}}},eb=async()=>
1{if(o&&"loading"!==eo){ec("loading");try{let e=await fetch("".concat((0,S.G)(),"/proofs/certificates/share/").concat(encodeURIComponent(o.shareToken),"/passport"));if(!e.ok)throw Error("HTTP ".concat(e.status));let t=await e.json(),r=null==t?void 0:t.credential;if("string"!=typeof r||!r)throw Error("malformed passport response");let a=new Blob([r],{type:"application/jwt"}),s=URL.createObjectURL(a),l=document.createElement("a");l.href=s,l.download="rework-reputation-passport.jwt",document.body.appendChild(l),l.click(),l.remove(),URL.revokeObjectURL(s),ec("idle")}catch(e){console.error("Passport download failed:",e),ec("error")}}},ef=e=>{if(!o)return;let t="".concat((0,S.G)(),"/proofs/certificates/share/").concat(o.shareToken,"/badge.svg"),r="".concat(x.W6,"/certificates/share/").concat(o.shareToken,"/"),a="md"===e?"[](").concat(r,")"):'<a href="'.concat(r,'"><img src="').concat(t,'" alt="REWORK verified proof-of-work" /></a>');navigator.clipboard.writeText(a),ex(e),setTimeout(()=>ex(null),2e3)},ej=P?"".concat(P.firstName||""," ").concat(P.lastName||"").trim():"REWORK. Professional",eg=(null==P?void 0:P.profilePicUrl)||(null==P?void 0:P.photoURL)||null,ek=[null==P?void 0:P.city,null==P?void 0:P.country].filter(Boolean).join(", "),ew=(null==o?void 0:o.status)==="active",ey=(()=>{for(let e of Z){let t=K(V(e));if(t)return{embed:t,proof:e,url:V(e)}}return null})(),ev=(()=>{for(let e of Z){let t=V(e);if(t&&e.videoReviewedAt)return{proof:e,url:t,embeddable:!!K(t)}}return null})(),eN=Z.map(e=>{var t,r;let a=null==(t=e.metadata)?void 0:t.outcome;return a&&a.metric&&a.metric.trim()&&a.result&&a.result.trim()?{metric:a.metric.trim(),result:a.result.trim(),method:(null==(r=a.method)?void 0:r.trim())||"",verified:!!e.outcomeVerifiedAt}:null}).filter(e=>!!e);return r?(0,a.jsxs)(d.A,{children:[(0,a.jsx)(c(),{children:(0,a.jsx)("title",{children:"Loading Certificate... | REWORK."})}),(0,a.jsx)("div",{className:"min-h-screen flex items-center justify-center bg-gradient-to-b from-slate-50 to-white dark:from-neutral-950 dark:to-neutral-900",children:(0,a.jsxs)("div",{className:"text-center",children:[(0,a.jsx)("div",{className:"w-16 h-16 rounded-full bg-purple-50 dark:bg-purple-500/10 flex items-center justify-center mx-auto mb-4",children:(0,a.jsx)(h.A,{className:"w-7 h-7 animate-spin text-purple-500"})}),(0,a.jsx)("p",{className:"text-neutral-500 dark:text-neutral-400 text-sm font-medium",children:"Loading certificate..."})]})})]}):X||!o?(0,a.jsxs)(d.A,{children:[(0,a.jsx)(c(),{children:(0,a.jsx)("title",{children:"Certificate Not Found | REWORK."})}),(0,a.jsx)("div",{className:"min-h-screen flex items-center justify-center bg-gradient-to-b from-slate-50 to-white dark:from-neutral-950 dark:to-neutral-900",children:(0,a.jsxs)("div",{className:"text-center max-w-md mx-auto px-4",children:[(0,a.jsx)("div",{className:"w-16 h-16 rounded-2xl bg-red-50 dark:bg-red-500/10 flex items-center justify-center mx-auto mb-4",children:(0,a.jsx)(b.A,{className:"w-8 h-8 text-red-400"})}),(0,a.jsx)("h1",{className:"text-xl font-bold text-neutral-900 dark:text-white mb-2",children:"Certificate Not Found"}),(0,a.jsx)("p",{className:"text-neutral-500 dark:text-neutral-400 text-sm mb-6",children:X||"This link may be invalid or expired."}),(0,a.jsx)("button",{onClick:()=>e.push("/"),className:"px-6 py-2.5 bg-black dark:bg-white text-white dark:text-black rounded-full text-sm font-semibold hover:bg-neutral-800 dark:hover:bg-neutral-200 transition-colors",children:"Go Home"})]})})]}):(0,a.jsxs)(d.A,{children:[(0,a.jsxs)(c(),{children:[(0,a.jsxs)("title",{className:"jsx-9d550e76ec766b1e",children:[o.title," - ",ej," | REWORK. Certificate"]}),(0,a.jsx)("meta",{name:"description",content:"".concat(ej,"'s verified certificate: ").concat(o.title,".").concat(o.category?" Category: ".concat(o.category,"."):""," Skills: ").concat(o.skills.join(", "),". Verified by REWORK."),className:"jsx-9d550e76ec766b1e"}),(0,a.jsx)("meta",{property:"og:title",content:"".concat(o.title," - Verified Certificate"),className:"jsx-9d550e76ec766b1e"}),(0,a.jsx)("meta",{property:"og:description",content:"".concat(ej," has earned a verified certificate for ").concat(o.title," on REWORK."),className:"jsx-9d550e76ec766b1e"}),(0,a.jsx)("meta",{property:"og:type",content:"article",className:"jsx-9d550e76ec766b1e"}),(0,a.jsx)("meta",{property:"og:url",content:"".concat(x.W6,"/certificates/share/").concat(o.shareToken),className:"jsx-9d550e76ec766b1e"}),(0,a.jsx)("meta",{property:"og:image",content:"".concat(x.W6,"/api/og-image?platform=certificate&title=").concat(encodeURIComponent(o.title),"&holder=").concat(encodeURIComponent(ej),"&proofs=").concat(o.proofCount||0),className:"jsx-9d550e76ec766b1e"}
1),(0,a.jsx)("meta",{property:"og:image:width",content:"1200",className:"jsx-9d550e76ec766b1e"}),(0,a.jsx)("meta",{property:"og:image:height",content:"630",className:"jsx-9d550e76ec766b1e"}),(0,a.jsx)("meta",{name:"twitter:card",content:"summary_large_image",className:"jsx-9d550e76ec766b1e"}),(0,a.jsx)("meta",{name:"twitter:title",content:"".concat(o.title," - Verified Certificate"),className:"jsx-9d550e76ec766b1e"}),(0,a.jsx)("meta",{name:"twitter:description",content:"".concat(ej," has earned a verified certificate for ").concat(o.title," on REWORK."),className:"jsx-9d550e76ec766b1e"}),(0,a.jsx)("meta",{name:"twitter:image",content:"".concat(x.W6,"/api/og-image?platform=certificate&title=").concat(encodeURIComponent(o.title),"&holder=").concat(encodeURIComponent(ej),"&proofs=").concat(o.proofCount||0),className:"jsx-9d550e76ec766b1e"})]}),(0,a.jsx)(B,{active:ee}),(0,a.jsx)(l(),{id:"9d550e76ec766b1e",children:"@keyframes shimmer{0%{background-position:-200%center}100%{background-position:200%center}}@keyframes float-in{0%{opacity:0;transform:translatey(30px)scale(.97)}100%{opacity:1;transform:translatey(0)scale(1)}}@keyframes badge-pop{0%{transform:scale(0);opacity:0}60%{transform:scale(1.15)}100%{transform:scale(1);opacity:1}}@keyframes border-glow{0%,100%{border-color:rgba(168,85,247,.3)}50%{border-color:rgba(168,85,247,.6)}}.cert-float-in{animation:float-in.8s cubic-bezier(.16,1,.3,1)forwards;opacity:0}
1.badge-pop{animation:badge-pop.6s cubic-bezier(.34,1.56,.64,1).5s forwards;opacity:0;transform:scale(0)}.shimmer-text{background:linear-gradient(90deg,#6d28d9 0%,#a855f7 25%,#e9d5ff 50%,#a855f7 75%,#6d28d9 100%);background-size:200%auto;-webkit-background-clip:text;background-clip:text;-webkit-text-fill-color:transparent;animation:shimmer 3s linear infinite}.cert-border-glow{animation:border-glow 3s ease-in-out infinite}"}),(0,a.jsxs)("div",{className:"jsx-9d550e76ec766b1e min-h-screen bg-gradient-to-b from-slate-50 via-white to-slate-50 dark:from-neutral-950 dark:via-neutral-900 dark:to-neutral-950",children:[(0,a.jsx)("div",{className:"jsx-9d550e76ec766b1e bg-white/80 dark:bg-neutral-900/80 backdrop-blur-sm border-b border-neutral-100 dark:border-neutral-800 sticky top-0 z-10",children:(0,a.jsxs)("div",{className:"jsx-9d550e76ec766b1e max-w-4xl mx-auto px-4 py-3 flex items-center justify-between",children:[(0,a.jsxs)("div",{className:"jsx-9d550e76ec766b1e flex items-center gap-2.5",children:[(0,a.jsx)("div",{className:"jsx-9d550e76ec766b1e w-7 h-7 rounded-lg bg-gradient-to-br from-purple-400 to-purple-500 flex items-center justify-center",children:(0,a.jsx)(f.A,{className:"w-3.5 h-3.5 text-white"})}),(0,a.jsxs)("span",{className:"jsx-9d550e76ec766b1e text-xs text-neutral-600 dar
1k:text-neutral-300 font-semibold tracking-wide",children:["REWORK. ",(0,a.jsx)("span",{className:"jsx-9d550e76ec766b1e text-neutral-300 dark:text-neutral-600 mx-1",children:"|"})," Verified Certificate"]})]}),(0,a.jsxs)("div",{className:"jsx-9d550e76ec766b1e flex items-center gap-2",children:[(0,a.jsxs)("button",{onClick:eu,className:"jsx-9d550e76ec766b1e inline-flex items-center gap-1.5 px-3 py-1.5 rounded-lg border border-neutral-200 dark:border-neutral-700 bg-white dark:bg-neutral-800 hover:bg-neutral-50 dark:hover:bg-neutral-700 text-xs text-neutral-600 dark:text-neutral-300 font-medium transition-all hover:border-neutral-300 dark:hover:border-neutral-600",children:[J?(0,a.jsx)(j.A,{className:"w-3.5 h-3.5 text-emerald-600"}):(0,a.jsx)(g.A,{className:"w-3.5 h-3.5"}),J?"Copied!":"Copy Link"]}),(0,a.jsxs)("button",{onClick:ep,className:"jsx-9d550e76ec766b1e inline-flex items-center gap-1.5 px-3 py-1.5 rounded-lg bg-neutral-900 dark:bg-white text-white dark:text-black text-xs font-medium hover:bg-neutral-800 dark:hover:bg-neutral-200 transition-colors",children:[(0,a.jsx)(k.A,{className:"w-3.5 h-3.5"}),"Share"]})]})]})}),(0,a.jsxs)("div",{className:"jsx-9d550e76ec766b1e max-w-3xl mx-auto px-4 py-10 sm:py-14",children:[(0,a.jsxs)("div",{style:{border:"2px solid rgba(168, 85, 247, 0.25)"},className:"jsx-9d550e76ec766b1e "+"bg-white dark:bg-neutral-900 rounded-3xl shadow-xl shadow-neutral-200/50 dark:shadow-black/40 overflow-hidden transition-all duration-700 ".concat(er?"cert-float-in":"opacity-0"),children:[(0,a.jsxs)("div",{className:"jsx-9d550e76ec766b1e relative overflow-hidden",children:[(0,a.jsx)("div",{className:"jsx-9d550e76ec766b1e absolute inset-0 bg-gradient-to-br from-neutral-900 via-neutral-850 to-neutral-900"}),(0,a.jsx)("div",{className:"jsx-9d550e76ec766b1e absolute inset-0 opacity-[0.05]",children:(0,a.jsxs)("svg",{width:"100%",height:"100%",xmlns:"http://www.w3.org/2000/svg",className:"jsx-9d550e76ec766b1e",children:[(0,a.jsx)("defs",{className:"jsx-9d550e76ec766b1e",children:(0,a.jsxs)("pattern",{id:"cert-pattern",x:"0",y:"0",width:"56",height:"56",patternUnits:"userSpaceOnUse",className:"jsx-9d550e76ec766b1e",children:[(0,a.jsx)("path",{d:"M28 0 V28 H56 M28 28 V56 M0 28 H28",fill:"none",stroke:"white",strokeWidth:"0.75",className:"jsx-9d550e76ec766b1e"}),(0,a.jsx)("circle",{cx:"28",cy:"28",r:"2.5",fill:"none",stroke:"white",strokeWidth:"0.75",className:"jsx-9d550e76ec766b1e"}),(0,a.jsx)("circle",{cx:"28",cy:"28",r:"1",fill:"white",className:"jsx-9d550e76ec766b1e"})]})}),(0,a.jsx)("rect",{width:"100%",height:"100%",fill:"url(#cert-pattern)",className:"jsx-9d550e76ec766b1e"})]})}),(0,a.jsx)("div",{className:"jsx-9d550e76ec766b1e absolute -top-20 -left-20 w-64 h-64 rounded-full border border-white/[0.04]"}),(0,a.jsx)("div",{className:"jsx-9d550e76ec766b1e absolute -bottom-32 -right-32 w-80 h-80 rounded-full border border-white/[0.04]"}),(0,a.jsx)("div",{className:"jsx-9d550e76ec766b1e absolute top-1/2 left-1/2 -translate-x-1/2 -translate-y-1/2 w-[500px] h-[500px] rounded-full border border-white/[0.02]"}),(0,a.jsx)("div",{className:"jsx-9d550e76ec766b1e absolute top-0 left-0 right-0 h-1 bg-gradient-to-r from-transparent via-purple-400 to-transparent"}),(0,a.jsxs)("div",{className:"jsx-9d550e76ec766b1e relative z-10 px-8 sm:px-12 py-12 sm:py-16 text-center",children:[(0,a.jsx)("div",{className:"jsx-9d550e76ec766b1e badge-pop mb-6",children:(0,a.jsx)(G,{})}),(0,a.jsx)("div",{className:"jsx-9d550e76ec766b1e flex items-center justify-center mb-6",children:(0,a.jsx)("img",{src:"/rework-logo-white.png",alt:"REWORK.",className:"jsx-9d550e76ec766b1e h-7 sm:h-8 w-auto object-contain opacity-95"})}),(0,a.jsxs)("div",{className:"jsx-9d550e76ec766b1e inline-flex items-center gap-1.5 mb-3 px-3 py-1 rounded-full bg-white/5 border border-white/10 text-[10px] font-semibold uppercase tracking-[0.2em] text-purple-200",children:[(0,a.jsx)(w.A,{className:"w-3 h-3"}),"AI & Automation"]}),(0,a.jsx)("h1",{className:"jsx-9d550e76ec766b1e text-2xl sm:text-4xl font-bold text-white tracking-tight mb-2",children:"Certificate of Verified Automation Work"}),(0,a.jsx)("p",{className:"jsx-9d550e76ec766b1e text-neutral-400 text-sm sm:text-base max-w-lg mx-auto",children:"Proof of work - an AI & automation deliverable verified by REWORK, demonstrated in action."}
1),(0,a.jsxs)("div",{className:"jsx-9d550e76ec766b1e "+"inline-flex items-center gap-2 mt-8 px-5 py-2 rounded-full text-xs font-bold tracking-wide uppercase ".concat(ew?"bg-emerald-500/15 text-emerald-300 border border-emerald-400/25":"bg-red-500/15 text-red-300 border border-red-400/25"),children:[ew?(0,a.jsx)(j.A,{className:"w-4 h-4"}):(0,a.jsx)(b.A,{className:"w-4 h-4"}),ew?"Verified & Active":"Certificate Revoked"]})]})]}),(0,a.jsxs)("div",{className:"jsx-9d550e76ec766b1e px-8 sm:px-12 py-10 sm:py-14",children:[(0,a.jsxs)("div",{className:"jsx-9d550e76ec766b1e text-center mb-12",children:[(0,a.jsx)("p",{className:"jsx-9d550e76ec766b1e text-[11px] text-neutral-400 uppercase tracking-[0.2em] font-semibold mb-5",children:"This certifies that"}),(0,a.jsxs)("div",{className:"jsx-9d550e76ec766b1e flex flex-col items-center gap-4 mb-3",children:[eg?(0,a.jsx)("img",{src:eg,alt:ej,className:"jsx-9d550e76ec766b1e w-20 h-20 rounded-full object-cover border-4 border-purple-100 shadow-lg shadow-purple-100/30"}):(0,a.jsx)("div",{className:"jsx-9d550e76ec766b1e w-20 h-20 rounded-full bg-gradient-to-br from-purple-50 to-purple-100 flex items-center justify-center border-4 border-purple-50 shadow-lg shadow-purple-100/30",children:(0,a.jsx)(y.A,{className:"w-8 h-8 text-purple-600/60"})}),(0,a.jsxs)("div",{className:"jsx-9d550e76ec766b1e text-center",children:[(0,a.jsx)("h2",{className:"jsx-9d550e76ec766b1e text-2xl sm:text-3xl font-bold text-neutral-900 dark:text-white mb-1",children:ej}),(null==P?void 0:P.headline)&&(0,a.jsx)("p",{className:"jsx-9d550e76ec766b1e text-sm text-neutral-500 dark:text-neutral-400",children:P.headline}),ek&&(0,a.jsx)("p",{className:"jsx-9d550e76ec766b1e text-xs text-neutral-400 mt-1",children:ek})]})]}),(null==P?void 0:P.username)&&(0,a.jsxs)("a",{href:"/professional/".concat(P.username,"/"),className:"jsx-9d550e76ec766b1e inline-flex items-center gap-1.5 text-xs text-purple-600 hover:text-purple-700 font-medium transition-colors mt-2",children:["View Full Profile ",(0,a.jsx)(v.A,{className:"w-3 h-3"})]})]}),(0,a.jsxs)("div",{className:"jsx-9d550e76ec766b1e flex items-center gap-4 mb-12",children:[(0,a.jsx)("div",{className:"jsx-9d550e76ec766b1e flex-1 h-px bg-gradient-to-r from-transparent to-purple-200/60"}),(0,a.jsx)("div",{className:"jsx-9d550e76ec766b1e w-2 h-2 rounded-full bg-purple-300/50"}),(0,a.jsx)("div",{className:"jsx-9d550e76ec766b1e flex-1 h-px bg-gradient-to-l from-transparent to-purple-200/60"})]}),(0,a.jsxs)("div",{className:"jsx-9d550e76ec766b1e text-center mb-12",children:[(0,a.jsx)("p",{className:"jsx-9d550e76ec766b1e text-[11px] text-neutral-400 uppercase tracking-[0.2em] font-semibold mb-4",children:"Has demonstrated verified proficiency in"}),(0,a.jsx)("h3",{className:"jsx-9d550e76ec766b1e text-2xl sm:text-3xl font-bold text-neutral-900 dark:text-white mb-4 leading-tight",children:o.title}),o.category&&(0,a.jsxs)("p",{className:"jsx-9d550e76ec766b1e mb-8 text-sm text-neutral-500 dark:text-neutral-400",children:[o.category,o.subcategory&&(0,a.jsxs)("span",{className:"jsx-9d550e76ec766b1e text-neutral-400 dark:text-neutral-500",children:[" \xb7 ",o.subcategory]})]}),!o.category&&(0,a.jsx)("div",{className:"jsx-9d550e76ec766b1e mb-8"}),o.skills.length>0&&(0,a.jsx)("div",{className:"jsx-9d550e76ec766b1e flex flex-wrap justify-center gap-2",children:o.skills.map(e=>(0,a.jsx)("span",{className:"jsx-9d550e76ec766b1e px-4 py-2 rounded-full bg-purple-50 dark:bg-purple-500/10 text-purple-800 dark:text-purple-300 text-sm font-medium border border-purple-100 dark:border-purple-500/20",children:e},e))})]}),eN.length>0&&(0,a.jsxs)("div",{className:"jsx-9d550e76ec766b1e mb-12",children:[(0,a.jsxs)("div",{className:"jsx-9d550e76ec766b1e flex items-center gap-4 mb-5",children:[(0,a.jsx)("div",{className:"jsx-9d550e76ec766b1e flex-1 h-px bg-gradient-to-r from-transparent to-purple-200/60 dark:to-purple-500/30"}),(0,a.jsxs)("span",{className:"jsx-9d550e76ec766b1e inline-flex items-center gap-1.5 text-[11px] font-semibold uppercase tracking-[0.2em] text-purple-600 dark:text-purple-400",children:[(0,a.jsx)(N.A,{className:"w-4 h-4"}
1)," Verified Result",1!==eN.length?"s":""]}),(0,a.jsx)("div",{className:"jsx-9d550e76ec766b1e flex-1 h-px bg-gradient-to-l from-transparent to-purple-200/60 dark:to-purple-500/30"})]}),(0,a.jsx)("div",{className:"jsx-9d550e76ec766b1e "+"grid gap-3 ".concat(eN.length>1?"sm:grid-cols-2":""),children:eN.map((e,t)=>(0,a.jsxs)("div",{className:"jsx-9d550e76ec766b1e rounded-2xl border border-purple-100 dark:border-purple-500/20 bg-purple-50/50 dark:bg-purple-500/[0.07] p-5 text-center",children:[(0,a.jsx)("p",{className:"jsx-9d550e76ec766b1e text-[10px] uppercase tracking-[0.18em] font-bold text-purple-600/80 dark:text-purple-300/80 mb-1.5",children:e.metric}),(0,a.jsx)("p",{className:"jsx-9d550e76ec766b1e text-2xl sm:text-3xl font-bold text-neutral-900 dark:text-white leading-tight",children:e.result}),e.verified&&(0,a.jsxs)("span",{className:"jsx-9d550e76ec766b1e inline-flex items-center gap-1 mt-2.5 px-2.5 py-1 rounded-full bg-emerald-50 dark:bg-emerald-500/15 text-emerald-700 dark:text-emerald-300 text-[10px] font-bold uppercase tracking-wide",children:[(0,a.jsx)(m.A,{className:"w-3 h-3"})," Verified by REWORK"]}),e.method&&(0,a.jsxs)("p",{className:"jsx-9d550e76ec766b1e text-xs text-neutral-500 dark:text-neutral-400 mt-2 leading-relaxed",children:[(0,a.jsx)("span",{className:"jsx-9d550e76ec766b1e font-semibold text-neutral-600 dar
1k:text-neutral-300",children:"How it was measured:"})," ",e.method]})]},t))})]}),ey&&(0,a.jsxs)("div",{className:"jsx-9d550e76ec766b1e mb-12",children:[(0,a.jsxs)("div",{className:"jsx-9d550e76ec766b1e flex items-center gap-4 mb-5",children:[(0,a.jsx)("div",{className:"jsx-9d550e76ec766b1e flex-1 h-px bg-gradient-to-r from-transparent to-purple-200/60"}),(0,a.jsxs)("span",{className:"jsx-9d550e76ec766b1e inline-flex items-center gap-1.5 text-[11px] font-semibold uppercase tracking-[0.2em] text-purple-600",children:[(0,a.jsx)(A.A,{className:"w-4 h-4"})," Watch the Build"]}),(0,a.jsx)("div",{className:"jsx-9d550e76ec766b1e flex-1 h-px bg-gradient-to-l from-transparent to-purple-200/60"})]}),(0,a.jsx)("div",{className:"jsx-9d550e76ec766b1e relative rounded-2xl overflow-hidden bg-neutral-900 ring-1 ring-purple-200/70 shadow-lg shadow-purple-100/50",children:(0,a.jsx)("div",{className:"jsx-9d550e76ec766b1e relative w-full aspect-video",children:(0,a.jsx)("iframe",{src:ey.embed,title:"Proof-of-work demonstration",loading:"lazy",referrerPolicy:"strict-origin-when-cross-origin",allow:"accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture; web-share",allowFullScreen:!0,className:"jsx-9d550e76ec766b1e absolute inset-0 w-full h-full"})})}),(0,a.jsx)("p",{className:"jsx-9d550e76ec766b1e text-center text-xs text-neutral-400 mt-3",children:"A recorded demonstration of the verified work in action - the task and the result."})]}),ev&&(0,a.jsxs)("div",{className:"jsx-9d550e76ec766b1e mb-12 -mt-4",children:[(0,a.jsxs)("div",{className:"jsx-9d550e76ec766b1e flex flex-wrap items-center justify-center gap-x-4 gap-y-2",children:[(0,a.jsxs)("span",{className:"jsx-9d550e76ec766b1e inline-flex items-center gap-1.5 rounded-full bg-purple-500/10 dark:bg-purple-500/15 px-3 py-1 text-[11px] font-semibold text-purple-600 dark:text-purple-300",children:[(0,a.jsx)(R.A,{className:"w-3.5 h-3.5"})," Recording reviewed by REWORK"]}),(0,a.jsxs)("button",{onClick:()=>eh(ev.proof.id),disabled:"loading"===ei,className:"jsx-9d550e76ec766b1e inline-flex items-center gap-1.5 text-[11px] font-medium text-purple-600 dark:text-purple-400 hover:underline disabled:opacity-60 disabled:no-underline",children:["loading"===ei?(0,a.jsx)(h.A,{className:"w-3.5 h-3.5 animate-spin"}):(0,a.jsx)(C.A,{className:"w-3.5 h-3.5"}),"loading"===ei?"Preparingâ¦":"Download provenance receipt"]}),!ev.embeddable&&(0,a.jsxs)("a",{href:ev.url,target:"_blank",rel:"noopener noreferrer",className:"jsx-9d550e76ec766b1e inline-flex items-center gap-1.5 text-[11px] font-medium text-purple-600 dark:text-purple-400 hover:underline",children:[(0,a.jsx)(A.A,{className:"w-3.5 h-3.5"})," Watch on ",function(e){let t=(e||"").toLowerCase();return t.includes("loom.com")?"Loom":t.includes("vimeo.com")?"Vimeo":t.includes("youtube.com")||t.includes("youtu.be")?"YouTube":"source"}(ev.url)]})]}),"error"===ei&&(0,a.jsx)("p",{className:"jsx-9d550e76ec766b1e mt-2 text-center text-[11px] text-red-500",children:"Receipt couldn't be generated right now. Please try again shortly."})]}),(0,a.jsxs)("div",{className:"jsx-9d550e76ec766b1e flex items-center gap-4 mb-10",children:[(0,a.jsx)("div",{className:"jsx-9d550e76ec766b1e flex-1 h-px bg-gradient-to-r from-transparent to-neutral-200 dark:to-neutral-700"}),(0,a.jsx)(M.A,{className:"w-4 h-4 text-neutral-300 dark:text-neutral-600"}),(0,a.jsx)("div",{className:"jsx-9d550e76ec766b1e flex-1 h-px bg-gradient-to-l from-transparent to-neutral-200 dark:to-neutral-700"})]}),Z.length>0&&(0,a.jsxs)("div",{className:"jsx-9d550e76ec766b1e mb-10",children:[(0,a.jsxs)("h4",{className:"jsx-9d550e76ec766b1e text-sm font-semibold text-neutral-900 dark:text-white mb-4 flex items-center gap-2",children:[(0,a.jsx)(f.A,{className:"w-4 h-4 text-purple-500"}),"Verified Evidence (",Z.length,")"]}),(0,a.jsx)("div",{className:"jsx-9d550e76ec766b1e space-y-3",children:Z.map(e=>{var t,r,s,l,i;return(0,a.jsxs)("div",{className:"jsx-9d550e76ec766b1e flex items-start gap-3 p-4 rounded-2xl bg-neutral-50 dark:bg-neutral-800/50 border border-neutral-100 dark:border-neutral-800 hover:border-neutral-200 dark:hover:border-neutral-700 transition-colors",children:[(0,a.jsx)("div",{className:"jsx-9d550e76ec766b1e w-10 h-10 rounded-xl bg-white dark:bg-neutral-900 border border-neutral-200 dark:border-neutral-700 flex items-center justify-center text-neutral-500 dark:text-neutral-400 flex-shrink-0 shadow-sm",children:F(e.proofType)}),(0,a.jsxs)("div",{className:"jsx-9d550e76ec766b1e flex-1 min-w-0",children:[(0,a.jsxs)("div",{className:"jsx-9d550e76ec766b1e flex items-center gap-2 mb-0.5",children:[(0,a.jsx)("h5",{className:"jsx-9d550e76ec766b1e font-semibold text-neutral-900 dark:text-white text-sm truncate",children:e.title}),"verified"===e.status&&(0,a.jsx)(j.A,{className:"w-3.5 h-3.5 text-emerald-500 flex-shrink-0"})]}),e.description&&(0,a.jsx)("p",{className:"jsx-9d550e76ec766b1e text-xs text-neutral-500 dark:text-neutral-400 line-clamp-2 mb-1.5",children:e.description}),(0,a.jsxs)("div",{className:"jsx-9d550e76ec766b1e flex flex-wrap items-center gap-2 text-xs text-neutral-400 dark:text-neutral-500",children:[(0,a.jsxs)("span",{className:"jsx-9d550e76ec766b1e inline-flex items-center gap-1 px-2 py-0.5 bg-white dark:bg-neutral-900 border border-neutral-200 dark:border-neutral-700 rounded-md",children:[F(e.proofType),H(e.proofType)]}),e.verifiedAt&&(0,a.jsxs)("span",{className:"jsx-9d550e76ec766b1e flex items-center gap-1",children:[(0,a.jsx)(_.A,{className:"w-3 h-3"}),"Verified ",D(e.verifiedAt)]})]}),(0,a.jsxs)("div",{className:"jsx-9d550e76ec766b1e flex flex-wrap gap-2 mt-2",children:[(null==(t=e.metadata)?void 0:t.repoUrl)&&(0,a.jsxs)("a",{href:(0,z.O)(e.metadata.repoUrl),target:"_blank",rel:"noopener noreferrer",className:"jsx-9d550e76ec766b1e inline-flex items-center gap-1 text-xs text-neutral-500 dark:text-neutral-400 hover:text-neutral-900 dark:hover:text-white transition-colors",children:[(0,a.jsx)(E.A,{className:"w-3 h-3"})," Repository ",(0,a.jsx)(v.A,{className:"w-2.5 h-2.5"})]}),(null==(r=e.metadata)?void 0:r.prUrl)&&(0,a.jsxs)("a",{href:(0,z.O)(e.metadata.prUrl),target:"_blank",rel:"noopener noreferrer",className:"jsx-9d550e76ec766b1e inline-flex items-center gap-1 text-xs text-neutral-500 dark:text-neutral-400 hover:text-neutral-900 dark:hover:text-white transition-colors",children:[(0,a.jsx)(T.A,{className:"w-3 h-3"})," PR #",e.metadata.prNumber," ",(0,a.jsx)(v.A,{className:"w-2.5 h-2.5"})]}),(null==(s=e.metadata)?void 0:s.modelUrl)&&(0,a.jsxs)("a",{href:(0,z.O)(e.metadata.modelUrl),target:"_blank",rel:"noopener noreferrer",className:"jsx-9d550e76ec766b1e inline-flex items-center gap-1 text-xs text-neutral-500 dark:text-neutral-400 hover:text-neutral-900 dark:hover:text-white transition-colors",children:[(0,a.jsx)(I.A,{className:"w-3 h-3"})," Model ",(0,a.jsx)(v.A,{className:"w-2.5 h-2.5"})]}),(null==(l=e.metadata)?void 0:l.linkUrl)&&(0,a.jsxs)("a",{href:(0,z.O)(e.metadata.linkUrl),target:"_blank",rel:"noopener noreferrer",className:"jsx-9d550e76ec766b1e inline-flex items-center gap-1 text-xs text-neutral-500 dark:text-neutral-400 hover:text-neutral-900 dark:hover:text-white transition-colors",children:[(0,a.jsx)(U.A,{className:"w-3 h-3"})," View ",(0,a.jsx)(v.A,{className:"w-2.5 h-2.5"})]})]}),(null==(i=e.metadata)?void 0:i.skills)&&e.metadata.skills.length>0&&(0,a.jsx)("div",{className:"jsx-9d550e76ec766b1e flex flex-wrap gap-1 mt-2",children:e.metadata.skills.map(e=>(0,a.jsx)("span",{className:"jsx-9d550e76ec766b1e px-2 py-0.5 bg-white dark:bg-neutral-900 border border-neutral-200 dark:border-neutral-700 rounded text-xs text-neutral-500 dark:text-neutral-400",children:e},e))})]})]},e.id)})})]}),0===Z.length&&o.proofCount>0&&(0,a.jsxs)("div",{className:"jsx-9d550e76ec766b1e mb-10 bg-purple-50/50 dark:bg-purple-500/[0.07] border border-purple-100 dar
1k:border-purple-500/20 rounded-2xl p-6 text-center",children:[(0,a.jsx)("div",{className:"jsx-9d550e76ec766b1e w-12 h-12 rounded-full bg-purple-100 dark:bg-purple-500/15 flex items-center justify-center mx-auto mb-3",children:(0,a.jsx)(M.A,{className:"w-6 h-6 text-purple-600 dark:text-purple-400"})}),(0,a.jsxs)("p",{className:"jsx-9d550e76ec766b1e text-sm text-neutral-700 dark:text-neutral-200 font-semibold",children:[o.proofCount," verified proof",1!==o.proofCount?"s":""," of work"]}),(0,a.jsx)("p",{className:"jsx-9d550e76ec766b1e text-xs text-neutral-500 dark:text-neutral-400 mt-1",children:"Linked to this certificate as evidence of demonstrated skills"})]}),(0,a.jsxs)("div",{className:"jsx-9d550e76ec766b1e grid grid-cols-1 sm:grid-cols-3 gap-4 mb-10",children:[(0,a.jsxs)("div",{className:"jsx-9d550e76ec766b1e bg-neutral-50 dark:bg-neutral-800/50 rounded-2xl p-5 text-center border border-neutral-100 dark:border-neutral-800",children:[(0,a.jsx)("div",{className:"jsx-9d550e76ec766b1e w-9 h-9 rounded-lg bg-white dark:bg-neutral-900 border border-neutral-200 dark:border-neutral-700 flex items-center justify-center mx-auto mb-2.5 shadow-sm",children:(0,a.jsx)(L.A,{className:"w-4 h-4 text-neutral-400"})}),(0,a.jsx)("p",{className:"jsx-9d550e76ec766b1e text-[10px] text-neutral-400 uppercase tracking-wider font-bold mb-1",children:"Certificate ID"}),(0,a.jsx)("p",{className:"jsx-9d550e76ec766b1e font-mono text-xs text-neutral-700 dark:text-neutral-300 break-all",children:o.certificateId})]}),(0,a.jsxs)("div",{className:"jsx-9d550e76ec766b1e bg-neutral-50 dark:bg-neutral-800/50 rounded-2xl p-5 text-center border border-neutral-100 dark:border-neutral-800",children:[(0,a.jsx)("div",{className:"jsx-9d550e76ec766b1e w-9 h-9 rounded-lg bg-white dark:bg-neutral-900 border border-neutral-200 dark:border-neutral-700 flex items-center justify-center mx-auto mb-2.5 shadow-sm",children:(0,a.jsx)(W.A,{className:"w-4 h-4 text-neutral-400"})}),(0,a.jsx)("p",{className:"jsx-9d550e76ec766b1e text-[10px] text-neutral-400 uppercase tracking-wider font-bold mb-1",children:"Date Issued"}),(0,a.jsx)("p",{className:"jsx-9d550e76ec766b1e text-xs text-neutral-700 dark:text-neutral-300 font-medium",children:D(o.issuedAt)})]}),(0,a.jsxs)("div",{className:"jsx-9d550e76ec766b1e bg-neutral-50 dark:bg-neutral-800/50 rounded-2xl p-5 text-center border border-neutral-100 dark:border-neutral-800",children:[(0,a.jsx)("div",{className:"jsx-9d550e76ec766b1e w-9 h-9 rounded-lg bg-white dark:bg-neutral-900 border border-neutral-200 dark:border-neutral-700 flex items-center justify-center mx-auto mb-2.5 shadow-sm",children:(0,a.jsx)(f.A,{className:"w-4 h-4 text-neutral-400"})}),(0,a.jsx)("p",{className:"jsx-9d550e76ec766b1e text-[10px] text-neutral-400 uppercase tracking-wider font-bold mb-1",children:"Status"}),(0,a.jsx)("p",{className:"jsx-9d550e76ec766b1e "+"text-xs font-bold ".concat(ew?"text-emerald-600":"text-red-600"),children:ew?"Active & Verified":"Revoked"})]})]}),ew&&(0,a.jsx)("div",{className:"jsx-9d550e76ec766b1e mb-10 rounded-2xl border border-purple-100 dark:border-purple-500/25 bg-gradient-to-br from-purple-50 to-white dark:from-purple-500/[0.08] dark:to-neutral-900 p-6",children:(0,a.jsxs)("div",{className:"jsx-9d550e76ec766b1e flex items-start gap-4",children:[(0,a.jsx)("div",{className:"jsx-9d550e76ec766b1e w-11 h-11 shrink-0 rounded-xl bg-purple-500/10 dark:bg-purple-500/15 flex items-center justify-center",children:(0,a.jsx)(R.A,{className:"w-6 h-6 text-purple-600 dark:text-purple-400"})}),(0,a.jsxs)("div",{className:"jsx-9d550e76ec766b1e min-w-0 flex-1",children:[(0,a.jsxs)("div",{className:"jsx-9d550e76ec766b1e flex items-center gap-2 flex-wrap",children:[(0,a.jsx)("h3",{className:"jsx-9d550e76ec766b1e text-sm font-bold text-neutral-900 dark:text-white",children:"Portable & independently verifiable"}),(0,a.jsxs)("span",{className:"jsx-9d550e76ec766b1e inline-flex items-center gap-1 rounded-full bg-purple-500/10 dark:bg-purple-500/15 px-2 py-0.5 text-[10px] font-bold uppercase tracking-wider text-purple-600 dark:text-purple-300",children:[(0,a.jsx)(m.A,{className:"w-3 h-3"})," W3C Credential"]})]}),(0,a.jsx)("p",{className:"jsx-9d550e76ec766b1e mt-1.5 text-xs leading-relaxed text-neutral-600 dar
1k:text-neutral-300",children:"Issued as a W3C Verifiable Credential signed with REWORK's Ed25519 key. Anyone can confirm it's authentic and unaltered - offline, with no login and no call back to REWORK."}),(0,a.jsxs)("div",{className:"jsx-9d550e76ec766b1e mt-3.5 flex flex-wrap items-center gap-3",children:[(0,a.jsxs)("button",{onClick:em,disabled:"loading"===es,className:"jsx-9d550e76ec766b1e inline-flex items-center gap-2 rounded-xl bg-purple-600 hover:bg-purple-700 disabled:opacity-60 disabled:cursor-not-allowed text-white text-xs font-semibold px-4 py-2.5 transition-colors",children:["loading"===es?(0,a.jsx)(h.A,{className:"w-4 h-4 animate-spin"}):(0,a.jsx)(C.A,{className:"w-4 h-4"}),"loading"===es?"Preparingâ¦":"Download credential"]}),(0,a.jsxs)("button",{onClick:eb,disabled:"loading"===eo,className:"jsx-9d550e76ec766b1e inline-flex items-center gap-2 rounded-xl border border-purple-300 dark:border-purple-500/40 text-purple-700 dark:text-purple-300 hover:bg-purple-50 dark:hover:bg-purple-500/10 disabled:opacity-60 disabled:cursor-not-allowed text-xs font-semibold px-4 py-2.5 transition-colors",children:["loading"===eo?(0,a.jsx)(h.A,{className:"w-4 h-4 animate-spin"}):(0,a.jsx)(m.A,{className:"w-4 h-4"}),"loading"===eo?"Preparingâ¦":"Reputation passport"]}),(0,a.jsxs)("a",{href:"".concat((0,S.G)(),"/proofs/credentials/jwks.json"),target:"_blank",rel:"noopener noreferrer",className:"jsx-9d550e76ec766b1e inline-flex items-center gap-1.5 text-xs font-medium text-purple-600 dark:text-purple-400 hover:underline",children:[(0,a.jsx)(v.A,{className:"w-3.5 h-3.5"})," Public key"]})]}),"error"===es&&(0,a.jsx)("p",{className:"jsx-9d550e76ec766b1e mt-2 text-xs text-red-500",children:"Credential couldn't be generated right now. Please try again shortly."}),"error"===eo&&(0,a.jsx)("p",{className:"jsx-9d550e76ec766b1e mt-2 text-xs text-red-500",children:"Passport couldn't be generated right now. Please try again shortly."}),(0,a.jsx)("div",{className:"jsx-9d550e76ec766b1e mt-4 pt-4 border-t border-purple-100 dark:border-purple-500/20",children:(0,a.jsxs)("div",{className:"jsx-9d550e76ec766b1e flex flex-wrap items-center gap-3",children:[(0,a.jsx)("img",{src:"".concat((0,S.G)(),"/proofs/certificates/share/").concat(o.shareToken,"/badge.svg"),alt:"REWORK verified proof-of-work badge",className:"jsx-9d550e76ec766b1e h-5"}),(0,a.jsx)("span",{className:"jsx-9d550e76ec766b1e text-[11px] text-neutral-500 dark:text-neutral-400",children:"Embed this live badge in a README or portfolio:"}),(0,a.jsxs)("button",{onClick:()=>ef("md"),className:"jsx-9d550e76ec766b1e inline-flex items-center gap-1.5 text-[11px] font-medium text-purple-600 dark:text-purple-400 hover:underline",children:["md"===ed?(0,a.jsx)(j.A,{className:"w-3.5 h-3.5"}):(0,a.jsx)(g.A,{className:"w-3.5 h-3.5"}),"md"===ed?"Copied!":"Copy Markdown"]}),(0,a.jsxs)("button",{onClick:()=>ef("html"),className:"jsx-9d550e76ec766b1e inline-flex items-center gap-1.5 text-[11px] font-medium text-purple-600 dark:text-purple-400 hover:underline",children:["html"===ed?(0,a.jsx)(j.A,{className:"w-3.5 h-3.5"}):(0,a.jsx)(T.A,{className:"w-3.5 h-3.5"}),"html"===ed?"Copied!":"Copy HTML"]})]})})]})]})})]})]}),(0,a.jsx)("div",{className:"jsx-9d550e76ec766b1e text-center mt-8",children:(0,a.jsxs)("p",{className:"jsx-9d550e76ec766b1e text-xs text-neutral-400",children:["This certificate is cryptographically verified by REWORK.",(0,a.jsx)("br",{className:"jsx-9d550e76ec766b1e"}),"Certificate ID: ",(0,a.jsx)("span",{className:"jsx-9d550e76ec766b1e font-mono",children:o.certificateId})]})})]})]})]})}},98136:(e,t,r)=>{"use strict";r.d(t,{A:()=>a});let a=(0,r(48900).A)("XCircle",[["circle",{cx:"12",cy:"12",r:"10",key:"1mglay"}],["path",{d:"m15 9-6 6",key:"1uzhvr"}],["path",{d:"m9 9 6 6",key:"z0biqf"}]])}},e=>{e.O(0,[82175,59402,26807,51901,91952,38965,10657,30767,33802,90636,46593,38792],()=>e(e.s=75624)),_N_E=e.O()}]);
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.