PageSourceSearch

https://netbank.nordea.fi/login/4572.0378fe475d6edf36.js

js nordea.fi collected 2026-09-24 17:40:17 UTC 4,609 bytes, 1 lines download raw bytes

1"use strict";(self.webpackChunklogin=self.webpackChunklogin||[]).push([[4572],{4572(h,a,s){s.r(a),s.d(a,{nwcc_idle:()=>o});var r=s(467),i=s(9842),n=s(8381);const o=class{constructor(t){(0,i.A)(this,"inactivityThreshold",240),(0,i.A)(this,"timeoutThreshold",300),(0,i.A)(this,"verbose",!1),(0,i.A)(this,"disableActivityTrackingAfterWarning",!1),(0,i.A)(this,"nwccIdleUserInactive",void 0),(0,i.A)(this,"nwccIdleUserActive",void 0),(0,i.A)(this,"nwccIdleSessionTimeout",void 0),(0,i.A)(this,"trackedEvents",["mousemove","keydown","DOMMouseScroll","mousewheel","mousedown","touchstart","touchmove","scroll"]),(0,i.A)(this,"userActivityDetected",void 0),(0,i.A)(this,"lastActivity",void 0),(0,i.A)(this,"inactivityHandle",void 0),(0,i.A)(this,"timeoutHandle",void 0),(0,i.A)(this,"inactivityWarningSent",void 0),(0,n.r)(this,t),this.nwccIdleUserInactive=(0,n.c)(this,"nwccIdleUserInactive",7),this.nwccIdleUserActive=(0,n.c)(this,"nwccIdleUserActive",7),this.nwccIdleSessionTimeout=(0,n.c)(this,"nwccIdleSessionTimeout",7),this.userActivityDetected=()=>{this.inactivityWarningSent&&this.disableActivityTrackingAfterWarning||(this.userInactive()&&(this.debugLog("case ACTIVITY DETECTED after inactivity"),this.nwccIdleUserActive.emit(),this.clearTimeoutTimer(),this.startInactivityTimer()),this.lastActivity=Date.now(),this.inactivityWarningSent=!1)}}connectedCallback(){this.timeoutThresholdInMs()<this.inactivityThresholdInMs()&&console.log("Timeout threshold must be greater than inactivity threshold")}disconnectedCallback(){this.debugLog("in disconnectedCallback()"),this.stop()}activityDetected(){var t=this;return(0,r.A)(function*(){t.userInactive()&&(t.debugLog("case ACTIVITY DETECTED after inactivity"),t.nwccIdleUserActive.emit(),t.clearTimeoutTimer(),t.startInactivityTimer()),t.lastActivity=Date.now(),t.inactivityWarningSent=!1})()}startInactivityTracking(){var t=this;return(0,r.A)(function*(){t.debugLog("in startInactivityTracking()"),t.lastActivity>0?console.log("Activity tracking already on-going, did you call startInactivityTracking() by mistake?"):(t.startInactivityTimer(),t.addListeners(t.trackedEvents))})()}stop(){var t=this;return(0,r.A)(function*(){t.debugLog("in stop()"),t.removeListeners(t.trackedEvents),t.clearInactivityTimer(),t.clearTimeoutTimer(),t.lastActivity=0})()}startInactivityTimer(){this.debugLog("in startInactivityTimer()"),this.lastActivity=Date.now(),this.checkUserActivityState()}checkUserActivityState(){this.sessionTimedOut()?(this.debugLog("case TIMED OUT, stop after being inactive for ".concat(this.userIdleDuration())),this.nwccIdleSessionTimeout.emit(),this.stop()):this.userInactive()?(this.debugLog("case WARNING, check again after ".concat(this.timeBetweenWarningAndTimeout()," ms")),this.nwccIdleUserInactive.emit(),this.inactivityWarningSent=!0,this.clearInactivityTimer(),this.timeoutHandle>0&&console.log("ncc-idle assert: leaking timeout"),this.timeoutHandle=window.setTimeout(()=>{this.timeoutHandle=0,this.checkUserActivityState()},this.timeBetweenWarningAndTimeout())):(this.debugLog("case NO WARNING, NO TIMEOUT, check again after ".concat(this.timeUntilInactivityWarning()," ms")),this.inactivityHandle>0&&console.log("ncc-idle assert: leaking inactivity"),this.inactivityHandle=window.setTimeout(()=>{this.inactivityHandle=0,this.inactivityWarningSent=!1,this.checkUserActivityState()},this.timeUntilInactivityWarning()))}inactivityThresholdInMs(){return 1e3*this.inactivityThreshold}timeoutThresholdInMs(){return 1e3*this.timeoutThreshold}userInactive(){return this.userIdleDuration()>=this.inactivityThresholdInMs()}sessionTimedOut(){return this.userIdleDuration()>=this.timeoutThresholdInMs()}userIdleDuration(){return Date.now()-this.lastActivity}timeUntilInactivityWarning(){return this.inactivityThresholdInMs()-this.userIdleDuration()}timeBetweenWarningAndTimeout(){return this.timeoutThresholdInMs()-this.inactivityThresholdInMs()}clearInactivityTimer(){this.debugLog("in clearInactivityTimeout"),window.clearTimeout(this.inactivityHandle),this.inactivityHandle=0}clearTimeoutTimer(){this.debugLog("in clearTimeoutTimeout"),window.clearTimeout(this.timeoutHandle),this.timeoutHandle=0}
1addListeners(t){this.debugLog("in addListeners()"),t.forEach(c=>{var e;null===(e=document.querySelector("body"))||void 0===e||e.addEventListener(c,this.userActivityDetected,{capture:!0,passive:!0})})}removeListeners(t){this.debugLog("in removeListeners()"),t.forEach(c=>{var e;null===(e=document.querySelector("body"))||void 0===e||e.removeEventListener(c,this.userActivityDetected,{capture:!0})})}debugLog(t){!0===this.verbose&&console.log(t)}}}}]);

Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.