{"size": 2281, "ext": "js", "max_stars_repo_path": "keywordTool/pubfiles/src/code/anschlusstor/129499/default.js", "max_stars_repo_name": "dsofowote/KW-Tool", "max_stars_repo_stars_event_min_datetime": null, "max_stars_repo_stars_event_max_datetime": null, "max_issues_repo_path": "keywordTool/pubfiles/src/code/anschlusstor/129499/default.js", "max_issues_repo_name": "dsofowote/KW-Tool", "max_issues_repo_issues_event_min_datetime": null, "max_issues_repo_issues_event_max_datetime": null, "max_forks_repo_path": "keywordTool/pubfiles/src/code/anschlusstor/129499/default.js", "max_forks_repo_name": "dsofowote/KW-Tool", "max_forks_repo_forks_event_min_datetime": null, "max_forks_repo_forks_event_max_datetime": null}
{"max_stars_count": null, "max_issues_count": null, "max_forks_count": null, "avg_line_length": 34.0447761194, "max_line_length": 159, "alphanum_fraction": 0.6444541868}
integration.meta = {
    'sectionID' : '129499',
    'siteName' : ' Die Blaue 24 - Smartphone - (DE) ',
    'platform' : 'smartphone'
};

integration.testParams = {
    'mobile_resolution' : [0]
};

integration.flaggedTests = [];

integration.params = {
    'mf_siteId' : '1082642',
    'plr_FluidAnchor': true,
    'plr_Fluid': true,
    'plr_Responsive' : true,
    'plr_ShowCloseButton' : true,
    'plr_ContentType': 'PAGESKINEXPRESS',
    'plr_UseFullVersion': true,
    'plr_UseCreativeSettings': true,
    'plr_HideElementsByID' : '',
    'plr_HideElementsByClass' : ''
};


integration.on('adCallResult', function(e) {
    if (e.data.hasSkin) {
        $('body').addClass('inskinLoaded');
        var stylesCSS = '<style type="text/css">';
        integration.custom.FrameSideRight = e.data.plr_FrameSideRight;
        var width = $(window).width();
        var contentWidth = width - integration.custom.FrameSideRight;
        stylesCSS += '.inskinLoaded #topcontrol{right: ' + integration.custom.FrameSideRight + 'px !important; z-index: 4;}';
        stylesCSS += '.inskinLoaded #instagram-embed-1{min-width: 254px !important;}';
        stylesCSS += '.inskinLoaded table.font-small{width: ' + contentWidth + 'px !important; display: inline-block;}';
        stylesCSS += '</style>'
        $('head').append(stylesCSS);
    }

    if (e.data.format == 'Pagelead' || e.data.format == 'Pagelead Video') {
        integration.base.setCfg({'plr_FixedTop' : true, 'plr_EnableSwipe' : true});
    }
});

integration.on("layoutChange", function(e) {
    integration.custom.FrameSideRight = e.data.plr_FrameSideRight;
    integration.custom.ePlayer();
    $(document).scroll(function() {
      integration.custom.ePlayer();
    });
});

integration.custom.ePlayer = function(){
  var popupAttr = $('#eplayer [id^="wrapper-eplayer-0827269a434cd6c4d50998696e-"]').attr("popuppadding");
  if (popupAttr == "50px") {
    var stylesCSS2 = '<style type="text/css">';
    stylesCSS2 += '.inskinLoaded #eplayer [id^="wrapper-eplayer-0827269a434cd6c4d50998696e-"]{right: ' + integration.custom.FrameSideRight + 'px !important;}';
    stylesCSS2 += '</style>'
    $('head').append(stylesCSS2);
  }
}

integration.on('adClose', function(e) {
    $('body').removeClass('inskinLoaded');
});
