//AB_TEMPLATE //ab -> 22 var _taboola = _taboola || [];var TRC = TRC || {}; TRC.perfConfOverride = {'logTimer': 50000, 'logLength' : 5, 'traffic' : 50, 'measureEnable' : true, 'measureTimeToSend' : 10000, 'measureInterval' : 10000, 'disableRawDataSend': true}; window.TRC = window.TRC || {}; window.TRC.version = "20250619-32_b1-PR-87541-DEV-193996-adx-lazy-loading-implementation-using-google-native-function-cha-534cddca5d9"; _taboola.push({overrideConfig:{ "trcForce":{"trc_evi":"2|20223|25748"}, systemFlags:{loaderType:"trecs-adx-lazy-load_native_vs_trecs_var", experimentID: 25772 }}}); try {(new Image()).src = "https://cdn.taboola.com/libtrc/tr5?abgroup=trecs-adx-lazy-load_native_vs_trecs_var"} catch(e){} (function(){var __webpack_modules__={5127:function(){!function(){"use strict";if("object"==typeof window)if("IntersectionObserver"in window&&"IntersectionObserverEntry"in window&&"intersectionRatio"in window.IntersectionObserverEntry.prototype)"isIntersecting"in window.IntersectionObserverEntry.prototype||Object.defineProperty(window.IntersectionObserverEntry.prototype,"isIntersecting",{get:function(){return this.intersectionRatio>0}});else{var e=function(){for(var e=window.document,t=r(e);t;)t=r(e=t.ownerDocument);return e}(),t=[],n=null,i=null;a.prototype.THROTTLE_TIMEOUT=100,a.prototype.POLL_INTERVAL=null,a.prototype.USE_MUTATION_OBSERVER=!0,a._setupCrossOriginUpdater=function(){return n||(n=function(e,n){i=e&&n?u(e,n):{top:0,bottom:0,left:0,right:0,width:0,height:0},t.forEach((function(e){e._checkForIntersections()}))}),n},a._resetCrossOriginUpdater=function(){n=null,i=null},a.prototype.observe=function(e){if(!this._observationTargets.some((function(t){return t.element==e}))){if(!e||1!=e.nodeType)throw new Error("target must be an Element");this._registerInstance(),this._observationTargets.push({element:e,entry:null}),this._monitorIntersections(e.ownerDocument),this._checkForIntersections()}},a.prototype.unobserve=function(e){this._observationTargets=this._observationTargets.filter((function(t){return t.element!=e})),this._unmonitorIntersections(e.ownerDocument),0==this._observationTargets.length&&this._unregisterInstance()},a.prototype.disconnect=function(){this._observationTargets=[],this._unmonitorAllIntersections(),this._unregisterInstance()},a.prototype.takeRecords=function(){var e=this._queuedEntries.slice();return this._queuedEntries=[],e},a.prototype._initThresholds=function(e){var t=e||[0];return Array.isArray(t)||(t=[t]),t.sort().filter((function(e,t,n){if("number"!=typeof e||isNaN(e)||e<0||e>1)throw new Error("threshold must be a number between 0 and 1 inclusively");return e!==n[t-1]}))},a.prototype._parseRootMargin=function(e){var t=(e||"0px").split(/\s+/).map((function(e){var t=/^(-?\d*\.?\d+)(px|%)$/.exec(e);if(!t)throw new Error("rootMargin must be specified in pixels or percent");return{value:parseFloat(t[1]),unit:t[2]}}));return t[1]=t[1]||t[0],t[2]=t[2]||t[0],t[3]=t[3]||t[1],t},a.prototype._monitorIntersections=function(t){var n=t.defaultView;if(n&&-1==this._monitoringDocuments.indexOf(t)){var i=this._checkForIntersections,o=null,a=null;this.POLL_INTERVAL?o=n.setInterval(i,this.POLL_INTERVAL):(s(n,"resize",i,!0),s(t,"scroll",i,!0),this.USE_MUTATION_OBSERVER&&"MutationObserver"in n&&(a=new n.MutationObserver(i)).observe(t,{attributes:!0,childList:!0,characterData:!0,subtree:!0})),this._monitoringDocuments.push(t),this._monitoringUnsubscribes.push((function(){var e=t.defaultView;e&&(o&&e.clearInterval(o),l(e,"resize",i,!0)),l(t,"scroll",i,!0),a&&a.disconnect()}));var c=this.root&&(this.root.ownerDocument||this.root)||e;if(t!=c){var d=r(t);d&&this._monitorIntersections(d.ownerDocument)}}},a.prototype._unmonitorIntersections=function(t){var n=this._monitoringDocuments.indexOf(t);if(-1!=n){var i=this.root&&(this.root.ownerDocument||this.root)||e,o=this._observationTargets.some((function(e){var n=e.element.ownerDocument;if(n==t)return!0;for(;n&&n!=i;){var o=r(n);if((n=o&&o.ownerDocument)==t)return!0}return!1}));if(!o){var a=this._monitoringUnsubscribes[n];if(this._monitoringDocuments.splice(n,1),this._monitoringUnsubscribes.splice(n,1),a(),t!=i){var s=r(t);s&&this._unmonitorIntersections(s.ownerDocument)}}}},a.prototype._unmonitorAllIntersections=function(){var e=this._monitoringUnsubscribes.slice(0);this._monitoringDocuments.length=0,this._monitoringUnsubscribes.length=0;for(var t=0;t=0&&b>=0&&{top:l,bottom:d,left:p,right:h,width:f,height:b}||null),!g)break;v=v&&m(v)}return g}},a.prototype._getRootRect=function(){var t;if(this.root&&!h(this.root))t=c(this.root);else{var n=h(this.root)?this.root:e,i=n.documentElement,r=n.body;t={top:0,left:0,right:i.clientWidth||r.clientWidth,width:i.clientWidth||r.clientWidth,bottom:i.clientHeight||r.clientHeight,height:i.clientHeight||r.clientHeight}}return this._expandRectByRootMargin(t)},a.prototype._expandRectByRootMargin=function(e){var t=this._rootMarginValues.map((function(t,n){return"px"==t.unit?t.value:t.value*(n%2?e.width:e.height)/100})),n={top:e.top-t[0],right:e.right+t[1],bottom:e.bottom+t[2],left:e.left-t[3]};return n.width=n.right-n.left,n.height=n.bottom-n.top,n},a.prototype._hasCrossedThreshold=function(e,t){var n=e&&e.isIntersecting?e.intersectionRatio||0:-1,i=t.isIntersecting?t.intersectionRatio||0:-1;if(n!==i)for(var r=0;re.placementName===t))[0]}const o=e.mode;return o?n.filter((e=>r(e,o)))[0]:null}},5706:function(e,t,n){"use strict";n.d(t,{V1:function(){return u},eo:function(){return c},lT:function(){return d}});var i=n(8e3),r=n(4515),o=n(4800),a=n(5705);function s(e){return e instanceof Array?e.filter(s).length>0:!!e.mode&&"amp"===e.framework}let l=0;function c(){var e;if(0!==l)return 2===l;let t=s((0,a.Cw)());return t?(l=2,!0):(t=window.location.host.indexOf(".ampproject.net")>-1&&!!(null===(e=o.Dn.context)||void 0===e?void 0:e.canonicalUrl),t?(l=2,!0):(l=1,t))}function d(){var e,t;const n=null===(t=null===(e=o.Dn.context)||void 0===e?void 0:e.data)||void 0===t?void 0:t.feedContainerNum;return{isSplitFeed:!!n,feedContainerNum:n?parseInt(n):0}}function u(){return new r.g((e=>{const t=(0,i.w$)("max-wait-for-cmp"),n={gdpr:{cmpStatus:5}};if(t>0&&window.setTimeout((()=>{n.gdpr.wasTimeout=!0,e(n)}),t),!o.Dn.context)return void e(n);const r=o.Dn.context.initialConsentValue;return r?(function(e,t){var n;const i=/^\d[YN-]{3}$/.test(e),r=null===(n=o.Dn.context.initialConsentMetadata)||void 0===n?void 0:n.gdprApplies;i?(t.ccpa={privacyString:e},t.gdpr.gdprApplies=!1,t.gdpr.tcString=void 0):(t.gdpr.gdprApplies=null==r||r,t.gdpr.tcString=e)}(r,n),void e(n)):o.Dn.context.getConsentState?o.Dn.context.getConsentState((t=>{1===t.consentState?n.gdpr.cex="true":2===t.consentState&&(n.gdpr.cex="false"),e(n)})):void e(n)}))}},9244:function(e,t,n){"use strict";n.d(t,{p:function(){return p},r:function(){return u}});var i=n(9642),r=n(5705),o=n(2941);const a="gr__",s=new RegExp(`^${a}`);function l(e){return s.test(e)}function c(e){const t=Object.keys(e).filter(l),n=[],i={};return t.forEach((t=>{const r=t.split(a)[1],s=e[t];if(!s||!(0,o.YQ)(s))return;const l=!(0,o.tv)(s.v);l&&(0,o.qS)(s.p)?100*Math.random()<=s.p&&(i[r]=s.v):l&&(0,o.mg)(s.d)&&e[a+s.d]&&(s.dependOn=s.d,s.key=r,n.push(s))})),n.forEach((e=>{e.d in i&&(i[e.key]=e.v)})),i}let d;function u(e){if(d)return;d=e;let t=d.global||{};const n=function(){let e={};return(0,r.Cw)().filter((e=>{var t;return null===(t=e.overrideConfig)||void 0===t?void 0:t.global})).forEach((t=>{e=Object.assign(Object.assign({},e),t.overrideConfig.global)})),e}();t=Object.assign(Object.assign(Object.assign(Object.assign({},t),c(t)),c(function(e){const t={};return(0,i.IF)(e,((e,n)=>{l(e)&&(t[e]=n)})),t}(n))),n),d.global=t}function p(){return d}},2360:function(e,t,n){"use strict";n.d(t,{AA:function(){return p},Cv:function(){return g},Kc:function(){return b},Kl:function(){return l},PA:function(){return f},Zl:function(){return m},_B:function(){return d},dJ:function(){return u},fy:function(){return s},iG:function(){return a},jm:function(){return i},l9:function(){return h},sb:function(){return c},yZ:function(){return r}});const i=-1,r="__common__",o=["organic-hp-swap-mode","rbox-only-video"];function a(e){return o.indexOf(e)>-1}function s(e){return e.instances.filter((e=>3!==e.status)).length>1}function l(e){return e.instances.filter((e=>{const{status:t,batchIndex:n}=e;return 0===t&&n===i})).length>0}function c(e){return 0===e.instances.filter((e=>!e.isDeliveredToRBox)).length}function d(e){return 2===e.instances[0].status}function u(e){return e.map((e=>Object.assign(Object.assign({},e),{status:2,isParsed:!0,isDeliveredToRBox:!0})))}function p(e,t){let n=0;return e.map((e=>n0!==e.status||n?e:(n=!0,Object.assign(Object.assign({},e),{status:1,batchIndex:t}))))}function h(e){return{containerId:e,status:0,isParsed:!1,batchIndex:i,isDeliveredToRBox:!1}}function f(e){let t=!1;return e.map((e=>e.isParsed||t?e:(t=!0,Object.assign(Object.assign({},e),{isParsed:!0}))))}function b(e){const t=e.instances;for(const e of t)if(!e.isParsed)return e.containerId;return t[t.length-1].containerId}function g(e,t){return t.filter((t=>t.placementName===e))[0]}},2606:function(e,t,n){"use strict";n.d(t,{j:function(){return u},y:function(){return d}});var i=n(2941),r=n(3707),o=n(3983),a=n(7177),s=n(5219),l=n(9642);const c={"thumbnail-position":g,"before-detail-order":b,"before-detail-order-syndicated":b,"detail-order":b,"detail-order-syndicated":b,"thumbnail-width":a.vx,"thumbnail-height":a.vx,"carousel-min-items":g,"format-x-days-ago":e=>(0,i.tv)(e)?void 0:(0,o.tU)(e,!0),ctaWidget:e=>(0,i.tv)(e)?void 0:(0,o.tU)(e,!0),"enable-pencil-ads":e=>(0,i.tv)(e)?void 0:(0,o.tU)(e,!1),"scrollable-carousel-mobile-viewport-items":g,"scrollable-carousel-desktop-viewport-items":g,"disclosure-position":p,"disclosure-alignment":g,"attribution-position":p,"branding-separator":g,"disclosure-link-text-sponsored":g,"popup-custom-url":g,"images-radius":function(e){if(e&&"0"!==e)return e.toString()},"visibility-constraints":function(e){return{minWidth:(null==e?void 0:e.minWidth)||0,maxWidth:(null==e?void 0:e.maxWidth)||0}}};function d(e,t){const n=function(e,t){const n={};return(0,l.IF)(c,((i,r)=>{n[i]=r(e[i],t)})),n}(t,e);return Object.assign(Object.assign(Object.assign({},t),n),{"responsive-rules":m(t),modeName:e})}function u(e){return e?function(e){const t={};return(0,l.IF)(e,((e,n)=>{var i;t[e]=(null===(i=c[e])||void 0===i?void 0:i.call(c,n,"Property Override"))||n})),t}(e):{}}function p(e,t){if(!e)return e;const n=e.trim();return!["bottom","top","none","after_branding"].some((e=>e===n))||n.indexOf(" ")>-1?((0,s.JE)(`Invalid policy position: ${e} - ${t}`),"bottom"):e}function m(e){const t=e["responsive-rules"];return(0,i.Cm)(t)?[{rows:h(e.rows)||(0,r.i)(),cells:h(e["responsive-extra-columns"])||(0,r.i)(),ratio:(0,r.i)(),margin:(0,r.i)()}]:null==t?void 0:t.map((t=>({minWidth:t.minWidth||0,maxWidth:t.maxWidth||void 0,rows:h(t.rows),cells:h(t.cells),virtualThumbWidth:t.virtualThumbWidth||void 0,virtualThumbHeight:t.virtualThumbHeight||void 0,margin:t.margin||{v:0,h:0},ratio:f(e,t)})))}function h(e){return e||(e=1),e>1?e:1}function f(e,t){if(t.virtualThumbHeight&&t.virtualThumbWidth)return t.virtualThumbHeight/t.virtualThumbWidth;const n=(0,a.vx)(e["thumbnail-width"]),i=(0,a.vx)(e["thumbnail-height"]);return n&&i?i/n:.8}function b(e){if(!(0,i.tv)(e)&&!(0,i.Cm)(e))return""===e?[]:Array.isArray(e)?e:e.split(",")}function g(e){return e}},9454:function(e,t,n){"use strict";function i(e,t){return[].slice.apply(document.head.getElementsByTagName(e)).filter(t)[0]||null}n.d(t,{y:function(){return i}})},7746:function(e,t,n){"use strict";n.d(t,{PJ:function(){return v},Xf:function(){return C},hq:function(){return x},mx:function(){return T},tC:function(){return k}});var i=n(9102),r=n(8e3),o=n(4846),a=n(7566),s=n(4800),l=n(3320),c=n(3983),d=n(5706),u=n(9454);let p,m,h,f=null,b="";function g(){if(!(0,d.eo)())return;if(!(0,r.w$)("override-amp-url"))return;const{canonicalUrl:e,location:t}=s.Dn.context;return e.indexOf("?")>-1?e+t.search.replace("?","&"):e+t.search}function v(){if(m)return m;const e=g()||s.Pp.location.href;return(0,l.Pz)(e)}function _(){var e;return w(null===(e=(0,u.y)("meta",(e=>"og:url"===e.getAttribute("property"))))||void 0===e?void 0:e.content)}function y(){var e;return w(null===(e=(0,u.y)("link",(e=>"canonical"===e.rel)))||void 0===e?void 0:e.href)}function w(e){if(!e)return null;let t=window.location.search;const n=(0,l.Pz)(e);return t?(n.search.indexOf("?")>-1&&(t=t.replace("?","&")),n.search+=t,n):n}function x(){return location.href!==b&&"location"===h&&(R(),!0)}function C(){const e=function(e){return-1===e.indexOf("location")?[...e,"location"]:e}((0,r.w$)("url-extract-order"));for(const n of e){switch(n){case"location":f=v();break;case"meta":void 0,f=w(null===(t=(0,u.y)("meta",(e=>"item-url"===e.name)))||void 0===t?void 0:t.content);break;case"og":f=_();break;case"canonical":f=y();break;case"paramUrl":f=w(null==p?void 0:p.href)}if(f){h=n,b=location.href;break}}var t;return(0,o.n5)(f,"pageURL must have value"),f}function E(){const{search:e,hash:t}=v();let n={};return e&&(n=(0,c.Fe)(e)),/#\?.+/.test(t)&&(n=Object.assign(Object.assign({},n),(0,c.Fe)(t.slice(1)))),n}function k(e){const t=g()||e;p=(0,l.Pz)(t)}function T(e){m=(0,l.Pz)(e)}function R(){i.fg.appendRuntimeConfig({pageUrl:C(),networkMapUrl:v(),debugQueryParams:E(),urlSelectionStrategy:h}),i.fg.updatePageId()}a.B.once("storeCreated",R),a.B.on("storeReady",(function(){i.MC.onReset(R),i.MC.onOptionsSummaryUpdated((e=>{const t=e.pageUrl;t&&(k(t),R())}))}))},4246:function(e,t,n){"use strict";n.d(t,{a1:function(){return p},gu:function(){return l},hr:function(){return c},oU:function(){return u},yq:function(){return d}});var i=n(8e3),r=n(8390),o=n(2120),a=n(2360);let s;const l="rbox-tracking";function c(e,t){0!==t.length&&t.some((e=>!d(e.modeName)))&&(d(e.modeName)?e.instances=(0,a.dJ)(e.instances):t.forEach((t=>{d(t.modeName)&&(t.instances=(0,a.dJ)(e.instances))})))}function d(e){return e===l}function u(e){if(!(0,i.BC)("enable-always-track"))return;const t=l,n=`${t}-div`;s||(s=(0,o.W)("div",{attrList:[["id",n]]}),s.style.display="none",document.body.appendChild(s)),(0,r.eg)({placement:t,mode:t,container:n},e)}function p(e){return e.modeName}},5705:function(e,t,n){"use strict";n.d(t,{Cw:function(){return r},w9:function(){return o},wy:function(){return i}});const i="_taboola";function r(){return o(),window[i]}function o(){window[i]||(window[i]=[])}},8390:function(e,t,n){"use strict";n.d(t,{eg:function(){return D},Yo:function(){return R},e0:function(){return h},Hs:function(){return I},Vs:function(){return S},kE:function(){return L},wp:function(){return g},hb:function(){return _},tJ:function(){return O},Qc:function(){return w},Yi:function(){return x},hr:function(){return C},IR:function(){return T}});var i=n(5219),r=n(1111),o=n(9102),a=n(2941),s=n(3983),l=n(8508),c=n(2360),d=n(4246),u=n(4846),p=n(5637),m=n(8e3);function h(){return{events:[],socials:[],placements:[],isFlush:!1,userOptOut:!1,itemSourceType:"_default_",itemSourceValue:"",trackingCodes:{},__preProcessedOptions__:[],__overrideGlobal__:{}}}function f(e){return JSON.stringify(e,((e,t)=>"__preProcessedOptions__"===e||"__overrideGlobal__"===e?"":t))}const b=f({events:[],socials:[],placements:[],isFlush:!1,userOptOut:!1,itemSourceType:"_default_",itemSourceValue:"",trackingCodes:{},__preProcessedOptions__:[],__overrideGlobal__:{}});function g(e){return f(e)===b}function v(e,t){const n=[],i=[];return e.forEach((e=>{const{placementName:r}=e,o=(0,c.Cv)(r,t);o?(i.push(r),n.push(Object.assign(Object.assign({},e),{instances:[...e.instances,...o.instances]}))):n.push(e)})),t.forEach((e=>{i.indexOf(e.placementName)>-1||n.push(e)})),n}function _(e,t){const n=!(0,a.tv)(t.itemSourceType)&&"_default_"!==t.itemSourceType,i=e.placements||[],r=t.placements||[],o=t.gdpr&&(3!==t.gdpr.cmpStatus||!e.gdpr||3===e.gdpr.cmpStatus);return{publisherName:t.publisherName||e.publisherName,gdpr:o?Object.assign(Object.assign({},e.gdpr||{}),t.gdpr):e.gdpr,ccpa:t.ccpa?Object.assign(Object.assign({},e.ccpa||{}),t.ccpa):e.ccpa,realTimeUserId:t.realTimeUserId||e.realTimeUserId||void 0,placements:v(i,r),additionalData:t.additionalData||e.additionalData,deviceId:t.deviceId||e.deviceId,unifiedId:t.unifiedId||e.unifiedId,pblob:t.pblob||e.pblob,att:t.att||e.att,framework:t.framework||e.framework,events:[...e.events,...t.events||[]],socials:[...e.socials,...t.socials||[]],itemSourceType:n?t.itemSourceType:e.itemSourceType,itemSourceValue:n?t.itemSourceValue:e.itemSourceValue,userOptOut:(0,a.tv)(t.userOptOut)?e.userOptOut:t.userOptOut,pageUrl:t.pageUrl||e.pageUrl||void 0,networkMapUrl:t.networkMapUrl||e.networkMapUrl||void 0,isFlush:(0,a.tv)(t.isFlush)?e.isFlush:t.isFlush,excludePubs:(0,a.tv)(t.excludePubs)?e.excludePubs:t.excludePubs,trackingCodes:Object.assign(Object.assign({},e.trackingCodes),t.trackingCodes||{})||{},cex:(0,a.tv)(t.cex)?e.cex:t.cex,customSegment:t.customSegment||e.customSegment,scod:t.scod?Object.assign(Object.assign({},e.scod||{}),t.scod):e.scod,referrerUrl:t.referrerUrl||e.referrerUrl,__preProcessedOptions__:[...e.__preProcessedOptions__,...t.__preProcessedOptions__||[]],__overrideGlobal__:Object.assign(Object.assign({},e.__overrideGlobal__),t.__overrideGlobal__),pageTemplate:t.pageTemplate||e.pageTemplate,advertorialSource:t.advertorialSource||e.advertorialSource,externalPageView:t.externalPageView||e.externalPageView,userType:t.userType||e.userType,premium:(0,a.tv)(t.premium)?e.premium:t.premium,paywall:(0,a.tv)(t.paywall)?e.paywall:t.paywall,tracking:t.tracking||e.tracking,linkTarget:t.linkTarget||e.linkTarget,excludedRecs:[...t.excludedRecs||[],...e.excludedRecs||[]],pubExperiment:e.pubExperiment||t.pubExperiment,userDemographicData:e.userDemographicData||t.userDemographicData,protectedAudience:e.protectedAudience||t.protectedAudience,externalUserId:e.externalUserId||t.externalUserId,disableHp4u:(0,a.tv)(t.disableHp4u)?e.disableHp4u:t.disableHp4u}}let y=c.jm;function w(e,t){return Object.assign(Object.assign({},e),{placements:e.placements.map((e=>t.indexOf(e.placementName)>-1?Object.assign(Object.assign({},e),{instances:(0,c.PA)(e.instances)}):e))})}function x(e,t){return y++,Object.assign(Object.assign({},e),{placements:e.placements.map((e=>{const n=t.filter((t=>{return n=t,i=e,(0,l.Q)(n,i)&&n.placementName===i.placementName;var n,i})).length>0&&(0,c.Kl)(e);let i=e.instances;return n&&(i=(0,c.Zl)(i,y)),Object.assign(Object.assign({},e),{instances:i})}))})}function C(e,t){const n={},{placements:i}=t;return t.placements=[],i.forEach((i=>{const{placementName:r}=i,o=i.instances[0];(0,u.n5)(o,"new placement pushed should have one instance exactly");const a=(0,c.Cv)(r,e);a&&E(o,a)&&k(r,o);const s=n[r];if(!s)return t.placements.push(i),void(n[r]=i);3!==o.status&&E(o,s)&&k(r,o),s.instances=[...s.instances,o]})),t}function E(e,t){return t.instances.some((t=>t.containerId===e.containerId))}function k(e,t){(0,i.JE)(`Placement duplication found: ${JSON.stringify(e)}, ${t.containerId}`),(0,m.BC)("allow-placement-duplication")||(t.status=3,t.isParsed=!0,t.isDeliveredToRBox=!0)}function T(e,t){return t.placements.forEach((t=>{(0,d.hr)(t,e)})),t}function R(e){return _(e,{})}function I(e){return(null==e?void 0:e.placements.filter((e=>(0,c.Kl)(e))))||[]}function S(e){var t;return((null===(t=I(e))||void 0===t?void 0:t.length)||0)>0}function O(e){if(!(0,a._L)(e))return;let t;e.forEach(O);const n="%tt%",i=[],r=e=>{if(!(e.placement||e.mode||e.target_type))return;let r;e.mode?(e.placement||(e.placement=e.mode),e.target_type||(e.target_type=n),r=e):e.target_type&&(t=e.target_type,delete e.target_type),(null==r?void 0:r.target_type)===n&&i.push(r)};e.forEach((e=>{if((0,a._L)(e))return e.forEach(r),void(0,s.DW)(e);r(e)})),i.forEach((e=>{t?e.target_type=t:delete e.target_type})),(0,s.DW)(e)}function D(e,t){if(!e.container||!e.mode)return;const n=o.MC.config.publisher.modes[e.mode],{minWidth:a,maxWidth:l}=(null==n?void 0:n["visibility-constraints"])||{};var d,u;!function(e,t){if(e=e||Number.NEGATIVE_INFINITY,t=t||Number.POSITIVE_INFINITY,e===Number.NEGATIVE_INFINITY&&t===Number.POSITIVE_INFINITY)return!0;const n=(0,p.I7)("a10");return!(nt)}(a,l)?(0,i.MD)("page","info",`Mode '${e.mode}' will not be displayed due to visibility constraints minWidth: ${a}, maxWidth: ${l}`):t.placements.push({modeName:(0,s.Hl)(e.mode),instances:[(0,c.l9)(P(e.container))],placementName:e.placement,targetType:(d=e.target_type,u="video",d?r.P[d]?d:((0,i.JE)(`Target Type has no valid value, got value "${d}".`),u):u),category:e.category,dfp:e.dfp,exclude:M(e.exclude),tracking:e.tracking,linkTarget:e.link_target,frameId:e.frameId,priority:e.priority,groupName:e.groupName,constraint:e.constraint,byPublisher:!0})}function M(e){if(e){if((0,a.mg)(e))return[e];if((0,a._L)(e))return e.filter((e=>!!e))}}function P(e){if((0,a.mg)(e))return e;if(e.id)return e.id;const t=(0,s.MZ)({prefix:"trc_cont_"});return e.id=t,t}function L(e){return"newPageLoad"===e.notify}},5125:function(e,t,n){"use strict";n.d(t,{C8:function(){return h},MQ:function(){return w},Vs:function(){return _},aG:function(){return C},cy:function(){return u},dz:function(){return f},r1:function(){return v}});var i=n(9151),r=n(2941),o=n(5219),a=n(9642),s=n(4515),l=n(236),c=n(2537);const d={};let u=!1;const p=[],m=["e15","e16","e17","e18","e19","e20","e21","e22","e26","e29","e24","e25"];function h(e,...t){(0,c.q3)(),m.indexOf(e)>-1&&p.push({action:e,params:t});const n=function(e,...t){const n=d[e];switch(e){case"e3":null==n||n.forEach((t=>{var n;try{const i=null===(n=t[e])||void 0===n?void 0:n.call(t);i&&(0,l.l)(i)}catch(n){b(t,e,n)}}));break;case"e4":null==n||n.forEach((t=>{var n;try{null===(n=t[e])||void 0===n||n.call(t)}catch(n){b(t,e,n)}}));break;case"e5":null==n||n.forEach((t=>{var n;try{null===(n=t[e])||void 0===n||n.call(t)}catch(n){b(t,e,n)}}));break;case"e6":u=!0,null==n||n.forEach((n=>{var i;try{null===(i=n[e])||void 0===i||i.apply(n,t)}catch(t){b(n,e,t)}}));break;case"e7":{let[i]=t;return null==n||n.forEach((t=>{var n;try{i=(null===(n=t[e])||void 0===n?void 0:n.call(t,i))||i}catch(n){b(t,e,n)}})),i}case"e8":return function(){var e,t;const n=d.e8;if(!(null==n?void 0:n.length))return;let i;for(const o of n)if(i=null!==(t=null===(e=o.e8)||void 0===e?void 0:e.call(o))&&void 0!==t?t:i,!0!==i&&!(0,r.tv)(i))return i;return i}();case"e9":{const[e]=t,n=function(e){var t;const n="e9";let r,l=e;const c=[];let u;null===(t=d[n])||void 0===t||t.forEach((e=>{var t,s,d;try{const u=null===(t=e[n])||void 0===t?void 0:t.call(e,(0,a.Go)(l));if(!u)return;0===(null===(d=null===(s=u.payload)||void 0===s?void 0:s.data)||void 0===d?void 0:d.r.length)&&((0,o.vV)(`Request with empty 'r' field caused by ${e.getName()}`),u.payload=void 0),l=u.payload,u.response&&(r=(0,i.M)(r||{},u.response)),u.responsePromise&&c.push(u.responsePromise)}catch(t){b(e,n,t)}})),c.length>0&&(u=s.g.allSettled(c).then((e=>e.filter((e=>"fulfilled"===e.status)).map((e=>e.value)).reduce(((e,t)=>(0,i.M)(e,t)),{}))));if(e!==l||r||u)return{payload:l,response:r,responsePromise:u}}(e);return n}case"e10":case"e11":{let[n]=t;return n=function(e,t){var n;return null===(n=d[e])||void 0===n||n.forEach((n=>{var i;try{t=(null===(i=n[e])||void 0===i?void 0:i.call(n,t))||t}catch(t){b(n,e,t)}})),t}(e,n),n}case"e12":{const[i]=t;let r;return null==n||n.forEach((t=>{var n;try{!1!==r&&(r=null===(n=t[e])||void 0===n?void 0:n.call(t,i))}catch(n){b(t,e,n)}})),!1!==r}case"e13":{const[i]=t;let r=i;if(null==n||n.forEach((t=>{var n;try{r=(null===(n=t[e])||void 0===n?void 0:n.call(t,r))||r}catch(n){b(t,e,n)}})),i!==r)return r;break}case"e14":{const[i]=t;let r;return null==n||n.forEach((t=>{var n;try{r||(r=null===(n=t[e])||void 0===n?void 0:n.call(t,i))}catch(n){b(t,e,n)}})),r}case"e15":case"e17":case"e18":case"e19":case"e20":case"e21":{const[i]=t;null==n||n.forEach((t=>{var n;try{null===(n=t[e])||void 0===n||n.call(t,i)}catch(n){b(t,e,n)}}));break}case"e16":{const[i]=t;let r;return null==n||n.forEach((t=>{var n;try{!1!==r&&(r=null===(n=t[e])||void 0===n?void 0:n.call(t,i))}catch(n){b(t,e,n)}})),r}case"e22":null==n||n.forEach((t=>{var n;try{null===(n=t[e])||void 0===n||n.call(t)}catch(n){b(t,e,n)}}));break;case"e23":{const[e,n,i]=t,r=function(e,t,n){var i;const r="e23";let o={payload:{}};return null===(i=d[r])||void 0===i||i.forEach((i=>{var a,s;try{const l=null===(a=i[r])||void 0===a?void 0:a.call(i,e,t,n);if(!l)return;if(!l.payload||!o)return void(o=null);l.payload.url&&(o.payload.url=Object.assign(Object.assign({},o.payload.url||{}),l.payload.url)),l.payload.body&&(o.payload.body=Object.assign(Object.assign({},o.payload.body||{}),l.payload.body)),(s=o.payload).domain||(s.domain=l.payload.domain)}catch(e){b(i,r,e)}})),o||{}}(e,n,i);return r}case"e27":{const[i,r]=t;null==n||n.forEach((t=>{var n;try{null===(n=t[e])||void 0===n||n.call(t,i,r)}catch(n){b(t,e,n)}}));break}case"e28":{const[i]=t,r=(0,a.Go)(i);null==n||n.forEach((t=>{var n;try{null===(n=t[e])||void 0===n||n.call(t,r)}catch(n){b(t,e,n)}}));break}case"e24":{const[e]=t,n=d.e24;if(!(null==n?void 0:n.length))return;const i=function(e,t){var n;for(const i of t)try{const t=null===(n=i.e24)||void 0===n?void 0:n.call(i,e);if(t)return t}catch(e){b(i,"e24",e)}}(e,n);return i}case"e25":{const[e,n]=t,i=d.e25;if(!(null==i?void 0:i.length))return;const r=async function(e,t,n){let i=!1,r=e;for(const e of n)try{const n=e.e25;if(!n)continue;const o=await n(r,t);o&&(i=!0,r=o)}catch(t){b(e,"e24",t)}return i?s.g.resolve(r):s.g.resolve(void 0)}(e,n,i);return r}case"e26":{const[i]=t;null==n||n.forEach((t=>{var n;try{null===(n=t[e])||void 0===n||n.call(t,i)}catch(n){b(t,e,n)}}));break}case"e29":{const[e]=t,n=d.e29;return!!(null==n?void 0:n.length)&&function(e,t){var n;let i=0;for(const r of t)try{(null===(n=r.e29)||void 0===n?void 0:n.call(r,e))&&i++}catch(e){b(r,"e29",e)}return i>1?(b(t[0],"e29","No two extensions can handle the render placement process"),!0):1===i}(e,n)}}}(e,...t);return(0,c.qI)(),n}function f(e){p.forEach((t=>{var n;try{null===(n=e[t.action])||void 0===n||n.apply(e,t.params)}catch(n){b(e,t.action,n)}}))}function b(e,t,n){(0,o.vV)(`Extension "${e.getName()}" had error on action "${t}":`,n)}const g=["e3","e4","e5","e6","e7","e8","e9","e10","e11","e12","e13","e14","e15","e16","e17","e18","e19","e20","e21","e22","e23","e27","e28","e24","e25","e26"];function v(e){g.forEach((t=>{if(!e[t])return;d[t]||(d[t]=[]),d[t].push(e);const{wrapperExtensions:n,wrapperEachExtensions:i,nonWrapperExtensionList:r}=function(e){const t=[],n=[],i=e.map((e=>{const i=y(e);return 1===i?t.push(e):2===i&&n.push(e),e})).filter((e=>y(e)>=10)).sort(((e,t)=>{const n=y(e),i=y(t);return n>i?1:n{0===o&&(r=r.concat(e)),r=r.concat(t),r=r.concat(n),o===i-1&&(r=r.concat(t),r=r.concat(e))})),r}(n,i,r)}))}function _(e){g.forEach((t=>{const n=d[t];if(!n)return;const i=n.filter((t=>t.getName()===e.getName()))[0];i&&n.splice(n.indexOf(i),1)}))}function y(e){var t;return(null===(t=e.getRunOrder)||void 0===t?void 0:t.call(e))||11}function w(e){return!!d[e]}let x=null;function C(e,t,n){if(null===x&&(x=w("e23")),!x)return t;const i=h("e23",e,t,n);if(!i)return t;const r=i.payload;return r?{url:Object.assign(Object.assign({},t.url),r.url||{}),body:Object.assign(Object.assign({},t.body||{}),r.body||{}),domain:r.domain,publisherName:t.publisherName}:void 0}},2537:function(e,t,n){"use strict";n.d(t,{$r:function(){return w},As:function(){return x},SO:function(){return y},U8:function(){return C},VK:function(){return _},q3:function(){return T},qI:function(){return R}});var i=n(5706),r=n(9102),o=n(8e3),a=n(2941),s=n(5219),l=n(4515),c=n(870),d=n(7177),u=n(2470),p=n(3983),m=n(6166),h=n(5125),f=n(172),b=n(236);const g=[],v=[];function _(e){if(g.push(e),(0,a.mg)(e)){const t=(0,u.m0)(e)?e:(0,f.Yj)(e,"ext"),n=(0,o.w$)("script-load-attempts");return(0,c.h)(t,n)}const t=l.g.resolve();if(!(0,a.Rm)(e))return I(e),D(e),t;try{const n=e();return I(n),D(n),t}catch(e){}try{const n=new e;return I(n),D(n),t}catch(e){}return(0,s.vV)("Extension type not supported"),t}function y(e){O(e)}function w(){const e=(0,o.w$)("include-extensions");e.length>0&&function(e){for(let t=v.length-1;t>=0;t--){const n=v[t].getName();-1===e.indexOf(n)&&y(n)}}(e)}function x(){const e=(0,p.tU)((0,o.w$)("render-amp-with-bridge"),!0),t=(0,o.BC)("is-ms3");return e?t&&!(0,i.eo)():t}function C(){var e;if(x()){const e=(0,o.w$)("include-ms3");return void(e.length>0?function(e){var t;for(let n=v.length-1;n>=0;n--){const i=v[n],r=i.getName();(null===(t=i.isMS3)||void 0===t?void 0:t.call(i))&&-1===e.indexOf(r)&&y(r)}}(e):(0,o.w$)("exclude-ms3").forEach((e=>{y(e)})))}const t=v.some((e=>{var t;return null===(t=e.isBridge)||void 0===t?void 0:t.call(e)}));if(t)for(let t=v.length-1;t>=0;t--){const n=v[t];(null===(e=n.isMS3)||void 0===e?void 0:e.call(n))&&y(n.getName())}}let E=0,k=[];function T(){E++}function R(){E--,k.forEach(O),k=[]}function I(e){(function(e){var t,n,i;const o=null===(t=e.getName)||void 0===t?void 0:t.call(e);if(!(0,a.mg)(o))return(0,s.vV)('Invalid extension: "getName" function'),!1;const l=0===v.filter((e=>e.getName()===o)).length;if(!l)return(0,s.JE)(`Invalid extension: Name "${o}" already exist`),!1;const c=null===(n=e.getSupportedFeatures)||void 0===n?void 0:n.call(e);return function(e){if(!(null==e?void 0:e.length))return!0;const t=r.MC.config.runtime.supportedFeatures;for(const n in e)if(t[n])return!1;return!0}(c)?function(e){if(!e)return!0;const t=M((0,m.r)()),n=M(e);return!t||!n||t-n>=0}(null===(i=e.minBuildVersion)||void 0===i?void 0:i.call(e)):((0,s.vV)(`Invalid extension: Features "${c}" already supported by another extension`),!1)})(e)&&(v.push(e),(0,h.r1)(e),S(e,!0))}function S(e,t){var n;const i=null===(n=e.getSupportedFeatures)||void 0===n?void 0:n.call(e);if(!i||0===i.length)return;const o={};i.forEach((e=>{o[e]=t})),r.fg.appendRuntimeConfig({supportedFeatures:o})}function O(e){if(E>0)return void k.push(e);const t=v.filter((t=>t.getName()===e))[0];if(!t)return;const n=v.indexOf(t);v.splice(n,1),t.unregistered(),(0,h.Vs)(t),S(t,!1)}function D(e){var t;h.cy&&(null===(t=e.e6)||void 0===t||t.call(e,(0,b.k)()),(0,h.dz)(e))}function M(e){const t=e.match(/^(\d{8})[.-](\d+)[_-]/);if(!t)return;const[n,i,r]=t,o=i+(0,p.T0)(r,3,"0");return(0,d.vx)(o)}},5526:function(e,t,n){"use strict";n.d(t,{SQ:function(){return c},Xl:function(){return d},oS:function(){return a},tx:function(){return l}});var i=n(5705),r=n(7566),o=n(2537);const a="registerExtension",s="reregisterExtension";function l(e){r.B.once(a,(()=>{var t,n;window[i.wy].push({extension:e,extensionName:null===(n=(t=e).getName)||void 0===n?void 0:n.call(t)})}))}function c(e){r.B.emit(s,e)}function d(e,t){r.B.once(s,(n=>{n.indexOf(e)>-1&&(0,o.VK)(new t)}))}},236:function(e,t,n){"use strict";n.d(t,{k:function(){return C},l:function(){return x}});var i=n(8723),r=n(3291),o=n(3388),a=n(9102),s=n(8e3),l=n(7566),c=n(5219),d=n(2355),u=n(9610),p=n(5694),m=n(0),h=n(5461),f=n(6166),b=n(5125),g=n(2537),v=n(2120),_=n(8844),y=n(3001);let w={};function x(e){w=Object.assign(Object.assign({},w),e)}function C(){return{bdetect:w.bdetect||h.KP,recoLoadNext:w.recoLoadNext||r.S,log:w.log||{debug:c.MD,info:c.fH,warn:c.JE,error:c.vV},extEvent:w.extEvent||p.k,callExtensionAction:w.callExtensionAction||b.C8,eventBus:w.eventBus||l.B,srg:w.srg||{read:m.yN,write:m.gC,writeNonPrivate:m.U1,remove:m.UI},isbm:w.isbm||o.Nw,TABOOLA_STORE:w.TABOOLA_STORE||{access:a.MC,update:a.fg,getGlobalBool:s.BC,getGlobalItem:s.w$,getModeClientProperty:s.Ol},PERFORMANCE:w.PERFORMANCE||{sendReport:i.RI,startMeasurement:d.Jy,getAllEntries:d.aH,isEnabled:u.gF},"pubs-generic":w["pubs-generic"]||i.w4,"get-engine-version":w["get-engine-version"]||f.r,"unregister-extension":w["unregister-extension"]||g.SO,createHtmlElement:w.createHtmlElement||v.W,sendABTestEvent:w.sendABTestEvent||i.vw,trackElementVisibility:w.trackElementVisibility||_.qm,queryHTMLElement:w.queryHTMLElement||y.uv,queryAllHTMLElements:w.queryAllHTMLElements||y.iP}}},4331:function(e,t,n){"use strict";n.d(t,{Dq:function(){return b},H2:function(){return p},RK:function(){return g},WN:function(){return y},nF:function(){return v}});var i=n(5125),r=n(8e3),o=n(5219),a=n(5787),s=n(6803),l=n(4515),c=n(5461),d=n(3346);const u=32768;function p(e,t={}){return new l.g(((n,i)=>{const r=new XMLHttpRequest;r.open(t.method||"POST",e,!0),"_"!==t.contentType&&r.setRequestHeader("Content-Type",t.contentType||"text/plain"),r.withCredentials=!t.withoutCredentials,r.addEventListener("readystatechange",(()=>{4===r.readyState&&(r.status>=200&&r.status<300?n(r.responseText):i({reason:"statusCode",data:r.status}))})),r.addEventListener("error",(()=>{i({reason:"networkFailed"})})),r.addEventListener("timeout",(()=>{i({reason:"networkTimeout"})})),r.send(t.body||"")}))}let m,h;function f(){return null!=m||(m=(0,r.w$)("network-attempts-load")),m}function b(e,t={},n=f()){return new l.g(((i,s)=>{n--,p(e,t).then((e=>{const t=f();!(n===t-1)&&(null!=h||(h=(0,r.BC)("report-non-first-attempt-load")),h)&&(0,o.JE)("Succeed ajax network retry: "+(t-n)),i(e)})).catch((r=>{if(0===n)return(0,o.JE)("Failed last ajax network retry"),void s(r);(0,a.r)().then((()=>{i(b(e,t,n))}))}))}))}function g(e,t={}){const n=(0,r.BC)("send-event-as-post"),o=e.type;return o&&"click"!==o&&(0,i.C8)("e28",e),n?y(e,"application/x-www-form-urlencoded",t):v(e)}function v(e){return p(`${e.url}${e.body?(0,d.dv)(e.url)+e.body:""}`,{method:"GET",contentType:"_"})}function _(e,t){return t?(0,s.D)(e):new l.g((()=>e()))}function y(e,t="text/plain",n={sendByBeacon:!0,useFader:!0,isCritical:!1}){var i,a,s;if(!(0,r.BC)("send-event-as-post"))return l.g.reject("Can't report post");let d=l.g.resolve(!1);const m=null===(i=n.useFader)||void 0===i||i,h=null===(a=n.sendByBeacon)||void 0===a||a,f=null!==(s=n.isCritical)&&void 0!==s&&s;return null===w&&(w=(0,r.BC)("send-event-as-post")&&(0,r.BC)("send-event-by-beacon")&&(0,c.KP)("send-beacon")),w&&h&&(d=_((()=>{try{let n=e.body||"";if("_"!==t){if(f&&n.length>u)return!1;n=new Blob([e.body||""],{type:t})}return navigator.sendBeacon(e.url,n),!0}catch(e){w=!1,(0,o.JE)("sendBeacon is not supported using custom ContentType.")}return!1}),m)),d.then((n=>n?"":_((()=>p(e.url,{body:e.body,contentType:t})),m).then((e=>e))))}let w=null},5822:function(e,t,n){"use strict";n.d(t,{H:function(){return f}});var i=n(9102),r=n(8e3),o=n(4846),a=n(6620),s=n(4515),l=n(4331),c=n(5358),d=n(9642),u=n(5125);const p={};let m=null,h=null;function f(e,t,n){(0,u.C8)("e28",t);const f=t.publisherName;(0,o.n5)(f);const g=b(e);g[f]||(g[f]={sd:i.MC.userData.sessionData,ui:i.MC.userData.userId,events:[]}),p[e][f]=g[f],g[f].events.push({type:t.type,timestamp:(0,a.Ln)(),data:t.body,publisherName:t.publisherName});const v=null!=n?n:(0,r.w$)("bulk-events-delay");return window.setTimeout((()=>{!function(e){(0,o.n5)(h,"resolveReport is empty"),(0,o.n5)(p,"bulkContent is empty");const t=b(e);(0,d.IF)(t,((t,n)=>{(0,o.n5)(n,"bulkContent is empty");const i=(0,c._B)(e,n,t),r=n.events.length;i&&0!==r&&(0,l.WN)(i,"application/x-www-form-urlencoded",{isCritical:!0})})),p[e]={},h("")}(e)}),v),m||(m=new s.g((e=>{h=e}))),m}function b(e){return p[e]||(p[e]={}),p[e]}},5358:function(e,t,n){"use strict";n.d(t,{px:function(){return X},lj:function(){return z},_B:function(){return V},DT:function(){return F},LS:function(){return G},yl:function(){return ie},Qo:function(){return ne},ul:function(){return U},rn:function(){return Y},DN:function(){return H},_:function(){return Z},Y:function(){return le},Xv:function(){return ee},Ft:function(){return W},Rv:function(){return Q},QM:function(){return oe},nm:function(){return se},hk:function(){return ae},LA:function(){return J},x5:function(){return te},$L:function(){return K},Go:function(){return q},iP:function(){return j}});var i=n(8508),r=n(5125),o=(n(9053),n(9102)),a=n(8e3),s=n(4846),l=n(6620),c=n(5219),d=n(4800),u=n(3320),p=n(3983),m=n(6166),h=n(1321),f=n(7840),b=n(696),g=n(2827),v=n(2381),_=n(3346);const y=["tvi2","tvi6","tvi48","tvi50","tvi56","tvi61","tvi62"];var w=n(7259),x=n(5423),C=n(5637),E=n(3001);const k={available:{url:["route","lti",...y,"cv"],body:["ri","sd","ui","pi","wi","pt","vi","li","lt","ppb","cpb","tim","id","llvl","cv","fil","utm"]},"required-viewability-available":{url:["route","lti",...y,"cv"],body:["ri","sd","ui","pi","wi","pt","vi","li","lt","rvpm","ppb","cpb","tim","id","llvl","cv","fil","utm"]},metrics:{url:["route","lti"],body:["ri","sd","ui","pi","wi","pt","vi","dimensions","tim","id","llvl","cv"]},"supply-feature":{url:["lti","ri","sd","ui","pi","wi","pt","vi","tim","id","llvl","cv"]},bulk:{url:["route","lti",...y,"cv"]},"bulk-metrics":{url:["route","lti",...y,"cv"]},visible:{url:["route","lti",...y,"cv"],body:["ri","sd","ui","pi","wi","pt","vi","li","lt","il","ilt","sil","silt","siltp","navil","navilt","naviltp","ntil","ntilt","niltp","tp","spatialData","ppb","cpb","tim","fil","vl","fve","id","llvl","cv","bad","sw","sh","bw","bh","dw","dh","sde","cd","mw"]},explore:{url:[...y,"tim","cv","cv","llvl","li","lti","pi","pt","id","ri","sd","tvi50","tvi61","tvi62","route","ui","vi","wi"]},click:{url:["pi","ri","sd","ui","ii","it","pt","li","sig","st","rap","etp","vi","p","lti","r",...y,"ppb","cpb","cv","prt","route","pc"]},abtests:{url:["route","lti",...y,"ri","sd","ui","pi","wi","pt","vi","tim","id","llvl","cv"]},exclude:{url:["route","li","lti","lt","ii","p","prt","tvi48","tvi50","ri","sd","ui","pi","wi","pt","vi","tim","id","llvl","cv"]},excludeundo:{url:["route","li","lti","lt","ii","p","prt","tvi48","tvi50","ri","sd","ui","pi","wi","pt","vi","tim","id","llvl","cv"]},excludeexplain:{url:["route","li","lti","lt","ii","p","prt","tvi48","tvi50","ri","sd","ui","pi","wi","pt","vi","tim","id","llvl","cv"]},"external-revenue":{url:["route","lti","ri","sd","ui","pi","wi","pt","vi","tim","id","llvl","cv"]},debug:{url:["lt",...y,"tim","id","cv","llvl"]},social:{url:["lti","ri","sd","ui","pi","wi","pt","vi"]},perf:{url:[...y,"route","lti"],body:["id","ri","sd","ui","pi","wi","pt","vi","cv","lt","tim","llvl"]},json:{url:[]},"pubs-generic":{url:["route","lti","ri","sd","ui","pi","wi","pt","vi","tim","id","llvl","cv"]},"swap-data":{url:["route","lti","ri","sd","ui","pi","wi","pt","vi","tim","id","llvl","cv"]},"event-tracker":{url:["ri","sd","ui","pi","wi","pt","vi","tim","id","llvl","cv","route","lti",...y],body:["ri"]},"card-available":{url:["lti","ri","sd","ui","pi","wi","pt","vi","tim","id","llvl","cv"]},"card-visible":{url:["route","lti","ri","sd","ui","pi","wi","pt","vi","tim","id","llvl","cv"]},"card-interaction":{url:["route","lti","ri","sd","ui","pi","wi","pt","vi","tim","id","llvl","cv"]},"pa-post-auction":{url:["route","ri","sd","ui","pi","pt","vi","tim","id"]},"protected-audience":{url:["route","lti","ri","sd","ui","pi","pt","vi","tim","id"]}},T=["fil","spatialData"];let R=null;function I(e){var t,n,r;null===R&&(R=(0,a.BC)("send-event-as-post"));const{field:l,itemData:c,placement:u,eventType:_}=e;if(!R&&T.indexOf(l)>-1)return;const y=o.MC.config.publisher,k=o.MC.userData,I=o.MC.optionsSummary,S=o.MC.responseSummary.testAndExperiment;switch(l){case"debugName":return u.uip;case"pi":return(0,b.h)(o.MC.pageItemId,y["prenormalize-item-id"]);case"ri":return u.ri||(null===(t=o.MC.responseSummary.events)||void 0===t?void 0:t.requestId);case"sd":return k.sessionData;case"ui":return k.userId;case"ii":return c.taboolaId;case"route":return k.dataCenterRoute;case"it":return c.sourceType;case"pt":return(0,h.T)(I.itemSourceType);case"li":{const e=(0,i.A)(u);return(0,f.$)(I.itemSourceType,e)}case"sig":return c.signature;case"st":return c.signatureType;case"rap":return c.redirAdditionalParams;case"etp":return c.encapsulatedParams;case"vi":return o.MC.viewId;case"p":return c.advertiser;case"lti":case"lt":return y.systemFlags.loaderType;case"r":return 1e3*Math.random()|0;case"tvi2":case"tvi6":case"tvi48":case"tvi50":case"tvi56":case"tvi61":case"tvi62":return(null===(n=S.testVariantsMap)||void 0===n?void 0:n[l])||void 0;case"ppb":return u.ppb;case"cpb":return u.commonPiggyBack;case"prt":return function(e){return e.isNetwork?"nt":e.isNative?"nav":void 0}(c);case"wi":return u.wi||k.wi;case"il":return D(u).il;case"ilt":return D(u).ilt;case"sil":return D(u).sil;case"silt":return D(u).silt;case"siltp":return D(u).siltp;case"navil":return D(u).navil;case"navilt":return D(u).navilt;case"naviltp":return D(u).naviltp;case"ntil":return D(u).ntil;case"ntilt":return D(u).ntilt;case"niltp":return D(u).niltp;case"tp":return(0,a.Ol)(u.m,"thumbnail-position");case"spatialData":return function(e){const t=(0,p.jf)(),n=(0,p.xT)();return e.items.filter((e=>{var t;return null===(t=e.getItemData())||void 0===t?void 0:t.wasVisible})).map((e=>{const i=e.getItemData(),r=o.MC.getEntityCustomData(i);if((0,s.n5)(r,"itemCustomData is null"),!r.element.parentElement)return function(e){return{id:e.taboolaId,sgd:{w:"-1",h:"-1",x:"-1",y:"-1"},ssd:{fsi:"",fst:"",fn:"",cbg:"",dbg:N},tgd:{w:"-1",h:"-1"}}}(i);const a=r.element.getBoundingClientRect(),l=(0,E.nB)(r.element,".thumbBlock"),c=null==l?void 0:l.getBoundingClientRect(),d=window.getComputedStyle(r.element);return N||(N=window.getComputedStyle(document.body).getPropertyValue("background-color")),{id:i.taboolaId,sgd:{w:a.width.toFixed(2),h:a.height.toFixed(2),x:(a.x+t).toFixed(2),y:(a.y+n).toFixed(2)},ssd:{fsi:d.getPropertyValue("font-size"),fst:d.getPropertyValue("font-style"),fn:d.getPropertyValue("font-family"),cbg:d.getPropertyValue("background-color"),dbg:N},tgd:{w:((null==c?void 0:c.width)||-1).toFixed(0),h:((null==c?void 0:c.height)||-1).toFixed(0)}}}))}(u);case"tim":return(0,v.MZ)();case"id":return(0,p.MZ)();case"llvl":return(0,w.wE)().llvl;case"cv":return(0,m.r)();case"fil":return function(e,t,n){return t===B?function(e,t){return(0,x.ik)(e.items).map((e=>P(e.getItemData(),t)))}(e,n):function(e,t){return[P(e,t)]}(t,n)}(u,c,_);case"vl":return o.MC.responseSummary.isItemLevelVisible?"i":"p";case"rvpm":return null===(r=c.rvAvailableEvent)||void 0===r?void 0:r.pixelMargin;case"fve":return function(e){return 1===e.eventSent.visible}(u);case"bad":return-1;case"sw":return(0,C.I7)("a8");case"sh":return(0,C.I7)("a9");case"bw":return(0,C.I7)("a10");case"bh":return(0,C.I7)("a11");case"dw":return(0,g.B5)();case"dh":return(0,g.eD)();case"sde":return(0,g.Xr)();case"cd":return function(e){var t;const n=null===(t=o.MC.getEntityCustomData(e))||void 0===t?void 0:t.element;return(0,s.n5)(n,"Placement element missing in Store"),n.getBoundingClientRect().top+(0,p.xT)()}(u);case"mw":return function(e){var t;const n=null===(t=o.MC.getEntityCustomData(e))||void 0===t?void 0:t.element;return(0,s.n5)(n,"Placement element missing in Store"),n.getBoundingClientRect().width}(u);case"utm":case"mgo":case"df":case"supply-feature":case"data":return;case"dimensions":return function(){let e="normal";d.Pp.taboolaMobile&&(e="SDK"),o.MC.config.runtime.isAMP&&(e="AMP");const t={publisher:o.MC.config.publisher.publisherName,"integration-type":e};return(0,p.z_)(t)}();case"pc":return c.productClick}throw new Error(`Field '${l}' was not handled`)}let S,O="";function D(e){if(O===e.uip)return S;const t=(0,x.ik)(e.items).map((e=>e.getItemData())),n=t.filter((e=>e.isOrganic)),i=t.filter((e=>e.isSponsored)),r=t.filter((e=>e.isNative)),o=t.filter((e=>e.isNetwork));return O=e.uip,S={il:n.map((e=>e.taboolaId)).join(","),ilt:n.map((e=>(0,h.H)(e.sourceType))).join(","),sil:i.map((e=>e.taboolaId)).join(","),silt:i.map((e=>(0,h.H)(e.sourceType))).join(","),siltp:i.map((e=>e.advertiser)).join(","),navil:r.map((e=>e.taboolaId)).join(","),navilt:r.map((e=>(0,h.H)(e.sourceType))).join(","),naviltp:r.map((e=>e.advertiser)).join(","),ntil:o.map((e=>e.taboolaId)).join(","),ntilt:o.map((e=>(0,h.H)(e.sourceType))).join(","),niltp:o.map((e=>e.advertiser)).join(",")},S}function M(e){return e.isNetwork?"NT":e.isNative?"NAV":e.isSponsored?"SP":"RC"}function P(e,t){return{tii:e.taboolaId,tipt:M(e),tit:(0,h.H)(e.sourceType),tids:L(e,t)}}function L(e,t){switch(t){case"available":case"required-viewability-available":return"a";case"visible":return function(e){if(!e.wasVisible)return"nvp";const t=o.MC.responseSummary.isItemLevelVisible&&!e.isVisibleReported?"newvp":"vp";return e.setAsVisibleReported(),t}(e)}throw new Error("Not supported event type")}let N="";const B={},A={};function $(e,t,n){var i;const r=n||t.placement;(0,s.n5)(r,"placement must have a value");let o={};const a={itemData:t,placement:r,eventType:e};let l;return k[e].url.forEach((e=>{o[e]=I(Object.assign(Object.assign({},a),{field:e}))})),o=Object.assign(Object.assign({},o),(0,w.TQ)()),k[e].body&&(l={},null===(i=k[e].body)||void 0===i||i.forEach((e=>{l[e]=I(Object.assign(Object.assign({},a),{field:e}))}))),{url:o,body:l||void 0,publisherName:r.pubn}}function U(e){const t=$("explore",B,e),n=(0,r.aG)("explore",t);return n?(0,_.ko)("explore",n):((0,c.vV)("Explore event was canceled"),"")}function F(e){const t=$("click",e),n=e.isSyndicated?"redir":"url";t.url[n]=j(e);const i=(0,r.aG)("click",t,{itemData:e});return i?(0,_.ko)("click",i):((0,c.vV)("Click event was canceled"),"")}function j(e){if(e.isOrganic){const t=function(e){const t=e.placementModeGroup.getModeClientProperty("organic-tracking-params");if(t)return t;const n=o.MC.optionsSummary.tracking;return n||void 0}(e);if(t){const n=(0,u.n3)(e.clickUrl,t);return decodeURI(n)}}const t=(0,a.BC)("enable-trim-href-query-params"),n=(0,a.BC)("enable-remove-href");return t&&e.trimHrefQs?(0,u.RZ)(e.clickUrl):n&&e.removeHref?"https://":e.clickUrl}function z(e){const t=$("available",B,e),n=(0,r.aG)("available",t,{placement:e});return n?{type:"available",url:(0,_.ko)("available",n),body:n.body?(0,v.lZ)(n.body):void 0,publisherName:e.pubn,rawUrl:n.url,rawBody:n.body}:null}function W(e){const t=$("required-viewability-available",e),n=(0,r.aG)("required-viewability-available",t);return n?{type:"required-viewability-available",url:(0,_.ko)("required-viewability-available",n),body:n.body&&(0,v.lZ)(n.body),rawUrl:n.url,rawBody:n.body}:null}function V(e,t,n){var i;const o=$(e,B,A);o.publisherName=n;const a=t.events;a.length>0&&(o.url.bulkSize=a.length.toString(),o.body=t);const s=(0,r.aG)(e,o);return s?((null===(i=s.body)||void 0===i?void 0:i.events)&&(s.body=Object.assign(Object.assign({},s.body),{events:(0,p.z_)(s.body.events)})),{type:e,url:(0,_.ko)(e,s),body:s.body?(0,v.lZ)(s.body):void 0,rawUrl:s.url,rawBody:s.body}):null}function q(e){const t=$("visible",B,e),n=(0,r.aG)("visible",t,{placement:e});return n?{type:"visible",url:(0,_.ko)("visible",n),body:n.body?(0,v.lZ)(n.body):void 0,rawUrl:n.url,rawBody:n.body}:null}function H(e){const t=$("metrics",B,A);t.body&&(t.body.metricName=e.metricName,t.body.type=e.type,t.body.value=e.value);const n=(0,r.aG)("metrics",t);return n?{type:"metrics",url:(0,_.ko)("metrics",n),body:n.body?(0,v.lZ)(n.body):void 0,publisherName:o.MC.config.publisher.publisherName,rawUrl:n.url,rawBody:n.body}:null}function G(e,...t){if(!o.MC){const[n]=t;return(0,s.cc)("error"===e),function(e){const t={url:Object.assign({type:"error",msg:e.message,lt:"trecs",tim:(0,v.MZ)(),id:(0,p.MZ)(),cv:(0,m.r)(),llvl:w.nO,fatal:!0},e.extraData)};return{type:"debug",url:(0,_.ko)("debug",t),isFatal:!0,rawUrl:t.url}}(n)}const n=$("debug",B,A),[i,a]=t;if("error"===e)return function(e,t){const n={url:Object.assign(Object.assign({type:"error",msg:e.message},t.url),e.extraData)},i=(0,r.aG)("debug",n);return i?{type:"debug",url:(0,_.ko)("debug",i),rawUrl:i.url,rawBody:i.body}:null}(i,n);const l=(0,r.aG)("debug",Object.assign(Object.assign({},n),{url:Object.assign(Object.assign({type:e,msg:i},n.url),a)}));return l?{type:"debug",url:(0,_.ko)("debug",l),rawUrl:l.url,rawBody:l.body}:null}function K(e,t){const n=$(e,B,A);let i=(0,r.aG)(e,n);return i?(i=Object.assign(Object.assign({},i),{url:Object.assign(Object.assign({},i.url),t)}),{type:e,url:(0,_.ko)(e,i),rawUrl:i.url,rawBody:i.body}):null}function X(e,t){const n=$("abtests",B,A);let i=(0,r.aG)("abtests",n);return i?(i=Object.assign(Object.assign({},i),{url:Object.assign(Object.assign({},i.url),{d:{abTestsEventType:"simple",name:e,type:t,eventTime:(0,l.Ln)()}})}),{type:"abtests",url:(0,_.ko)("abtests",i),rawUrl:i.url,rawBody:i.body}):null}function Y(e,t){const n=$("external-revenue",B,A);let i=(0,r.aG)("external-revenue",n);return i?(i=Object.assign(Object.assign({},i),{url:Object.assign(Object.assign({},i.url),{d:{name:e,payload:t,eventTime:(0,l.Ln)()}})}),{type:"external-revenue",url:(0,_.ko)("external-revenue",i),rawUrl:i.url,rawBody:i.body}):null}function J(e){const t=$("supply-feature",B,A);let n=(0,r.aG)("supply-feature",t);return n?(n=Object.assign(Object.assign({},n),{url:Object.assign(Object.assign({},n.url),{d:Object.assign({},e)})}),{type:"supply-feature",url:(0,_.ko)("supply-feature",n),rawUrl:n.url,rawBody:n.body}):null}function Z(e){const t=$("perf",B,A),n=(0,r.aG)("perf",{url:t.url,body:Object.assign(Object.assign({},t.body),{data:{measurements:JSON.stringify(e.measurements),dict:JSON.stringify(e.dict)}})});return n?{type:"perf",url:(0,_.ko)("perf",n),body:n.body?(0,v.lZ)(n.body):void 0,rawUrl:n.url,rawBody:n.body}:null}function Q(e){const t=$("social",B,A);let n=(0,r.aG)("social",t);return n?(n=Object.assign(Object.assign({},n),{url:Object.assign(Object.assign({},n.url),{st:e.name,d:{data:e.data}})}),{type:"social",url:(0,_.ko)("social",n),rawUrl:n.url,rawBody:n.body}):null}function ee(e,t){const n=$("pubs-generic",B,t||A);let i=(0,r.aG)("pubs-generic",n);if(!i)return null;const o=JSON.stringify(e.data||""),a=JSON.stringify(Object.assign(Object.assign({},e),{data:o}));return i=Object.assign(Object.assign({},i),{url:Object.assign(Object.assign({},i.url),{d:a})}),{type:"pubs-generic",url:(0,_.ko)("pubs-generic",i),rawUrl:i.url,rawBody:i.body}}function te(e,t){const n=$("swap-data",B,t);let i=(0,r.aG)("swap-data",n);if(!i)return null;const o=JSON.stringify(e.data||""),a=JSON.stringify(Object.assign(Object.assign({},e),{data:o}));return i=Object.assign(Object.assign({},i),{url:Object.assign(Object.assign({},i.url),{d:a})}),{type:"swap-data",url:(0,_.ko)("swap-data",i),rawUrl:i.url,rawBody:i.body}}function ne(e,t){let n=re(t);if(!n)return null;const i=JSON.stringify(e||"");return n=Object.assign(Object.assign({},n),{url:Object.assign(Object.assign({},n.url),{d:i})}),{type:"event-tracker",url:(0,_.ko)("event-tracker",n),rawUrl:n.url,rawBody:n.body}}function ie(e,t){let n=re(t);if(!n)return null;const i=JSON.stringify(e||"");return n=Object.assign(Object.assign({},n),{body:Object.assign(Object.assign({},n.body),{d:i})}),{type:"event-tracker",url:(0,_.ko)("event-tracker",n),body:n.body?(0,v.lZ)(n.body):void 0,rawUrl:n.url,rawBody:n.body,publisherName:o.MC.config.publisher.publisherName}}function re(e){const t=$("event-tracker",B,e||A),n=(0,r.aG)("event-tracker",t);return n?Object.assign(Object.assign({},n),{url:Object.assign({},n.url),rawUrl:n.url,rawBody:n.body}):null}function oe(){const e=$("card-available",B,A),t=(0,r.aG)("card-available",e);return t?{type:"card-available",url:(0,_.ko)("card-available",t),rawUrl:t.url,rawBody:t.body}:null}function ae(){const e=$("card-visible",B,A),t=(0,r.aG)("card-visible",e);return t?{type:"card-visible",url:(0,_.ko)("card-visible",t),rawUrl:t.url,rawBody:t.body}:null}function se(e){const t=$("card-interaction",B,A);let n=(0,r.aG)("card-interaction",t);return n?(n=Object.assign(Object.assign({},n),{url:Object.assign(Object.assign({},n.url),{d:e})}),{type:"card-interaction",url:(0,_.ko)("card-interaction",n),rawUrl:n.url,rawBody:n.body}):null}function le(e,t){let n=function(e){const t=$("protected-audience",{},e||{}),n=(0,r.aG)("protected-audience",t);return n?Object.assign(Object.assign({},n),{url:Object.assign({},n.url),rawUrl:n.url,rawBody:n.body}):null}(t);if(!n)return null;const i=JSON.stringify(e||"");return n=Object.assign(Object.assign({},n),{body:Object.assign(Object.assign({},n.body),{d:i})}),{type:"protected-audience",url:(0,_.ko)("protected-audience",n),body:n.body?(0,v.lZ)(n.body):void 0,rawUrl:n.url,rawBody:n.body,publisherName:o.MC.config.publisher.publisherName}}},8723:function(e,t,n){"use strict";n.d(t,{By:function(){return w},DU:function(){return T},EN:function(){return k},RI:function(){return x},YX:function(){return v},gn:function(){return b},mD:function(){return _},mk:function(){return y},uF:function(){return E},vw:function(){return g},w4:function(){return C}});var i=n(9102),r=n(8e3),o=n(4846),a=n(3312),s=n(7566),l=n(4515),c=n(4331),d=n(5358),u=n(2941),p=n(5822);let m=!1,h={debug:[],abtests:[],"external-revenue":[],"supply-feature":[],perf:[],"pubs-generic":[],exclude:[],excludeexplain:[],excludeundo:[],"event-tracker":[],"protected-audience":[]};function f(){h&&(h.debug.forEach((e=>{const[t,n]=e;b(t,...n)})),h.abtests.forEach((e=>{g.apply(null,e)})),h["external-revenue"].forEach((e=>{_.apply(null,e)})),h["supply-feature"].forEach((e=>{y.apply(null,e)})),h.perf.forEach((e=>{x.apply(null,e)})),h["pubs-generic"].forEach((e=>{C.apply(null,e)})),h.exclude.forEach((e=>{v.apply(null,e)})),h.excludeexplain.forEach((e=>{v.apply(null,e)})),h.excludeundo.forEach((e=>{v.apply(null,e)})),h["event-tracker"].forEach((e=>{T.apply(null,e)})),h["protected-audience"].forEach((e=>{R.apply(null,e)})),h=null)}function b(e,...t){if(h&&"error"!==e&&!m)return h.debug.push([e,t]),l.g.resolve("");const n=(0,d.LS)(e,...t);return n?n.isFatal?(0,c.nF)(n):(0,c.RK)(n):l.g.resolve("")}function g(e,t,n=!1){var s;if(!n&&!(null===(s=a.r.__e2e__)||void 0===s?void 0:s.enableAbTests)&&!(0,r.BC)("enable-abtest-event"))return;if(h&&!m)return h.abtests.push([e,t,n]),l.g.resolve("");(0,o.cc)(!!i.MC);const u=(0,d.px)(e,t);return u?(0,c.RK)(u):l.g.resolve("")}function v(e,t){if(h&&!m)return h[e].push([e,t]),l.g.resolve("");(0,o.cc)(!!i.MC);const n=(0,d.$L)(e,t);return n?(0,c.RK)(n):l.g.resolve("")}function _(e,t){if(h&&!m)return h["external-revenue"].push([e,t]),l.g.resolve("");(0,o.cc)(!!i.MC);const n=(0,d.rn)(e,t);return n?(0,c.RK)(n):l.g.resolve("")}function y(e,t){if(!w("supply-feature-events-percent"))return;if(h&&!m)return h["supply-feature"].push([e]),l.g.resolve("");(0,o.cc)(!!i.MC);const n=(0,d.LA)(e);return n?(0,c.RK)(n,t):l.g.resolve("")}const w=(()=>{const e={};return t=>{if(!(0,u.tv)(e[t]))return e[t];const n=(0,r.w$)(t);return(0,u.qS)(n)||(e[t]=!1),e[t]=Math.random()<=n,e[t]}})();function x(e,t){if(h&&!m)return h.perf.push([e,t]),l.g.resolve("");const n=(0,d._)(e);return n?(0,c.RK)(n,t):l.g.resolve("")}function C(e,t){if(h&&!m)return h["pubs-generic"].push([e,t]),l.g.resolve("");(0,o.cc)(!!i.MC);const n=(0,d.Xv)(e,t);return n?(0,c.RK)(n):l.g.resolve("")}function E(e,t){(0,r.BC)("rbox-usage-logging")&&b("usage",e,t)}function k(e,t){(0,o.cc)(!!i.MC);const n=(0,d.x5)(e,t);return n?(0,c.RK)(n):l.g.resolve("")}function T(e,t=!1){if(h&&!m)return h["event-tracker"].push([e]),l.g.resolve("");if((0,o.cc)(!!i.MC),t){const t=(0,d.yl)(e);return t?(0,p.H)("bulk",t):l.g.resolve("")}const n=(0,d.Qo)(e);return n?(0,c.RK)(n):l.g.resolve("")}function R(e,t){if(h&&!m)return h["protected-audience"].push([e,t]),l.g.resolve("");(0,o.cc)(!!i.MC);const n=(0,d.Y)(e);return n?(0,p.H)("bulk",n):l.g.resolve("")}s.B.once("storeReady",(()=>{i.MC.onResponseSummaryUpdateOnce((()=>{m=!0,f()}))}))},377:function(e,t,n){"use strict";n.d(t,{O:function(){return p}});var i=n(9102),r=n(8e3),o=n(7566),a=n(6803),s=n(4515),l=n(4331),c=n(5822),d=n(5358),u=n(8723);function p(e,t){if((0,u.By)("rbox-metrics-enabled"))return(0,a.D)((()=>{const n={metricName:e,value:h(e,t||1),type:"counter"},i=(0,d.DN)(n);if(!i)return s.g.resolve("");if(function(){if(null===f){const e="disable"!==(0,r.w$)("bulk-metrics-events-strategy"),t=(0,r.BC)("send-event-as-post");f=e&&t}return f}()){const e=(0,r.w$)("bulk-metrics-events-delay");return(0,c.H)("bulk-metrics",i,e)}return(0,l.RK)(i)})).then((e=>e))}const m={};function h(e,t){let n=m[e]||0;return n+=t,m[e]=n,n}let f=null;function b(){p("LoadRequestSent")}o.B.once("storeReady",(function(){i.MC.onResponseSummaryUpdate(b)}))},7259:function(e,t,n){"use strict";n.d(t,{TQ:function(){return c},nO:function(){return s},wE:function(){return l}});var i=n(4800),r=n(9102),o=n(9642);let a;const s=2;function l(){if(a)return a;let e=i.Pp.trc_debug_level||s;const t=r.MC.config.runtime.trcForce,n=r.MC.config.runtime.debugQueryParams||{},l=n["taboola-debug"];l&&(e=parseInt(l)||e);const d={};return(0,o.IF)(n,((e,t)=>{0===e.indexOf("trc_")&&(d[e]=t)})),a=Object.assign(Object.assign(Object.assign({llvl:e>1?e:void 0},t),d),c()),a}function c(){const e=r.MC.config.publisher.systemFlags.eventExternal||{},t={};return(0,o.IF)(e,((e,n)=>{t[`ex_${e}`]=n})),t}},5423:function(e,t,n){"use strict";n.d(t,{Sm:function(){return s},ik:function(){return o},wj:function(){return a},xx:function(){return r}});var i=n(9102);function r(e){return o(e).map(((e,t)=>{const n=e.getItemData();return{slot:t,id:n.taboolaId,url:n.clickUrl,title:n.title,type:l(n)}}))}function o(e){return e.filter((e=>e.getItemData()))}function a(e,t,n){let i=0;const r=e.placement;r.items.some(((t,n)=>e._ID===t._ID&&(i=n,!0)));const o=r.m;return{slot:i,id:e.taboolaId,type:l(e),title:e.title,url:e.clickUrl,linkTarget:t,mode:o,placement:r._ID,baseMode:o,variant:n||null,itemCount:r.items.length,loggerUrl:e.getEventClick()}}function s(e){var t;return{variant:i.MC.responseSummary.testAndExperiment.testVariant||null,container:null===(t=i.MC.getEntityCustomData(e))||void 0===t?void 0:t.element,placement:e.uip,baseMode:e.m,mode:e.m,itemCount:e.items.length,items:r(e.items)}}function l(e){return e.isSyndicated?"sponsored":e.isNetwork?"exchange":e.isNative?"native":"organic"}},3291:function(e,t,n){"use strict";n.d(t,{S:function(){return g}});var i=n(9102),r=n(7566),o=n(5177),a=n(3707);const s="item";var l=n(8390),c=n(4846),d=n(4200),u=n(2360);let p=!1;function m(e){if(e.exploreMore&&!p){p=!0;const t=function(e){const{exploreMore:t}=e;(0,c.n5)(t);const n={modeName:Object.keys(i.MC.config.publisher.modes)[0]||"",instances:[Object.assign(Object.assign({},(0,u.l9)(t.options.container)),{isDeliveredToRBox:!0})],placementName:t._ID,targetType:"mix",byPublisher:!1};return(0,d.lT)([n],e),n}(e);t&&function(e){const t=(0,l.e0)();t.placements.push(Object.assign(Object.assign({},e),{instances:(0,u.Zl)(e.instances,0)})),i.fg.appendOptionsSummary(t)}(t)}}r.B.once("storeReady",(function(){i.MC.onResponseSummaryUpdate(m)}));const h=new class{constructor(){this._emitter=new o.b}set(e){this._item=e,this._emitter.emit(s,e)}remove(){this._item=(0,a.i)()}get(){return this._item}cleanUp(){this.remove(),this._emitter.removeAll(),this._emitter=(0,a.i)()}on(e){return this._emitter.on(s,e)}once(e){const t=this._emitter.once(s,e);return this._item&&(e(this._item),t()),t}};let f=!1;function b(e){e.response.then((()=>{f=!1,h.remove(),g()})),h.set(e.response)}function g(e=[]){if((0,d.D)(e),f)return h;const t=(0,d.ql)();return t?(f=!0,t.then(b)):f=!1,h}},8002:function(e,t,n){"use strict";n.d(t,{j:function(){return a},o:function(){return s}});var i=n(8e3),r=n(9102);function o(){return(0,i.BC)("rbox:serving-piggyback-enabled")}function a(e){if(o())return e.srpg}function s(){var e,t;if(!o())return;const n=null===(t=null===(e=r.MC.responseSummary)||void 0===e?void 0:e.piggybackData)||void 0===t?void 0:t.srpg;return n?{srpg:n}:void 0}},4200:function(e,t,n){"use strict";n.d(t,{lT:function(){return ee},D:function(){return oe},ql:function(){return ae},yn:function(){return re}});var i=n(8390),r=n(9102),o=n(7566),a=n(4515),s=n(8e3),l=n(0);function c(){const e=function(){if((0,s.BC)("send-id-providers-data"))return(0,s.w$)("rbox:rtb:real-time-user-sync:intent-iq:external-partners-ids")}();if(!e||0===e.length)return;const t=function(){const e=(0,l.yN)("localStorage","idproviders");if(!e)return;return JSON.parse(e).INTENT_IQ.c2c}();return t&&0!==t.length?function(e,t){const n={};if(e.forEach((e=>{const i=e.pid;t.indexOf(i)>-1&&(n[i]=e.uid)})),0!==Object.keys(n).length)return{INTENT_IQ:n}}(t,e):void 0}var d=n(5125),u=n(5219),p=n(9642),m=n(3983),h=n(9151),f=n(5031);function b(e,t){if(!(0,d.MQ)(t))return e;const n=(0,h.M)(e,{});let i=!1;if(n.hasFeeds&&(0,p.IF)(n.feeds,((e,n)=>{const r=n.batchList[n.batchList.length-1];r.placements=r.placements.filter((e=>{const n=(0,d.C8)(t,{placement:e});return i||(i=!1===n),n})),r.placements.forEach((e=>{const n=e.items.filter((e=>{const n=e.getItemData(),r=(0,d.C8)(t,{itemData:n});return i||(i=!1===r),r}));(0,f.pm)(e,n)})),0===r.placements.length&&(0,u.JE)(`Placement filter action "${t}" filtered all feed "${e}" batch`)})),n.hasWidgets){const e={};(0,p.IF)(n.widgets,((n,r)=>{(0,d.C8)(t,{widget:r})?e[n]=r:i=!0})),n.widgets=e,(0,m._i)(e)||(0,u.JE)(`Placement filter action "${t}" filtered widget`)}return i?n:e}var g=n(5461);const v={};function _(e,t,n){v[e]||((0,g.KP)("iframe")&&!t||n)&&(v[e]=!0)}function y(){if(_("stop_tslt",(0,s.BC)("enable-tslt-inside-iframe"),(0,m._i)(r.MC.responseSummary.translations)),_("ack_exm",(0,s.BC)("enable-exm-inside-iframe"),r.MC.responseSummary.hasExploreMore),_("ack_vig",(0,s.BC)("enable-vig-inside-iframe"),!!r.MC.responseSummary.vignette),r.MC.responseSummary.nextUp,(0,m._i)(v))return v}var w=n(4846),x=n(2941),C=n(9610);let E=!1;var k=n(6803),T=n(5637),R=n(4800),I=n(2108),S=n(3707),O=n(6166),D=n(7259),M=n(4331),P=n(3346),L=n(1321),N=n(7840),B=n(696),A=n(2827),$=n(2381),U=n(7692),F=n(6605),j=n(229),z=n(2360),W=n(8002),V=n(3536),q=n(2337),H=n(7842),G=n(5694);class K{constructor(e,t){this._allExecutions=[],this._nextPayload={},this._responseSummary={},this._isRunning=!1,this._lastFailedReason=null,this.handleLoadNextError=e=>{var t,n;const i=(0,d.C8)("e14",e);switch(e.reason){case"disallowedByExtension":return void(0,u.MD)("Extension disallowed TRC Request");case"stillRunning":return void(this._lastFailedReason=null)}if(!i)return r.fg.appendResponseSummary(F.bc),a.g.reject(e);null===(t=i.responseSummary)||void 0===t||t.then((e=>{r.fg.appendResponseSummary(e),this._responseSummary=(0,h.M)(this._responseSummary,e)})),null===(n=i.optionsSummary)||void 0===n||n.then((e=>{r.fg.appendOptionsSummary(e)}))},this._loadNext=async()=>{const e=this._optionsSummary,t=(t,n)=>{"stillRunning"!==t&&(this._isRunning=!1),this._lastFailedReason=t;const i={reason:t,optionsSummary:e,parsedTrcResponse:n};return a.g.reject(i)};if(this._isRunning)return t("stillRunning");this._isRunning=!0;const n=this.getEligiblePlacementsForRequest();if(0===n.length)return t("noUnusedPlacementFound");let i=await this.generateTrcCallPayload(n);const o=(0,d.C8)("e9",i);let l,c;if(o&&(i=o.payload,l=o.response,c=o.responsePromise),l&&(l=b(l,"e12"),l=(0,d.C8)("e13",l)||l,r.fg.appendResponseSummary(l),this._responseSummary=(0,h.M)(this._responseSummary,l),r.MC.config.runtime.isRboxBridge||(0,I.H)(this._responseSummary)),null==c||c.then((e=>{r.fg.appendResponseSummary(e),this._responseSummary=(0,h.M)(this._responseSummary,e)})),!i)return this._isRunning=!1,this.signOptionsSummaryPlacementsAsUsed(),a.g.resolve(l||{});0===i.data.r.length&&(0,u.vV)('Request with empty "r" field');const p=(0,d.aG)("json",{url:i});(0,w.n5)(p);const f=r.MC.config.publisher.publisherName;p.publisherName=f;const g=(0,P.ko)("json",p),v=function(e){if(!window.performance)return()=>new a.g(((e,t)=>{}));const t=(0,C.ms)();var n;!E&&(null===(n=window.performance)||void 0===n?void 0:n.setResourceTimingBufferSize)&&(E=!0,window.performance.setResourceTimingBufferSize(window.performance.getEntries().length+1e3));const i=`${e}_${1e5*Math.random()|0}`,r=`${i}_end`,o=`${i}_measure`;return t.mark(i),()=>new a.g((e=>{t.mark(r),t.measure(o,i,r);let n=0;window.requestAnimationFrame((function i(){const r=t.getEntriesByName(o),a=r.length>0?r[0].duration:-1;a>0?e(a):n>60?e(-1):(n+=1,window.requestAnimationFrame(i))}))}))}("TrcCall"),_=n.map((e=>e.placementName));return(0,G.k)("recRequest",_),this._lastExecution=(0,M.Dq)(g,{method:(0,s.BC)("send-event-as-post")?"POST":"GET"}).then((e=>this._responseSummary?(v().then((e=>{(0,u.MD)(`TRC call duration: ${e}`)})),this.handleLoadResponse({response:e,trcResponseData:void 0,publisherName:f,requestedPlacements:_})):(0,S.i)())).catch((e=>{this._isRunning=!1,(0,u.JE)(`Failed TRC JSON Error: ${(0,m.z_)(e)}`);const t=(0,F.do)();return t.hasContent=!1,"networkTimeout"===e.reason?t.noContentReason="TIMEOUT":t.noContentReason="ERROR",t})).then((e=>((0,G.k)("recResponse",_),(null==e?void 0:e.noContentReason)?t("noContent",e):(this._isRunning=!1,e)))),this.signOptionsSummaryPlacementsAsUsed(),this._allExecutions.push(this._lastExecution),this._lastExecution},this._optionsSummary=e||r.MC.optionsSummary,this._responseSummary=t||{}}optionSummaryPlacementsCount(){return this._optionsSummary.placements.length}removeOptionSummaryPlacement(e){const{placements:t}=this._optionsSummary;this._optionsSummary=Object.assign(Object.assign({},this._optionsSummary),{placements:t.filter((t=>t.placementName!==e))})}updateOptionSummaryPlacements(e){this._optionsSummary=Object.assign(Object.assign({},this._optionsSummary),{placements:e})}canLoadNext(){return!this._isRunning&&((0,w.cc)("stillRunning"!==this._lastFailedReason),this.getPlacementContainerExists()?!this._responseSummary.originalResponse&&!this._lastFailedReason||(!this._lastFailedReason||"noContent"===this._lastFailedReason)&&(this.hasInfiniteExploreMore()||this.hasInfiniteFeed()||this.hasUnusedDuplicatePlacement()):((0,u.JE)("RecommendationLoader - no container found for placement container, stopping request"),this._lastFailedReason="noContainerFound",(0,i.Yi)(this._optionsSummary,this._optionsSummary.placements),!1))}hasUnusedDuplicatePlacement(){const e=this._optionsSummary.placements,t=e[0];if((0,w.n5)(t,"Loader doesn't have any placements"),1!==e.length||!(0,z.fy)(t))return!1;const n=(0,s.n$)(t.placementName);return(0,w.n5)(n,"Loader has placement which not exist in options summary placements"),(0,z.Kl)(n)}hasInfiniteFeed(){const e=this._responseSummary;return!!e.hasFeeds&&(0,p.WP)(e.feeds).some((([,e])=>{if(e.hasFeedEnded)return!1;const t=e.fpl;return(0,z.Cv)(t,this._optionsSummary.placements)}))}hasInfiniteExploreMore(){var e;const t=null===(e=this._responseSummary.exploreMore)||void 0===e?void 0:e.feed;return!!t&&!t.hasFeedEnded&&!!(0,z.Cv)(t.fpl,this._optionsSummary.placements)}isPlacementOwner(e){return!(e.length>0&&0===this._optionsSummary.placements.filter((t=>e.some((e=>e.placementName===t.placementName)))).length)}stopContent(e=[]){if(!this._responseSummary)return;const t=this._optionsSummary.placements,n=e.filter((e=>t.some((t=>t.placementName===e)))),i=e.length>0;0===n.length&&i||(this._responseSummary=(0,h.N)(this._responseSummary,n))}loadNext(){return this.isAllowRequest().then((()=>(0,k.D)(this._loadNext))).then((e=>e)).catch(this.handleLoadNextError)}isAllowRequest(){return new a.g(((e,t)=>{const n=(0,d.C8)("e8");!1!==n?(0,x.tv)(n)||!0===n?e():n.then((n=>{n?e():t({reason:"disallowedByExtension"})})):t({reason:"disallowedByExtension"})}))}handleLoadResponse({response:e,trcResponseData:t,publisherName:n,requestedPlacements:i}){t=(0,x.mg)(e)?(0,U.N8)(e):(0,U.x2)(e);const o=(0,p.x7)(t);t.pubn=n,t=(0,d.C8)("e10",t)||t,t=(0,d.C8)("e11",t)||t;let a=this.createResponseSummary(o,i,t);a=b(a,"e12"),a=(0,d.C8)("e13",a)||a,a.hasFeeds&&this.fillNextPayload(a);const l=(0,s.BC)("use-fader-in-handle-load-response",!1);return(0,k.D)((()=>(r.fg.appendResponseSummary(a),this._responseSummary=(0,h.M)(this._responseSummary,a),r.MC.config.runtime.isRboxBridge||(0,I.H)(a),a)),{runImmediately:!l})}createResponseSummary(e,t,n){const i=(0,F.Ay)(n);return e?Object.assign(Object.assign({},i),{failedPlacements:(0,F.rl)(t)}):i}getEligiblePlacementsForRequest(){const e=this._optionsSummary,t=this._responseSummary;return e.placements.filter((e=>{if((0,z.Kl)(e))return!0;const{placementName:n}=e,i=t.feeds||{};if((0,p.WP)(i).some((([,e])=>e.fpl===n&&!e.hasFeedEnded)))return!0;const r=t.exploreMore;return(null==r?void 0:r.feed.fpl)===n&&!r.feed.hasFeedEnded}))}getPlacementContainerExists(){return this._optionsSummary.placements.some((e=>{if(e.containerIgnored)return!0;const t=(0,z.Kc)(e),n=(0,$.JY)(t,e.frameId);return!(0,x.Cm)(n)}))}signOptionsSummaryPlacementsAsUsed(){const e=this._optionsSummary;this._optionsSummary=(0,i.Yi)(e,e.placements),r.fg.signUnusedPlacementsAsUsed(e.placements)}async generateTrcCallPayload(e){var t,n,i,o,a,l,d;const u=r.MC.config,p=u.publisher,h=this._optionsSummary,f=(0,$.HP)(h),b=(0,L.T)(h.itemSourceType),v=(0,N._)(e,h.itemSourceType,this._responseSummary),_=(0,W.o)();return Object.assign(Object.assign(Object.assign({},this._nextPayload),(0,D.wE)()),{tim:(0,$.MZ)(),lti:p.systemFlags.loaderType,pubit:u.runtime.networkPublisher?"n":"i","user.opt_out":h.userOptOut?"true":void 0,t:1,data:Object.assign(Object.assign(Object.assign(Object.assign(Object.assign({},this._nextPayload.data||{}),(0,$.$5)(h.gdpr)),{id:(0,m.MZ)(),sd:r.MC.sessionData||"",ui:r.MC.userId||"",ii:f,it:b,vi:r.MC.viewId,tmpl:r.MC.optionsSummary.pageTemplate,cv:(0,O.r)(),cseg:r.MC.optionsSummary.customSegment,uiv:"default",u:(0,B.h)(u.runtime.pageUrl.href,p["prenormalize-item-url"]),qs:(0,$.GW)(u.runtime.pageUrl.search),bv:$.u9?"1":"0",btv:"0",ul:(0,A.SZ)(),ccpa_dns:(null===(t=h.ccpa)||void 0===t?void 0:t.CDNS)||void 0,ccpa_ps:(null===(n=h.ccpa)||void 0===n?void 0:n.privacyString)||void 0,cos:(null===(o=null===(i=R.Pp.navigator)||void 0===i?void 0:i.connection)||void 0===o?void 0:o.effectiveType)||void 0,con:(null===(l=null===(a=R.Pp.navigator)||void 0===a?void 0:a.connection)||void 0===l?void 0:l.type)||void 0,ad:h.additionalData,e:(0,$.GW)(u.runtime.referrerURL)||void 0,bu:(0,$.GW)((0,A.ty)()),vpi:(0,$.d3)(p["prenormalize-item-id"]),bad:-1,sw:(0,T.I7)("a8"),sh:(0,T.I7)("a9"),bw:(0,T.I7)("a10"),bh:(0,T.I7)("a11"),dw:(0,A.B5)(),dh:(0,A.eD)(),sde:(0,A.Xr)(),lt:p.systemFlags.loaderType,nsid:u.runtime.networkPublisher,did:h.deviceId||(null===(d=u.runtime.dcData)||void 0===d?void 0:d.deviceId)||void 0,unuid:h.unifiedId||void 0,pblob:h.pblob,att:h.att||void 0,r:v,exp:h.excludePubs||void 0,pp:(0,H.cX)(h.trackingCodes)||void 0,pev:(0,$.Jk)(h),rtui:h.realTimeUserId||void 0,plf:y(),uad:await(0,$.QP)(),cacheKey:(0,$.aF)({itemSourceType:b,itemId:f,placementsList:v}),advrtsrc:h.advertorialSource||void 0,extpvid:h.externalPageView||r.MC.optionsSummary.externalPageView||void 0,usrtyp:h.userType||void 0,prem:h.premium||void 0,top:await(0,q.MZ)()}),_),{cb:void 0,_cn:"tions_"+ ++K._callNumber,lbt:(0,s.w$)("bakeTime"),uifp:(0,j.nq)(r.MC.userId||void 0),wc:(0,g.KP)("web-components"),idpd:c(),bl:(0,s.w$)("blocker-list"),demo:h.userDemographicData||void 0,px:(0,V.$)()})})}fillNextPayload(e){if(!(0,p.x7)(this._nextPayload))return;const t=e.originalResponse[0];this._nextPayload=Object.assign(Object.assign({},(0,j.gJ)(t)),{route:t.route||void 0,data:{sd:t.sd,ui:t.ui,uifp:(0,j.nq)(t.ui)}})}getAllExecutions(){return this._allExecutions}cleanUp(){this._optionsSummary=(0,i.e0)(),this._responseSummary=(0,S.i)(),this._lastExecution=(0,S.i)()}}function X(e,t){const n=e.priority||0,i=t.priority||0;return n>i?-1:n{-1===Z.indexOf(e)&&Z.push(e)}))}function ne(e){const t=J.filter((t=>t.isPlacementOwner([e])))[0];if(t)return(0,z.fy)(e)?1===t.optionSummaryPlacementsCount()?(t.updateOptionSummaryPlacements([e]),t):(t.removeOptionSummaryPlacement(e.placementName),ee([e])):t}function ie(){Q=void 0,Z.splice(0,1)}function re(e=[]){J.forEach((t=>{t.stopContent(e)}))}function oe(e){e.length>0&&function(e){const t=function(e){return e.filter((e=>!(Z.filter((t=>t.isPlacementOwner([e]))).length>0)))}(e),n=[];t.forEach((e=>{const t=ne(e);t&&n.push(t)})),te(n)}(e)}function ae(){0===Z.length&&function(){if(0===Y.length)return;const e=Y.filter((e=>0===e.status))[0];e&&(te(function(e){const t=[],n=[];if(e.list.forEach((e=>{const i=ne(e);i?t.push(i):n.push(e)})),n.length>0){const e=ee(n);t.push(e)}return t}(e)),e.status=1)}();const e=Z[0];if(e&&e!==Q)return e.canLoadNext()?new a.g((t=>{Q=e,t({response:e.loadNext().then((e=>(ie(),(0,F.$C)(e)?void 0:e))).catch((e=>{ie()}))})})):(ie(),ae())}o.B.once("storeReady",(function(){r.MC.onOptionsSummaryUpdated((e=>{(0,i.Vs)(e)&&function(){const e=(0,i.Hs)(r.MC.optionsSummary);Y=function(e){const t={},n=[];let i=-1,r=0;return e.forEach((e=>{let o=-1;i++,e.instances.forEach((a=>{if(0===a.status){o++,i>6&&(i=-1,r++);const a=`default_${r}`,s=`${e.groupName||a}_${o}`,l=e.priority||0,c=`${s}_${l}`;t[c]||(t[c]={priority:l,groupName:s,list:[],status:0},n.push(t[c])),t[c].list.push(e)}}))})),n.sort(X),n}(e)}()})),r.MC.onReset((()=>{J.forEach((e=>e.cleanUp())),J=[]}))}))},5322:function(e,t,n){"use strict";n.d(t,{rR:function(){return l},xx:function(){return o},zS:function(){return c}});var i=n(8e3),r=n(2120);const o=["banner_ad","sponsored_ad"];let a=0,s=!1;function l(){return!!(0,i.BC)("abp-detection-enabled")||(a=-2,!1)}function c(){return s||((0,i.w$)("abp-detection-class-names").some(d),s=!0),a}function d(e){const t=(0,r.W)("div",{classList:[e],content:"."});t.style.fontSize="12px",t.style.lineHeight="1",document.body.appendChild(t);const n=!t.offsetHeight;return document.body.removeChild(t),!!n&&(a=1,!0)}},1321:function(e,t,n){"use strict";n.d(t,{H:function(){return r},T:function(){return o}});var i=n(1059);function r(e){return"_default_"!==e?e:"article"}function o(e){switch(i.v[r(e)]){case i.v.home:return"home";case i.v.category:return"category";case i.v.text:return"text";case i.v.search:return"search";case i.v.photo:return"photo";case i.v.other:return"other";case i.v.content_hub:return"content_hub";case i.v.video:default:return"video"}}},7840:function(e,t,n){"use strict";n.d(t,{$:function(){return w},_:function(){return x}});var i=n(4246),r=n(2120),o=n(9102),a=n(8e3),s=n(5219),l=n(3707),c=n(3983),d=n(5322),u=n(1059),p=n(1111),m=n(1321),h=n(5031),f=n(2360),b=n(2672),g=n(2381),v=n(1924),_=n(594);const y="rbox-invisible-widget";function w(e,t){const n=null==t?void 0:t.modeName;if(n){if(n===_.XV)return y;if(n===i.gu)return(0,i.a1)(t)}const r=(null==t?void 0:t.targetType)||"video",o=p.P[r],a=u.v[(0,m.H)(e)];return["rbox-",a===u.v.video&&o===p.P.video?"blended":[a,"2",o].join("")].join("")}function x(e,t,n){const d=[],u=o.MC.config.publisher,p=(0,m.H)(t);return e.forEach((e=>{const{modeName:t,placementName:o}=e,m=(0,f.Kc)(e),_=u.modes[t]||null,y=!(0,f.iG)(t)&&!(0,i.yq)(t);!_&&y&&(0,s.JE)(`Taboola Push Option modes "${t}" not present in Publisher Config modes.`);const x=!e.containerIgnored;let E,k=(0,l.i)();if(x){if(k=(0,g.JY)(m,e.frameId),!k)return void(0,s.JE)(`Placement ("${o}") container element ("${m}") doesn't exist on the page.`);E=k.getBoundingClientRect()}let T={li:w(p,e),uip:o,orig_uip:o,s:(0,h.cN)(t,k),uim:C(t)};x&&(T=Object.assign(Object.assign(Object.assign({},T),{cd:(0,c.XI)(E.top,2),mw:(0,c.XI)(E.width,2)}),function(e,t){var n;const i={};0===e.getBoundingClientRect().width&&(0,a.BC)("send-alternate-container-width")&&(i.amw=function(e){const t=(0,r.W)("div");t.style.visibility="hidden",t.style.height="0px",t.innerHTML=function(){const e=new Array(100);for(let t=0;te+t.placements.length),1);T=Object.assign(Object.assign({},T),{fb:D.nb,fi:e,fti:D.fti})}(0,v.w)(T,e),d.push(T)})),d}function C(e){const t=o.MC.config.runtime;return`${e}${t.networkPublisher?`:pub=${t.networkPublisher}`:""}${function(){const e=o.MC.config.runtime.debugQueryParams,t=e?e.trc_abp:"";return t?`:abp=${t}`:""}()||((0,d.rR)()&&(0,a.w$)("use-abp-uim")?`:abp=${(0,d.zS)()}`:"")}`}},696:function(e,t,n){"use strict";n.d(t,{h:function(){return s}});var i=n(2941),r=n(9642),o=n(3320),a=n(7842);function s(e,t){if(!t)return e;const n=t;!function(e,t){if(!t)return e;for(let n=0;n-1)return e.substring(0,i)}}(e,n["truncate-at"]);const s=(0,o.XO)(e);return s?(function(e,t){t&&delete e.host}(s,n.host),function(e,t){if(!t)return;let n=e.pathname;if("/"!==n){for(;"/"===n.substring(n.length-1);)n=n.substring(0,n.length-1);e.pathname=n}}(s,n["trailing-dirsep"]),function(e,t){if(!t||!e.search)return;const n={},o=(0,a.gh)(e.search);let s,l;(0,i.mg)(t)?l=new RegExp(t):s=t,(0,r.IF)(o,((e,t)=>{(s&&(null==s?void 0:s.indexOf(e))>-1||(null==l?void 0:l.test(e)))&&(n[e]=t)}));let c=(0,a.cX)(n);c&&(c=`?${c}`),e.search=c}(s,n.query),function(e,t){if(!t||!e.hash)return;if("#"===e.hash)return void(e.hash="");const n=e.hash.substring(1);(0,i._L)(t)&&t.filter((e=>n.search(e)>-1)).length>0||(0,i.mg)(t)&&n.search(new RegExp(t))>-1||(e.hash="")}(s,n.fragment),s.toString()):e}},2827:function(e,t,n){"use strict";n.d(t,{B5:function(){return u},SZ:function(){return s},Xr:function(){return m},eD:function(){return p},eL:function(){return d},r0:function(){return c},ty:function(){return l}});var i=n(4800),r=n(8e3),o=n(9102),a=n(5637);function s(){return(0,a.I7)("a12")}function l(){if((0,r.BC)("pass-browser-url"))return d()}function c(){return o.MC.config.runtime.isAMP?i.Dn.context.location:i.Pp.location}function d(){return c().href}function u(){const e=i.Pp.document;return Math.max(Math.max(e.body.scrollWidth,e.documentElement.scrollWidth),Math.max(e.body.offsetWidth,e.documentElement.offsetWidth),Math.max(e.body.clientWidth,e.documentElement.clientWidth))}function p(){const e=i.Pp.document;return Math.max(Math.max(e.body.scrollHeight,e.documentElement.scrollHeight),Math.max(e.body.offsetHeight,e.documentElement.offsetHeight),Math.max(e.body.clientHeight,e.documentElement.clientHeight))}function m(){return(0,a.I7)("a7")}},2381:function(e,t,n){"use strict";n.d(t,{$5:function(){return g},GW:function(){return R},HP:function(){return _},JY:function(){return T},Jk:function(){return k},MZ:function(){return x},QP:function(){return C},aF:function(){return E},d3:function(){return v},jG:function(){return y},lZ:function(){return w},u9:function(){return f}});var i=n(9102),r=n(8e3),o=n(3001),a=n(5288),s=n(5219),l=n(9642),c=n(4800),d=n(9012),u=n(1059),p=n(1321),m=n(696),h=n(2827);const f=Math.random()<=.01;let b;function g(e){var t;if(!e)return{};const n=e.cmpStatus;if(3===n)return{cex:e.cex};if(0===n||5===n){let i=e.tcString||void 0;return(0,r.BC)("enable-consent-gpp-only")&&e.gppString&&(i=void 0),{cmps:n,ga:e.gdprApplies,cdb:e.consentDaisyBit||void 0,tcs:i,gwto:e.wasTimeout||void 0,cex:e.cex,gpp:e.gppString,gpp_sid:(null===(t=e.applicableSections)||void 0===t?void 0:t.join(","))||void 0}}return{cmps:n,cex:e.cex}}function v(e){return(0,m.h)((0,h.eL)(),e).split(/[?#]/)[0]}function _(e){return u.v[(0,p.H)(e.itemSourceType)]===u.v.home?"_homepage_":e.itemSourceValue?e.itemSourceValue:y(i.MC.pageItemId)}function y(e){return(0,m.h)(e,i.MC.config.publisher["prenormalize-item-id"])}function w(e){let t="";return(0,l.IF)(e,((n,i)=>{const r=typeof i,o=t?"&":"",a=encodeURIComponent(n);switch(r){case"string":case"number":case"boolean":t+=`${o}${a}=${encodeURIComponent(e[n])}`;break;case"object":t+=`${o}${a}=${encodeURIComponent(JSON.stringify(e[n]))}`}})),t}function x(){const e=new Date,t=e.getHours(),n=e.getMinutes(),i=e.getSeconds()+e.getMilliseconds()/1e3;return`${t<10?"0":""}${t}:${n<10?"0":""}${n}:${i<10?"0":""}${i.toFixed(3)}`}async function C(){if(!(0,r.BC)("load-user-agent-data"))return;const e=await(0,d.N)();return e?{mobile:e.mobile,model:e.model,platform:e.platform,platformVersion:e.platformVersion,uaFullVersion:e.uaFullVersion}:void 0}function E(e){const{itemSourceType:t,itemId:n,placementsList:i}=e;let r=`${t}=${n},`;const o=i.map((e=>`${e.uip}=${e.uim}`));return o.sort(),r+=o.join(),r}function k(e){const t=[...i.MC.config.publisher.systemFlags.experimentID],n=e.pubExperiment,o=(0,r.w$)("publisher-experiments"),a=n&&o?o[n]:null;return a&&t.push(a),t.join(",")||void 0}function T(e,t){const n=t?(0,a.Iu)(t):c.Pp.document;let r=(0,a.jQ)(e,n);return!r&&i.MC.config.runtime.isAMP&&(r=(0,o.uv)(n,`[id^=${e}-split-num-]`),r=(0,o.uv)(n,`[id^=${e}-split-num-]`)),r}function R(e){return b||(b=(0,r.w$)("max-json-request-url-length")),e&&e.length>b?((0,s.JE)("The url is too long"),e.slice(0,b)):e}},2337:function(e,t,n){"use strict";n.d(t,{Ar:function(){return w},MZ:function(){return v},u8:function(){return x}});var i=n(0),r=n(9102),o=n(7566),a=n(5461),s=n(3983),l=n(8e3),c=n(5219),d=n(2120),u=n(5288);const p="top";let m;const h="https://cdn.taboola.com",f=`${h}/libtrc/static/topics/taboola-browsing-topics.html`;let b;const g="tbl-browsing-topics-iframe-"+100*Math.random();function v(){return m||(y()?(m||function(){const e=(0,i.yN)("localStorage",p);m=e?(0,s.XU)(e):e,function(){if(!m)return;let e=!1;m.forEach(((t,n)=>{(t.i||t.v||!t.version)&&(null==m||m.splice(n,1),e=!0)})),e&&(0,i.gC)("localStorage",p,(0,s.z_)(m))}()}(),m):(m=void 0,m))}function _(e){e&&(function(e){m||(m=v()||[]);const t=m.length;e.forEach((e=>{(null==m?void 0:m.some((t=>t.topic===e.topic)))||null==m||m.push(e)})),t({topic:e.topic,taxonomy:e.taxonomyVersion,model:e.modelVersion,config:e.configVersion,version:e.version})))),function(){const e=document.getElementById(g);e&&e.remove()}())}function y(){var e;return!!(0,l.BC)("topics-enabled")&&(null!=b||(b=(null===(e=document.featurePolicy)||void 0===e?void 0:e.allowsFeature("browsing-topics"))&&(0,a.KP)("browsing-topics")),b)}function w(){y()&&(0,u.kV)().then((()=>{const e=(0,d.W)("iframe",{attrList:[["src",f],["id",g]]});e.style.width="0",e.style.height="0",e.style.display="none",window.addEventListener("message",(e=>{var t;if(e.origin!==h)return;const n=e.data;n.error&&(0,c.JE)(`Error in browsing topics iframe: ${n.error}`),n.policyMessage&&(0,c.JE)(n.policyMessage),(null===(t=n.topics)||void 0===t?void 0:t.length)&&_(n.topics)})),document.body.appendChild(e)}))}function x(e){(0,l.BC)("topics-enabled")&&0!==e.length&&_(e)}o.B.once("storeCreated",v)},1059:function(e,t,n){"use strict";var i;n.d(t,{v:function(){return i}}),function(e){e._default_="",e.home="h",e.homepage="h",e.category="c",e.article="t",e.text="t",e.search="s",e.photo="p",e.other="o",e.content_hub="z",e.video="v"}(i||(i={}))},1111:function(e,t,n){"use strict";var i;n.d(t,{P:function(){return i}}),function(e){e.video="v",e.photo="p",e.text="t",e.mix="m"}(i||(i={}))},7692:function(e,t,n){"use strict";n.d(t,{N8:function(){return r},Ty:function(){return a},x2:function(){return o}});const i=/^[^{]*((?:[^]*)})[\s\)]*$/;function r(e){if(e.indexOf("TRC.callbacks.mute()")>-1)return{isMuted:!0,vl:[]};const t=e.match(i);if(!t)throw new Error("Can't validate TRC response.");try{return o(JSON.parse(t[1]))}catch(e){throw new Error("TRC response not a valid JSON.parse")}}function o(e){return e.trc}function a(e,t){if(e){const n=e.split(":")[1].toLocaleLowerCase();return t.replace("",n)}}},6843:function(e,t,n){"use strict";n.d(t,{H:function(){return h},N:function(){return m}});var i=n(9642),r=n(3983),o=n(8468),a=n(3312),s=n(5031),l=n(6876),c=n(8e3),d=n(5461);function u(e){let t=!1;return(0,i.IF)(e.feeds,((e,n)=>{t||(t=!!n.vsm)})),t}function p(e){return(e.originalResponse[0].vl||[]).filter((e=>!!e.vtag)).length>0}function m(e){var t;const n=function(e){const{feeds:t,widgets:n,vignette:i,exploreMore:r}=e,o={hasAppInstall:!1,hasCta:!1,hasRecoReel:!1,hasGoogleAdx:!1,hasIsiCard:!1,hasMotionAds:!1,hasTaboolaConnect:!1},a=Object.assign({},t);r&&(a[r.feed._ID]=r.feed);for(const e in a)for(const t of a[e].batchList)for(const e of t.placements)f(o,e);for(const e in n)f(o,n[e]);return i&&f(o,i),o}(e);e.features={"feed-render":(0,r._i)(e.feeds),"widget-render":(0,r._i)(e.widgets),"explore-more-render":!!e.exploreMore,"video-single-manager":u(e),"video-tag":p(e),"next-up-render":(0,r._i)(e.nextUp),"vignette-render":(0,r._i)(e.vignette),hp4u:(0,r._i)(e.organicPersonalization),"protected-audience":!!e.protectedAudience,spotlight:e.userData.isSpotlight,"height-impact-placement":(0,o.Cx)(e)||(0,o.Gr)(e),"dynamic-e2e":(null===(t=a.r.__e2e__)||void 0===t?void 0:t.dynamic)||!1,"external-ad":!!e.externalAd,"app-install":n.hasAppInstall,"reco-reel":n.hasRecoReel,"call-to-action":n.hasCta,"fraud-detection":(0,c.BC)("enable-fraud-detection"),"isi-card":n.hasIsiCard,"scrollable-carousel":(0,d.KP)("web-components"),"google-adx":n.hasGoogleAdx,"taboola-choice":(0,c.w$)("has-userx"),"distance-from-article":(0,c.w$)("monitor-article-distance-from-feed-percentage")>0||(0,c.w$)("enable-distance-from-article")>0,"taboola-connect":n.hasTaboolaConnect,"motion-ads":n.hasMotionAds,"creative-preview":(0,c.BC)("enable-item-override")}}function h(e,t){if(!(0,r._i)(e))return t||{};const n={};return(0,i.IF)(e,((e,i)=>{n[e]=t[e]||i||!1})),n}function f(e,t){(0,s.Jq)(t.modeGroupsData)&&(e.hasRecoReel=!0),t.thirdPartyCard&&(e.hasTaboolaConnect=!0);for(const n of t.items){const t=n.getItemData();if(t&&(t.isAppInstall&&(e.hasAppInstall=!0),(0,l.A)(t)&&(e.hasCta=!0),t.placement["tag-data"]&&(e.hasGoogleAdx=!0),t.isIsi&&(e.hasIsiCard=!0),t.motionAdURL&&(e.hasMotionAds=!0),e.hasAppInstall&&e.hasCta&&e.hasGoogleAdx&&e.hasIsiCard&&e.hasMotionAds))return}}},6605:function(e,t,n){"use strict";n.d(t,{bc:function(){return E},rl:function(){return D},Ay:function(){return k},do:function(){return S},$C:function(){return I}});var i=n(713),r=n(3088),o=n(3544),a=n(2856),s=n(8456),l=n(8e3),c=n(2941),d=n(9642),u=n(3983);function p(e){return(0,u.tU)(e.voil,!1)||(0,l.BC)("visible-on-item-level",!1)}var m=n(7692),h=n(6843),f=n(229),b=n(7118),g=n(9053),v=n(8002),_=n(5219),y=n(740),w=n(4246),x=n(1958),C=n(576);const E={hasContent:!1,hasFeeds:!1};function k(e){var t,n;!function(e){(e.vl||[]).forEach((e=>{e.m&&(e.m=e.m.trim())}))}(e);const c=(0,d.Go)(e),E=i.R2.parseResponse(c),k=b.e.parseResponse(c),I=r.J.parseResponse(c),S=o.r.parseResponse(c),D=a.f.parseResponse(c),M=s.x.parseResponse(c),P=(0,y.l)(e),L=g.x3.parseResponse(c),N=(0,u._i)(I),B=!!E,A=(0,u._i)(M),$=function(e){const t=e.vl||[],n=[];if(t.forEach((t=>{var i;if((null===(i=t.v)||void 0===i?void 0:i.length)||t.vtag||t.pa)return;const r=t.uip,o=(0,x.u3)(t,e),a=o&&!(0,w.yq)(o)&&!function(e){return e.indexOf(" | Injected ")>-1}(r);a&&n.push(t.uip)})),n.length){const e=n.join(", ");(0,_.JE)(`Placements With no Content: ${e}`)}return t.length!==n.length}(e),U=(0,v.j)(e),F={originalResponse:[e],hasResponseLoaded:!0,publisherId:e.pi,events:R(e),clientGenericActions:{cga:O(e.cga),vcga:e.vcga,dcga:e.dcga},userData:{sessionId:e.si||"",sessionData:e.sd||"",userId:e.ui||"",platform:e.plc||"OTHR",countryCode:e.cc,dataCenterRoute:e.route,trcEventDomain:(0,m.Ty)(e.route,(0,l.w$)("trc-event-route-template")),wi:e.wi||void 0,stp:(null===(t=e.stp)||void 0===t?void 0:t.map((e=>({url:e}))))||[],jst:(null===(n=e.jst)||void 0===n?void 0:n.map((e=>({url:e}))))||[],consentApproved:!(0,u.tU)(e.cm,!1),canTrackUser:!(0,u.tU)(e.DNT,!1),ccpa:P,isSpotlight:(0,u.tU)(e.sl,!1)},piggybackData:{srpg:U,lspb:e.lspb||void 0,cpb:e.cpb||void 0},testAndExperiment:{hasVariantPerPlacementFlag:(0,u.tU)(e.uvpw,!0),testVariant:e.t||"",testData:e.td||"",experimentVariants:e.evh||"",testVariantsMap:(0,f.gJ)(e)},eventRouteOut:e.el2r||[],translations:e.tslt,hasCacheBuster:(0,u.tU)(e.lfr,!1),hasContent:$,noContentReason:T(e,$),isItemLevelVisible:p(e),features:{},feeds:I,exploreMore:E,widgets:M,organicPersonalization:k,nextUp:S,vignette:D,hasFeeds:N,hasExploreMore:B,hasWidgets:A,blockClicks:e.bca,protectedAudience:L,failedPlacements:{},allPlacements:[]};return function(e){const t=[i.R2.getAllPlacements,r.J.getAllPlacements,s.x.getAllPlacements,b.e.getAllPlacements,o.r.getAllPlacements,a.f.getAllPlacements];e.allPlacements=t.reduce(((t,n)=>[...t,...n(e)]),[])}(F),F.externalAd=(0,C.s)(F.allPlacements),(0,h.N)(F),F}function T(e,t){return function(e){return!!e.isMuted}(e)?"MUTE":e.vl?t?"":"NO_ITEMS":"ERROR"}function R(e){var t,n;const i={},r=(null===(n=null===(t=e.vl)||void 0===t?void 0:t[0])||void 0===n?void 0:n.ri)||void 0;return r&&(i.requestId=r),i}function I(e){return(0,c.tv)(null==e?void 0:e.userData.userId)}function S(){return{userData:{},testAndExperiment:{}}}function O(e){if(e)return Object.assign(Object.assign({},e),{pubConfigOverride:{global:Object.assign({},e.pubConfigOverride||{})}})}function D(e){return e?e.reduce(((e,t)=>(e[t]=1,e)),{}):{}}},9151:function(e,t,n){"use strict";n.d(t,{M:function(){return p},N:function(){return m}});var i=n(8456),r=n(3088),o=n(713),a=n(3544),s=n(2856),l=n(7118),c=n(6843),d=n(9642),u=n(2941);function p(e,t){const n=i.x.mergeResponseSummary(e,t),d=r.J.mergeResponseSummary(e,t),u=o.R2.mergeResponseSummary(e,t),p=a.r.mergeResponseSummary(e,t),m=s.f.mergeResponseSummary(e,t),g=l.e.mergeResponseSummary(e,t),v=e.userData,_=t.userData;return Object.assign(Object.assign(Object.assign({},e),t),{originalResponse:[...e.originalResponse||[],...t.originalResponse||[]],clientGenericActions:f(e.clientGenericActions,t.clientGenericActions),events:Object.assign(Object.assign({},e.events),t.events),userData:Object.assign(Object.assign(Object.assign({},v),_),{stp:h((null==v?void 0:v.stp)||[],(null==_?void 0:_.stp)||[]),jst:h((null==v?void 0:v.jst)||[],(null==_?void 0:_.jst)||[])}),testAndExperiment:Object.assign(Object.assign({},e.testAndExperiment),t.testAndExperiment),widgets:n,hasFeeds:Object.keys(d).length>0,feeds:d,nextUp:p,vignette:m,hasWidgets:Object.keys(n).length>0,hasExploreMore:!!u,exploreMore:u,hasContent:e.hasContent||t.hasContent,hasCacheBuster:e.hasCacheBuster||t.hasCacheBuster,isItemLevelVisible:e.isItemLevelVisible||t.isItemLevelVisible,organicPersonalization:g,features:(0,c.H)(e.features||{},t.features),translations:Object.assign(Object.assign({},e.translations),t.translations),failedPlacements:b(e.failedPlacements,t.failedPlacements),allPlacements:[...e.allPlacements||[],...t.allPlacements||[]]})}function m(e,t=[]){var n,c,d,u,p,m;const h=null===(n=i.x.stopContent)||void 0===n?void 0:n.call(i.x,e,t),f=null===(c=r.J.stopContent)||void 0===c?void 0:c.call(r.J,e,t),b=null===(d=o.R2.stopContent)||void 0===d?void 0:d.call(o.R2,e,t),g=null===(u=a.r.stopContent)||void 0===u?void 0:u.call(a.r,e,t),v=null===(p=s.f.stopContent)||void 0===p?void 0:p.call(s.f,e,t),_=null===(m=l.e.stopContent)||void 0===m?void 0:m.call(l.e,e,t);return Object.assign(Object.assign({},e),{widgets:h||e.widgets,feeds:f||e.feeds,exploreMore:b||e.exploreMore,nextUp:g||e.nextUp,vignette:v||e.vignette,organicPersonalization:_||e.organicPersonalization})}function h(e,t){if(e.length>0&&0===t.length)return e;const n={};return[...e,...t].forEach((e=>{var t;n[t=e.url]||(n[t]=e.used)})),Object.keys(n).map((e=>({url:e,used:n[e]})))}function f(e,t){const n=Object.assign({},e);return(0,d.IF)(t,(e=>{(0,u.tv)(t[e])||(n[e]=t[e])})),n}function b(e,t){if(!e||(0,d.x7)(e))return t||{};if(!t||(0,d.x7)(t))return e;const n={};return(0,d.IF)(e,(i=>{(0,d.l$)(t,i)&&(n[i]=e[i]+1)})),Object.assign(Object.assign({},t),n)}},229:function(e,t,n){"use strict";n.d(t,{gJ:function(){return a},nq:function(){return s},sc:function(){return l},ub:function(){return d}});var i=n(8e3),r=n(7092),o=n(9642);function a(e){if(!(0,i.w$)("enable-experiments-variant-id-event"))return{};const t=e.evi||{},n={};return(0,o.IF)(r.R,((e,i)=>{t[i]&&(n[d(i)]=t[i].split("|")[1])})),n}function s(e){if(e&&(0,i.w$)("store-userid-first-party-cookie"))return e}function l(e){return Object.assign(Object.assign({},e),{userData:Object.assign(Object.assign({},e.userData),{stp:c(e.userData.stp),jst:c(e.userData.jst)})})}function c(e){return e.map((e=>({url:e.url,used:!0})))}function d(e){return`tvi${e}`}},7092:function(e,t,n){"use strict";var i,r;n.d(t,{R:function(){return i}}),function(e){e.L2="2",e.L6="6",e.L48="48",e.L50="50",e.L56="56",e.L61="61",e.L62="62"}(i||(i={})),function(e){e.L2="tvi2",e.L6="tvi6",e.L48="tvi48",e.L50="tvi50",e.L56="tvi56",e.L61="tvi61",e.L62="tvi62"}(r||(r={}))},740:function(e,t,n){"use strict";n.d(t,{l:function(){return a},w:function(){return r}});var i=n(3654);const r="tbl-ccpa",o={markup:"CCPA Notice",href:"https://ccparequest.taboola.com",enableScrolling:"yes",classList:[r],style:"",inlineStyle:"",location:"beforeend",renderOnce:!0,placement:""};function a(e){const t=(0,i.jw)(e,"ccpa"),n=e.vl;if(!t||!n)return;const r=t.placement||function(e){let t="";return e.some((e=>{var n;const i=e.uuip||e.uip,r=i.toLowerCase().indexOf("below")>-1,o=!!(null===(n=e.v)||void 0===n?void 0:n.length);return t=i,r&&o})),t}(n);return Object.assign(Object.assign(Object.assign({},o),t),{placement:r})}},3654:function(e,t,n){"use strict";n.d(t,{G1:function(){return d},Mc:function(){return p},jw:function(){return l}});var i=n(9102),r=n(2537),o=n(9642),a=n(8e3),s=n(5526);function l(e,t){var n;return null===(n=e.cga)||void 0===n?void 0:n[t]}const c=["dcga","cga","vcga"];function d(e){c.forEach((t=>{const n=e[t];if(!n)return;const a=n.pubConfigOverride;(null==a?void 0:a.global)&&i.fg.appendPublisherConfig(a),(n.removeExtensions||[]).forEach(r.SO);const l=n.addExtensions;var c;(null==l?void 0:l.length)&&(0,s.SQ)(l),(c=n.customExtensions)&&(0,o.IF)(c,((e,t)=>{u.indexOf(e)>-1||(u.push(e),(0,r.VK)(t.url))}))}))}const u=[];function p(e,t){const n=t.cga;if(!n)return t;const i=n.customExtensions,r=n.customModules;return i&&r?((0,o.IF)(i,(e=>{const t=i[e].product,n=!t||(0,a.lP)(t);r[e]&&n&&delete r[e]})),t):t}},9055:function(e,t,n){"use strict";n.d(t,{Vz:function(){return j},N3:function(){return U},eo:function(){return F}});var i=n(3983),r=n(3553),o=n(5288),a=n(6620),s=n(5358),l=n(9102),c=n(8e3),d=n(9642),u=n(2470),p=n(3320),m=n(2941),h=n(1479);const f=(0,u.$$)("//cdn.taboola.com/libtrc/static/thumbnails/759bc49732394dde468c8d65a464e1a4.png"),b="tb_expo_img",g=[[1,2],[1,1.9],[1,1.8],[9,16],[1,1.7],[1,1.6],[1,1.5],[1,1.4],[3,4],[1,1.3],[1,1.2],[1,1.1],[1,1],[1,.9],[6,5],[1,.8],[4,3],[1,.7],[3,2],[1,.6],[16,9],[2,1]].map((e=>e[0]/e[1])).sort(),v={auto:"f_auto",jpg:"f_jpg",lossy:"fl_lossy",png:"f_png",gif:"fl_lossy%2Cf_gif"};function _(e){return v[e]||v.auto}let y=null,w="",x="",C="",E="";function k(e){let t=e.replace("{domain}",(0,c.w$)("image-url-domain")).replace("{q}",(0,c.w$)("image-quality").toString()).replace("{type}",_((0,c.w$)("image-url-type")));return t=(0,u.$$)(t),t}function T(e){const t=e.placementModeGroup.getModeClientProperty("image-url-prefix")||(0,c.w$)("image-url-prefix");return w||(w=k(t)),w}let R=null;function I(e){const t=e.configuration,n=e.closestRatio;if(!t||!n)return;const[i]=t.filter((({ratio:{w:e,h:t}})=>n.width===e&&n.height&&t)),r=e.itemData._ID,o=e.reportingPrefix;if(!i){const e=`${o}_tra-event-not_matched_${n.width}X${n.height}`;return void(0,h.ex)(e,{id:r})}const a=i.ratio,s=`${o}_tra-event-matched_${a.w}X${a.h}`;return(0,h.ex)(s,{id:r}),i}function S(e){const t=e.placementModeGroup.getModeClientProperty("rtb-image-url-prefix")||(0,c.w$)("rtb-image-url-prefix");return x||(x=k(t)),x}function O(e){const t=e.placementModeGroup.getModeClientProperty("rtb-gif-image-url-prefix")||(0,c.w$)("rtb-gif-image-url-prefix")||e.placementModeGroup.getModeClientProperty("rtb-image-url-prefix")||(0,c.w$)("rtb-image-url-prefix");return C||(C=k(t)),C}function D(e){const t=e.placementModeGroup.getModeClientProperty("gif-url-prefix")||(0,c.w$)("gif-url-prefix");return E||(E=k(t)),E}function M(e){const t=(0,c.w$)("image-url-thumbnail-transformations-postfix")||"";return t?k(`${t}${e.thumbnailTransformations}/`):""}const P=(e,t)=>{const n=(0,c.w$)("custom-image-size-round-value"),r=function(e){const{getModeClientProperty:t}=e.placementModeGroup;let n=t("image-size-factor");return(0,i.tU)(t("use-dpr-images"),!0)&&l.MC.config.runtime.isHighDensity&&(n=t("image-dpr-factor")||n),n}(e),[o,a]=function(e){const{getModeClientProperty:t}=e.placementModeGroup;return[t("image-min-width"),t("image-max-width")]}(e),s=function(e,t){const n=t.height/t.width,i=e.placementModeGroup.getModeClientProperty("image-allowed-ratio-diff"),r=Math.abs(n-i);let o=0;return g.some((e=>e>=r&&(o=e,!0))),o||g[0]}(e,t),d=Math.max(t.width*r,o),u=Math.ceil(d/n)*n,p=Math.min(u,a),m=Math.max(Math.min(s,2.5),.4);return{width:p,height:Math.ceil(p*m)}};function L(e,t){const n=P(e,t),{width:i,height:r}=n,o=e.placementModeGroup.getModeClientProperty("images-radius"),a=function(e,t){if(!e.cropping&&!e.imagesPerRatio)return;(0,h.NO)(e);const n=function(){if(R)return R;const e=(0,c.w$)("image-cropping-ratios-list");return(0,m._L)(e)?(R=e.sort(((e,t)=>{const[n,i]=e,[r,o]=t;return n/i-r/o})).map((([e,t])=>({width:e,height:t}))),R):void 0}();if(!n)return void(0,h.ex)("tra-error-no_ratio_list",{id:e._ID});const i=t.width/t.height,r=n.map((({width:e,height:t})=>Math.abs(e/t-i)));return n[r.reduce(((e,t,n)=>r[e]>t?n:e),0)]}(e,n);let s=function(e,t){let n=T;if(e.cropping&&t){const n=function(e,t){if(!(0,c.BC)("image-cropping-active"))return"";const n=I({itemData:e,configuration:e.cropping,closestRatio:t,reportingPrefix:"tci"});return n?function(e){const t=e.ratio,n=t.w/t.h,i=e.area,r=["c_crop","f_jpg","q_auto","e_sharpen",`ar_${n.toFixed(4)}`,`w_${i.w}`,`x_${i.x}`,`y_${i.y}`];let o=`${(0,c.w$)("image-url-basic-prefix")}/${r.join(encodeURIComponent(","))}/`;return(0,c.BC)("image-cropping-with-c-fill")&&(o=`${o}${(0,c.w$)("image-cropping-c-fill-postfix")}`),k(o)}(n):""}(e,t);if(n)return n}return e.isRTB?e.imageUrl.match(/\.(gif)$/i)?(n=O,e.isGifImage=!0):n=S:e.isGifImage?n=D:e.thumbnailTransformations&&(n=M),n(e)}(e,a);o&&(s=function(e,t,n){return e?function(e,t){return e.replace("f_gif",`f_gif%2Cr_${t}`)}(t,n):function(e,t){const n=_((0,c.w$)("image-url-type"));return e.replace(`${n}%2C`,"").replace(/fetch\//,`fetch/f_png%2Cr_${t}%2C`)}(t,n)}(e.isGifImage,s,o)),e.bannerAsNative&&(s=function(e){return e.replace("/t_tbl-cnd","")}(s)),s=s.replace("{w}",i.toString()).replace("{h}",r.toString());const g=function(e,t){const n=I({itemData:e,configuration:e.imagesPerRatio,closestRatio:t,reportingPrefix:"tmi"});return n?n.url:""}(e,a),v=g||e.imageUrl;return s+=function(e){let t=0,n=0,i="",r=0;const o=`${e}`,a=o.length;for(;r127&&e<2048?String.fromCharCode(e>>6|192,63&e|128):String.fromCharCode(e>>12|224,e>>6&63|128,63&e|128),null!==a&&(n>t&&(i+=o.slice(t,n)),i+=a,t=n=r+1),r++}return n>t&&(i+=o.slice(t,a)),escape(i)}(v),s=(0,p.n3)(s,function(){if(y)return y;y={};const e=l.MC.config.publisher.systemFlags,t=e.imageExternal;t&&(y[b]=t);const n=e.imageExternals;return n&&(0,d.IF)(n,((e,t)=>{y[`${b}_${e}`]=t})),y}()),{taboolaUrl:s,publisherUrl:(0,u.$$)(v),defaultUrl:f,isRatioImage:!!g}}var N=n(8767),B=n(4515),A=n(4331),$=n(7177);function U(e,t){const{isSyndicated:n,isNative:l,isNetwork:c,isEditorial:d}=F(t),u=n||l||c,p={entityType:5,_ID:t["item-id"]+(0,i.MZ)(),contentType:0},m=(0,r.r)(p);return m.originalCard=t,m.originalCard.placement=e.placement.uuip,m.placement=e.placement,m.placementModeGroup=e,m.taboolaId=t["item-id"],m.organicId=u?"":t.id,m.imageUrl=t.thumbnail,m.imagesPerRatio=function(e){if(e)return z(decodeURIComponent(e),"thumbnails")}(t.thumbnails),m.isGifImage=(0,i.tU)(t["is-gift"],!1),m.thumbnailTransformations=t["thumbnail-transformations"]||"",m.imageSize=function(e){if(!e)return{width:0,height:0};const[t,n]=e.split("x");return{width:parseInt(t),height:parseInt(n)}}(t["thumb-size"]),m.clickUrl=t.url,m.registerSourceUrl=t["register-source-url"],m.title=(0,o.IK)(t.title),m.sourceType=t.type,m.logoURL=t.logo||"",m.organicVideoURL=t["ovideo-url"],m.fullVideoUrl=t["ofvideo-url"],m.logoType=t["logo-type"]||"square",m.publishedDate=(0,a.ww)(t["published-date"]),m.brandingName=t["branding-text"]||"",m.signature=t.sig,m.signatureType=t.st,m.encapsulatedParams=t.etp,m.redirAdditionalParams=t.rap,m.isSyndicated=n,m.isSponsored=u,m.isNative=l,m.isNetwork=c,m.isOrganic=!u,m.isEditorial=d,m.isNoFollow=!0,m.isRTB=(0,i.tU)(t["is-rtb"],!1),m.isPreviewItem=(0,i.tU)(t["is-preview-item"],!1),m.bannerAsNative=(0,i.tU)(t.rban,!1),m.advertiser=t.publisher,m.category=t.category||"",m.rating=t.rating,m.views=t.views,m.duration=t.duration,m.description=(0,o.IK)(t.description),m.pixelsTracking=t.itp||[],m.viewabilityTags=t["viewability-tags"]||[],m.isVisibleReported=!1,m.wasVisible=!1,m.getEventClick=s.DT.bind(null,m),m.getImageUrls=L.bind(null,m),m.motionAdURL=t["pvideo-url"],m.cropping=function(e){if(e)return z(e,"crop")}(t.cropping),m.ctaText=t["cta-text"],m.adRatio=t["ad-ratio"],m.auctionEstimate=(0,$.Qq)(t.e),m.secondPrice=(0,$.Qq)(t.e2),m.isAppInstall=(0,i.tU)(t["is-app-install"],!1),m.starRating=(0,$.Qq)(t["stars-rating"])||0,m.shouldRenderCta=!m.isAppInstall&&"carousel"!==m.placement.scft,m.isIsi=(0,i.tU)(t["is-isi-card"],!1),m.disclaimerText=t.disclaimer||"",m.brandingUrl=t["branding-url"],m.imageIframeScript=t["image-iframe"],m.skadNetworkItem=(0,i.tU)(t.udl,!1),m.trimHrefQs=(0,i.tU)(t.thrf,!1),m.removeHref=(0,i.tU)(t.rhrf,!1),m.dynamicAttributes=t.urlp,m.uploader=t.uploader,m.editorialVideoData=t["ec-video-urls"],m["external-data"]=t["external-data"],(0,i.tU)(t.rv,!1)&&(m.rvAvailableEvent={pixelMargin:(0,$.vx)(t.rvpm)||0,isSent:!1}),m.reportTracking=e=>{!function(e,t){e.pixelsTracking.filter((e=>e.t===t&&!e.used)).forEach((e=>{e.used=!0,(0,N.PR)(e.u)}))}(m,e)},m.setAsVisibleReported=()=>{m.isVisibleReported=!0},m.setAsVisible=()=>{m.wasVisible=!0},m.sendRVAvailableEvent=()=>{m.rvAvailableEvent&&!m.rvAvailableEvent.isSent&&(m.rvAvailableEvent.isSent=!0,function(e){const t=(0,s.Ft)(e);t?(0,A.RK)(t,{isCritical:!0}):B.g.resolve("")}(m))},m.isMediaLoaded=new B.g((e=>{m.mediaLoaded=e})),t.plink&&(m.userAdChoice={link:t.plink,type:t["adc-type"]||"HOVER"}),m.isProtectedAudience=!1,m.getItemData=()=>m,m.adMarkup=t.eart,m.linkTarget=t.target,m}function F(e){return{isSyndicated:(0,i.tU)(e["is-syndicated"],!1),isNative:(0,i.tU)(e["is-native"],!1),isNetwork:(0,i.tU)(e["is-in-network"],!1),isEditorial:(0,i.tU)(e["is-dc"],!1)}}function j(e){return e.placementModeGroup.items.indexOf(e)}function z(e,t){var n;if(!e||!t)return;const r=e.replace(/"/g,'"'),o=null===(n=(0,i.XU)(r))||void 0===n?void 0:n[t];return null==o?void 0:o.sort(((e,t)=>{const{ratio:{w:n,h:i}}=e,{ratio:{w:r,h:o}}=t;return n/i-r/o}))}},1958:function(e,t,n){"use strict";n.d(t,{u3:function(){return O},vc:function(){return M}});var i=n(9102),r=n(8e3),o=n(2941),a=n(3553),s=n(5219),l=n(4515),c=n(3983),d=n(377),u=n(5423),p=n(5694),m=n(4331),h=n(5358),f=n(5822);let b=null;var g=n(5288),v=n(4846),_=n(9055),y=n(5031),w=n(7840),x=n(8508),C=n(2360),E=n(7177),k=n(594),T=n(4246),R=n(2606),I=n(6055),S=n(706);function O(e,t){const n=e.m,i=e.fpl||e.uip;if(!n&&!i)return;const a=function(e,t){const n=e.uvpw;return!(0,o.tv)(n)&&(0,c.tU)(n,!0)?t:e.t}(t,e.t);if(n)return D(n,a);const s=(0,r.n$)(i);return s?D(s.modeName,a):void 0}function D(e,t){if(!t)return e;const n=`ab_${e}_${t}`;return i.MC.config.publisher.modes[n]?n:e}function M(e,t,n){var D;e.uip||(0,s.JE)(`Invalid placement in server response ${e}`);const M=O(e,t)||"",B=function(e){if(e)return e===k.XV?{modeName:k.XV}:i.MC.config.publisher.modes[e]}(M),A=!!e.pcp;!(B||e.js||(0,C.iG)(M)||A)&&!(0,T.yq)(M)&&(0,s.JE)(`Placement doesn't have Publisher Mode Config: ${M}`);const $=e.vtag,U={_ID:`${e.uip}_${(0,c.MZ)()}`,entityType:3,mode:B,pubn:t.pubn||(null===i.MC||void 0===i.MC?void 0:i.MC.config.publisher.publisherName)},F=(0,a.r)(U);var j,z,W;F.ri=e.ori||e.ri,F.uuip=e.uuip,F.uip=e.uip,F.m=M||"",F.ppb=e.ppb,F.scft=e.scft,F.fb=e.fb?parseInt(e.fb):-1,F.wi=t.wi,F.po=(z=e.po,(0,o.mg)(z)?(/^\s*\{.*\}\s*$/.test(z)||(W=`{${z}}`,z=(0,o.mg)(W)?([{regex:/({|\[)\s*'/g,replace:'$1"'},{regex:/'\s*(:|}|,|\])/g,replace:'"$1'},{regex:/(:|,)\s*'/g,replace:'$1"'},{regex:/(?:([^"\s:\[{,])"([^"\s:,\}]))/g,replace:'$1\\"$2'},{regex:/([{,]\s*)([a-zA-Z_][a-zA-Z0-9_]*)(\s*):/g,replace:'$1"$2"$3:'}].forEach((e=>{W=W.replace(e.regex,e.replace)})),W):""),z.indexOf("function")>-1?(0,R.j)((0,c.MF)(`(${z})`)):(0,R.j)((0,c.XU)(z))):z),F.pcp=e.pcp,F.hpl=e.hpl,F.hps=(j=e.hps)?(0,E.jF)(j).map((e=>(0,E.vx)(e))).filter((e=>!(0,o.tv)(e))):[],F.rw=(0,c.tU)(e.rw,!1),F.cpad=e.cpad,F.scac=(0,c.tU)(e.scac,!1),F.scapz=e.scapz,F.fdlc=(0,c.tU)(e.fdlc,!1),F.listId=(0,w.$)(null===(D=i.MC.optionsSummary)||void 0===D?void 0:D.itemSourceType,(0,x.A)(F)),F.thirdPartyCard=function(e){if((0,c.tU)(e.ifr,!1))return{isFriendly:(0,c.tU)(e.fifr,!1),url:e.url,configuration:e.config,dimensions:e.cd}}(e),F.productType=n,F.trecs=(0,r.lP)(F.productType),F.eo=function(e){var t;const n=e.et;if(!n)return;const i=(null===(t=e.pcp)||void 0===t?void 0:t.tps)||"";return{et:n,ch:(0,E.vx)(e.ch),ebc:e.ebc,cbc:e.cbc,tps:i,cpad:e.cpad}}(e),F["tag-data"]=e["tag-data"],F["fp-data"]=e["fp-data"],$&&(F.vtag=$),F.eventSent={available:!1,visible:0},F.modeGroupsData=function(e,t){const n=e.v,i=t.m,r={_ID:t._ID+(0,c.MZ)(),modeName:i,placement:t,entityType:4,getModeClientProperty:P(i,t.po)},o=(0,a.r)(r);o.items=(n||[]).map((e=>(0,_.N3)(o,e))),o.contentType=function(e){let t=e.some((e=>0!==e.contentType)),n=!1;return e.filter((e=>0===e.contentType)).forEach((e=>{const i=e.getItemData();i&&(i.isOrganic?n=!0:t=!0)})),t&&n?"hybrid":t?"sponsored":"organic"}(o.items),o.modeGroupsList=[];const s=e.multiWidget;return s&&(o.modeGroupsList=L(s,t,n),o.flexDirection=s.orientation,o.gap=s.gap,o.flexSize=s.flexSize),o}(e,F),F.commonPiggyBack=t.cpb;const V=N(F.modeGroupsData);return(0,y.pm)(F,V),F.sendExploreEvent=()=>function(e){const t={url:(0,h.ul)(e)};return(0,m.RK)(t)}(F),F.sendEventAvailable=function(e){return()=>e.eventSent.available?l.g.resolve(""):(e.eventSent.available=!0,(0,d.O)("UiItemsRendered",e.items.length),function(e){const t=(0,h.lj)(e);if(!t)return l.g.resolve("");if(null===b&&(b="disable"!==(0,r.w$)("bulk-available-events-strategy")&&(0,r.BC)("send-event-as-post")),b){const e=(0,r.w$)("bulk-available-events-delay");return(0,f.H)("bulk",t,e)}return(0,m.RK)(t,{isCritical:!0})}(e))}(F),F.sendEventVisible=function(e){return()=>{return t=e,(i.MC.responseSummary.isItemLevelVisible?null===(n=t.items)||void 0===n?void 0:n.every((e=>0===e.contentType&&e.isVisibleReported)):0!==t.eventSent.visible)?l.g.resolve(""):(e.eventSent.visible++,function(e){const t=function(e){var t;return{variant:i.MC.responseSummary.testAndExperiment.testVariant||null,container:null===(t=i.MC.getEntityCustomData(e))||void 0===t?void 0:t.element,placement:e.uip,baseMode:e.m,mode:e.m,itemCount:e.items.length,items:(0,u.xx)(e.items)}}(e);(0,p.k)("visible",t);const n=(0,h.Go)(e);return n?(0,m.RK)(n,{sendByBeacon:!1}):l.g.resolve("")}(e));var t,n}}(F),function(e,t){var n;if(t.js)return e.type=4,void function(e,t){const n=t.js;(0,v.n5)(n,"jsContent is undefined"),e.decodedJS=(0,g.IK)(n),e.width=t.w,e.height=t.h}(e,t);const i=t.es;if(i)return e.type=5,void function(e,t){e.containerSelector=t}(e,i);if(null===(n=t.pcp)||void 0===n?void 0:n.tps)return void(e.type=3);if(t.hpl)return void(e.type=6);const o=t.v;if(t.scapz&&t.scapz===S.EN&&!o)return void(e.type=7);if(!o)return void(e.type=0);const a=t.multiWidget,s=(0,r.BC)("suppress-render-empty-multiwidget",!0)&&!!a,l=!(a||0!==o.length&&e.mode),d=(0,c.tU)(t.ear,!1);l||s&&0===e.modeGroupsData.items.length?e.type=2:e.type=d?8:1}(F,e),F.igb=e.igb,F.pa=e.pa,F.ear=(0,I.G)(e.ear),F}function P(e,t){return n=>{var i;return null!==(i=null==t?void 0:t[n])&&void 0!==i?i:(0,r.Ol)(e,n)}}function L(e,t,n){const i=[];return e.children.forEach((r=>{const o=r.name,s={_ID:t._ID+(0,c.MZ)(),modeName:o,placement:t,entityType:4,getModeClientProperty:P(o,t.po)},l=(0,a.r)(s);l.items=function(e,t,n){const i=(0,y.cN)(e);return t.splice(0,i).map((e=>(0,_.N3)(n,e)))}(o,n||[],l),l.modeGroupsList=[],l.gap=e.gap,l.flexDirection=e.orientation,l.flexSize=r.flexSize,r.children&&(l.modeGroupsList=L(r,t,n),l.flexDirection=r.orientation),i.push(l)})),i}function N(e){return e.modeGroupsList.length?e.modeGroupsList.reduce(((e,t)=>(t.modeGroupsList.length>0&&e.push(...N(t)),e.push(...t.items),e)),[]):e.items}},5031:function(e,t,n){"use strict";n.d(t,{Jq:function(){return d},cN:function(){return c},cT:function(){return u},pm:function(){return p}});var i=n(4246),r=n(4800),o=n(8e3),a=n(2941),s=n(9642),l=n(594);function c(e,t){if(e===l.XV||e===i.gu)return 0;let n=r.Pp.innerWidth,s=0;const c=(0,o.Ol)(e,"mode-is-responsive"),d=(0,o.Ol)(e,"auto-size"),u=(0,o.Ol)(e,"rows")||1;if(c){const t=(0,o.Ol)(e,"responsive-rules");if(null==t?void 0:t.length){const e=function(e,t){let n=0;return e.forEach((e=>{const i=(e.rows||1)*(e.cells||1);(t>=e.minWidth||function(e){const t=e.maxWidth?` and (max-device-width: ${e.maxWidth}px)`:"",n=`screen and (min-device-width: ${e.minWidth}px)${t}`;if(window.matchMedia(n).matches)return!0;const i=e.maxWidth?` and (max-width: ${e.maxWidth}px)`:"",r=`(min-width: ${e.minWidth}px)${i}`;if(window.matchMedia(r).matches)return!0;if((0,a.tv)(e.minWidth))return!1;const o=e.maxWidth?` and (max-height: ${e.maxWidth}px)`:"",s=`screen and (min-height: ${e.minWidth}px)${o} and (orientation: portrait)`;return window.matchMedia(s).matches}(e))&&i>n&&(n=(e.rows||1)*(e.cells||1))})),n}(t,n);if(!(0,a.tv)(e))return e}s=function(e,t){const n=(0,o.Ol)(e,"responsive-extra-columns");return n?n*t:0}(e,u)}return d&&0!==n?(n=(null==t?void 0:t.getBoundingClientRect().width)||n,function(e,t,n,i){const r=(0,o.Ol)(e,"auto-size-rules");if(!r)return 0;let a;for(let e=r.length-1;e>=0;e--){const n=r[e],i=parseInt(n.minWc),o=parseInt(n.maxWc);if(i<=t&&t<=o){a=n;break}}return a?n<=1?a.n+i:a.n*n+i:0}(e,n,u,s)):((0,o.Ol)(e,"list-size")||0)+s}function d(e){return!!e.getModeClientProperty("recommendationReel")||!!e.getModeClientProperty("storyWidget")}function u(e){if(!e)return;const[t]=e.filter((e=>{const t=e.maxWidth?` and (max-width: ${e.maxWidth}px)`:"";return window.matchMedia(`screen and (min-width: ${e.minWidth}px)${t}`).matches}));return t}function p(e,t){(0,s.yR)(e,"items",t)}},3346:function(e,t,n){"use strict";n.d(t,{bN:function(){return d},dv:function(){return u},ko:function(){return c},xL:function(){return p}});var i=n(9102),r=n(8e3),o=n(4846),a=n(1658),s=n(2470),l=n(2381);function c(e,t){const n=t.publisherName||(null===i.MC||void 0===i.MC?void 0:i.MC.config.publisher.publisherName)||(0,a.D7)();return(0,s.$$)(`//${d(e,t.domain)}/${n}/${function(e){switch(e){case"json":return"trc/3/json";case"available":return"log/3/available";case"required-viewability-available":return"log/3/required-viewability-available";case"bulk":return"log/3/bulk";case"visible":return"log/3/visible";case"explore":return"log/3/explore";case"click":return"log/3/click";case"abtests":return"log/3/abtests";case"debug":return"log/2/debug";case"perf":return"log/3/perf";case"social":return"log/3/social";case"supply-feature":return"log/3/supply-feature";case"metrics":return"log/3/metrics";case"bulk-metrics":return"log/3/bulk-metrics";case"external-revenue":return"log/3/external-revenue";case"pubs-generic":return"log/3/pubs-generic";case"swap-data":return"log/3/swap-data";case"exclude":return"log/3/exclude";case"excludeexplain":return"log/3/excludeexplain";case"excludeundo":return"log/3/excludeundo";case"event-tracker":return"log/3/event-tracker";case"card-available":return"log/3/card-available";case"card-visible":return"log/3/card-visible";case"card-interaction":return"log/3/card-interaction";case"pa-post-auction":return"log/3/pa-post-auction";case"protected-audience":return"log/3/protected-audience";default:throw new Error("Type not exist")}}(e)}?${(0,l.lZ)(t.url)}`)}function d(e,t){if(t)return t;if(!i.MC)return(0,o.cc)("debug"===e),"trc-events.taboola.com";if(i.MC.eventsRouteOut.indexOf(e)>-1)return i.MC.userData.trcEventDomain||(0,r.w$)("default-event-route");const n=(0,r.w$)("click-event-domain");return n&&"click"===e?n:(0,r.w$)("requests-domain")}function u(e){return-1===e.indexOf("?")?"?":"&"}function p(e,t){const n=function(e){return-1===e.indexOf("#")?"#":"&"}(e),i=(0,l.lZ)(t);return i?e+n+i:e}},8468:function(e,t,n){"use strict";n.d(t,{Cx:function(){return o},EA:function(){return s},Gr:function(){return a}});var i=n(9642);const r=["4","254"];function o(e){let t=!1;return(0,i.IF)(e.widgets,((e,n)=>{const i=n.vtag;!i||(t=s(i))})),t}function a(e){let t=!1;return(0,i.IF)(e.feeds,((e,n)=>{const i=n.vsm;!i||(t=s(i))})),t}function s(e){return"true"!==e["mid-article-hip-opt-out"]&&-1!==r.indexOf(e.unitType)}},1924:function(e,t,n){"use strict";n.d(t,{a:function(){return p},w:function(){return m}});var i=n(8390),r=n(9102),o=n(3983),a=n(2381),s=n(2360);const l="Lazy Injected",c="LazyItemRegistration";let d=0,u=0;function p(e,t){const n=(0,i.e0)(),o=function(e,t){return{placementName:function(e){const t=e.indexOf("Injected");return t<0?e:`${e.substring(0,t)}${l} ${++d}`}(e.uip),originalPlacementName:e.uip,modeName:e.m,instances:[{containerId:t.id,status:0,isParsed:!1,batchIndex:-1,isDeliveredToRBox:!1}],targetType:"mix",containerIgnored:!0,byPublisher:!1,priority:1,groupName:`${c} ${++u}`,originalRequestId:e.ri,floorData:e["fp-data"]}}(e,t);n.placements=[o],r.fg.appendOptionsSummary(n)}function m(e,t){var n,i;const r=(null===(n=t.floorData)||void 0===n?void 0:n.s)||0;e.fl=null===(i=t.floorData)||void 0===i?void 0:i.fl,e.s=e.s||r,e.orig_uip=t.originalPlacementName||e.orig_uip,e.ori=t.originalRequestId;const l=(0,s.Kc)(t),c=(0,a.JY)(l,t.frameId);if(c){const t=c.getBoundingClientRect();e.cd=(0,o.XI)(t.top,2),e.mw=(0,o.XI)(t.width,2)}}},713:function(e,t,n){"use strict";n.d(t,{AQ:function(){return m},R2:function(){return p}});var i=n(8e3),r=n(9642),o=n(2672),a=n(9008),s=n(5461),l=n(3707),c=n(2941);var d=n(1427),u=n(8530);const p={updateCache(e,t){const{hasExploreMore:n,exploreMore:i}=e;n&&i&&(0,a.Py)(i.feed.fpl,t)},updateRootResponseCache(e,t,n){const i=t.d;if(!h(n)||!i.f)return;const r=(0,a.AB)(t);0!==r.length&&(t.increaseNextBatchNumber(),(0,u.lx)(r,e),(0,a.dA)(e,i.r,n))},filterResponse(e,t){var n;const o=e.features["explore-more-render"],a=(0,i.lP)("explore-more-render"),s=t.f;if(!o||!a||!s)return t;const l=null===(n=e.exploreMore)||void 0===n?void 0:n._ID;if(l&&s[l]){delete s[l],t.trecsFiltered=!0;const e=t.vl;e&&(t.vl=(0,d.X6)(l,e))}return(0,r.x7)(s)&&(0,d.Gr)(t),t},parseResponse(e){var t;const n=(0,o.s1)(e),{validItems:a,invalidItems:d}=(0,r.I$)(n,((e,t)=>!!t.exm||h(e)));if((0,r.x7)(a))return;const u=Object.keys(a)[0],p=a[u],m=p.exm,f=(0,o.j1)(e,u,p);!function(e,t){if(!(0,i.BC)("footer-overlay-show-on-em"))return;const{validItems:n}=(0,r.I$)(t,((e,t)=>!(0,c.tv)(t.fov))),o=(0,r.qG)(n);(0,c.tv)(o)||(e.fov=o.fov)}(f,n);const b=m&&function(e){try{return function(e){const{extraData:t,feedData:n,publisherId:r}=e;return{publisherId:r,title:t.title||"",css:n.css||"",backgroundColor:t.backgroundColor||"#0279f5",headerSelector:t.headerSelector||"header",feedContainerWidth:t.feedContainerWidth||"85%",isCopyOuterHTMLHeader:(0,s.KP)("desktop")||(0,i.BC)("explore-more-copy-html-outer-header"),enablePositionCorrection:((0,i.BC)("explore-more-enable-position-correction"),!(0,s.KP)("desktop")),placement:t.placement,container:t.container}}(e)}catch(e){return console.error("error at parsing explore more data",e),(0,l.i)()}}({feedData:f,extraData:m,publisherId:e.pi}),g={_ID:u,entityType:6,feed:f,options:b};return e.f=d,e.vl=null===(t=e.vl)||void 0===t?void 0:t.filter((e=>{const t=e.fpl;return t!==u||!t})),g},mergeResponseSummary(e,t){const n=e.exploreMore,i=t.exploreMore;if(!n||!i)return n||i;const r=(0,o._b)(n.feed,i.feed);return Object.assign(Object.assign({},n),{feed:r,options:n.options||i.options})},getAllPlacements(e){var t;let n=[];return null===(t=e.exploreMore)||void 0===t||t.feed.batchList.forEach((e=>{n=[...n,...e.placements]})),n}},m="Explore More";function h(e){return e===m}},576:function(e,t,n){"use strict";n.d(t,{b:function(){return l},s:function(){return c}});var i=n(8e3),r=n(8530),o=n(3983),a=n(5288),s=n(6055);const l={filterResponse(e,t){return(0,i.lP)("external-ad")&&t.vl?(t.vl=t.vl.filter((e=>{const n=(0,o.tU)(e.ear,!1);return n&&(t.trecsFiltered=!0),!n})),t):t},mergeResponseSummary(e,t){const n=e.externalAd,i=t.externalAd;return n&&i?Object.assign(Object.assign({},n),i):n||i},parseResponse(e){throw new Error(`ExternalAd parseResponse is not supposed to be call ${e}`)},updateCache(e,t){(0,r.C0)(e.externalAd,t)},updateRootResponseCache(){},getAllPlacements(e){let t=[];const n=e.externalAd;return n&&(t=[...t,n.placement]),t}};function c(e){const t=e.filter((e=>e.ear!==s.i.NONE));if(0===t.length)return;const n=t[0],i=n.items[0],r=i.pixelsTracking;return{adMarkup:(0,a.IK)(i.adMarkup),itemPixelTrackingUrls:r,placement:n,_ID:"externalAd",entityType:11}}},6055:function(e,t,n){"use strict";var i;function r(e){switch(e){case!0:case"true":return i.WON;case!1:case"false":return i.LOST;default:return i.NONE}}n.d(t,{G:function(){return r},i:function(){return i}}),function(e){e[e.NONE=1]="NONE",e[e.WON=2]="WON",e[e.LOST=3]="LOST"}(i||(i={}))},3088:function(e,t,n){"use strict";n.d(t,{C:function(){return h},J:function(){return m}});var i=n(9102),r=n(8e3),o=n(3553),a=n(9642),s=n(9008),l=n(2672),c=n(1427),d=n(2360),u=n(5219),p=n(3001);const m={updateCache(e,t){(0,a.IF)(e.feeds,((e,n)=>{const i=n.fpl;(0,s.Py)(i,t)}))},updateRootResponseCache(){},filterResponse(e,t){const n=e.features["feed-render"],i=(0,r.lP)("feed-render"),o=t.f;return n&&i&&o?((0,a.IF)(e.feeds,((e,n)=>{const i=n.fpl;if(!o[i])return;t.trecsFiltered=!0,delete o[i];const r=t.vl;r&&(t.vl=(0,c.X6)(i,r))})),(0,a.x7)(o)&&(0,c.Gr)(t),t):t},parseResponse(e){const t={},n=(0,l.s1)(e),s=0===i.MC.optionsSummary.placements.length;return(0,a.IF)(n,((n,a)=>{const m=(0,r.n$)(n);if(!m&&!(0,r.lP)("feed-render"))return;if(s)return void(0,u.JE)(`Looking for placement name ${n} in store, but no placements in store.`);if(!m)return void(0,u.JE)(`Feed with placement name ${n} was not found in store.`);if((0,d._B)(m))return void(0,u.JE)(`placement ${n} was ignored and will not be rendered`);const h=(0,d.Kc)(m),f=(0,p.uv)(document,`#${h}`);if(f){const r=(0,l.j1)(e,n,a);t[r._ID]=(0,o.r)(r),i.fg.appendEntityCustomData({entity:r,element:f})}else(0,u.JE)(`Feed container with id ${h} was not found in the DOM.`);const b=e.vl;b&&(e.vl=(0,c.X6)(n,b))})),(0,c.Gr)(e),t},mergeResponseSummary(e,t){return(0,l.V_)(e.feeds||{},t.feeds||{})},stopContent(e,t=[]){const n=e.feeds,i={},r=!t.length;return(0,a.IF)(n,((e,n)=>{r||t.indexOf(n.fpl)>-1?i[e]=(0,l.kN)(n):i[e]=n})),i},getAllPlacements(e){let t=[];return(0,a.IF)(e.feeds,(n=>{e.feeds[n].batchList.forEach((e=>{t=[...t,...e.placements]}))})),t}};function h(e){var t;return!!(null===(t=(0,r.w$)("feed-optim"))||void 0===t?void 0:t[e])}},9008:function(e,t,n){"use strict";n.d(t,{AB:function(){return s},Py:function(){return c},dA:function(){return l},f4:function(){return a}});var i=n(8530),r=n(3983),o=n(7177);function a(e,t,n){const r=e.uip,a=n.d;let c=a.r;if(a.f&&c){const a=!!c.eofb,d=(0,o.vx)(c.eofb)===n.nb;a&&d&&(c=Object.assign(Object.assign({},c),{nb:void 0,eof:!0})),l(t,c,r);const u=s(n);return 0===u.length?(t.requestList.push(e),!0):(n.increaseNextBatchNumber(),(0,i.lx)(u,t),!0)}return!1}function s(e){const t=e.nb;return e.pl.filter((e=>e.fb===t.toString()))}function l(e,t,n){var i,r;r={[n]:t},(i=e.genericResponse).f=Object.assign(Object.assign({},i.f||{}),r)}function c(e,t){if((0,i.Xe)(e,6))return;const n=t.vl||[],a=t.f,s=null==a?void 0:a[e];if(!s)return;const l=function(e,t){return function(e,t){if(t.fti)return e.d.f=!0,void e.setRequestData(t);const n=(0,r.tU)(t.eof,!1),i=t.nb,a=e.d.r;i?a.nb=(0,o.vx)(i):n?a.eofb=a.nb:a.nb=0,e.setRequestData(a)}(e,t),e}((0,i.MX)(e),s),c=(0,i.u7)(e,n);(0,i.nT)(c,l)}},2672:function(e,t,n){"use strict";n.d(t,{RL:function(){return _},V_:function(){return g},_b:function(){return y},j1:function(){return f},kN:function(){return v},s1:function(){return h}});var i=n(5219),r=n(9642),o=n(3983),a=n(1958),s=n(8846),l=n(2360),c=n(9102),d=n(8e3),u=n(4846),p=n(7177);const m={exactVisibleDistanceThresholdFromTop:200,numPlaceholderItems:3,ManualLoadNextBatch:!0,rootSelectorScrollElement:"",feedObserverLoadNextBatch:!0,firstBatchDistanceThresholdFromTop:!0,enableHistory:!0,disableLoadingCardsPlaceholder:!1,videoDisclosurePosition:void 0};function h(e){const t={};return(0,r.IF)(e.f||{},((e,n)=>{t[e]=(0,r.Go)(n)})),(e.vl||[]).forEach((e=>{const{placementName:n,productType:i}=(0,s.d)(e);"feed-render"!==i||t[n]||(t[n]={})})),t}function f(e,t,n){var r;const l=(e.vl||[]).filter((e=>{const{productType:n,placementName:i}=(0,s.d)(e);return"feed-render"===n&&i===t})).map((t=>(0,a.vc)(t,e,"feed-render"))).filter((e=>0!==e.type||((0,i.JE)(`Type of placement ${e.uip} is unknown`),!1))),d=l.length>0?l[0].fb:-1,u=e.sca,m=(0,p.vx)(n.nbdt)||2e3,h=!!l.filter((e=>!!e.items.length)).length,f=function(e){var t;const n=null===(t=c.MC.responseSummary)||void 0===t?void 0:t.feeds;if(n)return _(e,n)}(t)||{},g=Object.assign(Object.assign(Object.assign(Object.assign({},f),{_ID:`${t}_${(0,o.MZ)()}`,entityType:2}),n),{batchList:[{fb:d,placements:l}],fpl:t,drp:b(n.drp),currentBatch:d,nbdt:m,hasNewContent:h,hasFeedEnded:(0,o.tU)(n.eof,!1),hasStoppedContent:!1,sca:u,fov:n.fov,uuip:null===(r=l[0])||void 0===r?void 0:r.uuip});return g.batchList[0].placements.forEach((e=>{e.parent=g})),g}function b(e){if(!e)return m;const t={};return(0,r.IF)(m,(n=>{var i;t[n]=null!==(i=e[n])&&void 0!==i?i:m[n]})),t}function g(e,t){const n={};return(0,r.IF)(e,((e,t)=>{n[e]=y(t,{})})),(0,r.IF)(t,((e,t)=>{const i=t.fpl,r=(0,l.Cv)(i,c.MC.optionsSummary.placements);if(!r&&(0,d.lP)("feed-render"))return;(0,u.n5)(r,`Placement ${i} not found in placements in store placement list`);const o=_(i,n);o?n[o._ID]=y(o,t):n[e]=y(t,{})})),n}function v(e){return e.hasStoppedContent?e:Object.assign(Object.assign({},e),{hasFeedEnded:!0,hasStoppedContent:!0})}function _(e,t){const n=function(e,t){return(0,r.WP)(t).filter((([,t])=>t.fpl===e)).map((([,e])=>e))}(e,t);return n.filter((e=>!e.hasFeedEnded))[0]}function y(e,t){return Object.assign(Object.assign(Object.assign({},e),t),{_ID:e._ID,batchList:[...e.batchList||[],...t.batchList||[]]})}},706:function(e,t,n){"use strict";n.d(t,{EN:function(){return x},aw:function(){return C},du:function(){return k},pQ:function(){return E}});var i=n(8242),r=n(5461),o=n(2941),a=n(8e3),s=n(1924),l=n(5637),c=n(9102),d=n(3983),u=n(3001);const p=500,m=1e3,h=480,f=800,b=[],g=[],v=[],_="Lazy Injected",y="above-the-feed-placement",w="pad-down",x="premium_brand_zone";function C(e){const t=(0,a.BC)("trecs-atf-code-activated",!1),n=!(0,o.tv)(e.scapz)&&e.scapz===x;return t&&n}function E(e){const{placementContainer:t,placementData:n,feedPlacementElement:r,headerElement:o}=e;n["fp-data"]&&((0,i.x)("https://fonts.googleapis.com/css2?family=Poppins:ital,wght@0,100;0,200;0,300;0,400;0,500;0,600;0,700;0,800;0,900;1,100;1,200;1,300;1,400;1,500;1,600;1,700;1,800;1,900&display=swap%27","poppins-font"),(0,a.BC)("trecs-atf-delay-adjustion",!1)?setTimeout((()=>{T(t,r,o)}),m):T(t,r,o),(0,u.ET)(t,y),(0,i.x)(' div.tbl-feed-card[class*=above-the-feed-premium]:not([class*=scrollable-carousel],.taboola-connect-placement){width:100vw;position:relative;box-shadow:none}div.tbl-feed-card[class*=above-the-feed-premium]:not([class*=scrollable-carousel],.taboola-connect-placement).pad-down{margin-bottom:40px !important}div.tbl-feed-card[class*=above-the-feed-premium]:not([class*=scrollable-carousel],.taboola-connect-placement).tbl-rtl .videoCube .video-cta-href button.video-cta-button{left:15px;right:auto}div.tbl-feed-card[class*=above-the-feed-premium]:not([class*=scrollable-carousel],.taboola-connect-placement)[id*=trc_wrapper]{width:unset;max-width:unset}div.tbl-feed-card[class*=above-the-feed-premium]:not([class*=scrollable-carousel],.taboola-connect-placement)+.tbl-feed-header{margin-top:30px}div.tbl-feed-card[class*=above-the-feed-premium]:not([class*=scrollable-carousel],.taboola-connect-placement) *{font-family:"Poppins" !important}div.tbl-feed-card[class*=above-the-feed-premium]:not([class*=scrollable-carousel],.taboola-connect-placement) .background-img{position:absolute;top:0;left:0;width:100%;height:100%;background-position:top;background-size:cover;display:flex;flex-direction:column;justify-content:end;background-repeat:no-repeat}div.tbl-feed-card[class*=above-the-feed-premium]:not([class*=scrollable-carousel],.taboola-connect-placement) .background-gradient{position:absolute;top:0;left:0;width:100%;height:100%;background:linear-gradient(0deg, rgb(0, 0, 0) 31%, rgba(255, 255, 255, 0) 60%)}div.tbl-feed-card[class*=above-the-feed-premium]:not([class*=scrollable-carousel],.taboola-connect-placement) .item-label-href{display:flex;flex-direction:column;justify-content:end;position:relative}div.tbl-feed-card[class*=above-the-feed-premium]:not([class*=scrollable-carousel],.taboola-connect-placement) .item-label-href::before{content:"";width:100%;height:100px;position:absolute;top:-98px;background:-webkit-linear-gradient(bottom, rgb(0, 0, 0) 0%, rgba(0, 0, 0, 0) 100%);background:-webkit-gradient(linear, left top, left bottom, from(rgba(0, 0, 0, 0)), to(rgb(0, 0, 0)));background:-o-linear-gradient(bottom, rgb(0, 0, 0) 0%, rgba(0, 0, 0, 0) 100%);background:linear-gradient(to top, rgb(0, 0, 0) 0%, rgba(0, 0, 0, 0) 100%)}div.tbl-feed-card[class*=above-the-feed-premium]:not([class*=scrollable-carousel],.taboola-connect-placement) .ie-gradient-fill{top:-100px;height:100px;width:100%;position:absolute;background:-webkit-linear-gradient(to bottom, rgba(0, 0, 0, 0) 0%, rgb(1, 0, 0) 100%);background:-o-linear-gradient(to bottom, rgba(0, 0, 0, 0) 0%, rgb(1, 0, 0) 100%);background:linear-gradient(to bottom, rgba(0, 0, 0, 0) 0%, rgb(1, 0, 0) 100%)}div.tbl-feed-card[class*=above-the-feed-premium]:not([class*=scrollable-carousel],.taboola-connect-placement) .video-label-box{position:relative;top:-10px;padding:0 15px}div.tbl-feed-card[class*=above-the-feed-premium]:not([class*=scrollable-carousel],.taboola-connect-placement) .video-title{-webkit-line-clamp:2 !important;color:#fff !important}div.tbl-feed-card[class*=above-the-feed-premium]:not([class*=scrollable-carousel],.taboola-connect-placement) .video-description{color:#fff !important}div.tbl-feed-card[class*=above-the-feed-premium]:not([class*=scrollable-carousel],.taboola-connect-placement) .logoDiv a span{font-size:12px !important;color:#bbb}div.tbl-feed-card[class*=above-the-feed-premium]:not([class*=scrollable-carousel],.taboola-connect-placement) .trc_rbox_outer{padding:0 !important}div.tbl-feed-card[class*=above-the-feed-premium]:not([class*=scrollable-carousel],.taboola-connect-placement) .trc_rbox_outer .trc_rbox_div{margin-bottom:0}div.tbl-feed-card[class*=above-the-feed-premium]:not([class*=scrollable-carousel],.taboola-connect-placement) .tbl-feed-card .trc_rbox_container .trc_rbox_header{display:none !important}div.tbl-feed-card[class*=above-the-feed-premium]:not([class*=scrollable-carousel],.taboola-connect-placement) .videoCube:not(.taboola-connect-item){margin-bottom:0 !important;background-color:#000 !important}div.tbl-feed-card[class*=above-the-feed-premium]:not([class*=scrollable-carousel],.taboola-connect-placement) .videoCube:not(.taboola-connect-item) .video-cta-href button.video-cta-button{display:flex;justify-content:center;align-items:center;height:30px;background-color:#fff;position:absolute;right:15px;bottom:6px;border-radius:33px;font-size:14px;color:#000 !important;width:auto;font-weight:400 !important;padding:0 13px}div.tbl-feed-card[class*=above-the-feed-premium]:not([class*=scrollable-carousel],.taboola-connect-placement) .videoCube:not(.taboola-connect-item) .video-cta-href{display:block;position:static;margin:0 !important}div.tbl-feed-card[class*=above-the-feed-premium]:not([class*=scrollable-carousel],.taboola-connect-placement) video-cta-style{width:auto}div.tbl-feed-card[class*=above-the-feed-premium]:not([class*=scrollable-carousel],.taboola-connect-placement) video-cta-style .video-label-box.video-label-box-cta{display:block}div.tbl-feed-card[class*=above-the-feed-premium]:not([class*=scrollable-carousel],.taboola-connect-placement) .branding{margin:8px 0;max-width:75%}div.tbl-feed-card[class*=above-the-feed-premium]:not([class*=scrollable-carousel],.taboola-connect-placement) .thumbBlock .branding{display:none !important}@media(min-width: 480px){div.tbl-feed-card[class*=above-the-feed-premium]:not([class*=scrollable-carousel],.taboola-connect-placement){position:relative;border-radius:16px !important;overflow:hidden;max-width:600px;width:75%;margin:auto !important}div.tbl-feed-card[class*=above-the-feed-premium]:not([class*=scrollable-carousel],.taboola-connect-placement) .branding{margin-top:10px}div.tbl-feed-card[class*=above-the-feed-premium]:not([class*=scrollable-carousel],.taboola-connect-placement) .cta-button{width:130px;height:30px}div.tbl-feed-card[class*=above-the-feed-premium]:not([class*=scrollable-carousel],.taboola-connect-placement) .videoCube{border-radius:14px 14px 0 0}}',"above-the-feed-card-style"),(0,s.a)(n,t),v.push(n.ri),c.MC.onReset(S))}function k(e){if(!e)return!1;const t=e.uip,n=e.ri;return(null==t?void 0:t.includes(_))&&v.includes(n)}function T(e,t,n){if(function(e){return((0,r.KP)("mobile")||(0,l.I7)("a10"){!function(e,t){e.some((e=>"attributes"===e.type&&"style"===e.attributeName&&(I(t),!0)))}(t,e)}),p),i=new MutationObserver(n);b.push(i),i.observe(e,t)}I(e),function(e,t){const n=function(e){let t=e.parentElement;for(;t;){if(R(t))return t;t=t.parentElement}return null}(t);n&&function(e,t){const n=t.offsetWidth,i=(0,l.I7)("a10")-n;e.style.width=`${n}px`,e.style.transform=`translateX(-${i/2}px)`}(e,n)}(e,t)}!function(e,t){const n=(0,r.KP)("desktop")||(0,l.I7)("a10")>f,i=!t||t&&0===t.offsetHeight;n&&i&&(0,u.ET)(e,w)}(e,n);const i=()=>function(e){if(!((0,l.I7)("a10")<=(0,l.I7)("a11"))){if((0,l.I7)("a10")window.removeEventListener("resize",e))),b.forEach((e=>e.disconnect()))}},2526:function(e,t,n){"use strict";n.d(t,{X:function(){return y}});var i=n(5219),r=n(3001),o=n(8242),a=n(2120),s=n(3707),l=n(4800),c=n(5288),d=n(7766),u=n(7243),p=n(4846);const m="INNER",h=490,f="",b="Show More",g="Show Less",v="",_={fbc:"#fff",fh:60,bt:28,bb:10,fg:40,ch:490};class y{constructor(e,t){this._styleIndex=1,this.createExpandButton=()=>this.createButton(this._options.ebc,this.handleExpandClick,"tbl-expand-btn-container"),this.createCollapseButton=()=>this.createButton(this._options.cbc,this.handleCollapseClick,"tbl-collapse-btn-container"),this.handleExpandClick=e=>{this.disableEventHandlers(e),this._isExpanded||this.addExpandClasses()},this.handleCollapseClick=e=>{this.disableEventHandlers(e),this.addCollapseClasses(),this._element.scrollIntoView&&this._element.scrollIntoView()},this.handleIframeClick=()=>{const e=document.activeElement;let t=null;e&&(0,c.XD)(e,".tbl-feed-card iframe")&&(t=(0,c.vP)(e," .tbl-feed-card")),t!==this._element||this._isExpanded||this.addExpandClasses()},this._options=this.mergeOptions(t),this._collapsedHeight=Number(this._options.ch),this._element=e,this._isExpanded=!1,e?(this._elementResizeObserver=(0,u.W)(this.onResizeChange.bind(this)),this._elementResizeObserver.observe(this._element)):(0,i.JE)(`Cannot find expandable card element by ID: ${e}`)}cleanUp(){var e,t,n;this._element=(0,s.i)(),null===(e=this._unsubscribeBlur)||void 0===e||e.call(this),null===(t=this._unsubscribeClick)||void 0===t||t.call(this),this._unsubscribeBlur=void 0,this._unsubscribeClick=void 0,null===(n=this._elementResizeObserver)||void 0===n||n.disconnect(),this._elementResizeObserver=(0,s.i)()}onResizeChange(e){var t;const n=e[0].contentRect;(0,p.n5)(n,"ExpandableCard renderExpandablePlacement no content"),n.height>this._collapsedHeight&&(this.collapseCard(),null===(t=this._elementResizeObserver)||void 0===t||t.disconnect())}collapseCard(){(0,r.ET)(this._element,"tbl-collapsed"),this.handleCss(Object.assign(Object.assign({},_),this._options)),this.createButtons()}handleCss(e){const t=` #_boxId__.tbl-expanded{max-height:inherit}#_boxId__.tbl-expanded .tbl-collapse-btn-container{display:block;padding:0 5px}#_boxId__.tbl-collapsed{max-height:${e.ch}px;overflow:hidden;position:relative}#_boxId__.tbl-collapsed .tbl-expand-btn-container{display:block}#_boxId__ .tbl-expandable-box-btn{margin:${e.bt}px 0 ${e.bb}px !important;display:inline-block !important;line-height:38px !important;text-align:center !important;white-space:nowrap !important;vertical-align:middle !important;cursor:pointer !important;-webkit-touch-action:manipulation;-moz-touch-action:manipulation;-ms-touch-action:manipulation;-o-touch-action:manipulation;touch-action:manipulation;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;-o-user-select:none;user-select:none;color:#326891 !important;background:#edf2f5 none !important;border:1px solid #93abbc !important;height:38px !important;width:100% !important;font-size:15px !important;font-weight:bold !important;border-radius:3px !important;font-family:sans-serif !important}#_boxId__ .tbl-expandable-box-btn:hover{background-color:#bed0dc !important;border-color:#7399b3 !important;color:#326891 !important}#_boxId__ .tbl-expandable-box-btn-container{display:none;text-align:center}#_boxId__ .tbl-expand-btn-container{position:absolute;z-index:100;left:0;right:0;bottom:0;padding:${e.fh}px 10px 0px 10px;box-sizing:border-box;background:-moz-linear-gradient(top, rgba(255, 255, 255, 0) 0%, ${e.fbc} ${e.fg}%, ${e.fbc} 100%);background:-webkit-gradient(linear, left top, left bottom, color-stop(0%, rgba(255, 255, 255, 0)), color-stop(50%, ${e.fbc}), color-stop(100%, ${e.fbc}));background:-webkit-linear-gradient(top, rgba(255, 255, 255, 0) 0%, ${e.fbc} ${e.fg}%, ${e.fbc} 100%);background:-o-linear-gradient(top, rgba(255, 255, 255, 0) 0%, ${e.fbc} ${e.fg}%, ${e.fbc} 100%);background:-ms-linear-gradient(top, rgba(255, 255, 255, 0) 0%, ${e.fbc} ${e.fg}%, ${e.fbc} 100%);background:linear-gradient(to bottom, rgba(255, 255, 255, 0) 0%, ${e.fbc} ${e.fg}%, ${e.fbc} 100%)}`.replace(/_boxId__/g,this._element.id);(0,o.x)(t,`expendableCardStyle-${this._styleIndex}`),this._styleIndex++}createButtons(){this._element.appendChild(this.createExpandButton()),this._element.appendChild(this.createCollapseButton())}createButton(e,t,n){const i=(0,a.W)("div",{classList:["tbl-expandable-box-btn-container",n]}),r=(0,a.W)("a",{classList:["tbl-expandable-box-btn"],content:e});return this._unsubscribeClick=(0,d.ET)("click",r,t),i.appendChild(r),i}addExpandClasses(){const e=this._element;(0,r.ET)(e,"tbl-expanded"),(0,r.Yw)(e,"tbl-collapsed"),this._isExpanded=!0}addCollapseClasses(){const e=this._element;(0,r.ET)(e,"tbl-collapsed"),(0,r.Yw)(e,"tbl-expanded"),this._isExpanded=!1}disableEventHandlers(e){e.preventDefault(),e.stopPropagation()}listenToCardIframeChildClick(){this._unsubscribeBlur||(this._unsubscribeBlur=(0,d.ET)("blur",l.Pp,this.handleIframeClick))}mergeOptions(e){var t,n,i,r,o,a;return{et:null!==(t=e.et)&&void 0!==t?t:m,ch:null!==(n=e.ch)&&void 0!==n?n:h,tps:null!==(i=e.tps)&&void 0!==i?i:f,ebc:null!==(r=e.ebc)&&void 0!==r?r:b,cbc:null!==(o=e.cbc)&&void 0!==o?o:g,cpad:null!==(a=e.cpad)&&void 0!==a?a:v}}}},1427:function(e,t,n){"use strict";n.d(t,{sH:function(){return f},Gr:function(){return v},X6:function(){return g},$M:function(){return b},Nj:function(){return _}});var i=n(3983),r=n(2120),o=n(3001),a=n(8242),s=n(8e3),l=n(7177);let c;function d(e){return`[data-feed-main-container-id="${e.dataset.feedMainContainerId}"]`}let u=-1;var p=n(6533),m=n(9102),h=n(2409);function f(e,t){const n=(0,s.BC)("enable-feed-header-logo"),a=(0,i._i)(e.feedHeaderData),l=function(e){const t=["tbl-feed-header"];return e&&t.push(`tbl-logo-${e.toLowerCase()}-position`),(0,r.W)("div",{classList:t})}(e.logoPosition),c=(0,r.W)("div",{classList:["tbl-feed-header-logo"]});return l.appendChild(c),(0,h.Q)(l,t,e.logoPosition)||n||a?(n||(0,o.ET)(c,"tbl-feed-header-hide-logo"),a&&function(e,t){const n=(0,r.W)("div",{classList:["tbl-feed-header-text"],content:t});(0,o.ET)(e,"tbl-header-with-text"),e.appendChild(n)}(l,e.feedHeaderData.headerText),l):(l.style.display="none",l)}function b(e,t,n){const i=[];e.batchList.forEach((e=>{e.placements.forEach((e=>{t(e,i)}))})),n(i)}function g(e,t){return t.filter((t=>{const n=t.fpl;return n!==e||!n}))}function v(e){e.f=void 0}function _(e,t){!function(e,t){const n=[["data-feed-container-num",String(t.containerNum)],["data-feed-main-container-id",t.mainContainerId],["data-parent-placement-name",t.feedData.fpl],["data-pub-lang",m.MC.config.publisher.language]];for(const[t,i]of n)e.setAttribute(t,i)}(e,t),function(e){(0,o.ET)(e,p.N),m.MC.config.runtime.isAMP&&((0,o.ET)(e,"tbl-amp-container"),e.style.position="static")}(e),function(e,t){c=e.fui||{};const n=function(e,t){const n=[' .tbl-loading-spinner.tbl-loading-cards-placeholder{background:rgba(0,0,0,0);background-size:100%;height:auto;margin-top:40px}.tbl-placeholder-card{background:#f6f7f9;height:125px;overflow:hidden;position:relative;margin-bottom:48px}.tbl-placeholder-card:before{background-color:#f6f7f9;background-image:url(//cdn.taboola.com/static/91/9117a6d9-cbf1-4ea6-8caa-7461ce6554bc.gif);background-repeat:repeat-y;background-size:100% 1px;content:" ";display:block;height:100%}.tbl-masker{position:absolute;width:calc(100% - 190px - 24px);background-color:#fff;box-sizing:content-box;border-color:#fff;border-style:solid;border-left-width:24px}.tbl-first-row-pl,.tbl-second-row-pl,.tbl-third-row-pl{background:rgba(0,0,0,0);z-index:1}.tbl-first-row-pl{top:0;height:18px;left:190px;border-top-width:11px;border-bottom-width:18px}.tbl-second-row-pl{top:47px;height:18px;left:190px;border-top-width:0;border-bottom-width:18px}.tbl-third-row-pl{top:83px;height:15px;left:190px;border-top-width:0;border-bottom-width:35px}.tbl-last-row-right-padding{top:83px;left:calc(30% + 130px);width:100%;height:15px;border-width:0}.tbl-img-top-padding,.tbl-img-bottom-padding,.tbl-first-col-padding{display:none}.tbl-second-col-padding{display:block;width:24px;height:100%;border-width:0;top:0;right:0}.render-late-effect.tbl-feed-container .thumbBlock{opacity:0;transition:opacity .75s}.render-late-effect.tbl-feed-container .thumbBlock[style*=background-image]{opacity:1}.tbl-loading-placeholder-dir-rtl .tbl-masker{border-right-width:24px}.tbl-loading-placeholder-dir-rtl .tbl-first-row-pl,.tbl-loading-placeholder-dir-rtl .tbl-second-row-pl,.tbl-loading-placeholder-dir-rtl .tbl-third-row-pl{right:190px;left:auto}.tbl-loading-placeholder-dir-rtl .tbl-last-row-right-padding{right:calc(30% + 130px);left:auto}.tbl-loading-placeholder-dir-rtl .tbl-second-col-padding{right:auto;left:0}@media screen and (max-width: 480px)and (min-width: 0px){.tbl-loading-spinner.tbl-loading-cards-placeholder{margin-top:8px}.tbl-placeholder-card{height:87px;margin-bottom:8px}.tbl-masker{width:calc(100% - 114px - 12px);border-left-width:12px}.tbl-loading-placeholder-dir-rtl .tbl-masker{border-right-width:12px}.tbl-first-row-pl{top:0;height:10px;left:114px;border-top-width:16px;border-bottom-width:10px}.tbl-second-row-pl{top:36px;height:10px;left:114px;border-top-width:0;border-bottom-width:11px}.tbl-third-row-pl{top:57px;height:8px;left:114px;border-top-width:0;border-bottom-width:22px}.tbl-last-row-right-padding{top:57px;height:8px}.block-no-border,.tbl-first-col-padding,.tbl-img-bottom-padding,.tbl-img-top-padding{display:block;border-width:0}.tbl-img-top-padding{height:10px;width:100%;top:0}.tbl-img-bottom-padding{height:10px;width:100%;bottom:0}.tbl-first-col-padding{height:100%;width:8px;top:0;left:0}.tbl-second-col-padding{display:none}.tbl-loading-placeholder-dir-rtl .tbl-first-col-padding{right:0;left:auto}.tbl-loading-placeholder-dir-rtl .tbl-first-row-pl,.tbl-loading-placeholder-dir-rtl .tbl-second-row-pl,.tbl-loading-placeholder-dir-rtl .tbl-third-row-pl{right:114px;left:auto}}'],r=d(t);if(e.css){const t=e.css||"",i=(u=r,(0,o.uo)(t).replace(/{FEED_MAIN_CONTAINER_ID_ATT}/g,u));n.push(i)}else{const e=` ${a=r} { position: relative; margin-top: 20px; margin-bottom: 20px; -webkit-text-size-adjust: 100%; clear: both; } ${a} .tbl-feed-header { padding: 5px; background-color: #ffffff; display: inline-block; } ${a} .tbl-feed-header-logo { background: url(//cdn.taboola.com/static/1e/1e20e8ff-b903-43c3-81e2-8f9e185614d9.svg) no-repeat 0 0; background-size: contain; height: 11px; width: 76px; display: inline-block; } ${a} .tbl-feed-header-hide-logo { background: unset !important; background-size: unset !important; height: 0 !important; } ${a} .tbl-feed-header-hide-logo:only-child { display: none !important; } ${a} .tbl-loading-spinner { margin-bottom: 10px; } ${a} .tbl-feed-card { margin-bottom: 10px; background-color: #ffffff; border: 1px solid #f1f1f1; } ${a} .tbl-feed-abp { max-width: 770px; margin: 20px auto 0; } /** Mobile CSS Rules **/ @media screen and (max-width: 480px) { ${a} { padding: 0; background-color: #ffffff; } ${a} .tbl-feed-header { margin-left: 2px; padding: 5px 0; } ${a} .tbl-feed-card { margin-bottom: 5px; padding-bottom: 5px; border-width: 0; border-bottom: 4px solid #f1f1f1; } ${a} .trc_header_ext, ${a} .trc-widget-footer { padding-right: 3px; } } /** End of Mobile CSS Rules **/ `;n.push(e)}var a,u;if(n.push(function(e,t){const n=[];"FULL_WIDTH"===(e.fml||c.layout)&&n.push(function(e){const t=function(e){const t=e.match(/-split-num-(\d+)/);return(0,l.vx)(null==t?void 0:t[1])}(e.id),n=e.parentElement||e,i=(t?n:e).getBoundingClientRect();if(0===i.width)return"";const{leftMargin:r,rightMargin:o}=function(e){const t=e.width,n=document.documentElement.clientWidth,i=-1*e.left;return{leftMargin:i,rightMargin:-1*(n-t-Math.abs(i))}}(i);if(!r&&!o||!e.offsetParent)return"";let a=`#${e.id}.tbl-feed-container.tbl-feed-full-width`;return t&&(a+=`[data-feed-container-num="${t+1}"]`),`@media screen and (max-width: 480px) { ${a} { margin-left: ${r}px; margin-right: ${o}px; } }`}(t));const r=d(t),o=c.feedBackgroundColor||c.feedBackground;if(n.push(`${r}[data-feed-container-num] {background-color: ${o}; padding: ${c.feedPadding};}`),"NONE"===c.logoPosition?n.push(`${r} .tbl-feed-header .tbl-feed-header-logo {display:none;}`):n.push(`${r} .tbl-feed-header {padding: 0px 5px 10px 5px; background: transparent; text-align: initial; display: table; width: 100%;}`),n.push(".tbl-feed-header-hide-logo {background: unset !important; background-size: unset !important; height: 0 !important;}"),n.push(".tbl-feed-header-hide-logo:only-child {display: none !important;}"),(0,i._i)(c.feedHeaderData)){const{headerFontSize:e="20px",headerFontFamily:t="Arial, Helvetica, sans-serif",headerColor:i="#000000",headerFontStyle:o="normal"}=c.feedHeaderData;n.push(`${r} .tbl-feed-header .tbl-feed-header-text {font-size: ${e}; color: ${i}; line-height: ${e}; font-family: ${t}; font-weight: ${o}}`)}return n.join("")}(e,t)),e.pfcss){const t=(0,o.uo)(e.pfcss);n.push(t)}if(e.fcss){const t=(0,o.uo)(e.fcss);n.push(t)}const p=n.join("");return(0,s.BC)("enable-scope-feed-css")?function(e,t){const n=d(t);return(0,i.dz)(e,".tbl-feed-container",n)}(p,t):p}(e,t);!function(e){const t=["tbl-feed-container","render-late-effect"];switch(c.layout){case"FULL_WIDTH":t.push("tbl-feed-full-width");break;case"PARTIAL_WIDTH":t.push("tbl-feed-partial-width")}c.cardFrame&&t.push(`tbl-feed-frame-${c.cardFrame}`),(0,o.ET)(e,...t)}(t),(0,a.x)(n,(u++,`feedUiCss-${u}`))}(t.feedData,e)}},7118:function(e,t,n){"use strict";n.d(t,{e:function(){return l}});var i=n(8e3),r=n(3553),o=n(1958),a=n(9642),s=n(8530);const l={filterResponse(e,t){return(0,i.lP)("hp4u")&&t.vl?(t.vl=t.vl.filter((e=>{const n=!!e.hpl;return n&&(t.trecsFiltered=!0),!n})),t):t},mergeResponseSummary(e,t){const n=e.organicPersonalization,i=t.organicPersonalization;return n&&i?Object.assign(Object.assign(Object.assign({},n),i),{regions:[...(null==n?void 0:n.hp4uRegions)||[],...(null==i?void 0:i.hp4uRegions)||[]]}):n||i},parseResponse(e){var t,n;const i=e.op||{};let s=e.vl||[];if(s=s.filter((e=>e.hpl)),0===s.length)return;const l=(0,r.r)(Object.assign(Object.assign({},i),{_ID:"hp4u",entityType:7}));i&&(null!==(t=l.ks)&&void 0!==t||(l.ks=!1),l.reg||(l.reg=[]),l.snz||(l.snz=[]),l.hp4uRegions||(l.hp4uRegions=[]));const c={};for(const t of s){const n=t.hpl;n===(t.uuip||t.uip)&&(c[n]||(c[n]=[]),c[n].push((0,o.vc)(t,e,"hp4u")))}return(0,a.IF)(c,(e=>{l.hp4uRegions.push({name:e,placements:c[e]})})),e.vl=null===(n=e.vl)||void 0===n?void 0:n.filter((e=>!e.hpl)),l},updateCache(e,t){(0,s.C0)(e.organicPersonalization,t)},updateRootResponseCache(){},getAllPlacements(e){var t;let n=[];const i=null===(t=e.organicPersonalization)||void 0===t?void 0:t.hp4uRegions;return null==i||i.forEach((e=>{n=[...n,...e.placements]})),n}}},3544:function(e,t,n){"use strict";n.d(t,{r:function(){return p}});var i=n(8530),r=n(1958),o=n(9642),a=n(8e3),s=n(3553),l=n(5031),c=n(9102),d=n(2120),u=n(2538);const p={updateCache(e,t){const{nextUp:n}=e;(0,i.C0)(n,t,(e=>{var n;const i=null===(n=t.prods)||void 0===n?void 0:n.nup;i&&e.setRequestData(i)}))},updateRootResponseCache(e,t,n){if(!function(e){return e===m}(n))return;const r=t.d.r;e.genericResponse.prods||(e.genericResponse.prods={}),e.genericResponse.prods.nup=Object.assign(Object.assign({},e.genericResponse.prods.nup),r);const o=t.pl;(0,i.lx)(o,e)},filterResponse(e,t){var n;return(0,a.lP)("next-up-render")?(t.vl=null===(n=t.vl)||void 0===n?void 0:n.filter((e=>!e.nup||(t.trecsFiltered=!0,!1))),t):t},parseResponse(e){const t=function(e){let t;return(e.vl||[]).some((e=>{if(e.nup)return t=e,!0})),t}(e);if(!t)return;const n=(0,d.W)("div"),i=(0,r.vc)(t,e,"next-up-render");t.nup.btnText=function(e,t){var n,i;const r=null===(i=null===(n=t.tslt)||void 0===n?void 0:n["next-up"])||void 0===i?void 0:i.BTN_TEXT,o=e.btnText,a=u.Xd.BTN_TEXT;return r||o||a}(t.nup,e);const a=(0,s.r)(Object.assign(Object.assign(Object.assign({},i),t.nup),{entityType:8}));return(0,l.pm)(a,i.items),c.fg.appendEntityCustomData({entity:a,element:n}),function(e,t){var n;(function(e){const t=e.prods||{};1===(0,o.kq)(t)&&t.nup?e.prods=void 0:t.nup=void 0})(e),e.vl=null===(n=e.vl)||void 0===n?void 0:n.filter((e=>e.uip!==t))}(e,t.uip),a},mergeResponseSummary(e,t){return e.nextUp||t.nextUp},getAllPlacements(e){let t=[];const n=e.nextUp;return n&&(t=[...t,n]),t}},m="Next Up"},9053:function(e,t,n){"use strict";n.d(t,{x3:function(){return s},CF:function(){return c}});var i,r,o=n(3553),a=n(8530);n(9102),n(5219),n(5461),(r=i||(i={})).AUCTION_STARTED="pa-auction-started",r.AUCTION_WON="pa-auction-won",r.AUCTION_SKIPPED="pa-auction-skipped",r.AUCTION_FAILED="pa-auction-failed",r.REQUEST_ITEM_FROM_TRC="pa-request-item-from-trc",r.SEND_ITEM_TO_IFRAME="pa-request-send-item-to-iframe",r.TRC_FORCE_ITEM_SEND_REQUEST="pa-force-item-send-request",r.TRC_FORCE_ITEM_GOT_RESPONSE="pa-force-item-got-response",r.TRC_FORCE_ITEM_GOT_EMPTY_RESPONSE="pa-force-item-got-empty-response",r.TRC_FORCE_ITEM_NOT_VALID_RESPONSE="pa-force-item-response-is-not-valid",r.TRC_FORCE_ITEM_SEND_REQUEST_FAILED="pa-force-item-request-failed",n(377),n(8e3),n(3983);const s={filterResponse(e,t){return t},mergeResponseSummary(e,t){const n=e.protectedAudience,i=t.protectedAudience;return n&&i?Object.assign(Object.assign({},n),i):n||i},parseResponse(e){var t;const n=e.sac;if(n)return(0,o.r)(Object.assign(Object.assign({_ID:"protectedAudience",entityType:10},n),{config:{global:null===(t=e.pa)||void 0===t?void 0:t.config}}))},updateCache(e,t){(0,a.C0)(e.protectedAudience,t)},updateRootResponseCache(){},getAllPlacements(e){return[]}},l={"feed-render":"feed","widget-render":"widget"};function c(){const e=l["feed-render"]||"feed-render",t=l["widget-render"]||"widget-render";return{[e]:!1,[t]:!1}}},22:function(e,t,n){"use strict";n.d(t,{J0:function(){return u},ME:function(){return f},QP:function(){return h},U9:function(){return p},WR:function(){return b},rb:function(){return m},sl:function(){return d},v0:function(){return c}});var i=n(4245),r=n(3001),o=n(8e3),a=n(5989),s=n(2120),l=n(7177);function c(e){return"autowidget-template-text-links"===e.getModeClientProperty("widget-creator-layout")}function d(e,t){const n=1===e.cells?100:48,r="rtl"===(0,o.T8)("direction"),{modeName:a,ID:s}=t,l=r?"right":"left",c=r?"left":"right",d=`trc_tl_responsive_${(0,i.d5)(a,s)}`,u=`.${d} .trc_rbox_div .videoCube {width: ${n}%;}`,p=`.${d} .trc_header_left_column {width: ${n}%;}`,m=`.${d} .trc_header_right_column {display: ${1===e.cells?"none":"inline"};}`,h=`.${d} .trc_rbox_div div.videoCube:nth-of-type(-n+${e.rows}){float:${l};clear:${l};}`;let f="";return f+=`.${d} .trc_rbox_div div.videoCube:nth-of-type(n+${e.rows+1}){float:none;clear:${c};margin-${l}:auto;}`,f+=h,f+=u,f+=p,f+=m,f}function u(e,t,n){if(!c(e))return;const i=!!e.getModeClientProperty("mode-is-responsive"),a=function(e,t,n){const i=["trc_tl"];if(!n)return i;const r=(0,o.BC)("enable-responsive-css-reuse")?`trc_tl_responsive_${e}`:`trc_tl_responsive_trc_${t}`;return i.push("trc_tl_responsive",r),i}(e.modeName,t,i);(0,r.ET)(n,...a)}function p(e,t,n){const i=[];return e||t>=n/2&&i.push("trc_tl_right_col"),i}function m(e,t){const n=((null==e?void 0:e.split(","))||[]).filter((e=>e));return n.length?n.map((e=>function(e,t){const n=t.parentElement;if(!n)return;const i=(0,r.b_)(n,"span").filter((t=>-1!==t.className.indexOf(e)));return i[0]}(e,t))).filter((function(e){return!!e})):[]}function h(e){return e.length?e.reduce(((e,t)=>e+function(e){const t=e.textContent;if(!t)return 0;const n=getComputedStyle(e),i=(0,l.vx)(n.marginRight)||0,r=(0,a.N4)(n);return(0,a.vw)(r,t),(0,a.Np)(t,r)+i}(t)),0):0}function f(e,t){if(!e||!t)return;const n=m(e,t);n.length&&n.forEach((e=>{e.style.display="inline-block",e.style.verticalAlign="middle"}))}function b(e,t){t.length&&t.filter((t=>!e.contains(t))).forEach((t=>{!function(e){const t=(0,s.W)("span",{classList:["trc_inline_detail_spacer"],content:" "});e.appendChild(t)}(e),function(e,t){e.insertBefore(t,null)}(e,t)}))}},9174:function(e,t,n){"use strict";n.d(t,{C:function(){return s},k:function(){return a}});var i=n(3320),r=n(5288),o=n(1246);function a(e){const t=(0,r.vP)(e,"a");if(t&&function(e){const t=e.href||"",n=!t,r="#"===t[0]||(0,i.Pz)(t).pathname===window.location.pathname;return!n&&!r&&function(e){const t=s(e),n=e.href||"";return(0,i.Pz)(t||n).host}(e)===window.location.host}(t))return t}function s(e){var t,n;return null===(n=null===(t=e.parentElement)||void 0===t?void 0:t[o.o])||void 0===n?void 0:n.url}},2856:function(e,t,n){"use strict";n.d(t,{f:function(){return u}});var i=n(8530),r=n(1958),o=n(5219),a=n(9642),s=n(8e3),l=n(3553),c=n(3983),d=n(5031);const u={updateCache(e,t){const{vignette:n}=e;(0,i.C0)(n,t,(e=>{var n;const i=null===(n=t.prods)||void 0===n?void 0:n.vig;i&&e.setRequestData(i)}))},updateRootResponseCache(e,t,n){if(!function(e){return e===p}(n))return;const r=t.d.r;e.genericResponse.prods||(e.genericResponse.prods={}),e.genericResponse.prods.vig=Object.assign(Object.assign({},e.genericResponse.prods.vig),r);const o=t.pl;(0,i.lx)(o,e)},filterResponse(e,t){if(!(0,s.lP)("vignette-render"))return t;if(!e.features["vignette-render"])return t;const{vignette:n}=e;if(!n)return t;const i=n.uip;return t.vl=function(e,t){var n;return null===(n=t.vl)||void 0===n?void 0:n.filter((n=>{const i=n.uip===e;return i&&(t.trecsFiltered=!0),!i}))}(i,t),t},parseResponse(e){var t;const n=null===(t=e.prods)||void 0===t?void 0:t.vig;if(!n)return;const i=n.plc,s=function(e,t){var n,i;const r=e.vl||[];let o;const a=null===(i=null===(n=e.tslt)||void 0===n?void 0:n.vignette)||void 0===i?void 0:i.openBtn;return r.some((e=>{if(e.uip===t)return o=function(e,t){var n;const i=null===(n=e.v)||void 0===n?void 0:n[0];return i&&(i["cta-text"]=t||i["cta-text"]||"Learn More"),e}(e,a),!0})),o}(e,i);if(!s)return void(0,o.JE)("Vignette configuration found but vignette placement wasn't");const u=(0,r.vc)(s,e,"vignette-render"),p=Object.assign(Object.assign({},u),{entityType:9,frequencyCapping:parseInt(n.frequencyCapping),showDespiteStorageIssue:(0,c.tU)(n.showDespiteStorageIssue,!0),metaData:n.metaData}),m=(0,l.r)(p);return(0,d.pm)(m,u.items),function(e,t){var n;(function(e){const t=e.prods||{};1===(0,a.kq)(t)&&t.vig?e.prods=void 0:t.vig=void 0})(e),e.vl=null===(n=e.vl)||void 0===n?void 0:n.filter((e=>e.uip!==t))}(e,i),m},mergeResponseSummary(e,t){return e.vignette||t.vignette},getAllPlacements(e){let t=[];const n=e.vignette;return n&&(t=[...t,n]),t}},p="taboola-vignette"},8456:function(e,t,n){"use strict";n.d(t,{x:function(){return h}});var i=n(8e3),r=n(9642),o=n(8530),a=n(9102),s=n(1958),l=n(5219),c=n(3553),d=n(2360),u=n(8846),p=n(5031),m=n(4246);const h={updateCache(e,t){(0,r.IF)(e.widgets,((e,n)=>{(0,o.C0)(n,t)}))},updateRootResponseCache(){},filterResponse(e,t){return(0,i.lP)("widget-render")?((0,r.IF)(e.widgets,((e,n)=>{t.vl=f(n.name,t)})),t):t},parseResponse(e){const t={};return(e.vl||[]).forEach((n=>{const{productType:o,placementName:h}=(0,u.d)(n);if("widget-render"!==o)return;const b=(0,s.vc)(n,e,o);if(!b.mode&&!(0,m.yq)(b.m)){const e=b.m,t=a.MC.config.runtime.pageUrl;(0,l.JE)(`Mode '${e}' for Placement '${h}' doesn't exist in configuration ${t}`)}const g=(0,i.n$)(h);if(!g)return void(0,l.MD)(`Placement '${h}' doesn't exist in OptionSummary input.`);if((0,d._B)(g))return void(0,l.JE)(`placement ${h} was ignored and will not be rendered`);if(function(e,t){const n=a.MC.responseSummary.feeds||{};return!!(0,r.WP)(n).some((([,t])=>t.fpl===e))&&((0,l.MD)(`Feed conflict detected for '${e}' with feed placement '${t.fpl}'`),!0)}(h,n))return;const v=Object.assign(Object.assign({},b),{name:h,entityType:1}),_=(0,c.r)(v);(0,p.pm)(_,b.items),t[b._ID]=_;const y=(0,d.Kc)(g),w=document.getElementById(y);a.fg.appendEntityCustomData({entity:b,element:w}),e.vl=f(h,e)})),t},mergeResponseSummary(e,t){return(0,r.rL)(e.widgets,t.widgets)},getAllPlacements(e){let t=[];return(0,r.IF)(e.widgets,(n=>{const i=e.widgets[n];t=[...t,i]})),t}};function f(e,t){var n;return null===(n=t.vl)||void 0===n?void 0:n.filter((n=>{const i=n.uip===e;return i&&(t.trecsFiltered=!0),!i}))}},6533:function(e,t,n){"use strict";n.d(t,{N:function(){return i}});const i="trc_related_container"},4245:function(e,t,n){"use strict";n.d(t,{fE:function(){return _},mx:function(){return w},FC:function(){return E},tc:function(){return v},Me:function(){return g},h_:function(){return k},d5:function(){return C},Vu:function(){return T},_p:function(){return x}});var i,r,o=n(2120),a=n(6533),s=n(9102),l=n(5461),c=n(3001),d=n(8e3),u=n(2941),p=n(5219),m=n(22);!function(e){e.LEFT="marginLeft",e.RIGHT="marginRight",e.BOTTOM="marginBottom"}(i||(i={})),function(e){e.COLUMN="column",e.ROW="row"}(r||(r={}));var h=n(594);const f={"&":"&","<":"<",">":">",'"':""","'":"'"};let b;function g(e){return e.replace(/[&<>"']/g,(e=>f[e]||e))}function v(e){const t=e.modeGroupsList.length,n=(0,o.W)("div",{classList:t?["trc_multi_widget_container"]:[]});return"V"===e.flexDirection&&(n.style.flexDirection=r.COLUMN),n}function _(e,t){(function(e,t){t&&(e.style.flex=t.toString())})(t,e.flexSize),e.gap&&(0,c.OM)(t.parentElement)&&function(e,t,n){const r=e.previousSibling;if(!(0,c.OM)(r))return;let o;o="V"===n?i.BOTTOM:"rtl"===s.MC.config.publisher.direction?i.LEFT:i.RIGHT,r.style[o]=t}(t,e.gap,t.parentElement.style.flexDirection===r.COLUMN?"V":"H")}function y(e,t,n,i){t&&(e.push("trc_elastic"),n&&e.push(`trc_elastic_${C(n,i)}`))}function w(e){(0,c.ET)(e,a.N,"tbl-trecs-container","trc_spotlight_widget")}function x(e,t,n,i=!0){const r=[];(0,l.KP)("iframe")&&r.push("trc_in_iframe"),"rtl"===s.MC.config.publisher.direction&&r.push("tbl-rtl"),(0,c.ET)(e,...r),t.uip?function(e,t,n,i){const r=[];e.dataset.placementName=t.uip,t.modeGroupsData.modeGroupsList.length>0?r.push("trc_multi_widget"):y(r,i,t.m,n),(0,c.ET)(e,...r)}(e,t,n,i):function(e,t,n,i){const r=[];t.modeGroupsList.length>0?r.push("trc_multi_widget"):y(r,i,t.modeName,n),(0,c.ET)(e,...r)}(e,t,n,i)}function C(e,t){return(0,u.tv)(b)&&(b=(0,d.BC)("enable-responsive-css-reuse")),b?e:t}function E(e){e&&(0,c.Oh)(e.childNodes).forEach((t=>{t instanceof HTMLElement&&t.id.indexOf("tbl_vpl_")>-1||e.removeChild(t)}))}function k(e){const t=e.split("_"),n=t.length;return 1===n?((0,p.vV)(`Placement ID ${e} is invalid`),e):t[n-1]}function T(e){return e.modeName===h.XV||!(0,m.v0)(e)&&!!e.getModeClientProperty("mode-is-responsive")}},2120:function(e,t,n){"use strict";n.d(t,{W:function(){return u},_:function(){return d}});var i=n(5288),r=n(3001),o=n(5219),a=n(8e3),s=n(5461),l=n(5706);let c=document;function d(){c=function(){if(!(0,a.BC)("enable-create-element-from-iframe"))return document;if((0,s.KP)("iframe")||(0,l.eo)()||(0,s.KP)("ff"))return document;try{const e=document.createElement("iframe");return e.src="about:blank",e.style.display="none",document.body.appendChild(e),e.contentDocument||document}catch(e){return document}}()}function u(e,t){var n,a;const s=((null==t?void 0:t.forceOriginalDocument)?document:c).createElement(e);try{if(!t)return s;null===(n=t.attrList)||void 0===n||n.forEach((([e,t=""])=>{s.setAttribute(e,t)})),null===(a=t.datasetList)||void 0===a||a.forEach((([e,t])=>{s.dataset[e]=t})),t.classList&&(0,r.ET)(s,...t.classList),(0,i.Xs)(s,t.content),t.parentElement&&t.parentElement.appendChild(s)}catch(e){(0,o.vV)("createHtmlElement::",e)}return s}},9388:function(e,t,n){"use strict";n.d(t,{L:function(){return d},q:function(){return u}});var i=n(2120),r=n(8e3),o=n(2941),a=n(2470),s=n(1479);function l(e){const t=(0,i.W)(e.containerHtmlElement,{classList:e.containerClassList}),n=(0,i.W)("img",{classList:[...e.iconImgClassList,"trc_img"],attrList:[["src",e.iconUrl]]});return t.appendChild(n),t}function c(e,t){const n=e.getModeClientProperty(t);if(!n||"NONE"===n)return;const i=function(e){switch(e){case"header-icon":return"header-icon-url";case"title-icon":return"title-icon-url";default:return}}(t);if(!i)return;let s;switch(n){case"CUSTOM":s=e.getModeClientProperty(i);break;case"PUBLISHER_LOGO":s=(0,r.Kr)()}return(0,o.mg)(s)&&(s=(0,a.$$)(s)),s}function d(e){const t=c(e,"header-icon");if(t)return l({iconUrl:t,iconImgClassList:["trc_rbox_header_icon_img"],containerHtmlElement:"div",containerClassList:["trc_rbox_header_icon_div"]})}function u(e){const t=function(e){const t=e.placementModeGroup.getModeClientProperty("enable-pencil-ads");if(!(e.isSponsored&&t))return;const n=e._ID;(0,s.ex)("tpa-has_pencil",{id:n});const i=e.brandingUrl;if(i&&(0,s.ex)("tpa-has_logo",{id:n}),i)return(0,a.$$)(i);return e.getImageUrls({width:120,height:120}).taboolaUrl}(e)||function(e){const t=e.placementModeGroup.getModeClientProperty("enable-title-icon-on-sc");if(!e.isSponsored||t)return c(e.placementModeGroup,"title-icon")}(e);if(t)return l({iconUrl:t,iconImgClassList:["video-icon-img"],containerHtmlElement:"span",containerClassList:["video-icon-container"]})}},7868:function(e,t,n){"use strict";n.d(t,{e:function(){return f}});var i=n(5288),r=n(8242),o=n(2120),a=n(5785),s=n(3001),l=n(5461);const c=767;let d,u,p,m,h=!1;function f(e,t){document.body.clientWidth>c&&!(0,l.KP)("iframe")&&((0,i.fr)(e),h||function(){d=(0,o.W)("div",{classList:["trc_modal_dialog","trc_modal_hidden"]}),u=(0,o.W)("div",{classList:["trc_modal_mask","trc_modal_hidden"]}),p=(0,o.W)("a",{classList:["trc_modal_close"],content:"×"}),m=(0,o.W)("iframe",{classList:["trc_modal_frame"]}),d.appendChild(p),d.appendChild(m);const e=(0,a.g)(3,u);e[1].appendChild(d),function(e){const t=` ${n=e[3]} .trc_modal_dialog { width: 660px; height: 550px; font-family: "Helvetica Neue", Helvetica, Arial, sans-serif; padding: 12px; border: 2px solid #417cc3; position: fixed; z-index: 9999999; background: #f7f9fc; top: 50%; left: 50%; margin-top: -250px; margin-left: -330px; -webkit-box-sizing: content-box; -moz-box-sizing: content-box; -ms-box-sizing: content-box; -o-box-sizing: content-box; box-sizing: content-box; -webkit-box-shadow: black 0 0 18px 0; -moz-box-shadow: black 0 0 18px 0; -ms-box-shadow: black 0 0 18px 0; -o-box-shadow: black 0 0 18px 0; box-shadow: black 0 0 18px 0; -webkit-border-radius: 10px; -moz-border-radius: 10px; -ms-border-radius: 10px; -o-border-radius: 10px; border-radius: 10px; }${n} .trc_modal_mask { z-index: 9999998; position: fixed; top: 0; left: 0; right: 0; bottom: 0; background: #000; opacity: 0.5; filter: alpha(opacity=50); }${n} .trc_modal_close { font-family: sans-serif !important; width: 30px !important; height: 30px !important; font-size: 30px !important; font-weight: bold !important; line-height: 28px !important; color: #fff !important; text-shadow: 0 1px 0 #000; opacity: 0.9; filter: alpha(opacity=90); background: #417cc3; padding: 0; cursor: pointer; border: 0; -webkit-appearance: none; text-align: center; position: absolute !important; top: -13px; right: -13px; text-decoration: none !important; z-index: 9; -webkit-border-radius: 15px !important; -moz-border-radius: 15px !important; -ms-border-radius: 15px !important; -o-border-radius: 15px !important; border-radius: 15px !important; }${n} .trc_modal_hidden { display: none !important; }${n} .trc_modal_frame { width: 100% !important; height: 550px !important; } `;var n;(0,r.x)(t,"tRecs-popup-modal"),document.body.appendChild(e[0])}(e),document.addEventListener("keyup",g),u.addEventListener("click",v),p.addEventListener("click",v),window.addEventListener("message",_),h=!0}(),function(e){const t=e.iframeScrollingEnabled||"no";m.src=e.href,m.scrolling=t,m.frameBorder="0"}(t),b(1))}function b(e){1===e?(0,s.Yw)([u,d],"trc_modal_hidden"):((0,s.ET)([u,d],"trc_modal_hidden"),m.src="")}function g(e){const t=e.keyCode||e.code;27!==t&&"escape"!==t||b(0)}function v(e){(0,i.fr)(e),b(0)}function _(e){/http(s)?:\/\/www\.taboola\.com/.test(e.origin)&&e.data&&1025==+e.data&&b(0)}},5785:function(e,t,n){"use strict";n.d(t,{g:function(){return s}});var i=n(3983),r=n(2120),o=n(4846);function a(e){const t=`tbl-aug-${(0,i.MZ)()}`,n=(0,r.W)("div",{attrList:[["id",t]]});return null==e||e.appendChild(n),n}function s(e,t){(0,o.cc)(e>0,"createAugmentingContainers depth must be greater than 0");const n=[];for(let t=0;t`${e}#${t.id} `),""))};var i}},2409:function(e,t,n){"use strict";n.d(t,{Q:function(){return v},a:function(){return _}});var i=n(8242),r=n(7868),o=n(8723),a=n(2120),s=n(9102),l=n(738),c=n(8e3),d=n(3001),u=n(5461),p=n(740),m=n(7766);let h,f=!1,b="",g="";function v(e,t,n){return!!x(t)&&(y({parentElement:e,extraCssClassList:[w(n)],hasAdChoice:!1}),!0)}function _(e,t,n){if(!x(t))return;const i=["tbl-ccpa-on-widget"];e.children.length>0&&i.push("tbl-cpa-pipe-before");const r=(0,a.W)("div",{classList:["logoDiv","link-ccpa"]});y({parentElement:r,extraCssClassList:i,hasAdChoice:n}),n?e.prepend(r):e.appendChild(r)}function y(e){var t;const{parentElement:n,hasAdChoice:v}=e;let _="taboola";const y=function(e,t){let n,i=h.markup;e&&(n=(0,a.W)("span",{classList:["trc_logos_v_align"]}),(0,d.vn)(n),i=(0,a.W)("span",{content:h.markup}));const r=(0,a.W)("a",{content:i,attrList:[["href",h.href],["target","_blank"],["rel","nofollow"],["style",h.inlineStyle]],classList:[...h.classList,...t]});return n&&r.appendChild(n),(0,m.ET)("click",r,C),r}(v,e.extraCssClassList),{privacyString:w}=null!==(t=s.MC.optionsSummary.ccpa)&&void 0!==t?t:{};var x;(0,d.ET)(n,"tbl-ccpa-container"),w?_="publisher":(x=n,(0,u.KP)("mobile")&&(0,d.ET)(x,"tb-ccpa-mobile"),h.style&&(0,i.x)(h.style,"tbl-ccpa-style-custom"),(0,i.x)(" a.tbl-ccpa { font-weight: normal; font-size: 11px; Color: #999999; margin: 0 3px 0 0; text-decoration: none; font-family: Arial, Helvetica, sans-serif; float: right; cursor: pointer; } a.tbl-ccpa.tbl-ccpa-left { float: left; } a.tbl-ccpa.tbl-ccpa-right { float: right; } .logoDiv a.tbl-ccpa span { font-size: 11px; color: #999999; } div.tbl-feed-header.tbl-ccpa-container .tbl-ccpa { margin-top: 3px; } div.tbl-feed-header.tbl-ccpa-container div.tbl-feed-header-logo { display: inline-block; } .trc-widget-footer a.tbl-ccpa.tbl-cpa-pipe-before::before { content: '|'; margin-right: 2px; font-size: 11px; color: #999999; } .tbl-rtl .tb-ccpa-mobile { line-height: 11px; } .tbl-rtl .logoDiv.link-ccpa { display: inline-block; } .tbl-rtl div.tbl-feed-header .tbl-ccpa { margin-top: 0; } .tbl-rtl .trc-widget-footer a.tbl-ccpa { float: none; } .tbl-rtl .trc-widget-footer a.tbl-ccpa.tbl-cpa-pipe-before::before { content: ''; } .tbl-rtl .trc-widget-footer a.tbl-ccpa.tbl-cpa-pipe-before::after { content: '|'; margin-left: 2px; font-size: 11px; color: #999999; }",p.w),function(e){(0,c.BC)("xfrm-enable")&&(0,l.qY)(h.href).then((t=>{t&&function(e){e.addEventListener("click",(t=>{(0,r.e)(t,{href:h.href,anchorTag:e})}))}(e)}))}(y),n.insertAdjacentElement(h.location,y)),function(e){const t={event_type:"ccpa",event_state:"Rendered",event_value:e,event_msg:(0,u.KP)("iframe")?", in-iframe":""};(0,o.mk)(t),h.renderOnce&&(f=!0,b=g)}(_)}function w(e){return"RIGHT"===e?"tbl-ccpa-left":"tbl-ccpa-right"}function x(e){const t=s.MC.responseSummary.userData.ccpa;if(t)return h=t,g=s.MC.config.runtime.pageUrl.href,!f&&h.placement===e&&b!==g&&!(0,c.BC)("disable-ccpa")}function C(){(0,o.mk)({event_type:"ccpa",event_state:"CLICKED",event_value:"taboola",event_msg:""})}},7578:function(e,t,n){"use strict";n.d(t,{k9:function(){return p},cT:function(){return l},kz:function(){return c},C1:function(){return s},AD:function(){return u},iL:function(){return d}});var i=n(9102),r=n(7566);const o={};let a={};function s(e,t){if(e===t)return!0;const n=e.split(".").reverse(),i=t.split(".").reverse();for(let e=0;e<6;e++)if(n[e]!==i[e])return!1;return!0}function l(e,t,n){var i,r;const{modeName:s,placement:l}=e,c=(null===(i=l.parent)||void 0===i?void 0:i.entityType)||0;return function(e){var t,n,i;if(!e.modeName||2!==e.componentType)return()=>getComputedStyle(e.element);const r=o[t=e.componentId]||(o[t]={}),s=r[n=e.modeName]||(r[n]={});return s[i=e.elementType]||(s[i]=e.element),()=>{const t=`${e.modeName}__${e.elementType}`;return a[t]||(a[t]=getComputedStyle(s[e.elementType]))}}({modeName:s,componentId:(null===(r=l.parent)||void 0===r?void 0:r._ID)||"",componentType:c,element:t,elementType:n})}function c(e){const t=i.MC.getEntityCustomData(e);if(!t)throw new Error(`item entity ${e} should exist in store entity custom data`);return t}function d(e){const{entity:t,element:n}=c(e);i.fg.appendEntityCustomData({hasFloatingButton:!0,entity:t,element:n})}function u(e){var t;return(null===(t=c(e))||void 0===t?void 0:t.hasFloatingButton)||!1}function p(e){return e.split("~~").filter((e=>""!==e))[1]}r.B.once("storeReady",(()=>{i.MC.onReset((()=>{a={}}))})),window.addEventListener("resize",(()=>{a={}}))},3876:function(e,t,n){"use strict";n.d(t,{L:function(){return Ie}});var i=n(8508),r=n(1117),o=n(2470),a=n(3001),s=n(2120),l=n(7578),c=n(5288),d=n(8113),u=n(3320),p=n(5423),m=n(1059),h=n(22),f=n(9102),b=n(8e3),g=n(5461),v=n(8844),_=n(4800),y=n(2064),w=n(5177),x=n(9575),C=n(2538),E=n(6620);const k=36e5,T=24*k,R=(new Date).getDate(),I="time-ago";let S,O,D,M=!1;function P(e,t){M||(f.fg.appendTranslationSectionDefaults("time-ago",C.Zi),M=!0),S||(S=f.MC.fetchTranslationLabel);const n=e.getTime(),i=(0,E.Ln)()-n;return(null==t?void 0:t(e))||function(e){return e<18e5?S(I,"now"):""}(i)||function(e){if(e{t.skadNetworkItem?e.href=(0,u.RZ)(t.href):e.href=t.getEventClick()};e.addEventListener("mousedown",(()=>{n()})),e.addEventListener("touchstart",(e=>{n(),(0,b.BC)("enable-stop-propagation")&&e.stopPropagation()}))}(t,e),e.attributes&&(0,$.IF)(e.attributes,((e,n)=>{t.setAttribute(e,n)})),t}var F=n(4245),j=n(5219),z=n(5031),W=n(4515),V=n(4846),q=n(8242);let H=0,G=[];class K{constructor(e){this.onLoad=()=>{this._itemData.mediaLoaded(),(0,a.ET)(this._wrapper.parentElement,"tbl-o-video-loaded");const e=this._videoElement;var t;(t=e).videoHeight>=t.videoWidth&&(0,a.ET)(e,"tbl-o-vertical-video"),!!_.Pp.taboolaMobile&&e.load&&e.load(),this.loadNext(),this._trackVisibility&&function(e,t){(0,v.qm)(t,(t=>{var n,i;t?e.paused&&(null===(i=null===(n=e.play())||void 0===n?void 0:n.catch)||void 0===i||i.call(n,(()=>{}))):e.paused||e.pause()}),{overlayOptions:{enableOverlayCheck:!0}})}(e,this._wrapper)},this.onVideoError=e=>{const t=this._videoElement,n=t.error?t.error.message||t.error.code:e.message;(0,j.JE)(`trecs - VOC#${this._itemIndex} error: ${n} - item id:${this._itemData}`),this._wrapper.remove(),this.loadNext()},this._wrapper=e.wrapper,this._itemData=e.itemData;const{placement:{modeGroupsData:t},organicVideoURL:n}=this._itemData;this._trackVisibility=!(0,z.Jq)(t),this._videoElement=this.createVideoElem(),this._itemIndex=e.index,(0,q.x)(" .videoCube .tbl-o-video-loaded .tbl-organic-video-wrapper{opacity:1}.videoCube .tbl-o-video-loaded .tbl-organic-video-wrapper span.tbl-mute-button{background:rgba(0,0,0,.25);border-radius:100px;margin:min(10px,2.5%);width:min(40px,10%);aspect-ratio:1;display:flex;justify-content:center;align-items:center;position:absolute;z-index:9;right:8px;top:12px}.videoCube .tbl-o-video-loaded .tbl-organic-video-wrapper span.tbl-mute-button.tbl-sound-off svg[aria-label=soundOn]{display:none}.videoCube .tbl-o-video-loaded .tbl-organic-video-wrapper span.tbl-mute-button.tbl-sound-on svg[aria-label=soundOff]{display:none}.videoCube .tbl-o-video-loaded .thumbBlock{display:none}","taboola-organic-video-style"),(0,V.n5)(n,"Organic video URL should be defined if the video loader is initiated"),function(e){2===H?G.push(e):X(e)}([n,this._videoElement])}createVideoElem(){const e=function(){const e=(0,s.W)("video",{classList:["tbl-organic-video"],attrList:[["preload","auto"],["loop","loop"],["muted","muted"],["playsinline","playsinline"]]});return e.muted=!0,e}();e.addEventListener("canplaythrough",this.onLoad,!0),e.addEventListener("error",this.onVideoError),this._wrapper.insertAdjacentElement("afterbegin",e);const t=this.createMuteButton(e);return this._wrapper.appendChild(t),e}createMuteButton(e){const t=(0,s.W)("span",{classList:["tbl-mute-button"],attrList:[["aria-label","Toggle sound"],["role","button"],["tabindex","0"]],content:'\n\n\n\n\n\n'});e.muted=!0,t.classList.toggle("tbl-sound-off",e.muted),t.classList.toggle("tbl-sound-on",!e.muted);const n=n=>{(0,c.fr)(n),e.muted=!e.muted,t.classList.toggle("tbl-sound-off",e.muted),t.classList.toggle("tbl-sound-on",!e.muted)};return t.addEventListener("click",n,!0),t.addEventListener("keydown",(e=>{"Enter"!==e.key&&" "!==e.key||((0,c.fr)(e),n(e))})),t}cleanUp(){G.forEach((([,e])=>{e.removeEventListener("canplaythrough",this.onLoad,!0),e.removeEventListener("error",this.onVideoError)})),G=[],this._wrapper=(0,N.i)(),this._videoElement=(0,N.i)()}loadNext(){const e=this._videoElement;e.removeEventListener("canplaythrough",this.onLoad,!0),e.removeEventListener("error",this.onVideoError),function(){H--;const e=G.shift();e&&X(e)}()}}function X(e){H++;const[t,n]=e,i=(0,s.W)("source",{attrList:[["src",(0,o.$$)(t)],["type","video/mp4"]]});n.appendChild(i)}function Y(e){return new W.g((t=>{t(new K(e))}))}var J=n(1075);let Z=!1;function Q(){(0,q.x)(" .thumbnail-emblem{height:35px;width:35px}.trc_related_container .thumbnail-emblem.bottom-right,.trc_related_container .static-text.bottom-right{bottom:0;right:0;background-position:bottom}.trc_related_container .thumbnail-emblem.top-right,.trc_related_container .static-text.top-right{top:0;right:0;background-position:top}.trc_related_container .thumbnail-emblem.bottom-left,.trc_related_container .static-text.bottom-left{bottom:0;left:0;background-position:bottom}.trc_related_container .thumbnail-emblem.top-left,.trc_related_container .static-text.top-left{top:0;left:0;background-position:top}.trc_related_container .thumbnail-emblem.top,.trc_related_container .static-text.top{width:100%;top:0}.trc_related_container .thumbnail-emblem.bottom,.trc_related_container .static-text.bottom{width:100%;bottom:0;padding:2px 0}.trc_related_container .videoCube .thumbBlock .static-text{position:absolute;z-index:1;margin:0;padding:5px;display:block;opacity:.7}.trc_related_container .videoCube .thumbBlock .static-text.tbl-fixed-label{opacity:1;padding:0 5px;text-align:center}.trc_related_container .videoCube .thumbBlock .static-text.tbl-fixed-label.tbl-small-label{min-width:107px;min-height:27px;line-height:27px;letter-spacing:.31px}.trc_related_container .videoCube .thumbBlock .static-text.tbl-fixed-label.tbl-big-label{min-width:140px;min-height:33px;font-size:14px;line-height:33px;letter-spacing:.39px}.trc_related_container .thumbnail-emblem{background-position-x:center}","tbl-thumbnail-overlay-css")}var ee=n(2941);function te({modePropertyName:e,textContent:t,itemData:n,detailItem:i}){const r=n.placementModeGroup.getModeClientProperty(e)||"%s";return null!=t||(t=""),(0,ee.Rm)(r)?r(t):("format-duration"===e&&(t=function(e){let t=parseInt(e);if(isNaN(t))return"";const n=Math.floor(t/3600);t%=3600;const i=Math.floor(t/60),r=t%60;return`${ne(n)}:${ne(i)}:${ne(r)}`}(t)),"category"===i&&(o=t,t=(0,c.IK)(o).split(";")[0].split("//")[0]),r.replace(new RegExp("%\\w"),`
${t}
`));var o}function ne(e){return e<10?`0${e}`:e.toString()}var ie=n(250);const re={_owner_:2,content:{showFrameView:!0}},oe=(0,ie.A)();var ae=n(4331),se=n(5125),le=n(5358),ce=n(5637);function de(e){const t="style";"attributes"===e.type&&e.attributeName===t&&e.target.removeAttribute(t)}function ue(e){"childList"===e.type&&e.addedNodes.forEach((e=>{e!==ve&&(0,c.l4)(e)}))}function pe(e){return t=>{(0,B.qN)((()=>{t.forEach((t=>{e.forEach((e=>e(t)))}))}))}}function me(e,t,n){new MutationObserver(n).observe(e,t)}function he(e){const t=(0,u.Pz)(e);return t.pathname+t.search}function fe(){const e=(0,ce.I7)("a11");ve&&(ve.style.height=`${e}px`),ge&&(ge.style.height=`${e}px`)}function be(){_e=(0,N.i)(),window.removeEventListener("resize",fe,!0)}let ge,ve,_e,ye="";function we(e,t){const{isOrganic:n}=e,i=(0,le.iP)(e),r=(0,g.KP)("iframe");var l;if(!n||r||!function(e){const{placement:t,getModeClientProperty:n}=e,{productType:i,parent:r}=t;if("feed-render"===i){const e=r;return(0,B.tU)(e.fv,!1)}if("widget-render"===i){const e=f.MC.config.publisher,t=e["feed-view-devices"];return!!(0,B.tU)(e["feed-view-enable"],!1)&&!!(0,B.tU)(n("mode-enable-feed-view"),!1)&&(0,g.EB)(t)}return!1}(e.placementModeGroup)||(l=i,(0,u.Pz)(l).host!==window.location.host))return;const d=(0,o.$$)(i);_e=e,(0,q.x)(" .tbl-feed-view-parent-wrapper body.tbl-show-explore-more.tbl-explore-more-hide-original-header #tbl-feed-view-container,.tbl-feed-view-parent-wrapper body.tbl-show-explore-more.tbl-explore-more-hide-original-header #tbl-feed-view-container.tbl-feed-view-ios-container,.tbl-feed-view-parent-wrapper body.tbl-show-explore-more.tbl-explore-more-hide-original-header #tbl-feed-view-container.tbl-feed-view-non-ios-container{display:block !important}.tbl-feed-view-parent-wrapper body.tbl-show-explore-more #tbl-feed-view-container,.tbl-feed-view-parent-wrapper body.tbl-show-explore-more #tbl-feed-view-container.tbl-feed-view-ios-container,.tbl-feed-view-parent-wrapper body.tbl-show-explore-more #tbl-feed-view-container.tbl-feed-view-non-ios-container{display:block !important}#tbl-feed-view-container{position:fixed;left:0;top:0;width:100vw;min-height:100vh;background-color:#fff;z-index:2147483647}#tbl-feed-view-container.tbl-feed-view-container-slide-in{-webkit-animation:frame-view-slide-top .2s cubic-bezier(0.25, 0.46, 0.45, 0.94) both;-moz-animation:frame-view-slide-top .2s cubic-bezier(0.25, 0.46, 0.45, 0.94) both;-ms-animation:frame-view-slide-top .2s cubic-bezier(0.25, 0.46, 0.45, 0.94) both;-o-animation:frame-view-slide-top .2s cubic-bezier(0.25, 0.46, 0.45, 0.94) both;animation:frame-view-slide-top .2s cubic-bezier(0.25, 0.46, 0.45, 0.94) both;will-change:auto}#tbl-feed-view-container.tbl-feed-view-container-slide-out{-webkit-animation:frame-view-slide-bottom .2s cubic-bezier(0.25, 0.46, 0.45, 0.94) both;-moz-animation:frame-view-slide-bottom .2s cubic-bezier(0.25, 0.46, 0.45, 0.94) both;-ms-animation:frame-view-slide-bottom .2s cubic-bezier(0.25, 0.46, 0.45, 0.94) both;-o-animation:frame-view-slide-bottom .2s cubic-bezier(0.25, 0.46, 0.45, 0.94) both;animation:frame-view-slide-bottom .2s cubic-bezier(0.25, 0.46, 0.45, 0.94) both;will-change:auto}#tbl-feed-view-container #tbl-feed-view-frame{border:0;overflow:hidden;display:block !important;width:100%;position:relative;top:0;left:0;bottom:0;height:100vh}.tbl-feed-view-parent-wrapper.tbl-feed-view-hidden-article body>*:not(#tbl-feed-view-container){display:none}@keyframes frame-view-slide-top{0%{transform:translateY(100vh)}100%{transform:translateY(0)}}@keyframes frame-view-slide-bottom{0%{transform:translateY(0)}100%{transform:translateY(100vh)}}","inject-Frame-View-Style"),(0,c.fr)(t),function(e){const t=`${e.getEventClick()}&return_pixel=true&feedView_click=img`;(0,se.C8)("e27",e,t),(0,ae.RK)({type:"click",url:t},{isCritical:!0})}(e),ge=function(){const e=["tbl-feed-view-container-slide-in"];(0,g.KP)("ios")?e.push("tbl-feed-view-ios-container"):e.push("tbl-feed-view-non-ios-container");const t=(0,s.W)("div",{attrList:[["id","tbl-feed-view-container"]],classList:e});return function(e){me(e,{attributes:!0,childList:!0},pe([de,ue]))}(t),t}(),ve=function(e){ye=e;const t=(0,s.W)("iframe",{attrList:[["src",e],["id","tbl-feed-view-frame"],["name","tbl-feed-view-frame"],["height",""+.01*(0,ce.I7)("a11")]]});return me(t,{attributes:!0},pe([de])),t.addEventListener("load",(()=>{var n;if(!(0,c.i3)(t))return void function(e){(0,b.BC)("feed-view-redirect-on-iframe-violation")&&(location.href=e)}(e);const i=null===(n=t.contentDocument)||void 0===n?void 0:n.URL;(0,ee.mg)(i)&&""!==i&&i!==ye&&(function(e){oe.replaceState(re,e)}(he(i)),ye=i)})),t}(d),ge.appendChild(ve),function(){if((0,g.KP)("mobile")){const e=100;(0,c.sg)((()=>{window.addEventListener("resize",fe,!0)}),e,!1)}}(),function(){const e=document.documentElement;(0,a.ET)(e,"tbl-feed-view-parent-wrapper"),(0,g.KP)("mobile")&&(0,a.ET)(e,"tbl-feed-view-hidden-article")}(),document.body.appendChild(ge),function(e,t){oe.pushState(re,e),function(e){const t=()=>{oe.isState(2)?e(!0):(oe.off("state-changed",t),e(!1))};oe.on("state-changed",t)}(t)}(he(d),(e=>{e||function(){const e=document.documentElement;(0,a.Yw)(e,"tbl-feed-view-hidden-article","tbl-feed-view-parent-wrapper"),ge&&(0,c.l4)(ge),_e&&(0,b.H5)(_e).scrollIntoView(!0)}()})),f.MC.onReset(be)}var xe=n(5706),Ce=n(7243),Ee=n(5694);let ke,Te;const Re="in Taboola advertising section";class Ie{constructor(e){this._hasFilledInDom=!1,this.eventEmitter=new w.b,this._hasRendered=!1,this.sendRVAvailableEvent=(e,t)=>{e&&(t(),(0,y.I)(this.itemData),this.itemData.reportTracking("i"),this.itemData.sendRVAvailableEvent())},this.clickEvent=e=>{const t=(0,c.IR)(e.currentTarget)&&-1===e.currentTarget.href.indexOf("log/3/click"),n=this._isDirectNav||this.itemData.skadNetworkItem,i=this.itemData.getEventClick();n&&(0,ae.RK)({url:i,type:"click"},{isCritical:!0}),t&&!n&&(e.currentTarget.href=i);const r=f.MC.responseSummary.testAndExperiment.testVariant,o=(0,p.wj)(this.itemData,this.getLinkTarget(),r);(0,Ee.k)("click",o),this.itemData.reportTracking("c"),this._blockOrganicClickNavigation?(0,c.fr)(e):(we(this.itemData,e),this.itemData.skadNetworkItem&&(0,ae.RK)({url:(0,u.J8)(i,"redir")},{isCritical:!0}),(0,se.C8)("e27",this.itemData,i))},this.handleElementVisible=(e,t)=>{e&&(t(),this.itemData.setAsVisible(),this.eventEmitter.emit("vis"),this.itemData.reportTracking("vi"))};const{itemData:t,container:n,index:i,layoutIsResponsive:r}=e;this.itemData=t,this.itemNumber=i,this.domElement=n;const{placementModeGroup:o}=this.itemData;this._isDirectNav=this.itemData.isOrganic&&!(0,b.BC)("enable-organic-redirect"),this._blockOrganicClickNavigation=this._isDirectNav&&(0,b.BC)("block-organic-click-navigation"),this._getModeClientProperty=o.getModeClientProperty,this._thumbnailPosition=this._getModeClientProperty("thumbnail-position"),this._isTextLinks=(0,h.v0)(o),this._isResponsive=this._getModeClientProperty("mode-is-responsive")||!1,this._layoutIsResponsive=r||(0,F.Vu)(o),null!=ke||(ke=(0,g.KP)("ios")),this.render()}cleanUp(){var e,t,n,i,r,o;this.domElement=(0,N.i)(),this._titleElement=void 0,this._descElement=void 0,null===(e=this._imageElement)||void 0===e||e.removeEventListener("click",this.clickEvent,!0),this._imageElement=void 0,this._thumbBlockElement=void 0,this._videoHolder=void 0,null===(t=this._titleEllipsis)||void 0===t||t.cleanUp(),this._titleEllipsis=void 0,null===(n=this._descEllipsis)||void 0===n||n.cleanUp(),this._descEllipsis=void 0,this._beforeDetailsElement=void 0,this._afterDetailsElement=void 0,this._getModeClientProperty=(0,N.i)(),null===(i=this._visibleUnsubscribe)||void 0===i||i.call(this),this._visibleUnsubscribe=void 0,this._visibleCheck=void 0,this.eventEmitter.removeAll(),this.eventEmitter=(0,N.i)(),null===(r=this._imageLoader)||void 0===r||r.cleanUp(),null===(o=this._videoLoader)||void 0===o||o.cleanUp()}fillInDomElements(){if(this._hasFilledInDom)return;this._hasFilledInDom=!0;const e=this.itemData,t=this._titleElement,n=this._isTextLinks&&this._isResponsive?this._getModeClientProperty("details-inline-with-title"):void 0;if(t&&!this._titleEllipsis){const i=(0,l.cT)(e.placementModeGroup,t,"title");n&&(0,h.ME)(n,t),(0,B.sV)(e.title)&&(0,a.ET)(t,"tbl-rtl-label"),Be(t,"tbl-accessibility-title"),this._titleEllipsis=new r.M(e.title,t,i,n)}if(this._descElement&&!this._descEllipsis){Be(this._descElement,"tbl-accessibility-description");const t=(0,l.cT)(e.placementModeGroup,this._descElement,"desc");(0,B.sV)(e.description)&&(0,a.ET)(this._descElement,"tbl-rtl-label"),this._descEllipsis=new r.M(e.description,this._descElement,t,n)}if(this.loadThumbImage(),this.itemData.userAdChoice&&!this._hasFloatingButton){const t=(0,l.cT)(e.placementModeGroup,this.domElement,"item")(),n=function(e,t,n){const{type:i,link:r}=e;"static"===t.position&&(n.style.position="relative");const o=["trc_user_adChoice_btn"],a="STATIC"===i,l=(0,g.KP)("touch-device");(a||l)&&o.push("trc_user_adChoice_btn_static");const c=(0,s.W)("div",{classList:o,attrList:[["aria-label","Open"]]}),d=U({href:r,target:"_blank",title:C.Xw["adChoiceBtn.title"]});return d.appendChild(c),d}(this.itemData.userAdChoice,t,this.domElement);this.domElement.appendChild(n),this._hasFloatingButton=!0}const i=this._videoHolder;i&&function(e,t,n){const i=e.placement.modeGroupsData,r={wrapper:t,index:n,itemData:e};return(0,z.Jq)(i)?function(e){const{modeGroupsData:t}=e.itemData.placement;return new W.g((n=>{if((0,B.tU)(t.getModeClientProperty("recommendationReel-wait-for-video-demand"),!1)){const t=_.Pp.TRC.listen("showVideoRecoReel",(()=>{t.remove(),n(Y(e))}))}else n(Y(e))}))}(r):Y(r)}(this.itemData,i,this.itemNumber).then((e=>this._videoLoader=e)),this.initializeFinalizeRender()}initializeFinalizeRender(){const e=()=>{this.trackElement(),this.shouldSendAvailableEvent()&&this.itemData.reportTracking("i"),this._hasRendered=!0};if(this.domElement.offsetHeight>0)return void e();const t=(0,Ce.W)((()=>{this.domElement.offsetHeight>0&&((0,j.fH)("Item was with zero height but than it appeared"),e(),t.disconnect())}));t.observe(this.domElement)}trackElement(){const e=this.itemData,t=(0,b.H5)(e.placement);(0,V.n5)(t,"ItemRender trackElement visibility, placementElement is not found");const n={enableOverlayCheck:!0,parentElement:t},i=(0,v.qm)(this.domElement,this.handleElementVisible,{overlayOptions:n});this._visibleUnsubscribe=i.unsubscribe,this._visibleCheck=i.isVisible,this.trackRVItem(),!_.Pp.taboolaMobile&&this.shouldSendAvailableEvent()&&(0,y.I)(e)}trackRVItem(){const e=(0,b.BC)("enable-rv-available"),{rvAvailableEvent:t,placement:n}=this.itemData;e&&t&&!n.thirdPartyCard&&(0,v.qm)(this.domElement,this.sendRVAvailableEvent,{rootMargin:t.pixelMargin,visiblePercents:0,visibleTime:0})}hasRendered(){return this._hasRendered}isVisible(){var e;return(null===(e=this._visibleCheck)||void 0===e?void 0:e.call(this))||!1}buildGenerals(){this.appendDataSetToItemContainer(),this.appendClassListToItemContainer()}appendDataSetToItemContainer(){const{taboolaId:e,title:t,imageUrl:n,isSponsored:i,registerSourceUrl:r}=this.itemData,a=this.domElement;a.dataset.itemId=e,a.dataset.itemTitle=t,r&&(a.dataset.itemRegisterSourceUrl=r),a.dataset.itemThumb=(0,o.$$)(n),a.dataset.itemSyndicated=i.toString()}appendClassListToItemContainer(){const{originalCard:e,isNetwork:t,isNative:n,isSponsored:i,sourceType:r}=this.itemData,o="origin-"+e.origin,s="thumbnail_"+this._thumbnailPosition,l=`${r}Item`,c=this._getModeClientProperty("ORIENTATION")||"vertical",d=["videoCube","trc_spotlight_item",o,l,s,this._isResponsive?`videoCube_${this.itemNumber}_child`:c];m.v[r]!==m.v.photo&&m.v[r]!==m.v.text||d.push(`${r}Item`),t&&d.push("inNetworkItem"),n&&d.push("tabNativeItem"),i&&d.push("syndicatedItem"),1===this.itemNumber&&(d.push("trc-first-recommendation"),d.push("trc-spotlight-first-recommendation")),this._isTextLinks&&d.push(...(0,h.U9)(this._isResponsive,this.itemNumber,this.itemData.placementModeGroup.items.length)),(0,a.ET)(this.domElement,...d)}buildThumbnail(){if("none"===this._thumbnailPosition)return;const e=this.createLinkElement("item-thumbnail-href");e.removeAttribute("title"),De(e,"thumbnail");const t=(0,s.W)("div",{classList:["thumbBlock_holder"]});e.appendChild(t);const n=this._thumbBlockElement=(0,s.W)("span",{classList:["thumbBlock"],attrList:[["role","img"],["aria-label","Image for Taboola Advertising Unit"]]}),i=(0,s.W)("span",{classList:["thumbnail-overlay"]});n.appendChild(i),function(e,t){const n=function(e){const{placementModeGroup:t,isSyndicated:n}=e,i=t.getModeClientProperty;return{getModeClientProperty:i,isSyndicated:n,emblemPosition:i("emblem-position")||"top-left",numberOfItems:t.items.length}}(e);!function(e,t){const{emblemPosition:n,getModeClientProperty:i}=e,r=i("emblem");if(!r)return;Q();const o=(0,s.W)("span",{classList:["thumbnail-emblem",n],attrList:[["style",`background-image: url('${r}')`]]});t.appendChild(o),Z=!0}(n,t),function(e,t){const n=function(e){const{isSyndicated:t,emblemPosition:n,getModeClientProperty:i}=e,r=t?"top-right":"bottom-left",o=i(t?"syndicated-static-text-position":"organic-static-text-position")||r,a=i(t?"syndicated-static-text":"organic-static-text"),s=i("organic-show-static-text");if((!Z||o!==n)&&a&&(t||s))return{position:o,text:a}}(e);if(!n)return;Q();const{isSyndicated:i,numberOfItems:r}=e,o=["static-text"];if(!i){const e=1===r?"tbl-big-label":"tbl-small-label";o.push("tbl-fixed-label"),o.push(e)}o.push(n.position);const a=(0,s.W)("span",{classList:o});a.appendChild(document.createTextNode(n.text)),t.appendChild(a)}(n,t)}(this.itemData,n),t.appendChild(n);const r=(0,s.W)("div",{classList:["videoCube_aspect"]});t.appendChild(r);const{organicVideoURL:o}=this.itemData;return o&&(this._videoHolder=function(e){const t=(0,s.W)("div",{classList:["tbl-organic-video-wrapper"]});return e.appendChild(t),t}(t)),this._imageElement=e,t}getBrandingContent(){return te({modePropertyName:"format-syndicator",textContent:this.itemData.isOrganic?function(){if(Se)return Se;const e=f.MC.config,t=e.publisher.publisherName,n=e.publisher["publisher-branding"],i=null==n?void 0:n[t];if(i)return Se=(0,F.Me)(i),Se;const r=e.runtime.networkPublisher||"",o=null==n?void 0:n[r];return o?(Se=(0,F.Me)(o),Se):(Se=(0,c.xW)("og:site_name")||"",Se)}():this.itemData.brandingName,itemData:this.itemData})}appendBrandingNameToElement(e){const t=this.getBrandingContent();(0,c.Xs)(e,t),e.setAttribute("aria-label",`${e.textContent} ${Re}`)}loadThumbImage(){return this.tryLoadImageInIframe()||this.tryLoadImageWithUrl()}tryLoadImageWithUrl(){const e=this._thumbBlockElement;return!!e&&(this._imageLoader=new d.$(this.itemData,e),!0)}tryLoadImageInIframe(){const e=this._thumbBlockElement;if(!e)return!1;const t=this.itemData.imageIframeScript;if(!t)return!1;e.style.backgroundImage="none";const n=`${this.itemData.getEventClick().replace(/&redir=[^&]*/,"")}&redir=`,i=encodeURIComponent(n);return e.innerHTML=t.replace("${CLICK_URL_ESC}",i),!0}getRelValue(e){const{isNetwork:t,isEditorial:n,clickUrl:i}=this.itemData;if(t)return this.getRelValueForNetworkItem(e,i);const r="_blank"===e,o=(0,b.w$)("enable-sponsored-for-links")&&!n,a=["nofollow"];return r&&a.push("noopener"),o&&a.push("sponsored"),a.join(" ")}getRelValueForNetworkItem(e,t){const n=(0,b.w$)("allow-nofollow-for-exchange"),i=!(0,l.C1)(f.MC.config.runtime.pageUrl.host,(0,u.Pz)(t).host),r=n||i,o=r&&"_blank"===e,a=[];if(r&&a.push("nofollow"),o&&a.push("noopener"),0!==a.length)return a.join(" ")}createLinkElement(e){const{title:t,getEventClick:n}=this.itemData,i=this.getLinkTarget(),r=!this.itemData.bannerAsNative,o=(0,b.BC)("enable-skad-network-item"),a=(0,b.BC)("enable-dynamic-attributes");return U({title:t,href:r?this.getLinkElementHref():"",rel:this.itemData.isOrganic?void 0:this.getRelValue(i),getEventClick:r?n:void 0,onClick:r?this.clickEvent:void 0,skadNetworkItem:o?this.itemData.skadNetworkItem:void 0,attributes:a?this.itemData.dynamicAttributes:void 0,target:i,className:e,isRedir:!this._isDirectNav})}getLinkElementHref(){let e=this.itemData.clickUrl;return this.itemData.isSyndicated&&(this.itemData.trimHrefQs?e=(0,u.RZ)(e):this.itemData.removeHref&&(e="")),e}getLinkTarget(){const e=this.itemData;let t;return e.linkTarget?t=e.linkTarget:e.isNative?t=this.getTargetType("NAV"):e.isNetwork?t=this.getTargetType("NT"):e.isSponsored?t=this.getTargetType("SP"):e.isOrganic&&(t=this.getOrganicTargetType(e)),t||"_blank"}fillProviderLogoElement(e){const t=this.itemData.logoType,n=function(e,t){const n=e.replace("/fetch/",`/fetch/${Le}`),i=t,r=(0,s.W)("span",{classList:["video-label","video-logo"]}),o=(0,s.W)("img",{attrList:[["src",n]]});return r.appendChild(o),"square"===i?(0,a.ET)(r,"square-logo"):(0,a.ET)(r,"rectangle-logo"),r}(this.itemData.logoURL,t);if(e.appendChild(n),"square"===t){const t=Ne(this.getBrandingContent());e.appendChild(t)}}getLabelItem(e){switch(e){case"title":return this._titleElement=Oe(e),this._titleElement.setAttribute("role","link"),this._titleElement;case"description":return this._descElement=Oe(e);case"category":return this.createModeDetailItemElement("format-category","category");case"rating":return this.createModeDetailItemElement("format-rating","rating");case"views":return this.createModeDetailItemElement("format-views","views");case"duration":return this.createModeDetailItemElement("format-duration","duration");case"branding":return this.getBrandingElement();case"published-date":if("with-branding"!==this._getModeClientProperty("published-date-position"))return this.getPublishedDateElement(e);break;case"provider-logo":if(!(0,b.BC)("enable-provider-logo")){const t=Me(e);return this.fillProviderLogoElement(t),t}break;case"uploader":if(this.itemData.uploader)return this.createModeDetailItemElement("format-uploader","uploader");break;case"external-data":if(this.itemData["external-data"])return this.createModeDetailItemElement("format-external-data","external-data")}return null}createModeDetailItemElement(e,t){const n=Me(t);return i=te({modePropertyName:e,textContent:this.itemData[t],itemData:this.itemData,detailItem:t}),r=n,i&&((0,B.jz)(i)?r.innerHTML=i:r.innerText=i),n;var i,r}getPublishedDateElement(e){const t=this.itemData,n=Me(e);if(this._getModeClientProperty("format-x-days-ago"))this.fillPublishedDateWithTimeAgo(n);else{const e=(0,x.R8)(t.placementModeGroup.modeName,t.publishedDate);(0,c.Xs)(n,e)}return n}fillPublishedDateWithTimeAgo(e){const t=this.itemData,n=(i=t.placementModeGroup.modeName,(r=t.publishedDate)?(0,b.w$)("timeago-string-dates")?P(r,(e=>(0,x.R8)(i,e))):P(r):"");var i,r;(0,c.Xs)(e,n)}getBrandingElement(){const e="after_branding"===this._getModeClientProperty("disclosure-position")&&this.itemData.isSponsored,t=this._getModeClientProperty("format-x-days-ago")&&"with-branding"===this._getModeClientProperty("published-date-position"),n=(0,b.BC)("enable-provider-logo")&&!!this.itemData.logoURL,i=!e&&!t&&!n,r=this.createBrandingElement();return Be(r,"tbl-accessibility-branding"),i?(this.fillTextOnlyBranding(r),r):(n?this.fillProviderLogoElement(r):this.fillBrandingWithText(r),t?(this.fillBrandingWithPublishedDate(r),r):(e&&this.fillBrandingWithDisclosureText(r),r))}createBrandingElement(){const e=(0,s.W)("span",{classList:["branding"]});return De(e,"branding"),e}fillTextOnlyBranding(e){this.appendBrandingNameToElement(e),e.setAttribute("role","link")}fillBrandingWithText(e){const t=Ne();this.appendBrandingNameToElement(t),e.appendChild(t)}fillBrandingWithPublishedDate(e){const t=this.getPublishedDateElement("published-date");t.insertBefore(this.createSeparatorElement(),t.firstChild),e.appendChild(t)}fillBrandingWithDisclosureText(e){this.itemData.isSponsored&&(0,a.ET)(e,"composite-branding");const t=this._getModeClientProperty("disclosure-position"),n=this._getModeClientProperty("disclosure-link-text-sponsored"),i=this.createDisclosureElement(t,n),r=this._getModeClientProperty("disclosure-alignment");"right"!==r&&e.appendChild(this.createSeparatorElement()),(0,a.ET)(i,`align-disclosure-${r}`),e.appendChild(i)}createSeparatorElement(){const e=this._getModeClientProperty("branding-separator");return(0,s.W)("span",{classList:["branding-separator"],content:` ${e} `})}createDisclosureElement(e,t){const{placementModeGroup:n,placement:i}=this.itemData;return(0,J.P)({modeName:n.modeName,placementName:i.uip,content:t,type:"disclosure",alignment:this._getModeClientProperty("disclosure-alignment"),position:e})}buildDetailsElement(e){const t=this._getModeClientProperty(this.getDetailsOrderField(e));if(!(null==t?void 0:t.length))return;this._beforeDetailsElement&&(0,a.ET)(this.domElement,"trc-split-label"),"before"===e&&(0,a.ET)(this.domElement,"item-has-pre-label");const n=this.createLinkElement("item-label-href");this.handleTextOverThumbnailElement(n);const i=(0,s.W)("span",{classList:Pe(e)});return this.handleTitleIcon(i,t),this._layoutIsResponsive||(i.style.display="block"),t.forEach((e=>{const t=this.getLabelItem(e);t&&i.appendChild(t)})),n.appendChild(i),n}handleTextOverThumbnailElement(e){"under"===this._thumbnailPosition&&function(e){(0,a.ET)(e,"tbl-text-over-container");const t=(0,s.W)("span",{classList:["tbl-text-over"]});e.appendChild(t)}(e)}handleTitleIcon(e,t){if(-1===t.indexOf("title"))return;const n=(0,A.q)(this.itemData);n&&e.appendChild(n)}getDetailsOrderField(e){const t=this.itemData;return"before"===e?t.isSponsored?"before-detail-order-syndicated":"before-detail-order":t.isSponsored?"detail-order-syndicated":"detail-order"}buildBeforeDetailsElement(){this._beforeDetailsElement=this.buildDetailsElement("before")}buildAfterDetailsElement(){this._afterDetailsElement=this.buildDetailsElement("after")}render(){this.buildGenerals(),this.buildBeforeDetailsElement(),this.buildThumbnail(),this.buildAfterDetailsElement(),this.appendElements()}appendElements(){const e=this.domElement;this._beforeDetailsElement&&e.appendChild(this._beforeDetailsElement),this._imageElement&&e.appendChild(this._imageElement),this._afterDetailsElement&&e.appendChild(this._afterDetailsElement)}getModeLinkTarget(){const e=this._getModeClientProperty("link-target");if(e){if("blank"===e)return"_blank";{const e=(0,b.w$)("amp_target");return(0,xe.eo)()&&e?e:"_parent"}}}getOrganicTargetType(e){const t=(0,i.A)(e.placement),n=this.getModeLinkTarget();return(null==t?void 0:t.linkTarget)||n||this.getTargetType("RC")}getDeviceLinkTargetType(){const e=this._getModeClientProperty("ios-sc-link-target-mode")||(0,b.w$)("ios-sc-link-target");return this.itemData.skadNetworkItem?Object.assign(Object.assign({},e),{SP:"_top"}):ke&&e?e:f.MC.config.publisher["link-target-conf"]}getTargetType(e){const t=this.getDeviceLinkTargetType(),n=(0,b.w$)("link-target-conf");return t[e]||n[e]}shouldSendAvailableEvent(){const e=this.itemData;return!e.placement.thirdPartyCard&&!e.rvAvailableEvent}}let Se;function Oe(e){const t=Me(e);return De(t,e),t}function De(e,t){e.setAttribute("slot",t)}function Me(e){return(0,s.W)("span",{classList:["video-label","video-"+e]})}function Pe(e){return["video-label-box","before"===e?"trc-pre-label":"trc-main-label"]}const Le="e_trim%2C";function Ne(e){return(0,s.W)("span",{content:e,classList:["branding-inner","inline-branding"],attrList:[["role","link"],["aria-label",e||`Branding ${Re}`]]})}function Be(e,t){null!=Te||(Te=(0,b.BC)("enable-accessibility-mode-ios",!1)),Te&&ke&&(0,a.ET)(e,t)}},1075:function(e,t,n){"use strict";n.d(t,{P:function(){return p}});var i=n(9102),r=n(2470),o=n(7868),a=n(2120),s=n(3983),l=n(3001),c=n(8e3),d=n(7566);const u=["desktop","mobile"];function p(e){var t;const n=`//popup.taboola.com/${(0,c.w$)("disclosure-popup-language")||i.MC.config.publisher.language}`,p=e.url||n,h=function(e){const{type:t,url:n,content:i,position:r}=e,l=["trc_desktop_"+t+"_link","trc_mobile_"+t+"_link"],p=(0,a.W)("div",{classList:["logoDiv",`link-${t}`]}),h=[["href",e.url],["rel","nofollow"],["target","_blank"],["aria-label","Taboola Disclosure"]];for(let e=0;e{(0,o.e)(e,{href:n,anchorTag:t})})),p.appendChild(t),d.B.on("sponsoredVideoLabel",(e=>m(n,t,e)))}return p}({url:(0,r.$$)(`${p}/?${function(e,t){const n=i.MC.responseSummary.testAndExperiment.testVariant;return`template=colorbox&utm_source=${i.MC.config.publisher.publisherName}&utm_medium=referral&utm_content=${e}:${t}:${n}`}(e.modeName,e.placementName)}`),content:e.content,type:e.type,position:e.position});if("disclosure"===e.type){const n="sponsored",i=null!==(t=e.contentType)&&void 0!==t?t:n;(0,l.ET)(h,`attribution-disclosure-link-${i}`)}return"rtl"===("right"===e.alignment?i.MC.config.publisher.direction:null)&&(h.style.cssFloat="left"),h}function m(e,t,n){null==n||n.addEventListener("click",(n=>{(0,o.e)(n,{href:e,anchorTag:t})}))}},1901:function(e,t,n){"use strict";function i(){return!1}function r(){return window.customElements||window.Reflect}function o(){if(!r())return HTMLElement;const e=window.HTMLElement,t={HTMLElement(){return window.Reflect.construct(e,[],this.constructor)}}.HTMLElement;return t.prototype=e.prototype,t.constructor=window.HTMLElement,Object.setPrototypeOf(t,e),t}n.d(t,{Lr:function(){return o},ko:function(){return i},rm:function(){return r}})},5989:function(e,t,n){"use strict";n.d(t,{LW:function(){return y},N4:function(){return m},Np:function(){return _},r6:function(){return v},vw:function(){return h}});var i=n(4846),r=n(9642),o=n(0),a=n(22);function s(e){return`${e.weight} ${e.size} ${e.family}`}const l={},c=-1;let d=c;const u={};function p(e){return`_tbl_eli_${e}`}function m(e){return{size:e.fontSize,weight:e.fontWeight,family:e.fontFamily.toLowerCase()}}function h(e,t){const n=Array.isArray(t)?t:[t],a=s(e);l[a]=function(e){const t=(0,o.yN)("localStorage",p(e));return t?JSON.parse(t):null}(a)||{};const m=function(e,t){b||(b=document.createElement("canvas").getContext("2d"));let n=!1;const i=s(e);b.font=i;const r=b.measureText("A").width;if(r!==l[i].A&&(l[i]={}),null===g&&(g=(0|r)!==r),!g){const t=e.size.replace(/^([\d\.]+)(.*)/,((e,t,n)=>100*parseInt(t)+n));b.font=s(Object.assign(Object.assign({},e),{size:t}))}const o=l[i];return t.forEach((e=>{var t,i;const r=e;for(let e=0;e{d=c,(0,r.IF)(u,(t=>{u[t]&&((0,i.n5)(l[t],"No font style data"),u[t]=!1,(0,o.U1)("localStorage",p(e),JSON.stringify(l[t])))}))}),0))}(a),a}const f="M";let b,g=null;function v(e,t,n){t&&(e.innerText=t,(0,a.WR)(e,n))}function _(e,t){const n=s(t),r=l[n];return(0,i.n5)(r,"fontData is undefined"),w(e.split(""),r)}function y({fontType:e,content:t,maxRowWidth:n,maxRowsCount:r=2,reservedWidth:o=0,endsWithSpace:a}){const c=s(e),d=l[c];(0,i.n5)(d,"fontData is undefined");const u=function(e,t,n){const i=l[t],r=[{text:"",width:0,childList:[]}],o=i[" "];return e.forEach((e=>{var t,a;const s=r[r.length-1],l=0!==s.width,c=s.width+e.width+(l?o:0);if(c<=n)return s.text+=(l?" ":"")+e.text,s.width=c,void(null===(t=s.childList)||void 0===t||t.push(e));const d=1+(n/3/i[f]|0);if(e.text.length<=d)return void r.push({text:e.text,width:e.width,childList:[e]});let u=e.text.split("");for(;u.length>3;){const e=w(u,i);if(s.width+o+e<=n)break;u=u.slice(0,u.length-1)}if(u.length<=3)return void r.push({text:e.text,width:e.width,childList:[e]});const p={text:u.join(""),width:w(u,i)};s.text+=(l?" ":"")+p.text,s.width+=o+p.width,null===(a=s.childList)||void 0===a||a.push(p);const m=e.text.slice(u.length),h={text:m,width:w(m,i)};r.push({text:h.text,width:h.width,childList:[h]})})),r}(t.split(" ").map((e=>({text:e,width:e.split("").reduce(((e,t)=>e+d[t]),0)}))),c,n);if(u.length<=r)return u.map((e=>e.text));const p=u.slice(0,r),m=p[r-1],h=3*d["."]+(a?d[" "]:0)+o;let b=m.text.split("");for(;0!==b.length&&!(w(b,d)+h<=n);)b=b.slice(0,b.length-1);return m.text=`${b.join("")}...`,p.map((e=>e.text))}function w(e,t){return(Array.isArray(e)?e:e.split("")).map((e=>t[e])).reduce(((e,t)=>e+t),0)}},1117:function(e,t,n){"use strict";n.d(t,{M:function(){return _}});var i=n(22),r=n(8e3),o=n(3001),a=n(5288),s=n(6803),l=n(7177),c=n(3707),d=n(3983),u=n(5461),p=n(3363),m=n(5989),h=n(7243),f=n(5637);const b="trc_ellipsis";let g,v;class _{constructor(e,t,n,i){this._content=e,this._element=t,this.modeStyleComputer=n,this.inlineDetails=i,this._lineCount=-1,this._styles=(0,c.i)(),this._inlineDetailsElements=[],this.fillEllipsis=()=>{!this.inlineDetails&&(null!=g||(g=(0,u.KP)("chrome")),g&&(0,p.J)()>=84||!g)?this.fillNativeEllipsis():(this.inlineDetails&&(this._element.style.display="inline"),this.fillPolyfillEllipsis())},this.fillContent(),this._resizeObserver=(0,h.W)((0,d.Nk)((()=>{this.fillContent()}),500)),this._resizeObserver.observe(this._element)}cleanUp(){this._styles=(0,c.i)(),this._resizeObserver.disconnect(),this._resizeObserver=(0,c.i)()}computeStyles(){if(!this.modeStyleComputer)return;const e=this._element.clientHeight;if(!e)return;const t=this.getLineHeight();this._lineCount=t?Math.max(1,Math.floor(e/t)):1}getLineHeight(){var e,t;const n=this._styles=this.modeStyleComputer();if("normal"===n.lineHeight){const t=null!==(e=(0,l.Qq)(n.fontSize))&&void 0!==e?e:0;return Math.round(1.2*t)}return null!==(t=(0,l.vx)(n.lineHeight))&&void 0!==t?t:0}fillContent(){(0,a.Xs)(this._element,this._content),null!=v||(v=(0,r.BC)("fill-ellipsis-in-fader")),v?(0,s.D)(this.fillEllipsis):this.fillEllipsis()}fillPolyfillEllipsis(){if(this.computeStyles(),this._lineCount<=0)return void(0,o.Yw)(this._element,b);(0,o.ET)(this._element,b);const e=this._styles,t={size:e.fontSize,weight:e.fontWeight,family:e.fontFamily.toLowerCase()};let n=0,r=!1;this.inlineDetails&&(this._inlineDetailsElements=(0,i.rb)(this.inlineDetails,this._element),n=(0,i.QP)(this._inlineDetailsElements)||0,r=!0),(0,m.vw)(t,this._content);const a=(0,m.LW)({fontType:t,maxRowWidth:y(this._element),content:this._content,maxRowsCount:this._lineCount,reservedWidth:n,endsWithSpace:r}).join(" ")+(r?" ":"");(0,m.r6)(this._element,a,this._inlineDetailsElements)}resetEllipsisStyles(){const e=this._element;e.style.textOverflow="",e.style.whiteSpace="",e.style.webkitLineClamp=""}fillNativeEllipsis(){this.resetEllipsisStyles();const e=this._element;if((0,o.ET)(e,b),this.computeStyles(),this._lineCount<=0)return void(0,o.Yw)(e,b);const t=e.style,n=this._lineCount.toString();t.webkitLineClamp!==n?t.webkitLineClamp=n:t.whiteSpace||(t.textOverflow="ellipsis",t.whiteSpace="1"===n?"nowrap":"normal")}}function y(e){let t=0,n=e,i=0;for(;0===i&&n&&t++<10;)i=n.getBoundingClientRect().width||0,n=n.parentElement;return i>0?i:(0,f.I7)("a10")}},8113:function(e,t,n){"use strict";n.d(t,{$:function(){return g}});var i=n(8e3),r=n(8844),o=n(7243),a=n(3707),s=n(3983),l=n(2120),c=n(2355),d=n(7177),u=n(1479),p=n(4846),m=n(7766);let h,f,b;class g{constructor(e,t){this._imageType=(0,a.i)(),this.runImageLoadCallbacks=()=>{this._imagePerformanceCallbacks.forEach((e=>{e()}))},this.onVisibilityCallback=e=>{var t;e&&(this._boundingClientRect=this._bgElement.getBoundingClientRect(),this.loadImagesWithStyleSize(),this.addResizeObserver(),null===(t=this._visibilityUnsubscribe)||void 0===t||t.call(this))},this.handleImageLoaded=()=>{this._itemData.mediaLoaded()},this.handleImageError=()=>{var e;switch(this._imageType){case"taboolaUrl":(null===(e=this._images)||void 0===e?void 0:e.isRatioImage)&&(0,u.ex)("tmi-tra-fetch_error",{id:this._itemData._ID}),this.load("publisherUrl");break;case"publisherUrl":this.load("defaultUrl");break;case"defaultUrl":this.cleanUp()}},this._eventListenerManager=new m.OE,this._itemData=e,this._bgElement=t;const n=function(e){null!=f||(f=(0,i.BC)("thumbnail-image-lazy-load")),null!=b||(b=(0,i.w$)("thumbs-image-lazy-load-margins"));return{isLazyLoad:(0,s.tU)(e.getModeClientProperty("has-thumbs-image-lazy-load"),!0)||f,rootMargin:e.getModeClientProperty("thumbs-image-lazy-load-margins")||b}}(e.placementModeGroup);this._imagePerformanceCallbacks=[],(null==n?void 0:n.isLazyLoad)?this._visibilityUnsubscribe=(0,r.qm)(this._bgElement,this.onVisibilityCallback,{rootMargin:(0,d.vx)(n.rootMargin),visibleTime:0,visiblePercents:0}).unsubscribe:(this._boundingClientRect=this._bgElement.getBoundingClientRect(),this.loadImagesWithStyleSize(),this.addResizeObserver())}cleanUp(){var e,t;this._eventListenerManager.removeAll(),this._bgElement=(0,a.i)(),this._images=(0,a.i)(),this._imageElement=(0,a.i)(),null===(e=this._resizeObserver)||void 0===e||e.disconnect(),this._resizeObserver=(0,a.i)(),null===(t=this._visibilityUnsubscribe)||void 0===t||t.call(this),this._boundingClientRect=(0,a.i)()}loadImagesWithStyleSize(){(0,p.n5)(this._boundingClientRect,"loadImagesWithStyleSize: this._boundingClientRect is not defined"),this._imageSize=Math.max(this._boundingClientRect.width,this._boundingClientRect.height),this._images=this._itemData.getImageUrls({width:Math.ceil(this._boundingClientRect.width||0),height:Math.ceil(this._boundingClientRect.height||0)}),this.load("taboolaUrl")}measureImagePerformance(e,t){const n=(0,c.Jy)({measuredType:e,placement:t});this._imagePerformanceCallbacks.push(n)}handleImagePerformanceTracking(){const e=Date.now().toString();null!=h||(h=e),this.measureImagePerformance("imgLoadTime",e),e===h&&this.measureImagePerformance("firstImgLoadTime","firstImage")}load(e){this.handleImagePerformanceTracking(),this._imageType=e,this.createImageElement();const t=this._images[e],n=this._imageElement;n.src=t,this._eventListenerManager.add(n,"load",(()=>{this._bgElement.style.backgroundImage=`url('${t}')`,this.runImageLoadCallbacks()}))}createImageElement(){if(this._imageElement)return;const e=this._imageElement=(0,l.W)("img");this._eventListenerManager.add(e,"load",this.handleImageLoaded),this._eventListenerManager.add(e,"error",this.handleImageError)}addResizeObserver(){this._resizeObserver=(0,o.W)((()=>{this._boundingClientRect=this._bgElement.getBoundingClientRect(),this.imageIsTooSmall()||this.loadImagesWithStyleSize()})),this._resizeObserver.observe(this._bgElement)}imageIsTooSmall(){(0,p.n5)(this._boundingClientRect,"imageIsTooSmall: this._boundingClientRect is not defined");const e=1.2*(this._imageSize||0);return this._boundingClientRect.width<=e&&this._boundingClientRect.height<=e}}},9817:function(e,t,n){"use strict";n.d(t,{W:function(){return re}});var i=n(5125),r=n(9102),o=n(3707),a=n(5288),s=n(5177),l=n(2120),c=n(3876),d=n(1246);class u{constructor(e,t,n){this.eventEmitter=new s.b,this.itemContent=e,this.itemNumber=t+1,this.domElement=(0,l.W)("div"),this.layoutIsResponsive=n,this.storeElement();const r=(0,i.C8)("e24",{itemContent:this.itemContent,container:this.domElement,index:this.itemNumber});r?this._renderer=r:(this._renderer=new c.L({itemData:this.itemContent,container:this.domElement,index:this.itemNumber}),(0,i.C8)("e17",{itemExternalAccess:this,itemData:this.itemContent,container:this.domElement})),this.listenRenderEvents()}cleanUp(){this.cleanUpDomElement(),this.itemContent=(0,o.i)(),this._renderer.cleanUp(),this._renderer=(0,o.i)(),this.eventEmitter.removeAll(),this.eventEmitter=(0,o.i)()}cleanUpDomElement(){const e=this.domElement;e[d.o].placement=(0,o.i)(),e[d.o]=(0,o.i)(),(0,a.l4)(e),this.domElement=(0,o.i)()}listenRenderEvents(){this._renderer.eventEmitter.once("vis",(()=>{this.eventEmitter.emit("vis")}))}fillInDomElements(){this._renderer.fillInDomElements()}hasRendered(){return this._renderer.hasRendered()}reportInDomAction(){0===this.itemContent.contentType&&(0,i.C8)("e18",{container:this.domElement,itemData:this.itemContent})}isVisible(){return this._renderer.isVisible()}storeElement(){r.fg.appendEntityCustomData({entity:this.itemContent,element:this.domElement})}createLinkElement(e){if(!this._renderer)throw new Error("Item _renderer is not initialized");return this._renderer.createLinkElement(e)}}var p=n(3837),m=n(2526);const h={};let f;var b=n(5219),g=n(3001);function v(e,t){_(e,t)}function _(e,t,n=0){try{const i=(0,g.nB)(document,e.containerSelector);i?t.appendChild(i):n<50?window.setTimeout((()=>{_(e,t,n+1)}),100):(t.classList.remove("tbl-feed-card"),(0,b.JE)(" Could not find external container with selector",e.containerSelector,"to move"))}catch(t){(0,b.JE)("Exception while trying to find external container with selector",e.containerSelector,t)}}var y=n(5322),w=n(8e3),x=n(4245),C=n(9388),E=n(1075);var k=n(3088),T=n(2941),R=n(7177);function I(e,t,n){const{getModeClientProperty:i}=e,o={modeName:e.modeName,placementName:e.placement.uip,type:"disclosure",alignment:i("disclosure-alignment"),position:i("disclosure-position"),url:i("popup-custom-url")};if("none"===o.position||"after_branding"===o.position)return;const a=function(e,t){const{getModeClientProperty:n}=e;let i=n("min-width-for-disclosure");i&&!(0,T.qS)(i)&&(i=(0,R.vx)(i));return{minWidth:i,hideIfNoPlace:n("hide-disclosure-when-no-place"),isHeader:t.classList.contains("trc_rbox_header")}}(e,t);if(function(e,t){return!(!e.isHeader||!e.minWidth)&&t{if(!(0,N.Zj)())return;const n=`ResponsiveWidget-${e}`,i=Object.assign(Object.assign({},t),{eventName:n});(0,L.X)({eventType:"metrics",extraData:(0,D.z_)(i)})},A=e=>{const{getModeClientProperty:t}=e;if("autowidget-template-text-links"===t("widget-creator-layout"))return!1;if(!t("mode-is-responsive"))return!1;const n=t("responsive-rules"),i=(0,O.cT)(n);return!!i&&(e.items.length>=2&&!(1===i.cells||1===i.rows))};var $=n(5637);function U(e,t,n){if(!t.length)return null;const i=function(e,t,n){let i=-1;for(let r=0;r=n.offsetLeft,s=o.offsetLeft<=n.offsetLeft;if(!("left"===e?a:s)){i=r;break}}return i}(e,t,n);return-1===i?null:function(e,t,n){const i=function(e){const t={};return e.forEach((e=>{const n=e.offsetHeight;n&&(t[n]||(t[n]=[]),t[n].push(e))})),t}(t);let r,o;const a=Object.keys(i),s=t[e];if(function(e){const t=e.sortedHeightOfItemsArray[0],n=e.itemsPerHeightArrayMap[t],i=n[0]===e.passedItem&&1===n.length,r=2===e.sortedHeightOfItemsArray.length;return e.previousRow.length>2&&r&&i}({sortedHeightOfItemsArray:a,itemsPerHeightArrayMap:i,previousRow:t,passedItem:s}))o=!1,r=s;else{o=!0;const n=a[a.length-1];r=1===i[n].length?i[n][0]:t[e-1]||s}return(null==r?void 0:r.offsetHeight)?{rootCauseElement:r,isRootCauseElementHeightBigger:o,affectedItem:n}:null}(i,t,n)}var F=n(4846);let j=!1;const z={},W={},V=(0,a.nl)(":nth-child(1 of .videoCube)"),q=(e,t)=>{(0,F.n5)(e.items),e.items.length&&(function(e){(0,M.aq)()&&(0,P.D)((()=>{e.items.forEach((t=>{if(0!==t.contentType)return;const n=(0,w.H5)(t);if(!n)return;const i=e._ID;B("event-checking_overflowing_cards",{placementModeGroupsId:i});const r=(0,w.BC)("use-fader-before-sending-event",!1);(0,P.D)((()=>{n.scrollHeight>n.clientHeight+1&&B("event-overflowing_cards_found",{placementModeGroupsId:i,mode:e.modeName})}),{runImmediately:!r})}))}))}(e),K(e,G(e,t)),function(e){(0,M.aq)()&&(0,P.D)((()=>{if(!A(e))return;const t=(0,w.H5)(e);if(!t||!t.offsetWidth)return;const n=(0,w.H5)(e.items[0]),i=null==n?void 0:n.offsetWidth;if(!n||!i)return;const r=window.getComputedStyle(n).float;if("none"===r)return;const o=i/(0,$.I7)("a10")>.8,a=i/t.offsetWidth>.8;o||a||(B("event-checking_responsive_widget",{placementId:e._ID}),function(e,t){const n=e._ID;let i=[],r=[],o=!1;const a=e.items;r.push((0,w.H5)(a[0]));for(let s=1;sc.offsetTop&&a.offsetWidth>2*c.offsetWidth)break;let s;if(i=r.slice(),r=[],("left"===t&&c.offsetLeft>=a.offsetLeft+a.offsetWidth||"right"===t&&c.offsetLeft{t[e]=G(n,i,!0)})),e.forEach((([e,{placementModeGroupsData:n}])=>{K(n,t[e],!0)}))}function G(e,t,n=!1){if(e.items.length)return function(e,t,n=!1){if(!A(e))return;j||(j=!0,window.addEventListener("resize",(0,a.sg)(H,500,!1)));const i=e._ID;B("event-pre_fixing_responsive_widget",{isTriggeredByResize:n,placementModeGroupId:i});const r=t?Math.floor(t.offsetWidth):null;if(!r)return;const o=e.items,s=(0,w.H5)(o[0]),l=(0,w.H5)(o[1]);if(!s||!l)return;const c=s.offsetWidth,d=l.offsetWidth,u=Math.floor(r/s.getBoundingClientRect().width),p=o.length>1&&c>0&&d>0&&c>=2*d,m=(0,O.cT)(e.getModeClientProperty("responsive-rules")).cells,h=!W[i]&&m===u,f=W[i]===u;z[i]={placementModeGroupsData:e,container:t};if(V&&!p&&(h||f))return;let b=m;n&&!p&&!h&&!f&&W[i]&&(b=W[i]),W[i]=u;let g=!0;for(const e of o){const t=(0,w.H5)(e);if((null==t?void 0:t.offsetWidth)&&c!==t.offsetWidth){g=!1;break}}return{areAllCardsWithSameWidth:g,currentItemsPerRow:u,itemsPerRowToRevert:b}}(e,t,n)}function K(e,t,n=!1){e.items.length&&t&&function(e,t,n=!1){const{areAllCardsWithSameWidth:i,currentItemsPerRow:r,itemsPerRowToRevert:o}=t;e.items.forEach(((t,a)=>{if(!a)return;const s=(0,w.H5)(t);s&&(i&&a%r==0?s.style.clear="both":(a%o==0&&(s.style.clear="none"),B("event-fixing_responsive_widget",{areAllCardsWithSameWidth:i,isTriggeredByResize:n,placementId:e._ID})))}))}(e,t,n)}var X=n(22),Y=n(2409);class J{constructor(e,t){this._itemRenderList=[],this._nestedModeGroups=[],this._placementModeGroup=e,this._domElement=t,this._attributionPosition=function(e){const t=e.getModeClientProperty("attribution-position");return"top"===t?function(e){if((0,k.C)("attribution"))return!1;const t=function(e){return e.placement.parent?(0,w.H5)(e.placement.parent):(0,w.H5)(e.placement)}(e);if(!t)return!1;const n=e.getModeClientProperty("min-width-for-attribution")||0,i=getComputedStyle(t),r=parseFloat(i.paddingLeft||"0"),o=parseFloat(i.paddingRight||"0"),a=t.clientWidth||t.offsetWidth;return!!a&&n>a-r-o}(e)?"bottom":"top":t}(e),this._adChoicePosition=function(e,t){const n=e.getModeClientProperty("adchoice-position");return"auto"!==n?n:"none"===t?"top":t}(e,this._attributionPosition),this._id=(0,x.h_)(e._ID),this._layoutIsResponsive=(0,x.Vu)(e),this.outerElement=this.createOuterElement(),this.mainWrapperElement=this.createMainWrapperElement(),this._isProtectedAudienceCard=!!e.placement.pa,this.renderModeGroup()}createOuterElement(){const e=[["id","outer_"+this._id]];return this._layoutIsResponsive||e.push(["style","overflow: hidden;"]),(0,l.W)("div",{classList:["trc_rbox_outer"],attrList:e})}createMainWrapperElement(){return(0,l.W)("div",{attrList:[["id","internal_trc_"+this._id]]})}cleanUp(){this._itemRenderList.forEach((e=>e.cleanUp())),this._itemRenderList=[]}getItems(){var e;const t=this._itemRenderList;return null===(e=this._nestedModeGroups)||void 0===e||e.forEach((e=>{t.push(...e.getItems())})),t}fillInDomElements(){this._itemRenderList.forEach((e=>e.fillInDomElements())),q(this._placementModeGroup,this.mainWrapperElement)}renderModeGroup(){const e=this._placementModeGroup.modeGroupsList;if((0,x.fE)(this._placementModeGroup,this._domElement),e.length>0)return void this.handleNestedModeGroups(this._placementModeGroup);const t=this._domElement;(0,x.mx)(t);const n=!(0,X.v0)(this._placementModeGroup);(0,x._p)(t,this._placementModeGroup,this._id,n);const i=(0,l.W)("div",{classList:["trc_rbox_container"],parentElement:t}),r=(0,l.W)("div",{parentElement:i}),o=(0,w.w$)("switch-abp-class");let a,s="";switch(this._placementModeGroup.contentType){case"organic":a="trc-content-organic";break;case"hybrid":a="trc-content-hybrid";break;default:a="trc-content-sponsored"}o&&(0,y.zS)()>0&&(s=o.syndicatedItem);const c=this._placementModeGroup.modeName||this._placementModeGroup.modeName,d=(0,l.W)("div",{classList:["trc_rbox",c,s||a],attrList:[["id","trc_wrapper_"+this._id]],parentElement:r});d.style.overflow="hidden",this.setupHeaderElement(d),(0,X.J0)(this._placementModeGroup,this._id,this._domElement),d.appendChild(this.outerElement);const p=[["id",this._placementModeGroup.placement.listId]];(0,X.v0)(this._placementModeGroup)&&p.push(["style","overflow: hidden;"]);const m=(0,l.W)("div",{classList:["trc_rbox_div","trc_rbox_border_elm"],attrList:p});this.outerElement.appendChild(m),m.appendChild(this.mainWrapperElement),this._placementModeGroup.items.forEach(((e,t)=>{const n=new u(e,t,this._layoutIsResponsive);this._itemRenderList.push(n),this.mainWrapperElement.appendChild(n.domElement)})),this.setupFooterElement(d),(0,l.W)("div",{classList:["trc_clearer"],parentElement:d})}handleNestedModeGroups(e){const t=e.modeGroupsList;let n=this._domElement;t.length>2&&(0,b.fH)(`nestedModeGroup detected with ${t.length} siblings ${document.location.href}`),t.forEach((e=>{const t=(0,x.tc)(e);n.appendChild(t),r.fg.appendEntityCustomData({entity:e,element:t}),this._nestedModeGroups.push(new J(e,t)),e.modeGroupsList.length>0&&(n=t,(0,b.fH)(`nestedModeGroup detected ${document.location.href}`))}))}setupHeaderElement(e){var t;if((null===(t=r.MC.optionsSummary.protectedAudience)||void 0===t?void 0:t.renderItemMode)||this._isProtectedAudienceCard)return;const n=(0,l.W)("div",{classList:["trc_rbox_header","trc_rbox_border_elm"],attrList:[["id","trc_header_"+this._id]]}),i=(0,l.W)("div",{classList:["trc_header_ext"]});if("top"===this._adChoicePosition&&this.appendAdChoiceElementIfExist(i),"top"===this._attributionPosition){"auto"===this._adChoicePosition&&this.appendAdChoiceElementIfExist(i);const e=S(this._placementModeGroup,"top");i.appendChild(e)}"bottom"!==this._placementModeGroup.getModeClientProperty("disclosure-position")&&I(this._placementModeGroup,i,this._domElement),n.appendChild(i);const o=this._placementModeGroup.getModeClientProperty("header"),a=this.headerTextElement=(0,l.W)("span",{classList:["trc_rbox_header_span"],attrList:[["role","heading"],["aria-level","3"]]});this.handleHeaderIcon(a);const s=this._placementModeGroup.getModeClientProperty("header-right");if("No Header"!==s)this.generateHeaderPart(a,o,["trc_header_left_column","trc_header_left_part"]),this.generateHeaderPart(a,s,["trc_header_right_column","trc_header_right_part"]);else{const e="No Header"!==o?o:"";a.insertAdjacentHTML("beforeend",e)}this.addTitleBoxAtt(n,a),n.appendChild(a),e.appendChild(n)}generateHeaderPart(e,t,n){const i=(0,l.W)("span",{classList:n});i.insertAdjacentHTML("beforeend",t),e.appendChild(i)}addTitleBoxAtt(e,t){e.titleBox=t}handleHeaderIcon(e){const t=(0,C.L)(this._placementModeGroup);t&&((0,g.ET)(e,"trc_rbox_header_icon_span"),e.appendChild(t))}setupFooterElement(e){var t;if(this._isProtectedAudienceCard)return;let n=!1;const i=(0,l.W)("div",{classList:["trc-widget-footer"]});"bottom"===this._adChoicePosition&&(this.appendAdChoiceElementIfExist(i),n=!0),"top"!==this._attributionPosition&&"none"!==this._attributionPosition&&("auto"===this._adChoicePosition&&(this.appendAdChoiceElementIfExist(i),n=!0),i.appendChild(S(this._placementModeGroup,"bottom"))),"bottom"===this._placementModeGroup.getModeClientProperty("disclosure-position")&&I(this._placementModeGroup,i,this._domElement);const r=this._placementModeGroup.placement;2!==(null===(t=r.parent)||void 0===t?void 0:t.entityType)&&(0,Y.a)(i,r.uip,n),i.children.length>0&&e.appendChild(i)}appendAdChoiceElementIfExist(e){const t=function(e,t){if(!(0,w.BC)("has-adchoice"))return;const n=(0,w.w$)("adchoice-item-types");if(!e.items.some((e=>{return 0===e.contentType&&(i=n,!(!(t=e).isOrganic||!i["is-organic"])||!(!t.isNetwork||!i["is-in-network"])||!(!t.isSyndicated||!i["is-syndicated"])||t.isNative&&i["is-native"]);var t,i})))return;const i=function(e){return e.getModeClientProperty("adchoice-target-url")||(0,w.w$)("adchoice-url")||e.getModeClientProperty("popup-custom-url")}(e),{placement:r,modeName:o}=e,a=(0,E.P)({modeName:o,placementName:r.uip,type:"adc",position:t,url:i});return(0,g.Oh)(a.childNodes).forEach((e=>{!function(e){const t=(0,l.W)("span",{classList:["trc_adc_wrapper"]}),n=(0,l.W)("span",{classList:["trc_adc_s_logo"]}),i=(0,l.W)("span",{classList:["trc_logos_v_align"]});t.appendChild(n),(0,g.vn)(t),(0,g.vn)(i),e.appendChild(t),e.appendChild(i)}(e)})),a}(this._placementModeGroup,this._adChoicePosition);t&&e.appendChild(t)}}let Z;class Q{constructor(e){this._exploreEventTimeout=0,this._exploreEventFired=!1,this.exploreOverHandler=()=>{clearTimeout(this._exploreEventTimeout);const e=this.getDelay();e?this._exploreEventTimeout=window.setTimeout(this.sendExploreEvent,e):this.sendExploreEvent()},this.exploreLeaveHandler=()=>{clearTimeout(this._exploreEventTimeout)},this.sendExploreEvent=()=>{this.cleanUp();const{placementData:e}=this.settings;this._exploreEventFired||(this._exploreEventFired=!0,e.sendExploreEvent())},this.settings=e,this.addExploreEventListeners()}cleanUp(){clearTimeout(this._exploreEventTimeout);const e=this.settings.domElement;e&&(e.removeEventListener("mouseover",this.exploreOverHandler),e.removeEventListener("mouseleave",this.exploreLeaveHandler))}addExploreEventListeners(){const{domElement:e}=this.settings;e.addEventListener("mouseover",this.exploreOverHandler),this.getDelay()&&e.addEventListener("mouseleave",this.exploreLeaveHandler)}getDelay(){return null!=Z||(Z=(0,w.w$)("explore-delay")||0),Z}}var ee=n(5423),te=n(5694),ne=n(4515),ie=n(2355);class re{constructor(e,t){this._id=(0,D.MZ)(),this._placementModeGroups=[],this._itemRenderList=[],this.handleVisibleItem=()=>{const{isItemLevelVisible:e}=r.MC.responseSummary;this._itemRenderList.forEach((t=>{var n;if(t instanceof u){const i=t.isVisible();i&&(null===(n=t.itemContent.getItemData())||void 0===n||n.setAsVisible()),(!e||i)&&t.eventEmitter.off("vis",this.handleVisibleItem)}})),this.placementData.sendEventVisible()},this.placementData=e,this.domElement=t,(0,x.FC)(t),this._exploreEventController=new Q(this)}renderImmediately(){this.createContent()}render(){const e=(0,i.C8)("e25",this.placementData,this.domElement);return e?e.then((e=>{e&&(this.placementData=e);try{this.createContent()}catch(e){(0,b.vV)("Placement render error::",e)}})):(this.createContent(),ne.g.resolve())}cleanUp(){var e;this.placementData=(0,o.i)(),this.domElement.innerText="",this.domElement=(0,o.i)(),this._placementModeGroups.forEach((e=>e.cleanUp())),this._placementModeGroups=[],null===(e=this._exploreEventController)||void 0===e||e.cleanUp(),this._exploreEventController=null,this._itemRenderList=[]}fillInDomElements(){this._placementModeGroups.forEach((e=>e.fillInDomElements())),this.placementData?!this.placementData.thirdPartyCard&&this.placementData.sendEventAvailable():(0,b.JE)("fillInDomElements: Missing placementData, could not send Available event.")}hasRendered(){return 0===this._itemRenderList.length||this._itemRenderList.some((e=>e instanceof u&&e.hasRendered()))}reportInDomAction(e){const t=this._placementModeGroups[0]||{};(0,i.C8)("e18",{container:this.domElement,placement:this.placementData,placementMainWrapper:t.mainWrapperElement,placementOuterBox:t.outerElement,headerTextElement:t.headerTextElement,cardNumber:e}),this.itemRenderForEach((e=>e.reportInDomAction()));const n=(0,ee.Sm)(this.placementData);(0,te.k)("render",n)}createContent(){if(!this.placementData)return void(0,b.JE)("createContent: Missing placementData, could not create content.");if(0===this.placementData.type)return;const e=!(this.placementData.modeGroupsData.modeGroupsList.length>0||(0,X.v0)(this.placementData.modeGroupsData));if((0,x.mx)(this.domElement),2===this.placementData.type||(0,x._p)(this.domElement,this.placementData,this._id,e),!(0,i.C8)("e29",this.placementData))switch(this.placementData.type){case 2:if(this.placementData.pa)return void this.renderRecommendationPlacement();this.domElement.style.margin="0",this.domElement.style.padding="0",this.domElement.classList.remove("tbl-feed-card");break;case 1:this.renderRecommendationPlacement();break;case 4:!function(e,t){const n=function(e){const t=document.createElement("iframe");return t.style.border="0",t.style.display="block",t.scrolling="no",t.style.width=e.width||"0px",t.style.height=e.height||"0px",t}(e);t.appendChild(n),n.onload=function(){var t,i;if(h[e._ID])return;h[e._ID]=!0;const r=(null===(t=n.contentWindow)||void 0===t?void 0:t.document)||n.contentDocument;r&&(r.open(),n.contentWindow&&(0,p.M)(n.contentWindow),r.write(e.decodedJS),r.close(),null===(i=n.contentWindow)||void 0===i||i.dispatchEvent(new Event("load")),function(e){const t=e.createElement("style");t.type="text/css",t.appendChild(e.createTextNode("body { margin: 0px }")),e.getElementsByTagName("head")[0].appendChild(t)}(r))};const i=e.eo;i&&(f=new m.X(t,i),f.listenToCardIframeChildClick())}(this.placementData,this.domElement);break;case 5:v(this.placementData,this.domElement)}}renderRecommendationPlacement(){var e;const t=this.placementData,n=(null===(e=t.mode)||void 0===e?void 0:e.modeName)||t.m,i=(0,ie.Jy)({measuredType:"rendering",modeName:n,placement:t.ri,measureLevel:"reqMeasure"});this.renderPlacementModeGroups(),i()}renderPlacementModeGroups(){((e,t)=>{let n;e.modeGroupsList.length&&(n=(0,x.tc)(e),t.appendChild(n)),this._placementModeGroups.push(new J(e,n||t))})(this.placementData.modeGroupsData,this.domElement),this._itemRenderList=this._placementModeGroups.reduce(((e,t)=>(e.push(...t.getItems()),e)),[]),this.itemRenderForEach((e=>e.eventEmitter.once("vis",this.handleVisibleItem)))}itemRenderForEach(e){this._itemRenderList.forEach((t=>{t instanceof u&&e(t)}))}}},3388:function(e,t,n){"use strict";n.d(t,{oT:function(){return x},Nw:function(){return C},Fe:function(){return E},_f:function(){return k}});var i=n(2360),r=n(9102),o=n(8e3),a=n(5219),s=n(9642),l=n(8242),c=n(4800),d=n(3983),u=n(22);const p=-1;function m(e){return e!==p}const h="__gen__",f="tblStyle_",b="__keys__";let g,v={},_=0,y="";const w={".video-label,.sponsored,.sponsored-url":".video-title"};function x(e,t){const n=null==t?void 0:t.__keys__;if(!n)return Object.assign(Object.assign({},e),t);const i={};return n.forEach((n=>{var r;return i[n]=null!==(r=t[n])&&void 0!==r?r:e[n]})),i}function C(e){g||(g=new MutationObserver((e=>{e.forEach((e=>{const t=e.removedNodes[0];t&&"STYLE"===t.nodeName&&(null==t?void 0:t.id.startsWith(f))&&function(){_=0,v={},y="";const e=c.Pp.TRC;e.TRECS.styleInjected=!1;const t="injectedCustomStyle";e[t]&&(e[t]=!1)}()}))}))).observe(document.head,{childList:!0});let t=function(){if(v[h]||c.Pp.TRC.TRECS.styleInjected)return"";v[h]=!0;const e=(0,o.w$)("style");return y+=' .trc_rbox_container { direction: ltr; text-align: left; } /*override bootstrap default css */ .trc_rbox_container [class*=span] { float: none; margin-left: 0; } /*------------- Multi-widget -------------*/ .trc_multi_widget_container { display: -ms-flexbox; display: flex; -ms-flex-pack: justify; justify-content: space-between; } .trc_multi_widget_container .trc_rbox_div { margin: 0; } /*----------------------------------------*/ .trc_rbox_header { border: 0 solid; overflow: hidden; vertical-align: middle; } .trc_rbox_container .trc_img { display: inline-block !important; } .trc_rbox_header_icon_div { display: table-cell; vertical-align: baseline; } .trc_rbox_header .trc_rbox_header_icon_div .trc_rbox_header_icon_img { vertical-align: middle; width: auto; } .trc_rbox_header_icon_span { display: inline-table; } .in_trc_header { position: relative !important; float: right; margin: 0; } #trc_rbox_css_loaded { overflow: hidden; width: 0; height: 0; } .trc_rbox { margin-top: 0; } .trc_rbox_div { margin: 0 0 3px; direction: ltr; padding: 0; box-sizing: border-box; -moz-box-sizing: border-box; -ms-box-sizing: border-box; -webkit-box-sizing: border-box; overflow: auto; position: relative; width: auto; border: solid #CCC 1px; } .loading-animation span { display: block; } .videoCube { zoom: 1; cursor: pointer; float: none; overflow: hidden; box-sizing: border-box; -moz-box-sizing: border-box; -ms-box-sizing: border-box; -webkit-box-sizing: border-box; } div.videoCube:hover, .videoCube_hover { cursor: pointer; } .videoCube span.video-title:hover, .videoCube_hover span.video-title { text-decoration: underline; } .videoCube a { text-decoration: none; border: 0; color: black; cursor: pointer; } .videoCube a:hover, .videoCube_hover a, .videoCube a:link, .videoCube a { text-decoration: none !important; outline: none; } .videoCube a .thumbBlock { float: left; display: block; overflow: hidden !important; } .videoCube a img, .videoCube img { border: 0; display: block; margin: 0; height: auto; width: auto; } .videoCube .video-label { display: block; overflow: hidden; } .videoCube .video-label { width: auto !important; white-space: pre-wrap; /* css-3 */ white-space: -moz-pre-wrap; /* Mozilla, since 1999 */ white-space: -o-pre-wrap; /* Opera 7 */ word-wrap: break-word; /* Internet Explorer 5.5+ */ } .videoCube .video-label-box.label-box-with-title-icon { display: table; } .video-icon-container { float: left; display: table-cell; vertical-align: baseline; } .video-icon-img { vertical-align: middle; } .videoCube .video-duration { height: 0; float: left; position: relative; color: white; font-size: 11px; } .videoCube .video-duration dt { border-radius: 4px; -moz-border-radius: 4px; -webkit-border-radius: 4px; background-color: black; opacity: 0.6; filter: alpha(opacity=60); } /* browser native line-clamp */ .videoCube span.video-label.trc_ellipsis { position: relative; overflow: hidden; display: -webkit-box; -webkit-box-orient: vertical; } .videoCube span.video-label.trc-smart-ellipsis { position: relative; overflow: hidden; } .videoCube span.video-label.trc-smart-ellipsis ins { display: inline-block; text-decoration: inherit; } .videoCube span.video-label.trc-smart-ellipsis.tbl-ltr-label { direction: ltr; } .videoCube span.video-label.trc-smart-ellipsis.tbl-ltr-label ins { float: left; margin-right: 5px; direction: ltr; } .videoCube span.video-label.trc_ellipsis.tbl-rtl-label{ direction: rtl; text-align: right; width: auto !important; } .videoCube span.video-label.trc-smart-ellipsis.tbl-rtl-label { float: right; direction: rtl; width: auto !important; } .videoCube span.video-label.trc-smart-ellipsis.tbl-rtl-label ins { float: right; margin-left: 5px; direction: rtl; } .videoCube span.video-label.trc-smart-ellipsis ins.lastLineEllipsis { display: block; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; word-wrap: normal; width: 100%; } .video-duration.video-duration-detail div { color: white; } .trc_rbox .sponsored { position: relative; display: block; overflow: visible; height: auto; width: auto; padding-right: 0; text-align: right; font-size: 9px; } /* Configuration defaults */ .trc_rbox_div { height: 410px; } .videoCube { direction: ltr; font-size: 11px; margin: 0; color: black; border-width: 0; } .videoCube.vertical:first-child { border-top: 0; margin-top: 0; } .videoCube.horizontal:first-child { border-left: 0; margin-left: 0; } div.videoCube:hover, .videoCube_hover { background-color: #EBF0FF; color: black; } .videoCube .thumbBlock { margin: 0; border-style: solid; } .videoCube a img, .videoCube img { border-color: #ececec; } .videoCube .video-label-box { margin-left: 81px; } .videoCube .video-label dt { font-weight: bold; } .videoCube .video-title { height: auto; margin-bottom: 3px; white-space: normal; } .videoCube .trc_inline_detail_spacer { display: inline-block; white-space: pre; } .loading-animation { font-family: sans; font-size: 1.5em; text-align: center; color: gray; height: 100%; } .trc_rbox_header { font-family: Arial, Helvetica, sans-serif; font-size: 12px; font-weight: bold; text-decoration: none; color: black; } .trc_header_right_part { position: absolute; left: 50%; top: 0; } .branding_div { overflow: visible; float: right; } .branding_div img { height: 20px; } .videoCube .branding .logoDiv { font-size: inherit; line-height: inherit; background: none; margin: 0; padding: 0; } .videoCube .branding .logoDiv a { vertical-align: inherit; color: inherit; line-height: inherit; } .videoCube .branding .logoDiv a span { vertical-align: inherit; } .trc_related_container .videoCube .branding .attribution-disclosure-link-sponsored { display: inline-block; float: none; } .trc_related_container .videoCube .branding .attribution-disclosure-link-sponsored.align-disclosure-right { float: right; margin-left: auto; padding-left: 2px; } .videoCube .video-label-box .branding.composite-branding { display: -webkit-box; display: -ms-flexbox; display: flex; } .branding.composite-branding > * { display: inline-block; vertical-align: bottom; } .branding .branding-separator { margin: 0 2px; font-weight: normal; } .branding .branding-inner { text-overflow: ellipsis; overflow: hidden; white-space: nowrap; } .video-label-box span.branding.inline-branding { display: inline-block; } /* Support for Horizontal mode */ .trc_related_container div.horizontal { float: left; box-sizing: border-box; -moz-box-sizing: border-box; -ms-box-sizing: border-box; -webkit-box-sizing: border-box; } /* Support for thumbnail position */ .trc_related_container DIV.videoCube.thumbnail_top .thumbBlock, .trc_related_container DIV.videoCube.thumbnail_bottom .thumbBlock { float: none; } /* SEO blocks should be hidden once R-Box loads */ .vidiscovery-note { display: none; } .videoCube .thumbBlock .trc_sponsored_overlay_base { display: block; width: auto; margin-left: 0; position: absolute; color: white !important; } .videoCube .thumbBlock .trc_sponsored_overlay { filter: alpha(opacity=60); opacity: 0.6; display: block; position: absolute; } .videoCube .thumbBlock .trc_sponsored_overlay_base .sponsored { position: relative; display: block; overflow: visible; width: auto; text-align: center; padding: 0 5px; margin-top: 0; } .videoCube .thumbBlock .trc_sponsored_overlay_base.round .trc_sponsored_overlay { border-radius: 4px; -moz-border-radius: 4px; -webkit-border-radius: 4px; } .videoCube .thumbBlock .trc_sponsored_overlay_base.round { margin-left: 4px; } .thumbnail-emblem, .videoCube .thumbnail-overlay, .videoCube:hover .thumbnail-overlay, .videoCube_hover .thumbnail-overlay { position: absolute; background: transparent no-repeat; background-size: contain; z-index: 50; } .thumbnail_bottom { padding-bottom: 8px; } .trc_related_container .logoDiv { font-family: Arial, Helvetica, sans-serif; white-space: nowrap; font-size: 9px; } .trc_related_container .logoDiv a { font-size: 9px; text-decoration: none !important; color: black; margin-right: 1px; /* don\'t allow focus line to cause overflow */ vertical-align: text-bottom; } .logoDiv a span:hover { text-decoration: underline; } .trc_rbox_header .logoDiv { font-size: 1em; } /* text-link widgets*/ .trc_tl .trc_rbox_header .logoDiv { position: relative; z-index: 1; } .trc_tl .trc_rbox_header_span .trc_header_right_column { position: absolute; width: 48%; left: 52%; top: 0; } .trc_tl .trc_rbox_div .videoCube.horizontal { clear: left; } .trc_tl .trc_rbox_div .videoCube.trc_tl_right_col { float: none; clear: right; margin-left: auto; } .trc_tl .videoCube .video-title .branding { line-height: 1.3em; } .trc_tl .videoCube:hover span.branding, .trc_tl .videoCube_hover span.branding { text-decoration: none; } .trc_tl .trc_rbox_div .videoCube.thumbnail_none a{ vertical-align: top; overflow: visible; } .trc_tl .videoCube .video-label-box { display: inline-block; vertical-align: top; width: 100%; } /* text-link widgets - end*/ .trc_related_container .videoCube .thumbBlock .branding { position: absolute; bottom: 0; z-index: 1; width: 100%; margin: 0; padding: 5px 0; text-align: center; } .syndicatedItem .branding { margin: 0; } .trc-inplayer-rbox { background: #333; background: rgba(30, 30, 30, 0.9); bottom: 0; position: absolute; height: 300px; text-align: center; } .trc-inplayer-rbox .trc_rbox_container { margin: 50px auto 0; width: 640px } .trc_rbox.trc-auto-size { width: 100%; height: 100%; } .videoCube.thumbnail_under .video-title { min-height: 2.58em; } .videoCube.thumbnail_under .tbl-text-over-container { width: 100%; position: absolute; z-index: 1; left: 0; bottom: 0; min-height: 66%; max-height: 66%; padding-top: 2px; padding-bottom: 2px; line-height: 1.25em; } .videoCube.thumbnail_under .tbl-text-over-container .tbl-text-over { height: 100%; width: 100%; position: absolute; background: linear-gradient(to bottom, rgba(0, 0, 0, 0) 0%, rgba(0, 0, 0, 0.8) 100%); filter: progid:DXImageTransform.Microsoft.gradient(startColorstr=#00000000, endColorstr=#CC000000, GradientType=0); } .videoCube.thumbnail_under .tbl-text-over-container span.video-title, .videoCube.thumbnail_under .tbl-text-over-container span.video-description, .videoCube.thumbnail_under .tbl-text-over-container span.branding { position: relative; z-index: 1; padding: 0 8px; margin: 0; } .videoCube.thumbnail_under .tbl-text-over-container span.video-title { margin-bottom: 6px; min-height: auto; } .videoCube.thumbnail_under .tbl-text-over-container .video-label-box { position: absolute; bottom: 0; left: 0; width: 100%; padding: 0 8px 6px 8px; min-height: auto; box-sizing: border-box; } .trc-auto-size .trc_rbox_outer .trc_rbox_div { height: auto; width: auto; } .trc-auto-size .trc_rbox_div .videoCube { height: auto; } .trc-auto-size .trc_rbox_div .videoCube.trc-first-recommendation { margin-top: 0; } .trc_rbox .trc_rbox_outer .trc_rbox_div .videoCube.trc-first-in-row { margin-left: 0; } .trc_elastic .trc_rbox { width: auto; } .trc_elastic .videoCube { overflow: hidden; } .trc_elastic .videoCube .thumbBlock { background: transparent no-repeat center center; background-size: cover; position: absolute; display: inline-block; top: 0; right: 0; bottom: 0; left: 0; margin-left: 0; margin-right: 0; } .trc_elastic .thumbBlock_holder { position: relative; width: 100%; } .trc_elastic .thumbnail_start .thumbBlock_holder { float: left; margin-right: 10px; } .trc_elastic .thumbnail_start.item-has-pre-label .thumbBlock_holder { margin-right: 0; } .trc_elastic .videoCube_aspect { width: 1px; } .trc_elastic .trc_rbox .trc_rbox_div { height: auto; } .trc_elastic .thumbnail_start .trc-pre-label { float: left; padding-right: 10px; } .trc_elastic .thumbnail_start.trc-split-label .trc-main-label { float: left; padding-left: 10px; } .trc_elastic .video-label-box { display: block; } .trc_elastic .thumbnail_start .video-label-box { box-sizing: border-box; } /** USER Ad-Choice **/ .trc_user_adChoice_btn { background: url("//cdn.taboola.com/static/c5/c5ef96bc-30ab-456a-b3d5-a84f367c6a46.svg") no-repeat scroll 0 0 rgba(255, 255, 255, 1); border-radius: 0 0 0 5px; width: 16px; height: 16px; position: absolute; right: 0; top: 0; z-index: 9000; cursor: pointer; border-width: 2px 0 2px 4px; border-style: solid; border-color: #fff; opacity: 0.7; background-size: contain; visibility: hidden; } .videoCube:hover .trc_user_adChoice_btn, .videoCube_hover .trc_user_adChoice_btn { visibility: visible; } .videoCube .trc_user_adChoice_btn_static { visibility: visible; } .p-video-overlay-container { position: absolute; width: 100%; height: 100%; top: 0; left: 0; background-color: transparent; } .p-video-overlay.p-video-overlay-show { display: flex; } .p-video-overlay { display: none; background-color: #000; opacity: 0.7; width: 100%; height: 100%; flex-direction: column; } .p-video-overlay-action { color: #fff; width: 100%; direction: ltr; text-align: center; display: flex; justify-content: center; flex-direction: column; } .p-video-overlay-action.p-video-back-action { height: 34%; } .p-video-back-action-label { font-family: Helvetica Neue, serif; font-size: 14px; font-weight: 200; letter-spacing: 1px } .p-video-overlay-action.p-video-goto-action { height: 66%; } .p-video-goto-action-url { font-family: Helvetica Neue, serif; font-size: 24px; font-weight: 400; text-decoration: underline; margin-top: 5px; } .p-video-goto-action-label { font-family: Helvetica Neue, serif; font-size: 14px; font-weight: 100; letter-spacing: 1px; } .trc_related_container .trc_clearer { clear: both; height: 0; overflow: hidden; font-size: 0; line-height: 0; visibility: hidden; } /* Ad Choices */ .link-adc { float: right !important; } .trc-widget-footer .logoDiv { line-height: normal; padding-bottom: 5px; } .trc-widget-footer .link-adc a .trc_adc_wrapper, .trc_header_ext .link-adc a .trc_adc_wrapper { height: 12px; width: 18px; display: inline-block; padding-left: 1px; margin-bottom: 2px; } .trc-widget-footer .link-adc a .trc_adc_s_logo, .trc_header_ext .link-adc a .trc_adc_s_logo, .trc-widget-footer .link-adc a .trc_adc_b_logo, .trc_header_ext .link-adc a .trc_adc_b_logo { vertical-align: middle; height: 15px; display: inline-block; margin-top: -1px; /**fix v align of adc logo - compensate for link underline */ } .trc-widget-footer .link-adc a .trc_adc_s_logo, .trc_header_ext .link-adc a .trc_adc_s_logo { width: 12px; height: 14px; background: url("//cdn.taboola.com/static/c5/c5ef96bc-30ab-456a-b3d5-a84f367c6a46.svg") no-repeat; background-size: contain; vertical-align: middle; } .trc-widget-footer .link-adc a .trc_adc_b_logo, .trc_header_ext .link-adc a .trc_adc_b_logo { width: 77px; background: #ffffff url("//cdn.taboola.com/libtrc/static/thumbnails/0781f9c5a8637d1e162874f157460048.png") no-repeat !important; right: -1px; display: none; position: absolute; } /* Attribution och Disclosure */ .logoDiv .trc_mobile_disclosure_link, .logoDiv .trc_mobile_attribution_link, .logoDiv .trc_mobile_adc_link { display: none; } .logoDiv .trc_desktop_disclosure_link, .logoDiv .trc_desktop_attribution_link, .logoDiv .trc_desktop_adc_link { display: inline; } @media screen and (max-width: 767px) { .logoDiv .trc_mobile_disclosure_link { display: inline; } .logoDiv .trc_mobile_attribution_link { display: inline; } .logoDiv .trc_mobile_adc_link { display: inline; } .logoDiv .trc_desktop_disclosure_link { display: none; } .logoDiv .trc_desktop_attribution_link { display: none; } .logoDiv .trc_desktop_adc_link { display: none; } } .trc_in_iframe .logoDiv .trc_mobile_attribution_link, .trc_in_iframe .logoDiv .trc_mobile_disclosure_link { display: inline; } .trc_in_iframe .logoDiv .trc_desktop_attribution_link, .trc_in_iframe .logoDiv .trc_desktop_disclosure_link { display: none; } .trc_related_container .logoDiv, .trc_related_container .trc_header_ext .logoDiv { float: right; } .trc_related_container .logoDiv + .logoDiv { margin-right: 2px; } .trc_related_container .attribution-disclosure-link-sponsored, .trc_related_container .attribution-disclosure-link-hybrid { display: none; } .trc_related_container .trc-content-sponsored .attribution-disclosure-link-sponsored, .trc-w2f.trc-content-sponsored .attribution-disclosure-link-sponsored { display: block; } .trc_related_container .trc-content-hybrid .attribution-disclosure-link-hybrid, .trc-w2f.trc-content-hybrid .attribution-disclosure-link-hybrid { display: block; } .trc_related_container .trc-widget-footer:hover a span, .trc_related_container .trc_header_ext:hover a span { text-decoration: underline !important; } /* this span makes sure that all logos (attribution + adc + disclosure) are vertically aligned - especially when the attribution font-size is smaller than the adc logo height (15px) */ .logoDiv a span.trc_logos_v_align { display: inline-block !important; font-size: 15px !important; line-height: 1em !important; width: 0 !important; } .trc_related_container .trc_header_ext:hover a span.trc_logos_v_align, .trc_related_container .trc_header_ext:hover a span.trc_adc_wrapper, .trc_related_container .trc-widget-footer:hover a span.trc_logos_v_align, .trc_related_container .trc-widget-footer:hover a span.trc_adc_wrapper { text-decoration: none !important; } .trc_related_container .trc_rbox_header_span .trc_header_right_column { display: none; } .trc_related_container img { max-width: none; } .trc_related_container * { pointer-events: auto; } .trc_related_container { clear: both; } .tbl-loading-spinner { width: 100%; height: 40px; background: url(//cdn.taboola.com/static/91/91a25024-792d-4b52-84e6-ad1478c3f552.gif) center center no-repeat; background-size: 40px; } .tbl-hidden { display: none !important; } .tbl-invisible { opacity: 0; pointer-events: none; } .tbl-batch-anchor { width: 100%; height: 1px; } .videoCube .video-logo + .branding.composite-branding { display: inline-block; vertical-align: middle; } .videoCube .video-logo { margin-right: 4px; } .videoCube .video-logo .branding { margin: auto auto auto 25px; } .videoCube .video-logo img { padding: 0; max-height: 14px; width: auto; max-width: 100px; display: inline-block; } /* Support for integrated widget frame */ .iw_video_frame .trc_rbox_div { overflow: hidden; } .trc-w2f .trc_rbox .trc_rbox_header, .trc-w2f .trc_rbox .trc-widget-footer { display: none !important; } .videoCube .tbl-organic-video-wrapper { display: -ms-flexbox; display: flex; align-items: flex-start; height: 100%; width: 100%; background-color: transparent; background-size: auto; text-align: center; overflow: hidden; position: absolute; top: 0; z-index: 3; opacity: 0; } .videoCube .tbl-organic-video-wrapper .tbl-o-vertical-video { height: 100%; } .videoCube .tbl-organic-video { width: 100%; height: auto; object-fit: contain; object-position: 50% 50%; -o-object-fit: contain; -o-object-position: 50% 50%; background-color: black; pointer-events: none; } .videoCube .tbl-accessibility-title { font: -apple-system-headline !important; } .videoCube .tbl-accessibility-description { font: -apple-system-subheadline !important; } .videoCube .tbl-accessibility-branding { font: -apple-system-caption1 !important; } ',y+=e.rtl||"",y+=e.custom||"",c.Pp.TRC.TRECS.styleInjected=!0,y}();e.forEach((e=>{const{modeName:n}=e;if(v[n])return;if(v[n]=!0,!r.MC.config.publisher.modes[n]&&!(0,i.iG)(n))return void(0,a.JE)(`Mode '${n}' not exist in publisher config.`);const s=(0,o.w$)("style"),l=(0,o.Ol)(i.yZ,"__style__")||{},c=(0,o.Ol)(n,"__style__")||{};t+=k(n,x(l,c)),t+=function(e,t){var n;if(!t)return"";const i=new RegExp(`\\/\\*\\ss-split-${e}\\s\\*\\/[^]*\\*\\se-split-${e}\\s\\*\\/`,"g");return(null===(n=t.match(i))||void 0===n?void 0:n[0])||""}(n,s.mode_custom||""),t+=function(e){const{modeName:t}=e,n=(0,o.Ol)(t,"responsive-rules");let i="";return null==n||n.forEach((t=>{var n,a;const s=null!==(n=t.minWidth)&&void 0!==n?n:p,l=null!==(a=t.maxWidth)&&void 0!==a?a:p;if(!m(s)&&!m(l))return;const c=m(s)?`(min-width:${s}px)`:"",d=m(l)?`(max-width:${l}px) `:"",h=`@media screen and ${c}${m(l)?" and ":" "}${d}{\n ${function(e,t){const{modeName:n}=t,i="autowidget-template-text-links"===(0,o.Ol)(n,"widget-creator-layout"),a=`${i?"trc_tl_responsive":"trc_elastic"}_${n}`;let s="";return s+=i?(0,u.sl)(e,t):function(e,t,n){let i="";const a="scrolling"===(0,o.Ol)(e,"navigation-type"),s=t.cells,l=`.${n} .trc_rbox_outer .videoCube .${1===s?"video-label-box":"trc-main-label"} {height:auto;}`,c=`.${n} .trc_rbox_outer .videoCube {margin-bottom:10px;}`,d="rtl"===r.MC.config.publisher.direction?"right":"left",u=t.margin.h,p=(0,o.Ol)(e,"carousel-min-items"),m=`.${n} .${a?"trc_rbox_div":"trc_rbox_outer"}{margin-${d}:-${a?u*s/p:u}%;}`,h=(99.99-s*u)/s,f=`.${n} .videoCube_aspect{padding-bottom:${100*t.ratio}%; width: 100%;}`;let b=`.${n} .videoCube{width: ${h}%; position: relative; float: ${d}; margin: 0 0 ${u}% 0; margin-${d}: ${u}%;}`;return 1===s||1===t.rows?i+=l+c:b+=`.${n} :nth-child(${s}n+1 of .videoCube):not(:nth-child(1 of .videoCube)){clear:both;}`,i+=m,i+=f,i+=b,a&&(i+=function(e,t,n){return`.${t} .trc_rbox_div { width: ${e.cells/n*100}%; }.${t} .trc_rbox_outer { overflow-x: scroll; -webkit-overflow-scrolling: touch; }`}(t,n,p)),i}(n,e,a),s+=function(e,t){const n=[],i=e.rows*e.cells,r=`.${t} div.videoCube:nth-of-type(-n+${i}){display:block;visibility:visible;}`,o=`.${t} div.videoCube:nth-of-type(n+${i+1}){display:none;visibility:hidden;}`;return n.push(r),n.push(o),n.join("")}(e,a),s}(t,e)}\n }`;i+=h})),i}(e)})),t&&(t=(0,d.Cs)(t),(0,l.x)(t,f+_),_++)}function E(){return!!_}function k(e,t){let n="";return(0,s.IF)(t,(i=>{const r=(0,s.l$)(w,i);if(i!==b&&!r&&(n+=T(t,i,e),(0,s.Rj)(w,i))){const r=(0,s.cd)(w,i);r&&(n+=T(t,r,e))}})),n}function T(e,t,n){const i=e[t];let r="";return t.split(",").forEach((e=>{r+=`${r?",":""}.${n} ${e}`})),`${r}{${i}}`}},7098:function(e,t,n){"use strict";n.d(t,{BR:function(){return l},NX:function(){return c},o8:function(){return h},sJ:function(){return s},sT:function(){return m},tz:function(){return p},u_:function(){return u}});var i=n(3983),r=n(9102),o=n(8e3);let a="";function s(e){a=a||e}const l="taboola global";function c(e,t=a){return`${t}:${e}`}const d="unknown-site-on";function u(e){return e.indexOf(d)>-1}function p(e){const t=r.MC.config.publisher,n=r.MC.config.runtime,a=t["trc-network-mapping"],s=t.publisherName,l=r.MC.optionsSummary.pageUrl;if(!a)return s;const c=(null==l?void 0:l.startsWith("//"))?l.slice(2):l,p=c?a[c]:void 0;if(p)return p;const m=e||n.networkMapUrl,h=r.MC.config.runtime.debugQueryParams.taboola_sim_domain||m.host.toLowerCase(),f=m.href.toLowerCase(),b=u(s)?s:`${d}-${s}`;if(a[h])return a[h];if((0,o.BC)("enable-efficient-network-mapping")){const e=function(e,t,n){let i;for(const r in e){const e=r.toLowerCase();let o=!1;o=e.includes("/")?t===e||t.includes(e)||e.includes("www.")&&t.includes(e.replace("www.","")):n.includes(e),o&&(!i||e.length>i.length)&&(i=e)}return i?e[i]:void 0}(a,f,h);if(e)return e}const g=(0,i.eq)(a).map((([e,t])=>[e.toLowerCase(),t])).sort((([e,t],[n,i])=>e.length>n.length?-1:e.length0){if(f===t||f.match(t))return n;if(t.indexOf("www.")>-1&&f.match(t.replace("www.","")))return n}else if(h.match(t))return n}const v="www.";if(h.indexOf(v)>-1)return b;const _=["m","mobile","www2","www3"];for(const e of _){const t=new RegExp(`$(https?://)${e}.`),n=h.replace(t,v);if(a[n])return a[n]}return a[v+h]?a[v+h]:b}function m(e,t=!1){const n=r.MC.config.runtime.debugQueryParams[e];return(0,i.tU)(n,t)}function h(e){return e.includes(d)&&!r.MC.optionsSummary.pageUrl}},9102:function(e,t,n){"use strict";n.d(t,{_J:function(){return be},MC:function(){return de},fg:function(){return ue}});var i=n(7121),r=n(2360),o=n(7746),a=n(9244);const s=["publisher-start","get-user","get-creator","get-rating","get-tags","get-views","publisher-end","normalize-request-param","normalize-log-param","detect-item-from-same-host","after-card-created","before-video-load","mode-before-video-load","normalize-item-id","normalize-item-url","prenormalize-item-id","prenormalize-item-url","mode-pub-start","item-data-filter-publisher-level","update-push-message"];var l=n(5322),c=n(9053);const d={en:!0,rm:!1},u={d:d,dco:d,rtb:d,dr:d,dnr:d};var p=n(7098),m=n(4846),h=n(2941),f=n(5219),b=n(9642),g=n(7177),v=n(4800),_=n(3707),y=n(3983),w=n(4567),x=n(5706),C=n(2606);const E=["testmode","domains","sponsored-link-text","sponsored-video-text","branding-url","configuration-version","external-credentials","brightcove-list-id","logo-image","has_valid_rss","actionscript_version","brightcove-uses-reference","ie-logo-image","attribution","notify-loaded","read-paused-bcplayer","timeout","loader-impl","trc-skip-failover","backstage-domain-url","adc-config","small-ios-device","read-more-debug","read-more-devices","attribution-disclosure-direction","feed-view-devices","feed-view-enable"];const k=[[180,150],[200,200],[220,90],[234,60],[240,133],[250,250],[300,75],[300,100],[300,250],[320,100],[336,280],[400,300],[468,60],[480,320],[728,90],[750,100],[750,200],[750,300],[930,180],[950,90],[960,90],[970,66],[970,250],[980,120]];function T(e,t){if(function(e,t){const{publisherName:n,timezone:i,country:r}=t.global||{};n&&!e.publisherName&&(e.publisherName=n,(0,p.sJ)(n)),i&&!e.timezone&&(e.timezone=i),r&&!e.country&&(e.country=r)}(e,t),(0,m.n5)(e.publisherName,"'publisherName' must be defined"),(0,y._i)(t["trc-network-mapping"])&&(e["trc-network-mapping"]=Object.assign({},t["trc-network-mapping"])),(0,y._i)(t["network-pubs-global"])&&(e["network-pubs-global"]=Object.assign({},t["network-pubs-global"])),t.global&&(e.global=(n=Object.assign(Object.assign({},e.global),t.global),null!==(i=n["override-amp-url"])&&void 0!==i||(n["override-amp-url"]=!(0,y.tU)(n["disable-amp-url-override"],!1)),null!==(r=n["enable-block-clicks"])&&void 0!==r||(n["enable-block-clicks"]=!(0,y.tU)(n["disable-block-clicks"],!0)),n["et-on-hp4u-pubs-list"]=(0,g.jF)(n["et-on-hp4u-pubs-list"]),null!==(o=n["enable-noopener-for-links"])&&void 0!==o||(n["enable-noopener-for-links"]=!(0,y.tU)(n["disable-noopener-for-links"],!1)),null!==(a=n["enable-responsive-css-reuse"])&&void 0!==a||(n["enable-responsive-css-reuse"]=!(0,y.tU)(n["disable-responsive-css-reuse"],!1)),null!==(l=n["rbox-usage-logging"])&&void 0!==l||(n["rbox-usage-logging"]=!(0,y.tU)(n["disable-rbox-usage-logging"],!1)),null!==(c=n["enable-scope-feed-css"])&&void 0!==c||(n["enable-scope-feed-css"]=!(0,y.tU)(n["disable-scope-feed-css"],!1)),null!==(d=n["enable-sponsored-for-links"])&&void 0!==d||(n["enable-sponsored-for-links"]=!(0,y.tU)(n["disable-sponsored-for-links"],!1)),null!==(u=n["enable-stop-propagation"])&&void 0!==u||(n["enable-stop-propagation"]=!(0,y.tU)(n["disable-stop-propagation"],!1)),n["et-region-observer-list"]=(0,g.jF)(n["et-region-observer-list"]),null!==(_=n["explore-more-copy-html-outer-header"])&&void 0!==_||(n["explore-more-copy-html-outer-header"]=!(0,y.tU)(n["explore-more-enable-hide-all-but-header"],!0)),n["amp-next-batch-threshold"]=(0,g.vx)(n["amp-next-batch-threshold"])||4e3,n["blocker-list"]=function(e){if(!e)return;if(e===D)return D;if(!(0,h.mg)(e))return void(0,f.vV)("blocker-list config should be type string");const t=e;if(t.toLowerCase()===S)return D=O,D;const n=t.split(",").map((e=>parseInt(e))).filter((e=>!isNaN(e)));if(n.length)return D=n,D;(0,f.vV)("blocker-list config is invalid")}(n["blocker-list"]),n["creative-preview-pm-allowed-pubs"]=(0,g.jF)(n["creative-preview-pm-allowed-pubs"]),n["exclude-ms3"]=(0,g.jF)(n["exclude-ms3"]),n["trecs-only-ms3-ext"]=(0,g.jF)(n["trecs-only-ms3-ext"]),n["script-load-attempts"]=null!==(x=(0,g.vx)(n["script-load-attempts"]))&&void 0!==x?x:5,n["network-attempts-load"]=null!==(k=(0,g.vx)(n["network-attempts-load"]))&&void 0!==k?k:5,n.full_url_max_length=(0,g.vx)(n.full_url_max_length),n["include-ms3"]=(0,g.jF)(n["include-ms3"]),n["include-extensions"]=(0,g.jF)(n["include-extensions"]),n["resizable-display-mode-list"]=(0,g.jF)(n["resizable-display-mode-list"]),n["min-image-track"]=(0,g.vx)(n["min-image-track"]),n.stack_max_length=(0,g.vx)(n.stack_max_length),null!==(T=n["suppress-render-empty-multiwidget"])&&void 0!==T||(n["suppress-render-empty-multiwidget"]=!(0,y.tU)(n["suppress-render-empty-multiwidget"],!0)),n["trcinfo-sample-rate"]=(0,w.hW)(n["trcinfo-sample-rate"]),n["enable-loaf"]=(0,w.hW)(n["enable-loaf"]),n["enable-loaf-from-vcga"]=(0,w.hW)(n["enable-loaf-from-vcga"]),n["rbox-error-stack-reporting-pct"]=(0,w.hW)(n["rbox-error-stack-reporting-pct"]),n["enable-warn-tbt"]=(0,w.hW)(n["enable-warn-tbt"]),n["country-codes-require-user-consent"]=(0,g.jF)(n["country-codes-require-user-consent"]),n["rtus-new-domain-countries"]=(0,g.jF)(n["rtus-new-domain-countries"]),n["error-filter-message-t"]=[...(0,g.jF)(n["error-filter-message-t"]),...(0,g.jF)(n["error-filter-message-p"])],n["error-filter-stack-t"]=[...(0,g.jF)(n["error-filter-stack-t"]),...(0,g.jF)(n["error-filter-stack-p"])],n["display-user-top-navigation-options"]=(0,g.jF)(n["display-user-top-navigation-options"]),n["distance-violation-exclude-selectors"]=(0,g.jF)(n["distance-violation-exclude-selectors"]),n["search-widget-desktop-grid-size"]=(0,g.vx)(n["search-widget-desktop-grid-size"]),n["search-widget-mobile-grid-size"]=(0,g.vx)(n["search-widget-mobile-grid-size"]),n)),t.systemFlags&&function(e,t){var n;const i=e.systemFlags.experimentID,r=null===(n=t.systemFlags)||void 0===n?void 0:n.experimentID;r&&i.push(r),e.systemFlags=Object.assign(Object.assign({},e.systemFlags),t.systemFlags),"deflated"===e.systemFlags.loaderType&&(e.systemFlags.loaderType="trecs"),e.systemFlags.experimentID=i}(e,t),t.modes){v.Pp.TRC.rboxBridgeEnabled&&(e.rboxModes=R(e.rboxModes||{},(0,b.Go)(t.modes)));const n={};(0,b.IF)(t.modes,((e,t)=>{n[e]=(0,C.y)(e,t)})),e.modes=R(e.modes,n)}var n,i,r,o,a,l,c,d,u,_,x,k,T;v.Pp.TRC.rboxBridgeEnabled&&function(e,t){t["publisher-logo"]&&(e["publisher-logo"]=t["publisher-logo"]),t["default-thumbnail"]&&(e["default-thumbnail"]=t["default-thumbnail"]),t["publisher-branding"]&&(e["publisher-branding"]=t["publisher-branding"]),(0,h.tv)(t.metafields)||(e.metafields=t.metafields),function(e,t){E.forEach((n=>{e[n]||(e[n]=t[n])}))}(e,t)}(e,t),s.forEach((n=>{e[n]=t[n]||e[n]})),["language","publisher-branding","engineScriptUrlParts","link-target-conf","direction","publisher-logo"].forEach((n=>{t[n]&&(e[n]=t[n])})),function(e,t){t["feed-view-enable"]&&(e["feed-view-enable"]=t["feed-view-enable"]),t["feed-view-devices"]&&(e["feed-view-devices"]=t["feed-view-devices"])}(e,t),function(e,t){const n="read-more-devices";t[n]&&(e[n]=t[n])}(e,t)}function R(e,t){if(!(0,y._i)(e))return Object.assign({},t);const n={};return(0,b.IF)(e,((e,i)=>{const r=n[e]=i;t[e]&&(0,b.IF)(t[e],((e,t)=>{(0,h.tv)(t)||(r[e]=t)}))})),(0,b.IF)(t,((t,i)=>{e[t]||(n[t]=i)})),n}function I(){var e;const t=["only screen and (min-resolution: 124dpi), only screen and (min-resolution: 1.3dppx), only screen and (min-resolution: 48.8dpcm)","only screen and (-webkit-min-device-pixel-ratio: 1.3), only screen and (-o-min-device-pixel-ratio: 1.3), only screen and (min--moz-device-pixel-ratio: 1.3), only screen and (min-device-pixel-ratio:1.3)"];return!!((null===(e=window.matchMedia)||void 0===e?void 0:e.call(window,t[0]).matches)||window.matchMedia(t[1]).matches||window.devicePixelRatio&&window.devicePixelRatio>1.3)}const S="all",O=[];let D;var M=n(8390),P=n(5125),L=n(172),N=n(4200),B=n(2381),A=n(3654),$=n(6605),U=n(9151),F=n(229),j=n(8e3),z=n(6620),W=n(340),V=n(4515),q=n(5177);class H extends q.b{emitAsync(e,t,n){const i=[];let r;r=e instanceof Array?e:[e];const o=this;for(const e of r){if(!o.handlers[e])continue;const r=[];for(const a of o.handlers[e]){const e=(0,W.Rn)((()=>{try{a.callback(t)}catch(e){n&&n(e,t)}}),!0);a.isOnce&&r.push(a),i.push(e)}r.forEach((e=>o.remove(e.callback)))}return V.g.all(i).then((()=>{}))}}var G=n(7566),K=n(6803),X=n(0),Y=n(8846),J=n(5461);let Z,Q,ee,te=!1;const ne=[];let ie,re=(0,M.e0)();function oe(){return ie||(ie=(0,$.do)()),ie}let ae={};const se={},le={};let ce,de,ue,pe=!1,me="";function he(){var e,t;const n=le.publisher,i=de.config.runtime.networkMapUrl||de.config.runtime.pageUrl,r=null==i?void 0:i.href;if(r&&r!==me&&(me=r,pe=!1),pe||!n["trc-network-mapping"])return;if(!(0,y._i)(n["trc-network-mapping"]))return;(t=le.runtime).networkPublisher||(t.networkPublisher=n.publisherName);let o=n.publisherName=(0,p.tz)();i&&(0,p.u_)(o)&&(o=n.publisherName=(0,p.tz)(i)),pe=!(0,p.o8)(o),G.B.emit("pubUpdated");const a=null===(e=n["network-pubs-global"])||void 0===e?void 0:e[o];a&&(n.global=Object.assign(Object.assign({},n.global),a))}class fe{constructor(){this._eventEmitter=new H,this.updatePropertyForSpecificModes=e=>{ge(e,le.publisher.modes);const t=(0,j.M$)(e);if(!t)return;const{data:n,rboxModesList:i}=t;ge(n,i)},this.updatePropertyForAllModes=e=>{const{field:t,value:n}=e,i=le.publisher.modes,r=Object.keys(i||{});if(!r)return;ge({field:t,value:n,modeNameList:r},i);const o=(0,j.M$)({field:t,value:n});if(!o)return;const{data:a,rboxModesList:s}=o;ge(a,s)},le.publisher=function(){const e="https://{domain}/taboola/image/fetch",t="{type}%2Cq_{q}%2Ch_{h}%2Cw_{w}%2Cc_fill%2Cg_faces:auto%2Ce_sharpen/";return{"after-card-created":()=>{},"item-data-filter":()=>{},"item-data-filter-publisher-level":()=>{},"item-renderer":()=>{},"list-suffix":()=>{},"mode-pub-start":()=>{},"normalize-item-id":()=>{},"normalize-item-url":()=>{},"normalize-request-param":(e,t,n)=>n,"prenormalize-item-id":!1,"prenormalize-item-url":!1,"publisher-end":()=>{},"publisher-start":()=>{},"update-push-message":()=>{},defaults:{style:""},engineScriptUrlParts:(0,_.i)(),global:{"abp-detection-class-names":l.xx,"abp-detection-enabled":!0,"accessibility-scan-percent":.01,"activate-gpp-consent":!0,"adchoice-item-types":{"is-organic":!1,"is-in-network":!1,"is-syndicated":!0,"is-native":!0},"has-adchoice":!0,"ad-experience-lower-sample-rate-trecs-report-percent":2e-4,"ad-experience-report-percents":2e-4,"enable-ad-ratio":!1,"ad-ratio-placement-width-desktop":"300px","ad-ratio-placement-width-mobile":"350px","allow-nofollow-for-exchange":!0,"allow-placement-duplication":!1,"amp-next-batch-threshold":4e3,"web-component-app-install-version":"1","monitor-article-distance-from-feed-percentage":0,bakeTime:0,"block-organic-click-navigation":!1,"block-video-prob":1,"browser-benchmark":20,"topics-enabled":!1,"bulk-available-events-strategy":"delay","bulk-events-delay":1e3,"bulk-metrics-events-strategy":"delay","delay-cta-component":!1,"enable-cta-component":!0,"filter-cta-branding-ellipsis":!1,"title-color":!0,"inherit-title-color":!0,"unintentional-clicks-default-enable":!1,"unintentional-clicks-default-send-init-event":!1,"unintentional-clicks-fraud-enable":!1,"unintentional-clicks-fraud-uicm":"0.5","creative-preview-enable-toast":!0,"cp-minimal-item":!0,"creative-preview-pm-allowed-pubs":["https://ads.realizeperformance.com"],"country-codes-require-user-consent":[],"custom-image-size-round-value":20,style:{},"defer-userx-render":-1,"rbox-detect-device-id":!0,"disable-block-clicks":!1,"disable-ccpa":!1,"disable-feed-split-container-alignment":!1,"disable-rbox-usage-logging":!1,"disable-scope-feed-css":!1,"disable-stop-propagation":!1,"disable-violation-measurement-paywall":!1,"display-user-top-navigation-options":[],"display-hosted-prevent-sandbox":!0,"distance-violation-exclude-selectors":[],"major-part-of-article-coeff":.5,"distance-violation-minimal-article-text-percentage":.6,"distance-violation-threshold":100,"drop-cards-on-injected-cards":!1,"enable-abort-signal":!0,"enable-abtest-event":!1,"enable-accessibility-mode-ios":!1,"enable-always-track":!1,"br-event":!0,"enable-cache-buster":!0,"ccpa-cdns-enable":!0,"ccpa-ps-enable":!0,"enable-click-tracker-extension":!0,"enable-click-tracker-right-clicks":!0,"enable-consent":!0,"enable-consent-gpp-only":!1,"enable-create-element-from-iframe":!1,"enable-item-override":!1,"enable-crossorigin-anonymous-attribute":!1,"enable-distance-from-article":0,"enable-distance-violation-from-widget":!0,"enable-dynamic-attributes":!0,"enable-ec-video-render":!0,"enable-efficient-network-mapping":!1,"enable-encode-cookie-reset":!0,"enable-article-end-dst-violation":!1,"enable-et-bulk-events":!0,"enable-et-dom-monitoring":!1,"et-on-hp4u-pubs-list":[],"enable-experiments-variant-id-event":!0,"cex-enable":!0,"enable-exm-inside-iframe":!1,"enable-em-header-children-search":!0,"enable-feature-monitoring":!1,"enable-feed-header-logo":!1,"enable-filler-block":!1,"enable-fraud-detection":!1,"enable-full-overlay-check":!1,"enable-get-view-from-top-window":!1,"gpc-enable":!0,"enable-hp4u-redirect":!0,"enable-hp4u-req-order-by-platform":!0,"enable-click-report-happy-flow":!0,"enable-impl-load-feature":!1,"enable-impl-time-report":!1,"enable-mode-injection":!0,"enable-organic-redirect":!0,test_for_fraud:!1,"enable-provider-logo":!1,"enable-read-more":!0,"enable-real-time-user-sync":!0,"enable-real-time-user-sync-for-all-browsers":!0,"enable-remove-href":!1,"enable-report-trc-use":!1,"enable-rv-available":!1,"enable-resource-hints":!1,"enable-browser-data":!0,"enable-social-events":!0,"load-user-agent-data":!1,"rbox:serving-piggyback-enabled":!1,"use-hash-in-history-state-url":!0,"enable-shift-cdn-domains":!1,"enable-skad-network-item":!0,"enable-stop-propagation":!0,"has-userx":!0,"thumbnail-image-lazy-load":!1,"timeago-string-dates":!1,"time-based-reco-reel":!1,"enable-tslt-inside-iframe":!0,"enable-trc-cache":!0,"enable-trim-href-query-params":!1,"vignette-capture-page-click":!0,"vignette-floating-ui":!1,"enable-vig-inside-iframe":!1,"enable-vig-show-once":!1,"xfrm-enable":!1,"error-filter-message-p":[],"error-filter-message-t":[],"error-filter-stack-p":[],"error-filter-stack-t":[],"default-event-route":"trc-events.taboola.com","rbox-perf-el-interval":1e3,"rbox-perf-el-report-interval":5e3,"et-kill-switch":!1,"et-region-observer-list":[],"event-types-to-route":["debug","perf","social"],"exact-visible-distance-threshold-from-top":200,"exclude-ms3":[],"explore-delay":0,"explore-more-copy-html-outer-header":!1,"exm-enable-clean-on-reset":!1,"enable-explore-more-header-path":!1,"enable-ios-back-fix":!0,"explore-more-enable-original-state":!1,"explore-more-header-height-mobile":80,"explore-more-header-height-desktop":200,"enable-explore-more-ignore-history":!1,"exm-skip-history-in-session":!1,"explore-more-enable-hide-all-but-header":!0,"use-ios-safari-override":!1,"use-ios-safari-override-timeout-config":10,"external-card-max-retries":10,"external-card-retry-interval":1e3,"feed-comments-url-getter":()=>de.config.runtime.pageUrl.href,"fill-ellipsis-in-fader":!0,"trc-request-delay":500,"feed-view-redirect-on-iframe-violation":!0,full_url_max_length:250,"rbox-error-fullUrl":.01,"max-wait-for-cmp":5e3,"gif-url-prefix":`${e}/fl_lossy%2Cf_gif%2Ch_{h}%2Cw_{w}%2Cc_fill%2Cg_faces:auto%2Ce_sharpen/`,"google-adx-enable-disclosure-from-sc":!1,"google-adx-lazy-loading-enable":!1,"google-adx-lazy-loading-fetch-margin":100,"google-adx-lazy-loading-fetch-margin-mobile":50,"google-adx-lazy-loading-mobile-scaling":2,"google-adx-enable-logs":!1,"google-adx-native-display-line-item-id":6755355039,"google-adx-request-banner-sizes":k,"image-cropping-active":!0,"image-cropping-c-fill-postfix":"c_fill%2Cw_{w}%2Ch_{h}/","image-cropping-ratios-list":[[16,9],[4,3],[6,5],[2,1]],"image-cropping-with-c-fill":!1,"image-quality":80,"image-url-basic-postfix":t,"image-url-basic-prefix":e,"image-url-domain":"images.taboola.com","image-url-prefix":`${e}/${t}`,"image-url-thumbnail-transformations-postfix":`${e}/h_{h}%2Cw_{w}%2C`,"image-url-type":"auto","include-extensions":[],"include-ms3":[],"trcinfo-sample-rate":.1,"inject-rtus-from-tag-loader":!1,"inject-taboolax":!1,"is-ms3":!1,"keep-referrer-in-session":!0,"kr-event":"rboxCore","kr-index":"mbox","link-target-conf":{NT:"_blank",NAV:"_self",RC:"_parent",SP:"_blank"},"ios-sc-link-target":{},"trecs-tlm":!1,"enable-loaf":0,"enable-loaf-from-vcga":0,"loaf-threshold":50,"max-json-request-url-length":1e3,"max-retry-gdpr-call":0,"rbox-metrics-enabled":.1,"min-image-track":100,"trecs-motion-ads-fade-enabled":!1,"trecs-motion-ads-pause-enabled":!1,"motion-ads-viewport-lazy-load-margin":0,"network-attempts-load":5,"non-rtb-display-report-percents":1,"no-content-report-percents":1,"guarantee-card-clash-detection":0,"pass-browser-url":!0,"enable-analytics":!1,"pref-story-percent":1,"preconnect-domains":["trc.taboola.com","images.taboola.com"],"pa-bid-strategy":[],"pa-debug-level":0,"pa-demand-config":u,"protected-audience-enabled":!1,"pa-feed-auction-enabled":!1,"pa-feed-disable-after-visible":!0,"pa-max-auctions":1,"pa-max-failed-auctions":2,"pa-product-bid-mode":(0,c.CF)(),"pa-render-iframe-without-trecs":!1,"fraud-traffic-percentage":10,"fraud-enable-impression-utid":!1,test_for_fraud_from_tag_loader:!1,country:"",timezone:"","read-more-events-enabled":.1,"rr-max-height-ratio":.8,"rr-default-max-width":800,"cache-enable-clean-on-reset":!1,"render-amp-with-bridge":!0,"report-non-first-attempt-load":!1,"requests-domain":"trc.taboola.com","resizable-display-mode-list":[],"rtb-display-report-percents":.2,"rtb-image-url-prefix":`${e}/$pw_{w}%2C$ph_{h}/t_tbl-cnd/`,"rtb-gif-image-url-prefix":"","rtus-new-domain-countries":[],"script-load-attempts":5,"scrollable-carousel-theme":"taboola","sc-carousel-desktop-min-width":550,"sc-carousel-non-viewport-block":!0,"sc-carousel-enable-cta":!0,"search-widget-desktop-grid-size":10,"search-widget-mobile-grid-size":6,"send-alternate-container-width":!1,"send-event-as-post":!0,"send-event-by-beacon":!0,"send-id-providers-data":!0,"feed-card-events-max-retries":5,"feed-card-events-min-container-height":100,"feed-card-events-retry-interval":1e3,"feed-split-max-retries":5,"feed-split-retry-interval":1e3,stack_max_length:250,"rbox-error-stack-reporting-pct":.01,"store-first-party-cookie-in-subdomain":!1,"store-userid-first-party-cookie":!0,"supply-feature-events-percent":1,"suppress-render-empty-multiwidget":!0,"user-mapping-enabled":!0,"enable-warn-tbt":0,"thumbs-image-lazy-load-margins":"2500px 1500px 2500px 1500px","time-interval-retry-gdpr-call":500,"trc-cache-strategy":"visibility","trc-event-route-template":"-trc-events.taboola.com","trecs-atf-code-activated":!1,"trecs-atf-delay-adjustion":!1,"trecs-atf-enable-observer":!1,"trecs-only-ms3-ext":[],"url-extract-order":["paramUrl","meta","canonical","og","location"],"use-abp-uim":!0,"use-loader-host":!1,"use-redirect-on-link":!1,"use-unit-fetcher-response-instead-of-tb":!0,"use-virtual-history":!1,"video-gdpr-applies-use-requires-consent":!1,"decode-viewability-tags":!1,"view-tags-domains-url":{},"vig-small-screen-cls-sfx":"small-screen-thumb-size","visible-on-item-level":!1,"yield-render-index":-1,publisherName:""},language:"en","link-target-conf":{},modes:{},publisherName:"",country:"",timezone:"",systemFlags:{experimentID:[],loaderType:"trecs"},"trc-network-mapping":{},trcForce:(0,_.i)()}}(),le.runtime={ampData:(0,x.lT)(),debugQueryParams:(0,_.i)(),isAMP:(0,x.eo)(),isHighDensity:I(),isRboxBridge:!1,networkMapUrl:(0,_.i)(),pageUrl:(0,_.i)(),referrerURL:(0,_.i)(),supportedFeatures:{},trcForce:(0,_.i)(),urlSelectionStrategy:(0,_.i)()}}setupConfig(){this.appendPublisherConfig((0,a.p)()),Z=(0,X.yN)("localStorage",(0,p.NX)("user-id",p.BR))||"",Q=(0,X.yN)("localStorage",(0,p.NX)("session-data",le.publisher.publisherName))||""}get viewId(){return v.Pp.taboola_view_id||this.changeViewId(),v.Pp.taboola_view_id}changeViewId(e){if(e)return void(v.Pp.taboola_view_id=e);const t=(0,j.w$)("custom-view-id-url-param"),n=t&&(0,g.vx)(de.config.runtime.debugQueryParams[t]),i=(0,J.KP)("iframe")&&this.getTopWindowViewId(n);v.Pp.taboola_view_id=i||n||(0,z.Ln)()}getTopWindowViewId(e){if(!(0,j.BC)("enable-get-view-from-top-window"))return;let t;try{const n=window.top;n&&(n.taboola_view_id||(n.taboola_view_id=e||(0,z.Ln)()),t=n.taboola_view_id)}catch(e){}return t}get userData(){return oe().userData}static saveConstData(e,t){Z!==e&&function(e){Z=e,(0,X.gC)("localStorage",(0,p.NX)("user-id",p.BR),e)}(e),Q!==t&&function(e){Q=e,(0,X.gC)("localStorage",(0,p.NX)("session-data"),e)}(t)}static _saveConstData(){const e=oe().userData.sessionData,t=oe().userData.userId;this.saveConstData(t,e),(0,i.Po)("userIdSync",{user_id:t},!0)}get sessionData(){return Q}get userId(){return Z}get pageItemId(){return ee}get eventsRouteOut(){var e;return(null===(e=oe().eventRouteOut)||void 0===e?void 0:e.length)>0?oe().eventRouteOut:le.publisher.global["event-types-to-route"]}signTrackingReportUsed(){ie=(0,F.sc)(oe())}appendTranslationSectionDefaults(e,t){se[e]=t}updatePageId(){const{itemId:e,pageUrl:t}=de.config.runtime;ee=e||(0,B.jG)(t.href)||""}resetConfigValue(e,t){const n=le.publisher[e];return n&&t&&(le.publisher[e]=t),n}resetConfigValueOnModeLevel(e,t,n){var i;const r=null===(i=le.publisher.modes[n])||void 0===i?void 0:i[e];return r&&this.updatePropertyForSpecificModes({field:e,value:t,modeNameList:[n]}),r}fetchTranslationLabel(e,t,n){var i,r;const o=oe().translations,a=(null===(i=null==o?void 0:o[e])||void 0===i?void 0:i[t])||(null===(r=se[e])||void 0===r?void 0:r[t]);return(0,m.n5)(a,`Translation section '${e}' label '${t}' does not exist`),n&&0!==n.length?(0,y.Of)(a,n):a}onOptionsSummaryUpdated(e){return this._eventEmitter.on("optionsSummary",e)}onOptionsSummaryUpdatedOnce(e){return this._eventEmitter.once("optionsSummary",e)}appendOptionsSummary(e){if(!(0,M.wp)(e)){e.placements.length>0&&(0,o.hq)(),e=(0,M.hr)(re.placements,e),e=(0,M.IR)(re.placements,e),e=(0,P.C8)("e7",e)||e,ne.push((0,M.Yo)(e)),re=(0,M.hb)(re,e),he();try{this._eventEmitter.emit("optionsSummary",e)}catch(e){(0,f.vV)("Store appendOptionsSummary listener error",e)}}}stopContent(e=[]){ie=(0,U.N)(oe(),e),(0,N.yn)(e)}signUnusedPlacementsAsUsed(e){re=(0,M.Yi)(re,e),ne.push(re)}updatePlacementsDeliveredToRBox(e){(0,b.x7)(e)||(re=Object.assign(Object.assign({},re),{placements:re.placements.map((t=>{const{placementName:n}=t;return e[n]?Object.assign(Object.assign({},t),{instances:(0,r.AA)(t.instances,e[n])}):t}))}),ne.push(re))}signPlacementAsIgnored(e){re=Object.assign(Object.assign({},re),{placements:re.placements.map((t=>t.placementName!==e?t:Object.assign(Object.assign({},t),{instances:(0,r.dJ)(t.instances)})))}),ne.push(re)}updatePlacementContainerId(e,t){e&&t&&(re=Object.assign(Object.assign({},re),{placements:re.placements.map((n=>{if(n.placementName!==e)return n;const i=[...n.instances];return i[0]=Object.assign(Object.assign({},i[0]),{containerId:t}),i.length>1&&(0,f.JE)(`updatePlacementContainerId: more than one instance while updating containerId: ${e}`),Object.assign(Object.assign({},n),{instances:i})}))}),ne.push(re))}get optionsSummary(){return re}get optionsSummaryHistory(){return ne}appendPublisherConfig(e){T(le.publisher,e)}updatePublisherConfig(e){le.publisher=Object.assign(Object.assign({},le.publisher),e)}appendRuntimeConfig(e){var t,n,i;t=le.runtime,(n=e).pageUrl&&(t.pageUrl=n.pageUrl,t.debugQueryParams=Object.assign(Object.assign(Object.assign({},t.debugQueryParams),(0,y.Fe)(n.pageUrl.search)),n.debugQueryParams),n.urlSelectionStrategy&&(t.urlSelectionStrategy=n.urlSelectionStrategy)),n.networkMapUrl&&(t.networkMapUrl=n.networkMapUrl),n.trcForce&&(t.trcForce=Object.assign(Object.assign({},t.trcForce),n.trcForce)),n.referrerURL&&(t.referrerURL=n.referrerURL),n.dcData&&(t.dcData=n.dcData),null!==(i=t.userAgentData)&&void 0!==i||(t.userAgentData=n.userAgentData),n.supportedFeatures&&(t.supportedFeatures=Object.assign(Object.assign({},t.supportedFeatures),n.supportedFeatures)),(0,h.tv)(n.isRboxBridge)||(t.isRboxBridge=n.isRboxBridge),n.cookieLabel&&(t.cookieLabel=n.cookieLabel)}get config(){return le}onResponseSummaryUpdate(e){return this._eventEmitter.on("recommendations",e)}onReset(e){return this._eventEmitter.on("reset",e)}onResponseSummaryUpdateOnce(e){return this._eventEmitter.once("recommendations",e)}appendResponseSummary(e){!function(e){const t=e.vl;if(!t)return;const n=t.map((e=>(0,Y.d)(e).placementName));re=(0,M.Qc)(re,n),ne.push(re)}(e.originalResponse[0]),function(e){var t,n;(0,A.G1)(e.clientGenericActions),(t=e.protectedAudience)&&(null===(n=null==t?void 0:t.config)||void 0===n?void 0:n.global)&&ue.appendPublisherConfig(t.config)}(e),(0,L.Z2)(e.features),ie=(0,U.M)(oe(),e),fe._saveConstData();try{this._eventEmitter.emitAsync("recommendations",oe())}catch(e){(0,f.vV)("Store appendResponseSummary listener error",e)}!function(){const e=de.responseSummary.feeds;if(Object.keys(e).length<2)return;if(te)return;const t=(0,b.WP)(e).filter((([,e])=>{if(!e.hasFeedEnded)return 2===e.currentBatch||void 0}));Object.keys(t).length>1&&(te=!0,(0,f.JE)("More than one infinite feed detected in the store"))}()}reset(){(0,W.cS)(),this._eventEmitter.emit("reset"),v.Pp.TRC.dispatch("trcReset"),re=Object.assign(Object.assign({},(0,M.e0)()),{publisherName:re.publisherName,gdpr:re.gdpr,ccpa:re.ccpa,cex:re.cex}),this.changeViewId(),ie=(0,$.do)(),ae={}}setExternalUserId(e){fe.saveConstData(e,e!==Z?"":Q)}get responseSummary(){return oe()}getEntityCustomData(e){return ae[e._ID]||null}appendEntityCustomData(e){const t=this.getEntityCustomData(e.entity);ae[e.entity._ID]=Object.assign(Object.assign({},t||{}),e)}updateNetworkPublisher(){(0,o.hq)()&&he()}}function be(){if(ce)throw new Error("Store already created");return(0,K.D)((()=>{ce=new fe})).then((()=>(0,K.D)((()=>{ce.setupConfig(),de=ce,ue=ce})))).then((()=>(0,K.D)((()=>{G.B.emit("storeCreated")})))).then((()=>(0,K.D)((()=>{G.B.emit("storeReady")}))))}function ge(e,t){const{field:n,value:i,modeNameList:r}=e;r&&t&&r.forEach((e=>{t[e]&&(t[e][n]=i)}))}},8e3:function(e,t,n){"use strict";n.d(t,{Dq:function(){return h},H5:function(){return m},WA:function(){return x},Ol:function(){return u},eN:function(){return y},Kr:function(){return E},M$:function(){return C},BC:function(){return p},w$:function(){return b},n$:function(){return v},T8:function(){return g},lP:function(){return f}});var i=n(2360);const r={header:"No Header","header-right":"No Header","thumbnail-position":"start","carousel-min-items":1.33,"format-x-days-ago":!1,"disclosure-position":"bottom","disclosure-alignment":"left","attribution-position":"bottom","image-allowed-ratio-diff":.01,"image-size-factor":1.2,"image-min-width":110,"image-max-width":1500,"scrollable-carousel-mobile-viewport-items":1.2,"scrollable-carousel-desktop-viewport-items":3.2};var o=n(4846),a=n(7566),s=n(9642),l=n(4800),c=n(3983),d=n(9102);function u(e,t){var n,o,a;const s=d.MC.config.publisher.modes;return s[e]&&null!==(a=null!==(n=s[e][t])&&void 0!==n?n:null===(o=s[i.yZ])||void 0===o?void 0:o[t])&&void 0!==a?a:r[t]}function p(e,t=!0){return(0,c.tU)(d.MC.config.publisher.global[e],t)}function m(e){var t;return null===(t=d.MC.getEntityCustomData(e))||void 0===t?void 0:t.element}function h(){return d.MC.responseSummary.userData.canTrackUser}function f(e){return!!d.MC.config.runtime.supportedFeatures[e]}function b(e){return(0,o.cc)(!!d.MC,"can't get global item because taboolaStore isn't defined yet"),d.MC.config.publisher.global[e]}function g(e){return(0,o.cc)(!!d.MC,"can't get publisher item because taboolaStore isn't defined yet"),d.MC.config.publisher[e]}function v(e){return(0,i.Cv)(e,d.MC.optionsSummary.placements)}let _;function y(){return _}function w(){_=(0,s.Go)(d.MC.optionsSummary)}function x(e){const t={found:[],notFound:[]};return e.forEach((e=>{const n=v(e);n?t.found.push(n):t.notFound.push(e)})),t}function C(e){const{field:t,value:n,modeNameList:i}=e,r=d.MC.config.publisher.rboxModes,o=r?Object.keys(r):[];if(l.Pp.TRC.rboxBridgeEnabled&&o.length&&r)return{data:{field:t,value:n,modeNameList:i||o},rboxModesList:r}}function E(){return(d.MC.config.publisher["publisher-logo"]||{})[d.MC.config.publisher.publisherName]}a.B.once("storeReady",(()=>{d.MC.onOptionsSummaryUpdated(w)}))},2064:function(e,t,n){"use strict";n.d(t,{I:function(){return g}});var i=n(9102),r=n(4846),o=n(4800),a=n(3983),s=n(2470);const l=[{name:"IAS",domain:"adsafeprotected.com",paramName:"ias_adpath",uniqueParamFormat:".{uniqueId}",extractSrc:e=>{const t=e.indexOf("><\/script>");return u(e.slice(0,t))},trackableCreator:void 0},{name:"DV",domain:"cdn.doubleverify.com",paramName:"btreg",uniqueParamFormat:void 0,extractSrc:u,trackableCreator:void 0},{name:"Pixalate",domain:"adrta.com",paramName:"plid",uniqueParamFormat:void 0,extractSrc:u,trackableCreator:void 0}];function c(e,t,n){var i;const r=e.extractSrc(t);if(r){n=(null===(i=e.uniqueParamFormat)||void 0===i?void 0:i.replace("{uniqueId}",n))||n;const a=`${r+(o=r,-1!==o.indexOf("?")||-1!==o.indexOf("#")?"&":"?")+e.paramName}=${n}`;return t.replace(r,a)}var o;return t}const d=/\