text: "use strict";
  
  
  
  define('front/adapters/application', ['exports', 'ember-data'], function (exports, _emberData) {
      'use strict';
  
      Object.defineProperty(exports, "__esModule", {
          value: true
      });
      exports.default = _emberData.default.RESTAdapter.extend({
          // host: 'http://localhost:8000'
      });
  });
  define('front/app', ['exports', 'front/resolver', 'ember-load-initializers', 'front/config/environment'], function (exports, _resolver, _emberLoadInitializers, _environment) {
    'use strict';
  
    Object.defineProperty(exports, "__esModule", {
      value: true
    });
  
  
    var App = Ember.Application.extend({
      modulePrefix: _environment.default.modulePrefix,
      podModulePrefix: _environment.default.podModulePrefix,
      Resolver: _resolver.default
    });
  
    (0, _emberLoadInitializers.default)(App, _environment.default.modulePrefix);
  
    exports.default = App;
  });
  define('front/components/task-managment', ['exports'], function (exports) {
      'use strict';
  
      Object.defineProperty(exports, "__esModule", {
          value: true
      });
      exports.default = Ember.Component.extend({
          store: Ember.inject.service(),
          actions: {
              addTask: function addTask(event) {
                  var task = this.get('store').createRecord('task', {
                      status_id: 1,
                      title: 'משימה ' + String.fromCodePoint(Math.floor(Math.random() * (90 - 65) + 65)).toUpperCase(),
                      description: 'Lorem ipsum'
                  });
  
                  task.save();
              },
              deleteTask: function deleteTask(task) {
                  task.deleteRecord();
                  task.save();
              },
              markDoneTask: function markDoneTask(task) {
                  task.status_id = 2;
                  task.save();
              }
          }
      });
  });
  define('front/components/welcome-page', ['exports', 'ember-welcome-page/components/welcome-page'], function (exports, _welcomePage) {
    'use strict';
  
    Object.defineProperty(exports, "__esModule", {
      value: true
    });
    Object.defineProperty(exports, 'default', {
      enumerable: true,
      get: function () {
        return _welcomePage.default;
      }
    });
  });
  define('front/helpers/and', ['exports', 'ember-truth-helpers/helpers/and'], function (exports, _and) {
    'use strict';
  
    Object.defineProperty(exports, "__esModule", {
      value: true
    });
    Object.defineProperty(exports, 'default', {
      enumerable: true,
      get: function () {
        return _and.default;
      }
    });
    Object.defineProperty(exports, 'and', {
      enumerable: true,
      get: function () {
        return _and.and;
      }
    });
  });
  define('front/helpers/app-version', ['exports', 'front/config/environment', 'ember-cli-app-version/utils/regexp'], function (exports, _environment, _regexp) {
    'use strict';
  
    Object.defineProperty(exports, "__esModule", {
      value: true
    });
    exports.appVersion = appVersion;
    function appVersion(_) {
      var hash = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : {};
  
      var version = _environment.default.APP.version;
      // e.g. 1.0.0-alpha.1+4jds75hf
  
      // Allow use of 'hideSha' and 'hideVersion' For backwards compatibility
      var versionOnly = hash.versionOnly || hash.hideSha;
      var shaOnly = hash.shaOnly || hash.hideVersion;
  
      var match = null;
  
      if (versionOnly) {
        if (hash.showExtended) {
          match = version.match(_regexp.versionExtendedRegExp); // 1.0.0-alpha.1
        }
        // Fallback to just version
        if (!match) {
          match = version.match(_regexp.versionRegExp); // 1.0.0
        }
      }
  
      if (shaOnly) {
        match = version.match(_regexp.shaRegExp); // 4jds75hf
      }
  
      return match ? match[0] : version;
    }
  
    exports.default = Ember.Helper.helper(appVersion);
  });
  define('front/helpers/eq', ['exports', 'ember-truth-helpers/helpers/equal'], function (exports, _equal) {
    'use strict';
  
    Object.defineProperty(exports, "__esModule", {
      value: true
    });
    Object.defineProperty(exports, 'default', {
      enumerable: true,
      get: function () {
        return _equal.default;
      }
    });
    Object.defineProperty(exports, 'equal', {
      enumerable: true,
      get: function () {
        return _equal.equal;
      }
    });
  });
  define('front/helpers/gt', ['exports', 'ember-truth-helpers/helpers/gt'], function (exports, _gt) {
    'use strict';
  
    Object.defineProperty(exports, "__esModule", {
      value: true
    });
    Object.defineProperty(exports, 'default', {
      enumerable: true,
      get: function () {
        return _gt.default;
      }
    });
    Object.defineProperty(exports, 'gt', {
      enumerable: true,
      get: function () {
        return _gt.gt;
      }
    });
  });
  define('front/helpers/gte', ['exports', 'ember-truth-helpers/helpers/gte'], function (exports, _gte) {
    'use strict';
  
    Object.defineProperty(exports, "__esModule", {
      value: true
    });
    Object.defineProperty(exports, 'default', {
      enumerable: true,
      get: function () {
        return _gte.default;
      }
    });
    Object.defineProperty(exports, 'gte', {
      enumerable: true,
      get: function () {
        return _gte.gte;
      }
    });
  });
  define('front/helpers/if-cond', ['exports'], function (exports) {
    'use strict';
  
    Object.defineProperty(exports, "__esModule", {
      value: true
    });
    exports.ifCond = ifCond;
  
    var _slicedToArray = function () {
      function sliceIterator(arr, i) {
        var _arr = [];
        var _n = true;
        var _d = false;
        var _e = undefined;
  
        try {
          for (var _i = arr[Symbol.iterator](), _s; !(_n = (_s = _i.next()).done); _n = true) {
            _arr.push(_s.value);
  
            if (i && _arr.length === i) break;
          }
        } catch (err) {
          _d = true;
          _e = err;
        } finally {
          try {
            if (!_n && _i["return"]) _i["return"]();
          } finally {
            if (_d) throw _e;
          }
        }
  
        return _arr;
      }
  
      return function (arr, i) {
        if (Array.isArray(arr)) {
          return arr;
        } else if (Symbol.iterator in Object(arr)) {
          return sliceIterator(arr, i);
        } else {
          throw new TypeError("Invalid attempt to destructure non-iterable instance");
        }
      };
    }();
  
    function ifCond(params) {
      var _params = _slicedToArray(params, 3),
          v1 = _params[0],
          operator = _params[1],
          v2 = _params[2];
  
      switch (operator) {
        case '==':
          return v1 == v2;
        case '===':
          return v1 === v2;
        case '!=':
          return v1 != v2;
        case '!==':
          return v1 !== v2;
        case '<':
          return v1 < v2;
        case '<=':
          return v1 <= v2;
        case '>':
          return v1 > v2;
        case '>=':
          return v1 >= v2;
        case '&&':
          return v1 && v2;
        case '||':
          return v1 || v2;
        default:
          return false;
      }
    }
  
    exports.default = Ember.Helper.helper(ifCond);
  });
  define('front/helpers/is-array', ['exports', 'ember-truth-helpers/helpers/is-array'], function (exports, _isArray) {
    'use strict';
  
    Object.defineProperty(exports, "__esModule", {
      value: true
    });
    Object.defineProperty(exports, 'default', {
      enumerable: true,
      get: function () {
        return _isArray.default;
      }
    });
    Object.defineProperty(exports, 'isArray', {
      enumerable: true,
      get: function () {
        return _isArray.isArray;
      }
    });
  });
  define('front/helpers/is-empty', ['exports', 'ember-truth-helpers/helpers/is-empty'], function (exports, _isEmpty) {
    'use strict';
  
    Object.defineProperty(exports, "__esModule", {
      value: true
    });
    Object.defineProperty(exports, 'default', {
      enumerable: true,
      get: function () {
        return _isEmpty.default;
      }
    });
  });
  define('front/helpers/is-equal', ['exports', 'ember-truth-helpers/helpers/is-equal'], function (exports, _isEqual) {
    'use strict';
  
    Object.defineProperty(exports, "__esModule", {
      value: true
    });
    Object.defineProperty(exports, 'default', {
      enumerable: true,
      get: function () {
        return _isEqual.default;
      }
    });
    Object.defineProperty(exports, 'isEqual', {
      enumerable: true,
      get: function () {
        return _isEqual.isEqual;
      }
    });
  });
  define('front/helpers/lt', ['exports', 'ember-truth-helpers/helpers/lt'], function (exports, _lt) {
    'use strict';
  
    Object.defineProperty(exports, "__esModule", {
      value: true
    });
    Object.defineProperty(exports, 'default', {
      enumerable: true,
      get: function () {
        return _lt.default;
      }
    });
    Object.defineProperty(exports, 'lt', {
      enumerable: true,
      get: function () {
        return _lt.lt;
      }
    });
  });
  define('front/helpers/lte', ['exports', 'ember-truth-helpers/helpers/lte'], function (exports, _lte) {
    'use strict';
  
    Object.defineProperty(exports, "__esModule", {
      value: true
    });
    Object.defineProperty(exports, 'default', {
      enumerable: true,
      get: function () {
        return _lte.default;
      }
    });
    Object.defineProperty(exports, 'lte', {
      enumerable: true,
      get: function () {
        return _lte.lte;
      }
    });
  });
  define('front/helpers/not-eq', ['exports', 'ember-truth-helpers/helpers/not-equal'], function (exports, _notEqual) {
    'use strict';
  
    Object.defineProperty(exports, "__esModule", {
      value: true
    });
    Object.defineProperty(exports, 'default', {
      enumerable: true,
      get: function () {
        return _notEqual.default;
      }
    });
    Object.defineProperty(exports, 'notEq', {
      enumerable: true,
      get: function () {
        return _notEqual.notEq;
      }
    });
  });
  define('front/helpers/not', ['exports', 'ember-truth-helpers/helpers/not'], function (exports, _not) {
    'use strict';
  
    Object.defineProperty(exports, "__esModule", {
      value: true
    });
    Object.defineProperty(exports, 'default', {
      enumerable: true,
      get: function () {
        return _not.default;
      }
    });
    Object.defineProperty(exports, 'not', {
      enumerable: true,
      get: function () {
        return _not.not;
      }
    });
  });
  define('front/helpers/or', ['exports', 'ember-truth-helpers/helpers/or'], function (exports, _or) {
    'use strict';
  
    Object.defineProperty(exports, "__esModule", {
      value: true
    });
    Object.defineProperty(exports, 'default', {
      enumerable: true,
      get: function () {
        return _or.default;
      }
    });
    Object.defineProperty(exports, 'or', {
      enumerable: true,
      get: function () {
        return _or.or;
      }
    });
  });
  define('front/helpers/pluralize', ['exports', 'ember-inflector/lib/helpers/pluralize'], function (exports, _pluralize) {
    'use strict';
  
    Object.defineProperty(exports, "__esModule", {
      value: true
    });
    exports.default = _pluralize.default;
  });
  define('front/helpers/singularize', ['exports', 'ember-inflector/lib/helpers/singularize'], function (exports, _singularize) {
    'use strict';
  
    Object.defineProperty(exports, "__esModule", {
      value: true
    });
    exports.default = _singularize.default;
  });
  define('front/helpers/xor', ['exports', 'ember-truth-helpers/helpers/xor'], function (exports, _xor) {
    'use strict';
  
    Object.defineProperty(exports, "__esModule", {
      value: true
    });
    Object.defineProperty(exports, 'default', {
      enumerable: true,
      get: function () {
        return _xor.default;
      }
    });
    Object.defineProperty(exports, 'xor', {
      enumerable: true,
      get: function () {
        return _xor.xor;
      }
    });
  });
  define('front/initializers/app-version', ['exports', 'ember-cli-app-version/initializer-factory', 'front/config/environment'], function (exports, _initializerFactory, _environment) {
    'use strict';
  
    Object.defineProperty(exports, "__esModule", {
      value: true
    });
  
  
    var name = void 0,
        version = void 0;
    if (_environment.default.APP) {
      name = _environment.default.APP.name;
      version = _environment.default.APP.version;
    }
  
    exports.default = {
      name: 'App Version',
      initialize: (0, _initializerFactory.default)(name, version)
    };
  });
  define('front/initializers/container-debug-adapter', ['exports', 'ember-resolver/resolvers/classic/container-debug-adapter'], function (exports, _containerDebugAdapter) {
    'use strict';
  
    Object.defineProperty(exports, "__esModule", {
      value: true
    });
    exports.default = {
      name: 'container-debug-adapter',
  
      initialize: function initialize() {
        var app = arguments[1] || arguments[0];
  
        app.register('container-debug-adapter:main', _containerDebugAdapter.default);
        app.inject('container-debug-adapter:main', 'namespace', 'application:main');
      }
    };
  });
  define('front/initializers/data-adapter', ['exports'], function (exports) {
    'use strict';
  
    Object.defineProperty(exports, "__esModule", {
      value: true
    });
    exports.default = {
      name: 'data-adapter',
      before: 'store',
      initialize: function initialize() {}
    };
  });
  define('front/initializers/ember-data', ['exports', 'ember-data/setup-container', 'ember-data'], function (exports, _setupContainer) {
    'use strict';
  
    Object.defineProperty(exports, "__esModule", {
      value: true
    });
    exports.default = {
      name: 'ember-data',
      initialize: _setupContainer.default
    };
  });
  define('front/initializers/export-application-global', ['exports', 'front/config/environment'], function (exports, _environment) {
    'use strict';
  
    Object.defineProperty(exports, "__esModule", {
      value: true
    });
    exports.initialize = initialize;
    function initialize() {
      var application = arguments[1] || arguments[0];
      if (_environment.default.exportApplicationGlobal !== false) {
        var theGlobal;
        if (typeof window !== 'undefined') {
          theGlobal = window;
        } else if (typeof global !== 'undefined') {
          theGlobal = global;
        } else if (typeof self !== 'undefined') {
          theGlobal = self;
        } else {
          // no reasonable global, just bail
          return;
        }
  
        var value = _environment.default.exportApplicationGlobal;
        var globalName;
  
        if (typeof value === 'string') {
          globalName = value;
        } else {
          globalName = Ember.String.classify(_environment.default.modulePrefix);
        }
  
        if (!theGlobal[globalName]) {
          theGlobal[globalName] = application;
  
          application.reopen({
            willDestroy: function willDestroy() {
              this._super.apply(this, arguments);
              delete theGlobal[globalName];
            }
          });
        }
      }
    }
  
    exports.default = {
      name: 'export-application-global',
  
      initialize: initialize
    };
  });
  define('front/initializers/injectStore', ['exports'], function (exports) {
    'use strict';
  
    Object.defineProperty(exports, "__esModule", {
      value: true
    });
    exports.default = {
      name: 'injectStore',
      before: 'store',
      initialize: function initialize() {}
    };
  });
  define('front/initializers/store', ['exports'], function (exports) {
    'use strict';
  
    Object.defineProperty(exports, "__esModule", {
      value: true
    });
    exports.default = {
      name: 'store',
      after: 'ember-data',
      initialize: function initialize() {}
    };
  });
  define('front/initializers/transforms', ['exports'], function (exports) {
    'use strict';
  
    Object.defineProperty(exports, "__esModule", {
      value: true
    });
    exports.default = {
      name: 'transforms',
      before: 'store',
      initialize: function initialize() {}
    };
  });
  define("front/instance-initializers/ember-data", ["exports", "ember-data/initialize-store-service"], function (exports, _initializeStoreService) {
    "use strict";
  
    Object.defineProperty(exports, "__esModule", {
      value: true
    });
    exports.default = {
      name: "ember-data",
      initialize: _initializeStoreService.default
    };
  });
  define('front/models/task', ['exports', 'ember-data'], function (exports, _emberData) {
      'use strict';
  
      Object.defineProperty(exports, "__esModule", {
          value: true
      });
      exports.default = _emberData.default.Model.extend({
          "status_id": _emberData.default.attr('number'),
          "title": _emberData.default.attr('string'),
          "description": _emberData.default.attr('string'),
          "created_at": _emberData.default.attr('date', {
              defaultValue: function defaultValue() {
                  return new Date();
              }
          }),
          "updated_at": _emberData.default.attr('date', {
              defaultValue: function defaultValue() {
                  return new Date();
              }
          }),
          isDone: function isDone() {
              return 'this.status_id > 1';
          }
      });
  });
  define('front/resolver', ['exports', 'ember-resolver'], function (exports, _emberResolver) {
    'use strict';
  
    Object.defineProperty(exports, "__esModule", {
      value: true
    });
    exports.default = _emberResolver.default;
  });
  define('front/router', ['exports', 'front/config/environment'], function (exports, _environment) {
    'use strict';
  
    Object.defineProperty(exports, "__esModule", {
      value: true
    });
  
  
    var Router = Ember.Router.extend({
      location: _environment.default.locationType,
      rootURL: _environment.default.rootURL
    });
  
    Router.map(function () {});
  
    exports.default = Router;
  });
  define('front/routes/index', ['exports'], function (exports) {
      'use strict';
  
      Object.defineProperty(exports, "__esModule", {
          value: true
      });
      exports.default = Ember.Route.extend({
          model: function model() {
              var tasks = this.store.findAll('task');
  
              var newTasks = this.get('store').query('task', { status_id: 1 });
  
              var done = this.get('store').query('task', { status_id: 2 });
  
              return { 'list': tasks, 'newTasks': newTasks, 'done': done };
          }
      });
  });
  define('front/services/ajax', ['exports', 'ember-ajax/services/ajax'], function (exports, _ajax) {
    'use strict';
  
    Object.defineProperty(exports, "__esModule", {
      value: true
    });
    Object.defineProperty(exports, 'default', {
      enumerable: true,
      get: function () {
        return _ajax.default;
      }
    });
  });
  define("front/templates/application", ["exports"], function (exports) {
    "use strict";
  
    Object.defineProperty(exports, "__esModule", {
      value: true
    });
    exports.default = Ember.HTMLBars.template({ "id": "AJTBsCF+", "block": "{\"symbols\":[],\"statements\":[[1,[18,\"outlet\"],false]],\"hasEval\":false}", "meta": { "moduleName": "front/templates/application.hbs" } });
  });
  define("front/templates/components/task-managment", ["exports"], function (exports) {
    "use strict";
  
    Object.defineProperty(exports, "__esModule", {
      value: true
    });
    exports.default = Ember.HTMLBars.template({ "id": "xRT7cjQ1", "block": "{\"symbols\":[\"item\",\"index\",\"&default\"],\"statements\":[[6,\"div\"],[9,\"dir\",\"rtl\"],[7],[0,\"\\n    \"],[6,\"div\"],[9,\"class\",\"header\"],[7],[0,\"\\n        \"],[6,\"span\"],[9,\"class\",\"title\"],[7],[0,\"משימה\"],[8],[0,\"\\n        \"],[6,\"button\"],[9,\"class\",\"add\"],[10,\"onclick\",[25,\"action\",[[19,0,[]],\"addTask\"],null],null],[7],[6,\"span\"],[9,\"class\",\"circle plus cursor-hand\"],[7],[8],[8],[0,\"\\n    \"],[8],[0,\"\\n\\n    \"],[6,\"div\"],[9,\"class\",\"component\"],[7],[0,\"\\n        \"],[6,\"div\"],[9,\"class\",\"contnet\"],[7],[0,\"\\n            \"],[6,\"table\"],[7],[0,\"\\n\"],[4,\"each\",[[20,[\"tasks\",\"list\"]]],null,{\"statements\":[[0,\"\\n                    \"],[6,\"tr\"],[7],[0,\"\\n                        \"],[6,\"td\"],[7],[0,\"\\n\"],[4,\"if\",[[25,\"if-cond\",[[19,1,[\"status_id\"]],\"==\",2],null]],null,{\"statements\":[[0,\"                                \"],[6,\"input\"],[9,\"type\",\"checkbox\"],[9,\"disabled\",\"\"],[7],[8],[0,\"\\n\"]],\"parameters\":[]},{\"statements\":[[0,\"                                \"],[6,\"input\"],[9,\"type\",\"checkbox\"],[10,\"onclick\",[25,\"action\",[[19,0,[]],\"markDoneTask\",[19,1,[]]],null],null],[7],[8],[0,\"\\n\"]],\"parameters\":[]}],[0,\"                        \"],[8],[0,\"\\n                        \"],[6,\"td\"],[7],[0,\"\\n\\n                        \"],[8],[0,\"\\n                        \"],[6,\"td\"],[7],[0,\"\\n\"],[4,\"if\",[[25,\"if-cond\",[[19,1,[\"status_id\"]],\"==\",2],null]],null,{\"statements\":[[0,\"                                \"],[6,\"span\"],[9,\"class\",\"done\"],[7],[1,[19,2,[]],false],[0,\". \"],[1,[19,1,[\"title\"]],false],[8],[0,\"\\n\"]],\"parameters\":[]},{\"statements\":[[0,\"                                \"],[1,[19,2,[]],false],[0,\".   \"],[1,[19,1,[\"title\"]],false],[0,\"\\n\"]],\"parameters\":[]}],[0,\"                        \"],[8],[0,\"\\n                        \"],[6,\"td\"],[7],[6,\"b\"],[9,\"class\",\"close cursor-hand\"],[10,\"onclick\",[25,\"action\",[[19,0,[]],\"deleteTask\",[19,1,[]]],null],null],[7],[0,\"x\"],[8],[8],[0,\"\\n                    \"],[8],[0,\"\\n\\n\"]],\"parameters\":[1,2]},null],[0,\"            \"],[8],[0,\"\\n        \"],[8],[0,\"\\n\\n    \"],[8],[0,\"\\n    \"],[6,\"div\"],[9,\"class\",\"footer\"],[7],[0,\"\\n        \"],[6,\"div\"],[9,\"class\",\"box\"],[7],[0,\"סה'כ:\"],[6,\"b\"],[9,\"class\",\"total\"],[7],[1,[20,[\"tasks\",\"list\",\"length\"]],false],[8],[8],[0,\"\\n        \"],[6,\"div\"],[9,\"class\",\"box\"],[7],[0,\"להוסיף:\"],[6,\"b\"],[9,\"class\",\"past\"],[7],[1,[20,[\"tasks\",\"done\",\"length\"]],false],[8],[8],[0,\"\\n        \"],[6,\"div\"],[9,\"class\",\"box\"],[7],[0,\"לסים:\"],[6,\"b\"],[9,\"class\",\"new\"],[7],[1,[20,[\"tasks\",\"newTasks\",\"length\"]],false],[8],[8],[0,\"\\n    \"],[8],[0,\"\\n\"],[8],[0,\"\\n\"],[11,3]],\"hasEval\":false}", "meta": { "moduleName": "front/templates/components/task-managment.hbs" } });
  });
  define("front/templates/index", ["exports"], function (exports) {
    "use strict";
  
    Object.defineProperty(exports, "__esModule", {
      value: true
    });
    exports.default = Ember.HTMLBars.template({ "id": "BH1EOn0P", "block": "{\"symbols\":[],\"statements\":[[1,[25,\"task-managment\",null,[[\"tasks\"],[[20,[\"model\"]]]]],false],[0,\"\\n\"],[1,[18,\"outlet\"],false]],\"hasEval\":false}", "meta": { "moduleName": "front/templates/index.hbs" } });
  });
  
  
  define('front/config/environment', [], function() {
    var prefix = 'front';
  try {
    var metaName = prefix + '/config/environment';
    var rawConfig = document.querySelector('meta[name="' + metaName + '"]').getAttribute('content');
    var config = JSON.parse(unescape(rawConfig));
  
    var exports = { 'default': config };
  
    Object.defineProperty(exports, '__esModule', { value: true });
  
    return exports;
  }
  catch(err) {
    throw new Error('Could not read config from meta tag with name "' + metaName + '".');
  }
  
  });
  
  if (!runningTests) {
    require("front/app")["default"].create({"name":"front","version":"0.0.0+cfb6cf54"});
  }
  //# sourceMappingURL=front.map
  