text: define(["exports", "../../@polymer/polymer/polymer-element.js", "./lib/lrndesign-stepper-button.js"], function (_exports, _polymerElement, _lrndesignStepperButton) {
    "use strict";
  
    Object.defineProperty(_exports, "__esModule", {
      value: true
    });
    _exports.LrndesignStepper = void 0;
  
    var _templateObject_6e002b20af6311ebbe560fe9c4727db1;
  
    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; } }
  
    /**
    `lrndesign-stepper`
    visualization of steps
    
    * @demo demo/index.html
    */
    var LrndesignStepper = /*#__PURE__*/function (_PolymerElement) {
      babelHelpers.inherits(LrndesignStepper, _PolymerElement);
  
      var _super = _createSuper(LrndesignStepper);
  
      function LrndesignStepper() {
        babelHelpers.classCallCheck(this, LrndesignStepper);
        return _super.apply(this, arguments);
      }
  
      babelHelpers.createClass(LrndesignStepper, [{
        key: "ready",
        value: function ready() {
          babelHelpers.get(babelHelpers.getPrototypeOf(LrndesignStepper.prototype), "ready", this).call(this);
          var children = this.shadowRoot.querySelector("slot").assignedNodes({
            flatten: true
          }).filter(function (n) {
            return n.nodeType === Node.ELEMENT_NODE;
          });
  
          if (children.length > 1) {
            children.forEach(function (child, index) {
              if (index === 0) {
                child.setAttribute("location", "start");
              } else if (index === children.length - 1) {
                child.setAttribute("location", "end");
              } else {
                child.setAttribute("location", "middle");
              }
  
              console.log(child, index);
            });
          }
        }
      }], [{
        key: "template",
        get: function get() {
          return (0, _polymerElement.html)(_templateObject_6e002b20af6311ebbe560fe9c4727db1 || (_templateObject_6e002b20af6311ebbe560fe9c4727db1 = babelHelpers.taggedTemplateLiteral(["\n      <style>\n        :host {\n          display: block;\n        }\n      </style>\n      <div class=\"buttons\"><slot></slot></div>\n    "])));
        }
      }, {
        key: "tag",
        get: function get() {
          return "lrndesign-stepper";
        }
      }]);
      return LrndesignStepper;
    }(_polymerElement.PolymerElement);
  
    _exports.LrndesignStepper = LrndesignStepper;
    window.customElements.define(LrndesignStepper.tag, LrndesignStepper);
  });