PageSourceSearch

https://socialloop.ai/_next/static/chunks/8848-8a1128afb093f60b.js

js socialloop.ai collected 2026-10-05 12:45:23 UTC 10,969 bytes, 1 lines download raw bytes

1"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[2553,8848],{12553:(e,t,n)=>{n.r(t),n.d(t,{ActionCodeOperation:()=>r.A,ActionCodeURL:()=>r.a,AuthCredential:()=>r.b,AuthErrorCodes:()=>r.c,EmailAuthCredential:()=>r.E,EmailAuthProvider:()=>r.d,FacebookAuthProvider:()=>r.F,FactorId:()=>r.e,GithubAuthProvider:()=>r.G,GoogleAuthProvider:()=>r.f,OAuthCredential:()=>r.O,OAuthProvider:()=>r.g,OperationType:()=>r.h,PhoneAuthCredential:()=>r.P,PhoneAuthProvider:()=>r.i,PhoneMultiFactorGenerator:()=>r.j,ProviderId:()=>r.k,RecaptchaVerifier:()=>r.R,SAMLAuthProvider:()=>r.S,SignInMethod:()=>r.l,TotpMultiFactorGenerator:()=>r.T,TotpSecret:()=>r.m,TwitterAuthProvider:()=>r.n,applyActionCode:()=>r.o,beforeAuthStateChanged:()=>r.p,browserCookiePersistence:()=>r.q,browserLocalPersistence:()=>r.r,browserPopupRedirectResolver:()=>r.s,browserSessionPersistence:()=>r.t,checkActionCode:()=>r.u,confirmPasswordReset:()=>r.v,connectAuthEmulator:()=>r.w,createUserWithEmailAndPassword:()=>r.x,debugErrorMap:()=>r.y,deleteUser:()=>r.z,fetchSignInMethodsForEmail:()=>r.B,getAdditionalUserInfo:()=>r.C,getAuth:()=>r.D,getIdToken:()=>r.H,getIdTokenResult:()=>r.I,getMultiFactorResolver:()=>r.J,getRedirectResult:()=>r.K,inMemoryPersistence:()=>r.L,indexedDBLocalPersistence:()=>r.M,initializeAuth:()=>r.N,initializeRecaptchaConfig:()=>r.Q,isSignInWithEmailLink:()=>r.U,linkWithCredential:()=>r.V,linkWithPhoneNumber:()=>r.W,linkWithPopup:()=>r.X,linkWithRedirect:()=>r.Y,multiFactor:()=>r.Z,onAuthStateChanged:()=>r._,onIdTokenChanged:()=>r.$,parseActionCodeURL:()=>r.a0,prodErrorMap:()=>r.a1,reauthenticateWithCredential:()=>r.a2,reauthenticateWithPhoneNumber:()=>r.a3,reauthenticateWithPopup:()=>r.a4,reauthenticateWithRedirect:()=>r.a5,reload:()=>r.a6,revokeAccessToken:()=>r.a7,sendEmailVerification:()=>r.a8,sendPasswordResetEmail:()=>r.a9,sendSignInLinkToEmail:()=>r.aa,setPersistence:()=>r.ab,signInAnonymously:()=>r.ac,signInWithCredential:()=>r.ad,signInWithCustomToken:()=>r.ae,signInWithEmailAndPassword:()=>r.af,signInWithEmailLink:()=>r.ag,signInWithPhoneNumber:()=>r.ah,signInWithPopup:()=>r.ai,signInWithRedirect:()=>r.aj,signOut:()=>r.ak,unlink:()=>r.al,updateCurrentUser:()=>r.am,updateEmail:()=>r.an,updatePassword:()=>r.ao,updatePhoneNumber:()=>r.ap,updateProfile:()=>r.aq,useDeviceLanguage:()=>r.ar,validatePassword:()=>r.as,verifyBeforeUpdateEmail:()=>r.at,verifyPasswordResetCode:()=>r.au});var r=n(48988);n(38277),n(22846),n(80395),n(46366)},52078:(e,t,n)=>{n.d(t,{Dk:()=>r.Dk,Wp:()=>r.Wp});var r=n(38277);(0,r.KO)("firebase","12.18.0","app")},76849:(e,t,n)=>{n.r(t),n.d(t,{FunctionsError:()=>d,connectFunctionsEmulator:()=>C,getFunctions:()=>E,httpsCallable:()=>b,httpsCallableFromURL:()=>I});var r=n(38277),i=n(22846),a=n(46366);function o(e,t){let n={};for(let r in e)e.hasOwnProperty(r)&&(n[r]=t(e[r]));return n}function s(e){if(null==e)return null;if(e instanceof Number&&(e=e.valueOf()),"number"==typeof e&&isFinite(e)||!0===e||!1===e||"[object String]"===Object.prototype.toString.call(e))return e;if(e instanceof Date)return e.toISOString();if(Array.isArray(e))return e.map(e=>s(e));if("function"==typeof e||"object"==typeof e)return o(e,e=>s(e));throw Error("Data cannot be encoded in JSON: "+e)}function l(e){if(null==e)return e;if(e["@type"])switch(e["@type"]){case"type.googleapis.com/google.protobuf.Int64Value":case"type.googleapis.com/google.protobuf.UInt64Value":{let t=Number(e.value);if(isNaN(t))throw Error("Data cannot be decoded from JSON: "+e);return t}default:throw Error("Data cannot be decoded from JSON: "+e)}return Array.isArray(e)?e.map(e=>l(e)):"function"==typeof e||"object"==typeof e?o(e,e=>l(e)):e}let c="functions",u={OK:"ok",CANCELLED:"cancelled",UNKNOWN:"unknown",INVALID_ARGUMENT:"invalid-argument",DEADLINE_EXCEEDED:"deadline-exceeded",NOT_FOUND:"not-found",ALREADY_EXISTS:"already-exists",PERMISSION_DENIED:"permission-denied",UNAUTHENTICATED:"unauthenticated",RESOURCE_EXHAUSTED:"resource-exhausted",FAILED_PRECONDITION:"failed-precondition",ABORTED:"aborted",OUT_OF_RANGE:"out-of-range",UNIMPLEMENTED:"unimplemented",INTERNAL:"internal",UNAVAILABLE:"unavailable",DATA_LOSS:"data-loss"};class d extends i.g{constructor(e,t,n,r){super(`${c}/${e}`,t||"",null!=r?{url:r}:void 0),this.details=n,Object.setPrototypeOf(this,d.prototype)}}function h(e,t,n){let r,i=function(e){if(e>=200&&e<300)return"ok";switch(e){case 0:case 500:return"internal";case 400:return"invalid-argument";case 401:return"unauthenticated";case 403:return"permission-denied";case 404:return"not-found";case 409:return"aborted";case 429:return"resource-exhausted";case 499:return"cancelled";case 501:return"unimplemented";case 503:return"unavailable";case 504:return"deadline-exceeded"}return"unknown"}(e),a=i;try{let o=t&&t.error;
1if(o){let t=o.status;if("string"==typeof t){if(!u[t])return new d("internal",`Unknown backend error status: ${t} [${e}]`,void 0,n);i=u[t],a=`Backend error status: ${t}`}let s=o.message;"string"==typeof s&&(a=s),r=o.details,void 0!==r&&(r=l(r))}}catch(e){}return"ok"===i?null:new d(i,`${a} [${e}]`,r,n)}class p{constructor(e,t,n,i){this.app=e,this.auth=null,this.messaging=null,this.appCheck=null,this.serverAppAppCheckToken=null,(0,r.xZ)(e)&&e.settings.appCheckToken&&(this.serverAppAppCheckToken=e.settings.appCheckToken),this.auth=t.getImmediate({optional:!0}),this.messaging=n.getImmediate({optional:!0}),this.auth||t.get().then(e=>this.auth=e,()=>{}),this.messaging||n.get().then(e=>this.messaging=e,()=>{}),this.appCheck||i?.get().then(e=>this.appCheck=e,()=>{})}async getAuthToken(){if(this.auth)try{let e=await this.auth.getToken();return e?.accessToken}catch(e){return}}async getMessagingToken(){if(this.messaging&&"Notification"in self&&"granted"===Notification.permission)try{return await this.messaging.getToken()}catch(e){return}}async getAppCheckToken(e){if(this.serverAppAppCheckToken)return this.serverAppAppCheckToken;if(this.appCheck){let t=e?await this.appCheck.getLimitedUseToken():await this.appCheck.getToken();return t.error?null:t.token}return null}async getContext(e){let t=await this.getAuthToken();return{authToken:t,messagingToken:await this.getMessagingToken(),appCheckToken:await this.getAppCheckToken(e)}}}let m="us-central1",g=/^data: (.*?)(?:\n|$)/;class f{constructor(e,t,n,r,i=m,a=(...e)=>fetch(...e)){this.app=e,this.fetchImpl=a,this.emulatorOrigin=null,this.contextProvider=new p(e,t,n,r),this.cancelAllRequests=new Promise(e=>{this.deleteService=()=>Promise.resolve(e())});try{let e=new URL(i);this.customDomain=e.origin+("/"===e.pathname?"":e.pathname),this.region=m}catch(e){this.customDomain=null,this.region=i}}_delete(){return this.deleteService()}_url(e){let t=this.app.options.projectId;if(null!==this.emulatorOrigin){let n=this.emulatorOrigin;return`${n}/${t}/${this.region}/${e}`}return null!==this.customDomain?`${this.customDomain}/${e}`:`https://${this.region}-${t}.cloudfunctions.net/${e}`}}function k(e){return e.emulatorOrigin&&(0,i.zJ)(e.emulatorOrigin)?"include":void 0}async function A(e,t,n,r,i){let a;n["Content-Type"]="application/json";try{a=await r(e,{method:"POST",body:JSON.stringify(t),headers:n,credentials:k(i)})}catch(e){return{status:0,json:null}}let o=null;try{o=await a.json()}catch(e){}return{status:a.status,json:o}}async function w(e,t){let n={},r=await e.contextProvider.getContext(t.limitedUseAppCheckTokens);return r.authToken&&(n.Authorization="Bearer "+r.authToken),r.messagingToken&&(n["Firebase-Instance-ID-Token"]=r.messagingToken),null!==r.appCheckToken&&(n["X-Firebase-AppCheck"]=r.appCheckToken),n}async function y(e,t,n,r){var i;let a,o={data:n=s(n)},c=await w(e,r),u=(i=r.timeout||7e4,a=null,{promise:new Promise((e,t)=>{a=setTimeout(()=>{t(new d("deadline-exceeded","deadline-exceeded"))},i)}),cancel:()=>{a&&clearTimeout(a)}}),p=await Promise.race([A(t,o,c,e.fetchImpl,e),u.promise,e.cancelAllRequests]);if(u.cancel(),!p)throw new d("cancelled","Firebase Functions instance was deleted.");let m=h(p.status,p.json,t);if(m)throw m;if(!p.json)throw new d("internal","Response is not valid JSON object.",void 0,t);let g=p.json.data;if(void 0===g&&(g=p.json.result),void 0===g)throw new d("internal","Response is missing data field.",void 0,t);return{data:l(g)}}async function v(e,t,n,r){let i,a,o,c={data:n=s(n)},u=await w(e,r);u["Content-Type"]="application/json",u.Accept="text/event-stream";try{i=await e.fetchImpl(t,{method:"POST",body:JSON.stringify(c),headers:u,signal:r?.signal,credentials:k(e)})}catch(n){if(n instanceof Error&&"AbortError"===n.name){let e=new d("cancelled","Request was cancelled.");return{data:Promise.reject(e),stream:{[Symbol.asyncIterator]:()=>({next:()=>Promise.reject(e)})}}}let e=h(0,null,t);return{data:Promise.reject(e),stream:{[Symbol.asyncIterator]:()=>({next:()=>Promise.reject(e)})}}}let p=new Promise((e,t)=>{a=e,o=t});r?.signal?.addEventListener("abort",()=>{let e=new d("cancelled","Request was cancelled.");o(e)});let m=function(e,t,n,r,i){let a=(e,r)=>{let a=e.match(g);if(!a)return;let o=a[1];try{let e=JSON.parse(o);if("result"in e)return void t(l(e.result));if("message"in e)return void r.enqueue(l(e.message));if("error"in e){let t=h(0,e,i);r.error(t),n(t);return}}catch(e){if(e instanceof d){r.error(e),n(e);return}}},o=new TextDecoder;return new ReadableStream({start(t){let s="";return l();async function l(){if(r?.aborted){let e=new d("cancelled","Request was cancelled");return t.error(e),n(e),Promise.resolve()}try{let{value:i,done:c}=await e.read();if(c){s.trim()&&a(s.trim(),t),t.close();return}if(r?.aborted){let r=new d("cancelled","Request was cancelled");t.error(r),n(r),await e.cancel();return}let u=(s+=o.decode(i,{stream:!0})).split("\n");for(let e of(s=u.pop()||"",u))e.trim()&&a(e.trim(),t);return l()}catch(r){let e=r instanceof d?r:h(0,null,i);t.error(e),n(e)}}},cancel:()=>e.cancel()})}(i.body.getReader(),a,o,r?.signal,t);
1return{stream:{[Symbol.asyncIterator](){let e=m.getReader();return{async next(){let{value:t,done:n}=await e.read();return{value:t,done:n}},return:async()=>(await e.cancel(),{done:!0,value:void 0})}}},data:p}}let P="@firebase/functions",T="0.14.0";function E(e=(0,r.Sx)(),t=m){let n=(0,r.j6)((0,i.Ku)(e),c).getImmediate({identifier:t}),a=(0,i.yU)("functions");return a&&C(n,...a),n}function C(e,t,n){var r=(0,i.Ku)(e);let a=(0,i.zJ)(t);r.emulatorOrigin=`http${a?"s":""}://${t}:${n}`,a&&(0,i.gE)(r.emulatorOrigin+"/backends")}function b(e,t,n){var r=(0,i.Ku)(e);let a=e=>(function(e,t,n,r){let i=e._url(t);return y(e,i,n,r)})(r,t,e,n||{});return a.stream=(e,n)=>(function(e,t,n,r){let i=e._url(t);return v(e,i,n,r||{})})(r,t,e,n),a}function I(e,t,n){var r=(0,i.Ku)(e);let a=e=>y(r,t,e,n||{});return a.stream=(e,n)=>v(r,t,e,n||{}),a}(0,r.om)(new a.uA(c,(e,{instanceIdentifier:t})=>{let n=e.getProvider("app").getImmediate(),r=e.getProvider("auth-internal");return new f(n,r,e.getProvider("messaging-internal"),e.getProvider("app-check-internal"),t)},"PUBLIC").setMultipleInstances(!0)),(0,r.KO)(P,T,void 0),(0,r.KO)(P,T,"esm2020")}}]);

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.