");c.append(b);return c},createSeparator:function(){return a('')},isItemDisabled:function(b){return a(b).is("."+this.disabledItemClassName)},hoverItem:function(b){a(this).addClass(b)},hoverItemOut:function(b){a(this).removeClass(b)},createShadow:function(b){b.shadowObj=a('').css({display:"none",position:"absolute",zIndex:49998,opacity:b.shadowOpacity,
backgroundColor:b.shadowColor});a(b.appendTo).append(b.shadowObj)},showShadow:function(a,c,d){if(this.shadow)this.shadowObj.css({width:this.menu.width()+this.shadowWidthAdjust+"px",height:this.menu.height()+this.shadowHeightAdjust+"px",top:c+this.shadowOffsetY+"px",left:a+this.shadowOffsetX+"px"}).addClass(this.shadowClass)[this.showTransition](this.showSpeed)},beforeShow:function(){return!0},show:function(b,c){var d=this,e=c.pageX,f=c.pageY;d.target=b;!1!==d.beforeShow()&&(d.menuFunction&&(d.menu&&
a(d.menu).remove(),d.menu=d.createMenu(d.menuFunction(d,b),d),d.menu.css({display:"none"}),a(d.appendTo).append(d.menu)),b=d.menu,e+=d.offsetX,f+=d.offsetY,e=d.getPosition(e,f,d,c),d.showShadow(e.x,e.y,c),d.useIframe&&b.find("iframe").css({width:b.width()+d.shadowOffsetX+d.shadowWidthAdjust,height:b.height()+d.shadowOffsetY+d.shadowHeightAdjust}),b.css({top:e.y+"px",left:e.x+"px",position:"absolute",zIndex:49999})[d.showTransition](d.showSpeed,d.showCallback?function(){d.showCallback.call(d)}:null),
d.shown=!0,a(document).one("click",null,function(){d.hide()}))},getPosition:function(b,c,d,e){b+=d.offsetX;c+=d.offsetY;e=a(d.menu).height();var f=a(d.menu).width(),h=d.direction;if(d.constrainToScreen){var l=a(window),g=l.height();d=l.width();"down"==h&&c>g/2&&(h="up");f=b+f-l.scrollLeft();f>d&&(b-=f-d)}"up"==h&&(c-=e);return{x:b,y:c}},hide:function(){var b=this;if(b.shown){b.iframe&&a(b.iframe).hide();if(b.menu)b.menu[b.hideTransition](b.hideSpeed,b.hideCallback?function(){b.hideCallback.call(b)}:
null);if(b.shadow)b.shadowObj[b.hideTransition](b.hideSpeed)}b.shown=!1}};a.fn.contextMenu=function(b,c){var d=a.contextMenu.create(b,c);return this.each(function(){a(this).bind("contextmenu",function(a){d.show(this,a);return!1})})}})(jQuery);var vla={},g_verifyFederatedPersonalAccountLinking=!1;
verifyLinkedAcct=function(a,b){g_verifyFederatedPersonalAccountLinking=b;a?(vla.u=document.getElementById("linkusername"),vla.p=document.getElementById("linkpassword"),vla.u.value=vla.u.value.toLowerCase().replace(/\s*/g,""),vla.local_key=make_lp_key_iterations(vla.u.value,vla.p.value,a),vla.hash=make_lp_hash_iterations(vla.local_key,vla.p.value,a),vla.iterations=a,g_validatelink=!0,$.ajax({url:"login.php",type:"POST",dataType:"xml",timeout:6E4,data:{verifylink:1,outofbandsupported:1,outofbandrequest:0,
outofbandretry:0,outofbandretryid:"",xml:1,method:"web",username:vla.u.value,hash:encodeURIComponent(vla.hash),iterations:encodeURIComponent(vla.iterations)},success:b?verifyLinkedAccountVerificationResponse:verifyLinkResponse,error:function(a){g_porig="";hide_waitbox();"function"==typeof hidedialog&&hidedialog({closeiframe:1});lpmessagebox(null,gs("An error has occurred while contacting the LastPass server.")+" "+gs("Please try again later."))}})):$.ajax({url:"iterations.php",type:"POST",dataType:"html",
data:"email="+encodeURIComponent(document.getElementById("linkusername").value),timeout:6E4,error:function(){lpmessagebox(null,gs("Timeout Error loading XML document, try again later"))},success:function(a){verifyLinkedAcct(a,b)}})};
function verifyLinkResponse(a){"function"==typeof hide_waitbox&&hide_waitbox();"function"==typeof close_virtual_keyboard&&close_virtual_keyboard();g_porig="";"function"==typeof saveKey&&saveKey();var b=$(a).find("ok");b.length?oklink(b.attr("uid"),g_mypubkey,g_fromlocal,g_token,b.attr("link_token"),b.attr("linked_account_verification_token")):(g_validatelink=!0,is_secondFactorRequired(a))}
function verifyLinkedAccountVerificationResponse(a){"function"==typeof hide_waitbox&&hide_waitbox();"function"==typeof close_virtual_keyboard&&close_virtual_keyboard();g_porig="";var b=$(a).find("ok");b.length?okverify(b.attr("linked_account_verification_token")):(g_validatelink=!0,is_secondFactorRequired(a))}"function"!==typeof get&&(get=function(a){return document.getElementById(a)});
var secondfactorcheck=[{r:"sesameotprequired",f:function(a){showSesameWindow(a)}},{r:"sesameotpfailed",f:function(){lpmessagebox(null,gs("Sesame authentication failed!"))}},{r:"otprequired",f:function(a){showOTPWindow("yubikey",a)}},{r:"googleauthrequired",f:function(a){showOTPWindow("googleauth",a)}},{r:"microsoftauthrequired",f:function(a){showOTPWindow("microsoftauth",a)}},{r:"outofbandrequired",f:function(a){showOTPWindow("outofband",a)}},{r:"otpfailed",f:function(){g_porig="";lpmessagebox(null,
gs("YubiKey authentication failed!"))}},{r:"unknownpassword",f:function(a){g_porig="";lpmessagebox(null,a.getAttribute("message"))}},{r:"googleauthfailed",f:function(a){5>++googleauth_fail_count?showOTPWindow("googleauth",a):(lpmessagebox(null,gs("Google Authenticator authentication failed!")),g_porig="",google_auth_fail_count=0)}},{r:"gridresponserequired",f:function(a){a.getAttribute("challenge")&&showGridWindow(a.getAttribute("challenge"),a)}},{r:"iterations",f:function(a){a.getAttribute("iterations")&&
(get("iterations").value=a.getAttribute("iterations"),get("password").value=g_porig,g_donotclearfirsttime=!0,login())}},{r:"pbkdf2fallback",f:function(){get("password").value=g_porig;g_oldpbkdf2=1;g_donotclearfirsttime=!0;login()}},{r:"gridresponsefailed",f:function(){lpmessagebox(null,gs("Grid authentication failed!"));document.location.reload(!0)}},{r:"multifactorresponserequired",f:function(a){if(a.getAttribute("challenge")){var b="";"trueapi"==a.getAttribute("type")&&(b=SHA256(SHA256(fix_username(g_username)+
"trueapi")));64!=b.length?(send_website_event("multifactorauth",a.getAttribute("type"),g_username,"",a.getAttribute("challenge")),counter=0,setTimeout(function(){checkMultifactorAuth()},250)):(document.getElementById("eventdata5").value=SHA256(b+a.getAttribute("challenge")),document.getElementById("eventdata3").value="done",checkMultifactorAuth())}}},{r:"multifactorresponsefailed",f:function(a){multifactor_response_failed(a.getAttribute("type"))}}];
function is_secondFactorRequired(a){a=$(a).find("error");a=a.length?a.get(0):{getAttribute:function(){return null}};for(var b=0;b
Reprompt user for their master password, verifies it is
correct with server.
Requires g_username and g_key_iterations javascript variables to be
defined.
*/
var g_dialogclose="undefined"==typeof g_dialogclose?{}:g_dialogclose,g_dialogname="undefined"==typeof g_dialogname?{}:g_dialogname,g_windowid="undefined"==typeof g_windowid?0:g_windowid,g_lppromptid="undefined"==typeof g_lppromptid?0:g_lppromptid,g_progressargs="undefined"==typeof g_progressargs?{}:g_progressargs,g_progresstimer="undefined"==typeof g_progresstimer?null:g_progresstimer;"undefined"!=typeof LPDialog&&LPDialog.setBaseURL("newvault/");
if("function"!==typeof gs)var gs=function(a){return"undefined"!=typeof translations&&"undefined"!=typeof translations[a]?translations[a]:a};
function lpwindow(a){var b="undefined"!=typeof a.html?a.html:"",c="undefined"!=typeof a.onclick?a.onclick:null,d="undefined"!=typeof a.showok?a.showok:!1,e="undefined"!=typeof a.showcancel?a.showcancel:!1,f="undefined"!=typeof a.title?a.title:"",h="undefined"!=typeof a.xdialogwidth?a.xdialogwidth:!1,l="undefined"!=typeof a.okbuttontext?a.okbuttontext:null,g="undefined"!=typeof a.showclose?a.showclose:!0,k="undefined"!=typeof a.inputid?a.inputid:null,m="undefined"!=typeof a.url?a.url:null,q=typeof("object"===
a.urlParams)?a.urlParams:null,p="undefined"!=typeof a.onclose?a.onclose:null,u="undefined"!=typeof a.width?a.width:null,n="undefined"!=typeof a.aftershow?a.aftershow:null,t="undefined"!=typeof a.name?a.name:null,z="undefined"!=typeof a.headerhtml?a.headerhtml:null,P="undefined"!=typeof a.padding?a.padding:null,B="undefined"!=typeof a.bordercolor?a.bordercolor:null,F="undefined"!=typeof a.height?a.height:null,C="undefined"!=typeof a.overflow?a.overflow:null,Q="undefined"!=typeof a.contentheight?a.contentheight:
null,G="undefined"!=typeof a.topv?a.topv:null,R="undefined"!=typeof a.maxwidth?a.maxwidth:null,w="undefined"!=typeof a.swapdefaults?a.swapdefaults:!1,K="undefined"!=typeof a.htmlafter?a.htmlafter:null,L="undefined"!=typeof a.zindex?a.zindex:null,S="undefined"!=typeof a.nobg?a.nobg:null,T="undefined"!=typeof a.nomaxheight?a.nomaxheight:null,U="undefined"!=typeof a.noheight?a.noheight:null,V="undefined"!=typeof a.nomaxwidth?a.nomaxwidth:null,M="undefined"!=typeof a.cancelbuttontext?a.cancelbuttontext:
null,W="undefined"!=typeof a.settingswin?a.settingswin:null,X="undefined"!=typeof a.closebgclick?a.closebgclick:!0,N="undefined"!=typeof a.showcustom?a.showcustom:!1,E="undefined"!=typeof a.custombuttontext?a.custombuttontext:null,O="undefined"!=typeof a.customonclick?a.customonclick:null,da="undefined"!=typeof a.leftv?a.leftv:null,D="undefined"!=typeof a.addnewstyle?a.addnewstyle:!1,H="undefined"!=typeof a.addnewclass?a.addnewclass:"",Y="undefined"!=typeof a.customcloseicon?a.customcloseicon:null,
x={};"undefined"!=typeof a.classok&&(x.classok=a.classok);"undefined"!=typeof a.classcancel&&(x.classcancel=a.classcancel);null!=l&&(d=!0);null!=M&&(e=!0);E&&O||(N=!1);lpwindow_internal(b,c,d,e,f,h,l,g,k,m,q,p,u,n,t,z,P,B,F,C,Q,G,R,w,x,K,L,S,T,U,V,M,W,X,N,E,O,da,D,H,Y)}function lpwindowx(a){a.xdialogwidth=!0;lpwindow(a)}
function lpmessagebox(a,b,c,d,e,f,h){"undefined"==typeof LPDialog||h?(c="undefined"!=typeof c?c:null,e?lpwindow({title:a,html:b,showok:!0,onclick:c,showclose:!1,onclose:d,addnewstyle:!0,addnewclass:e,okbuttontext:f}):lpwindow({title:a,html:b,showok:!0,onclick:c,showclose:!1,onclose:d})):dialogs.alert.open({title:a,text:b,handler:c,closeHandler:d})}
function lpconfirmbox(a,b,c,d,e,f,h,l,g){"undefined"!=typeof LPDialog?dialogs.confirmation.open({title:a,text:b,nextButtonText:gs("OK"),backButtonText:Strings.Vault.CANCEL,handler:c,closeHandler:d}):lpwindow({title:a,html:b,showok:!0,showcancel:!0,showclose:!1,onclick:c,onclose:d,classok:e,classcancel:f,addnewclass:h,okbuttontext:l,cancelbuttontext:g,name:"confirm"})}
function lpyesnobox(a,b,c,d,e,f){"undefined"!=typeof LPDialog?dialogs.confirmation.open({title:a,text:b,nextButtonText:Strings.Vault.YES,backButtonText:Strings.Vault.NO,handler:c,closeHandler:d}):lpwindow({title:a,html:b,showok:!0,showcancel:!0,showclose:!1,onclick:c,onclose:d,classok:e,classcancel:f,okbuttontext:gs("Yes"),cancelbuttontext:gs("No")})}
function lpwaitbox(a,b){"undefined"!=typeof LPDialog&&"undefined"!=typeof dialogs&&"undefined"!=typeof dialogs.wait?dialogs.wait.open():(lpwaitboxhide(),lpwindow({title:a,html:"
"+b+"
",showclose:!1,name:"waitbox"}))}function lpwaitboxhide(){"undefined"!=typeof LPDialog&&"undefined"!=typeof dialogs&&"undefined"!=typeof dialogs.wait?dialogs.wait.close():hidedialog({name:"waitbox"})}
function lpprompt(a,b,c,d,e,f,h,l){g_lppromptid++;var g="lpprompt"+g_lppromptid;c||(c="");b='
'+b+(h?"":"
")+'
";lpwindow({title:a,html:b,showok:!0,inputid:g,okbuttontext:f,htmlafter:l,showcancel:!0,swapdefaults:!0,onclick:function(){if("undefined"!=typeof d&&d){var a=$("#"+g),b=a.val(),c=d(b);"undefined"==typeof c||c||a.focus().val("").val(b);return c}},
onclose:function(){d(null)},aftershow:function(){$("#"+g).focus().val("").val(c)}});$(".lppromptwrapper").css("text-align","center")}
"undefined"===typeof Lpwm&&(Lpwm=function(){},Lpwm.prefix="lpwin",Lpwm.htmlprefix="lpwinhtml",Lpwm.bgprefix="lpwinbg",Lpwm.titleprefix="lpwintitle",Lpwm.lpwindowstack=[],Lpwm.z=9E3,Lpwm.lock=!1,Lpwm.uptopzindex=function(){Lpwm.gettopobj().style.zIndex="50000";Lpwm.gettopbg().style.zIndex="49999"},Lpwm.next_is_dup=function(a){if(0==Lpwm.lpwindowstack.length)return!1;var b=Lpwm.gettophtmlid();if(null==b||"undefined"==typeof document.getElementById(b))return!1;b=$("#"+b).html().replace("/","");a=a.replace("/",
"");return 0==b.indexOf(a)?!0:!1},Lpwm.nextz=function(){return Lpwm.z},Lpwm.nextbgz=function(){return Lpwm.z},Lpwm.nextwinz=function(){return Lpwm.z+1},Lpwm.gettophtmlid=function(){return null==Lpwm.gettopobj()?null:Lpwm.gettopobj().id.replace(Lpwm.prefix,Lpwm.htmlprefix)},Lpwm.nexthtmltitleid=function(){return Lpwm.nextid()+"title"},Lpwm.getnumwindows=function(){return Lpwm.lpwindowstack.length},Lpwm.pushWindow=function(a){Lpwm.z++;if("undefined"==typeof a||"undefined"==typeof a.zval||"undefined"==
typeof a.id)return!1;Lpwm.lpwindowstack.push(a);return!0},Lpwm.lockit=function(){return Lpwm.lock?!1:Lpwm.lock=!0},Lpwm.unlockit=function(){Lpwm.lock&&(Lpwm.lock=!1);return!0},Lpwm.popWindow=function(){var a=Lpwm.lpwindowstack.pop();return"undefined"!==typeof a?(Lpwm.z--,a):!1},Lpwm.deleteById=function(a){for(var b in Lpwm.lpwindowstack)if(Lpwm.lpwindowstack[b].id==a)return Lpwm.lpwindowstack.splice(b,1),!0;return!1},Lpwm.currentid=function(){return 0==Lpwm.lpwindowstack.length?null:Lpwm.lpwindowstack[this.getnumwindows()-
1].id},Lpwm.currentbg=function(){return 2>Lpwm.lpwindowstack.length?null:Lpwm.lpwindowstack[this.getnumwindows()-2].id},Lpwm.gettopobj=function(){var a=Lpwm.currentid();return null!==a?document.getElementById(a):null},Lpwm.gettophtmlobj=function(){Lpwm.gettopobj();return replace(Lpwm.prefix,this.htmlprefix)},Lpwm.gettopbg=function(){var a=Lpwm.currentbg();return null!==a?document.getElementById(a):null},Lpwm.settitle=function(a,b){(a=Lpwm.gettitlefromcontentid(a))&&$("#"+a).html(b)},Lpwm.gettitlefromcontentid=
function(a,b){return 0<=a.indexOf(Lpwm.prefix)&&0<=a.indexOf("html")?a.replace("html","title"):null},LPButton=function(a,b,c,d,e){this.type=a||"";this.idprefix=b||"";this.idpostfix=c||"";this.label=d||"";this.customclass=e||""},LPButton.prototype.id=function(){return this.idprefix+this.type+this.idpostfix},LPButton.prototype.html=function(){var a=this.label;a?a=gs(a):"ok"===this.type?a=gs("OK"):"cancel"===this.type&&(a=gs("Cancel"));return''+a+""});function confirmmasterpassword(a,b,c,d){getmasterpassword(a,getmasterpasswordhelperfailure,b,!1,"",c,d)}
function performMultifactorFilteredAction(a,b,c,d){showConfirmPasswordForm(function(){var e=$("#confirmmasterpassword").val();make_lp_key_hash_iterations(g_username,e,g_key_iterations||1,function(e,h){var f=!1,g=function(e){$.ajax({type:"POST",dataType:"json",contentType:"application/json",url:"lmiapi/"+a,data:JSON.stringify($.extend(b,{username:g_username,hash:h,challengeResponse:e})),success:function(a){hidedialog();reduxApp&&reduxApp.getState().accountSettings.dialogIsVisible&&reduxApp.closeAccountSettings();
c(a)},error:function(a){if(401===a.status)if((a=a.responseJSON)&&a.challenge)switch(a.challenge.result){case "waiting":f||(f=!0,lpmessagebox(a.challenge.friendlyName,gs("We sent a push notification to your device. Please accept this request to perform the update.")));g({retryId:a.challenge.retryId});break;case "unpaired":case "failed":f&&hidedialog(),d()}else a&&2041===a.code&&lpmessagebox(gs("An Error Occurred"),gs("The master password you entered is incorrect. Please try again."));else f&&hidedialog(),
d()}})};g({returnImmediately:!0})})})}function getOneTimeToken(a,b,c,d){var e="undefined"!=typeof g_key_iterations?g_key_iterations:1,f=make_lp_key_iterations(g_username,a,e);e=getMasterPasswordPostData(f,a,e);e.maketoken=1;e.tokenfor=b?b:"";$.ajax({global:!1,type:"POST",cache:!1,dataType:"json",url:"verifypassword.php",data:e,success:function(b){b.success?(g_localkey=g_local_key=f,c(b,a)):d(b)},error:d})}
function confirmMasterPasswordWithToken(a,b,c){function d(d,h){h=h||function(){showConfirmPasswordForm(e,2,!1,g_reason)};var f="undefined"!=typeof g_key_iterations?g_key_iterations:1,g=make_lp_key_iterations(g_username,d,f);f=getMasterPasswordPostData(g,d,f);f.maketoken=1;f.tokenfor=c?c:"";$.ajax({global:!1,type:"POST",cache:!1,dataType:"json",url:"verifypassword.php",data:f,success:function(c){c.success?(g_localkey=g_local_key=g,a(c,d)):b(c)},error:h})}var e=function(){b||(b=function(a){var b=function(){document.location.href=
"/?ac=1"};switch("undefined"===typeof a.reason?"unknown":a.reason){case "nosession":lpmessagebox("",gs("You must sign in to your LastPass account before this operation."),b,b);break;case "blacklisted":lpmessagebox("",gs("Your account has been temporarily suspended because of too many login attempt failures."),b,b);break;default:showConfirmPasswordForm(e,2,!1,"")}});var a=$("#confirmmasterpassword").val();d(a,function(){showConfirmPasswordForm(e,2,!1,g_reason)})};isFederatedUserLogin()?d(lpFederatedLoginObj.getFederatedMasterPassword(),
function(){}):FederatedLogin.isFederated(g_username,function(a){a?FederatedLogin.getPassword(g_username,function(a){d(a,function(){})},MessageBoxErrorHandler):showConfirmPasswordForm(e)},MessageBoxErrorHandler)}
function showConfirmPasswordForm(a,b,c,d){var e="";c&&(e=' onkeypress="return event.keyCode != 13;"');c="";"undefined"!==typeof VirtualKeyboard&&(c='');d="
"+(d?d:"")+"
"+gs("Please re-enter your LastPass Master Password")+(2==b?"
"+
gs("The master password you entered is incorrect. Please try again.")+"
":" ")+'
";lpwindow({title:gs("Confirm Password"),html:d,showok:!0,showcancel:!0,cancelbuttontext:"Cancel",okbuttontext:"Continue",onclick:a,inputid:"confirmmasterpassword"});Lpwm.uptopzindex();b&&$("#confirmmasterpassword").css({border:"solid 2px red"});
$("#confirmmasterpassword").css({width:"200px"});$("#confirmmasterpassword").css({"text-align":"left"});$("#confirmmasterpassword").css({"margin-topalign":"12px"});$("#confirmmasterpassword").select();$("#confirmmasterpassword").on("focus",function(){attachKeyboard(this)});if("undefined"!==typeof VirtualKeyboard&&"function"===typeof attachKeyboard&&"function"===typeof VirtualKeyboard.toggle){$("#confirmmasterpassword").on("focus",function(){attachKeyboard(this)});try{VirtualKeyboard.toggle("confirmmasterpassword",
"virtualkeyboard")}catch(f){}}}function isFederatedUserLogin(){return"object"===typeof lpFederatedLoginObj&&lpFederatedLoginObj.wasLastLoginFederated()}
function getmasterpassword(a,b,c,d,e,f,h){g_func2=a;g_func3=b;g_reason=e||"";isFederatedUserLogin()?getmasterpasswordhelper(lpFederatedLoginObj.getFederatedMasterPassword(),f,h):FederatedLogin.isFederated(g_username,function(a){a?FederatedLogin.getPassword(g_username,function(a){getmasterpasswordhelper(a,f,h)},MessageBoxErrorHandler):showConfirmPasswordForm(function(a){getmasterpasswordhelper(a,f,h)},c,d,e)},MessageBoxErrorHandler)}
function getmasterpasswordhelper(a,b,c){a||(a=$("#confirmmasterpassword").val(),"function"===typeof challengegetstrength&&challengegetstrength(g_USERNAME,a,function(a){g_mpw_strength=a}));var d="undefined"!=typeof g_key_iterations?g_key_iterations:1,e=make_lp_key_iterations(g_username,a,d),f=getMasterPasswordPostData(e,a,d,b);d="";var h=document.getElementById("csrftoken");f.keyType=b;h&&h.value&&(d={"X-CSRF-TOKEN":h.value});$.ajax({global:!1,type:"POST",cache:!1,dataType:"json",url:selectURL(c),
data:f,headers:d,success:function(b){1==b.success?(g_localkey=g_local_key=e,g_func2(a,f.pwhash,b)):g_func3(b)},error:function(a){getmasterpassword(g_func2,g_func3,2,!1,g_reason,a.keyType,a.action)}})}function selectURL(a){var b="verifypassword.php";"regenerate"===a?b="lmiapi/mfa/regenerate-key":"show"===a&&(b="lmiapi/mfa/show-key");return b}
function getMasterPasswordPostData(a,b,c,d){a=make_lp_hash_iterations(a,b,c);b=null;"undefined"!=typeof g_token?b=g_token:document.getElementById("csrftoken")&&(b=document.getElementById("csrftoken").value);c={cmd:"verify",email:g_username,pwhash:a,iterations:c,from:"reprompt",token:b};"undefined"!=typeof g_reprompt_from&&(c.from=g_reprompt_from);return c}
function getmasterpasswordhelperfailure(a){switch("undefined"==typeof a.reason?"unknown":a.reason){case "nosession":alert(gs("You must log into your LastPass vault before starting the LastPass Security Challenge."));hidedialog();document.location.href="misc_login.php?from_uri="+encodeURIComponent("/misc_challenge.php");break;case "blacklisted":lpmessagebox("",gs("Your account has been temporarily suspended because of too many login attempt failures."));hidedialog();break;default:getmasterpassword(g_func2,
g_func3,2,!1,g_reason,a.keyType,a.action)}}function setonclick(a,b){if(a=$(a))if("undefined"!=typeof a.on)a.on("click",b);else"undefined"!=typeof a.live&&a.click(b)}function getRandomInt(a,b){return Math.floor(Math.random()*(b-a+1))+a}
function lpwindow_internal(a,b,c,d,e,f,h,l,g,k,m,q,p,u,n,t,z,P,B,F,C,Q,G,R,w,K,L,S,T,U,V,M,W,X,N,E,O,da,D,H,Y){if("undefined"!=typeof k&&k){a={};"undefined"!==typeof lp_phpsessid&&(a.wxsessid=lp_phpsessid);if("object"===typeof m)for(var x in m)m.hasOwnProperty(x)&&(a[x]=m[x]);lpwindow({title:e,html:"