",{"id":"SIGNIN"}).html('
×
').appendTo("body");jQuery("#SIGNIN").on('click',function(e){closeLogin()})};var closeLogin=function(){jQuery("#SIGNIN").remove();jQuery("body").css("overflow","inherit")};var adjustLoginHeight=function(h){jQuery("#Oframe").height(h)};var document_domain=document.domain.replace("www.","");document_domain=document_domain.replace("subscribe.","");document_domain=document_domain.replace("myaccount.","");var login_success=function(sess){jQuery(".pelcro-login-button").html("MY ACCOUNT");closeLogin();jQuery.ajax({url:"https://myaccount."+document_domain+"/oauth/account",dataType:'json',xhrFields:{withCredentials:!0},crossDomain:!0,success:function(json){if(json.html){jQuery("body").append(json.html);if(getCookie('nwsucrp')){document.body.className+=' pelcro-subscribed'}}else{location.reload()}}})};var eventMethod=window.addEventListener?"addEventListener":"attachEvent";var eventer=window[eventMethod];var messageEvent=eventMethod=="attachEvent"?"onmessage":"message"
eventer(messageEvent,function(e){var key=e.message?"message":"data";var data=e[key];if(e.origin.includes(document_domain)){if(data=="login_success")login_success();else if(data=="closeLogin")closeLogin();else{try{let a=JSON.parse(data);if(a.k==="adjustLoginHeight"&&a.v>0){adjustLoginHeight((a.v))}}catch(e){return!1}}}});!function(c){"use strict";function e(e,t,n,o){var r,i,d=c.document,a=d.createElement("link");i=t||(r=(d.body||d.getElementsByTagName("head")[0]).childNodes)[r.length-1];var f=d.styleSheets;if(o)for(var l in o)o.hasOwnProperty(l)&&a.setAttribute(l,o[l]);a.rel="stylesheet",a.href=e,a.media="only x",function e(t){if(d.body)return t();setTimeout(function(){e(t)})}(function(){i.parentNode.insertBefore(a,t?i:i.nextSibling)});var s=function(e){for(var t=a.href,n=f.length;n--;)if(f[n].href===t)return e();setTimeout(function(){s(e)})};function u(){a.addEventListener&&a.removeEventListener("load",u),a.media=n||"all"}return a.addEventListener&&a.addEventListener("load",u),(a.onloadcssdefined=s)(u),a}"undefined"!=typeof exports?exports.loadCSS=e:c.loadCSS=e}("undefined"!=typeof global?global:this);var login_success=function(sess){const mobile=window.matchMedia('(max-width: 767px)');if(mobile.matches==!0){jQuery(".pelcro-login-button").addClass("user-logged-in");jQuery(".login .pelcro-login-button").html("")}else{jQuery(".pelcro-login-button").html("MY ACCOUNT")}
jQuery(".remaining-articles .pelcro-login-button").remove();if(typeof run_metering=='function'){run_metering()}
jQuery(".wall .already").add(jQuery("#wall-option1")).remove();closeLogin();jQuery.ajax({url:"https://myaccount."+document_domain+"/oauth/account",dataType:'json',xhrFields:{withCredentials:!0},crossDomain:!0,success:function(json){if(json.html){jQuery("body").append(json.html);if(json.isSubscriber){document.body.className+=' pelcro-subscribed'}}else{deleteCookie('nwsubl');deleteCookie('nwsucrp');location.reload()}}})}
Finance