text: pbjsChunk([15],{301:function(e,t,n){n(302),e.exports=n(303)},302:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.spec=void 0;var i=n(6),r=n(12);var o=t.spec=new function(){function w(e,t){for(var n=0;n<t.length;n++)if(t[n].params&&t[n].params[e])return t[n].params[e]}this.code="rhythmone",this.supportedMediaTypes=[r.VIDEO,r.BANNER],this.isBidRequestValid=function(e){return!0};var z={},c=this,j="1.0.0.0";this.buildRequests=function(l){var f=w("placementId",l);if(void 0===f||l.length<1)return[];z={};var m=[],g="undefined"!=typeof window?window:{};function b(e,t){t instanceof Array&&(t=t.join(",")),void 0!==t&&m.push(encodeURIComponent(e)+"="+encodeURIComponent(t))}function y(e,t){try{return e()}catch(e){}return t}return b("domain",y((function(){var e=g.document.location.ancestorOrigins;return e&&0<e.length?e[e.length-1]:g.top.document.location.hostname}),"")),b("url",y((function(){var t;try{t=g.top.document.location.href.toString()}catch(e){t=g.document.location.href.toString()}return t}),"")),[{method:"GET",url:(function(){var e=w("endpoint",l)||"//tag.1rx.io/rmp/{placementId}/0/{path}?z={zone}",t=w("zone",l)||"1r",n=w("path",l)||"mvo";e=(e=(e=e.replace(/\{placementId\}/i,f)).replace(/\{zone\}/i,t)).replace(/\{path\}/i,n),b("title",y((function(){return g.top.document.title}),"")),b("dsh",g.screen?g.screen.height:""),b("dsw",g.screen?g.screen.width:""),b("tz",(new Date).getTimezoneOffset()),b("dtype",/(ios|ipod|ipad|iphone|android)/i.test(g.navigator.userAgent)?1:/(smart[-]?tv|hbbtv|appletv|googletv|hdmi|netcast\.tv|viera|nettv|roku|\bdtv\b|sonydtv|inettvbrowser|\btv\b)/i.test(g.navigator.userAgent)?3:2),b("flash",y((function(){var e=g.navigator,t=e.plugins,n=e.mimeTypes,i="application/x-shockwave-flash",r=g.ActiveXObject;if(t&&t["Shockwave Flash"]&&n&&n[i]&&n[i].enabledPlugin)return 1;if(r)try{if(new g.ActiveXObject("ShockwaveFlash.ShockwaveFlash"))return 1}catch(e){}return 0}),0));var i=[],r=[],o=[],a=[],s=0,d=[],c=/(^v|(\.0)+$)/gi;for(b("hbv",g.pbjs.version.replace(c,"")+","+j.replace(c,""));s<l.length;s++){var p=[],u=[],h=l[s].params||{};z[l[s].adUnitCode||l[s].placementCode]=l[s],0<l[s].sizes.length&&"number"==typeof l[s].sizes[0]&&(l[s].sizes=[l[s].sizes]);for(var v=0;v<l[s].sizes.length;v++)u.push(l[s].sizes[v][0]),p.push(l[s].sizes[v][1]);d.push(l[s].adUnitCode||l[s].placementCode),i.push(p.join("|")),r.push(u.join("|")),a.push(l[s].mediaTypes&&l[s].mediaTypes.video?"v":"d"),o.push(h.floor||0)}return b("imp",d),b("w",r),b("h",i),b("floor",o),b("t",a),e+="&"+m.join("&")+"&"})()}]},this.interpretResponse=function(e){var t=e.body||[],n=[],i=0;if(t.seatbid){var r=[];for(i=0;i<t.seatbid.length;i++)for(var o=0;o<t.seatbid[i].bid.length;o++)r.push(t.seatbid[i].bid[o]);t=r}for(i=0;i<t.length;i++){var a=t[i],s=z[a.impid],d={requestId:s.bidId,bidderCode:c.code,cpm:parseFloat(a.price),width:a.w,height:a.h,creativeId:a.crid,currency:"USD",netRevenue:!0,ttl:1e3};s.mediaTypes&&s.mediaTypes.video?(d.vastUrl=a.nurl,d.ttl=1e4):d.ad=a.adm,n.push(d)}return n}};(0,i.registerBidder)(o)},303:function(e,t){}},[301]);