text: define(["exports", "../../../@polymer/polymer/polymer-element.js", "../../lrndesign-avatar/lrndesign-avatar.js", "../../simple-icon/simple-icon.js", "../../simple-icon/lib/simple-icons.js", "../../../@polymer/iron-behaviors/iron-button-state.js", "../../../@polymer/polymer/lib/legacy/class.js"], function (_exports, _polymerElement, _lrndesignAvatar, _simpleIcon, _simpleIcons, _ironButtonState, _class) {
    "use strict";
  
    Object.defineProperty(_exports, "__esModule", {
      value: true
    });
    _exports.LrndesignMapmenuHeader = void 0;
  
    var _templateObject_6585c130942811ecb1937969798b231a;
  
    function _createSuper(Derived) { var hasNativeReflectConstruct = _isNativeReflectConstruct(); return function _createSuperInternal() { var Super = babelHelpers.getPrototypeOf(Derived), result; if (hasNativeReflectConstruct) { var NewTarget = babelHelpers.getPrototypeOf(this).constructor; result = Reflect.construct(Super, arguments, NewTarget); } else { result = Super.apply(this, arguments); } return babelHelpers.possibleConstructorReturn(this, result); }; }
  
    function _isNativeReflectConstruct() { if (typeof Reflect === "undefined" || !Reflect.construct) return false; if (Reflect.construct.sham) return false; if (typeof Proxy === "function") return true; try { Boolean.prototype.valueOf.call(Reflect.construct(Boolean, [], function () {})); return true; } catch (e) { return false; } }
  
    var LrndesignMapmenuHeader = /*#__PURE__*/function (_mixinBehaviors) {
      babelHelpers.inherits(LrndesignMapmenuHeader, _mixinBehaviors);
  
      var _super = _createSuper(LrndesignMapmenuHeader);
  
      function LrndesignMapmenuHeader() {
        babelHelpers.classCallCheck(this, LrndesignMapmenuHeader);
        return _super.apply(this, arguments);
      }
  
      babelHelpers.createClass(LrndesignMapmenuHeader, [{
        key: "connectedCallback",
        value: function connectedCallback() {
          babelHelpers.get(babelHelpers.getPrototypeOf(LrndesignMapmenuHeader.prototype), "connectedCallback", this).call(this);
          this.setAttribute("role", "button");
          this.setAttribute("tabindex", "0");
        }
      }], [{
        key: "template",
        get: function get() {
          return (0, _polymerElement.html)(_templateObject_6585c130942811ecb1937969798b231a || (_templateObject_6585c130942811ecb1937969798b231a = babelHelpers.taggedTemplateLiteral(["\n      <style>\n        :host {\n          display: block;\n        }\n        #container {\n          display: flex;\n          align-items: center;\n        }\n        #icon {\n          margin-right: 10px;\n        }\n        #center {\n          flex: 1 1 auto;\n        }\n        lrndesign-avatar {\n          display: inline-block;\n          position: relative;\n        }\n        lrndesign-avatar ::slotted(*) {\n          transform: translateY(2px);\n        }\n        #title {\n          font-size: 19.2px;\n        }\n        #right simple-icon {\n          color: gray;\n          display: inline-flex;\n        }\n      </style>\n      <div id=\"container\">\n        <template is=\"dom-if\" if=\"[[avatarLabel]]\">\n          <div id=\"icon\">\n            <lrndesign-avatar label=\"[[avatarLabel]]\"></lrndesign-avatar>\n          </div>\n        </template>\n        <div id=\"center\">\n          <div id=\"label\">[[label]]</div>\n          <div id=\"title\">[[title]]</div>\n        </div>\n        <div id=\"right\">\n          <template is=\"dom-if\" if=\"[[!opened]]\">\n            <simple-icon icon=\"arrow-drop-down\"></simple-icon>\n          </template>\n          <template is=\"dom-if\" if=\"[[opened]]\">\n            <simple-icon icon=\"arrow-drop-up\"></simple-icon>\n          </template>\n        </div>\n      </div>\n    "])));
        }
      }, {
        key: "tag",
        get: function get() {
          return "lrndesign-mapmenu-header";
        }
      }, {
        key: "properties",
        get: function get() {
          return {
            title: {
              type: String
            },
            label: {
              type: String
            },
            avatarLabel: {
              type: String,
              value: ""
            },
            opened: {
              type: Boolean
            }
          };
        }
      }]);
      return LrndesignMapmenuHeader;
    }((0, _class.mixinBehaviors)([_ironButtonState.IronButtonState], _polymerElement.PolymerElement));
  
    _exports.LrndesignMapmenuHeader = LrndesignMapmenuHeader;
    window.customElements.define(LrndesignMapmenuHeader.tag, LrndesignMapmenuHeader);
  });