1"use strict"; 2 3var PBI = PBI || {}; 4 5PBI.RemoteLoginLoad = function (args) { 6 if (typeof PBI.RemoteLogin !== "function") { return; } 7 8 new PBI.RemoteLogin(args); 9}; 10 11PBI.RemoteLogin = function (args) { 12 var _this = this; 13 14 if (!args.applicationPath) { return; } 15 if (!args.formId) { return; } 16 if (!args.passwordId) { return; } 17 if (!args.routingTransit) { return; } 18 if (!args.usernameId) { return; } 19 20 _this._applicationPath = args.applicationPath; 21 if (args.applicationPath.substr(args.applicationPath.length - 1) !== "/") { 22 _this._applicationPath += "/"; 23 } 24 25 const cloudHosts = ["fiservapps.com", "onefiserv.net"]; 26 const isCloud = cloudHosts.some(function (x) { 27 return args.applicationPath.includes(x); 28 }); 29 30 var script = document.createElement("script"); 31 script.setAttribute('async', false); 32 script.type = "text/javascript"; 33 script.language = "javascript"; 34 script.src = _this._applicationPath + (isCloud ? "js/remoteLoginPostCloud.js?v=3.0" : "js/remoteLoginPost.js?v=3.0"); 35 36 script.addEventListener('load', function () { 37 if (typeof PBI.RemoteLoginPost !== "function") { return; } 38 39 new PBI.RemoteLoginPost(args); 40 }); 41 42 document.head.appendChild(script); 43};
Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.