1import{u as e,r as t,j as s}from"./index-BVEqls2J.js";const a={sv_desc:{pt:"Licença DASP + BSP: Hub regulatório global",en:"DASP + BSP License: Global regulatory hub",es:"Licencia DASP + BSP: Hub regulatorio global"},br_label:{pt:"Brasil",en:"Brazil",es:"Brasil"},br_desc:{pt:"Neoinstituições financeiras e apps com pagamentos locais integrados",en:"Financial neobanks and fintech apps with integrated local payments",es:"Neoinstituciones financieras y apps con pagos locales integrados"},us_label:{pt:"EUA",en:"USA",es:"EE.UU."},us_desc:{pt:"Contas Globais com acesso redes financeiras globais",en:"Global Accounts with global financial network access",es:"Cuentas Globales con acceso redes financieras globales"},uk_desc:{pt:"Gestão de patrimônio com ativos tokenizados",en:"Wealth management with tokenized assets",es:"Gestión de patrimonio con activos tokenizados"},ae_desc:{pt:"Operações cross-border e tesouraria multimoeda",en:"Cross-border operations and multi-currency treasury",es:"Operaciones cross-border y tesorerÃa multimoneda"},sg_label:{pt:"Singapura",en:"Singapore",es:"Singapur"},sg_desc:{pt:"Liquidez profunda e custódia institucional",en:"Deep liquidity and institutional custody",es:"Liquidez profunda y custodia institucional"},mx_label:{pt:"México",en:"Mexico",es:"México"},mx_desc:{pt:"Remessas e pagamentos instantâneos",en:"Remittances and instant payments",es:"Remesas y pagos instantáneos"},de_label:{pt:"Alemanha",en:"Germany",es:"Alemania"},de_desc:{pt:"Acesso a redes regionais e ativos RWA tokenizados",en:"Regional network access and tokenized RWA assets",es:"Acceso a redes regionales y activos RWA tokenizados"},co_label:{pt:"Colômbia",en:"Colombia",es:"Colombia"},co_desc:{pt:"Pagamentos instantâneos e remessas regionais",en:"Instant payments and regional remittances",es:"Pagos instantáneos y remesas regionales"},ch_label:{pt:"SuÃça",en:"Switzerland",es:"Suiza"},ch_desc:{pt:"Gestão patrimonial e gestão de ativos digitais",en:"Wealth management and digital asset management",es:"Gestión patrimonial y gestión de activos digitales"},jp_label:{pt:"Japão",en:"Japan",es:"Japón"},jp_desc:{pt:"Trading institucional e custódia regulada",en:"Institutional trading and regulated custody",es:"Trading institucional y custodia regulada"},ng_label:{pt:"Nigéria",en:"Nigeria",es:"Nigeria"},ng_desc:{pt:"Inclusão financeira e pagamentos cross-border",en:"Financial inclusion and cross-border payments",es:"Inclusión financiera y pagos cross-border"},au_label:{pt:"Austrália",en:"Australia",es:"Australia"},au_desc:{pt:"Tesouraria multimoeda e operações APAC",en:"Multi-currency treasury and APAC operations",es:"TesorerÃa multimoneda y operaciones APAC"},uk_label:{pt:"Reino Unido",en:"United Kingdom",es:"Reino Unido"},ae_label:{pt:"Dubai",en:"Dubai",es:"Dubái"}};function o({from:e,to:t,color:a,delay:o,isActive:n}){const l=(e.x+t.x)/2,i=(e.y+t.y)/2,c=t.x-e.x,r=t.y-e.y,d=Math.sqrt(c*c+r*r),p=.3*d,u=l+-r/d*p,x=i+c/d*p,b=`M ${e.x} ${e.y} Q ${u} ${x} ${t.x} ${t.y}`,m=`path-${e.x.toFixed(1)}-${t.x.toFixed(1)}`;return s.jsxs("g",{"data-loc":"client/src/components/WorldMapHub.tsx:199",children:[s.jsx("path",{"data-loc":"client/src/components/WorldMapHub.tsx:201",d:b,fill:"none",stroke:a,strokeWidth:n?"0.25":"0.12",opacity:n?.4:.1,strokeDasharray:n?"none":"0.5 0.5",style:{transition:"all 0.5s ease"}}),s.jsx("circle",{"data-loc":"client/src/components/WorldMapHub.tsx:211",r:n?.5:.3,fill:a,opacity:n?.9:.5,children:s.jsx("animateMotion",{"data-loc":"client/src/components/WorldMapHub.tsx:212",dur:3+.5*o+"s",repeatCount:"indefinite",begin:`${o}s`,children:s.jsx("mpath",{"data-loc":"client/src/components/WorldMapHub.tsx:217",href:`#${m}`})})}),n&&s.jsx("circle",{"data-loc":"client/src/components/WorldMapHub.tsx:222",r:"0.9",fill:a,opacity:"0.2",children:s.jsx("animateMotion",{"data-loc":"client/src/components/WorldMapHub.tsx:223",dur:3+.5*o+"s",repeatCount:"indefinite",begin:`${o}s`,children:s.jsx("mpath",{"data-loc":"client/src/components/WorldMapHub.tsx:228",href:`#${m}`})})}),s.jsx("path",{"data-loc":"client/src/components/WorldMapHub.tsx:232",id:m,d:b,fill:"none",stroke:"none"})]})}function n({conn:e,isActive:t,onClick:a}){const o=e.isHub?1.4:t?1:.7;return s.jsxs("g",{"data-loc":"client/src/components/WorldMapHub.tsx:249",className:"cursor-pointer",onClick:a,style:{pointerEvents:"all"},children:[t&&!e.isHub&&s.jsx(s.Fragment,{children:s.jsxs("circle",{"data-loc":"client/src/components/WorldMapHub.tsx:257",cx:e.x,cy:e.y,r:2,fill:"none",stroke:e.typeColor,strokeWidth:"0.12",opacity:"0.5",children:[s.jsx("animate",{"data-loc":"client/src/components/WorldMapHub.tsx:266",attributeName:"r",values:"1.5;2.5;
11.5",dur:"2s",repeatCount:"indefinite"}),s.jsx("animate",{"data-loc":"client/src/components/WorldMapHub.tsx:272",attributeName:"opacity",values:"0.5;0.1;0.5",dur:"2s",repeatCount:"indefinite"})]})}),e.isHub&&s.jsxs(s.Fragment,{children:[s.jsxs("circle",{"data-loc":"client/src/components/WorldMapHub.tsx:284",cx:e.x,cy:e.y,r:2.5,fill:"none",stroke:"#A096FA",strokeWidth:"0.1",opacity:"0.3",children:[s.jsx("animate",{"data-loc":"client/src/components/WorldMapHub.tsx:293",attributeName:"r",values:"2;3.5;2",dur:"3s",repeatCount:"indefinite"}),s.jsx("animate",{"data-loc":"client/src/components/WorldMapHub.tsx:299",attributeName:"opacity",values:"0.3;0.05;0.3",dur:"3s",repeatCount:"indefinite"})]}),s.jsxs("circle",{"data-loc":"client/src/components/WorldMapHub.tsx:306",cx:e.x,cy:e.y,r:1.8,fill:"none",stroke:"#A096FA",strokeWidth:"0.08",opacity:"0.5",children:[s.jsx("animate",{"data-loc":"client/src/components/WorldMapHub.tsx:315",attributeName:"r",values:"1.5;2.5;1.5",dur:"2s",repeatCount:"indefinite"}),s.jsx("animate",{"data-loc":"client/src/components/WorldMapHub.tsx:321",attributeName:"opacity",values:"0.5;0.1;0.5",dur:"2s",repeatCount:"indefinite"})]})]}),s.jsx("circle",{"data-loc":"client/src/components/WorldMapHub.tsx:331",cx:e.x,cy:e.y,r:o,fill:e.typeColor,opacity:t||e.isHub?1:.6,style:{transition:"r 0.3s ease, opacity 0.3s ease"}}),s.jsx("circle",{"data-loc":"client/src/components/WorldMapHub.tsx:340",cx:e.x,cy:e.y,r:.4*o,fill:"white",opacity:t||e.isHub?.5:.3}),t&&!e.isHub&&(()=>{const t=.55*e.label.length+2.5,a=e.x+2+t>126?e.x-t-.5:e.x+2,o=a+t/2;return s.jsxs(s.Fragment,{children:[s.jsx("rect",{"data-loc":"client/src/components/WorldMapHub.tsx:356",x:a,y:e.y-2,width:t,height:"2.8",rx:"0.8",fill:"#0D0B23",fillOpacity:"0.92",stroke:e.typeColor,strokeWidth:"0.12",strokeOpacity:"0.6"}),s.jsx("text",{"data-loc":"client/src/components/WorldMapHub.tsx:368",x:o,y:e.y-.6,fill:"white",fontSize:"0.95",fontFamily:"Poppins, sans-serif",fontWeight:"600",textAnchor:"middle",dominantBaseline:"central",children:e.label})]})})(),s.jsx("circle",{"data-loc":"client/src/components/WorldMapHub.tsx:384",cx:e.x,cy:e.y,r:2.5,fill:"transparent"})]})}function l(){const{language:l}=e(),i=l,c=function(e){const t=t=>a[t]?.[e]||a[t]?.pt||"";return[{id:"sv",label:"El Salvador",type:"HUB CENTRAL",typeColor:"#A096FA",x:31,y:25.1,isHub:!0,description:t("sv_desc")},{id:"br",label:t("br_label"),type:"FINTECH",typeColor:"#22D3EE",x:47,y:37.2,isHub:!1,description:t("br_desc")},{id:"us",label:t("us_label"),type:"BANCO",typeColor:"#60A5FA",x:37.5,y:19.1,isHub:!1,description:t("us_desc")},{id:"uk",label:t("uk_label"),type:"WEALTH",typeColor:"#34D399",x:63.5,y:15.6,isHub:!1,description:t("uk_desc")},{id:"ae",label:t("ae_label"),type:"CORPORATE",typeColor:"#FBBF24",x:82,y:23.4,isHub:!1,description:t("ae_desc")},{id:"sg",label:t("sg_label"),type:"EXCHANGE",typeColor:"#F472B6",x:99.5,y:29.4,isHub:!1,description:t("sg_desc")},{id:"mx",label:t("mx_label"),type:"FINTECH",typeColor:"#22D3EE",x:28,y:22,isHub:!1,description:t("mx_desc")},{id:"de",label:t("de_label"),type:"BANCO",typeColor:"#60A5FA",x:66,y:16.5,isHub:!1,description:t("de_desc")},{id:"co",label:t("co_label"),type:"FINTECH",typeColor:"#22D3EE",x:36.5,y:29.5,isHub:!1,description:t("co_desc")},{id:"ch",label:t("ch_label"),type:"WEALTH",typeColor:"#34D399",x:66.5,y:13.5,isHub:!1,description:t("ch_desc")},{id:"jp",label:t("jp_label"),type:"EXCHANGE",typeColor:"#F472B6",x:108,y:19.5,isHub:!1,description:t("jp_desc")},{id:"ng",label:t("ng_label"),type:"FINTECH",typeColor:"#22D3EE",x:66,y:29,isHub:!1,description:t("ng_desc")},{id:"au",label:t("au_label"),type:"CORPORATE",typeColor:"#FBBF24",x:112,y:42,isHub:!1,description:t("au_desc")}]}(i),r=(e,t,s)=>({pt:e,en:t,es:s}[i]||e),[d,p]=t.useState("br"),[u,x]=t.useState(!1),[b,m]=t.useState(!1),y=t.useRef(null),f=t.useRef(null);t.useEffect(()=>{const e=new IntersectionObserver(([e])=>{e.isIntersecting&&x(!0)},{threshold:.2});return y.current&&e.observe(y.current),()=>e.disconnect()},[]);const h=t.useCallback(()=>{f.current&&clearInterval(f.current);const e=c.filter(e=>!e.isHub);let t=e.findIndex(e=>e.id===d);-1===t&&(t=0),f.current=setInterval(()=>{t=(t+1)%e.length,p(e[t].id)},4e3)},[d]);t.useEffect(()=>(h(),()=>{f.current&&clearInterval(f.current)}),[h]);const g=t.useCallback(e=>{p(e),m(!0),f.current&&clearInterval(f.current),setTimeout(()=>{m(!1)},8e3)},[]);t.useEffect(()=>(b||h(),()=>{f.current&&clearInterval(f.current)}),[b,h]);const H=c.find(e=>e.isHub),A=c.find(e=>e.id===d);return s.jsx("div",{"data-loc":"client/src/components/WorldMapHub.tsx:464",ref:y,className:"w-full",children:s.jsx("div",{"data-loc":"client/src/components/WorldMapHub.tsx:465",className:"transition-all duration-1000 "+(u?"opacity-100 translate-y-0":"opacity-0 translate-y-8"),children:s.jsxs("div",{"data-loc":"client/src/components/WorldMapHub.tsx:469",className:"relative w-full max-w-6xl mx-auto",children:[s.jsxs("div",{"data-loc":"client/src/components/WorldMapHub.tsx:470",className:"relative",children:[s.jsx("img",{"data-loc":"client/src/components/WorldMapHub.tsx:472",loading:"lazy",src:"/world-dots.svg",alt:"World Map",className:"w-full h-auto opacity-60",style:{filter:"brightness(1.2)"}}),s.jsxs("svg",{"data-loc":"client/src/components/WorldMapHub.tsx:480",viewBox:"0 0 100 48",className:"absolute inset-0 w-full h-full",style:{overflow:"visible"},children:[c.filter(e=>!e.isHub).map((e,t)=>s.jsx(o,{"data-loc":"client/src/components/WorldMapHub.tsx:489",from:{x:H.x/126*100,y:H.y/60*48},to:{x:e.x/126*100,y:e.y/60*48},color:e.typeColor,delay:.6*t,isActive:d===e.id},e.id)),c.map(e=>s.jsx(n,{"data-loc":"client/src/components/WorldMapHub.tsx:507",conn:{...e,x:e.x/126*100,y:e.y/60*48},isActive:d===e.id,onClick:()=>g(e.id)},e.id)),s.jsx("text",{"data-loc":"client/src/components/WorldMapHub.tsx:520",x:H.x/126*100,y:H.y/60*48+3,textAnchor:"middle",fill:"#A096FA",fontSize:"1.5",fontFamily:"Poppins, sans-serif",fontWeight:"700",letterSpacing:"0.1",children:"EL SALVADOR"}),s.jsx("text",{"data-loc":"client/src/components/WorldMapHub.tsx:532",x:H.x/126*100,y:H.y/60*48+4.5,textAnchor:"middle",fill:"#A096FA",fontSize:"0.9",fontFamily:"Poppins, sans-serif",fontWeight:"400",opacity:"0.7",letterSpacing:"0.15",children:r("HUB REGULATÃRIO","REGULATORY HUB","HUB REGULATORIO").toUpperCase()})]})]}),s.jsx("div",{"data-loc":"client/src/components/WorldMapHub.tsx:549",className:"mt-8 flex justify-center min-h-[80px]",children:s.jsx("div",{"data-loc":"client/src/components/WorldMapHub.tsx:550",className:"transition-all duration-500 "+(A?"opacity-100 translate-y-0":"opacity-0 translate-y-4"),children:A&&s.jsxs("div",{"data-loc":"client/src/components/WorldMapHub.tsx:554",className:"flex items-center gap-5 px-8 py-5 bg-white/[0.06] border border-white/10 rounded-2xl backdrop-blur-sm max-w-xl shadow-xl shadow-black/20",children:[s.jsx("div",{"data-loc":"client/src/components/WorldMapHub.tsx:555",className:"w-4 h-4 rounded-full shrink-0 shadow-lg",style:{backgroundColor:A.typeColor,boxShadow:`0 0 12px ${A.typeColor}40`}}),s.jsxs("div",{"data-loc":"client/src/components/WorldMapHub.tsx:559",children:[s.jsx("div",{"data-loc":"client/src/components/WorldMapHub.tsx:560",className:"flex items-center gap-3 mb-1.5",children:s.jsx("span",{"data-loc":"client/src/components/WorldMapHub.tsx:561",className:"text-white font-bold text-base",children:A.label})}),s.jsx("p",{"data-loc":"client/src/components/WorldMapHub.tsx:565",className:"text-white/50 text-sm",children:A.description})]})]})})}),s.jsx("div",{"data-loc":"client/src/components/WorldMapHub.tsx:575",className:"mt-4 flex justify-center gap-2",children:c.filter(e=>!e.isHub).map(e=>s.jsx("button",{"data-loc":"client/src/components/WorldMapHub.tsx:577",onClick:()=>g(e.id),className:"transition-all duration-300 rounded-full "+(d===e.id?"w-6 h-2":"w-2 h-2 hover:opacity-80"),style:{backgroundColor:d===e.id?e.typeColor:`${e.typeColor}40`}},e.id))}),s.jsx("div",{"data-loc":"client/src/components/WorldMapHub.tsx:593",className:"mt-6 flex flex-wrap justify-center gap-4",children:[{color:"#A096FA",label:r("Hub Central","Central Hub","Hub Central")}
1,{color:"#22D3EE",label:r("Américas","Americas","Américas")},{color:"#60A5FA",label:r("Europa","Europe","Europa")},{color:"#34D399",label:r("Ãsia-PacÃfico","Asia-Pacific","Asia-PacÃfico")},{color:"#FBBF24",label:r("Oriente Médio","Middle East","Oriente Medio")},{color:"#F472B6",label:r("Ãfrica","Africa","Ãfrica")}].map(e=>s.jsxs("div",{"data-loc":"client/src/components/WorldMapHub.tsx:602",className:"flex items-center gap-2",children:[s.jsx("div",{"data-loc":"client/src/components/WorldMapHub.tsx:603",className:"w-2.5 h-2.5 rounded-full",style:{backgroundColor:e.color}}),s.jsx("span",{"data-loc":"client/src/components/WorldMapHub.tsx:607",className:"text-[11px] text-white/50 font-medium tracking-wider",children:e.label.toUpperCase()})]},e.label))})]})})})}export{l as default};
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.