1"use strict";(self.webpackChunkweb_front_end_angular_cli=self.webpackChunkweb_front_end_angular_cli||[]).push([[5663],{85663:(h,p,i)=>{i.d(p,{n:()=>y});var l=i(85240),u=i(93683),s=i(19187),x=i(82195),g=i(94802),m=i(1775),f=i(49074),v=i(70271),_=i(48503),b=i(52971),n=i(12481);function C(o,a){1&o&&(n.rj2(0,"div",5),n.EFF(1),n.nI1(2,"translate"),n.Hgh(3,"br"),n.EFF(4),n.eux()),2&o&&(n.R7$(),n.SpI("",n.bMT(2,2,"oscpv.current-product.get-company")," "),n.R7$(3),n.SpI(" ",a))}function P(o,a){1&o&&(n.rj2(0,"div",8)(1,"div",9),n.EFF(2),n.nI1(3,"translate"),n.eux(),n.rj2(4,"div",10),n.EFF(5),n.eux()()),2&o&&(n.R7$(2),n.JRh(n.bMT(3,2,"oscpv.vehicle.registration-number")),n.R7$(3),n.JRh(a))}function M(o,a){if(1&o&&(n.rj2(0,"div",8)(1,"div",9),n.EFF(2),n.nI1(3,"translate"),n.eux(),n.rj2(4,"div",10),n.EFF(5),n.nI1(6,"translate"),n.eux()()),2&o){const r=n.XpG(2);n.R7$(2),n.JRh(n.bMT(3,2,"oscpv.current-product.vehicle-title")),n.R7$(3),n.JRh(n.bMT(6,4,r.vehicleLabel()))}}function O(o,a){if(1&o&&(n.rj2(0,"div",8)(1,"div",9),n.EFF(2),n.eux(),n.rj2(3,"div",10),n.EFF(4),n.eux()()),2&o){const r=n.XpG().$implicit;n.R7$(2),n.JRh(r.title),n.R7$(2),n.JRh(r.value)}}function w(o,a){if(1&o&&n.nVh(0,O,5,2,"div",8),2&o){const r=a.$implicit;n.vxM(null!=r&&r.title&&null!=r&&r.value?0:-1)}}function I(o,a){if(1&o&&(n.rj2(0,"span",16)(1,"span",19),n.EFF(2),n.eux(),n.EFF(3),n.nI1(4,"translate"),n.eux()),2&o){n.XpG();const r=n.r8f(35);n.R7$(2),n.JRh(r.generalAmount),n.R7$(),n.SpI(" ",n.bMT(4,2,"shared.amount.currency")," ")}}function E(o,a){if(1&o){const r=n.RV6();n.rj2(0,"div",0)(1,"button",1),n.VwU("click",function(){l.eBV(r);const t=n.XpG();return l.Njj(t.expanded=!t.expanded)}),n.EFF(2),n.nI1(3,"translate"),n.eux(),n.rj2(4,"div",2)(5,"div",3),n.Hgh(6,"img",4),n.nVh(7,C,5,4,"div",5),n.eux()(),n.rj2(8,"div",6),n.nI1(9,"async"),n.rj2(10,"div",7)(11,"div",8)(12,"div",9),n.EFF(13),n.nI1(14,"translate"),n.eux(),n.rj2(15,"div",10),n.EFF(16),n.eux()(),n.rj2(17,"div",8)(18,"div",9),n.EFF(19),n.nI1(20,"translate"),n.eux(),n.rj2(21,"div",11),n.EFF(22),n.nI1(23,"date"),n.nI1(24,"date"),n.eux()(),n.Hgh(25,"div",12),n.nVh(26,P,6,4,"div",8),n.nVh(27,M,7,6,"div",8),n.Z7z(28,w,1,1,null,null,n.fX1),n.eux(),n.rj2(30,"div",13)(31,"div",14),n.EFF(32),n.nI1(33,"translate"),n.eux(),n.rj2(34,"div",15),n.SS7(35),n.nVh(36,I,5,4,"span",16),n.rj2(37,"span",17)(38,"span",18),n.EFF(39),n.eux(),n.EFF(40),n.nI1(41,"translate"),n.eux()()()()()}if(2&o){let r,e;const t=n.XpG();n.R7$(),n.AVh("extended",t.expanded),n.R7$(),n.JRh(n.bMT(3,17,"oscpv.current-product.details")),n.R7$(4),n.Avn("src",null==t.contextInfo||null==t.contextInfo.product||null==t.contextInfo.product.insuranceCompany?null:t.contextInfo.product.insuranceCompany.logo,n.B4B),n.R7$(),n.vxM((r=null==t.contextInfo||null==t.contextInfo.product||null==t.contextInfo.product.insuranceCompany?null:t.contextInfo.product.insuranceCompany.name)?7:-1,r),n.R7$(),n.Y8G("@expander",t.expanded||n.bMT(9,19,t.isDesktop$)),n.R7$(5),n.JRh(n.bMT(14,21,"oscpv.current-product.registration-title")),n.R7$(3),n.JRh(null==t.contextInfo||null==t.contextInfo.insuranceObject||null==t.contextInfo.insuranceObject.location?null:t.contextInfo.insuranceObject.location.region),n.R7$(3),n.JRh(n.bMT(20,23,"oscpv.current-product.period-title")),n.R7$(3),n.Lme(" ",n.i5U(23,25,null==t.contextInfo||null==t.contextInfo.insuranceContract?null:t.contextInfo.insuranceContract.dateFrom,"dd.MM.yyyy")," \u2014 ",n.i5U(24,28,null==t.contextInfo||null==t.contextInfo.insuranceContract?null:t.contextInfo.insuranceContract.dateTo,"dd.MM.yyyy")," "),n.R7$(4),n.vxM((e=t.insuranceObject.registrationNumber)?26:-1,e),n.R7$(),n.vxM(t.vehicleLabel()?27:-1),n.R7$(),n.Dyx(t.vehicleEngineParam()),n.R7$(4),n.JRh(n.bMT(33,31,"oscpv.current-product.amount-title")),n.R7$(3);const c=n.bH3(null==t.contextInfo?null:t.contextInfo.product);n.R7$(),n.vxM(t.hasDiscount?36:-1),n.R7$(3),n.JRh(t.hasDiscount?null==c?null:c.discountedAmount:null==c?null:c.generalAmount),n.R7$(),n.SpI(" ",n.bMT(41,34,"shared.amount.currency")," ")}}class d{constructor(a,r){this.title=a,this.value=r}}let y=(()=>{var o;class a{constructor(){this.breakpointObserver=(0,l.WQX)(x.B),this.destroyRef=(0,l.WQX)(l.abz),this.insuranceService=(0,l.WQX)(b.m),this.translate=(0,l.WQX)(_.c$),this.vehicleTypes=g.r,this.expanded=!1,this.vehicleLabel=(0,l.vPA)(""),this.vehicleEngineParam=(0,l.vPA)([]),this.isDesktop$=this.breakpointObserver.observe(m.n.Desktop).pipe((0,f.pQ)(this.destroyRef),(0,v.T)(e=>e?.matches)),this.carParamsStepData=this.insuranceService.getStepData("carParams")}ngOnChanges(e){e?.contextInfo?.currentValue&&this.setVehicleEngineLabels()}setVehicleEngineLabels(){const e=this.contextInfo?.insuranceObject?.category?.toLowerCase();this.setVehicleLabel(e),this.setEngineParams(e)}setVehicleLabel(e){const t=this.vehicleTypes.find(c=>c.engineCategories.some(R=>R?.value?.toLowerCase()===e))?.label;this.vehicleLabel.set(t)}setEngineParams(e){this.enginePowerExists?this.setEngineParamsValue():this.setEngineParamsDefault(e)}get insuranceObject(){return this.contextInfo?.insuranceObject}get engineVolume(){return Number(this.insuranceObject?.engineVolume??0)}get electricPower(){return Number(this.insuranceObject?.electricMotorPower??0)}get enginePowerExists(){switch(this.insuranceObject?.category?.toLowerCase()){case"a1":case"a2":case"b1":case"b2":case"b3":case"b4":default:return this.engineVolume>0||this.electricPower>0;case"b5":return this.electricPower>0}}setEngineParamsValue(){const e=[];this.engineVolume>0&&e.push(new d(this.getInstant("oscpv.current-product.volume-title"),`${this.insuranceObject?.engineVolume} ${this.getInstant("shared.units.volume-sm")}`)),this.electricPower>0&&e.push(new d(this.getInstant("oscpv.current-product.power-title"),`${this.insuranceObject?.electricMotorPower} ${this.getInstant("shared.units.power-kwt")}`)),this.vehicleEngineParam.set(e)}setEngineParamsDefault(e){let t="";switch(e){case"a1":case"a2":case"b1":case"b2":case"b4":case"b5":t=g.r.flatMap(c=>c.engineCategories).find(c=>c.value.toLowerCase()===e).label;break;case"b3":t=e===this.carParamsStepData?.value?.toLowerCase()?this.carParamsStepData?.label:"2001-3000 \u0441\u043c3"}this.vehicleEngineParam.set([new d(this.getInstant("oscpv.current-product.volume-title"),this.getInstant(t))])}getInstant(e){return e?this.translate.instant(e):""}get hasDiscount(){const e=this.contextInfo?.product;if(!e)return!1;const{discountedAmount:t,generalAmount:c}=e;return!!(t&&t>0&&t<c)}}return(o=a).\u0275fac=function(e){return new(e||o)}
1,o.\u0275cmp=n.VBU({type:o,selectors:[["app-product-info"]],inputs:{contextInfo:"contextInfo"},features:[n.OA$],decls:1,vars:1,consts:[[1,"current-product","relative"],["type","button",1,"insurance-toggle","absolute","hide-for-large",3,"click"],[1,"current-product__head"],[1,"current-product__company","flex-container","align-middle"],["alt","company-logo",1,"current-product__company-logo",3,"src"],[1,"current-product__company-name","regular"],[1,"current-product__bottom","overflow"],[1,"current-product__details"],[1,"current-product__details-row"],[1,"current-product__details-title"],[1,"current-product__details-value","regular"],[1,"current-product__details-value","regular","ws-nowrap"],[1,"current-product__details-horizontal"],[1,"current-product__amount","flex-container","align-justify","align-middle"],[1,"current-product__amount-title"],[1,"current-product__amount-values","flex-container","align-middle"],[1,"current-product__amount-general"],[1,"current-product__amount-discount"],[1,"new-price","semibold"],[1,"old-price","semibold"]],template:function(e,t){1&e&&n.nVh(0,E,42,36,"div",0),2&e&&n.vxM(t.contextInfo?0:-1)},dependencies:[u.MD,u.Jj,u.vh,_.D9],styles:['.insurance-error[_ngcontent-%COMP%]{border-radius:5px;background-color:#fff8d080;padding:12px 12px 12px 38px;background-image:url(https://cdn.easypay.ua/images/svg/oscpv/attention-orange.svg);background-repeat:no-repeat;background-size:14px;background-position:12px 12px;margin-top:16px;margin-bottom:24px}.mt-24[_ngcontent-%COMP%]{margin-top:24px}.mt-8[_ngcontent-%COMP%]{margin-top:8px}.button--wide-405[_ngcontent-%COMP%]{height:44px;line-height:44px;box-shadow:0 8px 20px #1f83fe4d;max-width:405px}.control-wide-405[_ngcontent-%COMP%]{max-width:405px}.insurance-checkbox.mat-mdc-checkbox.mat-primary[_ngcontent-%COMP%]{--mdc-checkbox-unselected-icon-color: #CCCCCC;--mdc-checkbox-unselected-hover-icon-color: #CCCCCC}.insurance-checkbox__label[_ngcontent-%COMP%]{font-size:12px;line-height:16px;font-weight:400;color:#202020}.insurance-back[_ngcontent-%COMP%]{display:inline-block;background-image:url(https://cdn.easypay.ua/images/svg/arrows/arrow-brand-blue.svg);background-repeat:no-repeat;background-size:17px 16px;background-position:4px center;padding:4px 0 4px 28px;font-size:16px;line-height:16px;font-weight:400}.insurance-back.show-ins-dialog[_ngcontent-%COMP%]{color:#1f83fe;cursor:pointer}.insurance-back.show-ins-dialog[_ngcontent-%COMP%]:focus, .insurance-back.show-ins-dialog[_ngcontent-%COMP%]:hover{color:#055b9d}.ins__tooltip[_ngcontent-%COMP%]{display:inline-block;width:14px;height:14px;position:relative;top:2px;transition:.15s}.ins__tooltip[_ngcontent-%COMP%]:before{content:"";position:absolute;width:40px;height:40px;left:-13px;top:-13px;background-image:url(https://cdn.easypay.ua/images/svg/info-new.svg);background-repeat:no-repeat;background-size:14px;background-position:center;transition:.15s}.insurance-toggle[_ngcontent-%COMP%]{align-self:flex-end;position:relative;margin:12px 0 0 auto;color:#1f83fe;font-size:16px;cursor:pointer}@media only screen and (min-width: 640px){.insurance-toggle[_ngcontent-%COMP%]{margin-top:24px}}.insurance-toggle[_ngcontent-%COMP%]:before{position:absolute;content:"";top:-8px;bottom:-8px;left:-8px;right:-8px}.insurance-toggle[_ngcontent-%COMP%]:after{content:url(\'data:image/svg+xml;utf8,<svg width="13" height="8" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" fill="none"><path d="M12.54.55c.25.25.25.65 0 .9l-5.9 5.91-5.92-5.9a.64.64 0 0 1 .91-.91l5 5 5-5a.64.64 0 0 1 .91 0Z" fill="dodgerBlue"/></svg>\');display:inline-block;transition:transform .5s;margin-left:10px}@media only screen and (max-width: 639.8px){.insurance-toggle.extended[_ngcontent-%COMP%]{position:absolute;bottom:16px;right:16px;z-index:1}}.insurance-toggle.extended[_ngcontent-%COMP%]:after{transform:rotateX(180deg)}.insurance-toggle[_ngcontent-%COMP%]:focus-visible{box-shadow:#fff 0 0 0 4px,#dff1ff 0 0 2px 6px}.page-with-product[_ngcontent-%COMP%]{display:flex;flex-direction:column}@media only screen and (min-width: 1024px){.page-with-product[_ngcontent-%COMP%]{flex-direction:row;column-gap:24px}}.page-with-product[_ngcontent-%COMP%] .inner-info-container[_ngcontent-%COMP%]{padding:16px 12px;background-color:#fff;margin-top:8px;border-radius:5px}@media only screen and (min-width: 640px){.page-with-product[_ngcontent-%COMP%] .inner-info-container[_ngcontent-%COMP%]{margin-top:12px}}@media only screen and (min-width: 1024px){.page-with-product[_ngcontent-%COMP%] .inner-info-container[_ngcontent-%COMP%]{flex:1 1 auto;margin-top:0}}@media only screen and (min-width: 1024px){.page-with-product[_ngcontent-%COMP%] .selected-product-info[_ngcontent-%COMP%]{order:1;flex:0 0 320px}}.flag-ua[_ngcontent-%COMP%]{position:relative;height:10px;width:16px;margin-bottom:7px}.flag-ua[_ngcontent-%COMP%]:before, .flag-ua[_ngcontent-%COMP%]:after{content:"";position:absolute;
1left:0;height:5px;width:16px}.flag-ua[_ngcontent-%COMP%]:before{background-color:#007ef6;top:0}.flag-ua[_ngcontent-%COMP%]:after{background-color:#f8d347;top:5px}.customer-info__flag[_ngcontent-%COMP%]{position:absolute;left:0;top:5px;margin-bottom:0}.current-product[_ngcontent-%COMP%]{padding:16px;background-color:#fff}@media (max-width: 639.8px){.current-product[_ngcontent-%COMP%]{margin:0 -8px}}@media only screen and (min-width: 640px) and (max-width: 1023.8px){.current-product[_ngcontent-%COMP%]{margin:0 -24px}}.current-product[_ngcontent-%COMP%] .insurance-toggle[_ngcontent-%COMP%]{right:16px;bottom:calc(50% - 8px);margin-top:0;position:absolute;transition:ease .3s}.current-product[_ngcontent-%COMP%] .insurance-toggle.extended[_ngcontent-%COMP%]{bottom:16px}.current-product__head[_ngcontent-%COMP%]{padding-right:84px}.current-product__company[_ngcontent-%COMP%]{column-gap:10px}.current-product__company-name[_ngcontent-%COMP%]{color:#202020;font-size:16px;line-height:1.3}.current-product__company-logo[_ngcontent-%COMP%]{width:85px;max-height:56px;object-fit:contain}@media only screen and (max-width: 1023.8px){.current-product__bottom[_ngcontent-%COMP%]{padding-bottom:41px}}.current-product__details[_ngcontent-%COMP%]{padding:20px 0}.current-product__details-row[_ngcontent-%COMP%]{display:flex;justify-content:space-between;margin-bottom:16px;font-size:13px;line-height:1.3;column-gap:12px}.current-product__details-row[_ngcontent-%COMP%]:last-child{margin-bottom:0}.current-product__details-horizontal[_ngcontent-%COMP%]{margin-bottom:16px;border-bottom:1px solid #E4E4E4}.current-product__details-title[_ngcontent-%COMP%], .current-product__details-value[_ngcontent-%COMP%]{font-size:13px;line-height:1.3}.current-product__details-title[_ngcontent-%COMP%]{flex:1 1 auto;max-width:50%;min-width:40%}.current-product__details-value[_ngcontent-%COMP%]{color:#202020;flex:0 1 auto;text-align:right}.current-product__amount[_ngcontent-%COMP%]{white-space:nowrap;padding:12px 16px;background-color:#e5f1ff}@media only screen and (min-width: 640px){.current-product__amount[_ngcontent-%COMP%]{margin-left:auto}}.current-product__amount-values[_ngcontent-%COMP%]{column-gap:8px}.current-product__amount-title[_ngcontent-%COMP%]{font-size:16px;line-height:1;margin-right:5px}.current-product__amount-general[_ngcontent-%COMP%]{font-weight:400;font-size:16px;line-height:20px;color:#9e9e9e}.current-product__amount-general[_ngcontent-%COMP%] .old-price[_ngcontent-%COMP%]{text-decoration:line-through}.current-product__amount-discount[_ngcontent-%COMP%]{color:#ff9500;font-weight:400;font-size:16px;line-height:20px}.current-product__amount-discount[_ngcontent-%COMP%] .new-price[_ngcontent-%COMP%]{font-size:24px;line-height:29px}.current-product[_ngcontent-%COMP%] .ws-nowrap[_ngcontent-%COMP%]{white-space:nowrap}'],data:{animation:[s.sY]},changeDetection:0}),a})()},94802:(h,p,i)=>{i.d(p,{r:()=>l});const l=[{label:"oscpv.vehicle.moto.label",type:"Motorbike",engineCategories:[{label:"oscpv.vehicle.category-a1",value:"A1",privilegeOption:!0},{label:"oscpv.vehicle.category-a2",value:"A2",privilegeOption:!0}]},{label:"oscpv.vehicle.car.label",type:"Car",engineCategories:[{label:"oscpv.vehicle.category-b1",value:"B1",privilegeOption:!0},{label:"oscpv.vehicle.category-b2",value:"B2",privilegeOption:!0},{label:"oscpv.vehicle.category-b3-1",value:"B3",privilegeOption:!0},{label:"oscpv.vehicle.category-b3-2",value:"B3",privilegeOption:!1},{label:"oscpv.vehicle.category-b4",value:"B4",privilegeOption:!1}]},{label:"oscpv.vehicle.electro-car.label",type:"Electric",engineCategories:[{label:"",value:"B5",privilegeOption:!1}]}]}}]); 2//# sourceMappingURL=5663.083b43f01c3d7f32.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.