PageSourceSearch

https://ui.awin.com/idp/us/main.1c34c5c47541b41c.js

js awin.com collected 2026-10-01 08:29:21 UTC 15,597 bytes, 3 lines download raw bytes

1globalThis.$localize=Object.assign(globalThis.$localize || {},{locale:"en"});
2"use strict";(function(global,_global$ng,_global$ng2,_global$ng2$common,_global$ng$common,_global$ng$common$loc){(_global$ng=global.ng)!==null&&_global$ng!==void 0?_global$ng:global.ng={};(_global$ng2$common=(_global$ng2=global.ng).common)!==null&&_global$ng2$common!==void 0?_global$ng2$common:_global$ng2.common={};(_global$ng$common$loc=(_global$ng$common=global.ng.common).locales)!==null&&_global$ng$common$loc!==void 0?_global$ng$common$loc:_global$ng$common.locales={};const u=undefined;function plural(val){const n=val,i=Math.floor(Math.abs(val)),v=val.toString().replace(/^[^.]*\.?/,"").length;if(i===1&&v===0)return 1;return 5}global.ng.common.locales["en"]=["en",[["a","p"],["AM","PM"],u],[["AM","PM"],u,u],[["S","M","T","W","T","F","S"],["Sun","Mon","Tue","Wed","Thu","Fri","Sat"],["Sunday","Monday","Tuesday","Wednesday","Thursday","Friday","Saturday"],["Su","Mo","Tu","We","Th","Fr","Sa"]],u,[["J","F","M","A","M","J","J","A","S","O","N","D"],["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"],["January","February","March","April","May","June","July","August","September","October","November","December"]],u,[["B","A"],["BC","AD"],["Before Christ","Anno Domini"]],0,[6,0],["M/d/yy","MMM d, y","MMMM d, y","EEEE, MMMM d, y"],["h:mm a","h:mm:ss a","h:mm:ss a z","h:mm:ss a zzzz"],["{1}, {0}",u,"{1} 'at' {0}",u],[".",",",";","%","+","-","E","\xD7","\u2030","\u221E","NaN",":"],["#,##0.###","#,##0%","\xA4#,##0.00","#E0"],"USD","$","US Dollar",{},"ltr",plural,[[["mi","n","in the morning","in the afternoon","in the evening","at night"],["midnight","noon","in the morning","in the afternoon","in the evening","at night"],u],[["midnight","noon","morning","afternoon","evening","night"],u,u],["00:00","12:00",["06:00","12:00"],["12:00","18:00"],["18:00","21:00"],["21:00","06:00"]]]]})(globalThis);;
3(self.webpackChunkawin_auth_ui=self.webpackChunkawin_auth_ui||[]).push([[792],{62736:(g,h,t)=>{"use strict";t.d(h,{x:()=>n});var e=t(45312);const n={issuer:t(30592).Y8[e.cA.name],clientId:e.bW,redirectUri:e.JX?`https://${e.JX}.dev.awin.com/auth0-redirect/idp/en/awin/oidc`:window.origin+"/idp/en/awin/oidc",scope:"openid offline_access",responseType:"code",customQueryParams:{audience:"https://awin.com",...e.JX?{organization:e.JX}:{}},logoutUrl:window.origin+"/login",showDebugInformation:!0,timeoutFactor:.75}},22999:(g,h,t)=>{"use strict";t.d(h,{D:()=>f});var e=t(59640),o=t(28788),n=t(9526),v=t(5964),c=t(77048),a=t(88141),d=t(40941),p=t(84572),s=t(7673),l=t(43236),u=t(54438),M=t(32441);class f{constructor(E,D){this.store=E,this.windowWrapper=D}resolve(E){const{showNavigation:D}=E.data;this.store.dispatch((0,o.r)({showNavigation:D})),!0===D&&(0,p.z)([this.store.pipe((0,e.Lt)(n.js)),this.store.pipe((0,e.Lt)(n.Dz))]).pipe((0,v.p)(([A])=>null!==A),(0,c.v)(([A,P])=>!1===A&&null===P),(0,a.M)(()=>{if(!window.location.href.includes("/oidc")){const A="sessionRedirect="+encodeURIComponent(window.location.href)+";path=/";document.cookie=A}(0,s.of)({}).pipe((0,d.Q)(l.E)).subscribe(()=>this.windowWrapper.nativeWindow.location.href="/login")})).subscribe()}static#t=this.\u0275fac=function(D){return new(D||f)(u.KVO(e.il),u.KVO(M.x))};static#o=this.\u0275prov=u.jDH({token:f,factory:f.\u0275fac,providedIn:"root"})}},9526:(g,h,t)=>{"use strict";t.d(h,{Dz:()=>d,Pu:()=>n,Rb:()=>a,VA:()=>v,Xi:()=>c,js:()=>p});var e=t(59640);const o=(0,e.UX)("settings"),n=(0,e.Mz)(o,s=>s.disableLoading),v=(0,e.Mz)(o,s=>s.recoveryCode),c=(0,e.Mz)(o,s=>s.recoveryCodeLoading),a=(0,e.Mz)(o,s=>s.twoFaEnabled),d=(0,e.Mz)(o,s=>s?.darwinSessionToken),p=(0,e.Mz)(o,s=>s?.darwinUser)},83489:(g,h,t)=>{"use strict";t.d(h,{u:()=>d});var e=t(96354),o=t(60177),n=t(54438),v=t(21626),c=t(53765),a=t(75125);class d{constructor(s,l,u,M){this.http=s,this.config=l,this.oAuthService=u,this.document=M,this.awinAppProtocol="awinapp:",this.redirectDomainAllowList=["awin.com","kkincleeioldgofciiahecdlmponhkie.chromiumapp.org","hlmnliidcfchkfjghmffncjdeioapifd.chromiumapp.org","kheampdagecckpoipagccbioeijgegbn.chromiumapp.org","dkfmkiaagjebifmfhjeocchleaadmfee.chromiumapp.org","mlnpcceaeigcohdpaddmkllbgnkgeoed.chromiumapp.org","localhost"]}get2faEnabled(){return this.http.get(this.addUserIdParam(this.config.twoFactorAuthUrl)).pipe((0,e.T)(s=>"enabled"===s.message))}get darwinSession(){return this.http.get(this.config.darwinSession)}disable2fa(s){return this.http.request("post",this.addUserIdParam(this.config.twoFactorAuthDelete),{body:{password:s}})}getRecoveryCode(s){return this.http.post(this.addUserIdParam(this.config.showRecoveryCodeUrl),{password:s})}resetPassword(s){return this.http.post(this.config.resetPasswordRequest,{connection:"auth0-actions-login",client_id:this.oAuthService.clientId,email:s},{responseType:"text"})}addUserIdParam(s){return s.replace(":userId",this.getUserId())}getUserId(){const s=this.oAuthService.getIdentityClaims();return s?.["https://awin.com/userId"]??s?.sub}isRedirectUrlSafe(s){try{const l=new URL(s,this.document.baseURI),u=l.protocol===this.awinAppProtocol,M="https:"===l.protocol||"http:"===l.protocol&&"localhost"===l.hostname;return u||M&&this.redirectDomainAllowList.some(f=>l.hostname===f||l.hostname.endsWith(`.${f}`))}catch{return!1}}sendMfaEmail(){return this.http.post(this.config.mfaEnrollmentEmailUrl,{})}static#t=this.\u0275fac=function(l){return new(l||d)(n.KVO(v.Qq),n.KVO(c.w),n.KVO(a.TC),n.KVO(o.qQ))};static#o=this.\u0275prov=n.jDH({token:d,factory:d.\u0275fac,providedIn:"root"})}},53765:(g,h,t)=>{"use strict";t.d(h,{w:()=>a});var e=t(54438),o=t(69690),n=t(45312),v=t(32441),c=t(75125);class a extends o.TN{constructor(p,s,l){super(p,n.cA),this.windowWrapperService=p,this.localeId=s,this.oAuthService=l}get resetPasswordRequest(){return n.p8.resetPasswordRequest}get darwinSession(){return n.p8.darwinSession}get googleAuthLink(){return n.p8.googleAuthLink.replace("{localeId}",this.localeId)}get authyLink(){return n.p8.authyLink}get loginSuccessDarwinRedirectUrl(){return n.p8.loginSuccessDarwinRedirectUrl}get twoFactorAuthUrl(){return n.p8.twoFactorAuthUrl}get twoFactorAuthDelete(){return n.p8.twoFactorAuthDelete}get showRecoveryCodeUrl(){return n.p8.showRecoveryCodeUrl}get mfaEnrollmentEmailUrl(){return n.p8.mfaEnrollmentEmailUrl.replace("{userId}",encodeURI(this.oAuthService.getIdentityClaims()?.["https://awin.com/userId"]))}static#t=this.\u0275fac=function(s){return new(s||a)(e.KVO(v.x),e.KVO(e.xe9),e.KVO(c.TC))};static#o=this.\u0275prov=e.jDH({token:a,factory:a.\u0275fac,providedIn:"root"})}},85640:(g,h,t)=>{"use strict";t.d(h,{G:()=>C});var e=t(60177),o=t(84187),n=t(45312),v=t(15202),c=t(69690),a=t(32441),d=t(89417),p=t(53765),s=t(21626),l=t(59640);var M=t(28788);const f=(0,l.vy)({showNavigation:null},(0,l.on)(M.r,(I,{showNavigation:m})=>({...I,showNavigation:m})));function W(I,m){return f(I,m)}var E=t(51188),D=t(68456);const A={keys:[{kty:"RSA",n:"0FptcgfUbE3FOXj-56WrJkqDweeO_AmizhT32rMq58aZVwqFZpdm5uoA_TIg2fo7_kH7XgnV1hADsFKmnMYtLFrlPg7LHULYi2Xpt_-l8CJvzGvn5JbMv-3OO__wZFzZwfB_VNagoGoda4_Wpl0Bl
3UQyefl0E5NdNTjDAJVaQbsPhaunKmN_fNcaJBqJpmXp61PCmEBkNUgPbEb2xyKADFHmTq-kl35vuqk2l68kgkVkmuHYDH3Y6HmG_V5T-LGEuabfmJX0PxJu_EAxF11gDtK-O18sgXIrlrwwbTUNddn_9mj4p3M72O_v8TjweakfaoGPoMsIhq7O-oPYGezn8VzDe_V1x31eKWJaSrdqPA8TobXwboRbZQYCpG7k8LeLdyTg5sj1TNYpvaPCKnLfk4pDxbg46UqThSIWdZ23wl1mmfeQZWHxkAhQn9gYpkFt38ERA9XTKa87NEVf1vFtTJ7p8fE4AdOtXI74lMe_M6eRShc-HMGMZQCtEPjzcYb9LjP18FilxhNhfSuXA-MDkoEX3K21FQMfe6q9JJ2y3Vb6lvYh3AXTOfCXk6JM4MiwUtaRu5WEnlLAJ4jOIe650ObTDLnwjlzOsGFLXcFAdDEf-LziK9dMCjfZMn9iwkA7VzFwzkGXGCxFRLndK1xZGR4MWOz9hUlVgO8SJipBEcs",e:"AQAB",alg:"RS256",kid:"4f08ec93-9832-4cf5-a2d4-f9cf0220402c",use:"sig"}]};var P=t(54438);class y{createDb(){return{navigationMock:o.SB,languagesMock:o._D,activityStreamMock:o.I2,mockJWKS:A}}parseRequestUrl(m,w){return m.includes("userDataMock/?networkGroup=")?w.parseRequestUrl("api/userDataMock/"):m.includes("navigationMock?")?w.parseRequestUrl("api/navigationMock/"):void 0}static#t=this.\u0275fac=function(w){return new(w||y)};static#o=this.\u0275prov=P.jDH({token:y,factory:y.\u0275fac})}var L=t(75125);const T=window.location.origin;function U(I){return I.startsWith(T+"/identity/")}var x=t(62736);class O{constructor(){this.clientId=x.x.clientId}getItem(m){return sessionStorage.getItem(`${this.clientId}_${m}`)}removeItem(m){sessionStorage.removeItem(`${this.clientId}_${m}`)}setItem(m,w){sessionStorage.setItem(`${this.clientId}_${m}`,w)}static#t=this.\u0275fac=function(w){return new(w||O)};static#o=this.\u0275prov=P.jDH({token:O,factory:O.\u0275fac})}var V=t(9526);function R(){return V.Dz}class C{static#t=this.\u0275fac=function(w){return new(w||C)};static#o=this.\u0275mod=P.$C({type:C});static#e=this.\u0275inj=P.G2t({providers:[a.x,p.w,{provide:L.PD,useClass:O},(0,s.$R)((0,s.Sx)())],imports:[e.MD,v.ss,c.uG,L.gn.forRoot({resourceServer:{allowedUrls:[],customUrlValidation:U,sendAccessToken:!0}}),d.YN,d.X1,c.Gg.configure(n.cA,{sessionTokenSelector:R,darwinSessionTokenInterceptUrls:[]}),o.A7.forRoot({liveChatEnabled:!1,networkGroupSegment:3,oidcClientId:x.x.clientId,disableInterstitial:!0},n.cA),l.md.forFeature("shared",W),n.cA.production?[]:D.SK.forRoot(y,{delay:100,passThruUnknownUrl:!0}),E.iI,c.uG,o.A7,c.Gg,e.MD,d.YN,d.X1]})}},28788:(g,h,t)=>{"use strict";t.d(h,{r:()=>o});var e=t(59640);const o=(0,e.VP)("SHOW_OR_HIDE_NAVIGATION",(0,e.xk)())},45312:(g,h,t)=>{"use strict";t.d(h,{JX:()=>p,_v:()=>c,ar:()=>d,bW:()=>a,cA:()=>o,p8:()=>v});var e=t(30592);const o={production:!0,name:"prod"},n=window.location.origin,v={darwinSession:`${n}/navigation/session`,resetPasswordRequest:`${e.Y8[o.name]}dbconnections/change_password`,googleAuthLink:"https://support.google.com/accounts/answer/1066447?hl={localeId}",authyLink:"https://authy.com/download/",loginSuccessDarwinRedirectUrl:`${n}/login`,twoFactorAuthUrl:`${n}/identity/users/:userId/mfa/status`,twoFactorAuthDelete:`${n}/identity/users/:userId/mfa`,showRecoveryCodeUrl:`${n}/identity/users/:userId/mfa/recovery-code-regeneration`,errorUrl:"/error",idpResolverUrl:"/auth0-idp-resolver/idp",novaLogout:"https://app.awin.com/logout",mfaEnrollmentEmailUrl:`${n}/identity/users/{userId}/mfa/enrollments`},c="G-FL4D9VNQ5R",a="pSnBoEkkqtqRNOEFC7QXi3esMm9asO6j",d="fbd6a970c1de96d57c05572aa33141e6",p=null},70894:(g,h,t)=>{"use strict";var e=t(345),o=t(54438),n=t(63084),v=t(85640);class c{static#t=this.\u0275fac=function(i){return new(i||c)};static#o=this.\u0275mod=o.$C({type:c});static#e=this.\u0275inj=o.G2t({imports:[v.G]})}var a=t(51188);class d{static#t=this.\u0275fac=function(i){return new(i||d)};static#o=this.\u0275cmp=o.VBU({type:d,selectors:[["app-root"]],decls:1,vars:0,template:function(i,j){1&i&&o.nrm(0,"router-outlet")},dependencies:[a.n3],encapsulation:2,changeDetection:0})}var p=t(59640),s=t(77339),l=t(54268),u=t(45312),M=t(22999),f=t(62736),W=t(75125);class E{constructor(r){this.oAuthService=r}resolve(){return this.oAuthService.configure(f.x),this.oAuthService.setupAutomaticSilentRefresh(),this.oAuthService.loadDiscoveryDocument()}static#t=this.\u0275fac=function(i){return new(i||E)(o.KVO(W.TC))};static#o=this.\u0275prov=o.jDH({token:E,factory:E.\u0275fac,providedIn:"root"})}var D=t(21626),A=t(30592),P=t(50309),y=t(83489),L=t(32441),T=t(84187),U=t(69690),x=t(2490);class O{constructor(r,i,j,G,N,k,z){this.oAuthService=r,this.authService=i,this.windowWrapperService=j,this.locale=G,this.networkGroupService=N,this.languageService=k,this.cookieService=z}resolve(r){this.oAuthService.configure(f.x),this.oAuthService.logOut(!0),this.windowWrapperService.nativeWindow.document.referrer.includes("ui.")&&(this.clearCookies(),sessionStorage.clear());const i=r.queryParams.post_logout_redirect_uri,j=u.cA.name===P.j.qa?this.addVmAddress(u.p8.n
3ovaLogout):u.p8.novaLogout;this.windowWrapperService.nativeWindow.location.href=this.windowWrapperService.nativeWindow.document.referrer.includes("ui.")?j:this.getRedirectUrl(i)}addVmAddress(r){return this.windowWrapperService.nativeWindow.location.origin.replace("ui.","app.")+r}clearCookies(){const r=u.cA.name;this.cookieService.delete("login-hint","/",A.Fd[r]),this.cookieService.delete("auth-provider","/",A.Fd[r])}getRedirectUrl(r){return r&&this.authService.isRedirectUrlSafe(r)?r:this.oAuthService.logoutUrl+"?"+new D.Nl({fromObject:{locale:this.languageService.getLanguagePropertyForAngularLocale(this.locale,"locale"),networkGroup:this.networkGroupService.networkGroup}})}static#t=this.\u0275fac=function(i){return new(i||O)(o.KVO(W.TC),o.KVO(y.u),o.KVO(L.x),o.KVO(o.xe9),o.KVO(T.H6),o.KVO(U.gw),o.KVO(x.O))};static#o=this.\u0275prov=o.jDH({token:O,factory:O.\u0275fac,providedIn:"root"})}var V=t(57804);class R{constructor(r){this.amplitudeService=r}resolve(){this.amplitudeService.initializeForUser({apiKey:u.ar,userId:null,isInternal:!1})}static#t=this.\u0275fac=function(i){return new(i||R)(o.KVO(V.rF))};static#o=this.\u0275prov=o.jDH({token:R,factory:R.\u0275fac,providedIn:"root"})}const C=[{path:"",pathMatch:"full",redirectTo:"/2fa/intro"},{path:"2fa",pathMatch:"prefix",resolve:{oidc:E,styles:U.tG},loadChildren:()=>Promise.all([t.e(76),t.e(490)]).then(t.bind(t,17490)).then(S=>S.SettingsModule)},{path:"login",resolve:[M.D,U.tG,R],data:{showNavigation:!1},loadChildren:()=>Promise.all([t.e(76),t.e(859)]).then(t.bind(t,28859)).then(S=>S.LoginModule)},{path:"oidc",resolve:[E],loadChildren:()=>t.e(876).then(t.bind(t,60876)).then(S=>S.OidcModule)},{path:"logout",resolve:{logout:O},children:[]}];class I{static#t=this.\u0275fac=function(i){return new(i||I)};static#o=this.\u0275mod=o.$C({type:I});static#e=this.\u0275inj=o.G2t({imports:[a.iI.forRoot(C,{onSameUrlNavigation:"reload",enableTracing:!1}),a.iI]})}var m=t(728),w=t(51413),B=t(60177);class K{constructor(r){this.windowWrapperService=r}get networkGroupBaseHref(){const i=this.windowWrapperService.nativeWindow.location.pathname.split("/");return"/"+i[1]+"/"+i[2]+"/"+i[3]+"/"}static#t=this.\u0275fac=function(i){return new(i||K)(o.KVO(L.x))};static#o=this.\u0275prov=o.jDH({token:K,factory:K.\u0275fac,providedIn:"root"})}class F{static#t=this.\u0275fac=function(i){return new(i||F)};static#o=this.\u0275mod=o.$C({type:F,bootstrap:[d]});static#e=this.\u0275inj=o.G2t({providers:[T.H6,(0,D.$R)(),{provide:B.kB,useFactory:r=>r.networkGroupBaseHref,deps:[K]},U.TN,U.G,{provide:o.hnV,useFactory:(r,i)=>()=>{window.location.pathname.includes("/oidc")||(r.initialiseNetworkGroup(),i.loadStyle(r.networkGroup))},multi:!0,deps:[T.H6,U.G]}],imports:[e.Bb,m.wb,I,p.md.forRoot({},{runtimeChecks:{strictStateImmutability:!0,strictActionImmutability:!0,strictStateSerializability:!0,strictActionSerializability:!0}}),s.Vm.forRoot([]),l.Oo.instrument({name:"Awin Auth UI "+u.cA.name,maxAge:100,logOnly:u.cA.production}),c,w.c.forRoot({trackId:u._v})]})}(0,n.XF)(u.cA.name),u.cA.production&&(0,o.SmG)(),e.sG().bootstrapModule(F).catch(S=>console.log(S))},30331:(g,h,t)=>{var e={"./awin-interstitial-ui.entry.js":[74483,483]};function o(n){if(!t.o(e,n))return Promise.resolve().then(()=>{var a=new Error("Cannot find module '"+n+"'");throw a.code="MODULE_NOT_FOUND",a});var v=e[n],c=v[0];return t.e(v[1]).then(()=>t(c))}o.keys=()=>Object.keys(e),o.id=30331,g.exports=o},17953:(g,h,t)=>{var e={"./platform-walkthrough-component.entry.js":[2720,720]};function o(n){if(!t.o(e,n))return Promise.resolve().then(()=>{var a=new Error("Cannot find module '"+n+"'");throw a.code="MODULE_NOT_FOUND",a});var v=e[n],c=v[0];return t.e(v[1]).then(()=>t(c))}o.keys=()=>Object.keys(e),o.id=17953,g.exports=o},27221:()=>{},50477:()=>{}},g=>{g.O(0,[502],()=>{return e=70894,g(g.s=e);var e});g.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.