@ekyc_qoobiss/qbs-ect-cmp 3.6.16 → 3.6.17
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.
- package/dist/cjs/agreement-check_19.cjs.entry.js +14 -6
- package/dist/cjs/{index-79f82518.js → index-41696e0e.js} +6 -1
- package/dist/cjs/loader-dots.cjs.entry.js +1 -1
- package/dist/cjs/loader.cjs.js +2 -2
- package/dist/cjs/qbs-ect-cmp.cjs.js +2 -2
- package/dist/cjs/random-actions.cjs.entry.js +2 -2
- package/dist/cjs/{store-ab631a7a.js → store-4bf93725.js} +1 -1
- package/dist/collection/components/common/agreement-check/agreement-check.js +21 -2
- package/dist/collection/components/flow/user-liveness/user-liveness.js +0 -1
- package/dist/collection/components/identification-component/identification-component.css +7 -0
- package/dist/esm/agreement-check_19.entry.js +14 -6
- package/dist/esm/{index-5d6f9123.js → index-cf54a432.js} +6 -1
- package/dist/esm/loader-dots.entry.js +1 -1
- package/dist/esm/loader.js +3 -3
- package/dist/esm/qbs-ect-cmp.js +3 -3
- package/dist/esm/random-actions.entry.js +2 -2
- package/dist/esm/{store-b5192087.js → store-b76678da.js} +1 -1
- package/dist/qbs-ect-cmp/{p-7c33dd41.entry.js → p-054dc5b3.entry.js} +1 -1
- package/dist/qbs-ect-cmp/{p-927cd530.entry.js → p-0a37620f.entry.js} +1 -1
- package/dist/qbs-ect-cmp/{p-a6506178.js → p-27abb3e6.js} +1 -1
- package/dist/qbs-ect-cmp/p-8942656c.js +2 -0
- package/dist/qbs-ect-cmp/{p-094ad8f3.entry.js → p-b828c183.entry.js} +2 -2
- package/dist/qbs-ect-cmp/qbs-ect-cmp.esm.js +1 -1
- package/dist/types/components/common/agreement-check/agreement-check.d.ts +2 -0
- package/package.json +1 -1
- package/dist/qbs-ect-cmp/p-aacd7024.js +0 -2
package/dist/esm/qbs-ect-cmp.js
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { p as promiseResolve, b as bootstrapLazy } from './index-
|
|
2
|
-
export { s as setNonce } from './index-
|
|
1
|
+
import { p as promiseResolve, b as bootstrapLazy } from './index-cf54a432.js';
|
|
2
|
+
export { s as setNonce } from './index-cf54a432.js';
|
|
3
3
|
|
|
4
4
|
/*
|
|
5
5
|
Stencil Client Patch Browser v2.22.3 | MIT Licensed | https://stenciljs.com
|
|
@@ -14,5 +14,5 @@ const patchBrowser = () => {
|
|
|
14
14
|
};
|
|
15
15
|
|
|
16
16
|
patchBrowser().then(options => {
|
|
17
|
-
return bootstrapLazy([["loader-dots",[[1,"loader-dots"]]],["random-actions",[[0,"random-actions"]]],["agreement-check_19",[[1,"identification-component",{"token":[1537],"order_id":[1537],"api_url":[1537],"env":[1537],"redirect_id":[1537],"phone_number":[1537],"idSide":[32],"errorMessage":[32],"errorTitle":[32]},[[0,"agreementAcceptance","agreementAcceptanceEmitted"],[0,"apiError","apiErrorEmitter"]]],[0,"process-id",{"captureStep":[32],"showTimeout":[32],"showInvalid":[32],"flow":[32]},[[0,"howToInfoDone","howToDone"],[0,"timeElapsed","timeElapsed"],[0,"captureErrorDone","captureErrorDone"],[0,"photoIdCapture","captureIdImage"],[0,"photoIdBackCapture","captureIdBackImage"],[0,"recordingIdCapture","capturedIdRecording"]]],[0,"user-liveness",{"showError":[32],"captureStep":[32],"flow":[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,"camera-error",{"title":[32],"description":[32],"buttonDisabled":[32],"demoVideo":[32]}],[0,"end-redirect"],[0,"error-end",{"message":[1],"errorTitle":[1,"error-title"]}],[0,"landing-validation",{"warningText":[32],"buttonDisabled":[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",{"videoStarted":[32],"cameraSize":[32],"captureTaken":[32],"verified":[32],"titleMesage":[32],"showDemo":[32],"demoVideo":[32]},[[0,"videoStarted","eventVideoStarted"],[0,"verificationFinished","verificationFinished"],[0,"takePhoto","takePhoto"]]],[0,"id-capture",{"videoStarted":[32],"cameraSize":[32],"captureTaken":[32],"verified":[32],"titleMesage":[32],"showDemo":[32],"demoVideo":[32]},[[0,"videoStarted","eventVideoStarted"],[0,"takePhoto","takePhoto"],[0,"verificationFinished","verificationFinished"]]],[0,"id-tilt",{"videoStarted":[32],"cameraSize":[32],"captureTaken":[32],"verified":[32],"titleMesage":[32],"showDemo":[32],"demoVideo":[32]},[[0,"videoStarted","eventVideoStarted"],[0,"takePhoto","takePhoto"],[0,"verificationFinished","verificationFinished"]]],[0,"selfie-capture",{"videoStarted":[32],"captureTaken":[32],"verified":[32],"titleMesage":[32],"demoEnded":[32],"demoVideo":[32],"uploadingLink":[32],"captureHeight":[32],"captureWidth":[32]},[[0,"videoStarted","eventVideoStarted"],[0,"takePhoto","takePhoto"],[0,"verificationFinished","verificationFinished"]]],[0,"selfie-tilt",{"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],"buttonEnabled":[32]}],[0,"capture-error",{"type":[1],"buttonEnabled":[32],"buttonText":[32]}],[0,"how-to-info",{"idSide":[1,"id-side"],"topTitle":[32],"subTitle":[32],"imagePath":[32],"buttonText":[32],"buttonEnabled":[32]}],[0,"camera-comp",{"modelPath":[1,"model-path"],"probabilityThreshold":[2,"probability-threshold"],"captureMode":[1,"capture-mode"]}]]]], options);
|
|
17
|
+
return bootstrapLazy([["loader-dots",[[1,"loader-dots"]]],["random-actions",[[0,"random-actions"]]],["agreement-check_19",[[1,"identification-component",{"token":[1537],"order_id":[1537],"api_url":[1537],"env":[1537],"redirect_id":[1537],"phone_number":[1537],"idSide":[32],"errorMessage":[32],"errorTitle":[32]},[[0,"agreementAcceptance","agreementAcceptanceEmitted"],[0,"apiError","apiErrorEmitter"]]],[0,"process-id",{"captureStep":[32],"showTimeout":[32],"showInvalid":[32],"flow":[32]},[[0,"howToInfoDone","howToDone"],[0,"timeElapsed","timeElapsed"],[0,"captureErrorDone","captureErrorDone"],[0,"photoIdCapture","captureIdImage"],[0,"photoIdBackCapture","captureIdBackImage"],[0,"recordingIdCapture","capturedIdRecording"]]],[0,"user-liveness",{"showError":[32],"captureStep":[32],"flow":[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,"camera-error",{"title":[32],"description":[32],"buttonDisabled":[32],"demoVideo":[32]}],[0,"end-redirect"],[0,"error-end",{"message":[1],"errorTitle":[1,"error-title"]}],[0,"landing-validation",{"warningText":[32],"buttonDisabled":[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",{"videoStarted":[32],"cameraSize":[32],"captureTaken":[32],"verified":[32],"titleMesage":[32],"showDemo":[32],"demoVideo":[32]},[[0,"videoStarted","eventVideoStarted"],[0,"verificationFinished","verificationFinished"],[0,"takePhoto","takePhoto"]]],[0,"id-capture",{"videoStarted":[32],"cameraSize":[32],"captureTaken":[32],"verified":[32],"titleMesage":[32],"showDemo":[32],"demoVideo":[32]},[[0,"videoStarted","eventVideoStarted"],[0,"takePhoto","takePhoto"],[0,"verificationFinished","verificationFinished"]]],[0,"id-tilt",{"videoStarted":[32],"cameraSize":[32],"captureTaken":[32],"verified":[32],"titleMesage":[32],"showDemo":[32],"demoVideo":[32]},[[0,"videoStarted","eventVideoStarted"],[0,"takePhoto","takePhoto"],[0,"verificationFinished","verificationFinished"]]],[0,"selfie-capture",{"videoStarted":[32],"captureTaken":[32],"verified":[32],"titleMesage":[32],"demoEnded":[32],"demoVideo":[32],"uploadingLink":[32],"captureHeight":[32],"captureWidth":[32]},[[0,"videoStarted","eventVideoStarted"],[0,"takePhoto","takePhoto"],[0,"verificationFinished","verificationFinished"]]],[0,"selfie-tilt",{"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],"buttonEnabled":[32],"scrollClass":[32]},[[9,"scroll","handleScroll"]]],[0,"capture-error",{"type":[1],"buttonEnabled":[32],"buttonText":[32]}],[0,"how-to-info",{"idSide":[1,"id-side"],"topTitle":[32],"subTitle":[32],"imagePath":[32],"buttonText":[32],"buttonEnabled":[32]}],[0,"camera-comp",{"modelPath":[1,"model-path"],"probabilityThreshold":[2,"probability-threshold"],"captureMode":[1,"capture-mode"]}]]]], options);
|
|
18
18
|
});
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { r as registerInstance, h } from './index-
|
|
2
|
-
import { H as HowToValues } from './store-
|
|
1
|
+
import { r as registerInstance, h } from './index-cf54a432.js';
|
|
2
|
+
import { H as HowToValues } from './store-b76678da.js';
|
|
3
3
|
|
|
4
4
|
const randomActionsCss = "";
|
|
5
5
|
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{r as i,h as a}from"./p-
|
|
1
|
+
import{r as i,h as a}from"./p-8942656c.js";const e=class{constructor(a){i(this,a)}render(){return a("i",null)}};e.style="i,i::before,i::after{animation-duration:0.5s;animation-timing-function:ease-in-out;animation-iteration-count:infinite}body{font-family:sans-serif}i{width:300px;height:75px;margin:auto;display:block;background:no-repeat;background-image:radial-gradient(closest-side, #1FEAA6 90%, rgba(0, 0, 0, 0)), radial-gradient(closest-side, #1FEAA6 90%, rgba(0, 0, 0, 0));background-size:75px 75px;background-position:0%, 50%;position:relative;transform:translateZ(0) scale(0.25);animation-name:slide}i::before,i::after{content:'';width:75px;height:75px;background:radial-gradient(closest-side, #1FEAA6 90%, rgba(0, 0, 0, 0));position:absolute;top:50%;margin-top:-37.5px;animation-name:reveal}i::before{left:1%;animation-delay:40ms}i::after{right:1%;animation-direction:reverse}@keyframes slide{from{background-position:0%, 50%}to{background-position:50%, 100%}}@keyframes reveal{from{transform:scale(0.001)}to{transform:scale(1)}}";export{e as loader_dots}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{r as t,h as s}from"./p-
|
|
1
|
+
import{r as t,h as s}from"./p-8942656c.js";import{H as o}from"./p-27abb3e6.js";const i=class{constructor(s){t(this,s)}componentWillLoad(){}buttonClick(){}render(){return s("div",{class:"container"},s("div",{class:"row"},s("div",{class:"text-center"},s("h1",null,this.topTitle)),s("div",{class:"pos-relative show-bottom"},s("div",{class:"btn-buletin"},s("button",{class:"main-button",onClick:()=>this.buttonClick()},this.buttonText),s("p",{class:"main-text font-size-18 text-right mb-0"},o.FooterText)))))}};i.style="";export{i as random_actions}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{a as e,f as t}from"./p-
|
|
1
|
+
import{a as e,f as t}from"./p-8942656c.js";const a=e=>!("isConnected"in e)||e.isConnected,i=(()=>{let e;return(...t)=>{e&&clearTimeout(e),e=setTimeout((()=>{e=0,(e=>{for(let t of e.keys())e.set(t,e.get(t).filter(a))})(...t)}),2e3)}})(),n=e=>"function"==typeof e?e():e;var s;!function(e){e[e.LANDING=0]="LANDING",e[e.AGREEMENT=1]="AGREEMENT",e[e.PHONE=2]="PHONE",e[e.CODE=3]="CODE",e[e.CODEERROR=4]="CODEERROR",e[e.ID=5]="ID",e[e.LIVENESS=6]="LIVENESS",e[e.COMPLETE=7]="COMPLETE",e[e.ERROREND=8]="ERROREND",e[e.CAMERAERROR=9]="CAMERAERROR",e[e.NONE=10]="NONE"}(s||(s={}));class r{}r.FooterText="Qoobiss eKYC",r.VideoLenght=3100;class c extends r{}c.IdTitile="Prezintă actul tău de identitate",c.IdSubTitileFace="Este necesară captarea actului de identitate. Urmează intrucțiunile ce vor fi afișate pe ecran.",c.IdSubTitileBack="Este necesară captarea pe verso a actului de identitate. Urmează intrucțiunile ce vor fi afișate pe ecran.",c.IdButton="Sunt gata!",c.SelfieTitile="Validare video",c.SelfieSubTitile="Este necesară realizarea unei înregistrări video. Respectă intrucțiunile ce vor fi afișate pe ecran.",c.SelfieButton="Sunt gata!";class o extends r{}o.Title="Validarea identității la distanță este o procedură simplă și rapidă",o.Description="Asigură-te că ai:",o.IdInfo="Actul de identitate, în original",o.DeviceInfo="Un telefon mobil sau un calculator cu camera web",o.SmsInfo="Acces la un telefon mobil ce permite primirea de mesaje SMS",o.Warning="ATENȚIE! În cadrul acestui proces se poate utiliza doar cartea de identitate Românească.",o.WarningMd="ATENȚIE! In cadrul acestui proces se pot utiliza doar buletinele de identitate din Republica Moldova.",o.Terms="Prin continuarea procesului, confirmi că ai citit termenii de utilizare și ești de acord cu aceștia.",o.Button="Am înțeles",o.ButtonLeave="Nu sunt pregătit";class d extends r{}d.Title="Este necesar să validăm numărul tău de telefon",d.Description="Introdu mai jos numarul tau de telefon:",d.Button="Trimite SMS de verificare",d.Label="Numarul tau de telefon";class l extends r{}l.Title="Introdu codul de validare primit prin sms:",l.Description=" ",l.Button="Validează",l.Error="Codul introdus nu este valid. Asigură-te că îl introduci corect";class u extends r{}u.Title="Procesul a fost finalizat.",u.Description="Vei fi redirecționat în câteva momente.",u.Message="Îți mulțumim!";class p{}p.FlowStatusKey="qbs-ect-flowstatus",p.RequestIdKey="qbs-ect-requestid",p.TokenKey="qbs-ect-token",p.InitialisedKey="qbs-ect-initialised",p.HasIdBackKey="qbs-ect-has-id-back",p.AgreementValidationKey="qbs-ect-agreement-validation",p.PhoneValidationKey="qbs-ect-phone-validation",p.RefreshDoneKey="qbs-ect-refresh-done";class m extends r{}m.Button="Încerc din nou",m.Title="Încadrează actul de identitate în chenarul de pe ecran.",m.TitleBack="Încadrează spatele actului de identitate în chenarul de pe ecran.",m.TtileRotate="Întoarce actul de identitate.",m.ErrorTitleR1="Nu am putut colecta informațiile din actul de identitate!",m.ErrorTitleR2="Te rugăm să mai încerci o dată!",m.ErrorR1="Încadrează actul de identitate în așa fel încât chenarul să se potrivească perfect pe colțurile actului de identitate. Trebuie să fie vizibilă întreaga suprafață a actului de identitate. ",m.ErrorR2="Ai grijă să te afli într-o zonă cu suficientă lumină și să nu acoperi părți ale actului de identitate cu degetele. Ai grijă de asemenea să nu se formeze reflexii de lumină pe suprafața acestuia.",m.IDPoseMapping={0:"",1:"Înclină actul de identitate spre spate.",2:"",3:"",4:""},m.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"},m.Loading="Transferăm datele. Asteptați...";class f extends r{}f.Title="Încadrează fața în chenarul de pe ecran.",f.FinalTitle="Îndreaptă capul și încadrează fața în chenarul de pe ecran.",f.ErrorTitleR1="Procesul a eșuat!",f.ErrorTitleR2="Te rugăm să mai încerci o dată!",f.ErrorR1="Încadrează fața în așa fel încât chenarul să se suprapună peste linia bărbiei și a frunții, exact așa cum vezi în animația de pe ecran. ",f.ErrorR2="Rămâi cu fața încadrată în chenar și execută gestul solicitat după ce animația cu explicația a dispărut de pe ecran.",f.Loading="Transferăm datele. Asteptați...",f.FacePoseMapping={0:"Întoarce capul spre stânga.",1:"Întoarce capul spre dreapta.",2:"Înclină capul spre spate.",3:"Înclină capul în față.",4:""},f.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 b extends r{}b.Title="Pentru începerea identificării avem nevoie de acordurile tale:",b.Button="Încep identificarea",b.Terms="Am luat la cunoștință și sunt de acord cu Termenii și condițiile generale de utilizare",b.Agreement="Îmi exprim acordul pentru prelucrarea datelor cu caracter personal";class h extends r{}h.ButtonYes="Sunt de acord",h.ButtonNo="Nu sunt de acord";class g{constructor(){this.uriEnv="/",this.uriEnv="QA"==S.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",this.AddStep=this.uriEnv+"validation/logs/step",this.AbortRequest=this.uriEnv+"validation/identity/abort"}}class w extends r{}w.InfoTop="Pentru a continua scanați codul de mai jos cu un smartphone.",w.InfoBottom="Sau introduceți un număr de telefon pentru a primi link-ul pe smartphone.",w.Validation="Număr de telefon invalid!",w.InfoWaiting="Așteptăm finalizarea procesului pe smartphone.",w.InfoAborted="Procesului de pe smartphone a fost amanat.";class v extends r{}v.Title="Procesul de indetificare nu poate continua.",v.Description="Nu am putut detecta nicio camera. Cel mai probabil nu ai acordat drept de acces acestui site, Te rugam sa dai acces si sa apesi butonul de mai jos dupa aceea.",v.Button="Reincep procesul",v.HowToLink="https://ekyc.blob.core.windows.net/$web/animations/enable_permissions_sm.mp4";const{state:S,onChange:k}=(()=>{const a=((e,t=((e,t)=>e!==t))=>{const a=n(e);let i=new Map(Object.entries(null!=a?a:{}));const s={dispose:[],get:[],set:[],reset:[]},r=()=>{var t;i=new Map(Object.entries(null!==(t=n(e))&&void 0!==t?t:{})),s.reset.forEach((e=>e()))},c=e=>(s.get.forEach((t=>t(e))),i.get(e)),o=(e,a)=>{const n=i.get(e);t(a,n,e)&&(i.set(e,a),s.set.forEach((t=>t(e,a,n))))},d="undefined"==typeof Proxy?{}:new Proxy(a,{get:(e,t)=>c(t),ownKeys:()=>Array.from(i.keys()),getOwnPropertyDescriptor:()=>({enumerable:!0,configurable:!0}),has:(e,t)=>i.has(t),set:(e,t,a)=>(o(t,a),!0)}),l=(e,t)=>(s[e].push(t),()=>{((e,t)=>{const a=e.indexOf(t);a>=0&&(e[a]=e[e.length-1],e.length--)})(s[e],t)});return{state:d,get:c,set:o,on:l,onChange:(t,a)=>{const i=l("set",((e,i)=>{e===t&&a(i)})),s=l("reset",(()=>a(n(e)[t])));return()=>{i(),s()}},use:(...e)=>{const t=e.reduce(((e,t)=>(t.set&&e.push(l("set",t.set)),t.get&&e.push(l("get",t.get)),t.reset&&e.push(l("reset",t.reset)),t.dispose&&e.push(l("dispose",t.dispose)),e)),[]);return()=>t.forEach((e=>e()))},dispose:()=>{s.dispose.forEach((e=>e())),r()},reset:r,forceUpdate:e=>{const t=i.get(e);s.set.forEach((a=>a(e,t,t)))}}})({flowStatus:s.NONE,environment:"PROD",debug:!1,requestId:"",redirectId:"",initialised:!1,token:"",cameraIds:[],cameraId:"",hasIdBack:!1,hasSelfieGesture:!1,hasIdTilt:!1,agreementsValidation:!0,phoneValidation:!0,phoneNumber:"",apiBaseUrl:"https://apiro.id-kyc.com",device:null,recordingRetryCount:0},void 0);return a.use((()=>{if("function"!=typeof e)return{};const a=new Map;return{dispose:()=>a.clear(),get:t=>{const i=e();i&&((e,t,a)=>{const i=e.get(t);i?i.includes(a)||i.push(a):e.set(t,[a])})(a,t,i)},set:e=>{const n=a.get(e);n&&a.set(e,n.filter(t)),i(a)},reset:()=>{a.forEach((e=>e.forEach(t))),i(a)}}})()),a})();k("environment",(e=>{S.debug="QA"==e})),k("flowStatus",(e=>{sessionStorage.setItem(p.FlowStatusKey,s[e])})),k("token",(e=>{sessionStorage.setItem(p.TokenKey,e)})),k("requestId",(e=>{sessionStorage.setItem(p.RequestIdKey,e)})),k("initialised",(e=>{sessionStorage.setItem(p.InitialisedKey,String(e))})),k("hasIdBack",(e=>{sessionStorage.setItem(p.HasIdBackKey,String(e))})),k("agreementsValidation",(e=>{sessionStorage.setItem(p.AgreementValidationKey,String(e))})),k("phoneValidation",(e=>{sessionStorage.setItem(p.PhoneValidationKey,String(e))}));export{g as A,v as C,s as F,r as G,c as H,m as I,o as L,w as M,d as P,p as S,h as a,b,f as c,u as d,l as e,S as s}
|
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
let n,e,t=null,l=!1;const o={},s=n=>"object"==(n=typeof n)||"function"===n;function c(n){var e,t,l;return null!==(l=null===(t=null===(e=n.head)||void 0===e?void 0:e.querySelector('meta[name="csp-nonce"]'))||void 0===t?void 0:t.getAttribute("content"))&&void 0!==l?l:void 0}const i=(n,e,...t)=>{let l=null,o=!1,c=!1;const i=[],u=e=>{for(let t=0;t<e.length;t++)l=e[t],Array.isArray(l)?u(l):null!=l&&"boolean"!=typeof l&&((o="function"!=typeof n&&!s(l))&&(l+=""),o&&c?i[i.length-1].t+=l:i.push(o?r(null,l):l),c=o)};if(u(t),e){const n=e.className||e.class;n&&(e.class="object"!=typeof n?n:Object.keys(n).filter((e=>n[e])).join(" "))}const a=r(n,null);return a.l=e,i.length>0&&(a.o=i),a},r=(n,e)=>({i:0,u:n,t:e,m:null,o:null,l:null}),u={},a=n=>B(n).p,f=(n,e,t)=>{const l=a(n);return{emit:n=>d(l,e,{bubbles:!!(4&t),composed:!!(2&t),cancelable:!!(1&t),detail:n})}},d=(n,e,t)=>{const l=en.ce(e,t);return n.dispatchEvent(l),l},m=new WeakMap,p=n=>"sc-"+n.h,h=(n,e,t,l,o,c)=>{if(t!==l){let i=J(n,e),r=e.toLowerCase();if("class"===e){const e=n.classList,o=$(t),s=$(l);e.remove(...o.filter((n=>n&&!s.includes(n)))),e.add(...s.filter((n=>n&&!o.includes(n))))}else if("style"===e){for(const e in t)l&&null!=l[e]||(e.includes("-")?n.style.removeProperty(e):n.style[e]="");for(const e in l)t&&l[e]===t[e]||(e.includes("-")?n.style.setProperty(e,l[e]):n.style[e]=l[e])}else if("ref"===e)l&&l(n);else if(i||"o"!==e[0]||"n"!==e[1]){const r=s(l);if((i||r&&null!==l)&&!o)try{if(n.tagName.includes("-"))n[e]=l;else{const o=null==l?"":l;"list"===e?i=!1:null!=t&&n[e]==o||(n[e]=o)}}catch(n){}null==l||!1===l?!1===l&&""!==n.getAttribute(e)||n.removeAttribute(e):(!i||4&c||o)&&!r&&n.setAttribute(e,l=!0===l?"":l)}else e="-"===e[2]?e.slice(3):J(Z,r)?r.slice(2):r[2]+e.slice(3),t&&en.rel(n,e,t,!1),l&&en.ael(n,e,l,!1)}},y=/\s/,$=n=>n?n.split(y):[],b=(n,e,t,l)=>{const s=11===e.m.nodeType&&e.m.host?e.m.host:e.m,c=n&&n.l||o,i=e.l||o;for(l in c)l in i||h(s,l,c[l],void 0,t,e.i);for(l in i)h(s,l,c[l],i[l],t,e.i)},w=(e,t,l)=>{const o=t.o[l];let s,c,i=0;if(null!==o.t)s=o.m=nn.createTextNode(o.t);else if(s=o.m=nn.createElement(o.u),b(null,o,!1),null!=n&&s["s-si"]!==n&&s.classList.add(s["s-si"]=n),o.o)for(i=0;i<o.o.length;++i)c=w(e,o,i),c&&s.appendChild(c);return s},v=(n,t,l,o,s,c)=>{let i,r=n;for(r.shadowRoot&&r.tagName===e&&(r=r.shadowRoot);s<=c;++s)o[s]&&(i=w(null,l,s),i&&(o[s].m=i,r.insertBefore(i,t)))},S=(n,e,t,l,o)=>{for(;e<=t;++e)(l=n[e])&&(o=l.m,M(l),o.remove())},g=(n,e)=>n.u===e.u,j=(n,e)=>{const t=e.m=n.m,l=n.o,o=e.o,s=e.t;null===s?(b(n,e,!1),null!==l&&null!==o?((n,e,t,l)=>{let o,s=0,c=0,i=e.length-1,r=e[0],u=e[i],a=l.length-1,f=l[0],d=l[a];for(;s<=i&&c<=a;)null==r?r=e[++s]:null==u?u=e[--i]:null==f?f=l[++c]:null==d?d=l[--a]:g(r,f)?(j(r,f),r=e[++s],f=l[++c]):g(u,d)?(j(u,d),u=e[--i],d=l[--a]):g(r,d)?(j(r,d),n.insertBefore(r.m,u.m.nextSibling),r=e[++s],d=l[--a]):g(u,f)?(j(u,f),n.insertBefore(u.m,r.m),u=e[--i],f=l[++c]):(o=w(e&&e[c],t,c),f=l[++c],o&&r.m.parentNode.insertBefore(o,r.m));s>i?v(n,null==l[a+1]?null:l[a+1].m,t,l,c,a):c>a&&S(e,s,i)})(t,l,e,o):null!==o?(null!==n.t&&(t.textContent=""),v(t,null,e,o,0,o.length-1)):null!==l&&S(l,0,l.length-1)):n.t!==s&&(t.data=s)},M=n=>{n.l&&n.l.ref&&n.l.ref(null),n.o&&n.o.map(M)},k=(n,e)=>{e&&!n.$&&e["s-p"]&&e["s-p"].push(new Promise((e=>n.$=e)))},C=(n,e)=>{if(n.i|=16,!(4&n.i))return k(n,n.v),fn((()=>O(n,e)));n.i|=512},O=(n,e)=>{const t=n.S;let l;return e&&(n.i|=256,n.g&&(n.g.map((([n,e])=>R(t,n,e))),n.g=null),l=R(t,"componentWillLoad")),l=T(l,(()=>R(t,"componentWillRender"))),T(l,(()=>L(n,t,e)))},L=async(n,e,t)=>{const l=n.p,o=l["s-rc"];t&&(n=>{const e=n.j,t=n.p,l=e.i,o=((n,e)=>{var t;let l=p(e);const o=Y.get(l);if(n=11===n.nodeType?n:nn,o)if("string"==typeof o){let e,s=m.get(n=n.head||n);if(s||m.set(n,s=new Set),!s.has(l)){{e=nn.createElement("style"),e.innerHTML=o;const l=null!==(t=en.M)&&void 0!==t?t:c(nn);null!=l&&e.setAttribute("nonce",l),n.insertBefore(e,n.querySelector("link"))}s&&s.add(l)}}else n.adoptedStyleSheets.includes(o)||(n.adoptedStyleSheets=[...n.adoptedStyleSheets,o]);return l})(t.shadowRoot?t.shadowRoot:t.getRootNode(),e);10&l&&(t["s-sc"]=o,t.classList.add(o+"-h"))})(n);P(n,e),o&&(o.map((n=>n())),l["s-rc"]=void 0);{const e=l["s-p"],t=()=>x(n);0===e.length?t():(Promise.all(e).then(t),n.i|=4,e.length=0)}},P=(l,o)=>{try{t=o,o=o.render(),l.i&=-17,l.i|=2,((t,l)=>{const o=t.p,s=t.j,c=t.k||r(null,null),a=(n=>n&&n.u===u)(l)?l:i(null,null,l);e=o.tagName,s.C&&(a.l=a.l||{},s.C.map((([n,e])=>a.l[e]=o[n]))),a.u=null,a.i|=4,t.k=a,a.m=c.m=o.shadowRoot||o,n=o["s-sc"],j(c,a)})(l,o)}catch(n){K(n,l.p)}return t=null,null},W=()=>t,x=n=>{const e=n.p,t=n.S,l=n.v;64&n.i||(n.i|=64,q(e),R(t,"componentDidLoad"),n.O(e),l||N()),n.$&&(n.$(),n.$=void 0),512&n.i&&an((()=>C(n,!1))),n.i&=-517},E=n=>{{const e=B(n),t=e.p.isConnected;return t&&2==(18&e.i)&&C(e,!1),t}},N=()=>{q(nn.documentElement),an((()=>d(Z,"appload",{detail:{namespace:"qbs-ect-cmp"}})))},R=(n,e,t)=>{if(n&&n[e])try{return n[e](t)}catch(n){K(n)}},T=(n,e)=>n&&n.then?n.then(e):e(),q=n=>n.classList.add("hydrated"),A=(n,e,t)=>{if(e.L){n.watchers&&(e.P=n.watchers);const l=Object.entries(e.L),o=n.prototype;if(l.map((([n,[l]])=>{(31&l||2&t&&32&l)&&Object.defineProperty(o,n,{get(){return((n,e)=>B(this).W.get(e))(0,n)},set(t){((n,e,t,l)=>{const o=B(n),c=o.p,i=o.W.get(e),r=o.i,u=o.S;if(t=((n,e)=>null==n||s(n)?n:2&e?parseFloat(n):1&e?n+"":n)(t,l.L[e][0]),(!(8&r)||void 0===i)&&t!==i&&(!Number.isNaN(i)||!Number.isNaN(t))&&(o.W.set(e,t),u)){if(l.P&&128&r){const n=l.P[e];n&&n.map((n=>{try{u[n](t,i,e)}catch(n){K(n,c)}}))}2==(18&r)&&C(o,!1)}})(this,n,t,e)},configurable:!0,enumerable:!0})})),1&t){const t=new Map;o.attributeChangedCallback=function(n,e,l){en.jmp((()=>{const e=t.get(n);if(this.hasOwnProperty(e))l=this[e],delete this[e];else if(o.hasOwnProperty(e)&&"number"==typeof this[e]&&this[e]==l)return;this[e]=(null!==l||"boolean"!=typeof this[e])&&l}))},n.observedAttributes=l.filter((([n,e])=>15&e[0])).map((([n,l])=>{const o=l[1]||n;return t.set(o,n),512&l[0]&&e.C.push([n,o]),o}))}}return n},F=(n,e={})=>{var t;const l=[],o=e.exclude||[],s=Z.customElements,i=nn.head,r=i.querySelector("meta[charset]"),u=nn.createElement("style"),a=[];let f,d=!0;Object.assign(en,e),en.N=new URL(e.resourcesUrl||"./",nn.baseURI).href,n.map((n=>{n[1].map((e=>{const t={i:e[0],h:e[1],L:e[2],R:e[3]};t.L=e[2],t.R=e[3],t.C=[],t.P={};const c=t.h,i=class extends HTMLElement{constructor(n){super(n),I(n=this,t),1&t.i&&n.attachShadow({mode:"open"})}connectedCallback(){f&&(clearTimeout(f),f=null),d?a.push(this):en.jmp((()=>(n=>{if(0==(1&en.i)){const e=B(n),t=e.j,l=()=>{};if(1&e.i)U(n,e,t.R);else{e.i|=1;{let t=n;for(;t=t.parentNode||t.host;)if(t["s-p"]){k(e,e.v=t);break}}t.L&&Object.entries(t.L).map((([e,[t]])=>{if(31&t&&n.hasOwnProperty(e)){const t=n[e];delete n[e],n[e]=t}})),(async(n,e,t,l,o)=>{if(0==(32&e.i)){{if(e.i|=32,(o=X(t)).then){const n=()=>{};o=await o,n()}o.isProxied||(t.P=o.watchers,A(o,t,2),o.isProxied=!0);const n=()=>{};e.i|=8;try{new o(e)}catch(n){K(n)}e.i&=-9,e.i|=128,n()}if(o.style){let n=o.style;const e=p(t);if(!Y.has(e)){const l=()=>{};((n,e,t)=>{let l=Y.get(n);ln&&t?(l=l||new CSSStyleSheet,"string"==typeof l?l=e:l.replaceSync(e)):l=e,Y.set(n,l)})(e,n,!!(1&t.i)),l()}}}const s=e.v,c=()=>C(e,!0);s&&s["s-rc"]?s["s-rc"].push(c):c()})(0,e,t)}l()}})(this)))}disconnectedCallback(){en.jmp((()=>(()=>{if(0==(1&en.i)){const n=B(this),e=n.S;n.T&&(n.T.map((n=>n())),n.T=void 0),R(e,"disconnectedCallback")}})()))}componentOnReady(){return B(this).q}};t.A=n[0],o.includes(c)||s.get(c)||(l.push(c),s.define(c,A(i,t,1)))}))}));{u.innerHTML=l+"{visibility:hidden}.hydrated{visibility:inherit}",u.setAttribute("data-styles","");const n=null!==(t=en.M)&&void 0!==t?t:c(nn);null!=n&&u.setAttribute("nonce",n),i.insertBefore(u,r?r.nextSibling:i.firstChild)}d=!1,a.length?a.map((n=>n.connectedCallback())):en.jmp((()=>f=setTimeout(N,30)))},U=(n,e,t)=>{t&&t.map((([t,l,o])=>{const s=H(n,t),c=D(e,o),i=V(t);en.ael(s,l,c,i),(e.T=e.T||[]).push((()=>en.rel(s,l,c,i)))}))},D=(n,e)=>t=>{try{256&n.i?n.S[e](t):(n.g=n.g||[]).push([e,t])}catch(n){K(n)}},H=(n,e)=>8&e?Z:n,V=n=>0!=(2&n),_=n=>en.M=n,z=new WeakMap,B=n=>z.get(n),G=(n,e)=>z.set(e.S=n,e),I=(n,e)=>{const t={i:0,p:n,j:e,W:new Map};return t.q=new Promise((n=>t.O=n)),n["s-p"]=[],n["s-rc"]=[],U(n,t,e.R),z.set(n,t)},J=(n,e)=>e in n,K=(n,e)=>(0,console.error)(n,e),Q=new Map,X=n=>{const e=n.h.replace(/-/g,"_"),t=n.A,l=Q.get(t);return l?l[e]:import(`./${t}.entry.js`).then((n=>(Q.set(t,n),n[e])),K)
|
|
2
|
+
/*!__STENCIL_STATIC_IMPORT_SWITCH__*/},Y=new Map,Z="undefined"!=typeof window?window:{},nn=Z.document||{head:{}},en={i:0,N:"",jmp:n=>n(),raf:n=>requestAnimationFrame(n),ael:(n,e,t,l)=>n.addEventListener(e,t,l),rel:(n,e,t,l)=>n.removeEventListener(e,t,l),ce:(n,e)=>new CustomEvent(n,e)},tn=n=>Promise.resolve(n),ln=(()=>{try{return new CSSStyleSheet,"function"==typeof(new CSSStyleSheet).replaceSync}catch(n){}return!1})(),on=[],sn=[],cn=(n,e)=>t=>{n.push(t),l||(l=!0,e&&4&en.i?an(un):en.raf(un))},rn=n=>{for(let e=0;e<n.length;e++)try{n[e](performance.now())}catch(n){K(n)}n.length=0},un=()=>{rn(on),rn(sn),(l=on.length>0)&&en.raf(un)},an=n=>tn().then(n),fn=cn(sn,!0);export{W as a,F as b,f as c,E as f,a as g,i as h,tn as p,G as r,_ as s}
|