Month: September 2026

`,forceHttps:“,prod:“}[t]||””}}let x;”undefined”!==typeof window&&window.TSM&&window.TSM.adApi?x=window.TSM.adApi:(x=new m,”undefined”!==typeof window&&(window.TSM=window.TSM||{},window.TSM.adApi=x));class S{constructor(t){this.callbackQ={},this.qTopPointer=0,this.params=d()({},S.defaults,t),this.ticking=!1,this.hasInitialized=!1}init(){const{root:t,rootMargin:e,threshold:o}=this.params;this.observer=new IntersectionObserver(this.params.eventHandler.bind(this),{root:t,rootMargin:e,threshold:o}),this.hasInitialized=!0}addToEventQ(t,e){this.hasInitialized||this.init();let o=this.qTopPointer;return this.callbackQ[o]=e,this.observer.observe(t),this.qTopPointer++,t.setAttribute(“data-cbId”,o),o}removeFromEventQ(t,e){this.observer.unobserve(t),delete this.callbackQ[e],t.removeAttribute(“data-cbId”)}}S.defaults={root:null,rootMargin:”0px”,threshold:[0],eventHandler:function(){}};const _=S;function j(t){t.forEach((t=>{let e=t.target.getAttribute(“data-cbId”);e&&(t.isIntersecting?this.callbackQ[e].call(this,t,!0):this.callbackQ[e].call(this,t,!1))}))}new _({root:null,rootMargin:”200%”,threshold:[0],eventHandler:j});const O=new _({root:null,rootMargin:”300px”,threshold:[0],eventHandler:j}),E=new _({root:null,rootMargin:”1500px”,threshold:[0],eventHandler:j}),I=(new _({root:null,rootMargin:”0px”,threshold:[1],eventHandler:j}),new _({root:null,rootMargin:”-120px”,threshold:function(t){let e=[];for(var o=0;o<=t;o++)e.push(o/t);return e}(100),eventHandler:j}),”.tsm-ad”),P=100,T=2e3;function A(t){const e=[];return t&&1===t.nodeType?(t.matches&&t.matches(I)&&e.push(t),t.querySelectorAll&&e.push(…t.querySelectorAll(I)),e):e}function C(t,e){window.googletag.cmd.push((()=>{e.forEach((({el:e,config:o,unitConfig:n})=>{const{adGroup:r}=o,{id:i,adSlot:s}=function(t,e){const{adUnitPath:o,targeting:n,adUnit:r,slotSize:i}=t,{gptParams:s={}}=e;let a=t.slotId,d=window.TSM.adSlots[a];return d?{id:a,adSlot:d}:(“tsm-out-of-page”===r||s.outOfPage?d=window.googletag.defineOutOfPageSlot(o,a):”interstitial”===r||s.interstitial?(d=window.googletag.defineOutOfPageSlot(o,window.googletag.enums.OutOfPageFormat.INTERSTITIAL),d&&(a=d.getSlotElementId())):d=window.googletag.defineSlot(o,i&&i.length?i:s.slotSize,a),d?(window.TSM.adSlots[a]=d,d.addService(window.googletag.pubads()),n&&Object.keys(n).length&&d.setConfig({targeting:n}),{id:a,adSlot:d}):{id:a,adSlot:null})}(o,n);s&&(i!==o.slotId&&(e.dataset.slotId=i,o.slotId=i),window.googletag.display(s),t.maybeApplyRoxotTargets(),!o.slotRequestedAttached&&n.callbacks&&n.callbacks.slotRequested&&n.callbacks.slotRequested.constructor===Array&&n.callbacks.slotRequested.length&&(o.slotRequestedAttached=!0,t.addSlotRequestedEvent((t=>{const{slot:e}=t;if(e.getSlotElementId()===i)for(let t=0;t{const n=e.filter((t=>window.TSM.adSlots[t.id]));if(!n.length)return;const r=n.map((t=>t.id));window.pbjs?window.pbjs.que.push((()=>{n.forEach((({id:t,adUnit:e,unitConfig:o})=>{let n=function(t,e,o,n){let r=!1;if(n.hasConfig)return!1;if(window.pbjs&&window.pbjs.adUnits&&window.pbjs.adUnits.constructor===Array){if(t.pbjsCode){const n=(window.pbjs.adUnits||[]).find((e=>e.code===t.pbjsCode));if(n){const t=JSON.parse(JSON.stringify(n));let r=new RegExp(t.code,”g”),i=new RegExp(“{{adUnit}}”,”g”);return JSON.parse(JSON.stringify(t).replace(r,o).replace(i,e))}}for(let t=0;t{const e=U;U=[],M=!1,z(t,e,!1)},window.googletag.cmd.push((()=>{window.pbjs?window.pbjs.que.push(e):e()})))}function k(t,e,o){t&&window.googletag.cmd.push((()=>{window.TSM.adSlots[t]&&(window.googletag.destroySlots([window.TSM.adSlots[t]]),delete window.TSM.adSlots[t],e.unregisterAdSlot(t),window.pbjs&&o&&o.isIncremental&&window.pbjs.que.push((()=>{window.pbjs.removeAdUnit(t)})))}))}const B=new Map;function $(t,e){const o=`${e}:${t}`;var n;return B.has(o)||B.set(o,new _({root:(n={offset:t}).root||null,rootMargin:n.offset||”200%”,threshold:n.threshold||[0],eventHandler:j})),B.get(o)}const F=new WeakMap;function q(t,e,o,n){const r=o.lazyloadOffset?$(o.lazyloadOffset,”load”):O,i=o.lazyloadOffset?$(o.lazyloadOffset,”unload”):E;let s=null,a=null,d=!1;const
0 Comments