1(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[2225],{80871:function(e,t,r){(window.__NEXT_P=window.__NEXT_P||[]).push(["/auth/popup",function(){return r(17225)}])},9887:function(e,t,r){"use strict";r.r(t),r.d(t,{default:function(){return o}});var n=r(85893);function o(e){let{error:t}=e;return(0,n.jsxs)("div",{style:{display:"flex",justifyContent:"center",alignItems:"center",height:"100vh",fontFamily:"Poppins, sans-serif"},children:[t?(0,n.jsx)("p",{children:t}):(0,n.jsx)("div",{style:{width:60,height:60,border:"8px solid #e0e0e0",borderTop:"8px solid #000",borderRadius:"50%",animation:"spin 1s linear infinite"}}),(0,n.jsx)("style",{children:"@keyframes spin { to { transform: rotate(360deg) } }"})]})}},17225:function(e,t,r){"use strict";r.r(t),r.d(t,{default:function(){return u}});var n=r(85893),o=r(67294),i=r(38271),s=r(9887);function u(){let[e,t]=(0,o.useState)(null);function r(e){window.opener&&window.opener.postMessage({type:"auth-error",error:e},"*"),t(e),setTimeout(()=>window.close(),3e3)}return(0,o.useEffect)(()=>{i.I8.getRedirectResult().then(e=>{if(e&&e.user)return console.log("Auth popup sign-in success",e.user.email),e.user.getIdToken().then(e=>{window.opener&&window.opener.postMessage({type:"auth-result",idToken:e},"*"),setTimeout(()=>window.close(),1e3)});let t=new URLSearchParams(window.location.search).get("provider")||"google.com";if("google.com"!==t){r("Unsupported provider: "+t);return}let n=new i.ZP.auth.GoogleAuthProvider;n.setCustomParameters({prompt:"select_account"}),i.I8.signInWithRedirect(n)}).catch(e=>{console.log("Auth popup error",e),r(e.message)})},[]),(0,n.jsx)(s.default,{error:e})}},38271:function(e,t,r){"use strict";let n,o,i,s,u,a;r.d(t,{Ap:function(){return i},I8:function(){return s},RZ:function(){return a},Xy:function(){return l},gB:function(){return o},tO:function(){return u}});var c=r(44866);r(88522),r(46282),r(83063),r(67058),r(11837);var d=r(39828);let l={apiKey:"AIzaSyA4zqQv8hG7xMmtT_rvdFhKEBEPnr73CLQ",authDomain:"auth.orderse.com",databaseURL:"https://orderlina-dev.firebaseio.com",projectId:"orderlina-dev",storageBucket:"olhf3",messagingSenderId:"768991993622",appId:"1:768991993622:web:3fed769cf731d6c5ad7a37"};n=c.Z.initializeApp(l),o=(0,d.LV)(n,{useFetchStreams:!1}),i=new c.Z.auth.GoogleAuthProvider,s=c.Z.auth(),u=c.Z.storage(),a={database:o,collection:d.hJ,query:d.IO,where:d.ar,doc:d.JU,setDoc:d.pl,getDoc:d.QT,getDocs:d.PL,onSnapshot:d.cf,and:d.xD,or:d.or,addDoc:d.ET,serverTimestamp:d.Bt,Timestamp:d.EK,updateDoc:d.r7,deleteDoc:d.oe,limit:d.b9,orderBy:d.Xo},t.ZP=c.Z}},function(e){e.O(0,[2016,1627,7257,4623,2888,9774,179],function(){return e(e.s=80871)}),_N_E=e.O()}]);
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.