text: define(["exports", "require", "../../../../../lit/index.js", "../../../../simple-icon/simple-icon.js", "../../../../simple-icon/lib/simple-icons.js", "../../../../simple-icon/lib/simple-icon-button.js"], function (_exports, _require, _index, _simpleIcon, _simpleIcons, _simpleIconButton) {
    "use strict";
  
    Object.defineProperty(_exports, "__esModule", {
      value: true
    });
    _exports.SiteDrawer = void 0;
    _require = _interopRequireWildcard(_require);
  
    var _templateObject_0252e010feba11eb8439e3eec9305af7, _templateObject2_0252e010feba11eb8439e3eec9305af7;
  
    function _getRequireWildcardCache(nodeInterop) { if (typeof WeakMap !== "function") return null; var cacheBabelInterop = new WeakMap(); var cacheNodeInterop = new WeakMap(); return (_getRequireWildcardCache = function _getRequireWildcardCache(nodeInterop) { return nodeInterop ? cacheNodeInterop : cacheBabelInterop; })(nodeInterop); }
  
    function _interopRequireWildcard(obj, nodeInterop) { if (!nodeInterop && obj && obj.__esModule) { return obj; } if (obj === null || babelHelpers.typeof(obj) !== "object" && typeof obj !== "function") { return { default: obj }; } var cache = _getRequireWildcardCache(nodeInterop); if (cache && cache.has(obj)) { return cache.get(obj); } var newObj = {}; var hasPropertyDescriptor = Object.defineProperty && Object.getOwnPropertyDescriptor; for (var key in obj) { if (key !== "default" && Object.prototype.hasOwnProperty.call(obj, key)) { var desc = hasPropertyDescriptor ? Object.getOwnPropertyDescriptor(obj, key) : null; if (desc && (desc.get || desc.set)) { Object.defineProperty(newObj, key, desc); } else { newObj[key] = obj[key]; } } } newObj.default = obj; if (cache) { cache.set(obj, newObj); } return newObj; }
  
    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; } }
  
    /**
     * `site-drawer`
     * `Basic off canvas drawer element`
     *
    
     * @demo demo/index.html
     */
    var SiteDrawer = /*#__PURE__*/function (_LitElement) {
      babelHelpers.inherits(SiteDrawer, _LitElement);
  
      var _super = _createSuper(SiteDrawer);
  
      /**
       * HTMLElement
       */
      function SiteDrawer() {
        var _this;
  
        babelHelpers.classCallCheck(this, SiteDrawer);
        _this = _super.call(this);
        _this.align = "right";
        _this.icon = "menu";
        setTimeout(function () {
          new Promise(function (res, rej) {
            return _require.default(["../../../../../@polymer/app-layout/app-drawer/app-drawer.js"], res, rej);
          });
        }, 0);
        return _this;
      }
      /**
       * LitElement life cycle - render
       */
  
  
      babelHelpers.createClass(SiteDrawer, [{
        key: "render",
        value: function render() {
          return (0, _index.html)(_templateObject_0252e010feba11eb8439e3eec9305af7 || (_templateObject_0252e010feba11eb8439e3eec9305af7 = babelHelpers.taggedTemplateLiteral(["\n      <simple-icon-button\n        icon=\"", "\"\n        @click=\"", "\"\n      ></simple-icon-button>\n      <app-drawer align=\"", "\">\n        <div class=\"drawer-contents\"><slot></slot></div>\n      </app-drawer>\n    "])), this.icon, this.toggle, this.align);
        }
      }, {
        key: "toggle",
        value: function toggle(e) {
          this.shadowRoot.querySelector("app-drawer").toggle();
        }
      }], [{
        key: "styles",
        get:
        /**
         * LitElement constructable styles enhancement
         */
        function get() {
          return [(0, _index.css)(_templateObject2_0252e010feba11eb8439e3eec9305af7 || (_templateObject2_0252e010feba11eb8439e3eec9305af7 = babelHelpers.taggedTemplateLiteral(["\n        .drawer-contents {\n          height: 100%;\n          overflow-y: auto;\n          padding: 16px;\n        }\n        simple-icon-button {\n          color: var(--site-drawer-button-color, #ffffff);\n        }\n        app-drawer {\n          background-color: #eeeeee;\n          --app-drawer-scrim-background: #eeeeee;\n          --app-drawer-width: var(--site-drawer-width, 300px);\n        }\n      "])))];
        }
      }, {
        key: "tag",
        get: function get() {
          return "site-drawer";
        }
      }, {
        key: "properties",
        get: function get() {
          return {
            align: {
              type: String
            },
            icon: {
              type: String
            }
          };
        }
      }]);
      return SiteDrawer;
    }(_index.LitElement);
  
    _exports.SiteDrawer = SiteDrawer;
    window.customElements.define(SiteDrawer.tag, SiteDrawer);
  });