PageSourceSearch

https://www.texasmonthly.com/wp-content/plugins/txmo-ads/dist/js/ads.js?ver=1786031940

js texasmonthly.com collected 2026-09-24 08:25:58 UTC 21,974 bytes, 3 lines download raw bytes

vendor: 4,140 bytes, lines 1-2
1/*! For license information please see ads.js.LICENSE.txt */
2(()=>{"use strict";window.onDvtagReady=function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:500;window.dvtag=window.dvtag||{},dvtag.cmd=dvtag.cmd||[];var n={callback:t,timeout:e,timestamp:(new Date).getTime()};dvtag.cmd.push((function(){dvtag.queueAdRequest(n)})),setTimeout((function(){var t=n.callback;n.callback=null,t&&t()}),e)};var t=new Promise((function(t){onDvtagReady(t)}));function e(t,e){return a(t)||function(t,e){var n=null==t?null:"undefined"!=typeof Symbol&&t[Symbol.iterator]||t["@@iterator"];if(null!=n){var r,o,i,a,c=[],s=!0,d=!1;try{if(i=(n=n.call(t)).next,0===e){if(Object(n)!==n)return;s=!1}else for(;!(s=(r=i.call(n)).done)&&(c.push(r.value),c.length!==e);s=!0);}catch(t){d=!0,o=t}finally{try{if(!s&&null!=n.return&&(a=n.return(),Object(a)!==a))return}finally{if(d)throw o}}return c}}(t,e)||o(t,e)||r()}function n(t){return a(t)||function(t){if("undefined"!=typeof Symbol&&null!=t[Symbol.iterator]||null!=t["@@iterator"])return Array.from(t)}(t)||o(t)||r()}function r(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}function o(t,e){if(t){if("string"==typeof t)return i(t,e);var n=Object.prototype.toString.call(t).slice(8,-1);return"Object"===n&&t.constructor&&(n=t.constructor.name),"Map"===n||"Set"===n?Array.from(t):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?i(t,e):void 0}}function i(t,e){(null==e||e>t.length)&&(e=t.length);for(var n=0,r=new Array(e);n<e;n++)r[n]=t[n];return r}function a(t){if(Array.isArray(t))return t}function c(t){return c="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},c(t)}function s(){s=function(){return e};var t,e={},n=Object.prototype,r=n.hasOwnProperty,o=Object.defineProperty||function(t,e,n){t[e]=n.value},i="function"==typeof Symbol?Symbol:{},a=i.iterator||"@@iterator",d=i.asyncIterator||"@@asyncIterator",u=i.toStringTag||"@@toStringTag";function l(t,e,n){return Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}),t[e]}try{l({},"")}catch(t){l=function(t,e,n){return t[e]=n}}function f(t,e,n,r){var i=e&&e.prototype instanceof w?e:w,a=Object.create(i.prototype),c=new C(r||[]);return o(a,"_invoke",{value:z(t,n,c)}),a}function h(t,e,n){try{return{type:"normal",arg:t.call(e,n)}}catch(t){return{type:"throw",arg:t}}}e.wrap=f;var m="suspendedStart",p="suspendedYield",v="executing",g="completed",y={};function w(){}function _(){}function b(){}var x={};l(x,a,(function(){return this}));var A=Object.getPrototypeOf,E=A&&A(A(D([])));E&&E!==n&&r.call(E,a)&&(x=E);var S=b.prototype=w.prototype=Object.create(x);function k(t){["next","throw","return"].forEach((function(e){l(t,e,(function(t){return this._invoke(e,t)}))}))}function L(t,e){function n(o,i,a,s){var d=h(t[o],t,i);if("throw"!==d.type){var u=d.arg,l=u.value;return l&&"object"==c(l)&&r.call(l,"__await")?e.resolve(l.__await).then((function(t){n("next",t,a,s)}),(function(t){n("throw",t,a,s)})):e.resolve(l).then((function(t){u.value=t,a(u)}),(function(t){return n("throw",t,a,s)}))}s(d.arg)}var i;o(this,"_invoke",{value:function(t,r){function o(){return new e((function(e,o){n(t,r,e,o)}))}return i=i?i.then(o,o):o()}})}function z(e,n,r){var o=m;return function(i,a){if(o===v)throw new Error("Generator is already running");if(o===g){if("throw"===i)throw a;return{value:t,done:!0}}for(r.method=i,r.arg=a;;){var c=r.delegate;if(c){var s=I(c,r);if(s){if(s===y)continue;return s}}if("next"===r.method)r.sent=r._sent=r.arg;else if("throw"===r.method){if(o===m)throw o=g,r.arg;r.dispatchException(r.arg)}else"return"===r.method&&r.abrupt("return",r.arg);o=v;var d=h(e,n,r);if("normal"===d.type){if(o=r.done?g:p,d.arg===y)continue;return{value:d.arg,done:r.done}}"throw"===d.type&&(o=g,r.method="throw",r.arg=d.arg)}}}function I(e,n){var r=n.method,o=e.iterator[r];if(o===t)return n.delegate=null,"throw"===r&&e.iterator.return&&
vendor: 4,631 bytes, line 2
2(n.method="return",n.arg=t,I(e,n),"throw"===n.method)||"return"!==r&&(n.method="throw",n.arg=new TypeError("The iterator does not provide a '"+r+"' method")),y;var i=h(o,e.iterator,n.arg);if("throw"===i.type)return n.method="throw",n.arg=i.arg,n.delegate=null,y;var a=i.arg;return a?a.done?(n[e.resultName]=a.value,n.next=e.nextLoc,"return"!==n.method&&(n.method="next",n.arg=t),n.delegate=null,y):a:(n.method="throw",n.arg=new TypeError("iterator result is not an object"),n.delegate=null,y)}function O(t){var e={tryLoc:t[0]};1 in t&&(e.catchLoc=t[1]),2 in t&&(e.finallyLoc=t[2],e.afterLoc=t[3]),this.tryEntries.push(e)}function P(t){var e=t.completion||{};e.type="normal",delete e.arg,t.completion=e}function C(t){this.tryEntries=[{tryLoc:"root"}],t.forEach(O,this),this.reset(!0)}function D(e){if(e||""===e){var n=e[a];if(n)return n.call(e);if("function"==typeof e.next)return e;if(!isNaN(e.length)){var o=-1,i=function n(){for(;++o<e.length;)if(r.call(e,o))return n.value=e[o],n.done=!1,n;return n.value=t,n.done=!0,n};return i.next=i}}throw new TypeError(c(e)+" is not iterable")}return _.prototype=b,o(S,"constructor",{value:b,configurable:!0}),o(b,"constructor",{value:_,configurable:!0}),_.displayName=l(b,u,"GeneratorFunction"),e.isGeneratorFunction=function(t){var e="function"==typeof t&&t.constructor;return!!e&&(e===_||"GeneratorFunction"===(e.displayName||e.name))},e.mark=function(t){return Object.setPrototypeOf?Object.setPrototypeOf(t,b):(t.__proto__=b,l(t,u,"GeneratorFunction")),t.prototype=Object.create(S),t},e.awrap=function(t){return{__await:t}},k(L.prototype),l(L.prototype,d,(function(){return this})),e.AsyncIterator=L,e.async=function(t,n,r,o,i){void 0===i&&(i=Promise);var a=new L(f(t,n,r,o),i);return e.isGeneratorFunction(n)?a:a.next().then((function(t){return t.done?t.value:a.next()}))},k(S),l(S,u,"Generator"),l(S,a,(function(){return this})),l(S,"toString",(function(){return"[object Generator]"})),e.keys=function(t){var e=Object(t),n=[];for(var r in e)n.push(r);return n.reverse(),function t(){for(;n.length;){var r=n.pop();if(r in e)return t.value=r,t.done=!1,t}return t.done=!0,t}},e.values=D,C.prototype={constructor:C,reset:function(e){if(this.prev=0,this.next=0,this.sent=this._sent=t,this.done=!1,this.delegate=null,this.method="next",this.arg=t,this.tryEntries.forEach(P),!e)for(var n in this)"t"===n.charAt(0)&&r.call(this,n)&&!isNaN(+n.slice(1))&&(this[n]=t)},stop:function(){this.done=!0;var t=this.tryEntries[0].completion;if("throw"===t.type)throw t.arg;return this.rval},dispatchException:function(e){if(this.done)throw e;var n=this;function o(r,o){return c.type="throw",c.arg=e,n.next=r,o&&(n.method="next",n.arg=t),!!o}for(var i=this.tryEntries.length-1;i>=0;--i){var a=this.tryEntries[i],c=a.completion;if("root"===a.tryLoc)return o("end");if(a.tryLoc<=this.prev){var s=r.call(a,"catchLoc"),d=r.call(a,"finallyLoc");if(s&&d){if(this.prev<a.catchLoc)return o(a.catchLoc,!0);if(this.prev<a.finallyLoc)return o(a.finallyLoc)}else if(s){if(this.prev<a.catchLoc)return o(a.catchLoc,!0)}else{if(!d)throw new Error("try statement without catch or finally");if(this.prev<a.finallyLoc)return o(a.finallyLoc)}}}},abrupt:function(t,e){for(var n=this.tryEntries.length-1;n>=0;--n){var o=this.tryEntries[n];if(o.tryLoc<=this.prev&&r.call(o,"finallyLoc")&&this.prev<o.finallyLoc){var i=o;break}}i&&("break"===t||"continue"===t)&&i.tryLoc<=e&&e<=i.finallyLoc&&(i=null);var a=i?i.completion:{};return a.type=t,a.arg=e,i?(this.method="next",this.next=i.finallyLoc,y):this.complete(a)},complete:function(t,e){if("throw"===t.type)throw t.arg;return"break"===t.type||"continue"===t.type?this.next=t.arg:"return"===t.type?(this.rval=this.arg=t.arg,this.method="return",this.next="end"):"normal"===t.type&&e&&(this.next=e),y},finish:function(t){for(var e=this.tryEntries.length-1;e>=0;--e){var n=this.tryEntries[e];if(n.finallyLoc===t)return this.complete(n.completion,n.afterLoc),P(n),y}},catch:function(t){for(var e=this.tryEntries.length-1;e>=0;--e){var n=this.tryEntries[e];if(n.tryLoc===t){var r=n.completion;if("throw"===r.type){var o=r.arg;P(n)}return o}}throw new Error("illegal catch attempt")},delegateYield:function(e,n,r){return this.delegate={iterator:D(e),resultName:n,nextLoc:r},"next"===this.method&&(this.arg=t),y}},e}function d(t,e,n,r,o,i,a){try{var c=t[i](a),s=c.value}catch(t){return void n(t)}c.done?e(s):Promise.resolve(s).then(r,o)}function u(t){return function(){var e=this,n=arguments;return new Promise((function(r,o){var i=t.apply(e,n);function a(t){d(i,r,o,a,c,"next",t)}function c(t){d(i,r,o,a,c,"throw",t)}a(void 0)}))}}var l=window.googletag=window.googletag||{cmd:[]};
2l.cmd.push((function(){l.setConfig({disableInitialLoad:!0,safeFrame:{allowOverlayExpansion:!1,allowPushExpansion:!0,sandbox:!0},collapseDiv:"ON_NO_FILL",singleRequest:!0})})),window.txmoAds=[],window.txmoAdRefresh={interval:200,percent_in_view:50,default_timeout:30,stack:{},add:function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:null;e=e||window.txmoAdRefresh.default_timeout;var n=window.txmoAdRefresh.stack,r=!!n[t];n[t]={enabled:!0,timeout:e,percent_in_view:r?n[t].percent_in_view:0,in_view:r?n[t].in_view:0,in_view_time:0}},update_viewability:function(t,e){var n=window.txmoAdRefresh.stack;n[t]&&(n[t].percent_in_view=e)},check:function(){var t=window.txmoAdRefresh.stack,e=window.txmoAdRefresh.interval/1e3,n=function(n){var r=t[n];if(!r.enabled)return 0;if(parseInt(r.percent_in_view)>=window.txmoAdRefresh.percent_in_view){if(!r.in_view)return r.in_view=!0,0;if(r.timeout<=r.in_view_time+e){window.txmoAdRefresh.refresh_slot(n);var o=txmoAdDefinitions.find((function(t){return t.tag_id===n}));if(o)o.settings.refresh_count++,o.settings.refresh_limit&&o.settings.refresh_count>=o.settings.refresh_limit&&(r.enabled=!1,r.in_view_time=0),r.in_view_time=0}r.in_view_time+=e}else r.in_view&&(r.in_view=!1,r.in_view_time=0)};for(var r in t)n(r)},refresh_slot:function(e){var n=window.txmoAds[e];n&&l.cmd.push(u(s().mark((function r(){return s().wrap((function(r){for(;;)switch(r.prev=r.next){case 0:return r.next=2,t;case 2:z("Refreshing ad slot ".concat(e)),l.pubads().refresh([n]);case 4:case"end":return r.stop()}}),r)}))))},init:function(){return z("refresh.init"),setInterval(window.txmoAdRefresh.check,window.txmoAdRefresh.interval),!0}};var f=[],h=!1,m=[],p="",v=null;function g(){return g=u(s().mark((function e(){return s().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return txmoAdConfig.environment&&console.debug("tm:ads: Configuration",[window.txmoPageMeta,window.txmoAdConfig,window.txmoAdDefinitions,window.txmoAdSizes]),void 0,txmoAdDefinitions.filter((function(t){return t.split_testing})).forEach((function(t){Object.keys(t.split_testing).forEach((function(e){var n=t.split_testing[e];if("lazy_auto"===e){var r=parseInt(n);if(isNaN(r)||r<0||r>100)return void console.error("tm:ads: Split test: ".concat(t.name," - Invalid value for lazy_auto: ").concat(n));console.debug("tm:ads: Split test: ".concat(t.name,": lazy load (").concat(n,"%) / auto load (").concat(100-n,"%)"));var o=Math.random()<r/100;console.debug("tm:ads: Split test: ".concat(t.name,": result = ").concat(o?"lazy load":"auto load")),t.settings.lazy_load=o,t.settings.on_page_load=!o;var i="".concat(o?"lazy":"auto","_wins_").concat(r,"l_").concat(100-n,"a");t.slot_targeting.push({key:"lazy_auto_test",value:i})}}))})),I(),b(),_(),txmoAdSizes.forEach((function(t,e){f[t.id]=t.breakpoints.reduce((function(t,e){var n=e.sizes.filter((function(t){return Array.isArray(t)&&t.length>0||Number.isInteger(t)||"fluid"===t}));return t.addSize([e.min_width,e.min_height],n)}),l.sizeMapping()).build()})),x(txmoAdDefinitions),S(),A(),L(),e.next=12,t;case 12:l.enableServices(),function(){if(h)return;h=!0,e={rootMargin:window.innerWidth<=650?"350px":"250px",threshold:0},n=new IntersectionObserver((function(t,e){t.forEach((function(t){if(t.isIntersecting){var e=t.target.getAttribute("data-acm-tag-id"),n=txmoAdDefinitions.findIndex((function(t){return t.tag_id===e})),r=e.replace(/-/g,"");"function"==typeof window[r]&&!1===txmoAdDefinitions[n].settings.ad_displayed&&(txmoAdDefinitions[n].settings.load_delay>0?setTimeout((function(){y(txmoAdDefinitions[n],r,e)}),txmoAdDefinitions[n].settings.load_delay):y(txmoAdDefinitions[n],r,e))}}))}),e),document.querySelectorAll("[data-acm-lazyload]").forEach((function(t){t&&n.observe(t)})),txmoAdDefinitions.filter((function(t){var e,n;return(null===(e=t.settings)||void 0===e?void 0:e.on_page_load)&&!1===(null===(n=t.settings)||void 0===n?void 0:n.is_prebid)})).forEach(function(){var e=u(s().mark((function e(n){return s().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:l.cmd.push(u(s().mark((function e(){return s().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,t;case 2:l.pubads().refresh([txmoAds[n.tag_id]]),z("Displaying "+n.name+" (autoloaded)"),n.settings.ad_displayed=!0;case 5:case"end":return e.stop()}}),e)}))));case 1:case"end":return e.stop()}}),e)})));return function(t){return e.apply(this,arguments)}}());var e,n}(),window.txmoAdRefresh.init();case 15:case"end":return e.stop()}}),e)}))),g.apply(this,arguments)}function y(e,n,r){window[n](),l.cmd.push(u(s().mark((function n(){return s().wrap((function(n){for(;;)switch(n.prev=n.next){case 0:return n.next=2,t;case 2:l.pubads().refresh([txmoAds[r]]),z("Displaying "+e.name+" (lazyloaded)"),e.settings.ad_displayed=!0;case 5:case"end":return n.stop()}}),n)}))))}function w(t){if("object"===c(t.data)&&"object"===c(t.data.params)&&t.data.cmd)switch(t.data.cmd){case"addCssClass":var e=t.data.params;if(e.elID&&e.parentClass){var n=document.getElementById(e.elID);O(n,".".concat(e.parentClass)).classList.add(e.class)}break;case"expandCreative":var r=document.getElementById(t.data.id);if(null===r)return;var o=r.parentElement.parentElement,i=[o];"string"==typeof t.data.query&&t.data.query&&(i=o.querySelectorAll(t.data.query)),window.NodeList&&!NodeList.prototype.forEach&&(NodeList.prototype.forEach=Array.prototype.forEach),i.forEac
2h((function(e){Object.keys(t.data.params).forEach((function(n){e.style[n]=t.data.params[n]}))}))}}function _(){var t={};if(txmoAdConfig.environment&&(t.dev_environment=txmoAdConfig.environment),"undefined"!=typeof Storage){var e=localStorage.getItem("bcDFPTargetingParams");if(null!==e){var n=JSON.parse(e);Array.isArray(n)&&n.forEach((function(e){"bc_engagement"===e.key?(p=e.value[0],t[e.key]=p):"bc_segments"===e.key&&(e.value.forEach((function(t,e,n){n[e]=t.replace(/[\[\]"',=!+#*~;^()<>']+/g,"")})),m=e.value,t[e.key]=m)}))}}txmoAdConfig.targeting&&(t[txmoAdConfig.targeting.key]=txmoAdConfig.targeting.value),txmoAdConfig.pageMetaTargetKeys.forEach((function(e){txmoPageMeta.hasOwnProperty(e)&&(t[e]=txmoPageMeta[e])})),Object.keys(t).length>0&&l.setConfig({targeting:t})}function b(){function e(){txmoAdDefinitions.forEach((function(t){t.settings.remove_with_paywall&&l.destroySlots([txmoAds[t.tag_id]])}))}window.addEventListener("showPaywall",e),window._showPaywall&&e(),window.addEventListener("removePaywall",(function(){var e=txmoAdDefinitions.filter((function(t){return t.settings.remove_with_paywall}));x(e);var n,r=function(t,e){var n="undefined"!=typeof Symbol&&t[Symbol.iterator]||t["@@iterator"];if(!n){if(Array.isArray(t)||(n=o(t))||e&&t&&"number"==typeof t.length){n&&(t=n);var r=0,i=function(){};return{s:i,n:function(){return r>=t.length?{done:!0}:{done:!1,value:t[r++]}},e:function(t){throw t},f:i}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var a,c=!0,s=!1;return{s:function(){n=n.call(t)},n:function(){var t=n.next();return c=t.done,t},e:function(t){s=!0,a=t},f:function(){try{c||null==n.return||n.return()}finally{if(s)throw a}}}}(e);try{var i=function(){var e=n.value;l.cmd.push(u(s().mark((function n(){return s().wrap((function(n){for(;;)switch(n.prev=n.next){case 0:return n.next=2,t;case 2:l.pubads().refresh([txmoAds[e.tag_id]]);case 3:case"end":return n.stop()}}),n)}))))};for(r.s();!(n=r.n()).done;)i()}catch(t){r.e(t)}finally{r.f()}}))}function x(t){t.forEach((function(t){var e=t.tag_id,r=document.getElementById(t.el_id);if(null!==r){if(t.settings.lazy_load&&!r.hasAttribute("data-acm-lazyload")&&r.setAttribute("data-acm-lazyload",!0),void 0!==f[t.size_id])if(!function(t){var e=n(t).slice(0),r=!0;return e.reverse().forEach((function(t){window.innerWidth>=t[0][0]&&(r=t[1].length>0)})),r}(f[t.size_id]))return z("Slot won't be defined: "+t.name),void r.remove();if(txmoAds[e]=l.defineSlot(t.ad_unit_path,t.size,t.el_id).addService(l.pubads()),z("Slot defined: "+t.name),t.size_id&&txmoAds[e].defineSizeMapping(f[t.size_id]),t.slot_targeting){var o={};t.slot_targeting.forEach((function(t){o[t.key]=t.value})),txmoAds[e].setConfig({targeting:o})}}else z("Can't find element for: "+t.name)}))}function A(){l.pubads().addEventListener("slotRenderEnded",(function(t){var n=t.slot.getSlotElementId();if(E("render_ended",t),z(t.slot.getSlotElementId()+": Slot rendered"),setTimeout((function(){var t=k(),e=document.getElementById(n);e&&e.querySelectorAll("iframe").forEach((function(e){try{e.contentWindow.postMessage({type:"txmo_dark_mode",colorScheme:t},"*")}catch(t){}}))}),100),t.isEmpty)l.destroySlots([t.slot]);else{var r=txmoAdDefinitions.find((function(t){return t.el_id===n}));if(r)return"div-gpt-horizontal-banner"!==r.tag_id||function(t){if(!Array.isArray(t)||t.length<2)return!0;var n=e(t,2);return n[0]>=n[1]}(t.size)?void(r.settings.refresh_enabled&&!r.settings.custom_refresh&&(!r.settings.refresh_limit||r.settings.refresh_count<r.settings.refresh_limit)&&window.txmoAdRefresh.add(r.tag_id)):(z("Destroying slot ".concat(n,": rendered size ").concat(t.size,' not permitted by size mapping "').concat(r.size_id,'" at viewport width ').concat(window.innerWidth)),"undefined"!=typeof newrelic&&newrelic.noticeError(new Error("GAM served disallowed size in horizontal banner slot"),{context:"txmo-ads",method:"slotRenderEnded",slot:n,renderedSize:t.size?t.size.join("x"):"unknown",sizeMapping:r.size_id,viewportWidth:window.innerWidth,devicePixelRatio:window.devicePixelRatio,lineItemId:t.lineItemId,creativeId:t.creativeId,advertiserId:t.advertiserId,campaignId:t.campaignId,declaredSizes:t.slot.getSizes().map((function(t){return"function"==typeof t.getWidth?"".concat(t.getW
2idth(),"x").concat(t.getHeight()):String(t)})).join(", "),pageUrl:document.location.pathname}),void l.destroySlots([t.slot]))}})),l.pubads().addEventListener("slotResponseReceived",(function(t){E("response_received",t)})),l.pubads().addEventListener("slotVisibilityChanged",(function(t){var e=t.slot.getSlotElementId(),n=txmoAdDefinitions.find((function(t){return t.el_id===e}));window.txmoAdRefresh.stack[n.tag_id]&&(z(n.tag_id+": Slot visibility changed"),window.txmoAdRefresh.update_viewability(n.tag_id,t.inViewPercentage))}))}function E(t,e){var n=e.slot.getSlotElementId(),r=document.getElementById(n);if(r){var o=txmoAdDefinitions.find((function(t){return t.el_id===n}));if(o){var i={type:"txmo_ads_".concat(t),detail:{adDefinition:o,slotEl:r,adEvent:e}};window.txmoAdBus&&window.txmoAdBus._publish(i)}}}function S(){if(!window.txmoAdBus){var t=new Set,e={};window.txmoAdBus={subscribe:function(n){var r=!(arguments.length>1&&void 0!==arguments[1])||arguments[1],o=!0;if(t.add(n),r){var i=Object.values(e);i.length>0&&Promise.resolve().then((function(){o&&i.forEach((function(t){return n(t)}))}))}return function(){o=!1,t.delete(n)}},getLatest:function(t){return e[t]||null},_publish:function(n){e[n.type]=n,t.forEach((function(t){return t(n)}))}},window.dispatchEvent(new CustomEvent("txmoAdBusReady"))}}function k(){return"dark"===document.documentElement.getAttribute("data-color-scheme")?"dark":"light"}function L(){v||((v=new MutationObserver((function(t){t.forEach((function(t){"data-color-scheme"===t.attributeName&&function(t){document.querySelectorAll('[id^="div-gpt-"], [id^="google_ads_iframe"]').forEach((function(e){e.querySelectorAll("iframe").forEach((function(e){try{e.contentWindow.postMessage({type:"txmo_dark_mode",colorScheme:t},"*")}catch(t){z("Could not send dark mode message to iframe: ".concat(t.message))}}))})),z("Notified ads of dark mode change: ".concat(t))}(k())}))}))).observe(document.documentElement,{attributes:!0,attributeFilter:["data-color-scheme"]}),z("Dark mode observer initialized"))}function z(t){"production"!==txmoAdConfig.environment&&t&&console.debug("tm:ads: "+t)}function I(){(document.cookie.indexOf("nonPersonalizedAds")>-1||sessionStorage.getItem("nonPersonalizedAds"))&&(txmoAdConfig.nonPersonalizedAds=!0,l.pubads().setPrivacySettings({nonPersonalizedAds:!0}),z("tm:ads: Non-personalized ads enabled"))}!function(t,e){for(var n in t)if(t.hasOwnProperty(n)&&e.includes(n)){var r=t[n];"string"==typeof r&&(t[n]="true"===r.toLowerCase()||"1"===r)}}(txmoAdConfig,["disabled","usePlaceholders","usePrebid"]),txmoAdConfig.disabled||(document.addEventListener("DOMContentLoaded",(function(){l.cmd.push((function(){!function(){g.apply(this,arguments)}()}))})),window.addEventListener?addEventListener("message",w,!1):window.attachEvent?attachEvent("onmessage",w):window.onmessage=w);var O=function(t,e){for(Element.prototype.matches||(Element.prototype.matches=Element.prototype.matchesSelector||Element.prototype.mozMatchesSelector||Element.prototype.msMatchesSelector||Element.prototype.oMatchesSelector||Element.prototype.webkitMatchesSelector||function(t){for(var e=(this.document||this.ownerDocument).querySelectorAll(t),n=e.length;--n>=0&&e.item(n)!==this;);return n>-1});t&&t!==document;t=t.parentNode)if(t.matches(e))return t;return null};Element.prototype.insertChildAtIndex=function(t,e){e||(e=0),e>=this.children.length?this.appendChild(t):this.insertBefore(t,this.children[e])}})();
3//# sourceMappingURL=ads.js.map

Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.