PageSourceSearch

https://www.piraeus-sec.gr/dist/piraeussec/browser/2015.630048088d8c0c3a.js

js piraeus-sec.gr collected 2026-10-08 02:42:42 UTC 11,313 bytes, 2 lines download raw bytes

1"use strict";(self.webpackChunkpiraeusbank=self.webpackChunkpiraeusbank||[]).push([[2015],{22015:(N,c,l)=>{l.r(c),l.d(c,{InsuranceProductModuleModule:()=>Y});var u=l(97739),e=l(14055),g=l(19045),d=l(13071),a=l(89650),f=l(24758),b=l(75667),m=l(99720),p=l(40547),h=l(76437),v=l(91313),x=l(16776),C=l(59793);const I=["CardSlider"],w=["FilterSlider"];function _(i,s){if(1&i&&(e.TgZ(0,"h2",6),e._uU(1),e.qZA()),2&i){const t=e.oxw();e.xp6(1),e.hij(" ",null==t.rendering||null==t.rendering.fields||null==t.rendering.fields.result?null:t.rendering.fields.result.Title," ")}}function P(i,s){if(1&i&&(e.ynx(0),e.TgZ(1,"div",12)(2,"a",13),e._uU(3),e.qZA()(),e.BQk()),2&i){const t=s.$implicit,n=e.oxw(2);e.xp6(2),e.s9C("hreflang",n.language),e.s9C("href",null==t?null:t.link,e.LSH),e.Q6J("ngClass",t.active?"pb-filter--active":""),e.xp6(1),e.hij(" ",t.name," ")}}function y(i,s){if(1&i&&(e.TgZ(0,"div",7)(1,"div",8,9)(3,"div",10),e.YNc(4,P,4,4,"ng-container",11),e.qZA()()()),2&i){const t=e.oxw();e.xp6(4),e.Q6J("ngForOf",t.productCategoryList)}}function M(i,s){if(1&i&&(e.TgZ(0,"div",22)(1,"h4",23),e._uU(2),e.qZA()()),2&i){const t=e.oxw().$implicit;e.xp6(2),e.hij(" ",t.ProductType," ")}}function S(i,s){if(1&i&&(e.TgZ(0,"div",24),e._UZ(1,"img",25),e.ALo(2,"asset"),e.qZA()),2&i){const t=e.oxw().$implicit;e.xp6(1),e.s9C("alt",null==t||null==t.ImageMobile?null:t.ImageMobile.Alt),e.Q6J("defaultImage",e.lcZ(2,3,"images/default-image.png"))("lazyLoad",null==t||null==t.ImageMobile?null:t.ImageMobile.Href)}}function T(i,s){1&i&&e._UZ(0,"hr",31)}function Z(i,s){if(1&i&&e._UZ(0,"div",32),2&i){const t=e.oxw(2).$implicit;e.Q6J("innerHTML",null==t?null:t.KeyFeaturesProductGallery,e.oJD)}}function O(i,s){if(1&i&&(e.TgZ(0,"div",26)(1,"div")(2,"h3",27),e._uU(3),e.qZA(),e.TgZ(4,"div",28),e._uU(5),e.qZA()(),e.YNc(6,T,1,0,"hr",29),e.YNc(7,Z,1,1,"div",30),e.qZA()),2&i){const t=e.oxw().$implicit;e.xp6(3),e.hij(" ",null==t?null:t.Title," "),e.xp6(2),e.hij(" ",null==t?null:t.Subtitle," "),e.xp6(1),e.Q6J("ngIf",null==t?null:t.KeyFeaturesProductGallery),e.xp6(1),e.Q6J("ngIf",null==t?null:t.KeyFeaturesProductGallery)}}function L(i,s){if(1&i&&(e.ynx(0),e.TgZ(1,"div",17)(2,"a",18)(3,"div"),e.YNc(4,M,3,1,"div",19),e.YNc(5,S,3,5,"div",20),e.YNc(6,O,8,4,"div",21),e.qZA()()(),e.BQk()),2&i){const t=s.$implicit,n=e.oxw(2);e.xp6(2),e.s9C("hreflang",n.language),e.s9C("href",null==t||null==t.Link?null:t.Link.Href,e.LSH),e.xp6(1),e.Gre("pb-h-full !pb-justify-normal pb-card pb-card-product pb-card-product-with-img pb-theme--",n.theme,""),e.xp6(1),e.Q6J("ngIf",t.ProductType),e.xp6(1),e.Q6J("ngIf",null==t||null==t.ImageMobile?null:t.ImageMobile.Href),e.xp6(1),e.Q6J("ngIf",(null==t?null:t.Title)||(null==t?null:t.Subtitle))}}function j(i,s){if(1&i&&(e.TgZ(0,"div",14,15)(2,"div",16),e.YNc(3,L,7,8,"ng-container",11),e.qZA()()),2&i){const t=e.oxw();e.xp6(3),e.Q6J("ngForOf",null==t.rendering||null==t.rendering.fields||null==t.rendering.fields.result?null:t.rendering.fields.result.Insurance)}}function A(i,s){if(1&i){const t=e.EpF();e.TgZ(0,"div",33)(1,"div",34),e.NdJ("click",function(){e.CHM(t);const r=e.oxw();return e.KtG(r.showMore())}),e._uU(2),e.ALo(3,"translate"),e.qZA()()}2&i&&(e.xp6(2),e.Oqu(e.lcZ(3,1,"show-more")))}let Q=(()=>{class i{platformId;jssStylingService;apiService;deviceDetector;jssContext;translate;rendering;swiperSlider;swiperFilter;dynamicClass;dynamicId;tagsArray;visibleShowmore=!0;sc_params="";swiper;swiper1;productCategoryList=[];isMobile;_isPlatformServer=!1;contextSubscription;language;constructor(t,n,r,o,F,H){this.platformId=t,this.jssStylingService=n,this.apiService=r,this.deviceDetector=o,this.jssContext=F,this.translate=H}ngOnInit(){this._isPlatformServer=(0,a.PM)(this.platformId),this.contextSubscription=this.jssContext.state.subscribe(t=>{this.language=t.language}),this._isPlatformServer||(this.dynamicClass=this.jssStylingService.getComponentClass(this.rendering),this.dynamicId=this.jssStylingService.getComponentId(this.rendering),this.visibleShowmore=this.rendering?.fields?.result?.Insurance?.length<this.rendering?.fields?.result?.TotalResults,this.isMobile=this.deviceDetector.isMobile(),this.rendering?.fields?.result?.InsuranceProductCategories.forEac
1h(n=>{const r=this.rendering.fields?.result?.SelectedProductCategory?.Name;this.productCategoryList.push({name:n.Name,active:r==n.Name,link:n.Link?.Href})}),this.productCategoryList.unshift({name:this.rendering?.fields?.result?.Sector?.Name,active:!this.rendering.fields?.result?.SelectedProductCategory,link:this.rendering?.fields?.result?.Sector.Link?.Href}))}ngAfterViewInit(){if(!this._isPlatformServer){var t=this;this.swiper=new d.t(this.swiperSlider?.nativeElement,{enabled:!0,slidesPerView:"auto",freeMode:!0,centeredSlides:!1,spaceBetween:24,grabCursor:!0,watchSlidesProgress:!0,breakpoints:{1024:{enabled:!1}},on:{activeIndexChange:function(){t.swiper.slides[t.rendering?.fields?.result?.Insurance.length-2].classList.contains("swiper-slide-visible")&&t.showMore()}}}),this.swiperFilter&&(this.swiper1=new d.t(this.swiperFilter?.nativeElement,{slidesPerView:"auto",freeMode:!0,centeredSlides:!1,spaceBetween:24,grabCursor:!0,breakpoints:{1024:{enabled:!1}}}),this.swiper1.slideTo(this.swiper1.slides.findIndex(n=>n.children[0].classList.contains("pb-filter--active"))))}}ngOnDestroy(){this.contextSubscription&&this.contextSubscription.unsubscribe()}showMore(){this._isPlatformServer||this.apiService.fetch("/piraeusapi/products/insurance/getInsurances",{Sector:this.rendering.fields?.result?.Sector.Path,PageSize:3,Skip:this.rendering?.fields?.result?.Insurance.length,ExtraProducts:this.rendering?.fields?.result?.ExtraProducts,InsuranceCategory:this.rendering.fields?.result?.SelectedProductCategory?this.rendering.fields?.result?.SelectedProductCategory?.Path:this.rendering.fields?.result?.Sector?.Path}).then(n=>{200===n.status&&n.data&&(this.rendering?.fields?.result?.Insurance.push(...n.data),this.visibleShowmore=this.rendering?.fields?.result?.Insurance.length<this.rendering?.fields?.result?.TotalResults)})}static \u0275fac=function(n){return new(n||i)(e.Y36(e.Lbi),e.Y36(b.d),e.Y36(g.s),e.Y36(m.n),e.Y36(f.l),e.Y36(p.sK))};static \u0275cmp=e.Xpm({type:i,selectors:[["app-insurance-product-module"]],viewQuery:function(n,r){if(1&n&&(e.Gf(I,5),e.Gf(w,5)),2&n){let o;e.iGM(o=e.CRH())&&(r.swiperSlider=o.first),e.iGM(o=e.CRH())&&(r.swiperFilter=o.first)}},inputs:{rendering:"rendering"},decls:6,vars:6,consts:[[3,"ngClass"],[1,"pb-container","pb-mb-6","lg:pb-mb-7"],["data-title","true","class","pb-text-d-xl-m lg:pb-text-d-xl pb-font-serif pb-mb-2 lg:pb-mb-4 pb-text-color-brand",4,"ngIf"],["class","pb-mt-4 lg:pb-mt-6",4,"ngIf"],["class","swiper pb-swiper-slider-mobile pb-mobile-swiper-fm",4,"ngIf"],["class","pb-hidden pb-justify-center pb-mt-8 lg:pb-flex",4,"ngIf"],["data-title","true",1,"pb-text-d-xl-m","lg:pb-text-d-xl","pb-font-serif","pb-mb-2","lg:pb-mb-4","pb-text-color-brand"],[1,"pb-mt-4","lg:pb-mt-6"],[1,"pb-m-filter","swiper","pb-swiper-filter"],["FilterSlider",""],[1,"swiper-wrapper","!pb-w-fit","lg:pb-flex-wrap","lg:!pb-translate-x-0"],[4,"ngFor","ngForOf"],[1,"swiper-slide","!pb-w-fit","pb-py-3","pb-cursor-pointer","pb-whitespace-nowrap"],["hybridHref","",1,"pb-c-filter-item",3,"hreflang","href","ngClass"],[1,"swiper","pb-swiper-slider-mobile","pb-mobile-swiper-fm"],["CardSlider",""],[1,"swiper-wrapper","lg:pb-grid","lg:pb-grid-cols-3","lg:pb-gap-x-6","lg:pb-gap-y-13","lg:!pb-translate-x-0"],[1,"swiper-slide","!pb-w-[310px]","lg:!pb-w-full","!pb-h-auto"],["hybridHref","",3,"hreflang","href"],["class","pb-p-4 pb-card-top pb-relative pb-flex pb-justify-between pb-items-center",4,"ngIf"],["class","pb-card-product-img-placeholder",4,"ngIf"],["class","pb-p-5 pb-card-bottom pb-h-full pb-flex pb-flex-col ",4,"ngIf"],[1,"pb-p-4","pb-card-top","pb-relative","pb-flex","pb-justify-between","pb-items-center"],[1,"pb-text-xs-m","lg:pb-text-xs","pb-font-bold"],[1,"pb-card-product-img-placeholder"],["offset","100",3,"defaultImage","lazyLoad","alt"],[1,"pb-p-5","pb-card-bottom","pb-h-full","pb-flex","pb-flex-col"],[1,"pb-text-h-xs-m","lg:pb-text-h-sm","pb-font-bold","pb-mb-2","pb-line-clamp-3","pb-h-[3lh]"],[1,"pb-line-clamp-3","pb-h-[3lh]"],["class","pb-mt-4 pb-mb-2",4,"ngIf"],["class","pb-article pb-article-piraeus ","appRichTextRouter","",3,"innerHTML",4,"ngIf"],[1,"pb-mt-4","pb-mb-2"],["appRichTextRouter","",1,"pb-article","pb-article-piraeus",3,"innerHTML"],[1,"pb-hidden","pb-justify-center","pb-mt-8","lg:pb-flex"],[1,"pb-btn","pb-btn-secondary","pb-w-full","md:pb-w-fit",3,"click"]],template:function(n,r){1&n&&(e.TgZ(0,"section",0)(1,"div",1),e.YNc(2,_,2,1,"h2",2),e.YNc(3,y,5,1,"div",3),e.qZA(),e.YNc(4,j,4,1,"div",4),e.YNc(5,A,4,3,"div",5),e.qZA()),2&n&&(e.Q6J("ngClass",r.dynamicClass),e.uIk("id",r.dynamicId?r.dynamicId:null),e.xp6(2),e.Q6J("ngIf",null==r.rendering||null==r.rendering.fields||null==r.rendering.fields.result?null:r.rendering.fields.result.Title),e.xp6(1),e.Q6J("ngIf",(null==r.productCategoryList?null:r.productCategoryList.length)>2),e.xp6(1),e.Q6J("ngIf",(null==r.rendering||null==r.rendering.fields||null==r.rendering.fields.result?null:r.rendering.fields.result.Insurance.length)>0),e.xp6(1),e.Q6J("ngIf",r.visibleShowmore))},dependencies:[a.mk,a.sg,a.O5,h.C,v.M,x.z1,C.W,p.X$],styles:[".pb-c-filter-item[_ngcontent-%COMP%]{display:flex;width:-moz-fit-content;width:fit-content;cursor:pointer;align-items:center;justify-content:center;gap:.5rem;padding:1rem 1.5rem;font-size:1.125rem;line-height:140%;font-weight:700;text-decoration-line:none}@media (min-width: 768px){.pb-c-filter-item[_ngcontent-%COMP%]{padding-left:2rem;padding-right:2rem;font-size:1rem;line-height:140%}}.pb-c-filter-item[_ngcontent-%COMP%]{border-radius:6.25rem;background-color:rgba(var(--pb-c-filter-item),1);color:rgba(var(--pb-c-filter-item-text),1)}.pb-c-filter-item[_ngcontent-%COMP%]   i[_ngcontent-%COMP%]{font-size:24px;
1color:rgba(var(--pb-c-filter-item-icon),1)}.pb-c-filter-item[_ngcontent-%COMP%]:hover{background-color:rgba(var(--pb-c-filter-item-hover),1);color:rgba(var(--pb-c-filter-item-text-hover),1)}.pb-c-filter-item[_ngcontent-%COMP%]:hover   i[_ngcontent-%COMP%]{color:rgba(var(--pb-c-filter-item-icon-hover),1)}.pb-c-filter-item.pb-filter--active[_ngcontent-%COMP%]{background-color:rgba(var(--pb-c-filter-item-active),1);color:rgba(var(--pb-c-filter-item-text-active),1)}.pb-c-filter-item.pb-filter--active[_ngcontent-%COMP%]   i[_ngcontent-%COMP%]{color:rgba(var(--pb-c-filter-item-icon-active),1)}.pb-c-filter-item[_ngcontent-%COMP%]:disabled{cursor:default;background-color:rgba(var(--pb-c-filter-item-disabled),1);color:rgba(var(--pb-c-filter-item-text-disabled),1)}.pb-c-filter-item[_ngcontent-%COMP%]:disabled   i[_ngcontent-%COMP%]{color:rgba(var(--pb-c-filter-item-icon-disabled),1)}.bottom-div[_ngcontent-%COMP%]{z-index:10;position:fixed;bottom:0;left:0;width:100%;background-color:rgba(var(--pb-background-default),1);padding:10px;box-shadow:0 -2px 5px #0000001a}.pb-card-product-img-placeholder[_ngcontent-%COMP%]   img[_ngcontent-%COMP%]{height:inherit;width:100%!important}"]})}return i})();var J=l(24614);let Y=(()=>{class i{static \u0275fac=function(n){return new(n||i)};static \u0275mod=e.oAB({type:i});static \u0275inj=e.cJS({imports:[u.n.forChild(Q),J.v]})}return i})()}}]);
2//# sourceMappingURL=2015.630048088d8c0c3a.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.