define(["exports", "aurelia-framework"], function (exports, _aureliaFramework) {
  "use strict";

  exports.__esModule = true;
  exports.Progress = undefined;

  function _initDefineProp(target, property, descriptor, context) {
    if (!descriptor) return;
    Object.defineProperty(target, property, {
      enumerable: descriptor.enumerable,
      configurable: descriptor.configurable,
      writable: descriptor.writable,
      value: descriptor.initializer ? descriptor.initializer.call(context) : void 0
    });
  }

  function _applyDecoratedDescriptor(target, property, decorators, descriptor, context) {
    var desc = {};
    Object['ke' + 'ys'](descriptor).forEach(function (key) {
      desc[key] = descriptor[key];
    });
    desc.enumerable = !!desc.enumerable;
    desc.configurable = !!desc.configurable;

    if ('value' in desc || desc.initializer) {
      desc.writable = true;
    }

    desc = decorators.slice().reverse().reduce(function (desc, decorator) {
      return decorator(target, property, desc) || desc;
    }, desc);

    if (context && desc.initializer !== void 0) {
      desc.value = desc.initializer ? desc.initializer.call(context) : void 0;
      desc.initializer = undefined;
    }

    if (desc.initializer === void 0) {
      Object['define' + 'Property'](target, property, desc);
      desc = null;
    }

    return desc;
  }

  function _initializerWarningHelper(descriptor, context) {
    throw new Error('Decorating class property failed. Please ensure that transform-class-properties is enabled.');
  }

  var _desc, _value, _class, _descriptor;

  let Progress = exports.Progress = (_class = class Progress {

    constructor() {
      _initDefineProp(this, "model", _descriptor, this);

      this.model = {
        value: 35,
        stages: [{ title: "Stage 1", value: 0 }, { title: "Stage 2", value: 25 }, { title: "Stage 3", value: 50 }, { title: "Stage 4", value: 75 }, { title: "Stage 5", value: 100 }]
      };
    }
  }, (_descriptor = _applyDecoratedDescriptor(_class.prototype, "model", [_aureliaFramework.bindable], {
    enumerable: true,
    initializer: null
  })), _class);
});
//# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbInN0YWdlZC1wcm9ncmVzcy5qcyJdLCJuYW1lcyI6WyJQcm9ncmVzcyIsImNvbnN0cnVjdG9yIiwibW9kZWwiLCJ2YWx1ZSIsInN0YWdlcyIsInRpdG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