1"use strict";(self.webpackChunkweb_front_end_angular_cli=self.webpackChunkweb_front_end_angular_cli||[]).push([[832],{832:(O,m,s)=>{s.r(m),s.d(m,{EasyidStatusComponent:()=>T});var c=s(93683),r=s(85240),v=s(34487),I=s(70271),a=s(89475),E=s(61318),y=s(77919),M=s(88090),l=s(48503),_=s(60247),C=s(26751),t=s(12481);const o=()=>["/profile/settings/easyid"];function p(i,u){1&i&&(t.j41(0,"div",0)(1,"div",2),t.nrm(2,"span",3),t.k0s()())}function e(i,u){1&i&&(t.j41(0,"div",1)(1,"h1",4),r.qSk(),t.j41(2,"svg",5),t.nrm(3,"circle",6)(4,"path",7),t.k0s(),t.EFF(5),t.nI1(6,"translate"),t.k0s(),r.joV(),t.nrm(7,"div",8),t.nI1(8,"translate"),t.nI1(9,"safeHtml"),t.k0s()),2&i&&(t.R7$(5),t.SpI(" ",t.bMT(6,2,"easyid.diya.status.inProccess")," "),t.R7$(2),t.Y8G("innerHTML",t.bMT(9,6,t.bMT(8,4,"easyid.diya.status.inProccess-text")),t.npT))}function n(i,u){1&i&&(t.j41(0,"div",1)(1,"h1",9),r.qSk(),t.j41(2,"svg",5),t.nrm(3,"circle",6)(4,"path",10),t.k0s(),t.EFF(5),t.nI1(6,"translate"),t.k0s(),r.joV(),t.nrm(7,"div",11),t.nI1(8,"translate"),t.nI1(9,"safeHtml"),t.j41(10,"a",12),t.nI1(11,"translate"),t.EFF(12),t.nI1(13,"translate"),t.k0s()()),2&i&&(t.R7$(5),t.SpI(" ",t.bMT(6,4,"easyid.diya.status.success")," "),t.R7$(2),t.Y8G("innerHTML",t.bMT(9,8,t.bMT(8,6,"easyid.diya.status.success-text")),t.npT),t.R7$(3),t.Y8G("href",t.bMT(11,10,"terminals.map.landing.link")+"?map=true",t.B4B),t.R7$(2),t.JRh(t.bMT(13,12,"main.map-terminals.title")))}function d(i,u){1&i&&(t.j41(0,"div",1)(1,"h1",13),r.qSk(),t.j41(2,"svg",5),t.nrm(3,"circle",6)(4,"path",14),t.k0s(),t.EFF(5),t.nI1(6,"translate"),t.k0s(),r.joV(),t.nrm(7,"div",15),t.nI1(8,"translate"),t.nI1(9,"safeHtml"),t.k0s()),2&i&&(t.R7$(5),t.SpI(" ",t.bMT(6,2,"easyid.diya.status.failed")," "),t.R7$(2),t.Y8G("innerHTML",t.bMT(9,6,t.bMT(8,4,"easyid.diya.status.blocked-text")),t.npT))}function f(i,u){1&i&&(t.j41(0,"div",1)(1,"h1",13),r.qSk(),t.j41(2,"svg",5),t.nrm(3,"circle",6)(4,"path",14),t.k0s(),t.EFF(5),t.nI1(6,"translate"),t.k0s(),r.joV(),t.nrm(7,"div",15),t.nI1(8,"translate"),t.nI1(9,"safeHtml"),t.j41(10,"button",16),t.EFF(11),t.nI1(12,"translate"),t.k0s()()),2&i&&(t.R7$(5),t.SpI(" ",t.bMT(6,4,"easyid.diya.status.failed")," "),t.R7$(2),t.Y8G("innerHTML",t.bMT(9,8,t.bMT(8,6,"easyid.diya.status.failed-text")),t.npT),t.R7$(3),t.Y8G("routerLink",t.lJ4(12,o)),t.R7$(),t.JRh(t.bMT(12,10,"easyid.diya.status.try-again")))}let T=(()=>{var i;class u{constructor(){this.verificationOfferId=2,this.identificationService=(0,r.WQX)(M.o),this.loaderService=(0,r.WQX)(C.Z),this.status$=this.getIdentificationStatus()}getIdentificationStatus(){return this.identificationService.current(this.verificationOfferId).pipe((0,I.T)(h=>h?.data?.status),(0,a.j)(()=>this.loaderService.finishManual()),(0,E.W)(h=>(0,y.$)(h)))}}return(i=u).\u0275fac=function(h){return new(h||i)},i.\u0275cmp=t.VBU({type:i,selectors:[["app-easyid-status"]],decls:6,vars:3,consts:[[1,"id-status__page","relative"],[1,"id-status__page"],[1,"pre-bootstrap","inner"],[1,"loader","absolute"],[1,"id-status","id-status--pending"],["xmlns","http://www.w3.org/2000/svg","width","16","height","16","fill","none"],["cx","8","cy","8","fill","#fff","r","6.7"],["fill-rule","evenodd","clip-rule","evenodd","d","M1.3 8a6.7 6.7 0 1 1 13.4 0A6.7 6.7 0 0 1 1.3 8ZM8 6.5V5a3 3 0 0 0-2.6 4.4l-.8.7A4 4 0 0 1 8 4V2.5l2 2-2 2Zm2.7.1.7-.7A4 4 0 0 1 8 12v1.5l-2-2 2-2V11a3 3 0 0 0 2.7-4.4Z","fill","orange"],[1,"id-status__main",3,"innerHTML"],[1,"id-status","id-status--success"],["d","M8 1.3a6.7 6.7 0 1 0 0 13.4A6.7 6.7 0 0 0 8 1.3Zm-1.3 10L3.3 8l1-1 2.4 2.4 5-5 1 1-6 6Z","fill","#47B84E"],[1,"id-status__main","text-left",3,"innerHTML"],[1,"profile-button","button",3,"href"],[1,"id-status","id-status--failed"],["d","M8 1.3a6.7 6.7 0 1 0 0 13.4A6.7 6.7 0 0 0 8 1.3Zm.7 10H7.3V10h1.4v1.3Zm0-2.6H7.3v-4h1.4v4Z","fill","#E43B38"],[1,"id-status__main","failed",3,"innerHTML"],[1,"profile-button","extra-margin","button",3,"routerLink"]],template:function(h,b){if(1&h&&(t.nVh(0,p,3,0,"div",0),t.nI1(1,"async"),t.vZN(2,e,10,8,"div",1)(3,n,14,14,"div",1)(4,d,10,8,"div",1)(5,f,13,13,"div",1)),2&h){let g;t.vxM(void 0===(g=t.bMT(1,1,b.status$))?0:"inProccess"===g?2:"success"===g?3:"blocked"===g?4:5)}},dependencies:[c.MD,l.h,v.Wk,c.Jj,l.D9,_.$],styles:["[_nghost-%COMP%]{display:block}.id-status__page[_ngcontent-%COMP%]{max-width:400px;min-height:200px;margin:0 auto;text-align:center;font-size:16px;line-height:20px}.id-status__page[_ngcontent-%COMP%] .button[_ngcontent-%COMP%]{height:42px;margin-top:40px;font-size:16px;line-height:40px}.id-status__page[_ngcontent-%COMP%] .button.extra-margin[_ngcontent-%COMP%]{margin-top:60px}.id-status[_ngcontent-%COMP%]{font-size:20px;font-weight:500;line-height:28px;margin:0 0 26px}
1.id-status--pending[_ngcontent-%COMP%]{color:#f8a719}.id-status--success[_ngcontent-%COMP%]{color:#32aa55}.id-status--failed[_ngcontent-%COMP%]{color:#e8242b}.id-status[_ngcontent-%COMP%] svg[_ngcontent-%COMP%]{margin-right:4px}.id-status__main.failed[_ngcontent-%COMP%]{line-height:1.5}"],changeDetection:0}),u})()},88090:(O,m,s)=>{s.d(m,{o:()=>C});var c=s(63855),r=s(7488),v=s(59400),I=s(59452),a=s(61318);class E{encodeKey(o){return encodeURIComponent(o)}encodeValue(o){return encodeURIComponent(o)}decodeKey(o){return decodeURIComponent(o)}decodeValue(o){return decodeURIComponent(o)}}var y=s(12481),M=s(85240);const l=(new c.Lr).set("IssuerKey","ugb").set("Content-Type","application/json; charset=UTF-8"),_=(new c.Lr).set("IssuerKey","kd").set("Content-Type","application/json; charset=UTF-8");let C=(()=>{var t;class o extends r.F{constructor(){super(...arguments),this.easyBankAPI="https://bank.easypay.ua/api/"}bindUrl(e="",n=this.appConfigService.settings.IDENTIFY_API){return this.createUrlByParts(n,e)}getProviders(e=1,n="ugb"){const d=this.createQueryParams({offerId:e}),f=(new c.Lr).set("IssuerKey",n).set("Content-Type","application/json; charset=UTF-8");return this.http.get(this.bindUrl("/identification/providers"),{params:d,headers:f}).pipe((0,a.W)(this.handleError))}identificationInfo(e=1){const n=this.createQueryParams({offerId:e});return this.http.get(this.bindUrl("/identification/user/info"),{params:n,headers:l}).pipe((0,a.W)(this.handleError))}current(e=1){const n=this.createQueryParams({offerId:e});return this.http.get(this.bindUrl("/identification/user/current"),{params:n,headers:l}).pipe((0,a.W)(this.handleError))}identificationById(e,n=1){const d=this.createQueryParams({offerId:n});return e?this.http.get(this.bindUrl(`/identification/user/${e}`),{params:d,headers:l}).pipe((0,a.W)(this.handleError)):v.w}getBanks(e){let n=new c.Nl;return e&&(n=n.append("count",e.toString())),this.http.get(this.bindUrl("/bankId/banks"),{params:n,headers:l}).pipe((0,a.W)(this.handleError))}getBankIdAuth(e){const n=new c.Nl({fromObject:e,encoder:new E});return this.http.get(this.bindUrl("/bankId/auth/uri"),{headers:l,params:n}).pipe((0,a.W)(this.handleError))}bankIdConfirm(e,n){const d={code:e,identifier:n};return this.http.post(this.bindUrl("/bankId/confirm"),d,{headers:l}).pipe((0,a.W)(this.handleError))}checkIssuerInfo(){return this.http.get(this.bindUrl("issuer/client/info",this.easyBankAPI)).pipe((0,a.W)(this.handleError))}openClient(){return this.http.post(this.bindUrl("issuer/client/open",this.easyBankAPI),{}).pipe((0,a.W)(()=>(0,I.of)(null)))}getQuestionnaireById(e){return this.http.get(this.bindUrl(`/verification-questionnaire/${e}`)).pipe((0,a.W)(this.handleError))}postQuestionnaireData(e,n){return this.http.post(this.bindUrl(`/verification-questionnaire/${e}/data`),n,{headers:_}).pipe((0,a.W)(this.handleError))}getDiiaAuth(e,n,d){const f=this.createQueryParams({offerId:e,documentsScopeId:n}),T=new c.Lr({IssuerKey:d||"kd","Content-Type":"application/json; charset=UTF-8"});return this.http.get(this.bindUrl("diia/auth/uri"),{headers:T,params:f}).pipe((0,a.W)(this.handleError))}createQuestionaire(e,n){const d=this.createQueryParams({offerId:e,identificationId:n});return this.http.get(this.bindUrl("verification-questionnaire/uri"),{headers:_,params:d}).pipe((0,a.W)(this.handleError))}}return(t=o).\u0275fac=(()=>{let p;return function(n){return(p||(p=y.xGo(t)))(n||t)}})(),t.\u0275prov=M.jDH({token:t,factory:t.\u0275fac,providedIn:"root"}),o})()}}]); 2//# sourceMappingURL=832.a2a5e6ecc01dc85f.js.map
Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.