(self.webpackChunkapp=self.webpackChunkapp||[]).push([[2505],{89565:(h,a,e)=>{e.d(a,{p:()=>u});var t=e(15861),r=e(2461);const i=(0,r.fo)("App",{web:()=>e.e(6622).then(e.bind(e,6622)).then(n=>new n.AppWeb)});var c=e(47394);class u extends r.Uw{authenticate(o){var l=this;return(0,t.Z)(function*(){try{yield l.internalAuthenticate(o)}catch(s){throw s instanceof r.xz?new c.AB(s.message,s.code):s}})()}addResumeListener(o){var l=this;return(0,t.Z)(function*(){return i.addListener("appStateChange",({isActive:s})=>{s&&l.checkBiometry().then(d=>{o(d)}).catch(console.error)})})()}}},52505:(h,a,e)=>{e.r(a),e.d(a,{BiometricAuthNative:()=>c});var t=e(15861),r=e(89565),i=e(47394);class c extends r.p{constructor(n){super();const o=n;this.checkBiometry=o.checkBiometry,this.internalAuthenticate=o.internalAuthenticate}checkBiometry(){return(0,t.Z)(function*(){return Promise.resolve({isAvailable:!1,strongBiometryIsAvailable:!1,biometryType:i.dz.none,biometryTypes:[],deviceIsSecure:!1,reason:"",code:i.Ds.none,strongReason:"",strongCode:i.Ds.none})})()}internalAuthenticate(n){return(0,t.Z)(function*(){})()}setBiometryType(n){return(0,t.Z)(function*(){console.warn("setBiometryType() is web only")})()}setBiometryIsEnrolled(n){return(0,t.Z)(function*(){console.warn("setBiometryEnrolled() is web only")})()}setDeviceIsSecure(n){return(0,t.Z)(function*(){console.warn("setDeviceIsSecure() is web only")})()}}}}]);