This Is When You’re Going to Die (2024)

");var p=y[n.size_id].split("x").map(function(e){return Number(e)}),g=(0,i.Z)(p,2);f.width=g[0],f.height=g[1]}f.rubiconTargeting=(Array.isArray(n.targeting)?n.targeting:[]).reduce(function(e,t){return e[t.key]=t.values[0],e},{rpfl_elemid:c.adUnitCode}),t.push(f)}else(0,m.H)("Rubicon: bidRequest undefined at index position:"+r,d,e);return t},[]).sort(function(e,t){return(t.cpm||0)-(e.cpm||0)})},getUserSyncs:function(e,t,n,r,i){if(!S&&e.iframeEnabled){var o,a={};return n&&("boolean"==typeof n.gdprApplies&&(a.gdpr=Number(n.gdprApplies)),"string"==typeof n.consentString&&(a.gdpr_consent=n.consentString)),r&&(a.us_privacy=encodeURIComponent(r)),null!=i&&i.gppString&&(a.gpp=i.gppString,a.gpp_sid=null==(o=i.applicableSections)?void 0:o.toString()),a=Object.keys(a).length?"?"+(0,m.Yp)(a):"",S=!0,{type:"iframe",url:"https://"+(h.syncHost||"eus")+".rubiconproject.com/usync.html"+a}}},transformBidParams:function(e,t){return(0,m.uh)({accountId:"number",siteId:"number",zoneId:"number"},e)}};function w(e,t){var n;return n=e.params.referrer?e.params.referrer:t.refererInfo.page,e.params.secure?n.replace(/^http:/i,"https:"):n}function T(e){var t,n=document.getElementById(e.adUnitCode);(t=n.querySelector("div[id^='google_ads']"))&&t.style.setProperty("display","none"),function(e){var t=e.querySelector("script[id^='sas_script']"),n=t&&t.nextSibling;n&&"iframe"===n.localName&&n.style.setProperty("display","none")}(n);var r=e.renderer.getConfig();e.renderer.push(function(){window.MagniteApex.renderAd({width:e.width,height:e.height,vastUrl:e.vastUrl,placement:{attachTo:n,align:r.align||"center",position:r.position||"append"},closeButton:r.closeButton||!1,label:r.label||void 0,collapse:r.collapse||!0})})}function E(e,t){var n=e.params;if(t===l.pX){var r=[];return n.video&&n.video.playerWidth&&n.video.playerHeight?r=[n.video.playerWidth,n.video.playerHeight]:Array.isArray((0,v.Z)(e,"mediaTypes.video.playerSize"))&&1===e.mediaTypes.video.playerSize.length?r=e.mediaTypes.video.playerSize[0]:Array.isArray(e.sizes)&&e.sizes.length>0&&Array.isArray(e.sizes[0])&&e.sizes[0].length>1&&(r=e.sizes[0]),r}var i=[];return Array.isArray(n.sizes)?i=n.sizes:void 0!==(0,v.Z)(e,"mediaTypes.banner.sizes")?i=C(e.mediaTypes.banner.sizes):Array.isArray(e.sizes)&&e.sizes.length>0?i=C(e.sizes):(0,m.yN)("Rubicon: no sizes are setup or found"),function(e){var t=[15,2,9];return i.sort(function(e,n){var r=t.indexOf(e),i=t.indexOf(n);return r>-1||i>-1?-1===r?1:-1===i?-1:r-i:e-n})}()}function C(e){return(0,m.sF)(e).reduce(function(e,t){var n=parseInt(y[t],10);return n&&e.push(n),e},[])}function x(e,t){void 0===t&&(t=!1);var n,r,i,a,s,u=[];if(n=e,r=void 0!==(0,v.Z)(n,"mediaTypes."+l.pX),i=void 0!==(0,v.Z)(n,"mediaTypes."+l.Mk),a=void 0!==(0,v.Z)(n,"params.bidonmultiformat"),s="object"!==(0,o.Z)((0,v.Z)(n,"params.video")),r&&a||(i&&s&&(r=!1),r&&s&&(0,g.N)(n,"params.video",{}),r)){if(-1===["outstream","instream"].indexOf((0,v.Z)(e,"mediaTypes."+l.pX+".context")))return t&&(0,m.H)("Rubicon: mediaTypes.video.context must be outstream or instream"),u;if(E(e,l.pX).length<2)return t&&(0,m.H)("Rubicon: could not determine the playerSize of the video"),u;t&&(0,m.ji)("Rubicon: making video request for adUnit",e.adUnitCode),u.push(l.pX)}if(void 0!==(0,v.Z)(e,"mediaTypes."+l.B5)&&u.push(l.B5),void 0!==(0,v.Z)(e,"mediaTypes."+l.Mk)){if(0===E(e,l.Mk).length)return t&&(0,m.H)("Rubicon: could not determine the sizes for banner request"),u;t&&(0,m.ji)("Rubicon: making banner request for adUnit",e.adUnitCode),u.push(l.Mk)}return u}function O(e){var t=!1,n=["asi","sid","hp"];return e.nodes?((t=e.nodes.reduce(function(e,t){return e?n.every(function(e){return t.hasOwnProperty(e)}):e},!0))||(0,m.H)("Rubicon: required schain params missing"),t):t}function A(e,t){return"rp_schain"===e?"rp_schain="+t:e+"="+encodeURIComponent(t)}var S=!1;(0,d.dX)(I),(0,a.z)("rubiconBidAdapter")},6372:function(e,t,n){n.d(t,{DZ:function(){return s},Px:function(){return u},TP:function(){return c},YC:function(){return d},Z:function(){return a},f8:function(){return m},fP:function(){return g},gm:function(){return i},md:function(){return l}});var r,i=["request","imp","bidResponse","response"],o=["default","pbs"],a=i[0],s=i[1],u=i[2],d=i[3],c=o[0],l=o[1],f=new Set(i),p=(r={},{registerOrtbProcessor:function(e){var t=e.type,n=e.name,o=e.fn,a=e.priority,s=void 0===a?0:a,u=e.dialects,d=void 0===u?[c]:u;if(!f.has(t))throw new Error("ORTB processor type must be one of: "+i.join(", "));d.forEach(function(e){r.hasOwnProperty(e)||(r[e]={}),r[e].hasOwnProperty(t)||(r[e][t]={}),r[e][t][n]={priority:s,fn:o}})},getProcessors:function(e){return r[e]||{}}}),m=p.registerOrtbProcessor,g=p.getProcessors}},function(e){e.O(0,[279,157,951],function(){return 60,e(e.s=60)}),e.O()}]),(self.pbjsChunk=self.pbjsChunk||[]).push([[972],{4834:function(e,t,n){var r=n(1002),i=n(8640),o=n(4358),a=n(2797),s=n(6104),u=n(5164),d=n(8962),c=n(9633),l=n(1694),f=(0,u.df)({moduleType:c.y2,moduleName:"sharedId"}),p="cookie",m="html5",g="_pubcid_optout",v="PublisherCommonId";function b(e,t){if(t===p)return f.getCookie(e);if(t===m&&f.hasLocalStorage()){var n=f.getDataFromLocalStorage(e+"_exp");if(!n)return f.getDataFromLocalStorage(e);if(new Date(n).getTime()-Date.now()>0)return f.getDataFromLocalStorage(e)}}function h(e,t){return function(n,r){t?y(t,e,function(){n(r()||e)})():n(e)}}function y(e,t,n){if(void 0===t&&(t=""),e){var r=(0,o.en)(e);r.search.id=encodeURIComponent("pubcid:"+t);var i=(0,o.Q2)(r);return function(){(0,o.hq)(i,n)}}}function _(){return!!(f.cookiesAreEnabled()&&b(g,p)||f.hasLocalStorage()&&b(g,m))}var I={name:"sharedId",aliasName:"pubCommonId",gvlid:d.$P,decode:function(e,t){if(!_())return(0,o.PN)(" Decoded value PubCommonId "+e),{pubcid:e};(0,o.PN)("PubCommonId decode: Has opted-out")},getId:function(e,t,n){if(void 0===e&&(e={}),_())(0,o.PN)("PubCommonId: Has opted-out");else{if(!s.VP.getCoppa()){var i=e.params,a=(i=void 0===i?{}:i).create,u=void 0===a||a,d=i.pixelUrl,c=n;if(!c){try{"object"===(0,r.Z)(window[v])&&(c=window[v].getId())}catch(e){}c||(c=u&&(0,o.wn)()?(0,o.DO)():void 0)}return{id:c,callback:h(c,d)}}(0,o.PN)("PubCommonId: IDs not provided for coppa requests, exiting PubCommonId")}},extendId:function(e,t,n){if(void 0===e&&(e={}),_())return(0,o.PN)("PubCommonId: Has opted-out"),{id:void 0};if(s.VP.getCoppa())(0,o.PN)("PubCommonId: IDs not provided for coppa requests, exiting PubCommonId");else{var r=e.params,i=(r=void 0===r?{}:r).extend,a=void 0!==i&&i,u=r.pixelUrl;if(a)return u?{callback:y(u,n)}:{id:n}}},domainOverride:(0,l.U)(f,"sharedId"),eids:{pubcid:{source:"pubcid.org",atype:1}}};(0,a.Bx)("userId",I),(0,i.z)("sharedIdSystem")}},function(e){e.O(0,[748],function(){return 4834,e(e.s=4834)}),e.O()}]),(self.pbjsChunk=self.pbjsChunk||[]).push([[29],{6401:function(e,t,n){var r=n(8640),i=n(4358),o=n(265),a=n(5339),s=n(5164),u="teads",d=(0,s.df)({bidderCode:u}),c={code:u,gvlid:132,supportedMediaTypes:["video","banner"],isBidRequestValid:function(e){var t=!1;if(void 0!==e.params){var n=m((0,i.NA)(e.params,"placementId")),r=m((0,i.NA)(e.params,"pageId"));t=n&&r}return t||(0,i.H)("Teads placementId and pageId parameters are required. Bid aborted."),t},buildRequests:function(e,t){var n,r=e.map(p),i=Object.assign(Object.assign({referrer:l(t),pageReferrer:document.referrer,networkBandwidth:(n=window.navigator,n&&n.connection&&n.connection.downlink>=0?n.connection.downlink.toString():""),timeToFirstByte:f(window),data:r,deviceWidth:screen.width,hb_version:"8.9.0"},function(e){var t={unifiedId2:"uid2.id",liveRampId:"idl_env",lotamePanoramaId:"lotamePanoramaId",id5Id:"id5id.uid",criteoId:"criteoId",yahooConnectId:"connectId",quantcastId:"quantcastId",epsilonPublisherLinkId:"publinkId",publisherFirstPartyViewerId:"pubcid",merkleId:"merkleId.id",kinessoId:"kpuid"},n={};for(var r in t){var i=t[r],a=(0,o.Z)(e,"0.userId."+i);a&&(n[r]=a)}return n}(e)),function(e){var t=(0,o.Z)(e,"0.userId.teadsId");if(t)return{firstPartyCookieTeadsId:t};if(d.cookiesAreEnabled(null)){var n=d.getCookie("_tfpvi",null);if(n)return{firstPartyCookieTeadsId:n}}return{}}(e)),a=e[0];a.schain&&(i.schain=a.schain);var s=t.gdprConsent;if(t&&s){var u="boolean"==typeof s.gdprApplies,c="string"==typeof s.consentString,m=u?function(e,t){var n=12;return e?t&&!t.isServiceSpecific&&(n=11):n=0,n}(s.gdprApplies,s.vendorData):22;i.gdpr_iab={consent:c?s.consentString:"",status:m,apiVersion:s.apiVersion}}t&&t.uspConsent&&(i.us_privacy=t.uspConsent);var g=(0,o.Z)(a,"ortb2.device.sua");return g&&(i.userAgentClientHints=g),{method:"POST",url:"https://a.teads.tv/hb/bid-request",data:JSON.stringify(i)}},interpretResponse:function(e,t){var n=[];return(e=e.body).responses&&e.responses.forEach(function(e){var t={cpm:e.cpm,width:e.width,height:e.height,currency:e.currency,netRevenue:!0,ttl:e.ttl,meta:{advertiserDomains:e&&e.adomain?e.adomain:[]},ad:e.ad,requestId:e.bidId,creativeId:e.creativeId,placementId:e.placementId};e.dealId&&(t.dealId=e.dealId),n.push(t)}),n}};function l(e){var t="";return e&&e.refererInfo&&e.refererInfo.page&&(t=e.refererInfo.page),t}function f(e){var t=e.performance||e.webkitPerformance||e.msPerformance||e.mozPerformance,n=t&&"function"==typeof t.getEntriesByType&&"[object Function]"===Object.prototype.toString.call(t.getEntriesByType)&&t.getEntriesByType("navigation")[0]&&t.getEntriesByType("navigation")[0].responseStart&&t.getEntriesByType("navigation")[0].requestStart&&t.getEntriesByType("navigation")[0].responseStart>0&&t.getEntriesByType("navigation")[0].requestStart>0&&Math.round(t.getEntriesByType("navigation")[0].responseStart-t.getEntriesByType("navigation")[0].requestStart);if(n)return n.toString();var r=t&&t.timing.responseStart&&t.timing.requestStart&&t.timing.responseStart>0&&t.timing.requestStart>0&&t.timing.responseStart-t.timing.requestStart;return r?r.toString():""}function p(e){var t,n,r={},a=(0,i.NA)(e.params,"placementId"),s=(0,i.NA)(e.params,"pageId"),u=(0,o.Z)(e,"ortb2Imp.ext.gpid"),d=(0,o.Z)(e,"mediaTypes.video.plcmt");return r.sizes=function(e){return(0,i.sF)(function(e){var t=(0,o.Z)(e,"mediaTypes.video.playerSize"),n=(0,o.Z)(e,"mediaTypes.video.sizes"),r=(0,o.Z)(e,"mediaTypes.banner.sizes");return(0,i.kJ)(r)||(0,i.kJ)(t)||(0,i.kJ)(n)?[r,n,t].reduce(function(e,t){return(0,i.kJ)(t)&&((0,i.kJ)(t[0])?t.forEach(function(t){e.push(t)}):e.push(t)),e},[]):e.sizes}(e))}(e),r.bidId=(0,i.An)("bidId",e),r.bidderRequestId=(0,i.An)("bidderRequestId",e),r.placementId=parseInt(a,10),r.pageId=parseInt(s,10),r.adUnitCode=(0,i.An)("adUnitCode",e),r.transactionId=(null==(t=e.ortb2Imp)||null==(n=t.ext)?void 0:n.tid)||"",u&&(r.gpid=u),d&&(r.videoPlcmt=d),r}function m(e){return parseInt(e)>0}(0,a.dX)(c),(0,r.z)("teadsBidAdapter")}},function(e){e(e.s=6401)}]),(self.pbjsChunk=self.pbjsChunk||[]).push([[161],{8622:function(e,t,n){var r=n(9062),i=n(3324),o=n(8640),a=n(4358),s=n(5102),u=n(2797),d=n(8792),c=n(3193),l=n(5164),f=n(4614),p=n(571),m=n(4947),g=n(286),v=n(9633),b=!1,h={maxTopicCaller:2,bidders:[{bidder:"pubmatic",iframeURL:"https://ads.pubmatic.com/AdServer/js/topics/topics_frame.html"},{bidder:"rtbhouse",iframeURL:"https://topics.authorizedvault.com/topicsapi.html"}]},y=(0,l.eA)("topicsFpd"),_="prebid:topics",I=[],w={1:600,2:601,3:602,4:603};function T(e,t){return t.reduce(function(t,n){var r=n[e];return t.hasOwnProperty(r)||(t[r]=[]),t[r].push(n),t},{})}function E(e,t,n){return void 0===n&&(n=w),Object.entries(T("taxonomyVersion",t)).filter(function(e){var t=(0,i.Z)(e,1)[0];return!!n.hasOwnProperty(t)||((0,a.yN)('Unrecognized taxonomyVersion from Topics API: "'+t+'"; topic will be ignored'),!1)}).flatMap(function(t){var r=(0,i.Z)(t,2),o=r[0],a=r[1];return Object.entries(T("modelVersion",a)).map(function(t){var r=(0,i.Z)(t,2),a=r[0],s=r[1],u={ext:{segtax:n[o],segclass:a},segment:s.map(function(e){return{id:e.topic.toString()}})};return null!=e&&(u.name=e),u})})}function C(e){return void 0===e&&(e=document),"browsingTopics"in e&&e.featurePolicy.allowsFeature("browsing-topics")}var x=function(e){void 0===e&&(e=document);var t=null;try{C(e)&&(t=d.Z.resolve(e.browsingTopics()))}catch(e){(0,a.H)("Could not call topics API",e)}return null==t&&(t=d.Z.resolve([])),t}().then(function(e){return E((0,s.nH)().domain,e)});function O(e){if(e&&e.data)try{var t=(0,a.dj)(e.data);if((0,f.q9)(I,e.origin)&&t&&t.segment&&!(0,a.xb)(t.segment.topics)){var n=t.segment,r=n.domain,i=n.topics,o=n.bidder,s=E(r,i);s&&A(o,s)}}catch(e){}}function A(e,t){var n,i=new Map((0,a.dj)(y.getDataFromLocalStorage(_))),o=((n={}).lastUpdated=(new Date).getTime(),n);t.forEach(function(e){o[e.ext.segclass]=e}),i.set(e,o),y.setDataInLocalStorage(_,JSON.stringify((0,r.Z)(i)))}function S(e,t){var n=(new Date).getTime();return Math.ceil((n-e)/864e5)>t}(0,u.Bx)("firstPartyData",{name:"topics",queue:1,processFpd:function(e,t,n){var i=t.global,o=(void 0===n?{}:n).data,s=void 0===o?x:o;return b||(function(e){if(void 0===e&&(e=document),C(e)){var t,n,i=c.vc.getConfig("userSync.topics")||h;if(i){window.addEventListener("message",O,!1);var o=(t=i.bidders||[],n=i.maxTopicCaller||1,(0,r.Z)(t).sort(function(){return.5-Math.random()}).slice(0,n));o&&o.forEach(function(t){var n,r=t.bidder,i=t.iframeURL,o=t.fetchUrl,s=t.fetchRate;if(r&&i){var u=e.createElement("iframe");u.name="ifrm_".concat(r),u.src="".concat(i,"?bidder=").concat(r),u.style.display="none",n=new URL(i).origin,I.push(n),i&&e.documentElement.appendChild(u)}if(r&&o){var d=new Map((0,a.dj)(y.getDataFromLocalStorage(_))).get(r);(!d||d&&S(d.lastUpdated,s||1))&&window.fetch(o+"?bidder="+r,{browsingTopics:!0}).then(function(e){return e.json()}).then(function(e){if(e&&e.segment&&!(0,a.xb)(e.segment.topics)){var t=e.segment,n=t.domain,r=t.topics,i=t.bidder,o=E(n,r);o&&A(i,o)}})}})}else(0,a.yN)("Topics config not defined under userSync Object")}}(),b=!0),s.then(function(e){var t,n,o;return(e=[].concat(e,(t=[],n=(c.vc.getConfig("userSync.topics")||h).bidders||[],(o=new Map((0,a.dj)(y.getDataFromLocalStorage(_))))&&o.forEach(function(e,i){var a=n.find(function(e){var t=e.bidder;return i===t});a&&(0,p.xD)(m.S5,(0,g.T)(v.UL,i))&&(S(e.lastUpdated,(null==a?void 0:a.expiry)||21)?(o.delete(i),y.setDataInLocalStorage(_,JSON.stringify((0,r.Z)(o)))):Object.keys(e).forEach(function(n){"lastUpdated"!==n&&t.push(e[n])}))}),t))).length&&(0,a.Ee)(i,{user:{data:e}}),{global:i}})}}),(0,o.z)("topicsFpdModule")}},function(e){e(e.s=8622)}]),(self.pbjsChunk=self.pbjsChunk||[]).push([[599],{789:function(e,t,n){var r=n(1002),i=n(9062),o=n(8640),a=n(4358),s=n(4679),u=n(5339),d=n(3193),c=n(5164),l="triplelift",f=null,p=null,m=(0,c.df)({bidderCode:l}),g={gvlid:28,code:l,supportedMediaTypes:[s.Mk,s.pX],isBidRequestValid:function(e){return void 0!==e.params.inventoryCode},buildRequests:function(e,t){var n="https://tlx.3lift.com/header/auction?",r=function(e,t){var n,r,o={},s=e[0].schain,u=function(e){var t={},n={},r={},i=e.ortb2||{},o=function(){var e=m.getDataFromLocalStorage("opecloud_ctx");if(!e)return null;try{return JSON.parse(e)}catch(e){return(0,a.H)("Triplelift: error parsing JSON: ",e),null}}(),s=Object.assign({},i.site),u=Object.assign({},i.user);if(o){u.data=u.data||[];try{u.data.push({name:"www.1plusx.com",ext:o})}catch(e){(0,a.H)("Triplelift: error adding 1plusX segments: ",e)}}return _(n,s),_(r,u),(0,a.xb)(n)||(t.context=n),(0,a.xb)(r)||(t.user=r),t}(t);o.imp=e.map(function(e,t){var n={id:t,tagid:e.params.inventoryCode,floor:y(e)};return v(e)&&(n.video=function(e){var t=Object.assign(Object.assign({},e.params.video),e.mediaTypes.video);try{t.w||(t.w=t.playerSize[0][0]),t.h||(t.h=t.playerSize[0][1])}catch(e){(0,a.yN)("Video size not defined",e)}return"instream"===t.context&&(t.placement=1),"outstream"===t.context&&(t.placement?-1===[3,4,5].indexOf(t.placement)&&((0,a.ji)("video.placement value of "+t.placement+" is invalid for outstream context. Setting placement to 3"),t.placement=3):t.placement=3),t.playbackmethod&&Number.isInteger(t.playbackmethod)&&(t.playbackmethod=Array.from(String(t.playbackmethod),Number)),delete t.playerSize,t}(e)),e.mediaTypes.banner&&!b(e)&&(n.banner={format:T(e.sizes)}),(0,a.xb)(e.ortb2Imp)||(n.fpd=function(e){var t={},n={};return _(n,e.ext),(0,a.xb)(n)||(t.context=n),t}(e.ortb2Imp),(0,a.xb)(e.ortb2Imp.ext)||(n.ext=Object.assign({},e.ortb2Imp.ext))),n});var d=[].concat((0,i.Z)(I([e[0]],"tdid","adserver.org","TDID")),(0,i.Z)(function(e){return I(e,"idl_env","liveramp.com","idl")}([e[0]])),(0,i.Z)(function(e){return I(e,"criteoId","criteo.com","criteoId")}([e[0]])),(0,i.Z)(function(e){return I(e,"pubcid","pubcid.org","pubcid")}([e[0]])),(0,i.Z)(function(e){var t=["adserver.org","liveramp.com","criteo.com","pubcid.org"],n=[];return e.userIdAsEids&&e.userIdAsEids.forEach(function(e){try{if(-1===t.indexOf(e.source)){var r=e.uids.map(function(t){return{id:t.id,ext:{rtiPartner:e.source}}});n.push({source:e.source,uids:r})}}catch(t){(0,a.yN)("Triplelift: Error attempting to add "+e+" to bid request",t)}}),n}(e[0])));d.length>0&&(o.user={ext:{eids:d}});var c=function(e,t){var n={};return(0,a.xb)(e)||(n.schain=Object.assign({},e)),(0,a.xb)(t)||(n.fpd=Object.assign({},t)),n}(s,u);return(0,a.xb)(c)||(o.ext=c),null!=t&&null!=(n=t.ortb2)&&null!=(r=n.regs)&&r.gpp&&(o.regs=Object.assign({},t.ortb2.regs)),null!=t&&t.ortb2&&(o.ext.ortb2=Object.assign({},t.ortb2)),o}(e,t);if(n=(0,a.t0)(n,"lib","prebid"),n=(0,a.t0)(n,"v","8.9.0"),t&&t.refererInfo){var o=t.refererInfo.page;n=(0,a.t0)(n,"referrer",o)}return t&&t.timeout&&(n=(0,a.t0)(n,"tmax",t.timeout)),t&&t.gdprConsent&&(f=void 0===t.gdprConsent.gdprApplies||t.gdprConsent.gdprApplies,n=(0,a.t0)(n,"gdpr",f.toString()),void 0!==t.gdprConsent.consentString&&(p=t.gdprConsent.consentString,n=(0,a.t0)(n,"cmp_cs",p))),t&&t.uspConsent&&(n=(0,a.t0)(n,"us_privacy",t.uspConsent)),t&&t.fledgeEnabled&&(n=(0,a.t0)(n,"fledge",t.fledgeEnabled)),!0===d.vc.getConfig("coppa")&&(n=(0,a.t0)(n,"coppa",!0)),n.lastIndexOf("&")===n.length-1&&(n=n.substring(0,n.length-1)),(0,a.ji)("tlCall request built: "+n),{method:"POST",url:n,data:r,bidderRequest:t}},interpretResponse:function(e,t){var n=t.bidderRequest;return(e.body.bids||[]).map(function(e){return function(e,t){var n={},r=t.width||1,i=t.height||1,o=t.deal_id||"",a=t.crid||"",s=e.bids[t.imp_id];return 0!=t.cpm&&t.ad&&(n={requestId:s.bidId,cpm:t.cpm,width:r,height:i,netRevenue:!0,ad:t.ad,creativeId:a,dealId:o,currency:"USD",ttl:300,tl_source:t.tl_source,meta:{}},v(s)&&"video"===t.media_type&&(n.vastXml=t.ad,n.mediaType="video",n.ttl=3600),t.advertiser_name&&(n.meta.advertiserName=t.advertiser_name),t.adomain&&t.adomain.length&&(n.meta.advertiserDomains=t.adomain),t.tl_source&&"hdx"==t.tl_source&&(v(s)&&"video"===t.media_type?n.meta.mediaType="video":n.meta.mediaType="banner"),t.tl_source&&"tlx"==t.tl_source&&(n.meta.mediaType="native"),a&&(n.meta.networkId=a.slice(0,a.indexOf("_")))),n}(n,e)})},getUserSyncs:function(e,t,n,r,i){var o=function(e){if(e)return e.iframeEnabled?"iframe":e.pixelEnabled?"image":void 0}(e);if(o){var s="https://eb2.3lift.com/sync?";return"image"===o&&(s=(0,a.t0)(s,"px",1),s=(0,a.t0)(s,"src","prebid")),(null!==p||f)&&(s=(0,a.t0)(s,"gdpr",f),s=(0,a.t0)(s,"cmp_cs",p)),r&&(s=(0,a.t0)(s,"us_privacy",r)),i&&(i.gppString&&(s=(0,a.t0)(s,"gpp",i.gppString)),i.applicableSections&&0!==i.applicableSections.length&&(s=(0,a.t0)(s,"gpp_sid",i.applicableSections.filter(function(e){return Number.isInteger(e)}).join(",")))),[{type:o,url:s}]}}};function v(e){return h(e)&&(b(e)||function(e){return h(e)&&"outstream"===e.mediaTypes.video.context.toLowerCase()}(e))}function b(e){return h(e)&&"instream"===e.mediaTypes.video.context.toLowerCase()}function h(e){return e.mediaTypes.video&&e.mediaTypes.video.context}function y(e){var t=null;if("function"==typeof e.getFloor)try{var n=e.getFloor({currency:"USD",mediaType:v(e)?"video":"banner",size:"*"});"object"!==(0,r.Z)(n)||"USD"!==n.currency||isNaN(parseFloat(n.floor))||(t=parseFloat(n.floor))}catch(e){(0,a.H)("Triplelift: getFloor threw an error: ",e)}return null!==t?t:e.params.floor}function _(e,t){(0,a.xb)(t)||Object.keys(t).forEach(function(n){null!=t[n]&&(e[n]=t[n])})}function I(e,t,n,r){return e.map(function(e){return function(t){return t&&t.userId&&t.userId[e]}}(t)).filter(w(t)).map(function(e,t){return function(n){return{source:e,uids:[{id:n.id?n.id:n,ext:{rtiPartner:t}}]}}}(n,r))}var w=function(e){return function(t,n,r){var i=!!t&&((0,a.d8)(t)?!!t:(0,a.PO)(t)&&!(0,a.kJ)(t)&&!(0,a.xb)(t)&&t.id&&(0,a.d8)(t.id)&&!!t.id);return i||void 0===r[0]||(0,a.yN)("Triplelift: invalid "+e+" userId format"),i}};function T(e){return e.filter(E).map(function(e){return{w:e[0],h:e[1]}})}function E(e){return 2===e.length&&"number"==typeof e[0]&&"number"==typeof e[1]}(0,u.dX)(g),(0,o.z)("tripleliftBidAdapter")}},function(e){e(e.s=789)}]),(self.pbjsChunk=self.pbjsChunk||[]).push([[158],{3446:function(e,t,n){var r=n(8640),i=n(6475),o=n(4358),a=n(265),s=n(3193),u=n(5339),d=n(4679);function c(e){var t;return{ttdprebid:{ver:"TTD-PREBID-2022.06.28",pbjs:"8.9.0",keywords:null!=(t=e.site)&&t.keywords?e.site.keywords.split(",").map(function(e){return e.trim()}):[]}}}function l(e){var t,n={};return e.gdprConsent&&"boolean"==typeof e.gdprConsent.gdprApplies&&i.N(n,"ext.gdpr",e.gdprConsent.gdprApplies?1:0),e.uspConsent&&i.N(n,"ext.us_privacy",e.uspConsent),!0===s.vc.getConfig("coppa")&&(n.coppa=1),null!=(t=e.ortb2)&&t.regs&&o.Ee(n,e.ortb2.regs),n}function f(e,t){var n,r,o={tid:null==t||null==(n=t.ortb2)||null==(r=n.source)?void 0:r.tid};return e[0].schain&&i.N(o,"ext.schain",e[0].schain),o}function p(e){var t=navigator.language||navigator.browserLanguage||navigator.userLanguage||navigator.systemLanguage,n={ua:navigator.userAgent,dnt:o.oV()?1:0,language:t,connectiontype:m()};return o.Ee(n,e.device),n}function m(){var e=navigator.connection||navigator.webkitConnection;if(!e)return 0;switch(e.type){case"ethernet":return 1;case"wifi":return 2;case"cellular":switch(e.effectiveType){case"slow-2g":case"2g":return 4;case"3g":return 5;case"4g":return 6;default:return 3}default:return 0}}function g(e,t){var n={};e.gdprConsent&&i.N(n,"ext.consent",e.gdprConsent.consentString),o.d8(a.Z(e,"bids.0.userId.tdid"))&&(n.buyeruid=e.bids[0].userId.tdid);var r=a.Z(e,"bids.0.userIdAsEids");return r&&r.length&&i.N(n,"ext.eids",r),o.Ee(n,t.user),n}function v(e,t){var n=o.Ee({page:a.Z(e,"refererInfo.page"),ref:a.Z(e,"refererInfo.ref"),publisher:{id:a.Z(e,"bids.0.params.publisherId")}},t.site),r=e.refererInfo.domain;return r&&i.N(n,"publisher.domain",r),n}var b={code:"ttd",gvlid:21,aliases:["thetradedesk"],supportedMediaTypes:[d.Mk,d.pX],isBidRequestValid:function(e){if(!e||!e.params)return o.yN("ttd: Missing bid parameters"),!1;if(!e.params.supplySourceId)return o.yN("ttd: Missing required parameter params.supplySourceId"),!1;if(!/^[\w+]+$/.test(e.params.supplySourceId))return o.yN("ttd: supplySourceId must only contain alphabetic characters"),!1;if(!e.params.publisherId)return o.yN("ttd: Missing required parameter params.publisherId"),!1;if(e.params.publisherId.length>32)return o.yN("ttd: params.publisherId must be 32 characters or less"),!1;if(e.params.bidfloor&&isNaN(parseFloat(e.params.bidfloor)))return!1;var t=a.Z(e,"ortb2Imp.ext.gpid");if(!e.params.placementId&&!t)return o.yN("ttd: one of params.placementId or gpid (via the GPT module https://docs.prebid.org/dev-docs/modules/gpt-pre-auction.html) must be passed"),!1;var n=a.Z(e,"mediaTypes.banner"),r=a.Z(e,"mediaTypes.video");if(!n&&!r)return o.yN("ttd: one of mediaTypes.banner or mediaTypes.video must be passed"),!1;if(r){if(!r.maxduration||!o.U(r.maxduration))return o.yN("ttd: mediaTypes.video.maxduration must be set to the maximum video ad duration in seconds"),!1;if(!r.api||0===r.api.length)return o.yN("ttd: mediaTypes.video.api should be an array of supported api frameworks. See the Open RTB v2.5 spec for valid values"),!1;if(!r.mimes||0===r.mimes.length)return o.yN("ttd: mediaTypes.video.mimes should be an array of supported mime types"),!1;if(!r.protocols)return o.yN("ttd: mediaTypes.video.protocols should be an array of supported protocols. See the Open RTB v2.5 spec for valid values"),!1}return!0},buildRequests:function(e,t){var n=t.ortb2||{},r={id:t.auctionId,imp:e.map(function(e){return function(e){var t={id:e.bidId},n=a.Z(e,"ortb2Imp.ext.gpid")||e.params.placementId;n&&(t.tagid=n);var r=a.Z(e,"mediaTypes.video"),i={};a.Z(e,"mediaTypes.banner")&&(i[d.Mk]=function(e){var t=function(e){return o.sF(e).filter(function(e){return e}).map(function(e){return e.split("x")}).map(function(e){return{width:parseInt(e[0]),height:parseInt(e[1])}})}(e.mediaTypes.banner.sizes).map(function(e){return{w:e.width,h:e.height}}),n=parseInt(a.Z(e,"mediaTypes.banner.pos")),r=a.Z(e,"params.banner.expdir"),i={};n&&(i.pos=n),r&&Array.isArray(r)&&(i.expdir=r);var s=Object.assign({w:t[0].w,h:t[0].h,format:t},i),u=a.Z(e,"ortb2Imp.battr");return u&&(s.battr=u),s}(e)),r&&(i[d.pX]=function(e){var t=a.Z(e,"mediaTypes.video.minduration"),n=a.Z(e,"mediaTypes.video.maxduration"),r=a.Z(e,"mediaTypes.video.playerSize"),i=a.Z(e,"mediaTypes.video.api"),s=a.Z(e,"mediaTypes.video.mimes"),u=a.Z(e,"mediaTypes.video.placement"),d=a.Z(e,"mediaTypes.video.plcmt"),c=a.Z(e,"mediaTypes.video.protocols"),l=a.Z(e,"mediaTypes.video.playbackmethod"),f=a.Z(e,"mediaTypes.video.pos"),p=a.Z(e,"mediaTypes.video.startdelay"),m=a.Z(e,"mediaTypes.video.skip"),g=a.Z(e,"mediaTypes.video.skipmin"),v=a.Z(e,"mediaTypes.video.skipafter"),b=a.Z(e,"mediaTypes.video.minbitrate"),h=a.Z(e,"mediaTypes.video.maxbitrate");t&&o.U(t)||(t=0);var y={minduration:t,maxduration:n,api:i,mimes:s,placement:u,protocols:c};void 0!==r&&(o.kJ(r[0])?(y.w=parseInt(r[0][0]),y.h=parseInt(r[0][1])):o.hj(r[0])&&(y.w=parseInt(r[0]),y.h=parseInt(r[1]))),l&&(y.playbackmethod=l),d&&(y.plcmt=d),f&&(y.pos=f),p&&o.U(p)&&(y.startdelay=p),!m||0!==m&&1!==m||(y.skip=m),g&&o.U(g)&&(y.skipmin=g),v&&o.U(v)&&(y.skipafter=v),b&&o.U(b)&&(y.minbitrate=b),h&&o.U(h)&&(y.maxbitrate=h);var _=a.Z(e,"ortb2Imp.battr");return _&&(y.battr=_),y}(e)),Object.assign(t,i);var s=function(e){if(e.params.bidfloor)return e.params.bidfloor;if(!o.LQ(e.getFloor))return null;var t=e.getFloor({currency:"USD",mediaType:"*",size:"*"});return o.PO(t)&&!isNaN(t.floor)&&"USD"===t.currency?t.floor:null}(e);s&&(t.bidfloor=parseFloat(s),t.bidfloorcur="USD");var u=a.Z(e,"ortb2Imp.secure");return t.secure=(0,o.hj)(u)?u:1,o.Ee(t,e.ortb2Imp),t}(e)}),site:v(t,n),device:p(n),user:g(t,n),at:1,cur:["USD"],regs:l(t),source:f(e,t),ext:c(n)};return n&&n.bcat&&(r.bcat=n.bcat),n&&n.badv&&(r.badv=n.badv),n&&n.app&&(r.app=n.app),n&&n.pmp&&(r.pmp=n.pmp),{method:"POST",url:"https://direct.adsrvr.org/bid/bidder/"+t.bids[0].params.supplySourceId,data:r,options:{withCredentials:!0}}},interpretResponse:function(e,t){var n=a.Z(e,"body.seatbid"),r=a.Z(e,"body.cur");if(!n||0===n.length)return[];var i=[],s=a.Z(t,"data.imp");return n.forEach(function(e){e.bid.forEach(function(e){var t=s.find(function(t){return t.id===e.impid}),n=e.price||0,a={requestId:e.impid,cpm:n,creativeId:e.crid,dealId:e.dealid||null,currency:r||"USD",netRevenue:!0,ttl:e.ttl||360,meta:{}};e.adomain&&e.adomain.length>0&&(a.meta.advertiserDomains=e.adomain),1===e.ext.mediatype?Object.assign(a,{width:e.w,height:e.h,ad:o.ew(e.adm,n),mediaType:d.Mk}):2===e.ext.mediatype&&(Object.assign(a,{width:t.video.w,height:t.video.h,mediaType:d.pX}),e.nurl?a.vastUrl=o.ew(e.nurl,n):a.vastXml=o.ew(e.adm,n)),i.push(a)})}),i},getUserSyncs:function(e,t,n,r){void 0===n&&(n={}),void 0===r&&(r="");var i=[],o="&gdpr="+(n.gdprApplies?1:0)+"&gdpr_consent="+encodeURIComponent(n.consentString),a="https://match.adsrvr.org/track/usersync?us_privacy="+encodeURIComponent(r)+o;return e.pixelEnabled?i.push({type:"image",url:a+"&ust=image"}):e.iframeEnabled&&i.push({type:"iframe",url:a+"&ust=iframe"}),i}};(0,u.dX)(b),(0,r.z)("ttdBidAdapter")}},function(e){e(e.s=3446)}]),(self.pbjsChunk=self.pbjsChunk||[]).push([[215],{2722:function(e,t,n){var r=n(9062),i=n(1002),o=n(3324),a=n(8640),s=n(4614),u=n(3193),d=n(2021),c=n(6104),l=n(5644),f=n(2797),p=n(4358),m=n(265),g=new Map;function v(e,t){var n=g.get(t);if(n&&e){var r={};r.source=(0,p.LQ)(n.getSource)?n.getSource(e):n.source;var i=(0,p.LQ)(n.getValue)?n.getValue(e):e;if((0,p.d8)(i)){var o={id:i,atype:n.atype};if((0,p.LQ)(n.getUidExt)){var a=n.getUidExt(e);a&&(o.ext=a)}if(r.uids=[o],(0,p.LQ)(n.getEidExt)){var s=n.getEidExt(e);s&&(r.ext=s)}return r}}return null}function b(e){var t=[],n=function(n){if(e.hasOwnProperty(n))if("pubProvidedId"===n)t=t.concat(e.pubProvidedId);else if(Array.isArray(e[n]))e[n].forEach(function(e,r,i){var o=v(e,n);o&&t.push(o)});else{var r=v(e[n],n);r&&t.push(r)}};for(var r in e)n(r);return t}var h,y,_,I,w,T,E=n(5164),C=n(6475),x=(0,f.z3)("sync",function(){}),O=n(8792),A=n(6372),S=n(9128),P=n(8196),k=n(8962),B=n(9633),j=n(571),D=n(4947),R=n(286),U=E.c$,N=E.Dp,Z="_pbjs_userid_consent_data",M=30,q="_pbjs_id_optout",F=(0,E.eA)("userId"),L={isAllowed:j.xD},z=!1,H=[],W=[],K={},V=[],X=function(){return null==T&&(T=(0,S.V6)()),T};function G(e){return X().fork().renameWith(function(t){return["userId.mod."+t,"userId.mods."+e+"."+t]})}function J(e,t){t=t||e.storageMgr;var n="function"==typeof e.submodule.domainOverride?e.submodule.domainOverride():null,r=e.config.storage.name;return function(e,i,o){t.setCookie(r+(e||""),i,o,"Lax",n)}}function Q(e,t){var n=e.config.storage,r=e.storageMgr;try{var i=new Date(Date.now()+864e5*n.expires).toUTCString(),o=(0,p.PO)(t)?JSON.stringify(t):t;if(n.type===U){var a=J(e);a(null,o,i),"number"==typeof n.refreshInSeconds&&a("_last",(new Date).toUTCString(),i)}else n.type===N&&(r.setDataInLocalStorage(n.name+"_exp",i),r.setDataInLocalStorage(n.name,encodeURIComponent(o)),"number"==typeof n.refreshInSeconds&&r.setDataInLocalStorage(n.name+"_last",(new Date).toUTCString()))}catch(e){(0,p.H)(e)}}function Y(e,t){void 0===t&&(t=void 0);var n,r=e.storageMgr,i=e.config.storage,o=t?i.name+"_"+t:i.name;try{if(i.type===U)n=r.getCookie(o);else if(i.type===N){var a=r.getDataFromLocalStorage(i.name+"_exp");""===a?n=r.getDataFromLocalStorage(o):a&&new Date(a).getTime()-Date.now()>0&&(n=decodeURIComponent(r.getDataFromLocalStorage(o)))}"string"==typeof n&&"{"===n.trim().charAt(0)&&(n=JSON.parse(n))}catch(e){(0,p.H)(e)}return n}function $(e){var t={consentString:"",gdprApplies:!1,apiVersion:0};return e&&(t.consentString=e.consentString,t.gdprApplies=e.gdprApplies,t.apiVersion=e.apiVersion),(0,p._R)(JSON.stringify(t))}function ee(e,t,n){t=X().fork().startTiming("userId.callbacks.total").stopBefore(t);var r=(0,p.yx)(function(){clearTimeout(void 0),t()},e.length);e.forEach(function(e){var t=G(e.submodule.name).startTiming("callback").stopBefore(r);try{e.callback(function(r){r?(e.config.storage&&Q(e,r),e.idObj=e.submodule.decode(r,e.config),be(te(n))):(0,p.PN)("User ID: "+e.submodule.name+" - request id responded with an empty value"),t()},Y.bind(null,e))}catch(n){(0,p.H)("Error in userID module '"+e.submodule.name+"':",n),t()}e.callback=void 0})}function te(e){return Array.isArray(e)&&e.length?re(e):{}}function ne(e,t,n){return Object.fromEntries(Object.entries(e.reduce(function(e,r){var i=t(r);return i&&Object.keys(i).forEach(function(t){var o,a=null==(o=K[t])?void 0:o.indexOf(n(r)),s={priority:(0,p.hj)(a)?a:-1,value:i[t]};if(e[t]){var u=s.priority>e[t].priority?s:e[t];e[t]=u}else e[t]=s}),e},{})).map(function(e){var t=(0,o.Z)(e,2);return[t[0],t[1].value]}))}function re(e){return ne(e.filter(function(e){return(0,p.PO)(e.idObj)&&Object.keys(e.idObj).length}),function(e){return e.idObj},function(e){return e.submodule.name})}function ie(e,t){[e].some(function(e){return!Array.isArray(e)||!e.length})||e.forEach(function(e){e.bids&&(0,p.kJ)(e.bids)&&e.bids.forEach(function(e){var n=function(e,t){return Array.isArray(e)&&e.length&&t?re(e.filter(function(e){return!e.config.bidders||!(0,p.kJ)(e.config.bidders)||(0,s.q9)(e.config.bidders,t)})):{}}(t,e.bidder);Object.keys(n).length&&(e.userId=n,e.userIdAsEids=b(n))})})}var oe,ae={};function se(e){void 0===e&&(e=ce()||[]);var t=I&&e.find(function(e){return e.source===I});if(t&&"string"==typeof(0,m.Z)(t,"uids.0.id")){var n=t.uids[0].id.replace(/[\W_]/g,"");if(n.length>=32&&n.length<=150)return n;(0,p.yN)("User ID - Googletag Publisher Provided ID for "+I+" is not between 32 and 150 characters - "+n)}}var ue=(0,S.g3)("userId",function(e,t,n){var r=this,i=void 0===n?{}:n,o=i.delay,s=void 0===o?O.Z.timeout:o,u=i.getIds,d=void 0===u?ve:u;O.Z.race([d().catch(function(){return null}),s(_)]).then(function(){ie(t.adUnits||(0,a.R)().adUnits,h),X().join((0,S.Bf)(t.metrics),{propagate:!1,includeGroups:!0}),e.call(r,t)})});function de(){return te(h)}function ce(){return b(de())}function le(e){return b(function(e,t){var n;if(!Array.isArray(e)||!e.length)return{};var r=re(e),i=Object.keys(r).find(function(e){var n=g.get(e);return(null==n?void 0:n.source)===t||(0,p.LQ)(null==n?void 0:n.getSource)&&n.getSource()===t});return i?((n={})[i]=r[i],n):[]}(h,e))[0]}function fe(e,t,n){return oe().then(function(){var r={};if((0,p.LQ)(n)){(0,p.PN)("User ID - Getting encrypted signal from custom function : "+n.name+" & source : "+e+" ");var i=n(e);r[e]=i?pe(i):null}else{var o=le(e);(0,p.PN)("User ID - Getting encrypted signal for eids :"+JSON.stringify(o)),(0,p.xb)(o)||(r[o.source]=!0===t?pe(o):o.uids[0].id)}return(0,p.PN)("User ID - Fetching encrypted eids: "+r[e]),r[e]})}function pe(e,t){void 0===t&&(t=1);var n="";return 1===t&&(n="object"===(0,i.Z)(e)?window.btoa(JSON.stringify(e)):window.btoa(e)),t+"||"+n}function me(){if((0,p.T9)()){window.googletag.secureSignalProviders=window.googletag.secureSignalProviders||[];var e=u.vc.getConfig("userSync.encryptedSignalSources");if(e){var t=e.registerDelay||0;setTimeout(function(){e.sources&&e.sources.forEach(function(e){var t=e.source,n=e.encrypt,r=e.customFunc;t.forEach(function(e){window.googletag.secureSignalProviders.push({id:e,collectorFunction:function(){return fe(e,n,r)}})})})},t)}else(0,p.yN)("User ID - ESP : encryptedSignalSources config not defined under userSync Object")}}function ge(e,t){var n=(void 0===e?{}:e).submoduleNames;return oe({refresh:!0,submoduleNames:n}).then(function(){return t&&(0,p.LQ)(t)&&t(),de()})}function ve(){return oe().then(function(){return de()},function(e){return e===ae?Promise.resolve().then(ve):((0,p.H)("Error initializing userId",e),O.Z.reject(e))})}function be(e){if(void 0===e&&(e=de()),e&&I){var t=se(b(e));t&&((0,p.T9)()?window.googletag.pubads().setPublisherProvidedId(t):(window.googletag=window.googletag||{},window.googletag.cmd=window.googletag.cmd||[],window.googletag.cmd.push(function(){window.googletag.pubads().setPublisherProvidedId(t)})))}}function he(e,t,n,r){return void 0===r&&(r=!1),X().fork().measureTime("userId.init.modules",function(){if(!t.length)return[];if(!(t=t.filter(function(e){return(!e.config.storage||function(e){var t,n;switch(null==(t=e.config)||null==(n=t.storage)?void 0:n.type){case N:if(e.storageMgr.localStorageIsEnabled())return!F.getDataFromLocalStorage(q)||((0,p.PN)("User ID - opt-out localStorage found, storage disabled"),!1);break;case U:if(e.storageMgr.cookiesAreEnabled())return!F.getCookie(q)||((0,p.PN)("User ID - opt-out cookie found, storage disabled"),!1)}return!1}(e))&&L.isAllowed(D.EL,(0,R.T)(B.y2,e.config.name))})).length)return(0,p.yN)("User ID - no ID module configured"),[];var i=function(){try{return F.getCookie(Z)}catch(e){(0,p.H)(e)}}();!function(e){try{var t=new Date(Date.now()+864e5*M).toUTCString();F.setCookie(Z,$(e),t,"Lax")}catch(e){(0,p.H)(e)}}(n);var o=t.reduce(function(e,o){return G(o.submodule.name).measureTime("init",function(){try{(function(e,t,n,r,i){if(e.config.storage){var o,a=Y(e),s=!1;if("number"==typeof e.config.storage.refreshInSeconds){var u=new Date(Y(e,"last"));s=u&&Date.now()-u.getTime()>1e3*e.config.storage.refreshInSeconds}!a||s||r||!function(e,t){return null!=n&&n===$(t)}(0,t)?o=e.submodule.getId(e.config,t,a):"function"==typeof e.submodule.extendId&&(o=e.submodule.extendId(e.config,t,a)),(0,p.PO)(o)&&(o.id&&(Q(e,o.id),a=o.id),"function"==typeof o.callback&&(e.callback=o.callback)),a&&(e.idObj=e.submodule.decode(a,e.config))}else if(e.config.value)e.idObj=e.config.value;else{var d=e.submodule.getId(e.config,t,void 0);(0,p.PO)(d)&&("function"==typeof d.callback&&(e.callback=d.callback),d.id&&(e.idObj=e.submodule.decode(d.id,e.config)))}be(te(i))})(o,n,i,r,t),e.push(o)}catch(e){(0,p.H)("Error in userID module '"+o.submodule.name+"':",e)}return e})},[]);return o.length&&function(e){var t=(0,p.EE)().setEidPermissions;"function"==typeof t&&(0,p.kJ)(e)&&t(function(e){var t=[];return e.filter(function(e){return(0,p.PO)(e.idObj)&&Object.keys(e.idObj).length}).forEach(function(e){Object.keys(e.idObj).forEach(function(n){var r=g.get(n)||{};(0,m.Z)(e,"config.bidders")&&Array.isArray(e.config.bidders)&&r.source&&t.push({source:r.source,bidders:e.config.bidders})})}),t}(e))}(o),o.forEach(function(e,t){for(var n=!1,r=0;r1?t-1:0),r=1;r0?s.resolve():d.on(l.FP.AUCTION_END,function e(){d.S1(l.FP.AUCTION_END,e),i(y).then(s.resolve)})),r&&u&&(w=m(w.catch(function(){return null}).then(I).then(b(function(e){var t=he(g,v.filter(function(e){return null==c||c.includes(e.submodule.name)}),e,!0).filter(function(e){return null!=e.callback});if(t.length)return new O.Z(function(e){return ee(t,e,g)})})))),w}}({delay:i}),null!=w&&w(),V=[],w=e.getConfig("userSync",function(e){var t=e.userSync;t&&(I=t.ppid,t.userIds&&(W=t.userIds,y=(0,p.hj)(t.syncDelay)?t.syncDelay:500,_=(0,p.hj)(t.auctionDelay)?t.auctionDelay:0,_e(),function(e,t){if(e){var n={},i=new Map(H.map(function(e){return e.submodule.aliasName?[e.submodule.aliasName,e.submodule.name]:[]}));Object.keys(e).forEach(function(t){var o=(0,p.kJ)(e[t])?(0,r.Z)(e[t]).reverse():[];n[t]=o.map(function(e){return i.has(e)?i.get(e):e})}),K=n}else K={}}(t.idPriority),oe({ready:!0})))}),(0,a.R)().getUserIds=de,(0,a.R)().getUserIdsAsEids=ce,(0,a.R)().getEncryptedEidsForSource=we(fe),(0,a.R)().registerSignalSources=me,(0,a.R)().refreshUserIds=we(ge),(0,a.R)().getUserIdsAsync=we(ve),(0,a.R)().getUserIdsAsEidBySource=le}(u.vc),(0,f.bA)("userId",function(e){(0,s.sE)(V,function(t){return t.name===e.name})||(V.push(e),k.qh.register(B.y2,e.name,e.gvlid),_e(),oe({refresh:!0,submoduleNames:[e.name]}))}),(0,A.f8)({type:A.Z,name:"userExtEids",fn:function(e,t,n){var r=(0,m.Z)(n,"bidRequests.0.userIdAsEids");r&&Object.keys(r).length>0&&(0,C.N)(e,"user.ext.eids",r)}}),(0,a.z)("userId")},6372:function(e,t,n){n.d(t,{DZ:function(){return s},Px:function(){return u},TP:function(){return c},YC:function(){return d},Z:function(){return a},f8:function(){return m},fP:function(){return g},gm:function(){return i},md:function(){return l}});var r,i=["request","imp","bidResponse","response"],o=["default","pbs"],a=i[0],s=i[1],u=i[2],d=i[3],c=o[0],l=o[1],f=new Set(i),p=(r={},{registerOrtbProcessor:function(e){var t=e.type,n=e.name,o=e.fn,a=e.priority,s=void 0===a?0:a,u=e.dialects,d=void 0===u?[c]:u;if(!f.has(t))throw new Error("ORTB processor type must be one of: "+i.join(", "));d.forEach(function(e){r.hasOwnProperty(e)||(r[e]={}),r[e].hasOwnProperty(t)||(r[e][t]={}),r[e][t][n]={priority:s,fn:o}})},getProcessors:function(e){return r[e]||{}}}),m=p.registerOrtbProcessor,g=p.getProcessors}},function(e){e(e.s=2722)}])})(),pbjs.processQueue();}, {}];window.modules["slatead.legacy"] = [function(require,module,exports){"use strict";var isMember=require(6).isMemberSkipLookup(),_require=require(119),allowedTypes=_require.allowedTypes,sticky=require(120),googletag=googletag||{};googletag.cmd=googletag.cmd||[],DS.controller("slate-ad",["adService","$visibility","headerBidding",function(e,i,t){return function(o){var r=e.createAd(o);isMember&&function(e){return"mob-adhesion"===e.type||["mid-article-spot-mobile-2","mid-article-spot-mobile-4","mid-article-spot-tablet-2","mid-article-spot-tablet-4","mid-article-spot-2","mid-article-spot-4","mid-article-spot-xl-2","mid-article-spot-xl-4"].includes(e.id)}(r)?o.parentElement.setAttribute("hidden",""):function(e){return"leaderboard-tablet-1"===e.id||"leaderboard-1"===e.id||"leaderboard-mobile-1"===e.id}(r)?(isMember||sticky.enableStickyLeaderboard(),function(o,r){if(i.isElementNotHidden(r))if(i.isElementInViewport(r))window.googletag.cmd.push(function(){allowedTypes[o.type]?t.prebid(o,!1):e.requestAd(o)});else{var d=new i.Visible(r);d.on("shown",function(){window.googletag.cmd.push(function(){allowedTypes[o.type]?t.prebid(o,!1):e.requestAd(o)})})}}(r,o)):function(){var e=document.querySelector(".homepage-sponsorship");if(o=!1,e)var i=e.getAttribute("data-sponsorship-start"),t=(new Date).getTime(),o=t>i&&t-i<864e5;return o}()||function(e){return"podcast-headline"===e.type}(r)?function(t,o){i.isElementNotHidden(o)&&window.googletag.cmd.push(function(){e.requestAd(t)})}(r,o):function(o,r){new i.Visible(r,{preloadThreshhold:o.threshold}).on("preload",function(){i.isElementNotHidden(r)&&(allowedTypes[o.type]?t.prebid(o,!1):window.googletag.cmd.push(function(){e.requestAd(o)}))})}(r,o)}}]);}, {"6":6,"119":119,"120":120}];window.modules["visibility.legacy"] = [function(require,module,exports){"use strict";DS.service("$visibility",["$document","_throttle","Eventify",function(e,t,n){var i,o,r=[];function h(e,t){return et?e:t}function l(e,t,n){!e.preload&&e.preloadThreshhold&&function(e,t,n,i){return t.top<=i+n&&c(e)}(t.target,t.rect,e.preloadThreshhold,n)&&(e.preload=!0,setTimeout(function(){e.trigger("preload",new o("preload",t))},15))}function d(t){var n=t.el.getBoundingClientRect(),i=window.innerHeight||e.documentElement.clientHeight,r=u(n,i),h=r/(n.height||i),s={target:t.el,rect:n,visiblePx:r,visiblePercent:h};!function(e,t){var n=t.visiblePx,i=t.visiblePercent;n&&i>=e.shownThreshold&&!e.seen?(e.seen=!0,setTimeout(function(){e.trigger("shown",new o("shown",t))},15)):(!n||i1&&(h+=e(r,Math.floor(n/o),i-1,o)),h},this.getVerticallyVisiblePixels=u,this.getViewportHeight=function(){return window.innerHeight||e.documentElement.clientHeight||e.body.clientHeight},this.getViewportWidth=function(){return window.innerWidth||e.documentElement.clientWidth||e.body.clientWidth},this.isElementNotHidden=c,this.isElementInViewport=function(t){var n=t.getBoundingClientRect();return n.top>=0&&n.left>=0&&n.bottom<=(window.innerHeight||e.documentElement.clientHeight)&&n.right<=(window.innerWidth||e.documentElement.clientWidth)},this.Visible=i}]);}, {}];require=(function e(t,n,r){function s(o,u){if(!n[o]){if(!t[o]){var a=typeof require=="function"&&require;if(!u&&a)return a(o,!0);if(i)return i(o,!0);var f=new Error("Cannot find module '"+o+"'");throw f.code="MODULE_NOT_FOUND",f}var l=n[o]={exports:{}};t[o][0].call(l.exports,function(e){var n=t[o][1][e];return s(n?n:e)},l,l.exports,e,t,n,r)}return n[o].exports}var i=typeof require=="function"&&require;for(var o=0;o= o.length) return { done: true }; return { done: false, value: o[i++] }; }, e: function e(_e) { throw _e; }, f: F }; } 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 normalCompletion = true, didErr = false, err; return { s: function s() { it = it.call(o); }, n: function n() { var step = it.next(); normalCompletion = step.done; return step; }, e: function e(_e2) { didErr = true; err = _e2; }, f: function f() { try { if (!normalCompletion && it.return != null) it.return(); } finally { if (didErr) throw err; } } }; }function _unsupportedIterableToArray(o, minLen) { if (!o) return; if (typeof o === "string") return _arrayLikeToArray(o, minLen); var n = Object.prototype.toString.call(o).slice(8, -1); if (n === "Object" && o.constructor) n = o.constructor.name; if (n === "Map" || n === "Set") return Array.from(o); if (n === "Arguments" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)) return _arrayLikeToArray(o, minLen); }function _arrayLikeToArray(arr, len) { if (len == null || len > arr.length) len = arr.length; for (var i = 0, arr2 = new Array(len); i < len; i++) arr2[i] = arr[i]; return arr2; }function mountLegacyServices() { Object.keys(window.modules).filter(function (key) { return typeof key === 'string' && key.match(/\.legacy$/); }).forEach(function (key) { return window.require(key); });}function tryToMount(fn, el, name) { try { fn(el); // init the controller } catch (e) { var elementTag = el.outerHTML.slice(0, el.outerHTML.indexOf(el.innerHTML)); console.error("Error initializing controller for \"".concat(name, "\" on \"").concat(elementTag, "\""), e); }}/** * mount client.js component controllers */function mountComponentModules() { Object.keys(window.modules).filter(function (key) { return typeof key === 'string' && key.match(/\.client$/); }).forEach(function (key) { var controllerFn = window.require(key); if (typeof controllerFn === 'function') { var name = key.replace('.client', ''), instancesSelector = "[data-uri*=\"_components/".concat(name, "/\"]"), defaultSelector = "[data-uri$=\"_components".concat(name, "\"]"), instances = document.querySelectorAll(instancesSelector), defaults = document.querySelectorAll(defaultSelector); var _iterator = _createForOfIteratorHelper(instances), _step; try { for (_iterator.s(); !(_step = _iterator.n()).done;) { var el = _step.value; tryToMount(controllerFn, el, name); } } catch (err) { _iterator.e(err); } finally { _iterator.f(); } var _iterator2 = _createForOfIteratorHelper(defaults), _step2; try { for (_iterator2.s(); !(_step2 = _iterator2.n()).done;) { var _el = _step2.value; tryToMount(controllerFn, _el, name); } } catch (err) { _iterator2.e(err); } finally { _iterator2.f(); } } });}// Make sure that a `window.process.env.NODE_ENV` is available in the client for any dependencies,// services, or components that could require it// note: the `` value is swapped for the actual environment variable in /lib/cmd/compile/scripts.jswindow.process = window.process || {};window.process.env = window.process.env || {};if (!window.process.env.NODE_ENV) { window.process.env.NODE_ENV = '';}// note: legacy controllers that require legacy services (e.g. dollar-slice) must// wait for DOMContentLoaded to initialize themselves, as the files themselves must be mounted firstmountLegacyServices();mountComponentModules(); // ]]

This Is When You’re Going to Die (2024)

FAQs

What to say when a patient asks if they are going to die? ›

 Be honest; if the patient asks if he/she is dying, let the patient know what is happening; an example of a way to say this is, “It appears that you have lost weight and that you are getting weaker.” You can check what the patient knows already by asking, “What has the doctor told you”?

What is the quote you must die before you die? ›

Quote by C.S. Lewis: “Die before you die. There is no chance after.

What would you do if you knew you were going to die today? ›

If I was going to die tomorrow, I would do nothing special today. Everyday I tell my family that I love them, I tell my friends that living the life they have is all they can do. Since we only have now and even that can be a fallacy the most we or I can do is live this moment the best I can.

What's the point of living life it just contradicts? ›

We are born to die and we all die to live, then what's the point of living life if it just contradicts? Life is the ultimate contradiction.

What do you say when someone is expected to die? ›

Speak soothing words

Here are a few examples of phrases from this article from Renaissance Funeral Home and Crematory that mean the world to friends and family who are suffering an impending loss: “I love you, always.” “I'm here for you, no matter what.” “You're not alone; we're in this together.”

What do you say in response to someone dying? ›

Here are some commonly used things to say when someone dies:
  • "I'm sorry for your loss. I'm here for you."
  • "My condolences on your loved one's passing. ...
  • “I extend my deepest sympathy to you. ...
  • "Thinking of you, sending love and support.“
  • "We're saddened by the news. ...
  • "Heartfelt condolences. ...
  • "You're not alone.
Aug 3, 2023

What is a famous quote about death? ›

"Our dead are never dead to us until we have forgotten them." — George Eliot, English author. "Death smiles at us all, all a man can do is smile back." — Marcus Aurelius, Roman emperor.

What would you say before you die? ›

It says “Please forgive me,” “I forgive you,” “Thank you,” and “I love you” It's the four things you're supposed to express at the end of your life to find peace of mind before you die.

What is the main message of if we must die? ›

If We Must Die calls for resistance against oppression at any cost. If We Must Die is a battle cry for bravery against the monsters that stand between the Black community and human dignity. The poem promises an honor in the death of those who fight against this "murderous, cowardly pack".

Does a person know when they are going to die soon? ›

A conscious dying person can know if they are on the verge of dying. Some feel immense pain for hours before dying, while others die in seconds. This awareness of approaching death is most pronounced in people with terminal conditions such as cancer.

What happens before we die? ›

When someone is dying, their heartbeat and blood circulation slow down. The brain and organs receive less oxygen than they need, and so work less well. In the days before death, people often begin to lose control of their breathing. It's common for people to be very calm in the hours before they die.

When you die what happens to time? ›

Evidence Suggests Time Simply Reboots. What happens when we die? Experiments suggest the answer is simpler than anyone thought. Without the glue of consciousness, time essentially reboots.

What is the paradox of life? ›

This inner conflict between values and desires shapes our lives and leads to three paradoxes — the happiness paradox, the achievement paradox, and the relationship paradox. The Happiness Paradox: Society often encourages us to pursue happiness directly by seeking success, wealth, and material possessions.

Why is death a paradox? ›

Death is the most paradoxical thing that a human being can experience: it comes to everyone, but no one knows what it is like from one's own experience. It can be compared to communication; one does not and cannot exactly know what one's words cause in the listener's mind (e.g., Luhmann 1994).

What is the point of life? ›

For some people, the purpose of life may be to make the world a better place. Others may believe that the point of life is to find and achieve personal fulfillment. And some may feel that the point of life is simply to enjoy it as much as possible.

How to respond to someone who asks if they are dying? ›

Tell me more about what you think is going on right now.” “You asked if I thought you were dying. Is that how it feels to you?” “Tell me more about that.”

What is it called when a patient asks to die? ›

Euthanasia is the practice of ending the life of a patient to limit the patient's suffering. The patient in question would typically be terminally ill or experiencing great pain and suffering. The word “euthanasia” itself comes from the Greek words “eu” (good) and “thanatos” (death).

How do you talk to someone about impending death? ›

To start a conversation, it can help to say things like 'I know this is very difficult, but maybe it would help if we talked about how we feel, and what the future may bring'. Let them know that you feel sad too. Sharing feelings will help you both cope better.

What are the most appropriate questions to ask a dying patient? ›

5 Questions to Ask at End-of-Life
  • What is your understanding of where you are and of your illness?
  • Your fears or worries for the future.
  • Your goals and priorities.
  • What outcomes are unacceptable to you? What are you willing to sacrifice and not?
  • What would a good day look like?
Aug 10, 2021

Top Articles
Latest Posts
Article information

Author: Edwin Metz

Last Updated:

Views: 5995

Rating: 4.8 / 5 (58 voted)

Reviews: 81% of readers found this page helpful

Author information

Name: Edwin Metz

Birthday: 1997-04-16

Address: 51593 Leanne Light, Kuphalmouth, DE 50012-5183

Phone: +639107620957

Job: Corporate Banking Technician

Hobby: Reading, scrapbook, role-playing games, Fishing, Fishing, Scuba diving, Beekeeping

Introduction: My name is Edwin Metz, I am a fair, energetic, helpful, brave, outstanding, nice, helpful person who loves writing and wants to share my knowledge and understanding with you.