1"use strict";(self.webpackChunkhummingbird=self.webpackChunkhummingbird||[]).push([[5774],{91984(n,t,e){e.d(t,{A:()=>x});e(44114),e(72712),e(94490),e(33110),e(98992),e(3949),e(62953);var r=e(73516),o=e(28063),i=e(78100),a=e(28749),c=(e(81454),e(96540)),l=e(98469),s=e(93243),d=e(98359),u=e(88597),p=e(31924),h=e(87227),f=e(50890);const m={List:u.Ay.ul.withConfig({componentId:"hp__sc-1omh8xm-0"})(n=>{let t=n.withMargin;return"\n display: flex;\n list-style: none;\n margin: ".concat(t?"0 0 5px":0,";\n padding: 1rem 0 0;\n text-align: left;\n white-space: nowrap;\n ")}),Item:u.Ay.li.withConfig({componentId:"hp__sc-1omh8xm-1"})(["font-size:",";line-height:1.6;&:last-child{margin-right:0;}"],p.nJ),Link:(0,u.Ay)(f.A).withConfig({componentId:"hp__sc-1omh8xm-2"})(n=>{let t=n.fontColor;return"\n color: ".concat(t||l.xq,";\n text-transform: capitalize;\n white-space: nowrap;\n ")}),IconWrapper:u.Ay.span.withConfig({componentId:"hp__sc-1omh8xm-3"})(["align-self:center;padding:0 9px;"]),Current:u.Ay.span.withConfig({componentId:"hp__sc-1omh8xm-4"})(["color:",";display:inline-block;font-family:",";font-weight:bold;max-width:100%;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;"],l.xJ,h.Kh)};var g=e(74848);const b=n=>{let t=n.parents,e=void 0===t?[]:t,r=n.current,o=void 0===r?null:r,i=n.margin,a=void 0!==i&&i,u=n.fontColor,p=void 0===u?null:u;return(0,g.jsxs)(m.List,{withMargin:a,children:[e.map((n,t)=>(0,g.jsxs)(c.Fragment,{children:[(0,g.jsx)(m.Item,{children:(0,g.jsx)(m.Link,{href:n.url,fontColor:p||"",children:n.label})}),t<e.length&&(0,g.jsx)(m.IconWrapper,{children:(0,g.jsx)(d.A,{iconUrl:"".concat(s.Cm,"app/chevron-right.svg"),mainColor:p||l.xq,w:14,h:14})})]},"breadcrumb-".concat(n.label))),o&&(0,g.jsx)(m.Current,{title:o,children:o})]})},x=n=>{let t=n.paths,e=n.title,c=void 0===e?"":e,l=n.margin,s=void 0!==l&&l,d=n.fontColor,u=void 0===d?null:d;const p=(0,o.UK)().hosted;let h=null,f=[{label:(0,i.B)().breadcrumb.home,url:p}];const m=[];if(t){const n=t.breadcrumb,e=t.parents;if(h=n,e){const n=[...e];for(;n&&n.length;){const t=n.reduce((n,t)=>"".concat(n,"/").concat(t.slug),""),e=n.pop();if(e){const n=e.breadcrumb;m.push({label:n,url:"".concat(p).concat(t)})}}m.reverse(),f=f.concat(m)}}return(0,a.ar)("Render breadcrumb"),(0,g.jsxs)(g.Fragment,{children:[m&&(0,g.jsx)(r.mg,{encodeSpecialCharacters:!0,children:(0,g.jsx)("script",{type:"application/ld+json",children:JSON.stringify((()=>{const n=[];return f.forEach((t,e)=>{n.push({"@type":"ListItem",position:e+1,item:{"@id":t.url,name:t.label}})}),{"@context":"http://schema.org","@type":"BreadcrumbList",itemListElement:n}})())})}),(0,g.jsx)(b,{parents:f,current:c||h,margin:s,fontColor:u})]})}},20703(n,t,e){e.d(t,{A:()=>h});e(98992),e(81454);var r=e(28749),o=e(82717),i=e(31924),a=e(82897),c=e(88597),l=e(2541);const s={Wrapper:c.Ay.div.withConfig({componentId:"hp__sc-186iojd-0"})(n=>{let t=n.ratio;return"\n width: 100%;\n height: ".concat("inherit"===t?"500px":"auto",";\n\n @media ").concat(l.J.phone," {\n height: ").concat("inherit"===t?"400px":"auto",";\n }\n\n @media ").concat(l.J.phoneXS," {\n height: ").concat("inherit"===t?"200px":"auto",";\n }\n\n img {\n height: 100%;\n object-fit: cover;\n width: 100%;\n }\n ")})};var d=e(74848);const u=n=>{let t=n.image,e=n.ratio,r=void 0===e?"inherit":e;return(0,d.jsx)(s.Wrapper,{ratio:r,children:(0,d.jsx)(a.A,{image:t,ratio:r,sizes:{[i.Vp]:"980px",[i.vn]:"100vw",[i.xr]:"100vw"}})})};var p=e(82891);const h=n=>{let t=n.items,e=n.title,i=void 0===e?"":e;if(!t||!t.length)return null;return(0,r.ar)("Render impressions carousel"),(0,d.jsxs)(d.Fragment,{children:[(0,d.jsx)(o.A,{title:i,fullWidth:!0,columnCount:1,withDots:!0,withSide:!0,roundedCorners:!0,children:t.map(n=>(0,d.jsx)(u,{image:n},n.fileName))}),(0,d.jsx)(p.hK,{mb:50,mmb:0})]})}},70183(n,t,e){e.d(t,{A:()=>X});e(89463),e(16280),e(44114),e(27495),e(98992),e(54520),e(3949),e(62953);var r=e(96540),o=e(37933),i=e(28063),a=e(40001),c=e(38664),l=e(90345),s=e(28749),d=e(12858),u=e(40961),p=e(73510),h=e(91984),f=e(78100),m=e(25663),g=e(6631),b=e(98469),x=e(45827),y=e(2653),v=e(2024),w=e(36776),j=e(93619),C=e(43490),A=e(88597),k=e(31924),_=e(87227),I=e(2541),O=e(9076),S=e(96276);
1const P={Background:A.Ay.div.withConfig({componentId:"hp__sc-118kb5m-0"})(n=>{let t=n.category,e=n.noMargin;return"\n background: ".concat(t?b.sQ[t]:b.GG,";\n margin-bottom: ").concat(e?0:"2rem",";\n padding-bottom: 50px;\n position: relative;\n\n &:before {\n background: ").concat(e?b.AH:b.GG,';\n content: "";\n height: 100%;\n left: 0;\n position: absolute;\n top: 0;\n width: 100%;\n z-index: -1;\n }\n\n @media ').concat(I.J.phone,", ").concat(I.J.tablet," {\n padding-bottom: 30px;\n }\n ")}),BarContent:A.Ay.div.withConfig({componentId:"hp__sc-118kb5m-1"})(["align-items:center;display:flex;flex:999 1 0%;justify-content:space-between;min-width:160px;padding-right:1rem;p{margin:0;}@media ","{display:block;padding-right:0.5rem;p{font-size:",";}p:first-of-type{margin-bottom:0.4em;}}"],I.J.phone,k.$m),BarInner:A.Ay.div.withConfig({componentId:"hp__sc-118kb5m-2"})(["align-items:center;box-sizing:border-box;display:flex;flex-wrap:wrap;justify-content:space-between;margin:auto;max-width:","px;padding:0.5rem 30px;row-gap:2px;a{margin:0;white-space:nowrap;}@media ","{padding:0.5rem 15px;a{font-size:",";}a span{height:16px;margin-left:0.5em;width:16px;}}"],k.QC,I.J.phone,k.nJ),BarText:A.Ay.p.withConfig({componentId:"hp__sc-118kb5m-3"})(n=>{let t=n.isExpired;
1return"\n align-items: center;\n color: ".concat(t?b.dL:b.Oj,";\n display: flex;\n font-weight: bold;\n gap: 10px;\n text-decoration: ").concat(t?"line-through":"none",";\n text-decoration-thickness: 1px;\n\n .icon {\n flex-shrink: 0;\n }\n\n @media ").concat(I.J.phone," {\n margin-bottom: .1em;\n }\n ")}),BreadcrumbWrapper:A.Ay.div.withConfig({componentId:"hp__sc-118kb5m-4"})(["@media ","{padding:0 ","px;}ul{padding:1rem 0 0;}"],I.J.phone,k.ob),CarouselWrapper:A.Ay.div.withConfig({componentId:"hp__sc-118kb5m-5"})(n=>{let t=n.expired;return"\n box-sizing: border-box;\n flex-shrink: 0;\n margin-bottom: 2rem;\n width: 100%;\n\n @media ".concat(I.J.desktop," {\n margin-bottom: ").concat(t?"1rem":0,";\n padding: 0;\n width: calc(2 / 3 * 100%);\n }\n ")}),Category:A.Ay.span.withConfig({componentId:"hp__sc-118kb5m-6"})(["display:block;font-size:",";letter-spacing:0.15em;line-height:1.6;margin:1rem 0 0;text-transform:uppercase;"],k.$H),Container:A.Ay.div.withConfig({componentId:"hp__sc-118kb5m-7"})(["box-sizing:border-box;color:",";margin:auto;max-width:","px;@media ",",","{padding:0 ","px;}"],b.Cj,k.QC,I.J.tablet,I.J.desktop,k.wF),ContentWrapper:A.Ay.div.withConfig({componentId:"hp__sc-118kb5m-8"})(n=>{let t=n.withBreadcrumb;return"\n display: flex;\n gap: ".concat(k.wF,"px;\n padding-top: ").concat(t?"0.5rem":"2rem",";\n\n @media ").concat(I.J.tablet," {\n display: block;\n }\n\n @media ").concat(I.J.phone," {\n display: block;\n padding-left: ").concat(k.ob,"px;\n padding-right: ").concat(k.ob,"px;\n }\n ")}),CtaIcon:(0,A.Ay)(v.A).withConfig({componentId:"hp__sc-118kb5m-9"})(["flex-shrink:0;"]),IconWrapper:A.Ay.div.withConfig({componentId:"hp__sc-118kb5m-10"})(["transform:rotate(180deg);"]),Link:A.Ay.a.withConfig({componentId:"hp__sc-118kb5m-11"})(["align-items:center;color:",";cursor:pointer;display:flex;font-size:",";gap:5px;letter-spacing:1.5px;text-transform:uppercase;"],b.Cj,k.$H),MainCtaWrapper:A.Ay.div.withConfig({componentId:"hp__sc-118kb5m-12"})(n=>{let t=n.marginTop,e=void 0===t?"0":t,r=n.withGallery;return"\n flex-grow: 1;\n margin-top: ".concat(e,"px;\n\n @media ").concat(I.J.desktop," {\n max-width: ").concat(r?"250px":"100%",";\n }\n ")}),Options:A.Ay.div.withConfig({componentId:"hp__sc-118kb5m-13"})(n=>{let t=n.category;return"\n background-color: ".concat(t?b.LZ[t]:b.GG,";\n display: flex;\n justify-content: flex-end;\n padding: 15px 20px;\n ")}),Price:A.Ay.p.withConfig({componentId:"hp__sc-118kb5m-14"})(n=>{let t=n.isExpired;return"\n color: ".concat(t?b.dL:b.Oj,";\n margin-bottom: .3rem;\n white-space: nowrap;\n\n @media ").concat(I.J.phone," {\n margin-bottom: 0;\n }\n ")}),PriceAmount:A.Ay.span.withConfig({componentId:"hp__sc-118kb5m-15"})(n=>{let t=n.isExpired;return"\n font-family: ".concat(_.Kh,";\n font-size: ").concat(k.gB,";\n font-weight: bold;\n text-decoration: ").concat(t?"line-through":"none",";\n text-decoration-thickness: 1px;\n\n @media ").concat(I.J.desktop," {\n font-size: ").concat(k.Xl,";\n }\n ")}),SecondCtaContent:A.Ay.span.withConfig({componentId:"hp__sc-118kb5m-16"})(["color:",";font-family:",";font-size:",";line-height:1.1;text-transform:uppercase;"],b.Cj,_.Kh,k.$H),SecondCtaLink:A.Ay.a.withConfig({componentId:"hp__sc-118kb5m-17"})(["align-items:center;display:flex;gap:0.8rem;margin-top:1.8rem;text-decoration:none;&:hover > span > span:last-child{text-decoration:underline;}"]),SecondCtaText:A.Ay.span.withConfig({componentId:"hp__sc-118kb5m-18"})(["display:block;font-weight:bold;&:last-child{font-weight:normal;}"]),StickyBar:A.Ay.div.withConfig({componentId:"hp__sc-118kb5m-19"})(n=>{let t=n.category;return"\n background-color: ".concat(t?b.sQ[t]:b.UE,";\n box-shadow: ").concat(O.Tr,";\n width: 100%;\n ")}),Subtitle:A.Ay.p.withConfig({componentId:"hp__sc-118kb5m-20"})(n=>{let t=n.isExpired;return"\n color: ".concat(t?b.dL:b.Cj,";\n ")}),Text:A.Ay.div.withConfig({componentId:"hp__sc-118kb5m-21"})(["flex:1;"]),Title:(0,A.Ay)(S._).withConfig({componentId:"hp__sc-118kb5m-22"})(n=>{let t=n.isExpired;return"\n line-height: 1.2;\n margin: 0 0 1rem;\n padding: 0;\n ".concat(t&&"\n color: ".concat(b.dL,";\n text-decoration: line-through;\n text-decoration-thickness: 1px;\n "),";\n\n @media ").concat(I.J.phone,", ").concat(I.J.tablet," {\n font-size: ").concat(k.gB,";\n }\n ")}),Warning:A.Ay.div.withConfig({componentId:"hp__sc-118kb5m-23"})(n=>
1{let t=n.isExpired;return"\n display: flex;\n align-items: center;\n padding: 10px;\n border-radius: ".concat(k.Zz,";\n color: ").concat(t?b.UE:b.Oj,";\n background-color: ").concat(t?b.Cj:"rgba(153,153,153, 0.3)",";\n font-weight: normal;\n font-family: ").concat(_.vP,";\n gap: 10px;\n\n .icon {\n flex-shrink: 0;\n }\n ")})};var E=e(74848);function T(n,t){var e=Object.keys(n);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(n);t&&(r=r.filter(function(t){return Object.getOwnPropertyDescriptor(n,t).enumerable})),e.push.apply(e,r)}return e}function z(n){for(var t=1;t<arguments.length;t++){var e=null!=arguments[t]?arguments[t]:{};t%2?T(Object(e),!0).forEach(function(t){B(n,t,e[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(n,Object.getOwnPropertyDescriptors(e)):T(Object(e)).forEach(function(t){Object.defineProperty(n,t,Object.getOwnPropertyDescriptor(e,t))})}return n}function B(n,t,e){return(t=function(n){var t=function(n,t){if("object"!=typeof n||!n)return n;var e=n[Symbol.toPrimitive];if(void 0!==e){var r=e.call(n,t||"default");if("object"!=typeof r)return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(n)}(n,"string");return"symbol"==typeof t?t:t+""}(t))in n?Object.defineProperty(n,t,{value:e,enumerable:!0,configurable:!0,writable:!0}):n[t]=e,n}const W=n=>{let t=n.barContainer,e=void 0===t?null:t,o=n.barText,i=void 0===o?"":o,a=n.category,c=n.cta,l=n.galleryItems,s=void 0===l?[]:l,d=n.hideWarningMessage,A=void 0!==d&&d,k=n.hosted,_=void 0===k?"":k,I=n.image,O=n.introText,S=void 0===O?null:O,T=n.isExpired,B=void 0!==T&&T,W=n.isOld,D=void 0!==W&&W,M=n.noMargin,J=void 0!==M&&M,N=n.paths,L=void 0===N?null:N,R=n.price,U=void 0===R?null:R,X=n.ref,$=n.secondaryCta,F=n.showCtaBar,H=void 0!==F&&F,q=n.subtitle,K=void 0===q?"":q,G=n.tId,V=n.title,Z=n.trackCtaClick,Q=void 0===Z?()=>{}:Z,Y=n.withCtaBar,nn=void 0!==Y&&Y;const tn=(0,f.B)().expired,en=tn.expired,rn=tn.potentiallyExpired,on=tn.showAlternatives,an=(0,r.useRef)(null),cn=(null==L?void 0:L.breadcrumb)&&!!Object.keys(L).length;let ln=[];I&&(ln=[I,...s||[]],ln=ln.filter((n,t)=>ln.findIndex(t=>t.path===n.path)===t));const sn=()=>{if(null==c||!c.url)return null;const n=c||{url:null,external:null,label:null,follow:null,monetization:null},t=n.url,e=n.external,r=n.label,o=n.monetization,i=void 0===o?null:o,a="#"===t.charAt(0);let l="primary";a&&(l="secondary");const s=(0,g.uw)((0,g.L0)({monetization:i,href:t,tId:G}),_);return(0,E.jsx)(P.MainCtaWrapper,{marginTop:U?0:20,withGallery:!!I,children:(0,E.jsxs)(w.A,{className:"hp_22_cta_button",external:e,href:s,mode:l,size:"lg",fullWidth:!0,outlined:B,onClick:n=>a?(n.preventDefault(),(0,j.A)('section[id="'.concat(s.substring(1),'"]'),0)):Q(z(z({},c),{},{url:s})),children:[!a&&(0,E.jsx)("span",{}),r,!a&&(0,E.jsx)(P.CtaIcon,{iconName:B?"app/arrow-right":"app/arrow-right_dark",w:20})]})})},dn=()=>{if(null==$||!$.url)return null;const n=$||{url:null,external:null,label:null,beforeText:"",monetization:null},t=n.url,e=n.external,r=n.label,o=n.beforeText,i=n.monetization,a=void 0===i?null:i,c=(0,g.uw)((0,g.L0)({monetization:a,href:t,tId:G}),_),l=(0,m.A)(t,e),s=l.rel,d=l.target;return(0,E.jsxs)(P.SecondCtaLink,{className:"hp_22_cta_button",href:c,onClick:()=>Q(z(z({},$),{},{url:c,isSecondary:!0})),rel:s,target:d,children:[(0,E.jsx)(v.A,{iconName:"app/star-search_light",w:18}),(0,E.jsxs)(P.SecondCtaContent,{children:[o&&(0,E.jsx)(P.SecondCtaText,{children:o}),(0,E.jsx)(P.SecondCtaText,{children:r})]})]})},un=()=>e?(0,u.createPortal)((0,E.jsxs)(P.StickyBar,{category:a.key,children:[(0,E.jsxs)(P.BarInner,{children:[(0,E.jsxs)(P.BarContent,{children:[i&&(0,E.jsxs)(P.BarText,{isExpired:B,children:[(B||D)&&(!A||B)&&(0,E.jsx)(v.A,{className:"icon",iconName:B?"app/alert_dark":"app/warning",w:20}),i]}),U&&(0,E.jsxs)(P.Price,{isExpired:B,children:[U.prefix&&(0,E.jsx)("span",{children:U.prefix}),U.amount&&(0,E.jsx)(P.PriceAmount,{isExpired:B,children:U.amount}),U.suffix&&(0,E.jsx)("span",{children:U.suffix})]})]}),(0,E.jsx)(sn,{})]}),B&&(0,E.jsx)(P.Options,{category:a.key,children:(0,E.jsxs)(P.Link,{onClick:()=>{(0,j.A)('section[id="recommended-deals"]',100)},children:[(0,E.jsx)(P.IconWrapper,{children:(0,E.jsx)(v.A,{iconName:"app/arrow-up_light",w:15})}),on]})})]}),e):null;return I||S?(0,E.jsxs)(E.Fragment,{children:[(0,E.jsx)(P.Backgroun
1d,{ref:X,category:a.key,noMargin:J,children:(0,E.jsxs)(P.Container,{children:[cn&&(0,E.jsx)(P.BreadcrumbWrapper,{children:(0,E.jsx)(h.A,{paths:L,fontColor:b.Im,margin:!0})}),(0,E.jsxs)(P.ContentWrapper,{withBreadcrumb:!!cn,children:[I&&(0,E.jsx)(P.CarouselWrapper,{expired:B||D&&!A,children:(0,E.jsx)(x.A,{images:ln,expiredDeal:B})}),(0,E.jsxs)(P.Text,{children:[(B||D&&!A)&&(0,E.jsxs)(P.Warning,{isExpired:B,children:[(0,E.jsx)(v.A,{className:"icon",iconName:B?"app/alert_dark":"app/warning",w:20}),B?en:rn]}),a&&a.title&&(0,E.jsx)(P.Category,{children:a.title}),V&&(0,E.jsx)(P.Title,{isExpired:B,children:V}),K&&(0,E.jsx)(P.Subtitle,{isExpired:B,children:K}),S&&(0,E.jsx)(y.A,{document:S}),U&&(0,E.jsxs)(P.Price,{isExpired:B,children:[U.prefix&&(0,E.jsx)("span",{children:U.prefix}),U.amount&&(0,E.jsx)(P.PriceAmount,{isExpired:B,children:U.amount}),U.suffix&&(0,E.jsx)("span",{children:U.suffix})]}),(0,E.jsx)(sn,{}),(0,E.jsx)(dn,{}),c&&(0,E.jsx)(C.A,{badgeType:"microStar",mt:20})]})]})]})}),nn&&(0,E.jsx)(p.A,{nodeRef:an,in:H,timeout:400,classNames:"headerBar",unmountOnExit:!0,children:(0,E.jsx)(un,{})})]}):null};W.displayName="HeroSection";const D=W;function M(n,t){var e=Object.keys(n);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(n);t&&(r=r.filter(function(t){return Object.getOwnPropertyDescriptor(n,t).enumerable})),e.push.apply(e,r)}return e}function J(n){for(var t=1;t<arguments.length;t++){var e=null!=arguments[t]?arguments[t]:{};t%2?M(Object(e),!0).forEach(function(t){N(n,t,e[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(n,Object.getOwnPropertyDescriptors(e)):M(Object(e)).forEac
1h(function(t){Object.defineProperty(n,t,Object.getOwnPropertyDescriptor(e,t))})}return n}function N(n,t,e){return(t=function(n){var t=function(n,t){if("object"!=typeof n||!n)return n;var e=n[Symbol.toPrimitive];if(void 0!==e){var r=e.call(n,t||"default");if("object"!=typeof r)return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(n)}(n,"string");return"symbol"==typeof t?t:t+""}(t))in n?Object.defineProperty(n,t,{value:e,enumerable:!0,configurable:!0,writable:!0}):n[t]=e,n}function L(n,t){return function(n){if(Array.isArray(n))return n}(n)||function(n,t){var e=null==n?null:"undefined"!=typeof Symbol&&n[Symbol.iterator]||n["@@iterator"];if(null!=e){var r,o,i,a,c=[],l=!0,s=!1;try{if(i=(e=e.call(n)).next,0===t){if(Object(e)!==e)return;l=!1}else for(;!(l=(r=i.call(e)).done)&&(c.push(r.value),c.length!==t);l=!0);}catch(n){s=!0,o=n}finally{try{if(!l&&null!=e.return&&(a=e.return(),Object(a)!==a))return}finally{if(s)throw o}}return c}}(n,t)||function(n,t){if(n){if("string"==typeof n)return R(n,t);var e={}.toString.call(n).slice(8,-1);return"Object"===e&&n.constructor&&(e=n.constructor.name),"Map"===e||"Set"===e?Array.from(n):"Arguments"===e||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(e)?R(n,t):void 0}}(n,t)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function R(n,t){(null==t||t>n.length)&&(t=n.length);for(var e=0,r=Array(t);e<t;e++)r[e]=n[e];return r}const U=(n,t)=>{if(!n)return null;const e=n.prefix?"".concat(n.prefix," "):"";let r="";return n.suffix&&(r="pl-PL"===t?n.suffix:" ".concat(n.suffix)),{prefix:e,amount:n.amount,suffix:r}},X=n=>{let t=n.barText,e=void 0===t?"":t,u=n.category,p=n.cta,h=n.dealCtaTracker,f=void 0===h?()=>{}:h,m=n.galleryItems,g=void 0===m?[]:m,b=n.hideWarningMessage,x=void 0!==b&&b,y=n.image,v=n.introText,w=void 0===v?{}:v,j=n.isExpired,C=void 0!==j&&j,A=n.isOld,k=void 0!==A&&A,_=n.noMargin,I=void 0!==_&&_,O=n.paths,S=void 0===O?null:O,P=n.post,T=n.pricing,z=n.secondaryCta,B=n.subtitle,W=void 0===B?"":B,M=n.title;const N=L((0,r.useState)(!1),2),R=N[0],X=N[1],$=L((0,o.a)(),1)[0],F=(0,i.UK)().tId,H=(0,c.y)().trackEvent,q=(0,l.c)().trackIterableEvent,K=(0,a.A)().localeTag,G=(0,r.useRef)(null),V=G.current,Z=!!(p&&p.url&&$&&V);(0,r.useEffect)(()=>{let n=null;return Z&&(n=new IntersectionObserver(n=>{let t=L(n,1)[0];X(!(null!=t&&t.isIntersecting))}),n.observe(V)),()=>{n&&V&&n.unobserve(V)}},[Z]);return(0,s.ar)("Render hero section"),(0,E.jsx)(D,{ref:G,barContainer:$,barText:e,category:u,cta:p,image:y,introText:w,paths:S,price:T?U(T,K):null,secondaryCta:z,showCtaBar:R,subtitle:W,title:M,trackCtaClick:n=>{f(P);const t=null!=n&&n.isSecondary?"secondaryCta":"mainCta";H("deal_conversion",J(J({},(0,d.yX)(P)),{},{button_type:t,deal_partner_clicked:n.monetization,click_text:n.label,click_url:n.url})),P&&q("click_out",P)},withCtaBar:Z,noMargin:I,isExpired:C,isOld:k,hideWarningMessage:x,galleryItems:g,tId:F})}},48870(n,t,e){e.r(t),e.d(t,{default:()=>f});var r=e(20703),o=e(41935),i=e(70183),a=e(44302),c=e(28706),l=e(78100),s=e(28749),d=e(31924),u=e(11767),p=e(82891),h=e(74848);const f=()=>{const n=(0,l.B)().post,t=(0,c._)();if(!t)return null;const e=t.intro,f=t.mainContent,m=t.mainImage,g=t.title,b=t.impressions,x=b&&b.items&&b.items.length?b.items:null;return(0,s.OA)("Render author preview page"),(0,h.jsxs)(h.Fragment,{children:[(0,h.jsx)(a.A,{page:t}),(0,h.jsx)(i.A,{paths:{parents:[]},category:{key:"SEO"},image:m,introText:e&&e.json,title:g}),(0,h.jsx)(p.wn,{wide:!0,children:(0,h.jsx)(u.A,{content:f})}),(0,h.jsx)(o.A,{containerMaxWidth:d.ID,content:f}),(0,h.jsx)(p.wn,{children:(0,h.jsx)(r.A,{items:x,title:n.impressions})})]})}},11767(n,t,e){e.d(t,{A:()=>k});e(89463),e(16280),e(44114),e(27495),e(98992),e(81454),e(62953);var r=e(96540),o=e(2541),i=e(93619),a=e(73700);function c(n,t){return function(n){if(Array.isArray(n))return n}(n)||function(n,t){var e=null==n?null:"undefined"!=typeof Symbol&&n[Symbol.iterator]||n["@@iterator"];if(null!=e){var r,o,i,a,c=[],l=!0,s=!1;try{if(i=(e=e.call(n)).next,0===t){if(Object(e)!==e)return;l=!1}else for(;!(l=(r=i.call(e)).done)&&(c.push(r.value),c.length!==t);l=!0);}catch(n){s=!0,o=n}
1finally{try{if(!l&&null!=e.return&&(a=e.return(),Object(a)!==a))return}finally{if(s)throw o}}return c}}(n,t)||function(n,t){if(n){if("string"==typeof n)return l(n,t);var e={}.toString.call(n).slice(8,-1);return"Object"===e&&n.constructor&&(e=n.constructor.name),"Map"===e||"Set"===e?Array.from(n):"Arguments"===e||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(e)?l(n,t):void 0}}(n,t)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function l(n,t){(null==t||t>n.length)&&(t=n.length);for(var e=0,r=Array(t);e<t;e++)r[e]=n[e];return r}function s(n){const t=c((0,r.useState)({element:void 0,window:void 0}),2),e=t[0],o=t[1];return(0,r.useEffect)(()=>{let t=!0;const e=()=>{t&&o((()=>{if("undefined"!=typeof window)return{element:((n||{current:null}).current||document.documentElement).clientWidth,window:window.innerWidth};return{element:void 0,window:void 0}})())},r=(0,a.n)(200,e);return window.addEventListener("resize",r,{passive:!0}),e(),()=>{t=!1,window.removeEventListener("resize",r)}},[]),e}var d=e(2024),u=e(88597),p=e(98469),h=e(31924),f=e(87227);const m=(n,t)=>
1{const e="left"===t?t:"right",r=n||p.UE;return"linear-gradient(to ".concat(e,", ").concat(r," 50%, transparent)")},g=u.Ay.button.withConfig({componentId:"hp__sc-kkph67-0"})(n=>{let t=n.shown;return"\n align-items: center;\n border: 0;\n cursor: pointer;\n display: ".concat(t?"flex":"none",";\n height: 58px;\n outline: 0;\n padding: 0;\n position: absolute;\n top: 0;\n user-select: none;\n width: 60px;\n z-index: 2;\n -webkit-tap-highlight-color: transparent;\n\n &:hover > span {\n filter: brightness(1.5);\n }\n")}),b={ButtonLeft:(0,u.Ay)(g).withConfig({componentId:"hp__sc-kkph67-1"})(n=>{let t=n.backgroundColor;return"\n background: ".concat(m(t),";\n justify-content: flex-start;\n left: 0;\n ")}),ButtonRight:(0,u.Ay)(g).withConfig({componentId:"hp__sc-kkph67-2"})(n=>{let t=n.backgroundColor;return"\n background: ".concat(m(t,"left"),";\n justify-content: flex-end;\n right: 0;\n ")}),Container:u.Ay.div.withConfig({componentId:"hp__sc-kkph67-3"})(n=>{let t=n.slider;return"\n position: relative;\n height: ".concat(t?"58px":"auto",";\n overflow: hidden;\n margin-bottom: 0.7rem;\n\n @media ").concat(o.J.phone," {\n margin-bottom: 2rem;\n }\n ")}),Nav:u.Ay.nav.withConfig({componentId:"hp__sc-kkph67-4"})(n=>{let t=n.slider;return"\n display: flex;\n flex-wrap: ".concat(t?"nowrap":"wrap",";\n font-family: ").concat(f.Kh,";\n font-weight: bold;\n font-size: ").concat(h.$s,";\n overflow-x: auto;\n padding: 1rem 0px 2.3rem;\n ")}),Link:u.Ay.a.withConfig({componentId:"hp__sc-kkph67-5"})(n=>{let t=n.hover;return"\n color: ".concat(p.Oj,";\n cursor: pointer;\n display: block;\n margin-bottom: .5rem;\n margin-right: 30px;\n padding-bottom: .5rem;\n position: relative;\n user-select: none;\n white-space: nowrap;\n -webkit-tap-highlight-color: transparent;\n\n &:after {\n background-color: ").concat(p.Kq,";\n border-radius: 3px;\n bottom: 0;\n content: '';\n display: block;\n height: 3px;\n left: 50%;\n opacity: 0;\n position: absolute;\n transform: translateX(-50%);\n transition: opacity .2s ease-in-out, width .2s ease-in-out;\n width: 0;\n }\n\n &:hover {\n color: ").concat(p.Oj,";\n &:after {\n opacity: 1;\n width: 100%;\n }\n }\n\n ").concat(t?"":"\n &:first-of-type:after {\n opacity: 1;\n width: 100%;\n }\n ","\n ")})};var x=e(74848);function y(n,t){return function(n){if(Array.isArray(n))return n}(n)||function(n,t){var e=null==n?null:"undefined"!=typeof Symbol&&n[Symbol.iterator]||n["@@iterator"];if(null!=e){var r,o,i,a,c=[],l=!0,s=!1;try{if(i=(e=e.call(n)).next,0===t){if(Object(e)!==e)return;l=!1}else for(;!(l=(r=i.call(e)).done)&&(c.push(r.value),c.length!==t);l=!0);}catch(n){s=!0,o=n}finally{try{if(!l&&null!=e.return&&(a=e.return(),Object(a)!==a))return}finally{if(s)throw o}}return c}}(n,t)||function(n,t){if(n){if("string"==typeof n)return v(n,t);var e={}.toString.call(n).slice(8,-1);return"Object"===e&&n.constructor&&(e=n.constructor.name),"Map"===e||"Set"===e?Array.from(n):"Arguments"===e||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(e)?v(n,t):void 0}}(n,t)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function v(n,t){(null==t||t>n.length)&&(t=n.length);for(var e=0,r=Array(t);e<t;e++)r[e]=n[e];return r}const w=n=>{let t=n.backgroundColor,e=n.children,o=n.container,i=n.slider,c=n.ref;const l=y((0,r.useState)(!1),2),s=l[0],u=l[1],p=y((0,r.useState)(!1),2),h=p[0],f=p[1],m=(n,t)=>n&&n.current?n.current[t||"clientWidth"]:0,g=()=>{const n=(c||{current:null}).current;if(n){const t=n.scrollLeft,e=m(o),r=m(c,"scrollWidth");u(0!==t),f(t+e<r-1)}},v=(0,a.n)(200,g),w=(0,a.s)(200,g),j=n=>{if(!n||["left","right"].indexOf(n)<0)return null;const t=(c||{current:null}).current;let e=null==t?void 0:t.scrollLeft;const r=m(o)/2;return"left"===n&&(e-=r),"right"===n&&(e+=r),t?t.scroll({top:0,left:e,behavior:"smooth"}):null};return(0,r.useEffect)(()=>{const n=(c||{current:null}).current;return n&&(g(),n.addEventListener("scroll",v),window.addEventListener("resize",w)),()=>{n&&(n.removeEventListener("scroll",v),window.removeEventListener("resize",w))}},[o,c,i]),i?(0,x.jsxs)(b.Nav,{ref:c,slider:!0,children:[(0,x.jsx)(b.ButtonLeft,{"aria-label":"scroll left",backgroundColor:t,onClick:()=>j("left"),shown:s,children:(0,x.jsx)(d.A,{iconName:"app/arrow-left-circle",w:18,h:18})}),e,(0,x.jsx)(b.ButtonRight,{"aria-label":"scroll right",backgroundColor:t,onClick:()=>j("right"),shown:h,children:(0,x.jsx)(d.A,{iconName:"app/arrow-right-circle",w:18,h:18})})]}):(0,x.jsx)(b.Nav,{children:e})};w.displayName="Scrollable";const j=w;function C(n,t){return function(n){if(Array.isArray(n))return n}(n)||function(n,t){var e=null==n?null:"undefined"!=typeof Symbol&&n[Symbol.iterator]||n["@@iterator"];if(null!=e){var r,o,i,a,c=[],l=!0,s=!1;try{if(i=(e=e.call(n)).next,0===t){if(Object(e)!==e)return;l=!1}else for(;!(l=(r=i.call(e)).done)&&(c.push(r.value),c.length!==t);l=!0);}catch(n){s=!0,o=n}
1finally{try{if(!l&&null!=e.return&&(a=e.return(),Object(a)!==a))return}finally{if(s)throw o}}return c}}(n,t)||function(n,t){if(n){if("string"==typeof n)return A(n,t);var e={}.toString.call(n).slice(8,-1);return"Object"===e&&n.constructor&&(e=n.constructor.name),"Map"===e||"Set"===e?Array.from(n):"Arguments"===e||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(e)?A(n,t):void 0}}(n,t)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function A(n,t){(null==t||t>n.length)&&(t=n.length);for(var e=0,r=Array(t);e<t;e++)r[e]=n[e];return r}const k=n=>{let t=n.backgroundColor,e=void 0===t?null:t,a=n.content,c=void 0===a?[]:a;if(!c||0===c.length)return null;const l=C((0,r.useState)(!1),2),d=l[0],u=l[1],p=(0,r.useRef)(null),h=(0,r.useRef)(null),f=s().window<o.F.tablet;return(0,x.jsx)(b.Container,{ref:p,slider:f,children:(0,x.jsx)(j,{backgroundColor:e,container:p,ref:h,slider:f,children:c.map(n=>{let t=n.title,e=n.anchor;return(0,x.jsx)(b.Link,{onClick:()=>(0,i.A)('section[id="'.concat(encodeURIComponent(e),'"]')),onMouseEnter:()=>u(!0),onMouseLeave:()=>u(!1),hover:d,children:t},e)})})})}},82717(n,t,e){e.d(t,{A:()=>A});e(89463),e(16280),e(44114),e(27495),e(98992),e(81454),e(62953);var r=e(96540),o=e(2653),i=e(75613),a=e(2024),c=e(86594);e(54520),e(3949);function l(n,t){var e=Object.keys(n);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(n);t&&(r=r.filter(function(t){return Object.getOwnPropertyDescriptor(n,t).enumerable})),e.push.apply(e,r)}return e}function s(n){for(var t=1;t<arguments.length;t++){var e=null!=arguments[t]?arguments[t]:{};t%2?l(Object(e),!0).forEach(function(t){d(n,t,e[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(n,Object.getOwnPropertyDescriptors(e)):l(Object(e)).forEac
1h(function(t){Object.defineProperty(n,t,Object.getOwnPropertyDescriptor(e,t))})}return n}function d(n,t,e){return(t=function(n){var t=function(n,t){if("object"!=typeof n||!n)return n;var e=n[Symbol.toPrimitive];if(void 0!==e){var r=e.call(n,t||"default");if("object"!=typeof r)return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(n)}(n,"string");return"symbol"==typeof t?t:t+""}(t))in n?Object.defineProperty(n,t,{value:e,enumerable:!0,configurable:!0,writable:!0}):n[t]=e,n}const u="slide",p="next",h="prev",f=(n,t)=>{const e=t.type,r=t.payload;switch(e){case u:{let t=r.position,e=r.direction;return void 0!==t?e=t>n.position?p:h:t=e===p?Math.min(n.position+1,n.order.length-1):Math.max(n.position-1,0),s(s({},n),{},{direction:e,position:t})}case p:{const t=[...n.order],e=t.splice(-1,1);t.splice(0,0,...e);const r=t.indexOf(1);return{direction:null,order:t,position:r}}case h:{let t=[...n.order];const e=t.splice(0,1);t=t.concat(e);const r=t.indexOf(1);return{direction:null,order:t,position:r}}default:return n}};var m=e(88597),g=e(98469),b=e(31924),x=e(2541);const y="15",v={Header:m.Ay.div.withConfig({componentId:"hp__sc-1hs28n2-0"})(["align-items:flex-end;display:flex;& > div{margin-bottom:0;}"]),Slider:m.Ay.div.withConfig({componentId:"hp__sc-1hs28n2-1"})(n=>{let t=n.preText,e=n.noMargin;return"\n position: relative;\n width: 100%;\n ".concat(t?"h2:last-child {margin-bottom: 0}":"",";\n margin-bottom: ").concat(e?"0":"2rem",";\n ")}),PreText:m.Ay.div.withConfig({componentId:"hp__sc-1hs28n2-2"})(["margin-bottom:2rem;p:last-child{margin-bottom:0;}"]),BeforeAfter:m.Ay.div.withConfig({componentId:"hp__sc-1hs28n2-3"})(["padding-bottom:2rem;&:last-child{padding-bottom:0;}"]),SlidesBox:m.Ay.div.withConfig({componentId:"hp__sc-1hs28n2-4"})(n=>{let t=n.roundedCorners;return"\n border-radius: ".concat(t?b.Zz:0,";\n overflow: hidden;\n position: relative;\n ")}),SlidesContainer:m.Ay.div.withConfig({componentId:"hp__sc-1hs28n2-5"})(n=>{let t=n.fullWidth,e=n.sideButtons;return"\n overflow: ".concat(t?"initial":"hidden",";\n position: relative;\n z-index: 2;\n margin: ").concat(e&&!t?"0 50px":"-0.5rem -".concat(t?0:14,"px"),";\n padding: 0.5rem 0;\n\n @media ").concat(x.J.phoneXS," {\n margin-left: 0;\n margin-right: 0;\n }\n ")}),SlidesWrapper:m.Ay.ul.withConfig({componentId:"hp__sc-1hs28n2-6"})(n=>{let t=n.columnCount,e=n.position;return"\n display: flex;\n list-style: none;\n margin: 0;\n padding: 0;\n position: relative;\n transition: transform 0.3s ease;\n transform: translateX(-".concat(e*(100/t),"%);\n ")}),CarouselWrapper:m.Ay.ul.withConfig({componentId:"hp__sc-1hs28n2-7"})(n=>{let t=n.columnCount;return"\n display: flex;\n list-style: none;\n margin: 0;\n padding: 0 0 1rem;\n position: relative;\n\n &.prev {\n transition: transform 0.3s ease;\n transform: translateX(".concat(100/t,"%);\n }\n\n &.next {\n transition: transform 0.3s ease;\n transform: translateX(-").concat(100/t,"%);\n }\n ")}),SlideItem:m.Ay.li.withConfig({componentId:"hp__sc-1hs28n2-8"})(n=>{let t=n.columnCount,e=n.fullWidth;return"\n flex-shrink: 0;\n flex-grow: 0;\n flex-basis: ".concat(e?"100%":"calc(".concat(100/t,"% - ").concat(30,"px)"),";\n list-style: none;\n order: 1;\n padding: ").concat(e?0:"0 ".concat(y,"px"),";\n display: flex;\n align-items: stretch;\n\n & > * {\n width: 100%;\n }\n ")}),ControlButton:m.Ay.span.withConfig({componentId:"hp__sc-1hs28n2-9"})(n=>{let t=n.disabled;return"\n box-sizing: border-box;\n cursor: ".concat(t?"initial":"pointer",";\n display: block;\n height: 42px;\n opacity: ").concat(t?"0.5":1,";\n pointer-events: ").concat(t?"none":"auto",";\n width: 42px;\n\n &:first-child {\n transform: scaleX(-1);\n }\n\n &:hover span {\n filter: brightness(1.5);\n }\n\n @media ").concat(x.J.phoneXS," {\n padding: 5px;\n\n span {\n transform: translateX(5px);\n }\n }\n ")}),HeaderControlButtons:m.Ay.div.withConfig({componentId:"hp__sc-1hs28n2-10"})(["display:flex;margin:0 0 2rem auto;white-space:nowrap;height:42px;& > :first-child{margin-right:1.5rem;position:relative;:after{background-color:",";content:'';cursor:default;display:block;height:50%;position:absolute;
1left:-0.75rem;top:25%;width:1px;}}"],g.xq),SideControlButtons:m.Ay.div.withConfig({componentId:"hp__sc-1hs28n2-11"})(n=>{let t=n.fullWidth;return"\n position: absolute;\n top: 0;\n left: 0;\n width: 100%;\n height: 100%;\n display: flex;\n align-items: center;\n box-sizing: border-box;\n z-index: ".concat(t?"3":"2",";\n padding: ").concat(t?"0.5rem":0,";\n pointer-events: none;\n\n & > :last-child {\n margin-left: auto;\n }\n ")}),DotsWrapper:m.Ay.div.withConfig({componentId:"hp__sc-1hs28n2-12"})(n=>{let t=n.noMargin;return"\n display: flex;\n justify-content: center;\n padding: ".concat(t?"2rem 0 0":"2rem 0",";\n\n @media ").concat(x.J.phoneXS," {\n padding-top: .5rem;\n }\n ")}),Dots:m.Ay.button.withConfig({componentId:"hp__sc-1hs28n2-13"})(["display:flex;height:14px;width:14px;margin:0 5px;padding:0;border:none;border-radius:50%;background-color:",";cursor:pointer;outline:none;&.active{background-color:",";}&:hover{background-color:",";}@media ","{height:1rem;width:1rem;}"],g._p,g.Oj,g.x2,x.J.phoneXS)};var w=e(74848);function j(n,t){return function(n){if(Array.isArray(n))return n}(n)||function(n,t){var e=null==n?null:"undefined"!=typeof Symbol&&n[Symbol.iterator]||n["@@iterator"];if(null!=e){var r,o,i,a,c=[],l=!0,s=!1;try{if(i=(e=e.call(n)).next,0===t){if(Object(e)!==e)return;l=!1}else for(;!(l=(r=i.call(e)).done)&&(c.push(r.value),c.length!==t);l=!0);}catch(n){s=!0,o=n}finally{try{if(!l&&null!=e.return&&(a=e.return(),Object(a)!==a))return}finally{if(s)throw o}}return c}}(n,t)||function(n,t){if(n){if("string"==typeof n)return C(n,t);var e={}.toString.call(n).slice(8,-1);return"Object"===e&&n.constructor&&(e=n.constructor.name),"Map"===e||"Set"===e?Array.from(n):"Arguments"===e||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(e)?C(n,t):void 0}}(n,t)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function C(n,t){(null==t||t>n.length)&&(t=n.length);for(var e=0,r=Array(t);e<t;e++)r[e]=n[e];return r}const A=n=>{let t=n.children,e=n.title,l=void 0===e?"":e,s=n.headerIconName,d=void 0===s?null:s,m=n.headerIconUrl,g=void 0===m?null:m,b=n.before,x=void 0===b?{}:b,y=n.after,C=void 0===y?{}:y,A=n.columnCount,k=void 0===A?1:A,_=n.fullWidth,I=void 0!==_&&_,O=n.withHeader,S=void 0!==O&&O,P=n.withSide,E=void 0!==P&&P,T=n.withDots,z=void 0!==T&&T,B=n.noMargin,W=void 0!==B&&B,D=n.roundedCorners,M=void 0!==D&&D;if(null===t)return null;const J=Array.isArray(t)?t:[t],N=J.length<=k;let L=E;const R={direction:null,order:J.map((n,t)=>t+1),position:0},U=j((0,r.useReducer)(f,R),2),X=U[0],$=U[1],F=(0,r.useRef)(),H=(0,r.useRef)(null),q=n=>{let t=n.slide,e=n.position;if(!t&&void 0===e||N)return;const r=H.current;if(r&&clearTimeout(r),z){let n;n=t?1:Math.abs(e-X.position),n&&$({type:u,payload:{position:e,direction:t}})}else $({type:u,payload:{direction:t}}),H.current=setTimeout(()=>$({type:t}),320)},K=()=>q({slide:h}),G=()=>q({slide:p});let V=null;x&&Object.keys(x).length>0&&(V=(0,w.jsx)(v.BeforeAfter,{children:(0,w.jsx)(o.A,{document:x})}));let Z=null;C&&Object.keys(C).length>0&&(Z=(0,w.jsx)(v.BeforeAfter,{children:(0,w.jsx)(o.A,{document:C})}));const Q=X.direction,Y=X.order,nn=X.position,tn=()=>(0,w.jsxs)(w.Fragment,{children:[(0,w.jsx)(v.ControlButton,{disabled:nn<=0,onClick:K,children:(0,w.jsx)(a.A,{iconName:"app/arrow-right-circle"})}),(0,w.jsx)(v.ControlButton,{disabled:nn>=J.length-k,onClick:G,children:(0,w.jsx)(a.A,{iconName:"app/arrow-right-circle"})})]}),en=z?v.SlidesWrapper:v.CarouselWrapper;return S&&!l&&(L=!0),(0,w.jsxs)(v.Slider,{ref:F,preText:!!V,noMargin:W,children:[(l||S)&&(0,w.jsxs)(v.Header,{children:[(0,w.jsx)(i.A,{title:l,iconName:d,iconUrl:g,small:!0}
1),S&&!N&&!L&&(0,w.jsx)(v.HeaderControlButtons,{children:(0,w.jsx)(tn,{})})]}),V&&(0,w.jsx)(v.PreText,{children:V}),(0,w.jsx)(v.SlidesBox,{roundedCorners:M,children:(0,w.jsxs)(c.A,{next:G,prev:K,children:[(0,w.jsx)(v.SlidesContainer,{sideButtons:L&&!N,fullWidth:I,children:(0,w.jsx)(en,{className:Q,position:nn,columnCount:k,fullWidth:I,children:J.map((n,t)=>(0,w.jsx)(v.SlideItem,{style:{order:Y[t]},columnCount:k,fullWidth:I,children:n},Y[t]))})}),L&&!N&&(0,w.jsx)(v.SideControlButtons,{fullWidth:I,children:(0,w.jsx)(tn,{columnCount:k,position:nn,items:J,slidePrev:K,slideNext:G})})]})}),z&&(0,w.jsx)(v.DotsWrapper,{noMargin:W,children:J.map((n,t)=>(0,w.jsx)(v.Dots,{className:t===nn&&"active",type:"button",title:"Image-".concat(t+1),"aria-label":"Image-".concat(t+1),onClick:()=>(n=>q({position:n}))(t)},"dot-navi-".concat(Y[t])))}),Z]})}},58585(n,t,e){e.d(t,{A:()=>y});e(16280),e(44114),e(98992),e(54520),e(3949);var r=e(28706),o=e(40001),i=e(38664),a=e(12858),c=e(5632),l=e(1016),s=e(88597),d=e(31924),u=e(2541);const p="\n aspect-ratio: 3 / 2;\n border-radius: ".concat(d.Zz,";\n\n @media ").concat(u.J.desktop," {\n aspect-ratio: auto;\n height: 420px;\n }\n"),h="\n @media ".concat(u.J.phone," {\n max-height: 350px;\n }\n"),f={ImageWrapper:s.Ay.div.withConfig({componentId:"hp__sc-1azm94p-0"})(n=>{let t=n.heroImage;return"\n max-width: 100%;\n overflow: hidden;\n width: 100%;\n ".concat(t?p:h,"\n ")}),Image:s.Ay.img.withConfig({componentId:"hp__sc-1azm94p-1"})(n=>{let t=n.heroImage;return"\n display: block;\n height: 100%;\n max-height: 80vh;\n object-fit: cover;\n width: 100%;\n\n ".concat(t?"":"\n @media ".concat(u.J.desktop," {\n min-height: 600px;\n }\n @media ").concat(u.J.tablet," {\n min-height: 400px;\n }\n @media ").concat(u.J.phone," {\n min-height: 200px;\n }\n "),"\n ")})};var m=e(74848);function g(n,t){var e=Object.keys(n);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(n);t&&(r=r.filter(function(t){return Object.getOwnPropertyDescriptor(n,t).enumerable})),e.push.apply(e,r)}return e}function b(n){for(var t=1;t<arguments.length;t++){var e=null!=arguments[t]?arguments[t]:{};t%2?g(Object(e),!0).forEach(function(t){x(n,t,e[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(n,Object.getOwnPropertyDescriptors(e)):g(Object(e)).forEac
1h(function(t){Object.defineProperty(n,t,Object.getOwnPropertyDescriptor(e,t))})}return n}function x(n,t,e){return(t=function(n){var t=function(n,t){if("object"!=typeof n||!n)return n;var e=n[Symbol.toPrimitive];if(void 0!==e){var r=e.call(n,t||"default");if("object"!=typeof r)return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(n)}(n,"string");return"symbol"==typeof t?t:t+""}(t))in n?Object.defineProperty(n,t,{value:e,enumerable:!0,configurable:!0,writable:!0}):n[t]=e,n}const y=n=>{let t=n.heroImage,e=void 0!==t&&t,s=n.image,d=n.loading,u=n.maxWidth,p=n.onClick,h=void 0===p?()=>{}:p,g=n.sizes;const x=(0,r._)(),y=(0,o.A)().lang,v=(0,i.y)().trackEvent;if(!s)return null;const w=(0,c.J)(s,y)||"",j=(0,c.O)(s,y),C=(0,l.Vx)(s,{maxWidth:u,sizes:g});if(!C)return null;return(0,m.jsx)(f.ImageWrapper,{heroImage:e,children:(0,m.jsx)(f.Image,{alt:w,title:j,heroImage:e,loading:d,onClick:n=>{h(n),e&&v("image_click",b(b({},(0,a.yX)(x)),{},{click_url:C.src,label:"main"}))},sizes:C.sizes,src:C.src,srcSet:C.srcset})})}},87839(n,t,e){e.d(t,{A:()=>w});e(16280),e(44114),e(98992),e(54520),e(3949),e(81454);var r=e(28706),o=e(40001),i=e(78100),a=e(38664),c=e(12858),l=e(5632),s=e(1016),d=e(88597),u=e(98469),p=e(31924),h=e(87227),f=e(2541);const m=(0,d.AH)(["outline:4px solid rgba(255,255,255,0.5);outline-offset:-4px;"]),g={ThumbViewport:d.Ay.div.withConfig({componentId:"hp__sc-1b42dxh-0"})(n=>{let t=n.variant;return"\n ".concat("default"===t&&"margin-top: 16px;","\n overflow: hidden;\n ")}),ThumbContainer:d.Ay.div.withConfig({componentId:"hp__sc-1b42dxh-1"})(n=>"hero"===n.variant?"\n bottom: 16px;\n cursor: default;\n display: none;\n flex-direction: column;\n gap: 10px;\n justify-content: center;\n position: absolute;\n right: 16px;\n top: 16px;\n\n @media ".concat(f.J.desktop," {\n display: flex;\n }\n "):"\n cursor: default;\n display: flex;\n gap: 8px;\n justify-content: center;\n\n @media ".concat(f.J.desktop," {\n gap: 10px;\n justify-content: flex-start;\n }\n ")),ThumbSlide:d.Ay.div.withConfig({componentId:"hp__sc-1b42dxh-2"})(["border-radius:",";max-height:60px;max-width:80px;position:relative;@media ","{flex:0 0 80px;}"],p.Zz,f.J.desktop),ThumbButton:d.Ay.button.attrs(n=>{let t=n.isActive;return{className:t?"active":"","aria-pressed":t}}).withConfig({componentId:"hp__sc-1b42dxh-3"})(n=>{let t=n.isActive,e=void 0!==t&&t,r=n.variant;return"hero"===(void 0===r?"default":r)?"\n appearance: none;\n aspect-ratio: 4 / 3;\n background-color: transparent;\n border-radius: ".concat(p.Zz,";\n border: none;\n cursor: pointer;\n display: block;\n height: auto;\n margin: 0;\n overflow: hidden;\n padding: 0;\n position: relative;\n touch-action: manipulation;\n width: 100%;\n\n ").concat(m,"\n\n &:focus-visible {\n outline: 2px solid ").concat(u.Oj,";\n outline-offset: 2px;\n }\n "):"\n appearance: none;\n background-color: ".concat(e?u.Oj:u.S0,";\n border-radius: 50%;\n border: none;\n cursor: pointer;\n display: block;\n height: 10px;\n margin: 0;\n overflow: hidden;\n padding: 0;\n position: relative;\n touch-action: manipulation;\n transition: opacity 0.2s ease-in-out, background-color 0.2s ease-in-out;\n width: 10px;\n\n &:focus-visible {\n outline: 2px solid ").concat(u.Oj,";\n outline-offset: 2px;\n }\n\n @media ").concat(f.J.desktop," {\n aspect-ratio: 4 / 3;\n background-color: transparent;\n border-radius: ").concat(p.Zz,";\n display: block;\n height: auto;\n margin: 0;\n opacity: ").concat(e?1:.8,";\n width: 100%;\n\n &.active,\n &:focus-visible {\n ").concat(m,"\n }\n }\n ")}),ThumbImage:d.Ay.img.withConfig({componentId:"hp__sc-1b42dxh-4"})(["display:none;@media ","{display:block;height:100%;object-fit:cover;width:100%;}"],f.J.desktop),MorePhotosIndicator:d.Ay.div.withConfig({componentId:"hp__sc-1b42dxh-5"})(["display:none;@media ","{align-items:center;background-color:rgba(0,0,0,0.85);border-radius:",";box-sizing:border-box;color:",";display:flex;font-family:",";font-size:12px;font-weight:bold;inset:4px;justify-content:center;line-height:1.6;padding:4px;position:absolute;text-align:center;}"],f.J.desktop,p.Z2,u.UE,h.vP)};var b=e(74848);function x(n,t){var e=Object.keys(n);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(n);t&&(r=r.filter(function(t){return Object.getOwnPropertyDescriptor(n,t).enumerable})),e.push.apply(e,r)}return e}function y(n){for(var t=1;t<arguments.length;t++){var e=null!=arguments[t]?arguments[t]:{};
1t%2?x(Object(e),!0).forEach(function(t){v(n,t,e[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(n,Object.getOwnPropertyDescriptors(e)):x(Object(e)).forEach(function(t){Object.defineProperty(n,t,Object.getOwnPropertyDescriptor(e,t))})}return n}function v(n,t,e){return(t=function(n){var t=function(n,t){if("object"!=typeof n||!n)return n;var e=n[Symbol.toPrimitive];if(void 0!==e){var r=e.call(n,t||"default");if("object"!=typeof r)return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(n)}(n,"string");return"symbol"==typeof t?t:t+""}(t))in n?Object.defineProperty(n,t,{value:e,enumerable:!0,configurable:!0,writable:!0}):n[t]=e,n}const w=n=>{let t=n.images,e=n.onThumbClick,d=n.selectedIndex,u=n.variant,p=void 0===u?"default":u,h=n.viewportRef;const f=(0,r._)(),m=(0,o.A)().lang,x=(0,a.y)().trackEvent,v=(0,i.B)().post,w=v.photo,j=void 0===w?"":w,C=v.photos,A=void 0===C?"":C;if(null==t||!t.length)return null;const k=t.length,_="hero"===p,I=_?t.slice(0,s.j1):t,O=_?Math.max(0,k-s.j1):0;return(0,b.jsx)(g.ThumbViewport,{ref:h,variant:p,children:(0,b.jsx)(g.ThumbContainer,{variant:p,children:I.map((n,t)=>{const r=t===d,o=_&&t===s.j1-1&&O>0,i=(0,s.Vx)(n,{preset:"thumb"}),a=(0,l.J)(n,m)||"",u=(0,l.O)(n,m),h=o?"+".concat(O," ").concat(O>1?A:j):a||"".concat(j," ").concat(t+1);return(0,b.jsx)(g.ThumbSlide,{children:(0,b.jsxs)(g.ThumbButton,{"aria-label":h,isActive:r,onClick:()=>((n,t)=>{e(n),x("image_click",y(y({},(0,c.yX)(f)),{},{click_url:t,label:_?"sub":"bottom"}))})(t,null==i?void 0:i.src),variant:p,children:[o?(0,b.jsxs)(g.MorePhotosIndicator,{"aria-hidden":"true",children:["+",O," ",O>1?A:j]}):null,(0,b.jsx)(g.ThumbImage,{alt:o?"":a,title:u,src:(null==i?void 0:i.src)||""})]})},(null==n?void 0:n.fileName)||t)})})})}},45827(n,t,e){e.d(t,{A:()=>I});e(89463),e(16280),e(44114),e(3362),e(27495),e(62953);var r=e(96540),o=e(34821),i=e(31924),a=e(58585),c=e(87839),l=(e(98992),e(81454),e(26674)),s=e(78100),d=e(40001),u=e(5632),p=e(1016),h=e(88597),f=e(98469);const m={Container:h.Ay.div.withConfig({componentId:"hp__sc-bh5wra-0"})(n=>{let t=n.hasOverflow;return"\n bottom: 0;\n height: ".concat(24,"px;\n left: 50%;\n overflow: hidden;\n position: absolute;\n transform: translateX(-50%);\n z-index: 1;\n ").concat(t?"width: ".concat(120,"px;"):"","\n ")}),Row:h.Ay.div.withConfig({componentId:"hp__sc-bh5wra-1"})(n=>{let t=n.offset;return"\n display: flex;\n transform: translateX(".concat(24*-t,"px);\n transition: transform 0.2s ease-in-out;\n ")}),Dot:h.Ay.button.withConfig({componentId:"hp__sc-bh5wra-2"})(n=>{let t=n.isActive,e=n.isEdge;return"\n appearance: none;\n background: transparent;\n border: none;\n cursor: pointer;\n display: block;\n flex-shrink: 0;\n height: ".concat(24,"px;\n margin: 0;\n padding: 0;\n position: relative;\n touch-action: manipulation;\n width: ").concat(24,"px;\n\n &::before {\n content: '';\n background-color: ").concat(t?f.Oj:f.S0,";\n border-radius: 50%;\n height: 8px;\n left: 50%;\n position: absolute;\n top: 50%;\n transform: translate(-50%, -50%) scale(").concat(e?.6:1,");\n transition: background-color 0.2s ease-in-out, transform 0.2s ease-in-out;\n width: 8px;\n }\n\n &:focus-visible {\n outline: 2px solid ").concat(f.Oj,";\n outline-offset: 2px;\n }\n ")})};var g=e(74848);const b=n=>{let t=n.emblaApi,e=n.images;const r=(0,d.A)().lang,o=(0,s.B)().post.photo,i=void 0===o?"photo":o,a=(0,p.Lw)(t).selectedIndex,c=e.length;if(c<=1)return null;const l=c>5,h=Math.floor(2.5),f=l?Math.max(0,Math.min(a-h,c-5)):0,b=c-5;return(0,g.jsx)(m.Container,{hasOverflow:l,children:(0,g.jsx)(m.Row,{offset:f,children:e.map((n,e)=>{const o=(0,u.J)(n,r)||"".concat(i," ").concat(e+1),c=e===a,s=e-f,d=l&&(0===s&&f>0||4===s&&f<b);return(0,g.jsx)(m.Dot,{type:"button","aria-label":o,"aria-pressed":c,isActive:c,isEdge:d,onClick:()=>null==t?void 0:t.scrollTo(e)},(null==n?void 0:n.fileName)||e)})})})};var x=e(2541);const y={Wrapper:h.Ay.div.withConfig({componentId:"hp__sc-105ob0q-0"})(n=>{let t=n.expired,e=n.isClickable,r=n.hasMultipleImages;return"\n cursor: ".concat(e?"pointer":"default",";\n position: relative;\n ").concat(r?"\n @media not all and ".concat(x.J.desktop," {\n padding-bottom: ").concat(32,"px;\n }\n "):"","\n ").concat(t?"filter: grayscale(1);":"","\n ")}),Viewport:h.Ay.div.withConfig({componentId:"hp__sc-105ob0q-1"})(["overflow:hidden;width:100%;"]),Track:h.Ay.div.withConfig({componentId:"hp__sc-105ob0q-2"})(["display:flex;touch-action:pan-y pinch-zoom;"]),Slide:h.Ay.div.withConfig({componentId:"hp__sc-105ob0q-3"})(["flex:0 0 100%;min-width:0;"])};function v(n,t){return function(n){if(Array.isArray(n))return n}(n)||function(n,t){var e=null==n?null:"undefined"!=typeof Symbol&&n[Symbol.iterator]||n["@@iterator"];if(null!=e){var r,o,i,a,c=[],l=!0,s=!1;try{if(i=(e=e.call(n)).next,0===t){if(Object(e)!==e)return;l=!1}else for(;!(l=(r=i.call(e)).done)&&(c.push(r.value),c.length!==t);l=!0);}catch(n){s=!0,o=n}
1finally{try{if(!l&&null!=e.return&&(a=e.return(),Object(a)!==a))return}finally{if(s)throw o}}return c}}(n,t)||function(n,t){if(n){if("string"==typeof n)return w(n,t);var e={}.toString.call(n).slice(8,-1);return"Object"===e&&n.constructor&&(e=n.constructor.name),"Map"===e||"Set"===e?Array.from(n):"Arguments"===e||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(e)?w(n,t):void 0}}(n,t)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function w(n,t){(null==t||t>n.length)&&(t=n.length);for(var e=0,r=Array(t);e<t;e++)r[e]=n[e];return r}const j=n=>{let t=n.expiredDeal,e=n.images;const r=(0,s.B)().post.photo,o=void 0===r?"photo":r,i=v((0,l.A)(p.ji),2),c=i[0],d=i[1];return(0,g.jsxs)(y.Wrapper,{expired:t,isClickable:!1,hasMultipleImages:e.length>1,children:[(0,g.jsx)(y.Viewport,{ref:c,role:"region","aria-roledescription":"carousel","aria-label":o,children:(0,g.jsx)(y.Track,{children:e.map((n,t)=>{const r="".concat(o," ").concat(t+1," / ").concat(e.length);return(0,g.jsx)(y.Slide,{role:"group","aria-roledescription":"slide","aria-label":r,children:(0,g.jsx)(a.A,{heroImage:!0,image:n,loading:0===t?"eager":"lazy",sizes:"calc(100vw - 30px)"})},(null==n?void 0:n.fileName)||t)})})}),(0,g.jsx)(b,{emblaApi:d,images:e})]})},C=n=>{let t=n.expiredDeal,e=n.images,r=n.onClick;const l=(0,o.Y0)().viewport;if(null==e||!e.length)return null;const s=l===i.xr||l===i.vn,d=e.length>1;if(s)return d?(0,g.jsx)(j,{images:e,expiredDeal:t}):(0,g.jsx)(y.Wrapper,{expired:t,isClickable:!1,children:(0,g.jsx)(a.A,{heroImage:!0,image:e[0],loading:"eager",sizes:"calc(100vw - 30px)"})});const u=e[0],p=e.slice(1),h=d,f=h?()=>r(0):void 0;return(0,g.jsxs)(y.Wrapper,{expired:t,isClickable:h,hasMultipleImages:d,children:[(0,g.jsx)(a.A,{heroImage:!0,image:u,loading:"eager",onClick:f,sizes:"(min-width: 1340px) 950px, (min-width: 1024px) 70vw, 100vw"}),p.length?(0,g.jsx)(c.A,{images:p,onThumbClick:n=>r(n+1),variant:"hero"}):null]})};function A(n,t){return function(n){if(Array.isArray(n))return n}(n)||function(n,t){var e=null==n?null:"undefined"!=typeof Symbol&&n[Symbol.iterator]||n["@@iterator"];if(null!=e){var r,o,i,a,c=[],l=!0,s=!1;try{if(i=(e=e.call(n)).next,0===t){if(Object(e)!==e)return;l=!1}else for(;!(l=(r=i.call(e)).done)&&(c.push(r.value),c.length!==t);l=!0);}catch(n){s=!0,o=n}finally{try{if(!l&&null!=e.return&&(a=e.return(),Object(a)!==a))return}finally{if(s)throw o}}return c}}(n,t)||function(n,t){if(n){if("string"==typeof n)return k(n,t);var e={}.toString.call(n).slice(8,-1);return"Object"===e&&n.constructor&&(e=n.constructor.name),"Map"===e||"Set"===e?Array.from(n):"Arguments"===e||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(e)?k(n,t):void 0}}(n,t)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function k(n,t){(null==t||t>n.length)&&(t=n.length);for(var e=0,r=Array(t);e<t;e++)r[e]=n[e];return r}const _=(0,r.lazy)(()=>e.e(5688).then(e.bind(e,43752))),I=n=>{let t=n.expiredDeal,e=n.images,o=n.options,i=n.onClose,a=n.widthHero,c=void 0===a||a;const l=A((0,r.useState)(null),2),s=l[0],d=l[1],u=(0,p.Fg)(e),h=(0,r.useCallback)(n=>{d(n)},[]),f=(0,r.useCallback)(()=>{d(null),i&&i()},[i]);return 0===u.length?null:(0,g.jsxs)(g.Fragment,{children:[c?(0,g.jsx)(C,{expiredDeal:t,images:u,onClick:h}):null,null!==s?(0,g.jsx)(r.Suspense,{fallback:null,children:(0,g.jsx)(_,{images:u,initialIndex:s,onClose:f,options:o})}):null]})}},1016(n,t,e){e.d(t,{Fg:()=>u,Lw:()=>h,Q3:()=>p,Vx:()=>c,iI:()=>d,j1:()=>l,ji:()=>s});e(89463),e(16280),e(44114),e(27495),e(98992),e(54520),e(81454),e(62953);var r=e(96540),o=e(93243);function i(n,t){return function(n){if(Array.isArray(n))return n}(n)||function(n,t){var e=null==n?null:"undefined"!=typeof Symbol&&n[Symbol.iterator]||n["@@iterator"];if(null!=e){var r,o,i,a,c=[],l=!0,s=!1;try{if(i=(e=e.call(n)).next,0===t){if(Object(e)!==e)return;l=!1}else for(;!(l=(r=i.call(e)).done)&&(c.push(r.value),c.length!==t);l=!0);}catch(n){s=!0,o=n}
1finally{try{if(!l&&null!=e.return&&(a=e.return(),Object(a)!==a))return}finally{if(s)throw o}}return c}}(n,t)||function(n,t){if(n){if("string"==typeof n)return a(n,t);var e={}.toString.call(n).slice(8,-1);return"Object"===e&&n.constructor&&(e=n.constructor.name),"Map"===e||"Set"===e?Array.from(n):"Arguments"===e||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(e)?a(n,t):void 0}}(n,t)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function a(n,t){(null==t||t>n.length)&&(t=n.length);for(var e=0,r=Array(t);e<t;e++)r[e]=n[e];return r}const c=function(n){var t;let e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};if(!n||"object"!=typeof n||!n.cdn||!n.path)return null;if("thumb"===e.preset){const t="".concat(n.cdn,"thumb").concat(encodeURI(n.path));return{src:t,srcset:"".concat(t," 1x"),sizes:"120px"}}const r=e.maxWidth,i=void 0===r?1280:r,a=o.Uo.filter(n=>n<=i),c=a.map(t=>"".concat(n.cdn).concat(t).concat(encodeURI(n.path))),l=c.map((n,t)=>"".concat(n," ").concat(a[t],"w")).join();return{src:c[2]||c[c.length-1]||"",srcset:l,sizes:null!==(t=e.sizes)&&void 0!==t?t:"100vw"}},l=5,s={duration:20,loop:!0,align:"start"},d={containScroll:"keepSnaps",dragFree:!0,align:"start"},u=n=>
1(null==n?void 0:n.filter(Boolean))||[],p=n=>t=>{switch(t.key){case"Escape":return void n.onClose();case"ArrowLeft":return void n.onPrev();case"ArrowRight":return void n.onNext()}if("Tab"===t.key){const e=n.modalRef;if(!e.current)return;const r=e.current.querySelectorAll('button, [tabindex]:not([tabindex="-1"])');if(0===r.length)return;const o=r[0],i=r[r.length-1];t.shiftKey?document.activeElement===o&&(i.focus(),t.preventDefault()):document.activeElement===i&&(o.focus(),t.preventDefault())}},h=function(n){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0;const e=i((0,r.useState)(t),2),o=e[0],a=e[1],c=i((0,r.useState)(!1),2),l=c[0],s=c[1],d=i((0,r.useState)(!1),2),u=d[0],p=d[1];return(0,r.useEffect)(()=>{if(!n)return;const t=()=>{a(n.selectedScrollSnap()),s(n.canScrollPrev()),p(n.canScrollNext())};return t(),((n,t)=>n?(n.on("select",t),n.on("reInit",t),()=>{n.off("select",t),n.off("reInit",t)}):()=>{})(n,t)},[n]),{selectedIndex:o,canScrollPrev:l,canScrollNext:u}}},86594(n,t,e){e.d(t,{A:()=>l});e(89463),e(16280),e(44114),e(27495),e(62953);var r=e(96540);const o={Container:e(88597).Ay.div.withConfig({componentId:"hp__sc-9mnbwt-0"})([""])};var i=e(74848);function a(n,t){return function(n){if(Array.isArray(n))return n}(n)||function(n,t){var e=null==n?null:"undefined"!=typeof Symbol&&n[Symbol.iterator]||n["@@iterator"];if(null!=e){var r,o,i,a,c=[],l=!0,s=!1;try{if(i=(e=e.call(n)).next,0===t){if(Object(e)!==e)return;l=!1}else for(;!(l=(r=i.call(e)).done)&&(c.push(r.value),c.length!==t);l=!0);}catch(n){s=!0,o=n}finally{try{if(!l&&null!=e.return&&(a=e.return(),Object(a)!==a))return}finally{if(s)throw o}}return c}}(n,t)||function(n,t){if(n){if("string"==typeof n)return c(n,t);var e={}.toString.call(n).slice(8,-1);return"Object"===e&&n.constructor&&(e=n.constructor.name),"Map"===e||"Set"===e?Array.from(n):"Arguments"===e||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(e)?c(n,t):void 0}}(n,t)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function c(n,t){(null==t||t>n.length)&&(t=n.length);for(var e=0,r=Array(t);e<t;e++)r[e]=n[e];return r}const l=n=>{let t=n.children,e=n.next,c=n.prev;const l=a((0,r.useState)(null),2),s=l[0],d=l[1],u=n=>{let t=0;var e;"changedTouches"in n&&n.changedTouches.length>0?t=(null===(e=n.changedTouches[0])||void 0===e?void 0:e.clientX)||0:t=n.clientX;return{X1:t,isDragged:Math.abs(t-(null!=s?s:0))>10}},p=n=>{let t=0;var e;"touches"in n&&n.touches.length>0?t=(null===(e=n.touches[0])||void 0===e?void 0:e.clientX)||0:t=n.clientX;d(t)},h=n=>{"changedTouches"in n||n.preventDefault();const t=u(n),r=t.isDragged,o=t.X1;r&&null!==s&&(o>s?c():e(),d(null))};return(0,i.jsx)(o.Container,{onMouseDown:p,onMouseUp:h,onTouchStart:p,onTouchEnd:h,onClick:n=>{u(n).isDragged&&n.preventDefault()},children:t})}},93619(n,t,e){e.d(t,{A:()=>r});const r=function(n){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0;if(document&&window){const e=document.querySelector(n);if(e&&"function"==typeof window.scroll){const n=window.pageYOffset||window.scrollY,r=e.getBoundingClientRect(),o=r&&r.top||0;window.scroll({top:o+n-t,left:0,behavior:"smooth"})}}}}}]);
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.