PageSourceSearch

https://www.aquads.xyz/static/js/8973.846249f0.chunk.js

js aquads.xyz collected 2026-10-02 01:11:32 UTC 4,649 bytes, 1 lines download raw bytes

1"use strict";(self.webpackChunkbubble_ads=self.webpackChunkbubble_ads||[]).push([[8973],{78973:(e,i,n)=>{n.r(i),n.d(i,{default:()=>a});var o=n(9950),t=n(45530),r=n(44414);const a=()=>{const[e,i]=(0,o.useState)("initializing"),[n,a]=(0,o.useState)(null);(0,o.useEffect)((()=>{const e=document.createElement("script");return e.src="https://accounts.google.com/gsi/client",e.async=!0,e.defer=!0,document.head.appendChild(e),()=>{const e=document.querySelector('script[src="https://accounts.google.com/gsi/client"]');e&&document.head.removeChild(e)}}),[]),(0,o.useEffect)((()=>{if("extension"!==new URLSearchParams(window.location.search).get("source"))return a("Invalid access - this page is for extension authentication only"),void i("error");if(!window.opener)return a("This page must be opened from the extension"),void i("error");const e=setInterval((()=>{"undefined"!==typeof window.google&&window.google.accounts&&window.google.accounts.id&&(clearInterval(e),s())}),100);return setTimeout((()=>{clearInterval(e),"undefined"!==typeof window.google&&window.google.accounts||(a("Google Sign-In failed to load. Please try again."),i("error"))}),1e4),()=>clearInterval(e)}),[]);const s=()=>{const e="235057759522-5vrlagd3ot7p4q1ltm662f50do11o989.apps.googleusercontent.com";try{window.google.accounts.id.initialize({client_id:e,callback:l}),window.google.accounts.id.prompt((e=>{if(e.isNotDisplayed()||e.isSkippedMoment()){const e=document.getElementById("google-button-container");e&&window.google.accounts.id.renderButton(e,{theme:"outline",size:"large",width:300,text:"signin_with"}),i("ready")}else i("ready")}))}catch(n){a("Failed to initialize Google Sign-In"),i("error")}},l=async e=>{if(!e.credential)return a("No credential received from Google"),void i("error");i("signing-in");try{const n=await(0,t.XL)(e.credential);window.opener?(window.opener.postMessage({type:"GOOGLE_AUTH_SUCCESS",payload:{token:n.token,refreshToken:n.refreshToken,user:{userId:n.userId,username:n.username,email:n.email,image:n.image,isAdmin:n.isAdmin,emailVerified:n.emailVerified,userType:n.userType,cv:n.cv}}},"*"),i("success"),setTimeout((()=>{window.close()}),1e3)):(a("Could not communicate with extension"),i("error"))}catch(n){const o=n.message||"Sign-in failed";a(o),window.opener&&window.opener.postMessage({type:"GOOGLE_AUTH_ERROR",error:o},"*"),i("error")}};return"initializing"!==e||n?(0,r.jsx)("div",{style:{display:"flex",flexDirection:"column",alignItems:"center",justifyContent:"center",minHeight:"100vh",background:"linear-gradient(135deg, #0f1419 0%, #1a1f2e 100%)",color:"#ffffff",padding:"20px",fontFamily:'-apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif'},children:(0,r.jsxs)("div",{style:{background:"rgba(31, 41, 55, 0.8)",padding:"40px",borderRadius:"12px",maxWidth:"400px",width:"100%",textAlign:"center",boxShadow:"0 4px 6px rgba(0, 0, 0, 0.3)"},children:[(0,r.jsx)("img",{src:"/logo512.png",alt:"Aquads",style:{width:"80px",height:"80px",marginBottom:"20px",borderRadius:"50%"}}),(0,r.jsx)("h1",{style:{fontSize:"24px",marginBottom:"10px",background:"linear-gradient(135deg, #3b82f6 0%, #06b6d4 100%)",WebkitBackgroundClip:"text",WebkitTextFillColor:"transparent"},children:"AquaSwap Extension"}),(0,r.jsx)("p",{style:{color:"#9ca3af",marginBottom:"30px",fontSize:"14px"},children:"Sign in with Google to continue"}),"initializing"===e&&(0,r.jsx)("div",{style:{color:"#9ca3af"},children:"Initializing..."}),"ready"===e&&(0,r.jsx)("div",{id:"google-button-container",style:{marginTop:"20px"}}),"signing-in"===e&&(0,r.jsx)("div",{style:{color:"#3b82f6",marginTop:"20px"},children:"Signing in..."}),"success"===e&&(0,r.jsx)("div",{style:{color:"#10b981",marginTop:"20px"},children:"\u2713 Success! This window will close automatically."}),"error"===e&&n&&(0,r.jsx)("div",{style:{marginTop:"20px",padding:"12px",background:"rgba(239, 68, 68, 0.1)",border:"1px solid rgba(239, 68, 68, 0.3)",borderRadius:"8px",color:"#ef4444",fontSize:"14px"},children:n}),(0,r.jsx)("p",{style:{marginTop:"30px",fontSize:"11px",color:"#6b7280",fontStyle:"italic"},children:"For existing accounts only"})]})}):(0,r.jsx)("div",{style:{display:"flex",flexDirection:"column",alignItems:"center",justifyContent:"center",minHeight:"100vh",background:"linear-gradient(135deg, #0f1419 0%, #1a1f2e 100%)",color:"#ffffff",padding:"20px",fontFamily:'-apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif'},children:(0,r.jsx)("div",{style:{background:"rgba(31, 41, 55, 0.8)",padding:"40px",borderRadius:"12px",maxWidth:"400px",
1width:"100%",textAlign:"center"},children:(0,r.jsx)("div",{style:{color:"#9ca3af"},children:"Loading..."})})})}}}]);

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.