1(function(){try{var g=typeof window!=="undefined"?window:typeof global!=="undefined"?global:typeof self!=="undefined"?self:{};g["__faroBundleId_superapp.litnet.com"]="superapp.litnet.com"}catch(l){}})();import{Ja as O,Nc as a,Sd as R,Xb as S,ba as w,fe as x,hb as M,n as b,w as P}from"./chunk-YYA4AHZA.js";import"./chunk-C2YFQB5Y.js";import"./chunk-5ZNZ3KAA.js";import{a as k}from"./chunk-BZXFNLDP.js";import"./chunk-CCTO6EV2.js";import{Ld as C,M as d,Ma as m,Nb as g,Wb as v,Xb as s,Yb as f,Zb as _,ba as c,gb as l,oa as i,s as r,wb as h,wc as y,y as u,ya as p}from"./chunk-AMLCIVJ2.js";var D=["class","view-oauth-redirect"],H=(()=>{class n{#i=i(P);#o=i(p);#n=i(R);#e=i(M);#t=i(S);#r=i(x);#c=i(m);testId="view-oauth-redirect";breakPointService=i(O);constructor(){C(this.#c)&&this.#i.queryParams.pipe(b(this.#o),u(t=>{let e=t.code||null,o=t.state||null;return{code:e,state:o}}),c(({code:t,state:e})=>{if(!t||!e)return r(this.#t.oldLitnet);let{backUrl:o}=w(e),E=this.#e.getCookie(a)??"";return this.#n.getAccessToken(t,E).pipe(c(()=>r(o)))}),d(()=>r(this.#t.oldLitnet))).subscribe(t=>{this.#e.deleteCookie(a),this.#r.openInNewTab(t,!1)})}static \u0275fac=function(e){return new(e||n)};static \u0275cmp=h({type:n,selectors:[["",8,"view-oauth-redirect"]],hostVars:1,hostBindings:function(e,o){e&2&&g("data-device-type",o.breakPointService.deviceType())},attrs:D,decls:4,vars:4,consts:[[1,"view-oauth-redirect__content"],["src","super-assets/images/loader-icon-animated-on-light.svg","alt","\u041F\u0440\u0438\u0437\u043D\u0430\u043A \u0437\u0430\u0433\u0440\u0443\u0437\u043A\u0438","objectFit","contain",1,"lib-image",3,"testId","width","height","priority"]],template:function(e,o){e&1&&(s(0,"div",0),_(1,"div",1),s(2,"p"),y(3,"\u0412\u044B\u043F\u043E\u043B\u043D\u044F\u0435\u043C \u0432\u0445\u043E\u0434..."),f()()),e&2&&(l(),v("testId",o.testId)("width",48)("height",48)("priority",!0))},dependencies:[k],styles:[`[_nghost-%COMP%]{display:flex;flex-direction:column;align-items:center;justify-content:center;min-height:100dvh;padding:var(--dimension-space-inner-xl);background-color:var(--color-basic-bg-surface-light-1)}.view-oauth-redirect__content[_ngcontent-%COMP%]{display:flex;flex-direction:column;row-gap:var(--dimension-space-outer-mobile-xl);align-items:center;justify-content:center;text-align:center}.view-oauth-redirect__content[_ngcontent-%COMP%] p[_ngcontent-%COMP%]{font:var(--typography-title-mobile-sm-semibold);color:var(--color-basic-text-on-light-high)}.lib-image[_ngcontent-%COMP%]{width:48px;height:48px}[data-device-type=desktop][_ngcontent-%COMP%]:root .view-oauth-redirect__content[_ngcontent-%COMP%]{row-gap:var(--dimension-space-outer-desktop-md)}[data-device-type=desktop][_ngcontent-%COMP%]:root .view-oauth-redirect__content[_ngcontent-%COMP%] p[_ngcontent-%COMP%]{font:var(--typography-title-desktop-sm-semibold)} 2/*# sourceMappingURL=/super-assets/oauth-redirect.component-X3UY4QKS.css.map */`],changeDetection:0})}return n})();export{H as OAuthRedirectComponent}; 3//# sourceMappingURL=oauth-redirect.component-WZFIESVQ.js.map
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.