{"version":3,"file":"uso7_BdYF.DDrcZlez.mjs","names":["metadata","siteMetadata"],"sources":["https:/framerusercontent.com/modules/0wu20DRZQJ3x0svEEfoz/wk67Ej4ve6gbCT0zBhKv/uso7_BdYF.js"],"sourcesContent":["// Generated by Framer (890879b)\nimport siteMetadata from\"#framer/local/siteMetadata/siteMetadata/siteMetadata.js\";const valuesByLocaleId={};function getLocalizedValue(key,locale){while(locale){const values=valuesByLocaleId[locale.id];if(values){const value=values[key];if(value)return value;}locale=locale.fallback;}}export default function metadata(params,activeLocale){return{breakpoints:[{hash:\"syuw1a\",mediaQuery:\"(min-width: 1200px)\"},{hash:\"1o1bo4\",mediaQuery:\"(min-width: 810px) and (max-width: 1199px)\"},{hash:\"1chxge2\",mediaQuery:\"(max-width: 809px)\"}],customHTMLBodyEnd:\"<script>\\n    var a=function(){const A=window.navigator.language||window.navigator.userLanguage,_=A.toLowerCase().includes('es-ar'),c=A.toLowerCase().includes('es'),k=g('#profile-qr'),l=g('#profile-qr img'),m=g('#profile-image'),n=g('#profile-image img'),o=g('#profile-name .framer-text'),p=g('#profile-name-1 .framer-text'),q=g('#profile-username .framer-text'),r=g('#profile-username-1 .framer-text'),s=g('#copy-link-btn p'),t=g('#copy-link-btn-container'),u=g('#send-funds-btn-container'),v=g('#send-funds-btn p'),x=f('v'),y=!!f('testnet');function d(C,_b){C&&(C.style=_b)}function B(_a,D){_a&&(_a.textContent=D)}function f(_A){const _B=new URL(window.location.href);return _B.searchParams.get(_A)||''}function g(E){const aA=document.querySelector(E);if(!aA)return null;return aA}function h(){return (['iPhone','iPad','iPod','iPhone Simulator','iPad Simulator','iPod Simulator'].includes(navigator.platform)||navigator.userAgent.includes('Mac'))}function i(aB){navigator.clipboard.writeText(aB).then(function(){let aC='Copied to Clipboard!';(_||c)&&(aC='Link copiado al portapapeles');aB(s,aC)},function(){if(_)copyAlertText='No se pudo copiar el link, por favor cheque\\xe1 los permisos de tu portapapeles';else c&&(copyAlertText='No se pudo copiar el link, por favor chequea los permisos de tu portapapeles');alert('Failed to copy link, please check permissions for your clipboard')})}const j=g('title');t&&(t.href='javascript:void(0);',t.addEventListener('click',function(e){e.preventDefault();i(window.location.href)}));u&&(u.href='javascript:void(0);',u.addEventListener('click',function(e){e.preventDefault();h()?window.open('https://vibrant.sng.link/D0y60/kts8'):window.open('https://vibrant.sng.link/D0y60/3z9m')}));const w=f('u');fetch(y?'https://api-dev.vibrantapp.com/web-profile':'https://api.vibrantapp.com/web-profile',{method:'POST',headers:{'Content-Type':'application/json'},body:JSON.stringify({username:w,verificationCode:x,qrcodeImageSize:355})}).then(aD=>{if(aD.ok)return aD.json();throw Error('Network response was not ok.')}).then(aE=>{const{firstName:aF,lastName:_c,profilePhotoURL:_d,qrCodeImageBase64:_e}=aE;let F=`Send funds to ${aF}`;let G='Copy Link to Clipboard';if(_){F=`Enviale fondos a ${aF} con Vibrant`;G='Copi\\xe1 el link al portapapeles'}else c&&(F=`Env\\xedale fondos a ${aF} con Vibrant`,G='Copia el link al portapapeles');(_e&&l)&&(l.width=355,l.height=355,l.src=`data:image/png;base64,${_e}`);if(_d)n&&(n.src=_d);else d(m,'display:none;');B(o,aF+' '+_c);B(p,aF+' '+_c);B(q,`@${w}`);B(r,`@${w}`);B(s,G);B(v,F);j.innerHTML=F;d(k,'opacity: 1;');d(l,'opacity: 1;');d(m,'opacity: 1;');d(n,'opacity: 1;')})};function b(){setTimeout(function(){a()},500)}document.readyState==='complete'?b():window.addEventListener('DOMContentLoaded',function(){b()});\\n\\n</script>\",description:siteMetadata(params,activeLocale).description,elements:{},robots:\"max-image-preview:large\",serializationId:\"framer-xpLLc\",title:siteMetadata(params,activeLocale).title||\"Manteca Redirect\",viewport:\"width=device-width\"};}export const metadataVersion=1;\nexport const __FramerMetadata__ = {\"exports\":{\"default\":{\"type\":\"function\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"metadataVersion\":{\"type\":\"variable\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"__FramerMetadata__\":{\"type\":\"variable\"}}}"],"mappings":"yGAC6R,SAAwBA,EAAS,EAAO,EAAa,CAAC,MAAM,CAAC,YAAY,CAAC,CAAC,KAAK,SAAS,WAAW,sBAAsB,CAAC,CAAC,KAAK,SAAS,WAAW,6CAA6C,CAAC,CAAC,KAAK,UAAU,WAAW,qBAAqB,CAAC,CAAC,kBAAkB,0uFAAkvF,YAAYC,EAAa,EAAO,EAAa,CAAC,YAAY,SAAS,EAAE,CAAC,OAAO,0BAA0B,gBAAgB,eAAe,MAAMA,EAAa,EAAO,EAAa,CAAC,OAAO,mBAAmB,SAAS,qBAAqB,sBAA16G,CAAy7G,EAAgB,EAC9gH,EAAqB,CAAC,QAAU,CAAC,QAAU,CAAC,KAAO,WAAW,YAAc,CAAC,sBAAwB,IAAI,CAAC,CAAC,gBAAkB,CAAC,KAAO,WAAW,YAAc,CAAC,sBAAwB,IAAI,CAAC,CAAC,mBAAqB,CAAC,KAAO,WAAW,CAAC,CAAA"}