PageSourceSearch

https://support.datarobot.com/jslibrary/LoginHint208.js

js datarobot.com collected 2026-09-24 08:24:48 UTC 21,183 bytes, 49 lines download raw bytes

1/*
2 * This code is for Internal Salesforce use only, and subject to change without notice.
3 * Customers shouldn't reference this file in any web pages.
4 */
5var DomainSwitcher=function(){function m(a){if(a=document.getElementById(a))a.style.display="block"}function l(a){if(a=document.getElementById(a))a.style.display="none"}function n(a){for(var e=document.getElementById("mydomain_preview"),d=document.getElementById("mydomain_suffix").value,k=document.getElementById("community_suffix").value,g=[],c=0;12>c;c++){var b=document.getElementById("suffix"+c);null!=b&&g.push(b.value)}var b=a.value.replace(/^\s+|\s+$/g,""),f=!1;b||(f=!0,b="\x3cem\x3edomain\x3c/em\x3e");
6for(b.match(/^[-./A-Za-z0-9]+$/)&&a.removeAttribute("style");e.firstChild;)e.removeChild(e.firstChild);var h;a=b.indexOf(".");c=2==b.split("--").length;if(0<g.length)if(-1===a)h="https://"+b+(c?".sandbox":"")+g[0];else{if(0!==a){a===b.length-1&&c&&(b+="sandbox.");for(c=1;12>c;c++)if(null!=g[c]&&0===g[c].indexOf(b.substring(a))){h="https://"+b.substring(0,a)+g[c];break}if(null==h||0>=h.length)h="https://"+b}}else h=-1===a?"https://"+b+(c?".sandbox":"")+d:0!==a&&0===d.indexOf(b.substring(a))?"https://"+
7b.substring(0,a)+(c?".sandbox":"")+d:0!==a&&0===k.indexOf(b.substring(a))?"https://"+b.substring(0,a)+(c?".sandbox":"")+k:"https://"+b;f?e.innerHTML=h:(d=document.createTextNode(h),e.appendChild(d))}return{handleMyDomain:function(){var a=document.getElementById("mydomain"),e=a.value.replace(/^\s+|\s+$/g,"");if(e.match(/^[-./A-Za-z0-9]+$/)){for(var d,a=document.getElementById("mydomain_suffix"),k=document.getElementById("community_suffix"),g=[],c=0;12>c;c++){var b=document.getElementById("suffix"+
8c);null!=b&&(g[c]=b.value)}b=e.indexOf(".");c=2==e.split("--").length;if(0<g.length)if(-1===b)d="https://"+e+(c?".sandbox":"")+g[0];else{if(0!==b){for(c=1;12>c;c++)null!=g[c]&&0===g[c].indexOf(e.substring(b))&&(d="https://"+e.substring(0,b)+g[c]);if(null==d||0>=d.length)d="https://"+e}}else d=-1===b?"https://"+e+(c?".sandbox":"")+a.value:0!==b&&0===a.value.indexOf(e.substring(b))?"https://"+e.substring(0,b)+(c?".sandbox":"")+a.value:0!==b&&0===k.value.indexOf(e.substring(b))?"https://"+e.substring(0,
9b)+(c?".sandbox":"")+k.value:"https://"+e;(e=document.getElementById("pqs"))?e.value&&"?"===e.value.substring(0,1)&&(d+=e.value):(e=document.getElementById("login_startUrl"))&&(e.value&&""!==e.value)&&(d=encodeURIComponent?d+("?startURL\x3d"+encodeURIComponent(e.value)):d+("?startURL\x3d"+e.value));window.location=d}else a.style.border="#f00 1px solid",m("domain_error")},updateMyDomain:function(a,e){n(a);for(var d=document.getElementById("mydomain_suffix").value,k=document.getElementById("community_suffix").value,
10g=[],c=0;12>c;c++){var b=document.getElementById("suffix"+c);if(null!=b){var f=b.value.indexOf(":"),b=-1===f?b.value:b.value.substring(0,f);g.push(b)}}0==g.length&&(f=d.indexOf(":"),d=-1===f?d:d.substring(0,f),f=k.indexOf(":"),k=-1===f?k:k.substring(0,f),g=[d,k]);d=a.value;if(a&&(0!==a.value.length&&e)&&(f=a.setSelectionRange?e.which:e.keyCode,!(32>f||33<=f&&46>=f||112<=f&&123>=f))){var h;a.setSelectionRange?h=a.selectionStart:(f=document.selection.createRange(),f.parentElement()===a&&(h=a.value.lastIndexOf(f.text)));
11f=d.indexOf(".");c=2==d.split("--").length;f===d.length-1&&c&&(d+="sandbox.");for(c=0;c<g.length;c++)if(b=g[c],0<f&&0===b.toLowerCase().indexOf(d.toLowerCase().substring(f))){a.value+=b.substring(a.value.length-f,b.length);break}a.setSelectionRange?a.setSelectionRange(h,a.value.length):(f=a.createTextRange(),f.moveStart("character",h),f.moveEnd("character",a.value.length),f.select())}},enterCustomDomain:function(a,e){m("mydomainContainer");m("header");document.title=a+e;var d=document.getElementById("header");
12d&&(d.innerHTML=a);l("theloginform");l("signup");l("domain_error");d=document.getElementById("mydomain");n(d);0<d.offsetWidth&&(l("mydomain_preview"),document.getElementById("mydomain_preview").style.maxWidth=d.offsetWidth+"px",m("mydomain_preview"));d.focus()},dismissCustomDomain:function(a,e){l("mydomainContainer");l("header");m("theloginform");m("signup");l("error");document.title=a+e;document.getElementById("assistive-announce").innerHTML=a}}}();
13var IdpOptions=function(){function e(a){if(a=document.getElementById(a))a.style.display="block"}function d(a){if(a=document.getElementById(a))a.style.display="none"}function p(a){var b=document.getElementById("header");b&&(b.innerHTML=a)}function q(){if(!(0<k.length)){var a=document.getElementById("idplist");if(a)for(var a=a.childNodes,b=0;b<a.length;b++)k.push({name:a[b].getElementsByTagName("span")[0].innerHTML,elem:a[b]})}}function r(a,b,f){for(var c=a.elem.firstChild;c.lastChild&&"span"===c.lastChild.nodeName.toLowerCase();)c.removeChild(c.lastChild);
14if(null!==b&&null!==f){var g="",d=null,e=null,h=null;f=f.length;0===b?(d=a.name.substring(0,f),e=a.name.substring(f),g="a"):(g="b",d=a.name.substring(0,b),b+f>=a.name.length?e=a.name.substring(b):(e=a.name.substring(b,b+f),h=a.name.substring(b+f)));b=document.createElement("span");
14b.appendChild(document.createTextNode(d));"a"===g&&(b.style.fontWeight="bolder");c.appendChild(b);null!==e&&(d=document.createElement("span"),d.appendChild(document.createTextNode(e)),"b"===g&&(d.style.fontWeight="bolder"),
15c.appendChild(d));null!==h&&(g=document.createElement("span"),g.appendChild(document.createTextNode(h)),c.appendChild(g))}else h=document.createElement("span"),h.appendChild(document.createTextNode(a.name)),c.appendChild(h);return a.elem}function m(a){s();var b=document.getElementById("idplist").childNodes;"down"===a&&h<b.length-1?h++:"up"===a&&-1<h&&h--;if(-1<h&&h<b.length&&(a=b[h].firstChild,document.getElementById("idp_search").setAttribute("aria-activedescendant",a.id),a.setAttribute("style",
16"background-color: #eef1f6;"),1<b.length&&(document.getElementById("idp_search").value=a.getAttribute("title")),4<b.length)){a=document.getElementById("idpscrollable");var f=a.scrollTop,c=b[h].offsetHeight*h;c<f?a.scrollTop=c:c>f+a.clientHeight&&(a.scrollTop=c-3*b[h].offsetHeight)}}function s(){for(var a=document.getElementById("idplist").childNodes,b=0;b<a.length;b++)a[b].firstChild.setAttribute("style","background-color:white;")}function n(){return"idphint_"+window.location.pathname}function t(a){if("button"===
17a.nodeName.toLowerCase())return a.cloneNode(!0);var b=a.firstChild;a=document.createElement("button");a.setAttribute("class","button mb8 secondary wide");a.setAttribute("onclick",b.getAttribute("onclick"));var f=b.firstChild,b=b.lastChild;-1===f.src.indexOf("/img/s.gif")&&a.appendChild(f.cloneNode(!0));a.appendChild(b.cloneNode(!0));return a}var k=[],h=-1,l=null;try{l=window.localStorage?window.localStorage:null}catch(u){}return{enterIdp:function(a,b){e("idp_section_chooser");
17e("cancel_idp_div");
18e("header");document.title=a+b;p(a);d("content");d("choose_idp");d("employee_login");document.getElementById("idp_search").focus()},dismissIdp:function(a,b){d("idp_section_chooser");d("cancel_idp_div");d("header");d("error");e("content");e("choose_idp");e("employee_login");document.title=a+b},searchIdps:function(a){q();if(38===a.keyCode)m("up");else if(40===a.keyCode)m("down");else if(13===a.keyCode)a=document.getElementById("idplist").childNodes,-1<h&&h<a.length&&a[h].firstChild.click();else{h=-1;
19s();document.getElementById("idp_search").setAttribute("aria-activedescendant","");document.getElementById("idpscrollable").scrollTop=0;a=document.getElementById("idp_search").value;for(var b=[],f=[],c=document.getElementById("idplist");c.firstChild;)c.removeChild(c.firstChild);var c=document.getElementById("idplist"),g;for(g=0;g<k.length;g++){var d=k[g],e=RegExp(a.toLowerCase().replace(/[\-\/\\\^$*+?.()|\[\]{}]/g,"\\$\x26"));d.name.toLowerCase().match(e)&&(e=d.name.toLowerCase().search(e),0===e?
20b.push(r(d,e,a)):f.push(r(d,e,a)))}for(g=0;g<b.length;g++)c.appendChild(b[g]);for(g=0;g<f.length;g++)c.appendChild(f[g]);1===c.childNodes.length&&m("down")}},useIdp:function(a,b){if(null!==l)try{l.setItem(n(),a)}catch(d){}window.location.href=b},checkIdpHint:function(a,b){if(null===l)return!1;var f=l.getItem(n());if(f){q();if(!(0<k.length)){var c=document.getElementById("idp_section_buttons");if(c)for(var c=c.childNodes,g=0;g<c.length;g++)k.push({name:c[g].getElementsByTagName("span")[0].innerHTML,
21elem:c[g]})}for(c=0;c<k.length;c++)if(k[c].name===f)return document.getElementById("idp_hint").appendChild(t(k[c].elem)),e("idp_hint_section"),e("header"),document.title=a+b,p(a),d("content"),d("choose_idp"),d("or_use_idp"),d("idp_section_buttons"),d("idp_section_chooser"),!0}else if((f=document.getElementById("idp_section_chooser"))&&"none"!==f.style.display)(f=document.getElementById("idp_search"))&&f.focus();return!1},clearIdpHint:function(a){null!==l&&l.removeItem(n());d("idp_hint_section");a&&
22(document.getElementById("login_form")?(d("header"),d("error"),e("content"),e("choose_idp"),e("or_use_idp"),e("idp_section_buttons")):(e("idp_section_buttons"),e("idp_section_chooser"),(a=document.getElementById("idp_search"))&&a.focus()))}}}();
23var LoginHint=function(b){function q(a,f){(!b.lh||!document.getElementById("username"))&&IdpOptions.checkIdpHint(b.hidp,b.title)?k&&(window.clearTimeout(k),k=null):SfdcApp.SfdcSession.getIdentities({get:[],callback:function(c){k&&(window.clearTimeout(k),k=null);try{var d=c.identities,e=document.getElementById("login_dch");if(e&&e.value){var h=n(d);if(1>=h.num){c=null;for(var w in h.res)c=h.res[w].identity.instance;if(0==h.num||c==e.value){var l=document.getElementById("login_startUrl");window.location=
24e.value+l.value;return}}}if(a){var g=n(d).res,x=p(g);LoginHint.Ui.renderEdit(x,b.ah,b.ih,b.save,b.pwplbl,b.lllbl)}else r(d);f()}catch(y){s()}}})}function p(a){var b=[],c=[],d;for(d in a)if(a.hasOwnProperty(d)){var e=a[d];
24e.active?b.push(e):c.push(e)}a=b.sort(function(a,b){return b.lastused-a.lastused});c=c.sort(function(a,b){return b.lastused-a.lastused});return a.concat(c)}function n(a){var f=0,c=[],d=b.im,e=b.ic,h;for(h in a)if(a.hasOwnProperty(h)){var g=a[h];if(e||!g.community)if(!(d&&!g.mydomain||
25e&&!g.community))if(!((d||e)&&b.ur!=a[h].identity.instance)&&t(a[h].identity.instance))f++,c[h]=g}return{res:c,num:f}}function r(a){var f=n(a);a=f.res;var f=f.num,c=b.im,d=b.ic,e=b.iaac;a=1<f?p(a):a;LoginHint.Ui.renderIdentities(b.suo,b.sum,b.hac,b.heu,b.lpt,b.ah,b.ih,f,a,b.lh,b.le,b.lp,b.title,c,d,e,b.pwplbl,b.lllbl);SFDCSessionVars.hintRendered=!0}function t(a){return a&&6<a.length?(a=a.substring(0,6),"http:/"===a||"https:"===a):!1}function s(){var a=document.getElementById("content");a&&(a.style.display=
26"block",loader());if(a=document.getElementById("signup"))a.style.display="block";if(a=document.getElementById("choose_idp"))a.style.display="block";k=null}function u(a,b){LoginHint.Ui.useIdentity(a,b,!1)}function v(a){q(a,function(){})}var k=null,g=[];return{showChooser:function(){LoginHint.Ui.showChooser()},useNewIdentity:function(){LoginHint.Ui.useNewIdentity()},clearExistingIdentity:function(){LoginHint.Ui.clearExistingIdentity()},showEdit:function(){g=[];v(!0);LoginHint.Ui.showEdit()},hideLoginForm:function(){if(window.setTimeout&&
27!SfdcApp.SfdcSession.disabled){var a=!1;try{var b=document.styleSheets,c;for(c in b)if(b.hasOwnProperty&&b.hasOwnProperty(c)){var d=b[c];if(d.cssRules){d.insertRule?(d.insertRule("#content { display:none; }",d.cssRules.length),d.insertRule("#signup { display:none; }",d.cssRules.length),d.insertRule("#choose_idp { display:none; }",d.cssRules.length),a=!0):d.addRule&&(d.addRule("#content","display:none;"),d.addRule("#signup","display:none;"),d.addRule("#choose_idp","display:none;"),a=!0);break}}}catch(e){}a&&
28(k=window.setTimeout(s,1500))}},useIdentity:u,getSavedIdentities:v,sortResults:p,deleteIdentity:function(a,f){g.push({oid:a,uid:f});var c=document.getElementById("edit-"+(a+f));c.parentNode.removeChild(c);document.getElementById("hint_save_edit").innerHTML=1===g.length?b.saveOne:b.saveMany.replace("#p#",g.length);document.getElementById("assistive-announce").innerHTML=b.dc},saveHintEdit:function(){if(0<g.length){for(var a,f=0;f<g.length;f++){var c=g[f],d=document.getElementById("hint_"+(c.oid+c.uid));
29a=d.parentNode;a.removeChild(d);SfdcApp.SfdcSession.deleteIdentity({oid:c.oid,uid:c.uid})}0===a.childNodes.length?LoginHint.Ui.noSavedIdentity():LoginHint.showChooser();LoginHint.Ui.updateSavedText(b.suo,b.sum,a.childNodes.length)}else LoginHint.showChooser()},renderIdentities:r,executeActive:function(a,b,c,d,e,g,k,l){if(t(d))if(new Date(c)<new Date){var m=null;l=function(){m&&(window.clearTimeout(m),m=null);q(!1,function(){if(k){var a=d,b=document.getElementById("pqs"),a=b&&b.value?a+(b.value+"\x26"):
30a+"?";window.location=a+"stbdtimeout\x3d1\x26login_hint\x3d"+encodeURIComponent(e)}else u(e,g)})};window.setTimeout&&(m=window.setTimeout(l,1E3));SfdcApp.SfdcSession.inactive({oid:a,uid:b,callback:l})}else c="",l&&(c+="\x26icom\x3d1"),(l=document.getElementById("pqs"))&&(l.value&&"?"===l.value.substring(0,1))&&(c+="\x26q\x3d"+encodeURIComponent(l.value)),window.location=d+"/secur/loginhint?o\x3d"+a+c+"\x26u\x3d"+b+"\x26un\x3d"+encodeURIComponent(e)+"\x26retURL\x3d"+encodeURIComponent(document.getElementById("login_startUrl").value)}}}(SFDCSessionVars);
31if(!this.LoginHint)var LoginHint={};
32LoginHint.Ui=function(){function f(a){if(a=document.getElementById(a))a.style.display="block"}function b(a){if(a=document.getElementById(a))a.style.display="none"}function A(a){var d=document.getElementById("header");d&&(d.innerHTML=a)}function J(a){var d=document.getElementById("assistive-announce");d&&(d.innerHTML=a)}function m(){f("content");n?(f("chooser"),f("use_new_identity_div"),f("header"),A(B),document.title=B+C,J(B)):(b("chooser"),b("use_new_identity_div"));v?(f("manager"),f("header"),A(D),
33document.title=D+C):b("manager");r?(f("error"),f("chooser_error")):(b("error"),b("chooser_error"));null!==k&&(document.getElementById("username").value=k);s?(f("theloginform"),f("signup"),f("employee_login"),f("or_use_idp"),f("idp_section_buttons"),f("choose_idp"),b("header"),document.title=E+C,J(E),t?(f("username"),b("idcard-container")):(b("username"),f("idcard-container"))):(b("theloginform"),b("signup"),b("employee_login"),b("or_use_idp"),b("idp_section_buttons"),b("choose_idp"));var a=document.getElementById(u);
34s&&(a&&a.focus)&&a.focus()}function y(a){n=!0;v=s=!1;r=a?!0:!1;m()}function H(a,d){n=!1;r=t=s=!0;v=!1;k=a?a:F?"":null;u=d?"password":"username";m()}function I(a,d,c){n=!1;s=!0;r=t=!1;k=a;u="password";if((a=document.getElementById("rememberUn"))&&!c)a.checked=!0;document.getElementById("idcard").setAttribute("aria-label",k);c=document.getElementById("idcard-avatar");c.src=d;c.title=k;d=document.getElementById("idcard-identity");d.innerHTML="";d.appendChild(document.createTextNode(k));m()}function K(){n=
35!1;t=s=!0;r=!1;k="";u="username";m()}function L(){v=n=!1;r=t=s=!0;k=null;u="username";m()}function w(a,d,c){if(a.addEventListener)a.addEventListener(d,c,!1);else if(a.attachEvent)a.attachEvent("on"+d,c);else throw"Could not add handler "+d;}function Q(a){a=a||window.event;a=l[(a.target||a.srcElement).paramkey];LoginHint.deleteIdentity(a.oid,a.uid)}function R(a,d,c,x,z){var h;h=a.identity.display?a.identity.display:a.identity.username;var e=a.identity.oid+a.identity.uid,g=document.createElement("li");
36g.setAttribute("id","edit-"+e);x=M(a,h,a.identity.pwp,a.identity.ll,x,z);d=N(a,d,c);h=O(a,h);e="editp"+e+(new Date).getTime();l[e]={oid:a.identity.oid,uid:a.identity.uid,username:a.identity.username};a=document.createElement("a");a.setAttribute("href","#");a.setAttribute("onclick","return false;");a.setAttribute("class","hintclearlink");a.paramkey=e;w(a,"click",Q);c=document.createElement("img");c.setAttribute("alt","");c.setAttribute("class","hintclearicon");c.setAttribute("src","/img/clear.png");
37c.paramkey=e;a.appendChild(c);g.appendChild(x);g.appendChild(d);g.appendChild(a);g.appendChild(h);return g}function S(a){a=a||window.event;a=l[(a.target||a.srcElement).paramkey];LoginHint.executeActive(a.oid,a.uid,a.expire,a.instance,a.username,a.thumbnail,a.otherDom,a.community)}function T(a){a=a||window.event;window.location=l[(a.target||a.srcElement).paramkey].redir}function U(a){a=a||window.event;a=l[(a.target||a.srcElement).paramkey];if(a.pwp){var d=document.getElementById("username");if(d){d.value=
38a.username;if(a=document.getElementById("password"))a.value="";handleLogin&&handleLogin();document.getElementById("login_form").submit()}else LoginHint.useIdentity(a.username,a.thumbnail)}else if(a.ll)if(d=document.getElementById("username")){d.value=a.username;if(a=document.getElementById("password"))a.value="";handleLogin&&handleLogin();document.getElementById("login_form").submit()}else LoginHint.useIdentity(a.username,a.thumbnail);else LoginHint.useIdentity(a.username,a.thumbnail)}function P(a,
39d,c,x,z,h){var e=!d&&(a.mydomain||a.community),g=a.identity.oid+a.identity.uid,f;f=a.identity.display?a.identity.display:a.identity.username;d=document.createElement("li");d.setAttribute("id","hint_"+g);var b=document.createElement("a");b.setAttribute("href","#");b.setAttribute("onclick","return false;");g="hintclick"+g+(new Date).getTime();if(a.active)l[g]={oid:a.identity.oid,uid:a.identity.uid,expire:a.expire,instance:a.identity.instance,username:a.identity.username,thumbnail:a.identity.thumbnail,
40otherDom:e,community:a.community},w(b,"click",S);else if(e){var e=a.identity.instance,k=document.getElementById("pqs"),e=k&&k.value?e+(k.value+"\x26"):e+"?",e=e+"stbdtimeout\x3d1\x26",e=a.identity.pwp?e+"llpost\x3d1\x26un\x3d":a.identity.ll?e+"llpost\x3d1\x26un\x3d":e+"login_hint\x3d",e=e+encodeURIComponent(a.identity.username);l[g]={redir:e};w(b,"click",T)}else l[g]={username:a.identity.username,thumbnail:a.identity.thumbnail,pwp:a.identity.pwp,ll:a.identity.ll},w(b,"click",U);b.paramkey=g;d.paramkey=
41g;z=M(a,f,a.identity.pwp,a.identity.ll,z,h);z.paramkey=g;b.appendChild(z);c=N(a,c,x);b.appendChild(c);a=O(a,f);a.paramkey=g;b.appendChild(a);d.appendChild(b);return d}function M(a,d,c,x,b,h){var e=document.createElement("img");e.setAttribute("alt","");e.setAttribute("title",d);e.setAttribute("src",a.identity.thumbnail);if(c)return e.setAttribute("class","thumbnail_img"),a=document.createElement("div"),a.setAttribute("class","thumbnail_div"),h=document.createElement("img"),h.setAttribute("class","thumbll_icon"),
42h.setAttribute("alt",b),h.setAttribute("title",b),h.setAttribute("src","/img/passkeylogin.svg"),a.appendChild(e),a.appendChild(h),a;if(x)return e.setAttribute("class","thumbnail_img"),a=document.createElement("div"),a.setAttribute("class","thumbnail_div"),b=document.createElement("img"),b.setAttribute("class","thumbll_icon"),b.setAttribute("alt",h),b.setAttribute("title",h),b.setAttribute("src","/img/lightninglogin.svg"),a.appendChild(e),a.appendChild(b),a;e.setAttribute("class","thumbnail");return e}
43function N(a,d,c){var b=document.createElement("img");b.setAttribute("class","activity");b.setAttribute("src",a.active?"/img/greendot.png":"/img/greydot.png");b.setAttribute("alt",a.active?d:c);return b}function O(a,d){var c=document.createElement("span");
43c.appendChild(document.createTextNode(d));return c}function G(a,d,c){var b=document.getElementById("hint_back_chooser");b||(b=document.createElement("a"),b.setAttribute("id","hint_back_chooser"),b.setAttribute("href","#"),b.setAttribute("onclick",
44"LoginHint.showChooser(); return false;"),b.setAttribute("class","fr small"),document.getElementById("usernamegroup").insertBefore(b,document.getElementById("username_container")));1==c?b.innerHTML=a:1<c?b.innerHTML=d.replace("#p#",c):b.parentNode.removeChild(b);if(b=document.getElementById("chooser_label"))b.innerHTML=1==c?a:d.replace("#p#",c)}var F=!1,n=!1,s=!1,t=!0,r=!1,v=!1,k="",u="password",l={},B="",D="",E="",C="";return{showChooser:y,useNewIdentity:K,showEdit:function(){n=!1;v=!0;m()},updateSavedText:G,
45clearExistingIdentity:function(){t=!0;k="";u="username";r=!1;m()},useIdentity:I,renderEdit:function(a,b,c,f,k,h){document.getElementById("hint_save_edit").innerHTML=f;f=a.length;for(var e=document.getElementById("editlist");e.firstChild;)e.removeChild(e.firstChild);var g;for(g=0;g<f;g++)e.appendChild(R(a[g],b,c,k,h))},renderIdentities:function(a,b,c,f,k,h,e,g,l,m,n,r,s,t,u,v,w,A){""===B&&(B=c);""===D&&(D=f);""===E&&(E=k);""===C&&(C=s);for(c=document.getElementById("idlist");c.firstChild;)c.removeChild(c.firstChild);
46if(0===g)F=!1,L(),G(a,b,0);else if(1===g){F=!0;var p=null,q;for(q in l)l.hasOwnProperty(q)&&(p=l[q]);G(a,b,1);c.appendChild(P(p,t||u,h,e,w,A));n?H(p.identity.username):m||(p.active?y():p.identity.pwp?y():p.identity.ll?y():I(p.identity.username,p.identity.thumbnail,!1))}else{F=!0;f=l.length;for(q=0;q<f;q++)c.appendChild(P(l[q],t||u,h,e,w,A));G(a,b,g);if(n){a=window.location.search.substring(1).split("\x26");for(q=0;q<a.length;q++)if(b=a[q].split("\x3d"),"ec"===b[0]){p=b[1];break}"301"===p||"302"===
47p?(document.getElementById("chooser_error").innerHTML=document.getElementById("error").innerHTML,y(!0)):H()}else m||y()}m&&(n?H(r,!0):I(r,"/img/userprofile/default_profile_45.png",!0));v&&K()},noSavedIdentity:L}}();
48
49//# sourceMappingURL=/javascript/1763085096237/sfdc/source/LoginHint208.js.map

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.