/*_hs_*/;var sas=window.sas||{};sas.cmpIds=[2,5,6,7,9,10,14,18,21,25,27,28,31,35,46,47,54,58,59,61,63,68,72,76,77,79,90,92,104,105,112,113,123,125,129,134,141,162,167,168,171,181,185,198,200,212,213,218,220,222,224,225,227,229,231,235,236,237,242,246,247,258,259,260,264,273,279,280,282,287,291,292,294,297,299,300,302,303,304,306,308,309,311,312,316,317,318,321,323,327,329,330,332,335,340,341,343,345,348,350,351,352,354,355,361,363,364,367,371,374,376,379,380,382,383,384,385,386,387,388,390,392,396,397,399,401,403,404,405,406,407,409,410,411,412,413,414,415,416,417,418,419,420,421,423,424,425,426,428,429,430,431,432,433,434,435,436,437,438,439,440,441,443,444,445,446,447,448,449,450,451,452,453,454,456,457,459,462,463,472];;var blockedPercentForAddtlConsent = 0.98; var numberBetweenZeroAndOne = Math.random(); var isBlockingAddtlConsent = blockedPercentForAddtlConsent > numberBetweenZeroAndOne; window.sas_blockAddtlConsent = isBlockingAddtlConsent;;window.sas_useTopicsAPIData=true;;/*_hs_*/(()=>{var e={414:()=>{var e;(e=window.sas).utils.extend=function(t){for(var a=1;a{!function(e,t){var a=e.sas;if(!a.__smartLoaded){a.__smartLoaded=!0;var n=function(){},s=!1,i=function(){return Math.round(1e10*Math.random())},o="https://www.smartadserver.com",r=o,d=i(),c=!0,l=encodeURIComponent,u=decodeURIComponent,p=0,h=0,g=!1,v=null,f=null,m=null,y={},b=[],S=[],w={},I={},E={};a._networks=a._networks||{},a._pendingCommands=a._pendingCommands||{};var _={};a.callType={STD:"std",IFRAME:"iframe",ONECALL:"onecall",XML:"xml",PASSBACK:"passback"},a.renderMode={DEFAULT:0,READY:1,ON_DEMAND:2};var C=!1,D=[],A={onLoad:n,onError:n,onClean:n,beforeRender:n};a.events.on("call",(function(e){var t=y[e.ad.tagId],n=W[e.ad.tagId]?W[e.ad.tagId]:z;a.livePreview.active&&(e.ad.formats=a.livePreview.callLivePreview(e.ad.formats)),e.ad.formats.length&&(K("Make a std call ",e),n.addListener((function(){O(e)}))),n.addListener((function(){t.render()}))}),a.callType.STD),a.events.on("call",(function(e){a.livePreview.active&&Object.prototype.hasOwnProperty.call(e,"ad")&&Object.prototype.hasOwnProperty.call(e.ad,"formats")&&(e.ad.formats=a.livePreview.callLivePreview(e.ad.formats)),e.ad.formats.length&&(K("Make a onecall for formats ",e),z.addListener((function(){R(e)})))}),a.callType.ONECALL);var R=function(e){z.addListener((function(){var t=L(e.ad,e.options,e.callType);!function(e,t,a,n,s){X(e,t,a,n,s,JSON.parse,"application/json")}(U(e.ad,e.options,e.callType),t,(function(e){for(var t in e){var a=k(t);if(a){var n=e[t];a.displayData={hbRenderFailedUrl:n.HbRenderFailedUrl,hbRenderSuccessUrl:n.HbRenderSuccessUrl,scriptType:n.ScriptType,scriptSrc:n.ScriptSrc,scriptNoad:n.ScriptNoad,contentType:n.ContentType,content:n.Content,chain:n.Chain,width:n.ScriptWidth,height:n.ScriptHeight},a.displayData.scriptSrc&&(a.displayData.scriptSrc=function(e){return function(){return ae(e)}}(a.displayData.scriptSrc)),"pending"==a.renderStatus&&a.render()}}}),e.options.onError,e.options.domain)}))},O=function(e){z.addListener((function(){var t=L(e.ad,e.options,e.callType);!function(e,t,a,n,s){X(e,t,a,n,s,(function(e){return e}),"application/javascript")}(U(e.ad,e.options,e.callType),t,(function(t){var a=e.ad.tagId,n=k(a);n&&(n.displayData={scriptType:"content",contentType:"application/javascript",content:t},"pending"==n.renderStatus&&(W[a]?W[a].addListener(function(){this.render()}.bind(n)):n.render()))}),e.options.onError,e.options.domain)}))},T="invalid site id",N="invalid page id or name",P="invalid format id",M=function(e){throw new Error(e)},k=function(e){var t=y[e=""+e]||y["sas_"+e];if(t)return t;var n=e.split("_"),s=n.slice(0,n.length-1).join("_");if(n.length>1&&!isNaN(n[n.length-1])&&(t=y[s]||y["sas_"+s])){var i=parseInt(n[n.length-1]),o=t.ad.tagId+"_"+i,r=new a.Tag(o);return E[o]&&r.setHeaderBiddingWinner(E[o]),r.onCall(t.callType,a.utils.extend({},t.ad,{tagId:o,instance:i}),t.options),t.instances.push(r),y[o]=r,r}return null},j=1,L=function(t,n,s){n=a.utils.extend({forceMasterFlag:!1},n),c=!!n.forceMasterFlag||c,d=n.resetTimestamp?i():d,s==a.callType.ONECALL&&G();var o=x(),r=function(){var t=e;try{for(;t.parent.document;){if(t.parent.context&&t.parent.context.canonicalUrl)return t.parent.context.canonicalUrl;if(t.parent.document===t.document)return t.location.origin?t.location.origin+t.location.pathname:"";t=t.parent}}catch(e){}var a=new URLSearchParams(t.location.search).get("pgDomain");if(a)return a;try{try{if(e.top.location.href)return e.top.location.origin?e.top.location.origin+e.top.location.pathname:""}catch(e){}var n=e.location.ancestorOrigins;return 1==n.length?t.document.referrer:n[n.length-1]}catch(e){return t.document.referrer}}()||(e.location.origin?e.location.origin+e.location.pathname:""),l=screen.height,u=screen.width;return function(t,n,s,i,o,r,d){var c={timestamp:s,networkId:o.networkId,getAdContent:o.getAdContent,siteId:t.siteId,pageId:t.pageId,pageName:t.pageName,master:n,noAdCallback:"sas.noad",pageUrl:i,screen:{height:r,width:d},uid:v||0,appName:f||"",bundleId:m||"",noCookie:o.noCookie,schain:t.schain||"",clickTrackingUrl:o.clickTrackingUrl,clickTrackingEncodingLevel:o.clickTrackingEncodingLevel,ads:[]},l=a.getConsentStatus()===a.EConsentStatus.AGREED,u=e.sas.common.getGdprConsentData();u&&(c.gdpr_consent=u);var p=e.sas.common.getAddtlConsentData();p&&(c.addtl_consent=p);var h=e.sas.common.getUsPrivacyConsentData();h&&(c.us_privacy=h);var g=a.localStorage.getItem("sas_gpp");g&&(c.gpp=g);var y=a.localStorage.getItem("sas_gpp_sid");if(y)try{c.gpp_sid=JSON.parse(y)}catch(e){}var b=a.localStorage.getItem("eqtv_cmpvalid");b&&(c.cmpvalid=Number(b));var w=function(e){if(e.length>1&&"function"==typeof Array.prototype.findIndex){var t=e.reverse();e=t.filter((function(e,a){return t.findIndex((function(t){return t.source===e.source}))===a}))}return e.length&&"object"==typeof e[0]&&e[0].source&&e[0].uids&&e[0].uids.length?e:null}(S);w?c.eids=w:a.events.history("setEidsCalled").length&&console.warn("The eids object is malformed, no eids will be sent in the adcall");var E=a.getSda();E&&E.length&&l&&(c.sda=E);var _=a.getSdc();_&&_.length&&(c.sdc=_);var C=a.getDsa();C&&(c.dsa=C);I&&(c.partnerExtUids=I);t.content_source_id&&(c.content_source_id=t.content_source_id);for(var D=0;D0||e.isIntersecting){var a=e.target.id;t.unobserve(e.target),Object.prototype.hasOwnProperty.call(W,a)&&W[a].notify("smartLazyLoading"+a)}}))}),{rootMargin:a.lazyLoading.margin})),i&&i.observe(t.getElementById(n))}else W[n].notify("smartLazyLoading"+n)},q=!1;e.addEventListener("message",(e=>{if(e&&e.data&&"string"==typeof e.data&&!(e.data.indexOf("SMRT")<0)){var t=e.data.split(" ");if(!(t.length<2)){var n=t[2]||"";if("sas.noad"===t[1]||"NOAD"===t[1])try{a.noad(n)}catch(e){}}}}));var H,K=function(e,t,a,n){var s=void 0===a?"info":a;if((!(n=void 0===n||n)||V)&&e.length&&void 0!==console[s]){var i={txt:"%cequativ",css:"background: #fe5000; border-radius: 2px; color: #feffff; font-family: lato,sans-serif; padding:1px 3px;"};void 0!==t?console[s](i.txt,i.css,e,t):console[s](i.txt,i.css,e)}},V="true"===new URLSearchParams(e.location.search).get("sas_debug"),J=!1,z=new a.utils.Latch(["loaded"]),W={};a.setup=function(t){if(J)throw new Error("sas.setup can only be called once");a.events.fire("setupCalled",t),J=!0,r=(t=t||{}).domain||o,p=t.networkid||p,h=t.renderMode||h,g=t.inSequence||g,v=t.uid,I=a.utils.extend(I,t.partnerIds),m=t.bundleId,f=t.appName,e.sas_renderMode=h,a.configure({id:p}),h==a.renderMode.DEFAULT&&z.notify("loaded"),h==a.renderMode.ON_DEMAND&&(H=setTimeout((function(){a.render()}),parseInt(t.renderModeTimeout)||5e3))},a.call=function(e,t,n){"string"!=typeof e&&(n=a.utils.extend({},t),t=e,e="std",h==a.renderMode.DEFAULT&&z.notify("loaded")),n=a.utils.extend({},n),(t=a.utils.extend({},t)).siteId=t.siteId||t.siteid,t.pageId=t.pageId||t.pageid,t.pageName=t.pageName||t.pagename,t.formatId=t.formatId||t.formatid,t.siteId||M(T);var i,o=navigator.userAgent.includes("iPad")?"ipad":navigator.userAgent.includes("iPhone")?"iphone":navigator.userAgent.includes("Android")?"android":"";if(o.length>0&&(t.target&&t.target.length>0&&(t.target+=";"),t.target+="platform="+o),t.pageId||t.pageName||M(N),t.formatId||t.formats||M(P),(n=a.utils.extend({},A,{domain:r,networkId:p},n))&&n.networkId){var d=parseInt(n.networkId);if(d>0&&!a._networks[d])return a._pendingCommands[d]=a._pendingCommands[d]||[],void a._pendingCommands[d].push((function(){a.call(e,t,n)}))}if(!t||!t.siteId||!t.pageId&&!t.pageName||!t.formatId&&!t.formats)throw new Error("Missing parameter(s)");if(!t.formats){t.formats=[];var c=(""+t.formatId).replace(/\s/g,"").split(",");for(i=0;i{s=!0,a.render()})))),t.passback||b.push({callType:e,ad:a.utils.extend({},t),options:a.utils.extend({},n)}),g?z.addListener((function(){var s,i;s={callType:e,ad:t,options:n},i=function(){if(D.length>0){C=!0;var e=D.shift(),t=e.options.onLoad;e.options.onLoad=function(e){i(),t(e)},a.events.fire("call",{callType:e.callType,ad:e.ad,options:e.options},e.callType)}else C=!1},D.push(s),C||i()})):a.events.fire("call",{callType:e,ad:t,options:n},e)},a.passback=function(e){var t=e.tagId?e.tagId:"sas_"+e.formatId;if(w[t]={current:-1,ad:e},e.noadUrl){var n=function(){(new Image).src=e.noadUrl,a.events.off("noad",n,t)};a.events.on("noad",n,t)}a.next(t)},a.next=function(n){var s=k(n),i=w[s.ad.tagId];if(s&&i){var o=t.getElementById(s.ad.tagId);if(o&&(o.innerHTML=""),i.current>=0&&((new Image).src=i.ad.chain[i.current].noadUrl),i.current++,i.current0||e.isIntersecting)&&(t.unobserve(e.target),a.lazyLoading.event?a.events.on(a.lazyLoading.event,(function(){i.render()}),o):i.render(),a.events.fire("beforeFetch",i))}))}),{rootMargin:a.lazyLoading.margin})),r?r.observe(t.getElementById(o)):i.render()}else i.render()},a.enableLazyLoading=function(t){var n={};n.formats=t.formats||[];var s=void 0!==e.orientation||-1!==navigator.userAgent.indexOf("IEMobile")?t.mobileFetchRatio||.8:t.fetchRatio||.1;n.margin=Math.round(100*(isNaN(s)||s<0?.1:s))+"%",n.event=t.event||null,a.lazyLoading=n},a.setPartnerId=function(e,t){I[e]=t},a.appendHtml=function(e,a){var n=t.getElementById(e);if(Range&&Range.prototype.createContextualFragment)n.appendChild(t.createRange().createContextualFragment(a));else{var s=t.createElement("div");s.innerHTML=a;for(var i=s.childNodes,o=0;ot.source!==e))},a.setHeaderBiddingWinner=function(e,n){var s=null;if(null!==n&&"object"==typeof n){s=n;var i=k(e);i?i.setHeaderBiddingWinner(n):E[e]={bidder:n.bidder,cpm:n.cpm,currency:n.currency,dealId:n.dealId},a.debugMode.addBanner({adSlot:t.getElementById(e),adInfo:{"HB bidder":n.bidder,"HB CPM":n.cpm,"HB currency":n.currency,"HB deal ID":n.dealId,"HB creative ID":n.creativeId}})}a.events.fire("setHeaderBiddingWinner",{tagId:e,headBiddingData:a.utils.extend({},s)},e)},a.hbRenderSuccess=function(e){a.events.fire("hbRender",{success:!0},e)},a.hbRenderFailed=function(e){a.events.fire("hbRender",{success:!1},e)};var $=function(e,t,a){var n=e.indexOf("/");if(n<0)throw new Error("Invalid argument : sas_pageid");this.siteId=e.substring(0,n);var s=e.substring(n+1);0==s.indexOf("(")&&s.indexOf(")")==s.length-1&&(s=s.slice(1,s.length-1));var i=parseInt(s);i+""==s?this.pageId=i:this.pageName=s,this.formatId=t,this.target=a};e.sas_ads=a,e.sas_unrenderedFormats=[],a.callAd=a.refresh,a.callAds=function(){z.isComplete()?a.refresh():a.render()},a.cleanAds=a.clean,e.sas_render=function(e){a.render(e)},e.SmartAdServer=function(e,t,n){a.call(a.callType.STD,new $(e,t,n))},e.SmartAdServerAjax=e.SmartAdServer,e.sas_gcf=function(e){return t.getElementById("sas_"+e)},e.sas_appendToContainer=function(e,a){var n=t.getElementById("sas_"+e);if(n){if("string"==typeof a){var s=t.createElement("div");s.innerHTML=a,a=s}n.appendChild(a)}};var Q={};e.sas_addCleanListener=function(e,t){Q[e]=t},a.events.on("clean",(function(e){Q[e.tagId]&&Q[e.tagId](),Q[e.formatId]&&Q[e.formatId]()}))}function X(t,n,s,i,o,r,d){var c=new XMLHttpRequest;c.onreadystatechange=function(){if(4==this.readyState){try{var e=r(this.responseText)}catch(e){K(e.toString()+"\nThis is most likely due to a failure from the backend response. Please contact your technical account manager.",void 0,"error",!1)}a.tracing.addMany("adCallEnd",n.ads),200==this.status&&e?s(e):i(e)}},c.withCredentials=!0;try{c.open("POST",t,!0),c.setRequestHeader("content-type",d),!(!e.chrome||!e.chrome.webstore&&!e.chrome.runtime)&&c.setRequestHeader&&c.setRequestHeader("Save-Data","off"),a.tracing.setTraceHeaders(c,n.ads),c.send(JSON.stringify(n))}catch(e){}}function Z(e){return a.lazyLoading&&a.lazyLoading.formats&&(0===a.lazyLoading.formats.length||-1!==a.lazyLoading.formats.indexOf(parseInt(e)))?1:0}function ee(e){return void 0!==_[e]?_[e]?2:1:0}function te(e){var a;if("script"==e.tagName.toLowerCase())a=t.createElement("script"),e.type&&(a.type=e.type),e.src&&(a.src=e.src),e.text&&(a.text=e.text);else{a=e.cloneNode(!1);for(var n=e.childNodes,s=0;ss.default.publisherDefinedConsent=e,a(414);const i=n(a(501));s.default.utils.docReady=i.default;(new(a(585).Smart)).init(),a(532),a(161);(new(n(a(28)).default)).listenForEvent()},28:function(e,t,a){"use strict";var n=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0});const s=n(a(275)),i=a(343);class o extends i.Global{listenForEvent(){this.sas.events.history("readyForCmd").length?this.onReadyForCmd():this.sas.events.on("readyForCmd",(()=>this.onReadyForCmd()))}onReadyForCmd(){this.sas.events.fire("Bootstrap",{time:"Start"}),(0,s.default)(this.sas.cmd,(e=>this.executeCmd(e))),this.sas.events.fire("Bootstrap",{time:"End"})}executeCmd(e){this._log("Executing sas.cmd",void 0,e),e()}}t.default=o},858:(e,t,a)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.DATAOPUB=t.PUBRENDER=t.DSAREQUIRED=t.Dsa=void 0;const n=a(343);class s extends n.Global{constructor(){super(),this.DSA_EMPTY_INPUT_MESSAGE="Input data can not be empty.",this.DSA_REQUIRED_ERROR_MESSAGE=" No valid value of dsarequired.",this.DSA_PUBRENDER_ERROR_MESSAGE=" No valid value of pubrender.",this.DSA_DATAOPUB_ERROR_MESSAGE=" No valid value of datatopub.",this.DSA_REQUIRED_ATTRIBUTES_ERROR_MESSAGE=" Missing some required DSA attributes.",this.DSA_TRANSPARENCY_ARRAY_ERROR_MESSAGE="The transparency attribute should be not empty array.",this.DSA_TRANSPARENCY_ERROR_MESSAGE="The transparency attribute has invalid properties.",this.dsaData=void 0,this.sas.setDsa=e=>this.setDsa(e),this.sas.getDsa=()=>this.dsaData}validateData(e){let t="";if(this.isObjectEmpty(e))return t=this.DSA_EMPTY_INPUT_MESSAGE,t;const a={dsarequired:i.No|i.Supported|i.Required|i.RequiredOnlinePlatform,pubrender:o.No|o.Maybe|o.Yes,datatopub:r.No|r.Optional|r.Yes};if(Object.keys(a).filter((t=>!1===Object.prototype.hasOwnProperty.call(e,t))).length?t+=this.DSA_REQUIRED_ATTRIBUTES_ERROR_MESSAGE:(e.dsarequired in i&&"number"==typeof e.dsarequired||(t+=this.DSA_REQUIRED_ERROR_MESSAGE),e.pubrender in o&&"number"==typeof e.pubrender||(t+=this.DSA_PUBRENDER_ERROR_MESSAGE),e.datatopub in r&&"number"==typeof e.datatopub||(t+=this.DSA_DATAOPUB_ERROR_MESSAGE)),e.transparency)if(Array.isArray(e.transparency)&&e.transparency.length>0){t+=e.transparency.filter((e=>"string"!=typeof e.domain||!Array.isArray(e.dsaparams)||e.dsaparams.some((e=>"number"!=typeof e)))).length?this.DSA_TRANSPARENCY_ERROR_MESSAGE:""}else t+=this.DSA_TRANSPARENCY_ARRAY_ERROR_MESSAGE;return t}setDsa(e){const t=this.validateData(e);t.length?console.warn("setDsa called with error: "+t):(this.dsaData={dsarequired:e.dsarequired,pubrender:e.pubrender,datatopub:e.datatopub},e.transparency&&(this.dsaData.transparency=e.transparency))}}var i,o,r;t.Dsa=s,function(e){e[e.No=0]="No",e[e.Supported=1]="Supported",e[e.Required=2]="Required",e[e.RequiredOnlinePlatform=3]="RequiredOnlinePlatform"}(i=t.DSAREQUIRED||(t.DSAREQUIRED={})),function(e){e[e.No=0]="No",e[e.Maybe=1]="Maybe",e[e.Yes=2]="Yes"}(o=t.PUBRENDER||(t.PUBRENDER={})),function(e){e[e.No=0]="No",e[e.Optional=1]="Optional",e[e.Yes=2]="Yes"}(r=t.DATAOPUB||(t.DATAOPUB={}))},490:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0});t.default=class{constructor(e){this.handlers=[],this.byId=new Map,this.name=e}executeHandlers(e,t){var a;t&&(null===(a=this.byId.get(t))||void 0===a||a.handlers.forEach((a=>a(Object.assign({},e),t)))),this.handlers.forEach((a=>a(Object.assign({},e),t)))}removeHandler(e,t){var a;const n=(null===(a=this.byId.get(""+t))||void 0===a?void 0:a.handlers)||this.handlers,s=n.indexOf(e);s>=0&&n.splice(s,1)}}},833:function(e,t,a){"use strict";var n=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0});const s=n(a(490));t.default=class{constructor(){this.isReady=!0,this.events=new Map,this.eventHistory=[]}on(e,t,a){let n=this.events.get(e);n||(n=new s.default(e),this.events.set(e,n));let i=n.handlers;if(a){let e=n.byId.get(a);e||(e={handlers:[]},n.byId.set(a,e)),i=e.handlers}i.push(t)}off(e,t,a){var n;null===(n=this.events.get(e))||void 0===n||n.removeHandler(t,a)}fire(e,t,a){var n;t&&Object.entries(t).forEach((([e,a])=>{void 0===a&&delete t[e]})),this.eventHistory.push({eventName:e,data:Object.assign({timestamp:Date.now()},t),id:a}),null===(n=this.events.get(e))||void 0===n||n.executeHandlers(t,a)}history(e){return e?this.eventHistory.filter((t=>t.eventName===e)):this.eventHistory}}},343:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.Global=void 0;t.Global=class{constructor(){this.sas=window.sas=window.sas||{},this.isDebug=this._isDebug()}setEids(e){"function"==typeof this.sas.setEids?this.sas.setEids([e]):this.sas.cmd.unshift((()=>this.sas.setEids([e])))}removeEids(e){"function"==typeof this.sas.removeEids?this.sas.removeEids(e):this.sas.cmd.push((()=>this.sas.removeEids(e)))}_log(e,t,a=""){(t||this.isDebug)&&console[null!=t?t:"log"]("%cequativ","background:#fe5000; border-radius:2px; color:#feffff; font-family:lato,sans-serif; padding:1px 3px;",e,a)}isString(e){return"string"==typeof e||e instanceof String}isNonEmptyString(e){return Boolean(e)&&this.isString(e)}isObjectEmpty(e){return"object"==typeof e&&!Array.isArray(e)&&null!==e&&e&&0===Object.keys(e).length&&Object.getPrototypeOf(e)===Object.prototype}_isDebug(){return"true"===new URLSearchParams(window.location.search).get("sas_debug")}}},814:(e,t,a)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.Gpid=void 0;const n=a(343);class s extends n.Global{constructor(){super(),this.gpidData=new Map,this.sas.setGpid=(e,t)=>this.setGpid(e,t),this.sas.getGpid=e=>this.getGpid(e)}getGpid(e){return this.isNonEmptyString(e)?this.gpidData.get(e):void this._log("Gpid: wrong input data format","warn",e)}setGpid(e,t){this.isNonEmptyString(e)&&this.isNonEmptyString(t)?this.gpidData.set(e,t):this._log("Gpid: wrong input data format","warn",[e,t])}}t.Gpid=s},654:function(e,t,a){"use strict";var n=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0}),t.Id5=void 0;const s=a(113),i=a(343),o=n(a(832));class r extends i.Global{constructor(){super(...arguments),this.partnerId=102}init(e){(0,o.default)("id5-api","//cdn.id5-sync.com/api/1.0/").then((()=>{window.ID5.init(Object.assign({partnerId:this.partnerId},(null==e?void 0:e.pd)&&{pd:null==e?void 0:e.pd})).onAvailable((e=>{e.getUserId()?this.sas.localStorage.setItem(s.EModuleStorageKeys.ID5,JSON.stringify(e.getUserIdAsEid())):this.sas.localStorage.removeItem(s.EModuleStorageKeys.ID5)}))})).catch((()=>this._log("ID5 API not initialized","warn")));const t=this.sas.localStorage.getItem(s.EModuleStorageKeys.ID5);t&&this.setEids(JSON.parse(t))}}t.Id5=r},683:function(e,t,a){"use strict";var n=this&&this.__awaiter||function(e,t,a,n){return new(a||(a=Promise))((function(s,i){function o(e){try{d(n.next(e))}catch(e){i(e)}}function r(e){try{d(n.throw(e))}catch(e){i(e)}}function d(e){var t;e.done?s(e.value):(t=e.value,t instanceof a?t:new a((function(e){e(t)}))).then(o,r)}d((n=n.apply(e,t||[])).next())}))};Object.defineProperty(t,"__esModule",{value:!0}),t.SasIabApi=void 0;const s=a(882);class i{constructor(e,t){this.apiWasFound=!1,this.apiAnsweredOk=!1,this.eventMessageListenerAdded=!1,this.apiCallbacks={},this.myCmpCallbackFinished=void 0,this.maxSearchRetry=50,this.doubleCallbackTime=10,this.retryNumber=0,this.retryInterval=0,this.name=e.name,this.sasCookieName=e.sasCookieName,this.sasAddtlCookieName=e.sasAddtlCookieName,this.version=e.version,this.getConsentFunction=e.getConsentFunction,this.apiFunctionName=e.apiFunctionName,this.consentObjectConsentDataName=e.consentObjectConsentDataName,this.consentObjectAdditionalConsentDataName=e.consentObjectAdditionalConsentDataName,this.apiLocator=e.apiLocator,this.sentMessage=e.sentMessage,this.postMessageReturnObjectName=e.postMessageReturnObjectName,t&&(this.myCmpCallbackFinished=()=>t()),this.lastCallbackResult={id:"",addtlConsent:"",eventStatus:"",timeStamp:0,vendor:{consents:{},legitimateInterests:{}}}}get gdprApplies(){return this._gdprApplies}cmpCallback(e,t){var a;if(!t||!e||void 0===e[this.consentObjectConsentDataName]||null===e[this.consentObjectConsentDataName])return void window.sas.events.fire("ApiAnswered Wrong answer",{consent:e,success:t,failType:"Wrong answer",version:this.version},this.name);if("stub"===e.cmpStatus&&null!==window.sas.localStorage.getItem(this.sasCookieName))return void window.sas.events.fire("ApiAnswered Stub answer",{consent:e,success:t,failType:"Ignoring stub data",version:this.version},this.name);this.apiAnsweredOk=!0,this._gdprApplies=e.gdprApplies;const n={consentObject:e,name:this.consentObjectConsentDataName};if(e[this.consentObjectConsentDataName]&&window.sas.localStorage.setItem(this.sasCookieName,e[this.consentObjectConsentDataName]),this.consentObjectAdditionalConsentDataName&&e[this.consentObjectAdditionalConsentDataName]&&this.sasAddtlCookieName){let t=e[this.consentObjectAdditionalConsentDataName];Array.isArray(t)&&(t=JSON.stringify(t)),window.sas.localStorage.setItem(this.sasAddtlCookieName,t),n.additionalConsent=this.consentObjectAdditionalConsentDataName}window.sas.events.fire("ApiAnswered Valid answer",n,this.name),null===(a=this.myCmpCallbackFinished)||void 0===a||a.call(this)}callApiLocal(){return n(this,void 0,void 0,(function*(){const e=window[this.apiFunctionName];if(void 0!==e&&"[object Function]"===Object.prototype.toString.call(e)){if(this.apiWasFound=!0,window.sas.events.fire("ApiCalled",{location:"Same Iframe",version:this.version},this.name),"__gpp"===this.apiFunctionName){const t=()=>{const t=e("getGPPData");this.cmpCallback(t,null!=t)},a=Number((yield(0,s.betterGpp)("ping")).gppVersion||1);a<1.1&&t(),e(this.getConsentFunction,(e=>{a<1.1?t():this.cmpCallback(null==e?void 0:e.pingData,null!=(null==e?void 0:e.pingData))}))}else e(this.getConsentFunction,this.version,((e,t)=>{this.cmpCallback(e,t)}));return!0}return!1}))}callApiInFrame(){let e,t=window;for(;!e;){try{t.frames[this.apiLocator]&&(e=t)}catch(e){}if(t===window.top)break;t=t.parent}if(e){this.apiWasFound=!0,window.sas.events.fire("ApiFrameFound",{version:this.version},this.name);const t=(t,a,n)=>{const s="smartjs"+Math.random();this.apiCallbacks[s]=n,this.sendPostMessage(t,a,s,e)};if(this.eventMessageListenerAdded||(window.addEventListener("message",(e=>{this.readPostMessageResponse(e)})),this.eventMessageListenerAdded=!0),window.sas.events.fire("ApiCalled",{location:"Different iframe",version:this.version},this.name),"__gpp"===this.apiFunctionName){const a="smartjsPing"+Math.random();this.apiCallbacks[a]=e=>{var a,n;((null===(a=e.returnValue)||void 0===a?void 0:a.gppVersion)?Number(null===(n=e.returnValue)||void 0===n?void 0:n.gppVersion):1)<1.1&&t("getGPPData",void 0,((e,t)=>{this.cmpCallback(e,t)}))},this.sendPostMessage("ping",null,a,e)}return t(this.getConsentFunction,void 0,((e,t)=>{this.cmpCallback(e,t)})),!0}return!1}sendPostMessage(e,t,a,n){const s={};s[this.sentMessage]={command:e,parameter:t,callId:a,version:this.version},null==n||n.postMessage(s,"*")}readPostMessageResponse(e){const t="string"==typeof e.data&&-1!==e.data.indexOf(this.postMessageReturnObjectName)?JSON.parse(e.data):e.data;if(t[this.postMessageReturnObjectName]){const a=t[this.postMessageReturnObjectName];"function"!=typeof this.apiCallbacks[a.callId]||this.isCallbackDouble(a.callId,e)||(this.assignLastCallback(a.callId,e),this.apiCallbacks[a.callId](a.returnValue,a.success,this.version))}}isCallbackDouble(e,t){var a,n,s;let i=!1;const o=null===(n=null===(a=null==t?void 0:t.data)||void 0===a?void 0:a.__tcfapiReturn)||void 0===n?void 0:n.returnValue;return e===this.lastCallbackResult.id&&(null==t?void 0:t.timeStamp)-this.lastCallbackResult.timeStampthis.maxSearchRetry||this.apiWasFound&&this.apiAnsweredOk)&&clearInterval(this.retryInterval),this.retryNumber++}))}searchApi(){this.retryInterval=window.setInterval((()=>{this.searchApiInterval()}),500),this.searchApiInterval()}}t.SasIabApi=i,window.SasIabApi=i},113:function(e,t,a){"use strict";var n=this&&this.__awaiter||function(e,t,a,n){return new(a||(a=Promise))((function(s,i){function o(e){try{d(n.next(e))}catch(e){i(e)}}function r(e){try{d(n.throw(e))}catch(e){i(e)}}function d(e){var t;e.done?s(e.value):(t=e.value,t instanceof a?t:new a((function(e){e(t)}))).then(o,r)}d((n=n.apply(e,t||[])).next())}))};Object.defineProperty(t,"__esModule",{value:!0}),t.EModuleStorageKeys=t.EConsentStatus=t.Consent=void 0;const s=a(882);var i,o;t.Consent=class{constructor(){this.consentTgtString="consent=rejected",this.maxSearchEntry=50,this.consentRejectedKey="sas_consent_rejected",this.cmpValidKey="eqtv_cmpvalid",this.consentStatus=i.UNKNOWN,this.tcfData={},this.retryInterval=0,this.retryNumber=0,this.retryTime=500,this.logOn=!1,this.validateTCFData=()=>{var e;this.log("validateTCFData");const{tcData:t,success:a}=this.tcfData;if(t&&!this.isCmpValid(t.cmpId))return this.consentStatus=i.REJECTED,void this.callCallback();if(this.isUiVisible(null==t?void 0:t.eventStatus))return this.consentStatus===i.UNKNOWN&&(null==t?void 0:t.gdprApplies)&&(this.consentStatus=i.REJECTED),void this.callCallback();const n=!0===(null===(e=null==t?void 0:t.vendor)||void 0===e?void 0:e.consents[45])&&[1,2,4,7,10].every((e=>{var a;return!0===(null===(a=t.purpose)||void 0===a?void 0:a.consents[e])}));a&&t&&(!1===t.gdprApplies||n?this.consentStatus=i.AGREED:void 0===t.gdprApplies?this.consentStatus=n?i.AGREED:i.REJECTED:this.consentStatus=i.REJECTED),this.callCallback()},window.sas=window.sas||{},window.sas.EConsentStatus=i,window.sas.getConsentStatus=()=>this.getConsentStatus(),"function"!=typeof window.__gpp&&"function"!=typeof window.__tcfapi&&(this.consentStatus=i.AGREED),this.checkConsentInStorage()}checkConsent(e){return n(this,void 0,void 0,(function*(){this.log("checkConsent",e),this.callback=e,this.callCallback(),yield this.checkGPPConsent(),"function"!=typeof window.__gpp&&this.checkTCFConsent()}))}getConsentStatus(){return this.consentStatus}checkConsentInStorage(){this.log("checkConsentStatus");const e=window.sas.localStorage.getItem(this.consentRejectedKey);"1"===e?this.consentStatus=i.REJECTED:"0"===e&&(this.consentStatus=i.AGREED),this.callCallback()}getGPPData(){this.log("getGPPData"),window.__gpp("addEventListener",(e=>n(this,void 0,void 0,(function*(){if(!e)return void console.warn("No consent data available");let t;if(Number(e.pingData.gppVersion)<1.1){const a=window.__gpp("getGPPData");t={cmpId:e.pingData.cmpId,cmpDisplayStatus:e.pingData.cmpDisplayStatus,applicableSections:a.applicableSections}}else{const a=e.pingData;t={cmpId:a.cmpId,cmpDisplayStatus:a.cmpDisplayStatus,applicableSections:a.applicableSections}}yield this.validateGPPData(t)}))))}createRetryInterval(){this.log("createRetryInterval");const e=this.getTopWindow();this.retryInterval=window.setInterval((()=>n(this,void 0,void 0,(function*(){if(this.retryNumber>this.maxSearchEntry)clearInterval(this.retryInterval);else{if(window.__gpp=e.__gpp||window.__gpp,"function"==typeof window.__gpp){this.log("window.__gpp",window.__gpp);const e=yield(0,s.betterGpp)("ping");"loaded"===(null==e?void 0:e.cmpStatus)&&(this.getGPPData(),clearInterval(this.retryInterval))}this.retryNumber++}}))),this.retryTime)}checkGPPConsent(){return n(this,void 0,void 0,(function*(){if(this.log("checkGPPConsent"),"function"==typeof window.__gpp){if("loaded"===(yield(0,s.betterGpp)("ping")).cmpStatus)return void this.getGPPData()}this.createRetryInterval()}))}checkTCFConsent(){this.log("checkTCFConsent"),"function"==typeof window.__tcfapi&&(this.log("window.__tcfapi",window.__tcfapi),window.__tcfapi("addEventListener",2,((e,t)=>{this.tcfData={tcData:e,success:t},this.validateTCFData()})))}validateGPPData(e){var t,a,o,r,d,c;return n(this,void 0,void 0,(function*(){if(this.log("validateGPPData",e),!this.isCmpValid(e.cmpId)||(null===(t=e.applicableSections)||void 0===t?void 0:t.length)&&e.applicableSections.some((e=>e>=6&&e<=22))&&navigator.globalPrivacyControl)return this.consentStatus=i.REJECTED,void this.callCallback();if(this.isUiVisible(e.cmpDisplayStatus))return this.consentStatus=i.UNKNOWN,void this.callCallback();if(this.consentStatus=i.AGREED,null===(a=e.applicableSections)||void 0===a?void 0:a.length)for(const t of e.applicableSections){switch(t){case s.ESection.tcfeuv2:{const e=yield(0,s.checkAndGetSection)(s.ESection[s.ESection.tcfeuv2]);if(e){const t=((null===(o=e.VendorConsent)||void 0===o?void 0:o.includes(45))||(null===(r=e.VendorConsents)||void 0===r?void 0:r.includes(45)))&&[1,2,4,7,10].every((t=>{var a,n;return(null===(a=e.PurposeConsent)||void 0===a?void 0:a[t-1])||(null===(n=e.PurposeConsents)||void 0===n?void 0:n[t-1])}));t||(this.consentStatus=i.REJECTED)}break}case s.ESection.tcfcav1:{const e=yield(0,s.checkAndGetSection)(s.ESection[s.ESection.tcfcav1]);if(e){const t=(null===(d=e.VendorExpressConsent)||void 0===d?void 0:d.includes(45))&&(null===(c=e.SpecialFeatureExpressConsent)||void 0===c?void 0:c[0])&&[2,3,4,7,10].every((t=>{var a;return null===(a=e.PurposesExpressConsent)||void 0===a?void 0:a[t-2]}));t||(this.consentStatus=i.REJECTED)}break}case s.ESection.uspv1:{const e=yield(0,s.checkAndGetSection)(s.ESection[s.ESection.uspv1]);e&&"Y"===e.OptOutSale&&(this.consentStatus=i.REJECTED);break}case s.ESection.usnat:case s.ESection.usut:case s.ESection.usva:case s.ESection.usca:case s.ESection.usco:case s.ESection.usct:case s.ESection.usfl:case s.ESection.usmt:case s.ESection.usor:case s.ESection.ustx:case s.ESection.usde:case s.ESection.usia:case s.ESection.usne:case s.ESection.usnh:case s.ESection.usnj:case s.ESection.ustn:{const e=yield(0,s.extendedGetSection)(s.ESection[t]);e&&(this.normalizeConsentArray(e),this.evaluateUsConsent(t,e)||(this.consentStatus=i.REJECTED));break}default:this.consentStatus=i.UNKNOWN}if(this.consentStatus===i.REJECTED)break}this.consentStatus===i.UNKNOWN?this.checkTCFConsent():this.callCallback()}))}normalizeConsentArray(e){"number"==typeof e.KnownChildSensitiveDataConsents&&(e.KnownChildSensitiveDataConsents=[e.KnownChildSensitiveDataConsents])}evaluateUsConsent(e,t){let a=this.evaluateUsCommonConsent(t);if(!a)return a;const n=this.evaluateSet1Consent(t),i=this.evaluateSet2Consent(t),o=this.evaluateSet3Consent(t),r=this.evaluateSet4Consent(t),d=this.evaluateSet5Consent(t),c=this.evaluateSet6Consent(t);switch(e){case s.ESection.usnat:a&&(a=n&&i);break;case s.ESection.usca:a&&(a=i);break;case s.ESection.usut:a&&(a=n);break;case s.ESection.usva:case s.ESection.usco:case s.ESection.usct:a&&(a=o);break;case s.ESection.usfl:case s.ESection.usor:case s.ESection.ustx:a&&(a=r);break;case s.ESection.usmt:case s.ESection.usde:case s.ESection.usne:case s.ESection.usnh:case s.ESection.usnj:case s.ESection.ustn:a&&(a=d);break;case s.ESection.usia:a&&(a=c)}return a}evaluateUsCommonConsent(e){var t,a,n;return null!==(n=1!==e.SaleOptOut&&2!==e.SaleOptOutNotice&&(null===(t=e.KnownChildSensitiveDataConsents)||void 0===t?void 0:t.every((e=>1!==e)))&&(null===(a=e.SensitiveDataProcessing)||void 0===a?void 0:a.every((e=>1!==e))))&&void 0!==n&&n}evaluateSet1Consent(e){return 2!==e.SharingNotice&&1!==e.TargetedAdvertisingOptOut&&2!==e.TargetedAdvertisingOptOutNotice&&2!==e.SensitiveDataProcessingOptOutNotice}evaluateSet2Consent(e){return 1!==e.SharingOptOut&&2!==e.SharingOptOutNotice&&1!==e.PersonalDataConsents&&2!==e.SensitiveDataLimitUseNotice}evaluateSet3Consent(e){return 2!==e.SharingNotice&&1!==e.TargetedAdvertisingOptOut&&2!==e.TargetedAdvertisingOptOutNotice}evaluateSet4Consent(e){var t;return 2!==e.ProcessingNotice&&1!==e.TargetedAdvertisingOptOut&&2!==e.TargetedAdvertisingOptOutNotice&&(null===(t=e.AdditionalDataProcessingConsent)||void 0===t?void 0:t.every((e=>1!==e)))}evaluateSet5Consent(e){var t;return 2!==e.SharingNotice&&1!==e.TargetedAdvertisingOptOut&&2!==e.TargetedAdvertisingOptOutNotice&&(null===(t=e.AdditionalDataProcessingConsent)||void 0===t?void 0:t.every((e=>1!==e)))}evaluateSet6Consent(e){var t;return 2!==e.ProcessingNotice&&1!==e.TargetedAdvertisingOptOut&&2!==e.TargetedAdvertisingOptOutNotice&&2!==e.SensitiveDataOptOutNotice&&(null===(t=e.AdditionalDataProcessingConsent)||void 0===t?void 0:t.every((e=>1!==e)))}callCallback(){this.log("callCallback"),"function"==typeof this.callback&&this.callback(this.consentStatus===i.REJECTED?this.consentTgtString:null),this.consentStatus===i.REJECTED&&Object.values(o).forEach((e=>window.sas.localStorage.removeItem(e))),this.consentStatus===i.UNKNOWN?window.sas.localStorage.removeItem(this.consentRejectedKey):window.sas.localStorage.setItem(this.consentRejectedKey,JSON.stringify(this.consentStatus))}isUiVisible(e){return this.log("isUiVisible",e),"cmpuishown"===e||"visible"===e}isCmpValid(e){const t=window.sas.cmpIds,a=!t||t.includes(e);return window.sas.localStorage.setItem(this.cmpValidKey,String(Number(a))),a}getTopWindow(){var e;this.log("getTopWindow");let t=window;for(let a=5;a>0;a--)try{if((null===(e=t.parent)||void 0===e?void 0:e.document)&&(t=t.parent,t===t.parent))break}catch(e){this.log("getTopWindow error",e)}return t}log(...e){this.logOn&&console.log("%cconsent","background:#ed5625; border-radius:2px; color:#feffff; font-family:lato,sans-serif; padding:1px 3px;",e)}},function(e){e[e.AGREED=0]="AGREED",e[e.REJECTED=1]="REJECTED",e[e.UNKNOWN=2]="UNKNOWN"}(i=t.EConsentStatus||(t.EConsentStatus={})),function(e){e.ID5="eqtv_id5",e.TOPICS="eqtv_topics",e.LIVERAMP="sas__lr_env"}(o=t.EModuleStorageKeys||(t.EModuleStorageKeys={}))},882:function(e,t){"use strict";var a=this&&this.__awaiter||function(e,t,a,n){return new(a||(a=Promise))((function(s,i){function o(e){try{d(n.next(e))}catch(e){i(e)}}function r(e){try{d(n.throw(e))}catch(e){i(e)}}function d(e){var t;e.done?s(e.value):(t=e.value,t instanceof a?t:new a((function(e){e(t)}))).then(o,r)}d((n=n.apply(e,t||[])).next())}))};function n(e,t){return new Promise((a=>{const n=window.__gpp(e,((e,t)=>{t&&a(e)}),t);void 0!==n&&a(n)}))}function s(e){return a(this,void 0,void 0,(function*(){if(yield n("hasSection",e)){const t=yield n("getSection",e);return Array.isArray(t)?t[0]:t}return null}))}Object.defineProperty(t,"__esModule",{value:!0}),t.extendedGetSection=t.checkAndGetSection=t.betterGpp=t.ESection=void 0,function(e){e[e.tcfeuv2=2]="tcfeuv2",e[e.tcfcav1=5]="tcfcav1",e[e.uspv1=6]="uspv1",e[e.usnat=7]="usnat",e[e.usca=8]="usca",e[e.usva=9]="usva",e[e.usco=10]="usco",e[e.usut=11]="usut",e[e.usct=12]="usct",e[e.usfl=13]="usfl",e[e.usmt=14]="usmt",e[e.usor=15]="usor",e[e.ustx=16]="ustx",e[e.usde=17]="usde",e[e.usia=18]="usia",e[e.usne=19]="usne",e[e.usnh=20]="usnh",e[e.usnj=21]="usnj",e[e.ustn=22]="ustn"}(t.ESection||(t.ESection={})),t.betterGpp=n,t.checkAndGetSection=s,t.extendedGetSection=function(e){return a(this,void 0,void 0,(function*(){return(yield s(e))||s(e+"v1")}))}},598:(e,t,a)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.Liveramp=void 0;const n=a(343),s=a(113);class i extends n.Global{constructor(){super(...arguments),this.atsPath="https://ats.rlcdn.com/ats.js"}init(e){"number"==typeof e.placementID&&e.placementID?this.fetchId(e):this._log("LiveRamp ATS not initiated because of not valid placementID","warn"),this.readId()}fetchId(e){(()=>window.ats?Promise.resolve():new Promise((e=>{const t=document.createElement("script");t.onload=e,t.src=this.atsPath,document.head.appendChild(t)})))().then((()=>{window.ats.start(e),this._log("LiveRamp ATS initiated"),window.ats.retrieveEnvelope().then((e=>{e&&this.sas.localStorage.setItem(s.EModuleStorageKeys.LIVERAMP,JSON.parse(e).envelope)}))}))}readId(){const e=this.sas.localStorage.getItem(s.EModuleStorageKeys.LIVERAMP);e&&this.setEids({source:"liveramp.com",uids:[{id:e}]})}}t.Liveramp=i},417:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0});t.default=class{isAvailable(){let e=!1;try{const t="smart_is_localstorage_available";localStorage.setItem(t,"1"),"1"===localStorage.getItem(t)&&(localStorage.removeItem(t),e=!0)}catch(e){}return this.isAvailable=()=>e,e}getItem(e){return this.isAvailable()?localStorage.getItem(e):null}setItem(e,t){return!!this.isAvailable()&&(localStorage.setItem(e,t),!0)}removeItem(e){return!!this.isAvailable()&&(localStorage.removeItem(e),!0)}}},880:(e,t,a)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.Sda=void 0;const n=a(343);class s extends n.Global{constructor(){super(),this.sdaData=[],this.sdcData=[],this.sas.setSda=e=>this.setSda(e,!1),this.sas.getSda=()=>this.sdaData,this.sas.setSdc=e=>this.setSda(e,!0),this.sas.getSdc=()=>this.sdcData}validateAndPushData(e,t){if(this.isValidArray(e))for(const a of e){const e={name:(null==a?void 0:a.name)||""};if(this.isNonEmptyString(null==a?void 0:a.id)&&(e.id=a.id),(null==a?void 0:a.segment)&&this.isValidArray(a.segment))for(const t of a.segment){const a={};this.isNonEmptyString(null==t?void 0:t.id)&&(a.id=t.id),this.isNonEmptyString(null==t?void 0:t.name)&&(a.name=t.name),this.isNonEmptyString(null==t?void 0:t.value)&&(a.value=t.value),this.isObjectEmpty(a)||(Array.isArray(e.segment)||(e.segment=[]),e.segment.push(a))}(null==a?void 0:a.ext)&&!this.isObjectEmpty(a.ext)&&(e.ext=a.ext),this.isObjectEmpty(e)||!e.name||this.checkDuplicates(e,t)?this._log("SDA: wrong input data format","warn",a):t.push(e)}else this._log("SDA: wrong input data format","warn",e)}isValidArray(e){return Array.isArray(e)&&e.length>0}checkDuplicates(e,t){for(const a of t)if(JSON.stringify(e)===JSON.stringify(a))return!0;return!1}setSda(e,t){t?this.validateAndPushData(e,this.sdcData):this.validateAndPushData(e,this.sdaData)}removeSda(e){this.sdaData=this.sdaData.filter((t=>!t[e]))}}t.Sda=s},905:function(e,t){"use strict";var a,n=this&&this.__rest||function(e,t){var a={};for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&t.indexOf(n)<0&&(a[n]=e[n]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols){var s=0;for(n=Object.getOwnPropertySymbols(e);s{const a=[...s[t]||[],...e.target[t]||[]];s[t]=a.filter(((e,t)=>a.indexOf(e)===t))}));break;case a.Remove:Object.keys(e.target).forEach((e=>{if(s[e]){const t=s,a=e,i=(t[a],n(t,["symbol"==typeof a?a:a+""]));s=i}}));break;default:s=Object.assign({},e.target)}const i=this.tgtObjToString(s);return""===i&&void 0===e?void 0:i}tgtObjToString(e){let t="";for(const[a,n]of Object.entries(e))t+=n.length?`${a}=${n};`:`${a};`;return t}tgtStringToObj(e){const t={};if(e)for(const a of e.split(";")){const e=a.split("=");e[0]&&(t[e[0]]=t[e[0]]||[],e[1]&&(t[e[0]]=t[e[0]].concat(e[1].split(",").filter((e=>e.length)))))}return t}},function(e){e[e.Default=0]="Default",e[e.Overwrite=1]="Overwrite",e[e.Append=2]="Append",e[e.Remove=3]="Remove"}(a=t.SetTargetingMode||(t.SetTargetingMode={}))},624:(e,t,a)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.EKey=t.Tracing=void 0;const n=a(343);class s extends n.Global{constructor(){super(),this.objMap=new Map,this.samplingRate=this._isDebug()?1:1e4,this.apiEndpoint="https://apm.smartadserver.com:443/v1/traces",this.sas.tracing.setTraceHeaders=(e,t)=>this.setTraceHeaders(e,t),this.sas.tracing.add=(e,t)=>this.add(e,t),this.sas.tracing.addMany=(e,t)=>this.addMany(e,t),this.sas.tracing.sendTrace=(e,t)=>this.sendTrace(e,t)}sendTrace(e,t){const a=this.objMap.get(e);if(!(a&&a[i.shouldSendTrace]&&a[i.traceId]&&a[i.parentId]&&a[i.adCallStart]&&a[i.adCallEnd]&&a[i.beforeRender]&&(a[i.onAd]||a[i.noAd])))return;const n=this.getEvents(a),s=this.getTrace(n,{startTime:a[i.adCallStart],endTime:a[i.adCallEnd]},{startTime:a[i.beforeRender],endTime:a[i.onAd]||a[i.noAd]},t,a[i.traceId],a[i.parentId]);fetch(this.apiEndpoint,{method:"POST",body:JSON.stringify(s),headers:{"Content-type":"application/json"}}),this._log("trace",void 0,s)}getEvents(e){return Object.entries(e).filter((([e])=>[i.beforeRender,i.load,i.noAd,i.onAd,i.render].includes(e))).map((([e,t])=>({name:e,time:t})))}getTrace(e,t,a,n,s,i){return{resourceSpans:[{resource:{attributes:[{key:"service.name",value:{stringValue:"smartjs"}},{key:"service.version",value:{stringValue:"1.33.0"}}]},scopeSpans:[{spans:[{name:"render",traceId:s,spanId:this.genRandomHex(16),parentSpanId:i,startTimeUnixNano:1e6*a.startTime,endTimeUnixNano:1e6*a.endTime,kind:1,attributes:[{key:"site.id",value:{intValue:n.siteId}},{key:"page.id",value:{intValue:n.pageId}},{key:"format.id",value:{intValue:n.formatId}},{key:"tag.id",value:{stringValue:n.tagId}},{key:"target",value:{stringValue:n.target}}],events:e.map((e=>({name:e.name,timeUnixNano:1e6*e.time})))},{name:"adcall",traceId:s,spanId:i,startTimeUnixNano:1e6*t.startTime,endTimeUnixNano:1e6*t.endTime,kind:3,attributes:[{key:"peer.service",value:{stringValue:"delivery"}}]}]}]}]}}addMany(e,t){const a=performance.timeOrigin+performance.now();for(const n of t)this.add(e,n.tagId,a)}genRandomHex(e){return[...Array(e)].map((()=>Math.floor(16*Math.random()).toString(16))).join("")}setTraceHeaders(e,t){this.addMany(i.adCallStart,t);const a=this.genRandomHex(32),n=this.genRandomHex(16),s=this.isTraceEligible(a,this.samplingRate);this.addData(t,a,n,s),e.setRequestHeader("traceparent",`00-${a}-${n}-${s?"01":"00"}`),e.setRequestHeader("tracestate","eqtv-source=smartjs"+(this._isDebug()?",eqtv-nosampling=true":""))}isTraceEligible(e,t){return this.fnv1a(e)%t==0}fnv1a(e){let t=2166136261;for(let a=0;a>>0}addData(e,t,a,n){for(const s of e)this.add(i.traceId,s.tagId,t),this.add(i.parentId,s.tagId,a),this.add(i.shouldSendTrace,s.tagId,n)}add(e,t,a){this.objMap.set(t,Object.assign(Object.assign({},this.objMap.get(t)),{[e]:null!=a?a:performance.timeOrigin+performance.now()}))}}var i;t.Tracing=s,function(e){e.adCallStart="adCallStart",e.adCallEnd="adCallEnd",e.beforeRender="beforeRender",e.noAd="noAd",e.onAd="onAd",e.load="load",e.render="render",e.shouldSendTrace="shouldSendTrace",e.traceId="traceId",e.parentId="parentId"}(i=t.EKey||(t.EKey={}))},396:(e,t,a)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.Uid=void 0;const n=a(343);class s extends n.Global{constructor(){super(...arguments),this.apis={__euid:"euid.eu",__uid2:"uidapi.com"}}init(){for(const[e,t]of Object.entries(this.apis))this.getEid(e,t)}getEid(e,t){var a;const n=null===(a=window[e])||void 0===a?void 0:a.getAdvertisingToken;"function"==typeof n&&this.setEids({source:t,uids:[{id:n()}]})}}t.Uid=s},443:(e,t,a)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.Utiq=void 0;const n=a(343);class s extends n.Global{constructor(){super(...arguments),this.eidSource="utiq.com"}getEid(){var e;const t=null===(e=window.Utiq)||void 0===e?void 0:e.API;let a=!1;if(t&&(a=this.tryGetAtid((()=>t.getIdGraphEntry("atid")),"API")),!a){const e=this.sas.localStorage.getItem("utiqPass");e&&this.tryGetAtid((()=>JSON.parse(e).connectId.idGraph[0].atid),"Local storage")}window.Utiq=window.Utiq||{},window.Utiq.listeners=window.Utiq.listeners||{},window.Utiq.listeners.onIdsAvailable=window.Utiq.listeners.onIdsAvailable||[],window.Utiq.listeners.onConsentUpdateFinished=window.Utiq.listeners.onConsentUpdateFinished||[],window.Utiq.listeners.onIdsAvailable.push((({atid:e})=>{this.tryGetAtid((()=>e),"Event listener")})),window.Utiq.listeners.onConsentUpdateFinished.push((({isConsentGranted:e})=>{e||this.removeEids(this.eidSource)}))}tryGetAtid(e,t){try{const a=e();if(a&&"string"==typeof a&&!a.includes(" "))return this.removeEids(this.eidSource),this.setEids({source:this.eidSource,uids:[{id:a}]}),!0;this._log(`Utiq: ${t} returned an incorrect atid value`,void 0,a)}catch(e){this._log(`Utiq: retrieving atid from ${t} failed`,void 0,e)}return!1}}t.Utiq=s},418:function(e,t,a){"use strict";var n,s,i,o,r=this&&this.__createBinding||(Object.create?function(e,t,a,n){void 0===n&&(n=a);var s=Object.getOwnPropertyDescriptor(t,a);s&&!("get"in s?!t.__esModule:s.writable||s.configurable)||(s={enumerable:!0,get:function(){return t[a]}}),Object.defineProperty(e,n,s)}:function(e,t,a,n){void 0===n&&(n=a),e[n]=t[a]}),d=this&&this.__setModuleDefault||(Object.create?function(e,t){Object.defineProperty(e,"default",{enumerable:!0,value:t})}:function(e,t){e.default=t}),c=this&&this.__importStar||function(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var a in e)"default"!==a&&Object.prototype.hasOwnProperty.call(e,a)&&r(t,e,a);return d(t,e),t},l=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0});const u=l(a(833)),p=l(a(417)),h=l(a(532)),g=c(a(581)),v=window.sas=window.sas||{};v.utils=v.utils||{},v.consent=v.consent||{},v.cmd=v.cmd||[],v.livePreview=v.livePreview||{},v.tracing=v.tracing||{},v.debugMode=v.debugMode||{},v.debugMode.logsQueue=v.debugMode.logsQueue||[],v.debugMode.bannersQueue=v.debugMode.bannersQueue||[],v.events=(null===(n=v.events)||void 0===n?void 0:n.isReady)?v.events:new u.default,v.localStorage=null!==(s=v.localStorage)&&void 0!==s?s:new p.default,v.Tag=null!==(i=v.Tag)&&void 0!==i?i:h.default,v.common=null!==(o=v.common)&&void 0!==o?o:g,t.default=v},585:function(e,t,a){"use strict";var n=this&&this.__awaiter||function(e,t,a,n){return new(a||(a=Promise))((function(s,i){function o(e){try{d(n.next(e))}catch(e){i(e)}}function r(e){try{d(n.throw(e))}catch(e){i(e)}}function d(e){var t;e.done?s(e.value):(t=e.value,t instanceof a?t:new a((function(e){e(t)}))).then(o,r)}d((n=n.apply(e,t||[])).next())}))},s=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0}),t.Smart=void 0;const i=a(113),o=a(343),r=a(654),d=a(598),c=a(683),l=a(905),u=a(880),p=s(a(832)),h=a(814),g=a(396),v=a(443),f=a(624),m=a(858);class y extends o.Global{constructor(){super(),this.targeting=new l.Targeting,this.consent=new i.Consent,this.setupDebugMode()}setupDebugMode(){const e=this.sas.debugMode;e.addLog=t=>{e.active&&e.logsQueue.push(t)},e.addBanner=t=>{e.active&&e.bannersQueue.push(t)},null!==new URLSearchParams(window.location.search).get("equativ_debug")&&(e.active=!0,(0,p.default)("modules/lazy/debugMode").catch((()=>this._log("Couldn't load Debug Mode.","error"))))}initCmp(){const e=new c.SasIabApi({name:"CMP V2",version:2,apiFunctionName:"__tcfapi",getConsentFunction:"addEventListener",sasCookieName:"sas_euconsent_v2",sasAddtlCookieName:"sas_addtl_euconsent_v2",consentObjectConsentDataName:"tcString",consentObjectAdditionalConsentDataName:"addtlConsent",apiLocator:"__tcfapiLocator",sentMessage:"__tcfapiCall",postMessageReturnObjectName:"__tcfapiReturn"}),t=new c.SasIabApi({name:"CCPA",version:1,apiFunctionName:"__uspapi",getConsentFunction:"getUSPData",sasCookieName:"sas_usprivacy",consentObjectConsentDataName:"uspString",apiLocator:"__uspapiLocator",sentMessage:"__uspapiCall",postMessageReturnObjectName:"__uspapiReturn"}),a=new c.SasIabApi({name:"GPP",version:1,apiFunctionName:"__gpp",getConsentFunction:"addEventListener",sasCookieName:"sas_gpp",sasAddtlCookieName:"sas_gpp_sid",consentObjectConsentDataName:"gppString",consentObjectAdditionalConsentDataName:"applicableSections",apiLocator:"__gppLocator",sentMessage:"__gppCall",postMessageReturnObjectName:"__gppReturn"});e.searchApi(),t.searchApi(),a.searchApi()}initModules(e){this.consent.checkConsent((t=>{var a;!1!==(null===(a=null==e?void 0:e.consent)||void 0===a?void 0:a.targeting)&&this.checkConsentCallback(t)})),this.consent.getConsentStatus()===i.EConsentStatus.AGREED&&(!1!==window.sas_useID5Module&&(new r.Id5).init(null==e?void 0:e.id5),!0===window.sas_useLiverampModule&&(null==e?void 0:e.liveramp)&&(new d.Liveramp).init(e.liveramp)),(new g.Uid).init(),(new v.Utiq).getEid()}checkConsentCallback(e){e?this.targeting.setTargeting({mode:l.SetTargetingMode.Overwrite,target:{consent:["rejected"]}}):this.targeting.setTargeting({mode:l.SetTargetingMode.Remove,target:{consent:[]}})}init(){var e;return n(this,void 0,void 0,(function*(){this.sas.events.on("setupCalled",(e=>this.initModules(null==e?void 0:e.modules))),window.setTimeout((()=>this.initCmp()));const t=new u.Sda;new m.Dsa,new h.Gpid,new f.Tracing,!0===window.sas_useTopicsAPIData&&"function"==typeof document.browsingTopics&&(null===(e=document.featurePolicy)||void 0===e?void 0:e.allowsFeature("browsing-topics"))&&document.featurePolicy.allowsFeature("interest-cohort")&&this.consent.getConsentStatus()===i.EConsentStatus.AGREED&&(yield(0,p.default)("modules/topics").then((()=>this.sas.Topics&&new this.sas.Topics(t))).catch((()=>this._log("Couldn't load Topics.","error")))),new URLSearchParams(window.location.search).get("live_preview_config")&&(yield(0,p.default)("modules/livePreview").then((()=>this.sas.LivePreview&&new this.sas.LivePreview)).catch((()=>this._log("Couldn't load LivePreview.","error")))),this.sas.events.fire("readyForCmd")}))}}t.Smart=y},532:(e,t,a)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.EScriptType=t.ECallType=void 0;const n=a(624),s=a(581);var i,o;t.default=class{constructor(e){this.instances=[],this.hbData=null,window.sas.events.on("ad",(e=>this.onAd({formatId:e.formatId,tagId:e.tagId})),e),window.sas.events.on("load",(()=>this.onLoad()),e),window.sas.events.on("noad",(e=>{const t={formatId:e.formatId,tagId:e.tagId,hbRenderUrls:e.hbRenderUrls||void 0};t.hbRenderUrls||delete t.hbRenderUrls,this.onNoad(t)}),e),window.sas.events.on("error",(e=>this.onError({formatId:e.formatId,tagId:e.tagId,instance:e.instance})),e),window.sas.events.on("render",(e=>this.onRender({formatId:e.formatId,tagId:e.tagId,instance:e.instance})),e),window.sas.events.on("beforeRender",(e=>this.onBeforeRender({formatId:e.formatId,tagId:e.tagId})),e),window.sas.events.on("hbRender",(e=>this.onHbRender({success:e.success})),e),window.sas.events.on("request",(e=>this.onRequest({formatId:e.formatId,tagId:e.tagId,instance:e.instance})),e)}onAd(e){var t;window.sas.tracing.add(n.EKey.onAd,e.tagId),this.hasAd=!0,(null===(t=this.options)||void 0===t?void 0:t.onAd)&&this.options.onAd(e)}onLoad(){var e,t,a;const s=document.getElementById(this.ad.tagId);s&&(this.hasAd=this.hasAd||s.childNodes.length>1,window.sas.tracing.add(n.EKey.load,this.ad.tagId),this.hasAd&&window.sas.tracing.sendTrace(this.ad.tagId,{siteId:this.ad.siteId,pageId:this.ad.pageId,pageName:null!==(e=this.ad.pageName)&&void 0!==e?e:"",formatId:this.ad.formatId,tagId:this.ad.tagId,target:this.ad.target}),null===(a=null===(t=this.options)||void 0===t?void 0:t.onLoad)||void 0===a||a.call(t,{formatId:this.ad.formatId,tagId:this.ad.tagId,hasAd:this.hasAd}))}onNoad(e){var t,a,o;if(window.sas.tracing.add(n.EKey.noAd,e.tagId),window.sas.tracing.sendTrace(e.tagId,{siteId:this.ad.siteId,pageId:this.ad.pageId,pageName:null!==(t=this.ad.pageName)&&void 0!==t?t:"",formatId:this.ad.formatId,tagId:this.ad.tagId,target:this.ad.target}),this.displayData&&this.callType==i.ONECALL&&this.displayData.scriptNoad){const e=this.getHeaderBiddingData();e&&(this.displayData.scriptNoad=(0,s.addHBDataToUrl)(this.displayData.scriptNoad,e)),(new Image).src=this.displayData.scriptNoad}(null===(a=e.hbRenderUrls)||void 0===a?void 0:a.hbRenderFailedUrl)&&(this.hbRenderUrls=e.hbRenderUrls,delete e.hbRenderUrls),(null===(o=this.options)||void 0===o?void 0:o.onNoad)&&this.options.onNoad(e)}onError(e){var t;(null===(t=this.options)||void 0===t?void 0:t.onError)&&this.options.onError(e)}onRender(e){window.sas.tracing.add(n.EKey.render,e.tagId)}onBeforeRender(e){var t;window.sas.tracing.add(n.EKey.beforeRender,e.tagId),(null===(t=this.options)||void 0===t?void 0:t.beforeRender)&&this.options.beforeRender(e)}onHbRender(e){this.hbRenderUrls&&(e.success?(new Image).src=this.hbRenderUrls.hbRenderSuccessUrl:(new Image).src=this.hbRenderUrls.hbRenderFailedUrl,delete this.hbRenderUrls)}onRequest(e){var t;(null===(t=this.options)||void 0===t?void 0:t.request)&&this.options.request(e)}setHeaderBiddingWinner(e){this.hbData=e}getHeaderBiddingData(){if(this.hbData&&!isNaN(this.hbData.cpm)){const e=this.hbData;return this.hbData=null,e}return null}clean(){var e;const t=document.getElementById(this.ad.tagId);(null===(e=this.options)||void 0===e?void 0:e.onClean)&&this.options.onClean(this.ad.formatId,t),window.sas.events.fire("clean",{formatId:this.ad.formatId,instance:this.ad.instance,tagId:this.ad.tagId},this.ad.tagId),t&&(t.innerHTML="")}onCall(e,t,a){this.callType=e,this.ad=t,this.options=a}reset(e,t){delete this.displayData,delete this.hbRenderUrls,e?this.renderStatus=null:"rendered"==this.renderStatus&&(this.renderStatus="pending"),window.sas.events.fire("reset",{formatId:this.ad.formatId,instance:this.ad.instance,tagId:this.ad.tagId,hardReset:e},this.ad.tagId),t&&this.instances&&this.instances.forEach((t=>t.reset(e,!1)))}render(){if("rendered"===this.renderStatus)return;if(!this.displayData)return void(this.renderStatus="pending");this.renderStatus="rendered",this.clean();const e={formatId:this.ad.formatId,instance:this.ad.instance,tagId:this.ad.tagId,hbRenderUrls:this.displayData.hbRenderFailedUrl?{hbRenderFailedUrl:this.displayData.hbRenderFailedUrl,hbRenderSuccessUrl:this.displayData.hbRenderSuccessUrl}:void 0};window.sas.events.fire("beforeRender",e,this.ad.tagId);const t=()=>{window.sas.events.fire("load",e,this.ad.tagId)},a=document.getElementById(this.ad.tagId);if(window.sas.debugMode.addBanner&&a&&window.sas.debugMode.addBanner({adSlot:a,adInfo:{"Network ID":this.options.networkId,"Site ID":this.ad.siteId,"Page ID":this.ad.pageId,"Format ID":this.ad.formatId,"Tag ID":this.ad.tagId,Targeting:this.ad.target}}),!this.displayData.scriptType)return t(),window.sas.events.fire("noad",e,this.ad.tagId),void(window.sas.debugMode.addLog&&a&&window.sas.debugMode.addLog({adObj:this.ad,isAd:!1,adSlot:a}));window.sas.debugMode.addLog&&a&&window.sas.debugMode.addLog({adObj:this.ad,isAd:!0,adSlot:a}),a?(this.handleScriptType(a,t,(()=>{window.sas.events.fire("error",e,this.ad.tagId),window.sas.events.fire("noad",e,this.ad.tagId)})),(0,s.getLazyLoadingSignal)(String(this.ad.formatId))&&window.sas.events.fire("request",e,this.ad.tagId),window.sas.events.fire("render",e,this.ad.tagId)):window.sas.events.fire("error",e,this.ad.tagId)}handleScriptType(e,t,a){var n,i;switch(null===(n=this.displayData)||void 0===n?void 0:n.scriptType){case o.SCRIPT:{const n=this.getHeaderBiddingData();n&&this.displayData.scriptNoad&&(this.displayData.scriptNoad=(0,s.addHBDataToUrl)(this.displayData.scriptNoad,n)),(0,s.appendScript)(e,this.displayData.scriptSrc,t,a,this.hbData,(0,s.getLazyLoadingSignal)(String(this.ad.formatId)),this.ad.tagId);break}case o.PASSBACK:window.sas.passback({formatId:this.ad.formatId,tagId:this.ad.tagId,chain:this.displayData.chain,noadUrl:this.ad.noadUrl,pageId:this.ad.pageId,siteId:this.ad.siteId});break;case o.CONTENT:"application/javascript"===this.displayData.contentType&&(0,s.appendScriptContent)(e,this.displayData.content,this.ad.tagId),t();break;default:throw new Error("Unsupported script type "+(null===(i=this.displayData)||void 0===i?void 0:i.scriptType))}}},function(e){e.STD="std",e.IFRAME="iframe",e.ONECALL="onecall",e.PASSBACK="passback"}(i=t.ECallType||(t.ECallType={})),function(e){e.IFRAME="iframe",e.SCRIPT="script",e.PASSBACK="passback",e.CONTENT="content"}(o=t.EScriptType||(t.EScriptType={}))},581:(e,t)=>{"use strict";function a(e,t){return`${e}&hb_cpm=${t.cpm}&hb_bid=${t.bidder}&hb_ccy=${t.currency}${t.dealId?`&hb_dealid=${t.dealId}`:""}`}function n(){return window.sas.localStorage.getItem("sas_usprivacy")}function s(){var e;return window.sas.publisherDefinedConsent?window.sas.publisherDefinedConsent:null!==(e=window.sas.localStorage.getItem("sas_euconsent_v2"))&&void 0!==e?e:window.sas.localStorage.getItem("sas_euconsent")}function i(){return window.sas.utils.isAddtlConsentBlocked()?null:window.sas.localStorage.getItem("sas_addtl_euconsent_v2")}function o(e){var t,a;let o;try{o=new URL(e)}catch(t){return e}const r=s();r&&o.searchParams.set("gdpr_consent",r);const d=i();d&&o.searchParams.set("addtl_consent",d);const c=n();c&&o.searchParams.set("us_privacy",c);const l=window.sas.localStorage.getItem("sas_gpp");l&&o.searchParams.set("gpp",l);const u=window.sas.localStorage.getItem("sas_gpp_sid");if(u)try{o.searchParams.set("gpp_sid",JSON.parse(u))}catch(e){}const p=window.sas.localStorage.getItem("eqtv_cmpvalid");p&&o.searchParams.set("cmpvalid",p);const h=window.sas.updateTarget(null!==(t=o.searchParams.get("tgt"))&&void 0!==t?t:void 0,null!==(a=o.searchParams.get("tag"))&&void 0!==a?a:"");return h&&o.searchParams.set("tgt",h),o.toString()}Object.defineProperty(t,"__esModule",{value:!0}),t.appendScriptContent=t.appendScript=t.updateConsentDataInUrl=t.getLazyLoadingSignal=t.getAddtlConsentData=t.getGdprConsentData=t.getUsPrivacyConsentData=t.addHBDataToUrl=void 0,t.addHBDataToUrl=a,t.getUsPrivacyConsentData=n,t.getGdprConsentData=s,t.getAddtlConsentData=i,t.getLazyLoadingSignal=function(e){var t;return!(!(null===(t=window.sas.lazyLoading)||void 0===t?void 0:t.formats)||0!==window.sas.lazyLoading.formats.length&&!window.sas.lazyLoading.formats.includes(parseInt(e,10)))},t.updateConsentDataInUrl=o,t.appendScript=function(e,t,n,s,i,r,d){const c=document.createElement("script");c.id="sas_script_"+d,c.type="text/javascript";let l="function"==typeof t?t():t;i&&(l=a(l,i)),r&&(l=o(l)),c.src=l,c.async=!0,c.addEventListener("load",n),c.addEventListener("error",s),e.appendChild(c)},t.appendScriptContent=function(e,t,a){const n=document.createElement("script");n.id="sas_script_"+a,n.text=t,e.appendChild(n)}},501:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){const t=()=>{document.removeEventListener("DOMContentLoaded",t,!1),window.removeEventListener("load",t,!1),e()};"complete"===document.readyState?setTimeout(e):(document.addEventListener("DOMContentLoaded",t,!1),window.addEventListener("load",t,!1))}},275:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e,t){e.push=(...e)=>{for(const a of e)t(a);return 0};for(const a of e)t(a);e.length=0}},832:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e,t="https://ced-ns.sascdn.com/diff/js/"){return new Promise(((a,n)=>{const s=document.createElement("script");s.src=t+e+".js",s.onload=a,s.onerror=n,document.head.appendChild(s)}))}}},t={};(function a(n){var s=t[n];if(void 0!==s)return s.exports;var i=t[n]={exports:{}};return e[n].call(i.exports,i,i.exports,a),i.exports})(927)})();/*_ts_*/;if(window.sas && sas.configure){sas.configure({id:2157});}/*_ts_*/