PageSourceSearch

https://idp.swica.ch/auth/ui/chunk-PCHL3KO5.js

js swica.ch collected 2026-09-24 09:39:35 UTC 2,733 bytes, 1 lines download raw bytes

1import{b as m}from"./chunk-YTUPXUHF.js";import"./chunk-NVKXDWWT.js";import"./chunk-OIRFSLWN.js";import{i as j}from"./chunk-ACJ3NLO5.js";import"./chunk-GPVZISOV.js";import{a as n}from"./chunk-FQ4W3A5M.js";import"./chunk-45WCVJBT.js";import"./chunk-74CDSVWG.js";import{T as y,ka as I,q as a,u as w}from"./chunk-SEQCRKB6.js";import{Tb as A,U as c,V as v,Y as s,f as F,ma as S,n as d,s as o}from"./chunk-HBLARLGW.js";var p=(()=>{let t=class t{constructor(){this.authUiService=s(m),this.accessService=s(n),this.authUrl=a(["public","authentication","saml2","idp","sso","init"])}accessBySamlRequestId(i){let e=JSON.stringify({requestId:i});return this.authUiService.access(()=>this.accessService.genericAccessApplication(e,this.authUrl))}};t.\u0275fac=function(e){return new(e||t)},t.\u0275prov=c({token:t,factory:t.\u0275fac});let r=t;return r})();var h=(()=>{let t=class t{constructor(){this.service=s(p)}canActivate(i){return this.service.accessBySamlRequestId(i.queryParams.ReqID).pipe(o(()=>!1))}};t.\u0275fac=function(e){return new(e||t)},t.\u0275prov=c({token:t,factory:t.\u0275fac});let r=t;return r})();var U=F(w());var f=(()=>{let t=class t{constructor(){this.authUiService=s(m),this.validations=s(I),this.accessService=s(n),this.authUrl=a(["public","authentication","saml2","sp","sso","init"])}accessBySamlContinuationId(i){let e=JSON.stringify({continuationId:i});return this.authUiService.access({accessFunction:()=>this.accessService.genericAccessApplication(e,this.authUrl),preAuthenticateAction:()=>d(!0),errorHandler:b=>this.handleError(b,e)})}isFlowAlreadyInProgressError(i){return this.validations.hasServerValidationErrors(i)&&!!(0,U.find)(i.error.errors,{status:400,code:"UNEXPECTED_CALL"})}handleError(i,e){return this.isFlowAlreadyInProgressError(i)?this.authUiService.access({accessFunction:()=>this.accessService.genericAccessApplication(e,this.authUrl)}):this.authUiService.defaultErrorHandler(i)}};t.\u0275fac=function(e){return new(e||t)},t.\u0275prov=c({token:t,factory:t.\u0275fac});let r=t;return r})();var l=(()=>{let t=class t{constructor(){this.service=s(f)}canActivate(i){return this.service.accessBySamlContinuationId(i.queryParams.continuationId).pipe(o(()=>!1))}};t.\u0275fac=function(e){return new(e||t)},t.\u0275prov=c({token:t,factory:t.\u0275fac});let r=t;return r})();var E=[y,{path:"idp/sso/init",pathMatch:"full",canActivate:[r=>s(h).canActivate(r)],runGuardsAndResolvers:"always"},{path:"sp/sso/init",pathMatch:"full",canActivate:[r=>s(l).canActivate(r)],runGuardsAndResolvers:"always"}],ot=(()=>{let t=class t{};t.\u0275fac=function(e){return new(e||t)},t.\u0275mod=S({type:t}),t.\u0275inj=v({providers:[h,l,p,f],imports:[A.forChild(E),j]});let r=t;return r})();export{ot as Saml2AuthModule};

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.