PageSourceSearch

https://cdn.buymeacoffee.com/static/prod/1052/build/assets/AuthSocials-BWiyofiZ.js

js buymeacoffee.com collected 2026-09-24 06:03:44 UTC 5,263 bytes, 1 lines download raw bytes

1import{D as e,On as t,Pt as n,Zn as r,_ as i,b as a,mt as o,qt as s,tr as c,vn as l}from"./runtime-core.esm-bundler-BKdLzFmX.js";import{t as u}from"./appVariables-if8fQ3xE.js";import{t as d}from"./_plugin-vue_export-helper-BDNMzG2s.js";import{t as f}from"./helper-D5ziWoUd.js";import{t as p}from"./XIcon-BM49pkC6.js";import{n as m}from"./paymentHelper-BzrjJRaH.js";import{t as h}from"./Facebook-_KJThALY.js";import{n as g}from"./AuthLayout-BS_0vuoj.js";var _={class:`py-8 font-cr-regular text-sm flex items-center justify-center relative`},v={class:`bg-white py-2 px-4 absolute`},y={__name:`LineSeparation`,props:[`text`],setup(e){return(t,n)=>(o(),a(`div`,_,[n[0]||=i(`span`,{class:`block w-full bg-greyE5 h-px`},null,-1),i(`span`,v,c(e.text),1)]))}},b={},x={width:`22`,height:`22`,viewBox:`0 0 23 24`,fill:`none`,xmlns:`http://www.w3.org/2000/svg`};function S(e,t){return o(),a(`svg`,x,[...t[0]||=[i(`path`,{d:`M22.7074 12.2531C22.7074 11.4389 22.6436 10.6203 22.5074 9.81934H11.582V14.4315H17.8385C17.5788 15.9191 16.7446 17.235 15.5232 18.0711V21.0638H19.2557C21.4476 18.9777 22.7074 15.8971 22.7074 12.2531Z`,fill:`#4285F4`},null,-1),i(`path`,{d:`M11.5851 23.9555C14.7091 23.9555 17.3436 22.8949 19.2631 21.0641L15.5305 18.0715C14.492 18.802 13.1514 19.2157 11.5894 19.2157C8.56757 19.2157 6.00542 17.1077 5.08611 14.2734H1.23438V17.3585C3.20068 21.403 7.20563 23.9555 11.5851 23.9555Z`,fill:`#34A853`},null,-1),i(`path`,{d:`M5.07965 14.2764C4.59446 12.7888 4.59446 11.1781 5.07965 9.69055V6.60547H1.23214C-0.410713 9.98981 -0.410713 13.9771 1.23214 17.3614L5.07965 14.2764Z`,fill:`#FBBC04`},null,-1),i(`path`,{d:`M11.5851 4.74065C13.2365 4.71424 14.8325 5.35678 16.0285 6.53624L19.3354 3.11669C17.2415 1.08344 14.4622 -0.0344006 11.5851 0.000807131C7.20564 0.000807131 3.20068 2.55337 1.23438 6.60225L5.08186 9.68733C5.99692 6.84871 8.56333 4.74065 11.5851 4.74065Z`,fill:`#EA4335`},null,-1)]])}var C=d(b,[[`render`,S]]),w={},T={width:`20`,height:`24`,viewBox:`0 0 20 24`,fill:`none`,xmlns:`http://www.w3.org/2000/svg`};function E(e,t){return o(),a(`svg`,T,[...t[0]||=[i(`path`,{d:`M6.68377 24C3.11185 23.9794 0.157227 16.6879 0.157227 12.9745C0.157227 6.90873 4.70762 5.58077 6.4613 5.58077C7.25162 5.58077 8.09551 5.89112 8.83984 6.16577C9.36034 6.35734 9.89865 6.55511 10.198 6.55511C10.3772 6.55511 10.7995 6.38688 11.1724 6.23927C11.9675 5.92272 12.957 5.5293 14.1091 5.5293C14.1112 5.5293 14.114 5.5293 14.116 5.5293C14.9763 5.5293 17.5849 5.71811 19.1532 8.0733L19.5206 8.62534L18.9919 9.0243C18.2366 9.5942 16.8585 10.6338 16.8585 12.6931C16.8585 15.132 18.4192 16.07 19.169 16.5211C19.5 16.7202 19.8426 16.9255 19.8426 17.3746C19.8426 17.6678 17.5025 23.9636 14.1043 23.9636C13.2728 23.9636 12.685 23.7137 12.1666 23.4933C11.642 23.2701 11.1895 23.0779 10.4417 23.0779C10.0627 23.0779 9.58341 23.2571 9.07599 23.4473C8.38257 23.7061 7.5977 24 6.70712 24H6.68377Z`,fill:`black`},null,-1),i(`path`,{d:`M14.4691 0C14.5576 3.19106 12.2754 5.40488 9.996 5.26603C9.62039 2.71945 12.2752 0 14.4691 0Z`,fill:`black`},null,-1)]])}var D=d(w,[[`render`,E]]),O={class:`w-full`},k={style:{display:`none !important`}},A={class:`w-[210px] flex`},j={class:`w-[210px] flex`},M={class:`w-[210px] flex`},N={class:`w-[210px] flex items-center`},P={__name:`AuthSocials`,setup(c){let d=l(``),_=async e=>{await m.setDeviceFingerprint();let t=u.IsBrowser?f.getCookieValue(`username`):``,n=t?`project_slug=${t}`:``;d.value=e;let r=f.getLocalStorage(`U_ID`),i=``;r&&r.expiration>Date.now()&&(i=(n&&`&`)+`device_key=${encodeURIComponent(r.device_key)}`);let a=u.IsBrowser?f.getParamsValueFromUrl(`redirect`):``,o=a?((n||i)&&`&`)+`redirect=${encodeURIComponent(a)}`:``;window.location.href=`${u.paymentUrl}/auth/redirect/${e}?${n}${i}${o}`,setTimeout(()=>{d.value=``},800)},v=n();return(n,c)=>(o(),a(`div`,O,[i(`div`,k,[i(`span`,{class:r(`auth-social-google-btn-`+t(v)+`-h0`)},`Continue with Google`,2),i(`span`,{class:r(`auth-social-google-btn-`+t(v)+`-h1`)},`Continue with Facebook`,2),i(`span`,{class:r(`auth-social-google-btn-`+t(v)+`-h2`)},`Continue with Apple`,2),i(`span`,{class:r(`auth-social-google-btn-`+t(v)+`-h3`)},`Continue with Twitter`,2)]),e(g,{onClick:c[0]||=e=>_(`google`),disabled:t(d)===`google`,class:`w-full h-12 text-sm mb-3`,id:`google-login-page`,btnType:`primary`},{default:s(()=>[i(`div`,A,[e(C,{class:`mr-4`}),i(`span`,{class:r(`auth-social-google-btn-`+t(v))},`Continue with Google`,2)])]),_:1},8,[`disabled`]),e(g,{onClick:c[1]||=e=>_(`facebook`),disabled:t(d)===`facebook`,class:`w-full h-12 text-sm mb-3`,btnType:`primary`},{default:s(()=>[i(`div`,j,[e(h,{class:`mr-4`}),i(`span`,{class:r(`auth-social-facebook-btn-`+t(v))},`Continue with Facebook`,2)])]),_:1},8,[`disabled`]),e(g,{onClick:c[2]||=e=>_(`apple`),disabled:t(d)===`apple`,class:`w-full h-12 text-sm mb-3`,btnType:`primary`},{default:s(()=>[i(`div`,M,[e(D,{class:`mr-4`}),i(`span`,{class:r(`auth-social-apple-btn-`+t(v))},`Continue with Apple`,2)])]),_:1},8,[`disabled`]),e(g,{onClick:c[3]||=e=>_(`twitter`),disabled:t(d)===`twitter`,class:`w-full h-12 text-sm`,btnType:`primary`},{default:s(()=>[i(`div`,N,[e(p,{width:`16`,height:`16`,class:`mr-4`}),i(`span`,{class:r(`auth-social-twitter-btn-`+t(v))},`Continue with Twitter`,2)])]),_:1},8,[`disabled`])]))}};export{y as n,P as 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.