Liferay.Loader.define("frontend-js-web@5.0.32/liferay/util/get_url_with_session_id",["module","exports","require"],(function(e,n,t){window;Object.defineProperty(n,"__esModule",{value:!0}),n.default=function(e){if(!themeDisplay.isAddSessionIdToURL())return e;let n=e.indexOf(";");if(n>-1)return e;const t=";jsessionid=".concat(themeDisplay.getSessionId());if(n=e.indexOf("?"),n>-1)return"".concat(e.substring(0,n)).concat(t).concat(e.substring(n));if(n=e.indexOf("//"),n>-1){const i=e.lastIndexOf("/");if(n+1===i)return"".concat(e,"/").concat(t)}return"".concat(e).concat(t)}}));
//# sourceMappingURL=get_url_with_session_id.js.map