var __extends=this&&this.__extends||function(){var t=function(e,r){t=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var r in e)if(Object.prototype.hasOwnProperty.call(e,r))t[r]=e[r]};return t(e,r)};return function(e,r){if(typeof r!=="function"&&r!==null)throw new TypeError("Class extends value "+String(r)+" is not a constructor or null");t(e,r);function n(){this.constructor=e}e.prototype=r===null?Object.create(r):(n.prototype=r.prototype,new n)}}();System.register(["./p-d86a8e66.system.js"],(function(t){"use strict";var e,r,n;return{setters:[function(t){e=t.a;r=t.r;n=t.I}],execute:function(){var o=function(t){__extends(e,t);function e(){return t!==null&&t.apply(this,arguments)||this}e.prototype.run=function(t,e,r,n,o){return{value:e[o.id],visible:this.shouldShow(t,e,r,n)}};return e}(e);function u(t,e){if(!t||!e){return true}if(t.type==="group"){if(!t.rules||t.rules.length===0){return true}for(var r=0;r<(t.rules||[]).length;r++){var n=u(t.rules[r],e);if(n&&t.operator==="or"){return true}else if(!n&&t.operator==="and"){return false}else if(n&&t.operator==="and"&&r===t.rules.length-1){return true}}}else if(t.type==="condition"){var o=t.condition,i=t.value,s=t.key;if(!o||!s){return false}switch(o){case"eq":{switch(typeof e[s]){case"boolean":{return e[s]==i}case"number":{return e[s]==i}case"string":{return(e[s]||"").trim()==(i||"").trim()}}return false}case"ne":{switch(typeof e[s]){case"boolean":{return e[s]!=i}case"number":{return e[s]!=i}case"string":{return(e[s]||"").trim()!=(i||"").trim()}}return false}}}return false}var i=function(t){__extends(e,t);function e(e){var r=t.call(this,"concealerGenericRule")||this;r.rule=e;return r}return e}(n);t("C",i);i.id="concealerGenericRule";var s=function(t){__extends(e,t);function e(e){var r=t.call(this)||this;r.config=e;return r}e.prototype.shouldShow=function(t,e,r,n){return u(this.config.rule,e)};return e}(o);r(i.id,(function(t){return new s(t)}));var c=function(){function t(t){this.type=t}return t}();var a=function(t){__extends(e,t);function e(e,r){var n=t.call(this,"condition")||this;n.condition="eq";n.key=e;n.value=r;return n}return e}(c);t("E",a)}}}));