text: pbjsChunk([29],{26:function(a,b){var c;c=function(){return this}();try{c=c||Function("return this")()||eval("this")}catch(e){"object"==typeof window&&(c=window)}a.exports=c},351:function(e,t,n){e.exports=n(352)},352:function(e,a,u){"use strict";Object.defineProperty(a,"__esModule",{value:!0}),function(E){u.d(a,"spec",function(){return c});var q=u(0),n=u(3),e=u(2),t=u(11),I=u.n(t),r=u(1);function O(t,e){var n=Object.keys(t);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(t);e&&(r=r.filter(function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable})),n.push.apply(n,r)}return n}function S(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function B(){return(B=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e}).apply(this,arguments)}function G(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){if("undefined"==typeof Symbol||!(Symbol.iterator in Object(e)))return;var n=[],r=!0,i=!1,o=void 0;try{for(var c,a=e[Symbol.iterator]();!(r=(c=a.next()).done)&&(n.push(c.value),!t||n.length!==t);r=!0);}catch(e){i=!0,o=e}finally{try{r||null==a.return||a.return()}finally{if(i)throw o}}return n}(e,t)||function(e,t){if(!e)return;if("string"==typeof e)return i(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);"Object"===n&&e.constructor&&(n=e.constructor.name);if("Map"===n||"Set"===n)return Array.from(n);if("Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return i(e,t)}(e,t)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function i(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n<t;n++)r[n]=e[n];return r}var M={member:"YcXr87z2lpbB"},o=[e.b,e.d],V={},_=null;var c={code:"gumgum",aliases:["gg"],isBidRequestValid:function(e){var t=e.params,n=e.adUnitCode;switch(!0){case!!t.inScreen:case!!t.inSlot:case!!t.ICV:case!!t.video:break;default:return q.logWarn("[GumGum] No product selected for the placement ".concat(n,", please check your implementation.")),!1}return!(t.bidfloor&&("number"!=typeof t.bidfloor||!isFinite(t.bidfloor)))||(q.logWarn("[GumGum] bidfloor must be a Number"),!1)},buildRequests:function(e,t){var D=[],k=t&&t.gdprConsent,z=t&&t.uspConsent,T=n.b.getConfig("bidderTimeout"),N=t&&t.refererInfo&&t.refererInfo.referer;return q._each(e,function(e){var t,n,r,i,o,c,a,u,d,s,p,l,f,m,b,g,y,v,h,w=e.bidId,I=e.mediaTypes,O=void 0===I?{}:I,S=e.params,j=void 0===S?{}:S,C=e.schain,P=e.transactionId,x=e.userId,A=void 0===x?{}:x,R=O.banner&&O.banner.sizes,U={};_&&(U.pv=_),j.bidfloor&&(U.fp=j.bidfloor),j.inScreenPubID&&(U.pubId=j.inScreenPubID,U.pi=2),j.inScreen&&(U.t=j.inScreen,U.pi=2),j.inSlot&&(U.si=parseInt(j.inSlot,10),U.pi=3),j.ICV&&(U.ni=parseInt(j.ICV,10),U.pi=5),j.video&&((U=B(U,(t=O.video,n=t.minduration,r=t.maxduration,i=t.linearity,o=t.startdelay,c=t.placement,a=t.protocols,u=void 0===a?[]:a,d=t.playerSize,s=void 0===d?[]:d,p=q.parseSizesInput(s),l=G(p[0]&&p[0].split("x"),2),f=l[0],m=l[1],b="",u.length&&(b=u.join(",")),{mind:n,maxd:r,li:i,sd:o,pt:c,pr:b,viw:f,vih:m}))).t=j.video,U.pi=7),k&&(U.gdprApplies=k.gdprApplies?1:0),U.gdprApplies&&(U.gdprConsent=k.consentString),z&&(U.uspConsent=z),C&&C.nodes&&(U.schain=(y="".concat((g=C).ver,",").concat(g.complete),g.nodes.map(function(e){y+="!".concat(encodeURIComponent(e.asi||""),","),y+="".concat(encodeURIComponent(e.sid||""),","),y+="".concat(encodeURIComponent(e.hp||""),","),y+="".concat(encodeURIComponent(e.rid||""),","),y+="".concat(encodeURIComponent(e.name||""),","),y+="".concat(encodeURIComponent(e.domain||""))}),y)),D.push({id:w,tmax:T,tId:P,pi:U.pi,selector:j.selector,sizes:R||e.sizes,url:"https://g2.gumgum.com/hbid/imp",method:"GET",data:B(U,function(e){var t,n,r,i,o,c,a,u;if(V.vw)return V;try{n=(t=E.top).screen,r=e||""}catch(e){return q.logError(e),V}return V={vw:t.innerWidth,vh:t.innerHeight,sw:n.width,sh:n.height,pu:r,ce:q.cookiesAreEnabled(),dpr:t.devicePixelRatio||1,jcsi:JSON.stringify({t:0,rq:8}),ogu:(c=(document&&document.getElementsByTagName("head")[0]).querySelector("meta[property='og:url']"))?c.content:null},a=window.navigator&&(window.navigator.connection||window.navigator.mozConnection||window.navigator.webkitConnection),(o=(u=a&&(a.downlink||a.bandwidth))?Math.round(1024*u):null)&&(V.ns=o),(i=(r.match(/#ggad=(\w+)$/)||[0,0])[1])&&(V[isNaN(i)?"eAdBuyId":"adBuyId"]=i),V}(N),function(e){var t=e.digitrustid&&e.digitrustid.data;if(!t){var n=window.DigiTrust&&window.DigiTrust.getUser?window.DigiTrust.getUser(M):{};t=n&&n.success&&n.identity||""}return!t||t.privacy&&t.privacy.optout?{}:{dt:t.id}}(A),(h={},(v=A).tdid&&(h.tdid=v.tdid),h))})}),D},interpretResponse:function(e,t){var n,r,i=[],o=e.body,c=B({ad:{price:0,id:0,markup:""},pag:{pvid:0}},o),a=c.ad,u=a.price,d=a.id,s=a.markup,p=a.cur,l=c.cw,f=c.pag.pvid,m=t.data||{},b=m.pi,g=3===b&&9===m.si,y=q.parseSizesInput(t.sizes),v=G(y[0].split("x"),2),h=v[0],w=v[1];return 2!==b&&5!==b||!I()(y,"1x1")||(w=h="1"),_=f,d&&i.push(function(t){for(var e=1;e<arguments.length;e++){var n=null!=arguments[e]?arguments[e]:{};e%2?O(Object(n),!0).forEach(function(e){S(t,e,n[e])}):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(n)):O(Object(n)).forEach(function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(n,e))})}return t}({},7===b&&{vastXml:s},{ad:l?(n=l,r=B({},o,{bidRequest:t}),n.replace("AD_JSON",window.btoa(JSON.stringify(r)))):s,cpm:g?.1:u,creativeId:d,currency:p||"USD",height:w,netRevenue:!0,requestId:t.id,ttl:60,width:h})),i},getUserSyncs:function(e,t){return t.map(function(e){return e.body&&e.body.pxs&&e.body.pxs.scr||[]}).reduce(function(e,t){return e.concat(t)},[]).map(function(e){return{type:"f"===e.t?"iframe":"image",url:e.u}})},supportedMediaTypes:o};Object(r.registerBidder)(c)}.call(a,u(26))}},[351]);