{"size": 4479, "ext": "js", "max_stars_repo_path": "HBbuild/dist/33acrossBidAdapter.js", "max_stars_repo_name": "hoverr/hoverr.github.io", "max_stars_repo_stars_event_min_datetime": "2016-01-13T10:15:36.000Z", "max_stars_repo_stars_event_max_datetime": "2022-02-12T12:29:54.000Z", "max_issues_repo_path": "HBbuild/dist/33acrossBidAdapter.js", "max_issues_repo_name": "hoverr/hoverr.github.io", "max_issues_repo_issues_event_min_datetime": null, "max_issues_repo_issues_event_max_datetime": null, "max_forks_repo_path": "HBbuild/dist/33acrossBidAdapter.js", "max_forks_repo_name": "hoverr/hoverr.github.io", "max_forks_repo_forks_event_min_datetime": "2016-11-03T12:21:36.000Z", "max_forks_repo_forks_event_max_datetime": "2018-09-21T01:59:31.000Z"}
{"max_stars_count": 5, "max_issues_count": null, "max_forks_count": 6, "avg_line_length": 4479.0, "max_line_length": 4479, "alphanum_fraction": 0.6872069658}
pbjsChunk([270],{119:function(t,e,n){t.exports=n(120)},120:function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),n.d(e,"spec",function(){return a});var r=n(1),f=n(3),b=n(0);function m(){return(m=Object.assign||function(t){for(var e=1;e<arguments.length;e++){var n=arguments[e];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(t[r]=n[r])}return t}).apply(this,arguments)}var i="33across",v="https://ssc.33across.com/api/v1/hb",l="https://ssc-cms.33across.com/ps/?m=xch&rt=html&ru=deb",o={},w="nm";function y(t){return!function(){try{return b.getWindowSelf()!==b.getWindowTop()}catch(t){return 1}}()&&null!==t}function I(t,e,n){var r=2<arguments.length&&void 0!==n?n:{},i=r.w,o=r.h;return"visible"===e.document.visibilityState?function(t,e){var n,r,i=2<arguments.length&&void 0!==arguments[2]?arguments[2]:{},o=i.w,d=i.h,a=function(t){var e=1<arguments.length&&void 0!==arguments[1]?arguments[1]:{},n=e.w,r=e.h,i=t.getBoundingClientRect(),o=i.width,d=i.height,a=i.left,s=i.top,u=i.right,c=i.bottom;(0===o||0===d)&&n&&r&&(u=a+(o=n),c=s+(d=r));return{width:o,height:d,left:a,top:s,right:u,bottom:c}}(t,{w:o,h:d}),s=function(t){for(var e={left:t[0].left,right:t[0].right,top:t[0].top,bottom:t[0].bottom},n=1;n<t.length;++n){if(e.left=Math.max(e.left,t[n].left),e.right=Math.min(e.right,t[n].right),e.left>=e.right)return null;if(e.top=Math.max(e.top,t[n].top),e.bottom=Math.min(e.bottom,t[n].bottom),e.top>=e.bottom)return null}return e.width=e.right-e.left,e.height=e.bottom-e.top,e}([{left:0,top:0,right:e.innerWidth,bottom:e.innerHeight},a]);return null===s?0:(n=s.width*s.height,r=a.width*a.height,n/r*100)}(t,e,{w:i,h:o}):0}function x(t){return document.getElementById(t)||document.getElementById(function(t){if(b.isGptPubadsDefined())for(var e=googletag.pubads().getSlots(),n=b.isSlotMatchingAdUnitCode(t),r=0;r<e.length;r++)if(n(e[r])){var i=e[r].getSlotElementId();return b.logInfo("[33Across Adapter] Map ad unit path to HTML element id: '".concat(t,"' -> ").concat(i)),i}return b.logWarn("[33Across Adapter] Unable to locate element for ad unit code: '".concat(t,"'")),null}(t))}function d(t,e,n){var r,o,i=1<arguments.length&&void 0!==e?e:{},d=2<arguments.length?n:void 0,a={},s=t.params,u=x(t.adUnitCode),c=(r=t.sizes,!b.isArray(r)||2!==r.length||b.isArray(r[0])?r.map(S):[S(r)]),p=c.reduce(function(t,e){return e.h*e.w<t.h*t.w?e:t}),l=y(u)?I(u,b.getWindowTop(),p):w,h=(o=l,function(t){var e=m({},t),n=e.imp=e.imp.map(function(t){return m({},t)}),r=n[0].banner=m({},n[0].banner),i=r.ext=m({},r.ext);return(i.ttx=m({},i.ttx)).viewability={amount:isNaN(o)?o:Math.round(o)},e});a.imp=[],a.imp[0]={banner:{format:c.map(function(t){return m(t,{ext:{}})})},ext:{ttx:{prod:s.productId}}},a.site={id:s.siteId},d&&(a.site.page=d),a.id=t.bidId,a.user={ext:{consent:i.consentString}},a.regs={ext:{gdpr:!0===i.gdprApplies?1:0}},a.ext={ttx:{prebidStartedAt:Date.now(),caller:[{name:"prebidjs",version:"3.13.0-pre"}]}},1===s.test&&(a.test=1);var g=f.b.getConfig("ttxSettings");return{method:"POST",url:g&&g.url||v,data:JSON.stringify(h(a)),options:{contentType:"text/plain",withCredentials:!0}}}function S(t){return{w:parseInt(t[0],10),h:parseInt(t[1],10)}}var a={NON_MEASURABLE:w,code:i,isBidRequestValid:function(t){return t.bidder===i&&void 0!==t.params&&(void 0!==t.params.siteId&&void 0!==t.params.productId)},buildRequests:function(t,e){var n=m({consentString:void 0,gdprApplies:!1},e&&e.gdprConsent),r=e&&e.refererInfo?e.refererInfo.referer:void 0;return o.uniqueSiteIds=t.map(function(t){return t.params.siteId}).filter(b.uniques),t.map(function(t){return d(t,n,r)})},interpretResponse:function(t,e){var n,r=[];return 0<t.body.seatbid.length&&0<t.body.seatbid[0].bid.length&&r.push({requestId:(n=t.body).id,bidderCode:i,cpm:n.seatbid[0].bid[0].price,width:n.seatbid[0].bid[0].w,height:n.seatbid[0].bid[0].h,ad:n.seatbid[0].bid[0].adm,ttl:n.seatbid[0].bid[0].ttl||60,creativeId:n.seatbid[0].bid[0].crid,currency:n.cur,netRevenue:!0}),r},getUserSyncs:function(t,e,p){return t.iframeEnabled?o.uniqueSiteIds.map(function(t){return n=(e={gdprConsent:p,siteId:t}).siteId,r=void 0===n?"zzz000000000003zzz":n,i=e.gdprConsent,o=void 0===i?{}:i,d=f.b.getConfig("ttxSettings"),a=d&&d.syncUrl||l,s=o.consentString,u=o.gdprApplies,c={type:"iframe",url:"".concat(a,"&id=").concat(r,"&gdpr_consent=").concat(encodeURIComponent(s))},"boolean"==typeof u&&(c.url+="&gdpr=".concat(Number(u))),c;var e,n,r,i,o,d,a,s,u,c}):[]}};Object(r.registerBidder)(a)}},[119]);