1import{a}from"./chunk-64LDHU52.js";import{a as v}from"./chunk-ACJ3NLO5.js";import{ia as m,na as E,p as A,t as g}from"./chunk-SEQCRKB6.js";import{U as i,V as S,Y as p,ea as l,la as T,m as f,ma as D,s as d}from"./chunk-HBLARLGW.js";var n=(function(e){return e[e.ABORTED=0]="ABORTED",e[e.NOT_ALLOWED=1]="NOT_ALLOWED",e[e.NOT_SUPPORTED=2]="NOT_SUPPORTED",e[e.NO_WEB_AUTHN=3]="NO_WEB_AUTHN",e[e.UNKNOWN=4]="UNKNOWN",e})(n||{}),h=class{detectFailureReason(t){return this.isAbortError(t)?n.ABORTED:this.isNotAllowedError(t)?n.NOT_ALLOWED:this.isNotSupportedError(t)?n.NOT_SUPPORTED:n.UNKNOWN}isAbortError(t){return t.name==="AbortError"}isNotAllowedError(t){return t.name==="NotAllowedError"}isNotSupportedError(t){return t.name==="NotSupportedError"}},O=(()=>{let t=class t extends h{constructor(){super(),this.iam=p(v),typeof TextDecoder<"u"&&(this.decoder=new TextDecoder("UTF-8"))}isAvailable(){return this.hasDecoder()&&this.iam.isWebAuthnAvailable()}isConditionalMediationAvailable(){return this.isAvailable()&&this.iam.isConditionalMediationAvailable()}createCredentials(r){return f(this.iam.createWebAuthnCredentials({publicKey:r})).pipe(d(o=>this.toFidoPublicKeyCreationRequest(o)))}getCredentials(r,o,s){return f(this.iam.getWebAuthnCredentials({publicKey:r,mediation:o,signal:s})).pipe(d(W=>this.toFidoAuthenticationResponse(W)))}hasDecoder(){return!!this.decoder}toFidoPublicKeyCreationRequest(r){let o=r.response;return{publicKeyCredential:{id:r.id,response:{attestationObject:a(o.attestationObject),clientDataJSON:this.arrayBufferToString(o.clientDataJSON),transports:o.getTransports()},type:r.type}}}toFidoAuthenticationResponse(r){let o=r.response;return{publicKeyCredential:{id:r.id,response:{clientDataJSON:this.arrayBufferToString(o.clientDataJSON),authenticatorData:a(o.authenticatorData),signature:a(o.signature),userHandle:a(this.mapEmptyBufferToNull(o.userHandle))},type:r.type}}}mapEmptyBufferToNull(r){return r==null||r.byteLength==0?null:r}arrayBufferToString(r){return this.decoder.decode(r)}};t.\u0275fac=function(o){return new(o||t)},t.\u0275prov=i({token:t,factory:t.\u0275fac});let e=t;return e})();var y=class{constructor(){this.pages=p(E)}getUrl(t){return t.redirectByAccess?this.pages.routes.auth.application.access.addQueryParameter("Location",A(t.redirectTarget)).fullyQualifiedUrlWithQueryParams():t.redirectTarget}},x=(()=>{let t=class t extends y{redirectToTarget(r){r.openInNewTab?window.open(this.getUrl(r),"_blank"):this.pages.routes.navigateTo(this.getUrl(r))}};t.\u0275fac=(()=>{let r;return function(s){return(r||(r=l(t)))(s||t)}})(),t.\u0275prov=i({token:t,factory:t.\u0275fac});let e=t;return e})();var q=(()=>{let t=class t{};t.\u0275fac=function(o){return new(o||t)},t.\u0275cmp=T({type:t,selectors:[["iam-loginapp-sdk"]],standalone:!1,decls:0,vars:0,template:function(o,s){},encapsulation:2});let e=t;return e})();var w=(()=>{let t=class t{isSdk(){return!1}showI18nKeys(){return!1}isClickable(){return!0}};t.\u0275fac=function(o){return new(o||t)},t.\u0275prov=i({token:t,factory:t.\u0275fac});let e=t;return e})();var P=(()=>{let t=class t{};t.\u0275fac=function(o){return new(o||t)},t.\u0275mod=D({type:t}),t.\u0275inj=S({providers:[{provide:g,useClass:w}]});let e=t;return e})();var u=class{intercept(t,b){return b.handle(t)}};var N=class{},I=(()=>{let t=class t extends N{errorDetails(){return window.history.state?.errorDetails?new m(window.history.state.errorDetails.message,window.history.state.errorDetails.target):new m({description:"general.error.description"})}};t.\u0275fac=(()=>{let r;return function(s){return(r||(r=l(t)))(s||t)}})(),t.\u0275prov=i({token:t,factory:t.\u0275fac});let e=t;return e})();export{q as a,n as b,O as c,P as d,u as e,I as f,x as g};
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.