(()=>{function t(t,a){var n="undefined"!=typeof Symbol&&t[Symbol.iterator]||t["@@iterator"];if(!n){if(Array.isArray(t)||(n=function(t,a){if(t){if("string"==typeof t)return e(t,a);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)?e(t,a):void 0}}(t))||a&&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 o,l=!0,s=!1;return{s:function(){n=n.call(t)},n:function(){var t=n.next();return l=t.done,t},e:function(t){s=!0,o=t},f:function(){try{l||null==n.return||n.return()}finally{if(s)throw o}}}}function e(t,e){(null==e||e>t.length)&&(e=t.length);for(var a=0,n=new Array(e);a<e;a++)n[a]=t[a];return n}!function(e,a,n,r,i,o){var l=function(t,e){if(!t)return"";for(var a=t.split("/"),n=0;n<a.length;n++){var r=a[n].split("=");if(r[0]==e)return r[1]}return null},s=function(t){for(var e=window.location.search.substring(1).split("&"),a=0;a<e.length;a++){var n=e[a].split("=");if(n[0]==t)return n[1]}return null},d=function(){for(var t=window.location.pathname.split("/"),e="";t.length>0&&""===e;)e=t.pop();return e},g=function(t){var e=document.createElement("script");e.appendChild(document.createTextNode("googletag.cmd.push(function () { googletag.display('".concat(t.targetId,"'); });"))),document.getElementById(t.targetId).appendChild(e)};document.addEventListener("DOMContentLoaded",(function(){n.cmd.push((function(){return function(){var c,u=e("div[data-ad-path]").map((function(t,a){var n,r,o,l=e(a),s=l.data("adPath"),d=l.data("adTags"),g="true"===String(l.data("lazy")).toLowerCase();if(window.csnGoogleAdvertData&&(n=l.data("ad-tile"))){var c=window.csnGoogleAdvertData["tile".concat(n)];c&&(s=c)}if(i&&(n=l.data("ad-tile"))){var u=i["tile".concat(n)];u&&(s=u.path||s,d=u.tags||d,g=u.lazy||g,u.id&&e(a).attr("id",u.id))}return{targetId:e(a).attr("id"),path:s,sizes:(o=e(a).data("adReplaceSize")||e(a).data("adSizes"),o?o.split(",").map((function(t){return t.split("x").map((function(t){var e=parseInt(t);return isNaN(e)?t:e}))})):[]),tags:(r=d,r?r.split("|").map((function(t){return t.split(",")})):[]),outOfPage:"true"===String(l.data("adOutOfPage")).toLowerCase(),lazy:g}})).get(),f=n.pubads(),p={},v=t(u);try{var h=function(){var t=c.value,e=!0===t.outOfPage?n.defineOutOfPageSlot(t.path,t.targetId):n.defineSlot(t.path,t.sizes,t.targetId);!0!==t.lazy&&e.setCollapseEmptyDiv(!0),t.tags&&t.tags.forEach((function(t){2===t.length&&e.setTargeting(t[0],t[1])})),e.addService(f)};for(v.s();!(c=v.n()).done;)h()}catch(t){v.e(t)}finally{v.f()}for(var y in f.setTargeting("title",[d()]).setTargeting("adtest",[s("adtest")||"false"]),p.title=d(),p.adtest=s("adtest")||"false",a)a.hasOwnProperty(y)&&(f.setTargeting(y,a[y]),p[y]=a[y]);var w=function(){var t=window.KruxSasHelper;if(t){var e=t().getSasTags();return{ksg:l(e,"ksg"),kuid:l(e,"kuid"),gaclientId:l(t().getGaTags(),"gaclientId")}}return console.warn("KruxSasHelper not loaded"),{}}();Object.keys(w).forEach((function(t){f.setTargeting(t,w[t]),p[t]=w[t]}));try{var m=JSON.parse(window.localStorage.getItem("aep_destinations"));if(m){var b=m.filter((function(t){return"gam"==t.alias}))[0];if(b&&b.segments.length>0){var S=b.segments.map((function(t){return t.id})).reduce((function(t,e){return t+e+","}),"").slice(0,-1);f.setTargeting("ASG",S),p.ASG=S}}}catch(t){console.log(t)}try{var I=JSON.parse(CsnInsights.CookieHelper.get("afx_profile")).acid;I&&(f.setTargeting("AFX",I),p.AFX=I,f.setPublisherProvidedId(I))}catch(t){console.log(t)}try{var _=JSON.parse(CsnInsights.CookieHelper.get("afx_profile_brid")).brid;_&&(f.setTargeting("Acidbrid",_),p.Acidbrid=_)}catch(t){console.log(t)}try{var O=JSON.parse(CsnInsights.CookieHelper.get("afx_profile_brid")).acid;O&&(f.setTargeting("profile_acidbrid",O),p.profile_acidbrid=O)}catch(t){console.log(t)}if(o||"true"===o){var T=window.fusetag||(window.fusetag={que:[]}),A=[];for(var C in p)A.push({key:C,value:p[C]});T.que.push((function(){T.pageInit({pageTargets:A})}))}else{!0===r?(f.enableLazyLoad({fetchMarginPercent:50,renderMarginPercent:0,mobileScaling:2}),f.setCentering(!0)):(f.collapseEmptyDivs(),f.enableSingleRequest()),n.enableServices();var z,P=t(u);try{for(P.s();!(z=P.n()).done;){var k=z.value;!0===r&&!0===k.lazy?g(k):n.display(k.targetId)}}catch(t){P.e(t)}finally{P.f()}}}()}))}))}(jQuery,window.google_advert_targeting_tags||{},googletag,window.google_advert_enable_lazy_load,window.google_advert_tile_data||!1,window.isFuseEnabled||!1)})();