PageSourceSearch

https://zo.xyz/_next/static/chunks/8831-62ea363d6efe6728.js

js zo.xyz collected 2026-09-24 11:43:48 UTC 31,131 bytes, 1 lines download raw bytes

1"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[8831],{93314:function(e,t,r){r.d(t,{Z:function(){return z}});var n=r(52322),l=r(2784),a=r(28316),o=r(742),i=r(29582),s=r(4070),c=r(34002),d=r(60520),h=r(77668),p=r(64707);let u=3*d.$6,x=3*d.cL,g='system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif';function f(){return"undefined"!=typeof navigator&&/Android|iPhone|iPad|iPod/i.test(navigator.userAgent)}function m(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:8e3;return new Promise((r,n)=>{let l=new Image,a=window.setTimeout(()=>{l.onload=null,l.onerror=null,n(Error("Share-card image timed out"))},t);l.crossOrigin="anonymous",l.onload=()=>{window.clearTimeout(a),r(l)},l.onerror=()=>{window.clearTimeout(a),n(Error("Could not load share-card image"))};let o=new URL(e,window.location.origin);l.src="cdn.zo.xyz"===o.hostname||o.hostname.endsWith(".cdn.zo.xyz")?"/api/stamp-proxy?url=".concat(encodeURIComponent(o.href)):e})}function y(e,t,r,n,l,a){let o=Math.min(a,n/2,l/2);e.beginPath(),e.moveTo(t+o,r),e.arcTo(t+n,r,t+n,r+l,o),e.arcTo(t+n,r+l,t,r+l,o),e.arcTo(t,r+l,t,r,o),e.arcTo(t,r,t+n,r,o),e.closePath()}function b(e,t,r,n,l){e.fillText(t,r,n,l)}function w(e,t,r,n,l,a){let o=t.naturalWidth||t.width,i=t.naturalHeight||t.height;if(!o||!i)return;let s=Math.min(l/o,a/i),c=o*s,d=i*s;e.drawImage(t,r+(l-c)/2,n+(a-d)/2,c,d)}async function v(e){try{var t;let r=document.createElement("canvas");r.width=u,r.height=x;let n=r.getContext("2d");if(!n)return null;n.imageSmoothingEnabled=!0,n.imageSmoothingQuality="high",n.fillStyle=d.X5,n.fillRect(0,0,u,x);let l=(d.$6-16)*3,a=e.stats.slice(0,4),o=e.roles.length>0,i=e.cultures.length>0,s=(o?178:158)*3+(i?60:0);n.save(),y(n,24,30,l,s,54);let c=n.createLinearGradient(24,30,24,30+s);c.addColorStop(0,"rgba(246,237,228,0.98)"),c.addColorStop(1,"rgba(239,227,214,0.96)"),n.fillStyle=c,n.fill(),n.strokeStyle="rgba(255,255,255,0.82)",n.lineWidth=3,n.stroke(),n.fillStyle="#F05A2A",n.font="700 ".concat(24,"px ").concat(g),b(n,"PUBLIC PASSPORT",72,93),n.fillStyle="#202431",n.font="900 ".concat(84,"px ").concat(g),b(n,e.displayName.toUpperCase(),72,192,l-96),n.fillStyle="#596170",n.font="600 ".concat(30,"px ").concat(g),b(n,e.subtitle,72,249,l-96);let f=(l-96-18*Math.max(0,a.length-1))/Math.max(1,a.length);a.forEach((e,t)=>{let r=72+t*(f+18),l=n.createLinearGradient(r,294,r+f,468);e.colors.forEach((t,r)=>{l.addColorStop(r/Math.max(1,e.colors.length-1),t)}),y(n,r,294,f,174,36),n.fillStyle=l,n.fill(),n.fillStyle="rgba(30,25,20,0.24)",n.fillRect(r+f,303,9,165),n.fillStyle="#101114",n.textAlign="center",n.font="800 ".concat(3*Math.min(19,a.length>=4?15:19),"px ").concat(g),b(n,String(e.value),r+f/2,381,f-24),n.font="800 ".concat(3*Math.min(7,a.length>=4?6:7),"px ").concat(g),b(n,e.label.toUpperCase(),r+f/2,429,f-18),n.textAlign="left"});let v=498,k=(e,t)=>{if(!t.length)return;n.fillStyle="rgba(91,74,55,0.68)",n.font="800 ".concat(21,"px ").concat(g),b(n,e.toUpperCase(),72,v+30);let r=234;t.slice(0,2).forEach(e=>{let t=function(e,t,r,n,l,a){e.save(),e.font="700 ".concat(24,"px ").concat(g);let o=Math.min(264,Math.ceil(e.measureText(t).width)+48);return y(e,r,n,o,2.25*a,1.15*a),e.fillStyle="rgba(255,255,255,0.65)",e.fill(),e.strokeStyle="rgba(142,107,53,0.18)",e.lineWidth=1,e.stroke(),e.fillStyle="#2C241A",e.textAlign="center",e.textBaseline="middle",b(e,t,r+o/2,n+1.13*a,o-a),e.restore(),o}(n,e.label,r,v,0,24);r+=t+12}),v+=60};k("Roles",e.roles),k("Cultures",e.cultures),n.restore();let j=e.magnets.slice(0,4);if(e.passport){let r=(null===(t=e.passport.membership)||void 0===t?void 0:t.toLowerCase())==="founder",l=await m(r?p.J.founder:p.J.citizen),a=(j.length?220:260)*3;n.save(),y(n,247.5,a,585,750,48),n.clip(),n.fillStyle=r?"#191919":"#f1563f",n.fillRect(247.5,a,585,750),w(n,l,247.5,a,585,750);let o=a+375;if(n.beginPath(),n.arc(540,o,175.5,0,2*Math.PI),n.strokeStyle="white",n.lineWidth=9.99,n.stroke(),n.save(),n.beginPath(),n.arc(540,o,157.95000000000002,0,2*Math.PI),n.clip(),e.passport.avatar_image){let t=await m(e.passport.avatar_image),r=Math.min(t.naturalWi
1dth,t.naturalHeight);n.drawImage(t,(t.naturalWidth-r)/2,(t.naturalHeight-r)/2,r,r,382.04999999999995,o-157.95000000000002,315.90000000000003,315.90000000000003)}else n.fillStyle="#f1563f",n.fill();if(n.restore(),r){let e=await m("/passport/founder-badge.svg");w(n,e,602.595,a+459.75,80.01,80.01)}n.textAlign="center",n.fillStyle=r?"white":"#111",n.font="700 ".concat(60,"px ").concat(g),b(n,e.displayName,540,a+750-102,525),n.font="".concat(30,"px ").concat(g),b(n,"".concat(r?"Founder":"Citizen"," of Zo World"),540,a+750-60,525),n.restore()}let S=j.length?1440:1665;n.save(),n.font="800 ".concat(36,"px ").concat(g);let C=Math.min(780,Math.max(426,n.measureText(e.profileUrl).width+90)),B=(u-C)/2;if(y(n,B,S,C,90,45),n.fillStyle="rgba(255,255,255,0.95)",n.fill(),n.fillStyle="#292039",n.textAlign="center",n.textBaseline="middle",b(n,e.profileUrl,u/2,S+45,C-54),n.restore(),j.length){let e=S+120;y(n,24,e,(d.$6-16)*3,336,48),n.fillStyle="rgba(255,255,255,0.93)",n.fill(),n.fillStyle="#292039",n.font="800 ".concat(21,"px ").concat(g),n.textAlign="center",b(n,"MAGNETS",u/2,e+45);let t=await Promise.allSettled(j.map(e=>{let t=(0,h.S)(e.imageUrl);return t?m(t,4e3):Promise.reject(Error("Magnet artwork unavailable"))})),r=156*j.length+(j.length-1)*21;t.forEach((t,l)=>{let a=(u-r)/2+177*l,o=e+72;"fulfilled"!==t.status?(n.save(),y(n,a,o,156,156,15),n.fillStyle="rgba(235,231,244,0.92)",n.fill(),n.strokeStyle="rgba(42,27,61,0.14)",n.lineWidth=3,n.stroke(),n.fillStyle="rgba(42,27,61,0.64)",n.textAlign="center",n.textBaseline="middle",n.font="800 ".concat(45,"px ").concat(g),b(n,"✦",a+78,o+59.28)):(n.save(),y(n,a,o,156,156,15),n.clip(),w(n,t.value,a,o,156,156)),n.restore(),n.fillStyle="#2A1B3D",n.font="800 ".concat(18,"px ").concat(g),n.textAlign="center",n.textBaseline="middle",b(n,j[l].name,a+78,e+282,144)}),n.textAlign="left"}return await new Promise(e=>r.toBlob(e,"image/png"))}catch(e){return null}}async function k(e){let t=await m(e);if(!t.naturalWidth||!t.naturalHeight)throw Error("Share-card image has no dimensions");let r=document.createElement("canvas");r.width=t.naturalWidth,r.height=t.naturalHeight;let n=r.getContext("2d");if(!n)throw Error("Could not create share-card canvas");return n.drawImage(t,0,0),r.toDataURL("image/png")}async function j(e){let t=Array.from(e.querySelectorAll("img")),r=new Map;await Promise.all(t.map(async e=>{let t=e.currentSrc||e.src;if(!t||t.startsWith("data:"))return;let n=r.get(t);n||(n=k(t),r.set(t,n));try{e.srcset="",e.src=await n}catch(t){if("true"===e.dataset.shareRequired)throw t}}))}async function S(e,t){if(f()&&t)return v(t);if(!e)return null;let r={pixelRatio:3,width:d.$6,height:d.cL,backgroundColor:d.X5,skipFonts:!0};try{return await j(e),await (0,c.SE)(e,r)}catch(e){return null}}var C=r(51689),B=r(60731);function N(){return(0,n.jsxs)("svg",{width:"18",height:"18",viewBox:"0 0 24 24",fill:"none","aria-hidden":!0,children:[(0,n.jsx)("path",{d:"M4 4h6v6H4zM14 4h6v6h-6zM4 14h6v6H4z",stroke:"currentColor",strokeWidth:"1.8"}),(0,n.jsx)("path",{d:"M14 14h3v3h-3zM20 17v3h-3M17 14h3M20 14v2",stroke:"currentColor",strokeWidth:"1.8",strokeLinecap:"round"})]})}var z=e=>{let t,{isOpen:c,onClose:h,handle:p,avatarUrl:u,displayName:x,instagramOnly:g=!1,shareUrlOverride:m,shareTextOverride:y}=e;(0,i.A)(c,h);let[b,w]=(0,l.useState)(!1),[v,k]=(0,l.useState)("idle"),[j,z]=(0,l.useState)(null),[F,L]=(0,l.useState)(null),[M,A]=(0,l.useState)(!1),W=(0,l.useRef)(null),[E,P]=(0,l.useState)(null),R=(0,l.useRef)(0),U=(0,l.useRef)(null),D=e=>U.current?null:(R.current+=1,U.current=e,P(e),R.current),_=e=>R.current===e,I=e=>{_(e)&&(U.current=null,P(null))},T=p.replace(".zo",""),O=window.location.origin,H=T?"".concat(O,"/@").concat(T):O,$=y||"".concat((x||T).replace(/\.zo$/i,"")," has invited you to Tune into Zo World"),{profile:Z}=(0,o.Un)(),G=m||(0,C.sZ)(T,{handle:(null==Z?void 0:Z.custom_nickname)||(null==Z?void 0:Z.nickname),pid:null==Z?void 0:Z.pid},O),q=G.includes("ref="),X=e=>{q&&(0,B.F$)("passport_referral_link_generated",{handle:T,destination:e})},Q=e=>{(0,B.F$)("referral_share_clicked",{handle:T,destination:e})},{data:J}=(0,s.cG)(T),V=(0,l.useRef)(null),Y=(0,l.useMemo)(()=>(0,d.fG)(J,J,{displayName:x||T,profileUrl:H}),[J,x,T,H]);if((0,l.useEffect)(()=>()=>{F&&URL.revokeObjectURL(F)},[F]),(0,l.useEffect)(()=>{c||(k("idle"),w(!1),z(null),L(null),A(!1),P(null),U.current=null,R.current+=1)},[c]),(0,l.useEffect)(()=>{let e=W.current;if(!c||!M||!e)return;let t=!1;return Promise.resolve().then(r.t.bind(r,63542,23)).then(r=>{let{default:n}=r;t||new n({width:240,height:240,type:"svg",data:G,margin:8,dotsOptions:{type:"rounded",color:"#2A1B3D"},cornersSquareOptions:{type:"extra-rounded",color:"#F15824"},cornersDotOptions:{type:"dot",color:"#F15824"},backgroundOptions:{color:"#FFFFFF"}}).append(e)}
1),()=>{t=!0,e.replaceChildren()}},[c,M,G]),(0,l.useEffect)(()=>{if(!c)return;let e=e=>{if("Escape"===e.key){if("idle"!==v){k("idle");return}h()}};return document.addEventListener("keydown",e),document.body.style.overflow="hidden",()=>{document.removeEventListener("keydown",e),document.body.style.overflow=""}},[c,h,v]),!c)return null;let K=async()=>{let e=D("copy");if(null!==e)try{Q("copy"),await navigator.clipboard.writeText(G),X("copy"),_(e)&&(w(!0),setTimeout(()=>{_(e)&&w(!1)},2e3))}catch(e){}finally{I(e)}},ee=()=>S(V.current,Y),et=async(e,t)=>{if(void 0!==t&&!_(t))return!1;let r=await ee();if(void 0!==t&&!_(t)||!r)return!1;let n=URL.createObjectURL(r),l=document.createElement("a");return l.href=n,l.download=e,l.click(),URL.revokeObjectURL(n),!0},er=async()=>{let e=D("x");if(null!==e)try{Q("x"),X("x");let t="".concat($," ").concat(G);if(f()&&navigator.canShare){let r=await ee();if(!_(e))return;if(r){let e=new File([r],"zo-passport.png",{type:"image/png"});if(navigator.canShare({files:[e]}))try{await navigator.share({files:[e],text:t});return}catch(e){}}}if(await et("zo-passport.png",e),!_(e))return;window.open("https://x.com/intent/tweet?text=".concat(encodeURIComponent(t)),"_blank","noopener,noreferrer")}finally{I(e)}},en=async()=>{let e=D("whatsapp");if(null!==e)try{Q("whatsapp"),X("whatsapp");let t="".concat($," ").concat(G);if(f()&&navigator.canShare){let r=await ee();if(!_(e))return;if(r){let e=new File([r],"zo-passport.png",{type:"image/png"});if(navigator.canShare({files:[e]}))try{await navigator.share({files:[e],text:t});return}catch(e){}}}if(await et("zo-passport.png",e),!_(e))return;window.open("https://wa.me/?text=".concat(encodeURIComponent(t)),"_blank","noopener,noreferrer")}finally{I(e)}},el=async()=>{let e=D("instagram");if(null!==e)try{Q("instagram"),z(null);let t=await ee();if(!_(e))return;if(!t){z("Could not generate the story image. Please try again.");return}if(f()&&navigator.canShare){let e=new File([t],"zo-passport-story.png",{type:"image/png"});if(navigator.canShare({files:[e]}))try{await navigator.share({files:[e],title:$});return}catch(e){}}let r=URL.createObjectURL(t);if(!_(e)){URL.revokeObjectURL(r);return}let n=document.createElement("a");n.href=r,n.download="zo-passport-story.png",n.click(),L(r),k("instructions")}finally{I(e)}},ea=null!==E,eo=e=>E===e,ei=e=>ea&&!eo(e)?{opacity:.38,filter:"grayscale(1)",cursor:"wait"}:ea?{cursor:"wait"}:void 0,es=(e,t)=>eo(e)?"instagram"===e?"Preparing story card…":"x"===e?"Preparing X share…":"whatsapp"===e?"Preparing WhatsApp share…":"Copying…":t,ec=e=>eo(e)?(0,n.jsx)("span",{"aria-hidden":!0,className:"inline-block h-4 w-4 rounded-full border-2 border-current border-t-transparent animate-spin"}):null,ed=Y&&"undefined"!=typeof document?(0,a.createPortal)((0,n.jsx)("div",{"aria-hidden":!0,style:{position:"fixed",left:-99999,top:0,opacity:0,pointerEvents:"none"},children:(0,n.jsx)(d.l2,{ref:V,...Y})}),document.body):null;return t="instructions"===v?(0,n.jsx)("div",{className:"fixed inset-0 z-[200] flex items-center justify-center",style:{background:"rgba(0,0,0,0.75)",backdropFilter:"blur(6px)"},onClick:()=>k("idle"),children:(0,n.jsxs)("div",{className:"relative w-full max-w-sm mx-4 rounded-2xl p-6 flex flex-col gap-5 max-h-[90dvh] overflow-y-auto",style:{background:"linear-gradient(145deg, rgba(40,40,50,0.97) 0%, rgba(20,20,28,0.99) 100%)",border:"1px solid rgba(255,255,255,0.08)",boxShadow:"0 24px 64px rgba(0,0,0,0.6), inset 0 1px 0 rgba(255,255,255,0.06)"},onClick:e=>e.stopPropagation(),children:[(0,n.jsxs)("button",{onClick:()=>k("idle"),className:"absolute top-4 left-4 flex items-center gap-1.5 text-white/40 hover:text-white/70 transition-colors text-sm",children:[(0,n.jsx)("svg",{width:"16",height:"16",viewBox:"0 0 16 16",fill:"none",children:(0,n.jsx)("path",{d:"M10 3L5 8l5 5",stroke:"currentColor",strokeWidth:"1.5",strokeLinecap:"round",strokeLinejoin:"round"})}),"Back"]}),(0,n.jsxs)("div",{className:"flex flex-col items-center gap-3 pt-6",children:[(0,n.jsx)("div",{className:"w-14 h-14 rounded-2xl flex items-center justify-center",style:{background:"linear-gradient(135deg, #f09433 0%, #e6683c 25%, #dc2743 50%, #cc2366 75%, #bc1888 100%)"},children:(0,n.jsx)("svg",{width:"28",height:"28",viewBox:"0 0 24 24",fill:"white",children:(0,n.jsx)("path",{d:"M12 2.163c3.204 0 3.584.012 4.85.07 3.252.148 4.771 1.691 4.919 4.919.058 1.265.069 1.645.069 4.849 0 3.205-.012 3.584-.069 4.849-.149 3.225-1.664 4.771-4.919 4.919-1.266.058-1.644.07-4.85.07-3.204 0-3.584-.012-4.849-.07-3.26-.149-4.771-1.699-4.919-4.92-.058-1.265-.07-1.644-.07-4.849 0-3.204.013-3.583.07-4.849.149-3.227 1.664-4.771 4.919-4.919 1.266-.057 1.645-.069 4.849-.069zM12 0C8.741 0 8.333.014 7.053.072 2.695.272.273 2.69.073 7.052.014 8.333 0 8.741 0 12c0 3.259.014 3.668.072 4.948.2 4.358 2.618 6.78 6.98 6.98C8.333 23.986 8.741 24 12 24c3.259 0 3.668-.014 4.948-.072 4.354-.2 6.782-2.618 6.979-6.98.059-1.28.073-1.689.073-4.948 0-3.259-.014-3.667-.072-4.947-.196-4.354-2.617-6.78-6.979-6.98C15.668.014 15.259 0 12 0zm0 5.838a6.162 6.162 0 100 12.324 6.162 6.162 0 000-12.324zM12 16a4 4 0 110-8 4 4 0 010 8zm6.406-11.845a1.44 1.44 0 100 2.881 1.44 1.44 0 000-2.881z"})})}),(0,n.jsx)("h3",{className:"text-white font-semibold text-base",children:"Add to your Instagram Story"}),(0,n.jsx)("p",{className:"text-white/40 text-sm text-center",children:"Your story card is ready."})]}),(0,n.jsx)("div",{className:"flex flex-col gap-2",children:[{n:"1",label:"Open Instagram and tap  +  Story"}
1,{n:"2",label:"Choose the downloaded image from your gallery"},{n:"3",label:'Tap the sticker icon  \uD83D\uDD17  and pick "Link"'},{n:"4",label:"Paste your Zo Passport link"}].map(e=>{let{n:t,label:r}=e;return(0,n.jsxs)("div",{className:"flex items-start gap-3 rounded-xl px-4 py-3",style:{background:"rgba(255,255,255,0.04)",border:"1px solid rgba(255,255,255,0.06)"},children:[(0,n.jsx)("span",{className:"flex-shrink-0 w-6 h-6 rounded-full flex items-center justify-center text-xs font-bold",style:{background:"linear-gradient(135deg, #dc2743, #bc1888)",color:"white"},children:t}),(0,n.jsx)("span",{className:"text-white/70 text-sm leading-snug",children:r})]},t)})}),(0,n.jsx)("button",{onClick:K,disabled:ea,className:"w-full flex items-center justify-center gap-2 rounded-xl py-3 font-medium text-sm transition-all",style:{background:b?"rgba(52,211,153,0.12)":"rgba(255,255,255,0.07)",border:"1px solid ".concat(b?"rgba(52,211,153,0.3)":"rgba(255,255,255,0.1)"),color:b?"#34d399":"rgba(255,255,255,0.75)",...ei("copy")||{}},children:eo("copy")?(0,n.jsxs)(n.Fragment,{children:[ec("copy"),es("copy","Copy passport link")]}):b?(0,n.jsxs)(n.Fragment,{children:[(0,n.jsx)("svg",{width:"14",height:"14",viewBox:"0 0 14 14",fill:"none",children:(0,n.jsx)("path",{d:"M2 7l3.5 3.5L12 3",stroke:"currentColor",strokeWidth:"1.5",strokeLinecap:"round",strokeLinejoin:"round"})}),"Copied!"]}):(0,n.jsxs)(n.Fragment,{children:[(0,n.jsxs)("svg",{width:"14",height:"14",viewBox:"0 0 14 14",fill:"none",children:[(0,n.jsx)("rect",{x:"2",y:"4",width:"8",height:"9",rx:"1.5",stroke:"currentColor",strokeWidth:"1.3"}),(0,n.jsx)("path",{d:"M5 4V3a1 1 0 011-1h5a1 1 0 011 1v7a1 1 0 01-1 1h-1",stroke:"currentColor",strokeWidth:"1.3",strokeLinecap:"round"})]}),"Copy passport link"]})})]})}):g?(0,n.jsxs)("div",{className:"fixed inset-0 z-[200] flex items-center justify-center",style:{background:"rgba(0,0,0,0.55)",backdropFilter:"blur(6px)"},onClick:h,children:[ed,(0,n.jsxs)("div",{className:"relative w-full max-w-sm mx-4 rounded-3xl p-6 flex flex-col gap-5",style:{background:"linear-gradient(180deg, #FFFFFF 0%, #FBF8F4 60%, #F2E0EC 100%)",border:"1px solid rgba(255,255,255,0.95)",boxShadow:"0 24px 64px rgba(120,100,160,0.28), inset 0 1px 0 rgba(255,255,255,0.9)"},onClick:e=>e.stopPropagation(),children:[(0,n.jsx)("button",{onClick:h,className:"absolute top-4 right-4 transition-colors",style:{color:"rgba(42,27,61,0.45)"},"aria-label":"Close",children:(0,n.jsx)("svg",{width:"20",height:"20",viewBox:"0 0 20 20",fill:"none",children:(0,n.jsx)("path",{d:"M15 5L5 15M5 5l10 10",stroke:"currentColor",strokeWidth:"1.5",strokeLinecap:"round"})})}),(0,n.jsxs)("div",{children:[(0,n.jsx)("h3",{style:{color:"#2A1B3D",fontSize:18,fontWeight:700,letterSpacing:"-0.01em"},children:"Share your passport"}),(0,n.jsx)("p",{style:{color:"#6B5B8E",fontSize:13,marginTop:4},children:"Post your Zo World story on Instagram"})]}),(0,n.jsxs)("div",{className:"flex items-center gap-2 rounded-2xl px-4 py-3",style:{background:"rgba(255,255,255,0.75)",border:"1px solid rgba(255,255,255,0.95)",boxShadow:"inset 0 1px 0 rgba(255,255,255,0.9), 0 4px 12px rgba(120,100,160,0.12)"},children:[(0,n.jsx)("span",{style:{color:"#2A1B3D",fontSize:12,fontFamily:"system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif",fontWeight:600,flex:1,overflow:"hidden",textOverflow:"ellipsis",whiteSpace:"nowrap"},children:H}),(0,n.jsx)("button",{onClick:K,disabled:ea,className:"flex-shrink-0 text-xs font-medium px-3 py-1 rounded-lg transition-all",style:{background:b?"rgba(52,211,153,0.18)":"rgba(42,27,61,0.06)",color:b?"#0F8B5B":"#2A1B3D",border:"1px solid ".concat(b?"rgba(52,211,153,0.4)":"rgba(42,27,61,0.1)"),...ei("copy")||{}},children:eo("copy")?"Copying…":b?"Copied":"Copy"})]}),j&&(0,n.jsx)("p",{role:"alert",className:"text-sm",style:{color:"#B42318"},children:j}),(0,n.jsxs)("button",{onClick:el,disabled:ea,className:"flex items-center gap-3 w-full rounded-2xl px-5 py-4 transition-all active:scale-[0.98] hover:brightness-105",style:{background:"linear-gradient(135deg, #f09433 0%, #e6683c 25%, #dc2743 50%, #cc2366 75%, #bc1888 100%)",border:"1px solid rgba(255,255,255,0.4)",boxShadow:"0 10px 28px rgba(220,39,67,0.32), inset 0 1px 0 rgba(255,255,255,0.4)",...ei("instagram")||{}},children:[(0,n.jsx)("span",{className:"flex items-center justify-center w-10 h-10 rounded-xl flex-shrink-0",style:{background:"rgba(255,255,255,0.22)",border:"1px solid rgba(255,255,255,0.3)"},children:(0,n.jsx)("svg",{width:"20",height:"20",viewBox:"0 0 24 24",fill:"white",children:(0,n.jsx)("path",{d:"M12 2.163c3.204 0 3.584.012 4.85.07 3.252.148 4.771 1.691 4.919 4.919.058 1.265.069 1.645.069 4.849 0 3.205-.012 3.584-.069 4.849-.149 3.225-1.664 4.771-4.919 4.919-1.266.058-1.644.07-4.85.07-3.204 0-3.584-.012-4.849-.07-3.26-.149-4.771-1.699-4.919-4.92-.058-1.265-.07-1.644-.07-4.849 0-3.204.013-3.583.07-4.849.149-3.227 1.664-4.771 4.919-4.919 1.266-.057 1.645-.069 4.849-.069zM12 0C8.741 0 8.333.014 7.053.072 2.695.272.273 2.69.073 7.052.014 8.333 0 8.741 0 12c0 3.259.014 3.668.072 4.948.2 4.358 2.618 6.78 6.98 6.98C8.333 23.986 8.741 24 12 24c3.259 0 3.668-.014 4.948-.072 4.354-.2 6.782-2.618 6.979-6.98.059-1.28.073-1.689.073-4.948 0-3.259-.014-3.667-.072-4.947-.196-4.354-2.617-6.78-6.979-6.98C15.668.014 15.259 0 12 0zm0 5.838a6.162 6.162 0 100 12.324 6.162 6.162 0 000-12.324zM12 16a4 4 0 110-8 4 4 0 010 8zm6.406-11.845a1.44 1.44 0 100 2.881 1.44 1.44 0 000-2.881z"})})}),(0,n.jsxs)("div",{className:"flex flex-col items-start text-left",children:[(0,n.jsx)("span",{style:{color:"#FFFFFF",fontSize:15,fontWeight:700},children:es("instagram","Share to Instagram Story")}),(0,n.jsx)("span",{style:{color:"rgba(255,255,255,0.78)",fontSize:12},children:"Generates your story card"})]}),(0,n.jsx)("span",{className:"ml-auto",style:{color:"rgba(255,255,255,0.85)"},children:ec("instagram")||(0,n.jsx)("svg",{width:"16",height:"16",viewBox:"0 0 16 16",fill:"none",children:(0,n.jsx)("path",{d:"M5 3l5 5-5 5",stroke:"currentColor",strokeWidth:"1.6",strokeLinecap:"round",strokeLinejoin:"round"})})})]})]})]}):(0,n.jsxs)("div",{className:"fixed inset-0 z-[200] flex items-center justify-center",style:{background:"rgba(42,27,61,0.28)",backdropFilter:"blur(12px)"},onClick:h,children:[ed,(0,n.jsxs)("div",{className:"relative w-full min-w-0 max-w-sm mx-4 max-h-[calc(100dvh-32px)] overflow-hidden rounded-3xl flex flex-col",style:{background:"linear-gradient(180deg, #FFFFFF 0%, #FBF8F4 62%, #F2E0EC 100%)",border:"1px solid rgba(255,255,255,0.95)",boxShadow:"0 24px 64px rgba(120,100,160,0.28), inset 0 1px 0 rgba(255,255,255,0.9)"},onClick:e=>e.stopPropagation(),children:[(0,n.jsx)("button",{onClick:h,className:"absolute top-2 right-2 z-10 flex h-8 w-8 items-center justify-center rounded-full bg-white transition-colors",style:{color:"rgba(42,27,61,0.45)"},"aria-label":"Close",children:(0,n.jsx)("svg",{width:"20",height:"20",viewBox:"0 0 20 20",fill:"none",children:(0,n.jsx)("path",{d:"M15 5L5 15M5 5l10 10",stroke:"currentColor",strokeWidth:"1.5",strokeLinecap:"round"})})}),(0,n.jsxs)("div",{className:"min-h-0 overflow-y-auto overscroll-contain p-6 grid grid-cols-1 gap-5",children:[(0,n.jsxs)("div",{className:"pr-6",children:[(0,n.jsx)("h3",{style:{color:"#2A1B3D",fontSize:20,fontWeight:800},children:"Share your Passport"}),(0,n.jsx)("p",{style:{color:"#6B5B8E",fontSize:13,marginTop:3},children:"Invite someone into your Zo journey"})]}),(0,n.jsxs)("div",{className:"flex items-center gap-2 rounded-xl px-4 py-3",style:{background:"rgba(255,255,255,0.72)",border:"1px solid rgba(255,255,255,0.92)",boxShadow:"inset 0 1px 0 rgba(255,255,255,0.9), 0 4px 12px rgba(120,100,160,0.1)"},children:[(0,n.jsxs)("svg",{className:"flex-shrink-0",width:"13",height:"13",viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round",children:[(0,n.jsx)("circle",{cx:"12",cy:"12",r:"10"}),(0,n.jsx)("line",{x1:"2",y1:"12",x2:"22",y2:"12"}),(0,n.jsx)("path",{d:"M12 2a15.3 15.3 0 010 20M12 2a15.3 15.3 0 000 20"})]}),(0,n.jsx)("span",{style:{color:"#2A1B3D",fontSize:12,overflow:"hidden",textOverflow:"ellipsis",whiteSpace:"nowrap",flex:1,fontWeight:600},children:H}),(0,n.jsx)("button",{onClick:K,disabled:ea,className:"flex-shrink-0 text-xs font-medium px-3 py-1 rounded-lg transition-all",style:{background:b?"rgba(52,211,153,0.15)":"rgba(42,27,61,0.06)",color:b?"#0F8B5B":"#2A1B3D",border:"1px solid ".concat(b?"rgba(52,211,153,0.3)":"rgba(42,27,61,0.1
1)"),...ei("copy")||{}},children:eo("copy")?"Copying…":b?"Copied!":"Copy"})]}),M&&(0,n.jsxs)("div",{className:"flex flex-col items-center gap-3 rounded-2xl p-4",style:{background:"rgba(255,255,255,0.72)",border:"1px solid rgba(255,255,255,0.92)",boxShadow:"inset 0 1px 0 rgba(255,255,255,0.9), 0 8px 22px rgba(120,100,160,0.12)"},children:[(0,n.jsx)("div",{ref:W,"aria-label":"QR code for your Zo Passport"}),(0,n.jsxs)("div",{className:"text-center",children:[(0,n.jsx)("div",{style:{color:"#2A1B3D",fontSize:14,fontWeight:800},children:"Scan to join my tribe"}),(0,n.jsx)("div",{style:{color:"#6B5B8E",fontSize:12,marginTop:3},children:"Point your camera here to open this Passport"})]}),(0,n.jsx)("button",{type:"button",onClick:()=>A(!1),className:"rounded-full px-4 py-2 text-xs font-bold transition-colors",style:{background:"rgba(42,27,61,0.08)",color:"#2A1B3D"},children:"Back to sharing"})]}),!M&&(0,n.jsxs)("div",{className:"flex flex-col gap-2",children:[j&&(0,n.jsx)("p",{role:"alert",className:"text-xs px-1",style:{color:"#fca5a5"},children:j}),(0,n.jsxs)("button",{onClick:el,disabled:ea,className:"flex items-center gap-3 w-full rounded-xl px-4 py-3 transition-all hover:brightness-110",style:{background:"linear-gradient(135deg, rgba(240,148,51,0.15) 0%, rgba(220,39,67,0.15) 50%, rgba(188,24,136,0.15) 100%)",border:"1px solid rgba(220,39,67,0.25)",...ei("instagram")||{}},children:[(0,n.jsx)("span",{className:"flex items-center justify-center w-8 h-8 rounded-lg flex-shrink-0",style:{background:"linear-gradient(135deg, #f09433 0%, #e6683c 25%, #dc2743 50%, #cc2366 75%, #bc1888 100%)"},children:(0,n.jsx)("svg",{width:"16",height:"16",viewBox:"0 0 24 24",fill:"white",children:(0,n.jsx)("path",{d:"M12 2.163c3.204 0 3.584.012 4.85.07 3.252.148 4.771 1.691 4.919 4.919.058 1.265.069 1.645.069 4.849 0 3.205-.012 3.584-.069 4.849-.149 3.225-1.664 4.771-4.919 4.919-1.266.058-1.644.07-4.85.07-3.204 0-3.584-.012-4.849-.07-3.26-.149-4.771-1.699-4.919-4.92-.058-1.265-.07-1.644-.07-4.849 0-3.204.013-3.583.07-4.849.149-3.227 1.664-4.771 4.919-4.919 1.266-.057 1.645-.069 4.849-.069zM12 0C8.741 0 8.333.014 7.053.072 2.695.272.273 2.69.073 7.052.014 8.333 0 8.741 0 12c0 3.259.014 3.668.072 4.948.2 4.358 2.618 6.78 6.98 6.98C8.333 23.986 8.741 24 12 24c3.259 0 3.668-.014 4.948-.072 4.354-.2 6.782-2.618 6.979-6.98.059-1.28.073-1.689.073-4.948 0-3.259-.014-3.667-.072-4.947-.196-4.354-2.617-6.78-6.979-6.98C15.668.014 15.259 0 12 0zm0 5.838a6.162 6.162 0 100 12.324 6.162 6.162 0 000-12.324zM12 16a4 4 0 110-8 4 4 0 010 8zm6.406-11.845a1.44 1.44 0 100 2.881 1.44 1.44 0 000-2.881z"})})}),(0,n.jsxs)("div",{className:"flex flex-col items-start",children:[(0,n.jsx)("span",{style:{color:"#2A1B3D",fontSize:14,fontWeight:700},children:es("instagram","Instagram Story")}),(0,n.jsx)("span",{style:{color:"#6B5B8E",fontSize:11},children:"Download story card + share"})]}),(0,n.jsx)("span",{className:"ml-auto",style:{color:"#8B7AA8"},children:ec("instagram")||(0,n.jsx)("svg",{width:"14",height:"14",viewBox:"0 0 14 14",fill:"none",children:(0,n.jsx)("path",{d:"M5 3l4 4-4 4",stroke:"currentColor",strokeWidth:"1.5",strokeLinecap:"round",strokeLinejoin:"round"})})})]}),(0,n.jsxs)("button",{onClick:er,disabled:ea,className:"flex items-center gap-3 w-full rounded-xl px-4 py-3 transition-all hover:bg-white/10",style:{background:"rgba(255,255,255,0.05)",border:"1px solid rgba(255,255,255,0.06)",...ei("x")||{}},children:[(0,n.jsx)("span",{className:"flex items-center justify-center w-8 h-8 rounded-lg flex-shrink-0",style:{background:"#000"},children:(0,n.jsx)("svg",{width:"14",height:"14",viewBox:"0 0 24 24",fill:"white",children:(0,n.jsx)("path",{d:"M18.244 2.25h3.308l-7.227 8.26 8.502 11.24H16.17l-4.714-6.231-5.401 6.231H2.748l7.73-8.835L1.254 2.25H8.08l4.253 5.622 5.911-5.622zm-1.161 17.52h1.833L7.084 4.126H5.117z"})})}),(0,n.jsx)("span",{style:{color:"#2A1B3D",fontSize:14,fontWeight:700},children:es("x","Share on X")}),(0,n.jsx)("span",{className:"ml-auto",style:{color:"#8B7AA8"},children:ec("x")||(0,n.jsx)("svg",{width:"14",height:"14",viewBox:"0 0 14 14",fill:"none",children:(0,n.jsx)("path",{d:"M5 3l4 4-4 4",stroke:"currentColor",strokeWidth:"1.5",strokeLinecap:"round",strokeLinejoin:"round"})})})]}),(0,n.jsxs)("button",{onClick:en,disabled:ea,className:"flex items-center gap-3 w-full rounded-xl px-4 py-3 transition-all hover:bg-white/10",style:{background:"rgba(255,255,255,0.05)",border:"1px solid rgba(255,255,255,0.06)",...ei("whatsapp")||{}},children:[(0,n.jsx)("span",{className:"flex items-center justify-center w-8 h-8 rounded-lg flex-shrink-0",style:{background:"#25D366"},children:(0,n.jsx)("svg",{width:"16",height:"16",viewBox:"0 0 24 24",fill:"white",children:(0,n.jsx)("path",{d:"M17.472 14.382c-.297-.149-1.758-.867-2.03-.967-.273-.099-.471-.148-.67.15-.197.297-.767.966-.94 1.164-.173.199-.347.223-.644.075-.297-.15-1.255-.463-2.39-1.475-.883-.788-1.48-1.761-1.653-2.059-.173-.297-.018-.458.13-.606.134-.133.298-.347.446-.52.149-.174.198-.298.298-.497.099-.198.05-.371-.025-.52-.075-.149-.669-1.612-.916-2.207-.242-.579-.487-.5-.669-.51-.173-.008-.371-.01-.57-.01-.
1198 0-.52.074-.792.372-.272.297-1.04 1.016-1.04 2.479 0 1.462 1.065 2.875 1.213 3.074.149.198 2.096 3.2 5.077 4.487.709.306 1.262.489 1.694.625.712.227 1.36.195 1.871.118.571-.085 1.758-.719 2.006-1.413.248-.694.248-1.289.173-1.413-.074-.124-.272-.198-.57-.347m-5.421 7.403h-.004a9.87 9.87 0 01-5.031-1.378l-.361-.214-3.741.982.998-3.648-.235-.374a9.86 9.86 0 01-1.51-5.26c.001-5.45 4.436-9.884 9.888-9.884 2.64 0 5.122 1.03 6.988 2.898a9.825 9.825 0 012.893 6.994c-.003 5.45-4.437 9.884-9.885 9.884m8.413-18.297A11.815 11.815 0 0012.05 0C5.495 0 .16 5.335.157 11.892c0 2.096.547 4.142 1.588 5.945L.057 24l6.305-1.654a11.882 11.882 0 005.683 1.448h.005c6.554 0 11.89-5.335 11.893-11.893a11.821 11.821 0 00-3.48-8.413z"})})}),(0,n.jsx)("span",{style:{color:"#2A1B3D",fontSize:14,fontWeight:700},children:es("whatsapp","Share on WhatsApp")}),(0,n.jsx)("span",{className:"ml-auto",style:{color:"#8B7AA8"},children:ec("whatsapp")||(0,n.jsx)("svg",{width:"14",height:"14",viewBox:"0 0 14 14",fill:"none",children:(0,n.jsx)("path",{d:"M5 3l4 4-4 4",stroke:"currentColor",strokeWidth:"1.5",strokeLinecap:"round",strokeLinejoin:"round"})})})]}),(0,n.jsxs)("button",{onClick:()=>A(!0),type:"button",className:"flex items-center gap-3 w-full rounded-xl px-4 py-3 transition-all hover:bg-white/10",style:{background:"rgba(255,255,255,0.05)",border:"1px solid rgba(255,255,255,0.06)"},children:[(0,n.jsx)("span",{className:"flex items-center justify-center w-8 h-8 rounded-lg flex-shrink-0",style:{background:"rgba(241,88,36,0.16)",color:"#F15824"},children:(0,n.jsx)(N,{})}),(0,n.jsx)("span",{style:{color:"#2A1B3D",fontSize:14,fontWeight:700},children:"Show QR code"}),(0,n.jsx)("span",{className:"ml-auto",style:{color:"#8B7AA8"},children:(0,n.jsx)("svg",{width:"14",height:"14",viewBox:"0 0 14 14",fill:"none",children:(0,n.jsx)("path",{d:"M5 3l4 4-4 4",stroke:"currentColor",strokeWidth:"1.5",strokeLinecap:"round",strokeLinejoin:"round"})})})]})]})]})]})]}),"undefined"==typeof document?t:(0,a.createPortal)(t,document.body)}},60731:function(e,t,r){r.d(t,{$A:function(){return a},F$:function(){return l}});let n=new Set(["lat","lng","long","longitude","latitude","coords","proof_location"]);async function l(e,t){try{window.dataLayer=window.dataLayer||[],window.dataLayer.push({event:e,event_id:"undefined"!=typeof crypto&&"randomUUID"in crypto?crypto.randomUUID():"evt_".concat(Date.now(),"_").concat(Math.random().toString(36).slice(2)),timestamp:new Date().toISOString(),platform:"web",device_type:window.innerWidth<768?"mobile":"desktop",route:"".concat(window.location.pathname).concat(window.location.search),page_type:function(){let e=window.location.pathname;return"/passport"===e?"passport_lobby":"/passport/quests"===e?"passport_quests":"/passport/earnings"===e||/\/earnings$/.test(e)?"passport_earnings":"/passport/liveops"===e?"passport_liveops":"/pro"===e?"passport_pro":/^\/@[^/]+/.test(e)?"passport_profile":void 0}(),...function(e){let t={};return Object.entries(e).forEach(e=>{let[r,l]=e;null==l||n.has(r)||"string"!=typeof l&&"number"!=typeof l&&"boolean"!=typeof l||(t[r]=l)}),t}(t)})}catch(e){}}async function a(e,t){}}}]);

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.