1"use strict";(self.webpackChunkusgi=self.webpackChunkusgi||[]).push([[6800],{6800:(T,b,s)=>{s.r(b),s.d(b,{AllRenewalsModule:()=>j});var p=s(60177),c=s(46359),a=s(89417),t=s(54438);let x=(()=>{class o{constructor(){}ngOnInit(){}static{this.\u0275fac=function(e){return new(e||o)}}static{this.\u0275cmp=t.VBU({type:o,selectors:[["app-all-renewals-banner"]],decls:12,vars:0,consts:[[1,"container-fluid","main-banner","motor-insurance-details-banner"],[1,"row"],[1,"container"],[1,"main-banner-wrapper"],[1,"main-banner-left"],[1,"banner-info-main","mt-lg-4","mt-0","pt-4","mb-4","mb-lg-0","pl-4","ml-2","pl-lg-0","ml-lg-0"],["routerLink","",1,"back-btn","back-button","d-lg-none","mr-2"],["src","./assets/images/icons/chevron-back.svg","alt",""],[1,"text-bolder","text-white","montserrat-bolder"],[1,"mt-2","mt-lg-2","montserrat-medium","text-medium","text-white"]],template:function(e,n){1&e&&(t.j41(0,"section",0)(1,"div",1)(2,"div",2)(3,"div",3)(4,"div",4)(5,"div",5)(6,"a",6),t.nrm(7,"img",7),t.k0s(),t.j41(8,"h1",8),t.EFF(9,"Policy Renew"),t.k0s(),t.j41(10,"h5",9),t.EFF(11,"Life Isn\u2019t Easy, But Renewing Insurance Is"),t.k0s()()()()()()())},dependencies:[c.Wk],styles:[".motor-insurance-details-banner[_ngcontent-%COMP%]{padding-bottom:182px}.motor-insurance-details-banner[_ngcontent-%COMP%] .main-banner-left[_ngcontent-%COMP%]{max-width:635px}.motor-insurance-details-banner[_ngcontent-%COMP%] .main-banner-right[_ngcontent-%COMP%]{padding-top:100px}.motor-insurance-details-banner[_ngcontent-%COMP%] .main-banner-right[_ngcontent-%COMP%] ul[_ngcontent-%COMP%] li[_ngcontent-%COMP%]:not(:last-of-type){margin-right:40px}@media (max-width:991.2px) and (min-width: 769px){.motor-insurance-details-banner[_ngcontent-%COMP%]{min-height:inherit;padding-bottom:0}.main-banner-left[_ngcontent-%COMP%] h2[_ngcontent-%COMP%]{font-size:20px;line-height:24px}}@media (max-width: 768px) and (min-width: 576px){.motor-insurance-details-banner[_ngcontent-%COMP%] .main-banner-wrapper[_ngcontent-%COMP%]{align-items:center}.motor-insurance-details-banner[_ngcontent-%COMP%]{min-height:inherit;padding-bottom:0}.main-banner-left[_ngcontent-%COMP%] h2[_ngcontent-%COMP%]{max-width:100%;font-size:30px}.motor-insurance-details-banner[_ngcontent-%COMP%] .main-banner-right[_ngcontent-%COMP%]{width:auto;margin:0 auto;text-align:center;padding:0 10px}.motor-insurance-details-banner[_ngcontent-%COMP%] .main-banner-right[_ngcontent-%COMP%] ul[_ngcontent-%COMP%]{width:100%;margin:0 auto}.motor-insurance-details-banner[_ngcontent-%COMP%] .main-banner-right[_ngcontent-%COMP%] ul[_ngcontent-%COMP%] li[_ngcontent-%COMP%]{width:100%;margin-right:0!important}.motor-insurance-details-banner[_ngcontent-%COMP%] .main-banner-right[_ngcontent-%COMP%] ul[_ngcontent-%COMP%] li[_ngcontent-%COMP%] img[_ngcontent-%COMP%]{width:36px}.motor-insurance-details-banner[_ngcontent-%COMP%] .main-banner-right[_ngcontent-%COMP%] h5[_ngcontent-%COMP%]{color:#fff!important}.motor-insurance-details-banner[_ngcontent-%COMP%] .main-banner-right[_ngcontent-%COMP%] ul[_ngcontent-%COMP%] li[_ngcontent-%COMP%] span.fs-12[_ngcontent-%COMP%]{font-size:10px!important;line-height:12px;color:#fff!important}}@media (max-width: 575px) and (min-width: 320px){.motor-insurance-details-banner[_ngcontent-%COMP%] .main-banner-wrapper[_ngcontent-%COMP%]{align-items:center}.motor-insurance-details-banner[_ngcontent-%COMP%]{min-height:inherit;padding-bottom:0}.motor-insurance-details-banner[_ngcontent-%COMP%] .main-banner-right[_ngcontent-%COMP%]{width:auto;margin:0 auto;text-align:center;padding:0 10px}.motor-insurance-details-banner[_ngcontent-%COMP%] .main-banner-right[_ngcontent-%COMP%] ul[_ngcontent-%COMP%]{width:100%;margin:0 auto}.motor-insurance-details-banner[_ngcontent-%COMP%] .main-banner-right[_ngcontent-%COMP%] ul[_ngcontent-%COMP%] li[_ngcontent-%COMP%]{width:100%;margin-right:0!important}.motor-insurance-details-banner[_ngcontent-%COMP%] .main-banner-right[_ngcontent-%COMP%] ul[_ngcontent-%COMP%] li[_ngcontent-%COMP%] img[_ngcontent-%COMP%]{width:36px}.motor-insurance-details-banner[_ngcontent-%COMP%] .main-banner-right[_ngcontent-%COMP%] h5[_ngcontent-%COMP%]{color:#fff!important}.motor-insurance-details-banner[_ngcontent-%COMP%] .main-banner-right[_ngcontent-%COMP%] ul[_ngcontent-%COMP%] li[_ngcontent-%COMP%] span.fs-12[_ngcontent-%COMP%]{font-size:10px!important;line-height:12px;color:#fff!important}}"]})}}return o}
1)();var g=s(13816),w=s(45312),f=s(32374),u=s(50779),y=s(63620);const P=o=>({"form-group-error":o});function _(o,h){1&o&&(t.j41(0,"small",18),t.EFF(1,"Please Enter Your Policy Number"),t.k0s())}function C(o,h){if(1&o&&(t.j41(0,"small",19),t.EFF(1),t.k0s()),2&o){const i=t.XpG();t.R7$(),t.JRh(i.reponseMsg)}}let M=(()=>{class o{constructor(i,e,n){this._common=i,this.router=e,this.modalService=n,this.baseURL=w.c.renew_forward_url_health,this.motorProdCode=["2314","2379","2319","2373","2378","2381","2369","2316","2371","2380","2312","2374","2367","2320","2311","2375","2313","2318","2372","2317","2315"],this.submitted=!1,this.reponseMsg="",this.renewpolicyform=new a.J3({policyno:new a.hs("",a.k0.required)})}ngOnInit(){}onSubmit(){this.reponseMsg="",this.submitted=!0;var i=this.renewpolicyform.value.policyno.split("/");this.motorProdCode.filter(n=>n==i[0]).length>0?this._common.getPolicyPremiun_Blaze(this.renewpolicyform.value.policyno.replace(/\//g,"|")).subscribe(n=>{console.log(n),null==n[0].policyNo?this.reponseMsg=n[0].errorMessage:(this.submitted=!1,this.policyOb=n,localStorage.setItem("allrenewalsNo",this.renewpolicyform.value.policyno),this.router.navigate(["/all-renewals-summary"]))}):this._common.allpolicyrenewal(this.renewpolicyform.value.policyno).subscribe(n=>{"Y"===n?.StatusFlag?n?.reUrl?window.open(n?.reUrl):(new Date(n.PolStartdate),this.submitted=!1,this.policyOb=n,localStorage.setItem("allrenewalsNo",this.renewpolicyform.value.policyno),this.router.navigate(["/all-renewals-summary"])):"n"===n?.StatusFlag&&(this.reponseMsg=n.RenewalMessage)})}static{this.\u0275fac=function(e){return new(e||o)(t.rXU(f.h),t.rXU(c.Ix),t.rXU(u.I8))}}static{this.\u0275cmp=t.VBU({type:o,selectors:[["app-all-renewal-policy"]],decls:22,vars:7,consts:[[1,"renew-now-main"],[1,"d-flex","justify-content-between"],[1,"renew-now-form-data"],[3,"formGroup"],[1,"d-flex","flex-wrap","flex-lg-nowrap","mb-md-4"],[1,"form-group",3,"ngClass"],["for","",1,"mb-2","fs-16","text-dark-gray","text-bold","montserrat-bold"],[1,"text-danger"],["type","text","formControlName","policyno","placeholder","2825/57056666/03/000","minlength","10","maxlength","25",1,"form-control","mb-2"],["class","err-txt text-danger mb-1",4,"ngIf"],[1,"d-flex","align-items-center"],[1,"montserrat-medium","text-medium","fs-12","text-primary","mr-1","mt-0"],[1,"custome-tooltip-main","position-relative"],["src","./assets/images/icons/info.svg","alt","",1,"cursor","tooltip-info"],["src","./assets/images/policy-number.png","alt","",1,"policy-number-tooltip"],["class","err-txt d-block text-danger mb-1",4,"ngIf"],[1,"btn-control"],[1,"btn","btn-danger",3,"click","disabled"],[1,"err-txt","text-danger","mb-1"],[1,"err-txt","d-block","text-danger","mb-1"]],template:function(e,n){if(1&e&&(t.j41(0,"div",0)(1,"div",1)(2,"div",2)(3,"form",3)(4,"div",4)(5,"div",5)(6,"label",6),t.EFF(7,"Enter Policy Number "),t.j41(8,"span",7),t.EFF(9,"*"),t.k0s()(),t.nrm(10,"input",8),t.DNE(11,_,2,0,"small",9),t.j41(12,"div",10)(13,"span",11),t.EFF(14,"Please enter the policy number"),t.k0s(),t.j41(15,"div",12),t.nrm(16,"img",13)(17,"img",14),t.k0s()(),t.DNE(18,C,2,1,"small",15),t.k0s()(),t.j41(19,"div",16)(20,"button",17),t.bIt("click",function(){return n.onSubmit()}),t.EFF(21,"Continue"),t.k0s()()()()()()),2&e){let r,l;t.R7$(3),t.Y8G("formGroup",n.renewpolicyform),t.R7$(2),t.Y8G("ngClass",t.eq3(5,P,(null==(r=n.renewpolicyform.get("policyno"))?null:r.errors)&&(null==(r=n.renewpolicyform.get("policyno"))?null:r.touched))),t.R7$(6),t.Y8G("ngIf",(null==(l=n.renewpolicyform.get("policyno"))?null:l.errors)&&(null==(l=n.renewpolicyform.get("policyno"))?null:l.touched)),t.R7$(7),t.Y8G("ngIf",""!==n.reponseMsg),t.R7$(2),t.Y8G("disabled",!n.renewpolicyform.valid)}},dependencies:[p.YU,p.bT,y.ZP,a.qT,a.me,a.BC,a.cb,a.xh,a.tU,a.j4,a.JD]})}}return o})();function O(o,h){1&o&&(t.j41(0,"div",6),t.nrm(1,"img",7)(2,"img",8),t.j41(3,"span"),t.EFF(4,"Renew Now"),t.k0s()())}let v=(()=>{class o{constructor(i){this.route=i,this.renewNowTabActive=!1}ngOnInit(){this.route.paramMap.subscribe(i=>{let e=i.get("id");this.eventId=e}),this.renewId=localStorage.getItem("renewNowId"),this.buynowId=localStorage.getItem("buyNowId"),this.renewNowTabId=sessionStorage.getItem("renewNowTabId")}activeRenewNowPolicy(){this.renewNowTabActive=!0}static{this.\u0275fac=function(e){return new(e||o)(t.rXU(c.nX))}}static{this.\u0275cmp=t.VBU({type:o,selectors:[["app-renew-policy-status"]],decls:7,vars:0,consts:[[1,"container","policy-status-form-container","policy-status-main"],[1,"policy-status-form"],[1,"policy-status-tabs"],[1,"tabs-main","policy-tabs"],[3,"selectTab"],["tabHeading",""],[1,"d-flex","align-items-center"],["src","./assets/images/icons/renew-now.svg","alt","renew now",1,"img-fluid","non-active","mr-2"],["src","./assets/images/icons/renew-now-active.svg","alt","renew now",1,"img-fluid","active","mr-2"]],template:function(e,n){1&e&&(t.j41(0,"div",0)(1,"div",1)(2,"div",2)(3,"tabset",3)(4,"tab",4),t.bIt("selectTab",function(){return n.activeRenewNowPolicy()}
1),t.DNE(5,O,5,0,"ng-template",5),t.nrm(6,"app-all-renewal-policy"),t.k0s()()()()())},dependencies:[g.V6,g.fw,g.Bh,M],styles:[".policy-status-form-container[_ngcontent-%COMP%]{margin-bottom:30px}.policy-status-form[_ngcontent-%COMP%]{margin:-136px auto 0;padding:24px 33px 37px;background:#fff;border:1px solid #d8d8d8;box-sizing:border-box;box-shadow:0 0 30px #78787840;border-radius:24px;position:relative} .policy-status-tabs .tabs-main>.nav-tabs{justify-content:start;margin:0 0 30px} .policy-status-tabs .tabs-main>.nav-tabs .nav-item .nav-link img{width:36px;height:36px} .policy-status-tabs .tabs-main>.nav-tabs .nav-item:first-of-type .nav-link img.non-active, .policy-status-tabs .tabs-main>.nav-tabs .nav-item:last-of-type .nav-link img.non-active{display:block} .policy-status-tabs .tabs-main>.nav-tabs .nav-item:first-of-type .nav-link img.active, .policy-status-tabs .tabs-main>.nav-tabs .nav-item:last-of-type .nav-link img.active{display:none} .policy-status-tabs .tabs-main>.nav-tabs .nav-item:first-of-type .nav-link.active img.active, .policy-status-tabs .tabs-main>.nav-tabs .nav-item:last-of-type .nav-link.active img.active{display:block} .policy-status-tabs .tabs-main>.nav-tabs .nav-item:first-of-type .nav-link.active img.non-active, .policy-status-tabs .tabs-main>.nav-tabs .nav-item:last-of-type .nav-link.active img.non-active{display:none} .healthcare-ins-section{padding:25px 0 50px} .healthcare-ins-main{width:90%;margin:0 auto} .healthcare-ins-main>div{text-align:center;max-width:19%;margin:0 auto} .healthcare-ins-main>div h3{line-height:44px} .healthcare-ins-main>div p, .cover-heightlight-main li{line-height:20px}.know-more[_ngcontent-%COMP%] .bg-light-pink[_ngcontent-%COMP%]{border-radius:32px;box-shadow:10px 10px #ffe9d4}.know-more-heading[_ngcontent-%COMP%] h6[_ngcontent-%COMP%]{line-height:24px}.know-more-download[_ngcontent-%COMP%]{width:83%;padding-left:25px}.know-more-download[_ngcontent-%COMP%] li[_ngcontent-%COMP%]{background:#ffead6;border-radius:29px}.know-more-download[_ngcontent-%COMP%] li[_ngcontent-%COMP%]:not(:last-of-type){margin-right:40px}.know-more-download[_ngcontent-%COMP%] li[_ngcontent-%COMP%] a[_ngcontent-%COMP%]{font-size:16px;line-height:20px;color:#565656;font-family:montserrat-bold}.know-more-sec3[_ngcontent-%COMP%] .know-more-download[_ngcontent-%COMP%]{width:96%;padding-left:0}.know-more-sec3[_ngcontent-%COMP%] .know-more-download[_ngcontent-%COMP%] li[_ngcontent-%COMP%]{width:225px}.policy-status-form[_ngcontent-%COMP%] .reference-id-box .form-control{display:none}.policy-status-form[_ngcontent-%COMP%] .reference-id-box .form-control.active{display:block} .accept-tnc{position:absolute;width:auto!important;padding:0;bottom:-40px;margin-bottom:0!important;margin-right:0!important;left:0} .accept-tnc label{font-weight:500!important;font-size:14px!important;margin-bottom:0!important}@media (max-width: 1200px) and (min-width: 992px){.policy-status-form-container[_ngcontent-%COMP%]{margin-bottom:70px}.know-more[_ngcontent-%COMP%] .bg-light-pink[_ngcontent-%COMP%]{padding:48px 24px 48px 35px!important} .healthcare-ins-main>div{max-width:inherit}.know-more-download[_ngcontent-%COMP%] li[_ngcontent-%COMP%]{margin-right:40px;margin-bottom:20px}}@media (max-width:991.2px) and (min-width: 769px){ .accept-tnc{position:relative;bottom:auto;margin-top:20px!important}.policy-status-form-container.policy-status-main[_ngcontent-%COMP%]{margin-bottom:0!important}.policy-status-form[_ngcontent-%COMP%]{width:100%;margin:0 auto;box-shadow:unset;border:none;padding:0;border-radius:0;-webkit-border-radius:0;-moz-border-radius:0;-ms-border-radius:0;-o-border-radius:0} .policy-status-tabs .tabs-main>.nav-tabs .nav-link{padding:7px 25px} .policy-status-tabs .tabs-main>.nav-tabs .nav-item .nav-link img{width:24px;height:24px}.know-more-download[_ngcontent-%COMP%]{margin-top:12px}.know-more-download[_ngcontent-%COMP%] li[_ngcontent-%COMP%]:not(:last-of-type){margin-right:20px}.know-more-download[_ngcontent-%COMP%] li[_ngcontent-%COMP%]{margin-bottom:20px}.know-more[_ngcontent-%COMP%] .know-more-heading[_ngcontent-%COMP%]{width:100%;text-align:center} .healthcare-ins-section{padding:25px 0}}@media (max-width: 768px) and (min-width: 576px){ .accept-tnc{position:relative;bottom:auto;margin-top:20px!important}.policy-status-form-container.policy-status-main[_ngcontent-%COMP%]{padding:0;margin-bottom:0!important}.policy-status-form[_ngcontent-%COMP%]{width:100%;margin:0 auto;box-shadow:unset;border:none;padding:0;border-radius:0;-webkit-border-radius:0;-moz-border-radius:0;-ms-border-radius:0;-o-border-radius:0} .policy-status-tabs .tabs-main>.nav-tabs{margin-bottom:10px} .policy-status-tabs .tabs-main>.nav-tabs{border:none;margin-bottom:0!important} .policy-status-tabs .tabs-main>.nav-tabs li{margin:0 20px 0 0;min-width:auto} .policy-status-tabs .tabs-main>.nav-tabs li:last-of-type{margin:0} .policy-status-tabs .tabs-main>.nav-tabs .nav-link{border:1px solid #d8d8d8;padding:7px 20px;border-radius:44px!important;-webkit-border-radius:44px!important;-moz-border-radius:44px!important;-ms-border-radius:44px!important;-o-border-radius:44px!important} .policy-status-tabs .tabs-main>.nav-tabs .nav-link.active{border:1px solid transparent} .policy-status-form .tab-content{padding:0 15px} .healthcare-ins-section{padding-bottom:30px} .healthcare-ins-main{width:100%;margin:0 auto} .healthcare-ins-main>div{max-width:initial} .healthcare-ins-main>div h3{font-size:24px;line-height:29px} .healthcare-ins-main>div p{font-size:12px!important;line-height:16px} .healthcare-ins-main>div p br{display:none}.know-more[_ngcontent-%COMP%] .bg-light-pink[_ngcontent-%COMP%]{width:100%;padding:16px 16px 27px!important;text-align:center}.know-more[_ngcontent-%COMP%] .know-more-heading[_ngcontent-%COMP%]{width:100%}.know-more[_ngcontent-%COMP%] .know-more-download[_ngcontent-%COMP%]{width:100%;margin:0 auto}.know-more[_ngcontent-%COMP%] .know-more-download[_ngcontent-%COMP%] li[_ngcontent-%COMP%]{width:auto;margin:0 auto 16px}.know-more[_ngcontent-%COMP%] .know-more-download[_ngcontent-%COMP%] li[_ngcontent-%COMP%]:last-of-type{margin:0 auto 16px!important}.know-more[_ngcontent-%COMP%] .know-more-download[_ngcontent-%COMP%] li[_ngcontent-%COMP%] a[_ngcontent-%COMP%]{font-size:14px;line-height:17px}.know-more-heading[_ngcontent-%COMP%] h6[_ngcontent-%COMP%]{padding:0 45px;line-height:15px;margin-bottom:16px}.know-more-sec2[_ngcontent-%COMP%] .know-more-download[_ngcontent-%COMP%] li[_ngcontent-%COMP%]{width:215px}.buy-now-data[_ngcontent-%COMP%], .renew-now-data[_ngcontent-%COMP%]{padding-top:10px}.checkbox-dark[_ngcontent-%COMP%]{padding:0 15px} .cover-heightlight-main .carousel .slick-dots{bottom:-35px} .policy-status-tabs .tab-content .tab-pane{display:block;opacity:0;height:0;overflow:hidden} .policy-status-tabs .tab-content .tab-pane.active{opacity:1;height:auto;overflow:inherit} .policy-status-tabs .tabs-main>.nav-tabs .nav-item .nav-link img{width:22px;height:22px}}@media (max-width: 575px) and (min-width: 320px){ .accept-tnc{position:relative;bottom:auto;margin-top:20px!important}.policy-status-form-container.policy-status-main[_ngcontent-%COMP%]{padding:0;margin-bottom:0!important}.policy-status-form[_ngcontent-%COMP%]{width:100%;margin:0 auto;box-shadow:unset;border:none;padding:0;border-radius:0;-webkit-border-radius:0;-moz-border-radius:0;-ms-border-radius:0;-o-border-radius:0} .policy-status-tabs .tabs-main>.nav-tabs{border:none} .policy-status-tabs .tabs-main>.nav-tabs li{margin:0 20px 0 0;min-width:auto} .policy-status-tabs .tabs-main>.nav-tabs li:last-of-type{margin:0} .policy-status-tabs .tabs-main>.nav-tabs .nav-link{border:1px solid #d8d8d8;padding:7px 20px;border-radius:44px!important;-webkit-border-radius:44px!important;-moz-border-radius:44px!important;-ms-border-radius:44px!important;-o-border-radius:44px!important} .policy-status-tabs .tabs-main>.nav-tabs .nav-link.active{border:1px solid transparent} .policy-status-form .tab-content{padding:0 15px}.checkbox-dark[_ngcontent-%COMP%]{padding:0 15px} .healthcare-ins-section{padding-bottom:30px} .healthcare-ins-main{width:100%;margin:0 auto} .healthcare-ins-main>div{max-width:initial} .healthcare-ins-main>div h3{font-size:24px;line-height:29px} .healthcare-ins-main>div p{font-size:12px!important;line-height:16px}.know-more[_ngcontent-%COMP%] .bg-light-pink[_ngcontent-%COMP%]{width:100%;padding:16px 16px 27px!important;text-align:center}.know-more[_ngcontent-%COMP%] .know-more-heading[_ngcontent-%COMP%]{width:100%}.know-more[_ngcontent-%COMP%] .know-more-download[_ngcontent-%COMP%]{width:100%;margin:0 auto;padding:0}.know-more[_ngcontent-%COMP%] .know-more-download[_ngcontent-%COMP%] li[_ngcontent-%COMP%]{width:auto;margin:0 auto 16px}.know-more[_ngcontent-%COMP%] .know-more-download[_ngcontent-%COMP%] li[_ngcontent-%COMP%]:last-of-type{margin:0 auto}.know-more[_ngcontent-%COMP%] .know-more-download[_ngcontent-%COMP%] li[_ngcontent-%COMP%] a[_ngcontent-%COMP%]{font-size:14px;line-height:17px}.know-more-heading[_ngcontent-%COMP%] h6[_ngcontent-%COMP%]{padding:0 45px;line-height:15px;margin-bottom:16px}.know-more-sec2[_ngcontent-%COMP%] .know-more-download[_ngcontent-%COMP%] li[_ngcontent-%COMP%]{width:210px}.buy-now-data[_ngcontent-%COMP%], .renew-now-data[_ngcontent-%COMP%]{padding-top:10px} .cover-heightlight-main .carousel .slick-dots{bottom:-35px} .policy-status-tabs .tab-content .tab-pane{display:block;opacity:0;height:0;overflow:hidden} .policy-status-tabs .tab-content .tab-pane.active{opacity:1;height:auto;overflow:inherit} .policy-status-tabs .tabs-main>.nav-tabs .nav-item .nav-link img{width:22px;height:22px}}"]})}}return o}
1)(),k=(()=>{class o{constructor(i,e){this.router=i,this.route=e,this.submitted=!1,this.renewNowTabActive=!1,this.reponseMsg="",this.renewalForms=new a.J3({policyno:new a.hs("",a.k0.required)})}ngOnInit(){this.renewId=localStorage.getItem("renewNowId"),this.renewNowTabId=sessionStorage.getItem("renewNowTabId")}activeRenewNowPolicy(){this.renewNowTabActive=!0}onSubmitexp(){this.reponseMsg="",this.router.navigate(["all-renewals-summary"])}static{this.\u0275fac=function(e){return new(e||o)(t.rXU(c.Ix),t.rXU(c.nX))}}static{this.\u0275cmp=t.VBU({type:o,selectors:[["app-all-renewals"]],decls:2,vars:0,template:function(e,n){1&e&&t.nrm(0,"app-all-renewals-banner")(1,"app-renew-policy-status")},dependencies:[x,v],styles:['#renewal-forms[_ngcontent-%COMP%]{position:relative}#renewal-forms[_ngcontent-%COMP%]:before{content:"";position:absolute;width:50%;height:100%;background:#fbe5e9;left:0;right:0;top:0;z-index:-1}.renewal-forms-inner[_ngcontent-%COMP%]{display:flex;align-items:center;justify-content:space-between;align-content:space-around}.form-control[_ngcontent-%COMP%]{border-radius:100px}.header[_ngcontent-%COMP%]{margin-bottom:40px}.left-side[_ngcontent-%COMP%]{width:50%}.left-side[_ngcontent-%COMP%] img[_ngcontent-%COMP%]{width:400px;margin:0 auto}.left-side[_ngcontent-%COMP%] h1[_ngcontent-%COMP%]{text-align:center;margin:40px 0 10px;font-weight:800;color:#c81332;font-size:34px}form[_ngcontent-%COMP%] label[_ngcontent-%COMP%]{font-weight:700}.right-forms[_ngcontent-%COMP%]{width:50%;padding:30px;text-align:center;border-radius:10px}.sec-form[_ngcontent-%COMP%]{width:300px;margin:0 auto}']})}}return o})(),F=(()=>{class o{constructor(i){this.modalService=i}ngOnInit(){this.input=this.modalService.config.initialState,this.Url=this.input.Url,this.premium=this.input.premium}closePopup(){this.modalService.hide()}static{this.\u0275fac=function(e){return new(e||o)(t.rXU(u.I8))}}static{this.\u0275cmp=t.VBU({type:o,selectors:[["app-renewal-final-premium-popup"]],decls:10,vars:2,consts:[[1,"popup-wrapper","sublimit-popup","text-center","py-3","py-lg-4","px-lg-3"],[1,"popup-header","position-relative"],["href","javascript:void(0)","aria-label","Close",1,"close",3,"click"],["src","./assets/images/icons/close-btn.svg","alt","close-btn"],[1,"popup-body","px-lg-5","px-3","px-lg-0"],[1,"fs-16","text-primary","montserrat-medium","text-medium"],[1,"text-center","my-4","my-lg-5"],[1,"h6","montserrat-bold","text-bold","btn","btn-success",3,"href"]],template:function(e,n){1&e&&(t.j41(0,"div",0)(1,"div",1)(2,"a",2),t.bIt("click",function(){return n.closePopup()}),t.nrm(3,"img",3),t.k0s()(),t.j41(4,"div",4)(5,"p",5),t.EFF(6),t.k0s(),t.j41(7,"div",6)(8,"a",7),t.EFF(9,"Continue"),t.k0s()()()()),2&e&&(t.R7$(6),t.SpI("Your final premium is \u20b9",n.premium,""),t.R7$(2),t.FS9("href",n.Url,t.B4B))}})}}return o})();function I(o,h){1&o&&(t.j41(0,"div",21)(1,"div",22),t.nrm(2,"div",23),t.EFF(3,"Please Wait.. "),t.k0s()())}const E=[{path:"all-renewals",component:k},{path:"all-renewals-summary",component:(()=>{class o{noWhitespaceValidator(i){return 0!==(i.value||"").trim().length?null:{whitespace:!0}}constructor(i,e,n){this._common=i,this.modalService=e,this.router=n,this.baseURL=w.c.complete_forward_url_health,this.submitted=!1,this.viewPlanHighlightToggled=!1,this.viewReferenceIdToggled=!0,this.refiddisabled=!0,this.checkPay=!1,this.isLoader=!1,this.motorProdCode=["2314","2379","2319","2373","2378","2381","2369","2316","2371","2380","2312","2374","2367","2320","2311","2375","2313","2318","2372","2317","2315"],this.allrenewalForms=new a.J3({name:new a.hs("",[a.k0.required]),email:new a.hs("",[a.k0.required]),dob:new a.hs("",[a.k0.required]),idNumber:new a.hs("",[a.k0.required]),idtypes:new a.hs("",[a.k0.required]),Policyno:new a.hs("",[a.k0.required]),PolicyName:new a.hs("",[a.k0.required]),PolStartdate:new a.hs("",[a.k0.required]),PolEnddate:new a.hs(void 0,[a.k0.required]),Suminsured:new a.hs(void 0,[a.k0.required]),NetPremium:new a.hs(void 0,[a.k0.required]),Servicetax:new a.hs(void 0,[a.k0.required]),GrossPremium:new a.hs(void 0,[a.k0.required])}),this.CurrentUrl=window.location.href,this.mdatalo=localStorage.getItem("allrenewalsNo")}ngOnInit(){this.getPolData()}Space(i){0===i.target.selectionStart&&"Space"===i.code&&i.preventDefault()}getPolData(){let i=this.mdatalo;var e=i.split("/");this.motorProdCode.filter(r=>r==e[0]).length>0?(this.isLoader=!0,this._common.getPolicyPremiun_Blaze(i.replace(/\//g,"|")).subscribe(r=>{this.isLoader=!1;const l=r;console.log(r),null==r[0].policyNo?(alert(r[0].errorMessage),location.href="all-renewals"):this._common.allpolicyrenewal(i).subscribe(m=>{this.policy_details=m,this.policy_details.EMAIL=this.maskEmail(m.EMAIL),this.policy_details.MOBILE_NO=this.maskMobileNumber(m.MOBILE_NO),this.policy_details.PolicyName=l[0].productName,this.policy_details.Suminsured=l[0].NetPremium,this.policy_details.GrossPremium=l[0].FinalPremium,this.policy_details.PolStartdate=l[0].policyStartDate,this.policy_details.PolEnddate=l[0].policyEndDate,console.log(m)})})):this._common.allpolicyrenewal(i).subscribe(r=>{this.policy_details=r,this.policy_details.EMAIL=this.maskEmail(r.EMAIL),this.policy_details.MOBILE_NO=this.maskMobileNumber(r.MOBILE_NO),
1console.log(r)})}maskMobileNumber(i){return null==i||""==i?"":i.replace(/(\d{3})(\d{3})(\d{4})/,"$1****$3")}maskEmail(i){if(null==i||""==i)return"";const[e,n]=i.split("@");return`${e.length>3?e[0]+"******"+e.slice(-1):e[0]+"***"}@${n}`}payPremium(i,e){var r=i+"&SystemFlag=OL",l=e.split("/");["2311","2319","2367","2398","2312","2374"].filter(d=>d==l[0]).length>0?(this.isLoader=!0,this._common.getPolicyPremiun_Blaze(e.replace(/\//g,"|")).subscribe(d=>{this.isLoader=!1,console.log(d),this.modalService.show(F,Object.assign({class:"members-popup modal-lg",initialState:{Url:r,premium:d[0].FinalPremium},backdrop:"static"}))})):location.href=r}static{this.\u0275fac=function(e){return new(e||o)(t.rXU(f.h),t.rXU(u.I8),t.rXU(c.Ix))}}static{this.\u0275cmp=t.VBU({type:o,selectors:[["app-all-renewals-summary"]],decls:72,vars:11,consts:[["id","renewal-summary"],[1,"container"],[1,"row"],[1,"col-12","col-lg-12","col-md-6"],[1,"summary-section"],[1,"info-box"],[1,"col-lg-12"],[1,"finalpay-bottom"],[1,"container","d-flex","justify-content-between","align-items-center"],[1,"d-flex","align-items-lg-center","flex-column","flex-lg-row"],[1,"fs-16","text-bold","montserrat-bolder","text-dark","mr-3","mb-1","mb-lg-0"],[1,"d-flex","align-items-center"],[1,"h6","montserrat-medium","text-danger"],[1,"montserrat-extrabold","mr-1"],[1,"montserrat-extrabold"],[1,"d-flex","align-items-center","justify-content-between","w-100x"],[1,"mr-3","d-none","d-lg-block"],["src","./assets/images/icons/hand.svg","alt",""],[1,"fs-16","text-primary","montserrat-medium","mr-4","d-none","d-lg-block"],[1,"btn","btn-danger",3,"click"],["class","popup-wrapper",4,"ngIf"],[1,"popup-wrapper"],[1,"popup-body"],[1,"loader"]],template:function(e,n){1&e&&(t.j41(0,"div",0)(1,"div",1)(2,"div",2)(3,"div",3)(4,"div",4)(5,"div",5)(6,"h3"),t.EFF(7,"Insured Name."),t.k0s(),t.j41(8,"p"),t.EFF(9),t.k0s()(),t.j41(10,"div",5)(11,"h3"),t.EFF(12,"Mobile No."),t.k0s(),t.j41(13,"p"),t.EFF(14),t.k0s()(),t.j41(15,"div",5)(16,"h3"),t.EFF(17,"Email ID."),t.k0s(),t.j41(18,"p"),t.EFF(19),t.k0s()(),t.j41(20,"div",5)(21,"h3"),t.EFF(22,"Policy No."),t.k0s(),t.j41(23,"p"),t.EFF(24),t.k0s()(),t.j41(25,"div",5)(26,"h3"),t.EFF(27,"Policy Name"),t.k0s(),t.j41(28,"p"),t.EFF(29),t.k0s()(),t.j41(30,"div",5)(31,"h3"),t.EFF(32,"Policy Start Date "),t.k0s(),t.j41(33,"p"),t.EFF(34),t.k0s()(),t.j41(35,"div",5)(36,"h3"),t.EFF(37,"Policy End Date"),t.k0s(),t.j41(38,"p"),t.EFF(39),t.k0s()(),t.j41(40,"div",5)(41,"h3"),t.EFF(42,"Sum Insured"),t.k0s(),t.j41(43,"p"),t.EFF(44),t.k0s()(),t.j41(45,"div",5)(46,"h3"),t.EFF(47," Total Premium"),t.k0s(),t.j41(48,"p"),t.EFF(49),t.k0s()()()()(),t.j41(50,"div",2)(51,"div",6)(52,"div",7)(53,"div",8)(54,"div",9)(55,"div",10),t.EFF(56,"Total Premium "),t.k0s(),t.j41(57,"div",11)(58,"div",12),t.nrm(59,"span",13),t.j41(60,"span",14),t.EFF(61),t.k0s(),t.EFF(62," p.a. "),t.k0s()()(),t.j41(63,"div",15)(64,"div",11)(65,"figure",16),t.nrm(66,"img",17),t.k0s(),t.j41(67,"div",18),t.EFF(68," Total premium paid will be annually "),t.k0s()(),t.j41(69,"a",19),t.bIt("click",function(){return n.payPremium(null==n.policy_details?null:n.policy_details.Url,null==n.policy_details?null:n.policy_details.Policyno)}),t.EFF(70,"Pay "),t.k0s()()()()()()(),t.DNE(71,I,4,0,"div",20),t.k0s()),2&e&&(t.R7$(9),t.SpI("",null==n.policy_details?null:n.policy_details.NAME_OF_INSURED," "),t.R7$(5),t.SpI("",null==n.policy_details?null:n.policy_details.MOBILE_NO," "),t.R7$(5),t.SpI("",null==n.policy_details?null:n.policy_details.EMAIL," "),t.R7$(5),t.SpI("",null==n.policy_details?null:n.policy_details.Policyno," "),t.R7$(5),t.SpI("",null==n.policy_details?null:n.policy_details.PolicyName," "),t.R7$(5),t.SpI("",null==n.policy_details?null:n.policy_details.PolStartdate," "),t.R7$(5),t.SpI("",null==n.policy_details?null:n.policy_details.PolEnddate," "),t.R7$(5),t.SpI("",null==n.policy_details?null:n.policy_details.Suminsured," "),t.R7$(5),t.SpI("",null==n.policy_details?null:n.policy_details.GrossPremium," "),t.R7$(12),t.SpI("\u20b9",null==n.policy_details?null:n.policy_details.GrossPremium,"/- "),t.R7$(10),t.Y8G("ngIf",n.isLoader))},dependencies:[p.bT],styles:['#renewal-summary[_ngcontent-%COMP%] h2[_ngcontent-%COMP%]{color:#fff;font-weight:800}.summary-section[_ngcontent-%COMP%], .ckyc-section[_ngcontent-%COMP%]{border-radius:10px;padding:30px;box-shadow:0 .5rem 1rem #00000026;display:grid;grid-template-columns:auto auto;margin-bottom:30px}.info-box[_ngcontent-%COMP%]{border:1px solid #ffd5d5;margin:10px;padding:14px;position:relative;font-weight:900}.info-box[_ngcontent-%COMP%]:after{position:absolute;content:"";background:#dc3545;width:4px;height:15px;left:0;right:0;top:16px}.info-box[_ngcontent-%COMP%] h3[_ngcontent-%COMP%]{font-weight:600;font-size:13px;margin-bottom:9px}.info-box[_ngcontent-%COMP%] p[_ngcontent-%COMP%]{color:#000}.finalpay-bottom[_ngcontent-%COMP%]{background:#fdcccc;margin:10px 0 50px;padding:20px 0}.indian-bank-healthcare-form-main[_ngcontent-%COMP%] .policy-status-form[_ngcontent-%COMP%]{margin:-55px auto 0;padding:24px 33px 37px;background:#fff;border:1px solid #d8d8d8;box-sizing:border-box;box-shadow:0 0 30px #78787840;border-radius:24px;position:relative}.buy-now-policy-form[_ngcontent-%COMP%] .form-group[_ngcontent-%COMP%]{margin:0 7px 20px;width:250px;max-width:100%}.buy-now-policy-form[_ngcontent-%COMP%] .form-group[_ngcontent-%COMP%] label[_ngcontent-%COMP%]{font-size:16px;line-height:20px;color:#838383;font-weight:600;margin-bottom:8px;display:block} .intl-tel-number.contact-number{width:100%}.buy-now-policy-form[_ngcontent-%COMP%] .form-select[_ngcontent-%COMP%], .buy-now-policy-form .form-select:nth-of-type(1) .form-control.btn, .buy-now-policy-form .form-select:nth-of-type(1) input{width:250px}.buy-now-policy-form[_ngcontent-%COMP%] .btn-control[_ngcontent-%COMP%] .btn[_ngcontent-%COMP%]{font-size:18px;padding-left:36px;padding-right:36px}.datepicker[_ngcontent-%COMP%] img[_ngcontent-%COMP%]{position:absolute;z-index:9;right:18px;top:38px}.popup-wrapper[_ngcontent-%COMP%]{padding:20px;position:fixed;z-index:1;left:0;top:0;width:100%;height:100%;overflow:auto;background-color:#000;background-color:#0006}.popup-body[_ngcontent-%COMP%]{background-color:#fefefe;margin:15% auto;padding:20px;border:1px solid #888;
1width:200px;display:flex;justify-content:flex-start;line-height:20px}.loader[_ngcontent-%COMP%]{border:3px solid #f3f3f3;border-top:3px solid #3498db;border-radius:50%;width:20px;height:20px;animation:_ngcontent-%COMP%_spin 2s linear infinite;margin-right:6px}@keyframes _ngcontent-%COMP%_spin{0%{transform:rotate(0)}to{transform:rotate(360deg)}}@media (max-width: 1200px) and (min-width: 992px){.policy-status-form-container[_ngcontent-%COMP%]{margin-bottom:70px}}@media (max-width: 575px) and (min-width: 320px){.summary-section[_ngcontent-%COMP%]{display:block}}']})}}return o})()}];let R=(()=>{class o{static{this.\u0275fac=function(e){return new(e||o)}}static{this.\u0275mod=t.$C({type:o})}static{this.\u0275inj=t.G2t({imports:[c.iI.forChild(E),c.iI]})}}return o})();var S=s(5452);let j=(()=>{class o{static{this.\u0275fac=function(e){return new(e||o)}}static{this.\u0275mod=t.$C({type:o})}static{this.\u0275inj=t.G2t({imports:[p.MD,S.PluginsModule,a.YN,a.X1,R]})}}return o})()}}]);
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.