text: "use strict";
  
  exports.__esModule = true;
  exports.default = void 0;
  
  var _html = require("marko/src/runtime/html");
  
  var _index = _interopRequireDefault(require("./components/tag-a/index.marko"));
  
  var _index2 = _interopRequireDefault(require("./components/tag-b/index.marko"));
  
  var _dynamicTag = _interopRequireDefault(require("marko/src/runtime/helpers/dynamic-tag"));
  
  var _attr = _interopRequireDefault(require("marko/src/runtime/html/helpers/attr"));
  
  var _renderTag = _interopRequireDefault(require("marko/src/runtime/helpers/render-tag"));
  
  var _renderer = _interopRequireDefault(require("marko/src/runtime/components/renderer"));
  
  function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }
  
  const _marko_componentType = "packages/translator-default/test/fixtures/dynamic-tag-name/template.marko",
        _marko_template = (0, _html.t)(_marko_componentType);
  
  var _default = _marko_template;
  exports.default = _default;
  const _marko_component = {};
  _marko_template._ = (0, _renderer.default)(function (input, out, _componentDef, _component, state) {
    (0, _dynamicTag.default)(out, input, () => ({
      "class": ["a", "b"],
      "other": input.other
    }), null, null, null, _componentDef, "0");
    (0, _dynamicTag.default)(out, input.x, () => ({
      "class": ["a", "b"],
      "other": input.other
    }), null, null, null, _componentDef, "1");
  
    const _tagName = input.show ? "div" : null;
  
    if (_tagName) out.w(`<${_tagName} class="a b"${(0, _attr.default)("other", input.other)}></${_tagName}>`);else out.bf("f_2", _component, 1);
  
    const _tagName2 = input.show && "div";
  
    if (_tagName2) out.w(`<${_tagName2} class="a b"${(0, _attr.default)("other", input.other)}></${_tagName2}>`);else out.bf("f_3", _component, 1);
  
    const _tagName3 = input.large ? "h1" : "h2";
  
    out.w(`<${_tagName3} class="a b"${(0, _attr.default)("other", input.other)}></${_tagName3}>`);
  
    const _tagName4 = input.showTagA ? _index.default : _index2.default;
  
    (0, _renderTag.default)(_tagName4, {
      "class": ["a", "b"],
      "other": input.other,
      "class": ["a", "b"],
      "other": input.other
    }, out, _componentDef, "5");
  
    const _tagName5 = input.showTagA && _index.default;
  
    if (_tagName5) (0, _renderTag.default)(_tagName5, {
      "class": ["a", "b"],
      "other": input.other
    }, out, _componentDef, "6");
  
    const _tagName6 = input.showTagA && _index.default;
  
    const _renderBody = out => {
      out.w("Body content");
    };
  
    if (_tagName6) (0, _renderTag.default)(_tagName6, {
      "class": ["a", "b"],
      "other": input.other,
      "renderBody": _renderBody
    }, out, _componentDef, "7");else _renderBody(out);
    (0, _dynamicTag.default)(out, input.tag || _index.default, () => ({
      "class": ["a", "b"],
      "other": input.other
    }), null, null, null, _componentDef, "8");
    const largeHeading = input.isLarge && "h1";
  
    const _tagName7 = largeHeading || "h2";
  
    if (_tagName7) out.w(`<${_tagName7} class="a b"${(0, _attr.default)("other", input.other)}></${_tagName7}>`);else out.bf("f_9", _component, 1);
  
    const _tagName8 = global.x = "a" + "b";
  
    out.w(`<${_tagName8} class="a b"${(0, _attr.default)("other", input.other)}></${_tagName8}>`);
  
    const _tagName9 = "h" + input.level;
  
    out.w(`<${_tagName9} class="a b"${(0, _attr.default)("other", input.other)}></${_tagName9}>`);
    const _tagName10 = `h${input.level}`;
    out.w(`<${_tagName10} class="a b"${(0, _attr.default)("other", input.other)}></${_tagName10}>`);
    const tagConstA = "a";
    out.w(`<${tagConstA} class="a b"${(0, _attr.default)("other", input.other)}></${tagConstA}>`);
    const tagConstB = input.show ? "div" : null;
    if (tagConstB) out.w(`<${tagConstB} class="a b"${(0, _attr.default)("other", input.other)}></${tagConstB}>`);else out.bf("f_14", _component, 1);
    let tagLazyAssign;
    tagLazyAssign = "a";
    if (tagLazyAssign) out.w(`<${tagLazyAssign} class="a b"${(0, _attr.default)("other", input.other)}></${tagLazyAssign}>`);else out.bf("f_15", _component, 1);
    tagLazyAssign = input.show ? "div" : null;
    if (tagLazyAssign) out.w(`<${tagLazyAssign} class="a b"${(0, _attr.default)("other", input.other)}></${tagLazyAssign}>`);else out.bf("f_16", _component, 1);
  }, {
    t: _marko_componentType,
    i: true,
    d: true
  }, _marko_component);