(()=>{"use strict";var e,t,n,r,o={},i={};function a(e){var t=i[e];if(void 0!==t)return t.exports;var n=i[e]={exports:{}};return o[e](n,n.exports,a),n.exports}a.rv=function(){return"1.2.3"},a.ruid="bundler=rspack@1.2.3";var l,c,s,d,u,p,_,m,f,h,w,g={},v=[],y=/acit|ex(?:s|g|n|p|$)|rph|grid|ows|mnc|ntw|ine[ch]|zoo|^ord|itera/i,b=Array.isArray;function C(e,t){for(var n in t)e[n]=t[n];return e}function x(e){e&&e.parentNode&&e.parentNode.removeChild(e)}function E(e,t,n){var r,o,i,a={};for(i in t)"key"==i?r=t[i]:"ref"==i?o=t[i]:a[i]=t[i];if(arguments.length>2&&(a.children=arguments.length>3?l.call(arguments,2):n),"function"==typeof e&&null!=e.defaultProps)for(i in e.defaultProps)void 0===a[i]&&(a[i]=e.defaultProps[i]);return k(e,a,r,o,null)}function k(e,t,n,r,o){var i={type:e,props:t,key:n,ref:r,__k:null,__:null,__b:0,__e:null,__c:null,constructor:void 0,__v:o??++s,__i:-1,__u:0};return null==o&&null!=c.vnode&&c.vnode(i),i}function T(e){return e.children}function N(e,t){this.props=e,this.context=t}function A(e,t){if(null==t)return e.__?A(e.__,e.__i+1):null;for(var n;t<e.__k.length;t++)if(null!=(n=e.__k[t])&&null!=n.__e)return n.__e;return"function"==typeof e.type?A(e):null}function P(e){(!e.__d&&(e.__d=!0)&&d.push(e)&&!S.__r++||u!==c.debounceRendering)&&((u=c.debounceRendering)||p)(S)}function S(){var e,t,n,r,o,i,a,l;for(d.sort(_);e=d.shift();)e.__d&&(t=d.length,r=void 0,i=(o=(n=e).__v).__e,a=[],l=[],n.__P&&((r=C({},o)).__v=o.__v+1,c.vnode&&c.vnode(r),R(n.__P,r,o,n.__n,n.__P.namespaceURI,32&o.__u?[i]:null,a,i??A(o),!!(32&o.__u),l),r.__v=o.__v,r.__.__k[r.__i]=r,F(a,r,l),r.__e!=i&&function e(t){var n,r;if(null!=(t=t.__)&&null!=t.__c){for(t.__e=t.__c.base=null,n=0;n<t.__k.length;n++)if(null!=(r=t.__k[n])&&null!=r.__e){t.__e=t.__c.base=r.__e;break}return e(t)}}(r)),d.length>t&&d.sort(_));S.__r=0}function O(e,t,n,r,o,i,a,l,s,d,u){var p,_,m,f,h,w,y=r&&r.__k||v,C=t.length;for(s=function(e,t,n,r,o){var i,a,l,s,d,u=n.length,p=u,_=0;for(e.__k=Array(o),i=0;i<o;i++)null!=(a=t[i])&&"boolean"!=typeof a&&"function"!=typeof a?(s=i+_,(a=e.__k[i]="string"==typeof a||"number"==typeof a||"bigint"==typeof a||a.constructor==String?k(null,a,null,null,null):b(a)?k(T,{children:a},null,null,null):void 0===a.constructor&&a.__b>0?k(a.type,a.props,a.key,a.ref?a.ref:null,a.__v):a).__=e,a.__b=e.__b+1,l=null,-1!==(d=a.__i=function(e,t,n,r){var o,i,a=e.key,l=e.type,c=t[n];if(null===c||c&&a==c.key&&l===c.type&&!(2&c.__u))return n;if(r>(null==c||2&c.__u?0:1))for(o=n-1,i=n+1;o>=0||i<t.length;){if(o>=0){if((c=t[o])&&!(2&c.__u)&&a==c.key&&l===c.type)return o;o--}if(i<t.length){if((c=t[i])&&!(2&c.__u)&&a==c.key&&l===c.type)return i;i++}}return -1}(a,n,s,p))&&(p--,(l=n[d])&&(l.__u|=2)),null==l||null===l.__v?(-1==d&&_--,"function"!=typeof a.type&&(a.__u|=4)):d!=s&&(d==s-1?_--:d==s+1?_++:(d>s?_--:_++,a.__u|=4))):e.__k[i]=null;if(p)for(i=0;i<u;i++)null==(l=n[i])||2&l.__u||(l.__e==r&&(r=A(l)),function e(t,n,r){var o,i;if(c.unmount&&c.unmount(t),(o=t.ref)&&(o.current&&o.current!==t.__e||B(o,null,n)),null!=(o=t.__c)){if(o.componentWillUnmount)try{o.componentWillUnmount()}catch(e){c.__e(e,n)}o.base=o.__P=null}if(o=t.__k)for(i=0;i<o.length;i++)o[i]&&e(o[i],n,r||"function"!=typeof t.type);r||x(t.__e),t.__c=t.__=t.__e=void 0}(l,l));return r}(n,t,y,s,C),p=0;p<C;p++)null!=(m=n.__k[p])&&(_=-1===m.__i?g:y[m.__i]||g,m.__i=p,w=R(e,m,_,o,i,a,l,s,d,u),f=m.__e,m.ref&&_.ref!=m.ref&&(_.ref&&B(_.ref,null,m),u.push(m.ref,m.__c||f,m)),null==h&&null!=f&&(h=f),4&m.__u||_.__k===m.__k?s=function e(t,n,r){var o,i;if("function"==typeof t.type){for(o=t.__k,i=0;o&&i<o.length;i++)o[i]&&(o[i].__=t,n=e(o[i],n,r));return n}t.__e!=n&&(n&&t.type&&!r.contains(n)&&(n=A(t)),r.insertBefore(t.__e,n||null),n=t.__e);do n=n&&n.nextSibling;while(null!=n&&8==n.nodeType);return n}(m,s,e):"function"==typeof m.type&&void 0!==w?s=w:f&&(s=f.nextSibling),m.__u&=-7);return n.__e=h,s}function L(e,t,n){"-"==t[0]?e.setProperty(t,n??""):e[t]=null==n?"":"number"!=typeof n||y.test(t)?n:n+"px"}function W(e,t,n,r,o){var i;e:if("style"==t){if("string"==typeof n)e.style.cssText=n;else{if("string"==typeof r&&(e.style.cssText=r=""),r)for(t in r)n&&t in n||L(e.style,t,"");if(n)for(t in n)r&&n[t]===r[t]||L(e.style,t,n[t])}}else if("o"==t[0]&&"n"==t[1])i=t!=(t=t.replace(m,"$1")),t=t.toLowerCase()in e||"onFocusOut"==t||"onFocusIn"==t?t.toLowerCase().slice(2):t.slice(2),e.l||(e.l={}),e.l[t+i]=n,n?r?n.u=r.u:(n.u=f,e.addEventListener(t,i?w:h,i)):e.removeEventListener(t,i?w:h,i);else{if("http://www.w3.org/2000/svg"==o)t=t.replace(/xlink(H|:h)/,"h").replace(/sName$/,"s");else if("width"!=t&&"height"!=t&&"href"!=t&&"list"!=t&&"form"!=t&&"tabIndex"!=t&&"download"!=t&&"rowSpan"!=t&&"colSpan"!=t&&"role"!=t&&"popover"!=t&&t in e)try{e[t]=n??"";break e}catch{}"function"==typeof n||(null==n||!1===n&&"-"!=t[4]?e.removeAttribute(t):e.setAttribute(t,"popover"==t&&1==n?"":n))}}function I(e){return function(t){if(this.l){var n=this.l[t.type+e];if(null==t.t)t.t=f++;else if(t.t<n.u)return;return n(c.event?c.event(t):t)}}}function R(e,t,n,r,o,i,a,s,d,u){var p,_,m,f,h,w,v,y,E,k,P,S,L,I,R,F,B,z=t.type;if(void 0!==t.constructor)return null;128&n.__u&&(d=!!(32&n.__u),i=[s=t.__e=n.__e]),(p=c.__b)&&p(t);e:if("function"==typeof z)try{if(y=t.props,E="prototype"in z&&z.prototype.render,k=(p=z.contextType)&&r[p.__c],P=p?k?k.props.value:p.__:r,n.__c?v=(_=t.__c=n.__c).__=_.__E:(E?t.__c=_=new z(y,P):(t.__c=_=new N(y,P),_.constructor=z,_.render=M),k&&k.sub(_),_.props=y,_.state||(_.state={}),_.context=P,_.__n=r,m=_.__d=!0,_.__h=[],_._sb=[]),E&&null==_.__s&&(_.__s=_.state),E&&null!=z.getDerivedStateFromProps&&(_.__s==_.state&&(_.__s=C({},_.__s)),C(_.__s,z.getDerivedStateFromProps(y,_.__s))),f=_.props,h=_.state,_.__v=t,m)E&&null==z.getDerivedStateFromProps&&null!=_.componentWillMount&&_.componentWillMount(),E&&null!=_.componentDidMount&&_.__h.push(_.componentDidMount);else{if(E&&null==z.getDerivedStateFromProps&&y!==f&&null!=_.componentWillReceiveProps&&_.componentWillReceiveProps(y,P),!_.__e&&(null!=_.shouldComponentUpdate&&!1===_.shouldComponentUpdate(y,_.__s,P)||t.__v==n.__v)){for(t.__v!=n.__v&&(_.props=y,_.state=_.__s,_.__d=!1),t.__e=n.__e,t.__k=n.__k,t.__k.some(function(e){e&&(e.__=t)}),S=0;S<_._sb.length;S++)_.__h.push(_._sb[S]);_._sb=[],_.__h.length&&a.push(_);break e}null!=_.componentWillUpdate&&_.componentWillUpdate(y,_.__s,P),E&&null!=_.componentDidUpdate&&_.__h.push(function(){_.componentDidUpdate(f,h,w)})}if(_.context=P,_.props=y,_.__P=e,_.__e=!1,L=c.__r,I=0,E){for(_.state=_.__s,_.__d=!1,L&&L(t),p=_.render(_.props,_.state,_.context),R=0;R<_._sb.length;R++)_.__h.push(_._sb[R]);_._sb=[]}else do _.__d=!1,L&&L(t),p=_.render(_.props,_.state,_.context),_.state=_.__s;while(_.__d&&++I<25);_.state=_.__s,null!=_.getChildContext&&(r=C(C({},r),_.getChildContext())),E&&!m&&null!=_.getSnapshotBeforeUpdate&&(w=_.getSnapshotBeforeUpdate(f,h)),s=O(e,b(F=null!=p&&p.type===T&&null==p.key?p.props.children:p)?F:[F],t,n,r,o,i,a,s,d,u),_.base=t.__e,t.__u&=-161,_.__h.length&&a.push(_),v&&(_.__E=_.__=null)}catch(e){if(t.__v=null,d||null!=i){if(e.then){for(t.__u|=d?160:128;s&&8==s.nodeType&&s.nextSibling;)s=s.nextSibling;i[i.indexOf(s)]=null,t.__e=s}else for(B=i.length;B--;)x(i[B])}else t.__e=n.__e,t.__k=n.__k;c.__e(e,t,n)}else null==i&&t.__v==n.__v?(t.__k=n.__k,t.__e=n.__e):s=t.__e=function(e,t,n,r,o,i,a,s,d){var u,p,_,m,f,h,w,v=n.props,y=t.props,C=t.type;if("svg"==C?o="http://www.w3.org/2000/svg":"math"==C?o="http://www.w3.org/1998/Math/MathML":o||(o="http://www.w3.org/1999/xhtml"),null!=i){for(u=0;u<i.length;u++)if((f=i[u])&&"setAttribute"in f==!!C&&(C?f.localName==C:3==f.nodeType)){e=f,i[u]=null;break}}if(null==e){if(null==C)return document.createTextNode(y);e=document.createElementNS(o,C,y.is&&y),s&&(c.__m&&c.__m(t,i),s=!1),i=null}if(null===C)v===y||s&&e.data===y||(e.data=y);else{if(i=i&&l.call(e.childNodes),v=n.props||g,!s&&null!=i)for(v={},u=0;u<e.attributes.length;u++)v[(f=e.attributes[u]).name]=f.value;for(u in v)if(f=v[u],"children"!=u){if("dangerouslySetInnerHTML"==u)_=f;else if(!(u in y)){if("value"==u&&"defaultValue"in y||"checked"==u&&"defaultChecked"in y)continue;W(e,u,null,f,o)}}for(u in y)f=y[u],"children"==u?m=f:"dangerouslySetInnerHTML"==u?p=f:"value"==u?h=f:"checked"==u?w=f:s&&"function"!=typeof f||v[u]===f||W(e,u,f,v[u],o);if(p)s||_&&(p.__html===_.__html||p.__html===e.innerHTML)||(e.innerHTML=p.__html),t.__k=[];else if(_&&(e.innerHTML=""),O(e,b(m)?m:[m],t,n,r,"foreignObject"==C?"http://www.w3.org/1999/xhtml":o,i,a,i?i[0]:n.__k&&A(n,0),s,d),null!=i)for(u=i.length;u--;)x(i[u]);s||(u="value","progress"==C&&null==h?e.removeAttribute("value"):void 0===h||h===e[u]&&("progress"!=C||h)&&("option"!=C||h===v[u])||W(e,u,h,v[u],o),u="checked",void 0!==w&&w!==e[u]&&W(e,u,w,v[u],o))}return e}(n.__e,t,n,r,o,i,a,d,u);return(p=c.diffed)&&p(t),128&t.__u?void 0:s}function F(e,t,n){for(var r=0;r<n.length;r++)B(n[r],n[++r],n[++r]);c.__c&&c.__c(t,e),e.some(function(t){try{e=t.__h,t.__h=[],e.some(function(e){e.call(t)})}catch(e){c.__e(e,t.__v)}})}function B(e,t,n){try{if("function"==typeof e){var r="function"==typeof e.__u;r&&e.__u(),r&&null==t||(e.__u=e(t))}else e.current=t}catch(e){c.__e(e,n)}}function M(e,t,n){return this.constructor(e,n)}function z(e,t,n){var r,o,i;t==document&&(t=document.documentElement),c.__&&c.__(e,t),r=t.__k,o=[],i=[],R(t,e=t.__k=E(T,null,[e]),r||g,g,t.namespaceURI,r?null:t.firstChild?l.call(t.childNodes):null,o,r?r.__e:t.firstChild,!1,i),F(o,e,i)}l=v.slice,c={__e:function(e,t,n,r){for(var o,i,a;t=t.__;)if((o=t.__c)&&!o.__)try{if((i=o.constructor)&&null!=i.getDerivedStateFromError&&(o.setState(i.getDerivedStateFromError(e)),a=o.__d),null!=o.componentDidCatch&&(o.componentDidCatch(e,r||{}),a=o.__d),a)return o.__E=o}catch(t){e=t}throw e}},s=0,N.prototype.setState=function(e,t){var n;n=null!=this.__s&&this.__s!==this.state?this.__s:this.__s=C({},this.state),"function"==typeof e&&(e=e(C({},n),this.props)),e&&C(n,e),null!=e&&this.__v&&(t&&this._sb.push(t),P(this))},N.prototype.forceUpdate=function(e){this.__v&&(this.__e=!0,e&&this.__h.push(e),P(this))},N.prototype.render=T,d=[],p="function"==typeof Promise?Promise.prototype.then.bind(Promise.resolve()):setTimeout,_=function(e,t){return e.__v.__b-t.__v.__b},S.__r=0,m=/(PointerCapture)$|Capture$/i,f=0,h=I(!1),w=I(!0);var D=0;function H(e,t,n,r,o,i){t||(t={});var a,l,s=t;if("ref"in s)for(l in s={},t)"ref"==l?a=t[l]:s[l]=t[l];var d={type:e,props:s,key:n,ref:a,__k:null,__:null,__b:0,__e:null,__c:null,constructor:void 0,__v:--D,__i:-1,__u:0,__source:o,__self:i};if("function"==typeof e&&(a=e.defaultProps))for(l in a)void 0===s[l]&&(s[l]=a[l]);return c.vnode&&c.vnode(d),d}var U,G,q,K,Y=0,j=[],$=c,V=$.__b,J=$.__r,Z=$.diffed,Q=$.__c,X=$.unmount,ee=$.__;function et(e,t){$.__h&&$.__h(G,e,Y||t),Y=0;var n=G.__H||(G.__H={__:[],__h:[]});return e>=n.__.length&&n.__.push({}),n.__[e]}function en(e){return Y=1,function(e,t,n){var r=et(U++,2);if(r.t=e,!r.__c&&(r.__=[eu(void 0,t),function(e){var t=r.__N?r.__N[0]:r.__[0],n=r.t(t,e);t!==n&&(r.__N=[n,r.__[1]],r.__c.setState({}))}],r.__c=G,!G.u)){var o=function(e,t,n){if(!r.__c.__H)return!0;var o=r.__c.__H.__.filter(function(e){return!!e.__c});if(o.every(function(e){return!e.__N}))return!i||i.call(this,e,t,n);var a=r.__c.props!==e;return o.forEach(function(e){if(e.__N){var t=e.__[0];e.__=e.__N,e.__N=void 0,t!==e.__[0]&&(a=!0)}}),i&&i.call(this,e,t,n)||a};G.u=!0;var i=G.shouldComponentUpdate,a=G.componentWillUpdate;G.componentWillUpdate=function(e,t,n){if(this.__e){var r=i;i=void 0,o(e,t,n),i=r}a&&a.call(this,e,t,n)},G.shouldComponentUpdate=o}return r.__N||r.__}(eu,e)}function er(e,t){var n=et(U++,3);!$.__s&&ed(n.__H,t)&&(n.__=e,n.i=t,G.__H.__h.push(n))}function eo(e){return Y=5,ei(function(){return{current:e}},[])}function ei(e,t){var n=et(U++,7);return ed(n.__H,t)&&(n.__=e(),n.__H=t,n.__h=e),n.__}function ea(){for(var e;e=j.shift();)if(e.__P&&e.__H)try{e.__H.__h.forEach(ec),e.__H.__h.forEach(es),e.__H.__h=[]}catch(t){e.__H.__h=[],$.__e(t,e.__v)}}$.__b=function(e){G=null,V&&V(e)},$.__=function(e,t){e&&t.__k&&t.__k.__m&&(e.__m=t.__k.__m),ee&&ee(e,t)},$.__r=function(e){J&&J(e),U=0;var t=(G=e.__c).__H;t&&(q===G?(t.__h=[],G.__h=[],t.__.forEach(function(e){e.__N&&(e.__=e.__N),e.i=e.__N=void 0})):(t.__h.forEach(ec),t.__h.forEach(es),t.__h=[],U=0)),q=G},$.diffed=function(e){Z&&Z(e);var t=e.__c;t&&t.__H&&(t.__H.__h.length&&(1!==j.push(t)&&K===$.requestAnimationFrame||((K=$.requestAnimationFrame)||function(e){var t,n=function(){clearTimeout(r),el&&cancelAnimationFrame(t),setTimeout(e)},r=setTimeout(n,100);el&&(t=requestAnimationFrame(n))})(ea)),t.__H.__.forEach(function(e){e.i&&(e.__H=e.i),e.i=void 0})),q=G=null},$.__c=function(e,t){t.some(function(e){try{e.__h.forEach(ec),e.__h=e.__h.filter(function(e){return!e.__||es(e)})}catch(n){t.some(function(e){e.__h&&(e.__h=[])}),t=[],$.__e(n,e.__v)}}),Q&&Q(e,t)},$.unmount=function(e){X&&X(e);var t,n=e.__c;n&&n.__H&&(n.__H.__.forEach(function(e){try{ec(e)}catch(e){t=e}}),n.__H=void 0,t&&$.__e(t,n.__v))};var el="function"==typeof requestAnimationFrame;function ec(e){var t=G,n=e.__c;"function"==typeof n&&(e.__c=void 0,n()),G=t}function es(e){var t=G;e.__c=e.__(),G=t}function ed(e,t){return!e||e.length!==t.length||t.some(function(t,n){return t!==e[n]})}function eu(e,t){return"function"==typeof t?t(e):t}function ep(e,t,n){let r=function(e){if(!e)return null;try{return new URL(e)}catch{return null}}(e);if(!r)return"";let o=e?r.href:"",i=e?r.host:"",a=e?r.pathname:"";return(t||n?`https://i.wpimg.pl/${t||""}x${n||""}/${i||""}${a||""}`:o)||""}function e_(e){let t=e.data,{hideLabel:n=!1,labelText:r,originalUrl:o,containerId:i,areaId:a,index:l}=t,c=function(e){try{let{hostname:t}=new URL(e);return t.replace(/^www\./,"").toUpperCase()}catch{return null}}(o??"");if(er(()=>{window.WP.push(()=>{u.current&&window.WP.pwp.registerBox(u.current,{url:window.location.href,type:"teaser",areaid:a,index:l,recommendationType:"big-data",target_url:u.current.href,img:u.current.querySelector(".exit-disco-teaser__photo").src},i,{time:1,percent:50})})},[]),!t.src||!t.url||!t.text)return null;let s=ep(t.src,597,316),d=window.WP.crux.mess(s),u=eo(null),p=n?c:r;return H("a",{ref:u,className:"exit-disco-teaser__link",href:t.url,children:[H("figure",{className:"exit-disco-teaser__figure",children:H("img",{src:d,alt:t.text,className:"exit-disco-teaser__photo"})}),H("header",{className:"exit-disco-teaser__text",children:H("p",{className:"exit-disco-teaser__title",children:H("strong",{children:t.text})})}),H("footer",{children:p&&H("p",{className:"exit-disco-teaser__label",children:H("span",{children:p})})})]})}function em({containerRef:e,areaId:t,index:n,type:r,recommendationType:o,containerId:i,imgSelector:a,target_url:l,id:c}){er(()=>{"number"==typeof i&&e.current&&function({containerRef:e,areaId:t,index:n,type:r,recommendationType:o,containerId:i,imgSelector:a,target_url:l,id:c}){window.WP.push(()=>{var s,d;window.WP.pwp.registerBox(e.current,{url:window.location.href,type:r,areaid:t,index:n,recommendationType:o,target_url:l,id:c??"",img:a?(null==(d=null==(s=e.current)?void 0:s.querySelector(a))?void 0:d.src)||a:""},i,{time:1,percent:50})})}({containerRef:e,areaId:t,index:n,type:r,recommendationType:o,containerId:i,imgSelector:a,target_url:l,id:c})},[e.current])}!function(e){e.Autocentrum="AUTOCENTRUM.PL",e.Autokult="AUTOKULT",e.Benchmark="BENCHMARK.PL",e.Dobreprogramy="DOBREPROGRAMY",e.EAutokult="E-AUTOKULT",e.Fotoblogia="FOTOBLOGIA",e.Gadzetomania="GADŻETOMANIA",e.Genialne="GENIALNE.PL",e.Jastrzabpost="JASTRZABPOST.PL",e.Komorkomania="KOM\xd3RKOMANIA",e.Money="MONEY.PL",e.O2="O2.PL",e.Polygamia="POLYGAMIA.PL",e.Pudelek="PUDELEK.PL",e.Pysznosci="PYSZNOŚCI.PL",e.Informacje="INFORMACJE",e.Sportowefakty="SPORTOWE FAKTY",e.Wiadomosci="WIADOMOŚCI",e.Tech="TECH",e.Abczdrowie="ABC ZDROWIE",e.Teleshow="TELESHOW",e.Wideo="WIDEO",e.Finanse="FINANSE",e.Kuchnia="KUCHNIA",e.Parenting="PARENTING",e.Kobieta="KOBIETA",e.Facet="FACET",e.Gry="GRY",e.Turystyka="TURYSTYKA",e.Film="FILM",e.Moto="MOTO",e.Pogoda="POGODA",e.Wszechmocne="WSZECHEMOCNE",e.Kultura="KULTURA",e.Dom="DOM",e.Popularne="POPULARNE",e.Gwiazdy="GWIAZDY",e.Ksiazki="KSIĄŻKI",e.Premium="PREMIUM"}(e||(e={})),function(e){e.Autocentrum="autocentrum.pl",e.Autokult="autokult.pl",e.Benchmark="benchmark.pl",e.Dobreprogramy="dobreprogramy.pl",e.EAutokult="e.autokult.pl",e.Fotoblogia="fotoblogia.pl",e.Gadzetomania="gadzetomania.pl",e.Genialne="genialne.pl",e.Jastrzabpost="jastrzabpost.pl",e.Komorkomania="komorkomania.pl",e.Money="money.pl",e.O2="o2.pl",e.Polygamia="polygamia.pl",e.Pudelek="pudelek.pl",e.Pysznosci="pysznosci.pl",e.Deliciousmagazine="deliciousmagazine.pl",e.InformacjeWp="informacje.wp.pl",e.SportowefaktyWp="sportowefakty.wp.pl",e.WiadomosciWp="wiadomosci.wp.pl",e.TechWp="tech.wp.pl",e.Abczdrowie="abczdrowie.pl",e.TeleshowWp="teleshow.wp.pl",e.WideoWp="wideo.wp.pl",e.FinanseWp="finanse.wp.pl",e.KuchniaWp="kuchnia.wp.pl",e.Parenting="parenting.pl",e.KobietaWp="kobieta.wp.pl",e.FacetWp="facet.wp.pl",e.GryWp="gry.wp.pl",e.TurystykaWp="turystyka.wp.pl",e.FilmWp="film.wp.pl",e.MotoWp="moto.wp.pl",e.PogodaWp="pogoda.wp.pl",e.WszechmocneWp="wszechmocne.wp.pl",e.KulturaWp="kultura.wp.pl",e.DomWp="dom.wp.pl",e.Popularne="popularne.pl",e.GwiazdyWp="gwiazdy.wp.pl",e.KsiazkiWp="ksiazki.wp.pl",e.PremiumWp="premium.wp.pl"}(t||(t={}));let ef="https://sgwp.wpcdn.pl/static/logotypes/feed",eh={[t.Autocentrum]:{img:ef+"/autocentrum.svg",name:e.Autocentrum},[t.Autokult]:{img:ef+"/autokult.svg",name:e.Autokult},[t.Benchmark]:{img:ef+"/benchmark.svg",name:e.Benchmark},[t.Dobreprogramy]:{img:ef+"/dobreprogramy.svg",name:e.Dobreprogramy},[t.EAutokult]:{img:ef+"/eautokut.svg",name:e.EAutokult},[t.Fotoblogia]:{img:ef+"/fotoblogia.svg",name:e.Fotoblogia},[t.Gadzetomania]:{img:ef+"/gadzetomania.svg",name:e.Gadzetomania},[t.Genialne]:{img:ef+"/genialne.svg",name:e.Genialne},[t.Jastrzabpost]:{img:ef+"/jastrzabpost.svg",name:e.Jastrzabpost},[t.Komorkomania]:{img:ef+"/komorkomania.svg",name:e.Komorkomania},[t.Money]:{img:ef+"/money.svg",name:e.Money},[t.O2]:{img:ef+"/o2.svg",name:e.O2},[t.Polygamia]:{img:ef+"/polygamia.svg",name:e.Polygamia},[t.Pudelek]:{img:ef+"/pudelek.svg",name:e.Pudelek},[t.Pysznosci]:{img:ef+"/pysznosci.svg",name:e.Pysznosci},[t.Deliciousmagazine]:{img:ef+"/pysznosci.svg",name:e.Pysznosci},[t.InformacjeWp]:{img:ef+"/informacje.svg",name:e.Informacje},[t.SportowefaktyWp]:{name:e.Sportowefakty,color:"#166c00"},[t.WiadomosciWp]:{name:e.Wiadomosci,color:"#c00"},[t.TechWp]:{name:e.Tech,color:"#734db2"},[t.Abczdrowie]:{name:e.Abczdrowie,color:"#fb434b"},[t.TeleshowWp]:{name:e.Teleshow,color:"#4069a2"},[t.WideoWp]:{name:e.Wideo,color:"#c00"},[t.FinanseWp]:{name:e.Finanse,color:"#d26740"},[t.KuchniaWp]:{name:e.Kuchnia,color:"#66bf00"},[t.Parenting]:{name:e.Parenting,color:"#e15aa2"},[t.KobietaWp]:{name:e.Kobieta,color:"#a65867"},[t.FacetWp]:{name:e.Facet,color:"#80838a"},[t.GryWp]:{name:e.Gry,color:"#406c94"},[t.TurystykaWp]:{name:e.Turystyka,color:"#3d6fb0"},[t.FilmWp]:{name:e.Film,color:"#694BBD"},[t.MotoWp]:{name:e.Moto,color:"#e54600"},[t.PogodaWp]:{name:e.Pogoda,color:"#02ade3"},[t.WszechmocneWp]:{name:e.Wszechmocne,color:"#a65867"},[t.KulturaWp]:{name:e.Kultura,color:"#ca0044"},[t.DomWp]:{name:e.Dom,color:"#31b4d0"},[t.Popularne]:{name:e.Popularne,color:"#d21f15"},[t.GwiazdyWp]:{name:e.Gwiazdy,color:"#9c7aaa"},[t.KsiazkiWp]:{name:e.Ksiazki,color:"#8ccac8"},[t.PremiumWp]:{name:e.Premium,color:"#22242d"}};function ew(e){return"u">typeof window&&window.WP.crux&&window.WP.crux.mess?window.WP.crux.mess(e):e}function eg({url:e}){let n=ei(()=>(function(e){if(!e)return null;let n=Object.values(t).find(t=>e.toLowerCase().includes(t));return n&&eh[n]||null})(e),[e]);return n?H("div",{className:"wp-service-label",children:[H("div",{className:"wp-service-logo",style:n.color?{backgroundColor:n.color}:{},children:[n.img&&H("img",{src:ew(n.img),alt:"",height:18,width:18}),n.color&&H("img",{src:ew("https://sgwp.wpcdn.pl/static/images/svg/logo.svg"),alt:"",width:13,height:8})]}),n.name]}):null}function ev(){return H("div",{className:"wp-action-bar",children:H("span",{className:"wp-see-more-button",children:"Czytaj więcej"})})}function ey({title:e}){return H("div",{className:"wp-title",children:H("span",{class:"wp-title-text",children:e})})}function eb(e){var t;let{url:n,text:r,originalUrl:o,leadText:i,containerId:a,areaId:l,index:c}=e,s=eo(null);return em({containerRef:s,areaId:l,index:c,type:"teaser",containerId:a,target_url:null==(t=s.current)?void 0:t.href,id:"native-teaser-without-photo",recommendationType:"big-data",imgSelector:"wp-native-teaser-without-photo"}),n&&r?H("div",{className:"wp-native-teaser-without-photo",children:H("a",{ref:s,href:n,className:"wp-link",children:[H(eg,{url:o??""}),H("div",{className:"wp-content",children:[H(ey,{title:r??""}),i&&H("div",{className:"wp-lead",dangerouslySetInnerHTML:{__html:i??""}})]}),H(ev,{})]})}):null}function eC(){return H("svg",{className:"exit-disco__logo",width:"42",height:"25",viewBox:"0 0 42 25",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:H("path",{"fill-rule":"evenodd","clip-rule":"evenodd",d:"M32.674 7.56443C32.627 7.99214 32.581 8.39641 32.5384 8.80093C32.4727 9.42501 32.4091 10.0492 32.3449 10.6734C32.2504 11.5933 32.1579 12.5133 32.0611 13.4331C31.9458 14.5278 31.8265 15.6221 31.71 16.7166C31.6535 17.2473 31.6152 17.7802 31.5053 18.3039C31.306 19.2539 30.8949 20.0923 30.1919 20.7744C29.6018 21.3471 28.8964 21.7185 28.113 21.952C27.531 22.1256 26.9368 22.1891 26.3318 22.1519C25.1364 22.0784 24.1957 21.5525 23.5185 20.5625C23.2031 20.1016 23.0017 19.5889 22.8718 19.0513C22.6092 17.9652 22.3599 16.876 22.1103 15.7868C21.8605 14.6973 21.6166 13.6066 21.371 12.5161C21.0998 11.3131 20.8295 10.1099 20.5593 8.90678C20.4675 8.49858 20.3768 8.09014 20.2852 7.68194C20.2755 7.63909 20.2649 7.59599 20.2497 7.55492C20.19 7.39303 20.0919 7.32724 19.9382 7.34283C19.7999 7.3569 19.7174 7.44209 19.6933 7.61095C19.6707 7.7689 19.6562 7.92812 19.6401 8.08697C19.5401 9.07842 19.4395 10.07 19.3414 11.0617C19.2559 11.9275 19.1752 12.7939 19.0894 13.6596C18.9842 14.7225 18.8755 15.7851 18.7689 16.8479C18.6887 17.6479 18.6166 18.4487 18.5277 19.2475C18.4431 20.0061 18.2767 20.7443 17.9392 21.4376C17.4537 22.4351 16.7061 23.1849 15.7701 23.7606C14.805 24.3544 13.7467 24.6731 12.6312 24.8251C11.9847 24.9131 11.3366 24.9521 10.6855 24.8941C9.50271 24.7885 8.40934 24.4375 7.46125 23.6999C6.82669 23.2063 6.35899 22.5813 6.02478 21.8532C5.72761 21.2056 5.51901 20.5273 5.31701 19.8462C5.15421 19.2972 4.9819 18.7511 4.81365 18.2039C4.61457 17.5566 4.41422 16.9097 4.21653 16.262C4.03952 15.6827 3.86645 15.1023 3.68957 14.523C3.47907 13.8331 3.26666 13.1438 3.05464 12.4544C2.83957 11.7544 2.62335 11.0547 2.40866 10.3546C2.16339 9.55469 1.92193 8.75364 1.67387 7.95462C1.46172 7.27096 1.23789 6.5911 1.02802 5.9068C0.852158 5.3333 0.675153 4.75954 0.525301 4.17907C0.419605 3.76948 0.425696 3.35102 0.551566 2.93927C0.720324 2.38745 1.06748 1.97 1.53417 1.65029C2.49672 0.991091 3.56484 0.807784 4.70415 0.98564C5.67977 1.13802 6.54437 1.53835 7.30289 2.17004C7.93922 2.69981 8.34069 3.37244 8.54472 4.17058C8.69889 4.77336 8.86206 5.37374 9.02156 5.97513C9.24742 6.82663 9.47479 7.67763 9.69938 8.52951C9.92689 9.39192 10.1562 10.2539 10.3767 11.1183C10.6462 12.1746 10.9089 13.2328 11.1719 14.2906C11.362 15.0549 11.5525 15.819 11.7346 16.5852C11.9128 17.3351 12.0806 18.0875 12.2528 18.8388C12.3056 19.0697 12.3532 19.3019 12.4117 19.5313C12.4682 19.7525 12.6122 19.8442 12.8276 19.8107C13.0045 19.783 13.0824 19.7054 13.1032 19.5144C13.1325 19.2463 13.1531 18.9772 13.1783 18.7085C13.2491 17.9576 13.3213 17.2067 13.3911 16.4557C13.476 15.5402 13.5589 14.6246 13.643 13.7089C13.7492 12.552 13.8563 11.3951 13.962 10.2382C14.0442 9.33893 14.1222 8.43926 14.2075 7.54021C14.2725 6.85452 14.3556 6.17136 14.5663 5.51128C14.754 4.92371 15.0243 4.38025 15.4151 3.8979C15.9613 3.22374 16.6599 2.77574 17.4899 2.55478C19.0582 2.13733 20.5858 2.27564 22.0424 2.99999C23.0552 3.50365 23.7754 4.30812 24.283 5.30845C24.6144 5.96169 24.8108 6.66082 24.9547 7.37503C25.2753 8.96712 25.5928 10.5598 25.9084 12.1528C26.254 13.897 26.5958 15.6419 26.9396 17.3863C26.9629 17.5051 26.9835 17.6247 27.0129 17.7419C27.0476 17.8804 27.1725 17.9593 27.3126 17.9403C27.3979 17.9288 27.4563 17.8627 27.4739 17.7366C27.4946 17.5895 27.5089 17.4413 27.52 17.2932C27.5826 16.4586 27.6414 15.6237 27.7057 14.7892C27.7728 13.9164 27.8416 13.0436 27.9155 12.1713C27.9745 11.4746 28.0392 10.7783 28.1063 10.0823C28.1867 9.24943 28.2733 8.4172 28.3557 7.58458C28.4333 6.80102 28.5104 6.01747 28.585 5.23378C28.6138 4.93119 28.6628 4.63417 28.7667 4.34678C29.1145 3.38448 30.0658 2.98694 30.8625 3.07212C31.2405 3.11256 31.6203 3.13754 31.9991 3.16872C32.3891 3.2008 32.7789 3.23236 33.1689 3.26317C33.6687 3.30272 34.1688 3.33973 34.6684 3.38055C35.1904 3.42315 35.7126 3.46574 36.2339 3.51493C36.563 3.54586 36.8958 3.565 37.2185 3.63079C39.0683 4.00793 40.3444 5.08115 41.049 6.82942C41.2613 7.35602 41.3811 7.90721 41.4671 8.46829C41.5662 9.11544 41.5605 9.76526 41.5283 10.4133C41.4865 11.2543 41.3473 12.0801 41.049 12.8758C40.5012 14.3363 39.4593 15.2607 37.9907 15.7334C37.6218 15.8522 37.2398 15.9071 36.8576 15.957C36.2619 16.0349 35.6651 16.105 35.0688 16.1781C34.9156 16.197 34.7623 16.2155 34.6089 16.2329C34.2835 16.2696 34.0132 16.1624 33.7946 15.9204C33.594 15.6982 33.4695 15.4333 33.3995 15.1485C33.2416 14.5072 33.2849 13.8797 33.5902 13.2852C33.67 13.1299 33.7725 12.9833 33.8828 12.8471C34.0892 12.5924 34.3576 12.4397 34.6911 12.4186C35.1864 12.3873 35.682 12.362 36.1768 12.3255C36.4678 12.3041 36.7598 12.2796 37.0474 12.2327C38.5336 11.9856 38.817 7.79603 36.8538 7.64797C36.5914 7.61881 36.3253 7.6202 36.0607 7.61551C34.9967 7.59688 33.9325 7.58116 32.8684 7.56455C32.8087 7.56366 32.7489 7.56443 32.674 7.56443Z",fill:"#c00"})})}let ex=e=>Math.random().toString(36).substring(2,12),eE=e=>H("div",{className:"exit-disco-teaser",children:H(e_,{data:e})});function ek({slotNumber:e,areaId:t,containerId:n,index:r}){let o=eo(null),i=ex();return er(()=>{o.current&&window.WP.gaf.registerSlot(e,o.current,{setNative:(e,i)=>{"teaser"===e.type&&o.current&&(o.current.innerHTML="",z(eE({areaId:t,containerId:n,index:r,...e}),o.current),null==i||i({el:o.current}))}})},[e,t,n,r]),H("div",{className:i,children:H("div",{ref:o})})}function eT(){return H("div",{className:"exit-disco-teaser__skeleton",children:[H("figure",{className:"exit-disco-teaser__figure",children:H("div",{className:"exit-disco-teaser__photo"})}),H("header",{className:"exit-disco-teaser__text",children:[H("p",{className:"exit-disco-teaser__title"}),H("p",{className:"exit-disco-teaser__title"})]})]})}var eN=(e=>(e[e.SLOT_826=826]="SLOT_826",e[e.SLOT_827=827]="SLOT_827",e[e.SLOT_828=828]="SLOT_828",e[e.SLOT_829=829]="SLOT_829",e[e.SLOT_830=830]="SLOT_830",e[e.SLOT_831=831]="SLOT_831",e))(eN||{});let eA=(e,t)=>{let n="click";function r(o){null===e||e===o.target||e.contains(o.target)||(t(),document.body.removeEventListener(n,r))}return document.addEventListener(n,r),()=>{document.removeEventListener(n,r)}},eP=()=>{document.documentElement.style.overflow="hidden"===document.documentElement.style.overflow?"":"hidden"},eS=[eN.SLOT_826,eN.SLOT_827,eN.SLOT_828,eN.SLOT_829,eN.SLOT_830,eN.SLOT_831];function eO(e){let{isLogged:t=!1,topOffset:n=0,bottomOffset:r=0,teasersAmount:o=6,withNativeSlots:i=[]}=e,a=eo(null),l=eo(null),c=eo(null),s=eo(null),d=eo([]),[u,p]=en(!0),_=eS.slice(0,o),m="scrolled-top",f="scrolled-bottom",h="exit-discover",w=!1,g=e=>{e&&e.target&&window.WP.push(()=>{window.WP.stat.wave("click",{type:"button",areaId:h,index:0,url:window.location.href,target_url:"close"})}),eP(),p(e=>!e)},v=()=>{var e;null==(e=l.current)||e.classList.add("exit-disco__drawer--roll-in")},y=()=>{e&&l.current&&a.current&&(a.current.style.bottom=r.toString()+"px",l.current.style.height=`calc(100% - ${r+n}px)`)},b=()=>{window.WP.push(()=>{"number"==typeof(w=window.WP.pwp.registerContainer({isLogged:t,url:window.location.href,type:"area",areaid:h,length:c.current?c.current.childElementCount:0}))&&x()})},C=()=>{let e=c.current,t=s.current;e&&t&&(0===e.scrollTop?t.classList.add(m):Math.round(e.scrollTop)===e.scrollHeight-e.clientHeight?t.classList.add(f):(t.classList.contains(m)&&t.classList.remove(m),t.classList.contains(f)&&t.classList.remove(f)))},x=()=>{_.forEach((e,t)=>{if(!i.includes(e)){let n=d.current[t];n&&window.WP.gaf.registerSlot(e,n,{setNative:(e,r)=>{"teaser"===e.type&&((n.innerHTML="",e.src)?z(H(e_,{data:{areaId:h,containerId:w,index:t,...e}}),n):z(H(eb,{url:e.url??"",text:e.text??"",leadText:e.leadText??"",originalUrl:e.originalUrl??"",containerId:w,areaId:h,index:t}),n),r&&r({el:n}))}})}})},E=()=>{a.current&&(u?a.current.classList.remove("exit-disco-hide"):a.current.classList.add("exit-disco-hide"))};return er(()=>{if(E(),u){eP(),y(),v(),b(),C();let e=l.current&&eA(l.current,g);return()=>{e&&e()}}},[u]),H("div",{ref:a,className:"exit-disco",children:H("div",{ref:l,className:"exit-disco__drawer",children:[H("div",{className:"exit-disco__close",onClick:g,children:"✕"}),H("div",{className:"exit-disco__header",children:[H(eC,{}),H("div",{className:"exit-disco__title",children:[H("h2",{children:"Nie przegap!"}),H("h2",{children:["Sprawdź materiały wybrane specjalnie"," ",H("span",{className:"exit-disco__highlight",children:"dla Ciebie"}),"."]})]})]}),H("div",{ref:s,className:"exit-disco__teasers-wrapper cHJldmVudENC",children:H("div",{ref:c,className:"exit-disco__teasers",onScroll:C,children:_.map((e,t)=>i.includes(e)?H(ek,{slotNumber:e,areaId:h,containerId:w,index:t},e):H("div",{className:"exit-disco-teaser",ref:e=>d.current[t]=e,children:H(eT,{})},e))})})]})})}function eL(){return H("svg",{xmlns:"http://www.w3.org/2000/svg",width:"16",height:"16",fill:"none",children:[H("path",{stroke:"currentColor","stroke-linecap":"round","stroke-linejoin":"round","stroke-width":"1.7",d:"M4.6665 8.6668 7.9998 12l3.3334-3.3333"}),H("path",{stroke:"currentColor","stroke-linecap":"round","stroke-linejoin":"round","stroke-width":"1.7",d:"m4.6665 4 3.3333 3.3333L11.3332 4"})]})}function eW({currentReaders:e}){let{noun:t,verb:o}=function(e){let{noun:t,verb:o}=function(e){let t=e%10,o=e%100,i=n.Osob;t>=2&&t<=4&&!(o>=12&&o<=14)&&(i=n.Osoby);let a=i===n.Osoby?r.Czytaja:r.Czyta;return{noun:i,verb:a}}(e);return{noun:t,verb:o}}(e);return H("h2",{children:[H("span",{className:"exit-disco-top__title-readers",children:[e," ",t]}),o," \uD83D\uDC40"]})}function eI(e){let t=eo(null),n=e.data,r=window.WP.crux.mess(ep(n.src??"",597,316));return er(()=>{window.WP.push(()=>{var e;t.current&&window.WP.pwp.registerBox(t.current,{url:window.location.href,type:"teaser",areaid:n.areaId,index:n.index,recommendationType:"big-data",target_url:t.current.href,img:null==(e=t.current.querySelector(".exit-disco-horizontal-teaser__photo"))?void 0:e.src},n.containerId,{time:1,percent:50})})},[]),n.src&&n.url&&n.text?H("a",{ref:t,className:"exit-disco-horizontal-teaser__link",href:n.url,children:[H("figure",{className:"exit-disco-horizontal-teaser__figure",children:H("img",{src:r,alt:n.text,className:"exit-disco-horizontal-teaser__photo"})}),H("header",{className:"exit-disco-horizontal-teaser__text",children:H("p",{className:"exit-disco-horizontal-teaser__title",children:H("strong",{children:n.text})})})]}):null}function eR(){return H("div",{className:"exit-disco-horizontal-teaser__skeleton",children:[H("figure",{className:"exit-disco-teaser__figure",children:H("div",{className:"exit-disco-teaser__photo"})}),H("header",{className:"exit-disco-teaser__text",children:[H("p",{className:"exit-disco-teaser__title"}),H("p",{className:"exit-disco-teaser__title"}),H("p",{className:"exit-disco-teaser__title"})]})]})}function eF(e,t){return e.current?Array.from(e.current.querySelectorAll("."+t)||[]):[]}!function(e){e.Osoby="osoby",e.Osob="os\xf3b"}(n||(n={})),function(e){e.Czyta="czyta teraz",e.Czytaja="czytają teraz"}(r||(r={}));let eB="exit-disco-teaser",eM="exit-discover",ez=[826,827,828,829,830,831];function eD(e){let{isLogged:t=!1,teasersAmount:n=6,currentReaders:r=0}=e,o=eo(null),i=eo(null),a=eo(null),l=eo(null),c=eo(null),s=eo(null),d=eo(null),[u,p]=en(!0),_=ez.slice(0,n),{setVabContainerId:m,registerSlotAtIndex:f,registerFirstTeaser:h,registerRemainingTeasers:w,vabContainerId:g}=function({containerRef:e,teasersRef:t,isLogged:n,vabAreaId:r,nativeContainerClass:o,trimmedSlots:i,NativeTeaser:a}){let l=eo(new Set),c=!1;function s(e,t){if(l.current.has(e))return;let n=i[e];n&&(window.WP&&window.WP.gaf&&"function"==typeof window.WP.gaf.registerSlot&&window.WP.gaf.registerSlot(n,t,{setNative:(e,o)=>{"teaser"===e.type&&((t.innerHTML="",e.src)?z(E(a,{data:{areaId:r,containerId:c,index:n,...e}}),t):z(E(eb,{url:e.url??"",text:e.text??"",leadText:e.leadText??"",originalUrl:e.originalUrl??"",containerId:c,areaId:r,index:n}),t),o&&o({el:t}))}}),l.current.add(e))}return{setVabContainerId:()=>{window.WP.push(()=>{var t;let i=(null==(t=e.current)?void 0:t.querySelectorAll("."+o).length)||0;c=window.WP.pwp.registerContainer({isLogged:n,url:window.location.href,type:"area",areaid:r,length:i})})},registerSlotAtIndex:s,registerFirstTeaser:function(){let e=eF(t,o);e[0]&&s(0,e[0])},registerRemainingTeasers:function(e=!1){eF(t,o).slice(1).forEach((t,n)=>{let r=n+1;e&&!l.current.has(r)&&s(r,t)})},registered:l,vabContainerId:!1}}({containerRef:o,teasersRef:a,teasersWrapperRef:l,isLogged:t,vabAreaId:eM,nativeContainerClass:eB,trimmedSlots:_,NativeTeaser:eI});function v(){let e=c.current;e&&e.checked&&w(!0)}return em({containerRef:d,areaId:"discover-more",index:0,type:"button",containerId:function({areaId:e,isLogged:t,length:n}){let[r,o]=en(!1);return er(()=>{window.WP.push(()=>{let r=window.WP.pwp.registerContainer({isLogged:t,url:window.location.href,type:"area",areaid:e,length:n});o("number"==typeof r&&r)})},[e,t,n,r]),r}({areaId:"discover-more",isLogged:t,length:1}),target_url:"close",id:"more"}),em({containerRef:s,areaId:eM,index:0,type:"button",containerId:g,target_url:"close",id:"close"}),er(()=>{if(o.current&&i.current&&(o.current.classList.toggle("exit-disco-hide",!u),i.current.classList.toggle("exit-disco-hide",!u)),!u)return;m(),h();let e=function(){if(!a.current)return;let e=a.current,t=new IntersectionObserver(n=>{n.forEach(n=>{if(n.isIntersecting){let r=n.target,o=Array.from(e.querySelectorAll("."+eB)).indexOf(r);o>=0&&(f(o,r),t.unobserve(r))}})},{root:e,threshold:.2});return e.querySelectorAll("."+eB).forEach(e=>t.observe(e)),()=>t.disconnect()}(),t=c.current;return null==t||t.addEventListener("change",v),()=>{null==t||t.removeEventListener("change",v),e&&e()}},[u]),H(T,{children:[H("div",{ref:i,className:"exit-disco-top-overlay"}),H("div",{ref:o,className:"exit-disco-top",children:[H("div",{className:"exit-disco-top__header",children:[H("div",{className:"exit-disco-top__title",children:r?H(eW,{currentReaders:r}):H("h2",{children:"Odkryj coś nowego! \uD83C\uDD95"})}),H("div",{ref:s,className:"exit-disco-top__close",onClick:function(e){e&&e.target&&window.WP.push(()=>{window.WP.stat.wave("click",{type:"button",areaId:eM,index:0,url:window.location.href,target_url:"close"})}),"hidden"===document.documentElement.style.overflow&&eP(),p(e=>!e)},children:"✕"})]}),H("input",{id:"exit-disco-top-toggle",className:"exit-disco-top__toggle",type:"checkbox",ref:c}),H("div",{ref:l,className:"exit-disco-top__teasers-wrapper cHJldmVudENC",children:H("div",{ref:a,className:"exit-disco-top__teasers exit-disco-top__teasers--collapsed",children:[_.length>0&&H("div",{className:eB,children:H(eR,{})},_[0]),_.length>1&&H("div",{className:"exit-disco-top__teasers-more",children:[r>0&&H("div",{className:"exit-disco-top__next-articles",children:H("div",{className:"exit-disco-top__title",children:H("h3",{children:"NASTĘPNE ARTYKUŁY"})})}),_.slice(1).map(e=>H("div",{className:eB,children:H(eR,{})},e))]})]})}),H("label",{className:"exit-disco-top__toggle-label",htmlFor:"exit-disco-top-toggle",ref:d,children:[H("span",{className:"exit-disco-top__toggle-icon",children:H(eL,{})}),"więcej artykuł\xf3w"]})]})]})}function eH(e,t,n="traffic"){if(window.location.hostname.includes("localhost")){console.log("SEND_WAVE => ",e,t,n);return}if("undefined"!=typeof window&&window.WP)try{window.WP.push(function(){window.WP.stat.wave(e,t,n)})}catch(e){console.error("WP_STAT_WAVE_ERROR: ",e)}}let eU=new Set,eG=new IntersectionObserver(function(e){e.forEach(e=>{if(e.isIntersecting){let t=e.target.getAttribute("data-uxc");t&&!eU.has(t)&&(eU.add(t),eH("evt_ux_consumption",{event:"view",pos:String(t)})),eG.unobserve(e.target)}})},{threshold:0,root:null});function eq(){try{let e=document.querySelectorAll("[data-video-config]");if(!e.length)return null;e.forEach(e=>{let t=JSON.parse(e.dataset.videoConfig||"");if(t.url){if(!window.WP)return(window.__wpsjqueue=window.__wpsjqueue||[]).push(eq);window.WP.push(()=>{!function(e){let t=window.WP.player.T;return t&&t.some(t=>!!t.p&&t.p.url===e)}(t.url)&&window.WP.player(t)})}})}catch(e){return console.log(e),null}}async function eK(e,t=!1){if(!e)return;let n=document.querySelector(".embed-vimeo"),r=n.dataset.url;try{let e=await fetch(`https://vimeo.com/api/oembed.json?url=${r}&responsive=true${t?"":"&autoplay=true&muted=true"}`),o=await e.json();n.innerHTML=o.html}catch(e){console.error(e)}}function eY(e,t,n={}){let r=`${encodeURIComponent(e)}=${encodeURIComponent(t)}`;n.expires&&(r+=`; expires=${n.expires.toUTCString()}`),n.domain&&(r+=`; domain=${n.domain}`),n.path&&(r+=`; path=${n.path}`),n.secure&&(r+="; secure"),n.sameSite&&(r+=`; samesite=${n.sameSite}`),document.cookie=r}let ej=e=>{eY("wp_dark",e?"0":"1",{expires:new Date(Date.now()+31536e6),domain:window.__INIT_CONFIG__.cookieDomain,path:"/",sameSite:"none",secure:!0})};function e$(e){let t=e.match(/-(\d+)[a-zA-Z]$/);return t?t[1]:null}let eV="recommendations-bottom-new";function eJ(e,t){let n;return t in window.__GOFER_FACTORY__.userActions.containers?n=window.__GOFER_FACTORY__.userActions.containers[t]:(n=function(e,t){let n=window.__INIT_CONFIG__.isLoggedIn,r=window.location.href;return window.WP.pwp.registerContainer({type:"area",areaid:t,length:e,isLogged:n,url:r})}(e,t),window.__GOFER_FACTORY__.userActions.containers[t]=n),n}function eZ(e,t,n=".wp-cockroach .wp-teaser",r=eV){try{let o=eJ(e,r);document.querySelectorAll(n).forEach((e,n)=>{var i;let a=(null===(i=e.querySelector("img"))||void 0===i?void 0:i.src)||"",l={boxData:{type:"teaser",index:n,url:t,img:a,areaid:r,target_url:e.href,id:e$(e.href),recommendationType:null,yd:""},options:{time:1,percent:50}};window.WP.pwp.registerBox(e,l.boxData,o,l.options)})}catch(e){console.log(e)}}function eQ(){return/iPhone|iPad|iPod/i.test(navigator.userAgent)}let eX=null;function e1(){return document.body.classList.contains("wp-scroll-lock-ios")}function e0(){if(!eQ()){document.body.classList.add("wp-scroll-lock");return}!e1()&&(eX=window.scrollY,document.body.classList.add("wp-scroll-lock-ios"),document.documentElement.style.setProperty("--wp-scroll-lock-ios",-1*eX+"px"))}function e2(){if(!eQ()){document.body.classList.remove("wp-scroll-lock");return}e1()&&(document.body.classList.remove("wp-scroll-lock-ios"),document.documentElement.style.removeProperty("--wp-scroll-lock-ios"),"number"==typeof eX&&(window.scrollTo(0,eX),eX=null))}function e3(){let e=document.createElement("div");return e.className="h-0",e}function e5(e){return{get:(t,n)=>"push"===n?function(...n){return e7===e&&n.forEach(e=>"function"==typeof e&&e()),Array.prototype.push.apply(t,n)}:Reflect.get(t,n)}}let e6=new Proxy([],e5("wide")),e4=new Proxy([],e5("narrow")),e7=null;function e8(e,t,n,r){if(r){e.forEach(e=>"function"==typeof e&&e());return}let o=window.innerWidth>=n?"wide":"narrow";e7!==o&&(e7=o,"wide"===o&&t.length&&t.forEach(e=>"function"==typeof e&&e()),"narrow"===o&&e.length&&e.forEach(e=>"function"==typeof e&&e()))}let e9={registerNative:function(e,t,n,r=eV){window.WP.push(()=>{try{let o=window.location.href,i=eJ(n,r),a={boxData:{type:"teaser",index:t,url:o,areaid:r,target_url:e.dataNative.url,img:e.dataNative.src,recommendationType:"moth"===e.type?"big-data":"ad",yd:""},options:{time:1,percent:50}};window.WP.pwp.registerBox(e.originalEl,a.boxData,i,a.options)}catch(e){console.error(e)}})},registerNativeIntextTeaser:function(e,t,n){window.WP.push(()=>{try{let r=window.location.href,o=window.__INIT_CONFIG__.isLoggedIn,i=window.WP.pwp.registerContainer({type:"area",areaid:"adspace-recommendation",length:n,isLogged:o,position:t,url:r}),a={type:"intextTeaser",index:"0",url:r,img:e.dataNative.src,areaid:"adspace-photorecommendation",target_url:e.dataNative.url,position:t,recommendationType:"big_data",yd:""};window.WP.pwp.registerBox(e.originalEl,a,i,{time:1,percent:50})}catch(e){console.error(e)}})},containers:{}};function te(){let e=document.getElementById("wp-main-menu");if(!e)return;let t=e.getBoundingClientRect().height;t&&document.body.style.setProperty("--nav-header-height",t+17.5+"px")}let tt=function(e){var t=typeof e;return null!=e&&("object"==t||"function"==t)};var tn="object"==typeof global&&global&&global.Object===Object&&global,tr="object"==typeof self&&self&&self.Object===Object&&self,to=tn||tr||Function("return this")();let ti=function(){return to.Date.now()};var ta=/\s/;let tl=function(e){for(var t=e.length;t--&&ta.test(e.charAt(t)););return t};var tc=/^\s+/,ts=to.Symbol,td=Object.prototype,tu=td.hasOwnProperty,tp=td.toString,t_=ts?ts.toStringTag:void 0;let tm=function(e){var t=tu.call(e,t_),n=e[t_];try{e[t_]=void 0;var r=!0}catch(e){}var o=tp.call(e);return r&&(t?e[t_]=n:delete e[t_]),o};var tf=Object.prototype.toString,th=ts?ts.toStringTag:void 0;let tw=function(e){return null==e?void 0===e?"[object Undefined]":"[object Null]":th&&th in Object(e)?tm(e):tf.call(e)},tg=function(e){return"symbol"==typeof e||null!=e&&"object"==typeof e&&"[object Symbol]"==tw(e)};var tv=0/0,ty=/^[-+]0x[0-9a-f]+$/i,tb=/^0b[01]+$/i,tC=/^0o[0-7]+$/i,tx=parseInt;let tE=function(e){if("number"==typeof e)return e;if(tg(e))return tv;if(tt(e)){var t,n="function"==typeof e.valueOf?e.valueOf():e;e=tt(n)?n+"":n}if("string"!=typeof e)return 0===e?e:+e;e=(t=e)?t.slice(0,tl(t)+1).replace(tc,""):t;var r=tb.test(e);return r||tC.test(e)?tx(e.slice(2),r?2:8):ty.test(e)?tv:+e};var tk=Math.max,tT=Math.min;let tN=function(e,t,n){var r,o,i,a,l,c,s=0,d=!1,u=!1,p=!0;if("function"!=typeof e)throw TypeError("Expected a function");function _(t){var n=r,i=o;return r=o=void 0,s=t,a=e.apply(i,n)}function m(e){var n=e-c,r=e-s;return void 0===c||n>=t||n<0||u&&r>=i}function f(){var e,n,r,o=ti();if(m(o))return h(o);l=setTimeout(f,(e=o-c,n=o-s,r=t-e,u?tT(r,i-n):r))}function h(e){return(l=void 0,p&&r)?_(e):(r=o=void 0,a)}function w(){var e,n=ti(),i=m(n);if(r=arguments,o=this,c=n,i){if(void 0===l)return s=e=c,l=setTimeout(f,t),d?_(e):a;if(u)return clearTimeout(l),l=setTimeout(f,t),_(c)}return void 0===l&&(l=setTimeout(f,t)),a}return t=tE(t)||0,tt(n)&&(d=!!n.leading,i=(u="maxWait"in n)?tk(tE(n.maxWait)||0,t):i,p="trailing"in n?!!n.trailing:p),w.cancel=function(){void 0!==l&&clearTimeout(l),s=0,r=c=o=l=void 0},w.flush=function(){return void 0===l?a:h(ti())},w},tA=function(e,t,n){var r=!0,o=!0;if("function"!=typeof e)throw TypeError("Expected a function");return tt(n)&&(r="leading"in n?!!n.leading:r,o="trailing"in n?!!n.trailing:o),tN(e,t,{leading:r,maxWait:t,trailing:o})},tP="https://sgwp.wpcdn.pl/static/logotypes/feed",tS={"autocentrum.pl":{img:tP+"/autocentrum.svg",name:"AUTOCENTRUM.PL"},"autokult.pl":{img:tP+"/autokult.svg",name:"AUTOKULT"},"benchmark.pl":{img:tP+"/benchmark.svg",name:"BENCHMARK.PL"},"dobreprogramy.pl":{img:tP+"/dobreprogramy.svg",name:"DOBREPROGRAMY"},"e.autokult.pl":{img:tP+"/eautokut.svg",name:"E-AUTOKULT"},"fotoblogia.pl":{img:tP+"/fotoblogia.svg",name:"FOTOBLOGIA"},"gadzetomania.pl":{img:tP+"/gadzetomania.svg",name:"GADŻETOMANIA"},"genialne.pl":{img:tP+"/genialne.svg",name:"GENIALNE.PL"},"jastrzabpost.pl":{img:tP+"/jastrzabpost.svg",name:"JASTRZABPOST.PL"},"komorkomania.pl":{img:tP+"/komorkomania.svg",name:"KOM\xd3RKOMANIA"},"money.pl":{img:tP+"/money.svg",name:"MONEY.PL"},"o2.pl":{img:tP+"/o2.svg",name:"O2.PL"},"polygamia.pl":{img:tP+"/polygamia.svg",name:"POLYGAMIA.PL"},"pudelek.pl":{img:tP+"/pudelek.svg",name:"PUDELEK.PL"},"pysznosci.pl":{img:tP+"/pysznosci.svg",name:"PYSZNOŚCI.PL"},"deliciousmagazine.pl":{img:tP+"/pysznosci.svg",name:"PYSZNOŚCI.PL"},"informacje.wp.pl":{img:tP+"/informacje.svg",name:"INFORMACJE"},"sportowefakty.wp.pl":{name:"SPORTOWE FAKTY",color:"#166c00"},"wiadomosci.wp.pl":{name:"WIADOMOŚCI",color:"#c00"},"tech.wp.pl":{name:"TECH",color:"#734db2"},"abczdrowie.pl":{name:"ABC ZDROWIE",color:"#fb434b"},"teleshow.wp.pl":{name:"TELESHOW",color:"#4069a2"},"wideo.wp.pl":{name:"WIDEO",color:"#c00"},"finanse.wp.pl":{name:"FINANSE",color:"#d26740"},"kuchnia.wp.pl":{name:"KUCHNIA",color:"#66bf00"},"parenting.pl":{name:"PARENTING",color:"#e15aa2"},"kobieta.wp.pl":{name:"KOBIETA",color:"#a65867"},"facet.wp.pl":{name:"FACET",color:"#80838a"},"gry.wp.pl":{name:"GRY",color:"#406c94"},"turystyka.wp.pl":{name:"TURYSTYKA",color:"#3d6fb0"},"film.wp.pl":{name:"FILM",color:"#694BBD"},"moto.wp.pl":{name:"MOTO",color:"#e54600"},"pogoda.wp.pl":{name:"POGODA",color:"#02ade3"},"wszechmocne.wp.pl":{name:"WSZECHMOCNE",color:"#a65867"},"kultura.wp.pl":{name:"KULTURA",color:"#ca0044"},"dom.wp.pl":{name:"DOM",color:"#31b4d0"},"popularne.pl":{name:"POPULARNE",color:"#d21f15"},"gwiazdy.wp.pl":{name:"GWIAZDY",color:"#9c7aaa"},"ksiazki.wp.pl":{name:"KSIĄŻKI",color:"#8ccac8"},"premium.wp.pl":{name:"PREMIUM",color:"#22242d"}};function tO(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function tL(e){if(!e)return null;try{return new URL(e)}catch(e){return null}}class tW extends Array{push(...e){let t=super.push(...e);return e.forEach(e=>{"function"==typeof this.handler&&this.handler(e)}),t}constructor(e){super(),tO(this,"handler",void 0),this.handler=e}}let tI=()=>`
   <svg
		xmlns="http://www.w3.org/2000/svg"
		fill="currentColor"
		viewBox="0 0 14 24"
	>
		<path d="M9.48 11.648a.5.5 0 0 1 0 .704L.7 21.195a1 1 0 0 0 0 1.41l.676.68a1 1 0 0 0 1.419 0L13.3 12.705a1 1 0 0 0 0-1.41L2.795.715a1 1 0 0 0-1.42 0l-.675.68a1 1 0 0 0 0 1.41z"></path>
	</svg>
  `;function tR(e,t){let n="social_tools";["top","bottom"].forEach(r=>{let o=document.querySelectorAll(`.wp-article-share-option[data-vab-container="${n}"][data-vab-position="${r}"], 
      .wp-article-action[data-vab-container="${n}"][data-vab-position="${r}"]`);o.length&&function(e,t,n,r,o){let i={type:"area",areaid:e,length:n.length,isLogged:r,url:o,position:t},a=window.WP.pwp.registerContainer(i);n.forEach(n=>{if(n.dataset.vabIndex){let i={type:"button",index:n.dataset.vabIndex,url:o,areaid:e,isLogged:r,id:n.dataset.vabBox,position:t};window.WP.pwp.registerBox(n,i,a)}})}(n,r,o,e,t)})}let{isMobile:tF}=window.__INIT_CONFIG__,tB={HEADER_HEIGHT:tF?56:80,XBAL_HEIGHT:46*!!document.getElementById("xbal"),SCROLL_DETECTION_THRESHOLD:1,SCROLL_STOP_CHECKS_REQUIRED:3,REPOSITION_THRESHOLD:50,SELECTOR:"comments-root"};function tM(e){let t=e.dataset.location;t&&e.addEventListener("click",e=>{if(function(){let e=document.querySelectorAll(".wp-comment-dot");e.length&&e.forEach(e=>{e.setAttribute("data-clicked","true")})}(),t===`#${tB.SELECTOR}`){e.preventDefault(),window.history.replaceState(null,"",`#${tB.SELECTOR}`),function(){let e=document.getElementById(tB.SELECTOR);if(!e)return;tD(tz(e));let t=window.pageYOffset||document.documentElement.scrollTop,n=0,r=()=>{let o=window.pageYOffset||document.documentElement.scrollTop;if(Math.abs(o-t)>=tB.SCROLL_DETECTION_THRESHOLD){n=0,t=o,requestAnimationFrame(r);return}if(++n<tB.SCROLL_STOP_CHECKS_REQUIRED){t=o,requestAnimationFrame(r);return}let i=tz(e);Math.abs(o-i)>tB.REPOSITION_THRESHOLD&&tD(i,"instant")};requestAnimationFrame(r)}();return}window.location.assign(t)})}function tz(e){let t=e.getBoundingClientRect(),n=window.pageYOffset||document.documentElement.scrollTop;return Math.max(0,t.top+n-tB.HEADER_HEIGHT-tB.XBAL_HEIGHT)}function tD(e,t="smooth"){window.scrollTo({top:e,behavior:t})}function tH(e,t){let n="comments_more",r=".wp-article-comments-page-link",o=document.querySelector(`${r}[data-vab-container="${n}"]`);o&&(!function(e=".wp-article-action.comments[data-location]"){let t=document.querySelectorAll(e);t.length&&t.forEach(tM)}(`${r}[data-location]`),function(e,t,n,r){let o=window.WP.pwp.registerContainer({type:"area",areaid:e,length:1,isLogged:n,url:r}),i={type:"button",index:0,url:r,areaid:e,isLogged:n,id:t.dataset.vabBox};window.WP.pwp.registerBox(t,i,o)}(n,o,e,t))}function tU(e,t){try{let n=window.WP.pwp.registerContainer({type:"area",areaid:"service_header",length:1,isLogged:e,url:t}),r=document.getElementById("service_logo");if(!(r instanceof HTMLAnchorElement))return;let o={boxData:{type:"button",index:0,url:t,areaid:"service_header",target_url:r.href,id:"service_logo",yd:""},options:{time:1,percent:50}};window.WP.pwp.registerBox(r,o.boxData,n,o.options)}catch(e){console.error(e)}}function tG(e){return(null==e?void 0:e.querySelector(".wp-button-prefix-hidden"))?"home_short":"home_expanded"}function tq({element:e,index:t,url:n,areaid:r,id:o,target_url:i,containerId:a,eventData:l}){let c={time:1,percent:50};l&&(c.eventData=l),window.WP.pwp.registerBox(e,{type:"button",index:t,url:n,areaid:r,id:o,yd:"",target_url:i},a,c)}function tK(e,t,n,r,o,i){var a;if("true"===e.dataset.registered)return;let l=e.querySelector("a");if(!l)return;let c=(null===(a=e.querySelector("img"))||void 0===a?void 0:a.src)||"";!function({element:e,index:t,url:n,areaid:r,linkHref:o,containerId:i,type:a,image:l}){window.WP.pwp.registerBox(e,{type:a,index:t,url:n,areaid:r,target_url:o,id:e$(o),img:l||""},i,{time:1,percent:50})}({element:e,index:t,url:n,areaid:r,linkHref:l.href,containerId:o,type:i,image:c}),e.dataset.registered="true"}function tY({panelElement:e,areaId:t,isLogged:n,currentUrl:r,withObserver:o,type:i}){if(!e)return;let a=e.querySelectorAll(".timeline-item").length,l=window.WP.pwp.registerContainer({type:"area",areaid:t,length:a,isLogged:n,url:r});"number"==typeof l&&o&&i&&function({panelElement:e,currentUrl:t,areaId:n,containerId:r,type:o}){new MutationObserver(()=>{let i=Array.from(e.querySelectorAll(".timeline-item"));i.forEach(e=>{if("true"===e.dataset.visible&&"true"!==e.dataset.registered){let a=i.indexOf(e);tK(e,a,t,n,r,o)}})}).observe(e,{childList:!0,attributes:!0,subtree:!0,attributeFilter:["class","data-visible"]});let i=Array.from(e.querySelectorAll(".panel-item"));i.forEach(e=>{if("true"===e.dataset.visible&&"true"!==e.dataset.registered){let a=i.indexOf(e);tK(e,a,t,n,r,o)}})}({panelElement:e,currentUrl:r,areaId:t,containerId:l,type:i})}function tj(e,t){let n=document.querySelectorAll(".wp-content-text-raw");n.length&&n.forEach(function(n){let r=n.querySelectorAll("a");if(!r.length)return;let o="content-text",i=n.getAttribute("data-cpidx"),a=window.WP.pwp.registerContainer({type:"area",areaid:o,length:r.length,isLogged:e,position:i,url:t});r.forEach((e,n)=>{window.WP.pwp.registerBox(e,{type:"textlink",index:n,url:t,areaid:o,target_url:e.href,id:e$(e.href),position:i},a,{time:1,percent:50})})})}function t$(e,t){let n=document.querySelectorAll(".wp-content-toc");n.length&&n.forEach(n=>{let r=n.querySelectorAll("a");if(!r.length)return;let o="article_shortcut",i=n.getAttribute("data-cpidx"),a=window.WP.pwp.registerContainer({type:"area",areaid:o,length:r.length,isLogged:e,position:i,url:t});r.forEach((e,n)=>{window.WP.pwp.registerBox(e,{type:"textlink",target_url:e.href,index:n,url:t,areaid:o},a,{time:1,percent:50})});let l=n.querySelectorAll(".trimbox-button");l.length&&l.forEach((e,t)=>{window.WP.pwp.registerBox(e,{type:"button",id:"expand",areaid:o,index:t},a,{time:1,percent:50})})})}function tV(e,t){let n=document.querySelectorAll(".wp-teaser-grid");n.length&&n.forEach(function(n){let r=n.querySelectorAll("a");if(!r.length)return;let o="recommendations-header",i=window.WP.pwp.registerContainer({type:"area",areaid:o,length:r.length,isLogged:e,url:t});r.forEach((e,n)=>{var r,a;let l=null!==(a=null===(r=e.querySelector("img"))||void 0===r?void 0:r.src)&&void 0!==a?a:"";window.WP.pwp.registerBox(e,{type:"teaser",index:n,url:t,img:l,areaid:o,target_url:e.href,id:e$(e.href)},i,{time:1,percent:50})})})}let tJ=".wp-content-part-teaser",tZ=".wp-content-part-multiteaser",tQ=".wp-content-part-teaser-large";function tX(e,t,n){let r=document.querySelectorAll(e);r.length&&r.forEach(function(r){let o=r.querySelectorAll("a");if(!o.length)return;let i=e!==tQ?"intext-recommendation":"intext-photorecommendation",a=r.getAttribute("data-cpidx"),l=window.WP.pwp.registerContainer({type:"area",areaid:i,length:o.length,isLogged:t,position:a,url:n});o.forEach((e,t)=>{var r,o;let c=null!==(o=null===(r=e.querySelector("img"))||void 0===r?void 0:r.src)&&void 0!==o?o:"";window.WP.pwp.registerBox(e,{type:"intextTeaser",index:t,url:n,img:c,areaid:i,target_url:e.href,id:e$(e.href),position:a},l,{time:1,percent:50})})})}let t1="newsletter";function t0(e,t){let n=document.querySelector(".wp-content-part-video"),r=document.querySelector(".wpplayer-placeholder");if(!n||!r)return;let o=n.getAttribute("data-type"),i=r.getAttribute("data-cpidx"),a=window.WP.pwp.registerContainer({type:"area",areaid:"video",length:1,isLogged:e,url:t,position:i}),l={boxData:{index:0,type:"button",url:t,areaid:"video",id:"video",yd:"",..."YOUTUBE"===o&&{recommendationType:o}},options:{time:1,percent:50}};window.WP.pwp.registerBox(r,l.boxData,a,l.options)}let{isMobile:t2,isLoggedIn:t3,showExitDiscover:t5,withNewestBottombar:t6,isExitDiscoverScrollTest:t4,currentReaders:t7}=window.__INIT_CONFIG__;window.NativeAdManager=new class{initAsyncQueue(){var e;(null===(e=window.asyncNativeQueue)||void 0===e?void 0:e.length)&&window.asyncNativeQueue.forEach(e=>{e.action&&e.payload&&this.handleAction(e)}),window.asyncNativeQueue=new tW(this.handleAction)}getElement(e){return document.querySelector(`.${e}`)}createNativeTeaser(e,t){let n=t.labelText||"REKLAMA",r=document.createElement("a"),o=document.createElement("div"),i=document.createElement("img"),a=document.createElement("span"),l=e.getAttribute("data-position");if(r.classList.add("wp-native-teaser-anchor"),r.setAttribute("href",t.url||""),o.classList.add("wp-native-img-container"),i.setAttribute("src",t.src||""),a.textContent=t.text||"",o.appendChild(i),r.appendChild(o),r.appendChild(a),e.appendChild(r),t.privacyIcon&&t.privacyLink){let n=document.createElement("a");n.classList.add("wp-native-privacy-anchor");let o=document.createElement("img");n.setAttribute("href",t.privacyLink),n.setAttribute("target","_blank"),n.setAttribute("rel","noopener noreferrer"),o.setAttribute("src",t.privacyIcon),n.appendChild(o),r.setAttribute("data-privacy","true"),e.appendChild(n)}let c={type:"native",dataNative:t,originalEl:r};if(!t.hideLabel)return r.classList.add("cHJldmVudENC"),r.setAttribute("data-before",n),c;let s=tL(t.originalUrl);if(s){let e=s.hostname.replace(/^www\./,"").toUpperCase();r.setAttribute("data-service",e);let t=l?parseInt(l):0;t>0&&r.setAttribute("data-st-clk",JSON.stringify({mth_type:"s",mth_index:t})),c.type="moth"}return c}createExitPopupNativeTeaser(e,t){let n=document.createElement("a"),r=document.createElement("div"),o=document.createElement("div"),i=document.createElement("img"),a=document.createElement("span"),l=document.createElement("span"),c=e.getAttribute("data-position");if(n.classList.add("wp-native-teaser-anchor"),n.setAttribute("href",t.url||""),r.classList.add("wp-native-teaser-content-container"),o.classList.add("wp-native-img-container"),i.setAttribute("src",t.src||""),a.textContent=t.text||"",a.classList.add("wp-native-teaser-text"),l.textContent="Zobacz cały artykuł",l.classList.add("wp-native-teaser-button"),o.appendChild(i),r.appendChild(o),r.appendChild(a),n.appendChild(r),n.appendChild(l),e.appendChild(n),t.privacyIcon&&t.privacyLink){let r=document.createElement("a");r.classList.add("wp-native-privacy-anchor");let o=document.createElement("img");r.setAttribute("href",t.privacyLink),r.setAttribute("target","_blank"),r.setAttribute("rel","noopener noreferrer"),o.setAttribute("src",t.privacyIcon),r.appendChild(o),n.setAttribute("data-privacy","true"),e.appendChild(r)}let s={type:"native",dataNative:t,originalEl:n},d=tL(t.originalUrl);if(d){let e=d.hostname.replace(/^www\./,"").toUpperCase();n.setAttribute("data-service",e);let t=c?parseInt(c):0;t>0&&n.setAttribute("data-st-clk",JSON.stringify({mth_type:"s",mth_index:t})),s.type="moth"}return s}createBottombarPanelTeaser(e,t){let n=document.createElement("a");n.href=t.url||"",n.className="wp-timeline-teaser wp-timeline-teaser-horizontal";let r=e.getAttribute("data-position");if(t.src){let e=document.createElement("img");e.src=t.src,e.alt=t.text||"",e.className="timeline-teaser-image timeline-teaser-image-horizontal",n.appendChild(e)}let o=document.createElement("span");if(o.className="teaser-content teaser-content-horizontal",o.textContent=t.text||"",n.appendChild(o),e.appendChild(n),t.privacyIcon&&t.privacyLink){let r=document.createElement("a");r.classList.add("wp-native-privacy-anchor");let o=document.createElement("img");r.setAttribute("href",t.privacyLink),r.setAttribute("target","_blank"),r.setAttribute("rel","noopener noreferrer"),o.setAttribute("src",t.privacyIcon),r.appendChild(o),n.setAttribute("data-privacy","true"),e.appendChild(r)}let i={type:"native",dataNative:t,originalEl:n},a=tL(t.originalUrl);if(a){let e=a.hostname.replace(/^www\./,"").toUpperCase();n.setAttribute("data-service",e);let t=r?parseInt(r):0;t>0&&n.setAttribute("data-st-clk",JSON.stringify({mth_type:"s",mth_index:t})),i.type="moth"}return i}createNativeTeaserWithoutPhoto(e,t,n=!1,r=!1){let o=document.createElement("div");o.className="wp-superteaser wp-superteaser-teaser-without-photo"+(r?"":" wp-superteaser-disable-border");let i=document.createElement("a");if(i.className="wp-link",i.href=t.url||"",t.originalUrl){let e=function(e){let t=function(e){for(let t in tS)if(e.includes(t))return tS[t];return null}(e);if(!t)return null;let n=document.createElement("div");n.className="wp-service-label";let r=document.createElement("div");if(r.className="wp-service-logo",t.img){let e=document.createElement("img"),n=window.WP.crux.mess(t.img);e.src=n,e.alt="",e.height=18,e.width=18,r.appendChild(e)}if(t.color){r.style.backgroundColor=t.color;let e=document.createElement("img"),n=window.WP.crux.mess("https://sgwp.wpcdn.pl/static/images/svg/logo.svg");e.src=n,e.alt="",e.width=13,e.height=8,r.appendChild(e)}return n.appendChild(r),n.appendChild(document.createTextNode(t.name)),n}(t.originalUrl);e&&i.appendChild(e)}let a=document.createElement("div");a.className="wp-content";let l=document.createElement("div");l.className="wp-title";let c=document.createElement("span");if(c.textContent=t.text||"",l.appendChild(c),a.appendChild(l),t.leadText){let e=document.createElement("p");e.innerHTML=t.leadText,a.appendChild(e)}i.appendChild(a);let s=document.createElement("div");s.className="wp-action-bar"+(n?" all-article-button":"");let d=document.createElement("span");return d.className=n?"wp-look-all-article-button":"wp-see-more-button",n?d.innerHTML="Zobacz cały artykuł "+tI():d.textContent="Czytaj więcej",s.appendChild(d),i.appendChild(s),o.appendChild(i),e.appendChild(o),{type:"native",dataNative:t,originalEl:o}}updateTeaserVisibility(e,t){let n=this.getElement(e);n&&(n.style.display="hide"===t?"none":"inherit")}handleNativeTeaser(e){let t;let{dataNative:n,onViewCallback:r,teaserClassName:o,nativeSlotClassName:i,template:a}=e,l=this.getElement(i);if(!l)return null;if(n.src)switch(a){case"bottombar-panel":t=this.createBottombarPanelTeaser(l,n);break;case"exitpopup":t=this.createExitPopupNativeTeaser(l,n);break;default:t=this.createNativeTeaser(l,n)}else switch(a){case"exitpopup":t=this.createNativeTeaserWithoutPhoto(l,n,!0,!0);break;case"bottombar-panel":t=this.createNativeTeaserWithoutPhoto(l,n);break;default:t=this.createNativeTeaserWithoutPhoto(l,n,!1,!0)}return this.updateTeaserVisibility(o,"hide"),r({el:l}),t}handleNativeScreening(e,t){let n=this.getElement(e);return n?(t({el:n}),n):null}handleScreeningEndSection(e,t){let n=`${e}-observer`,r=document.getElementById(n);if(!r)return;let o=0;function i(){let e=r.getBoundingClientRect().top-t.getBoundingClientRect().top;o!==e&&(t.style.maxHeight=`${e}px`,o=e)}let a=tA(i,350);i(),window.addEventListener("scroll",()=>a(),{passive:!0})}handleGlobalScreeningClass(e){document.body.classList.add("fullServiceWallpaper"===e?"fullpage":"glopage")}constructor(e){tO(this,"options",void 0),tO(this,"handlers",void 0),tO(this,"handleAction",void 0),tO(this,"onTeaser",void 0),tO(this,"onAlternativeScreening",void 0),tO(this,"onFullpageScreening",void 0),tO(this,"onScreening",void 0),tO(this,"onPanelPremium",void 0),tO(this,"onSectionPremiumBranding",void 0),tO(this,"onLabelTarget",void 0),this.options=e,this.handleAction=e=>{"onTeaser"===e.action&&this.onTeaser(e.payload),"onScreening"===e.action&&this.onScreening(e.payload),"onAlternativeScreening"===e.action&&this.onAlternativeScreening(e.payload),"onFullpageScreening"===e.action&&this.onFullpageScreening(e.payload),"onPanelPremium"===e.action&&this.onPanelPremium(e.payload),"onLabelTarget"===e.action&&this.onLabelTarget(e.payload),"onSectionPremiumBranding"===e.action&&this.onSectionPremiumBranding(e.payload)},this.onTeaser=e=>{if(!e.dataNative)return;let{type:t}=e.dataNative,{teaserClassName:n,nativeSlotClassName:r,alternativeContainerClassName:o,dataNative:i,onViewCallback:a,template:l}=e;if("teaser"===t&&"function"==typeof e.onViewCallback){let t=this.handleNativeTeaser({dataNative:i,onViewCallback:a,teaserClassName:n,nativeSlotClassName:r,template:l});"function"==typeof e.onRenderCallback&&t&&e.onRenderCallback(t)}if("teaserHide"===t&&this.updateTeaserVisibility(n,"hide"),"teaserShow"===t&&this.updateTeaserVisibility(n,"show"),"alternativeSlot"===t&&"function"==typeof a){let e=this.getElement(o);if(!e)return;a({el:e})}},this.onAlternativeScreening=e=>{if(!e.dataNative||"function"!=typeof e.onViewCallback)return;let{screeningWallpaperClassName:t,alternativeContainerClassName:n,slotNumber:r,dataNative:o,onViewCallback:i}=e,{type:a}=o;if("alternativeSlot"===a){let e=this.getElement(n);if(!e)return;if(o.buildPlaceholder){var l,c;this.handlers.onRegisterPlaceholder(r,null!==(c=null==e?void 0:null===(l=e.parentNode)||void 0===l?void 0:l.parentNode)&&void 0!==c?c:null)}i({el:e})}"wallpaper"===a&&this.handleNativeScreening(t,i)},this.onFullpageScreening=e=>{if(e.dataNative&&"function"==typeof e.onViewCallback&&("wallpaper"===e.dataNative.type||"fullServiceWallpaper"===e.dataNative.type)){let t=this.handleNativeScreening(e.screeningWallpaperClassName,e.onViewCallback);if(this.handleGlobalScreeningClass(e.dataNative.type),t&&e.dataNative.endSection)this.handleScreeningEndSection(e.dataNative.endSection,t)}},this.onScreening=e=>{e.dataNative&&"function"==typeof e.onViewCallback&&"wallpaper"===e.dataNative.type&&this.handleNativeScreening(e.screeningWallpaperClassName,e.onViewCallback)},this.onPanelPremium=e=>{e.dataNative&&("wallpaper"===e.dataNative.type&&"function"==typeof e.onViewCallback&&this.handleNativeScreening(e.screeningWallpaperClassName,e.onViewCallback),"function"==typeof e.onRenderCallback&&e.onRenderCallback(e.dataNative))},this.onSectionPremiumBranding=e=>{if(e.dataNative&&"function"==typeof e.onViewCallback){if("sectionBranding"===e.dataNative.type){let t=document.querySelector(e.sectionSelector);t&&e.onViewCallback({el:t});return}this.onLabelTarget({targetId:e.targetId,dataNative:e.dataNative,onViewCallback:e.onViewCallback})}},this.onLabelTarget=e=>{if(!e.dataNative||"function"!=typeof e.onViewCallback||"labelTarget"!==e.dataNative.type)return;let t=document.getElementById(e.targetId);t&&e.onViewCallback({el:t})},this.handlers=e,this.initAsyncQueue()}}({onRegisterPlaceholder:(e,t,n)=>{try{"function"==typeof window.WP.gaf.registerPlaceholder&&window.WP.gaf.registerPlaceholder(e,t,n)}catch(e){console.error(e)}}}),function(e){var t,n;window.__GOFER_FACTORY__={},window.__GOFER_FACTORY__.onNarrow=e4,window.__GOFER_FACTORY__.onWide=e6,window.__GOFER_FACTORY__.createSlot=e3,window.__GOFER_FACTORY__.createPlaceholder=(t=window.__INIT_CONFIG__.randvar,n=window.__INIT_CONFIG__.randomClasses,function(e,r,o){let i=document.createElement("div");return i.classList.add(t||""),i.classList.add(n[e]||""),r&&i.classList.add(n.transparent||""),o&&i.classList.add(n.placeholderMargin||""),i}),window.__GOFER_FACTORY__.disableBodyScroll=e0,window.__GOFER_FACTORY__.clearBodyScroll=e2,window.__GOFER_FACTORY__.userActions=e9,e8(window.__GOFER_FACTORY__.onNarrow,e6,e.breakpointNarrow,e.isMobile),window.addEventListener("resize",()=>{e8(window.__GOFER_FACTORY__.onNarrow,e6,e.breakpointNarrow,e.isMobile)})}({breakpointNarrow:window.breakpointNarrow}),function(){let e=document.getElementById("darkModeCheckbox");e&&(`.${window.location.hostname}`!==window.__INIT_CONFIG__.cookieDomain&&eY("wp_dark","",{expires:new Date(0),domain:window.location.hostname,path:"/"}),e.addEventListener("click",()=>{let e=document.body.classList.contains("dark");document.body.classList.toggle("dark"),function(e){let t=document.querySelector('meta[name="logo"]');if(!t)return;let n=t.content;if(e)t.content=n.replace("logoDark.png","logo.png");else{let e=n.replace("logo.png","logoDark.png"),r=new Image;r.onload=()=>t.content=e,r.src=e}}(e),ej(e),function(e){try{window.WP.push(function(){window.WP.stat.setDarkMode(e)}),eH("evt_menu",{event:e?"darkmode_off":"darkmode_on"})}catch(e){console.error(e)}}(e)}))}(),function(){let e=document.getElementById("wp-content-drastic");e&&e.addEventListener("submit",function(t){t.preventDefault();let n=new FormData(e).get("dont_ask_again")?"dont_ask":"once";("dont_ask"===n||"once"===n)&&("dont_ask"===n&&function(e,t,n){let{expires:r=30}=n||{},o=new Date;o.setTime(o.getTime()+864e5*r);let i="expires="+o.toUTCString();document.cookie=e+"="+t+";"+i+";path=/"}("allowDrasticContent",n,{expires:30}),e.style.display="none",window.scrollTo(0,0))})}(),te(),function(){let e=!1,t=document.querySelectorAll("[data-video-config]"),n=new IntersectionObserver(function(t){t.forEach(t=>{if(t.isIntersecting){if(e){n.unobserve(t.target);return}eq(),e=!0,n.unobserve(t.target)}})},{rootMargin:"100px 0px"});t.forEach(e=>{n.observe(e)})}(),function(e){let t=document.querySelectorAll(".wp-content-part-video");if(!t.length)return;let n=new IntersectionObserver(function(t){t.forEach(async t=>{if(t.isIntersecting){let r=t.target;switch(null==r?void 0:r.dataset.type){case"WIDEOWPPL":eq();break;case"VIMEO":await eK(r,e)}n.unobserve(t.target)}})},{threshold:0,rootMargin:"200px"});t.forEach(e=>n.observe(e))}(t2),te(),function(){let e=document.querySelector(".wp-ticker-container");if(!e)return;let t=window.scrollY,n=0,r=function(e,t=200){let n;return(...r)=>{clearTimeout(n),n=setTimeout(()=>{e(...r)},t)}}(function(){let r=e.offsetHeight,o=window.scrollY,i=e.hasAttribute("data-ticker-hidden"),a=o>t,l=o<t,c=o-t;a&&c>2?n+=c:a||(n=0),a&&!i&&n>r?e.setAttribute("data-ticker-hidden","true"):l&&i&&e.removeAttribute("data-ticker-hidden"),t=o},100);window.addEventListener("scroll",r,{passive:!0})}();let t8=window.location.href;function t9(){let e=window.__INIT_CONFIG__.scriptSrc;if(!e)return;let t=document.createElement("script");t.src=e,t.defer=!0,document.body.appendChild(t)}eH("evt_ux_consumption",{event:"view",pos:"started"}),function(){let e=document.querySelectorAll("[data-uxc]");e.length&&e.forEach(e=>eG.observe(e))}(),function(e,t,n,r){window.WP.push(()=>{e?(tU(t,n),function(e,t){let n=document.getElementById("xbal");if(!n)return;let r=window.WP.pwp.registerContainer({type:"area",areaid:"xball",length:1,isLogged:e,url:t});window.WP.pwp.registerBox(n,{type:"button",url:t,index:0,areaid:"xball",target_url:"https://www.wp.pl?utm_source=xbalo2",id:"xball",yd:""},r,{time:1,percent:50})}(t,n),tX(tJ,t,n),tX(tZ,t,n),tX(tQ,t,n),t0(t,n),tj(t,n),t$(t,n),tR(t,n),tH(t,n),eZ(24,n),tV(t,n),r?function(e,t){let n=document.getElementById("wp-bottombar");if(!n)return;let r=document.getElementById("wp-bottombar-newest-panel"),o=document.getElementById("wp-bottombar-gallery-panel"),i=n.querySelectorAll("[data-vab-id]").length,a=window.WP.pwp.registerContainer({type:"area",areaid:"bottombar",length:i>0?i:1,isLogged:e,url:t},{eventData:function(){return{id:tG(n.querySelector("#wp-back-bottombar-button"))}}});"number"==typeof a&&(function({bottombar:e,currentUrl:t,containerId:n,eventData:r}){if(!e)return;let o=e.querySelector("#wp-back-bottombar-button");o&&function({backButton:e,currentUrl:t,containerId:n}){let r=e.querySelector("button"),o=null==r?void 0:r.getAttribute("data-link");tq({element:e,index:0,url:t,areaid:"bottombar",id:tG(e),target_url:o||"",containerId:n,eventData:function(){return{id:tG(e)}}})}({backButton:o,currentUrl:t,containerId:n}),Array.from(e.querySelectorAll("button.wp-bottombar-icon")).forEach((e,o)=>{let i=e.getAttribute("data-vab-id");i&&tq({element:e,index:o+1,url:t,areaid:"bottombar",id:i,containerId:n,eventData:r})});let i=e.querySelector("#wp-back-button-comments-gofer-open-form-trigger");i&&tq({element:i,index:1,url:t,areaid:"bottombar",id:"glo-comment",containerId:n})}({bottombar:n,currentUrl:t,containerId:a}),r&&tY({panelElement:r,areaId:"bottombar_news",isLogged:e,currentUrl:t,withObserver:!0,type:"textlink"}),o&&tY({panelElement:o,areaId:"bottombar_gallery",isLogged:e,currentUrl:t,withObserver:!0,type:"teaser"}))}(t,n):function(e,t){let n="bottombar",r=document.querySelectorAll(`[data-vab-container="${n}"]`);r.length&&function(e,t,n,r){let o={type:"area",areaid:e,length:t.length,isLogged:n,url:r},i=window.WP.pwp.registerContainer(o);t.forEach((t,o)=>{if(t){let a={type:"button",index:o,url:r,areaid:e,isLogged:n,id:t.dataset.vabBoxId,yd:""};window.WP.pwp.registerBox(t,a,i,{time:1,percent:50})}})}(n,r,e,t)}(t,n)):(tU(t,n),function(e,t){try{let n=window.WP.pwp.registerContainer({type:"area",areaid:"service_header_back",length:1,isLogged:e,url:t}),r=document.getElementById("wp-sg-back-button"),o={boxData:{type:"button",index:0,url:t,areaid:"service_header",target_url:"https://www.wp.pl/?src01=20804",id:"www.wp.pl",yd:""},options:{time:1,percent:50}};window.WP.pwp.registerBox(r,o.boxData,n,o.options)}catch(e){console.error(e)}}(t,n),tX(tJ,t,n),tX(tZ,t,n),tj(t,n),t$(t,n),t0(t,n),tR(t,n),tH(t,n),eZ(12,n),tV(t,n)),function(e,t){let n=document.getElementById("wp-newsletter");if(!n)return;let r=window.WP.pwp.registerContainer({type:"area",areaid:t1,isLogged:e,url:t,length:1});window.WP.pwp.registerBox(n,{type:"button",url:t,areaid:t1,index:0,id:"subscribe",yd:""},r,{time:1,percent:50})}(t,n),eZ(7,n,".wp-video-recommendations-teaser","recommendations-video"),document.querySelectorAll("[data-clk-st-area]").forEach(e=>{let t=e.getAttribute("data-clk-st-area"),n=e.getAttribute("data-location");t&&n&&e.addEventListener("click",function(){window.WP.stat.click({statTag:t,linkHref:n,linkTitle:e.textContent})})})})}(t2,t3,t8,t6),function(){let e=document.body;if("true"===e.getAttribute("data-wp-loaded")){t9();return}let t=new MutationObserver(n=>{n.forEach(n=>{"data-wp-loaded"===n.attributeName&&"true"===e.getAttribute("data-wp-loaded")&&(t9(),t.disconnect())})});t.observe(e,{attributes:!0,attributeFilter:["data-wp-loaded"]})}(),t2&&(t5||window.location.search.includes("force-exit-disco"))&&function(e){let{isLogged:t=!1,topOffset:n=0,bottomOffset:r=0,isClick:o=!1,isScroll:i=!1,scrollThreshold:a=1e3,teasersAmount:l=6,withNativeSlots:c=[],currentReaders:s=0}=e,d={current:null},u=!1,p=window.scrollY,_=!1,m=null,f=!1,h=!1,w=0,g=e=>{h=e.deltaY<0},v=e=>{e.touches&&e.touches.length&&(w=e.touches[0].clientY)},y=e=>{if(e.touches&&e.touches.length){let t=e.touches[0].clientY;h=t-w>2,w=t}},b=()=>{window.removeEventListener("scroll",P),window.removeEventListener("wheel",g),window.removeEventListener("touchstart",v),window.removeEventListener("touchmove",y)},C=()=>{let e=document.getElementById("top-sticky-container");return e||((e=document.createElement("div")).id="top-sticky-container",document.body.appendChild(e)),e},x=()=>{if(u)return;u=!0;let e=document.getElementById("bottom-sticky-container");e&&z(H(eO,{isLogged:t,topOffset:n,bottomOffset:r,teasersAmount:l,withNativeSlots:c}),e)},E=()=>{u||f||(m=C())&&(z(H(eD,{isLogged:t,topOffset:n,bottomOffset:r,teasersAmount:l,currentReaders:s}),m),requestAnimationFrame(()=>{m&&m.classList.add("exit-disco-top--visible")}),f=!0,u=!0)},k=()=>{let e=window.scrollY;!_&&e>=a&&(_=!0);let t=e<p;_&&!h&&t&&(h=!0),_&&h&&!f&&(E(),"hidden"!==document.documentElement.style.overflow&&eP(),b()),p=e,h=!1},T=()=>{"function"==typeof window.CloseWatcher&&null===d.current&&(d.current=new window.CloseWatcher,d.current&&(d.current.onclose=()=>{u||(window.WP.push(()=>{window.WP.stat.wave("evt_start_close_watcher",{state:"back_button",event:"click",area:"close_watcher"})}),x(),u=!0)}))},N=()=>{new URLSearchParams(window.location.search).get("force-exit-disco")&&(window.WP.push(()=>{window.WP.stat.wave("evt_start_close_watcher",{state:"back_button",event:"click",area:"close_watcher"})}),x())},A=!1,P=()=>{A||(window.requestAnimationFrame(()=>{k(),A=!1}),A=!0)},S="function"==typeof window.CloseWatcher;(()=>{let[e]=window.performance.getEntriesByType("navigation")??[];N(),e&&"back_forward"!==e.type&&(S?o&&T():i&&(window.addEventListener("scroll",P),window.addEventListener("wheel",g,{passive:!0}),window.addEventListener("touchstart",v,{passive:!0}),window.addEventListener("touchmove",y,{passive:!0})))})()}(t4?{isLogged:t3,topOffset:116,bottomOffset:20,isScroll:!0,teasersAmount:6,scrollThreshold:1e3,currentReaders:t7>0?t7:0}:{isLogged:t3,topOffset:116,bottomOffset:20,isClick:!0,teasersAmount:6,scrollThreshold:1e3}),["h1","lead","ck","h2"].some(e=>window.location.search.includes(e))&&function(e){var t;let n=new URLSearchParams(e);n.get("h1")&&function(e){let t=document.getElementsByTagName("h1")[0],n=t.innerText;if(t.style.fontWeight="all"===e?"100":e,t.style.fontStyle="italic","all"===e){let e=t.parentElement;if(e)for(let t=1;t<9;t++){let r=document.createElement("h1");r.style.fontStyle="italic",r.style.fontWeight=`${(t+1)*100}`,r.innerText=n,e.append(r)}}}(n.get("h1")),n.get("lead")&&(t=n.get("lead"),document.getElementsByClassName("article-lead")[0].style.fontWeight=t),n.get("ck")&&function(e){for(let t of document.getElementsByClassName("wp-cockroach-header"))t.style.fontWeight=e}(n.get("ck")),n.get("h2")&&function(e){for(let t of document.getElementsByTagName("h2"))t.style.fontWeight=e}(n.get("h2"))}(window.location.search)})();