(function(){"use strict";u8.services.menus.registerMenuItem("D_Expand_Imported",{create:function(e,r){var u=r.menuItem;u.disabled=true;var t=e&&e.executeOptions&&e.executeOptions.arguments&&e.executeOptions.arguments.uid;if(!u8.isValidRecordUid(t)){return}u8.services.crud.readFields({uid:t,fields:["TableId","RecordID"]},function(r,t){if(t.error){return}var i=t.values[0];var s=t.values[1];if(!i||!s){return}e.executeOptions.arguments.link={infoAreaId:i,recordId:s};u.disabled=false;u.update()})}})})();