1import{a as n,r as o,j as e,C as l,R as d}from"./CgBZl8m0.production.bundle.min.js";import{c as u}from"./BTOj8ijf.production.bundle.min.js";import{M as h}from"./CYmoKFeC.production.bundle.min.js";import{A as x}from"./CK-5Vo_r.production.bundle.min.js";import{u as f}from"./CUU-sqeu.production.bundle.min.js";import{b5 as g}from"./CY9JcdZ7.production.bundle.min.js";import{g as j}from"./m7ENDtYp.production.bundle.min.js";import{u as v}from"./BWr4BVpJ.production.bundle.min.js";import"./CHbJgqnE.production.bundle.min.js";import"./DvJkqRNe.production.bundle.min.js";import"./DpOFvyFl.production.bundle.min.js";import"./D4lvmK5r.production.bundle.min.js";import"./uYRgXL5M.production.bundle.min.js";import"./BS0dGend.production.bundle.min.js";import"./CMxhj3GZ.production.bundle.min.js";import"./Czbq-YEj.production.bundle.min.js";import"./BhEpiGZx.production.bundle.min.js";import"./CJLuAe4t.production.bundle.min.js";import"./Dsqj8S3w.production.bundle.min.js";import"./9zG8c1d8.production.bundle.min.js";import"./C7aKDdDU.production.bundle.min.js";import"./BOFlCg2s.production.bundle.min.js";import"./DohGM9_I.production.bundle.min.js";import"./Czj00ZrM.production.bundle.min.js";import"./vhNSgALD.production.bundle.min.js";import"./B7jgtT_H.production.bundle.min.js";import"./DV0DPFOt.production.bundle.min.js";import"./M_FBjfQJ.production.bundle.min.js";import"./BFsIcxdk.production.bundle.min.js";import"./DlG3g9Q4.production.bundle.min.js";import"./URTTg1rg.production.bundle.min.js";import"./IimQW1M7.production.bundle.min.js";import"./DuMSlPdM.production.bundle.min.js";import"./BpQvVIpM.production.bundle.min.js";import"./BZwPEnwo.production.bundle.min.js";import"./B_v3Fv2u.production.bundle.min.js";import"./CHbz8HD7.production.bundle.min.js";import"./BKtnA6hw.production.bundle.min.js";import"./BaeVAzEX.production.bundle.min.js";import"./DhCfBX8j.production.bundle.min.js";import"./PSw9bd14.production.bundle.min.js";import"./BAUftK01.production.bundle.min.js";import"./CIT-tl5U.production.bundle.min.js";import"./DnFKFUTo.production.bundle.min.js";import"./CrsULzDT.production.bundle.min.js";import"./CRSxynHN.production.bundle.min.js";import"./_LyuCvYL.production.bundle.min.js";import"./DnQqxH0F.production.bundle.min.js";const he=()=>{var i;const r=n(),s=r.has("code")&&r.get("code"),m=r.has("configurationId")&&r.get("configurationId")||"",c=r.has("next")&&r.get("next")||"",a=f(),t=v(j),p=o.useContext(x);return o.useEffect(()=>{s&&a(g({code:s,configurationId:m,next:c}))},[]),o.useLayoutEffect(()=>(document.body.classList.add("hide-sidebar"),()=>{document.body.classList.remove("hide-sidebar")}),[]),e.jsx(e.Fragment,{children:e.jsxs("div",{className:"vercel-integration-popup",children:[e.jsx("div",{className:"mw-logo",children:e.jsx(h,{})}),e.jsx("div",{className:"mw-row",children:e.jsx("div",{className:"mw-column",children:e.jsx("div",{className:"inner-content",children:e.jsxs("div",{className:"mw-title-section",children:[e.jsxs("h1",{children:["Hello ",((i=p.user)==null?void 0:i.full_name)||"",","]}),e.jsx("div",{className:u("mw-fetch-details",{loader:t.inflight}),children:t.inflight?e.jsx(l,{}):e.jsx(d.Fragment,{children:t.data.accessToken?e.jsxs("div",{className:"respond success",children:[e.jsx("p",{children:"Vercel integration has been setup successfully."}),e.jsx("p",{children:"Now you will be redirected back to Vercel."}),e.jsx("p",{className:"tag-line",children:"Happy Observing!"})]}):e.jsxs("div",{className:"respond",children:[e.jsx("p",{children:"Integration process could not be completed."}),e.jsx("p",{className:"tag-line",children:"Retry or contact @Middleware Team."})]})})})]})})})})]})})};export{he as default};
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.