import { b as _defineProperty } from '../_rollupPluginBabelHelpers-9wjJaosZ.js';
import { setComponentTemplate } from '@ember/component';
import { precompileTemplate } from '@ember/template-compilation';
import Component from '@glimmer/component';
import { getValue } from '@glimmer/tracking/primitives/cache';
import { invokeHelper } from '@ember/helper';
import { CurrentBreakPointHelper } from './eui-show-for.js';

class EuiHideForComponent extends Component {
  constructor(...args) {
    super(...args);
    _defineProperty(this, "currentBreakpointHelper", invokeHelper(this, CurrentBreakPointHelper, () => {
      return {
        positional: [this.args.sizes]
      };
    }));
  }
  get shouldShow() {
    return !getValue(this.currentBreakpointHelper);
  }
}
setComponentTemplate(precompileTemplate(`
    {{#if this.shouldShow}}
      {{yield}}
    {{/if}}
  `, {
  strictMode: true
}), EuiHideForComponent);

export { EuiHideForComponent as default };
//# sourceMappingURL=eui-hide-for.js.map
