1import{l as e}from"./DzgzMDuw.js";import{r as t}from"./BKWIzzBk.js";import{l as n}from"./CLZSiIyB.js";import{r}from"./NRV-UtHu2.js";function i(i,a){let o=r(),s=n(`featureFlagsOverride`,()=>[]);if(i)return e(()=>{if(s.value.includes(i))return!0;let e=o.value.featureflags.find(e=>e.enum===i);if(e){if(e.featureStatus===t.enabled)return!0;if(e.featureStatus===t.disabled)return!1}return a||!1});function c(e){s.value.includes(e)?s.value=s.value.filter(t=>t!==e):s.value.push(e)}function l(){s.value=[]}return{toggleOverride:c,resetOverrides:l,features:e(()=>o.value.featureflags.filter(e=>e.featureStatus===t.disabled).map(e=>{let n=e.featureStatus===t.enabled||s.value.includes(e.enum);return{id:e.enum,enabled:n,label:e.label||e.enum}}))}}export{i as t}; 2//# sourceMappingURL=BgsNtxK9.js.map
Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.