var Unibase;(function(n){let t;(function(t){let i;(function(t){let i;(function(t){class i extends n.Platform.Core.BaseComponent{cssFiles(){return[]}jsFiles(){return["apps/communications/components/w_authtokenupdate.js","apps/communications/managers/authtokenmanager.js"]}html(){return``}load(){}init(){this.render();$("#BtnUpdateAuthtoken").click(function(){n.Apps.Communications.Component.AuthTokenUpdate.Instance().updateAuthtoken()})}render(){var n=Number($("#hf_PortletWidgetId").val());$(".div_portletwidget_"+n).empty();let t=`
`;$(".div_portletwidget_"+n).append(t)}updateAuthtoken(){var t=this;t.fileCacheHelper.loadJsFile("apps/communications/managers/authtokenmanager.js",function(){n.Apps.Communications.Managers.AuthTokenManager.Instance().updateAuthToken().then(function(n){MessageHelper.Instance().showSuccess(n.message,"Unibase_ValidationSummary")})})}static Instance(){return this.instance===undefined&&(this.instance=new i),this.instance}}t.AuthTokenUpdate=i})(i=t.Component||(t.Component={}))})(i=t.Communications||(t.Communications={}))})(t=n.Apps||(n.Apps={}))})(Unibase||(Unibase={}));