PageSourceSearch

https://www.generali.pl/chunk-NRLOPPOC.js

js generali.pl collected 2026-10-02 06:58:29 UTC 9,168 bytes, 2 lines download raw bytes

1import{a as V}from"./chunk-ZWNWPDWU.js";import{a as N}from"./chunk-EQP3DVXR.js";import"./chunk-BPPF74VW.js";import"./chunk-KBEQHEFS.js";import{c as A}from"./chunk-DBMZ2FW2.js";import"./chunk-FTBNS4BT.js";import{a as D}from"./chunk-ML2VKEDA.js";import{a as O}from"./chunk-PK3IEUEV.js";import{b as R}from"./chunk-DXLADJSM.js";import{a as P}from"./chunk-EXXEYBHN.js";import"./chunk-XR4Q4XHY.js";import"./chunk-BZLMTFMS.js";import"./chunk-W36HMFSZ.js";import"./chunk-ABDHL34B.js";import"./chunk-Z4P3GBIA.js";import"./chunk-ZIKOWNQH.js";import{c as B}from"./chunk-5ATU3GAV.js";import"./chunk-WOWYN5AH.js";import"./chunk-ZRO626GY.js";import"./chunk-DXHI4AXI.js";import"./chunk-VLMN5XZ4.js";import{a as z}from"./chunk-XSZ7GNEZ.js";import{j as H,l as M,m as j,w as b}from"./chunk-OW2E6MHJ.js";import"./chunk-D3HJNNCI.js";import{Kb as d,Kc as E,Sb as o,Tb as r,Ub as s,Vb as g,Za as k,ab as n,ba as v,ic as m,mb as x,mc as C,nc as L,oa as w,oc as T,tb as S,ub as I,uc as F,wa as y,xc as f,yb as c,zc as u}from"./chunk-IN3KCKEM.js";import"./chunk-MLW752Y7.js";var Q=["swiperEl"];function U(t,i){if(t&1&&(r(0,"span",9),f(1),s()),t&2){let e=m(2);n(),u(" ",e.accessibleHeading," ")}}function q(t,i){if(t&1&&(r(0,"div",6)(1,"h2",7),f(2),c(3,U,2,1,"span",8),s()()),t&2){let e=m();n(),F("visually-hidden",!e.title),d("id",e.headingId),n(),u(" ",e.title||e.accessibleHeading," "),n(),o("ngIf",e.title&&e.accessibleHeading&&e.accessibleHeading!==e.title)}}function G(t,i){if(t&1&&(r(0,"span",17),w(),r(1,"svg",18),g(2,"image"),s()()),t&2){let e=m().$implicit;n(2),d("href",e.Icon.url,null,"xlink")("alt",e.Icon.alternativeText||"")}}function W(t,i){if(t&1&&(r(0,"span",9),f(1),s()),t&2){let e=m().$implicit;n(),u("\xA0",e.ScreenReaderLabel)}}function J(t,i){if(t&1&&(r(0,"swiper-slide")(1,"a",12),c(2,G,3,2,"span",13),r(3,"div",14)(4,"div",15),f(5),c(6,W,2,1,"span",8),s(),g(7,"svg-icon",16),s()()()),t&2){let e=i.$implicit;n(),o("href",e.LinkAddress,k),d("aria-label",e.LinkLabel+(e.ScreenReaderLabel?" "+e.ScreenReaderLabel:"")),n(),o("ngIf",e.Icon&&e.Icon.url),n(3),u(" ",e.LinkLabel," "),n(),o("ngIf",e.ScreenReaderLabel)}}function K(t,i){if(t&1&&(r(0,"swiper-container",10,0),c(2,J,8,5,"swiper-slide",11),s()),t&2){let e=m();n(2),o("ngForOf",e.tiles)}}function X(t,i){t&1&&g(0,"div",19)}function Y(t,i){if(t&1&&(r(0,"span",17),w(),r(1,"svg",18),g(2,"image"),s()()),t&2){let e=m().$implicit;n(2),d("href",e.Icon.url,null,"xlink")("alt",e.Icon.alternativeText||"")}}function Z(t,i){if(t&1&&(r(0,"span",9),f(1),s()),t&2){let e=m().$implicit;n(),u("\xA0",e.ScreenReaderLabel)}}function ee(t,i){if(t&1&&(r(0,"a",12),c(1,Y,3,2,"span",13),r(2,"div",14)(3,"div",15),f(4),c(5,Z,2,1,"span",8),s(),g(6,"svg-icon",16),s()()),t&2){let e=i.$implicit;o("href",e.LinkAddress,k),d("aria-label",e.LinkLabel+(e.ScreenReaderLabel?" "+e.ScreenReaderLabel:"")),n(),o("ngIf",e.Icon&&e.Icon.url),n(3),u(" ",e.LinkLabel," "),n(),o("ngIf",e.ScreenReaderLabel)}}function te(t,i){if(t&1&&(r(0,"div",20),c(1,ee,7,5,"a",21),s()),t&2){let e=m();n(),o("ngForOf",e.tiles)}}var h=(()=>{let i=class i{constructor(a,l){this.appContext=a,this.strapiService=l,this.maxDesktop=4,this.buildClasses=P,this.headingId="",this.isBrowser=this.appContext.isBrowser,this.ssgSlides=y(!0)}ngOnInit(){this.headingId=this.appContext.nextAriaId("h"),this.tiles=this.tiles.map(a=>(a.LinkAddress||a.LinkPage&&(a.LinkAddress=this.strapiService.getPageUrl(a.LinkPage.id)),a))}ngAfterViewInit(){if(!this.isBrowser)return;let a=this.swiperEl?.nativeElement;if(!a)return;let l=this.getSwiperOptions();Object.assign(a,l),a.initialize();let p=a.swiper;p&&(p.on("breakpoint",()=>{let _=window.innerWidth;_>=768&&_<1024&&this.tiles.length>1&&queueMicrotask(()=>
1p.slideTo(1,0))}),setTimeout(()=>{this.ssgSlides.set(!1)}))}getSwiperOptions(){let a=Math.min(this.tiles.length,this.maxDesktop);return{init:!1,slidesPerView:1,centeredSlides:!0,spaceBetween:12,watchOverflow:!0,a11y:{enabled:!0,prevSlideMessage:"Poprzedni slajd",nextSlideMessage:"Nast\u0119pny slajd",firstSlideMessage:"To jest pierwszy slajd",lastSlideMessage:"To jest ostatni slajd",paginationBulletMessage:"Przejd\u017A do slajdu {{index}}"},pagination:{el:".feature-blocks__pagination",clickable:!0},breakpoints:{768:{slidesPerView:Math.min(2,a),centeredSlides:!0,spaceBetween:16},992:{slidesPerView:Math.min(4,a),centeredSlides:!1,spaceBetween:24}}}}};i.\u0275fac=function(l){return new(l||i)(x(z),x(B))},i.\u0275cmp=S({type:i,selectors:[["app-lp-hw-feature-tiles"]],viewQuery:function(l,p){if(l&1&&C(Q,5),l&2){let _;L(_=T())&&(p.swiperEl=_.first)}},inputs:{title:"title",accessibleHeading:"accessibleHeading",tiles:"tiles",margins:"margins",maxDesktop:"maxDesktop"},decls:5,vars:6,consts:[["swiperEl",""],[1,"feature-blocks",3,"ngClass"],["class","mb-10",4,"ngIf"],["init","false","class","feature-blocks__swiper","aria-label","Lista skr\xF3t\xF3w",4,"ngIf"],["class","feature-blocks__pagination",4,"ngIf"],["class","feature-blocks__grid",4,"ngIf"],[1,"mb-10"],[1,"feature-blocks__title"],["class","visually-hidden",4,"ngIf"],[1,"visually-hidden"],["init","false","aria-label","Lista skr\xF3t\xF3w",1,"feature-blocks__swiper"],[4,"ngFor","ngForOf"],[1,"feature-block","cta-100-bold",3,"href"],["class","feature-block__icon",4,"ngIf"],[1,"feature-block__bottom"],[1,"feature-block__text"],["key","arrow_right_alt","size","lg"],[1,"feature-block__icon"],["aria-hidden","true","focusable","false"],[1,"feature-blocks__pagination"],[1,"feature-blocks__grid"],["class","feature-block cta-100-bold",3,"href",4,"ngFor","ngForOf"]],template:function(l,p){l&1&&(r(0,"section",1),c(1,q,4,5,"div",2)(2,K,3,1,"swiper-container",3)(3,X,1,0,"div",4)(4,te,2,1,"div",5),s()),l&2&&(o("ngClass",p.buildClasses.marginBottom(p.margins)),d("aria-labelledby",p.headingId),n(),o("ngIf",p.title),n(),o("ngIf",p.isBrowser),n(),o("ngIf",p.isBrowser),n(),o("ngIf",p.ssgSlides()))},dependencies:[b,H,M,j,O,D,N,A,R],styles:[`@-webkit-keyframes fadeIn{0%{opacity:0}to{opacity:1}}@-moz-keyframes fadeIn{0%{opacity:0}to{opacity:1}}@-ms-keyframes fadeIn{0%{opacity:0}to{opacity:1}}@-o-keyframes fadeIn{0%{opacity:0}to{opacity:1}}@keyframes fadeIn{0%{opacity:0}to{opacity:1}}.feature-blocks__title{font-family:Roboto,Arial,Helvetica Neue,Helvetica,sans-serif;font-weight:300;font-size:2.5rem;line-height:1.3}@media(min-width:768px){.feature-blocks__title{font-size:3rem;line-height:1.25}}.feature-blocks__title{margin-bottom:1rem;text-align:center}@media(min-width:768px){.feature-blocks__title{margin-bottom:1rem}}.feature-blocks__swiper{width:100%}swiper-slide{height:auto}.feature-block{display:flex;gap:.75rem;padding:.875rem 2rem;text-decoration:none;background-color:#c21b17;min-height:200px;border-radius:4px;flex-direction:column;justify-content:space-between}.feature-block__icon{max-height:48px;height:48px;display:flex;align-items:center;margin-top:2rem}.feature-block__icon svg{height:100%;max-height:48px;width:auto;display:block}.feature-block__icon svg image{height:100%}.feature-block__bottom{display:flex;align-items:center;justify-content:space-between}.feature-block__bottom svg-icon{filter:brightness(0) invert(1);align-self:end}.feature-block__text{display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:2;overflow:hidden;color:#fff;max-width:calc(100% - 1.25rem)}.feature-block:hover{background-color:#af2219}.feature-blocks__pagination{margin-top:2.5rem;display:flex;justify-content:center;align-items:center;gap:.375rem}.feature-blocks__pagination .swiper-pagination-bullet{width:10px;height:10px;border-radius:999px;background:#b0b2b3;transition:opacity .15s ease,transform .15s ease,background-color .15s ease}.feature-blocks__pagination .swiper-pagination-bullet:not(.swiper-pagination-bullet-active):first-child,.feature-blocks__pagination .swiper-pagination-bullet:not(.swiper-pagination-bullet-active):last-child{height:.375rem;width:.375rem}.feature-blocks__pagination .swiper-pagination-bullet-active{background:#c21b17;transform:scale(1.15);width:.625rem;height:.625rem}.feature-blocks__pagination .swiper-pagination-bullet:focus-visible{outline:medium solid orange;outline-offset:.0625rem}
1@media(min-width:992px){.feature-blocks__pagination{display:none}}.feature-blocks__grid{width:100%;display:grid;gap:.75rem;grid-template-columns:1fr}.feature-blocks__grid .feature-block{box-sizing:border-box}@media(min-width:768px){.feature-blocks__grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:1rem}}@media(min-width:992px){.feature-blocks__grid{grid-template-columns:repeat(4,minmax(0,1fr));gap:1.5rem}}html.contrast .feature-block{background-color:#1b1b1b;border:3px solid #ffffff}html.contrast .feature-block:hover{background-color:#000}html.contrast .feature-block__text{color:#00f8ff}html.contrast .feature-blocks__pagination .swiper-pagination-bullet{background:#fff}html.contrast .feature-blocks__pagination .swiper-pagination-bullet.swiper-pagination-bullet-active{background-color:#00f8ff}
2`],encapsulation:2,changeDetection:0});let t=i;return t})();var Te=(()=>{let i=class i{};i.\u0275fac=function(l){return new(l||i)},i.\u0275mod=I({type:i}),i.\u0275inj=v({imports:[b,h]});let t=i;return t})();E(V,[h],[]);export{Te as LpHwFeatureTilesContainerModule};

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.