1 2!function(){try{var e="undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof globalThis?globalThis:"undefined"!=typeof self?self:{},n=(new e.Error).stack;n&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[n]="00c9d7eb-ff98-5fb5-804a-94c84a48110c")}catch(e){}}(); 3import{d as T,ap as k,ai as m,ce as I,cf as S,ac as Y,aL as A,O as b,cg as q,ch as P,ci as U,bA as _,cj as h,ck as f,cl as w,cm as y,o as B,c as D,h as H,u as O,E as L,P as g,cn as M,co as u,_ as N}from"./BT0VCM0W.js";const V={class:"yid-callback"},j=T({name:"YandexIdPage",__name:"yandex-id",setup(z){const n=k(),E=m(),x=I(),a=S(),d=Y(),p=A();return b(async()=>{const c=(e=!1)=>{const s=a.yidRequest?.backTo;if(a.clearRequest(),!s)return g("/",{replace:!0});const o=(s.hash??"")+(e?M:"");return g({...s,hash:o},{replace:!0})},r=e=>(a.yidResult={error:e},c(!0)),l=e=>(d.trackEvent("error_login",{strategy:y}),r(e)),i=a.yidRequest;if(!q(n.query))return P(`[YID] ÐевалиднÑй query: ${JSON.stringify(n.query)}`),l(u.external);if(!i)return r(u.internal);if(a.isExpired())return r(u.expired);const v=String(n.query.code),R=U();let t;try{t=await x.verify(i.issueId,v,R,i.state)}catch(e){return _(e),l(h(e))}if(t.status===f.registration)return a.yidResult={issueId:t.id,phone:t.phone,status:"registration",prefill:w(t)},c(!0);if(t.status===f.authentication){const e=i.backTo?.path??n.path;try{await E.authLogin(t.id,[]),d.trackEvent("login",{success:!0,strategy:y,point_entry:e})}catch(o){return _(o),d.trackEvent("login",{success:!1,strategy:y,point_entry:e}),r(h(o))}const s=p.consumePostEvent();return s&&await p.handlePostEvent(s),a.yidResult={status:"authentication",issueId:t.id},c()}return l(u.internal)}),(c,r)=>(B(),D("div",V,[H(O(L),{color:"brandBlue","color-weight":400,size:90})]))}}),F=N(j,[["__scopeId","data-v-9bb990bc"]]);export{F as default}; 4//# sourceMappingURL=CMXbEooH.js.map 5 6//# debugId=00c9d7eb-ff98-5fb5-804a-94c84a48110c
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.