"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[2999],{18488:function(n,e,t){t.d(e,{Z:function(){return x}});var a=t(85893),i=t(94184),r=t.n(i),l=t(69569),o=t(2884),d=t(24443),s=t(82729),u=t(31666),c=t(11010);function m(){let n=(0,s._)(["\n    font-size: 12px;\n    margin-bottom: 24px;\n\n    @media all and (max-width: 820px) {\n        margin-bottom: 8px;\n    }\n\n    .breadcrumb {\n        color: ",";\n        text-decoration: none;\n        margin-left: 0.4em;\n        -webkit-tap-highlight-color: rgba(255, 255, 255, 0);\n        cursor: pointer;\n\n        &--underline {\n            text-decoration: underline;\n        }\n\n        &:first-of-type {\n            margin-left: 0;\n        }\n\n        &:hover {\n            color: ",";\n        }\n    }\n"]);return m=function(){return n},n}function p(){let n=(0,s._)(["\n    color: ",";\n    font-weight: 700;\n    margin-left: .4em;\n"]);return p=function(){return n},n}function h(){let n=(0,s._)(["\n    color: ",";\n    font-weight: 300;\n    margin-left: .4em;\n"]);return h=function(){return n},n}let g=u.Z.p(m(),c.Z.buttonColorDimmed,c.Z.buttonColorDimmedLight),f=u.Z.span(p(),c.Z.buttonColorSecondaryLight),v=u.Z.span(h(),c.Z.buttonColorSecondaryLight);var x=n=>{let{inActives:e=[],showUnderline:t,active:i}=n;return(0,a.jsx)("div",{className:"bread-crumbs-wrapper",children:(0,a.jsxs)(g,{className:"bread-crumbs-container",children:[(0,a.jsx)(d.Z,{route:l.XX,children:(0,a.jsx)("span",{className:r()({breadcrumb:!0,"breadcrumb--underline":t}),children:"".concat((0,o.t)("WEB2_LOCALIZATION_homepage")," >")})}),e.map((n,e)=>(0,a.jsx)(d.Z,{route:n.route,params:n.routeParams,className:r()({breadcrumb:!0,"breadcrumb--underline":t}),children:(0,a.jsx)("span",{className:r()({breadcrumb:!0,"breadcrumb--underline":t}),children:"".concat(n.label," >")})},n.route.key+e)),!!i&&t&&(0,a.jsx)(v,{children:i}),!!i&&!t&&(0,a.jsx)(f,{children:i})]})})}},14268:function(n,e,t){t.d(e,{t:function(){return i},Z:function(){return h}});var a,i,r=t(85893),l=t(5764),o=t(69569),d=t(13348),s=t(93556),u=t(24443),c=t(82729);function m(){let n=(0,c._)(["\n    width: 100%;\n    display: flex;\n    justify-content: center;\n    align-items: center;\n    margin-right: 1em;\n    cursor: pointer;\n\n    .logo-img {\n        width: 100%;\n        max-width: 9em;\n    }\n"]);return m=function(){return n},n}var p=t(31666).Z.div(m());(a=i||(i={})).Default="default",a.White="white",a.Dark="dark";var h=n=>{let{variant:e=i.Default}=n,t=l.ao[(0,d.so)()]||"/assets/logo-promotons.svg";return(0,r.jsx)(p,{"data-nosnippet":!0,className:"layout-logo",children:(0,r.jsx)(u.Z,{route:o.XX,children:(0,r.jsxs)("span",{children:[e===i.Default&&(0,r.jsx)(s.Z,{className:"logo-img",src:t,alt:"logo",priority:!0,style:{objectFit:"contain"}}),e===i.White&&(0,r.jsx)(s.Z,{className:"logo-img",src:"/assets/gazetkowo-logo-white.svg",alt:"logo"}),e===i.Dark&&(0,r.jsx)(s.Z,{className:"logo-img",src:"/assets/gazetkowo-logo-dark.svg",alt:"logo"})]})})})}},21013:function(n,e,t){t.d(e,{Z:function(){return w}});var a=t(85893);t(67294);var i=t(11163),r=t(69569),l=t(13348),o=t(70724),d=t(2884),s=t(8178),u=t(46783),c=t(99452),m=t(14268),p=t(93556),h=t(82729),g=t(31666),f=t(11010),v=t(6665);function x(){let n=(0,h._)(["\n    .modal-container {\n        top: 50%;\n        left: 50%;\n        transform: translate(-50%, -50%);\n\n        width: 32em;\n        height: 41em;\n\n        display: flex;\n        flex-direction: column;\n        align-items: center;\n        justify-content: space-between;\n        border-radius: 2em;\n\n        @media (max-width: ",") {\n            top: auto;\n            bottom: 0;\n            left: 0;\n            transform: initial;\n\n            width: 100%;\n            height: 80%;\n\n            border-bottom-left-radius: initial;\n            border-bottom-right-radius: initial;\n        }\n\n        .modal-header {\n            display: none;\n        }\n\n        .modal-body {\n            position: relative;\n\n            height: 77.5%;\n            width: 100%;\n            overflow: hidden;\n\n            background: linear-gradient(to bottom, #FFED48, #FF862E);\n            border-radius: 2em;\n\n            @media (max-width: ",") {\n                height: 75%;\n            }\n\n            .btn-close-modal-container {\n                position: absolute;\n                top: .75em;\n                right: .75em;\n\n                @media (max-width: ",") {\n                    top: 1.5em;\n                    right: 1.75em;\n                }\n\n                @media (max-width: ",") {\n                    top: .75em;\n                    right: .75em;\n                }\n\n                .layout-button {\n                    .button {\n                        display: block;\n                        width: 100%;\n                        padding: .5em;\n\n                        .button-content {\n                            font-size: 1.5em;\n                            vertical-align: bottom;\n                            font-weight: 500;\n                            color: ",";\n\n                            @media (max-width: ",") {\n                                font-size: 1.5em;\n                            }\n                        }\n                    }\n                }\n            }\n\n            .mobile-app-container {\n                position: absolute;\n                bottom: 0;\n                left: 50%;\n                transform: translate(-50%, 8%);\n\n                width: 22em;\n\n                display: flex;\n                justify-content: center;\n\n                @media (max-width: ",") {\n                    width: 70%;\n                    transform: translate(-50%, 0);\n                }\n\n                @media (max-width: ",") {\n                    width: 60%;\n                }\n\n                .application-logo-container {\n                    pointer-events: none;\n\n                    position: absolute;\n                    top: 18%;\n\n                    .logo-img {\n                        max-width: 13em;\n                    }\n                }\n\n                .mobile-app-headline-container {\n                    position: absolute;\n                    top: 44%;\n                    left: 50%;\n                    transform: translateX(-50%);\n\n                    width: 77.5%;\n\n                    @media (max-width: ",") {\n                        width: 75%;\n\n                        top: initial;\n                        bottom: 6.5em;\n                    }\n\n                    @media (max-width: ",") {\n                        width: 80%;\n                        bottom: 5.75em;\n                    }\n\n                    .headline {\n                        font-size: 1.75em;\n                        text-align: center;\n                        line-height: 1.5;\n\n                        @media (max-width: ",") {\n                            font-size: 1.6em;\n                        }\n\n                        @media (max-width: ",") {\n                            font-size: 1.3em;\n                        }\n                    }\n                }\n            }\n        }\n\n        .modal-footer {\n            height: 22.5%;\n            width: 100%;\n\n            @media (max-width: ",") {\n                height: 25%;\n            }\n\n            .modal-footer-control {\n                margin: 0 auto;\n                width: 100%;\n\n                display: flex;\n                justify-content: center;\n\n                .layout-button {\n                    width: 23.5em;\n\n                    .button {\n                        display: block;\n                        width: 100%;\n\n                        .button-content {\n                            font-size: 1.25em;\n                            vertical-align: bottom;\n                            font-weight: 500;\n                            text-transform: uppercase;\n                            color: ",";\n                        }\n\n                        @media (max-width: ",") {\n                            padding: .85em 2.5em;\n                        }\n\n                        @media (max-width: ",") {\n                            padding: .5em 2.5em;\n                        }\n                    }\n                }\n\n                @media (max-width: ",") {\n                    width: 23em;\n                }\n\n                @media (max-width: ",") {\n                    width: 75%;\n                }\n            }\n        }\n    }\n"]);return x=function(){return n},n}var b=(0,g.Z)(v.Z)(x(),f.Z.mobileM,f.Z.mobileM,f.Z.mobileM,f.Z.mobileM,f.Z.primaryTextColor,f.Z.mobileM,f.Z.mobileM,f.Z.mobileM,f.Z.mobileM,f.Z.mobileS,f.Z.mobileM,f.Z.mobileS,f.Z.mobileM,f.Z.primaryTextColor,f.Z.mobileM,f.Z.mobileS,f.Z.mobileM,f.Z.mobileM),w=n=>{let{currentPage:e=0,newspaper:t,onClose:h}=n,g=(0,i.useRouter)(),f=(0,l.so)(),v=(0,o.Wp)(),{headline:x,backTo:w,openOneLink:_}={headline:(0,d.t)("WEB2_HEADLINE_MOBILE_APP_EXCLUSIVE_headline").replace(/\n/g,"<br>"),backTo:(0,d.t)("WEB2_BACK_TO_MOBILE_APP_EXCLUSIVE_back_to_button_text"),openOneLink:(0,d.t)("WEB2_OPEN_ONE_LINK_MOBILE_APP_EXCLUSIVE_open_one_link")};return(0,a.jsxs)(b,{className:"module-public-func-newspapers-app-exclusive-modal",controls:[(0,a.jsx)(c.ZP,{layout:c.Ol.Wide,style:c.AK.Primary,variant:c.cT.Primary,size:c.Ph.Large,children:_,onClick:n=>{var a,i;let[l,o]=v(r.CF,{categorySlug:null==t?void 0:null===(a=t.retailerCategory)||void 0===a?void 0:a.slug,retailerSlug:null==t?void 0:null===(i=t.retailer)||void 0===i?void 0:i.slug,order:null==t?void 0:t.newspaperCurrentOrder,pageNumber:e});(0,u.o)({data:{url:window.location.origin+o,allowInapps:!1},headers:{"MARKET-SCOPE":f,"Content-Type":"application/json"}}).then(n=>{var e;let a={market:f,webReferrer:"af_channel",campaign:{defaultValue:"open_in_app"},mediaSource:{defaultValue:"gazetkowo_web"},adSet:{defaultValue:(null==t?void 0:null===(e=t.retailer)||void 0===e?void 0:e.slug)||""},af_dp:{paramKey:"af_dp",keys:["af_dp"],defaultValue:n},deepLinkValue:{keys:["deep_link_value"],defaultValue:n},af_force_deeplink:!0,custom_ss_ui:{paramKey:"af_ss_ui",defaultValue:"true"}},i=(0,s.o)(a);g.push(i+"&af_force_deeplink=true")})}})],onClose:()=>{},children:[(0,a.jsx)("div",{className:"btn-close-modal-container",children:(0,a.jsx)(c.ZP,{layout:c.Ol.Block,style:c.AK.None,size:c.Ph.Neutral,children:w,onClick:h})}),(0,a.jsxs)("div",{className:"mobile-app-container",children:[(0,a.jsx)("div",{className:"application-logo-container",children:(0,a.jsx)(m.Z,{})}),(0,a.jsx)("div",{className:"mobile-app-headline-container",children:(0,a.jsx)("h1",{className:"headline",dangerouslySetInnerHTML:{__html:x}})}),(0,a.jsx)(p.Z,{className:"background-mobile-app",src:"/assets/app-exclusive.png",alt:"background mobile app image"})]})]})}},10559:function(n,e,t){t.d(e,{Z:function(){return o}});var a=t(85893),i=t(67294),r=t(65829);let l={firstPage:!1,lastPage:!1};var o=n=>{let{imagesLength:e,currentPage:t,trackers:o,visitorId:d}=n,s=(0,i.useRef)(l),u=n=>(0,a.jsx)("div",{style:{position:"absolute",width:"1px",height:"1px",opacity:"0",overflow:"hidden",top:"0",left:"0"},children:(0,a.jsx)("img",{src:n,alt:"Tracking Pixel"})}),c=(0,i.useMemo)(()=>{let n=null,a=t?t-1:void 0,i=(null==o?void 0:o.firstPage)&&!s.current.firstPage&&d,l=(null==o?void 0:o.lastPage)&&!s.current.lastPage&&d;return(0===a&&e>1&&i&&(s.current.firstPage=!0,n=(0,r.j)(null==o?void 0:o.firstPage,t,d)),1===e&&i&&(s.current.firstPage=!0,n=[...n||[],(0,r.j)(null==o?void 0:o.firstPage,t,d)]),a===e-1&&e>1&&l&&(s.current.lastPage=!0,n=(0,r.j)(null==o?void 0:o.lastPage,t,d)),1===e&&l&&(s.current.lastPage=!0,n=[...n||[],(0,r.j)(null==o?void 0:o.lastPage,t,d)]),n&&Array.isArray(n))?n.map((n,e)=>u(n)):n?u(n):""},[t]);return(0,a.jsx)(a.Fragment,{children:c})}},54429:function(n,e,t){t.d(e,{Z:function(){return c}});var a=t(85893);t(67294);var i=t(94184),r=t.n(i),l=t(82729),o=t(31666),d=t(11010);function s(){let n=(0,l._)(["\n    width: 100%;\n\n    .layout-list-loader-placeholder {\n        width: 100%;\n\n        &__list {\n            display: flex;\n            justify-content: flex-start;\n            flex-wrap: wrap;\n            width: 100%;\n            gap: 18px;\n\n            &--row-max-4 {\n                .layout-list-loader-placeholder__list__item {\n                    max-width: calc(100% / 4 - 18px);\n\n                    @media all and (max-width: ",") {\n                        max-width: calc(100% / 3 - 18px);\n                    }\n\n                    @media all and (max-width: ",") {\n                        max-width: calc(100% / 2 - 18px);\n\n                        &:nth-of-type(n + 5) {\n                            display: none;\n                        }\n                    }\n\n                    @media all and (max-width: ",") {\n                        max-width: 90px;\n                        height: 150px;\n                        margin: auto;\n                    }\n                }\n            }\n\n            &__item {\n                position: relative;\n                background-color: #F3F3F3FF;\n                display: flex;\n                width: 100%;\n                height: 200px;\n                overflow: hidden;\n                max-width: calc(100% / 5 - 18px);\n                border-radius: 9px;\n\n                @media all and (max-width: 956px) {\n                    max-width: calc(100% / 4 - 18px);\n                }\n\n                @media all and (max-width: 720px) {\n                    max-width: calc(100% / 3 - 18px);\n                }\n\n                @media all and (max-width: ",") {\n                    max-width: 90px;\n                    height: 150px;\n                    margin: auto;\n                }\n\n                &:after {\n                    content: '';\n                    pointer-events: none;\n                    position: absolute;\n                    inset: 0;\n                    transform: rotate(20deg) scale(1.4);\n                    background: linear-gradient(90deg, #F3F3F3FF 8%, #ffffff 18%, #F3F3F3FF 33%);\n                    background-size: 200% 120%;\n                    animation: 1.5s shine linear infinite;\n                }\n            }\n        }\n    }\n"]);return s=function(){return n},n}var u=o.Z.div(s(),d.Z.tabletS,d.Z.mobileM,d.Z.mobileS,d.Z.mobileM),c=n=>{let{elements:e=8,rowMax:t,customClass:i}=n,l=Array.from({length:e},(n,e)=>e+1);return(0,a.jsx)(u,{className:"layout-list-loader-placeholder",children:(0,a.jsx)("div",{className:r()({"layout-list-loader-placeholder__list":!0,["layout-list-loader-placeholder__list--row-max-".concat(t)]:t,[i]:i}),children:l.map((n,e)=>(0,a.jsx)("div",{className:"layout-list-loader-placeholder__list__item"},"".concat(n,"-").concat(e)))})})}},69466:function(n,e,t){t.d(e,{u:function(){return d}});var a=t(9669),i=t.n(a),r=t(48059),l=t(65829),o=t(74532);class d{async trackPageImpression(n,e){var t,a,d,s,u,c,m,p;let h={leaflet_id:null===(t=this.newspaper)||void 0===t?void 0:t.id,retailer_name:(null===(d=this.newspaper)||void 0===d?void 0:null===(a=d.retailer)||void 0===a?void 0:a.slug)||"",page_number:n};if(Array.isArray(null===(s=this.newspaper)||void 0===s?void 0:s.trackers)&&(null===(c=this.newspaper)||void 0===c?void 0:null===(u=c.trackers)||void 0===u?void 0:u.length)>0){let t=null===(p=this.newspaper)||void 0===p?void 0:null===(m=p.trackers)||void 0===m?void 0:m.filter(n=>{let{pageImpression:e}=n;return null!==e});await i().all(t.map(t=>{let{pageImpression:a}=t;return i().get((0,l.j)(a,n||void 0,e))})).catch(()=>{})}await (0,o.L)(r.o5.LeafletPageImpression,h,{fbPixel:!0,gtm:!0})}async trackLeavingPageEvents(n,e,t){if(t){var a,i,l,d,s,u,c,m;let p=(new Date().getTime()-t)/1e3;(0,o.L)(r.o5.LeafletTimeSpent,{leaflet_id:null===(a=this.newspaper)||void 0===a?void 0:a.id,retailer_name:(null===(l=this.newspaper)||void 0===l?void 0:null===(i=l.retailer)||void 0===i?void 0:i.slug)||"",is_archived:Number(null===(d=this.newspaper)||void 0===d?void 0:d.isPast),post_code:e,time_spent_in_s:p},{gtm:!0,fbPixel:!0}),(0,o.L)(r.o5.LeafletExit,{leaflet_id:null===(s=this.newspaper)||void 0===s?void 0:s.id,page_number:n||1,retailer_name:(null===(c=this.newspaper)||void 0===c?void 0:null===(u=c.retailer)||void 0===u?void 0:u.slug)||"",is_archived:Number(null===(m=this.newspaper)||void 0===m?void 0:m.isPast),post_code:e})}}static async new(n){return n?new d(n):null}constructor(n){this.newspaper=n}}},77936:function(n,e,t){t.d(e,{GR:function(){return h},H9:function(){return s},M0:function(){return m},ML:function(){return c},Oz:function(){return d},Zc:function(){return p},Zr:function(){return u},pb:function(){return o},wD:function(){return g}});var a=t(33238),i=t(13659),r=t(98400),l=t(16014);let o=n=>(e,t)=>e((0,r.lA)({getState:t,reduxType:n.reduxType||l.IY,method:"GET",path:a.Zy,params:n,ignoreState:n.ignoreState||!1,requestParams:{...n,page:n.page||1,perPage:n.perPage||20}})),d=n=>(e,t)=>e((0,r.lA)({getState:t,reduxType:l.UZ,method:"GET",path:(0,i.n)(a.xG,n),params:n,requestParams:{...n,page:n.page||1,perPage:n.perPage||20}})),s=n=>(e,t)=>e((0,r.lA)({getState:t,method:"GET",path:a.Zy,ignoreState:!0,params:n,requestParams:{...n,page:n.page||1,perPage:n.perPage||20}})),u=n=>(e,t)=>e((0,r.lA)({getState:t,reduxType:l.RP,method:"GET",path:(0,i.n)(a.YC,n),params:n,requestParams:{retailerId:null==n?void 0:n.retailerId}})),c=n=>(e,t)=>e((0,r.lA)({getState:t,reduxType:l.H5,method:"GET",path:(0,i.n)(a.PC,n),params:n})),m=n=>(e,t)=>e((0,r.lA)({getState:t,reduxType:l.Xm,method:"GET",path:(0,i.n)(a.rV,n),params:n,cache:null==n?void 0:n.cache,requestParams:{...n,page:n.page||1,perPage:n.perPage||20}})),p=n=>(e,t)=>e((0,r.lA)({getState:t,reduxType:l.U6,method:"GET",path:(0,i.n)(a.C2,n),params:n,requestParams:{...n,page:n.page||1,perPage:n.perPage||20}})),h=n=>(e,t)=>e((0,r.lA)({getState:t,reduxType:l.LY,method:"GET",path:a.Zy,params:n,ignoreState:n.ignoreState||!1,requestParams:{...n,page:n.page||1,perPage:n.perPage||10}})),g=n=>(e,t)=>e((0,r.lA)({getState:t,reduxType:l.k_,method:"GET",path:(0,i.n)(a.Zu,n),params:n,requestParams:{...n,page:n.page||1,perPage:n.perPage||20}}))},29108:function(n,e,t){t.d(e,{f:function(){return i},j:function(){return u}});var a,i,r=t(5764);let l="gifi",o="feu-vert",d={[r.S4]:["bm",l,"but",o]},s={[r.S4]:["bm",l,"but",o]};(a=i||(i={}))[a.NEWSPAPER_VIEWER=0]="NEWSPAPER_VIEWER",a[a.RETAILER_NEWSPAPER_VIEWER=1]="RETAILER_NEWSPAPER_VIEWER";let u=(n,e,t)=>{var a,i;switch(n){case 0:return!(null==d?void 0:null===(a=d[t])||void 0===a?void 0:a.includes(e));case 1:return!(null==s?void 0:null===(i=s[t])||void 0===i?void 0:i.includes(e));default:return!0}}},2859:function(n,e,t){t.d(e,{G:function(){return l}});var a=t(9669),i=t.n(a),r=t(65829);let l=async n=>{var e,t;if((null==n?void 0:n.currentPage)&&(null==n?void 0:n.visitorId)&&Array.isArray(null==n?void 0:n.trackers)&&(null==n?void 0:null===(e=n.trackers)||void 0===e?void 0:e.length)>0){let e=null==n?void 0:null===(t=n.trackers)||void 0===t?void 0:t.filter(n=>{let{firstPage:e}=n;return e});Array.isArray(e)&&(null==e?void 0:e.length)>0&&await i().all(e.map(e=>{let{firstPage:t}=e;return i().get((0,r.j)(t,void 0,null==n?void 0:n.visitorId))})).catch(()=>{})}}},65832:function(n,e,t){t.d(e,{v:function(){return l}});var a=t(9669),i=t.n(a),r=t(65829);let l=async n=>{var e,t;if((null==n?void 0:n.currentPage)&&(null==n?void 0:n.visitorId)&&Array.isArray(null==n?void 0:n.trackers)&&(null==n?void 0:null===(e=n.trackers)||void 0===e?void 0:e.length)>0){let e=null==n?void 0:null===(t=n.trackers)||void 0===t?void 0:t.filter(n=>{let{lastPage:e}=n;return e});Array.isArray(e)&&(null==e?void 0:e.length)>0&&await i().all(e.map(e=>{let{lastPage:t}=e;return i().get((0,r.j)(t,void 0,null==n?void 0:n.visitorId))})).catch(()=>{})}}}}]);