1(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[125],{8925:function(e,n,t){"use strict";t.r(n);var a=t(29),i=t(7794),r=t.n(i),s=t(7294),o=t(1664),c=t.n(o),u=t(6486),l=t.n(u),d=t(1163),f=t(7573),h=t(9280),g=t(1831),p=t(4771),m=t(9385),v=t(5944),w={name:"q1p30n",styles:":hover{text-decoration-line:none;}:focus{text-decoration-line:none;}"};n.default=function(){var e,n=(0,s.useContext)(h.zC),t=n.signOut,i=n.tokenTimeoutInSeconds,o=n.lastSeen,u=n.passwordExpiryState,E=n.checkAuth,x=(0,s.useState)(!1),y=x[0],N=x[1],C=(0,s.useState)(),P=C[0],S=C[1],_=(0,s.useState)(!1),b=_[0],k=_[1],A=(0,d.useRouter)();(0,s.useEffect)(function(){S(i)},[i]),(0,p.Yz)(function(){P&&o&&S(Math.floor(i-(new Date().getTime()-o.getTime())/1e3))},1e3),(0,s.useEffect)(function(){Number.isInteger(P)&&P<1&&t("You have been signed out due to inactivity")},[P,t]),(0,s.useEffect)(function(){var e,n,i=(e=(0,a.Z)(r().mark(function e(){return r().wrap(function(e){for(;;)switch(e.prev=e.next){case 0:return(0,m.pz)("StandAloneChangePasswordPage.checkAuthentication() executing..."),e.next=3,E();case 3:e.sent?N(!0):t();case 5:case"end":return e.stop()}},e)})),function(){return e.apply(this,arguments)});(0,m.pz)("StandAloneChangePasswordPage.useEffect() running; router.query = ".concat(JSON.stringify(null==A?void 0:A.query))),null!=A&&null!==(n=A.query)&&void 0!==n&&n.skipRefresh?N(!0):i()},[]);var Z=function(){var e="changePasswordWrapper",n=document.getElementById(e),t=document.getElementById("pseudoNavBar");if(n){var a=n.clientHeight,i=t.clientHeight,r=window.innerHeight,s=Math.max(.2*Math.round(r-(a+i)),20);(0,m.pz)("StandAloneChangePasswordPage.adjustTopMargin(): "+"elemHeight=".concat(a,", ")+"navBarHeight=".concat(i,", ")+"viewPortHeight=".concat(r,", ")+"calculatedOffset=".concat(s)),n.style.marginTop=s+"px"}else(0,m.pz)('StandAloneChangePasswordPage.adjustTopMargin(): no element found with ID "'.concat(e,'"'))};return(0,s.useEffect)(function(){var e=l().debounce(Z,150);return y&&(Z(),k(!0)),window.addEventListener("resize",e),function(){return window.removeEventListener("resize",e)}},[y]),y?(0,v.BX)(f.Ar,{useBgImage:!1,children:[(0,v.tZ)("div",{id:"pseudoNavBar",className:"bg-white w-full h-12 shadow z-10",children:(0,v.tZ)("div",{className:"flex items-center h-full",children:(0,v.BX)(s.Fragment,{children:[(0,v.tZ)(c(),{href:"/app/dashboard",className:"block h-12 bg-teal-700 items-center flex text-white p-4",style:"FORCE_CHANGE"===u?{pointerEvents:"none"}:{pointerEvents:"auto"},children:"CASCADE Portal Gateway"}),(0,v.tZ)("ul",{className:"flex flex-1 justify-end items-center h-full",children:(0,v.tZ)("li",{className:"mx-4 text-gray-500",children:(0,v.tZ)(g.ov,{href:"#",onClick:function(e){e.preventDefault(),t()},css:w,children:"Sign Out"})})})]})})}),(0,v.tZ)("div",{id:"changePasswordWrapper",className:"".concat(b?"visible":"invisible"," w-11/12 max-w-7xl mx-auto"),children:(0,v.tZ)(h.GR,{isStandalone:!0,username:null==A?void 0:null===(e=A.query)||void 0===e?void 0:e.username})})]}):(0,v.tZ)(g.gb,{supplementaryClasses:"!h-screen"})}},5571:function(e,n,t){(window.__NEXT_P=window.__NEXT_P||[]).push(["/change-password",function(){return t(8925)}])}},function(e){e.O(0,[774,888,179],function(){return e(e.s=5571)}),_N_E=e.O()}]);
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.