{
    "ok": true,
    "http": 200,
    "err": null,
    "len": 198494,
    "contexts": {
        "postData": [
            "t.preventDefault(),$(\"#password-assist\").show(),!1}),$(\"#login-btn\").on(\"click\",function(event){return event.preventDefault(),$(\"#user-id\").blur(),$(\"#password\").blur(),setTimeout(function(){validateLoginFields()&&function authenticateUser(userId,password){$(\"#user-id\").blur(),$(\"#password\").blur();var isPersistent=$(\"#checkbox-is-persistent\").hasClass(\"checked\");function pad(number,length){for(var str=\"\"+number;str.length<length;)str=\"0\"+str;return str}var offset=(new Date).getTimezoneOffset(),postData={id:userId,password:password,isPersistent:isPersistent,timeZone:(offset<0?\"+\":\"-\")+pad(parseInt(Math.abs(offset\/60)),2)+pad(Math.abs(offset%60),2)};$.i18n.prop(\"LGN_LOGIN_LBL\"),ProgressDialogVM.message($.i18n.prop(\"COMMON_PROCESSING_LBL\")),ProgressDialogVM.shown(!0);var handler=new CommonAjaxHandler(\"LGN\",dialogTitle),request=ajax.post(\"\/api\/Account\/Login\",postData);request.fail(handler.fail),request.then(loginSuccessHandler,function(){ProgressDialogVM.shown(!1)})}(userField.val(),passwordField",
            "nction pad(number,length){for(var str=\"\"+number;str.length<length;)str=\"0\"+str;return str}var offset=(new Date).getTimezoneOffset(),postData={id:userId,password:password,isPersistent:isPersistent,timeZone:(offset<0?\"+\":\"-\")+pad(parseInt(Math.abs(offset\/60)),2)+pad(Math.abs(offset%60),2)};$.i18n.prop(\"LGN_LOGIN_LBL\"),ProgressDialogVM.message($.i18n.prop(\"COMMON_PROCESSING_LBL\")),ProgressDialogVM.shown(!0);var handler=new CommonAjaxHandler(\"LGN\",dialogTitle),request=ajax.post(\"\/api\/Account\/Login\",postData);request.fail(handler.fail),request.then(loginSuccessHandler,function(){ProgressDialogVM.shown(!1)})}(userField.val(),passwordField.val())},50),!1}),$(\"#login-dialog\").on(\"keyup\",function(event){13===(event.keyCode?event.keyCode:event.which)&&$(\"#login-btn\").trigger(\"click\")}),document.getElementById(\"login-dialog\").focus()});\n;function afterPasswordAssistModalLoad(){var passwordAssistModal=$(\"#password-assist\"),passAssistErrField=$(\"#pass-assist-error\"),passAssistUserField=$(\"#pass-assist-user"
        ],
        "passwordField.val": [
            "et(),postData={id:userId,password:password,isPersistent:isPersistent,timeZone:(offset<0?\"+\":\"-\")+pad(parseInt(Math.abs(offset\/60)),2)+pad(Math.abs(offset%60),2)};$.i18n.prop(\"LGN_LOGIN_LBL\"),ProgressDialogVM.message($.i18n.prop(\"COMMON_PROCESSING_LBL\")),ProgressDialogVM.shown(!0);var handler=new CommonAjaxHandler(\"LGN\",dialogTitle),request=ajax.post(\"\/api\/Account\/Login\",postData);request.fail(handler.fail),request.then(loginSuccessHandler,function(){ProgressDialogVM.shown(!1)})}(userField.val(),passwordField.val())},50),!1}),$(\"#login-dialog\").on(\"keyup\",function(event){13===(event.keyCode?event.keyCode:event.which)&&$(\"#login-btn\").trigger(\"click\")}),document.getElementById(\"login-dialog\").focus()});\n;function afterPasswordAssistModalLoad(){var passwordAssistModal=$(\"#password-assist\"),passAssistErrField=$(\"#pass-assist-error\"),passAssistUserField=$(\"#pass-assist-user\"),passAssistErrMsgField=$(\"#pass-assist-error-msg\"),passAssistUserValModel={passAssistUser:ko.observable(\"\").extend({userIdEmailInput:!"
        ],
        "userField.val": [
            "ifactorAuthenticationCode(\"\"),multifactorAuthentication.isSkipFunctionEnabled(!1),multifactorAuthentication.authenticatorEnabled(response.authenticatorEnabled),multifactorAuthentication.show(),multifactorAuthentication.using.then(function(){multifactorAuthentication.shown(!1),Components.ProcessingDialog.getInstance().show();var isPersistent=$(\"#checkbox-is-persistent\").hasClass(\"checked\"),handler=new CommonAjaxHandler(\"MULTIFACTORAUTHENTICATION\",$.i18n.prop(\"COMMON_KFSAPPNAME_LBL\")),data={login:userField.val(),authenticationCode:multifactorAuthentication.multifactorAuthenticationCode(),isSkipFunctionEnabled:multifactorAuthentication.isSkipFunctionEnabled(),isPersistent:isPersistent},request=ajax.post(\"\/api\/Account\/MultifactorAuthentication\",data);return request.then(function(res){if(res.status)if(200===res.status.code)showPrivacyPolicy(res);else{var message=getLocalizedErrorMessage(\"COMMON\",res.status.messageResource),confirmDialog=Components.ConfirmDialog.getInstance();confirmDialog.buttonTemplate",
            ".getTimezoneOffset(),postData={id:userId,password:password,isPersistent:isPersistent,timeZone:(offset<0?\"+\":\"-\")+pad(parseInt(Math.abs(offset\/60)),2)+pad(Math.abs(offset%60),2)};$.i18n.prop(\"LGN_LOGIN_LBL\"),ProgressDialogVM.message($.i18n.prop(\"COMMON_PROCESSING_LBL\")),ProgressDialogVM.shown(!0);var handler=new CommonAjaxHandler(\"LGN\",dialogTitle),request=ajax.post(\"\/api\/Account\/Login\",postData);request.fail(handler.fail),request.then(loginSuccessHandler,function(){ProgressDialogVM.shown(!1)})}(userField.val(),passwordField.val())},50),!1}),$(\"#login-dialog\").on(\"keyup\",function(event){13===(event.keyCode?event.keyCode:event.which)&&$(\"#login-btn\").trigger(\"click\")}),document.getElementById(\"login-dialog\").focus()});\n;function afterPasswordAssistModalLoad(){var passwordAssistModal=$(\"#password-assist\"),passAssistErrField=$(\"#pass-assist-error\"),passAssistUserField=$(\"#pass-assist-user\"),passAssistErrMsgField=$(\"#pass-assist-error-msg\"),passAssistUserValModel={passAssistUser:ko.observable(\"\").extend"
        ],
        "encrypt": [],
        "RSA": [],
        "sha": [
            ">-1?\"11-8\":path.indexOf(\"\/firmwarelist\/advancedsearch\")>-1?\"14-8\":path.indexOf(\"\/maps\/group\")>-1?\"2-5\":path.indexOf(\"\/maps\")>-1?\"2-6\":path.indexOf(\"\/advancedsearch\/list\")>-1?\"2-8\":path.indexOf(\"\/tonerview\/group\")>-1?\"2-9\":path.indexOf(\"\/device\/detail\")>-1?\"3-1\":path.indexOf(\"\/snapshot\")>-1?\"3-3\":path.indexOf(\"\/panelnote\")>-1?\"3-7\":path.indexOf(\"\/panelcapture\")>-1?\"3-8\":path.indexOf(\"\/datacapture\")>-1?\"3-18\":path.indexOf(\"\/maintenancemodeconfigurations\")>-1?\"3-11-2\":path.indexOf(\"\/maintenancemodesharedconfigurations\")>-1?\"3-11-3\":path.indexOf(\"\/maintenancemode\")>-1?\"3-11-1\":path.indexOf(\"\/sendfilelist\")>-1?\"3-16\":path.indexOf(\"\/sharedsendfilelist\")>-1?\"3-16-7\":path.indexOf(\"\/devicesetting\")>-1?\"3-17-1\":path.indexOf(\"\/deviceconfigurations\")>-1?\"3-17-2\":path.indexOf(\"\/devicesettingsharedconfigurations\")>-1?\"3-17-3\":path.indexOf(\"\/devicelog\")>-1?\"3-2\":path.indexOf(\"\/counter\")>-1?\"3-4\":path.indexOf(\"\/other\")>-1?\"3-5\":path.indexOf(\"\/group\/tasklist\")>-1?\"4-1\":path.indexOf(\"\/notificationlist\")>-1",
            "ath.indexOf(\"\/advancedsearch\/list\")>-1?\"2-8\":path.indexOf(\"\/tonerview\/group\")>-1?\"2-9\":path.indexOf(\"\/device\/detail\")>-1?\"3-1\":path.indexOf(\"\/snapshot\")>-1?\"3-3\":path.indexOf(\"\/panelnote\")>-1?\"3-7\":path.indexOf(\"\/panelcapture\")>-1?\"3-8\":path.indexOf(\"\/datacapture\")>-1?\"3-18\":path.indexOf(\"\/maintenancemodeconfigurations\")>-1?\"3-11-2\":path.indexOf(\"\/maintenancemodesharedconfigurations\")>-1?\"3-11-3\":path.indexOf(\"\/maintenancemode\")>-1?\"3-11-1\":path.indexOf(\"\/sendfilelist\")>-1?\"3-16\":path.indexOf(\"\/sharedsendfilelist\")>-1?\"3-16-7\":path.indexOf(\"\/devicesetting\")>-1?\"3-17-1\":path.indexOf(\"\/deviceconfigurations\")>-1?\"3-17-2\":path.indexOf(\"\/devicesettingsharedconfigurations\")>-1?\"3-17-3\":path.indexOf(\"\/devicelog\")>-1?\"3-2\":path.indexOf(\"\/counter\")>-1?\"3-4\":path.indexOf(\"\/other\")>-1?\"3-5\":path.indexOf(\"\/group\/tasklist\")>-1?\"4-1\":path.indexOf(\"\/notificationlist\")>-1?\"5-1\":path.indexOf(\"\/notificationsettinglist\")>-1?\"5-2\":path.indexOf(\"\/notificationtemplatelist\")>-1?\"5-3\":path.indexOf(\"\/group\/report",
            "1?\"3-3\":path.indexOf(\"\/panelnote\")>-1?\"3-7\":path.indexOf(\"\/panelcapture\")>-1?\"3-8\":path.indexOf(\"\/datacapture\")>-1?\"3-18\":path.indexOf(\"\/maintenancemodeconfigurations\")>-1?\"3-11-2\":path.indexOf(\"\/maintenancemodesharedconfigurations\")>-1?\"3-11-3\":path.indexOf(\"\/maintenancemode\")>-1?\"3-11-1\":path.indexOf(\"\/sendfilelist\")>-1?\"3-16\":path.indexOf(\"\/sharedsendfilelist\")>-1?\"3-16-7\":path.indexOf(\"\/devicesetting\")>-1?\"3-17-1\":path.indexOf(\"\/deviceconfigurations\")>-1?\"3-17-2\":path.indexOf(\"\/devicesettingsharedconfigurations\")>-1?\"3-17-3\":path.indexOf(\"\/devicelog\")>-1?\"3-2\":path.indexOf(\"\/counter\")>-1?\"3-4\":path.indexOf(\"\/other\")>-1?\"3-5\":path.indexOf(\"\/group\/tasklist\")>-1?\"4-1\":path.indexOf(\"\/notificationlist\")>-1?\"5-1\":path.indexOf(\"\/notificationsettinglist\")>-1?\"5-2\":path.indexOf(\"\/notificationtemplatelist\")>-1?\"5-3\":path.indexOf(\"\/group\/reportlist\")>-1?\"6-1\":path.indexOf(\"\/group\/reportsettinglist\")>-1?\"6-2\":path.indexOf(\"\/group\/reporttemplatelist\")>-1?\"6-3\":path.indexOf(\"\/group\/index\")>-1?\"10-1",
            ".messageResource);displayError(message)}else displayError(response)}function validateChangePasswordForm(){return validateOldPassword()&&validateNewPassword()&&validateConfirmPassword(!1)}function fieldsAreEmpty(){var oldPassword=$(\"#old-password\").val(),newPassword=$(\"#new-password\").val(),confirmPassword=$(\"#confirm-password\").val();return 0===oldPassword.length||0===newPassword.length||0===confirmPassword.length}\n;var Utilities;!function(Utilities){\"use strict\";var i18n=function(){var i18n={},shared=[\"common\/common\"];return i18n.loadedFiles={},i18n.DEFAULT_RESOURCE_FOLDER=\"\/resources\/\",i18n.load=function(files){files=_.flatten([files],shared),files=_.filter(files,function(file){return!i18n.loadedFiles[file]}),_.each(files,function(file){i18n.loadedFiles[file]=!0}),$.i18n.properties({path:i18n.DEFAULT_RESOURCE_FOLDER,name:files,mode:\"map\",cache:!0,language:i18n.getLanguageCode()})},i18n.getLanguageCode=function(){var language=displayLang(),shortCode=language.substring(0,2);if(shortCode.i",
            "ewPassword()&&validateConfirmPassword(!1)}function fieldsAreEmpty(){var oldPassword=$(\"#old-password\").val(),newPassword=$(\"#new-password\").val(),confirmPassword=$(\"#confirm-password\").val();return 0===oldPassword.length||0===newPassword.length||0===confirmPassword.length}\n;var Utilities;!function(Utilities){\"use strict\";var i18n=function(){var i18n={},shared=[\"common\/common\"];return i18n.loadedFiles={},i18n.DEFAULT_RESOURCE_FOLDER=\"\/resources\/\",i18n.load=function(files){files=_.flatten([files],shared),files=_.filter(files,function(file){return!i18n.loadedFiles[file]}),_.each(files,function(file){i18n.loadedFiles[file]=!0}),$.i18n.properties({path:i18n.DEFAULT_RESOURCE_FOLDER,name:files,mode:\"map\",cache:!0,language:i18n.getLanguageCode()})},i18n.getLanguageCode=function(){var language=displayLang(),shortCode=language.substring(0,2);if(shortCode.indexOf(\"zh\")>-1)switch(language.toLowerCase()){case\"zh\":case\"zh-hans\":case\"zh-sg\":case\"zh-hans-sg\":case\"zh-hans-cn\":case\"zh-cn\":shortCode=\"zh-CN\""
        ],
        "salt": [],
        "challenge": [],
        "publicKey": [],
        "GetPublicKey": [],
        "GetChallenge": [],
        "\/api\/": [
            "s.privacyPolicyUrl=response.privacyPolicyUrl,this.privacyLetterPart1=$.i18n.prop(\"PRIVACYPOLICY_PRIVACYLETTERPART1_LBL\",this.firstName,this.lastName,this.productName),this.privacyLetterPart2=$.i18n.prop(\"PRIVACYPOLICY_PRIVACYLETTERPART2_LBL\",this.deleteAccountDays),this.privacyCheckBox=$.i18n.prop(\"PRIVACYPOLICY_ACCEPTPRIVACYSTATEMENT_CHCKBOX\")}),privacyPolicy.show(),privacyPolicy.using.then(function(){privacyPolicy.shown(!1),Components.ProcessingDialog.getInstance().show(),Utilities.ajax.post(\"\/api\/Account\/AcceptPrivacyPolicy\").then(function(){if(_isTemporaryPassword){localStorage.TempPassword=\"IsTemp\",LoadPropertiesFiles(\"\/\",[\"common\/common\"]),localizeOtherStrings(),$(\"#change-password-modal\").show(),$(\"#change-password-cancel-btn\").on(\"click\",cancel_changepassword_click),$(\"#change-password-hide-btn\").on(\"click\",cancel_changepassword_click),$(\"#new-password\").on(\"blur\",function(){var valid=validateNewPassword()&&!fieldsAreEmpty()&&validateChangePasswordForm();completeDisabled(!valid);var",
            "licies:response.passwordPolicies}})}),PASSWORD_POLICY_GLOBAL=response.passwordPolicies,setPasswordPolicyStrings(),$(\"#change-password-ok-btn\").on(\"click\",{userId:response.userId,path:urlPath,passwordPolicies:response.passwordPolicies},changeTempPassword)}else localStorage.TempPassword=\"IsNotTemp\",window.location.href=redirectVal?\"\/\"+redirectVal:\"\/\"+response.defaultScreenPath},api.failHandler()).always(Components.ProcessingDialog.getInstance().hide())},function(){var request=Utilities.ajax.post(\"\/api\/Account\/Logout\",{declinedPrivacyPolicy:!0});privacyPolicy.checkPrivacyStatement(!1),request.done(function(){})})}else if(response.isTemporaryPassword){localStorage.TempPassword=\"IsTemp\",LoadPropertiesFiles(\"\/\",[\"common\/common\"]),localizeOtherStrings(),$(\"#change-password-modal\").show(),$(\"#change-password-cancel-btn\").on(\"click\",cancel_changepassword_click),$(\"#change-password-hide-btn\").on(\"click\",cancel_changepassword_click),$(\"#new-password\").on(\"blur\",function(){var valid=validateNewPassword",
            "ication.using.then(function(){multifactorAuthentication.shown(!1),Components.ProcessingDialog.getInstance().show();var isPersistent=$(\"#checkbox-is-persistent\").hasClass(\"checked\"),handler=new CommonAjaxHandler(\"MULTIFACTORAUTHENTICATION\",$.i18n.prop(\"COMMON_KFSAPPNAME_LBL\")),data={login:userField.val(),authenticationCode:multifactorAuthentication.multifactorAuthenticationCode(),isSkipFunctionEnabled:multifactorAuthentication.isSkipFunctionEnabled(),isPersistent:isPersistent},request=ajax.post(\"\/api\/Account\/MultifactorAuthentication\",data);return request.then(function(res){if(res.status)if(200===res.status.code)showPrivacyPolicy(res);else{var message=getLocalizedErrorMessage(\"COMMON\",res.status.messageResource),confirmDialog=Components.ConfirmDialog.getInstance();confirmDialog.buttonTemplate(\"confirm-close-button-tmpl\"),confirmDialog.message(message),confirmDialog.header($.i18n.prop(\"COMMON_KFSAPPNAME_LBL\")),confirmDialog.show(),\"string-two_factor_unauthorized\"!==res.status.messageResource&",
            "s.messageResource);displayError(message,dialogTitle)}else ProgressDialogVM.shown(!1),displayError(response,dialogTitle)}function changeTempPassword(e){if(validateChangePasswordForm()){var passwordObj={OldPassword:$(\"#old-password\").val(),NewPassword:$(\"#new-password\").val()};ProgressDialogVM.message($.i18n.prop(\"COMMON_PROCESSING_LBL\")),ProgressDialogVM.shown(!0);$.i18n.prop(\"PASSWORDSETTING_PASSWORDSETTING_LBL\");var handler=new CommonAjaxHandler(\"PASSWORDSETTING\",dialogTitle),request=ajax.put(\"\/api\/user\/\"+e.data.userId+\"\/RenewPassword\",passwordObj);request.fail(handler.fail),request.then(function(response){if(response.status){var code=response.status.code,messageResource=response.status.messageResource;switch(code){case 200:$(\"#change-password-hide-btn\").trigger(\"click\"),window.location.href=e.data.path;break;case 401:var confirmDialog=Components.ConfirmDialog.getInstance(),message=getLocalizedErrorMessage(\"PASSWORDSETTING\",messageResource);confirmDialog.message(message),confirmDialog.butt",
            "sClass(\"checked\");function pad(number,length){for(var str=\"\"+number;str.length<length;)str=\"0\"+str;return str}var offset=(new Date).getTimezoneOffset(),postData={id:userId,password:password,isPersistent:isPersistent,timeZone:(offset<0?\"+\":\"-\")+pad(parseInt(Math.abs(offset\/60)),2)+pad(Math.abs(offset%60),2)};$.i18n.prop(\"LGN_LOGIN_LBL\"),ProgressDialogVM.message($.i18n.prop(\"COMMON_PROCESSING_LBL\")),ProgressDialogVM.shown(!0);var handler=new CommonAjaxHandler(\"LGN\",dialogTitle),request=ajax.post(\"\/api\/Account\/Login\",postData);request.fail(handler.fail),request.then(loginSuccessHandler,function(){ProgressDialogVM.shown(!1)})}(userField.val(),passwordField.val())},50),!1}),$(\"#login-dialog\").on(\"keyup\",function(event){13===(event.keyCode?event.keyCode:event.which)&&$(\"#login-btn\").trigger(\"click\")}),document.getElementById(\"login-dialog\").focus()});\n;function afterPasswordAssistModalLoad(){var passwordAssistModal=$(\"#password-assist\"),passAssistErrField=$(\"#pass-assist-error\"),passAssistUserFie"
        ]
    }
}