Liferay.Loader.define("@liferay/layout-content-page-editor-web@3.0.145/page_editor/app/components/app-hooks/useExtendSession",["module","exports","require","liferay!frontend-js-react-web$react","../../config/index"],(function(e,n,t){window;{Object.defineProperty(n,"__esModule",{value:!0}),n.default=function useExtendSession(){(0,o.useEffect)((()=>{if(Liferay.Session&&i.config.autoExtendSessionEnabled){const n=Liferay.Session.get("sessionLength")||e,t=setInterval((()=>{Liferay.Session.extend()}),n/2);return()=>clearInterval(t)}}),[])};var o=t("liferay!frontend-js-react-web$react"),i=t("../../config/index");const e=6e4}}));
//# sourceMappingURL=useExtendSession.js.map