"use strict";Object.defineProperty(exports,"__esModule",{value:!0});var e=require("tslib"),i=require("react/jsx-runtime"),r=require("./TierCard.js"),t=require("../styles/RuleTierList.module.css.js");exports.default=function(o){var s=o.tiers,n=o.onToggleTier,l=o.onDeleteRule,a=o.isGlobalScope,u=void 0!==a&&a,d=o.onFetchOverrideHistory,c=o.onEditRule,g=o.onEditVariant,h=o.onDeleteVariant,T=o.highlightedVariants,R=o.highlightedTierNames,f=o.onToggleSuccess,m=o.onReorderRules,p=o.ruleSetId,v=o.onRefreshRuleSets,j=o.setDeleteConfirmationUsedFor,S=o.onCopyToTier;return i.jsx("div",e.__assign({className:t.default.container},{children:i.jsx("div",e.__assign({className:t.default.tiersList},{children:s.map(function(e){return e.ruleCount>0&&i.jsx(r.default,{tier:e,allTiers:s,onToggle:function(){return n(e.id)},onDeleteRule:l,isGlobalScope:u,onFetchOverrideHistory:d,onEditRule:c,onEditVariant:g,onDeleteVariant:h,highlightedVariants:T,highlightedTierNames:R,onToggleSuccess:f,onReorderRules:m,scopeId:p,onRefreshRuleSets:v,setDeleteConfirmationUsedFor:j,onCopyToTier:S},e.id)})}))}))};
//# sourceMappingURL=RuleTierList.js.map
