@ekyc_qoobiss/qbs-ect-cmp 1.2.4 → 1.2.5

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -447,6 +447,7 @@ class ApiCall {
447
447
  state.hasIdBack = jsonResp.hasIdBack;
448
448
  state.agreementsValidation = jsonResp.agreementsValidation;
449
449
  state.phoneValidation = jsonResp.phoneValidation;
450
+ state.phoneNumber = jsonResp.phoneNumber;
450
451
  return true;
451
452
  }
452
453
  async UploadFileForRequestB64(requestId, type, file) {
@@ -478,7 +479,7 @@ class ApiCall {
478
479
  return OrderStatuses[resp.status];
479
480
  }
480
481
  async SendLink(link, phoneNumber) {
481
- let data = { link: link, phoneNumber: phoneNumber };
482
+ let data = { requestId: state.requestId, link: link, phoneNumber: phoneNumber };
482
483
  let resp = await this.post(this.urls.SendLink, JSON.stringify(data));
483
484
  return resp.sent;
484
485
  }
@@ -68,6 +68,7 @@ export class ApiCall {
68
68
  store.hasIdBack = jsonResp.hasIdBack;
69
69
  store.agreementsValidation = jsonResp.agreementsValidation;
70
70
  store.phoneValidation = jsonResp.phoneValidation;
71
+ store.phoneNumber = jsonResp.phoneNumber;
71
72
  return true;
72
73
  }
73
74
  async UploadFileForRequestB64(requestId, type, file) {
@@ -99,7 +100,7 @@ export class ApiCall {
99
100
  return OrderStatuses[resp.status];
100
101
  }
101
102
  async SendLink(link, phoneNumber) {
102
- let data = { link: link, phoneNumber: phoneNumber };
103
+ let data = { requestId: store.requestId, link: link, phoneNumber: phoneNumber };
103
104
  let resp = await this.post(this.urls.SendLink, JSON.stringify(data));
104
105
  return resp.sent;
105
106
  }
@@ -443,6 +443,7 @@ class ApiCall {
443
443
  state.hasIdBack = jsonResp.hasIdBack;
444
444
  state.agreementsValidation = jsonResp.agreementsValidation;
445
445
  state.phoneValidation = jsonResp.phoneValidation;
446
+ state.phoneNumber = jsonResp.phoneNumber;
446
447
  return true;
447
448
  }
448
449
  async UploadFileForRequestB64(requestId, type, file) {
@@ -474,7 +475,7 @@ class ApiCall {
474
475
  return OrderStatuses[resp.status];
475
476
  }
476
477
  async SendLink(link, phoneNumber) {
477
- let data = { link: link, phoneNumber: phoneNumber };
478
+ let data = { requestId: state.requestId, link: link, phoneNumber: phoneNumber };
478
479
  let resp = await this.post(this.urls.SendLink, JSON.stringify(data));
479
480
  return resp.sent;
480
481
  }
@@ -1,4 +1,4 @@
1
- import{g as t,f as n,r as e,c as r,h as i,a as o}from"./p-06e42b28.js";var u;!function(t){t[t.Capturing=0]="Capturing",t[t.FinishedCapturing=1]="FinishedCapturing",t[t.Waiting=2]="Waiting",t[t.NotFound=3]="NotFound"}(u||(u={}));const a=t=>!("isConnected"in t)||t.isConnected,s=(()=>{let t;return(...n)=>{t&&clearTimeout(t),t=setTimeout((()=>{t=0,(t=>{for(let n of t.keys())t.set(n,t.get(n).filter(a))})(...n)}),2e3)}})(),c=t=>"function"==typeof t?t():t;var f;!function(t){t[t.LANDING=0]="LANDING",t[t.AGREEMENT=1]="AGREEMENT",t[t.PHONE=2]="PHONE",t[t.CODE=3]="CODE",t[t.CODEERROR=4]="CODEERROR",t[t.ID=5]="ID",t[t.LIVENESS=6]="LIVENESS",t[t.COMPLETE=7]="COMPLETE",t[t.ERROREND=8]="ERROREND"}(f||(f={}));class l{}l.FooterText="Qoobiss eKYC",l.VideoLenght=3100;class h extends l{}h.IdTitile="Prezintă actul tău de identitate",h.IdSubTitileFace="Este necesară captarea actului de identitate. Urmează intrucțiunile ce vor fi afișate pe ecran.",h.IdSubTitileBack="Este necesară captarea actului de identitate. Urmează intrucțiunile ce vor fi afișate pe ecran.",h.IdButton="Sunt gata!",h.SelfieTitile="Validare video",h.SelfieSubTitile="Este necesară realizarea unei înregistrări video. Respectă intrucțiunile ce vor fi afișate pe ecran.",h.SelfieButton="Sunt gata!";class d extends l{}d.Title="Validarea identității la distanță este o procedură simplă și rapidă",d.Description="Asigură-te că ai:",d.IdInfo="Actul de identitate, în original",d.DeviceInfo="Un telefon mobil sau un calculator cu camera web",d.SmsInfo="Acces la un telefon mobil ce permite primirea de mesaje SMS",d.Warning="ATENȚIE! În cadrul acestui proces se poate utiliza doar cartea de identitate Românească.",d.WarningMd="ATENȚIE! In cadrul acestui proces se pot utiliza doar buletinele de identitate din Republica Moldova.",d.Terms="Prin continuarea procesului, confirmi că ai citit termenii de utilizare și ești de acord cu aceștia.",d.Button="Am înțeles";class v extends l{}v.Title="Este necesar să validăm numărul tău de telefon",v.Description="Introdu mai jos numarul tau de telefon:",v.Button="Trimite SMS de verificare",v.Label="Numarul tau de telefon";class p extends l{}p.Title="Introdu codul de validare primit prin sms:",p.Description=" ",p.Button="Validează",p.Error="Codul introdus nu este valid. Asigură-te că îl introduci corect";class m extends l{}m.Title="Procesul a fost finalizat.",m.Description="Vei fi redirecționat în câteva momente.",m.Message="Îți mulțumim!";class b{}b.FlowStatusKey="qbs-ect-flowstatus",b.RequestIdKey="qbs-ect-requestid",b.TokenKey="qbs-ect-token",b.InitialisedKey="qbs-ect-initialised",b.HasIdBackKey="qbs-ect-has-id-back",b.AgreementValidationKey="qbs-ect-agreement-validation",b.PhoneValidationKey="qbs-ect-phone-validation";class g extends l{}g.Button="Încerc din nou",g.Title="Încadrează actul de identitate în chenarul de pe ecran.",g.TitleBack="Încadrează spatele actului de identitate în chenarul de pe ecran.",g.TtileRotate="Întoarce actul de identitate.",g.Error="Procesul a eșuat. Te rugăm să respecți întocmai instrucțiunile de pe ecran. Ai grijă să încadrezi integral actul în chenraul de pe ecran și să nu apară reflexii de lumină pe suprafața acestuia.",g.IDPoseMapping={0:"",1:"Înclină actul de identitate spre spate.",2:"",3:"",4:""},g.IDPoseDemoMapping={0:"https://ekyc.blob.core.windows.net/$web/animations/id/id_front.mp4",1:"https://ekyc.blob.core.windows.net/$web/animations/id/id_front_tilt.mp4",2:"https://ekyc.blob.core.windows.net/$web/animations/id/id_rotate.mp4",3:"https://ekyc.blob.core.windows.net/$web/animations/id/id_back.mp4",4:"https://ekyc.blob.core.windows.net/$web/animations/id/id_back_tilt.mp4"},g.Loading="Transferăm datele. Asteptați...";class y extends l{}y.Title="Încadrează fața în chenarul de pe ecran.",y.FinalTitle="Îndreaptă capul și încadrează fața în chenarul de pe ecran.",y.Error="Procesul a eșuat. Te rugăm să respecți întocmai instrucțiunile de pe ecran.",y.Loading="Transferăm datele. Asteptați...",y.FacePoseMapping={0:"Întoarce capul spre stânga.",1:"Întoarce capul spre dreapta.",2:"Înclină capul spre spate.",3:"Înclină capul în față.",4:""},y.FacePoseDemoMapping={0:"https://ekyc.blob.core.windows.net/$web/animations/selfie/selfie_rotate_left.mp4",1:"https://ekyc.blob.core.windows.net/$web/animations/selfie/selfie_rotate_right.mp4",2:"https://ekyc.blob.core.windows.net/$web/animations/selfie/selfie_tilt_back.mp4",3:"https://ekyc.blob.core.windows.net/$web/animations/selfie/selfie_tilt_front.mp4",4:"https://ekyc.blob.core.windows.net/$web/animations/selfie/selfie_main.mp4"};class w extends l{}w.Title="Pentru începerea identificării avem nevoie de acordurile tale:",w.Button="Încep identificarea",w.Terms="Am luat la cunoștință și sunt de acord cu Termenii și condițiile generale de utilizare",w.Agreement="Îmi exprim acordul pentru prelucrarea datelor cu caracter personal";class x extends l{}x.ButtonYes="Sunt de acord",x.ButtonNo="Nu sunt de acord";class O{constructor(){this.uriEnv="/",this.uriEnv="QA"==j.environment?"/dev_":"/",this.OtpSend=this.uriEnv+"validation/otp/send",this.OtpCheck=this.uriEnv+"validation/otp/check",this.IdentityInsert=this.uriEnv+"validation/identity/insert",this.UploadCapture=this.uriEnv+"validation/upload/capture",this.GetAgreement=this.uriEnv+"validation/agreement/content",this.GenerateAgreement=this.uriEnv+"validation/agreement/generate",this.SendLink=this.uriEnv+"validation/otp/sendlink",this.GetStatus=this.uriEnv+"validation/identity/status",this.AddLog=this.uriEnv+"validation/logs/add"}}class M extends l{}M.InfoTop="Pentru a continua scanați codul de mai jos cu un smartphone.",M.InfoBottom="Sau introduceți un număr de telefon pentru a primi link-ul pe smartphone.",M.Validation="Număr de telefon invalid!",M.InfoWaiting="Așteptăm finalizarea procesului pe smartphone.";const{state:j,onChange:A}=(()=>{const e=((t,n=((t,n)=>t!==n))=>{const e=c(t);let r=new Map(Object.entries(null!=e?e:{}));const i={dispose:[],get:[],set:[],reset:[]},o=()=>{var n;r=new Map(Object.entries(null!==(n=c(t))&&void 0!==n?n:{})),i.reset.forEach((t=>t()))},u=t=>(i.get.forEach((n=>n(t))),r.get(t)),a=(t,e)=>{const o=r.get(t);n(e,o,t)&&(r.set(t,e),i.set.forEach((n=>n(t,e,o))))},s="undefined"==typeof Proxy?{}:new Proxy(e,{get:(t,n)=>u(n),ownKeys:()=>Array.from(r.keys()),getOwnPropertyDescriptor:()=>({enumerable:!0,configurable:!0}),has:(t,n)=>r.has(n),set:(t,n,e)=>(a(n,e),!0)}),f=(t,n)=>(i[t].push(n),()=>{((t,n)=>{const e=t.indexOf(n);e>=0&&(t[e]=t[t.length-1],t.length--)})(i[t],n)});return{state:s,get:u,set:a,on:f,onChange:(n,e)=>{const r=f("set",((t,r)=>{t===n&&e(r)})),i=f("reset",(()=>e(c(t)[n])));return()=>{r(),i()}},use:(...t)=>{const n=t.reduce(((t,n)=>(n.set&&t.push(f("set",n.set)),n.get&&t.push(f("get",n.get)),n.reset&&t.push(f("reset",n.reset)),n.dispose&&t.push(f("dispose",n.dispose)),t)),[]);return()=>n.forEach((t=>t()))},dispose:()=>{i.dispose.forEach((t=>t())),o()},reset:o,forceUpdate:t=>{const n=r.get(t);i.set.forEach((e=>e(t,n,n)))}}})({flowStatus:f.LANDING,environment:"PROD",requestId:"",redirectId:"",initialised:!1,token:"",cameraIds:[],cameraId:"",hasIdBack:!1,agreementsValidation:!0,phoneValidation:!0,phoneNumber:"",apiBaseUrl:"https://apiro.id-kyc.com"},void 0);return e.use((()=>{if("function"!=typeof t)return{};const e=new Map;return{dispose:()=>e.clear(),get:n=>{const r=t();r&&((t,n,e)=>{const r=t.get(n);r?r.includes(e)||r.push(e):t.set(n,[e])})(e,n,r)},set:t=>{const r=e.get(t);r&&e.set(t,r.filter(n)),s(e)},reset:()=>{e.forEach((t=>t.forEach(n))),s(e)}}})()),e})();A("flowStatus",(t=>{sessionStorage.setItem(b.FlowStatusKey,f[t])})),A("token",(t=>{sessionStorage.setItem(b.TokenKey,t)})),A("requestId",(t=>{sessionStorage.setItem(b.RequestIdKey,t)})),A("initialised",(t=>{sessionStorage.setItem(b.InitialisedKey,String(t))})),A("hasIdBack",(t=>{sessionStorage.setItem(b.HasIdBackKey,String(t))})),A("agreementsValidation",(t=>{sessionStorage.setItem(b.AgreementValidationKey,String(t))})),A("phoneValidation",(t=>{sessionStorage.setItem(b.PhoneValidationKey,String(t))}));class C{constructor(){this.toBase64=t=>new Promise(((n,e)=>{const r=new FileReader;r.readAsDataURL(t),r.onload=()=>n(r.result),r.onerror=t=>e(t)})),this.urls=new O}async http(t){const n=await fetch(t);if(!n.ok)throw new Error(n.statusText);try{return await n.json()}catch(t){throw new Error("No json found in response "+t)}}async post(t,n){return await this.http(new Request(j.apiBaseUrl+t,{method:"POST",body:n,headers:{"Content-Type":"application/json",Authorization:"IDKYC-TOKEN "+j.token}}))}async get(t){return await this.http(new Request(j.apiBaseUrl+t,{method:"GET",headers:{"Content-Type":"application/json",Authorization:"IDKYC-TOKEN "+j.token}}))}async SendOTPCode(t,n){let e={requestId:t,phone:n};return(await this.post(this.urls.OtpSend,JSON.stringify(e))).sent}async CheckOTPCode(t,n){let e={requestId:t,otp:n};return(await this.post(this.urls.OtpCheck,JSON.stringify(e))).valid}async AddIdentificationRequest(t){let n={requestId:j.requestId,clientDeviceInfo:JSON.stringify(t),redirectId:j.redirectId,phoneNumber:j.phoneNumber},e=await this.post(this.urls.IdentityInsert,JSON.stringify(n));return""==j.requestId&&(j.requestId=e.requestId),j.hasIdBack=e.hasIdBack,j.agreementsValidation=e.agreementsValidation,j.phoneValidation=e.phoneValidation,!0}async UploadFileForRequestB64(t,n,e){let r={requestId:t,type:n,data:await this.toBase64(e)},i=await this.post(this.urls.UploadCapture,JSON.stringify(r));return(j.hasIdBack||"IdFront"!=n)&&(!j.hasIdBack||"IdBack"!=n)||i.isValid}async GetAgreement(t){return(await this.get(this.urls.GetAgreement+"?type="+t+"&requestId="+j.requestId)).htmlText}async GenerateAgreement(t){let n={requestId:j.requestId,documentType:t};return(await this.post(this.urls.GenerateAgreement,JSON.stringify(n))).generation}async GetStatus(t){let n=await this.get(this.urls.GetStatus+"?orderId="+t);return u[n.status]}async SendLink(t,n){let e={link:t,phoneNumber:n};return(await this.post(this.urls.SendLink,JSON.stringify(e))).sent}async AddLog(t){try{let n={requestId:j.requestId,action:f[j.flowStatus],message:JSON.stringify(null!=t?t:"no error data")};return(await this.post(this.urls.AddLog,JSON.stringify(n))).saved}catch(t){}}}const E=class{constructor(t){e(this,t),this.apiErrorEvent=r(this,"apiError",7),this.agreementAcceptance=r(this,"agreementAcceptance",7),this.agreementType=void 0,this.htmlContent=void 0,this.apiCalls=new C}async componentDidLoad(){try{this.htmlContent=await this.apiCalls.GetAgreement(this.agreementType)}catch(t){this.apiErrorEvent.emit(t)}}async buttonClick(t){this.agreementAcceptance.emit({agreementType:this.agreementType,result:t})}render(){let t=i("div",{class:"container"},i("div",{class:"row"},i("div",{class:"scroll",innerHTML:this.htmlContent}),i("div",{class:"pos-relative show-bottom"},i("div",{class:"btn-buletin"},i("div",{class:"d-flex two-buttons"},i("button",{class:"normal-button red-button",onClick:()=>this.buttonClick(!1)},x.ButtonNo),i("button",{class:"normal-button",onClick:()=>this.buttonClick(!0)},x.ButtonYes)),i("p",{class:"main-text font-size-18 text-right mb-0"},w.FooterText)))));return this.htmlContent?t:i("div",null)}};E.style="";const N=class{constructor(t){e(this,t),this.agreementsChecked=void 0,this.termsChecked=void 0,this.openAgreements=void 0,this.openTerms=void 0,this.agreementsChecked=!1,this.termsChecked=!1}componentWillLoad(){this.openAgreements=!1,this.openTerms=!1}buttonClick(){this.agreementsChecked&&this.termsChecked&&(j.flowStatus=f.PHONE)}agreementAcceptanceEmitted(t){"agreement"==t.detail.agreementType&&(this.agreementsChecked=t.detail.result,this.openAgreements=!1),"terms"==t.detail.agreementType&&(this.termsChecked=t.detail.result,this.openTerms=!1)}agreementsClicked(){this.openAgreements=!0}termsClicked(){this.openTerms=!0}render(){let t=i("agreement-check",{agreementType:"agreement"}),n=i("agreement-check",{agreementType:"terms"}),e=i("div",{class:"container"},i("div",{class:"row"},i("div",null,i("h1",{class:"text-center"},w.Title),i("div",{class:"d-flex space-between align-center"},i("h3",{class:"main-text font-size-2",onClick:()=>this.agreementsClicked()},i("input",{type:"checkbox",readOnly:!0,checked:this.agreementsChecked}),w.Agreement)),i("div",{class:"d-flex space-between align-center"},i("h3",{class:"main-text font-size-2",onClick:()=>this.termsClicked()},i("input",{type:"checkbox",readOnly:!0,checked:this.termsChecked}),w.Terms))),i("div",{class:"pos-relative show-bottom"},i("div",{class:"btn-buletin"},i("button",{class:"main-button",onClick:()=>this.buttonClick()},w.Button),i("p",{class:"main-text font-size-18 text-right mb-0"},w.FooterText)))));return this.openAgreements?t:this.openTerms?n:e}};function D(t){return t&&t.__esModule&&Object.prototype.hasOwnProperty.call(t,"default")?t.default:t}function k(t,n,e){return t(e={path:n,exports:{},require:function(){return function(){throw new Error("Dynamic requires are not currently supported by @rollup/plugin-commonjs")}()}},e.exports),e.exports}N.style="";var T=k((function(t){window,t.exports=function(t){var n={};function e(r){if(n[r])return n[r].exports;var i=n[r]={i:r,l:!1,exports:{}};return t[r].call(i.exports,i,i.exports,e),i.l=!0,i.exports}return e.m=t,e.c=n,e.d=function(t,n,r){e.o(t,n)||Object.defineProperty(t,n,{configurable:!1,enumerable:!0,get:r})},e.r=function(t){Object.defineProperty(t,"__esModule",{value:!0})},e.n=function(t){var n=t&&t.__esModule?function(){return t.default}:function(){return t};return e.d(n,"a",n),n},e.o=function(t,n){return Object.prototype.hasOwnProperty.call(t,n)},e.p="/",e(e.s=581)}([function(t,n,e){e.r(n),function(t,r,i,o){e.d(n,"AdadeltaOptimizer",(function(){return lh})),e.d(n,"AdagradOptimizer",(function(){return hh})),e.d(n,"AdamOptimizer",(function(){return dh})),e.d(n,"AdamaxOptimizer",(function(){return vh})),e.d(n,"Add",(function(){return gr})),e.d(n,"AddN",(function(){return yr})),e.d(n,"BroadcastTo",(function(){return Cr})),e.d(n,"DataStorage",(function(){return uo})),e.d(n,"Div",(function(){return wr})),e.d(n,"ENV",(function(){return h})),e.d(n,"Environment",(function(){return f})),e.d(n,"FromPixels",(function(){return Tr})),e.d(n,"FusedBatchNorm",(function(){return xr})),e.d(n,"Identity",(function(){return Nr})),e.d(n,"KernelBackend",(function(){return ao})),e.d(n,"MaxPoolWithArgmax",(function(){return Sr})),e.d(n,"MomentumOptimizer",(function(){return mh})),e.d(n,"NonMaxSuppressionV5",(function(){return Ar})),e.d(n,"OneHot",(function(){return Er})),e.d(n,"Optimizer",(function(){return fh})),e.d(n,"PadV2",(function(){return kr})),e.d(n,"RMSPropOptimizer",(function(){return bh})),e.d(n,"Rank",(function(){return Mt})),e.d(n,"Reduction",(function(){return tf})),e.d(n,"SGDOptimizer",(function(){return ph})),e.d(n,"Square",(function(){return Mr})),e.d(n,"SquaredDifference",(function(){return Or})),e.d(n,"Tensor",(function(){return Ot})),e.d(n,"TensorBuffer",(function(){return gt})),e.d(n,"Tile",(function(){return Dr})),e.d(n,"Transpose",(function(){return jr})),e.d(n,"Variable",(function(){return Nt})),e.d(n,"abs",(function(){return Pr})),e.d(n,"acos",(function(){return Lr})),e.d(n,"acosh",(function(){return Br})),e.d(n,"add",(function(){return zr})),e.d(n,"addN",(function(){return Ca})),e.d(n,"addStrict",(function(){return bi})),e.d(n,"all",(function(){return yc})),e.d(n,"any",(function(){return wc})),e.d(n,"argMax",(function(){return xc})),e.d(n,"argMin",(function(){return Oc})),e.d(n,"asin",(function(){return Gr})),e.d(n,"asinh",(function(){return Ur})),e.d(n,"atan",(function(){return Wr})),e.d(n,"atan2",(function(){return gi})),e.d(n,"atanh",(function(){return Hr})),e.d(n,"avgPool",(function(){return sc})),e.d(n,"avgPool3d",(function(){return lc})),e.d(n,"backend",(function(){return fe})),e.d(n,"backend_util",(function(){return Ao})),e.d(n,"basicLSTMCell",(function(){return Lc})),e.d(n,"batchNorm",(function(){return Sa})),e.d(n,"batchNorm2d",(function(){return Ra})),e.d(n,"batchNorm3d",(function(){return La})),e.d(n,"batchNorm4d",(function(){return Ua})),e.d(n,"batchNormalization",(function(){return Ta})),e.d(n,"batchNormalization2d",(function(){return Fa})),e.d(n,"batchNormalization3d",(function(){return Pa})),e.d(n,"batchNormalization4d",(function(){return Ga})),e.d(n,"batchToSpaceND",(function(){return er})),e.d(n,"booleanMaskAsync",(function(){return Is})),e.d(n,"broadcastTo",(function(){return Wa})),e.d(n,"browser",(function(){return rh})),e.d(n,"buffer",(function(){return tr})),e.d(n,"cast",(function(){return rr})),e.d(n,"ceil",(function(){return Vr})),e.d(n,"clipByValue",(function(){return Yr})),e.d(n,"clone",(function(){return Ha})),e.d(n,"complex",(function(){return Ne})),e.d(n,"concat",(function(){return Ze})),e.d(n,"concat1d",(function(){return Qe})),e.d(n,"concat2d",(function(){return Ke})),e.d(n,"concat3d",(function(){return Je})),e.d(n,"concat4d",(function(){return _e})),e.d(n,"conv1d",(function(){return Gs})),e.d(n,"conv2d",(function(){return Us})),e.d(n,"conv2dTranspose",(function(){return Qs})),e.d(n,"conv3d",(function(){return Ws})),e.d(n,"conv3dTranspose",(function(){return Ks})),e.d(n,"cos",(function(){return Xr})),e.d(n,"cosh",(function(){return qr})),e.d(n,"cumsum",(function(){return ir})),e.d(n,"customGrad",(function(){return no})),e.d(n,"deprecationWarn",(function(){return Zn})),e.d(n,"depthToSpace",(function(){return or})),e.d(n,"depthwiseConv2d",(function(){return Ys})),e.d(n,"diag",(function(){return Jc})),e.d(n,"disableDeprecationWarnings",(function(){return qn})),e.d(n,"dispose",(function(){return te})),e.d(n,"disposeVariables",(function(){return Qn})),e.d(n,"div",(function(){return Fi})),e.d(n,"divNoNan",(function(){return Ka})),e.d(n,"divStrict",(function(){return yi})),e.d(n,"dot",(function(){return _s})),e.d(n,"dropout",(function(){return _c})),e.d(n,"elu",(function(){return kc})),e.d(n,"enableDebugMode",(function(){return Xn})),e.d(n,"enableProdMode",(function(){return Yn})),e.d(n,"engine",(function(){return Kn})),e.d(n,"env",(function(){return l})),e.d(n,"equal",(function(){return ws})),e.d(n,"equalStrict",(function(){return xs})),e.d(n,"erf",(function(){return Zr})),e.d(n,"exp",(function(){return Qr})),e.d(n,"expandDims",(function(){return ur})),e.d(n,"expm1",(function(){return Kr})),e.d(n,"eye",(function(){return _a})),e.d(n,"fft",(function(){return Vc})),e.d(n,"fill",(function(){return He})),e.d(n,"findBackend",(function(){return ae})),e.d(n,"findBackendFactory",(function(){return se})),e.d(n,"floor",(function(){return Jr})),e.d(n,"floorDiv",(function(){return wi})),e.d(n,"frame",(function(){return rf})),e.d(n,"fused",(function(){return Pf})),e.d(n,"gather",(function(){return Fs})),e.d(n,"gatherND",(function(){return Kc})),e.d(n,"gather_util",(function(){return Ii})),e.d(n,"getBackend",(function(){return oe})),e.d(n,"getGradient",(function(){return m})),e.d(n,"getKernel",(function(){return p})),e.d(n,"getKernelsForBackend",(function(){return b})),e.d(n,"grad",(function(){return Ki})),e.d(n,"grads",(function(){return Ji})),e.d(n,"greater",(function(){return Os})),e.d(n,"greaterEqual",(function(){return Ms})),e.d(n,"greaterEqualStrict",(function(){return js})),e.d(n,"greaterStrict",(function(){return As})),e.d(n,"hammingWindow",(function(){return ef})),e.d(n,"hannWindow",(function(){return nf})),e.d(n,"ifft",(function(){return Yc})),e.d(n,"imag",(function(){return ke})),e.d(n,"image",(function(){return Df})),e.d(n,"inTopKAsync",(function(){return af})),e.d(n,"io",(function(){return $l})),e.d(n,"irfft",(function(){return qc})),e.d(n,"isFinite",(function(){return ci})),e.d(n,"isInf",(function(){return si})),e.d(n,"isNaN",(function(){return ai})),e.d(n,"keep",(function(){return ne})),e.d(n,"leakyRelu",(function(){return Tc})),e.d(n,"less",(function(){return Cs})),e.d(n,"lessEqual",(function(){return Es})),e.d(n,"lessEqualStrict",(function(){return Ns})),e.d(n,"lessStrict",(function(){return Ds})),e.d(n,"linalg",(function(){return Of})),e.d(n,"linspace",(function(){return Ve})),e.d(n,"localResponseNormalization",(function(){return Ic})),e.d(n,"log",(function(){return _r})),e.d(n,"log1p",(function(){return $r})),e.d(n,"logSigmoid",(function(){return ti})),e.d(n,"logSoftmax",(function(){return io})),e.d(n,"logSumExp",(function(){return Mc})),e.d(n,"logicalAnd",(function(){return Va})),e.d(n,"logicalNot",(function(){return Ya})),e.d(n,"logicalOr",(function(){return Xa})),e.d(n,"logicalXor",(function(){return qa})),e.d(n,"losses",(function(){return bf})),e.d(n,"matMul",(function(){return Js})),e.d(n,"math",(function(){return nh})),e.d(n,"max",(function(){return jc})),e.d(n,"maxPool",(function(){return ac})),e.d(n,"maxPool3d",(function(){return fc})),e.d(n,"maxPoolWithArgmax",(function(){return hc})),e.d(n,"maximum",(function(){return xi})),e.d(n,"maximumStrict",(function(){return Oi})),e.d(n,"mean",(function(){return Ac})),e.d(n,"memory",(function(){return Jn})),e.d(n,"min",(function(){return Cc})),e.d(n,"minimum",(function(){return Mi})),e.d(n,"minimumStrict",(function(){return ji})),e.d(n,"mod",(function(){return Ai})),e.d(n,"modStrict",(function(){return Ci})),e.d(n,"moments",(function(){return Ec})),e.d(n,"movingAverage",(function(){return Gc})),e.d(n,"mul",(function(){return Ei})),e.d(n,"mulStrict",(function(){return Ni})),e.d(n,"multiRNNCell",(function(){return Bc})),e.d(n,"multinomial",(function(){return $a})),e.d(n,"neg",(function(){return ni})),e.d(n,"nextFrame",(function(){return xh})),e.d(n,"norm",(function(){return Pc})),e.d(n,"notEqual",(function(){return ks})),e.d(n,"notEqualStrict",(function(){return Ts})),e.d(n,"oneHot",(function(){return ts})),e.d(n,"ones",(function(){return Ue})),e.d(n,"onesLike",(function(){return Xe})),e.d(n,"op",(function(){return Ee})),e.d(n,"outerProduct",(function(){return $s})),e.d(n,"pad",(function(){return ns})),e.d(n,"pad1d",(function(){return es})),e.d(n,"pad2d",(function(){return rs})),e.d(n,"pad3d",(function(){return is})),e.d(n,"pad4d",(function(){return os})),e.d(n,"pool",(function(){return cc})),e.d(n,"pow",(function(){return Di})),e.d(n,"powStrict",(function(){return ki})),e.d(n,"prelu",(function(){return Sc})),e.d(n,"print",(function(){return nr})),e.d(n,"prod",(function(){return Dc})),e.d(n,"profile",(function(){return _n})),e.d(n,"rand",(function(){return us})),e.d(n,"randomGamma",(function(){return vs})),e.d(n,"randomNormal",(function(){return ps})),e.d(n,"randomUniform",(function(){return ms})),e.d(n,"range",(function(){return Ye})),e.d(n,"ready",(function(){return ie})),e.d(n,"real",(function(){return De})),e.d(n,"reciprocal",(function(){return ei})),e.d(n,"registerBackend",(function(){return ce})),e.d(n,"registerGradient",(function(){return y})),e.d(n,"registerKernel",(function(){return g})),e.d(n,"relu",(function(){return zc})),e.d(n,"relu6",(function(){return Fc})),e.d(n,"removeBackend",(function(){return ue})),e.d(n,"reshape",(function(){return ar})),e.d(n,"reverse",(function(){return tc})),e.d(n,"reverse1d",(function(){return nc})),e.d(n,"reverse2d",(function(){return ec})),e.d(n,"reverse3d",(function(){return rc})),e.d(n,"reverse4d",(function(){return ic})),e.d(n,"rfft",(function(){return Xc})),e.d(n,"round",(function(){return ri})),e.d(n,"rsqrt",(function(){return ii})),e.d(n,"scalar",(function(){return ze})),e.d(n,"scatterND",(function(){return Hc})),e.d(n,"scatter_util",(function(){return Ui})),e.d(n,"selu",(function(){return Rc})),e.d(n,"separableConv2d",(function(){return Zs})),e.d(n,"serialization",(function(){return ah})),e.d(n,"setBackend",(function(){return re})),e.d(n,"setPlatform",(function(){return le})),e.d(n,"setdiff1dAsync",(function(){return hr})),e.d(n,"sigmoid",(function(){return oi})),e.d(n,"sign",(function(){return ui})),e.d(n,"signal",(function(){return uf})),e.d(n,"sin",(function(){return fi})),e.d(n,"sinh",(function(){return li})),e.d(n,"slice",(function(){return dc})),e.d(n,"slice1d",(function(){return vc})),e.d(n,"slice2d",(function(){return pc})),e.d(n,"slice3d",(function(){return mc})),e.d(n,"slice4d",(function(){return bc})),e.d(n,"slice_util",(function(){return Qi})),e.d(n,"softmax",(function(){return ro})),e.d(n,"softplus",(function(){return hi})),e.d(n,"spaceToBatchND",(function(){return sr})),e.d(n,"sparseToDense",(function(){return Qc})),e.d(n,"spectral",(function(){return Zc})),e.d(n,"split",(function(){return $e})),e.d(n,"sqrt",(function(){return di})),e.d(n,"square",(function(){return bs})),e.d(n,"squaredDifference",(function(){return gs})),e.d(n,"squaredDifferenceStrict",(function(){return Ti})),e.d(n,"squeeze",(function(){return cr})),e.d(n,"stack",(function(){return fr})),e.d(n,"step",(function(){return vi})),e.d(n,"stft",(function(){return of})),e.d(n,"stridedSlice",(function(){return Uc})),e.d(n,"sub",(function(){return Si})),e.d(n,"subStrict",(function(){return zi})),e.d(n,"sum",(function(){return Nc})),e.d(n,"sumOutType",(function(){return Tt})),e.d(n,"tan",(function(){return pi})),e.d(n,"tanh",(function(){return mi})),e.d(n,"tensor",(function(){return Te})),e.d(n,"tensor1d",(function(){return Fe})),e.d(n,"tensor2d",(function(){return Re})),e.d(n,"tensor3d",(function(){return Ie})),e.d(n,"tensor4d",(function(){return Pe})),e.d(n,"tensor5d",(function(){return Le})),e.d(n,"tensor6d",(function(){return Be})),e.d(n,"tensor_util",(function(){return It})),e.d(n,"test_util",(function(){return fs})),e.d(n,"tidy",(function(){return $n})),e.d(n,"tile",(function(){return Ja})),e.d(n,"time",(function(){return ee})),e.d(n,"topk",(function(){return Wc})),e.d(n,"train",(function(){return yh})),e.d(n,"transpose",(function(){return oo})),e.d(n,"truncatedNormal",(function(){return ys})),e.d(n,"unregisterGradient",(function(){return x})),e.d(n,"unregisterKernel",(function(){return w})),e.d(n,"unsortedSegmentSum",(function(){return Rs})),e.d(n,"unstack",(function(){return lr})),e.d(n,"util",(function(){return ht})),e.d(n,"valueAndGrad",(function(){return _i})),e.d(n,"valueAndGrads",(function(){return $i})),e.d(n,"variable",(function(){return Ge})),e.d(n,"variableGrads",(function(){return to})),e.d(n,"version_core",(function(){return sh})),e.d(n,"webgl",(function(){return ch})),e.d(n,"where",(function(){return Za})),e.d(n,"whereAsync",(function(){return Qa})),e.d(n,"zeros",(function(){return We})),e.d(n,"zerosLike",(function(){return qe}));
1
+ import{g as t,f as n,r as e,c as r,h as i,a as o}from"./p-06e42b28.js";var u;!function(t){t[t.Capturing=0]="Capturing",t[t.FinishedCapturing=1]="FinishedCapturing",t[t.Waiting=2]="Waiting",t[t.NotFound=3]="NotFound"}(u||(u={}));const a=t=>!("isConnected"in t)||t.isConnected,s=(()=>{let t;return(...n)=>{t&&clearTimeout(t),t=setTimeout((()=>{t=0,(t=>{for(let n of t.keys())t.set(n,t.get(n).filter(a))})(...n)}),2e3)}})(),c=t=>"function"==typeof t?t():t;var f;!function(t){t[t.LANDING=0]="LANDING",t[t.AGREEMENT=1]="AGREEMENT",t[t.PHONE=2]="PHONE",t[t.CODE=3]="CODE",t[t.CODEERROR=4]="CODEERROR",t[t.ID=5]="ID",t[t.LIVENESS=6]="LIVENESS",t[t.COMPLETE=7]="COMPLETE",t[t.ERROREND=8]="ERROREND"}(f||(f={}));class l{}l.FooterText="Qoobiss eKYC",l.VideoLenght=3100;class h extends l{}h.IdTitile="Prezintă actul tău de identitate",h.IdSubTitileFace="Este necesară captarea actului de identitate. Urmează intrucțiunile ce vor fi afișate pe ecran.",h.IdSubTitileBack="Este necesară captarea actului de identitate. Urmează intrucțiunile ce vor fi afișate pe ecran.",h.IdButton="Sunt gata!",h.SelfieTitile="Validare video",h.SelfieSubTitile="Este necesară realizarea unei înregistrări video. Respectă intrucțiunile ce vor fi afișate pe ecran.",h.SelfieButton="Sunt gata!";class d extends l{}d.Title="Validarea identității la distanță este o procedură simplă și rapidă",d.Description="Asigură-te că ai:",d.IdInfo="Actul de identitate, în original",d.DeviceInfo="Un telefon mobil sau un calculator cu camera web",d.SmsInfo="Acces la un telefon mobil ce permite primirea de mesaje SMS",d.Warning="ATENȚIE! În cadrul acestui proces se poate utiliza doar cartea de identitate Românească.",d.WarningMd="ATENȚIE! In cadrul acestui proces se pot utiliza doar buletinele de identitate din Republica Moldova.",d.Terms="Prin continuarea procesului, confirmi că ai citit termenii de utilizare și ești de acord cu aceștia.",d.Button="Am înțeles";class v extends l{}v.Title="Este necesar să validăm numărul tău de telefon",v.Description="Introdu mai jos numarul tau de telefon:",v.Button="Trimite SMS de verificare",v.Label="Numarul tau de telefon";class p extends l{}p.Title="Introdu codul de validare primit prin sms:",p.Description=" ",p.Button="Validează",p.Error="Codul introdus nu este valid. Asigură-te că îl introduci corect";class m extends l{}m.Title="Procesul a fost finalizat.",m.Description="Vei fi redirecționat în câteva momente.",m.Message="Îți mulțumim!";class b{}b.FlowStatusKey="qbs-ect-flowstatus",b.RequestIdKey="qbs-ect-requestid",b.TokenKey="qbs-ect-token",b.InitialisedKey="qbs-ect-initialised",b.HasIdBackKey="qbs-ect-has-id-back",b.AgreementValidationKey="qbs-ect-agreement-validation",b.PhoneValidationKey="qbs-ect-phone-validation";class g extends l{}g.Button="Încerc din nou",g.Title="Încadrează actul de identitate în chenarul de pe ecran.",g.TitleBack="Încadrează spatele actului de identitate în chenarul de pe ecran.",g.TtileRotate="Întoarce actul de identitate.",g.Error="Procesul a eșuat. Te rugăm să respecți întocmai instrucțiunile de pe ecran. Ai grijă să încadrezi integral actul în chenraul de pe ecran și să nu apară reflexii de lumină pe suprafața acestuia.",g.IDPoseMapping={0:"",1:"Înclină actul de identitate spre spate.",2:"",3:"",4:""},g.IDPoseDemoMapping={0:"https://ekyc.blob.core.windows.net/$web/animations/id/id_front.mp4",1:"https://ekyc.blob.core.windows.net/$web/animations/id/id_front_tilt.mp4",2:"https://ekyc.blob.core.windows.net/$web/animations/id/id_rotate.mp4",3:"https://ekyc.blob.core.windows.net/$web/animations/id/id_back.mp4",4:"https://ekyc.blob.core.windows.net/$web/animations/id/id_back_tilt.mp4"},g.Loading="Transferăm datele. Asteptați...";class y extends l{}y.Title="Încadrează fața în chenarul de pe ecran.",y.FinalTitle="Îndreaptă capul și încadrează fața în chenarul de pe ecran.",y.Error="Procesul a eșuat. Te rugăm să respecți întocmai instrucțiunile de pe ecran.",y.Loading="Transferăm datele. Asteptați...",y.FacePoseMapping={0:"Întoarce capul spre stânga.",1:"Întoarce capul spre dreapta.",2:"Înclină capul spre spate.",3:"Înclină capul în față.",4:""},y.FacePoseDemoMapping={0:"https://ekyc.blob.core.windows.net/$web/animations/selfie/selfie_rotate_left.mp4",1:"https://ekyc.blob.core.windows.net/$web/animations/selfie/selfie_rotate_right.mp4",2:"https://ekyc.blob.core.windows.net/$web/animations/selfie/selfie_tilt_back.mp4",3:"https://ekyc.blob.core.windows.net/$web/animations/selfie/selfie_tilt_front.mp4",4:"https://ekyc.blob.core.windows.net/$web/animations/selfie/selfie_main.mp4"};class w extends l{}w.Title="Pentru începerea identificării avem nevoie de acordurile tale:",w.Button="Încep identificarea",w.Terms="Am luat la cunoștință și sunt de acord cu Termenii și condițiile generale de utilizare",w.Agreement="Îmi exprim acordul pentru prelucrarea datelor cu caracter personal";class x extends l{}x.ButtonYes="Sunt de acord",x.ButtonNo="Nu sunt de acord";class O{constructor(){this.uriEnv="/",this.uriEnv="QA"==j.environment?"/dev_":"/",this.OtpSend=this.uriEnv+"validation/otp/send",this.OtpCheck=this.uriEnv+"validation/otp/check",this.IdentityInsert=this.uriEnv+"validation/identity/insert",this.UploadCapture=this.uriEnv+"validation/upload/capture",this.GetAgreement=this.uriEnv+"validation/agreement/content",this.GenerateAgreement=this.uriEnv+"validation/agreement/generate",this.SendLink=this.uriEnv+"validation/otp/sendlink",this.GetStatus=this.uriEnv+"validation/identity/status",this.AddLog=this.uriEnv+"validation/logs/add"}}class M extends l{}M.InfoTop="Pentru a continua scanați codul de mai jos cu un smartphone.",M.InfoBottom="Sau introduceți un număr de telefon pentru a primi link-ul pe smartphone.",M.Validation="Număr de telefon invalid!",M.InfoWaiting="Așteptăm finalizarea procesului pe smartphone.";const{state:j,onChange:A}=(()=>{const e=((t,n=((t,n)=>t!==n))=>{const e=c(t);let r=new Map(Object.entries(null!=e?e:{}));const i={dispose:[],get:[],set:[],reset:[]},o=()=>{var n;r=new Map(Object.entries(null!==(n=c(t))&&void 0!==n?n:{})),i.reset.forEach((t=>t()))},u=t=>(i.get.forEach((n=>n(t))),r.get(t)),a=(t,e)=>{const o=r.get(t);n(e,o,t)&&(r.set(t,e),i.set.forEach((n=>n(t,e,o))))},s="undefined"==typeof Proxy?{}:new Proxy(e,{get:(t,n)=>u(n),ownKeys:()=>Array.from(r.keys()),getOwnPropertyDescriptor:()=>({enumerable:!0,configurable:!0}),has:(t,n)=>r.has(n),set:(t,n,e)=>(a(n,e),!0)}),f=(t,n)=>(i[t].push(n),()=>{((t,n)=>{const e=t.indexOf(n);e>=0&&(t[e]=t[t.length-1],t.length--)})(i[t],n)});return{state:s,get:u,set:a,on:f,onChange:(n,e)=>{const r=f("set",((t,r)=>{t===n&&e(r)})),i=f("reset",(()=>e(c(t)[n])));return()=>{r(),i()}},use:(...t)=>{const n=t.reduce(((t,n)=>(n.set&&t.push(f("set",n.set)),n.get&&t.push(f("get",n.get)),n.reset&&t.push(f("reset",n.reset)),n.dispose&&t.push(f("dispose",n.dispose)),t)),[]);return()=>n.forEach((t=>t()))},dispose:()=>{i.dispose.forEach((t=>t())),o()},reset:o,forceUpdate:t=>{const n=r.get(t);i.set.forEach((e=>e(t,n,n)))}}})({flowStatus:f.LANDING,environment:"PROD",requestId:"",redirectId:"",initialised:!1,token:"",cameraIds:[],cameraId:"",hasIdBack:!1,agreementsValidation:!0,phoneValidation:!0,phoneNumber:"",apiBaseUrl:"https://apiro.id-kyc.com"},void 0);return e.use((()=>{if("function"!=typeof t)return{};const e=new Map;return{dispose:()=>e.clear(),get:n=>{const r=t();r&&((t,n,e)=>{const r=t.get(n);r?r.includes(e)||r.push(e):t.set(n,[e])})(e,n,r)},set:t=>{const r=e.get(t);r&&e.set(t,r.filter(n)),s(e)},reset:()=>{e.forEach((t=>t.forEach(n))),s(e)}}})()),e})();A("flowStatus",(t=>{sessionStorage.setItem(b.FlowStatusKey,f[t])})),A("token",(t=>{sessionStorage.setItem(b.TokenKey,t)})),A("requestId",(t=>{sessionStorage.setItem(b.RequestIdKey,t)})),A("initialised",(t=>{sessionStorage.setItem(b.InitialisedKey,String(t))})),A("hasIdBack",(t=>{sessionStorage.setItem(b.HasIdBackKey,String(t))})),A("agreementsValidation",(t=>{sessionStorage.setItem(b.AgreementValidationKey,String(t))})),A("phoneValidation",(t=>{sessionStorage.setItem(b.PhoneValidationKey,String(t))}));class C{constructor(){this.toBase64=t=>new Promise(((n,e)=>{const r=new FileReader;r.readAsDataURL(t),r.onload=()=>n(r.result),r.onerror=t=>e(t)})),this.urls=new O}async http(t){const n=await fetch(t);if(!n.ok)throw new Error(n.statusText);try{return await n.json()}catch(t){throw new Error("No json found in response "+t)}}async post(t,n){return await this.http(new Request(j.apiBaseUrl+t,{method:"POST",body:n,headers:{"Content-Type":"application/json",Authorization:"IDKYC-TOKEN "+j.token}}))}async get(t){return await this.http(new Request(j.apiBaseUrl+t,{method:"GET",headers:{"Content-Type":"application/json",Authorization:"IDKYC-TOKEN "+j.token}}))}async SendOTPCode(t,n){let e={requestId:t,phone:n};return(await this.post(this.urls.OtpSend,JSON.stringify(e))).sent}async CheckOTPCode(t,n){let e={requestId:t,otp:n};return(await this.post(this.urls.OtpCheck,JSON.stringify(e))).valid}async AddIdentificationRequest(t){let n={requestId:j.requestId,clientDeviceInfo:JSON.stringify(t),redirectId:j.redirectId,phoneNumber:j.phoneNumber},e=await this.post(this.urls.IdentityInsert,JSON.stringify(n));return""==j.requestId&&(j.requestId=e.requestId),j.hasIdBack=e.hasIdBack,j.agreementsValidation=e.agreementsValidation,j.phoneValidation=e.phoneValidation,j.phoneNumber=e.phoneNumber,!0}async UploadFileForRequestB64(t,n,e){let r={requestId:t,type:n,data:await this.toBase64(e)},i=await this.post(this.urls.UploadCapture,JSON.stringify(r));return(j.hasIdBack||"IdFront"!=n)&&(!j.hasIdBack||"IdBack"!=n)||i.isValid}async GetAgreement(t){return(await this.get(this.urls.GetAgreement+"?type="+t+"&requestId="+j.requestId)).htmlText}async GenerateAgreement(t){let n={requestId:j.requestId,documentType:t};return(await this.post(this.urls.GenerateAgreement,JSON.stringify(n))).generation}async GetStatus(t){let n=await this.get(this.urls.GetStatus+"?orderId="+t);return u[n.status]}async SendLink(t,n){let e={requestId:j.requestId,link:t,phoneNumber:n};return(await this.post(this.urls.SendLink,JSON.stringify(e))).sent}async AddLog(t){try{let n={requestId:j.requestId,action:f[j.flowStatus],message:JSON.stringify(null!=t?t:"no error data")};return(await this.post(this.urls.AddLog,JSON.stringify(n))).saved}catch(t){}}}const E=class{constructor(t){e(this,t),this.apiErrorEvent=r(this,"apiError",7),this.agreementAcceptance=r(this,"agreementAcceptance",7),this.agreementType=void 0,this.htmlContent=void 0,this.apiCalls=new C}async componentDidLoad(){try{this.htmlContent=await this.apiCalls.GetAgreement(this.agreementType)}catch(t){this.apiErrorEvent.emit(t)}}async buttonClick(t){this.agreementAcceptance.emit({agreementType:this.agreementType,result:t})}render(){let t=i("div",{class:"container"},i("div",{class:"row"},i("div",{class:"scroll",innerHTML:this.htmlContent}),i("div",{class:"pos-relative show-bottom"},i("div",{class:"btn-buletin"},i("div",{class:"d-flex two-buttons"},i("button",{class:"normal-button red-button",onClick:()=>this.buttonClick(!1)},x.ButtonNo),i("button",{class:"normal-button",onClick:()=>this.buttonClick(!0)},x.ButtonYes)),i("p",{class:"main-text font-size-18 text-right mb-0"},w.FooterText)))));return this.htmlContent?t:i("div",null)}};E.style="";const N=class{constructor(t){e(this,t),this.agreementsChecked=void 0,this.termsChecked=void 0,this.openAgreements=void 0,this.openTerms=void 0,this.agreementsChecked=!1,this.termsChecked=!1}componentWillLoad(){this.openAgreements=!1,this.openTerms=!1}buttonClick(){this.agreementsChecked&&this.termsChecked&&(j.flowStatus=f.PHONE)}agreementAcceptanceEmitted(t){"agreement"==t.detail.agreementType&&(this.agreementsChecked=t.detail.result,this.openAgreements=!1),"terms"==t.detail.agreementType&&(this.termsChecked=t.detail.result,this.openTerms=!1)}agreementsClicked(){this.openAgreements=!0}termsClicked(){this.openTerms=!0}render(){let t=i("agreement-check",{agreementType:"agreement"}),n=i("agreement-check",{agreementType:"terms"}),e=i("div",{class:"container"},i("div",{class:"row"},i("div",null,i("h1",{class:"text-center"},w.Title),i("div",{class:"d-flex space-between align-center"},i("h3",{class:"main-text font-size-2",onClick:()=>this.agreementsClicked()},i("input",{type:"checkbox",readOnly:!0,checked:this.agreementsChecked}),w.Agreement)),i("div",{class:"d-flex space-between align-center"},i("h3",{class:"main-text font-size-2",onClick:()=>this.termsClicked()},i("input",{type:"checkbox",readOnly:!0,checked:this.termsChecked}),w.Terms))),i("div",{class:"pos-relative show-bottom"},i("div",{class:"btn-buletin"},i("button",{class:"main-button",onClick:()=>this.buttonClick()},w.Button),i("p",{class:"main-text font-size-18 text-right mb-0"},w.FooterText)))));return this.openAgreements?t:this.openTerms?n:e}};function D(t){return t&&t.__esModule&&Object.prototype.hasOwnProperty.call(t,"default")?t.default:t}function k(t,n,e){return t(e={path:n,exports:{},require:function(){return function(){throw new Error("Dynamic requires are not currently supported by @rollup/plugin-commonjs")}()}},e.exports),e.exports}N.style="";var T=k((function(t){window,t.exports=function(t){var n={};function e(r){if(n[r])return n[r].exports;var i=n[r]={i:r,l:!1,exports:{}};return t[r].call(i.exports,i,i.exports,e),i.l=!0,i.exports}return e.m=t,e.c=n,e.d=function(t,n,r){e.o(t,n)||Object.defineProperty(t,n,{configurable:!1,enumerable:!0,get:r})},e.r=function(t){Object.defineProperty(t,"__esModule",{value:!0})},e.n=function(t){var n=t&&t.__esModule?function(){return t.default}:function(){return t};return e.d(n,"a",n),n},e.o=function(t,n){return Object.prototype.hasOwnProperty.call(t,n)},e.p="/",e(e.s=581)}([function(t,n,e){e.r(n),function(t,r,i,o){e.d(n,"AdadeltaOptimizer",(function(){return lh})),e.d(n,"AdagradOptimizer",(function(){return hh})),e.d(n,"AdamOptimizer",(function(){return dh})),e.d(n,"AdamaxOptimizer",(function(){return vh})),e.d(n,"Add",(function(){return gr})),e.d(n,"AddN",(function(){return yr})),e.d(n,"BroadcastTo",(function(){return Cr})),e.d(n,"DataStorage",(function(){return uo})),e.d(n,"Div",(function(){return wr})),e.d(n,"ENV",(function(){return h})),e.d(n,"Environment",(function(){return f})),e.d(n,"FromPixels",(function(){return Tr})),e.d(n,"FusedBatchNorm",(function(){return xr})),e.d(n,"Identity",(function(){return Nr})),e.d(n,"KernelBackend",(function(){return ao})),e.d(n,"MaxPoolWithArgmax",(function(){return Sr})),e.d(n,"MomentumOptimizer",(function(){return mh})),e.d(n,"NonMaxSuppressionV5",(function(){return Ar})),e.d(n,"OneHot",(function(){return Er})),e.d(n,"Optimizer",(function(){return fh})),e.d(n,"PadV2",(function(){return kr})),e.d(n,"RMSPropOptimizer",(function(){return bh})),e.d(n,"Rank",(function(){return Mt})),e.d(n,"Reduction",(function(){return tf})),e.d(n,"SGDOptimizer",(function(){return ph})),e.d(n,"Square",(function(){return Mr})),e.d(n,"SquaredDifference",(function(){return Or})),e.d(n,"Tensor",(function(){return Ot})),e.d(n,"TensorBuffer",(function(){return gt})),e.d(n,"Tile",(function(){return Dr})),e.d(n,"Transpose",(function(){return jr})),e.d(n,"Variable",(function(){return Nt})),e.d(n,"abs",(function(){return Pr})),e.d(n,"acos",(function(){return Lr})),e.d(n,"acosh",(function(){return Br})),e.d(n,"add",(function(){return zr})),e.d(n,"addN",(function(){return Ca})),e.d(n,"addStrict",(function(){return bi})),e.d(n,"all",(function(){return yc})),e.d(n,"any",(function(){return wc})),e.d(n,"argMax",(function(){return xc})),e.d(n,"argMin",(function(){return Oc})),e.d(n,"asin",(function(){return Gr})),e.d(n,"asinh",(function(){return Ur})),e.d(n,"atan",(function(){return Wr})),e.d(n,"atan2",(function(){return gi})),e.d(n,"atanh",(function(){return Hr})),e.d(n,"avgPool",(function(){return sc})),e.d(n,"avgPool3d",(function(){return lc})),e.d(n,"backend",(function(){return fe})),e.d(n,"backend_util",(function(){return Ao})),e.d(n,"basicLSTMCell",(function(){return Lc})),e.d(n,"batchNorm",(function(){return Sa})),e.d(n,"batchNorm2d",(function(){return Ra})),e.d(n,"batchNorm3d",(function(){return La})),e.d(n,"batchNorm4d",(function(){return Ua})),e.d(n,"batchNormalization",(function(){return Ta})),e.d(n,"batchNormalization2d",(function(){return Fa})),e.d(n,"batchNormalization3d",(function(){return Pa})),e.d(n,"batchNormalization4d",(function(){return Ga})),e.d(n,"batchToSpaceND",(function(){return er})),e.d(n,"booleanMaskAsync",(function(){return Is})),e.d(n,"broadcastTo",(function(){return Wa})),e.d(n,"browser",(function(){return rh})),e.d(n,"buffer",(function(){return tr})),e.d(n,"cast",(function(){return rr})),e.d(n,"ceil",(function(){return Vr})),e.d(n,"clipByValue",(function(){return Yr})),e.d(n,"clone",(function(){return Ha})),e.d(n,"complex",(function(){return Ne})),e.d(n,"concat",(function(){return Ze})),e.d(n,"concat1d",(function(){return Qe})),e.d(n,"concat2d",(function(){return Ke})),e.d(n,"concat3d",(function(){return Je})),e.d(n,"concat4d",(function(){return _e})),e.d(n,"conv1d",(function(){return Gs})),e.d(n,"conv2d",(function(){return Us})),e.d(n,"conv2dTranspose",(function(){return Qs})),e.d(n,"conv3d",(function(){return Ws})),e.d(n,"conv3dTranspose",(function(){return Ks})),e.d(n,"cos",(function(){return Xr})),e.d(n,"cosh",(function(){return qr})),e.d(n,"cumsum",(function(){return ir})),e.d(n,"customGrad",(function(){return no})),e.d(n,"deprecationWarn",(function(){return Zn})),e.d(n,"depthToSpace",(function(){return or})),e.d(n,"depthwiseConv2d",(function(){return Ys})),e.d(n,"diag",(function(){return Jc})),e.d(n,"disableDeprecationWarnings",(function(){return qn})),e.d(n,"dispose",(function(){return te})),e.d(n,"disposeVariables",(function(){return Qn})),e.d(n,"div",(function(){return Fi})),e.d(n,"divNoNan",(function(){return Ka})),e.d(n,"divStrict",(function(){return yi})),e.d(n,"dot",(function(){return _s})),e.d(n,"dropout",(function(){return _c})),e.d(n,"elu",(function(){return kc})),e.d(n,"enableDebugMode",(function(){return Xn})),e.d(n,"enableProdMode",(function(){return Yn})),e.d(n,"engine",(function(){return Kn})),e.d(n,"env",(function(){return l})),e.d(n,"equal",(function(){return ws})),e.d(n,"equalStrict",(function(){return xs})),e.d(n,"erf",(function(){return Zr})),e.d(n,"exp",(function(){return Qr})),e.d(n,"expandDims",(function(){return ur})),e.d(n,"expm1",(function(){return Kr})),e.d(n,"eye",(function(){return _a})),e.d(n,"fft",(function(){return Vc})),e.d(n,"fill",(function(){return He})),e.d(n,"findBackend",(function(){return ae})),e.d(n,"findBackendFactory",(function(){return se})),e.d(n,"floor",(function(){return Jr})),e.d(n,"floorDiv",(function(){return wi})),e.d(n,"frame",(function(){return rf})),e.d(n,"fused",(function(){return Pf})),e.d(n,"gather",(function(){return Fs})),e.d(n,"gatherND",(function(){return Kc})),e.d(n,"gather_util",(function(){return Ii})),e.d(n,"getBackend",(function(){return oe})),e.d(n,"getGradient",(function(){return m})),e.d(n,"getKernel",(function(){return p})),e.d(n,"getKernelsForBackend",(function(){return b})),e.d(n,"grad",(function(){return Ki})),e.d(n,"grads",(function(){return Ji})),e.d(n,"greater",(function(){return Os})),e.d(n,"greaterEqual",(function(){return Ms})),e.d(n,"greaterEqualStrict",(function(){return js})),e.d(n,"greaterStrict",(function(){return As})),e.d(n,"hammingWindow",(function(){return ef})),e.d(n,"hannWindow",(function(){return nf})),e.d(n,"ifft",(function(){return Yc})),e.d(n,"imag",(function(){return ke})),e.d(n,"image",(function(){return Df})),e.d(n,"inTopKAsync",(function(){return af})),e.d(n,"io",(function(){return $l})),e.d(n,"irfft",(function(){return qc})),e.d(n,"isFinite",(function(){return ci})),e.d(n,"isInf",(function(){return si})),e.d(n,"isNaN",(function(){return ai})),e.d(n,"keep",(function(){return ne})),e.d(n,"leakyRelu",(function(){return Tc})),e.d(n,"less",(function(){return Cs})),e.d(n,"lessEqual",(function(){return Es})),e.d(n,"lessEqualStrict",(function(){return Ns})),e.d(n,"lessStrict",(function(){return Ds})),e.d(n,"linalg",(function(){return Of})),e.d(n,"linspace",(function(){return Ve})),e.d(n,"localResponseNormalization",(function(){return Ic})),e.d(n,"log",(function(){return _r})),e.d(n,"log1p",(function(){return $r})),e.d(n,"logSigmoid",(function(){return ti})),e.d(n,"logSoftmax",(function(){return io})),e.d(n,"logSumExp",(function(){return Mc})),e.d(n,"logicalAnd",(function(){return Va})),e.d(n,"logicalNot",(function(){return Ya})),e.d(n,"logicalOr",(function(){return Xa})),e.d(n,"logicalXor",(function(){return qa})),e.d(n,"losses",(function(){return bf})),e.d(n,"matMul",(function(){return Js})),e.d(n,"math",(function(){return nh})),e.d(n,"max",(function(){return jc})),e.d(n,"maxPool",(function(){return ac})),e.d(n,"maxPool3d",(function(){return fc})),e.d(n,"maxPoolWithArgmax",(function(){return hc})),e.d(n,"maximum",(function(){return xi})),e.d(n,"maximumStrict",(function(){return Oi})),e.d(n,"mean",(function(){return Ac})),e.d(n,"memory",(function(){return Jn})),e.d(n,"min",(function(){return Cc})),e.d(n,"minimum",(function(){return Mi})),e.d(n,"minimumStrict",(function(){return ji})),e.d(n,"mod",(function(){return Ai})),e.d(n,"modStrict",(function(){return Ci})),e.d(n,"moments",(function(){return Ec})),e.d(n,"movingAverage",(function(){return Gc})),e.d(n,"mul",(function(){return Ei})),e.d(n,"mulStrict",(function(){return Ni})),e.d(n,"multiRNNCell",(function(){return Bc})),e.d(n,"multinomial",(function(){return $a})),e.d(n,"neg",(function(){return ni})),e.d(n,"nextFrame",(function(){return xh})),e.d(n,"norm",(function(){return Pc})),e.d(n,"notEqual",(function(){return ks})),e.d(n,"notEqualStrict",(function(){return Ts})),e.d(n,"oneHot",(function(){return ts})),e.d(n,"ones",(function(){return Ue})),e.d(n,"onesLike",(function(){return Xe})),e.d(n,"op",(function(){return Ee})),e.d(n,"outerProduct",(function(){return $s})),e.d(n,"pad",(function(){return ns})),e.d(n,"pad1d",(function(){return es})),e.d(n,"pad2d",(function(){return rs})),e.d(n,"pad3d",(function(){return is})),e.d(n,"pad4d",(function(){return os})),e.d(n,"pool",(function(){return cc})),e.d(n,"pow",(function(){return Di})),e.d(n,"powStrict",(function(){return ki})),e.d(n,"prelu",(function(){return Sc})),e.d(n,"print",(function(){return nr})),e.d(n,"prod",(function(){return Dc})),e.d(n,"profile",(function(){return _n})),e.d(n,"rand",(function(){return us})),e.d(n,"randomGamma",(function(){return vs})),e.d(n,"randomNormal",(function(){return ps})),e.d(n,"randomUniform",(function(){return ms})),e.d(n,"range",(function(){return Ye})),e.d(n,"ready",(function(){return ie})),e.d(n,"real",(function(){return De})),e.d(n,"reciprocal",(function(){return ei})),e.d(n,"registerBackend",(function(){return ce})),e.d(n,"registerGradient",(function(){return y})),e.d(n,"registerKernel",(function(){return g})),e.d(n,"relu",(function(){return zc})),e.d(n,"relu6",(function(){return Fc})),e.d(n,"removeBackend",(function(){return ue})),e.d(n,"reshape",(function(){return ar})),e.d(n,"reverse",(function(){return tc})),e.d(n,"reverse1d",(function(){return nc})),e.d(n,"reverse2d",(function(){return ec})),e.d(n,"reverse3d",(function(){return rc})),e.d(n,"reverse4d",(function(){return ic})),e.d(n,"rfft",(function(){return Xc})),e.d(n,"round",(function(){return ri})),e.d(n,"rsqrt",(function(){return ii})),e.d(n,"scalar",(function(){return ze})),e.d(n,"scatterND",(function(){return Hc})),e.d(n,"scatter_util",(function(){return Ui})),e.d(n,"selu",(function(){return Rc})),e.d(n,"separableConv2d",(function(){return Zs})),e.d(n,"serialization",(function(){return ah})),e.d(n,"setBackend",(function(){return re})),e.d(n,"setPlatform",(function(){return le})),e.d(n,"setdiff1dAsync",(function(){return hr})),e.d(n,"sigmoid",(function(){return oi})),e.d(n,"sign",(function(){return ui})),e.d(n,"signal",(function(){return uf})),e.d(n,"sin",(function(){return fi})),e.d(n,"sinh",(function(){return li})),e.d(n,"slice",(function(){return dc})),e.d(n,"slice1d",(function(){return vc})),e.d(n,"slice2d",(function(){return pc})),e.d(n,"slice3d",(function(){return mc})),e.d(n,"slice4d",(function(){return bc})),e.d(n,"slice_util",(function(){return Qi})),e.d(n,"softmax",(function(){return ro})),e.d(n,"softplus",(function(){return hi})),e.d(n,"spaceToBatchND",(function(){return sr})),e.d(n,"sparseToDense",(function(){return Qc})),e.d(n,"spectral",(function(){return Zc})),e.d(n,"split",(function(){return $e})),e.d(n,"sqrt",(function(){return di})),e.d(n,"square",(function(){return bs})),e.d(n,"squaredDifference",(function(){return gs})),e.d(n,"squaredDifferenceStrict",(function(){return Ti})),e.d(n,"squeeze",(function(){return cr})),e.d(n,"stack",(function(){return fr})),e.d(n,"step",(function(){return vi})),e.d(n,"stft",(function(){return of})),e.d(n,"stridedSlice",(function(){return Uc})),e.d(n,"sub",(function(){return Si})),e.d(n,"subStrict",(function(){return zi})),e.d(n,"sum",(function(){return Nc})),e.d(n,"sumOutType",(function(){return Tt})),e.d(n,"tan",(function(){return pi})),e.d(n,"tanh",(function(){return mi})),e.d(n,"tensor",(function(){return Te})),e.d(n,"tensor1d",(function(){return Fe})),e.d(n,"tensor2d",(function(){return Re})),e.d(n,"tensor3d",(function(){return Ie})),e.d(n,"tensor4d",(function(){return Pe})),e.d(n,"tensor5d",(function(){return Le})),e.d(n,"tensor6d",(function(){return Be})),e.d(n,"tensor_util",(function(){return It})),e.d(n,"test_util",(function(){return fs})),e.d(n,"tidy",(function(){return $n})),e.d(n,"tile",(function(){return Ja})),e.d(n,"time",(function(){return ee})),e.d(n,"topk",(function(){return Wc})),e.d(n,"train",(function(){return yh})),e.d(n,"transpose",(function(){return oo})),e.d(n,"truncatedNormal",(function(){return ys})),e.d(n,"unregisterGradient",(function(){return x})),e.d(n,"unregisterKernel",(function(){return w})),e.d(n,"unsortedSegmentSum",(function(){return Rs})),e.d(n,"unstack",(function(){return lr})),e.d(n,"util",(function(){return ht})),e.d(n,"valueAndGrad",(function(){return _i})),e.d(n,"valueAndGrads",(function(){return $i})),e.d(n,"variable",(function(){return Ge})),e.d(n,"variableGrads",(function(){return to})),e.d(n,"version_core",(function(){return sh})),e.d(n,"webgl",(function(){return ch})),e.d(n,"where",(function(){return Za})),e.d(n,"whereAsync",(function(){return Qa})),e.d(n,"zeros",(function(){return We})),e.d(n,"zerosLike",(function(){return qe}));
2
2
  /**
3
3
  * @license
4
4
  * Copyright 2020 Google LLC. All Rights Reserved.
@@ -1 +1 @@
1
- import{p as e,b as i}from"./p-06e42b28.js";export{s as setNonce}from"./p-06e42b28.js";(()=>{const i=import.meta.url,t={};return""!==i&&(t.resourcesUrl=new URL(".",i).href),e(t)})().then((e=>i([["p-4c8e922b",[[1,"loader-dots"]]],["p-c060dec7",[[1,"identification-component",{token:[1537],order_id:[1537],api_url:[1537],env:[1537],redirect_id:[1537],otp_phone_number:[1537],idSide:[32],errorMessage:[32],errorTitle:[32]},[[0,"agreementAcceptance","agreementAcceptanceEmitted"],[0,"apiError","apiErrorEmitter"]]],[0,"id-double-side",{device:[16],showTimeout:[32],showInvalid:[32],showHowTo:[32],front:[32],flow:[32]},[[0,"howToInfoDone","howToDone"],[0,"timeElapsed","timeElapsed"],[0,"captureErrorDone","captureErrorDone"],[0,"photoIdCapture","captureIdImage"],[0,"photoIdBackCapture","captureIdBackImage"],[0,"recordingIdCapture","capturedIdRecording"],[0,"verificationFinished","verificationFinished"]]],[0,"id-single-side",{device:[16],showTimeout:[32],showHowTo:[32],idFlow:[32]},[[0,"captureErrorDone","captureErrorDone"],[0,"howToInfoDone","howToDone"],[0,"timeElapsed","timeElapsed"],[0,"photoIdCapture","captureIdImage"],[0,"verificationFinished","verificationFinished"],[0,"recordingIdCapture","capturedIdRecording"]]],[0,"user-liveness",{device:[16],showError:[32],showHowTo:[32],selfieFlow:[32]},[[0,"howToInfoDone","howToDone"],[0,"timeElapsed","timeElapsed"],[0,"captureErrorDone","captureErrorDone"],[0,"photoSelfieCapture","captureSelfieImage"],[0,"recordingSelfieCapture","capturedSelfieRecording"],[0,"verificationFinished","verificationFinished"]]],[0,"agreement-info",{agreementsChecked:[32],termsChecked:[32],openAgreements:[32],openTerms:[32]},[[0,"agreementAcceptance","agreementAcceptanceEmitted"]]],[0,"end-redirect"],[0,"error-end",{message:[1],errorTitle:[1,"error-title"]}],[0,"landing-validation",{device:[16],warningText:[32]}],[0,"mobile-redirect",{infoTextTop:[32],infoTextBottom:[32],contact:[32],invalidValue:[32],waitingMobile:[32],orderStatus:[32],redirectLink:[32],qrCode:[32],prefilledPhone:[32]}],[0,"sms-code-validation",{title:[32],details:[32],buttonText:[32],phoneNumber:[32],code:[32],prefilledPhone:[32],canSend:[32]}],[0,"id-back-capture",{device:[16],videoStarted:[32],cameraSize:[32],captureTaken:[32],verified:[32],titleMesage:[32],showDemo:[32],demoVideo:[32]},[[0,"changeTitle","eventChangeTitle"],[0,"videoStarted","eventVideoStarted"],[0,"verificationFinished","verificationFinished"],[0,"takePhoto","takePhoto"]]],[0,"selfie-capture",{device:[16],videoStarted:[32],captureTaken:[32],verified:[32],titleMesage:[32],demoEnded:[32],demoVideo:[32],uploadingLink:[32],captureHeight:[32],captureWidth:[32]},[[0,"changeTitle","eventChangeTitle"],[0,"videoStarted","eventVideoStarted"],[0,"takePhoto","takePhoto"],[0,"verificationFinished","verificationFinished"]]],[0,"agreement-check",{agreementType:[1,"agreement-type"],htmlContent:[32]}],[0,"id-capture",{device:[16],videoStarted:[32],cameraSize:[32],captureTaken:[32],verified:[32],titleMesage:[32],showDemo:[32],demoVideo:[32]},[[0,"changeTitle","eventChangeTitle"],[0,"videoStarted","eventVideoStarted"],[0,"takePhoto","takePhoto"],[0,"verificationFinished","verificationFinished"]]],[0,"capture-error",{type:[1]}],[0,"how-to-info",{idSide:[1,"id-side"],topTitle:[32],subTitle:[32],imagePath:[32],buttonText:[32]}],[0,"camera-comp",{modelPath:[1,"model-path"],device:[16],probabilityThreshold:[2,"probability-threshold"],captureMode:[1,"capture-mode"]}]]]],e)));
1
+ import{p as e,b as i}from"./p-06e42b28.js";export{s as setNonce}from"./p-06e42b28.js";(()=>{const i=import.meta.url,t={};return""!==i&&(t.resourcesUrl=new URL(".",i).href),e(t)})().then((e=>i([["p-4c8e922b",[[1,"loader-dots"]]],["p-319d9efd",[[1,"identification-component",{token:[1537],order_id:[1537],api_url:[1537],env:[1537],redirect_id:[1537],otp_phone_number:[1537],idSide:[32],errorMessage:[32],errorTitle:[32]},[[0,"agreementAcceptance","agreementAcceptanceEmitted"],[0,"apiError","apiErrorEmitter"]]],[0,"id-double-side",{device:[16],showTimeout:[32],showInvalid:[32],showHowTo:[32],front:[32],flow:[32]},[[0,"howToInfoDone","howToDone"],[0,"timeElapsed","timeElapsed"],[0,"captureErrorDone","captureErrorDone"],[0,"photoIdCapture","captureIdImage"],[0,"photoIdBackCapture","captureIdBackImage"],[0,"recordingIdCapture","capturedIdRecording"],[0,"verificationFinished","verificationFinished"]]],[0,"id-single-side",{device:[16],showTimeout:[32],showHowTo:[32],idFlow:[32]},[[0,"captureErrorDone","captureErrorDone"],[0,"howToInfoDone","howToDone"],[0,"timeElapsed","timeElapsed"],[0,"photoIdCapture","captureIdImage"],[0,"verificationFinished","verificationFinished"],[0,"recordingIdCapture","capturedIdRecording"]]],[0,"user-liveness",{device:[16],showError:[32],showHowTo:[32],selfieFlow:[32]},[[0,"howToInfoDone","howToDone"],[0,"timeElapsed","timeElapsed"],[0,"captureErrorDone","captureErrorDone"],[0,"photoSelfieCapture","captureSelfieImage"],[0,"recordingSelfieCapture","capturedSelfieRecording"],[0,"verificationFinished","verificationFinished"]]],[0,"agreement-info",{agreementsChecked:[32],termsChecked:[32],openAgreements:[32],openTerms:[32]},[[0,"agreementAcceptance","agreementAcceptanceEmitted"]]],[0,"end-redirect"],[0,"error-end",{message:[1],errorTitle:[1,"error-title"]}],[0,"landing-validation",{device:[16],warningText:[32]}],[0,"mobile-redirect",{infoTextTop:[32],infoTextBottom:[32],contact:[32],invalidValue:[32],waitingMobile:[32],orderStatus:[32],redirectLink:[32],qrCode:[32],prefilledPhone:[32]}],[0,"sms-code-validation",{title:[32],details:[32],buttonText:[32],phoneNumber:[32],code:[32],prefilledPhone:[32],canSend:[32]}],[0,"id-back-capture",{device:[16],videoStarted:[32],cameraSize:[32],captureTaken:[32],verified:[32],titleMesage:[32],showDemo:[32],demoVideo:[32]},[[0,"changeTitle","eventChangeTitle"],[0,"videoStarted","eventVideoStarted"],[0,"verificationFinished","verificationFinished"],[0,"takePhoto","takePhoto"]]],[0,"selfie-capture",{device:[16],videoStarted:[32],captureTaken:[32],verified:[32],titleMesage:[32],demoEnded:[32],demoVideo:[32],uploadingLink:[32],captureHeight:[32],captureWidth:[32]},[[0,"changeTitle","eventChangeTitle"],[0,"videoStarted","eventVideoStarted"],[0,"takePhoto","takePhoto"],[0,"verificationFinished","verificationFinished"]]],[0,"agreement-check",{agreementType:[1,"agreement-type"],htmlContent:[32]}],[0,"id-capture",{device:[16],videoStarted:[32],cameraSize:[32],captureTaken:[32],verified:[32],titleMesage:[32],showDemo:[32],demoVideo:[32]},[[0,"changeTitle","eventChangeTitle"],[0,"videoStarted","eventVideoStarted"],[0,"takePhoto","takePhoto"],[0,"verificationFinished","verificationFinished"]]],[0,"capture-error",{type:[1]}],[0,"how-to-info",{idSide:[1,"id-side"],topTitle:[32],subTitle:[32],imagePath:[32],buttonText:[32]}],[0,"camera-comp",{modelPath:[1,"model-path"],device:[16],probabilityThreshold:[2,"probability-threshold"],captureMode:[1,"capture-mode"]}]]]],e)));
@@ -3,4 +3,5 @@ export interface AddRequest {
3
3
  hasIdBack: boolean;
4
4
  agreementsValidation: boolean;
5
5
  phoneValidation: boolean;
6
+ phoneNumber: string;
6
7
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@ekyc_qoobiss/qbs-ect-cmp",
3
- "version": "1.2.4",
3
+ "version": "1.2.5",
4
4
  "description": "Person Identification Component",
5
5
  "main": "./dist/index.cjs.js",
6
6
  "module": "./dist/index.js",