text: pbjsChunk([106],{43:function(r,e,a){r.exports=a(44)},44:function(r,e,a){"use strict";var d=Object.assign||function(r){for(var e=1;e<arguments.length;e++){var a=arguments[e];for(var d in a)Object.prototype.hasOwnProperty.call(a,d)&&(r[d]=a[d])}return r},i=a(0),t=a(3),n=a(2),o=a(5),s=a(7).default,c=a(4),p=a(1),l="aardvarkResponse",u="aardvarkRequests",f="aardvark",v="thor.rtk.io",b="thor.rtk.io";function g(r,e){pbjs[e]=function(e){for(var a in e.forEach((function(e){!(function(r,e){if(e.error)return i.logWarn("Aardvark bid received with an error, ignoring... ["+e.error+"]");if(!e.cid)return i.logWarn("Aardvark bid received without a callback id, ignoring...");var a=pbjs[u][r][e.cid];if(!a)return i.logWarn("Aardvark request not found: "+e.cid);if(a.params.sc!==e.id)return i.logWarn("Aardvark bid received with a non matching shortcode "+e.id+" instead of "+a.params.sc);var d=t.createBid(c.STATUS.GOOD,a);d.bidderCode=a.bidder,d.cpm=e.cpm,d.ad=e.adm+i.createTrackPixelHtml(decodeURIComponent(e.nurl)),d.width=a.sizes[0][0],d.height=a.sizes[0][1],n.addBidResponse(a.placementCode,d),pbjs[u][r][e.cid].responded=!0})(r,e)})),pbjs[u][r])if(pbjs[u][r].hasOwnProperty(a)){var d=pbjs[u][r][a];if(!d.responded){var o=t.createBid(c.STATUS.NO_BID,d);o.bidderCode=d.bidder,n.addBidResponse(d.placementCode,o)}}}}var h=function(){var r=new s(f);return pbjs[u]=pbjs[u]||{},r.callBids=function(e){var a=r.getBidderCode(),d=l;return a!==f&&(d=[l,a].join("_")),pbjs[u][a]={},g(a,d),(function(r,e,a){var d=i.getTopWindowLocation(),t="",n=[],s=[];d=d?d.host:v;for(var c,p,l,g,h=0,j=a.length;h<j;h+=1)c=a[h],p=i.getBidIdParameter("ai",c.params),l=i.getBidIdParameter("sc",c.params),p&&p.length&&l&&l.length&&((g=i.getBidIdParameter("host",c.params))&&(b=g),t.length||(t=p),l&&n.push(l),s.push(l+"="+c.bidId),pbjs[u][r][c.bidId]=c);if(!t.length||!n.length)return i.logWarn("Bad bid request params given for adapter $"+r+" ("+f+")");o.loadScript(["//"+b+"/",t,"/",n.join("_"),"/aardvark/?jsonp=pbjs.",e,"&rtkreferer=",d,"&",s.join("&")].join(""))})(a,d,e.bids||[])},d(this,{callBids:r.callBids,setBidderCode:r.setBidderCode})};p.registerBidAdapter(new h,"aardvark"),r.exports=h}},[43]);