(()=>{function n(n,e,t,i,o){var c=this;_.assign(c,{$onChanges:function(){_.get(c.rule,"isNew")&&(delete c.rule.isNew,c.isOpen=!0)},dataTypes:i.DATA_TYPES}),o.isCurrentUserTopTenant().then(function(n){c.canDisableEdit=n})}n.$inject=["c8yBase","c8yTenantPolicies","c8yTenantPoliciesConfig","c8yRetentions","c8yTenant"],angular.module("c8y.tenantPolicies").component("c8yTenantPolicyRow",{templateUrl:":::PLUGIN_PATH:::/tenantPolicyDetail/tenantPolicyRow.html",controller:n,controllerAs:"vm",bindings:{rule:"<",onRemove:"&"}})})();