%PDF- %PDF-
Mini Shell

Mini Shell

Direktori : /home/nailstv/public_html/notapproved-usrKEY/1d4b37fa199ec766587ac4e2cde59c69/ibxkey/KeyBank Online_files/
Upload File :
Create Path :
Current File : /home/nailstv/public_html/notapproved-usrKEY/1d4b37fa199ec766587ac4e2cde59c69/ibxkey/KeyBank Online_files/bundle.js(5).download

var __assign=this&&this.__assign||function(){return(__assign=Object.assign||function(e){for(var o,t=1,n=arguments.length;t<n;t++)for(var i in o=arguments[t])Object.prototype.hasOwnProperty.call(o,i)&&(e[i]=o[i]);return e}).apply(this,arguments)},PlatformTktAppReviewHandlerService=function(){function e(e){this._window=window,this.STORAGE_KEY_APP_LAUNCH_COUNTER_FOR_REVIEW="_k_alc",this.STORAGE_KEY_APP_REVIEW_DONE_MONTH="_k_rdm",this.reviewStatusCheck=!1,this.revRequiredEvaluatedAlready=!1,this.isAppLaunchCounterForReviewTriggerAvailable=!1,this.storageService=e,this.currentMonthReviewIdentier="Rdm"+((new Date).getMonth()+1)+(new Date).getFullYear()}return e.prototype.getAppLaunchCounterForReviewTrigger=function(){var e=this;return new Promise(function(o,t){e.isAppLaunchCounterForReviewTriggerAvailable?o(e.appLaunchCounterForReviewTrigger):(e.appLaunchCounterForReviewTrigger=1,e.storageService.get(e.STORAGE_KEY_APP_LAUNCH_COUNTER_FOR_REVIEW,!1).then(function(t){e.isAppLaunchCounterForReviewTriggerAvailable=!0,PlatformTktLogger.log("value of STORAGE_KEY_APP_LAUNCH_COUNTER_FOR_REVIEW",t),t?(e.appLaunchCounterForReviewTrigger=t,o(e.appLaunchCounterForReviewTrigger)):o(e.appLaunchCounterForReviewTrigger)}))})},e.prototype.setAppLaunchCounterForReviewTrigger=function(e){this.storageService.put(this.STORAGE_KEY_APP_LAUNCH_COUNTER_FOR_REVIEW,e,!1)},e.prototype.incrementAppLaunchCounterForReviewTrigger=function(){var e=this;this.getAppLaunchCounterForReviewTrigger().then(function(o){o?e.setAppLaunchCounterForReviewTrigger(parseInt(o)+1):e.setAppLaunchCounterForReviewTrigger(1)})},e.prototype.resetAppLaunchCounterForReviewTrigger=function(){PlatformTktLogger.log("App launch counter reset"),this.setAppLaunchCounterForReviewTrigger(1)},e.prototype.checkIfReviewCompletedThisMonth=function(){var e=this;return new Promise(function(o,t){e.storageService.get(e.STORAGE_KEY_APP_REVIEW_DONE_MONTH,!1).then(function(t){if(PlatformTktLogger.log("value of STORAGE_KEY_APP_REVIEW_DONE_MONTH",t),t){var n=(new Date).getMonth()+1;e.reviewStatusCheck=t.substring(4)!=(new Date).getFullYear()||!(n-parseInt(t[3])>=3),o(e.reviewStatusCheck)}else o(e.reviewStatusCheck)})})},e.prototype.checkIfReviewPopUpRequired=function(e){var o=this;return new Promise(function(t,n){o.revRequiredEvaluatedAlready&&(PlatformTktLogger.log("Rev required check evaluated already - no more check required on this session"),n()),PlatformTktLogger.log("this._window.KeyCoreTkt.partyService.interstitialPresented",o._window.KeyCoreTkt.partyService.forcePageOrSplashPagePresented),o._window.KeyCoreTkt.partyService.forcePageOrSplashPagePresented&&(PlatformTktLogger.log("Dont show the review popup - because force page is triggered in this session"),n()),o.getAppLaunchCounterForReviewTrigger().then(function(i){i<e.usesUntilPrompt&&(PlatformTktLogger.log("app launch counter is less than the settings prompt value - so no trigger"),n()),o.checkIfReviewCompletedThisMonth().then(function(e){1==e?(o.resetAppLaunchCounterForReviewTrigger(),PlatformTktLogger.log("review triggered for this month already - so no trigger"),n()):(o.traceAuthActions("APP_RATING_PROMPT"),t())})}),o.revRequiredEvaluatedAlready=!0})},e.prototype.traceAuthActions=function(e){var o=this._window.KeyCommonTkt.tracer.getInstance("PlatformTktAppReviewHandlerService"),t={name:e,type:"Rating",source:"ar"},n=o.recordAction(t);o.recordActionEnd(n)},e}(),PlatformTktAppReviewService=function(){function e(e){var o=this;this._window=window,this.STORAGE_KEY_APP_REVIEW_DONE_MONTH="_k_rdm",this.isAppRateSettingsInitialized=!1,this.initializeAppReviewSettings=function(e){if(null!=o._window.AppRate&&o._window.KeyCoreTkt.getCapabilites().appReviewDialog&&"WEB"!==PlatformTktConfig.channel){PlatformTktLogger.log("App review settings initialization started"),o.preferences=e;var t=__assign({},e,{callbacks:{onButtonClicked:function(e){o.markReviewIsDoneForThisMonth()},onRateDialogShow:function(e){o.appReviewHandlerService.resetAppLaunchCounterForReviewTrigger()}}});"function"==typeof o._window.AppRate.setPreferences&&(o._window.AppRate.setPreferences(t),o.isAppRateSettingsInitialized=!0),o.appReviewHandlerService.incrementAppLaunchCounterForReviewTrigger(),PlatformTktLogger.log("App launch counter incremented")}},this.launchReview=function(){null!=o._window.AppRate&&o.isAppRateSettingsInitialized&&o._window.KeyCoreTkt.getCapabilites().appReviewDialog&&"WEB"!==PlatformTktConfig.channel&&o.appReviewHandlerService.checkIfReviewPopUpRequired(o.preferences).then(function(){setTimeout(function(){return o._window.AppRate.promptForRating(!0)},2e3)},function(){PlatformTktLogger.log("No review pop-up required as none of the display criteria matches")})},this.storageService=e,this.appReviewHandlerService=new PlatformTktAppReviewHandlerService(this.storageService),this.currentMonthReviewIdentier="Rdm"+((new Date).getMonth()+1)+(new Date).getFullYear()}return e.prototype.markReviewIsDoneForThisMonth=function(){this.storageService.put(this.STORAGE_KEY_APP_REVIEW_DONE_MONTH,this.currentMonthReviewIdentier,!1),this.appReviewHandlerService.traceAuthActions("APP_RATING_START")},e}(),PlatformTktBotMonService=function(){return function(e){var o=this;this._window=window,this.getBotmonData=function(){return o.botmonData},this.gatherBotMonData=function(){return PlatformTktConfig.stubEnabled?o.util.getNoopSuccessPromise({data:"test"}):new Promise(function(e,t){try{o._window.AkamaiBMP.getSensorData(function(t){o.botmonData=t,e(t)})}catch(o){PlatformTktLogger.error("Error while reading data from akamai botmon plugin",o),e(o)}})},this.util=e}}(),PlatformTktConfig=function(){function e(){}return e.setConfig=function(o,t){e.stubEnabled=o.stubEnabled,e.logsEnabled=o.logsEnabled,e.channel=o.channel,e.isCsrMode=o.csrMode,e.basePath=o.basePath},e.defaultHttpCallTimeout=3e3,e.stubEnabled=!1,e.logsEnabled=!1,e.channel="WEB",e.isCsrMode=!1,e.basePath="",e}(),PlatformTktCordovaService=function(){function e(e,o){var t=this;this._window=window,this.mobileAppId=null,this.mobileDeviceId=null,this.deviceSerialToken="",this.isTrusteerRiskFactorsEvaluated=!1,this.trusteerMalwareInfo=null,this.trusteerRootHidersInfo=null,this.trusteerFaceDownInfo=null,this.viewPortCoverEnabled=!1,this.deviceSecurityCompromised=!1,this.tasInitFailure=!1,this.gatherAppAndMobileId=function(){return new Promise(function(e){t.storageService.get("_appId").then(function(o){null!=o&&""!=o?t.mobileAppId=o:(t.mobileAppId=t.mobileAppIdGenerator(),t.storageService.put("_appId",t.mobileAppId)),t.mobileDeviceId=t.mobileAppId,e(t.mobileAppId)})})},this.getDeviceUniqueId=function(){return new Promise(function(e){t.mobileAppId?e(t.mobileDeviceId):t.gatherAppAndMobileId().then(function(o){e(t.mobileDeviceId)})})},this.getAppAndDeviceTrustIdInfo=function(){return new Promise(function(e,o){t.storageService.get("_appId").then(function(o){null!=o&&""!=o?t.mobileAppId=o:(t.mobileAppId=t.mobileAppIdGenerator(),t.storageService.put("_appId",t.mobileAppId)),t.trusteerRetrieveDeviceKey().then(function(o){t.mobileDeviceId=o,t.storageService.get("_k_dst").then(function(o){null!=o&&""!=o&&(t.deviceSerialToken=o),e()},function(o){PlatformTktLogger.log("No device serial token found.. ignore moveforward, TFA will initiate stepup this time"),e()})},function(o){t.mobileDeviceId=t.mobileAppId,t.storageService.get("_k_dst").then(function(o){null!=o&&""!=o&&(t.deviceSerialToken=o),e()},function(o){PlatformTktLogger.log("No device serial token found.. ignore moveforward, TFA will initiate stepup this time"),e()})})},function(o){PlatformTktLogger.log("App id read failed"),e()})})},this.getDeviceUniqueIdDeprecated=function(){return new Promise(function(e,o){if(!t.amIDefined())return console.log("app launched in browser"),void e("123456");t.storageService.get("_k_did").then(function(n){null!=n&&""!=n?(console.log("Id found in _k_did.. use it"),e(n)):(console.log("Id not found in _k_did.. get it from TAS"),t.trusteerRetrieveDeviceKey().then(function(o){e(o)},function(){o()}))},function(){console.log("Get _k_did failure, Id not found in _k_did.. get it from TAS"),this.trusteerRetrieveDeviceKey().then(function(o){e(o)},function(){o()})})})},this.trusteerRetrieveDeviceKey=function(){if(PlatformTktConfig.stubEnabled)return t.util.getNoopSuccessPromise({data:"test"});return new Promise(function(e,o){t.amIDefined()||e("123456"),t._window.Tas.TasGetCurrentVersion(function(e){PlatformTktLogger.log("Tas Version: ",e)},function(e){PlatformTktLogger.log("Tas Version call failure: ",e)}),t._window.Tas.TasInitialize(function(n){PlatformTktLogger.log("Tas initialized successfully"),t.getDeviceKey("").then(function(o){e(o)},function(e){o(e)})},function(n){PlatformTktLogger.log("Tas initialize error",n);var i=-9!==n;i&&(t.tasInitFailure=!0),t.getDeviceKey(i).then(function(o){e(o)},function(e){o(e)})},t._window.Tas.TAS_INIT_EXTRA_DRA_DATA,"keybank.com","keybank.bankingapp","Intialization Test from KMB mobileApp","YMAQAABNFUWS2LKCIVDUSTRAKBKUETCJIMQEWRKZFUWS2LJNBJGUSSKCJFVECTSCM5VXC2DLNFDTS5ZQIJAVCRKGIFAU6Q2BKE4ECTKJJFBEGZ2LINAVCRKBOJWFQMKMKFRTSSKUMUYU45RWNRKDO5LRBJLU2Z3LNY2TG4LELA4VI4DDONNFQNCOGV3GG6DYPEXWEND2PF5CW4CDKNHEM3SKGU2XUZKSNJYUYSZWMFYXGNCNGB5GC5DRIFQS6NDRBJFGI3TCG4VVM6KPNM3UWZZYHF4DQZDFGMZGW4ZVGJ3XGTLOJJHDOT3XNVRUW5JQGVKWENT2KM3WYWKWHAVU4WBTGNGXGLZSLBBXU32BBJYWW6KRKFDUGMTCMFFEEY3ZK5BHMRTVGVSTEMKMIZDECNZZJ5JHI3LYHFUG2ULSNFUECWCQGM2WWYKQNIZG24JSNNZXARZSM4XTMZT2BJZTE2DQKVNFSSTRKI2WQRLUOVJSWVDKJZDGIWRVINXSWTLXJB4DSS2CLBBXCNRYIQ2TGNRUJZVTAOCVJJ4DGTKTPBHTA4TOK5WGUMSOBJUTQ6COMVWXEMSMPB3FMUBYNFBE2NLLIUZE2T3PNJVDOV3FMMVVE2TFJNVEIL3PGRHDC6BTOZGUGSSOMJQWSQ2FNV2WOSS2N5KUY3KVBJVVCSKEIFIUCQQKFUWS2LJNIVHEIICQKVBEYSKDEBFUKWJNFUWS2LIKAIAAAAAAAAAAAAAAAAAA2AAAABZGG2LOM5PWWZLZMJQW423EAAAABYNVISCFDYSHFFF5ZNUN7CZ3GWY")})},this.getDeviceKey=function(e){return PlatformTktConfig.stubEnabled?t.util.getNoopSuccessPromise({data:"test"}):new Promise(function(o,n){e?o(t.mobileAppIdGenerator()):t._window.Tas.TasGetDeviceKey(function(e){console.log("tas key",e),o(e)},function(e){console.log("tas key error",e),n(e)})})},this.evaluateTrusteerRiskFactors=function(e){return PlatformTktConfig.stubEnabled?t.util.getNoopSuccessPromise({data:"test"}):new Promise(function(e,o){t._window.Tas.TasDraGetRiskAssessment(function(n){t.checkTrusteerRiskFactors().then(function(o){e()},function(){o()})},function(){o()})})},this.checkTrusteerRiskFactors=function(){return PlatformTktConfig.stubEnabled?t.util.getNoopSuccessPromise({data:"test"}):new Promise(function(e,o){Promise.all([t.checkTrusteerMalwareInfo({}),t.checkTrusteerRootHidersInfo({}),t.checkTrusteerFaceDownInfo({})]).then(function(o){t.isTrusteerRiskFactorsEvaluated=!0,e()},function(e){t.isTrusteerRiskFactorsEvaluated=!0,o()})})},this.checkTrusteerMalwareInfo=function(e){return PlatformTktConfig.stubEnabled?t.util.getNoopSuccessPromise({data:"test"}):new Promise(function(o,n){t._window.Tas.TasDraGetRiskAssessmentItemByName(function(e){t.trusteerMalwareInfo=null==e||null==e.value||0===e.value?"":e.additional_data,o()},function(e){n(),PlatformTktLogger.log("Trusteer malware info retrieval error - "+e)})(e,"malware.any")})},this.checkTrusteerRootHidersInfo=function(e){return PlatformTktConfig.stubEnabled?t.util.getNoopSuccessPromise({data:"test"}):new Promise(function(o,n){t._window.Tas.TasDraGetRiskAssessmentItemByName(function(e){t.trusteerRootHidersInfo=null!=e&&null!=e.value&&0!==e.value,o()},function(e){PlatformTktLogger.log("Trusteer root hiders info retrieval error - "+e),n()})(e,"os.rooted.hiders")})},this.checkTrusteerFaceDownInfo=function(e){return PlatformTktConfig.stubEnabled?t.util.getNoopSuccessPromise({data:"test"}):new Promise(function(o,n){t._window.Tas.TasDraGetRiskAssessmentItemByName(function(e){t.trusteerFaceDownInfo=null!=e&&null!=e.value&&0!==e.value,o()},function(e){n(),PlatformTktLogger.log("Trusteer face down info retrieval error - "+e)})(e,"face.down")})},this.getAllTrusteerRiskFactors=function(e){return PlatformTktConfig.stubEnabled?t.util.getNoopSuccessPromise({data:"test"}):new Promise(function(o,n){t._window.Tas.TasDraGetDraString(function(e){t.trusteerFaceDownInfo=e,o()},function(e){n(),PlatformTktLogger.log("Trusteer all risk factor info retrieval error - "+e)})(e)})},this.amIDefined=function(){return void 0!==t._window.cordova},this.checkBiometricIDSupport=function(){if(PlatformTktConfig.stubEnabled)return t.util.getNoopSuccessPromise({data:"test"});return new Promise(function(e,o){t._window.cordova.exec(function(o){o=null==o||"_TOUCHID"!==o&&"_FACEID"!==o?"_TOUCHID":o,t.biometryType=o,e(!0)},function(e){o(!1)},"BiometricID","checkSupport",[])})},this.signInByBiometricId=function(){return PlatformTktConfig.stubEnabled?t.util.getNoopSuccessPromise({data:"test"}):new Promise(function(e,o){t._window.cordova.exec(function(o){e(!0)},function(e){o(e)},"BiometricID","authenticate",[])})},this.viewDocument=function(e,o,n){var i={title:e,email:{enabled:!0},print:{enabled:!0},openWith:{enabled:!0}};t._window.cordova.plugins.SitewaertsDocumentViewer.viewDocument(o,n,i,function(){},function(){},function(){},function(){})},this.devicePlatform=function(){return t._window.device&&t._window.device.platform},this.isAndroid=function(){return void 0!==t._window.device&&"Android"===t._window.device.platform},this.isIos=function(){return void 0!==t._window.device&&"iOS"===t._window.device.platform},this.checkIfviewPortCoverEnabled=function(){t.isIos()&&t._window.device&&t._window.device.model&&(t._window.device.model.indexOf("iPhone10,3")>-1||t._window.device.model.indexOf("iPhone10,6")>-1||t._window.device.model.indexOf("iPhone11,2")>-1||t._window.device.model.indexOf("iPhone11,8")>-1||t._window.device.model.indexOf("iPhone11,6")>-1||t._window.device.model.indexOf("iPhone11,4")>-1||t._window.device.model.indexOf("iPhone12,1")>-1||t._window.device.model.indexOf("iPhone12,3")>-1||t._window.device.model.indexOf("iPhone12,5")>-1||t._window.device.model.indexOf("iPhone13,1")>-1||t._window.device.model.indexOf("iPhone13,2")>-1||t._window.device.model.indexOf("iPhone13,3")>-1||t._window.device.model.indexOf("iPhone13,4")>-1||t._window.device.model.indexOf("iPhone14,1")>-1||t._window.device.model.indexOf("iPhone14,2")>-1||t._window.device.model.indexOf("iPhone14,3")>-1||t._window.device.model.indexOf("iPhone14,4")>-1||t._window.device.model.indexOf("iPhone14,4")>-1||t._window.device.model.indexOf("iPhone14,5")>-1||t._window.device.model.indexOf("iPhone15,1")>-1||t._window.device.model.indexOf("iPhone15,2")>-1||t._window.device.model.indexOf("iPhone15,3")>-1||t._window.device.model.indexOf("iPhone15,4")>-1||t._window.device.model.indexOf("iPhone15,5")>-1)&&(t.viewPortCoverEnabled=!0)},this.getIphoneDeviceModel=function(){if(t.isIos()&&t._window.device&&t._window.device.model)return t._window.device.model},this.launchNativeSettings=function(){t._window.cordova&&t._window.cordova.plugins.settings?(PlatformTktLogger.log("openNativeSettingsTest is active"),t._window.cordova.plugins.settings.open("application_details",function(){PlatformTktLogger.log("opened settings")},function(){PlatformTktLogger.log("failed to open settings")})):PlatformTktLogger.log("openNativeSettingsTest is not active!")},this.launchZelleContacts=function(){t._window.cordova.require("cordova-plugin-fis-digital-payments-sdk.FISDigitalPaymentsSDKCordovaPlugin").registerFrame("p2ppaymentsContentContainer",100,5e3,!1)},this.initiateMiSnapFrontImageCapture=function(e){return PlatformTktConfig.stubEnabled?t.util.getNoopSuccessPromise({data:"test"}):(e=e?"yes":"no",new Promise(function(o,n){t._window.cordova.exec(function(){o()},function(){n()},"MiSnapBridge","captureCheck",[e,"front"])}))},this.initiateMiSnapFrontImageCaptureMode=function(e,o,n){return PlatformTktConfig.stubEnabled?t.util.getNoopSuccessPromise({data:"test"}):(e=e?"yes":"no",new Promise(function(i,r){t._window.cordova.exec(function(e){i(e)},function(e){r(e)},"MiSnapBridge","captureCheck",[e,"front",o,n])}))},this.initiateMiSnapBackImageCapture=function(e){return PlatformTktConfig.stubEnabled?t.util.getNoopSuccessPromise({data:"test"}):(e=e?"yes":"no",new Promise(function(o,n){t._window.cordova.exec(function(e){o(e)},function(e){n(e)},"MiSnapBridge","captureCheck",[e,"back"])}))},this.initiateMiSnapBackImageCaptureMode=function(e,o){return PlatformTktConfig.stubEnabled?t.util.getNoopSuccessPromise({data:"test"}):(e=e?"yes":"no",new Promise(function(n,i){t._window.cordova.exec(function(e){n(e)},function(e){i(e)},"`MiSnapBridge","captureCheck",[e,"back",o])}))},this.mobileAppIdGenerator=function(){return null===t.mobileAppId&&(t.mobileAppId=Math.floor(9e7*Math.random()+1e7)),t.mobileAppId},this.initKeyBoard=function(){t._window.cordova.plugins.Keyboard.hideKeyboardAccessoryBar(!1)},this.initiateWallet=function(e){return PlatformTktConfig.stubEnabled?t.util.getNoopSuccessPromise({data:"test"}):new Promise(function(o,n){t._window.cordova.exec(function(e){try{console.log("Apple pay wallet initilized successfully"),o(JSON.parse(e))}catch(e){console.log("Apple pay wallet initilized failed on parsing"),n(e)}},function(e){console.log("Apple pay wallet initilized failed"),n(e)},"Wallet","initiateWalletPlugin",[e])})},this.getUserLocation=function(){return PlatformTktConfig.stubEnabled?t.util.getNoopSuccessPromise({data:"test"}):new Promise(function(e,o){t._window.navigator.geolocation.getCurrentPosition(function(o){e(o)},function(e){o(e)})})},this.getLocalizationZone=function(){return PlatformTktConfig.stubEnabled?t.util.getNoopSuccessPromise({data:"test"}):new Promise(function(e,o){t._window.navigator.globalization.getDatePattern(function(o){e(o.timezone)},function(e){o(e)})})},this.getMobileSimParameters=function(){return PlatformTktConfig.stubEnabled?t.util.getNoopSuccessPromise({data:"test"}):new Promise(function(e,o){t._window.plugins.sim.getSimInfo(function(o){PlatformTktLogger.log("sim parameters retrieved - "+o),e(o)},function(e){PlatformTktLogger.log("retrieve sim parameters error "+e),o(e)})})},this.checkDeviceRooted=function(){return PlatformTktConfig.stubEnabled?t.util.getNoopSuccessPromise({data:"test"}):new Promise(function(e,o){t._window.rootdetection.isDeviceRooted(function(o){var t=!1;1!==o&&"1"!==o||(t=!0),PlatformTktLogger.log("Rooted information parameters "+o),e(t)},function(e){PlatformTktLogger.log("Rooted information parameters error "+e),o(e)})})},this.checkJailBroken=function(){return PlatformTktConfig.stubEnabled?t.util.getNoopSuccessPromise({data:"test"}):new Promise(function(e,o){t._window.jailbreakdetection.isJailbroken(function(o){PlatformTktLogger.log("Jail broken information parameters "+o),e(o)},function(e){PlatformTktLogger.log("Jail broken information error "+e),o(e)})})},this.isDeviceSecure=function(){return PlatformTktConfig.stubEnabled?t.util.getNoopSuccessPromise({data:"test"}):(t.deviceSecurityCompromised=!1,t.isAndroid()?new Promise(function(e,o){t.checkDeviceRooted().then(function(n){n?(t.deviceSecurityCompromised=!0,o()):(t.deviceSecurityCompromised=!1,e())},function(){PlatformTktLogger.log("Error determining jailbroken status"),e()})}):new Promise(function(e,o){t.checkJailBroken().then(function(n){PlatformTktLogger.log("Result from Jail Broken device",n),n?(t.deviceSecurityCompromised=!0,o()):(t.deviceSecurityCompromised=!1,PlatformTktLogger.log("Device is not jail broken secured device"),e())},function(){PlatformTktLogger.log("Error determining jailbroken status"),e()})}))},this.launchFinancialWellness=function(){return PlatformTktConfig.stubEnabled?t.util.getNoopSuccessPromise({data:"test"}):new Promise(function(e,o){t._window.cordova.exec(function(o){e(!0)},function(e){o(!1)},"HWAuthenticationPlugin","launchHelloWallet",[])})},this.storeFinancialWellnessToken=function(e){return PlatformTktConfig.stubEnabled?t.util.getNoopSuccessPromise({data:"test"}):new Promise(function(o,n){t._window.cordova.exec(function(e){PlatformTktLogger.log("Store Token call from cordova Success"),o(!0)},function(e){PlatformTktLogger.log("Store Token call from cordova failed"),n(!1)},"HWAuthenticationPlugin","injectOAuthToken",[e])})},this.isFinancilaWellnessNavigationRequired=function(){return PlatformTktConfig.stubEnabled?t.util.getNoopSuccessPromise({data:"test"}):new Promise(function(e,o){t._window.cordova.exec(function(o){PlatformTktLogger.log("Hello wallet timestamp call success - result: "+o),e(!0===o)},function(e){PlatformTktLogger.log("Hello wallet timestamp call failed error: "+e),o(!0)},"HWAuthenticationPlugin","shouldRedirectToHW",[])})},this.signOutHelloWallet=function(){return PlatformTktConfig.stubEnabled?t.util.getNoopSuccessPromise({data:"test"}):new Promise(function(e,o){t._window.cordova.exec(function(o){PlatformTktLogger.log("Hello wallet session killed Successfully"),e()},function(e){PlatformTktLogger.log("Hello wallet session killed failed"),o()},"HWAuthenticationPlugin","signOffHelloWallet",[])})},this.printUsingCordovaPlugin=function(e,o){t._window.cordova&&t._window.cordova.plugins.printer?(PlatformTktLogger.log("Print using cordova plugin printer"),t._window.cordova.plugins.printer.print(e,o)):PlatformTktLogger.log("Print plugin not available")},this.checkIfIsThisFirstTimeSignIn=function(){if(PlatformTktConfig.stubEnabled)return t.util.getNoopSuccessPromise({data:"test"});return new Promise(function(e,o){void 0!==t.isFirstTimeSignIn&&e(t.isFirstTimeSignIn),t.isFirstTimeSignIn=!1,t.storageService.get("_k_aiu","").then(function(o){PlatformTktLogger.log("value of STORAGE_KEY_APP_INSTALLED_USED_ONCE",o),!0===o?(t.isFirstTimeSignIn=!1,e(!1)):(t.storageService.put("_k_aiu",!0,""),t.isFirstTimeSignIn=!0,e(!0))},function(o){t.storageService.put("_k_aiu",!0,""),t.isFirstTimeSignIn=!0,e(!0)})})},this.refresh=function(){t.isFirstTimeSignIn=void 0},this.enableWatchView=function(e){return PlatformTktConfig.stubEnabled?t.util.getNoopSuccessPromise({data:"test"}):new Promise(function(o,n){t.amIDefined()||o(!0),t._window.cordova.exec(function(e){PlatformTktLogger.log("log native Success"),o(!0)},function(e){PlatformTktLogger.log("log native failed"),n(!1)},"KeyBankAppleWatch","enableWatchView",[e])})},this.disableWatchView=function(e){return PlatformTktConfig.stubEnabled?t.util.getNoopSuccessPromise({data:"test"}):new Promise(function(o,n){t.amIDefined()||o(!0),t._window.cordova.exec(function(e){PlatformTktLogger.log("log native Success"),o(!0)},function(e){PlatformTktLogger.log("log native failed"),n(!1)},"KeyBankAppleWatch","disableWatchView",[e])})},this.isWatchAppInstalled=function(e){return PlatformTktConfig.stubEnabled?t.util.getNoopSuccessPromise({data:"test"}):new Promise(function(e,o){t.amIDefined()||e(!0),t._window.cordova.exec(function(o){PlatformTktLogger.log("log native Success"),e("Yes"===o)},function(e){PlatformTktLogger.log("log native failed"),o(!1)},"KeyBankAppleWatch","isWatchAppInstalled",[])})},this.isWatchPaired=function(e){return PlatformTktConfig.stubEnabled?t.util.getNoopSuccessPromise({data:"test"}):new Promise(function(e,o){t.amIDefined()||e(!0),t._window.cordova.exec(function(o){PlatformTktLogger.log("log native Success"),e("Yes"===o)},function(e){PlatformTktLogger.log("log native failed"),o(!1)},"KeyBankAppleWatch","isWatchPaired",[])})},this.isWatchReachable=function(e){return PlatformTktConfig.stubEnabled?t.util.getNoopSuccessPromise({data:"test"}):new Promise(function(e,o){t.amIDefined()||e(!0),t._window.cordova.exec(function(o){PlatformTktLogger.log("log native Success"),e("Yes"===o)},function(e){PlatformTktLogger.log("log native failed"),o(!1)},"KeyBankAppleWatch","isWatchReachable",[])})},this.updateQuickViewAccountsCache=function(e){return PlatformTktConfig.stubEnabled?t.util.getNoopSuccessPromise({data:"test"}):new Promise(function(o,n){t.amIDefined()||o(!0),t._window.cordova.exec(function(e){PlatformTktLogger.log("log native Success"),o(!0)},function(e){PlatformTktLogger.log("log native failed"),n(!1)},"KeyBankAppleWatch","updateCache",[e])})},this.shareCurrentView=function(e){t._window.plugins.socialsharing.share(null,"filename",e,null)},this.initiateChatSupport=function(e,o){t._window.supportsdk.initiateBoomtownWithAppearance(e,o,1,function(e){},function(e){})},this.util=e,this.storageService=o}return e.prototype.launchATMFinder=function(){this.amIDefined()&&this._window.cordova.plugins.atmfinder.load("")},e}(),PlatformTktDeviceService=function(){function e(e,o){var t=this;this._window=window,this.deviceData={},this.simPermissionCheckDone=!1,this.getDeviceData=function(e){switch(void 0===e&&(e="STRING"),e){case"JSON":var o={};for(var n in t.deviceData)t.deviceData.hasOwnProperty(n)&&void 0!==t.deviceData[n].value&&(o[n]=t.deviceData[n].value);return PlatformTktLogger.log("mobile device data in JSON",o),o;case"STRING":default:var i="";for(var n in t.deviceData)if(t.deviceData.hasOwnProperty(n)&&void 0!==t.deviceData[n].value){var r=t.deviceData[n].value instanceof Array;i=i+t.deviceData[n].acronym+"="+(r?"[":"")+t.deviceData[n].value+(r?"]":"")+"|",PlatformTktLogger.log(t.deviceData[n].acronym,"=",n,":",(r?"[":"")+t.deviceData[n].value+(r?"]":"")+"|")}return PlatformTktLogger.log("Web Device Data",i),encodeURI(i)}},this.gatherDeviceForensicInfo=function(){return PlatformTktConfig.stubEnabled?t.util.getNoopSuccessPromise({data:"test"}):new Promise(function(e,o){t.getForensicInfoAuthResolveFn=e,t.getForensicInfoAuthRejectFn=o,t.getBrowserData(),"WEB"!==PlatformTktConfig.channel?t.getMobileForensicData():t.getWebForensicData()})},this.getWebForensicData=function(){t.getForensicInfoAuthResolveFn()},this.getMobileForensicData=function(){void 0!==t._window.cordova?t.cordovaService.isIos()?t.getiOSForensicData():t.getAndroidForensicData():(PlatformTktLogger.log("Not a valid mobile device, cordova undefined - in gather forensic information"),t.getForensicInfoAuthResolveFn())},this.getiOSForensicData=function(){t.getMobileDeviceBrandInfo(),Promise.all([t.getUserCoord(),t.getLocalizationZone(),t.retrieveJailBrokenDetection(),t.retrieveSimParameters()]).then(function(e){t.getForensicInfoAuthResolveFn()},function(e){t.getForensicInfoAuthResolveFn(),PlatformTktLogger.log("iOS forensic data retrieval error - "+e)})},this.getAndroidForensicData=function(){t.getMobileDeviceBrandInfo(),Promise.all([t.getUserCoord(),t.getLocalizationZone(),t.retrieveRootDetection(),t.getAndroidSimInformation()]).then(function(e){t.getForensicInfoAuthResolveFn()},function(e){PlatformTktLogger.log("cordova device root detection error - "+e),t.getForensicInfoAuthResolveFn()})},this.getAndroidSimInformation=function(){return PlatformTktConfig.stubEnabled||"TABLET_APP"===PlatformTktConfig.channel&&t.cordovaService.isAndroid()?(PlatformTktLogger.log("SIM information read ignored"),t.util.getNoopSuccessPromise({data:"test"})):t.simPermissionCheckDone?t.util.getNoopSuccessPromise({}):new Promise(function(e,o){t._window.plugins.sim.hasReadPermission(function(n){t._window.plugins.sim.requestReadPermission(function(n){"success"===n?t.retrieveSimParameters().then(function(){PlatformTktLogger.log("SIM PARAM PASS"),t.simPermissionCheckDone=!0,e("success")},function(){PlatformTktLogger.log("SIM PARAM FAIL"),t.simPermissionCheckDone=!0,o()}):(t.simPermissionCheckDone=!0,o())},function(e){PlatformTktLogger.log("permission failed",e),t.simPermissionCheckDone=!0,o()})},function(e){PlatformTktLogger.log("permission failed",e),t.simPermissionCheckDone=!0,o()})})},this.checkAndRequestUsingSimPlugin=function(){return PlatformTktConfig.stubEnabled?t.util.getNoopSuccessPromise({data:"test"}):new Promise(function(e,o){t._window.plugins.sim.hasReadPermission(function(n){PlatformTktLogger.log("Checking Permission Status",n),!1===n?(PlatformTktLogger.log("Request for permission!!"),t._window.plugins.sim.requestReadPermission(function(o){PlatformTktLogger.log("Users Permission Status result",o),e()},function(e){PlatformTktLogger.log("Users Permission Status "+e),o()})):(PlatformTktLogger.log("User is having Permission Already, Resolving!!"),e())},function(e){PlatformTktLogger.log("permission failed",e),o()})})},this.getMobileDeviceBrandInfo=function(){t.deviceData.mobileDeviceBrand={acronym:"DB",value:t._window.device.manufacturer},t.deviceData.mobileDeviceModel={acronym:"DM",value:t._window.device.model},t.deviceData.mobileOSVersion={acronym:"MOV",value:t._window.device.version},t.deviceData.mobileOS={acronym:"MOS",value:t._window.device.platform},t.deviceData.mobileAppVersion={acronym:"AV",value:t._window._appVersion},t.cordovaService.isIos()?t.deviceData.appleIdentifierForVendor={acronym:"AIFV",value:t._window.device.uuid}:t.deviceData.androidId={acronym:"AID",value:t._window.device.uuid}},this.checkLocationEnabledStatus=function(){if(PlatformTktConfig.stubEnabled)return t.util.getNoopSuccessPromise({data:"test"});var e=t._window.cordova.plugins.diagnostic.isLocationEnabled;return new Promise(function(o,n){e(function(e){PlatformTktLogger.error("location access enabled status",e),e?t._window.cordova.plugins.diagnostic.getLocationAuthorizationStatus(function(e){switch(e){case t._window.cordova.plugins.diagnostic.permissionStatus.NOT_REQUESTED:PlatformTktLogger.log("location access never REQUESTED. go and request Once"),o();break;case t._window.cordova.plugins.diagnostic.permissionStatus.DENIED:PlatformTktLogger.log("location access not GRANTED"),n();break;case t._window.cordova.plugins.diagnostic.permissionStatus.GRANTED:case t._window.cordova.plugins.diagnostic.permissionStatus.GRANTED_WHEN_IN_USE:PlatformTktLogger.log("Looks like location access GRANTED"),o()}},function(e){PlatformTktLogger.error("location access permission check failed: "+e),n()}):n()},function(e){PlatformTktLogger.log("location access enable check error: "+e),n()})})},this.getUserCoord=function(){return PlatformTktConfig.stubEnabled?t.util.getNoopSuccessPromise({data:"test"}):new Promise(function(e,o){t.checkLocationEnabledStatus().then(function(n){if(PlatformTktLogger.log("location access granted"),t._window.navigator.geolocation){if("WEB"!==PlatformTktConfig.channel){(t.dataExists(["gpsCoordinates"])||t.locationDataFetchTimedOut)&&(PlatformTktLogger.log("gpsCoordinates retrieved from cache (or) no fetch as it is timed out earlier"),PlatformTktLogger.log("gpsCoordinates",t.dataExists(["gpsCoordinates"])),PlatformTktLogger.log("gpsCoordinates fetch timeout status",t.locationDataFetchTimedOut),e("success")),PlatformTktLogger.log("gpsCoordinates NOT available in cache");var i=setTimeout(function(){t.locationDataFetchTimedOut=!0,o(),PlatformTktLogger.log("Location coordinates fetch Timed out")},5e3);t.cordovaService.getUserLocation().then(function(o){PlatformTktLogger.log("user location retrieved");var n=[];n.push(o.coords.latitude),n.push(o.coords.longitude),t.deviceData.gpsCoordinates={acronym:"GPS",value:n},clearTimeout(i),e("success")},function(e){PlatformTktLogger.log("user location retrieve denied",e),o(e)})}}else PlatformTktLogger.log("location retrieve failed"),o()},function(e){PlatformTktLogger.log("user has not granted location access"),o()})})},this.retrieveSimParameters=function(){return PlatformTktConfig.stubEnabled?t.util.getNoopSuccessPromise({data:"test"}):new Promise(function(e,o){PlatformTktLogger.log("simParameters NOT retrieved from cache"),t.cordovaService.getMobileSimParameters().then(function(o){t.deviceData.mobileNetworkName={acronym:"NN",value:o.carrierName},t.deviceData.imsi={acronym:"IMSI",value:o.subscriberId},t.deviceData.imei={acronym:"IMEI",value:o.deviceId},t.deviceData.mobilePhoneNumber={acronym:"PN",value:o.phoneNumber},t.deviceData.mobileDeviceName={acronym:"DN",value:t._window.cordova.plugins.deviceName?t._window.cordova.plugins.deviceName.name:""},e("success")},function(e){o(e)})})},this.retrieveRootDetection=function(){return PlatformTktConfig.stubEnabled?t.util.getNoopSuccessPromise({data:"test"}):new Promise(function(e,o){t.dataExists(["isDeviceRootedJailBroken"])&&(PlatformTktLogger.log("isDeviceRootedJailBroken retrieved from cache"),e("success")),t.deviceData.isDeviceRootedJailBroken={acronym:"JB",value:!1},t.cordovaService.checkDeviceRooted().then(function(o){1===o&&(t.deviceData.isDeviceRootedJailBroken={acronym:"JB",value:!0}),e("success")},function(e){o(e)})})},this.retrieveJailBrokenDetection=function(){return PlatformTktConfig.stubEnabled?t.util.getNoopSuccessPromise({data:"test"}):new Promise(function(e,o){t.dataExists(["isDeviceRootedJailBroken"])&&(PlatformTktLogger.log("isDeviceRootedJailBroken retrieved from cache"),e("success")),t.deviceData.isDeviceRootedJailBroken={acronym:"JB",value:!1},t.cordovaService.checkJailBroken().then(function(o){t.deviceData.isDeviceRootedJailBroken={acronym:"JB",value:o},e("success")},function(e){o(e)})})},this.getLocalizationZone=function(){return PlatformTktConfig.stubEnabled?t.util.getNoopSuccessPromise({data:"test"}):new Promise(function(e,o){t.cordovaService.getLocalizationZone().then(function(o){PlatformTktLogger.log("Device Localization information parameters "+o),t.deviceData.mobileDeviceTimezone={acronym:"DTZ",value:o||""},e("success")},function(e){PlatformTktLogger.log("Device Localization information error "+e),o(e)})})},this.flashDetection=function(){if(t.deviceData.flashDetected={acronym:"FD",value:!1},t.deviceData.flashEnabled={acronym:"FE",value:!1},void 0!==navigator.plugins&&"object"==typeof t._window.navigator.plugins["Shockwave Flash"])!t._window.navigator.plugins["Shockwave Flash"].description||void 0!==navigator.mimeTypes&&t._window.navigator.mimeTypes["application/x-shockwave-flash"]&&!t._window.navigator.mimeTypes["application/x-shockwave-flash"].enabledPlugin||(t.deviceData.flashDetected.value=!0);else if(void 0!==t._window.ActiveXObject){new t._window.ActiveXObject("ShockwaveFlash.ShockwaveFlash")&&(t.deviceData.flashDetected.value=!0)}t.deviceData.flashDetected.value&&(t.deviceData.flashEnabled.value=!0)},this.calculateWebDeviceData=function(){t.deviceData.calculatedWebDeviceId={acronym:"CDI",value:""},t.deviceData.webDeviceIdConfidence={acronym:"DC",value:"1"}},this.calculateTrusteerRiskFactorData=function(){return PlatformTktConfig.stubEnabled?t.util.getNoopSuccessPromise({data:"test"}):new Promise(function(e,o){t._window.cordovaService.evaluateTrusteerRiskFactors().then(function(){t.deviceData.malware={acronym:"MW",value:t.cordovaService.trusteerMalwareInfo},t.deviceData.rootHiders={acronym:"RHD",value:t.cordovaService.trusteerRootHidersInfo},t.deviceData.faceDown={acronym:"FDN",value:t.cordovaService.trusteerFaceDownInfo},e()},function(e){o(e)})})},this.calculateTrusteerRelatedFields=function(){return PlatformTktConfig.stubEnabled?t.util.getNoopSuccessPromise({data:"test"}):new Promise(function(e,o){t.dataExists(["calculatedWebDeviceId","webDeviceIdConfidence"])&&(PlatformTktLogger.log("calculatedWebDeviceId,webDeviceIdConfidence retrieved from cache"),e("success")),e("success")})},this.getBrowserData=function(){if(navigator){var e=navigator.appVersion,o=navigator.userAgent,n=navigator.appName,i=""+parseFloat(navigator.appVersion),r=parseInt(navigator.appVersion,10),a=void 0,s=void 0,c=void 0;-1!==(s=o.indexOf("Opera"))?(n="Opera",i=o.substring(s+6),-1!==(s=o.indexOf("Version"))&&(i=o.substring(s+8))):-1!==(s=o.indexOf("OPR"))?(n="Opera",i=o.substring(s+4)):-1!==(s=o.indexOf("Edge"))?(n="Microsoft Edge",i=o.substring(s+5)):-1!==(s=o.indexOf("MSIE"))?(n="Microsoft Internet Explorer",i=o.substring(s+5)):-1!==(s=o.indexOf("Chrome"))?(n="Chrome",i=o.substring(s+7)):-1!==(s=o.indexOf("Safari"))?(n="Safari",i=o.substring(s+7),-1!==(s=o.indexOf("Version"))&&(i=o.substring(s+8))):-1!==(s=o.indexOf("Firefox"))?(n="Firefox",i=o.substring(s+8)):-1!==o.indexOf("Trident/")?(n="Microsoft Internet Explorer",i=o.substring(o.indexOf("rv:")+3)):(a=o.lastIndexOf(" ")+1)<(s=o.lastIndexOf("/"))&&(n=o.substring(a,s),i=o.substring(s+1),n.toLowerCase()===n.toUpperCase()&&(n=navigator.appName)),-1!==(c=i.indexOf(";"))&&(i=i.substring(0,c)),-1!==(c=i.indexOf(" "))&&(i=i.substring(0,c)),-1!==(c=i.indexOf(")"))&&(i=i.substring(0,c)),r=parseInt(""+i,10),isNaN(r)&&(i=""+parseFloat(navigator.appVersion),r=parseInt(navigator.appVersion,10));var l="-",d=[{s:"Windows 10",r:/(Windows 10.0|Windows NT 10.0)/},{s:"Windows 8.1",r:/(Windows 8.1|Windows NT 6.3)/},{s:"Windows 8",r:/(Windows 8|Windows NT 6.2)/},{s:"Windows 7",r:/(Windows 7|Windows NT 6.1)/},{s:"Windows Vista",r:/Windows NT 6.0/},{s:"Windows Server 2003",r:/Windows NT 5.2/},{s:"Windows XP",r:/(Windows NT 5.1|Windows XP)/},{s:"Windows 2000",r:/(Windows NT 5.0|Windows 2000)/},{s:"Windows ME",r:/(Win 9x 4.90|Windows ME)/},{s:"Windows 98",r:/(Windows 98|Win98)/},{s:"Windows 95",r:/(Windows 95|Win95|Windows_95)/},{s:"Windows NT 4.0",r:/(Windows NT 4.0|WinNT4.0|WinNT|Windows NT)/},{s:"Windows CE",r:/Windows CE/},{s:"Windows 3.11",r:/Win16/},{s:"Android",r:/Android/},{s:"Open BSD",r:/OpenBSD/},{s:"Sun OS",r:/SunOS/},{s:"Linux",r:/(Linux|X11)/},{s:"iOS",r:/(iPhone|iPad|iPod)/},{s:"Mac OS X",r:/Mac OS X/},{s:"Mac OS",r:/(MacPPC|MacIntel|Mac_PowerPC|Macintosh)/},{s:"QNX",r:/QNX/},{s:"UNIX",r:/UNIX/},{s:"BeOS",r:/BeOS/},{s:"OS/2",r:/OS\/2/},{s:"Search Bot",r:/(nuhk|Googlebot|Yammybot|Openbot|Slurp|MSNBot|Ask Jeeves\/Teoma|ia_archiver)/}];for(var u in d){var g=d[u];if(g.r.test(o)){l=g.s;break}}var f="-";switch(/Windows/.test(l)&&(f=/Windows (.*)/.exec(l)[1],l="Windows"),l){case"Mac OS X":f=/Mac OS X (\d[\.\_\d]+)/.exec(o)[1];break;case"Android":f=/Android ([\.\_\d]+)/.exec(o)[1];break;case"iOS":f=(f=/OS (\d+)_(\d+)_?(\d+)?/.exec(e))[1]+"."+f[2]+"."+(0|f[3])}var m="";navigator.userAgent.indexOf("WebKit")>-1?m="WebKit":navigator.userAgent.indexOf("Gecko")>-1?m="Gecko":navigator.userAgent.indexOf("Trident")>-1&&(m="Trident");var p=[],v=navigator.plugins;if(v)for(var w=0;w<=v.length-1;w++)p.push(v[w].name);var h="Computer";navigator.userAgent.indexOf("Mobile")>-1&&(h="Mobile"),t.flashDetection(),t.deviceData.userAgentOS={acronym:"UAOS",value:l+" "+f},t.deviceData.userAgentFamily={acronym:"UAF",value:n},t.deviceData.userAgentPlatform={acronym:"UAP",value:navigator.platform},t.deviceData.userAgentWebBrowser={acronym:"UAWB",value:n+" "+i},t.deviceData.userAgentWebEngine={acronym:"UAWE",value:m},t.deviceData.javascriptOperatingSystem={acronym:"JOS",value:l},t.deviceData.webPlugins={acronym:"DP",value:p},t.deviceData.clientScreenResolution={acronym:"CSR",value:t._window.innerWidth+" x "+t._window.innerHeight},t.deviceData.webDeviceType={acronym:"WDT",value:h},t.deviceData.webLocalDateTime={acronym:"WLT",value:new Date},t.deviceData.cookieEnabled={acronym:"CE",value:navigator.cookieEnabled},t.deviceData.browserAcceptedLanguages={acronym:"BAL",value:navigator.languages}}},this.build=function(e){t.deviceData.isPinEnabled=!!e&&e.isPinEnabled,t.deviceData.isBiometricEnabled=!!e&&e.isBiometricEnabled,t.deviceData.isQuickViewEnabled=!!e&&e.isQuickViewEnabled},this.addTokenHeader=function(e,o){t.deviceData.tokenHeaders[e]=o},this.removeTokenHeader=function(e){delete t.deviceData.tokenHeaders[e]},this.generateAppMonDataHeader=function(){return t.deviceData.appMonDataHeader.data},this.dataExists=function(e){for(var o=0;o<e.length;o++)if(void 0===t.deviceData[e[o]])return!1;return!0},this.checkForOSAndBrowserPlatformSupport=function(e){return PlatformTktLogger.log("OS and Browser support check request"),new Promise(function(o,n){if(e&&e.unsupportedPlatform&&e.unsupportedPlatform.list&&0!=e.unsupportedPlatform.list.length){var i=t.getOSAndBrowserInfo();if(PlatformTktLogger.log("Checking current OS and browser version",i),!i.osName)return PlatformTktLogger.log("Checking current OS and browser version failed"),void o({status:"ALLOW"});var r=e.unsupportedPlatform.list;for(var a in PlatformTktLogger.log("notSupportList ",r),r){var s=r[a];if(PlatformTktLogger.log("checking... this platform ",s),t.isNotSupportedOSorBrowser(s,i))return PlatformTktLogger.log("unsupport detected for this platform ",s),"DENY"==s.allowStatus?(PlatformTktLogger.log("Deny Login"),void o({status:"DENY",msgContent:t.getDecoratedContent(e,i,"DENY")})):"WARNING"==s.allowStatus?(PlatformTktLogger.log("Allow Login with warning"),void o({status:"WARNING",msgContent:t.getDecoratedContent(e,i,"WARNING")})):(PlatformTktLogger.log("Unknown allow status detected and therefre allow login"),void o({status:"ALLOW"}))}PlatformTktLogger.log("Nil nosupported device detection... so allow login"),o({status:"ALLOW"})}else o({status:"ALLOW"})})},this.getOSAndBrowserInfo=function(){var e={};if(navigator){var o=navigator.appVersion,t=navigator.userAgent,n=navigator.appName,i=""+parseFloat(navigator.appVersion),r=parseInt(navigator.appVersion,10),a=void 0,s=void 0,c=void 0;PlatformTktLogger.log("userAgent",t),PlatformTktLogger.log("appVersion",o);var l="-",d=[{s:"Windows 10",r:/(Windows 10.0|Windows NT 10.0)/},{s:"Windows 8.1",r:/(Windows 8.1|Windows NT 6.3)/},{s:"Windows 8",r:/(Windows 8|Windows NT 6.2)/},{s:"Windows 7",r:/(Windows 7|Windows NT 6.1)/},{s:"Windows Vista",r:/Windows NT 6.0/},{s:"Windows Server 2003",r:/Windows NT 5.2/},{s:"Windows XP",r:/(Windows NT 5.1|Windows XP)/},{s:"Windows 2000",r:/(Windows NT 5.0|Windows 2000)/},{s:"Windows ME",r:/(Win 9x 4.90|Windows ME)/},{s:"Windows NT 4.0",r:/(Windows NT 4.0|WinNT4.0|WinNT|Windows NT)/},{s:"Windows CE",r:/Windows CE/},{s:"ANDROID",r:/Android/},{s:"OPENBSD",r:/OpenBSD/},{s:"SUNOS",r:/SunOS/},{s:"LINUX",r:/(Linux|X11)/},{s:"IOS",r:/(iPhone|iPad|iPod)/},{s:"MAC",r:/Mac OS X/},{s:"MAC",r:/(MacPPC|MacIntel|Mac_PowerPC|Macintosh)/},{s:"QNX",r:/QNX/},{s:"UNIX",r:/UNIX/},{s:"BEOS",r:/BeOS/},{s:"OS2",r:/OS\/2/},{s:"SEARCHBOT",r:/(nuhk|Googlebot|Yammybot|Openbot|Slurp|MSNBot|Ask Jeeves\/Teoma|ia_archiver)/}],u="-";for(var g in d){var f=d[g];if(f.r.test(t)){l=f.s;break}}switch(/Windows/.test(l)&&(u=/Windows (.*)/.exec(l)[1],l="WINDOWS"),e.osName=l,l){case"MAC":u=/Mac OS X (\d[\.\_\d]+)/.exec(t)[1];break;case"ANDROID":u=/Android ([\.\_\d]+)/.exec(t)[1];break;case"IOS":try{u=null!=o?(u=/OS (\d+)_(\d+)_?(\d+)?/.exec(o))[1]+"."+u[2]+"."+(0|u[3]):/OS (\d+)_(\d+)_?(\d+)?/.exec(t)[1]}catch(e){PlatformTktLogger.log("regex error, ignore becuase this is sporadic and not in reall IOS  devices.")}}e.osVersion=u,e.osMajorVersion=u.substr(0,u.indexOf("_")),""==e.osMajorVersion&&(e.osMajorVersion=u.substr(0,u.indexOf("."))),-1!=(s=t.indexOf("Opera"))?(n="BROWSER_OPERA",i=t.substring(s+6),-1!=(s=t.indexOf("Version"))&&(i=t.substring(s+8))):-1!=(s=t.indexOf("OPR"))?(n="BROWSER_OPERA",i=t.substring(s+4)):-1!=(s=t.indexOf("Edge"))?(n="BROWSER_MICROSOFT_EDGE",i=t.substring(s+5)):-1!=(s=t.indexOf("EdgA"))?(n="BROWSER_MICROSOFT_EDGE",i=t.substring(s+5)):-1!=(s=t.indexOf("MSIE"))?(n="BROWSER_IE",i=t.substring(s+5)):-1!=(s=t.indexOf("Chrome"))?(n="BROWSER_CHROME",i=t.substring(s+7)):-1!=(s=t.indexOf("Firefox"))?(n="BROWSER_FIREFOX",i=t.substring(s+8)):-1!=t.indexOf("Trident/")?(n="BROWSER_IE",i=t.substring(t.indexOf("rv:")+3)):-1!=(s=t.indexOf("Safari"))?-1!=t.indexOf("CriOS")?(s=t.indexOf("CriOS"),n="BROWSER_CHROME",i=t.substring(s+6),-1!=(s=t.indexOf("Version"))&&(i=t.substring(s+7))):-1!=t.indexOf("FxiOS")?(s=t.indexOf("FxiOS"),n="BROWSER_MICROSOFT_EDGE",i=t.substring(s+6),-1!=(s=t.indexOf("Version"))&&(i=t.substring(s+7))):-1!=t.indexOf("EdgiOS")?(s=t.indexOf("EdgiOS"),n="BROWSER_MICROSOFT_EDGE",i=t.substring(s+7),-1!=(s=t.indexOf("Version"))&&(i=t.substring(s+8))):-1!=t.indexOf("OPiOS")?(s=t.indexOf("OPiOS"),n="BROWSER_MICROSOFT_EDGE",i=t.substring(s+6),-1!=(s=t.indexOf("Version"))&&(i=t.substring(s+7))):(n="BROWSER_SAFARI",i=t.substring(s+7),-1!=(s=t.indexOf("Version"))&&(i=t.substring(s+8))):(a=t.lastIndexOf(" ")+1)<(s=t.lastIndexOf("/"))&&(n=t.substring(a,s),i=t.substring(s+1),n.toLowerCase()==n.toUpperCase()&&(n=navigator.appName)),-1!=(c=i.indexOf(";"))&&(i=i.substring(0,c)),-1!=(c=i.indexOf(" "))&&(i=i.substring(0,c)),-1!=(c=i.indexOf(")"))&&(i=i.substring(0,c)),r=parseInt(""+i,10),isNaN(r)&&(i=""+parseFloat(navigator.appVersion),r=parseInt(navigator.appVersion,10)),e.browserName=n,e.browserVersion=i,e.browserMajorVersion=r}return e},this.util=e,this.cordovaService=o}return e.prototype.getDecoratedContent=function(e,o,t){var n={title:"",warningTitle:e.unsupportedPlatform.warningTitle?e.unsupportedPlatform.warningTitle:"Platform not in support!",denyTitle:e.unsupportedPlatform.denyTitle?e.unsupportedPlatform.denyTitle:"Platform not in support!",warningMsg:e.unsupportedPlatform.warningMessage?e.unsupportedPlatform.warningMessage:"Not in support Platform has detected, Please consider upgrading your Platform",warningBtnTxt:e.unsupportedPlatform.warningBtnTxt?e.unsupportedPlatform.warningBtnTxt:"Yes, I understand",denyMsg:e.unsupportedPlatform.denyMessage?e.unsupportedPlatform.denyMessage:"We are sorry. We no longer support this Platform"};return PlatformTktLogger.log("Content deceration in progress",n),n.warningMsg=n.warningMsg.replace(new RegExp("{OS_NAME}","g"),o.osName),n.warningMsg=n.warningMsg.replace(new RegExp("{OS_VERSION}","g"),o.osVersion),n.warningMsg=n.warningMsg.replace(new RegExp("{OS_MAJOR_VERSION}","g"),o.osMajorVersion),n.warningMsg=n.warningMsg.replace(new RegExp("{BROWSER_NAME}","g"),o.browserName),n.warningMsg=n.warningMsg.replace(new RegExp("{BROWSER_VERSION}","g"),o.browserVersion),n.warningMsg=n.warningMsg.replace(new RegExp("{BROWSER_MAJOR_VERSION}","g"),o.browserMajorVersion),n.denyMsg=n.denyMsg.replace(new RegExp("{OS_NAME}","g"),o.osName),n.denyMsg=n.denyMsg.replace(new RegExp("{OS_VERSION}","g"),o.osVersion),n.denyMsg=n.denyMsg.replace(new RegExp("{OS_MAJOR_VERSION}","g"),o.osMajorVersion),n.denyMsg=n.denyMsg.replace(new RegExp("{BROWSER_NAME}","g"),o.browserName),n.denyMsg=n.denyMsg.replace(new RegExp("{BROWSER_VERSION}","g"),o.browserVersion),n.denyMsg=n.denyMsg.replace(new RegExp("{BROWSER_MAJOR_VERSION}","g"),o.browserMajorVersion),n.title="DENY"==t?n.denyTitle:n.warningTitle,PlatformTktLogger.log("Content deceration completed",n),n},e.prototype.isNotSupportedOSorBrowser=function(e,o){PlatformTktLogger.log("comparision started for..",e,o);var t=!1;switch(e.category){case"OS_MAJOR_VERSION":t=e.osName==o.osName&&e.osMajorVersion==o.osMajorVersion,PlatformTktLogger.log("OS MAJOR VERSION check verfication completed.. detected");break;case"OS_VERSION":t=e.osName==o.osName&&e.osVersion==o.osVersion,PlatformTktLogger.log("OS VERSION check verfication completed.. detected");break;case"BROWSER_MAJOR_VERSION":t=e.browserName==o.browserName&&e.browserMajorVersion==o.browserMajorVersion,PlatformTktLogger.log("BROWSER MAJOR VERSION check verfication completed.. detected");break;case"UNSUPPORTED_BROSWER_MAJOR_VERSION":t=e.browserName==o.browserName&&e.browserMajorVersion>=o.browserMajorVersion,PlatformTktLogger.log("BROWSER VERSION check verfication completed.. detected");break;case"BROWSER_VERSION":t=e.browserName==o.browserName&&e.browserVersion==o.browserVersion,PlatformTktLogger.log("BROWSER VERSION check verfication completed.. detected");break;case"UNSUPPORTED_BROSWER_MAJOR_VERSION":t=e.browserName==o.browserName&&e.browserMajorVersion>=o.browserMajorVersion,PlatformTktLogger.log("BROWSER VERSION check verfication completed.. detected");break;case"OS_AND_BROWSER_MAJOR_VERSION":t=e.osName==o.osName&&e.browserName==o.browserName&&e.browserMajorVersion==o.browserMajorVersion,PlatformTktLogger.log("OS and BROWSER MAJOR VERSION check verfication completed.. detected");break;case"OS_AND_BROWSER_VERSION":t=e.osName==o.osName&&e.browserName==o.browserName&&e.browserVersion==o.browserVersion,PlatformTktLogger.log("OS and BROWSER VERSION check verfication completed.. detected");break;default:t=!1,PlatformTktLogger.log("comparision result.. no match found...")}return t},e}(),PlatformTktLogger=function(){function e(){}return e.subscribe=function(o){e.subscribeFn=o},e.log=function(){for(var o=[],t=0;t<arguments.length;t++)o[t]=arguments[t];PlatformTktConfig.logsEnabled&&(console.log("PlatformToolKit > ",o),e.subscribeFn&&e.subscribeFn(o))},e.error=function(){for(var o=[],t=0;t<arguments.length;t++)o[t]=arguments[t];PlatformTktConfig.logsEnabled&&(console.error("PlatformToolKit > ",o),e.subscribeFn&&e.subscribeFn(o))},e}(),PlatformTktStorageService=function(){function e(e){var o=this;this.tempStorageCache={},this.store=[],this._window=window,this.get=function(e,t){return t?o.util.getNoopSuccessPromise(o._window.localStorage.getItem(e)):new Promise(function(t,n){if(null==e||""===e)t("");else if(void 0!==o._window.cordova)void 0!==o.tempStorageCache[e]&&""!==o.tempStorageCache[e]?t(o.tempStorageCache[e]):(PlatformTktLogger.log("cordova defined - storage"),o._window.cordova.plugins.SecureLocalStorage.getItem(e).then(function(n){n=JSON.parse(n),o.tempStorageCache[e]=n,t(n)},function(e){t("")}));else{PlatformTktLogger.log("cordova undefined - JS array");for(var i=0;i<o.store.length;i++)o.store[i].key===e&&t(o.store[i].value);t("")}})},this.getAllandReset=function(e){if(PlatformTktConfig.stubEnabled)return o.util.getNoopSuccessPromise({data:"test"});return new Promise(function(t,n){if(e||t(""),void 0!==o._window.cordova){PlatformTktLogger.log("cordova defined - storage");var i=["_appId","_k_dst","_k_sud","_k_ipe","_k_ite","_k_iqe","_k_dsc","_k_rt","_k_tc"];o._window.cordova.plugins.SecureLocalStorage.updateAndSetAll(i).then(function(e){t("")},function(e){t("")})}})},this.put=function(e,t,n){return n?(o._window.localStorage.setItem(e,t),!0):null!=e&&""!==e&&null!=t&&(void 0!==o._window.cordova?(PlatformTktLogger.log("cordova defined"),o.tempStorageCache[e]!==t&&(o.tempStorageCache[e]=t,o._window.cordova.plugins.SecureLocalStorage.setItem(e,JSON.stringify(t)))):(PlatformTktLogger.log("cordova un-defined"),o.store.push({key:e,value:t})),!0)},this.delete=function(e,t){if(null==e||""===e)return!1;var n=e.split(",");if(t){for(var i=0;i<n.length;i++)window.localStorage.removeItem(n[i]);return!0}if(void 0!==o._window.cordova){if(PlatformTktLogger.log("cordova defined"),Object.keys(o.tempStorageCache).length>0)for(i=0;i<n.length;i++)o.tempStorageCache.hasOwnProperty(n[i])&&(o.tempStorageCache[n[i]]=void 0);o._window.cordova.plugins.SecureLocalStorage.removeItem(e)}else{PlatformTktLogger.log("cordova un-defined");for(i=0;i<n.length;i++)o.store.splice(o.store.indexOf(n[i]),1)}return!0},this.deleteAll=function(e){return e&&(o._window.localStorage.clear(),o.store=[]),void 0!==o._window.cordova?(PlatformTktLogger.log("cordova defined"),o._window.cordova.plugins.SecureLocalStorage.clear()):PlatformTktLogger.log("cordova un-defined"),!0},this.putSessionStorage=function(e,t){o._window.sessionStorage.setItem(e,o.utf8_to_b64(JSON.stringify(t)))},this.getSessionStorageItem=function(e){return o._window.sessionStorage.getItem(e)},this.putSessionStorageItem=function(e,t){o._window.sessionStorage.setItem(e,JSON.stringify(t))},this.deleteSessionStorageItem=function(e){e.split(",").forEach(function(e,t){o._window.sessionStorage.removeItem(e)})},this.getLocalStorageItem=function(e){return o._window.localStorage.getItem(e)},this.putLocalStorageItem=function(e,t){o._window.localStorage.setItem(e,JSON.stringify(t))},this.utf8_to_b64=function(e){return o._window.btoa(unescape(encodeURIComponent(e)))},this.setCookie=function(e,t,n,i,r){if(void 0===r&&(r=!0),!r||o.isCookieSupported()){var a=new Date;a.setTime(a.getTime()+24*n*60*60*1e3);var s="expires="+a.toUTCString();document.cookie=e+"="+t+"; "+s+"; path=/"}else window.sessionStorage.setItem(e,t)},this.getCookie=function(e,t,n){if(void 0===n&&(n=!0),n&&!o.isCookieSupported())return window.sessionStorage.getItem(e);for(var i=e+"=",r=document.cookie.split(";"),a=0;a<r.length;a++){for(var s=r[a];" "===s.charAt(0);)s=s.substring(1);if(0===s.indexOf(i))return s.substring(i.length,s.length)}return""},this.util=e}return e.prototype.isCookieSupported=function(){return void 0!==this.cookieEnabled?this.cookieEnabled:(document.cookie="_k_ctest=true",this.cookieEnabled="true"==this.getCookie("_k_ctest",!1,!1),console.log("Platform cookie support check",this.cookieEnabled),this.cookieEnabled)},e}(),PopupBlockerHandler=function(){function e(){this._window=window,this.ssoUrl=""}return e.prototype.init=function(){"WEB"===PlatformTktConfig.channel&&(this.popupBlockerNotifierElement||(this.popupBlockerNotifierElement=document.createElement("div"),this.popupBlockerNotifierElement.innerHTML=this.getInitContent(),document.getElementsByTagName("body")[0].appendChild(this.popupBlockerNotifierElement),this.ssoUrl=""))},e.prototype.getInitContent=function(){return'\n        <div id="popupBlockNotifier" hidden class="kds-modal kds-modal--dialog" data-id="modal-text-heavy-with-actions" aria-hidden="true">\n            <div class="kds-modal__content" role="dialog" aria-modal="true" tabindex="-1" hidden id="withoutOpenSsoUrlContainer">\n                <h3 class="kds-modal__body">Please disable your pop-up blocker</h3>\n                <div class="kds-modal__body">To access this page, you\'ll need to allow pop-ups in your browser\'s privacy settings.</div>\n                <div class="kds-modal__footer">\n                    <div class="kds-modal__footer-cell kds-modal__footer-cell--primary">\n                        <button id="popupBlockNotifierOkButton" class="kds-button kds-button--primary kds-doc-modal-confirm kds-doc-action kds-button--block" type="button" role="button" onclick="window.KeyPlatformTkt.popupBlockerHandler.hide()">OK</button>\n                    </div>\n                </div>\n            </div>\n            <div class="kds-modal__content" role="dialog" aria-modal="true" tabindex="-1" hidden id="withOpenSsoUrlContainer">\n                <div class="kds-modal__header">\n                    <h3 class="kds-modal__heading" id="headMsg" />\n                    <button class="kds-button kds-modal__dismiss kds-doc-modal-dismiss kds-button--icon-only kds-button--flat kds-button--small" type="button" onclick="window.KeyPlatformTkt.popupBlockerHandler.hide()">\n                        <svg class="kds-icon kds-button__icon kds-button__icon--left" focusable="false" aria-hidden="true">\n                            <use xlink:href="share/assets/images/kds.svg#close">\n                            </use>\n                        </svg>\n                    </button>\n                </div>\n                <div class="kds-modal__body" id="innerMsg"></div>\n                <div class="kds-modal__footer">\n                    <div class="kds-modal__footer-cell kds-modal__footer-cell--primary">\n                        <button class="kds-button kds-button--primary kds-button--small kds-doc-modal-confirm kds-doc-action" type="button" role="button" onclick="window.KeyPlatformTkt.popupBlockerHandler.openSsoUrl()" id="accessButton" />\n                    </div>\n                    <div class="kds-modal__footer-cell kds-modal__footer-cell--cancel">\n                        <button class="kds-button kds-button--default kds-button--small kds-doc-modal-dismiss kds-doc-action" type="button" role="button" onclick="window.KeyPlatformTkt.popupBlockerHandler.hide()" id="closeButton" />\n                    </div>\n                </div>\n           </div>\n        </div>  \n      '},e.prototype.show=function(e,o){var t=document.getElementById("popupBlockNotifier");t&&null!=t&&(e?(o&&(document.getElementById("headMsg").innerHTML=" Your pop-up blocker is in the way ",document.getElementById("closeButton").innerHTML=" Close ","PAYMENT_ASSISTANCE"==o?(document.getElementById("innerMsg").innerHTML="You can go directly to your payments and skip this message next time&mdash;visit your browser’s privacy settings and allow pop-ups for this site.",document.getElementById("accessButton").innerHTML=" Access KeyBank Payment Assist "):"CLICK_SWITCH"==o?(document.getElementById("innerMsg").innerHTML="To go directly to ClickSwitch, visit your browser’s privacy settings and enable pop-ups for this site.",document.getElementById("accessButton").innerHTML=" Access ClickSwitch "):"HOME_LENDING"==o?(document.getElementById("innerMsg").innerHTML="To go directly to Key Mortgage application, visit your browser’s privacy settings and enable pop-ups for this site.",document.getElementById("accessButton").innerHTML=" Access Key Mortgage Application "):"HOME_LENDING_BLOCK_SUBUSER"==o&&(document.getElementById("headMsg").innerHTML="Let’s Get You Started Another Way",document.getElementById("innerMsg").innerHTML="It looks like we can’t use your current sign-on info for this application. You can still apply, we’ll just need you to create a Guest account.",document.getElementById("accessButton").innerHTML=" Sign On as Guest ",document.getElementById("closeButton").innerHTML=" No, Thanks ")),document.getElementById("withOpenSsoUrlContainer").removeAttribute("hidden")):document.getElementById("withoutOpenSsoUrlContainer").removeAttribute("hidden"),t.removeAttribute("hidden"),t.classList.add("kds-modal--is-open"))},e.prototype.hide=function(){var e=document.getElementById("popupBlockNotifier");e&&null!=e&&(e.setAttribute("hidden",""),document.getElementById("withOpenSsoUrlContainer").setAttribute("hidden",""),document.getElementById("withoutOpenSsoUrlContainer").setAttribute("hidden",""),e.classList.remove("kds-modal--is-open"))},e.prototype.checkAndNotifyIfPopupBlocked=function(e,o,t){"WEB"===PlatformTktConfig.channel&&(e&&!e.closed&&void 0!==e.closed||(o&&o.length>0?(this.ssoUrl=o,this.show(!0,t)):(this.ssoUrl="",this.show(!1,t))))},e.prototype.showPopupBox=function(e,o){"WEB"===PlatformTktConfig.channel&&e&&e.length>0&&(this.ssoUrl=e,this.show(!0,o))},e.prototype.checkAndNotifyIfPopupBlockedForCS=function(e,o){this.checkAndNotifyIfPopupBlocked(e,o,"CLICK_SWITCH")},e.prototype.openSsoUrl=function(){this.hide(),window.open(this.ssoUrl,"_blank")},e}(),PlatformTktUtil=function(){return function(){this.getNoopFailurePromise=function(e){return new Promise(function(o,t){t(e)})},this.getNoopSuccessPromise=function(e){return new Promise(function(o,t){o(e)})}}}(),PopupHandler=function(){function e(){this._window=window,this.ssoUrl=""}return e.prototype.init=function(){this.popupElelement||(this.popupElelement=document.createElement("div"),this.popupElelement.innerHTML=this.getInitContent(),document.getElementsByTagName("body")[0].appendChild(this.popupElelement),this.ssoUrl="")},e.prototype.getInitContent=function(){return'\n        <div id="popupNotifier" hidden class="kds-modal kds-modal--dialog" style="z-index: 99999" data-id="modal-text-heavy-with-actions" aria-hidden="true">\n            <div class="kds-modal__content" role="dialog" aria-modal="true" tabindex="-1" hidden id="ssoUrlContainer">\n                <div class="kds-modal__header">\n                    <h3 class="kds-modal__heading">Going to Mohela</h3>\n                    <button class="kds-button kds-modal__dismiss kds-doc-modal-dismiss kds-button--icon-only kds-button--flat kds-button--small" type="button" onclick="window.KeyPlatformTkt.popupHandler.hide()">\n                        <svg class="kds-icon kds-button__icon kds-button__icon--left" focusable="false" aria-hidden="true">\n                            <use xlink:href="share/assets/images/kds.svg#close">\n                            </use>\n                        </svg>\n                    </button>\n                </div>\n                <div class="kds-modal__body"><p>You are about to leave Laurel Road online banking to go to Mohela, our loan servicing partner, at laurelroad.mohela.com. There, you’ll be able to make payments, see your statements, and get tax documents for your loans.</p><p>For your security, you will need to sign in at laurelroad.mohela.com using your Mohela login.</p></div>\n                <div class="kds-modal__footer">\n                    <div class="kds-modal__footer-cell kds-modal__footer-cell--primary">\n                        <button class="kds-button kds-button--primary kds-button--small kds-doc-modal-confirm kds-doc-action" type="button" role="button" onclick="window.KeyPlatformTkt.popupHandler.openSsoUrl()">Continue</button>\n                    </div>\n                    <div class="kds-modal__footer-cell kds-modal__footer-cell--cancel">\n                        <button class="kds-button kds-button--default kds-button--small kds-doc-modal-dismiss kds-doc-action" type="button" role="button" onclick="window.KeyPlatformTkt.popupHandler.hide()">Cancel</button>\n                    </div>\n                </div>\n           </div>\n        </div>  \n      '},e.prototype.show=function(e){var o=document.getElementById("popupNotifier");o&&null!=o&&(document.getElementById("ssoUrlContainer").removeAttribute("hidden"),o.removeAttribute("hidden"),o.classList.add("kds-modal--is-open"))},e.prototype.hide=function(){var e=document.getElementById("popupNotifier");e&&null!=e&&(e.setAttribute("hidden",""),document.getElementById("ssoUrlContainer").setAttribute("hidden",""),e.classList.remove("kds-modal--is-open"))},e.prototype.leavingSite=function(e){e&&e.length>0&&(this.ssoUrl=e,this.show(!0))},e.prototype.openSsoUrl=function(){this.hide(),"WEB"!==PlatformTktConfig.channel?this.inAppBrowserRef=this._window.cordova.InAppBrowser.open(this.ssoUrl,"_blank","location=no, presentationstyle=fullscreen, toolbar=no,usewkwebview=yes,disallowoverscroll=yes,fullscreen=yes"):window.open(this.ssoUrl,"_blank")},e.prototype.onLoadStartSuccess=function(){console.log("In onLoadStartSuccess")},e.prototype.onLoadStopSuccess=function(){console.log("In onLoadStopSuccess")},e.prototype.exitCallback=function(){console.log("In exitCallback"),this.unregisterEvents(),this.reverseStatusBarGreyTopBarHack()},e.prototype.applyStatusBarGreyTopBarHack=function(){this._window.KeyPlatformTkt.cordovaService.viewPortCoverEnabled&&this._window.StatusBar&&this._window.StatusBar.hide()},e.prototype.reverseStatusBarGreyTopBarHack=function(){this._window.KeyPlatformTkt.cordovaService.viewPortCoverEnabled&&this._window.StatusBar&&this._window.StatusBar.show()},e.prototype.unregisterEvents=function(){console.log("In unregisterEvents of launcher service"),this.inAppBrowserRef.removeEventListener("loadstart",this.onLoadStartSuccess),this.inAppBrowserRef.removeEventListener("loadstop",this.onLoadStopSuccess),this.inAppBrowserRef.removeEventListener("exit",this.exitCallback)},e}(),KeyPlatformTkt=function(){function e(){this._window=window,this.cachedItems={}}return e.prototype.prep=function(){var e={};e.util=new PlatformTktUtil,e.storageService=new PlatformTktStorageService(e.util),e.cordovaService=new PlatformTktCordovaService(e.util,e.storageService),e.deviceService=new PlatformTktDeviceService(e.util,e.cordovaService),e.botMonService=new PlatformTktBotMonService(e.util),e.popupBlockerHandler=new PopupBlockerHandler,e.popupHandler=new PopupHandler,e.appReviewService=new PlatformTktAppReviewService(e.storageService),e.initialize=function(o){PlatformTktConfig.setConfig(o,""),PlatformTktLogger.log("In Platform Toolkit"),e.popupBlockerHandler.init(),e.popupHandler.init()},e.initDeviceDataCollection=function(){return new Promise(function(o,t){e.deviceService.gatherDeviceForensicInfo().then(function(n){e.botMonService.gatherBotMonData().then(function(n){e.cordovaService.gatherAppAndMobileId().then(function(e){o()},function(e){t(e)})},function(e){t(e)})},function(e){t(e)})})},this._window.KeyPlatformTkt=e},e}(),keyPlatformTkt=new KeyPlatformTkt;keyPlatformTkt.prep();

Zerion Mini Shell 1.0