PageSourceSearch

https://fabric.so/_next/static/chunks/pages/connections-integratio…/[provider]-e2467111a8aec3c5.js

js fabric.so collected 2026-10-01 15:14:40 UTC 6,443 bytes, 1 lines download raw bytes

1!function(){try{var e="u">typeof window?window:"u">typeof global?global:"u">typeof globalThis?globalThis:"u">typeof self?self:{},t=(new e.Error).stack;t&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[t]="cafcf89d-baec-4e16-91fe-eb7cf8c318ea",e._sentryDebugIdIdentifier="sentry-dbid-cafcf89d-baec-4e16-91fe-eb7cf8c318ea")}catch(e){}}(),(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[2823],{3008:(e,t,r)=>{"use strict";r.d(t,{KT:()=>i,f1:()=>a,xd:()=>s});var n=r(54132),o=r(19171);let a={google_drive:"Google Drive",dropbox:"Dropbox",gmail:"Gmail"},i={err_integration_exceeded_resource_volume:`Your connection contains more than ${o.D} items. Try reducing the amount and then resync.`,err_integration_remote_deleted:"The remote connection has been deleted or you no longer have access to it.",[n.B.EXCEEDS_STORAGE_LIMIT]:"You have exceeded your storage limit. Upgrade your plan or free up some space, then resume the sync.",[n.B.EXCEEDS_CREDIT_LIMIT]:"You have exceeded your credit limit. Upgrade your plan to resume sync.",err_needs_reinstall:"The connection needs to be reinstalled.",feature_not_available:"Not available for your current plan. Please upgrade to enable the connection."},s=e=>e&&e in i?i[e]:e},19171:(e,t,r)=>{"use strict";r.d(t,{D:()=>n,K:()=>o});let n=5e3,o=1},23788:(e,t,r)=>{"use strict";r.d(t,{L:()=>o,c:()=>n});let n={initial:{opacity:0}
1,animate:{opacity:1},exit:{opacity:0},transition:{delay:.05,duration:.2}},o={initial:{opacity:0,y:"100%"},exit:{opacity:0,y:"100%"},animate:{opacity:1,y:0},transition:{delay:.05,duration:.2}}},24111:(e,t,r)=>{"use strict";r.d(t,{$$:()=>o,HA:()=>i,Mx:()=>a});var n=r(22859);let o=(e,t)=>new Promise(r=>setTimeout(()=>{r(t)},e)),a=Object.assign(async(e,t)=>{let r=(0,n.h)(`Promise retry${t?.loggerKey?` (${t.loggerKey})`:""}`,!1),a=t?.maxRetries??5,i=t?.delay??3e3,s=t?.minDelay??300;for(let n=0;n<=a;n+=1){let c=n+1;try{let t=await e({attempt:c});return r.debug(`OK. Attempts: ${c.toString()}`),t}catch(l){if(n===a)return r.error(`ABORT. Attempts ${c.toString()}`,l),Promise.reject(l);if(t?.shouldRetry&&!t.shouldRetry(l,c))return r.error(`ABORT (shouldRetry returned false). Attempts ${c.toString()}`,l),Promise.reject(l);let e=Math.max(t?.delayFn?.(c)??i,s);r.warn(`Fail. Attempts ${c.toString()}, retry in ${e.toString()}ms`,l),await o(e,void 0)}}return Promise.reject(Error("This should never happen, satisfying TS"))},{DEFAULT_DELAY:3e3,DEFAULT_MAX_RETRIES:5,increasedDelayWithEachAttempt:e=>t=>e*t}),i=e=>async(...t)=>{let r=null,n=e=>(e.preventDefault(),e.returnValue="","");try{return window.addEventListener("beforeunload",n),r=()=>window.removeEventListener("beforeunload",n),await e(...t)}finally{r&&r()}}},29852:(e,t,r)=>{"use strict";r.d(t,{G:()=>h});var n=r(23788),o=r(12500),a=r(93152),i=r(44884),s=r(98857),c=r(87975);let l={primary:c.Vg["color-text-primary"],secondary:c.Vg["color-text-secondary"],tertiary:c.Vg["color-text-tertiary"],placeholder:c.Vg["color-text-placeholder"],"app-primary-text":c.Vg["color-app-primary-text"]};var d=r(53037),u=r(49868),p=r(69896);let g=(0,i.I4)(u.s).attrs(e=>({direction:"column",alignItems:"center",justifyContent:"center",...e})).withConfig((0,d.K)(["mobileCenter"])).withConfig({componentId:"sc-1404a006-0"})(["width:100%;max-width:680px;margin:auto;"," text-align:center;flex-grow:1;padding:3rem 1rem 5rem 1rem;",""],e=>!e.gap&&(0,i.AH)(["gap:60px;"]),e=>!e.mobileCenter&&(0,i.AH)(["","{justify-content:flex-start;padding-top:2.5rem;}"],s.$$)),m=(0,i.I4)(u.s).attrs(({centeredText:e,...t})=>({direction:"column",justifyContent:"center","data-text-align":e?"center":"left",...t})).withConfig({componentId:"sc-1404a006-1"})(["max-width:100vw;min-height:100dvh;padding-top:",";padding-bottom:max( clamp(0px,",",10px),var(--keyboard-height,0px) );color:",";background:",";","{justify-content:flex-start;}"],o.Kq.top,o.Kq.bottom,c.Vg["color-text-primary"],c.Vg["color-bg-primary"],s.$$),y=(0,i.I4)(a.P.h1).attrs(e=>({...n.c,...e})).withConfig({componentId:"sc-1404a006-2"})(["font-size:2.125rem;font-weight:700;text-align:left;font-family:'Manrope',sans-serif;","{text-align:center;}",' [data-text-align="center"] &{text-align:center;}'],s.$$,(0,i.AH)(["",""],e=>{let t=e.color??"primary";return t?(0,i.AH)(["color:",";"],l[t]):""})),h={Root:m,CenteringContainer:g,Title:y,Description:i.I4.p.withConfig({componentId:"sc-1404a006-3"})(["font-size:0.875rem;color:",';line-height:1.5rem;max-width:480px;[data-text-align="center"] &{text-align:center;}'],c.Vg["color-text-secondary"]),Spinner:(0,i.I4)(p.y$).attrs({size:25,thickness:3}).withConfig({componentId:"sc-1404a006-4"})([""])}},39447:(e,t,r)=>{"use strict";r.d(t,{$:()=>l});var n=r(50602),o=r(1200),a=r(20328),i=r(24111),s=r(63916),c=r(97791);let l=()=>{let e,t=(0,n.c)(3),r=(0,o.rd)(),{apiUrl:a}=(0,c.SU)();return t[0]!==a||t[1]!==r?(e={mutationFn:async e=>Promise.all([r.push(`${a}/v2/integrations/${e.provider}/oauth/callback?${new URLSearchParams(e.searchParams)}`),(0,i.$$)(2e3,!0)]),onError:d},t[0]=a,t[1]=r,t[2]=e):e=t[2],(0,s.n)(e)};function d(e){(0,a.Cp)(Error("Failed to handle integration OAUTH"),{extra:{error:e}})}},59260:(e,t,r)=>{"use strict";r.d(t,{d:()=>a,w:()=>o});var n=r(29852);let o=n.G.CenteringContainer,a=n.G.Root},63157:(e,t,r)=>{"use strict";r.r(t),r.d(t,{__N_SSP:()=>f,default:()=>x});var n=r(86818),o=r(50602),a=r(60239),i=r(59260),s=r(3008),c=r(39447),l=r(39761),d=r(43866),u=r(99321),p=r(99170),g=r(69896),m=r(14262),y=r(4168),h=r.n(y),f=!0;let x=e=>{let t,r,y=(0,o.c)(9),{code:f,state:x,provider:w}
1=e,_=(0,c.$)(),b=(0,l.Bw)();return y[0]!==f||y[1]!==_||y[2]!==w||y[3]!==x?(t=()=>{setTimeout(()=>{_.mutate({provider:w,searchParams:{code:f,state:x}})},1)},y[0]=f,y[1]=_,y[2]=w,y[3]=x,y[4]=t):t=y[4],(0,d.A)(t),y[5]!==b||y[6]!==_.isError||y[7]!==w?(r=(0,n.jsx)(p.FK.Default,{children:(0,n.jsx)(i.d,{children:_.isError?(0,n.jsxs)(i.w,{children:[(0,n.jsx)(m.H1,{children:"Failed to connect :("}),(0,n.jsx)(u.$n,{as:h(),href:{pathname:a.GJ.workspace.appStore.any,query:{workspaceSlug:b,slug:["connections"]}},children:"Back to connections"})]}):(0,n.jsxs)(i.w,{children:[(0,n.jsx)(g.y$,{size:38}),(0,n.jsxs)(m.H1,{children:["Connecting to your ",s.f1[w]," ","account"]})]})})}),y[5]=b,y[6]=_.isError,y[7]=w,y[8]=r):r=y[8],r}},67364:(e,t,r)=>{(window.__NEXT_P=window.__NEXT_P||[]).push(["/connections-integrations/oauth-callback/[provider]",function(){return r(63157)}])}},e=>{e.O(0,[6593,636,8792],()=>e(e.s=67364)),_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.