text: pbjsChunk([171],{712:function(e,t,n){e.exports=n(713)},713:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),n.d(t,"spec",function(){return i});var r=n(1),d=418;function o(e,t){var n=[];e.forEach(function(e){var t={id:e.bidId,sizes:e.sizes.map(function(e){return{width:e[0],height:e[1]}}),floor:function(e){if("function"==typeof e.getFloor){var t=e.getFloor({currency:"EUR",mediaType:"banner",size:"*"});if("EUR"===t.currency)return t.floor}return null}(e),segments:function(e){if(e.ortb2&&e.ortb2.user&&e.ortb2.user.ext&&e.ortb2.user.ext.data)return e.ortb2.user.ext.data||{segments:[],contextual_categories:{}};return{segments:[],contextual_categories:{}}}(e)};n.push(t)});var r,o,s,i={auctionId:e[0].auctionId,transactionId:e[0].auctionId,bids:n,website:e[0].params.website,language:e[0].params.language,gdpr:{applies:!1,consentGiven:!1}};t&&t.gdprConsent&&("boolean"==typeof(r=t.gdprConsent).gdprApplies&&r.gdprApplies&&(i.gdpr.applies=!0),"string"==typeof r.consentString&&r.consentString&&(i.gdpr.consentString=t.gdprConsent.consentString),r.vendorData&&(o=r.vendorData,2===(s=r.apiVersion)&&o.vendor&&o.vendor.consents&&void 0!==o.vendor.consents[d.toString(10)]?i.gdpr.consentGiven=!!o.vendor.consents[d.toString(10)]:1===s&&o.vendorConsents&&void 0!==o.vendorConsents[d.toString(10)]&&(i.gdpr.consentGiven=!!o.vendorConsents[d.toString(10)])));var a={contentType:"application/json",withCredentials:i.gdpr.consentGiven};return{method:"POST",url:i.gdpr.consentGiven||!i.gdpr.applies?"https://abs.proxistore.com/".concat(i.language,"/v3/rtb/prebid/multi"):"https://abs.proxistore.com/".concat(i.language,"/v3/rtb/prebid/multi/cookieless"),data:JSON.stringify(i),options:a}}function s(e){return{requestId:e.requestId,cpm:e.cpm,width:e.width,height:e.height,ad:e.ad,ttl:e.ttl,creativeId:e.creativeId,currency:e.currency,netRevenue:e.netRevenue,vastUrl:e.vastUrl,vastXml:e.vastXml,dealId:e.dealId}}var i={code:"proxistore",isBidRequestValid:function(e){return!(!e.params.website||!e.params.language)},buildRequests:o,interpretResponse:function(e,t){return e.body.map(s)}};Object(r.registerBidder)(i)}},[712]);