=0&&(n[n.t++]=1,n.subTo(_,n)),e.ONE.dlShiftTo(p,_),_.subTo(c,c);c.t=0;){var w=n[--h]==f?this.DM:Math.floor(n[h]*g+(n[h-1]+v)*b);if((n[h]+=c.am(0,w,n,y,0,p))0&&n.rShiftTo(l,n),d<0&&e.ZERO.subTo(n,n)}}},e.prototype.rShiftTo=function(e,t){t.s=this.s;var r=Math.floor(e/this.DB);if(r>=this.t)t.t=0;else{var n=e%this.DB,i=this.DB-n,o=(1<>n;for(var a=r+1;a>n;n>0&&(t[this.t-r-1]|=(this.s&o)<>=this.DB;if(e.t>=this.DB;n+=this.s}else{for(n+=this.s;r>=this.DB;n-=e.s}t.s=n<0?-1:0,n<-1?t[r++]=this.DV+n:n>0&&(t[r++]=n),t.t=r,t.clamp()},e.prototype.clamp=function(){for(var e=this.s&this.DM;this.t>0&&this[this.t-1]==e;)--this.t},e.prototype.modPowInt=function(e,t){var r;return r=e<256||t.isEven()?new m(t):new g(t),this.exp(e,r)},e.prototype.exp=function(t,r){if(t>4294967295||t<1)return e.ONE;var n=i(),a=i(),s=r.convert(this),c=o(t)-1;for(s.copyTo(n);--c>=0;)if(r.sqrTo(n,a),(t&1<0)r.mulTo(a,s,n);else{var d=n;n=a,a=d}return r.revert(n)},e.prototype.isEven=function(){return 0==(this.t>0?1&this[0]:this.s)},e.prototype.compareTo=function(e){var t=this.s-e.s;if(0!=t)return t;var r=this.t;if(0!=(t=r-e.t))return this.s<0?-t:t;for(;--r>=0;)if(0!=(t=this[r]-e[r]))return t;return 0},e.prototype.am1=function(e,t,r,n,i,o){for(;--o>=0;){var a=t*this[e++]+r[n]+i;i=Math.floor(a/67108864),r[n++]=67108863&a}return i},e.prototype.am2=function(e,t,r,n,i,o){for(var a=32767&t,s=t>>15;--o>=0;){var c=32767&this[e],d=this[e++]>>15,u=s*c+d*a;i=((c=a*c+((32767&u)<<15)+r[n]+(1073741823&i))>>>30)+(u>>>15)+s*d+(i>>>30),r[n++]=1073741823&c}return i},e.prototype.am3=function(e,t,r,n,i,o){for(var a=16383&t,s=t>>14;--o>=0;){var c=16383&this[e],d=this[e++]>>14,u=s*c+d*a;i=((c=a*c+((16383&u)<<14)+r[n]+i)>>28)+(u>>14)+s*d,r[n++]=268435455&c}return i},e}();function i(){return new n(null)}function o(e){var t,r=1;return 0!=(t=e>>>16)&&(e=t,r+=16),0!=(t=e>>8)&&(e=t,r+=8),0!=(t=e>>4)&&(e=t,r+=4),0!=(t=e>>2)&&(e=t,r+=2),0!=(t=e>>1)&&(e=t,r+=1),r}t.BigInteger=n,t.nbi=i,t.nbits=o;var a,s,c=[];for(a="0".charCodeAt(0),s=0;s<=9;++s)c[a++]=s;for(a="a".charCodeAt(0),s=10;s<36;++s)c[a++]=s;for(a="A".charCodeAt(0),s=10;s<36;++s)c[a++]=s;function d(e,t){var r=c[e.charCodeAt(t)];return null==r?-1:r}t.intAt=d;var u="0123456789abcdefghijklmnopqrstuvwxyz";function l(e){return u.charAt(e)}t.int2char=l;var p="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/",f="=";t.b64toHex=function(e){var t,r="",n=0,i=0;for(t=0;t>2),i=3&o,n=1):1==n?(r+=l(i<<2|o>>4),i=15&o,n=2):2==n?(r+=l(i),r+=l(o>>2),i=3&o,n=3):(r+=l(i<<2|o>>4),r+=l(15&o),n=0))}return 1==n&&(r+=l(i<<2)),r},t.removeExtraSymbols=function(e){return e.replace(/^1f+00/,"").replace("3031300d060960864801650304020105000420","")};var m=function(){function e(e){this.m=e}return e.prototype.convert=function(e){return e.s<0||e.compareTo(this.m)>=0?e.mod(this.m):e},e.prototype.revert=function(e){return e},e.prototype.reduce=function(e){e.divRemTo(this.m,null,e)},e.prototype.mulTo=function(e,t,r){e.multiplyTo(t,r),this.reduce(r)},e.prototype.sqrTo=function(e,t){e.squareTo(t),this.reduce(t)},e}(),g=function(){function e(e){this.m=e,this.mp=e.invDigit(),this.mpl=32767&this.mp,this.mph=this.mp>>15,this.um=(1<0&&this.m.subTo(t,t),t},e.prototype.revert=function(e){var t=i();return e.copyTo(t),this.reduce(t),t},e.prototype.reduce=function(e){for(;e.t<=this.mt2;)e[e.t++]=0;for(var t=0;t>15)*this.mpl&this.um)<<15)&e.DM;for(e[r=t+this.m.t]+=this.m.am(0,n,e,t,0,this.m.t);e[r]>=e.DV;)e[r]-=e.DV,e[++r]++}e.clamp(),e.drShiftTo(this.m.t,e),e.compareTo(this.m)>=0&&e.subTo(this.m,e)},e.prototype.mulTo=function(e,t,r){e.multiplyTo(t,r),this.reduce(r)},e.prototype.sqrTo=function(e,t){e.squareTo(t),this.reduce(t)},e}();function b(e){var t=i();return t.fromHexString(e.toString()),t}t.nbv=b,n.ZERO=b(0),n.ONE=b(1),"Microsoft Internet Explorer"==navigator.appName?(n.prototype.am=n.prototype.am2,r=30):"Netscape"!=navigator.appName?(n.prototype.am=n.prototype.am1,r=26):(n.prototype.am=n.prototype.am3,r=28),n.prototype.DB=r,n.prototype.DM=(1<{"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=function(){function e(){}return e.hash=function(t){t=e.utf8Encode(t||"");for(var r=[1116352408,1899447441,3049323471,3921009573,961987163,1508970993,2453635748,2870763221,3624381080,310598401,607225278,1426881987,1925078388,2162078206,2614888103,3248222580,3835390401,4022224774,264347078,604807628,770255983,1249150122,1555081692,1996064986,2554220882,2821834349,2952996808,3210313671,3336571891,3584528711,113926993,338241895,666307205,773529912,1294757372,1396182291,1695183700,1986661051,2177026350,2456956037,2730485921,2820302411,3259730800,3345764771,3516065817,3600352804,4094571909,275423344,430227734,506948616,659060556,883997877,958139571,1322822218,1537002063,1747873779,1955562222,2024104815,2227730452,2361852424,2428436474,2756734187,3204031479,3329325298],n=[1779033703,3144134277,1013904242,2773480762,1359893119,2600822924,528734635,1541459225],i=(t+=String.fromCharCode(128)).length/4+2,o=Math.ceil(i/16),a=new Array(o),s=0;s>>0;a[o-1][14]=Math.floor(d),a[o-1][15]=u;for(s=0;s>>0;var f=n[0],m=n[1],g=n[2],b=n[3],v=n[4],h=n[5],y=n[6],_=n[7];for(p=0;p<64;p++){var w=_+e.z1(v)+e.Ch(v,h,y)+r[p]+l[p],I=e.z0(f)+e.Maj(f,m,g);_=y,y=h,h=v,v=b+w>>>0,b=g,g=m,m=f,f=w+I>>>0}n[0]=n[0]+f>>>0,n[1]=n[1]+m>>>0,n[2]=n[2]+g>>>0,n[3]=n[3]+b>>>0,n[4]=n[4]+v>>>0,n[5]=n[5]+h>>>0,n[6]=n[6]+y>>>0,n[7]=n[7]+_>>>0}var E=new Array(n.length);for(_=0;_>>e|t<<32-e},e.z0=function(t){return e.ROTR(2,t)^e.ROTR(13,t)^e.ROTR(22,t)},e.z1=function(t){return e.ROTR(6,t)^e.ROTR(11,t)^e.ROTR(25,t)},e.q0=function(t){return e.ROTR(7,t)^e.ROTR(18,t)^t>>>3},e.q1=function(t){return e.ROTR(17,t)^e.ROTR(19,t)^t>>>10},e.Ch=function(e,t,r){return e&t^~e&r},e.Maj=function(e,t,r){return e&t^e&r^t&r},e}();t.Sha256=r},1582:(e,t,r)=>{"use strict";var n=r(4611),i=r(4950);t.T=function(e,t,r,o){var a=new n.BigInteger(n.b64toHex(t)),s=new n.BigInteger(n.b64toHex(r)),c=a.modPowInt(o,s);return n.removeExtraSymbols(c.toHexString())===i.Sha256.hash(e)}},296:(e,t,r)=>{"use strict";r.d(t,{Z:()=>o});var n=r(3645),i=r.n(n)()((function(e){return e[1]}));i.push([e.id,".rtbuzz_interscroller_container{-webkit-box-shadow:0 0 11px #262626;box-shadow:0 0 11px #262626;-webkit-box-shadow:0 10px 11px -10px #262626,0 -10px 11px -10px #262626;box-shadow:0 10px 11px -10px #262626,0 -10px 11px -10px #262626;margin:25px 0 30px!important;position:relative;width:100%;z-index:1000}.rtbuzz_interscroller_container .rtbuzz_interscroller_content{clip:rect(auto auto auto auto);background:transparent;-webkit-box-sizing:content-box;box-sizing:content-box;left:0;overflow:visible;position:absolute;top:0;visibility:visible;width:100%}.rtbuzz_interscroller_container .rtbuzz_interscroller_content .rtbuzz_interscroller_contentbg{-webkit-box-align:center;-ms-flex-align:center;-webkit-box-pack:center;-ms-flex-pack:center;align-items:center;background:#fff;background:radial-gradient(circle,#fff 0,#fff 80%,#bebebe 100%);display:-webkit-box;display:-ms-flexbox;display:flex;height:100vh;justify-content:center;left:0;position:fixed;text-align:center;top:0;-webkit-transform:translateZ(0);transform:translateZ(0);width:100vw}.rtbuzz_interscroller_container .rtbuzz_interscroller_content .rtbuzz_interscroller_contentbg iframe{max-width:unset}.rtbuzz_interscroller_label{color:#585858;font-family:Helvetica,Arial,sans-serif!important;font-size:9.5px!important;font-weight:300!important;height:18px;left:0;letter-spacing:.3px!important;line-height:18px!important;margin:0!important;position:absolute;text-align:center!important;text-transform:uppercase!important;width:100%;z-index:2}.rtbuzz_interscroller_label.rtbuzz_interscroller_up{top:-18px}.rtbuzz_interscroller_label.rtbuzz_interscroller_down{bottom:-24px}.rtbuzz_interscroller_label img{border:none;border:none!important;display:inline-block;float:none;height:18px!important;margin:0;padding:0;width:98px!important}",""]);const o=i},9231:(e,t,r)=>{"use strict";r.d(t,{Z:()=>o});var n=r(3645),i=r.n(n)()((function(e){return e[1]}));i.push([e.id,".rtbuzz_interstitial_container{background-color:rgba(0,0,0,.8);display:none;height:100%;left:0;position:fixed;top:0;visibility:hidden;width:100%;z-index:2147483646}.rtbuzz_interstitial_container.rtbuzz_interstitial_visible{display:table;visibility:visible}.rtbuzz_interstitial_container .rtbuzz_interstitial_close{background:#fff;border-bottom-left-radius:18px;border-bottom-right-radius:18px;border-top-left-radius:18px;border-top-right-radius:18px;color:#000!important;font-family:sans-serif;font-size:20px;font-weight:700;height:36px;line-height:37px;opacity:1;padding:0;position:absolute;right:25px;text-align:center;top:25px;width:36px;z-index:9999999999}.rtbuzz_interstitial_container .rtbuzz_interstitial_close.rtbuzz_interstitial_close_visible{display:block}.rtbuzz_interstitial_container .rtbuzz_interstitial_content{display:table-cell;text-align:center;vertical-align:middle}.rtbuzz_interstitial_container .rtbuzz_interstitial_content iframe{display:inline-block!important}",""]);const o=i},248:(e,t,r)=>{"use strict";r.d(t,{Z:()=>o});var n=r(3645),i=r.n(n)()((function(e){return e[1]}));i.push([e.id,'.rtbuzz_banner_placeholder_advlabel:before{color:#585858;content:"Advertisements";font-family:Helvetica,Arial,sans-serif!important;font-size:9.5px!important;font-weight:300!important;height:18px;letter-spacing:.3px!important;line-height:18px!important;margin:0!important;text-align:center!important;text-transform:uppercase!important;width:100%}',""]);const o=i},6378:(e,t,r)=>{"use strict";r.d(t,{Z:()=>o});var n=r(3645),i=r.n(n)()((function(e){return e[1]}));i.push([e.id,'.rtbuzz_sticky_container{bottom:0;left:0;position:fixed;visibility:hidden;width:100vw;z-index:9999999998}.rtbuzz_sticky_container.rtbuzz_sticky_visible{visibility:visible}.rtbuzz_sticky_container.rtbuzz_sticky_up{bottom:auto;top:0}.rtbuzz_sticky_container.rtbuzz_sticky_up .rtbuzz_sticky_close{bottom:-32px;top:auto}.rtbuzz_sticky_container .rtbuzz_sticky_content{background:#fff;text-align:center}.rtbuzz_sticky_container .rtbuzz_sticky_close{background:#fff;border:1px solid #000;height:32px;opacity:.5;position:absolute;right:0;top:-32px;width:32px;z-index:2}.rtbuzz_sticky_container .rtbuzz_sticky_close:hover{opacity:1}.rtbuzz_sticky_container .rtbuzz_sticky_close:after,.rtbuzz_sticky_container .rtbuzz_sticky_close:before{background-color:#d2d2d2;content:" ";height:32px;left:15px;position:absolute;width:3px}.rtbuzz_sticky_container .rtbuzz_sticky_close:before{-webkit-transform:rotate(45deg);transform:rotate(45deg)}.rtbuzz_sticky_container .rtbuzz_sticky_close:after{-webkit-transform:rotate(-45deg);transform:rotate(-45deg)}',""]);const o=i},2419:(e,t,r)=>{"use strict";r.d(t,{Z:()=>u});var n=r(3645),i=r.n(n),o=r(248),a=r(9231),s=r(6378),c=r(296),d=i()((function(e){return e[1]}));d.i(o.Z),d.i(a.Z),d.i(s.Z),d.i(c.Z),d.push([e.id,".rtbuzz_banner_placeholder{line-height:0;text-align:center}.rtbuzz_banner_placeholder_empty{display:none}",""]);const u=d},3645:e=>{"use strict";e.exports=function(e){var t=[];return t.toString=function(){return this.map((function(t){var r=e(t);return t[2]?"@media ".concat(t[2]," {").concat(r,"}"):r})).join("")},t.i=function(e,r,n){"string"==typeof e&&(e=[[null,e,""]]);var i={};if(n)for(var o=0;o{s.SYNC=1,s.ASYNC=2,s.QUEUE=4;var t="fun-hooks";var r=Object.freeze({useProxy:!0,ready:0}),n=new WeakMap,i="2,1,0"===[1].reduce((function(e,t,r){return[e,t,r]}),2).toString()?Array.prototype.reduce:function(e,t){var r,n=Object(this),i=n.length>>>0,o=0;if(t)r=t;else{for(;o{e.exports=function e(t){var r=Array.isArray(t)?[]:{};for(var n in t){var i=t[n];r[n]=i&&"object"==typeof i?e(i):i}return r}},5088:e=>{e.exports=function(e){var t={};function r(n){if(t[n])return t[n].exports;var i=t[n]={i:n,l:!1,exports:{}};return e[n].call(i.exports,i,i.exports,r),i.l=!0,i.exports}return r.m=e,r.c=t,r.d=function(e,t,n){r.o(e,t)||Object.defineProperty(e,t,{configurable:!1,enumerable:!0,get:n})},r.n=function(e){var t=e&&e.__esModule?function(){return e.default}:function(){return e};return r.d(t,"a",t),t},r.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},r.p="",r(r.s=1)}([function(e,t,r){"use strict";var n={MOBILE:"mobile",TABLET:"tablet",SMART_TV:"smarttv",CONSOLE:"console",WEARABLE:"wearable",BROWSER:void 0};e.exports={BROWSER_TYPES:{CHROME:"Chrome",FIREFOX:"Firefox",OPERA:"Opera",YANDEX:"Yandex",SAFARI:"Safari",INTERNET_EXPLORER:"Internet Explorer",EDGE:"Edge",CHROMIUM:"Chromium",IE:"IE",MOBILE_SAFARI:"Mobile Safari",EDGE_CHROMIUM:"Edge Chromium"},DEVICE_TYPES:n,OS_TYPES:{IOS:"iOS",ANDROID:"Android",WINDOWS_PHONE:"Windows Phone",WINDOWS:"Windows",MAC_OS:"Mac OS"},defaultData:{isMobile:!1,isTablet:!1,isBrowser:!1,isSmartTV:!1,isConsole:!1,isWearable:!1}}},function(e,t,r){"use strict";var n,i=r(2),o=r(0),a=o.BROWSER_TYPES,s=o.OS_TYPES,c=o.DEVICE_TYPES,d=r(4),u=d.checkType,l=d.broPayload,p=d.mobilePayload,f=d.wearPayload,m=d.consolePayload,g=d.stvPayload,b=d.getNavigatorInstance,v=d.isIOS13Check,h=new i,y=h.getBrowser(),_=h.getDevice(),w=h.getEngine(),I=h.getOS(),E=h.getUA(),S=a.CHROME,A=a.CHROMIUM,T=a.IE,x=a.INTERNET_EXPLORER,C=a.OPERA,O=a.FIREFOX,k=a.SAFARI,z=a.EDGE,R=a.YANDEX,P=a.MOBILE_SAFARI,D=c.MOBILE,j=c.TABLET,B=c.SMART_TV,M=c.BROWSER,U=c.WEARABLE,N=c.CONSOLE,L=s.ANDROID,W=s.WINDOWS_PHONE,q=s.IOS,F=s.WINDOWS,G=s.MAC_OS,V=function(){return I.name===s.WINDOWS&&"10"===I.version&&("string"==typeof E&&-1!==E.indexOf("Edg/"))},K=function(){return y.name===z},H=function(){return v("iPad")},Y=_.type===B,Z=_.type===N,X=_.type===U,J=y.name===P||H(),Q=y.name===A,$=function(){switch(_.type){case D:case j:return!0;default:return!1}}()||H(),ee=_.type===D,te=_.type===j||H(),re=_.type===M,ne=I.name===L,ie=I.name===W,oe=I.name===q||H(),ae=y.name===S,se=y.name===O,ce=y.name===k||y.name===P,de=y.name===C,ue=y.name===x||y.name===T,le=I.version?I.version:"none",pe=I.name?I.name:"none",fe=y.major,me=y.version,ge=y.name,be=_.vendor?_.vendor:"none",ve=_.model?_.model:"none",he=w.name,ye=w.version,_e=E,we=K()||V(),Ie=y.name===R,Ee=_.type,Se=(n=b())&&(/iPad|iPhone|iPod/.test(n.platform)||"MacIntel"===n.platform&&n.maxTouchPoints>1)&&!window.MSStream,Ae=H(),Te=v("iPhone"),xe=v("iPod"),Ce=function(){var e=b(),t=e&&e.userAgent.toLowerCase();return"string"==typeof t&&/electron/.test(t)}(),Oe=V(),ke=K(),ze=I.name===F,Re=I.name===G,Pe=u(_.type);e.exports={deviceDetect:function(){var e=Pe.isBrowser,t=Pe.isMobile,r=Pe.isTablet,n=Pe.isSmartTV,i=Pe.isConsole,o=Pe.isWearable;return e?l(e,y,w,I,E):n?g(n,w,I,E):i?m(i,w,I,E):t||r?p(Pe,_,I,E):o?f(o,w,I,E):void 0},isSmartTV:Y,isConsole:Z,isWearable:X,isMobileSafari:J,isChromium:Q,isMobile:$,isMobileOnly:ee,isTablet:te,isBrowser:re,isAndroid:ne,isWinPhone:ie,isIOS:oe,isChrome:ae,isFirefox:se,isSafari:ce,isOpera:de,isIE:ue,osVersion:le,osName:pe,fullBrowserVersion:fe,browserVersion:me,browserName:ge,mobileVendor:be,mobileModel:ve,engineName:he,engineVersion:ye,getUA:_e,isEdge:we,isYandex:Ie,deviceType:Ee,isIOS13:Se,isIPad13:Ae,isIPhone13:Te,isIPod13:xe,isElectron:Ce,isEdgeChromium:Oe,isLegacyEdge:ke,isWindows:ze,isMacOs:Re}},function(e,t,r){var n;!function(i,o){"use strict";var a="function",s="undefined",c="object",d="model",u="name",l="type",p="vendor",f="version",m="architecture",g="console",b="mobile",v="tablet",h="smarttv",y="wearable",_={extend:function(e,t){var r={};for(var n in e)t[n]&&t[n].length%2==0?r[n]=t[n].concat(e[n]):r[n]=e[n];return r},has:function(e,t){return"string"==typeof e&&-1!==t.toLowerCase().indexOf(e.toLowerCase())},lowerize:function(e){return e.toLowerCase()},major:function(e){return"string"==typeof e?e.replace(/[^\d\.]/g,"").split(".")[0]:o},trim:function(e){return e.replace(/^[\s\uFEFF\xA0]+|[\s\uFEFF\xA0]+$/g,"")}},w={rgx:function(e,t){for(var r,n,i,s,d,u,l=0;l0?2==s.length?typeof s[1]==a?this[s[0]]=s[1].call(this,u):this[s[0]]=s[1]:3==s.length?typeof s[1]!==a||s[1].exec&&s[1].test?this[s[0]]=u?u.replace(s[1],s[2]):o:this[s[0]]=u?s[1].call(this,u,s[2]):o:4==s.length&&(this[s[0]]=u?s[3].call(this,u.replace(s[1],s[2])):o):this[s]=u||o;l+=2}},str:function(e,t){for(var r in t)if(typeof t[r]===c&&t[r].length>0){for(var n=0;n1&&!window.MSStream)};e.exports={checkType:function(e){switch(e){case o.MOBILE:return{isMobile:!0};case o.TABLET:return{isTablet:!0};case o.SMART_TV:return{isSmartTV:!0};case o.CONSOLE:return{isConsole:!0};case o.WEARABLE:return{isWearable:!0};case o.BROWSER:return{isBrowser:!0};default:return a}},broPayload:function(e,t,r,n,i){return{isBrowser:e,browserMajorVersion:t.major,browserFullVersion:t.version,browserName:t.name,engineName:r.name||!1,engineVersion:r.version,osName:n.name,osVersion:n.version,userAgent:i}},mobilePayload:function(e,t,r,i){return n({},e,{vendor:t.vendor,model:t.model,os:r.name,osVersion:r.version,ua:i})},stvPayload:function(e,t,r,n){return{isSmartTV:e,engineName:t.name,engineVersion:t.version,osName:r.name,osVersion:r.version,userAgent:n}},consolePayload:function(e,t,r,n){return{isConsole:e,engineName:t.name,engineVersion:t.version,osName:r.name,osVersion:r.version,userAgent:n}},wearPayload:function(e,t,r,n){return{isWearable:e,engineName:t.name,engineVersion:t.version,osName:r.name,osVersion:r.version,userAgent:n}},getNavigatorInstance:s,isIOS13Check:c}}])},3379:(e,t,r)=>{"use strict";var n,i=function(){return void 0===n&&(n=Boolean(window&&document&&document.all&&!window.atob)),n},o=function(){var e={};return function(t){if(void 0===e[t]){var r=document.querySelector(t);if(window.HTMLIFrameElement&&r instanceof window.HTMLIFrameElement)try{r=r.contentDocument.head}catch(e){r=null}e[t]=r}return e[t]}}(),a=[];function s(e){for(var t=-1,r=0;r{"use strict";e.exports="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAGAAAAASCAYAAACkctvyAAAFe0lEQVRYhe2Ya2xVRRDHf/e2tFiKvBSNlYKGgIr4QsUXUlHESCogUtEYlSKoMfEV0A8YeRnUxBCMpGBINFrkoQYVIRKIr9YiRlvBCG1KkBaBQou8S6VS1g8zm7Pde257b6npB/knJ7s7O7tnZmdndnYBngeqgYGcRTiWlsFpA5NmtPvUUWAUkA0MSXJsN2A00KO9hfq/YSCQD2QkOW4oYICR7S5Rx+N84HvgzpTLroUfGmC3gSXFEIkAvAR82qESAjcgBsjpYDn+C/RDdJvCV9thl4H1R6DewOzFAJ9r/xkjCtwILCfwgGnAE0BXYKf+6CTNF3oFsFbri4AaYIrTP0RpRr9Z3n/vA2ZqfY3Dl6W0OQ6tBjG2j3kOTyVwhdM3DHhT6+85fJanN/CTQ/8EiDjjTwNw0x3HGdR/FtWNtaSnbGYnJxiZNyya0aWCWANcjZylds55Xv8o4A2tL1eegwAPasPG8g+AJp2sFJgN7FCe/sqzAqhVWjnNDZCj9J3AAuBLba9xhHlKaft0nmXanw68pX2rgfmOUsOd8Z85PO+oIga4TvvHAUeBrcBxVXgdkKl6GqAeWAwUarsK6KzjswHD0LsmUmlWUnLSUFRv2GwMGw5MiGZ2m4k1kuBmR5+3CTzka4dnMvC3rtcxYJXKFWOABdqe4wxOU9oCh2ZDkLswAJuBPz3ao8p7i7YfJtYoAD2V/rJHrwG2aP0q5Xnc4zkJFGs9R3l+JRZ2cdIc2uVKs2lONmAi1+fkUWGWsbFRDLDFGNbtnxDNyPQNUIVsJBfjdM7R2r5f2xtcpmiIgBdq6RqgEShC3MgiRUvXdXsirljgzfkhskBjtW3D3aseX1ctyz36XKBC6w85c7ooIDCwxXRiMQbxoEaHVo6EMSvfaX9QK+gLLPFoq7V8QEur8yyXKcwA3YA9wCmPvhc4rxVBztXyUEjfMaCP1q2r7/V4qpW2CrjEoRcAE7XeW0t/keYCt2u9l5a/eDzpWh4Ike+oMy4ZA6Rquc2jNyFraOfsouVvYYN9NCUhgAtrtClIJtEDUaYBMd4+jz9M0RwkdPyBnCP5wHe0nnUcBEq0bhfa30S2nUYsUhEvheZe3RpO6bhpwGBE50b9RypBaLJzNtM5ngGSEcCFXaTBSDjppHOlInGyKIH/bEcOy6eB14Bvkd11K3A4SXnaqkeyaACuQXZ5J4LIUoncJ+LKFM8AicBO5O7MTlo+i2QYZ4JF+g1HPOALrfu72qIzcn5VEd+D7bkVNkcTbVuPVKA7kmgUtsAXuhnCzoBEYZVIcWgntDwnhH8hQRYVL8beBnxEEEJAdtBjBPF9T5yxLyIhCyTFDIM9eLuE9KUThKBkYNehT0jfu0haCnF0PhMD1Gk5wKHVKn2cx9sbeAb4R9vxQkMDkqKO8ehdnbpNXf30dzLi8hC+ASxKgREeLQO4EvhG2ykkhyOI3C6ygKkExk7YA6IJClCFvIcsAt4H8pQ+FbmJrgXGIztzP/AX8IryWFf3hSpF8vSVSFZzD3IOLNR/AJQBm5CwNEP/8TNwKfKyiyN/mH7TCW7CuUhau0P75jdnjURkDv/8j1nLScAg5IwbD7wA7EY88TlPlhiZcoAfkYMP4HX0huZhBpIeukgjuNiUOPQnCa7kBkm9sp3+sciFLd5Lqp3Tfh97/ZkEmZH9HnH6RyCLEe+B8V5vbB2SOFjITXjY3XnsMkspajAU1Z+izBg2HRkf7dHdv4iBeKA75++ezrnARlr2znZFFLiA8HibCDKR8NbS+Ezk5bItiCAXqItC+voBJqXXxflsbYIKk836w1kcMn0pLAbZEGFpcRTxrrbqfBaKLOTdJo/cSbDFwDYD6+tIzR4AkuHtaHGGBPEv52aH4jPeD7QAAAAASUVORK5CYII="},1999:e=>{"use strict";e.exports=JSON.parse('{"JSON_MAPPING":{"PL_CODE":"code","PL_SIZE":"sizes","PL_BIDS":"bids","BD_BIDDER":"bidder","BD_ID":"paramsd","BD_PL_ID":"placementId","ADSERVER_TARGETING":"adserverTargeting","BD_SETTING_STANDARD":"standard"},"DEBUG_MODE":"pbjs_debug","STATUS":{"GOOD":1,"NO_BID":2},"CB":{"TYPE":{"ALL_BIDS_BACK":"allRequestedBidsBack","AD_UNIT_BIDS_BACK":"adUnitBidsBack","BID_WON":"bidWon","REQUEST_BIDS":"requestBids"}},"EVENTS":{"AUCTION_INIT":"auctionInit","AUCTION_END":"auctionEnd","BID_ADJUSTMENT":"bidAdjustment","BID_TIMEOUT":"bidTimeout","BID_REQUESTED":"bidRequested","BID_RESPONSE":"bidResponse","NO_BID":"noBid","BID_WON":"bidWon","BIDDER_DONE":"bidderDone","SET_TARGETING":"setTargeting","BEFORE_REQUEST_BIDS":"beforeRequestBids","REQUEST_BIDS":"requestBids","ADD_AD_UNITS":"addAdUnits","AD_RENDER_FAILED":"adRenderFailed","TCF2_ENFORCEMENT":"tcf2Enforcement","AUCTION_DEBUG":"auctionDebug","BID_VIEWABLE":"bidViewable","STALE_RENDER":"staleRender"},"AD_RENDER_FAILED_REASON":{"PREVENT_WRITING_ON_MAIN_DOCUMENT":"preventWritingOnMainDocument","NO_AD":"noAd","EXCEPTION":"exception","CANNOT_FIND_AD":"cannotFindAd","MISSING_DOC_OR_ADID":"missingDocOrAdid"},"EVENT_ID_PATHS":{"bidWon":"adUnitCode"},"GRANULARITY_OPTIONS":{"LOW":"low","MEDIUM":"medium","HIGH":"high","AUTO":"auto","DENSE":"dense","CUSTOM":"custom"},"TARGETING_KEYS":{"BIDDER":"hb_bidder","AD_ID":"hb_adid","PRICE_BUCKET":"hb_pb","SIZE":"hb_size","DEAL":"hb_deal","SOURCE":"hb_source","FORMAT":"hb_format","UUID":"hb_uuid","CACHE_ID":"hb_cache_id","CACHE_HOST":"hb_cache_host","ADOMAIN":"hb_adomain"},"DEFAULT_TARGETING_KEYS":{"BIDDER":"hb_bidder","AD_ID":"hb_adid","PRICE_BUCKET":"hb_pb","SIZE":"hb_size","DEAL":"hb_deal","SOURCE":"hb_source","FORMAT":"hb_format","UUID":"hb_uuid","CACHE_ID":"hb_cache_id","CACHE_HOST":"hb_cache_host"},"NATIVE_KEYS":{"title":"hb_native_title","body":"hb_native_body","body2":"hb_native_body2","privacyLink":"hb_native_privacy","privacyIcon":"hb_native_privicon","sponsoredBy":"hb_native_brand","image":"hb_native_image","icon":"hb_native_icon","clickUrl":"hb_native_linkurl","displayUrl":"hb_native_displayurl","cta":"hb_native_cta","rating":"hb_native_rating","address":"hb_native_address","downloads":"hb_native_downloads","likes":"hb_native_likes","phone":"hb_native_phone","price":"hb_native_price","salePrice":"hb_native_saleprice","rendererUrl":"hb_renderer_url","adTemplate":"hb_adTemplate"},"S2S":{"SRC":"s2s","DEFAULT_ENDPOINT":"https://prebid.adnxs.com/pbs/v1/openrtb2/auction","SYNCED_BIDDERS_KEY":"pbjsSyncs"},"BID_STATUS":{"BID_TARGETING_SET":"targetingSet","RENDERED":"rendered","BID_REJECTED":"bidRejected"}}')}},__webpack_module_cache__={};function __webpack_require__(e){var t=__webpack_module_cache__[e];if(void 0!==t)return t.exports;var r=__webpack_module_cache__[e]={id:e,exports:{}};return __webpack_modules__[e](r,r.exports,__webpack_require__),r.exports}__webpack_require__.n=e=>{var t=e&&e.__esModule?()=>e.default:()=>e;return __webpack_require__.d(t,{a:t}),t},__webpack_require__.d=(e,t)=>{for(var r in t)__webpack_require__.o(t,r)&&!__webpack_require__.o(e,r)&&Object.defineProperty(e,r,{enumerable:!0,get:t[r]})},__webpack_require__.g=function(){if("object"==typeof globalThis)return globalThis;try{return this||new Function("return this")()}catch(e){if("object"==typeof window)return window}}(),__webpack_require__.o=(e,t)=>Object.prototype.hasOwnProperty.call(e,t),__webpack_require__.r=e=>{"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},__webpack_require__.nc=void 0;var __webpack_exports__={};(()=>{"use strict";function e(){return window.publypbjs}window.publypbjs=window.publypbjs||{},window.publypbjs.cmd=window.publypbjs.cmd||[],window.publypbjs.que=window.publypbjs.que||[],window._pbjsGlobals=window._pbjsGlobals||[],window._pbjsGlobals.push("publypbjs");var t=__webpack_require__(2897),r=__webpack_require__(7896),n=__webpack_require__.n(r),i=__webpack_require__(5992),o=__webpack_require__(1999),a=__webpack_require__(9175),s=__webpack_require__(2799),c=__webpack_require__(4030);function d(e){var r,n,i,o={type:"xml",value:e.vastXml?e.vastXml:(r=e.vastUrl,n=e.vastImpUrl,i=n?""):"",'\n \n \n prebid.org wrapper\n \n ").concat(i,"\n \n \n \n ")),ttlseconds:Number(e.ttl)};return c.vc.getConfig("cache.vasttrack")&&(o.bidder=e.bidder,o.bidid=e.requestId,o.aid=e.auctionId,t.isPlainObject(this)&&this.hasOwnProperty("auctionStart")&&(o.timestamp=this.auctionStart)),"string"==typeof e.customCacheKey&&""!==e.customCacheKey&&(o.key=e.customCacheKey),o}function u(e,t,r){var n={puts:e.map(d,r)};(0,s.h)(c.vc.getConfig("cache.url"),function(e){return{success:function(t){var r;try{r=JSON.parse(t).responses}catch(t){return void e(t,[])}r?e(null,r):e(new Error("The cache server didn't respond with a responses property."),[])},error:function(t,r){e(new Error("Error storing video ad in the cache: ".concat(t,": ").concat(JSON.stringify(r))),[])}}}(t),JSON.stringify(n),{contentType:"text/plain",withCredentials:!0})}var l=__webpack_require__(5774),p=__webpack_require__(394),f=__webpack_require__.n(p),m="outstream";function g(e){var r=this,n=e.url,i=e.config,o=e.id,a=e.callback,s=e.loaded,c=e.adUnitCode;this.url=n,this.config=i,this.handlers={},this.id=o,this.loaded=s,this.cmd=[],this.push=function(e){"function"==typeof e?r.loaded?e.call():r.cmd.push(e):t.logError("Commands given to Renderer.push must be wrapped in a function")},this.callback=a||function(){r.loaded=!0,r.process()},this.render=function(){var e=this,r=arguments,i=function(){e._render?e._render.apply(e,r):t.logWarn("No render function was provided, please use .setRender on the renderer")};!function(e){var r=publypbjs.adUnits,n=f()(r,(function(t){return t.code===e}));if(!n)return!1;var i=t.deepAccess(n,"renderer"),o=!!(i&&i.url&&i.render),a=t.deepAccess(n,"mediaTypes.video.renderer"),s=!!(a&&a.url&&a.render);return!!(o&&!0!==i.backupOnly||s&&!0!==a.backupOnly)}(c)?(this.cmd.unshift(i),(0,l.B)(n,m,this.callback)):(t.logWarn("External Js not loaded by Renderer since renderer url and callback is already defined on adUnit ".concat(c)),i())}.bind(this)}function b(e){return!(!e||!e.url)}function v(e,t){e.render(t)}g.install=function(e){return new g({url:e.url,config:e.config,id:e.id,callback:e.callback,loaded:e.loaded,adUnitCode:e.adUnitCode})},g.prototype.getConfig=function(){return this.config},g.prototype.setRender=function(e){this._render=e},g.prototype.setEventHandlers=function(e){this.handlers=e},g.prototype.handleVideoEvent=function(e){var r=e.id,n=e.eventName;"function"==typeof this.handlers[n]&&this.handlers[n](),t.logMessage("Prebid Renderer event for id ".concat(r," type ").concat(n))},g.prototype.process=function(){for(;this.cmd.length>0;)try{this.cmd.shift().call()}catch(e){t.logError("Error processing Renderer command: ",e)}};var h=__webpack_require__(4125),y=__webpack_require__(6283),_=__webpack_require__(40),w=__webpack_require__.n(_),I=__webpack_require__(9398),E=__webpack_require__(5740);function S(e){return S="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},S(e)}function A(){return A=Object.assign?Object.assign.bind():function(e){for(var t=1;t=0&&(e.cpm=n)}(e)}));var D=4,j={},B={},M=[];function U(e){var r,n,i,o,s=e.adUnits,d=e.adUnitCodes,u=e.callback,l=e.cbTimeout,p=e.labels,m=e.auctionId,b=s,v=p,h=d,y=[],_=[],E=[],U=m||x.generateUUID(),q=u,K=l,H=[],Y=new Set;function Z(){return{auctionId:U,timestamp:r,auctionEnd:n,auctionStatus:i,adUnits:b,adUnitCodes:h,labels:v,bidderRequests:y,noBids:E,bidsReceived:_,winningBids:H,timeout:K}}function X(e,r){if(r&&clearTimeout(o),void 0===n){var a=[];e&&(x.logMessage("Auction ".concat(U," timedOut")),d=Y,(a=y.map((function(e){return(e.bids||[]).filter((function(e){return!d.has(e.bidder)}))})).reduce(t.flatten,[]).map((function(e){return{bidId:e.bidId,bidder:e.bidder,adUnitCode:e.adUnitCode,auctionId:e.auctionId}}))).length&&O.emit(k.EVENTS.BID_TIMEOUT,a)),i=P,n=Date.now(),O.emit(k.EVENTS.AUCTION_END,Z()),W(b,(function(){try{if(null!=q){var r=h,n=_.filter(x.bind.call(t.adUnitsFilter,this,r)).reduce(J,{});q.apply(publypbjs,[n,e,U]),q=null}}catch(e){x.logError("Error executing bidsBackHandler",null,e)}finally{a.length&&C.callTimedOutBidders(s,a,K);var i=c.vc.getConfig("userSync")||{};i.enableOverride||T(i.syncDelay)}}))}var d}function Q(){c.vc.resetBidder(),x.logInfo("Bids Received for Auction with id: ".concat(U),_),i=P,X(!1,!0)}function $(e){Y.add(e)}function ee(e){var r=this;e.forEach((function(e){var t;t=e,y=y.concat(t)}));var n={},s={bidRequests:e,run:function(){var s,l;s=X.bind(null,!0),l=setTimeout(s,K),o=l,i=R,O.emit(k.EVENTS.AUCTION_INIT,Z());var p=function(e,r){var n=0,i=!1,o=new Set,s={};function d(){n--,i&&0===n&&e()}function u(e,i){var o=this;s[i.requestId]=!0,n++;var u=function(e){var r=e.adUnitCode,n=e.bid,i=e.bidderRequest,o=e.auctionId,s=i.start,d=A({},n,{auctionId:o,responseTimestamp:(0,t.timestamp)(),requestTimestamp:s,cpm:parseFloat(n.cpm)||0,bidder:n.bidderCode,adUnitCode:r});d.timeToRespond=d.responseTimestamp-d.requestTimestamp,O.emit(k.EVENTS.BID_ADJUSTMENT,d);var u=i.bids&&f()(i.bids,(function(e){return e.adUnitCode==r&&e.bidId==d.requestId})),l=u&&u.renderer,p=d.mediaType,m=u&&u.mediaTypes&&u.mediaTypes[p],b=m&&m.renderer,v=null;b&&b.url&&b.render&&(!0!==b.backupOnly||!n.renderer)?v=b:l&&l.url&&l.render&&(!0!==l.backupOnly||!n.renderer)&&(v=l);v&&(d.renderer=g.install({url:v.url}),d.renderer.setRender(v.render));var h=V(n.mediaType,u,c.vc.getConfig("mediaTypePriceGranularity")),y=(0,a.D)(d.cpm,"object"===S(h)?h:c.vc.getConfig("customPriceBucket"),c.vc.getConfig("currency.granularityMultiplier"));return d.pbLg=y.low,d.pbMg=y.med,d.pbHg=y.high,d.pbAg=y.auto,d.pbDg=y.dense,d.pbCg=y.custom,d}({adUnitCode:e,bid:i,bidderRequest:o,auctionId:r.getAuctionId()});"video"===u.mediaType?function(e,r,n,i){var o=!0,a=(0,t.getBidRequest)(r.originalRequestId||r.requestId,[n]),s=a&&(0,t.deepAccess)(a,"mediaTypes.video"),d=s&&(0,t.deepAccess)(s,"context");c.vc.getConfig("cache.url")&&d!==I.gZ&&(!r.videoCacheKey||c.vc.getConfig("cache.ignoreBidderCacheKey")?(o=!1,G(e,r,i,a)):r.vastUrl||(x.logError("videoCacheKey specified but not required vastUrl for video bid"),o=!1));o&&(F(e,r),i())}(r,u,o,d):(F(r,u),d())}function l(){var t=this,a=r.getBidRequests(),d=c.vc.getConfig("auctionOptions");if(o.add(t),d&&!x.isEmpty(d)){var u=d.secondaryBidders;u&&!a.every((function(e){return w()(u,e.bidderCode)}))&&(a=a.filter((function(e){return!w()(u,e.bidderCode)})))}i=a.every((function(e){return o.has(e)})),t.bids.forEach((function(e){s[e.bidId]||(r.addNoBid(e),O.emit(k.EVENTS.NO_BID,e))})),i&&0===n&&e()}return{addBidResponse:u,adapterDone:l}}(Q,r);C.callBids(b,e,(function(){for(var e=arguments.length,t=new Array(e),r=0;r1&&(B[e].SRA=!1)},done:function(e){j[e]--,M[0]&&d(M[0])&&M.shift()}},K,$)}};function d(e){var t=!0,r=c.vc.getConfig("maxRequestsPerOrigin")||D;return e.bidRequests.some((function(e){var n=1,i=void 0!==e.src&&e.src===k.S2S.SRC?"s2s":e.bidderCode;return B[i]&&(!1===B[i].SRA&&(n=Math.min(e.bids.length,r)),j[B[i].origin]+n>r&&(t=!1)),!t})),t&&e.run(),t}function u(e,t){void 0===e[t]?e[t]=1:e[t]++}d(s)||(x.logWarn("queueing auction due to limited endpoint capacity"),M.push(s))}return{addBidReceived:function(e){_=_.concat(e)},addNoBid:function(e){E=E.concat(e)},executeCallback:X,callBids:function(){i=z,r=Date.now();var e=C.makeBidRequests(b,r,U,K,v);x.logInfo("Bids Requested for Auction with id: ".concat(U),e),e.length<1?(x.logWarn("No valid bid requests returned for auction"),Q()):L.call({dispatch:ee,context:this},e)},addWinningBid:function(e){H=H.concat(e),C.callBidWonBidder(e.bidder,e,s)},setBidTargeting:function(e){C.callSetTargetingBidder(e.bidder,e)},getWinningBids:function(){return H},getTimeout:function(){return K},getAuctionId:function(){return U},getAuctionStatus:function(){return i},getAdUnits:function(){return b},getAdUnitCodes:function(){return h},getBidRequests:function(){return y},getBidsReceived:function(){return _},getNoBids:function(){return E}}}var N=(0,y.z3)("async",(function(e,t){this.dispatch.call(this.bidderRequest,e,t)}),"addBidResponse"),L=(0,y.z3)("sync",(function(e){this.dispatch.call(this.context,e)}),"addBidderRequests"),W=(0,y.z3)("async",(function(e,t){t&&t()}),"bidsBackCallback");function q(e,t){t.timeToRespond>e.getTimeout()+c.vc.getConfig("timeoutBuffer")&&e.executeCallback(!0)}function F(e,t){var r=e.getBidRequests(),n=f()(r,(function(e){return e.bidderCode===t.bidderCode}));!function(e,t){var r;if(e.bidderCode&&(e.cpm>0||e.dealId)){var n=f()(t.bids,(function(t){return t.adUnitCode===e.adUnitCode}));r=function(e,t,r){if(!t)return{};var n={},o=publypbjs.bidderSettings;if(o){X(n,Z(t.mediaType,e,r),t),e&&o[e]&&o[e][k.JSON_MAPPING.ADSERVER_TARGETING]&&(X(n,o[e],t),t.sendStandardTargeting=o[e].sendStandardTargeting)}t.native&&(n=A({},n,(0,i.Ur)(t,r)));return n}(e.bidderCode,e,n)}e.adserverTargeting=A(e.adserverTargeting||{},r)}(t,n),O.emit(k.EVENTS.BID_RESPONSE,t),e.addBidReceived(t),q(e,t)}var G=(0,y.z3)("async",(function(e,t,r,n){u([t],(function(n,i){var o;n?(x.logWarn("Failed to save to the video cache: ".concat(n,". Video bid must be discarded.")),q(e,t)):""===i[0].uuid?(x.logWarn("Supplied video cache key was already in use by Prebid Cache; caching attempt was rejected. Video bid must be discarded."),q(e,t)):(t.videoCacheKey=i[0].uuid,t.vastUrl||(t.vastUrl=(o=t.videoCacheKey,"".concat(c.vc.getConfig("cache.url"),"?uuid=").concat(o))),F(e,t),r())}),n)}),"callPrebidCache");function V(e,r,n){if(e&&n){if(e===E.pX){var i=(0,t.deepAccess)(r,"mediaTypes.".concat(E.pX,".context"),"instream");if(n["".concat(E.pX,"-").concat(i)])return n["".concat(E.pX,"-").concat(i)]}return n[e]}}var K=function(e,t){var r=V(e,t,c.vc.getConfig("mediaTypePriceGranularity"));return"string"==typeof e&&r?"string"==typeof r?r:"custom":c.vc.getConfig("priceGranularity")},H=function(e){return function(t){return e===k.GRANULARITY_OPTIONS.AUTO?t.pbAg:e===k.GRANULARITY_OPTIONS.DENSE?t.pbDg:e===k.GRANULARITY_OPTIONS.LOW?t.pbLg:e===k.GRANULARITY_OPTIONS.MEDIUM?t.pbMg:e===k.GRANULARITY_OPTIONS.HIGH?t.pbHg:e===k.GRANULARITY_OPTIONS.CUSTOM?t.pbCg:void 0}},Y=function(){return function(e){return e.meta&&e.meta.advertiserDomains&&e.meta.advertiserDomains.length>0?e.meta.advertiserDomains[0]:""}};function Z(e,r,n){function i(e,r){return{key:e,val:"function"==typeof r?function(e){return r(e)}:function(e){return(0,t.getValue)(e,r)}}}var o=k.TARGETING_KEYS,a=K(e,n),s=publypbjs.bidderSettings;if(s[k.JSON_MAPPING.BD_SETTING_STANDARD]||(s[k.JSON_MAPPING.BD_SETTING_STANDARD]={}),s[k.JSON_MAPPING.BD_SETTING_STANDARD][k.JSON_MAPPING.ADSERVER_TARGETING]||(s[k.JSON_MAPPING.BD_SETTING_STANDARD][k.JSON_MAPPING.ADSERVER_TARGETING]=[i(o.BIDDER,"bidderCode"),i(o.AD_ID,"adId"),i(o.PRICE_BUCKET,H(a)),i(o.SIZE,"size"),i(o.DEAL,"dealId"),i(o.SOURCE,"source"),i(o.FORMAT,"mediaType"),i(o.ADOMAIN,Y())]),"video"===e){var d=s[k.JSON_MAPPING.BD_SETTING_STANDARD][k.JSON_MAPPING.ADSERVER_TARGETING];if([o.UUID,o.CACHE_ID].forEach((function(e){void 0===f()(d,(function(t){return t.key===e}))&&d.push(i(e,"videoCacheKey"))})),c.vc.getConfig("cache.url")&&(!r||!1!==x.deepAccess(s,"".concat(r,".sendStandardTargeting")))){var u=(0,t.parseUrl)(c.vc.getConfig("cache.url"));void 0===f()(d,(function(e){return e.key===o.CACHE_HOST}))&&d.push(i(o.CACHE_HOST,(function(e){return x.deepAccess(e,"adserverTargeting.".concat(o.CACHE_HOST))?e.adserverTargeting[o.CACHE_HOST]:u.hostname})))}}return s[k.JSON_MAPPING.BD_SETTING_STANDARD]}function X(e,t,r){var n=t[k.JSON_MAPPING.ADSERVER_TARGETING];return r.size=r.getSize(),x._each(n,(function(n){var i=n.key,o=n.val;if(e[i]&&x.logWarn("The key: "+i+" is getting ovewritten"),x.isFn(o))try{o=o(r)}catch(e){x.logError("bidmanager","ERROR",e)}(void 0===t.suppressEmptyKeys||!0!==t.suppressEmptyKeys)&&i!==k.TARGETING_KEYS.DEAL||!x.isEmptyStr(o)&&null!=o?e[i]=o:x.logInfo("suppressing empty key '"+i+"' from adserver targeting")})),e}function J(e,t){return e[t.adUnitCode]||(e[t.adUnitCode]={bids:[]}),e[t.adUnitCode].bids.push(t),e}var Q=__webpack_require__(1999);var $=function(){var e=[],r={};return r.addWinningBid=function(r){var n=f()(e,(function(e){return e.getAuctionId()===r.auctionId}));n?(r.status=Q.BID_STATUS.RENDERED,n.addWinningBid(r)):(0,t.logWarn)("Auction not found when adding winning bid")},r.getAllWinningBids=function(){return e.map((function(e){return e.getWinningBids()})).reduce(t.flatten,[])},r.getBidsRequested=function(){return e.map((function(e){return e.getBidRequests()})).reduce(t.flatten,[])},r.getNoBids=function(){return e.map((function(e){return e.getNoBids()})).reduce(t.flatten,[])},r.getBidsReceived=function(){return e.map((function(e){if(e.getAuctionStatus()===P)return e.getBidsReceived()})).reduce(t.flatten,[]).filter((function(e){return e}))},r.getAllBidsForAdUnitCode=function(r){return e.map((function(e){return e.getBidsReceived()})).reduce(t.flatten,[]).filter((function(e){return e&&e.adUnitCode===r}))},r.getAdUnits=function(){return e.map((function(e){return e.getAdUnits()})).reduce(t.flatten,[])},r.getAdUnitCodes=function(){return e.map((function(e){return e.getAdUnitCodes()})).reduce(t.flatten,[]).filter(t.uniques)},r.createAuction=function(t){var r=U({adUnits:t.adUnits,adUnitCodes:t.adUnitCodes,callback:t.callback,cbTimeout:t.cbTimeout,labels:t.labels,auctionId:t.auctionId});return function(t){e.push(t)}(r),r},r.findBidByAdId=function(r){return f()(e.map((function(e){return e.getBidsReceived()})).reduce(t.flatten,[]),(function(e){return e.adId===r}))},r.getStandardBidderAdServerTargeting=function(){return Z()[Q.JSON_MAPPING.ADSERVER_TARGETING]},r.setStatusForBids=function(t,n){var i=r.findBidByAdId(t);if(i&&(i.status=n),i&&n===Q.BID_STATUS.BID_TARGETING_SET){var o=f()(e,(function(e){return e.getAuctionId()===i.auctionId}));o&&o.setBidTargeting(i)}},r.getLastAuctionId=function(){return e.length&&e[e.length-1].getAuctionId()},r.clearAllAuctions=function(){e.length=0},r}(),ee=o.EVENTS.BID_WON,te=o.EVENTS.STALE_RENDER;function re(e){var r=e.message?"message":"data",a={};try{a=JSON.parse(e[r])}catch(e){return}if(a&&a.adId){var s=f()($.getBidsReceived(),(function(e){return e.adId===a.adId}));if(s&&"Prebid Request"===a.message){if(s.status===o.BID_STATUS.RENDERED&&((0,t.logWarn)("Ad id ".concat(s.adId," has been rendered before")),n().emit(te,s),(0,t.deepAccess)(c.vc.getConfig("auctionOptions"),"suppressStaleRender")))return;!function(e,r){var n=e.adId,i=e.ad,o=e.adUrl,a=e.width,s=e.height,c=e.renderer,d=e.cpm;b(c)?v(c,e):n&&(ne(e),r.source.postMessage(JSON.stringify({message:"Prebid Response",ad:(0,t.replaceAuctionPrice)(i,d),adUrl:(0,t.replaceAuctionPrice)(o,d),adId:n,width:a,height:s}),r.origin))}(s,e),$.addWinningBid(s),n().emit(ee,s)}if(s&&"Prebid Native"===a.message){if("assetRequest"===a.action){var d=(0,i.eK)(a,s);return void e.source.postMessage(JSON.stringify(d),e.origin)}if("allAssetRequest"===a.action){var u=(0,i.JL)(a,s);e.source.postMessage(JSON.stringify(u),e.origin)}else"resizeNativeHeight"===a.action&&(s.height=a.height,s.width=a.width,ne(s));if("click"===(0,i.e6)(a,s))return;$.addWinningBid(s),n().emit(ee,s)}}}function ne(e){var r=e.adId,n=e.adUnitCode,i=e.width,o=e.height;["div","iframe"].forEach((function(e){var a=function(e){var t=function(e,t){return window.googletag?function(e){return f()(window.googletag.pubads().getSlots(),(function(t){return f()(t.getTargetingKeys(),(function(r){return w()(t.getTargeting(r),e)}))})).getSlotElementId()}(e):window.apntag?function(e){var t=window.apntag.getTag(e);return t&&t.targetId}(t):t}(r,n),i=document.getElementById(t);return i&&i.querySelector(e)}(e+':not([style*="display: none"])');if(a){var s=a.style;s.width=i+"px",s.height=o+"px"}else(0,t.logWarn)("Unable to locate matching page element for adUnitCode ".concat(n,". Can't resize it to ad's dimensions. Please review setup."))}))}var ie=__webpack_require__(458);function oe(e){return oe="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},oe(e)}function ae(){return ae=Object.assign?Object.assign.bind():function(e){for(var t=1;te.length)&&(t=e.length);for(var r=0,n=new Array(t);r(0,t.timestamp)()},isUnusedBid:function(e){return e&&(e.status&&!w()([le.BID_STATUS.RENDERED],e.status)||!e.status)}},be=(0,y.z3)("sync",(function(e,r){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:0;if(!(arguments.length>3&&void 0!==arguments[3]&&arguments[3])){var i=[],o=c.vc.getConfig("sendBidsControl.dealPrioritization"),a=(0,t.groupBy)(e,"adUnitCode");return Object.keys(a).forEach((function(e){var s=[],c=(0,t.groupBy)(a[e],"bidderCode");Object.keys(c).forEach((function(e){return s.push(c[e].reduce(r))})),n>0?(s=o?s.sort(ve(!0)):s.sort((function(e,t){return t.cpm-e.cpm})),i.push.apply(i,ce(s.slice(0,n)))):i.push.apply(i,ce(s))})),i}return e}));function ve(){var e=arguments.length>0&&void 0!==arguments[0]&&arguments[0];return function(t,r){return void 0!==t.adserverTargeting.hb_deal&&void 0===r.adserverTargeting.hb_deal?-1:void 0===t.adserverTargeting.hb_deal&&void 0!==r.adserverTargeting.hb_deal?1:e?r.cpm-t.cpm:r.adserverTargeting.hb_pb-t.adserverTargeting.hb_pb}}var he,ye,_e=function(e){var r={},n={};function o(e,t){return e.adserverTargeting&&t&&(ue.isArray(t)&&w()(t,e.adUnitCode)||"string"==typeof t&&e.adUnitCode===t)}function a(t){return"string"==typeof t?[t]:ue.isArray(t)?t:e.getAdUnitCodes()||[]}function s(){var r=e.getBidsReceived();return c.vc.getConfig("useBidCache")||(r=r.filter((function(e){return n[e.adUnitCode]===e.auctionId}))),r=r.filter((function(e){return(0,t.deepAccess)(e,"video.context")!==E.Oh})).filter((function(e){return"banner"!==e.mediaType||(0,ie.lO)([e.width,e.height])})).filter(ge.isUnusedBid).filter(ge.isBidNotExpired),be(r,t.getOldestHighestCpmBid)}function d(e,t){var n=r.getWinningBids(e,t),i=u();return n=n.map((function(e){return se({},e.adUnitCode,Object.keys(e.adserverTargeting).filter((function(t){return void 0===e.sendStandardTargeting||e.sendStandardTargeting||-1===i.indexOf(t)})).reduce((function(t,r){var n=[e.adserverTargeting[r]],i=se({},r.substring(0,fe),n);if(r===le.TARGETING_KEYS.DEAL){var o=se({},"".concat(r,"_").concat(e.bidderCode).substring(0,fe),n);return[].concat(ce(t),[i,o])}return[].concat(ce(t),[i])}),[]))})),n}function u(){return e.getStandardBidderAdServerTargeting().map((function(e){return e.key})).concat(me).filter(t.uniques)}function l(e,r,n,i){return Object.keys(r.adserverTargeting).filter(p()).forEach((function(n){e.length&&e.filter(function(e){return function(t){return t.adUnitCode===r.adUnitCode&&t.adserverTargeting[e]}}(n)).forEach(function(e){return function(n){ue.isArray(n.adserverTargeting[e])||(n.adserverTargeting[e]=[n.adserverTargeting[e]]),n.adserverTargeting[e]=n.adserverTargeting[e].concat(r.adserverTargeting[e]).filter(t.uniques),delete r.adserverTargeting[e]}}(n))})),e.push(r),e}function p(){var e=u().concat(i.xc);return function(t){return-1===e.indexOf(t)}}function m(e){return se({},e.adUnitCode,Object.keys(e.adserverTargeting).filter(p()).map((function(t){return se({},t.substring(0,fe),[e.adserverTargeting[t]])})))}function g(e,t){return t.map((function(t){return se({},"".concat(t,"_").concat(e.bidderCode).substring(0,fe),[e.adserverTargeting[t]])}))}return r.setLatestAuctionForAdUnit=function(e,t){n[e]=t},r.resetPresetTargeting=function(r,n){if((0,t.isGptPubadsDefined)()){var i=a(r),o=e.getAdUnits().filter((function(e){return w()(i,e.code)}));window.googletag.pubads().getSlots().forEach((function(e){var t=ue.isFn(n)&&n(e);pe.forEach((function(r){o.forEach((function(n){(n.code===e.getAdUnitPath()||n.code===e.getSlotElementId()||ue.isFn(t)&&t(n.code))&&e.setTargeting(r,null)}))}))}))}},r.resetPresetTargetingAST=function(e){a(e).forEach((function(e){var t=window.apntag.getTag(e);if(t&&t.keywords){var r=Object.keys(t.keywords),n={};r.forEach((function(e){w()(pe,e.toLowerCase())||(n[e]=t.keywords[e])})),window.apntag.modifyTag(e,{keywords:n})}}))},r.getAllTargeting=function(r){var n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:s(),u=a(r),p=d(u,n).concat(function(e,t){return t.filter((function(t){return w()(e,t.adUnitCode)})).map((function(e){return ae({},e)})).reduce(l,[]).map(m).filter((function(e){return e}))}(u,n)).concat(c.vc.getConfig("enableSendAllBids")?function(e,r){var n=me.concat(i.xc),a=c.vc.getConfig("sendBidsControl.bidLimit"),s=be(r,t.getHighestCpm,a),d=c.vc.getConfig("targetingControls.allowSendAllBidsTargetingKeys"),u=d?d.map((function(e){return le.TARGETING_KEYS[e]})):n;return s.map((function(t){if(o(t,e))return se({},t.adUnitCode,g(t,n.filter((function(e){return void 0!==t.adserverTargeting[e]&&-1!==u.indexOf(e)}))))})).filter((function(e){return e}))}(u,n):function(e,r){if(!0===c.vc.getConfig("targetingControls.alwaysIncludeDeals")){var n=me.concat(i.xc);return be(r,t.getHighestCpm).map((function(t){if(t.dealId&&o(t,e))return se({},t.adUnitCode,g(t,n.filter((function(e){return void 0!==t.adserverTargeting[e]}))))})).filter((function(e){return e}))}return[]}(u,n)).concat(function(r){function n(e){return(0,t.deepAccess)(e,le.JSON_MAPPING.ADSERVER_TARGETING)}function i(e){var t=n(e);return Object.keys(t).map((function(e){return se({},e,ue.isArray(t[e])?t[e]:t[e].split(","))}))}return e.getAdUnits().filter((function(e){return w()(r,e.code)&&n(e)})).map((function(e){return se({},e.code,i(e))}))}(u));p.map((function(e){Object.keys(e).map((function(t){e[t].map((function(e){-1===pe.indexOf(Object.keys(e)[0])&&(pe=Object.keys(e).concat(pe))}))}))}));var b=Object.keys(ae({},le.DEFAULT_TARGETING_KEYS,le.NATIVE_KEYS)),v=c.vc.getConfig("targetingControls.allowTargetingKeys")||b;Array.isArray(v)&&v.length>0&&(p=function(e,r){var n=ae({},le.TARGETING_KEYS,le.NATIVE_KEYS),i=Object.keys(n),o={};(0,t.logInfo)("allowTargetingKeys - allowed keys [ ".concat(r.map((function(e){return n[e]})).join(", ")," ]")),e.map((function(e){var t=Object.keys(e)[0],a=e[t].filter((function(e){var t=Object.keys(e)[0],a=0===i.filter((function(e){return 0===t.indexOf(n[e])})).length||f()(r,(function(e){var r=n[e];return 0===t.indexOf(r)}));return o[t]=!a,a}));e[t]=a}));var a=Object.keys(o).filter((function(e){return o[e]}));return(0,t.logInfo)("allowTargetingKeys - removed keys [ ".concat(a.join(", ")," ]")),e.filter((function(e){return e[Object.keys(e)[0]].length>0}))}(p,v)),p=function(e){var t=e.map((function(e){return se({},Object.keys(e)[0],e[Object.keys(e)[0]].map((function(e){return se({},Object.keys(e)[0],e[Object.keys(e)[0]].join(", "))})).reduce((function(e,t){return ae(t,e)}),{}))})).reduce((function(e,t){var r=Object.keys(t)[0];return e[r]=ae({},e[r],t[r]),e}),{});return t}(p);var h=c.vc.getConfig("targetingControls.auctionKeyMaxChars");return h&&((0,t.logInfo)("Detected 'targetingControls.auctionKeyMaxChars' was active for this auction; set with a limit of ".concat(h," characters. Running checks on auction keys...")),p=function(e,r){var n=(0,t.deepClone)(e),i=Object.keys(n).map((function(e){return{adUnitCode:e,adserverTargeting:n[e]}})).sort(ve());return i.reduce((function(e,i,o,a){var s,c=(s=i.adserverTargeting,Object.keys(s).reduce((function(e,t){return e+"".concat(t,"%3d").concat(encodeURIComponent(s[t]),"%26")}),""));o+1===a.length&&(c=c.slice(0,-3));var d=i.adUnitCode,u=c.length;return u<=r?(r-=u,(0,t.logInfo)("AdUnit '".concat(d,"' auction keys comprised of ").concat(u," characters. Deducted from running threshold; new limit is ").concat(r),n[d]),e[d]=n[d]):(0,t.logWarn)("The following keys for adUnitCode '".concat(d,"' exceeded the current limit of the 'auctionKeyMaxChars' setting.\nThe key-set size was ").concat(u,", the current allotted amount was ").concat(r,".\n"),n[d]),o+1===a.length&&0===Object.keys(e).length&&(0,t.logError)("No auction targeting keys were permitted due to the setting in setConfig(targetingControls.auctionKeyMaxChars). Please review setup and consider adjusting."),e}),{})}(p,h)),u.forEach((function(e){p[e]||(p[e]={})})),p},r.setTargetingForGPT=function(e,r){window.googletag.pubads().getSlots().forEach((function(n){Object.keys(e).filter(r?r(n):(0,t.isAdUnitCodeMatchingSlot)(n)).forEach((function(t){return Object.keys(e[t]).forEach((function(r){var i=e[t][r];"string"==typeof i&&(i=i.split(",")),(i=i.length>1?[i]:i).map((function(e){return ue.logMessage("Attempting to set key value for slot: ".concat(n.getSlotElementId()," key: ").concat(r," value: ").concat(e)),e})).forEach((function(e){n.setTargeting(r,e)}))}))}))}))},r.getWinningBids=function(e){var r=arguments.length>1&&void 0!==arguments[1]?arguments[1]:s(),n=a(e);return r.filter((function(e){return w()(n,e.adUnitCode)})).filter((function(e){return e.cpm>0})).map((function(e){return e.adUnitCode})).filter(t.uniques).map((function(e){return r.filter((function(t){return t.adUnitCode===e?t:null})).reduce(t.getHighestCpm)}))},r.setTargetingForAst=function(e){var t=r.getAllTargeting(e);try{r.resetPresetTargetingAST(e)}catch(e){ue.logError("unable to reset targeting for AST"+e)}Object.keys(t).forEach((function(e){return Object.keys(t[e]).forEach((function(r){if(ue.logMessage("Attempting to set targeting for targetId: ".concat(e," key: ").concat(r," value: ").concat(t[e][r])),ue.isStr(t[e][r])||ue.isArray(t[e][r])){var n={};r.search(/pt[0-9]/)<0?n[r.toUpperCase()]=t[e][r]:n[r]=t[e][r],window.apntag.setKeywords(e,n,{overrideKeyValue:!0})}}))}))},r.isApntagDefined=function(){if(window.apntag&&ue.isFn(window.apntag.setKeywords))return!0},r}($),we="publypbjs:debugging";function Ie(e){(0,t.logMessage)("DEBUG: "+e)}function Ee(e){(0,t.logWarn)("DEBUG: "+e)}function Se(e){he=ke.bind(e),N.before(he,5),ye=ze.bind(e),L.before(ye,5)}function Ae(){N.getHooks({hook:he}).remove(),L.getHooks({hook:ye}).remove()}function Te(e){var t=arguments.length>1&&void 0!==arguments[1]&&arguments[1];c.vc.setConfig({debug:!0}),Ae(),Se(e),Ie("bidder overrides enabled".concat(t?" from session":""))}function xe(e,t,r){return!(!e.bidder||e.bidder===t)||!(!e.adUnitCode||e.adUnitCode===r)}function Ce(e,t){return Array.isArray(e)&&-1===e.indexOf(t)}function Oe(e,t,r){return Object.keys(e).filter((function(e){return-1===["adUnitCode","bidder"].indexOf(e)})).reduce((function(t,n){return Ie("bidder overrides changed '".concat(t.adUnitCode,"/").concat(t.bidderCode,"' ").concat(r,".").concat(n," from '").concat(t[n],".js' to '").concat(e[n],"'")),t[n]=e[n],t}),t)}function ke(e,t,r){var n=this;Ce(n.bidders,r.bidderCode)?Ee("bidder '".concat(r.bidderCode,"' excluded from auction by bidder overrides")):(Array.isArray(n.bids)&&n.bids.forEach((function(e){xe(e,r.bidderCode,t)||Oe(e,r,"bidder")})),e(t,r))}function ze(e,t){var r=this,n=t.filter((function(e){return!Ce(r.bidders,e.bidderCode)||(Ee("bidRequest '".concat(e.bidderCode,"' excluded from auction by bidder overrides")),!1)}));Array.isArray(r.bidRequests)&&n.forEach((function(e){r.bidRequests.forEach((function(t){e.bids.forEach((function(r){xe(t,e.bidderCode,r.adUnitCode)||Oe(t,r,"bidRequest")}))}))})),e(n)}function Re(e){if(e.enabled){try{window.sessionStorage.setItem(we,JSON.stringify(e))}catch(e){}Te(e)}else{Ae(),Ie("bidder overrides disabled");try{window.sessionStorage.removeItem(we)}catch(e){}}}c.vc.getConfig("debugging",(function(e){return Re(e.debugging)}));var Pe=__webpack_require__(9467),De=__webpack_require__(8322),je=__webpack_require__(6064);function Be(e){return Be="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},Be(e)}function Me(e){return function(e){if(Array.isArray(e))return Ue(e)}(e)||function(e){if("undefined"!=typeof Symbol&&null!=e[Symbol.iterator]||null!=e["@@iterator"])return Array.from(e)}(e)||function(e,t){if(!e)return;if("string"==typeof e)return Ue(e,t);var r=Object.prototype.toString.call(e).slice(8,-1);"Object"===r&&e.constructor&&(r=e.constructor.name);if("Map"===r||"Set"===r)return Array.from(e);if("Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r))return Ue(e,t)}(e)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function Ue(e,t){(null==t||t>e.length)&&(t=e.length);for(var r=0,n=new Array(t);r0)&&(e.every((function(e){return(0,t.isArrayOfNums)(e,2)}))?n=e:(0,t.isArrayOfNums)(e,2)&&n.push(e)),n}function dt(e){var t=Fe.deepClone(e),r=t.mediaTypes.banner,n=ct(r.sizes);return n.length>0?(r.sizes=n,t.sizes=n):(Fe.logError("Detected a mediaTypes.banner object without a proper sizes field. Please ensure the sizes are listed like: [[300, 250], ...]. Removing invalid mediaTypes.banner object from request."),delete t.mediaTypes.banner),t}function ut(e){var t=Fe.deepClone(e),r=t.mediaTypes.video;if(r.playerSize){var n="number"==typeof r.playerSize[0]?2:1,i=ct(r.playerSize,n);i.length>0?(2===n&&Fe.logInfo("Transforming video.playerSize from [640,480] to [[640,480]] so it's in the proper format."),r.playerSize=i,t.sizes=i):(Fe.logError("Detected incorrect configuration of mediaTypes.video.playerSize. Please specify only one set of dimensions in a format like: [[640, 480]]. Removing invalid mediaTypes.video.playerSize property from request."),delete t.mediaTypes.video.playerSize)}return t}function lt(e){var t=Fe.deepClone(e),r=t.mediaTypes.native;return r.image&&r.image.sizes&&!Array.isArray(r.image.sizes)&&(Fe.logError("Please use an array of sizes for native.image.sizes field. Removing invalid mediaTypes.native.image.sizes property from request."),delete t.mediaTypes.native.image.sizes),r.image&&r.image.aspect_ratios&&!Array.isArray(r.image.aspect_ratios)&&(Fe.logError("Please use an array of sizes for native.image.aspect_ratios field. Removing invalid mediaTypes.native.image.aspect_ratios property from request."),delete t.mediaTypes.native.image.aspect_ratios),r.icon&&r.icon.sizes&&!Array.isArray(r.icon.sizes)&&(Fe.logError("Please use an array of sizes for native.icon.sizes field. Removing invalid mediaTypes.native.icon.sizes property from request."),delete t.mediaTypes.native.icon.sizes),t}!function(e){var t;try{e=e||window.sessionStorage,t=JSON.parse(e.getItem(we))}catch(e){}t&&Te(t,!0)}(),We.bidderSettings=We.bidderSettings||{},We.libLoaded=!0,We.version="v4.43.4",Fe.logInfo("Prebid.js v4.43.4 loaded"),We.installedModules=["v$prebid.modulesList$"],We.adUnits=We.adUnits||[],We.triggerUserSyncs=Ke;var pt=(0,y.z3)("sync",(function(e){var t=[];return e.forEach((function(e){var r,n,i,o=e.mediaTypes,a=e.bids;if(a&&Fe.isArray(a))if(o&&0!==Object.keys(o).length){o.banner&&(r=dt(e)),o.video&&(n=ut(r||e)),o.native&&(i=lt(n||(r||e)));var s=Le({},r,n,i);t.push(s)}else Fe.logError("Detected adUnit.code '".concat(e.code,"' did not have a 'mediaTypes' object defined. This is a required field for the auction, so this adUnit has been removed."));else Fe.logError("Detected adUnit.code '".concat(e.code,"' did not have 'adUnit.bids' defined or 'adUnit.bids' is not an array. Removing adUnit from auction."))})),t}),"checkAdUnitSetup");function ft(e){var r=$[e]().filter(Fe.bind.call(t.adUnitsFilter,this,$.getAdUnitCodes())),n=$.getLastAuctionId();return r.map((function(e){return e.adUnitCode})).filter(t.uniques).map((function(e){return r.filter((function(t){return t.auctionId===n&&t.adUnitCode===e}))})).filter((function(e){return e&&e[0]&&e[0].adUnitCode})).map((function(e){return Ne({},e[0].adUnitCode,{bids:e})})).reduce((function(e,t){return Le(e,t)}),{})}function mt(e){var t=e.reason,r=e.message,n=e.bid,i=e.id,o={reason:t,message:r};n&&(o.bid=n),i&&(o.adId=i),Fe.logError(r),Ve.emit(Qe,o)}We.getAdserverTargetingForAdUnitCodeStr=function(e){if(Fe.logInfo("Invoking publypbjs.getAdserverTargetingForAdUnitCodeStr",arguments),e){var t=We.getAdserverTargetingForAdUnitCode(e);return Fe.transformAdServerTargetingObj(t)}Fe.logMessage("Need to call getAdserverTargetingForAdUnitCodeStr with adunitCode")},We.getHighestUnusedBidResponseForAdUnitCode=function(e){if(e){var r=$.getAllBidsForAdUnitCode(e).filter(ge.isUnusedBid).filter(ge.isBidNotExpired);return r.length?r.reduce(t.getHighestCpm):{}}Fe.logMessage("Need to call getHighestUnusedBidResponseForAdUnitCode with adunitCode")},We.getAdserverTargetingForAdUnitCode=function(e){return We.getAdserverTargeting(e)[e]},We.getAdserverTargeting=function(e){return Fe.logInfo("Invoking publypbjs.getAdserverTargeting",arguments),_e.getAllTargeting(e)},We.getNoBids=function(){return Fe.logInfo("Invoking publypbjs.getNoBids",arguments),ft("getNoBids")},We.getNoBidsForAdUnitCode=function(e){return{bids:$.getNoBids().filter((function(t){return t.adUnitCode===e}))}},We.getBidResponses=function(){return Fe.logInfo("Invoking publypbjs.getBidResponses",arguments),ft("getBidsReceived")},We.getBidResponsesForAdUnitCode=function(e){return{bids:$.getBidsReceived().filter((function(t){return t.adUnitCode===e}))}},We.setTargetingForGPTAsync=function(e,r){if(Fe.logInfo("Invoking publypbjs.setTargetingForGPTAsync",arguments),(0,t.isGptPubadsDefined)()){var n=_e.getAllTargeting(e);_e.resetPresetTargeting(e,r),_e.setTargetingForGPT(n,r),Object.keys(n).forEach((function(e){Object.keys(n[e]).forEach((function(t){"hb_adid"===t&&$.setStatusForBids(n[e][t],qe.BID_STATUS.BID_TARGETING_SET)}))})),Ve.emit(Je,n)}else Fe.logError("window.googletag is not defined on the page")},We.setTargetingForAst=function(e){Fe.logInfo("Invoking publypbjs.setTargetingForAn",arguments),_e.isApntagDefined()?(_e.setTargetingForAst(e),Ve.emit(Je,_e.getAllTargeting())):Fe.logError("window.apntag is not defined on the page")},We.renderAd=function(e,t,r){if(Fe.logInfo("Invoking publypbjs.renderAd",arguments),Fe.logMessage("Calling renderAd with adId :"+t),e&&t)try{var n=$.findBidByAdId(t);if(n){var i=!0;if(n&&n.status===qe.BID_STATUS.RENDERED&&(Fe.logWarn("Ad id ".concat(n.adId," has been rendered before")),Ve.emit($e,n),Fe.deepAccess(c.vc.getConfig("auctionOptions"),"suppressStaleRender")&&(i=!1)),i){if(n.ad=Fe.replaceAuctionPrice(n.ad,n.cpm),n.adUrl=Fe.replaceAuctionPrice(n.adUrl,n.cpm),r&&r.clickThrough){var o=r.clickThrough;n.ad=Fe.replaceClickThrough(n.ad,o),n.adUrl=Fe.replaceClickThrough(n.adUrl,o)}$.addWinningBid(n),Ve.emit(Ze,n);var a=n.height,s=n.width,d=n.ad,u=n.mediaType,l=n.adUrl,p=n.renderer,f=document.createComment("Creative ".concat(n.creativeId," served by ").concat(n.bidder," Prebid.js Header Bidding"));if(Fe.insertElement(f,e,"body"),b(p))v(p,n);else if(e===document&&!Fe.inIframe()||"video"===u){var m="Error trying to write ad. Ad render call ad id ".concat(t," was prevented from writing to the main document.");mt({reason:tt,message:m,bid:n,id:t})}else if(d){if(navigator.userAgent&&navigator.userAgent.toLowerCase().indexOf("firefox/")>-1){var g=navigator.userAgent.toLowerCase().match(/firefox\/([\d\.]+)/)[1];g&&parseInt(g,10)<67&&e.open("text/html","replace")}e.write(d),e.close(),st(e,s,a),Fe.callBurl(n)}else if(l){var h=Fe.createInvisibleIframe();h.height=a,h.width=s,h.style.display="inline",h.style.overflow="hidden",h.src=l,Fe.insertElement(h,e,"body"),st(e,s,a),Fe.callBurl(n)}else{var y="Error trying to write ad. No ad for bid response id: ".concat(t);mt({reason:rt,message:y,bid:n,id:t})}}}else{var _="Error trying to write ad. Cannot find ad by given id : ".concat(t);mt({reason:it,message:_,id:t})}}catch(e){var w="Error trying to write ad Id :".concat(t," to the page:").concat(e.message);mt({reason:nt,message:w,id:t})}else{var I="Error trying to write ad Id :".concat(t," to the page. Missing document or adId");mt({reason:ot,message:I,id:t})}},We.removeAdUnit=function(e){(Fe.logInfo("Invoking publypbjs.removeAdUnit",arguments),e)?(Fe.isArray(e)?e:[e]).forEach((function(e){for(var t=We.adUnits.length-1;t>=0;t--)We.adUnits[t].code===e&&We.adUnits.splice(t,1)})):We.adUnits=[]},We.requestBids=(0,y.z3)("async",(function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=e.bidsBackHandler,r=e.timeout,n=e.adUnits,i=e.adUnitCodes,o=e.labels,a=e.auctionId;Ve.emit(Xe);var s=r||c.vc.getConfig("bidderTimeout");n=n&&c.vc.convertAdUnitFpd(Fe.isArray(n)?n:[n])||We.adUnits,Fe.logInfo("Invoking publypbjs.requestBids",arguments);var d=[],u=[];if(c.vc.getConfig("s2sConfig",(function(e){e&&e.s2sConfig&&(d=Array.isArray(e.s2sConfig)?e.s2sConfig:[e.s2sConfig])})),d.forEach((function(e){u.push.apply(u,Me(e.bidders))})),n=pt(n),i&&i.length?n=n.filter((function(e){return w()(i,e.code)})):i=n&&n.map((function(e){return e.code})),n.forEach((function(e){var t=Object.keys(e.mediaTypes||{banner:"banner"}),r=e.bids.map((function(e){return e.bidder})),n=Ge.bidderRegistry,i=u?r.filter((function(e){return!w()(u,e)})):r;e.transactionId=Fe.generateUUID(),i.forEach((function(r){var i=n[r],o=i&&i.getSpec&&i.getSpec(),a=o&&o.supportedMediaTypes||["banner"];t.some((function(e){return w()(a,e)}))?Pe.f.incrementBidderRequestsCounter(e.code,r):(Fe.logWarn(Fe.unsupportedBidderMessage(e,r)),e.bids=e.bids.filter((function(e){return e.bidder!==r})))})),Pe.f.incrementRequestsCounter(e.code)})),n&&0!==n.length){var l=$.createAuction({adUnits:n,adUnitCodes:i,callback:t,cbTimeout:s,labels:o,auctionId:a}),p=n.length;p>15&&Fe.logInfo("Current auction ".concat(l.getAuctionId()," contains ").concat(p," adUnits."),n),i.forEach((function(e){return _e.setLatestAuctionForAdUnit(e,l.getAuctionId())})),l.callBids()}else if(Fe.logMessage("No adUnits configured. No bids requested."),"function"==typeof t)try{t()}catch(e){Fe.logError("Error executing bidsBackHandler",null,e)}})),We.requestBids.before((function(e,t){function r(e){for(var t;t=e.shift();)t()}r(je.Ld),r(gt),e.call(this,t)}),49),We.addAdUnits=function(e){Fe.logInfo("Invoking publypbjs.addAdUnits",arguments),We.adUnits.push.apply(We.adUnits,c.vc.convertAdUnitFpd(Fe.isArray(e)?e:[e])),Ve.emit(Ye)},We.onEvent=function(e,t,r){Fe.logInfo("Invoking publypbjs.onEvent",arguments),Fe.isFn(t)?!r||at[e].call(null,r)?Ve.on(e,t,r):Fe.logError('The id provided is not valid for event "'+e+'" and no handler was set.'):Fe.logError('The event handler provided is not a function and was not set on event "'+e+'".')},We.offEvent=function(e,t,r){Fe.logInfo("Invoking publypbjs.offEvent",arguments),r&&!at[e].call(null,r)||Ve.off(e,t,r)},We.getEvents=function(){return Fe.logInfo("Invoking publypbjs.getEvents"),Ve.getEvents()},We.registerBidAdapter=function(e,t){Fe.logInfo("Invoking publypbjs.registerBidAdapter",arguments);try{Ge.registerBidAdapter(e(),t)}catch(e){Fe.logError("Error registering bidder adapter : "+e.message)}},We.registerAnalyticsAdapter=function(e){Fe.logInfo("Invoking publypbjs.registerAnalyticsAdapter",arguments);try{Ge.registerAnalyticsAdapter(e)}catch(e){Fe.logError("Error registering analytics adapter : "+e.message)}},We.createBid=function(e){return Fe.logInfo("Invoking publypbjs.createBid",arguments),(0,De.m)(e)};var gt=[],bt=(0,y.z3)("async",(function(e){e&&!Fe.isEmpty(e)?(Fe.logInfo("Invoking publypbjs.enableAnalytics for: ",e),Ge.enableAnalytics(e)):Fe.logError("publypbjs.enableAnalytics should be called with option {}")}),"enableAnalyticsCb");function vt(e){e.forEach((function(e){if(void 0===e.called)try{e.call(),e.called=!0}catch(e){Fe.logError("Error processing command :","prebid.js",e)}}))}We.enableAnalytics=function(e){gt.push(bt.bind(this,e))},We.aliasBidder=function(e,t,r){Fe.logInfo("Invoking publypbjs.aliasBidder",arguments),e&&t?Ge.aliasBidAdapter(e,t,r):Fe.logError("bidderCode and alias must be passed as arguments","publypbjs.aliasBidder")},We.getAllWinningBids=function(){return $.getAllWinningBids()},We.getAllPrebidWinningBids=function(){return $.getBidsReceived().filter((function(e){return e.status===qe.BID_STATUS.BID_TARGETING_SET}))},We.getHighestCpmBids=function(e){return _e.getWinningBids(e)},We.markWinningBidAsUsed=function(e){var t=[];e.adUnitCode&&e.adId?t=$.getBidsReceived().filter((function(t){return t.adId===e.adId&&t.adUnitCode===e.adUnitCode})):e.adUnitCode?t=_e.getWinningBids(e.adUnitCode):e.adId?t=$.getBidsReceived().filter((function(t){return t.adId===e.adId})):Fe.logWarn("Improper use of markWinningBidAsUsed. It needs an adUnitCode or an adId to function."),t.length>0&&(t[0].status=qe.BID_STATUS.RENDERED)},We.getConfig=c.vc.getConfig,We.setConfig=c.vc.setConfig,We.setBidderConfig=c.vc.setBidderConfig,We.que.push((function(){window.addEventListener("message",re,!1)})),We.cmd.push=function(e){if("function"==typeof e)try{e.call()}catch(e){Fe.logError("Error processing command :",e.message,e.stack)}else Fe.logError("Commands written into publypbjs.cmd.push must be wrapped in a function")},We.que.push=We.cmd.push,We.processQueue=function(){y.z3.ready(),vt(We.que),vt(We.cmd)};var ht=__webpack_require__(9141),yt=__webpack_require__(3308),_t=__webpack_require__.n(yt);function wt(e){return wt="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},wt(e)}function It(e,t,r){return(t=function(e){var t=function(e,t){if("object"!==wt(e)||null===e)return e;var r=e[Symbol.toPrimitive];if(void 0!==r){var n=r.call(e,t||"default");if("object"!==wt(n))return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(e,"string");return"symbol"===wt(t)?t:String(t)}(t))in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}var Et,St,At,Tt,xt,Ct="iab",Ot=1e4,kt=!0,zt={value:kt,definedInConfig:!1},Rt=0,Pt=!1,Dt={iab:function(e,r,n){function i(i,o){t.logInfo("Received a response from CMP",i),o?!1!==i.gdprApplies&&"tcloaded"!==i.eventStatus&&"useractioncomplete"!==i.eventStatus||e(i,n):r("CMP unable to register callback function. Please check CMP setup.",n)}var o=function(){var r={};function i(){r.getConsentData&&r.getVendorConsents&&(t.logInfo("Received all requested responses from CMP",r),e(r,n))}return{consentDataCallback:function(e){r.getConsentData=e,i()},vendorConsentsCallback:function(e){r.getVendorConsents=e,i()}}}(),a={},s=function(){for(var e,t,r=window;!e;){try{if("function"==typeof r.__tcfapi||"function"==typeof r.__cmp){"function"==typeof r.__tcfapi?(Rt=2,t=r.__tcfapi):(Rt=1,t=r.__cmp),e=r;break}}catch(e){}try{if(r.frames.__tcfapiLocator){Rt=2,e=r;break}}catch(e){}try{if(r.frames.__cmpLocator){Rt=1,e=r;break}}catch(e){}if(r===window.top)break;r=r.parent}return{cmpFrame:e,cmpFunction:t}}(),c=s.cmpFrame,d=s.cmpFunction;if(!c)return r("CMP not found.",n);t.isFn(d)?(t.logInfo("Detected CMP API is directly accessible, calling it now..."),1===Rt?(d("getConsentData",null,o.consentDataCallback),d("getVendorConsents",null,o.vendorConsentsCallback)):2===Rt&&d("addEventListener",Rt,i)):1===Rt&&window.$sf&&window.$sf.ext&&"function"==typeof window.$sf.ext.cmp?(t.logInfo("Detected Prebid.js is encased in a SafeFrame and CMP is registered, calling it now..."),u("getConsentData",o.consentDataCallback),u("getVendorConsents",o.vendorConsentsCallback)):(t.logInfo("Detected CMP is outside the current iframe where Prebid.js is located, calling it now..."),1===Rt?(l("getConsentData",c,o.consentDataCallback),l("getVendorConsents",c,o.vendorConsentsCallback)):2===Rt&&l("addEventListener",c,i));function u(e,r){var i=n.adUnits,o=1,a=1;if(Array.isArray(i)&&i.length>0){var s=t.getAdUnitSizes(i[0]);o=s[0][0],a=s[0][1]}window.$sf.ext.register(o,a,(function(t,n){if("cmpReturn"===t){var i="getConsentData"===e?n.vendorConsentData:n.vendorConsents;r(i)}})),window.$sf.ext.cmp(e)}function l(e,t,r){var n=2===Rt?"__tcfapi":"__cmp",i="".concat(n,"Call");function o(e){var t="".concat(n,"Return"),r="string"==typeof e.data&&_t()(e.data,t)?JSON.parse(e.data):e.data;if(r[t]&&r[t].callId){var i=r[t];void 0!==a[i.callId]&&a[i.callId](i.returnValue,i.success)}}2===Rt?(window[n]=function(e,r,n,o){var s=Math.random()+"",c=It({},i,{command:e,version:r,parameter:o,callId:s});a[s]=n,t.postMessage(c,"*")},window.addEventListener("message",o,!1),window[n](e,Rt,r)):(window[n]=function(e,r,n){var o=Math.random()+"",s=It({},i,{command:e,parameter:r,callId:o});a[o]=n,t.postMessage(s,"*")},window.addEventListener("message",o,!1),window[n](e,void 0,r))}},static:function(e,t,r){e(Tt,r)}};function jt(e,r){var n={context:this,args:[r],nextFn:e,adUnits:r.adUnits||publypbjs.adUnits,bidsBackHandler:r.bidsBackHandler,haveExited:!1,timer:null};return xt?(t.logInfo("User consent information already known. Pulling internally stored information..."),Lt(null,n)):w()(Object.keys(Dt),Et)?(Dt[Et].call(this,Bt,Ut,n),void(n.haveExited||(0===St?Bt(void 0,n):n.timer=setTimeout(Mt.bind(null,n),St)))):(t.logWarn("CMP framework (".concat(Et,") is not a supported framework. Aborting consentManagement module and resuming auction.")),n.nextFn.apply(n.context,n.args))}function Bt(e,r){"static"===Et&&2===(Rt=e.getConsentData?1:e.getTCData?2:0)&&(e=e.getTCData);var n=1===Rt?function(e){var r=e&&e.getConsentData&&e.getConsentData.gdprApplies;return!("boolean"==typeof r&&(!0!==r||t.isStr(e.getConsentData.consentData)&&t.isPlainObject(e.getVendorConsents)&&Object.keys(e.getVendorConsents).length>1))}:2===Rt?function(){var r=e&&"boolean"==typeof e.gdprApplies?e.gdprApplies:At,n=e&&e.tcString;return!("boolean"==typeof r&&(!0!==r||t.isStr(n)))}:null;zt.definedInConfig&&2===Rt?t.logWarn("'allowAuctionWithoutConsent' ignored for TCF 2"):zt.definedInConfig||1!==Rt||t.logInfo("'allowAuctionWithoutConsent' using system default: (".concat(kt,").")),t.isFn(n)?n(e)?Ut("CMP returned unexpected value during lookup process.",r,e):(clearTimeout(r.timer),Nt(e),Lt(null,r)):Ut("Unable to derive CMP version to process data. Consent object does not conform to TCF v1 or v2 specs.",r,e)}function Mt(e){Ut("CMP workflow exceeded timeout threshold.",e)}function Ut(e,t,r){clearTimeout(t.timer),zt.value&&1===Rt&&Nt(void 0),Lt(e,t,r)}function Nt(e){1===Rt?xt={consentString:e?e.getConsentData.consentData:void 0,vendorData:e?e.getVendorConsents:void 0,gdprApplies:e?e.getConsentData.gdprApplies:At}:(xt={consentString:e?e.tcString:void 0,vendorData:e||void 0,gdprApplies:e&&"boolean"==typeof e.gdprApplies?e.gdprApplies:At},e&&e.addtlConsent&&t.isStr(e.addtlConsent)&&(xt.addtlConsent=e.addtlConsent)),xt.apiVersion=Rt,ht.rp.setConsentData(xt)}function Lt(e,r,n){if(!1===r.haveExited){r.haveExited=!0;var i=r.context,o=r.args,a=r.nextFn;e?zt.value&&1===Rt?(t.logWarn(e+" 'allowAuctionWithoutConsent' activated.",n),a.apply(i,o)):(t.logError(e+" Canceling auction as per consentManagement config.",n),"function"==typeof r.bidsBackHandler?r.bidsBackHandler():t.logError("Error executing bidsBackHandler")):a.apply(i,o)}}function Wt(e){return Wt="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},Wt(e)}c.vc.getConfig("consentManagement",(function(e){return function(e){(e=e&&(e.gdpr||e.usp?e.gdpr:e))&&"object"===wt(e)?(t.isStr(e.cmpApi)?Et=e.cmpApi:(Et=Ct,t.logInfo("consentManagement config did not specify cmp. Using system default setting (".concat(Ct,")."))),t.isNumber(e.timeout)?St=e.timeout:(St=Ot,t.logInfo("consentManagement config did not specify timeout. Using system default setting (".concat(Ot,")."))),"boolean"==typeof e.allowAuctionWithoutConsent&&(zt.value=e.allowAuctionWithoutConsent,zt.definedInConfig=!0),At=!0===e.defaultGdprScope,t.logInfo("consentManagement module has been activated..."),"static"===Et&&(t.isPlainObject(e.consentData)?(Tt=e.consentData,St=0):t.logError("consentManagement config with cmpApi: 'static' did not specify consentData. No consents will be available to adapters.")),Pt||publypbjs.requestBids.before(jt,50),Pt=!0):t.logWarn("consentManagement config not defined, exiting consent manager")}(e.consentManagement)}));var qt,Ft="https://cdn.jsdelivr.net/gh/prebid/currency-file@1/latest.json?date=$$TODAY$$",Gt=4,Vt=[],Kt={},Ht=!1,Yt=!0,Zt="USD",Xt=!1,Jt={},Qt={};function $t(r){var n=Ft;if("object"===Wt(r.rates)&&(Jt.conversions=r.rates,Ht=!0,Yt=!1),"object"===Wt(r.defaultRates)&&(qt=r.defaultRates,Jt.conversions=qt,Ht=!0),"string"==typeof r.adServerCurrency){t.logInfo("enabling currency support",arguments),Zt=r.adServerCurrency,r.conversionRateFile&&(t.logInfo("currency using override conversionRateFile:",r.conversionRateFile),n=r.conversionRateFile);var i=n.indexOf("$$TODAY$$");if(-1!==i){var o=new Date,a="".concat(o.getMonth()+1),c="".concat(o.getDate());a.length<2&&(a="0".concat(a)),c.length<2&&(c="0".concat(c));var d="".concat(o.getFullYear()).concat(a).concat(c);n="".concat(n.substring(0,i)).concat(d).concat(n.substring(i+9,n.length))}!function(r){Kt={},Xt=!0,t.logInfo("Installing addBidResponse decorator for currency module",arguments),e().convertCurrency=function(e,t,r){return parseFloat(e)*nr(t,r)},(0,y.v5)("addBidResponse").before(tr,100),Yt&&(Yt=!1,(0,s.h)(r,{success:function(e){try{Jt=JSON.parse(e),t.logInfo("currencyRates set to "+JSON.stringify(Jt)),Ht=!0,rr()}catch(t){er("Failed to parse currencyRates response: "+e)}},error:er}))}(n)}else t.logInfo("disabling currency support"),function(){t.logInfo("Uninstalling addBidResponse decorator for currency module",arguments),(0,y.v5)("addBidResponse").getHooks({hook:tr}).remove(),delete e().convertCurrency,Zt="USD",Kt={},Xt=!1,Ht=!1,Yt=!0,Jt={},Qt={}}();"object"===Wt(r.bidderCurrencyDefault)&&(Qt=r.bidderCurrencyDefault)}function er(e){qt?(t.logWarn(e),t.logWarn("Currency failed loading rates, falling back to currency.defaultRates")):t.logError(e)}function tr(e,r,n){if(!n)return e.call(this,r);var i=n.bidderCode||n.bidder;if(Qt[i]){var a=Qt[i];n.currency&&a!==n.currency?t.logWarn("Currency default '".concat(i,": ").concat(a,"' ignored. adapter specified '").concat(n.currency,"'")):n.currency=a}if(n.currency||(t.logWarn('Currency not specified on bid. Defaulted to "USD"'),n.currency="USD"),n.getCpmInNewCurrency=function(e){return(parseFloat(this.cpm)*nr(this.currency,e)).toFixed(3)},n.currency===Zt)return e.call(this,r,n);Vt.push(function(e,r,n){return function(){var i=n[1];if(void 0!==i&&"currency"in i&&"cpm"in i){var a=i.currency;try{var s=nr(a);1!==s&&(i.cpm=(parseFloat(i.cpm)*s).toFixed(4),i.currency=Zt)}catch(e){t.logWarn("Returning NO_BID, getCurrencyConversion threw error: ",e),n[1]=(0,De.m)(o.STATUS.NO_BID,{bidder:i.bidderCode||i.bidder,bidId:i.requestId})}}return e.apply(r,n)}}(e,this,[r,n])),Xt&&!Ht||rr()}function rr(){for(;Vt.length>0;)Vt.shift()()}function nr(e){var r,n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:Zt,i=null,o="".concat(e,"->").concat(n);if(o in Kt)i=Kt[o],t.logMessage("Using conversionCache value "+i+" for "+o);else if(!1===Xt){if("USD"!==e)throw new Error("Prebid currency support has not been enabled and fromCurrency is not USD");i=1}else if(e===n)i=1;else if(e in Jt.conversions){if(!(n in(r=Jt.conversions[e])))throw new Error("Specified adServerCurrency in config '"+n+"' not found in the currency rates file");i=r[n],t.logInfo("getCurrencyConversion using direct "+e+" to "+n+" conversionRate "+i)}else if(n in Jt.conversions){if(!(e in(r=Jt.conversions[n])))throw new Error("Specified fromCurrency '"+e+"' not found in the currency rates file");i=ir(1/r[e],Gt),t.logInfo("getCurrencyConversion using reciprocal "+e+" to "+n+" conversionRate "+i)}else{var a=Object.keys(Jt.conversions)[0];if(!(e in Jt.conversions[a]))throw new Error("Specified fromCurrency '"+e+"' not found in the currency rates file");var s=1/Jt.conversions[a][e];if(!(n in Jt.conversions[a]))throw new Error("Specified adServerCurrency in config '"+n+"' not found in the currency rates file");i=ir(s*Jt.conversions[a][n],Gt),t.logInfo("getCurrencyConversion using intermediate "+e+" thru "+a+" to "+n+" conversionRate "+i)}return o in Kt||(t.logMessage("Adding conversionCache value "+i+" for "+o),Kt[o]=i),i}function ir(e,t){for(var r=1,n=0;n0&&(a(),r))}(e.config,!(n!==ur.STRICT)))return e.config;(0,t.logError)(or+"due to the 'strict' validation setting, this schain config will not be passed to bidder '".concat(r,"'. See above error for details."))}return null}function fr(e,t){var r=c.vc.getConfig("schain"),n=c.vc.getBidderConfig();t.forEach((function(e){var t=e.bidderCode,i=function(e){return n[e]&&n[e].schain||r}(t);e.bids.forEach((function(e){var r=pr(i,t);r&&(e.schain=r)}))})),e(t)}(0,t._each)(ur,(function(e){return lr.push(e)})),ht.ZP.makeBidRequests.after(fr);var mr=__webpack_require__(5990);function gr(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function br(e){for(var t=1;te.length)&&(t=e.length);for(var r=0,n=new Array(t);r=.01?n.floor:void 0,rp_secure:"1",tk_flint:"".concat(Er.int_type||"pbjs_lite","_v4.43.4"),"x_source.tid":e.transactionId,"x_source.pchain":n.pchain,p_screen_res:[window.screen.width,window.screen.height].join("x"),tk_user_key:n.userId,"p_geo.latitude":isNaN(parseFloat(a))?void 0:parseFloat(a).toFixed(4),"p_geo.longitude":isNaN(parseFloat(s))?void 0:parseFloat(s).toFixed(4),"tg_fl.eid":e.code,rf:Tr(e,r)};if("function"==typeof e.getFloor&&!Er.disableFloors){var u;try{u=e.getFloor({currency:"USD",mediaType:"banner",size:"*"})}catch(e){t.logError("Rubicon: getFloor threw an error: ",e)}d.rp_hard_floor="object"!==wr(u)||"USD"!==u.currency||isNaN(parseInt(u.floor))?void 0:u.floor}d.p_pos="atf"===n.position||"btf"===n.position?n.position:"";var l=c.vc.getConfig("user.id");return l&&(d.ppuid=l),e.userIdAsEids&&e.userIdAsEids.forEach((function(e){try{if("adserver.org"===e.source?(d.tpid_tdid=e.uids[0].id,d["eid_adserver.org"]=e.uids[0].id):"liveintent.com"===e.source?(d["tpid_liveintent.com"]=e.uids[0].id,d["eid_liveintent.com"]=e.uids[0].id,e.ext&&Array.isArray(e.ext.segments)&&e.ext.segments.length&&(d["tg_v.LIseg"]=e.ext.segments.join(","))):"liveramp.com"===e.source?d.x_liverampidl=e.uids[0].id:"sharedid.org"===e.source?d["eid_sharedid.org"]="".concat(e.uids[0].id,"^").concat(e.uids[0].atype,"^").concat(e.uids[0].ext&&e.uids[0].ext.third||""):"id5-sync.com"===e.source?d["eid_id5-sync.com"]="".concat(e.uids[0].id,"^").concat(e.uids[0].atype,"^").concat(e.uids[0].ext&&e.uids[0].ext.linkType||""):d["eid_".concat(e.source)]="".concat(e.uids[0].id,"^").concat(e.uids[0].atype||""),!d.ppuid){var r=f()(e.uids,(function(e){return e.ext&&"ppuid"===e.ext.stype}));r&&r.id&&(d.ppuid=r.id)}}catch(r){t.logWarn("Rubicon: error reading eid:",e,r)}})),r.gdprConsent&&("boolean"==typeof r.gdprConsent.gdprApplies&&(d.gdpr=Number(r.gdprConsent.gdprApplies)),d.gdpr_consent=r.gdprConsent.consentString),r.uspConsent&&(d.us_privacy=encodeURIComponent(r.uspConsent)),d.rp_maxbids=r.bidLimit||1,Or(e,E.Mk,d),!0===c.vc.getConfig("coppa")&&(d.coppa=1),e.schain&&Pr(e.schain)&&(d.rp_schain=Ar.serializeSupplyChain(e.schain)),d},serializeSupplyChain:function(e){if(!Pr(e))return"";var t=e.ver,r=e.complete,n=e.nodes;return"".concat(t,",").concat(r,"!").concat(Ar.serializeSupplyChainNodes(n))},serializeSupplyChainNodes:function(e){var t=["asi","sid","hp","rid","name","domain"];return e.map((function(e){return t.map((function(t){return encodeURIComponent(e[t]||"")})).join(",")})).join("!")},interpretResponse:function(e,r){var n=r.bidRequest;if(!(e=e.body)||"object"!==wr(e))return[];if(e.seatbid){var i=t.deepAccess(e,"ext.errors.rubicon");Array.isArray(i)&&i.length>0&&t.logWarn("Rubicon: Error in video response");var o=[];return e.seatbid.forEach((function(r){(r.bid||[]).forEach((function(i){var a={requestId:n.bidId,currency:e.cur||"USD",creativeId:i.crid,cpm:i.price||0,bidderCode:r.seat,ttl:300,netRevenue:!1!==Er.netRevenue,width:i.w||t.deepAccess(n,"mediaTypes.video.w")||t.deepAccess(n,"params.video.playerWidth"),height:i.h||t.deepAccess(n,"mediaTypes.video.h")||t.deepAccess(n,"params.video.playerHeight")};i.id&&(a.seatBidId=i.id),i.dealid&&(a.dealId=i.dealid),i.adomain&&t.deepSetValue(a,"meta.advertiserDomains",Array.isArray(i.adomain)?i.adomain:[i.adomain]),t.deepAccess(i,"ext.bidder.rp.advid")&&t.deepSetValue(a,"meta.advertiserId",i.ext.bidder.rp.advid);var s=t.deepAccess(e,"ext.responsetimemillis.rubicon");if(n&&s&&(n.serverResponseTimeMs=s),t.deepAccess(i,"ext.prebid.type")===E.pX){a.mediaType=E.pX,t.deepSetValue(a,"meta.mediaType",E.pX);var c=t.deepAccess(i,"ext.prebid.targeting");c&&"object"===wr(c)&&(a.adserverTargeting=c),i.ext.prebid.cache&&"object"===wr(i.ext.prebid.cache.vastXml)&&i.ext.prebid.cache.vastXml.cacheId&&i.ext.prebid.cache.vastXml.url?(a.videoCacheKey=i.ext.prebid.cache.vastXml.cacheId,a.vastUrl=i.ext.prebid.cache.vastXml.url):c&&c.hb_uuid&&c.hb_cache_host&&c.hb_cache_path&&(a.videoCacheKey=c.hb_uuid,a.vastUrl="https://".concat(c.hb_cache_host).concat(c.hb_cache_path,"?uuid=").concat(c.hb_uuid)),i.adm&&(a.vastXml=i.adm),i.nurl&&(a.vastUrl=i.nurl),!a.vastUrl&&i.nurl&&(a.vastUrl=i.nurl),"outstream"===t.deepAccess(n,"mediaTypes.video.context").toLowerCase()&&(a.renderer=function(e){var r=g.install({id:e.adId,url:Er.rendererUrl||Ir,config:Er.rendererConfig||{},loaded:!1,adUnitCode:e.adUnitCode});try{r.setRender(xr)}catch(e){t.logWarn("Prebid Error calling setRender on renderer",e)}return r}(a))}else t.logWarn("Rubicon: video response received non-video media type");o.push(a)}))})),o}var a,s=e.ads,c=0;return"object"!==wr(n)||Array.isArray(n)||"video"!==zr(n)||"object"!==wr(s)||(s=s[n.adUnitCode]),!Array.isArray(s)||s.length<1?[]:s.reduce((function(r,i,o){if(i.impression_id&&a===i.impression_id?c++:a=i.impression_id,"ok"!==i.status)return r;var s,d,u=Array.isArray(n)?n[o-c]:n;if(u&&"object"===wr(u)){var l={requestId:u.bidId,currency:"USD",creativeId:i.creative_id||"".concat(i.network||"","-").concat(i.advertiser||""),cpm:i.cpm||0,dealId:i.deal,ttl:300,netRevenue:!1!==Er.netRevenue,rubicon:{advertiserId:i.advertiser,networkId:i.network},meta:{advertiserId:i.advertiser,networkId:i.network,mediaType:E.Mk}};if(i.creative_type&&(l.mediaType=i.creative_type),i.adomain&&(l.meta.advertiserDomains=Array.isArray(i.adomain)?i.adomain:[i.adomain]),i.creative_type===E.pX)l.width=u.params.video.playerWidth,l.height=u.params.video.playerHeight,l.vastUrl=i.creative_depot_url,l.impression_id=i.impression_id,l.videoCacheKey=i.impression_id;else{l.ad=(s=i.script,d=i.impression_id,"\n