text: pbjsChunk([92],{150:function(e,r,a){a(151),e.exports=a(152)},151:function(e,r,a){"use strict";Object.defineProperty(r,"__esModule",{value:!0}),r.spec=void 0;var c=(function(e){{if(e&&e.__esModule)return e;var r={};if(null!=e)for(var a in e)Object.prototype.hasOwnProperty.call(e,a)&&(r[a]=e[a]);return r.default=e,r}})(a(0)),i=a(1),t=a(4);var n="conversant",s=r.spec={code:n,aliases:["cnvr"],supportedMediaTypes:[t.BANNER,t.VIDEO],isBidRequestValid:function(e){if(!e||!e.params)return c.logWarn(n+": Missing bid parameters"),!1;if(!c.isStr(e.params.site_id))return c.logWarn(n+": site_id must be specified as a string"),!1;if(p(e))if(e.params.mimes){if(!c.isArray(e.params.mimes)||!e.params.mimes.every((function(e){return c.isStr(e)})))return c.logWarn(n+": mimes must be an array of strings"),!1}else c.logWarn(n+": mimes should be specified for videos");return!0},buildRequests:function(e){var r,a=c.getTopWindowLocation(),i=a.href,o="https:"===a.protocol?1:0,d="",u="",m=null,t=e.map((function(e){var r=c.getBidIdParameter("bidfloor",e.params),a=o||(c.getBidIdParameter("secure",e.params)?1:0);d=c.getBidIdParameter("site_id",e.params),u=e.auctionId;var i=(function(e){var r=void 0;r=2===e.length&&"number"==typeof e[0]&&"number"==typeof e[1]?[{w:e[0],h:e[1]}]:c._map(e,(function(e){return{w:e[0],h:e[1]}}));return r})(e.sizes),t={id:e.bidId,secure:a,bidfloor:r||0,displaymanager:"Prebid.js",displaymanagerver:"2.2.2"};if(v(e.params,"tag_id",t,"tagid"),p(e)){var n={w:i[0].w,h:i[0].h};v(e.params,"position",n,"pos"),v(e.params,"mimes",n),v(e.params,"maxduration",n),v(e.params,"protocols",n),v(e.params,"api",n),t.video=n}else{var s={format:i};v(e.params,"position",s,"pos"),t.banner=s}return e.crumbs&&e.crumbs.pubcid&&(m=e.crumbs.pubcid),t})),n={id:u,imp:t,site:{id:d,mobile:null!==document.querySelector('meta[name="viewport"][content*="width=device-width"]')?1:0,page:i},device:(r=navigator.language?"language":"userLanguage",{h:screen.height,w:screen.width,dnt:"1"===navigator.doNotTrack||"1"===window.doNotTrack||"1"===navigator.msDoNoTrack||"yes"===navigator.doNotTrack?1:0,language:navigator[r].split("-")[0],make:navigator.vendor?navigator.vendor:"",ua:navigator.userAgent}),at:1};return m&&(n.user={ext:{fpc:m}}),{method:"POST",url:"//media.msg.dotomi.com/s2s/header/24",data:n}},interpretResponse:function(s,e){var o=[],d={};return s=s.body,e&&e.data&&e.data.imp&&c._each(e.data.imp,(function(e){return d[e.id]=e})),s&&c.isArray(s.seatbid)&&c._each(s.seatbid,(function(e){c._each(e.bid,(function(e){var r=parseFloat(e.price);if(0<r&&e.impid){var a=e.adm||"",i=e.nurl||"",t=d[e.impid],n={requestId:e.impid,currency:s.cur||"USD",cpm:r,creativeId:e.crid||"",ttl:300,netRevenue:!0};t.video?(n.vastUrl=a,n.mediaType="video",n.width=t.video.w,n.height=t.video.h):(n.ad=a+'<img src="'+i+'" />',n.width=e.w,n.height=e.h),o.push(n)}}))})),o},getUserSyncs:function(e){if(e.pixelEnabled)return[{type:"image",url:"//media.msg.dotomi.com/w/user.sync"}]}};function p(e){return"video"===e.mediaType||!!c.deepAccess(e,"mediaTypes.video")}function v(e,r,a,i){i=i||r;var t=c.getBidIdParameter(r,e);""!==t&&(a[i]=t)}(0,i.registerBidder)(s)},152:function(e,r){}},[150]);